]> git.lyx.org Git - lyx.git/blob - ChangeLog
0428b0252136937f8b872d1daeecb4720c387ebf
[lyx.git] / ChangeLog
1 2000-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): use
4         Menu::expand. 
5         (add_lastfiles): removed.
6         (add_documents): removed.
7         (add_formats): removed.
8
9         * src/frontends/Menubar.C: remove useless "using" directive.
10
11         * src/MenuBackend.h: add a new MenuItem constructor.
12
13         * src/MenuBackend.[Ch] (Menu::expand): new method. Used in the
14         xforms frontend.
15
16 2000-10-04  Allan Rae  <rae@lyx.org>
17
18         * lib/Makefile.am (listerrors):
19         * lib/build-listerrors: make $builddir != $srcdir compiles work again.
20         I haven't got notangle installed so Kayvan please test. The output
21         should end up in $builddir.  This also allows people who don't have
22         noweb installed to complete the make process without error.
23
24         * src/frontends/xforms/FormCommand.[Ch] (showInset):
25         * src/frontends/xforms/FormError.[Ch] (showInset): fix warnings found
26         by JMarc's picky compiler.
27
28 2000-10-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
29
30
31         * src/insets/insettabular.C (setPos): change for loop to not use
32         sequencing operator. Please check this Jürgen.
33
34         * src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use "c"
35         instead of 'c'
36         * src/insets/insetcite.C (getScreenLabel): ditto
37         * src/support/filetools.C (QuoteName): ditto
38         (ChangeExtension): ditto
39
40         * src/BufferView_pimpl.C (scrollCB): make heigt int
41
42         * src/BufferView2.C (insertInset): comment out unused arg
43
44         * boost/Makefile.am (EXTRADIST): new variable
45
46 2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
47
48         * src/exporter.C (IsExportable): Fixed
49         
50         * lib/configure.m4: Small fix
51
52 2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
53
54         * src/insets/insetbutton.C (width): Changed to work with no GUI.
55         * src/insets/insetbib.C (bibitemWidest): ditto.
56         * src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto.
57             
58 2000-10-03  Juergen Vigna  <jug@sad.it>
59
60         * src/BufferView2.C (theLockingInset): removed const because of
61         Agnus's compile problems.
62
63         * src/insets/insettext.C (LocalDispatch): set the language of the
64         surronding paragraph on inserting the first character.
65
66         * various files: changed use of BufferView::the_locking_inset.
67         
68         * src/BufferView2.C (theLockingInset): 
69         (theLockingInset): new functions.
70
71         * src/BufferView.h: removed the_locking_inset.
72
73         * src/lyxtext.h: added the_locking_inset
74
75         * src/BufferView_pimpl.C (checkInsetHit): y_tmp form uint to int.
76
77         * src/insets/lyxinset.h: added bool to ShowInsetCursor definition.
78
79 2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
80
81         * src/mathed/formula.C (IsMacro): declared but not referenced; removed.
82         * src/mathed/math_cursor.C (IsAlpha): ditto.
83         * src/mathed/math_inset.C (strnew): ditto.
84         * src/mathed/math_iter.C: SizeFont declared but not referenced;removed.
85         (IMetrics): cxp set but never used; removed.
86         * src/insets/figinset.C (InitFigures): removed redundant for loop, now
87         that the variable in question has been removed also!
88
89
90         * src/insets/insetbib.[Ch]: remove need to store Buffer * owner by
91         using the Buffer * passed to Latex(), using the BufferView * passed to
92         bibitemMaxWidth() bibitemWidest() and by passing a Buffer* to getKeys()
93
94         * src/insets/insetinclude.C: use the Buffer * passed to Latex(),
95         Linuxdoc() and DocBook() rather than the stored Buffer * master.
96
97         * src/lyxfunc.C (Dispatch): used new InsetBibtex c-tor
98         * src/buffer.C (readInset): used new InsetBibtex c-tor
99         * (getBibkeyList): used new InsetBibtex::getKeys
100
101 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
102
103         * lib/configure.m4
104         * lib/build-listerrors
105         * src/converter.C
106         * src/exporter.C: Add literate programming support to the export code
107
108         * src/buffer.C
109         * src/lyx_cb.C: Remove old literate code.
110
111         * src/lyxrc.[Ch]: Remove many obsolete (due to new export code)
112         variables.
113
114         * src/lyxfunc.C (getStatus): Use Exporter::IsExportable
115         * src/converter.C (View, Convert): Use QuoteName.
116
117         * src/insets/figinset.C (Preview): Use Formats::View.
118
119         * lib/configure.m4: Add sgml->dvi converter to lyxrc.default
120         
121 2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
122
123         * src/lyxfunc.C (Dispatch): move declaration of text variable at
124         the top of the function, because compaq cxx complains that the
125         "goto exit_with_message" when the function is disabled bypasses
126         its initialization.
127         (MenuNew): try a better fix for the generation of new file names.
128         This time, I used AddName() instead of AddPath(), hoping Juergen
129         will be happier :)
130
131 2000-10-03  Allan Rae  <rae@lyx.org>
132
133         * src/frontends/xforms/forms/form_preferences.fd:
134         * src/frontends/xforms/FormPreferences.[Ch]: redesign of dialog using
135         nested tabfolders has begun.  The old "Miscellaneous" was renamed as
136         "Look and Feel"->"General" but will need to be split up further into
137         general output and general input tabs.  Current plan is for four outer
138         tabfolders: "Look and Feel" for colours, bindings, fonts and other HCI
139         stuff; "Inputs" for input and import configuration; "Outputs" for
140         output and export configuration; and one more whatever is left over
141         called "General".  The leftovers at present look like being which
142         viewers to use, spellchecker, language support and might be better
143         named "Support".  I've put "Paths" in "Inputs" for the moment as this
144         seems reasonable for now at least.
145         One problem remains: X error kills LyX when you close Preferences.
146
147 2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
148
149         * src/frontends/xforms/FormBase.[Ch]: removed "meaningless" const.
150         qualifier from form()
151         * src/frontends/xforms/FormCitation.[Ch]:
152         * src/frontends/xforms/FormCopyright.[Ch]:
153         * src/frontends/xforms/FormDocument.[Ch]:
154         * src/frontends/xforms/FormError.[Ch]:
155         * src/frontends/xforms/FormIndex.[Ch]:
156         * src/frontends/xforms/FormPreferences.[Ch]:
157         * src/frontends/xforms/FormPrint.[Ch]:
158         * src/frontends/xforms/FormRef.[Ch]:
159         * src/frontends/xforms/FormToc.[Ch]:
160         * src/frontends/xforms/FormUrl.[Ch]: ditto.
161
162         * src/frontends/xforms/FormCitation.[Ch]:
163         * src/frontends/xforms/FormIndex.[Ch]:
164         * src/frontends/xforms/FormRef.[Ch]:
165         * src/frontends/xforms/FormUrl.[Ch]: Renamed a few buttons, consistent
166         with Allan's naming policy
167         
168         * src/frontends/xforms/FormCitation.C: some static casts to remove
169         compiler warnings.
170
171 2000-10-02  Juergen Vigna  <jug@sad.it>
172
173         * src/insets/insettabular.C (LocalDispatch): fixed selection code,
174         now you can type or do stuff inside the table-cell also when in dummy
175         position, fixed visible cursor.
176
177         * src/insets/insettext.C (Edit): fixing cursor-view position.
178
179         * src/lyxfunc.C (Dispatch): use * text variable so that it can
180         be used for equal functions in lyxfunc and insettext.
181
182         * src/text.C (GetVisibleRow): fixed a small clear_area bug.
183
184 2000-10-02  John Levon  <moz@compsoc.man.ac.uk>
185
186         * src/frontends/gnome/FormCitation.h:
187         * src/frontends/gnome/FormCopyright.h:
188         * src/frontends/gnome/FormIndex.h:
189         * src/frontends/gnome/FormPrint.h:
190         * src/frontends/gnome/FormToc.h:
191         * src/frontends/gnome/FormUrl.h:
192         * src/frontends/kde/FormCitation.h:
193         * src/frontends/kde/FormCopyright.h:
194         * src/frontends/kde/FormIndex.h:
195         * src/frontends/kde/FormRef.h:
196         * src/frontends/kde/FormToc.h:
197         * src/frontends/kde/FormUrl.h: fix remaining users of
198         support/utility.hpp 
199
200 2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
201
202         * src/buffer.C (linuxDocHandleFootnote): remove const modifier
203         from depth argument.
204         (DocBookHandleCaption): ditto.
205         (DocBookHandleFootnote): ditto.
206         (SimpleDocBookOnePar): ditto.
207
208         * src/frontends/xforms/FormDocument.h (form): remove extra
209         FormDocument:: qualifier.
210
211         * sigc++/macros/basic_signal.h.m4: remove erroneous virtual
212         destructor. 
213         * sigc++/handle.h: ditto.
214
215         * src/lyx_gui_misc.C: add "using" directive.
216
217         * src/cheaders/cstddef: new file, needed by the boost library (for
218         compaq cxx).
219
220 2000-10-02  Juergen Vigna  <jug@sad.it>
221
222         * src/insets/insettext.C (SetFont): better support.
223
224         * src/insets/insettabular.C (draw): fixed drawing of single cell.
225
226         * src/screen.C (DrawOneRow): some uint refixes!
227
228 2000-10-02  Allan Rae  <rae@lyx.org>
229
230         * boost/.cvsignore: ignore Makefile as well
231
232         * src/lyxfunc.C (Dispatch): missing break; and moved the '}' for
233         LFUN_UNKNOWN_ACTION: so it doesn't wrap around default:.
234
235         * src/frontends/xforms/FormPreferences.[Ch] (restore): D'oh.
236         Left this one out by accident.
237
238         * src/frontends/xforms/FormBase.h (restore): default to calling
239         update() since that will restore the original/currently-applied values.
240         Any input() triggered error messages will require the derived classes
241         to redefine restore().
242
243         * src/frontends/xforms/FormDocument.C: initialize a few variables to
244         avoid a segfault.  combo_doc_class is the main concern.
245
246 2000-10-01  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
247
248         * Simplify build-listerrors in view of GUI-less export ability!
249
250 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
251
252         * src/lyx_main.C (easyParse): Disable gui when exporting
253
254         * src/insets/figinset.C: 
255         * src/LaTeX.C
256         * src/converter.C
257         * src/lyx_gui_misc.C
258         * src/tabular.C: Changes to allow no-gui.
259
260 2000-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
261
262         * src/support/utility.hpp: removed file
263         * src/support/block.h: removed file
264
265         * src/support/Makefile.am (libsupport_la_SOURCES): remove block.h
266         and utility.hpp
267
268         * src/mathed/formula.C: add support/lyxlib.h
269         * src/mathed/formulamacro.C: ditto
270
271         * src/bufferparams.h: use boost/array.hpp instead of support/block.h
272         * src/lyxparagraph.h: ditto
273
274         * src/Makefile.am (BOOST_INCLUDES): the boost include dir
275         * src/frontends/Makefile.am (INCLUDES): ditto
276         * src/frontends/gnome/Makefile.am (BOOST_INCLUDES): ditto
277         * src/frontends/kde/Makefile.am (BOOST_INCLUDES): ditto
278         * src/frontends/xforms/Makefile.am (BOOST_INCLUDES): ditto
279         * src/graphics/Makefile.am (BOOST_INCLUDES): ditto
280         * src/insets/Makefile.am (BOOST_INCLUDES): ditto
281         * src/mathed/Makefile.am (BOOST_INCLUDES): ditto
282
283         * src/BufferView.h: use boost/utility.hpp
284         * src/LColor.h: ditto
285         * src/LaTeX.h: ditto
286         * src/LyXAction.h: ditto
287         * src/LyXView.h: ditto
288         * src/bufferlist.h: ditto
289         * src/lastfiles.h: ditto
290         * src/layout.h: ditto
291         * src/lyx_gui.h: ditto
292         * src/lyx_main.h: ditto
293         * src/lyxlex.h: ditto
294         * src/lyxrc.h: ditto
295         * src/frontends/ButtonPolicies.h: ditto
296         * src/frontends/Dialogs.h: ditto
297         * src/frontends/xforms/FormBase.h: ditto
298         * src/frontends/xforms/FormGraphics.h: ditto
299         * src/frontends/xforms/FormParagraph.h: ditto
300         * src/frontends/xforms/FormTabular.h: ditto
301         * src/graphics/GraphicsCache.h: ditto
302         * src/graphics/Renderer.h: ditto
303         * src/insets/ExternalTemplate.h: ditto
304         * src/insets/insetcommand.h: ditto
305         * src/support/path.h: ditto
306
307         * config/lyxinclude.m4 (LYX_PROG_CXX): change clause for 2.96
308         and introduce clause for 2.97.
309
310         * boost/libs/README: new file
311
312         * boost/boost/utility.hpp: new file
313
314         * boost/boost/config.hpp: new file
315
316         * boost/boost/array.hpp: new file
317
318         * boost/Makefile.am: new file
319
320         * boost/.cvsignore: new file
321
322         * configure.in (AC_OUTPUT): add boost/Makefile
323
324         * Makefile.am (SUBDIRS): add boost
325
326 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
327
328         * src/support/lstrings.C (suffixIs): Fixed.
329
330 2000-10-01  Allan Rae  <rae@lyx.org>
331
332         * src/PrinterParams.h: moved things around to avoid the "can't
333         inline call" warning.
334
335         * src/frontends/xforms/RadioButtonGroup.h: turned a comment
336         into doc++ documentation.
337
338         * src/frontends/xforms/FormCommand.[Ch]: support button policy
339
340         * src/frontends/xforms/FormRef.C: make use of button controller
341         * src/frontends/xforms/FormDocument.[Ch]: convert to use FormBase
342         cleaned up button controller usage.
343         * src/frontends/xforms/FormPreferences.[Ch]: convert to use FormBase
344         * src/frontends/xforms/FormPrint.[Ch]: convert to use FormBase and
345         use the button controller
346
347         * src/frontends/xforms/forms/*.fd: and associated generated files
348         updated to reflect changes to FormBase.  Some other FormXxxx files
349         also got minor updates to reflect changes to FormBase.
350
351         * src/frontends/xforms/FormBase.[Ch]: (ok, cancel): new
352         (hide): made virtual.
353         (input): return a bool. true == valid input
354         (RestoreCB, restore): new
355         (CancelCB, OKCB): renamed from HideCB and ApplyHideCB.
356         Changes to allow derived dialogs to use a ButtonController and
357         make sense when doing so: OK button calls ok() and so on.
358
359         * src/frontends/xforms/ButtonController.h (class ButtonController):
360         Switch from template implementation to taking Policy parameter.
361         Allows FormBase to provide a ButtonController for any dialog.
362
363         * src/frontends/xforms/FormPrint.C (connect): setup sizing at show-time
364         Probably should rename connect and disconnect.
365         (apply): use the radio button groups
366         (form): needed by FormBase
367         (build): setup the radio button groups
368
369 2000-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
370
371         * several files: type changes to reduce the number of warnings and
372         to unify type hangling a bit. Still much to do. 
373
374 2000-09-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
375
376         * lib/images/*: rename a bunch of icons to match Dekel converter
377         changes. 
378
379         * src/buffer.h (SimpleLinuxDocOnePar): remove const qualifier to
380         last parameter.
381
382         * src/frontends/xforms/FormBase.C (disconnect): remove bogus test. 
383
384         * sigc++/macros/basic_signal.h.m4: fix class Signal_ to have a
385         virtual destructor
386         * sigc++/handle.h: ditto for class Handle. 
387
388 2000-09-27  John Levon  <moz@compsoc.man.ac.uk>
389
390         * config/kde.m4: make Qt fail immediately if Qt2 is picked up
391
392 2000-09-28  Dekel Tsur  <dekelts@tau.ac.il>
393
394         * src/intl.C (InitKeyMapper): Correct the value of n due to the
395         removal of the "default" language.
396
397         * src/combox.h (getline): Check that sel > 0
398
399 2000-09-29  José Abílio Matos <jamatos@fep.up.pt>
400
401         * lib/examples/docbook_example.lyx
402         * lib/examples/docbook_article.lyx: file renamed to avoid confusion.
403
404         * lib/layouts/docbook-book.layout: new docbook book layout.
405
406         * lib/layouts/linuxdoc.layout: LatexName of Style SGML is now dummy.
407         
408         * lib/layouts/manpage.layout: Same as above. Style SubSection removed.
409
410         * src/insets/figinset.C (DocBook):fixed small typo.
411
412         * src/insets/insetinclude.C (DocBook): new export for verbatim type.
413
414         * src/insets/insetinclude.h: string include_label doesn't need to be
415         mutable.
416         
417 2000-09-29  Allan Rae  <rae@lyx.org>
418
419         * src/frontends/xforms/FormBase.[Ch] (connect, disconnect): new.
420         Allow derived type to control connection and disconnection from signals
421         of its choice if desired.
422
423 2000-09-28  Juergen Vigna  <jug@sad.it>
424
425         * src/insets/insettabular.C (update): fixed cursor setting when
426         the_locking_inset changed.
427         (draw): made this a bit cleaner.
428         (InsetButtonPress): fixed!
429
430         * various files: added LyXText Parameter to fitCursor call.
431         
432         * src/BufferView.C (fitCursor): added LyXText parameter.
433
434         * src/insets/insettabular.C (draw): small draw fix.
435
436         * src/tabular.C: right setting of left/right celllines.
437
438         * src/tabular.[Ch]: fixed various types in funcions and structures. 
439         * src/insets/insettabular.C: ditto
440         * src/frontends/xforms/FormTabular.C: ditto
441
442 2000-09-28  Allan Rae  <rae@lyx.org>
443
444         * src/paragraph.C (TeXOnePar): fixed output of '\n'.  The problem was
445         that the #ifdef's had been applied to part of what should have been
446         a complete condition.  It's possible there are other tests that
447         were specific to tables that are also wrong now that InsetTabular is
448         being used. Now we need to fix the output of '\n' after a table in a
449         float for the same reason as the original condition:
450         "don't insert this if we would be adding it before or after a table
451         in a float.  This little trick is needed in order to allow use of
452         tables in \subfigures or \subtables."
453         Juergen can you check this?
454
455 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
456
457         * src/insets/insettext.C (Ascii): return numer of '\n' in the text
458         outputed to the ostream.
459
460         * several files: fixed types based on warnings from cxx 
461
462 2000-09-26  John Levon  <moz@compsoc.man.ac.uk>
463
464         * src/frontends/kde/Makefile.am: fix rule for
465         formindexdialogdata_moc.C
466
467         * src/.cvsignore: add ext_l10n.h to ignore
468
469         * acconfig.h: stop messing with __STRICT_ANSI__ 
470         * config/gnome.m4: remove option to set -ansi
471         * config/kde.m4: remove option to set -ansi
472         * config/lyxinclude.m4: don't set -ansi 
473
474 2000-09-27  Juergen Vigna  <jug@sad.it>
475
476         * various files: remove "default" language check.
477         
478         * src/insets/insetquotes.C: removed use of current_view.
479
480         * src/lyxfunc.C (MenuNew): I don't know how put the AddPath here but
481         the one should have red ears by now!
482
483         * src/insets/insettext.C (LocalDispatch): fixed setting of same layouts
484         in more then one paragraph. Fixed cursor-movement/selection.
485
486         * src/frontends/xforms/FormParagraph.C: disable pagebreaks for
487         paragraphs inside a text inset.
488
489         * src/text.C (GetVisibleRow): paint top/bottom line only as wide as the
490         text-inset if this owner is an inset.
491
492 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
493
494         * src/Bullet.h: changed type of font, character and size to int
495
496         * src/buffer.C (asciiParagraph): remove actcell and fname1.
497
498         * src/insets/inseturl.[Ch]: 
499         * src/insets/insetref.[Ch]:
500         * src/insets/insetlabel.[Ch]: add linelen to Ascii
501
502 2000-09-26  Angus Leeming <a.leeming@ic.ac.uk>
503
504         * src/buffer.C (readFile): block-if statement rearranged to minimise
505         bloat. Patch does not reverse Jean-Marc's change ;-)
506
507         * src/frontends/xforms/FormBase.[Ch]: Renamed some of the callbacks.
508         Class rewritten to store pointers to hide/update signals directly,
509         rather than Dialogs *. Also defined an enum to ease use. All xforms
510         forms can now be derived from this class.
511
512         * src/frontends/xforms/FormCommand.[Ch]
513         * src/frontends/xforms/FormCopyright.[Ch]: now derived from FormBase.
514
515         * src/frontends/xforms/FormError.[Ch]: moved inclusion of inseterror.h
516         out of header file.
517
518         * src/frontends/xforms/forms/form_citation.fd
519         * src/frontends/xforms/forms/form_copyright.fd
520         * src/frontends/xforms/forms/form_error.fd
521         * src/frontends/xforms/forms/form_index.fd
522         * src/frontends/xforms/forms/form_ref.fd
523         * src/frontends/xforms/forms/form_toc.fd
524         * src/frontends/xforms/forms/form_url.fd: remamed callbacks
525
526         * src/frontends/xforms/forms/makefile: small change to work with DEC sh.
527
528         * src/insets/insetfoot.C: removed redundent using directive.
529
530 2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
531
532         * lib/layouts/siamltex.layout: new textclass for SIAM journals,
533         from Kornelia Pietsch <pietsch@mathematik.tu-chemnitz.de>
534
535         * src/frontends/xforms/Menubar_pimpl.C: menu buttons are now
536         created in the constructors in different groups. Then set() just
537         have to show the groups as needed. This fixes the redraw problems
538         (and is how the old menu code worked).
539
540         * src/support/lyxlib.h: declare the methods as static when we do
541         not have namespaces.
542
543 2000-09-26  Juergen Vigna  <jug@sad.it>
544
545         * src/buffer.C (asciiParagraph): new function.
546         (writeFileAscii): new function with parameter ostream.
547         (writeFileAscii): use now asciiParagraph.
548
549         * various inset files: added the linelen parameter to the Ascii-func.
550         
551         * src/tabular.C (Write): fixed error in writing file introduced by
552         the last changes from Lars.
553
554         * lib/bind/menus.bind: removed not supported functions.
555
556         * src/insets/insettext.C (Ascii): implemented this function.
557
558         * src/insets/lyxinset.h (Ascii): added linelen parameter.
559
560         * src/tabular.C (write_attribute[int,string,bool]): new functions.
561         (Write): use of the write_attribute functions.
562
563         * src/bufferlist.C (close): fixed reasking question!
564
565 2000-09-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
566
567         * src/support/unlink.C src/support/remove.C src/support/mkdir.C:
568         new files use the everwhere possible.
569         
570         * several files: 
571         * src/form1.C src/form1.h src/layout_forms.C src/layout_forms.h
572         src/log_form.C src/lyx.C:
573         regenerated
574         
575         * src/buffer.C (runLaTeX): remove func
576         
577         * src/PaperLayout.C: removed file
578         * src/ParagraphExtra.C: likewise
579         * src/bullet_forms.C: likewise
580         * src/bullet_forms.h: likewise
581         * src/bullet_forms_cb.C: likewise
582         
583         * src/Makefile.am (lyx_SOURCES): remove PaperLayout.C,
584         ParagraphExtra.C, bullet_forms.C, bullet_forms.h and
585         bullet_forms_cb.C 
586
587         * several files: remove all traces of the old fd_form_paragraph,
588         and functions belonging to that.
589         
590         * several files: remove all traces of the old fd_form_document,
591         and functions belonging to that.
592         
593         * several files: constify local variables were possible.
594         
595         * several files: remove all code that was dead when NEW_EXPORT was
596         defined 
597         
598         * several files: removed string::c_str in as many places as
599         possible.
600         
601         * forms/makefile (SRCS,OBJS,COBJS): removed bullet_forms.[fd,c,C]
602         (e): be a bit more outspoken when patching
603         (updatesrc): only move files if changed.
604
605         * forms/layout_forms.h.patch: regenerated
606         
607         * forms/layout_forms.fd: remove form_document and form_paragraph
608         and form_quotes and form_paper and form_table_options and
609         form_paragraph_extra 
610
611         * forms/form1.fd: remove form_table
612
613         * forms/fdfix.sh: remove sed rules for fl_set_object_lcolor and
614         the fdui->... rewrite. Update some comments to xforms 0.88
615
616         * forms/bullet_forms.C.patch: removed file
617         * forms/bullet_forms.fd: likewise
618         * forms/bullet_forms.h.patch: likewise
619         
620         * development/Code_rules/Rules: added a section on switch
621         statements. Updated some comment to xforms 0.88.
622
623 2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
624
625         * src/buffer.C (readFile): make sure that the whole version number
626         is read after \lyxformat (even when it contains a comma)
627
628         * lib/ui/default.ui: change shortcut of math menu to M-a.
629
630 2000-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
631
632         * src/vspace.C (nextToken): use isStrDbl() to check for proper
633         double values.
634
635         * src/LyXView.C (updateWindowTitle): show the full files name in
636         window title, limited to 30 characters.
637
638         * src/support/lyxstring.C (lyxstring): fix it correctly this time.
639         When a number of characters has been given, we should not assume
640         that the string is 0-terminated.
641
642         * src/intl.C (InitKeyMapper): remove a bunch of string::c_str()
643         calls (fixes some memory leaks)
644         
645         * src/intl.[Ch]: add a destructor for Intl, in order to delete the
646         trans member on exit.
647
648 2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
649
650         * src/converter.C (GetReachable): fix typo.
651
652         * src/lyxlex.C (GetFloat): rewrite to use strToDbl() and
653         understand ',' instead of '.'.
654         (GetInteger): rewrite to use strToInt().
655
656 2000-09-26  Juergen Vigna  <jug@sad.it>
657
658         * src/frontends/xforms/FormParagraph.C: fixed de/activation of fields,
659         better visibility and error-message on wrong VSpace input.
660
661         * src/language.C (initL): added english again.
662
663 2000-09-25  Juergen Vigna  <jug@sad.it>
664
665         * src/frontends/kde/Dialogs.C (Dialogs): 
666         * src/frontends/gnome/Dialogs.C (Dialogs): 
667         * src/frontends/kde/Makefile.am: 
668         * src/frontends/gnome/Makefile.am: added FormParagraph from xforms.
669
670         * src/frontends/xforms/forms/makefile: added form_paragraph.fd.
671
672         * src/frontends/xforms/Dialogs.C (Dialogs): added FormParagraph.
673
674         * src/frontends/xforms/Makefile.am: added files for FormParagraph.
675
676         * src/frontends/xforms/FormParagraph.C: 
677         * src/frontends/xforms/FormParagraph.h:
678         * src/frontends/xforms/form_paragraph.C:
679         * src/frontends/xforms/form_paragraph.h:
680         * src/frontends/xforms/forms/form_paragraph.fd: new files for the new
681         paragraph layout.
682
683         * src/lyxfunc.C (Dispatch): call the new layout paragraph.
684
685         * src/tabular.C (OldFormatRead): forgot to delete the temporary
686         Paragraph-Data after use.
687
688         * src/insets/insettext.C (LocalDispatch): don't set the layout on
689         non breakable paragraphs.
690
691 2000-09-25  Garst R. Reese <reese@isn.net>
692
693         * src/language.C (initL): added missing language_country codes.
694
695 2000-09-25  Juergen Vigna  <jug@sad.it>
696
697         * src/insets/insettext.C (InsetText):
698         (deleteLyXText): remove the not released LyXText structure!
699
700 2000-09-24  Marko Vendelin <markov@ioc.ee>
701
702         * src/frontends/gnome/mainapp.C
703         * src/frontends/gnome/mainapp.h: added support for keyboard 
704         accelerators
705
706         * src/frontends/gnome/FormCitation.C
707         * src/frontends/gnome/FormCitation.h
708         * src/frontends/gnome/Makefile.am
709         * src/frontends/gnome/pixbutton.h: completed the rewrite of 
710         FormCitation to use "action area" in mainapp window
711
712         * src/frontends/gnome/Menubar_pimpl.C   
713         * src/frontends/gnome/Menubar_pimpl.h: Gnome menu can handle
714         large TOC.
715
716 2000-09-23  Dekel Tsur  <dekel@math.tau.ac.il>
717
718         * src/mathed/formula.C (MathFuncInset::Metrics): Use default 
719         width/descent/ascent values if name is empty.
720         (mathed_string_height): Use std::max.
721
722 2000-09-25  Allan Rae  <rae@lyx.org>
723
724         * src/frontends/xforms/forms/form_preferences.fd: resize to stop
725         segfault.  This will be completely redesigned soon.
726
727         * sigc++: updated libsigc++.  Fixes struct timespec bug.
728
729         * development/tools/makeLyXsigc.sh:  .cvsignore addition
730
731 2000-09-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
732
733         * several files: removed almost all traces of the old table
734         (tabular) code.
735
736         * src/TableLayout.C: removed file
737         
738 2000-09-22  Juergen Vigna  <jug@sad.it>
739
740         * src/frontends/kde/Dialogs.C: added credits forms.
741
742         * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added forms.
743
744         * src/frontends/gnome/Dialogs.C: added some forms.
745
746         * src/spellchecker.C (init_spell_checker): set language in pspell code
747         (RunSpellChecker): some modifications for setting language string.
748
749         * src/language.[Ch]: added language_country code.
750
751 2000-09-21  Angus Leeming <a.leeming@ic.ac.uk>
752
753         * src/frontends/Dialogs.h: added new signal showError.
754         Rearranged existing signals in some sort of alphabetical order.
755
756         * src/frontends/xforms/Makefile.am: added new files, FormBase.[Ch],
757         FormError.[Ch], form_error.[Ch]
758         * src/frontends/xforms/forms/makefile: added new file form_error.fd
759         * src/frontends/xforms/Dialogs.C: added new xforms dialog FormError.
760
761         * src/frontends/xforms/FormBase.[Ch]: new base class for xforms
762         dialogs. I think that this can be used as the base to all these
763         dialogs.
764
765         * src/frontends/xforms/FormError.[Ch]
766         * src/frontends/xforms/forms/form_error.fd: new files. Xforms
767         implementation of InsetError dialog.
768         
769         * src/insets/inseterror.[Ch]: rendered GUI-independent.
770
771         * src/frontends/kde/Dialogs.C: added new xforms dialog FormError.
772         * src/frontends/kde/Makefile.am: ditto
773
774 2000-09-21  Dekel Tsur  <dekel@math.tau.ac.il>
775
776         * src/mathed/math_cursor.[Ch]: Removed class members macroln and
777         macrobf. This fixes a bug of invisible text.
778
779 2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
780
781         * lib/doc/LaTeXConfig.lyx.in: updated.
782
783         * src/language.C (initL): remove language "francais" and change a
784         bit the names of the two other french variations.
785
786         * src/support/lyxstring.C (lyxstring): do not apply strlen() on a
787         string that may not be 0-terminated.
788
789 2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
790
791         * src/Makefile.am (lyx_SOURCES): remove table.C and Table.h
792
793 2000-09-20  Marko Vendelin <markov@ioc.ee>
794
795         * src/frontends/gnome/FormCitation.C
796         * src/frontends/gnome/FormIndex.C
797         * src/frontends/gnome/FormToc.C
798         * src/frontends/gnome/FormUrl.C: cleanup the loops, reordering
799         the variable initialization to shut up the warnings
800
801 2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
802
803         * src/table.[Ch]: deleted files
804         
805         * src/lyxfunc.C (Dispatch): Don't pass 0 as argument to Dispatch
806         second arg.
807
808 2000-09-18  Juergen Vigna  <jug@sad.it>
809
810         * src/insets/insettext.C (LocalDispatch): fixed Backspace/Delete
811         problems with selection. Inserted new LFUN_PASTESELECTION.
812         (InsetButtonPress): inserted handling of middle mouse-button paste.
813
814         * src/spellchecker.C: changed word to word.c_str().
815
816 2000-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
817
818         * src/Makefile.am: Add sources to lyx_SOURCES so they will be
819           included in the ``make dist'' tarball.
820
821 2000-09-15  Juergen Vigna  <jug@sad.it>
822
823         * src/CutAndPaste.C (cutSelection): small fix return the right
824         end position after cut inside one paragraph only.
825
826         * src/insets/insettext.C (resizeLyXText): only reset the cursor if
827         we are locked as otherwise we don't have a valid cursor position!
828
829         * src/insets/figinset.C (draw): small bugfix but why is this needed???
830
831 2000-09-19  Angus Leeming <a.leeming@ic.ac.uk>
832
833         * src/frontends/kde/FormRef.C: added using directive.
834         * src/frontends/kde/FormToc.C: ditto
835
836         * src/frontends/kde/formtocdialog.h: changed endl to std::endl.
837
838         * src/frontends/kde/FormRef.h: removed trailing comma from enums.
839
840 2000-09-19  Marko Vendelin <markov@ioc.ee>
841         
842         * src/frontends/gnome/Menubar_pimpl.C
843         * src/frontends/gnome/Menubar_pimpl.h: Gnome menus show now
844         Toc, ViewFormats, UpdateFormats, and ExportFormats.
845
846         * src/frontends/gnome/mainapp.C
847         * src/frontends/gnome/mainapp.h: support for menu update used 
848         by Toc menu.
849
850         * src/frontends/gnome/mainapp.C
851         * src/frontends/gnome/mainapp.h: support for "action" area in the
852         main window. This area is used by small simple dialogs, such as
853         FormUrl.
854
855         * src/frontends/gnome/FormIndex.C
856         * src/frontends/gnome/FormIndex.h
857         * src/frontends/gnome/FormUrl.C
858         * src/frontends/gnome/FormUrl.h: rewrite to use main window action
859         area
860
861         * src/frontends/gnome/FormCitation.C
862         * src/frontends/gnome/FormCitation.h: rewrite to use main window
863         action area. Only "Insert new citation" is implemented.
864
865 2000-09-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
866
867         * src/buffer.C (Dispatch): fix call to Dispatch
868         * src/insets/insetref.C (Edit): likewise
869         * src/insets/insetparent.C (Edit): likewise
870         * src/insets/insetinclude.C (include_cb): likewise
871         * src/frontends/xforms/FormUrl.C (apply): likewise
872         * src/frontends/xforms/FormToc.C (apply): likewise
873         * src/frontends/xforms/FormRef.C (apply): likewise
874         * src/frontends/xforms/FormIndex.C (apply): likewise
875         * src/frontends/xforms/FormCitation.C (apply): likewise
876         * src/lyxserver.C (callback): likewise
877         * src/lyxfunc.C (processKeySym): likewise
878         (Dispatch): likewise
879         (Dispatch): likewise
880         * src/lyx_cb.C (LayoutsCB): likewise
881
882         * Makefile.am (sourcedoc): small change
883
884 2000-09-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
885
886         * src/main.C (main): Don't make an empty GUIRunTime object. all
887         methods are static. constify a bit remove unneded using + headers.
888
889         * src/tabular.C: some more const to local vars move some loop vars
890         
891         * src/spellchecker.C: added some c_str after some word for pspell
892
893         * src/frontends/GUIRunTime.h: add new static method setDefaults
894         * src/frontends/xforms/GUIRunTime.C (setDefaults): 
895         * src/frontends/kde/GUIRunTime.C (setDefaults): 
896         * src/frontends/gnome/GUIRunTime.C (setDefaults): new method
897
898         * src/mathed/math_cursor.C (MacroModeClose): don't call SetName
899         with strnew in arg, use correct emptystring when calling SetName.
900
901         * several files: remove all commented code with relation to
902         HAVE_SSTREAM beeing false. We now only support stringstream and
903         not strstream. 
904
905 2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
906
907         * src/lyxfunc.C: construct correctly the automatic new file
908         names. 
909
910         * src/text2.C (IsStringInText): change type of variable i to shut
911         off a warning.
912
913         * src/support/sstream.h: do not use namespaces if the compiler
914         does not support them.
915
916 2000-09-15  Marko Vendelin <markov@ioc.ee>
917         * src/frontends/gnome/FormCitation.C
918         * src/frontends/gnome/FormCitation.h
919         * src/frontends/gnome/diainsertcitation_interface.c
920         * src/frontends/gnome/dialogs/diainsertcitation.glade: adds
921         regexp support to FormCitation [Gnome].
922             
923 2000-09-15  John Levon  <moz@compsoc.man.ac.uk>
924
925         * acconfig.h
926         * configure.in: remove unused KDE/GTKGUI define
927
928         * src/frontends/kde/FormRef.C
929         * src/frontends/kde/FormRef.h
930         * src/frontends/kde/formrefdialog.C
931         * src/frontends/kde/formrefdialog.h: double click will
932         go to reference, now it is possible to change a cross-ref
933         after the fact
934
935         * src/frontends/kde/FormToc.C
936         * src/frontends/kde/FormToc.h
937         * src/frontends/kde/formtocdialog.C
938         * src/frontends/kde/formtocdialog.h: add a depth
939         slider
940
941         * src/frontends/kde/Makefile.am: add QtLyXView.h
942         to the sources list
943
944 2000-09-15  Angus Leeming  <a.leeming@ic.ac.uk>
945
946         * src/frontends/kde/FormCitation.h: added some using directives.
947
948         * src/frontends/kde/FormToc.h: corrected definition of doTree.
949
950         * src/frontends/kde/GUIRunTime.C (initApplication): use lyxerr not
951         cerr. 
952
953         * src/mathed/math_defs.h: redefine SetAlign to use string rather
954         than char *.
955         
956 2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
957
958         * src/buffer.C (pop_tag): revert for the second time a change by
959         Lars, who seems to really hate having non-local loop variables :)
960
961         * src/Lsstream.h: add "using" statements.
962
963         * src/support/copy.C (copy): add a bunch of std:: qualifiers
964         * src/buffer.C (writeFile): ditto
965
966 2000-09-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
967
968         * src/buffer.C (writeFile): try to fix the locale modified format
969         number to always be as we want it.
970
971         * src/WorkArea.C (work_area_handler): try to workaround the bugs
972         in XForms 0.89. C-space is now working again.
973
974         * src/Lsstream.h src/support/sstream.h: new files.
975
976         * also commented out all cases where strstream were used.
977         
978         * src/Bullet.h (c_str): remove method.
979         
980         * remove all stuff that is irrelevant when NEW_MENUBAR is defined
981         
982         * a lot of files: get rid of "char const *" and "char *" is as
983         many places as possible. We only want to use them in interaction
984         with system of other libraries, not inside lyx.
985         
986         * a lot of files: return const object is not of pod type. This
987         helps ensure that temporary objects is not modified. And fits well
988         with "programming by contract".
989
990         * configure.in: check for the locale header too 
991
992         * Makefile.am (sourcedoc): new tag for generation of doc++
993         documentation 
994
995 2000-09-14  Juergen Vigna  <jug@sad.it>
996
997         * src/frontends/xforms/FormDocument.C (ComboInputCB): fixed the
998         callback to check which combo called it and do the right action.
999
1000         * src/combox.C (combo_cb): added combo * to the callbacks.
1001         (Hide): moved call of callback after Ungrab of the pointer.
1002
1003         * src/intl.h: removed LCombo2 function.
1004
1005         * src/intl.C (LCombo): added Combox * to call and removed LCombo2
1006         function as this can now be handled in one function.
1007
1008         * src/combox.h: added Combox * to callback prototype.
1009
1010         * src/frontends/xforms/Toolbar_pimpl.C: 
1011         * src/lyx_cb.C (LayoutsCB): added Combox * to function call.
1012
1013 2000-09-14  Garst Reese    <reese@isn.net>
1014
1015         * lib/tex/hollywood.cls changed length of parenthicals to 1.5in
1016         moved usepackage{xxx}'s to beginning of file. Changed left margin
1017         to 1.5in, right margin to 1in. Forced headrulewidth to 0, removed
1018         underlining from title. Thanks to John Culleton for useful suggestions.
1019
1020 2000-09-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1021
1022         * src/lyxlex_pimpl.C (setFile): change error message to debug
1023         message. 
1024
1025 2000-09-13  Juergen Vigna  <jug@sad.it>
1026
1027         * src/frontends/xforms/FormDocument.C: implemented choice_class
1028         as combox and give callback to combo_language so OK/Apply is activated
1029         on change.
1030
1031         * src/bufferlist.C (newFile): small fix so already named files
1032         (via an open call) are not requested to be named again on the
1033         first save!
1034
1035 2000-09-13  John Levon  <moz@compsoc.man.ac.uk>
1036
1037         * src/frontends/kde/Makefile.am
1038         * src/frontends/kde/FormRef.C
1039         * src/frontends/kde/FormRef.h
1040         * src/frontends/kde/formrefdialog.C
1041         * src/frontends/kde/formrefdialog.h: implement
1042         cross-ref dialog
1043
1044 2000-09-13  John Levon  <moz@compsoc.man.ac.uk>
1045
1046         * src/frontends/kde/formtocdialog.C
1047         * src/frontends/kde/formtocdialog.h
1048         * src/frontends/kde/FormToc.C
1049         * src/frontends/kde/FormToc.h: change to make TOC hierarchical properly
1050
1051 2000-09-11  John Levon  <moz@compsoc.man.ac.uk>
1052
1053         * src/frontends/kde/FormCitation.C: fix thinko
1054         where we didn't always display the reference text
1055         properly
1056
1057         * src/frontends/kde/formurldialog.C
1058         * src/frontends/kde/formurldialog.h
1059         * src/frontends/kde/FormUrl.C
1060         * src/frontends/kde/FormUrl.h: minor cleanups
1061
1062         * src/frontends/kde/QtLyXView: wrapper to avoid Qt namespace mangling
1063
1064         * src/frontends/kde/Makefile.am
1065         * src/frontends/kde/FormToc.C
1066         * src/frontends/kde/FormToc.h
1067         * src/frontends/kde/FormCitation.C
1068         * src/frontends/kde/FormCitation.h
1069         * src/frontends/kde/FormIndex.C
1070         * src/frontends/kde/FormIndex.h
1071         * src/frontends/kde/formtocdialog.C
1072         * src/frontends/kde/formtocdialog.h
1073         * src/frontends/kde/formcitationdialog.C
1074         * src/frontends/kde/formcitationdialog.h
1075         * src/frontends/kde/formindexdialog.C
1076         * src/frontends/kde/formindexdialog.h: new Toc,Citation,Index dialogs
1077
1078 2000-09-12  Juergen Vigna  <jug@sad.it>
1079
1080         * src/frontends/gnome/GUIRunTime.C (initApplication): make id + version
1081         static strings.
1082
1083 2000-09-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1084
1085         * src/frontends/xforms/GUIRunTime.C (initApplication): use lyxerr,
1086         not cerr.
1087
1088 2000-09-09  Dekel Tsur  <dekel@math.tau.ac.il>
1089
1090         * src/converter.C (Add, Convert): Added support for converter flags:
1091         needaux, resultdir, resultfile.
1092         (Convert): Added new parameter view_file.
1093         (dvips_options): Fixed letter paper option.
1094
1095         * src/exporter.C (Export, BufferExtension): Added support for Docbook.
1096         (Export, GetExportableFormats, GetViewableFormats): Added support
1097         for Ascii.
1098
1099         * src/lyx_main.C (LyX): Call to QuitLyX() to remove temporary
1100         directory!
1101         (easyParse): Fixed to work with new export code.
1102         
1103         * src/support/filetools.C (DeleteAllFilesInDir) Fixed to delete
1104         directories.
1105
1106         * lyx-devel-export/lib/configure.m4: Changed flags of tth.
1107
1108         * lib/bind/*.bind: Replaced
1109         buffer-view,buffer-view-ps,buffer-typeset,buffer-typeset-ps by
1110         buffer-view dvi,buffer-view ps,buffer-update dvi,buffer-update ps
1111
1112 2000-09-11  Juergen Vigna  <jug@sad.it>
1113
1114         * src/lyx_gui.C (runTime): uses global guiruntime variable.
1115
1116         * src/main.C (main): now GUII defines global guiruntime!
1117
1118         * src/frontends/gnome/GUIRunTime.C (initApplication): 
1119         * src/frontends/kde/GUIRunTime.C (initApplication): 
1120         * src/frontends/xforms/GUIRunTime.C (initApplication): 
1121         * src/frontends/GUIRunTime.h: added new function initApplication.
1122
1123         * src/spellchecker.C (sc_accept_word): change to add_to_session.
1124
1125         * src/vspace.C (nextToken): fixed error with number 0cm as unvalid.
1126
1127 2000-09-08  Juergen Vigna  <jug@sad.it>
1128
1129         * src/lyx_gui.C (create_forms): don't display the "default" entry as
1130         we have already "Reset".
1131
1132         * src/language.C (initL): inserted "default" language and made this
1133         THE default language (and not american!)
1134
1135         * src/paragraph.C: inserted handling of "default" language!
1136
1137         * src/lyxfont.C: ditto
1138
1139         * src/text.C: ditto
1140
1141         * src/paragraph.C: output the \\par only if we have a following
1142         paragraph otherwise it's not needed.
1143
1144 2000-09-05  Juergen Vigna  <jug@sad.it>
1145
1146         * config/pspell.m4: added entry to lyx-flags
1147
1148         * src/spellchecker.C: modified version from Kevin for using pspell
1149
1150 2000-09-01  Marko Vendelin <markov@ioc.ee>
1151         * src/frontends/gnome/Makefile.am
1152         * src/frontends/gnome/FormCitation.C
1153         * src/frontends/gnome/FormCitation.h
1154         * src/frontends/gnome/diainsertcitation_callbacks.c
1155         * src/frontends/gnome/diainsertcitation_callbacks.h
1156         * src/frontends/gnome/diainsertcitation_interface.c
1157         * src/frontends/gnome/diainsertcitation_interface.h
1158         * src/frontends/gnome/dialogs/diainsertcitation.glade: Insert Citation 
1159         dialog for Gnome frontend
1160
1161         * src/main.C: Gnome libraries require keeping application name
1162         and its version as strings
1163
1164         * src/frontends/gnome/mainapp.C: Change the name of the main window
1165         from GnomeLyX to PACKAGE
1166
1167 2000-09-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1168
1169         * src/frontends/Liason.C: add "using: declaration.
1170
1171 2000-08-31  Dekel Tsur  <dekel@math.tau.ac.il>
1172
1173         * src/mathed/math_macro.C (Metrics): Set the size of the template
1174
1175         * src/mathed/formulamacro.C (Latex): Fixed the returned value
1176
1177 2000-09-04  Dekel Tsur  <dekel@math.tau.ac.il>
1178
1179         * src/converter.C (add_options): New function.
1180         (SetViewer): Change $$FName into '$$FName'.
1181         (View): Add options when running xdvi
1182         (Add): Change $$FName into '$$FName'. Same for $$BaseName/$$OutName.
1183         (Convert): The 3rd parameter is now the desired filename. Converts
1184         calls to lyx::rename if necessary.
1185         Add options when running dvips.
1186         (dvi_papersize,dvips_options): New methods.
1187
1188         * src/exporter.C (Export): Use getLatexName() instead of fileName().
1189
1190         * src/frontends/Liason.C (printBuffer): Removed duplicate code by
1191         using a call to Converter::dvips_options.
1192         Fixed to work with nex export code.
1193
1194         * src/support/copy.C
1195         * src/support/rename.C: New files
1196
1197         * src/support/syscall.h
1198         * src/support/syscall.C: Added Starttype SystemDontWait.
1199
1200         * lib/ui/default.ui: Changed to work with new export code
1201
1202         * lib/configure.m4: Changed to work with new export code
1203
1204         * src/encoding.C: Changed latex name for iso8859_7 encoding.
1205
1206 2000-09-04  Angus Leeming  <a.leeming@ic.ac.uk> +
1207
1208         * src/frontends/xforms/Menubar_pimpl.C: added two using directives
1209         so that code compiles with DEC cxx.
1210         
1211         * src/frontends/xforms/FormCitation.C (setSize): code re-writtenn
1212         to work correctly! Also now supports the additional elements
1213         neeeded by natbib.
1214         
1215 2000-09-01  Allan Rae  <rae@lyx.org>
1216
1217         * src/frontends/ButtonPolicies.C: renamed all the references to
1218         PreferencesPolicy::{AllButtons,BOGUS} to be ButtonPolicy.
1219
1220         * src/frontends/ButtonPolicies.h: rename AllButtons to ALL_BUTTONS
1221         since it's a const not a type.
1222
1223         * src/frontends/xforms/ButtonController.h: cleanup before Lars does.
1224
1225 2000-08-31  Juergen Vigna  <jug@sad.it>
1226
1227         * src/insets/figinset.C: Various changes to look if the filename has
1228         an extension and if not add it for inline previewing.
1229
1230 2000-08-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
1231
1232         * src/frontends/ButtonPolicies.h: add a Button AllButtons.
1233         make buttonStatus and isReadOnly be const methods. (also reflect
1234         this in derived classes.)
1235
1236         * src/frontends/ButtonPolicies.C: remove sum_ and bogus_
1237         (nextState): change to be static inline, pass the StateMachine as
1238         a const reference
1239         (PreferencesPolicy): remove casts
1240         (OkCancelPolicy): remvoe casts
1241         (OkCancelReadOnlyPolicy): remove casts
1242         (NoRepeatedApplyReadOnlyPolicy): remove casts
1243         (OkApplyCancelReadOnlyPolicy): remove casts
1244         (OkApplyCancelPolicy): remove casts
1245         (NoRepeatedApplyPolicy): remove casts
1246
1247 2000-08-31  Angus Leeming  <a.leeming@ic.ac.uk>
1248
1249         * src/converter.C: added some using directives
1250
1251         * src/frontends/ButtonPolicies.C: changes to overcome
1252         "need lvalue" error with DEC c++
1253
1254         * src/frontends/xforms/FormDocument.C (c-tor): use C callback
1255         to WMHideCB for DEC c++
1256
1257         * src/frontends/xforms/Menubar_pimpl.C: added using directive
1258
1259         * src/frontends/xforms/forms/form_document.C.patch: use C callback
1260         to BulletBMTableCB for DEC c++
1261
1262 2000-08-31  Allan Rae  <rae@lyx.org>
1263
1264         * src/lyx_gui.C (create_forms): build combo_language2 which is part of
1265         character dialog separately from old document dialogs combo_language.
1266         Stops a segfault.
1267
1268 2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
1269
1270         * src/commandtags.h: Added LFUN_GOTO_PARAGRAPH.
1271         Removed LFUN_REF_CREATE.
1272
1273         * src/MenuBackend.C: Added new tags: toc and references
1274
1275         * src/frontends/xforms/Menubar_pimpl.C: Removed the use of StrPool
1276         (add_lastfiles, add_documents, add_formats): Removed the unused smn
1277         parameter.
1278         (add_toc, add_references): New methods.
1279         (create_submenu): Handle correctly the case when there is a
1280         seperator after optional menu items.
1281
1282         * src/lyxfunc.C (getStatus): Handle LFUN_REF_BACK.
1283         (dispatch): Combined the code for LFUN_REF_CREATE and LFUN_REF_INSERT.
1284         (dispatch): New code for LFUN_GOTO_PARAGRAPH.
1285
1286         * src/frontends/xforms/FormToc.C (apply): Use Dispatch.
1287
1288 2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
1289
1290         * src/converter.[Ch]: New file for converting between different
1291         formats.
1292         
1293         * src/export.[Ch]: New file for exporting a LyX file to different
1294         formats.
1295         
1296         * src/lyx_cb.C: Remove many functions when NEW_EXPORT is defined:
1297         MenuRunLaTeX, MakeLaTeXOutput, RunScript, CreatePostscript,
1298         PreviewPostscript, PreviewDVI, AskOverwrite, MenuMakeLaTeX,
1299         MenuMakeLinuxDoc, MenuMakeDocBook, MenuMakeHTML,
1300         MenuMakeHTML_LinuxDoc, MenuMakeHTML_DocBook, RunLinuxDoc,
1301         RunDocBook, MenuExport.
1302         
1303         * src/lyxfunc.C (Dispatch): Use the Exporter::Export and
1304         Exporter::Preview methods if NEW_EXPORT is defined.     
1305         
1306         * src/buffer.C (Dispatch): Use Exporter::Export.
1307         
1308         * src/lyxrc.C: Added new tags: \converter and \viewer.
1309         
1310         * src/commandtags.h
1311         * src/LyXAction.C: Define new lyx-function: buffer-update.
1312         Remove obsolete buffer-typeset,buffer-typeset-ps & buffer-view-ps
1313         when NEW_EXPORT is defined.
1314         
1315         * src/MenuBackend.C: Added new tags: updateformats and viewformats.
1316         
1317         * src/frontends/xforms/Menubar_pimpl.C (add_formats) New method.
1318         
1319         * lib/ui/default.ui: Added submenus "view" and "update" to the 
1320         "file" menu.
1321         
1322         * src/filetools.C (GetExtension): New function.
1323         
1324         * src/LaTeX.C (LaTeX): Add "-pdf" to depfile if pdflatex is used.
1325
1326 2000-08-29  Allan Rae  <rae@lyx.org>
1327
1328         * lib/bind/xemacs.bind: update a binding due to Juergen's recent work
1329
1330         * src/frontends/xforms/FormDocument.C (checkReadOnly): new function
1331         (EnableDocumentLayout): removed
1332         (DisableDocumentLayout): removed
1333         (build): make use of ButtonController's read-only handling to
1334         de/activate various objects. Replaces both of the above functions.
1335
1336         * src/frontends/xforms/ButtonController.h (readWrite): was read_write
1337         (readOnly): was read_only
1338         (refresh): fixed dumb mistakes with read_only_ handling
1339
1340         * src/frontends/xforms/forms/form_document.fd:
1341         * src/frontends/xforms/forms/form_tabular.fd: Use FL_FLAT_BOX for the
1342         tabbed dialogs so the tabs look more like tabs and so its easier to
1343         work out which is the current tab.
1344
1345         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): fix
1346         segfault with form_table
1347
1348         * src/frontends/ButtonPolicies.C: All policies now support UNDO_ALL.
1349
1350 2000-08-28  Juergen Vigna  <jug@sad.it>
1351
1352         * acconfig.h: added USE_PSPELL.
1353
1354         * src/config.h.in: added USE_PSPELL.
1355
1356         * autogen.sh: added pspell.m4
1357
1358         * config/pspell.m4: new file.
1359
1360         * src/spellchecker.C: implemented support for pspell libary.
1361
1362 2000-08-25  Juergen Vigna  <jug@sad.it>
1363
1364         * src/LyXAction.C (init): renamed LFUN_TABLE to
1365         LFUN_DIALOG_TABULAR_INSERT and fixed all it's occurences.
1366
1367         * src/lyxfunc.C (getStatus): fix for disabled Edit->Table entries.
1368
1369         * src/lyxscreen.h: add force_clear variable and fuction to force
1370         a clear area when redrawing in LyXText.
1371
1372         * src/text.C (GetVisibleRow): look if the screen forces a redraw.
1373
1374 2000-08-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
1375
1376         * some whitespace and comment changes.
1377         
1378         * src/lyx_gui.C (LyXGUI): use C++ style casts instead of C ones.
1379
1380         * src/buffer.C: up te LYX_FORMAT to 2.17
1381
1382 2000-08-23  Juergen Vigna  <jug@sad.it>
1383
1384         * src/BufferView_pimpl.C (tripleClick): disable this when in a
1385         locking_inset.
1386
1387         * src/insets/insettabular.C (pasteSelection): delete the insets
1388         LyXText as it is not valid anymore.
1389         (copySelection): new function.
1390         (pasteSelection): new function.
1391         (cutSelection): new function.
1392         (LocalDispatch): implemented cut/copy/paste of cell selections.
1393
1394         * src/insets/insettext.C (resizeLyXText): don't need resize if I still
1395         don't have a LyXText.
1396
1397         * src/LyXAction.C (init): a NEW_TABULAR define too much.
1398
1399         * src/lyx_gui_misc.C (CloseAllBufferRelatedDialogs): another missing
1400         NEW_TABULAR define.
1401
1402 2000-08-22  Juergen Vigna  <jug@sad.it>
1403
1404         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): 
1405         ifdef form_table out if NEW_TABULAR.
1406
1407 2000-08-21  Juergen Vigna  <jug@sad.it>
1408
1409         * src/insets/insettabular.C (TabularFeatures): BoxType is enum now.
1410         (draw): fixed draw position so that the cursor is positioned in the
1411         right place.
1412         (InsetMotionNotify): hide/show cursor so the position is updated.
1413         (GENERAL): fixed cursor_pos to show only 0/1 (begin/end of cell),
1414         using cellstart() function where it should be used.
1415
1416         * src/insets/insettext.C (draw): ditto.
1417
1418         * src/tabular.C: fixed initialization of some missing variables and
1419         made BoxType into an enum.
1420
1421 2000-08-22  Marko Vendelin <markov@ioc.ee>
1422         * src/frontends/gnome/Menubar_pimpl.C: Mathces LyX action with Gnome 
1423         stock menu item using action numerical value, not its string
1424         representation.
1425
1426
1427 2000-08-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
1428
1429         * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add
1430         GUIRunTime.C remove GUIRunTime_pimpl.[Ch]
1431
1432         * src/frontends/xforms/GUIRunTime_pimpl.[Ch]: removed file
1433
1434         * src/frontends/xforms/GUIRunTime.C: new file
1435
1436         * src/frontends/kde/Makefile.am (libkde_la_SOURCES): add
1437         GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
1438
1439         * src/frontends/kde/GUIRunTime_pimpl.[Ch]: removed file
1440
1441         * src/frontends/kde/GUIRunTime.C: new file
1442
1443         * src/frontends/gnome/Makefile.am (libgnome_la_SOURCES): add
1444         GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
1445
1446         * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: removed file
1447
1448         * src/frontends/gnome/GUIRunTime.C: new file
1449
1450         * src/frontends/Makefile.am (libfrontends_la_SOURCES): removed
1451         GUIRunTime.C 
1452
1453         * src/frontends/GUIRunTime.h: removed constructor and destructor,
1454         small change to documetentation.
1455
1456         * src/frontends/GUIRunTime.C: removed file
1457
1458         * src/text2.C (MeltFootnoteEnvironment): add some NEW_TABULAR
1459
1460         * src/lyxparagraph.h: enable NEW_TABULAR as default
1461
1462         * src/lyxfunc.C (processKeySym): remove some commented code
1463
1464         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): add
1465         NEW_TABULAR around the fd_form_table_options.
1466
1467         * src/lyx_gui.C (runTime): call the static member function as
1468         GUIRunTime::runTime().
1469
1470 2000-08-21  Allan Rae  <rae@lyx.org>
1471
1472         * src/frontends/xforms/FormDocument.h: D'oh.  Forgot to change the
1473         policy here also.
1474
1475 2000-08-21  Dekel Tsur  <dekel@math.tau.ac.il>
1476
1477         * src/Spacing.C (writeEnvirBegin): Small fix when sstream not present
1478
1479 2000-08-21  Allan Rae  <rae@lyx.org>
1480
1481         * src/frontends/xforms/ButtonController.h (setOK): renamed from setOk to
1482         keep Garst happy ;-)
1483         * src/frontends/xforms/FormPreferences.C (build): use setOK
1484         * src/frontends/xforms/FormDocument.C (build): use setOK
1485         (FormDocument): use the appropriate policy.
1486
1487 2000-08-21  Allan Rae  <rae@lyx.org>
1488
1489         * src/frontends/xforms/ButtonController.h (class ButtonController): Allow
1490         automatic [de]activation of arbitrary objects when in a read-only state.
1491
1492         * src/frontends/ButtonPolicies.h: More documentation
1493         (isReadOnly): added to support the above.
1494
1495         * src/frontends/xforms/forms/form_preferences.fd: Changed Ok -> Save
1496
1497 2000-08-18  Juergen Vigna  <jug@sad.it>
1498
1499         * src/insets/insettabular.C (getStatus): changed to return func_status.
1500
1501         * src/lyxfunc.C (getStatus): fixed TabularFeatures menu to always
1502         display toggle menu entries if they are.
1503
1504         * src/lyx_cb.C: #ifdef'ed out layout stuff which is in the
1505         new document layout now.
1506
1507         * src/lyxfunc.C: ditto
1508
1509         * src/lyx_gui_misc.C: ditto
1510
1511         * src/lyx_gui.C: ditto
1512
1513         * lib/ui/default.ui: removed paper and quotes layout as they are now
1514         all in the document layout tabbed folder.
1515
1516         * src/frontends/xforms/forms/form_document.fd: added Restore
1517         button and callbacks for all inputs for Allan's ButtonPolicy.
1518
1519         * src/frontends/xforms/FormDocument.C (ChoiceClassCB): added.
1520         (CheckChoiceClass): added missing params setting on class change.
1521         (UpdateLayoutDocument): added for updating the layout on params.
1522         (build): forgot to RETURN_ALWAYS input_doc_spacing.
1523         (FormDocument): Implemented Allan's ButtonPolicy with the
1524         PreferencesPolicy.
1525
1526 2000-08-17  Allan Rae  <rae@lyx.org>
1527
1528         * src/frontends/xforms/Dialogs.C (Dialogs): Make a temporary connection
1529         so we can at least see the credits again.
1530
1531         * src/frontends/xforms/FormPreferences.C: Used the appropriate button
1532         controller calls for the appropriate callbacks.  Note that since Ok
1533         calls apply followed by cancel, and apply isn't a valid input for the
1534         APPLIED state, the bc_ calls have to be made in the static callback not
1535         within each of the real callbacks.
1536
1537         * src/frontends/xforms/ButtonController.h (Ok): renamed from Okay()
1538         (setOk): renamed from setOkay()
1539
1540 2000-08-17  Juergen Vigna  <jug@sad.it>
1541
1542         * src/frontends/gnome/Menubar_pimpl.C (openByName): put this function
1543         in the implementation part.
1544         (composeUIInfo): don't show optional menu-items.
1545
1546         * src/lyxfunc.C (getStatus): use insets LyXText if the_locking_inset.
1547
1548         * src/insets/insettext.C (UpdateLocal): call to LyXView::showState()
1549
1550         * src/bufferview_funcs.C (CurrentState): fixed to show also the
1551         text-state when in a text-inset.
1552
1553         * src/frontends/kde/GUIRunTime_pimpl.C: include xforms for now.
1554
1555 2000-08-17  Marko Vendelin <markov@ioc.ee>
1556         * src/frontends/gnome/FormIndex.C
1557         * src/frontends/gnome/FormIndex.h
1558         * src/frontends/gnome/FormToc.C
1559         * src/frontends/gnome/FormToc.h
1560         * src/frontends/gnome/dialogs
1561         * src/frontends/gnome/diatoc_callbacks.c
1562         * src/frontends/gnome/diatoc_callbacks.h
1563         * src/frontends/gnome/diainsertindex_callbacks.h
1564         * src/frontends/gnome/diainsertindex_callbacks.c
1565         * src/frontends/gnome/diainsertindex_interface.c
1566         * src/frontends/gnome/diainsertindex_interface.h
1567         * src/frontends/gnome/diatoc_interface.h
1568         * src/frontends/gnome/diatoc_interface.c
1569         * src/frontends/gnome/Makefile.am: Table of Contents and 
1570         Insert Index dialogs implementation for Gnome frontend
1571
1572         * src/frontends/gnome/GUIRunTime_pimpl.C: fix some small bugs
1573
1574         * src/frontends/gnome/Menubar_pimpl.C: remove historical comments
1575
1576         * src/frontends/gnome/diainserturl_interface.c: make the dialog
1577         resizable
1578
1579 2000-08-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1580
1581         * src/frontends/xforms/GUIRunTime_pimpl.C: constructor and
1582         destructor. Don't definde if you don't need it
1583         (processEvents): made static, non-blocking events processing for
1584         xforms.
1585         (runTime): static method. event loop for xforms
1586         * similar as above for kde and gnome.
1587         
1588         * src/frontends/GUIRunTime.C (GUIRunTime): new Pimpl() is wrong
1589         new Pimpl is correct
1590         (runTime): new method calss the real frontends runtime func.
1591
1592         * src/lyx_gui.C (runTime): change to use the GUIRunTime::runTime
1593
1594 2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1595
1596         * src/lyx_gui.C (create_forms): fix the "No change" gettext missing
1597
1598 2000-08-16  Juergen Vigna  <jug@sad.it>
1599
1600         * src/lyx_gui.C (runTime): added GUII RunTime support.
1601
1602         * src/frontends/Makefile.am: 
1603         * src/frontends/GUIRunTime.[Ch]:
1604         * src/frontends/xforms/GUIRunTime_pimpl.[Ch]:
1605         * src/frontends/kde/GUIRunTime_pimpl.[Ch]:
1606         * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: added GUII runtime support
1607
1608         * src/LyXAction.C (init): added dummy LFUN_INSERT_URL.
1609
1610         * src/frontends/Makefile.am (INCLUDES): don't set the FRONTENDS include
1611         as this is already set in ${FRONTEND_INCLUDE} if needed.
1612
1613         * configure.in (CPPFLAGS): setting the include dir for the frontend
1614         directory and don't set FRONTEND=xforms for now as this is executed
1615         always.
1616
1617 2000-08-16 John Levon (moz@compsoc.man.ac.uk)
1618  
1619         * src/frontends/kde/Makefile.am:
1620         * src/frontends/kde/FormUrl.C:
1621         * src/frontends/kde/FormUrl.h:
1622         * src/frontends/kde/formurldialog.h:
1623         * src/frontends/kde/formurldialog.C: Add KDE URL dialog
1624
1625 2000-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1626
1627         * src/frontend/Makefile.am: Add gnome and kde to dist tar file.
1628
1629 2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1630
1631         * src/BufferView_pimpl.C (workAreaKeyPress): enable the
1632         processKeySym
1633         
1634 2000-08-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
1635
1636         * src/WorkArea.C (work_area_handler): more work to get te
1637         FL_KEYBOARD to work with xforms 0.88 too, please test.
1638
1639         * src/BufferView_pimpl.C (workAreaKeyPress): add XForms 0.88 guard.
1640
1641 2000-08-15  Dekel Tsur  <dekel@math.tau.ac.il>
1642
1643         * src/frontends/ButtonPolicies.C: make gcc happy when compiling with
1644         -pedantic
1645
1646 2000-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1647
1648         * src/Timeout.h: remove Qt::emit hack.
1649
1650         * several files: changes to allo doc++ compilation
1651         
1652         * src/lyxfunc.C (processKeySym): new method
1653         (processKeyEvent): comment out if FL_REVISION < 89
1654
1655         * src/WorkArea.C: change some debugging levels.
1656         (WorkArea): set wantkey to FL_KEY_ALL
1657         (work_area_handler): enable the FL_KEYBOARD clause, this enables
1658         clearer code and the use of compose with XForms 0.89. Change to
1659         use signals instead of calling methods in bufferview directly.
1660
1661         * src/Painter.C: change some debugging levels.
1662
1663         * src/LyXView.C: don't setup of use the KeyPressMask_raw_callback
1664         if FL_REVISION < 89
1665
1666         * src/BufferView_pimpl.C (Pimpl): Connect to the WorkArea signals.
1667         (workAreaKeyPress): new method
1668
1669 2000-08-14  Juergen Vigna  <jug@sad.it>
1670
1671         * src/frontends/kde/Dialogs.C (Dialogs): added missing dialogs.
1672
1673         * config/kde.m4: addes some features
1674
1675         * src/frontends/kde/Makefile.am (libkde_la_OBJADD): modified to 
1676         include missing xforms dialogs.
1677
1678         * src/Timeout.h: a hack to be able to compile with qt/kde.
1679
1680         * sigc++/.cvsignore: added acinclude.m4
1681
1682         * lib/.cvsignore: added listerros
1683
1684         * src/frontends/Makefile.am: modified for now to ALWAYS compile the
1685         xforms tree as objects are needed for other frontends.
1686
1687         * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added for
1688         linking with not yet implemented xforms objects.
1689
1690         * src/frontends/gnome/Dialogs.C (Dialogs): added FormDocument.
1691
1692 2000-08-14  Baruch Even  <baruch.even@writeme.com>
1693
1694         * src/frontends/xforms/FormGraphics.h:
1695         * src/frontends/xforms/FormGraphics.C:
1696         * src/frontends/xforms/RadioButtonGroup.h:
1697         * src/frontends/xforms/RadioButtonGroup.C:
1698         * src/insets/insetgraphics.h:
1699         * src/insets/insetgraphics.C:
1700         * src/insets/insetgraphicsParams.h:
1701         * src/insets/insetgraphicsParams.C: Changed indentation to use tabs
1702         instead of spaces, and various other indentation issues to make the
1703         sources more consistent.
1704
1705 2000-08-14  Marko Vendelin <markov@ioc.ee>
1706
1707         * src/frontends/gnome/dialogs/diaprint.glade
1708         * src/frontends/gnome/FormPrint.C
1709         * src/frontends/gnome/FormPrint.h
1710         * src/frontends/gnome/diaprint_callbacks.c
1711         * src/frontends/gnome/diaprint_callbacks.h
1712         * src/frontends/gnome/diaprint_interface.c
1713         * src/frontends/gnome/diaprint_interface.h: Print dialog Gnome 
1714         implementation
1715         
1716         * src/frontends/gnome/dialogs/diainserturl.glade
1717         * src/frontends/gnome/FormUrl.C
1718         * src/frontends/gnome/FormUrl.h
1719         * src/frontends/gnome/diainserturl_callbacks.c
1720         * src/frontends/gnome/diainserturl_callbacks.h
1721         * src/frontends/gnome/diainserturl_interface.c
1722         * src/frontends/gnome/diainserturl_interface.h: Insert Url dialog
1723         Gnome implementation
1724
1725         * src/frontends/gnome/Dialogs.C
1726         * src/frontends/gnome/Makefile.am: added Print, Insert Url  and
1727         all other dialogs. Copy all unimplemented dialogs from Xforms
1728         frontend
1729         
1730         * src/frontends/gnome/support.c
1731         * src/frontends/gnome/support.h: support files generated by Glade
1732
1733         * autogen.sh
1734         * configure.in
1735         * config/gnome.m4: Gnome configuration scripts
1736
1737         * config/lyxinclude.m4: cleanup: frontend renamed from gtk to gnome in
1738         configure --help message
1739
1740         * src/lyx_gui.C: Gnome/Gtk releases control in LyXGUI::runTime()
1741         only if there are no events pendling in Gnome/Gtk. This enhances
1742         the performance of menus.
1743
1744
1745 2000-08-14  Allan Rae  <rae@lyx.org>
1746
1747         * lib/Makefile.am: listerrors cleaning
1748
1749         * lib/listerrors: removed -- generated file
1750         * acinclude.m4: ditto
1751         * sigc++/acinclude.m4: ditto
1752
1753         * src/frontends/xforms/forms/form_citation.fd:
1754         * src/frontends/xforms/FormCitation.C (setSize): Made the form a more
1755         manageable size.
1756
1757         * src/frontends/xforms/forms/makefile: I renamed the `install` target
1758         `updatesrc` and now we have a `test` target that does what `updatesrc`
1759         used to do. I didn't like having an install target that wasn't related
1760         to the dist.
1761
1762         * src/frontends/xforms/Form*.[hC]: Removed the free() member functions
1763         on all except FormGraphics.  This may yet happen. Followed by a major
1764         cleanup including using FL_TRANSIENT for most of the dialogs.  More
1765         changes to come when the ButtonController below is introduced.
1766
1767         * src/frontends/xforms/ButtonController.h: New file for managing up to
1768         four buttons on a dialog according to an externally defined policy.
1769         * src/frontends/xforms/Makefile.am: added above
1770
1771         * src/frontends/ButtonPolicies.[hC]: New files full of policies for Ok,
1772         Apply and Cancel/Close buttons and everything in between and beyond.
1773         * src/frontends/Makefile.am: added above.
1774
1775         * src/frontends/xforms/forms/form_preferences.fd:
1776         * src/frontends/xforms/FormPreferences.[hC]: Uses the ButtonController
1777         and removed variable 'status' as a result. Fixed the set_minsize thing.
1778         Use the new screen-font-update after checking screen fonts were changed
1779         Added a "Restore" button to restore the original lyxrc values while
1780         editing.  This restores everything not just the last input changed.
1781         That's still a tricky one.  As is the "LyX: this shouldn't happen..."
1782
1783         * src/LyXAction.C: screen-font-update added for updating buffers after
1784         screen font settings have been changed.
1785         * src/commandtags.h: ditto
1786         * src/lyxfunc.C: ditto
1787
1788         * forms/lyx.fd: removed screen fonts dialog.
1789         * src/lyx_gui.C: ditto
1790         * src/menus.[Ch]: ditto
1791         * src/lyx.[Ch]: ditto
1792         * src/lyx_cb.C: ditto + code from here moved to make
1793         screen-font-update. And people wonder why progress on GUII is
1794         slow.  Look at how scattered this stuff was!  It takes forever
1795         just find it all. 
1796
1797         * forms/fdfix.sh: Fixup the spacing after commas.
1798         * forms/makefile: Remove date from generated files. Fewer clashes now.
1799         * forms/bullet_forms.C.patch: included someones handwritten changes
1800
1801         * src/lyxrc.[Ch]: Added a commented out system_lyxrc.  Will use it RSN
1802         once I've discovered why LyXRC was made noncopyable.
1803         * src/lyx_main.C: ditto
1804
1805 2000-08-14  Angus Leeming  <a.leeming@ic.ac.uk>
1806
1807         * src/frontends/xforms/forms/fdfix.sh:
1808         * src/frontends/xforms/forms/fdfixh.sed:
1809         * src/frontends/xforms/forms/fdfixc.sed: New file from Angus
1810         * src/frontends/xforms/Form*.[hC]:
1811         * src/frontends/xforms/form_*.[hC]: Massive rewrite of the generation
1812         scripts to rename all the "FL_OBJECT * form_xxxx" to "form" and to
1813         provide a destructor for the struct FD_form_xxxx. Another version of
1814         the set_[max|min]size workaround and a few other cleanups. Actually,
1815         Angus' patch from 20000809.
1816
1817 2000-08-13      Baruch Even  <baruch.even@writeme.com>
1818
1819         * src/insets/insetgraphics.C (Clone): Added several fields that needed
1820         copying.
1821
1822 2000-08-11  Juergen Vigna  <jug@sad.it>
1823
1824         * src/insets/insetgraphics.C (InsetGraphics): changing init
1825         order because of warnings.
1826
1827         * src/frontends/xforms/forms/makefile: adding patching .C with
1828         .C.patch files.
1829
1830         * src/frontends/xforms/forms/fdfix.sh: changing patching file .c
1831         from .C.patch to .c.patch
1832
1833         * src/frontends/xforms/FormCommand.C (FormCommand): changing init
1834         order because of warning.
1835
1836         * src/frontends/xforms/Dialogs.C (Dialogs): added FormDialog
1837
1838         * src/frontends/Liason.C (setMinibuffer): new helper function
1839
1840         * src/frontends/Dialogs.h (class Dialogs): inserting showLayoutDocument
1841
1842         * src/lyxfunc.C (Dispatch): calling new Document-Layout
1843
1844         * lib/ui/default.ui: commented out PaperLayout entry
1845
1846         * src/frontends/xforms/form_document.[Ch]: new added files 
1847         
1848         * src/frontends/xforms/FormDocument.[Ch]: ditto
1849
1850         * src/frontends/xforms/forms/form_document.fd: ditto
1851
1852         * src/frontends/xforms/forms/form_document.C.patch: ditto
1853
1854 2000-08-10  Juergen Vigna  <jug@sad.it>
1855
1856         * src/insets/insetgraphics.C (draw): fixed access to 0 cacheHandle.
1857         (InsetGraphics): initialized cacheHandle to 0.
1858         (draw): changed call to updateInset to status=CHANGE_IN_DRAW.
1859
1860 2000-08-10      Baruch Even  <baruch.even@writeme.com>
1861
1862         * src/graphics/GraphicsCache.h:
1863         * src/graphics/GraphicsCache.C (addFile, removeFile): Changed to work 
1864         correctly as a cache.
1865
1866         * src/graphics/GraphicsCacheItem.h:
1867         * src/graphics/GraphicsCacheItem.C: Changed to the pimpl idiom to allow
1868         reference counting.
1869
1870         * src/graphics/GraphicsCacheItem_pimpl.h:
1871         * src/graphics/GraphicsCacheItem_pimpl.C: The implementation of the
1872         GraphicsCacheItem.
1873
1874         * src/insets/insetgraphics.h: 
1875         * src/insets/insetgraphics.C: Changed from using a signal notification
1876         to polling when image is not loaded.
1877
1878 2000-08-10  Allan Rae  <rae@lyx.org>
1879
1880         * development/tools/makeLyXsigc.sh: Updated to allow Signal3.  Note
1881         that there are two functions that have to been taken out of line by
1882         hand and aren't taken care of in the script.  (Just a reminder note)
1883
1884         * sigc++/macros/*.h.m4: Updated as above.
1885
1886 2000-08-09  Juergen Vigna  <jug@sad.it>
1887
1888         * src/insets/insettext.C (draw): small fix for clearing rectangle.
1889
1890         * src/insets/insettabular.C: make drawing of single cell smarter.
1891
1892 2000-08-09  Marko Vendelin <markov@ioc.ee>
1893         * src/frontends/gnome/Menubar_pimpl.C
1894         * src/frontends/gnome/Menubar_pimpl.h: Gnome frontend Menubar
1895         implementation: new files
1896         
1897         * src/frontends/gnome/mainapp.C
1898         * src/frontends/gnome/mainapp.h: Gnome main window (temporary
1899         implementation)
1900
1901         * src/main.C: create Gnome main window
1902
1903         * src/frontends/xforms/Menubar_pimpl.h
1904         * src/frontends/Menubar.C
1905         * src/frontends/Menubar.h: added method Menubar::update that calls 
1906         Menubar_pimpl::update and xforms/Menubar_pimpl::update (empty one)
1907
1908         * src/LyXView.C: calls Menubar::update to update the state
1909         of menu items
1910
1911         * src/frontends/gnome/Makefile.am: added new files
1912         
1913         * src/frontends/Makefile.am: added frontend compiler options
1914
1915 2000-08-08  Juergen Vigna  <jug@sad.it>
1916
1917         * src/lyx_cb.C (AutoSave): autosave for unnamed files enabled!
1918
1919         * src/bufferlist.C (close): 
1920         * src/bufferlist.C (QwriteAll): remove Autosave-files for Unnamed()
1921         documents if exiting without saving.
1922
1923         * src/buffer.C (save): use removeAutosaveFile()
1924
1925         * src/support/filetools.C (removeAutosaveFile): new function.
1926
1927         * src/lyx_cb.C (MenuWrite): returns a bool now.
1928         (MenuWriteAs): check if file could really be saved and revert to the
1929         old name if not.
1930         (MenuWriteAs): removing old autosavefile if existant.
1931
1932         * src/frontends/xforms/FormRef.h: puting FD_form_ref declaration
1933         before Goto toggle declaration, because of compiler warning.
1934
1935         * src/frontends/xforms/FormRef.C: forgot include of <algorithm>
1936
1937         * src/lyxfunc.C (MenuNew): small fix.
1938
1939         * src/lyxrc.C (output): added RC_NEW_ASK_FILENAME tag.
1940
1941         * src/bufferlist.C (newFile):
1942         * src/lyxfunc.C (MenuNew): use the new_ask_filename tag from lyxrc.
1943
1944         * src/lyxrc.C: added new_ask_filename tag
1945
1946 2000-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
1947
1948         * src/lyx.fd: removed code pertaining to form_ref
1949         * src/lyx.[Ch]: ditto
1950         * src/lyx_cb.C: ditto
1951         * src/lyx_gui.C: ditto
1952         * src/lyx_gui_misc.C: ditto
1953
1954         * src/BufferView_pimpl.C (restorePosition): update buffer only
1955         if file has changed
1956
1957         * src/commandtags.h (LFUN_REFTOGGLE): removed
1958         (LFUN_INSERT_REF): renamed LFUN_REF_INSERT
1959         (LFUN_REFGOTO): renamed LFUN_REF_GOTO
1960         (LFUN_REFBACK): renamed LFUN_REF_BACK
1961
1962         * src/LyXAction.C: removed code pertaining to LFUN_REFTOGGLE
1963         * src/menus.C: ditto
1964         * src/lyxfunc.C (Dispatch): ditto.
1965         InsertRef dialog is now GUI-independent.
1966
1967         * src/texrow.C: added using std::endl;
1968
1969         * src/insets/insetref.[Ch]: strip out large amounts of code.
1970         The inset is now a container and this functionality is now
1971         managed by a new FormRef dialog
1972         
1973         * src/frontends/Dialogs.h (showRef, createRef): new signals
1974
1975         * src/frontends/xforms/FormIndex.[Ch],
1976         src/frontends/xforms/FormUrl.[Ch]: workaround an xforms bug
1977         when setting dialog's min/max size
1978         * src/frontends/xforms/FormIndex.[Ch]: ditto
1979
1980         * src/frontends/xforms/FormRef.[Ch],
1981         src/frontends/xforms/forms/form_ref.fd: new xforms
1982         implementation of an InsetRef dialog
1983
1984         * src/graphics/GraphicsCache.[Ch]: small changes to compile with
1985         DEC cxx
1986
1987         * src/graphics/XPM_Renderer.C (isImageFormatOK):
1988         ios::nocreate is not part of the standard. Removed.
1989
1990 2000-08-07  Baruch Even  <baruch.even@writeme.com>
1991
1992         * src/graphics/Renderer.h:
1993         * src/graphics/Renderer.C: Added base class for rendering of different
1994         image formats into Pixmaps.
1995
1996         * src/graphics/XPM_Renderer.h:
1997         * src/graphics/XPM_Renderer.C: Taken from GraphicsCacheItem and placed
1998         in a different class.
1999
2000         * src/graphics/GraphicsCacheItem.C: factored out the rendering in order to
2001         easily add support for other formats.
2002
2003         * src/insets/figinset.C: plugged a leak of an X resource.
2004
2005 2000-08-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
2006
2007         * src/CutAndPaste.[Ch]: make all metods static. 
2008
2009         * development/Code_rules/Rules: more work, added section on
2010         Exceptions, and a References section.
2011
2012         * a lot of header files: work to make doc++ able to generate the
2013         source documentation, some workarounds of doc++ problems. Doc++ is
2014         now able to generate the documentation.
2015
2016 2000-08-07  Juergen Vigna  <jug@sad.it>
2017
2018         * src/insets/insettabular.C (recomputeTextInsets): removed function
2019
2020         * src/tabular.C (SetWidthOfMulticolCell): 
2021         (SetWidthOfCell): 
2022         (calculate_width_of_column_NMC): fixed return value so that it really
2023         only returns true if the column-width has changed (there where
2024         problems with muliticolumn-cells in this column).
2025
2026 2000-08-04  Juergen Vigna  <jug@sad.it>
2027
2028         * src/BufferView_pimpl.C (checkInsetHit): changed so that it looks
2029         also on the scrollstatus of the inset.
2030         (workAreaMotionNotify): ditto.
2031
2032         * src/texrow.C (getIdFromRow): fixed compile problem on egcs-1.1.2.
2033
2034 2000-08-01  Juergen Vigna  <jug@sad.it>
2035
2036         * src/insets/insettabular.C (resetPos): scroll tabular automatically.
2037
2038         * src/commandtags.h: 
2039         * src/LyXAction.C (init): 
2040         * src/insets/inset.C (LocalDispatch): added support for
2041         LFUN_SCROLL_INSET.
2042
2043         * src/insets/inset.C (scroll): new functions.
2044
2045         * src/insets/insettext.C (removeNewlines): new function.
2046         (SetAutoBreakRows): removes forced newlines in the text of the
2047         paragraph if autoBreakRows is set to false.
2048
2049         * src/tabular.C (Latex): generates a parbox around the cell contents
2050         if needed.
2051
2052         * src/frontends/xforms/FormTabular.C (local_update): removed
2053         the radio_useparbox button.
2054
2055         * src/tabular.C (UseParbox): new function
2056
2057 2000-08-06  Baruch Even  <baruch.even@writeme.com>
2058
2059         * src/graphics/GraphicsCache.h:
2060         * src/graphics/GraphicsCache.C:
2061         * src/graphics/GraphicsCacheItem.h:
2062         * src/graphics/GraphicsCacheItem.C: Made them to actually do something
2063         usefull.
2064
2065         * src/insets/insetgraphics.h:
2066         * src/insets/insetgraphics.C: Added the use of the GraphicsCache and the
2067         drawing of the inline image.
2068
2069         * src/buffer.C: Fixed a bug where a loaded InsetGraphics would be loaded 
2070         into the wrong position.
2071
2072         * src/lyxfunc.C: When adding an InsetGraphics the edit dialog is now
2073         launched.
2074
2075 2000-08-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2076
2077         * src/support/translator.h: move all typedefs to public section
2078
2079         * src/support/filetools.C (MakeLatexName): return string const
2080         (QuoteName): ditto
2081         (TmpFileName): ditto
2082         (FileOpenSearch): ditto
2083         (FileSearch): ditto
2084         (LibFileSearch): ditto
2085         (i18nLibFileSearch): ditto
2086         (GetEnv): ditto
2087         (GetEnvPath): ditto
2088         (CreateTmpDir): ditto
2089         (CreateBufferTmpDir): ditto
2090         (CreateLyXTmpDir): ditto
2091         (GetCWD): ditto
2092         (OnlyPath): ditto
2093         (MakeAbsPath): ditto
2094         (AddName): ditto
2095         (OnlyFilename): ditto
2096         (ExpandPath): ditto
2097         (NormalizePath): ditto
2098         (CleanupPath): ditto
2099         (GetFileContents): ditto
2100         (ReplaceEnvironmentPath): ditto
2101         (MakeRelPath): ditto
2102         (AddPath): ditto
2103         (ChangeExtension): ditto
2104         (MakeDisplayPath): ditto
2105         (do_popen): return cmdret const
2106         (findtexfile): return string const
2107
2108         * src/support/DebugStream.h: add some /// to please doc++
2109
2110         * src/frontends/DialogBase.h (endif): add some /// to please doc++
2111
2112         * src/texrow.C (same_rownumber): functor to use with find_if
2113         (getIdFromRow): rewritten to use find_if and to not update the
2114         positions. return true if row is found
2115         (increasePos): new method, use to update positions
2116
2117         * src/lyxlex_pimpl.h: make LyXLex::Pimpl noncopyable
2118
2119         * src/lyxlex_pimpl.C (verifyTable): new method
2120         (pushTable): use it
2121         (Pimpl): use it
2122         (GetString): return string const
2123         (pushTable): rewrite to use std::stack
2124         (popTable): ditto
2125         (setFile): better check
2126         (setStream): ditto
2127
2128         * src/lyxlex.h: make LyXLex noncopyable
2129
2130         * src/lyxlex.C (text): return char const * const
2131         (GetString): return string const
2132         (getLongString): return string const
2133
2134         * src/lyx_gui_misc.C (askForText): return pair<...> const
2135
2136         * src/lastfiles.[Ch] (operator): return string const
2137
2138         * src/buffer.C (parseSingleLyXformat2Token): pass string to
2139         istringstream not char const *. 
2140         move token.end() out of loop.
2141         (readFile): move initializaton of token
2142
2143         * src/BufferView2.C (insertErrors): run texrow.increasePos if
2144         getIdFromRow is successful.
2145
2146         * lib/bind/emacs.bind: don't include menus bind
2147
2148         * development/Code_rules/Rules: the beginnings of making this
2149         better and covering more of the unwritten rules that we have.
2150
2151         * development/Code_rules/Recommendations: a couple of wording
2152         changes. 
2153
2154 2000-08-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2155
2156         * src/support/strerror.c: remove C++ comment.
2157
2158 2000-08-04  Angus Leeming  <a.leeming@ic.ac.uk>
2159
2160         * src/commandtags.h: LFUN_INDEX_CREATE_LAST reverts to
2161         LFUN_INDEX_INSERT_LAST
2162
2163         * src/texrow.C (getIdFromRow): changed from const_iterator to
2164         iterator, allowing code to compile with DEC cxx
2165
2166         * src/frontends/xforms/FormCitation.[Ch]: made vector<string>
2167         stores part of the class, as suggested by Allan. Will allow
2168         multiple LyXViews.
2169         (apply): test to apply uses InsetCommandParams operator!=
2170
2171         * src/frontends/xforms/FormIndex.C: moved set_minsize into build
2172         (apply): test to apply uses InsetCommandParams operator!=
2173
2174         * src/frontends/xforms/FormToc.[Ch]: made vector<string>
2175         stores part of the class.
2176         (update): removed limits on min/max size.
2177
2178         * src/frontends/xforms/FormUrl.C: moved set_minsize into build
2179         (apply): test to apply uses InsetCommandParams operator!=
2180
2181         * src/insets/insetcommand.[Ch] InsetCommand made noncopyable
2182         (Read, Write, scanCommand, getCommand): moved functionality
2183         into InsetCommandParams.
2184         (Clone): removed
2185         (getScreenLabel): made pure virtual
2186         new InsetCommandParams operators== and !=
2187         
2188         * src/insets/insetbib.[Ch] (InsetBibKey, InsetBibtex): new
2189         c-tors based on InsetCommandParams. Removed others.
2190         * src/insets/insetinclude.[Ch]: ditto
2191         * src/insets/insetlabel.[Ch]: ditto
2192         * src/insets/insetparent.[Ch]: ditto
2193         * src/insets/insetref.[Ch]: ditto. Also moved gotoLabel into .C
2194         
2195         * src/buffer.C (parseSingleLyXformat2Token, readInset): all
2196         insets derived from InsetCommand created using similar c-tors
2197         based on InsetCommandParams
2198         * src/lyx_cb.C (MenuInsertLabel, RefSelectCB): ditto
2199         * src/menus.C (ShowRefsMenu): ditto
2200         * src/paragraph.C (Clone): ditto
2201         * src/text2.C (SetCounter): ditto
2202         * src/lyxfunc.C (Dispatch) ditto
2203         Also recreated old InsetIndex behaviour exactly. Can now
2204         index-insert at the start of a paragraph and index-insert-last
2205         without launching the pop-up.
2206
2207 2000-08-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
2208
2209         * lib/lyxrc.example: mark te pdf options as non functional.
2210
2211         * src/support/lstrings.C (strToInt): move initalization of tmpstr
2212         (isStrDbl): move tmpstr.end() out of loop.
2213         (strToDbl): move intialization of tmpstr
2214         (lowercase): return string const and move tmp.end() out of loop.
2215         (uppercase): return string const and move tmp.edn() out of loop.
2216         (prefixIs): add assertion
2217         (suffixIs): ditto
2218         (contains): ditto
2219         (contains): ditto
2220         (contains): ditto
2221         (containsOnly): ditto
2222         (containsOnly): ditto
2223         (containsOnly): ditto
2224         (countChar): make last arg char not char const
2225         (token): return string const
2226         (subst): return string const, move tmp.end() out of loop.
2227         (subst): return string const, add assertion
2228         (strip): return string const
2229         (frontStrip): return string const, add assertion
2230         (frontStrip): return string const
2231         (split): ditto
2232         (split): ditto
2233         (rsplit): ditto
2234
2235         * src/support/lstrings.C: add inclde "LAssert.h"
2236         (isStrInt): move tmpstr.end() out of loop.
2237
2238         * src/frontends/xforms/Toolbar_pimpl.C (activate): move
2239         toollist.end() out of loop.
2240         (deactivate): move toollist.end() out of loop.
2241         (update): move toollist.end() out of loop.
2242         (updateLayoutList): move tc.end() out of loop.
2243         (add): move toollist.end() out of loop.
2244
2245         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): move
2246         md.end() out of loop.
2247
2248         * src/texrow.h: make getIdFromRow const, make rowlist mutable.
2249
2250         * src/texrow.C (getIdFromRow): make const, more rowlist.end() out
2251         of loop.
2252
2253         * src/paragraph.C (Erase): move fontlist.end() out of loop.
2254         (Erase): move insetlist.end() out of loop.
2255
2256         * src/lyx_sendfax_main.C: make show_logfile static and to take a
2257         ref to const string as first arg. Move initialization of some
2258         variables, whitespace changes.
2259
2260         * src/kbmap.C (defkey): move table.end() out of loop.
2261         (kb_keymap): move table.end() out of loop.
2262         (findbinding): move table.end() out of loop.
2263
2264         * src/MenuBackend.C (hasMenu): move end() out of loop.
2265         (getMenu): move end() out of loop.
2266         (getMenu): move menulist_.end() out of loop.
2267
2268         * src/Makefile.am (#lyx_LDFLAGS): interesting option commented out.
2269
2270         * src/LaTeXFeatures.C (getIncludedFiles): move IncludedFiles.end()
2271         out of loop.
2272
2273         * src/LColor.C (getFromGUIName): move infotab.end() out of loop.
2274         (getFromLyXName): move infotab.end() out of loop.
2275
2276         * config/lyxinclude.m4 (CXXFLAGS): change for 2.96 add
2277         -fvtable-thunks -ffunction-sections -fdata-sections 
2278
2279 2000-08-03  Dekel Tsur  <dekel@math.tau.ac.il>
2280
2281         * src/frontends/xforms/RadioButtonGroup.h: Changed <forms.h> to
2282         FORMS_H_LOCATION.
2283
2284 2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>
2285
2286         * src/frontends/xforms/FormCommand.[Ch] (d-tor): removed
2287
2288         * src/frontends/xforms/FormCitation.[Ch],
2289         src/frontends/xforms/FormIndex.[Ch],
2290         src/frontends/xforms/FormToc.[Ch],
2291         src/frontends/xforms/FormUrl.[Ch] (d-tors): call free()
2292
2293 2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>
2294
2295         * src/commandtags.h: renamed, created some flags for citation
2296         and index
2297
2298         * src/lyx_gui_misc.C: stripped out old FD_index_form code
2299
2300         * src/lyxfunc.C (dispatch): use signals to insert index entry
2301         
2302         * src/frontends/Dialogs.h: new signal createIndex
2303
2304         * src/frontends/xforms/FormCommand.[Ch],
2305         src/frontends/xforms/FormCitation.[Ch],
2306         src/frontends/xforms/FormToc.[Ch],
2307         src/frontends/xforms/FormUrl.[Ch]: clean up and comment better
2308
2309         * src/insets/insetindex.[Ch]: GUI-independent
2310
2311         * src/frontends/xforms/FormIndex.[Ch],
2312         * src/frontends/xforms/forms/form_index.fd: xforms implementation
2313         of the Index dialog
2314         
2315 2000-08-01  Dekel Tsur  <dekel@math.tau.ac.il>
2316
2317         * src/mathed/math_write.C (MathDecorationInset::Write) Put \protect 
2318         before \overbrace, \underbrace, \overleftarrow, or \overrightarrow.
2319         
2320 2000-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2321
2322         * src/insets/insetref.C (Latex): rewrite so that there is now
2323         question that a initialization is requested.
2324
2325         * src/insets/insetcommand.h: reenable the hide signal
2326
2327 2000-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2328
2329         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to
2330         fix handling of shortcuts (many bugs :)
2331         (add_lastfiles): ditto.
2332
2333         * lib/ui/default.ui: fix a few shortcuts.
2334
2335 2000-07-27  Kayvan A. Sylvan  <kayvan@sylvan.com>
2336
2337         * Makefile.am: Fix ``rpmdist'' target to return the exit
2338         status of the ``rpm'' command, instead of the last command in
2339         the chain (the ``rm lyx.xpm'' command, which always returns
2340         success).
2341
2342 2000-08-02  Allan Rae  <rae@lyx.org>
2343
2344         * src/frontends/xforms/FormUrl.C (FormUrl): Initialise ALL variables.
2345         * src/frontends/xforms/FormCitation.C (FormCitation): ditto
2346         * src/frontends/xforms/FormToc.C (FormToc): ditto
2347
2348         * src/frontends/xforms/Makefile.am: A few forgotten files
2349
2350         * src/frontends/xforms/FormCommand.C (showInset): The rest of the
2351         Signals-not-copyable-problem Lars' started commenting out.
2352
2353         * src/frontends/xforms/form_toc.[hC]: new files.  TOC crashes lyx.
2354
2355 2000-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2356
2357         * src/insets/insetcommand.h: Signals is not copyable so anoter
2358         scheme for automatic hiding of forms must be used.
2359
2360         * src/frontends/xforms/FormCitation.h: don't inerit from
2361         noncopyable, FormCommand already does that.
2362         * src/frontends/xforms/FormToc.h: ditto
2363         * src/frontends/xforms/FormUrl.h: ditto
2364
2365         * src/frontends/xforms/FormCitation.C: add include <algorithm>
2366
2367 2000-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
2368
2369         * src/insets/insetcommand.h (hide): new SigC::Signal0
2370         (d-tor) new virtual destructor emits hide signal
2371
2372         * src/insets/insetcite.[Ch] (hide, d-tor, EditMessage): removed
2373         * src/insets/inseturl.[Ch]  (hide, d-tor): ditto
2374
2375         * src/insets/insettoc.[Ch]: one inset now deals with TOC, LOA,
2376         LOF and LOT. Inset is now GUI-independent
2377
2378         * src/insets/insetloa.[Ch]: redundant
2379         * src/insets/insetlof.[Ch]: ditto
2380         * src/insets/insetlot.[Ch]: ditto
2381         
2382         * src/frontends/xforms/forms/form_url.fd: tweaked!
2383         * src/frontends/xforms/forms/form_citation.fd: ditto
2384
2385         * src/frontends/xforms/FormCommand.[Ch]: new base class to those
2386         dialogs dealing with InsetCommand insets
2387
2388         * src/frontends/xforms/FormCitation.[Ch]: now makes use of
2389         FormCommand base class
2390         * src/frontends/xforms/FormUrl.[Ch]: ditto
2391
2392         * src/frontends/xforms/forms/form_toc.fd: Xforms implementation
2393         of the TOC dialog
2394         * src/frontends/xforms/FormToc.[Ch]: ditto
2395
2396         * src/frontends/Dialogs.h (showCitation, showTOC, showUrl): all
2397         passed a generic InsetCommand pointer
2398         * src/frontends/xforms/Dialogs.C (c-tor): create instance of FormToc
2399
2400         * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
2401         and modified InsetTOC class
2402         * src/buffer.C: ditto
2403
2404         * forms/lyx.fd: strip out old FD_form_toc code
2405         * src/lyx_gui_misc.C: ditto
2406         * src/lyx_gui.C: ditto
2407         * src/lyx_cb.C: ditto
2408         * src/lyx.[Ch]: ditto
2409  
2410 2000-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2411
2412         * src/support/utility.hpp: tr -d '\r'
2413
2414 2000-08-01  Juergen Vigna  <jug@sad.it>
2415
2416         * src/insets/insettabular.h: removed initFeatures() as it's not needed.
2417
2418         * src/commandtags.h: 
2419         * src/LyXAction.C (init): added LFUN_LAYOUT_TABULAR and
2420         LFUN_TABULAR_FEATURES.
2421
2422         * src/lyxfunc.C (getStatus): implemented LFUN_TABULAR_FEATURES and
2423         LFUN_LAYOUT_TABULAR.
2424
2425         * src/insets/insettabular.C (getStatus): implemented helper function.
2426
2427         * lib/ui/default.ui: implemented edit-table-menu and layout-tabular.
2428
2429 2000-07-31  Juergen Vigna  <jug@sad.it>
2430
2431         * src/text.C (draw): fixed screen update problem for text-insets.
2432
2433         * src/text2.C (SetParagrpah): call an update of the inset-owner when
2434         something changed probably this has to be added in various other
2435         functions too.
2436
2437         * src/insets/insettext.C (cy): fixed to give back the right cursor.y().
2438
2439 2000-07-31  Baruch Even <baruch.even@writeme.com>
2440
2441         * src/frontends/xforms/RadioButtonGroup.C: Changed to use home-brew
2442         templates to satisfy compaq cxx.
2443
2444
2445 2000-07-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
2446
2447         * src/support/translator.h (equal_1st_in_pair::operator()): take
2448         const ref pair_type as arg. 
2449         (equal_2nd_in_pair::operator()): ditto
2450         (Translator::~Translator): remove empty d-tor.
2451
2452         * src/graphics/GraphicsCache.C: move include config.h to top, also
2453         put initialization of GraphicsCache::singleton here.
2454         (~GraphicsCache): move here
2455         (addFile): take const ref as arg
2456         (removeFile): ditto
2457
2458         * src/lyxlex_pimpl.C (setFile): comment in old behaviour
2459
2460         * src/BufferView2.C (insertLyXFile): change te with/without header
2461         check slightly.
2462
2463 2000-07-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2464
2465         * src/frontends/xforms/FormGraphics.C (apply): add some
2466         static_cast. Not very nice, but required by compaq cxx.
2467
2468         * src/frontends/xforms/RadioButtonGroup.h: include header
2469         <utility> instead of <pair.h>
2470
2471         * src/insets/insetgraphicsParams.C: add using directive. 
2472         (readResize): change return type to void. 
2473         (readOrigin): ditto.
2474
2475         * src/lyxfunc.C (getStatus): add missing break for build-program
2476         function; add test for Literate for export functions.
2477
2478         * lib/ui/default.ui: fix Insert->TOC->TOC; comment out invalid
2479         entries in Options menu.
2480
2481 2000-07-31  Baruch Even <baruch.even@writeme.com>
2482
2483         * src/frontends/xforms/Toolbar_pimpl.C (toolbarItem::operator=):
2484         protect against auto-allocation; release icon when needed.
2485
2486 2000-07-31  Matej Cepl <CeplM@seznam.cz>
2487
2488         * lib/kbd/czech.kmap: new file. standard Czech keyboard as found
2489         on usual typewriter.
2490
2491         * lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
2492         earlier czech.kmap), useful only for programming.
2493
2494 2000-07-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2495
2496         * src/frontends/xforms/FormCitation.h: fix conditioning around
2497         #pragma. 
2498
2499 2000-07-31  Juergen Vigna  <jug@sad.it>
2500
2501         * src/frontends/xforms/FormTabular.C (local_update): changed
2502         radio_linebreaks to radio_useparbox and added radio_useminipage.
2503
2504         * src/tabular.C: made support for using minipages/parboxes.
2505
2506         * src/bufferlist.C (QwriteAll): small fix for asking for save.
2507
2508         * src/insets/insetgraphics.C (draw): just draw the inset so that the
2509         cursor is visible.
2510         (descent): so the cursor is in the middle.
2511         (width): bit smaller box.
2512
2513         * src/insets/insetgraphics.h: added display() function.
2514
2515 2000-07-31  Baruch Even <baruch.even@writeme.com>
2516
2517         * src/frontends/Dialogs.h: Added showGraphics signals.
2518
2519         * src/frontends/xforms/forms/form_graphics.fd: Added file, the
2520         xforms form definition of the graphics dialog.
2521
2522         * src/frontends/xforms/FormGraphics.h: 
2523         * src/frontends/xforms/FormGraphics.C: Added files, the
2524         GUIndependent code of InsetGraphics
2525
2526         * src/insets/insetgraphics.h: 
2527         * src/insets/insetgraphics.C: Major writing to make it work.
2528
2529         * src/insets/insetgraphicsParams.h:     
2530         * src/insets/insetgraphicsParams.C: Added files, parameter passing
2531         struct between InsetGraphics and GUI.
2532
2533         * src/LaTeXFeatures.h:
2534         * src/LaTeXFeatures.C (c-tor, require, getPackages): Enabled
2535         support for graphicx package. 
2536
2537         * src/buffer.C (parseSingleLyXformat2Token): Fixed read support
2538         for the graphics inset.
2539
2540         * src/support/translator.h: Added file, used in
2541         InsetGraphicsParams. this is a template to translate between two
2542         types.
2543
2544         * src/frontends/xforms/RadioButtonGroup.h: 
2545         * src/frontends/xforms/RadioButtonGroup.C: Added files, Comprise a
2546         way to easily control a radio button group.
2547
2548 2000-07-28  Juergen Vigna  <jug@sad.it>
2549
2550         * src/insets/insettabular.C (LocalDispatch): 
2551         (TabularFeatures): added support for lyx-functions of tabular features.
2552         (cellstart): refixed this function after someone wrongly changed it.
2553
2554         * src/commandtags.h:
2555         * src/LyXAction.C (init): added support for tabular-features
2556
2557 2000-07-28  Allan Rae  <rae@lyx.org>
2558
2559         * src/frontends/xforms/FormPreferences.C (build): Setup input return
2560         checking.  NOTE: It seems that pressing ESC to cancel the dialog also
2561         triggers the callback for input checking. As a result we sometimes get
2562         "LyX: This shouldn't happen..." printed to cerr.
2563         (input): Started using status variable since I only free() on 
2564         destruction.  Some input checking for paths and font sizes.
2565
2566         * src/frontends/xforms/FormPreferences.h: Use status to control 
2567         activation of Ok and Apply
2568
2569         * src/frontends/xforms/forms/form_preferences.fd: Setup input return
2570         callback.  Also resized to stop segfaults with 0.88.  The problem is
2571         that xforms-0.88 requires the folder to be wide enough to fit all the
2572         tabs.  If it isn't it causes all sorts of problems.
2573
2574         * src/frontends/xforms/FormCopyright.[hC]: forward declare FD_form...
2575
2576         * src/frontends/xforms/forms/README: Reflect reality.
2577
2578         * src/frontends/xforms/forms/fdfix.sh: Clean up comments
2579         * src/frontends/xforms/forms/makefile: ditto.
2580
2581         * src/commandtags.h: Get access to new Preferences dialog
2582         * src/LyXAction.C: ditto
2583         * src/lyxfunc.C: ditto
2584         * lib/ui/default.ui: ditto
2585
2586 2000-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2587
2588         * src/frontends/xforms/forms/makefile (.c.C): change call to fdfix.sh.
2589
2590         * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add a
2591         few files.
2592
2593         * src/frontends/xforms/form_url.[Ch]: added.
2594
2595 2000-07-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
2596
2597         * src/insets/insetbib.h: fixed bug in previous commit
2598
2599         * src/frontends/xforms/FormUrl.h: ditto
2600
2601         * src/frontends/xforms/FormPrint.h: ditto
2602
2603         * src/frontends/xforms/FormPreferences.h: ditto
2604
2605         * src/frontends/xforms/FormCopyright.h: ditto
2606
2607         * src/frontends/xforms/FormCitation.C: ditto
2608
2609         * src/frontends/Dialogs.h (class Dialogs): use noncopyable, remove
2610         private copyconstructor and private default contructor
2611
2612         * src/support/Makefile.am: add utility.hpp
2613
2614         * src/support/utility.hpp: new file from boost
2615
2616         * src/insets/insetbib.h: set owner in clone
2617
2618         * src/frontends/xforms/FormCitation.C: added missing include
2619         algorithm
2620
2621         * src/insets/form_url.[Ch]: removed
2622
2623 2000-07-26  Kayvan A. Sylvan <kayvan@sylvan.com>
2624
2625         * development/lyx.spec.in
2626         * Makefile.am: Fix buglet for LyX RPM generation resulting from
2627         file/directory re-organization.
2628
2629 2000-07-26  Angus Leeming  <a.leeming@ic.ac.uk>
2630
2631         * src/insets/insetcommand.[Ch]: moved the string data and
2632         associated manipulation methods into a new stand-alone class
2633         InsetCommandParams. This class has two additional methods
2634         getAsString() and setFromString() allowing the contents to be
2635         moved around as a single string.
2636         (addContents) method removed.
2637         (setContents) method no longer virtual.
2638
2639         * src/buffer.C (readInset): made use of new InsetCitation,
2640         InsetUrl constructors based on InsetCommandParams.
2641
2642         * src/commandtags.h: add LFUN_INSERT_URL
2643
2644         * src/lyxfunc.C (Dispatch): changed to accomadate GUI-
2645         independent InsetUrl and use InsetCommandParams to extract
2646         string info and create new Insets.
2647
2648         * src/frontends/Dialogs.h: add signals showUrl, createUrl.
2649
2650         * src/frontends/xforms/FormCitation.C (apply): uses 
2651         InsetCommandParams.
2652
2653         * src/frontends/xforms/form_url.C
2654         * src/frontends/xforms/form_url.h
2655         * src/frontends/xforms/FormUrl.h
2656         * src/frontends/xforms/FormUrl.C
2657         * src/frontends/xforms/forms/form_url.fd: new files
2658
2659         * src/insets/insetcite.[Ch]: removed unused constructors.
2660
2661         * src/insets/insetinclude.[Ch]: no longer store filename
2662
2663         * src/insets/inseturl.[Ch]: GUI-independent.
2664
2665 2000-07-26  Juergen Vigna  <jug@sad.it>
2666         * renamed frontend from gtk to gnome as it is that what is realized
2667         and did the necessary changes in the files.
2668         
2669 2000-07-26  Marko Vendelin <markov@ioc.ee>
2670         * autogen.sh
2671         * configure.in: cleaning up gnome configuration scripts
2672
2673 2000-07-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2674
2675         * src/frontends/xforms/Menubar_pimpl.C (set): fix the disappearing
2676         shortcuts syndrom by redrawing them explicitely (a better solution
2677         would be appreciated).
2678
2679         * src/lyxfunc.C (getStatus): fix crash when functions are disabled.
2680
2681         * src/frontends/xforms/Menubar_pimpl.C (set): fix the shortcut of
2682         the button.
2683
2684         * src/lyx_cb.C (MenuExport): change html export to do the right
2685         thing depending of the document type (instead of having
2686         html-linuxdoc and html-docbook).
2687         * src/lyxfunc.C (getStatus): update for html
2688         * lib/ui/default.ui: simplify due to the above change.
2689         * src/menus.C (ShowFileMenu): update too (in case we need it).
2690
2691         * src/MenuBackend.C (read): if a menu is defined twice, add the
2692         new entries to the exiting one.
2693
2694 2000-07-26  Juergen Vigna  <jug@sad.it>
2695
2696         * src/buffer.h: added functions setUnnamed(bool) and isUnnamed().
2697
2698         * src/lyx_cb.C (MenuWriteAs): Changed to react right for unnamed docs
2699         and return a bool if it did actual save the file.
2700         (AutoSave): don't autosave a unnamed doc.
2701
2702         * src/bufferlist.C (close) (QwriteAll) (emergencyWriteAll):
2703         check if this is an UNNAMED new file and react to it.
2704         (newFile): set buffer to unnamed and change to not mark a new
2705         buffer dirty if I didn't do anything with it.
2706
2707         * src/lyxfunc.C (MenuNew): Changed to not ask for filename on new.
2708
2709 2000-07-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
2710
2711         * src/frontends/Menubar.h: make "struct Pimpl;" public + the
2712         friend as per Angus's patch posted to lyx-devel.
2713
2714         * src/ext_l10n.h: updated
2715
2716         * src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): run
2717         gettext on the style string right before inserting them into the
2718         combox. 
2719
2720         * autogen.sh: add code to extract style strings form layout files,
2721         not good enough yet. 
2722
2723         * src/frontends/gtk/.cvsignore: add MAKEFILE
2724
2725         * src/MenuBackend.C (read): run the label strings through gettext
2726         before storing them in the containers.
2727
2728         * src/ext_l10n.h: new file 
2729
2730         * autogen.sh : generate the ext_l10n.h file here
2731
2732 2000-07-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2733
2734         * src/lyxrc.C (read): do not use LyXLex::lex() to parse set_color
2735         arguments. 
2736
2737         * lib/ui/default.ui: fix a couple of typos.
2738
2739         * config/gnome/gtk.m4: added (and added to the list of files in 
2740         autogen.sh).
2741
2742         * src/insets/insetinclude.C (unique_id): fix when we are using
2743         lyxstring instead of basic_string<>. 
2744         * src/insets/insettext.C (LocalDispatch): ditto.
2745         * src/support/filetools.C: ditto.
2746
2747         * lib/configure.m4: create the ui/ directory if necessary.
2748
2749         * src/LyXView.[Ch] (updateToolbar): new method.
2750
2751         * src/BufferView_pimpl.C (buffer): update the toolbar when
2752         opening/closing buffer.
2753
2754 2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2755
2756         * src/LyXAction.C (getActionName): enhance to return also the name
2757         and options of pseudo-actions.
2758         (init): New lyxfunc LFUN_MATH_PANEL=="math-panel".
2759
2760         * lib/ui/default.ui: use OptItem in the vc submenu (intented just
2761         as an example of what is possible). Used in File->Build too (more
2762         useful) and in the import/export menus (to mimick the complicated
2763         handling of linuxdoc and friends). Try to update all the entries.
2764
2765         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): handle
2766         optional entries.
2767
2768         * src/MenuBackend.C (read): Parse the new OptItem tag.
2769
2770         * src/MenuBackend.h: Add a new optional_ data member (used if the
2771         entry should be omitted when the lyxfunc is disabled).
2772
2773         * src/frontends/xforms/Menubar_pimpl.C (string_width): new
2774         function, used as a shortcut.
2775         (create_submenu): align correctly the shortcuts on the widest
2776         entry.
2777         
2778         * src/MenuBackend.h: MenuItem.label() only returns the label of
2779         the menu without shortcut; new method shortcut().
2780         
2781 2000-07-14  Marko Vendelin <markov@ioc.ee>
2782
2783         * src/frontends/gtk/Dialogs.C:
2784         * src/frontends/gtk/FormCopyright.C:
2785         * src/frontends/gtk/FormCopyright.h:
2786         * src/frontends/gtk/Makefile.am: added these source-files for the
2787         Gtk/Gnome support of the Copyright-Dialog.
2788
2789         * src/main.C: added Gnome::Main initialization if using
2790         Gtk/Gnome frontend-GUI.
2791
2792         * src/lyx_gui.C: added Gnome event loop if using Gtk/Gnome
2793         frontend-GUI.
2794         * config/gnome/aclocal-include.m4
2795         * config/gnome/compiler-flags.m4
2796         * config/gnome/curses.m4
2797         * config/gnome/gnome--.m4
2798         * config/gnome/gnome-bonobo-check.m4
2799         * config/gnome/gnome-common.m4
2800         * config/gnome/gnome-fileutils.m4
2801         * config/gnome/gnome-ghttp-check.m4
2802         * config/gnome/gnome-gnorba-check.m4
2803         * config/gnome/gnome-guile-checks.m4
2804         * config/gnome/gnome-libgtop-check.m4
2805         * config/gnome/gnome-objc-checks.m4
2806         * config/gnome/gnome-orbit-check.m4
2807         * config/gnome/gnome-print-check.m4
2808         * config/gnome/gnome-pthread-check.m4
2809         * config/gnome/gnome-support.m4
2810         * config/gnome/gnome-undelfs.m4
2811         * config/gnome/gnome-vfs.m4
2812         * config/gnome/gnome-x-checks.m4
2813         * config/gnome/gnome-xml-check.m4
2814         * config/gnome/gnome.m4
2815         * config/gnome/gperf-check.m4
2816         * config/gnome/gtk--.m4
2817         * config/gnome/linger.m4
2818         * config/gnome/need-declaration.m4: added configuration scripts
2819         for Gtk/Gnome frontend-GUI
2820
2821         * configure.in: added support for the --with-frontend=gtk option
2822
2823         * autogen.sh: added config/gnome/* to list of config-files
2824
2825         * acconfig.h: added define for GTKGUI-support
2826
2827         * config/lyxinclude.m4: added --with-frontend[=value] option value
2828         for Gtk/Gnome frontend-GUI support.
2829
2830 2000-07-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
2831
2832         * src/support/lstrings.C (prefixIs): rewrite so that gcc bastring
2833         can be used.
2834         (suffixIs): ditto
2835
2836         * src/paragraph.C (GetChar): remove non-const version
2837
2838         * src/lyxlex_pimpl.C (compare_tags): rewritten to suit cvs gcc 2.96
2839         (search_kw): use it.
2840
2841         * src/lyx_main.C (init): if "preferences" exist, read that instead
2842         of "lyxrc".
2843         (ReadRcFile): return bool if the file could be read ok.
2844         (ReadUIFile): add a check to see if lex file is set ok.
2845
2846         * src/lyx_cb.C (InsertAsciiFile): rewrite a bit so that gcc
2847         bastring can be used instead of lyxstring (still uses the old code
2848         if std::string is good enough or if lyxstring is used.)
2849
2850         * src/encoding.C: make the arrays static, move ininle functions
2851         here
2852         * src/encoding.h: from here.
2853
2854         * src/buffer.C: have last_isnet_read as a file scope variable for now.
2855         (parseSingleLyXformat2Token): move inset parsing to separate method
2856         (readInset): new private method
2857
2858         * src/Variables.h: remove virtual from get().
2859
2860         * src/ToolbarDefaults.C: include lyxparagraph.h temporary to get
2861         access to NEW_INSETS and NEW_TABULAR
2862
2863         * src/MenuBackend.h: remove superfluous forward declaration of
2864         MenuItem. Add documentations tags "///", remove empty MenuItem
2865         destructor, remove private default contructor.
2866
2867         * src/MenuBackend.C (MenuItem): remove unneeded copy contructor 
2868         (add): return *this
2869         (read): more string mlabel and mname to where they are used
2870         (read): remove unused variables mlabel and mname
2871         (defaults): unconditional clear, make menusetup take advantage of
2872         add returning Menu &.
2873
2874         * src/LyXView.h: define NEW_MENUBAR as default
2875
2876         * src/LyXAction.C: include lyxparagraph.h temporary to get access
2877         to NEW_INSETS and NEW_TABULAR.
2878         (init): commetn out some funcs that is obsolete when NEW_INSETS is
2879         defined. Change some of the "xxxx-inset-insert" functions names to
2880         "xxxx-insert".
2881
2882         * several files: more enahncements to NEW_INSETS and the resulting
2883         LyXParagraph code.
2884         
2885         * lib/lyxrc.example (\date_insert_format): move to misc section 
2886
2887         * config/lyxinclude.m4 (LYX_CXX_STL_STRING): allow to use the gcc
2888         bastring and use AC_CACHE_CHECK. 
2889         (LYX_CXX_GOOD_STD_STRING): new check. Checks if the std::string of
2890         the system have the newest methods. uses AC_CACHE_CHECK 
2891         (LYX_CXX_MUTABLE): use AC_CACHE_CHECK 
2892         (LYX_CXX_PARTIAL): use AC_CACHE_CHECK 
2893         (LYX_CXX_NAMESPACES): use AC_CACHE_CHECK
2894
2895         * configure.in: add LYX_CXX_GOOD_STD_STRING
2896
2897         * acinclude.m4: recreated
2898
2899 2000-07-24  Amir Karger
2900
2901         * README: add Hebrew, Arabic kmaps
2902         * ANNOUNCE: typo
2903
2904 2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2905
2906         * src/buffer.C (writeFileAscii): Define actcell as an int instead
2907         of int*.
2908
2909 2000-07-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2910
2911         * Lot of files: add pragma interface/implementation.
2912         
2913         * src/lyx_main.C (ReadUFile): new method. Read the UI file.
2914
2915         * lib/ui/default.ui: new file (ans new directory). Contains the
2916         default menu and toolbar.
2917
2918         * src/lyxrc.[Ch]: new variable ui_file. Move toolbardefaults to
2919         global space. Toolbars are now read (as menus) in ui files. 
2920
2921         * src/debug.C: change Debug::TOOLBAR to Debug::GUI.
2922
2923         * src/lyxfunc.C (getStatus): do not exit immediately if a command
2924         is disabled because the document is read-only. We want to have the
2925         toggle state of the function anyway.
2926         (getStatus): add code for LFUN_VC* functions (mimicking what is
2927         done in old-style menus)
2928         
2929         * src/lyxfunc.C (Dispatch): news functions LFUN_SWITCHBUFFER,
2930         LFUN_HELP_CREDITS, LFUN_HELP_VERSION, LFUN_HELP_OPEN.
2931
2932         * src/LyXView.[Ch]: add code for the NEW_MENUBAR define.
2933         * src/BufferView_pimpl.C: ditto. 
2934         * src/lyxfunc.C: ditto.         
2935
2936         * src/LyXView.h: add a define NEW_MENUBAR (commented out by
2937         default). This replaces old-style menus by new ones.
2938         
2939         * src/MenuBackend.[Ch]: new classes MenuBackend, Menu and
2940         MenuItem. Contain the data structure of a menu.
2941
2942         * src/insets/insettext.C: use LyXView::setLayout instead of
2943         accessing directly the toolbar combox.
2944         * src/lyxfunc.C (Dispatch): ditto.
2945
2946         * src/LyXView.C (setLayout): new method, which just calls
2947         Toolbar::setLayout(). 
2948         (updateLayoutChoice): move part of this method in Toolbar.
2949
2950         * src/toolbar.[Ch]: removed.
2951         
2952         * src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. The xforms
2953         implementation the toolbar. 
2954
2955         * src/frontend/Toolbar.[Ch]: new files. The abstract interface of
2956         the toolbar. It might make sense to merge it with ToolbarDefaults
2957         later. 
2958         (setLayout): new function. 
2959         (updateLayoutList): ditto.
2960         (openLayoutList): ditto.
2961         
2962         * src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. Contain the
2963         xforms implementation of the toolbar.
2964         (get_toolbar_func): comment out, since I do not
2965         know what it is good for. 
2966         
2967         * src/ToolbarDefaults.h: Add the ItemType enum.
2968
2969         * src/support/StrPool.[Ch]: new class. Acts as a reference holder
2970         for a list of allocated C strings. Used in Menubar xforms
2971         implementation to avoid memory leaks.
2972
2973         * src/support/lstrings.[Ch] (uppercase): new version taking and
2974         returning a char.
2975         (lowercase): ditto.
2976
2977         * lib/bind/xemacs.bind: remove bogus binding for lyx-quit.
2978         * lib/bind/emacs.bind: ditto.
2979
2980 2000-07-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
2981
2982         * src/toolbar.h: include commandtags.h instead of lyxfunc.h,
2983         forward decl of LyXView.
2984
2985         * src/toolbar.C (toolbarItem): moved from toolbar.h
2986         (toolbarItem::clean): ditto
2987         (toolbarItem::~toolbarItem): ditto
2988         (toolbarItem::operator): ditto
2989
2990         * src/text2.C (SetLayout): commetn out USE_OLD_SETUP_LAYOUT stuff
2991
2992         * src/paragraph.h: control the NEW_TABULAR define from here
2993
2994         * src/buffer.C: remove define USE_PARSE_FUNCTION, change
2995         USE_TABULAR_INSETS to NEW_TABULAR
2996
2997         * src/ToolbarDefaults.C: add include "lyxlex.h"
2998
2999         * files using the old table/tabular: use NEW_TABULAR to control
3000         compilation of old tabular stuff. 
3001
3002         * src/paragraph.C (SimpleTeXOnePar): NEW_INSETS: move some #ifdef
3003         to correct place.
3004
3005         * src/buffer.C (parseSingleLyXformat2Token): NEW_INSETS: fix the
3006         planemet in reading of old style floats, fix the \end_deeper
3007         problem when reading old style floats. 
3008
3009 2000-07-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
3010
3011         * src/paragraph.C (writeFile): NEW_INSETS: move a misplaced #endif
3012
3013 2000-07-20  Serge Winitzki <winitzki@erebus.phys.cwru.edu>
3014
3015         * lib/bind/sciword.bind: updated.
3016
3017 2000-07-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
3018
3019         * src/paragraph.C (writeFile): NEW_INSETS: possible fix to the
3020         layout write problem
3021
3022 2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3023
3024         * src/Makefile.am (INCLUDES): remove image directory from include
3025         path. 
3026
3027         * src/bullet_forms.C (create_form_form_bullet): small cleanup.
3028         * src/bullet_forms_cb.C (BulletPanelCB): ditto.
3029
3030         * src/LyXView.C (create_form_form_main): read the application icon
3031         from the disk.
3032
3033         * lib/images/*.xpm: change the icons to use transparent color for
3034         background. 
3035
3036         * src/toolbar.C (update): change the color of the button when it
3037         is toggled on.
3038
3039 2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3040
3041         * src/lyxfunc.C (Dispatch): use LyXView::ShowState instead of
3042         setting explicitely the minibuffer.
3043         * src/BufferView_pimpl.C (workAreaButtonRelease): ditto.
3044
3045         * src/LyXView.C (showState): new function. Shows font information
3046         in minibuffer and update toolbar state.
3047         (LyXView): call Toolbar::update after creating the
3048         view. 
3049
3050         * src/toolbar.C: change toollist to be a vector instead of a
3051         linked list.
3052         (BubbleTimerCB): get help string directly from the callback
3053         argument of the corresponding icon (which is the action) 
3054         (set): remove unnecessary ugliness.
3055         (update): new function. update the icons (depressed, disabled)
3056         depending of the status of the corresponding action.
3057         
3058         * src/toolbar.h: remove help in toolbarItem
3059
3060 2000-07-19  Dekel Tsur  <dekel@math.tau.ac.il>
3061
3062         * src/Painter.C (text): Added code for using symbol glyphs from
3063         iso10646 fonts. Currently diabled.
3064
3065         * src/encoding.C: Added new encodings: iso8859_3,iso8859_9 and
3066         symbol_encoding.
3067
3068         * src/language.C (initL): Fixed encodings for esperanto,lsorbian,
3069         magyar,turkish and usorbian.
3070
3071         * src/paragraph.C (isMultiLingual): Made more efficient.
3072
3073         * src/mathed/formula.C (LocalDispatch): Fixed behavior of greek
3074         keyboard.
3075
3076         * src/mathed/math_symbols.C (math_insert_greek): Changed to use
3077         LocalDispatch(..,LFUN_SELFINSERT,..) instead of math_insert_symbol().
3078         Also changed the prototype to "bool math_insert_greek(char)".
3079    
3080 2000-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
3081
3082         * lots of files: apply the NEW_INSETS on all code that will not be
3083         needed when we move to use the new insets. Enable the define in
3084         lyxparagrah.h to try it.
3085         
3086         * src/insets/insettabular.C (cellstart): change to be a static
3087         inline function
3088         (InsetTabular): initialize buffer in the initializer list.
3089
3090 2000-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
3091
3092         * src/frontends/xforms/FormPrint.[Ch] : moved #include
3093         form_print.h out of the header file. Replaced with forward
3094         declarations of the relevant struct.
3095
3096         * src/frontends/xforms/FormPreferences.[Ch] : ditto for
3097         form_preferences.h.
3098
3099         * src/commandtags.h: do not include "debug.h" which does not
3100         belong there. #include it in some other places because of this
3101         change. 
3102
3103 2000-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3104
3105         * src/insets/insetcaption.C: add a couple "using" directives.
3106
3107         * src/toolbar.C (add): get the help text directly from lyxaction.
3108         (getPixmap): nuked.
3109         (setPixmap): new function. Loads from disk and sets a pixmap on a
3110         botton; the name of the pixmap file is derived from the command
3111         name. 
3112
3113         * src/toolbar.h: remove members isBitmap and pixmap from
3114         toobarItem struct. 
3115
3116         * lib/images/*.xbm *_bw.xpm: remove (not used any more).
3117         * lib/images/: move many files from images/banner.xpm.
3118
3119         * src/lyx_gui.C (create_forms): read banner pixmap from file.
3120
3121         * src/lyx_gui.C (create_forms): remove TWO_COLORS_ICONS support.
3122         * src/toolbar.C: ditto.
3123         * configure.in: ditto.
3124         * INSTALL: document. 
3125
3126         * src/spellchecker.C (ShowSpellChecker): use CancelCloseCB when
3127         the spellchecker popup is closed from the WM.
3128
3129 2000-07-19  Juergen Vigna  <jug@sad.it>
3130
3131         * src/insets/insetfloat.C (Write): small fix because we use the
3132         insetname for the type now!
3133
3134 2000-07-18  Angus Leeming  <a.leeming@ic.ac.uk>
3135
3136         * src/frontends/xforms/forms/form_citation.fd: object sizes are
3137         now set here
3138
3139         * src/frontends/Dialogs.h: removed hideCitation signal
3140
3141         * src/insets/insetcite.h: added hide signal
3142
3143         * src/insets/insetcite.C (~InsetCitation): emits new signal
3144         (getScreenLabel): "intelligent" label should now fit on the screen!
3145
3146         * src/frontends/xforms/FormCitation.[Ch] (hideInset): removed
3147
3148         * src/frontends/xforms/FormCitation.C (showInset): connects
3149         hide() to the inset's hide signal
3150         (show): modified to use fl_set_object_position rather than
3151         fl_set_object_geometry wherever possible
3152         
3153 2000-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
3154
3155         * src/insets/lyxinset.h: add caption code
3156
3157         * src/insets/insetfloat.C (type): new method
3158
3159         * src/insets/insetcaption.C (Write): new method
3160         (Read): new method
3161         (LyxCode): new method
3162
3163         * src/text2.C (SetCounter): revert Jürgens code, but use his idea
3164         to get it right together with using the FloatList.
3165
3166         * src/commandtags.h: add LFUN_INSET_CAPTION
3167         * src/lyxfunc.C (Dispatch): handle it
3168
3169         * src/buffer.C (parseSingleLyXformat2Token): add code to read a
3170         caption inset.
3171
3172         * src/Variables.[Ch]: make expand take a const reference, remove
3173         the destructor, some whitespace changes.
3174
3175         * src/LyXAction.C (init): add caption-inset-insert
3176
3177         * src/FloatList.C (FloatList): update the default floats a bit.
3178
3179 2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3180
3181         * src/Variables.[Ch]: new files. Intended to be used for language
3182         specific strings (like \chaptername) and filename substitution in
3183         commands. 
3184
3185         * src/trans.C (AddDeadkey): replace keyword "all" with "native" in
3186         kmap files.
3187         * lib/kbd/american.kmap: update
3188
3189         * src/trans_mgr.C (normalkey): do not test allowAccent anymore.
3190
3191         * src/bufferparams.[Ch]: remove member allowAccents.
3192
3193         * src/menus.C (ShowOptionsMenu): remove the LaTeX entry.
3194
3195         * src/LaTeXLog.C: use the log_form.h header.
3196         * src/lyx_gui.C: ditto.
3197         * src/lyx_gui_misc.C: ditto.
3198         * src/lyxvc.h: ditto.
3199
3200         * forms/log_form.fd: new file, created from latexoptions.fd. I
3201         kept the log popup and nuked the options form.
3202
3203         * src/{la,}texoptions.[Ch]: removed.
3204         * src/lyx_cb.C (LaTeXOptions): ditto
3205
3206         * src/lyx_gui.C (create_forms): do not handle the
3207         fd_latex_options form. 
3208
3209 2000-07-18  Juergen Vigna  <jug@sad.it>
3210
3211         * src/insets/insetfloat.C (InsetFloat): use setInsetName to set the
3212         name of the inset so that it can be requested outside (text2.C).
3213
3214         * src/text2.C (SetCounter): modified so it sees insetfloat for caption
3215         labels.
3216
3217 2000-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3218
3219         * src/mathed/formula.h (ConvertFont): constify
3220
3221         * src/mathed/formula.C (Read): add warning if \end_inset is not
3222         found on expected place.
3223
3224         * src/insets/lyxinset.h (ConvertFont): consify
3225
3226         * src/insets/insetquotes.C (ConvertFont): constify
3227         * src/insets/insetquotes.h: ditto
3228
3229         * src/insets/insetinfo.h: add labelfont
3230
3231         * src/insets/insetinfo.C (InsetInfo): set the labelfont
3232         (ascent): use labelfont
3233         (descent): likewise
3234         (width): likewise
3235         (draw): likewise
3236         (Write): make .lyx file a bit nicer
3237
3238         * src/insets/insetfloat.C (Write): simplify somewhat...
3239         (Read): add warning if arg is not found
3240
3241         * src/insets/insetcollapsable.C: add using std::max
3242         (Read): move string token and add warning in arg is not found
3243         (draw): use std::max to get the right ty
3244         (getMaxWidth): simplify by using std::max
3245
3246         * src/insets/insetsection.h: new file
3247         * src/insets/insetsection.C: new file
3248         * src/insets/insetcaption.h: new file
3249         * src/insets/insetcaption.C: new file
3250
3251         * src/insets/inset.C (ConvertFont): constify signature
3252
3253         * src/insets/Makefile.am (libinsets_la_SOURCES): add
3254         insetcaption.[Ch] and insetsection.[Ch]
3255
3256         * src/layout.h: remove LABEL_FIRST_COUNTER from enum, change all
3257         uses to use LABEL_COUNTER_CHAPTER instead.
3258         * src/text2.C (SetCounter): here
3259
3260         * src/counters.h: new file
3261         * src/counters.C: new file
3262         * src/Sectioning.h: new file
3263         * src/Sectioning.C: new file
3264
3265         * src/Makefile.am (lyx_SOURCES): add Sectioning.[hC] and counters.[Ch]
3266
3267 2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3268
3269         * lib/Makefile.am (listerrors): build-listerrors is in ${srcdir},
3270         not always in "."!
3271
3272         * src/paragraph.[Ch] (SimpleTeXSpecialChars): fix the definition of
3273         the last argument.
3274
3275 2000-07-17  Juergen Vigna  <jug@sad.it>
3276
3277         * src/tabular.C (Validate): check if array-package is needed.
3278         (SetVAlignment): added support for vertical alignment.
3279         (SetLTFoot): better support for longtable header/footers
3280         (Latex): modified to support added features.
3281
3282         * src/LaTeXFeatures.[Ch]: added array-package.
3283
3284 2000-07-17  R. Lahaye  <lahaye@postech.ac.kr>
3285
3286         * src/lyx_gui.C (LyXGUI): make sure that the height is large
3287         enough. 
3288
3289 2000-07-17  Kayvan Sylvan <ksylvan@synopsys.com>
3290
3291         * configure.in: do not forget to put a space after -isystem.
3292
3293 2000-07-10  Dekel Tsur  <dekel@math.tau.ac.il>
3294
3295         * lib/kbd/arabic.kmap: a few fixes.
3296
3297 2000-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3298
3299         * some whitespace chagnes to a number of files.
3300         
3301         * src/support/DebugStream.h: change to make it easier for
3302         doc++ to parse correctly.
3303         * src/support/lyxstring.h: ditto
3304
3305         * src/mathed/math_utils.C (compara): change to have only one
3306         operator()
3307         (MathedLookupBOP): change because of the above.
3308
3309         * src/mathed/math_delim.C (math_deco_compare): change to have only
3310         one operator()
3311         (search_deco): change becasue of the above.
3312
3313         * src/insets/insettabular.C (DrawCellSelection): use std::swap
3314         instead of manually coded one.
3315
3316         * src/insets/insetquotes.C (Read): read the \end_inset too
3317
3318         * src/insets/insetlatex.h: remove file
3319         * src/insets/insetlatex.C: remove file
3320         
3321         * src/insets/insetindex.[Ch] (InsetPrintIndex): remove default
3322         constructor 
3323         (InsetPrintIndex): remove destructor
3324
3325         * src/insets/insetinclude.h: remove default constructor
3326
3327         * src/insets/insetfloat.C: work to make it work better
3328
3329         * src/insets/inseterror.[Ch] (InsetError): remove default constructor
3330
3331         * src/insets/insetcite.h (InsetCitation): remove default constructor
3332
3333         * src/insets/insetbutton.[Ch] (InsetButton): remove default constructor
3334
3335         * src/text.C (GetColumnNearX): comment out some currently unused code.
3336
3337         * src/paragraph.C (writeFile): move some initializations closer to
3338         first use.
3339         (CutIntoMinibuffer): small change to use new matchIT operator
3340         (Erase): ditto
3341         (Erase): ditto
3342         (InsertChar): ditto
3343         (InsertInset): ditto
3344         (GetInset): ditto
3345         (GetInset): ditto
3346         (InsetIterator): ditto
3347         (Erase): small change to use new matchFT operator
3348         (InsertChar): ditto
3349         (GetFontSettings): ditto
3350         (HighestFontInRange): ditto
3351         (SetFont): ditto
3352
3353         * src/lyxparagraph.h: some chars changed to value_type
3354         (matchIT): because of some stronger checking (perhaps too strong)
3355         in SGI STL, the two operator() unified to one.
3356         (matchFT): ditto
3357
3358         * src/lyxfunc.C (Dispatch): code to insert InsetFloat improved
3359
3360         * src/buffer.C (parseSingleLyXformat2Token): static string to hold
3361         the last inset read added
3362         (parseSingleLyXformat2Token): some more (future) compability code added
3363         (parseSingleLyXformat2Token): warning about solitary \end_inset added
3364         (parseSingleLyXformat2Token): set last_inset_read
3365         (parseSingleLyXformat2Token): more code to read new "Float" correctly
3366         (parseSingleLyXformat2Token): don't double intializw string next_token
3367
3368         * src/TextCache.C (text_fits::operator()): add const's to the signature
3369         (has_buffer::operator()): ditto
3370
3371         * src/Floating.h: add some comments on the class
3372
3373         * src/FloatList.[Ch] (typeExist): new method
3374         (getType): ditto
3375
3376         * src/BackStack.h: added default constructor, wanted by Gcc.
3377
3378 2000-07-14  Juergen Vigna  <jug@sad.it>
3379
3380         * src/insets/insettext.C (clear): fixed for multiple paragraps/layouts.
3381
3382         * src/frontends/xforms/forms/form_tabular.fd: updated a bit.
3383
3384         * src/insets/insettabular.C (resizeLyXText): need this to be able to
3385         do a redraw when the window is resized!
3386         (LocalDispatch): small fix so LFUN_TAB works only with locked_inset.
3387
3388         * src/insets/insettext.C (resizeLyXText): added function to correctly
3389         being able to resize the LyXWindow.
3390
3391         * src/table.C (Read): fixed read on DOS-lyx-file (lf-lr)
3392
3393 2000-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
3394
3395         * src/frontends/Dialogs.h (hideCitation) : new signal to prevent
3396         crashes when closing dialog to a deleted inset.
3397
3398         * src/insets/insetcite.[Ch] (Edit) : the return of this former
3399         method! Now similar to other insets.
3400
3401 2000-07-13  Juergen Vigna  <jug@sad.it>
3402
3403         * src/text.C (GetVisibleRow): fixed clearing of rows with insets!
3404
3405         * lib/examples/Literate.lyx: small patch!
3406
3407         * src/insets/insetbib.C (Read): added this function because of wrong
3408         Write (without [begin|end]_inset).
3409
3410 2000-07-11  Juergen Vigna  <jug@sad.it>
3411
3412         * src/BufferView2.C (open_new_inset): changed to a bool returnvalue
3413         as the insertInset could not be good!
3414
3415         * src/screen.C (ToggleSelection): fixed toggle selection bug as
3416         the bool param should not be last.
3417
3418 2000-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3419
3420         * sigc++/configure.in: fix bug in threading-related code (Yes, I
3421         did submit that to Karl).
3422
3423         * configure.in: use -isystem instead of -I for X headers. This
3424         fixes a problem on solaris with a recent gcc; 
3425         put the front-end code after the X detection code;
3426         configure in sigc++ before lib/
3427
3428         * src/lyx_main.C (commandLineHelp): remove -display from command
3429         line help.
3430
3431 2000-07-09  Kayvan A. Sylvan  <kayvan@sylvan.com>
3432
3433         * lib/Makefile.am: added lib/build-listerrors to DIST tarfile.
3434         Also put in Makefile rules for building the ``listerrors''
3435         program for parsing errors from literate programs written in LyX.
3436
3437         * lib/build-listerrors: Added small shell script as part of compile
3438         process. This builds a working ``listerrors'' binary if noweb is
3439         installed and either 1) the VNC X server is installed on the machine,
3440         or 2) the user is compiling from within a GUI. The existence of a GUI
3441         is necessary to use the ``lyx --export'' feature for now. This
3442         hack can be removed once ``lyx --export'' no longer requires a GUI to
3443         function.
3444
3445 2000-07-09  Bernard Michael Hurley <bernardh@westherts.ac.uk>
3446
3447         * lib/examples/Literate.lyx, src/Literate.[Ch]: Error messages are
3448         now passed back correctly from gcc and placed "under" error
3449         buttons in a Literate LyX source.
3450
3451 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
3452
3453         * src/text.C (GetColumnNearX): Better behavior when a RTL
3454         paragraph is ended by LTR text.
3455
3456         * src/text2.C (SetCurrentFont,CursorLeftIntern,CursorRightIntern):
3457         Ditto
3458
3459 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
3460
3461         * src/WorkArea.C  (request_clipboard_cb): Set clipboard_read to
3462         true when clipboard is empty.
3463
3464 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
3465
3466         * text.C (Backspace): Prevent rebreaking of a row if it is the last
3467         row of the paragraph.
3468         (SetHeightOfRow): Call to PrepareToPrint with 7th argument = false 
3469         to prevent calculation of bidi tables
3470
3471 2000-07-07  Juergen Vigna  <jug@sad.it>
3472
3473         * src/screen.C (ToggleSelection): added y_offset and x_offset
3474         parameters.
3475
3476         * src/insets/insettext.C (InsetMotionNotify): fixed selection with
3477         mouse.
3478
3479         * src/text.C (GetVisibleRow): fixed selection drawing in insets.
3480
3481         * src/insets/insettext.C: fixed Layout-Display!
3482
3483 2000-07-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3484
3485         * configure.in: add check for strings.h header.
3486
3487         * src/spellchecker.C: include <strings.h> in order to have a
3488         definition for bzero().
3489
3490 2000-07-07  Juergen Vigna  <jug@sad.it>
3491
3492         * src/insets/insettext.C (draw): set the status of the bv->text to
3493         CHANGED_IN_DRAW if top_x changed and so a reinit is necessary.
3494
3495         * src/screen.C (DrawOneRow): 
3496         (DrawFromTo): redraw the actual row if something has changed in it
3497         while drawing.
3498
3499         * src/text.C (draw): call an update of the toplevel-inset if something
3500         has changed inside while drawing.
3501
3502         * src/lyxtext.h: added CHANGED_IN_DRAW status.
3503
3504 2000-07-06  Angus Leeming  <a.leeming@ic.ac.uk>
3505
3506         * src/insets/insetbib.[Ch] (callback) new method, moving callback
3507         processing inside class.
3508
3509         * src/insets/insetindex.[Ch] (callback) new method, moving callback
3510         processing inside class.
3511
3512         * src/insets/insetindex.h new struct Holder, consistent with other
3513         insets.
3514
3515         * src/insets/insetcite.[Ch] and elsewhere: stripped out xforms
3516         citation dialog from main code and placed it in src/frontends/xforms.
3517         Dialog launched through signals instead of callbacks
3518         
3519 2000-07-06  R. Lahaye  <lahaye@postech.ac.kr>
3520
3521         * lyx.man: update the options description.
3522
3523 2000-07-05  R. Lahaye  <lahaye@postech.ac.kr>
3524
3525         * src/lyx_gui.C src/lyx_main.C: improve the -geometry support,
3526         handle neg values, set min width to 590, add doc about -display  
3527
3528 2000-07-05  Juergen Vigna  <jug@sad.it>
3529
3530         * src/insets/lyxinset.h: changed Painter & in ascent(), descent()
3531         calls to BufferView *.
3532
3533         * src/insets/insettext.C (checkAndActivateInset): small fix non
3534         HIGHLY_EDITABLE insets should not be entered by cursor-move-over!
3535
3536         * src/insets/insetcommand.C (Read): Fixed as insets should read till
3537         their \end_inset token!
3538
3539 2000-07-04  edscott  <edscott@imp.mx>
3540
3541         * src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
3542         lib/lyxrc.example: added option \wheel_jump
3543
3544 2000-07-04   R. Lahaye  <lahaye@postech.ac.kr>
3545
3546         * src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
3547         remove support for -width,-height,-xpos and -ypos.
3548
3549 2000-07-01  Dekel Tsur  <dekel@math.tau.ac.il>
3550
3551         * src/encoding.[Ch]: New files.
3552
3553         * src/painter.C (text(int,int,XChar2b const *,...)): New method.
3554         (text): Call to the underline() method only when needed.
3555
3556         * src/font.C (XTextWidth16,width(XChar2b const *,...)): New methods.
3557
3558         * src/buffer.C (makeLaTeXFile): Compute automatically the input
3559           encoding(s) for the document.
3560
3561         * src/bufferparams.C (BufferParams): Changed default value of
3562         inputenc to "auto".
3563
3564         * src/language.C (newLang): Removed.
3565         (items[]): Added encoding information for all defined languages.
3566
3567         * src/lyx_gui.C (create_forms): Added "auto" option to the input
3568         encoding choice button.
3569
3570         * src/lyxrc.h (font_norm_type): New member variable.
3571         (set_font_norm_type): New method.
3572
3573         * src/paragraph.C (TeXOnePar): Put "\inputencoding{}" between
3574         paragraphs with different encodings.  
3575
3576         * src/text.C (is_arabic, is_nikud, TransformChar): Moved to encoding.C
3577         (TransformChar): Changed to work correctly with Arabic points.
3578         (draw): Added support for drawing Arabic points.
3579         (draw): Removed code for drawing underbars (this is done by
3580         the Painter!)
3581
3582         * src/support/textutils.h (IsPrintableNonspace): New function.
3583
3584         * src/BufferView_pimpl.h: Added "using SigC::Object".
3585         * src/LyXView.h: ditto.
3586
3587         * src/insets/insetinclude.h (include_label): Changed to mutable.
3588
3589 2000-07-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3590
3591         * src/mathed/math_iter.h: remove empty destructor
3592
3593         * src/mathed/math_cursor.h: remove empty destructor
3594
3595         * src/insets/lyxinset.h: add THEOREM_CODE
3596
3597         * src/insets/insettheorem.[Ch]: new files 
3598
3599         * src/insets/insetminipage.C: (InsertInset): remove
3600
3601         * src/insets/insetmarginal.C: inherit from InsetFootLike instead
3602         of InsetCollapsable
3603         (InsertInset): remove
3604
3605         * src/insets/insetlist.C: (InsertList): remove
3606
3607         * src/insets/insetfootlike.[Ch]: new files 
3608
3609         * src/insets/insetfoot.C: inherit from InsetFootLike instead of
3610         InsetCollapsable.
3611         (Write): remove
3612         (InsertInset): ditto
3613
3614         * src/insets/insetert.C: remove include Painter.h, reindent
3615         (InsertInset): move to header
3616
3617         * src/insets/insetcollapsable.h: remove explicit from default
3618         contructor, remove empty destructor, add InsertInset
3619
3620         * src/insets/insetcollapsable.C (InsertInset): new func
3621
3622         * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
3623
3624         * src/vspace.h: add explicit to constructor
3625
3626         * src/paragraph.C (SimpleTeXSpecialChars): use \, instead of
3627         \textcompwordmark, please test this.
3628
3629         * src/lyxrc.C: set ascii_linelen to 65 by default
3630
3631         * src/lyxfunc.C (Dispatch): handle LFUN_INSET_THEOREM
3632
3633         * src/commandtags.h: add LFUN_INSET_THEOREM
3634
3635         * src/buffer.C (parseSingleLyXformat2Token): handle insettheorem
3636         (makeLinuxDocFile): remove _some_ of the nice logic
3637         (makeDocBookFile): ditto
3638
3639         * src/Painter.[Ch]: (~Painter): removed
3640
3641         * src/LyXAction.C (init): entry for insettheorem added
3642
3643         * src/LaTeX.C: get rid of the all_files array, and the TEX_FILES
3644         enum
3645         (deplog): code to detect files generated by LaTeX, needs testing
3646         (deptex): removed
3647
3648 2000-07-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
3649
3650         * src/FloatList.[Ch]: moved inlines out of line to FloatList.C
3651
3652 2000-07-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3653
3654         * src/LaTeX.C (deplog): Add a check for files that are going to be
3655         created by the first latex run, part of the project to remove the
3656         all_files array.
3657
3658         * src/LaTeX.[Ch]: Patch from Baruch to add hebrew table of
3659         contents to the extension list.
3660
3661 2000-07-04  Juergen Vigna  <jug@sad.it>
3662
3663         * src/text.C (NextBreakPoint): added support for needFullRow()
3664
3665         * src/insets/lyxinset.h: added needFullRow()
3666
3667         * src/insets/insetcollapsable.C: redone now this uses a text-inset
3668         and isn't one.
3669
3670         * src/insets/insettext.C: lots of changes for update!
3671
3672 2000-07-03 Angus Leeming <a.leeming@ic.ac.uk>
3673
3674         * src/LaTeXFeatures.h: add a missing std:: qualifier.
3675
3676 2000-07-02 José Abílio Matos <jamatos@fep.up.pt>
3677
3678         *  src/insets/insetinclude.C (InsetInclude): fixed
3679         initialization of include_label.
3680         (unique_id): now returns a string.
3681
3682 2000-07-01 José Abílio Matos <jamatos@fep.up.pt>
3683
3684         * src/LaTeXFeatures.h: new member IncludedFiles, for
3685         a map of key, included file name.
3686
3687         * src/LaTeXFeatures.C (getIncludedFiles): returns a string
3688         with the included files for inclusion in SGML preamble,
3689         i. e., linuxdoc and docbook.
3690
3691         * src/buffer.h:
3692         * src/buffer.C (makeLinuxDocFile): takes two new arguments,
3693         nice (is the generated linuxdoc code to be exported?), that
3694         allows to remove column, and only_body that will be true for
3695         slave documents. Insets are allowed inside SGML font type.
3696         New handling of the SGML preamble for included files.
3697         (makeDocBookFile): the same for docbook.
3698
3699         * src/insets/insetinclude.h:
3700         * src/insets/insetinclude.C (Validate): keeps a list of included files.
3701         (Linuxdoc): 
3702         (DocBook): new export methods.
3703
3704         * src/lyx_cb.C: adjust to the new calling sequence for makeLinuxDocFile
3705         and makeDocBookFile.
3706
3707         * src/lyx_main.C (easyParse): accept linuxdoc and docbook as
3708         formats to export with command line argument -x.
3709
3710 2000-06-29  Juergen Vigna  <jug@sad.it>
3711
3712         * src/mathed/formula.C (LocalDispatch): changed only-cursor-movements
3713         to return DISPATCHED_NOUPDATE so that a it does not redraw the inset!
3714
3715         * src/text.C (GetVisibleRow): added 'bool cleared' parameter as the
3716         region could already been cleared by an inset!
3717
3718 2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3719
3720         * src/BufferView_pimpl.h: remove member variables lyx_focus and
3721         work_area_focus
3722
3723         * src/BufferView_pimpl.C (Pimpl): delete init of work_area_focus
3724         and lyx_focus
3725         (cursorToggle): remove special handling of lyx focus.
3726
3727 2000-06-28  Juergen Vigna  <jug@sad.it>
3728
3729         * src/text.C (GetVisibleRow): fixed clearing of text if rowHeight >
3730         insetHeight.
3731
3732 2000-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3733
3734         * src/insets/insetindex.C (Edit): add a callback when popup is
3735         closed by the WM.
3736
3737         * src/insets/insettext.C (LocalDispatch): 
3738         * src/insets/insetmarginal.h: 
3739         * src/insets/insetlist.h: 
3740         * src/insets/insetfoot.h: 
3741         * src/insets/insetfloat.h: 
3742         * src/insets/insetert.h: add a missing std:: qualifier.
3743
3744 2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3745
3746         * src/support/lyxsum.C (sum): '\0' teminate file read when using
3747         strstream. 
3748
3749         * src/insets/lyxinset.h: add FLOAT_CODE and MINIPAGE_CODE
3750
3751         * src/insets/insettext.C (Read): remove tmptok unused variable
3752         (LocalDispatch): add not working LFUN_PARAGRAPH_SPACING
3753         (InsertInset): change for new InsetInset code
3754
3755         * src/insets/insettext.h: add TEXT inline method
3756
3757         * src/insets/insettext.C: remove TEXT macro
3758
3759         * src/insets/insetmarginal.C (Write): new method
3760         (Latex): change output slightly
3761
3762         * src/insets/insetfoot.C (Write): new method
3763         (Latex): change output slightly (don't use endl when no need)
3764
3765         * src/insets/insetert.C (Write): new method
3766
3767         * src/insets/insetcollapsable.h: make button_length, button_top_y
3768         and button_bottm_y protected.
3769
3770         * src/insets/insetcollapsable.C (Write): simplify code by using
3771         tostr. Also do not output the float name, the children class
3772         should to that to get control over own arguments
3773
3774         * src/insets/insetfloat.[Ch] src/insets/insetlist.[Ch]
3775         src/insets/insetminipage.[Ch]:
3776         new files
3777
3778         * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
3779         
3780         * src/lyxfunc.C (Dispatch): cases for new insets/commands
3781
3782         * src/Makefile.am (lyx_SOURCES): add the new files
3783
3784         * src/LyXAction.C (init): add LFUN_INSET_MARGINAL,
3785         LFUN_INSET_MINIPAGE, LFUN_INSET_FLOAT, LFUN_INSET_LIST
3786         * src/commandtags.h: ditto
3787         
3788         * src/LaTeXFeatures.h: add a std::set of used floattypes
3789
3790         * src/LaTeXFeatures.C (getPackages): add basic support for float.sty
3791
3792         * src/FloatList.[Ch] src/Floating.h: new files
3793
3794         * src/CutAndPaste.C (SwitchLayoutsBetweenClasses): change call to
3795         InsertInset. 
3796         * src/lyx_cb.C (TableApplyCB): ditto
3797         * src/text.C: ditto
3798         * src/text2.C: ditto
3799         * src/buffer.C (SimpleLinuxDocOnePar): ditto
3800         (parseSingleLyXformat2Token): ditto + add code for
3801         backwards compability for old float styles + add code for new insets
3802         
3803         * src/lyxparagraph.[Ch] (InsertChar(size_type, char, LyXFont)): new
3804         method
3805         (InsertInset(size_type, Inset *, LyXFont)): new method
3806         (InsetChar(size_type, char)): changed to use the other InsetChar
3807         with a LyXFont(ALL_INHERIT).
3808         (InsetInset(size_type, Inset*)): changed to use InsetChar to
3809         insert the META_INSET.
3810         
3811         * sigc++/thread.cc (Privete<int>::operator int&): move definition
3812         out of line. 
3813         * sigc++/thread.h (Threads): from here
3814
3815         * sigc++/scope.cc (ScopeIterator_::ScopeIterator_): move
3816         definition out of line
3817         * sigc++/scope.h: from here
3818
3819 2000-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3820
3821         * src/lyxrc.C (read): make sure the .kmap files exist when a keymap
3822         is specified (adapted from a patch from edscott <edscott@imp.mx>).
3823
3824         * Makefile.am (bindist): new target.
3825
3826         * INSTALL: add instructions for doing a binary distribution.
3827
3828         * development/tools/README.bin.example: update a bit. 
3829
3830 2000-06-26  Lior Silberman <slior@math.huji.ac.il>
3831
3832         * src/lyxrc.C: 
3833         * lib/lyxrc.example: new lyxrc tag \set_color.
3834
3835         * src/lyxfunc.C (Dispatch): 
3836         * src/commandtags.h: 
3837         * src/LyXAction.C: new lyxfunc "set-color".
3838
3839         * src/LColor.[Ch] (setColor): new method to set colors from a lyxname
3840         and an x11name given as strings.
3841
3842         * src/ColorHandler.[Ch] (updateColor): new method. Updates the GC
3843         cache when a color is changed.
3844
3845 2000-06-26  Juergen Vigna  <jug@sad.it>
3846
3847         * src/lyxrow.C (width): added this functions and variable.
3848
3849         * src/insets/insetcite.C (create_form_citation_form): some Gravity
3850         changes.
3851
3852         * src/text.C (SetHeightOfRow): fixed calcualting of width.
3853
3854 2000-06-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3855
3856         * images/undo_bw.xpm: new icon.
3857         * images/redo_bw.xpm: ditto.
3858
3859         * configure.in (INSTALL_SCRIPT): change value to
3860         ${INSTALL} to avoid failures of install-script target.
3861         * lib/reLyX/configure.in (INSTALL_SCRIPT): ditto
3862
3863         * src/BufferView.h: add a magic "friend" declaration to please
3864         compaq cxx.
3865
3866 2000-06-23  Angus Leeming <a.leeming@ic.ac.uk>
3867
3868         * forms/cite.fd: modified to allow resizing without messing
3869         up the dialog.
3870
3871         * src/insetcite.C: Uses code from cite.fd almost without
3872         tweaking. ;-)
3873         User can now resize dialog in the x-direction.
3874         Resizing the dialog in the y-direction is prevented, as the
3875         code does this intelligently already.
3876
3877 2000-06-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3878
3879         * INSTALL: remove obsolete entry in "problems" section.
3880
3881         * lib/examples/sl_*.lyx: update of the slovenian examples.
3882
3883         * src/support/FileInfo.[Ch] (getBlockSize): remove.
3884
3885 2000-06-23  Juergen Vigna  <jug@sad.it>
3886
3887         * src/lyxtext.h: added a 'cleared' flag to draw() function.
3888
3889         * src/buffer.C (resize): delete the LyXText of textinsets.
3890
3891         * src/paragraph.C (SetInsetOwner): set the owner in the insets too.
3892
3893         * src/insets/lyxinset.h: added another parameter 'cleared' to
3894         the draw() function.
3895
3896         * src/lyxfunc.C (processKeyEvent): move cursor to the right of the
3897         unlocking inset in inset.
3898
3899 2000-06-22  Juergen Vigna  <jug@sad.it>
3900
3901         * src/lyxscreen.h: added some y_offset/x_offset parameters for drawings
3902         of insets and moved first to LyXText.
3903
3904         * src/mathed/formulamacro.[Ch]:
3905         * src/mathed/formula.[Ch]: changed prototype of draw() and GetCursorPos
3906
3907 2000-06-21  Juergen Vigna  <jug@sad.it>
3908
3909         * src/text.C (GetVisibleRow): look if I should clear the area or not
3910         using Inset::doClearArea() function.
3911
3912         * src/insets/lyxinset.h: added doClearArea() function and
3913         modified draw(Painter &, ...) to draw(BufferView *, ...)
3914
3915         * src/text2.C (UpdateInset): return bool insted of int
3916
3917 2000-06-20  Dekel Tsur  <dekel@math.tau.ac.il>
3918
3919         * src/lyx_gui.C (create_forms): Add "Reset" option to the language 
3920         combox in the character popup
3921
3922         * src/lyx_cb.C (UserFreeFont): Add argument to the method:
3923         BufferParams const & params
3924
3925 2000-06-20  Juergen Vigna  <jug@sad.it>
3926
3927         * src/insets/insettext.C (SetParagraphData): set insetowner on
3928         2- paragraphs.
3929
3930 2000-06-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
3931
3932         * src/Timeout.[Ch]: Change to use signals instead of callbacks.
3933         * src/LyXView.h (struct FD_form_main): remove, LyXView inherits
3934         from SigC::Object
3935         (form_main_): remove
3936         
3937         * src/LyXView.C (LyXView_AutosaveTimerCB): remove 
3938         (create_form_form_main): remove FD_form_main stuff, connect to
3939         autosave_timeout signal
3940
3941         * src/LyXView.[Ch] (getMainForm): remove 
3942         (UpdateTimerCB): remove
3943         * src/BufferView_pimpl.h: inherit from SigC::Object
3944
3945         * src/BufferView_pimpl.C (Pimpl): connect to cursor_timeout with
3946         signal instead of callback
3947
3948         * src/BufferView.[Ch] (cursorToggleCB): remove 
3949
3950 2000-06-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
3951
3952         * src/BufferView_pimpl.C: changes because of the one below
3953
3954         * src/screen.[Ch]: Made the lyxscreen take LyXText as argument
3955         instead of storing a pointer to a LyXText. 
3956
3957         * src/buffer.[Ch]: apply Baruch's remove isdviclean patch. 
3958
3959 2000-06-10  Dekel Tsur  <dekel@math.tau.ac.il>
3960
3961         * src/lyxparagraph.h
3962
3963         * src/paragraph.C: Changed fontlist to a sorted vector.
3964  
3965 2000-06-19  Juergen Vigna  <jug@sad.it>
3966
3967         * src/BufferView.h: added screen() function.
3968
3969         * src/insets/insettext.C (LocalDispatch): some selection code
3970         fixed.
3971
3972         * src/vspace.C (nextToken): use stringfunctions instead of sscanf.
3973
3974         * src/insets/insettext.C (SetParagraphData):
3975         (Read): 
3976         (InsetText):  fixes for multiple paragraphs.
3977
3978 2000-06-17  Kayvan A. Sylvan  <kayvan@sylvan.com>
3979
3980         * development/lyx.spec.in: Call configure with ``--without-warnings''
3981         to work around a bug with the Makefiles when doing ``make lyxrpm''.
3982         This should be fine, however, since we generally don't want to be
3983         verbose when making an RPM.
3984         
3985 2000-06-16  Dekel Tsur  <dekel@math.tau.ac.il>
3986
3987         * lib/scripts/fig2pstex.py: New file
3988
3989 2000-06-16  Juergen Vigna  <jug@sad.it>
3990
3991         * src/insets/insettabular.C (UpdateLocal): 
3992         * src/insets/insettext.C (UpdateLocal): fixed mark_dirty problem.
3993         (LocalDispatch): Changed all functions to use LyXText.
3994
3995 2000-06-15  Juergen Vigna  <jug@sad.it>
3996
3997         * src/text.C (SetHeightOfRow): call inset::update before requesting
3998         any width/height.
3999
4000         * src/insets/insettext.C (update): 
4001         * src/insets/insettabular.C (update): added implementation
4002
4003         * src/insets/lyxinset.h: added update function
4004
4005 2000-06-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4006
4007         * src/text.C (SelectNextWord): protect against null pointers with
4008         old-style string streams. (fix from Paul Theo Gonciari
4009         <gptheo@yahoo.com>) 
4010
4011         * src/cite.[Ch]: remove erroneous files.
4012
4013         * lib/configure.m4: update the list of created directories.
4014
4015         * src/lyxrow.C: include <config.h>
4016         * src/lyxcursor.C: ditto.
4017
4018 2000-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4019
4020         * lib/examples/decimal.lyx: new example file from Mike.
4021
4022         * src/insets/ExternalTemplate.C (readTemplates): Use LibFileSearch()
4023         to find template definitions (from Dekel)
4024
4025         * src/frontends/.cvsignore: add a few things.
4026
4027         * src/frontends/xforms/input_validators.[ch]: remove C++ comments.
4028
4029         * src/Timeout.C (TimeOut): remove default argument.
4030
4031         * src/LyXView.C (LyXView_AutosaveTimerCB): this should not have
4032         "C" linkage.
4033
4034         * src/insets/ExternalTemplate.C: add a "using" directive.
4035
4036         * src/lyx_main.h: remove the act_ struct, which seems unused
4037         anyway. 
4038
4039 2000-06-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
4040
4041         * LyX Developers Meeting: All files changed, due to random C++ (by
4042         coincidence) code generator script.
4043
4044         - external inset (cool!)
4045         - initial online editing of preferences
4046         - insettabular breaks insettext(s contents)
4047         - cleanup
4048         - some DocBook fixes
4049         - example files update
4050         - other cool stuff, create a diff and look for yourself.
4051
4052 2000-06-09  The Great LyX Application  <lyx@localhost.localdomain>
4053
4054         * src/insets/insettext.C (computeTextRows): if the maxWidth is
4055         -1 this is a non-line-breaking textinset.
4056
4057         * src/insets/insettabular.C (GetMaxWidthOfCell): returns now -1
4058         if there is no width set.
4059
4060 2000-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4061
4062         * Lots of files: Merged the dialogbase branch.
4063
4064 2000-06-09  Allan Rae  <rae@lyx.org>
4065
4066         * src/xtl/, src/lyxfunc.[Ch], src/buffer.[Ch]:  Removed XTL and
4067         and the Dispatch methods that used it.
4068
4069         * src/frontends/Liason.[Ch]: replaced with a Liason namespace for 
4070         access to functions formerly kept in Dispatch.
4071
4072 2000-05-19  Allan Rae  <rae@lyx.org>
4073
4074         * src/PrinterParams.h, src/buffer.C, src/frontends/xforms/FormPrint.C:
4075         made to_page and count_copies integers again.  from_page remains a
4076         string however because I want to allow entry of a print range like
4077         "1,4,22-25" using this field.
4078
4079         * src/LyXAction.C: added action info and commands for buffer-print-xtl
4080         and printer-params-get.  These aren't useful from the minibuffer but
4081         could be used by a script/LyXServer app provided it passes a suitable
4082         auto_mem_buffer.  I guess I should take a look at how the LyXServer
4083         works and make it support xtl buffers.
4084
4085         * sigc++/: updated to libsigc++-1.0.1
4086
4087         * src/xtl/: updated to xtl-1.3.pl.11
4088
4089         * forms/makefile, forms/fdfix.sh, forms/layout_forms.fd: Made sure
4090         those changes done to the files in src/ are actually recreated when
4091         they  get regenerated. Please don't ever accept a patch that changes a
4092         dialog unless that patch includes the changes to the corresponding *.fd
4093         file.
4094
4095         * src/lyx_cb.C, src/support/lstrings.[hC]: Moved Stephen Witt's
4096         stringOnlyContains, renamed it and generalised it.
4097
4098         * lots-of-files: Rolled the "rae" branch over into the "dialogbase"
4099         branch.  Removed the remaining old form_print code.
4100
4101 2000-04-26  Allan Rae  <rae@lyx.org>
4102
4103         * ChangeLog, development/tools/lxtl.sh: D'oh! Got caught in the same
4104         trap I was trying to fix with the ID: fields in src/xtl/  :-)
4105
4106 2000-04-25  Allan Rae  <rae@lyx.org>
4107
4108         * src/xtl/: Updated to incorporate Angus's two patches as well as mine
4109         against a base of xtl-1.3.pl.4
4110
4111         * development/tools/lxtl.sh: fixed a couple of silly typos and now
4112         filter the Id: entries so they still show the xtl version number
4113         they are based on.
4114
4115         * src/support/lxtl.h: removed auto_mem_buffer which is now incorporated
4116         into the src/xtl code.  Patch still pending with José (XTL)
4117
4118 2000-04-24  Allan Rae  <rae@lyx.org>
4119
4120         * src/lyxfunc.[Ch] (Dispatch): Use a mem buffer as a parameter. This is
4121         both more generic and much safer. Use the new template functions.
4122         * src/buffer.[Ch] (Dispatch): ditto.
4123
4124         * src/frontends/xforms/FormPrint.C (update): Use new template functions
4125         and mem buffer more intelligently. Also a little general cleanup.
4126         (apply): ditto.
4127
4128         * configure.in (AC_OUTPUT): Extra stuff for xtl that I forgot.
4129         * development/tools/lxtl.sh: Ditto.  Makefile.am + .cvsignore
4130         * src/xtl/Makefile.am: ditto.
4131         * src/xtl/.cvsignore: ditto.
4132         * src/Makefile.am: ditto.
4133
4134         * src/PrinterParams.h: Removed the macros member functions. Added a
4135         testInvariant member function.  A bit of tidying up and commenting.
4136         Included Angus's idea for fixing operation with egcs-1.1.2.
4137
4138         * src/support/lxtl.h: Many changes.  Added auto_mem_buffer -- a really
4139         cool expansion of XTL's mem_buffer to support automatic memory
4140         management within the buffer itself.  Removed the various macros and
4141         replaced them with template functions that use either auto_mem_buffer
4142         or mem_buffer depending on a #define.  The mem_buffer support will
4143         disappear as soon as the auto_mem_buffer is confirmed to be good on
4144         other platforms/compilers.  That is, it's there so you've got something
4145         to compare against.
4146
4147         * src/xtl/objio.h: Changes to support auto_mem_buffer.  This has
4148         effectively forked XTL.  However I expect José will include my code
4149         into the next major release.  Also fixed a memory leak.
4150         * src/xtl/text.h: ditto.
4151         * src/xtl/xdr.h: ditto.
4152         * src/xtl/giop.h: ditto.
4153
4154 2000-04-16  Allan Rae  <rae@lyx.org>
4155
4156         * acinclude.m4, sigc++/acinclude.m4:  Removed -- they're generated
4157         by autogen.sh and removed by maintainer-clean anyway.
4158         * .cvsignore, sigc++/.cvsignore:  Support the above.
4159
4160         * sigc++/.cvsignore: Forgot that retbind.h was generated.
4161
4162         * src/buffer.C (Dispatch): Couldn't print a single page. Fixed.
4163
4164         * src/frontends/xforms/FormPrint.[Ch]: Switched to C callbacks using
4165         macros, renamed static callback-target member functions to suit new
4166         scheme and made them public.
4167         * src/frontends/xforms/forms/form_print.fd: ditto.
4168         * src/frontends/xforms/forms/form_copyright.fd: ditto.
4169
4170         * src/support/lxtl.h: small cleanup to use typedef instead of #define
4171         for gui_format.
4172
4173         * src/xtl/: New directory containing a minimal distribution of XTL.
4174         This is XTL-1.3.pl.4.
4175
4176         * development/tools/lxtl.sh: A script to generate the above mini-dist.
4177
4178 2000-04-15  Allan Rae  <rae@lyx.org>
4179
4180         * development/tools/makeLyXsigc.sh: Remove the library version numbers
4181
4182         * sigc++/:  Updated to libsigc++-1.0.0
4183
4184 2000-04-14  Allan Rae  <rae@lyx.org>
4185
4186         * src/frontends/xforms/xform_macros.h: Remove specific macros and just
4187         use the generic ones in future.  I'll modify my conversion script.
4188
4189         * src/frontends/xforms/FormCopyright.C: Reverse the earlier change.
4190
4191         * src/lyx_gui_misc.[Ch]: Removed references to form_print.
4192         (CloseAllBufferRelatedDialogs): Renamed.
4193         (updateAllVisibleBufferRelatedDialogs): ditto. Added LaTeXLog
4194
4195         * src/frontends/xforms/FormCopyright.C: Use the specific macros instead
4196         of the generic ones.  These are the same ones my conversion script
4197         generates.
4198
4199         * src/PrinterParams.h: Allow you to print a range of odd or even pages.
4200         * src/frontends/xforms/FormPrint.C (apply, update): ditto+small cleanup
4201         * src/buffer.C (Dispatch): ditto
4202
4203         * src/LyXView.C (LyXView): Use new signals instead of old hard coded
4204         functions for updating and hiding buffer dependent dialogs.
4205         * src/BufferView.C (buffer): ditto
4206         * src/buffer.C (setReadonly): ditto
4207         * src/lyxfunc.C (CloseBuffer): ditto
4208
4209         * src/buffer.h: Take setReadonly() out of line so I don't have to include
4210         Dialogs.h, and hence all the SigC stuff, into every file that includes
4211         buffer.h.  We also don't need to include lyx_gui_misc.h in everything.
4212
4213         * src/BufferView2.C: reduce the number of headers included by buffer.h
4214
4215 2000-04-11  Allan Rae  <rae@lyx.org>
4216
4217         * src/frontends/xforms/xform_macros.h:  A small collection of macros
4218         for building C callbacks.
4219
4220         * src/frontends/xforms/Makefile.am: Added above file.
4221
4222         * src/frontends/xforms/FormCopyright.[Ch]: Revised the C callback
4223         scheme again.  This time it should work for JMarc.  If this is
4224         successful I'll revise my conversion script to automate some of this.
4225         The static member functions in the class also have to be public for
4226         this scheme will work.  If the scheme works (it's almost identical to
4227         the way BufferView::cursorToggleCB is handled so it should work) then
4228         FormCopyright and FormPrint will be ready for inclusion into the main
4229         trunk immediately after 1.1.5 is released -- provided we're prepared
4230         for complaints about lame compilers not handling XTL.
4231
4232         * src/support/lxtl.h: Switched to XDR_format instead of raw_format.
4233
4234 2000-04-07  Allan Rae  <rae@lyx.org>
4235
4236         * config/lyxinclude.m4:  A bit more tidying up (Angus)
4237
4238         * src/LString.h: JMarc's <string> header fix
4239
4240         * src/PrinterParams.h: Used string for most data to remove some
4241         ugly code in the Print dialog and avoid even uglier code when 
4242         appending the ints to a string for output.
4243
4244         * src/buffer.C (Dispatch): Added a couple of braces to fix an error
4245         and moved "default:" back to the end of switch statement.  Cleaned
4246         up the printing so it uses the right function calls and so the
4247         "print to file" option actually puts the file in the right directory.
4248
4249         * src/frontends/xforms/Dialogs.C: Added FormPrint (Angus).
4250
4251         * src/frontends/xforms/FormPrint.C (PrintInputCB): moved input checking
4252         and Ok+Apply button control into a separate method: input (Angus).
4253         (input) Cleaned it up and improved it to be very thorough now.
4254         (All CB) static_cast used instead of C style cast (Angus).  This will
4255         probably change again once we've worked out how to keep gcc-2.8.1 happy
4256         with real C callbacks.
4257         (update) add a few "default:" labels to switches. Egcs-1.1.2 seems to
4258         ignore some of the bool settings and has random numbers instead. Needs
4259         some more investigation.  Added other input length checks and checking
4260         of file and printer names.
4261
4262         * src/frontends/xforms/FormPrint.h: Removed pragma statement so it
4263         would link (Angus).  Seems the old code doesn't compile with the pragma
4264         statement either.  Separated callback entries from internal methods.
4265
4266         * src/lyxfunc.C (Dispatch): LFUN_MENUPRINT calls new dialog (Angus).
4267
4268 2000-03-17  Allan Rae  <rae@lyx.org>
4269
4270         * src/lyxfunc.[Ch] (isAvailable): This is only temporary.  Do we really
4271         need it?  Maybe it could go in Dialogs instead?  I could make it a
4272         LFUN but you'd have to call Dispatch(int, int, char*) with dummy
4273         values to get the bool return value.
4274         (Dispatch): New overloaded method for xtl support.
4275
4276         * src/frontends/xforms/FormCopyright.[Ch]: Modified to use a friendly
4277         extern "C" callback instead of static member functions.  Hopefully,
4278         JMarc will be able to compile this.  I haven't changed 
4279         forms/form_copyright.fd yet. Breaking one of my own rules already.
4280
4281         * src/commandtags.h: New xtl-based LFUN's no description in LyXAction
4282         because they aren't useful from the minibuffer.  Maybe a LyXServer
4283         might want a help message though?
4284
4285         * src/buffer.[Ch] (Dispatch): New overloaded method for xtl support.
4286
4287         * config/lyxinclude.m4: Changes to g++ flags to suit compiling with
4288         xtl which needs both rtti and exceptions.
4289
4290         * src/support/Makefile.am:
4291         * src/support/lxtl.h: New file.  Some helper macros for using XTL.
4292
4293         * src/frontends/xforms/input_validators.[ch]: input filters and
4294         validators.  These conrol what keys are valid in input boxes.
4295         Use them and write some more.  Much better idea than waiting till
4296         after the user has pressed Ok to say that the input fields don't make
4297         sense.
4298
4299         * src/frontends/xforms/Makefile.am:
4300         * src/frontends/xforms/forms/form_print.fd:
4301         * src/frontends/xforms/forms/makefile:
4302         * src/frontends/xforms/FormPrint.[Ch]: Ported previous print form to
4303         new scheme.  Still have to make sure I haven't missed anything from
4304         the current implementation.
4305
4306         * src/Makefile.am, src/PrinterParams.h: New data store.
4307
4308         * other files: Added a couple of copyright notices.
4309
4310 2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4311
4312         * src/insets/insetbib.h: move Holder struct in public space.
4313
4314         * src/frontends/include/DialogBase.h: use SigC:: only when
4315         SIGC_CXX_NAMESPACES is defined.
4316         * src/frontends/include/Dialogs.h: ditto.
4317
4318         * sigc++/Makefile.am (%.h): use the autodected GNU m4.
4319
4320         * src/frontends/xforms/FormCopyright.[Ch]: do not
4321         mention SigC:: explicitely.
4322
4323 2000-03-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4324
4325         * config/lyxinclude.m4 (LYX_USE_FRONTEND): move the code which
4326         deals with testing KDE in main configure.in
4327         * configure.in: ditto.
4328
4329 2000-02-22  Allan Rae  <rae@lyx.org>
4330
4331         * Lots of files: Merged from HEAD
4332
4333         * All Makefile.am (ETAGS_ARGS): use parameter that is also compatible
4334         with the etags shipped with SuSE-6.3 (fancier than gnu-etags).
4335
4336         * autogen.sh: Fix JMarcs complaints by building a sigc++/acinclude.m4
4337
4338         * sigc++/: new minidist.
4339
4340 2000-02-14  Allan Rae  <rae@lyx.org>
4341
4342         * development/tools/makeLyXsigc.sh:  Small fix for Makefile.am
4343
4344 2000-02-08  Juergen Vigna  <jug@sad.it>
4345
4346         * src/frontends/kde/dlg/formcopyrightdialog.kdevdlg: the dialog data
4347         file for the buildin GUI builder of KDevelop of the copyright-dialog.
4348
4349         * src/frontends/kde/lyxgui.kdevprj: I added this as I use KDevelop
4350         for this port and so it is much easier for other people to port
4351         dialogs in a common development environment.
4352
4353         * src/frontends/kde/formcopyrightdialog_moc.C: needed MOC file for
4354         the QT/KDE implementation.
4355
4356         * src/frontends/kde/Dialogs.C:
4357         * src/frontends/kde/FormCopyright.C:
4358         * src/frontends/kde/FormCopyright.h:
4359         * src/frontends/kde/Makefile.am:
4360         * src/frontends/kde/formcopyrightdialog.C:
4361         * src/frontends/kde/formcopyrightdialog.h:
4362         * src/frontends/kde/formcopyrightdialogdata.C: added this source-files
4363         for the kde support of the Copyright-Dialog.
4364
4365         * src/frontends/Makefile.am (AUTOMAKE_OPTIONS): now uses @FRONTEND@
4366         subdir-substitution instead of hardcoded 'xforms' as we now have also
4367         the kde subdir.
4368
4369         * src/frontends/include/DialogBase.h (Object): just commented the
4370         label after #endif (nasty warning and I don't like warnings ;)
4371
4372         * src/main.C (main): added KApplication initialization if using
4373         KDE frontend-GUI.
4374
4375         * src/lyx_gui.C (runTime): added support for multiple toolkit support.
4376         For now only the KDE event-loop is added if frontend==kde.
4377
4378         * src/Makefile.am (lyx_DEPENDENCIES): added @FRONTEND_xxx@ support
4379
4380         * configure.in: added support for the --with-frontend[=value] option
4381
4382         * autogen.sh: added kde.m4 file to list of config-files
4383
4384         * acconfig.h: added define for KDEGUI-support
4385
4386         * config/kde.m4: added configuration functions for KDE-port
4387
4388         * config/lyxinclude.m4: added --with-frontend[=value] option with
4389         support for xforms and KDE.
4390
4391 2000-02-08  Allan Rae <rae@lyx.org>
4392
4393         * all Makefile.am:  Fixed up so the make targets dist, distclean, 
4394         install and uninstall all work even if builddir != srcdir.  Still
4395         have a new sigc++ minidist update to come.
4396
4397         * config/lyxinclude.m4: Some more builddir!=srcdir fixes.
4398
4399 2000-02-01  Allan Rae <rae@lyx.org>
4400
4401         * config/lyxinclude.m4, development/tools/makeLyXsigc.sh:
4402         Many mods to get builddir != srcdir working.
4403         
4404         * sigc++/: Upgraded to 0.8.7.  This includes many needed fixes both
4405         for building on NT and so we can do the builddir != srcdir stuff.
4406
4407 2000-01-30  Allan Rae <rae@lyx.org>
4408
4409         * sigc++/doc/*: Selected documentation for the libsigc++ mini dist.
4410         This will stay in "rae" branch.  We probably don't really need it in
4411         the main trunk as anyone who wants to help programming it should get
4412         a full library installed also.  So they can check both included and
4413         system supplied library compilation.
4414
4415         * sigc++/*, sigc++/macros/*, config/sigc++.m4, config/lyxinclude.m4:
4416         Added a 'mini' distribution of libsigc++.  If you feel the urge to 
4417         change something in these directories - Resist it.  If you can't 
4418         resist the urge then you should modify the following script and rebuild
4419         the dist.  LYX_WITH_SIGC in lyxinclude.m4 is the wrapper to make it
4420         all happen.  Still uses a hacked version of libsigc++'s configure.in.
4421         I'm quite happy with the results.  I'm not sure the extra work to turn
4422         the sigc++/configure.in into a few extra AC_DEFUNs in sigc++.m4 is
4423         worth the trouble and would probably lead to extra maintenance 
4424         headaches.
4425         I haven't tested the following important make targets: install, dist.
4426         Not ready for prime time but very close.  Maybe 1.1.5.
4427
4428         * development/tools/makeLyXsigc.sh:  A shell script to automatically
4429         generate our mini-dist of libsigc++.  It can only be used with a CVS
4430         checkout of libsigc++ not a tarball distribution.  It's well commented.
4431         This will end up as part of the libsigc++ distribution so other apps
4432         can easily have an included mini-dist.  If someone makes mods to the
4433         sigc++ subpackage without modifying this script to generate those
4434         changes I'll be very upset!
4435
4436         * src/frontends/:  Started the gui/system indep structure.
4437
4438         * src/frontends/include/Dialogs.h: Dialog container. All the Signal<>s
4439         to access the gui-indep dialogs are in this class.  Much improved
4440         design compared to previous revision.  Lars,  please refrain from
4441         moving this header into src/ like you did with Popups.h last time.
4442
4443         * src/frontends/include/DialogBase.h: Abstract base class for dialogs.
4444
4445         * src/frontends/xforms/:  Started the gui-indep system with a single
4446         dialog: FormCopyright.  Initial testing of use of libsigc++ was very
4447         successful.
4448
4449         * src/frontends/xforms/forms: Repository for the xforms .fd files.
4450         Here you'll find a very useful makefile and automated fdfix.sh that
4451         makes updating dailogs a no-brainer -- provided you follow the rules
4452         set out in the README.  I'm thinking about adding another script to
4453         automatically generate skeleton code for a new dialog given just the
4454         name of the dialog.
4455
4456         * src/commandtags.h, src/lyxfunc.C, src/menus.C:
4457         * src/credits.{Ch}, src/credits_form.{Ch}, forms/credits_form.fd:
4458         Made FormCopyright gui-indep and added a lyxfunc to get to it.
4459
4460 2000-06-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4461
4462         * src/support/LSubstring.C (operator): simplify
4463
4464         * src/lyxtext.h: removed bparams, use buffer_->params instead
4465         
4466         * src/lyxrow.h: make Row a real class, move all variables to
4467         private and use accessors.
4468
4469         * src/lyxparagraph.h (getParLanguage): add BufferParamas as
4470         arguament.
4471         (isRightToLeftPar): ditto
4472         (ChangeLanguage): ditto
4473         (isMultiLingual): ditto
4474         (String): ditto
4475         (TeXOnePar): ditto
4476         (SimpleTeXOnePar): ditto
4477         (TeXEnvironment): ditto
4478         (GetEndLabel): ditto
4479         (SetLayout): ditto
4480         (SetOnlyLayout): ditto
4481         (BreakParagraph): ditto
4482         (BreakParagraphConservative): ditto
4483         (GetFontSettings): ditto
4484         (getFont): ditto
4485         (CopyIntoMinibuffer): ditto
4486         (CutIntoMinibuffer): ditto
4487         (PasteParagraph): ditto
4488         (SetPExtraType): ditto
4489         (UnsetPExtraType): ditto
4490         (DocBookContTableRows): ditto
4491         (SimpleDocBookOneTablePar): ditto
4492         (TeXDeeper): ditto
4493         (TeXFootnote): ditto
4494         (SimpleTeXOneTablePar): ditto
4495         (TeXContTableRows): ditto
4496         (SimpleTeXSpecialChars): ditto
4497         
4498
4499         * src/lyxcursor.h: make LyXCursor a real class, move all variables
4500         to private and use accessors.
4501
4502         * src/lyx_cb.C: remove char updatetimer, and all code that uses
4503         this, we did not use it anymore and has not been for ages. Just a
4504         waste of cpu cycles.
4505
4506         * src/language.h: make Language a real class, move all variables
4507         to private and use accessors.
4508
4509         * src/BufferView_pimpl.C (Pimpl): use new timer code.
4510         (create_view): remove
4511         (update): some changes for new timer
4512         (cursorToggle): use new timer
4513         (beforeChange): change for new timer
4514
4515         * src/BufferView.h (cursorToggleCB): removed last paramter because
4516         of new timer code. 
4517
4518         * src/BufferView.C (C_BufferView_CursorToggleCB): removed 
4519         (cursorToggleCB): change because of new timer code
4520
4521         * lib/CREDITS: updated own mailaddress
4522
4523 2000-06-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4524
4525         * src/support/filetools.C (PutEnv): fix the code in case neither
4526         putenv() nor setenv() have been found.
4527
4528         * INSTALL: mention the install-strip Makefile target.
4529
4530         * src/LyXAction.C (init): make LFUN_BUILDPROG available in
4531         read-only documents.
4532
4533 2000-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4534
4535         * lib/reLyX/configure.in (VERSION): avoid using a previously
4536         generated reLyX wrapper to find out $prefix.
4537
4538         * lib/examples/eu_adibide_lyx-atua.lyx: 
4539         * lib/examples/eu_adibide_gordina.lyx: new examples for the Basque
4540         translation of the Tutorial (Dooteo)
4541
4542 2000-06-06  Angus Leeming <a.leeming@ic.ac.uk>
4543
4544         * forms/cite.fd: new citation dialog
4545
4546         * src/insetcite.[Ch]: the new citation dialog is moved into
4547         its own files.
4548
4549         * src/insetbib.C: InsetBibtex::getKeys() uses STL containers
4550         (Dekel).
4551
4552         * src/insets/insetcommand.h: data members made private. 
4553
4554 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
4555
4556         * LyX 1.1.5 released
4557
4558 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
4559
4560         * src/version.h (LYX_RELEASE): to 1.1.5
4561
4562         * src/spellchecker.C (RunSpellChecker): return false if the
4563         spellchecker dies upon creation.
4564
4565 2000-06-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4566
4567         * lib/reLyX/reLyXmain.pl, lib/reLyX/LastLyX.pm: fix suffix of file
4568         in \include{} (from Tomasz Motylewski <motyl@stan.chemie.unibas.ch>) 
4569         
4570         * NEWS: update.
4571
4572         * lib/CREDITS: update entry for Martin Vermeer.
4573
4574 2000-06-06  Dekel Tsur  <dekel@math.tau.ac.il>
4575
4576         * src/text.C (draw): Draw foreign language bars at the bottom of
4577         the row instead of at the baseline.
4578
4579         * lib/examples/Minipage.lyx: Use the new multi-lingual support.
4580
4581 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
4582
4583         * lib/bind/de_menus.bind: updated
4584
4585 2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
4586
4587         * forms/lyx.fd: Correct gravity for objects in form_toc and form_ref
4588
4589 2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
4590
4591         * src/menus.C (Limit_string_length): New function
4592         (ShowTocMenu): Limit the number of items/length of items in the
4593         LOT/LOF/LOA menus.
4594
4595         * src/paragraph.C (String): Correct result for a paragraph inside
4596         a footnote.
4597
4598 2000-06-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
4599
4600         * src/bufferlist.C (close): test of buf->getuser() == NULL
4601
4602 2000-06-02  Dekel Tsur  <dekel@math.tau.ac.il>
4603
4604         * src/BufferView2.C (removeAutoInsets): Fix a bug: 
4605         Do not call to SetCursor when the paragraph is a closed footnote!
4606
4607 2000-06-01  Dekel Tsur  <dekel@math.tau.ac.il>
4608
4609         * src/insets/insetlabel.C (Edit): Mark buffer as dirty when a
4610         label is changed.
4611
4612         * src/text.C (SetCursor): Made the computation of cursor_vpos safer.
4613
4614 2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
4615
4616         * forms/lyx.fd
4617         * src/lyx_cb.C (RefSelectCB): Added "Go Back" button in the insert
4618         reference popup, that activates the reference-back action
4619
4620         * src/menus.C (ShowRefsMenu): Added "Go Back" menu item.
4621
4622         * src/menus.C (Add_to_refs_menu): Limit the size of each item in
4623         the menus. Also fixed a bug.
4624
4625         * src/lyx_cb.C (updateAllVisibleBufferRelatedPopups): Do not close 
4626         the math panels when switching buffers (unless new buffer is readonly).
4627
4628         * src/BufferView.C (NoSavedPositions)
4629         * src/BufferView_pimpl.C (NoSavedPositions): New methods
4630
4631 2000-06-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4632
4633         * src/lyx_cb.C (MakeLaTeXOutput): we run MakeLaTeXOutput regard
4634         less of dvi dirty or not.
4635
4636         * src/trans_mgr.[Ch] (insert): change first parameter to string
4637         const &.  
4638
4639         * src/chset.[Ch] (encodeString): add const to first parameter
4640
4641 2000-05-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
4642
4643         * src/support/lyxstring.C (begin): fix a "shared" string bug. use
4644         rep->get_own_copy()
4645         (end): ditto
4646
4647         * src/LaTeX.C (deplog): better searching for dependency files in
4648         the latex log. Uses now regexps.
4649
4650         * lib/layouts/stdlists.inc (lyxlist): fix the label to use \hfil
4651         instead of the box hack or \hfill. 
4652
4653 2000-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4654
4655         * src/lyxfunc.C (doImportHelper): do not create the file before
4656         doing the actual import. 
4657         (doImportASCIIasLines): create a new file before doing the insert.
4658         (doImportASCIIasParagraphs): ditto.
4659
4660         * lib/lyxrc.example: remove mention of non-existing commands
4661
4662         * lyx.man: remove mention of color-related switches.
4663
4664         * src/lyxrc.C: remove RC_SELECTIONCOLOR and RC_BACKGROUNDCOLOR. 
4665
4666         * src/lyx_gui.C: remove all the color-related ressources, which
4667         are not used anymore.
4668
4669         * src/lyx_gui_misc.C (WarnReadonly): use MakeDisplayPath on file
4670         name. 
4671
4672 2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
4673
4674         * src/lyxrc.C (read): Add a missing break in the switch
4675
4676 2000-05-30 Dekel Tsur  <dekel@math.tau.ac.il>
4677
4678         * src/text2.C (InsertStringA): Fix a bug with insertion into table
4679         
4680         * src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
4681         text is Hebrew.
4682  
4683 2000-05-27  Dekel Tsur  <dekel@math.tau.ac.il>
4684
4685         * src/text.C (draw): draw bars under foreign language words.
4686         
4687         * src/LColor.[Ch]: add LColor::language
4688
4689 2000-05-27 Dekel Tsur  <dekel@math.tau.ac.il>
4690
4691         * src/lyxcursor.h (boundary): New member variable
4692
4693         * src/text.C (IsBoundary): New methods
4694
4695         * src/text.C: Use the above for currect cursor movement when there
4696         is both RTL & LTR text.
4697         
4698         * src/text2.C: ditto
4699         
4700         * src/bufferview_funcs.C (ToggleAndShow): ditto
4701
4702 2000-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4703
4704         * src/text.C (DeleteLineForward): set selection to true to avoid
4705         that DeleteEmptyParagraphMechanism does some magic. This is how it
4706         is done in all other functions, and seems reasonable.
4707         (DeleteWordForward): do not jump over non-word stuff, since
4708         CursorRightOneWord() already does it.
4709         
4710         Remove the CHECK tag from DeleteLineForward, DeleteWordForward and
4711         DeleteWordBackward, since they seem safe to me (since selection is
4712         set to "true") DeleteEmptyParagraphMechanism does nothing.
4713
4714 2000-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4715
4716         * src/lyx_main.C (easyParse): simplify the code by factoring the
4717         part that removes parameters from the command line.
4718         (LyX): check wether wrong command line options have been given.
4719
4720 2000-05-29  Lior Silberman <slior@math.huji.ac.il>
4721
4722         * src/lyx_main.C : add support for specifying user LyX
4723         directory via command line option -userdir.
4724
4725 2000-05-26 Dekel Tsur  <dekel@math.tau.ac.il>
4726
4727         * src/menus.C (Add_to_toc_menu): Limit the number of popups, and
4728         the number of items per popup.
4729         (Add_to_refs_menu): Ditto.
4730         
4731 2000-05-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4732
4733         * src/lyxparagraph.h: renamed ClearParagraph() to
4734         StripLeadingSpaces() and moved it to paragraph.C. We pass the
4735         textclass as parameter, and do nothing if free_spacing is
4736         true. This fixes part of the line-delete-forward problems.
4737
4738         * src/CutAndPaste.C (cutSelection): use StripLeadingSpaces.
4739         (pasteSelection): ditto.
4740         (SwitchLayoutsBetweenClasses): more translatable strings.
4741
4742         * src/text2.C (CutSelection): use StripLeadingSpaces.
4743         (PasteSelection): ditto.
4744         (DeleteEmptyParagraphMechanism): ditto.
4745
4746 2000-05-26  Juergen Vigna  <jug@sad.it>
4747
4748         * src/TabularLayout.C (TabularOptionsCB): removed delete-table as this
4749         is not needed in tabular insets.
4750
4751         * src/insets/insettabular.C (TabularFeatures): added missing features.
4752
4753         * src/tabular.C (DeleteColumn):
4754         (AppendColumn): 
4755         (AppendRow): implemented this functions
4756         (cellsturct::operator=): clone the inset too; 
4757
4758 2000-05-23  Juergen Vigna  <jug@sad.it>
4759
4760         * src/insets/insettabular.C (LocalDispatch): better selection support
4761         when having multicolumn-cells.
4762
4763 2000-05-26  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4764
4765         * lib/layouts/linuxdoc.layout: fix indentation of paragraphs.
4766
4767 2000-05-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4768
4769         * src/ColorHandler.C (getGCForeground): put more test into _()
4770
4771         * lib/examples/eu_splash.lyx: new file (Basque translation) from
4772         Dooteo. 
4773
4774         * config/lyxinclude.m4 (LYX_PROG_CXX): use ${CXX} and not g++ to
4775         get the version.
4776
4777 2000-05-25 Dekel Tsur  <dekel@math.tau.ac.il>
4778
4779         * src/lyx_cb.C (RefUpdateCB): disable appropriate buttons when
4780         there are no labels, or when buffer is readonly.
4781
4782         * src/menus.C (ShowRefsMenu) disable appropriate menu items when
4783         there are no labels, buffer is SGML, or when buffer is readonly.
4784
4785 2000-05-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
4786
4787         * src/LColor.C (LColor): change a couple of grey40 to grey60
4788         (LColor): rewore initalization to make compiles go some magnitude
4789         faster.
4790         (getGUIName): don't use gettext until we need the string.
4791
4792 2000-05-09  Dekel Tsur  <dekel@math.tau.ac.il>
4793
4794         * src/Bullet.[Ch]: Fixed a small bug.
4795
4796 2000-05-21  Dekel Tsur  <dekel@math.tau.ac.il>
4797
4798         * src/paragraph.C (String): Several fixes/improvements
4799
4800         * src/insets/insetbib.[Ch] (InsetCitation::Ascii) New method
4801
4802 2000-05-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
4803
4804         * src/paragraph.C (String): give more correct output.
4805
4806 2000-05-20  Dekel Tsur  <dekel@math.tau.ac.il>
4807
4808         * src/lyxfont.C (stateText) Do not output the language if it is
4809         eqaul to the language of the document.
4810
4811         * src/paragraph.C (TeXOnePar): Do not put language switch commands
4812         between two paragraphs with the same language.
4813
4814         * src/paragraph.C (getParLanguage) Return a correct answer for an
4815         empty dummy paragraph.
4816
4817         * src/menus.C (ShowTocMenu): Do not draw lines between LOF/LOT/LOA
4818         menus.
4819
4820         * src/menus.C (ShowLayoutMenu) Add "Start of Appendix" item to the
4821         layout menu.
4822
4823         * src/lyx_gui.C (init): Try to use helvetica (or fixed) fonts for
4824         the menus/popup, if requested fonts are unavailable.
4825
4826 2000-05-22  Juergen Vigna  <jug@sad.it>
4827
4828         * src/insets/insettabular.C (LocalDispatch): added some more cursor
4829         movement support (Up/Down/Tab/Shift-Tab).
4830         (LocalDispatch): added also preliminari cursor-selection.
4831
4832         * src/LyXAction.C (init): added SHIFT-Tab as tab-backward.
4833
4834         * src/paragraph.C (PasteParagraph): Hopefully now right!
4835
4836 2000-05-22  Garst R. Reese  <reese@isn.net>
4837
4838         * layouts/hollywood.layout, broadway.layout : move Dialogue to top
4839          of list, change all references to Environment to Command
4840         * tex/hollywood.cls : rewrite environments as commands, add 
4841         \uppercase to interiorshot and exteriorshot to force uppecase.
4842         * tex/broadway.cls : rewrite environments as commands. Tweak
4843         whitespace.
4844
4845 2000-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4846
4847         * src/menus.C (Add_to_toc_menu): fix the code which limits the
4848         size of items: use a constant intead of the hardcoded 40, and more
4849         importantly do not remove the %m and %x tags added at the end.
4850         (Add_to_refs_menu): use vector::size_type instead of
4851         unsigned int as basic types for the variables. _Please_ do not
4852         assume that size_t is equal to unsigned int. On an alpha, this is
4853         unsigned long, which is _not_ the same.
4854
4855         * src/language.C (initL): remove language "hungarian", since it
4856         seems that "magyar" is better.
4857
4858 2000-05-22  Juergen Vigna  <jug@sad.it>
4859
4860         * src/CutAndPaste.C: hopefully fixed memory the problem defenitively!
4861
4862         * src/tabular.C (OldFormatRead): added \end_deeper to the end LyXTable
4863         end markers!
4864
4865         * src/paragraph.C (PasteParagraph): Possibly a memory leak as
4866         next was deleted but not set to 0.
4867
4868 2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
4869
4870         * src/language.C (initL): change the initialization of languages
4871         so that compiles goes _fast_.
4872
4873         * src/menus.C (Add_to_toc_menu): limit the line length in TOC to
4874         40 chars.
4875
4876         * src/lyxfunc.C (processKeyEvent): initalize keysym_return to 0.
4877
4878 2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
4879
4880         * release 1.1.5pre3
4881
4882 2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
4883
4884         * src/WorkArea.C (request_clipboard_cb): give "C" linkage.
4885
4886 2000-05-19  Dekel Tsur  <dekel@math.tau.ac.il>
4887
4888         * src/commandtags.h
4889         * src/LyXAction.C
4890         * src/lyxfunc.C (Dispatch): Added LFUN_LOFVIEW, LFUN_LOTVIEW
4891         and LFUN_LOAVIEW
4892         
4893         * src/insets/insetlo*.[Ch]: Made editable
4894
4895 2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
4896
4897         * src/text2.C (SetSelection): call BufferView::stuffClipboard with
4898         the current selection.
4899
4900         * src/BufferView_pimpl.C (stuffClipboard): new method
4901
4902         * src/BufferView.C (stuffClipboard): new method
4903
4904         * src/paragraph.C (String): new method
4905
4906         * src/LColor.C (getFromLyXName): return LColor::inherit instead of
4907         LColor::ignore when lyxname is not found.
4908
4909         * src/BufferView.C (pasteSelection): new method
4910
4911         * src/BufferView_pimpl.C (pasteSelection): new method
4912
4913         * src/lyxfunc.C (Dispatch): use the new clipboard functions.
4914
4915         * src/WorkArea.C (request_clipboard_cb): new static function
4916         (getClipboard): new method
4917         (putClipboard): new method
4918
4919 2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
4920
4921         * LyX 1.1.5pre2 released
4922
4923 2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
4924
4925         * src/vspace.C (operator=): removed
4926         (operator=): removed
4927
4928         * src/lyx_gui_misc.C (askForText): manually set the type in make_pair
4929
4930         * src/layout.C (NumberOfClass): manually set the type in make_pair
4931         (NumberOfLayout): ditto
4932
4933         * src/language.C: use the Language constructor for ignore_lang
4934
4935         * src/language.h: add constructors to struct Language
4936
4937         * src/BufferView_pimpl.C (scrollDown): change to pair<float, float>
4938
4939         * src/text2.C (SetCursorIntern): comment out #warning
4940
4941         * src/mathed/math_symbols.C (pixmapFromBitmapData): add const_cast
4942
4943         * src/mathed/math_iter.h: initialize sx and sw to 0
4944
4945 2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>
4946
4947         * forms/lyx.fd: Redesign of form_ref
4948
4949         * src/LaTeXFeatures.[Ch]
4950         * src/buffer.C
4951         * src/lyx_cb.C
4952         * src/menus.C   
4953         * src/insets/insetref.[Ch]: Added support for varioref and prettyref.
4954
4955         * src/buffer.h
4956         * src/lyxparagraph.h: Added new classes: LyXParagraph::inset_iterator
4957         and Buffer::inset_iterator.
4958
4959         * src/menus.C: Added new menus: TOC and Refs.
4960
4961         * src/insets/insetlabel.C (Edit) Made InsetLabel editable.
4962
4963         * src/buffer.C (getTocList): New method.
4964
4965         * src/BufferView2.C (ChangeRefs): New method.
4966
4967         * src/buffer.C (getLabelList): New method. It replaces the old
4968         getReferenceList. The return type is vector<string> instead of 
4969         string.
4970
4971         * src/insets/insetinclude.C (getLabelList): New method. Replaces
4972         the old getLabel() and GetNumberOfLabels() methods.
4973         * src/insets/insetlabel.C (getLabelList): ditto
4974         * src/mathed/formula.C (getLabelList): ditto
4975         
4976         * src/paragraph.C (String): New method.
4977
4978         * src/lyx_cb.C (TocSelectCB,TocUpdateCB): Rewritten.
4979         Uses the new getTocList() method. 
4980         TocSelectCB() now calls to TocUpdateCB() before moving the cursor, 
4981         which automatically updates the contents of the browser.
4982         (RefUpdateCB): Use the new getLabelList method.
4983
4984         * src/lyxfunc.C (Dispatch): Give an error if the label is not found.
4985         
4986         * src/BufferView2.C (gotoLabel) Use the new getLabelList method.
4987
4988         * src/spellchecker.C: Added using std::reverse;
4989
4990 2000-05-19  Juergen Vigna  <jug@sad.it>
4991
4992         * src/tabular.C (Validate): fixed/added validating of LaTeXFeatures.
4993
4994         * src/insets/insettext.C (computeTextRows): small fix for display of
4995         1 character after a newline.
4996
4997         * src/tabular.C (OldFormatRead): fixed the OldFormatRead with regard
4998         to cont-rows!
4999
5000 2000-05-18  Juergen Vigna  <jug@sad.it>
5001
5002         * src/insets/insettabular.C (TabularFeatures): fixed update of display
5003         when changing width of column.
5004
5005         * src/tabular.C (set_row_column_number_info): setting of
5006         autobreak rows if necessary.
5007
5008 2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5009
5010         * src/lyxvc.C (toggleReadOnly): use VCS::status() instead of stat()
5011
5012         * src/vc-backend.*: renamed stat() to status() and vcstat to
5013         vcstatus. It happens that Tru64 Unix 5.0 has stat() as a macro and
5014         compilation broke. The new name seems more relevant, anyway.
5015
5016 2000-05-17  Juergen Vigna  <jug@sad.it>
5017
5018         * src/BufferView2.C (removeAutoInsets): fixed use of AutoDeleteInsets
5019         which was wrong if the removing caused removing of rows!
5020
5021         * src/lyxlex_pimpl.C (next, nextToken): insert support for pushToken.
5022         (pushToken): new function.
5023
5024         * src/text2.C (CutSelection): fix problem discovered with purify
5025
5026 2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5027
5028         * src/debug.C (showTags): enlarge the first column, now that we
5029         have 6-digits debug codes.
5030
5031         * lib/layouts/hollywood.layout:
5032         * lib/tex/hollywood.cls:        
5033         * lib/tex/brodway.cls: 
5034         * lib/layouts/brodway.layout: more commands and fewer
5035         environments. Preambles moved in the .cls files. Broadway now has 
5036         more options on scene numbering and less whitespace (from Garst)
5037
5038         * src/insets/insetbib.C (getKeys): make sure that we are in the
5039         document directory, in case the bib file is there.
5040
5041         * src/insets/insetbib.C (Latex): revert bogus change.
5042
5043 2000-05-16  Juergen Vigna  <jug@sad.it>
5044
5045         * src/insets/insettabular.C (UnlockInsetInInset): Changes to update
5046         the TabularLayout on cursor move.
5047
5048         * src/TabularLayout.C (TabularOptionsCB): Wrong call to MenuLayoutTable
5049
5050         * src/insets/insettabular.C (Clone): Clone the LyXTabular for
5051         undo-handling.
5052         (getCellXPos): 
5053         (draw): fixed cursor position and drawing so that the cursor is
5054         visible when before the tabular-inset.
5055
5056         * src/insets/insettext.C (init): drawLockedFrame was not initialized
5057         when creating from old insettext.
5058
5059         * src/tabular.C (Clone): added Clone of text-inset for undo-handling.
5060
5061 2000-05-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5062
5063         * lib/tex/hollywood.cls: better algorithm for page breaks (Garst)
5064         * lib/tex/brodway.cls: ditto 
5065
5066         * lib/layouts/brodway.layout: change alignment of parenthical
5067         layout (Garst)
5068         
5069 2000-05-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5070
5071         * config/lyxinclude.m4 (LYX_PATH_XFORMS): make it clear that only
5072         versions 0.88 and 0.89 are supported.
5073
5074 2000-05-15  Juergen Vigna  <jug@sad.it>
5075
5076         * src/insets/insetcollapsable.C (draw): enhancements in drawing and
5077         width calculating.
5078
5079         * src/insets/insettext.C (computeTextRows): redone completely this
5080         function in a much cleaner way, because of problems when having a
5081         fixed maxWidth.
5082         (draw): added a frame border when the inset is locked.
5083         (SetDrawLockedFrame): this sets if we draw the border or not.
5084         (SetFrameColor): this sets the frame color (default=insetframe).
5085
5086         * src/insets/lyxinset.h: added x() and y() functions which return
5087         the top_x and top_baseline values. Added a GetFirstLockingInsetOfType
5088         function which is needed to see if we have a locking inset of some
5089         type in this inset (needed for now in insettabular).
5090
5091         * src/vspace.C (inPixels): the same function also without a BufferView
5092         parameter as so it is easier to use it in some ocasions.
5093
5094         * src/lyxfunc.C: changed all places where insertInset was used so
5095         that now if it couldn't be inserted it is deleted!
5096
5097         * src/TabularLayout.C: 
5098         * src/TableLayout.C: added support for new tabular-inset!
5099
5100         * src/BufferView2.C (insertInset): this now returns a bool if the
5101         inset was really inserted!!!
5102
5103         * src/tabular.C (GetLastCellInRow): 
5104         (GetFirstCellInRow): new helper functions.
5105         (Latex): implemented for new tabular class.
5106         (TeXCellPostamble): 
5107         (TeXCellPreamble): 
5108         (TeXBottomHLine): 
5109         (TeXTopHLine): new Latex() helper functions.
5110
5111 2000-05-12  Juergen Vigna  <jug@sad.it>
5112
5113         * src/mathed/formulamacro.C (Read): 
5114         * src/mathed/formula.C (Read): read also the \end_inset here!
5115
5116 2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>
5117
5118         * src/mathed/math_write.C (MathParInset::Write): Fixed a bug:
5119         crush when saving formulae with unbalanced parenthesis.
5120
5121 20000-05-11  Dekel Tsur  <dekel@math.tau.ac.il>
5122
5123         * src/layout.C: Add new keyword "endlabelstring" to layout file
5124
5125         * src/text.C (GetVisibleRow): Draw endlabel string.
5126
5127         * lib/layouts/broadway.layout
5128         * lib/layouts/hollywood.layout: Added endlabel for the
5129         Parenthetical layout.
5130
5131         * lib/layouts/heb-article.layout: Do not use slanted font shape
5132         for Theorem like environments.
5133
5134         * src/buffer.C (makeLaTeXFile): Always add "american" to 
5135         the UsedLanguages list if document language is RTL. 
5136
5137 2000-05-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5138
5139         * add addendum to README.OS2 and small patch (from SMiyata)
5140
5141 2000-05-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5142
5143         * many files: correct the calls to ChangeExtension().
5144
5145         * src/support/filetools.C (ChangeExtension): remove the no_path
5146         argument, which does not belong there. Use OnlyFileName() instead.
5147
5148         * src/insets/insetbib.C (Latex): use absolute paths for bibtex
5149         files when LaTeXing a non-nice latex file.
5150
5151         * src/lyxlookup.C (isDeadEvent): use a switch statement instead of
5152         a chain of "if". Return false when deadkeys are not handled.
5153         
5154         * src/lyx_main.C (LyX): adapted the code for default bindings.
5155
5156         * src/kbmap.C (defaultKeyBindings): new method. Performs the default
5157         bindings for basic functionality (except deadkeys).
5158         (deadKeyBindings): new method. Performs the bindings of deadkeys.
5159
5160         * src/lyxrc.C (defaultKeyBindings): moved to lyx_main.C 
5161         several methods: handle override_x_deadkeys.
5162
5163         * src/lyxrc.h: remove the "bindings" map, which did not make much
5164         sense anyway. New variable override_x_deadkeys, defaulting to "true".
5165         
5166 2000-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5167
5168         * src/lyxfont.C (stateText): use a saner method to determine
5169         whether the font is "default". Seems to fix the crash with DEC
5170         cxx. 
5171
5172         * src/Bullet.[Ch] (Bullet): remove const on parameters.
5173
5174 2000-05-08  Juergen Vigna  <jug@sad.it>
5175
5176         * src/insets/insettabular.C (InsetButtonRelease): Now opens the
5177         TabularLayoutMenu with mouse-button-3
5178         (LocalDispatch): added LFUN_MENU_LAYOUT to open the Tabular-Layout.
5179
5180         * src/TabularLayout.C: added this file for having a Layout for
5181         tabular-insets.
5182
5183 2000-05-05  Juergen Vigna  <jug@sad.it>
5184
5185         * src/insets/insettabular.C (UpdateLocal): resetCursorPos when
5186         recalculating inset-widths.
5187         (TabularFeatures): activated this function so that I can change
5188         tabular-features via menu.
5189
5190         * src/menus.C (ShowEditMenu): inserted support for insettabular so
5191         that I can test some functions with the Table menu.
5192
5193 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
5194
5195         * src/lyxfont.C (stateText): guard against stupid c++libs.
5196
5197         * src/tabular.C: add using std::vector
5198         some whitespace changes, + removed som autogenerated code.
5199
5200         * src/buffer.C (parseSingleLyXformat2Token): stupid bug.
5201
5202 2000-05-05  Juergen Vigna  <jug@sad.it>
5203
5204         * src/tabular.[Ch]: now using std:vector instead of arrays for all the
5205         row, columns and cellstructures.
5206
5207 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
5208
5209         * lib/lyxrc.example: remove obsolete entries.
5210
5211         * src/buffer.C (parseSingleLyXformat2Token): patch from dekel, fix
5212         reading of protected_separator for free_spacing.
5213
5214 2000-05-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5215
5216         * src/text.C (draw): do not display an exclamation mark in the
5217         margin for margin notes. This is confusing, ugly and
5218         uninformative. 
5219
5220         * src/LaTeXFeatures.C (getPackages): load amssymb also when 'Use
5221         AMS math' is checked.
5222
5223         * src/buffer.C (makeLaTeXFile): do not depend on the textclass
5224         name to see whether including the amsmath package is needed.
5225
5226 2000-05-05  Dekel Tsur  <dekel@math.tau.ac.il>
5227
5228         * src/paragraph.C (validate): Compute UsedLanguages correctly
5229         (don't insert the american language if it doesn't appear in the
5230         document)
5231
5232         * src/paragraph.C (TeXOnePar,SimpleTeXOnePar,SimpleTeXSpecialChars)
5233         The argument of \thanks{} command is considered moving argument
5234
5235         * src/paragraph.C (SimpleTeXOnePar): Put \protect before \\ if in
5236         moving argument.
5237
5238 2000-05-04  Dekel Tsur  <dekel@math.tau.ac.il>
5239
5240         * src/text.C (GetVisibleRow): Improved drawing of vertical lines
5241         for appendix/minipage/depth. The lines can be now both in the footnote 
5242         frame, and outside the frame.
5243
5244         * src/text.C (SingleWidth,draw): Correct rendering of Hebrew vowels
5245         points ("nikud")
5246
5247 2000-05-05  Juergen Vigna  <jug@sad.it>
5248
5249         * src/table.[Ch]: removed the inset and buffer stuff as this is now
5250         neede only in tabular.[Ch].
5251
5252 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
5253
5254         * src/insets/insetspecialchar.C (Read): allow command == '~' for
5255         PROTECTED_SEPARATOR 
5256         (Write): write '~' for PROTECTED_SEPARATOR
5257
5258 2000-05-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5259
5260         * src/lyxparagraph.h: add a friend struct matchIT after the struct
5261         InsetTable.
5262
5263         * src/mathed/formula.C (drawStr): rename size to siz.
5264
5265         * src/insets/figinset.C (RestoreForm): rename pflags to piflags,
5266         possibly fix a bug by not changing the pflags = flags to piflags =
5267         flags.
5268
5269 2000-05-05  Juergen Vigna  <jug@sad.it>
5270
5271         * src/insets/insetbib.C: moved using directive
5272
5273         * src/ImportNoweb.C: small fix for being able to compile (missing
5274         include cstdlib)
5275
5276 2000-05-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5277
5278         * config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
5279         to use clear, since we don't depend on this in the code. Add test
5280         for string::compare
5281
5282 2000-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5283
5284         * (various *.C files): add using std::foo directives to please dec
5285         cxx.
5286
5287         * replace calls to string::clear() to string::erase() (Angus)
5288
5289         * src/cheaders/cmath: modified to provide std::abs.
5290
5291 2000-05-04  Juergen Vigna  <jug@sad.it>
5292
5293         * src/insets/insettext.C: Prepared all for inserting of multiple
5294         paragraphs. Still display stuff to do (alignment and other things),
5295         but I would like to use LyXText to do this when we cleaned out the
5296         table-support stuff.
5297
5298         * src/insets/insettabular.C: Changed lot of stuff and added lots
5299         of functionality still a lot to do.
5300
5301         * src/tabular.C: Various functions changed name and moved to be
5302         const functions. Added new Read and Write functions and changed
5303         lots of things so it works good with tabular-insets (also removed
5304         some stuff which is not needed anymore * hacks *).
5305
5306         * src/lyxcursor.h: added operators == and != which just look if
5307         par and pos are (not) equal.
5308
5309         * src/buffer.C (latexParagraphs): inserted this function to latex
5310         all paragraphs form par to endpar as then I can use this too for
5311         text-insets.
5312
5313         * src/text2.C (SetLayout): Changed this to use a cursor this is needed
5314         so that I can call this to from text insets with their own cursor.
5315
5316         * src/buffer.C (makeLaTeXFile): added the output of one \n after the
5317         output off all paragraphs (because of the fix below)!
5318
5319         * src/paragraph.C (TeXOnePar): removed output of \n when we are in
5320         the very last paragraph (this could be also the last paragraph of an
5321         inset!)
5322
5323         * src/texrow.h: added rows() call which returns the count-variable.
5324
5325 2000-05-03  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5326
5327         * lib/lyxrc.example: fix examples for exporting SGML to HTML.
5328
5329         * lib/configure.m4: better autodetection of DocBook tools.
5330
5331 2000-04-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5332
5333         * src/lyx_main.C (easyParse): use lyxerr instead of cerr.
5334
5335         * src/lyx_cb.C: add using std::reverse;
5336
5337         * src/LaTeX.C (run): on error always run deleteFilesOnError before
5338         returning.
5339
5340         * src/LaTeX.[Ch] (deleteFilesOnError): new method. unlinks some
5341         selected files. Should fix repeated errors from generated files.
5342
5343 2000-04-27  Dekel Tsur  <dekel@math.tau.ac.il>
5344
5345         * src/lyx_cb.C (TocUpdateCB): Reverse strings for Hebrew paragraphs
5346
5347         * src/spellchecker.C (RunSpellChecker): Reverse Hebrew strings in
5348         the spellchecker popup. 
5349
5350         * lib/lyxrc.example:  Removed the \number_inset section
5351
5352 2000-04-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5353
5354         * src/insets/figinset.C (various): Use IsFileReadable() to make
5355         sure that the file actually exist. Relying on ghostscripts errors
5356         is a bad idea since they can lead to X server crashes.  
5357
5358 2000-04-27  Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5359
5360         * intl/loadmsgcat.c (_nl_load_domain): pass O_BINARY as flag to
5361         open under CYGWIN 
5362
5363         * lib/lyxrc.example: smallish typo in description of
5364         \view_dvi_paper_option 
5365
5366 2000-04-26  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
5367
5368         * src/lyxfunc.h:
5369         * src/lyxfunc.C: doImportHelper to factor out common code of the
5370         various import methods. New functions doImportASCIIasLines,
5371         doImportASCIIasParagraphs, doImportLaTeX, doImportNoWeb,
5372         doImportLinuxDoc  for the  format specific parts.
5373
5374         * buffer.h:
5375         * buffer.C: Dispatch  returns now a bool to indicate success
5376
5377         * lyx_gui.h:
5378         * lyx_gui.C: Add getLyXView() for member access
5379
5380         * lyx_main.C: Change logic for batch commands: First try
5381         Buffer::Dispatch (possibly without GUI), if that fails, use
5382         LyXFunc::Dispatch
5383
5384         * lyx_main.C: Add support for --import command line switch.
5385         Now 'lyx --import ascii file.txt' opens the GUI with file.txt loaded.
5386         Available Formats: Everything  accepted by 'buffer-import <format>'
5387
5388 2000-04-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
5389
5390         * src/lyx_gui.C (create_forms): small oneliner from Garst to have
5391         unnumbered parts.
5392
5393         * src/lyx_cb.C (ScreenApplyCB): clear the textcache so that the
5394         documents will be reformatted upon reentry.
5395
5396 2000-04-27  Juergen Vigna  <jug@sad.it>
5397
5398         * src/CutAndPaste.C (pasteSelection): last paragraph was not returned
5399         correctly only last pos this was a bug.
5400
5401 2000-04-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
5402
5403         * release of lyx-1.1.5pre1
5404
5405 2000-04-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5406
5407         * src/insets/insettabular.[Ch]: fix the Clone() declaration.
5408
5409         * src/menus.C: revert the change of naming (Figure->Graphic...)
5410         from 2000-04-11. It was incomplete and bad.
5411         
5412         * src/LColor.[Ch]: add LColor::depthbar.
5413         * src/text.C (GetVisibleRow): use it.
5414
5415         * README: update the languages list.
5416
5417 2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>
5418
5419         * src/text.C (GetVisibleRow): show the depth of paragraphs using
5420         vertical bars.
5421
5422 2000-04-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
5423
5424         * README: remove sections that were just wrong.
5425
5426         * src/text2.C (GetRowNearY): remove currentrow code
5427
5428         * src/text.C (GetRow): remove currentrow code
5429
5430         * src/screen.C (Update): rewritten a bit.
5431         (SmallUpdate): removed func
5432
5433         * src/lyxtext.h (text_status): removed NEED_LITTLE_REFRESH, never
5434         used.
5435         (FullRebreak): return bool
5436         (currentrow): remove var
5437         (currentrow_y): ditto
5438
5439         * src/lyxscreen.h (Draw): change arg to unsigned long
5440         (FitCursor): return bool
5441         (FitManualCursor): ditto
5442         (Smallpdate): remove func
5443         (first): change to unsigned long
5444         (DrawOneRow): change second arg to long (from long &)
5445         (screen_refresh_y): remove var
5446         (scree_refresh_row): ditto
5447         
5448         * src/lyxrow.h: change baseline to usigned int from unsigned
5449         short, this brings some implicit/unsigned issues out in the open.
5450
5451         * src/lyxfunc.C (moveCursorUpdate): update(0) == update(-2) change
5452         accordingly.
5453         (Dispatch): don't call updateScrollbar after fitCursor. Use update
5454         instead of smallUpdate.
5455
5456         * src/lyxcursor.h: change y to unsigned long
5457
5458         * src/buffer.h: don't call updateScrollbar after fitcursor
5459
5460         * src/buffer.C (parseSingleLyXformat2Token): move variables to
5461         where they are used. Removed "\\direction", this was not present
5462         in 1.1.4 and is already obsolete. Commented out some code that I
5463         believe to never be called.
5464         (runLiterate): don't call updateScrollbar after fitCursor
5465         (runLaTeX): ditto
5466         (buildProgram): ditto
5467         (runChktex): ditto
5468
5469         * src/WorkArea.h (workWidth): change return val to unsigned
5470         (width): ditto
5471         (height): ditto
5472         (redraw): remove the button redraws
5473         (setScrollbarValue): change for scrollbar
5474         (getScrollbarValue): change for scrollbar
5475         (getScrollbarBounds): change for scrollbar
5476
5477         * src/WorkArea.C (C_WorkArea_up_cb): removed func
5478         (C_WorkArea_down_cb): removed func
5479         (WorkArea): use fl_add_scrollbar instead of two buttons and a slider.
5480         (resize): change for scrollbar
5481         (setScrollbar): ditto
5482         (setScrollbarBounds): ditto
5483         (setScrollbarIncrements): ditto
5484         (up_cb): removed func
5485         (down_cb): removed func
5486         (scroll_cb): change for scrollbar
5487         (work_area_handler): ditto
5488
5489         * src/BufferView_pimpl.C (fitCursor): only call updateScrollbar
5490         when FitCursor did something.
5491         (updateScrollbar): some unsigned changes
5492         (downCB): removed func
5493         (scrollUpOnePage): removed func
5494         (scrollDownOnePage): remvoed func
5495         (workAreaMotionNotify): don't call screen->FitCursor but use
5496         fitCursor instead. and bool return val
5497         (workAreaButtonPress): ditto
5498         (workAreaButtonRelease): some unsigned changes
5499         (checkInsetHit): ditto
5500         (workAreaExpose): ditto
5501         (update): parts rewritten, comments about the signed char arg added
5502         (smallUpdate): removed func
5503         (cursorPrevious): call needed updateScrollbar
5504         (cursorNext): ditto
5505
5506         * src/BufferView2.C (allFloats): don't call updateScrollbar after
5507         fitCursor.
5508
5509         * src/BufferView.[Ch] (upCB): removed func
5510         (downCB): removed func
5511         (smallUpdate): removed func
5512
5513 2000-04-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
5514
5515         * src/lyxtext.h src/text.C src/text2.C: removed support for the
5516         currentrow, currentrow_y optimization. This did not help a lot and
5517         if we want to do this kind of optimization we should rather use
5518         cursor.row instead of the currentrow. 
5519
5520         * src/buffer.C (parseSingleLyXformat2Token): fixed mistake in
5521         buffer spacing and klyx spacing support.
5522
5523 2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>
5524
5525         * src/spellchecker.C (RunSpellChecker): Speedup spellchecking by
5526         a factor of 50!
5527
5528 2000-04-26  Juergen Vigna  <jug@sad.it>
5529
5530         * src/insets/figinset.C: fixes to Lars sstream changes!
5531
5532 2000-04-23  Dekel Tsur  <dekel@math.tau.ac.il>
5533
5534         * A lot of files: Added Ascii(ostream &) methods to all inset
5535         classes. Used when exporting to ASCII.
5536         
5537         * src/buffer.C (writeFileAscii,RoffAsciiTable)
5538         * src/paragraph.C (RoffContTableRows): Use the Ascii() methods
5539         instead of Latex()
5540
5541         * src/text2.C (ToggleFree): Disabled implicit word selection when
5542         there is a change in the language
5543         
5544         * src/insets/insetspecialchar.C (Linuxdoc,DocBook): Fixed a bug:
5545         no output was generated for end-of-sentence inset.
5546         
5547         * src/insets/lyxinset.h
5548         * src/buffer.C
5549         * src/lyxfunc.C
5550         * src/paragraph.C: Removed the insetnumber code
5551
5552         * src/text.C (SelectWordWhenUnderCursor): Cleaned the code.
5553
5554 2000-04-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
5555
5556         * src/buffer.C (parseSingleLyXformat2Token): remove no_isolatin1,
5557         no_babel and no_epsfig completely from the file.
5558         (parseSingleLyXformat2Token): add handling for per-paragraph
5559         spacing as written by klyx.
5560
5561         * src/insets/figinset.C: applied patch by Andre. Made it work with
5562         ostringstream too.
5563
5564 2000-04-20  Juergen Vigna  <jug@sad.it>
5565
5566         * src/insets/insettext.C (cutSelection): 
5567         (copySelection): Fixed with selection from right to left.
5568         (draw): now the rows are not recalculated at every draw.
5569         (computeTextRows): for now reset the inset-owner here (this is
5570         important for an undo or copy where the inset-owner is not set
5571         automatically!)
5572
5573         * src/BufferView_pimpl.C (workAreaMotionNotify): when passing the
5574         motion to the_locking_inset screen->first was forgotten, this was
5575         not important till we got multiline insets.
5576
5577 2000-04-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5578
5579         * src/mathed/formulamacro.C (Latex): remove CHECK comment, since
5580         code seems to be alright (it is code changed by Dekel, and the
5581         intent is indeed that all macros should be defined \protect'ed)
5582
5583         * NEWS: a bit of reorganisation of the new user-visible features.
5584
5585 2000-04-19  Juergen Vigna  <jug@sad.it>
5586
5587         * src/insets/insettext.C (init): using a LyXCursor now for cursor
5588         position. Set the inset_owner of the used paragraph so that it knows
5589         that it is inside an inset. Fixed cursor handling with mouse and
5590         cursor keys. Fixed wrong timed inset redraws and lots of other changes
5591         and cleanups to make TextInsets work better.
5592
5593         * src/insets/insettext.h: Using a LyXCursor now. Added a clear() call.
5594         Changed parameters of various functions and added LockInsetInInset().
5595
5596         * src/insets/insettext.C: 
5597
5598         * src/insets/insetcollapsable.h: 
5599         * src/insets/insetcollapsable.C: 
5600         * src/insets/insetfoot.h: 
5601         * src/insets/insetfoot.C: 
5602         * src/insets/insetert.h: 
5603         * src/insets/insetert.C: cleaned up the code so that it works now
5604         correctly with insettext.
5605
5606         * src/insets/inset.C: 
5607         * src/insets/lyxinset.h: inserted inset_owner and some more changes so
5608         that insets in insets are supported right.
5609
5610         * src/table.h: 
5611         * src/table.C: lots of changes for use with inset tabular (and cleanup)
5612
5613         * src/paragraph.C: some small fixes
5614
5615         * src/debug.h: inserted INSETS debug info
5616
5617         * src/lyxfunc.C (Dispatch): added code for InsetTabular and some inset
5618         fixes (f.ex. calling LFUN_DOWN if exiting inset with LFUN_DOWN).
5619
5620         * src/commandtags.h: 
5621         * src/LyXAction.C: insert code for InsetTabular.
5622
5623         * src/BufferView_pimpl.C (workAreaMotionNotify): do return always if
5624         not Button1MotionMask.
5625         (workAreaButtonRelease): send always a InsetButtonRelease event to
5626         the_locking_inset.
5627         (checkInsetHit): some setCursor fixes (always with insets).
5628
5629         * src/BufferView2.C (lockInset): returns a bool now and extended for
5630         locking insets inside insets.
5631         (showLockedInsetCursor): it is important to have the cursor always
5632         before the locked inset.
5633         (fitLockedInsetCursor): forgot adding of InsetInInsetY()-offset.
5634
5635         * src/BufferView.h: made lockInset return a bool.
5636
5637         * src/lyxtext.h: inserted function SetCursor(LyXCursor, ...).
5638
5639         * src/text2.C (SetCursor): This now has a version with a LyXCursor
5640         that is used also internally but can be called as public to have back
5641         a cursor pos which is not set internally.
5642         (SetCursorIntern): Changed to use above function.
5643
5644         * src/CutAndPaste.C (DeleteBuffer): forgot to inizialize textclass
5645
5646 2000-04-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
5647
5648         * ANNOUNCE: 
5649         * INSTALL: 
5650         * UPGRADING: 
5651         * NEWS: updated for prerelease of 1.1.5. Please comment and send
5652         patches for things that should be in or should be changed.
5653
5654         * src/* [insetfiles]: change "usigned char fragile" to bool
5655         fragile. There was only one point that could that be questioned
5656         and that is commented in formulamacro.C. Grep for "CHECK".
5657         
5658         * src/CutAndPaste.C (getBufferTextClass): unused func, removed.
5659         (DeleteBuffer): take it out of CutAndPaste and make it static.
5660
5661 2000-04-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5662
5663         * src/paragraph.C (TeXOnePar): use the new method in Spacing to
5664         output the spacing envir commands. Also the new commands used in
5665         the LaTeX output makes the result better.
5666
5667         * src/Spacing.C (writeEnvirBegin): new method
5668         (writeEnvirEnd): new method
5669
5670 2000-04-18  Juergen Vigna  <jug@sad.it>
5671
5672         * src/CutAndPaste.C: made textclass a static member of the class
5673         as otherwise it is not accesed right!!!
5674
5675 2000-04-17  Dekel Tsur  <dekel@math.tau.ac.il>
5676
5677         * forms/layout_forms.fd
5678         * src/layout_forms.h
5679         * src/layout_forms.C (create_form_form_character)
5680         * src/lyx_cb.C (UserFreeFont)
5681         * src/lyx_gui.C (create_forms): Added GUI support for multi-lingual
5682         documents (in the layout->character popup).
5683
5684 2000-04-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5685
5686         * src/spellchecker.C (create_ispell_pipe): fix a bug where
5687         \spell_command was in fact not honored (from Kevin Atkinson).
5688
5689         * src/lyx_gui.C (~LyXGUI): make sure lyxViews is deleted when
5690         quitting (Angus)
5691
5692         * src/lyx_gui.h: make lyxViews private (Angus)
5693
5694 2000-04-15  Dekel Tsur  <dekel@math.tau.ac.il>
5695
5696         * src/mathed/math_write.C
5697         (MathMatrixInset::Write) Put \protect before \begin{array} and
5698         \end{array} if fragile
5699         (MathParInset::Write): Put \protect before \\ if fragile
5700
5701 2000-04-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
5702
5703         * src/lyx_gui.C (LyXGUI): initialize the LyXColorHandler. The
5704         initialization if the LyXColorHandler must be done after the
5705         connections to the XServer has been established.
5706
5707         * src/insets/figinset.C (runqueue): change the grabing a bit. Also
5708         get the background pixel from the lyxColorhandler so that the
5709         figures are rendered with the correct background color.
5710         (NextToken): removed functions.
5711         (GetPSSizes): use ifs >> string instead of NextToken.
5712
5713         * src/Painter.[Ch]: the color cache moved out of this file. 
5714
5715         * src/ColorHandler.[Ch]: new files. Holds the gc cache for color
5716         and lines.  
5717
5718 2000-04-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
5719
5720         * src/WorkArea.C (work_area_handler): call BufferView::enterView
5721         and Buffer::leaveView when FL_ENTER and FL_LEAVE.
5722
5723         * src/BufferView.C (enterView): new func
5724         (leaveView): new func
5725
5726         * src/BufferView_pimpl.C (enterView): new func, sets xterm cursor
5727         when approp.
5728         (leaveView): new func, undefines xterm cursor when approp.
5729
5730         * src/bufferview_funcs.C: moved SetXCursor to BufferView_pimp.C
5731         (AllowInput): delete the Workarea cursor handling from this func.
5732
5733         * src/Painter.C (underline): draw a slimer underline in most cases.
5734
5735         * src/lyx_main.C (error_handler): use extern "C"
5736
5737 2000-04-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
5738
5739         * src/insets/figinset.C (DocBook): small patch from Jose (jamatos)
5740         sent directly to me.
5741
5742         * src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
5743         to the list by Dekel.
5744
5745         * src/lyxfunc.C (Dispatch): make PARAGRAPH_SPACING compile with
5746         strstream too.
5747
5748         * src/bufferview_funcs.[Ch]: two new files, moved several of the
5749         methods from lyx_cb.here.
5750
5751         * src/lyx_cb.C: in addition to the above; removed input_prohibited
5752         it was not used.
5753
5754 2000-04-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
5755
5756         * src/lyx_cb.[Ch]: made several functions take a BufferView* arg
5757         instead of using current_view directly. 
5758
5759         * src/lyxfunc.C (Dispatch): the paragraph-spacing implementation
5760
5761         * src/LyXAction.C (init): add the paragraph-spacing command.
5762
5763         * src/commandtags.h: add enum for LFUN_PARAGRAPH_SPACING
5764
5765         * src/buffer.C (parseSingleLyXformat2Token): read the paragraph spacing
5766
5767         * src/lyx_cb.C (CurrentState): output a string when the spacing is
5768         different from the documents.
5769
5770         * src/text.C (SetHeightOfRow): take paragraph spacing into
5771         account, paragraph spacing takes precedence over buffer spacing
5772         (GetVisibleRow): ditto
5773
5774         * src/paragraph.C (writeFile): output the spacing parameter too.
5775         (validate): set the correct features if spacing is used in the
5776         paragraph. 
5777         (Clear): set spacing to default
5778         (MakeSameLayout): spacing too
5779         (HasSameLayout): spacing too
5780         (SetLayout): spacing too
5781         (TeXOnePar): output the spacing commands
5782
5783         * src/lyxparagraph.h: added a spacing variable for use with
5784         per-paragraph spacing.
5785
5786         * src/Spacing.h: add a Default spacing and a method to check if
5787         the current spacing is default. also added an operator==
5788
5789         * src/text2.C (DeleteEmptyParagraphMechanism): added a
5790         RedoParagraphs.
5791
5792 2000-04-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5793
5794         * src/lyxserver.C (callback): fix dispatch of functions
5795
5796         * src/insets/insetlatexaccent.C (checkContents): turn bogus
5797         printf() into lyxerr call. 
5798
5799         * src/tex-strings.C (tex_fonts): add "pslatex" to the choice of
5800         fonts. 
5801
5802         * src/menus.C (ShowInsertMenu): rename "Figure" to "Graphic",
5803         "Table" to "Table Box", "Float" to "Floating Material"; deletes
5804         the "Float" from each of the subitems.
5805         (ShowHelpMenu): add entry for "FAQ" and "TOC".
5806
5807         * src/support/DebugStream.h: add an #ifdef to work around a gcc
5808         2.8.x compiler error. Yes, I know, gcc 2.8.1 is bad, but I
5809         documented the change so that the workaround can be nuked later.
5810
5811         * src/lyx_gui_misc.C (getScreenDPI): new function. Code moved from 
5812         LyX::init().
5813         
5814         * src/lyxlex_pimpl.C (next): do not re-declare the default value
5815         of arguments.
5816         * src/buffer.C (getLatexName): ditto
5817         (setReadonly): ditto
5818
5819 2000-04-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
5820
5821         * src/LaTeXFeatures.h: add a const reference to BufferParams, to
5822         avoid some uses of current_view. Added also a bufferParams()
5823         method to get at this.
5824
5825         * src/lyxtext.h: changed params->buffer and paramters->bparams.
5826
5827 2000-04-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5828
5829         * src/lyxparagraph.[Ch]: removed
5830         operator<(LyXParagraph::InsetTable..., added a struct matchIT
5831         with operators used by lower_bound and
5832         upper_bound in InsetTable's
5833         Make struct InsetTable private again. Used matchpos.
5834
5835 2000-04-08  Dekel Tsur  <dekel@math.tau.ac.il>
5836         
5837         * src/lyx_cb.C (DocumentApplyCB): When changing the language of the
5838         document, the language of existing text is changed (unless the
5839         document is multi-lingual)
5840
5841         * src/buffer.C (ChangeLanguage,isMultiLingual) New methods.
5842
5843         * src/paragraph.C (ChangeLanguage,isMultiLingual) New methods.
5844
5845         * A lot of files: A rewrite of the Right-to-Left support.
5846    
5847 2000-04-10  Juergen Vigna  <jug@sad.it>
5848
5849         * src/BufferView2.C (showLockedInsetCursor): small bugfix for
5850         misplaced cursor when inset in inset is locked.
5851
5852         * src/insets/insettext.C (LocalDispatch): small fix so that a
5853         BREAKLINE is not inserted if we don't permit it with autBreakRows.
5854
5855         * src/insets/insetfoot.C (GetDrawFont): implemented this as the
5856         footnote font should be decreased in size twice when displaying.
5857
5858         * src/insets/insettext.C (GetDrawFont): inserted this function as
5859         the drawing-font may differ from the real paragraph font.
5860
5861         * src/lyxfunc.C (processKeyEvent): fixed Esc-handling when unlocking
5862         insets (inset in inset!).
5863
5864         * src/insets/insetfoot.C (InsertInsetAllowed): implemented the below
5865         function here because we don't want footnotes inside footnotes.
5866
5867         * src/insets/insettext.C (InsetText): forgot to set autoBreakRows for
5868         Cloned insets.
5869         (init): now set the inset_owner in paragraph.C
5870         (LocalDispatch): added some resetPos() in the right position
5871         (cutSelection): 
5872         (copySelection): 
5873         (pasteSelection): changed to use the new CutAndPaste-Class.
5874
5875         * src/insets/lyxinset.h: inserted new function InsertInsetAllowed
5876         which tells if it is allowed to insert another inset inside this one.
5877
5878         * src/lyx_cb.C (DocumentApplyCB): Using CutAndPaste-Class for
5879         SwitchLayoutsBetweenClasses.
5880
5881         * src/text2.C (InsertInset): checking of the new paragraph-function
5882         InsertInsetAllowed.
5883         (DeleteSimpleCutBuffer): removed (for now only with #ifdef) as this
5884         is not needed anymore here!
5885         (CutSelection): 
5886         (CopySelection): 
5887         (PasteSelection): redone (also with #ifdef) so that now this uses
5888         the CutAndPaste-Class.
5889         (SwitchLayoutsBetweenClasses): removed here and implemented in the
5890         CutAndPaste-Class.
5891         
5892         * src/CutAndPaste.[Ch]: added this for clean handling of CutAndPaste
5893         from/to text/insets.
5894
5895         * src/paragraph.C (LyXParagraph): inserted new inset_owner pointer
5896         so that the paragraph knows if it is inside an (text)-inset.
5897         (InsertFromMinibuffer): changed return-value to bool as now it
5898         may happen that an inset is not inserted in the paragraph.
5899         (InsertInsetAllowed): this checks if it is allowed to insert an
5900         inset in this paragraph.
5901         (PasteParagraph): 
5902         (BreakParagraphConservative): 
5903         (BreakParagraph) : small change for the above change of the return
5904         value of InsertFromMinibuffer.
5905
5906         * src/lyxparagraph.h: added inset_owner and the functions to handle
5907         this (SetInsetOwner(), InInset() and InsertInsetAllowed()).
5908
5909 2000-04-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5910
5911         * src/BufferView.[Ch], src/BufferView_pimpl.[Ch]: move more
5912         functions from BufferView to BufferView::Pimpl to ease maintence.
5913         
5914         * src/text2.C (DeleteEmptyParagraphMechanism): update the cursor
5915         correctly. Also use SetCursorIntern instead of SetCursor.
5916
5917         * src/insets/insetinfo.C (draw): draw InsetInfo notes with the
5918         correct color.
5919
5920 2000-04-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
5921
5922         * src/WorkArea.C (belowMouse): manually implement below mouse.
5923
5924         * src/*: Add "explicit" on several constructors, I added probably
5925         some unneeded ones. A couple of changes to code because of this.
5926
5927         * src/BufferView.[Ch]: Used the "pimpl" idiom to hide more of the
5928         implementation and private parts from the users of BufferView. Not
5929         quite finished.
5930
5931         * src/lyxlex.[Ch]: Used the "pimpl" idiom to hide more of the
5932         implementation and private parts from the users of LyXLex. Not
5933         quite finished.
5934
5935         * src/BufferView_pimpl.[Ch]: new files
5936
5937         * src/lyxlex_pimpl.[Ch]: new files
5938
5939         * src/LyXView.[Ch]: some inline functions move out-of-line
5940
5941 2000-04-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5942
5943         * src/lyxparagraph.h: make struct InsetTable public.
5944
5945         * src/support/lyxstring.h: change lyxstring::difference_type to be
5946         ptrdiff_t. Add std:: modifiers to streams.
5947
5948         * src/font.C: include the <cctype> header, for islower() and
5949         isupper(). 
5950
5951 2000-04-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
5952
5953         * src/font.[Ch]: new files. Contains the metric functions for
5954         fonts, takes a LyXFont as parameter. Better separation of concepts.
5955         
5956         * src/lyxfont.[Ch]: move the metric functions to font.[Ch] several
5957         changes because of this.
5958
5959         * src/PainterBase.[Ch] (width): remove, use the ones in font.C instead
5960
5961         * src/*: compile with -Winline and move functions that don't
5962         inline out of line.
5963         
5964         * src/lyx_cb.C (stringOnlyContains): use string::find_first_not_of
5965         instead of strspn.
5966
5967 2000-04-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5968
5969         * src/paragraph.C (GetLabelstring): renamed from GetLabestring.
5970         (various files changed because of this)
5971
5972         * src/Painter.C (text): fixed the drawing of smallcaps.
5973
5974         * src/lyxfont.[Ch] (drawText): removed unused member func.
5975         (drawString): ditto
5976
5977         * src/*.C: added needed "using" statements and "std::" qualifiers. 
5978
5979 2000-03-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
5980
5981         * src/*.h: removed all use of "using" from header files use
5982         qualifier std:: instead. 
5983
5984 2000-04-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5985
5986         * src/text.C (Backspace): some additional cleanups (we already
5987         know whether cursor.pos is 0 or not).
5988
5989         * lib/reLyX/Makefile.am (DESTDIR): add an empty value (since
5990         automake does not provide one).
5991
5992         * src/bmtable.h: replace C++ comments with C comments.
5993
5994 2000-04-02  Dekel Tsur <dekel@math.tau.ac.il>
5995
5996         * src/screen.C (ShowCursor): Change the shape of the cursor if
5997         the current language is not equal to the language of the document.
5998         (If the cursor change its shape unexpectedly, then you've found a bug)
5999
6000         * src/insets/insettext.C (LocalDispatch, UpdateLocal) Fixed some
6001         bugs [I hope...]
6002
6003         * src/insets/insetnumber.[Ch]: New files.
6004
6005         * src/LyXAction.C (init)
6006         * src/lyxfunc.C (dispatch): Add command number-inset-insert
6007
6008         * lyxrc.example
6009         * src/lyxrc.C: Renamed command \auto_mathmode to \number_inset
6010
6011         * src/lyxparagraph.h
6012         * src/paragraph.C: Changed insetlist to Vector<InsetTable>.
6013         (the vector is kept sorted).
6014
6015         * src/text.C (GetVisibleRow): Draw selection correctly when there
6016         is both LTR and RTL text.
6017
6018         * src/paragraph.C (Clone): Use the assignment operator for cloning,
6019         which is much faster.
6020
6021         * src/text.C (GetVisibleRow and other): Do not draw the last space 
6022         in a row if the direction of the last letter is not equal to the
6023         direction of the paragraph.
6024
6025         * src/lyxfont.C (latexWriteStartChanges):
6026         Check that font language is not equal to basefont language.
6027         (latexWriteEndChanges): ditto
6028
6029         * src/lyx_cb.C (StyleReset): Don't change the language while using
6030         the font-default command.
6031
6032         * src/paragraph.C (GetFirstFontSettings): Handle correctly an
6033         empty paragraph before a footnote.
6034
6035         * src/insets/insetcommand.C (draw): Increase x correctly.
6036
6037         * src/screen.C (ShowCursor): Change cursor shape if
6038         current language != document language.
6039
6040         * src/lyxfunc.C (dispatch): Added calls to owner->view()->setState()
6041
6042 2000-03-31  Juergen Vigna  <jug@sad.it>
6043
6044         * src/paragraph.C (GetInset): commented out text[pos] = ' '
6045         (Clone): changed mode how the paragraph-data is copied to the
6046         new clone-paragraph.
6047
6048         * src/lyxfunc.C (Dispatch): fixed small problem when calling
6049         GetInset(pos) with no inset anymore there (in inset UNDO)
6050
6051         * src/insets/insetcommand.C (draw): small fix as here x is
6052         incremented not as much as width() returns (2 before, 2 behind = 4)
6053
6054 2000-03-30  Juergen Vigna  <jug@sad.it>
6055
6056         * src/insets/insettext.C (InsetText): small fix in initialize
6057         widthOffset (should not be done in the init() function)
6058
6059 2000-03-29  Amir Karger <karger@lyx.org>
6060
6061         * lib/examples/it_ItemizeBullets.lyx: translation by 
6062         Stefano Mastella
6063
6064         * Implemented \textasciitilde and fixed a tiny bug in reLyX
6065
6066 2000-03-29  Juergen Vigna  <jug@sad.it>
6067
6068         * src/insets/insetcollapsable.C (Clone): same as in InsetFoot
6069
6070         * src/insets/insetfoot.C (Clone): small change as for the below
6071         new init function in the text-inset
6072
6073         * src/insets/insettext.C (init): new function as I've seen that
6074         clone did not copy the Paragraph-Data!
6075         (LocalDispatch): Added code so that now we have some sort of Undo
6076         functionality (well actually we HAVE Undo ;)
6077
6078         * src/text.C (Backspace): Small fix for the a | a Backspace problem
6079
6080 2000-03-24  Dekel Tsur <dekel@math.tau.ac.il>
6081         
6082         * src/paragraph.C (AutoDeleteInsets) Fixed a bug (wrong positions
6083         were erased)
6084
6085 2000-03-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
6086
6087         * src/main.C: added a runtime check that verifies that the xforms
6088         header used when building LyX and the library used when running
6089         LyX match. Exit with a message if they don't match. This is a
6090         version number check only.
6091
6092         * src/buffer.C (save): Don't allocate memory on the heap for
6093         struct utimbuf times.
6094
6095         * *: some using changes, use iosfwd instead of the real headers.
6096
6097         * src/lyxfont.C use char const * instead of string for the static
6098         strings. Rewrite some functions to use sstream.
6099
6100 2000-03-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6101
6102         * src/text.C (Backspace): hopefully fix the dreaded backaspace
6103         bug. 
6104
6105 2000-03-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6106
6107         * lib/layouts/svjog.layout: new file, for Springer-Verlag Journal
6108         of Geodesy (from Martin Vermeer)
6109
6110         * lib/layouts/svjour.inc: include file for the Springer svjour
6111         class. It can be used to support journals other than JoG.
6112
6113         * lib/Makefile.am: use $(DESTDIR) make variable (from Arkadiusz
6114         Miskiewicz <misiek@pld.org.pl>)
6115         * lib/reLyX/Makefile.am: ditto.
6116
6117 2000-03-27  Juergen Vigna  <jug@sad.it>
6118
6119         * src/insets/insettext.C: added Cut/Copy/Paste inside insets,
6120         also some modifications with operations on selected text.
6121
6122         * src/BufferView.C (checkInsetHit): Now hopefully fixed all the
6123         problems with clicking on insets (last famous words ;)
6124
6125         * src/insets/insetcommand.C (draw): 
6126         (width): Changed to have a bit of space before and after the inset so
6127         that the blinking cursor can be seen (otherwise it was hidden)
6128
6129 2000-03-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6130
6131         * config/gettext.m4 (AM_WITH_NLS): fix a gettext bug where -lintl
6132         would not be added to the link list when an installed gettext (not
6133         part of libc) is found.
6134
6135 2000-03-24  Juergen Vigna  <jug@sad.it>
6136
6137         * src/insets/insetcollapsable.C (Edit): 
6138         * src/mathed/formula.C (InsetButtonRelease): 
6139         (InsetButtonPress): fixed for new handling of ButtonPress/Release
6140         handling.
6141
6142         * src/BufferView.C (workAreaButtonPress): 
6143         (workAreaButtonRelease): 
6144         (checkInsetHit): Finally fixed the clicking on insets be handled
6145         correctly!
6146
6147         * src/insets/insetert.C (Edit): inserted this call so that ERT
6148         insets work always with LaTeX-font
6149
6150 2000-03-21  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
6151
6152         * src/lyx_main.C (easyParse): Removed misplaced gui=false which
6153         caused lyx to startup with no GUI in place, causing in a crash
6154         upon startup when called with arguments.
6155
6156 2000-03-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6157
6158         * src/FontLoader.C: better initialization of dummyXFontStruct.
6159
6160 2000-03-20 José Abílio Matos <jamatos@lyx.org>
6161
6162         * src/lyxrc.[Ch] Removed \sgml_extra_options, added 6 other flags
6163         for linuxdoc and docbook import and export format options.
6164
6165         * lib/lyxrc.example Example of default values for the previous flags.
6166
6167         * src/lyx_cb.C Use those flags instead of the hardwired values for
6168         linuxdoc and docbook export.
6169
6170         * src/lyxfunc.[Ch] Added HTML export for linuxdoc and docbook, added
6171         linuxdoc import.
6172
6173         * src/menus.C Added menus entries for the new import/exports formats.
6174         
6175 2000-03-09 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
6176
6177         * src/lyxrc.*: Added support for running without Gui 
6178         (\use_gui false)
6179           
6180         * src/FontLoader.C: sensible defaults if no fonts are needed
6181
6182         * src/lyx_cb.C: New function ShowMessage (writes either to the
6183         minibuffer or cout in case of no gui
6184         New function AskOverwrite for common stuff
6185         Consequently various changes to call these functions
6186
6187         * src/lyx_main.C:  allow gui = false and handle lyxrc \use_gui false
6188         wild guess at sensible screen resolution when having no gui
6189
6190         * src/lyxfont.C: no gui, no fonts... set some defaults
6191
6192 2000-03-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6193
6194         * src/LColor.C: made the command inset background a bit lighter.
6195
6196 2000-03-20  Hartmut Goebel <goebel@noris.net>
6197
6198         * lib/layouts/stdstruct.inc: split into stdtitle.inc and
6199         stdstruct.inc. Koma-Script added some title elements which
6200         otherwise have been listed below "bibliography". This split allows
6201         adding title elements to where they belong.
6202
6203         * lib/layouts/scrclass.inc: changed to include stdtitle.inc, then
6204         define the additional tilte elements and then include
6205         stdstruct.inc. 
6206
6207         * many other layout files: changed to include stdtitle.inc just
6208         before stdstruct.inc.
6209
6210 2000-03-18 Dekel Tsur <dekel@math.tau.ac.il>
6211
6212         * src/buffer.C: (save) Added the option to store all backup files
6213         in a single directory
6214
6215         * src/lyxrc.[Ch]: Added variable \backupdir_path
6216
6217         * lib/lyxrc.example: Added descriptions of recently added variables
6218
6219         * src/insets/insetbib.[Ch]: Fixed few bugs (crash when editing a
6220         bibtex inset, not closing the bibtex popup when deleting the inset)
6221
6222 2000-03-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * src/lyx_cb.C: add a couple using directives.
6225
6226 2000-03-17 José Abílio Matos <jamatos@lyx.org>
6227         * src/lyx_cb.C (RunLinuxDoc) Removed the flag==-1 option for linuxdoc 
6228         import based on the filename.
6229         
6230         * src/bufferlist.C () Removed the call to RunLinuxDoc where a linuxdoc
6231         file would be imported at start, if the filename where of a sgml file.
6232
6233         * src/support/filetools.C (IsSGMLfilename) Removed, no longer needed.
6234         
6235         * src/support/filetools.h (IsSGMLfilename) Removed, no longer needed.
6236         
6237 2000-03-16 Dekel Tsur <dekel@math.tau.ac.il>
6238         * src/lyxfont.h Replaced the member variable bits.direction by the
6239         member variable lang. Made many changes in other files.
6240         This allows having a multi-lingual document
6241
6242         * src/lyxfunc.C, src/lyx_cb.C Added a new command "language <l>"
6243         that change the current language to <l>.
6244         Removed the command "font-rtl"
6245
6246         * src/buffer.C Changed LYX_FORMAT to 2.16 (as I changed the file
6247         format for Hebrew documents)
6248
6249         * src/lyxrc.C, src/lyxfunc.C Added a new lyxrc command "auto_mathmode"
6250         When auto_mathmode is "true", pressing a digit key in normal mode 
6251         will cause entering into mathmode.
6252         If auto_mathmode is "rtl" then this behavior will be active only
6253         when writing right-to-left text.
6254
6255         * src/text2.C (InsertStringA) The string is inserted using the
6256         current font.
6257
6258         * src/paragraph.C (GetEndLabel) Gives a correct result for
6259         footnote paragraphs.
6260
6261         * src/paragraph.C (PreviousBeforeFootnote) Fixed a small bug
6262
6263 2000-03-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6264
6265         * src/text.C (Backspace): move RemoveParagraph and RemoveRow in
6266         front of PasteParagraph. Never insert a ' '. This should at least
6267         fix some cause for the segfaults that we have been experiencing,
6268         it also fixes backspace behaviour slightly. (Phu!)
6269
6270         * src/support/lstrings.C (compare_no_case): some change to make it
6271         compile with gcc 2.95.2 and stdlibc++-v3
6272
6273         * src/text2.C (MeltFootnoteEnvironment): change type o
6274         first_footnote_par_is_not_empty to bool.
6275
6276         * src/lyxparagraph.h: make text private. Changes in other files
6277         because of this.
6278         (fitToSize): new function
6279         (setContentsFromPar): new function
6280         (clearContents): new function
6281         (SetChar): new function
6282
6283         * src/paragraph.C (readSimpleWholeFile): deleted.
6284
6285         * src/lyx_cb.C (InsertAsciiFile): don't use a LyXParagraph to hold
6286         the file, just use a simple string instead. Also read the file in
6287         a more maintainable manner.
6288
6289         * src/text2.C (InsertStringA): deleted.
6290         (InsertStringB): deleted.
6291
6292 2000-03-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
6293
6294         * src/text2.C (DeleteEmptyParagraphMechanism): don't run,
6295         RedoParagraphs from the doublespace handling part, just set status
6296         to NEED_MORE_REFRESH. Also don't update cursor position (should be
6297         done, but perhaps not like this.)
6298
6299 2000-03-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6300
6301         * src/text2.C (InsertStringA): don't forget to insert a META_INSET
6302         character when inserting an inset.
6303
6304 2000-03-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
6305
6306         * src/bufferparams.C (readLanguage): now takes "default" into
6307         consideration.
6308
6309         * src/lyx_main.C (LyX): remove the setup of lyxrc. (new)
6310         also initialize the toplevel_keymap with the default bindings from
6311         lyxrc. 
6312         
6313         * src/buffer.C (Buffer): remove lyxrc from the parameters.
6314
6315         * all files using lyxrc: have lyxrc as a real variable and not a
6316         pointer. remove all extern LyXRC * lyxrc. The equiv to this is
6317         done in lyxrc.h.
6318         
6319         * src/lyxrc.C: remove double call to defaultKeyBindings
6320
6321         * src/toolbar.[Ch]: Let the ToolbarDefaults handle the reading of
6322         toolbar defauls using lyxlex. Remove enums, structs, functions
6323         related to this. 
6324
6325         * src/lyxrc.h: use ToolbarDefaults instead of Toolbar for storing
6326         toolbar defaults. Also store default keybindings in a map.
6327
6328         * src/ToolbarDefaults.[Ch]: New file. This class is used for
6329         storing the toolbar defaults without any xforms dependencies. 
6330
6331         * src/insets/figinset.C: patch posted to list by Andre Poenitz
6332         applied. Changed to use iterators.
6333
6334 2000-03-11  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>
6335
6336         * development/lyx.spec.in: Fix to ``unset LINGUAS'' line for
6337         systems that don't have LINGUAS set to begin with.
6338
6339 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6340
6341         * src/text2.C (DeleteEmptyParagraphMechanism): small fix posted to
6342         the list by Dekel Tsur.
6343
6344 2000-03-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6345
6346         * src/insets/insetgraphics.C (GraphicxCB): declare with "C" linkage.
6347         * src/insets/form_graphics.C: ditto.
6348
6349         * src/insets/inseturl.C (Latex): the free_spc argument is not used.
6350
6351 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6352
6353         * src/bufferparams.C (readLanguage): use the new language map
6354
6355         * src/intl.C (InitKeyMapper): use the new language map
6356
6357         * src/lyx_gui.C (create_forms): use the new language map
6358
6359         * src/language.[Ch]: New files. Used for holding the information
6360         about each language. Now! Use this new language map enhance it and
6361         make it really usable for our needs. 
6362
6363 2000-03-09 Dekel Tsur <dekel@math.tau.ac.il>
6364         
6365         * screen.C (ShowCursor): Removed duplicate code.
6366         (ShowManualCursor): Support for 3 cursor shapes: Bar (default),
6367         L (LTR text in RTL document), and reversed-L (RTL text in LTR document)
6368         
6369         * src/text.C (NextBreakPoint,Fill): Moved declaration of left_margin
6370
6371         * src/lyxtext.h
6372         * src/text.C  Added TransformChar method. Used for rendering Arabic
6373         text correctly (change the glyphs of the letter according to the
6374         position in the word)
6375
6376         * src/buffer.C
6377         * src/paragraph.C
6378         * src/lyxrc.h
6379         * src/lyxrc.C  Added lyxrc command {language_command_begin,
6380         language_command_end,language_command_ltr,language_command_rtl,
6381         language_package} which allows the use of either arabtex or Omega
6382         for Arabic
6383
6384         * src/lyx_gui.C (init)
6385         * src/lyxrc.h
6386         * src/lyxrc.C Added lyxrc command screen_font_encoding_menu. Allows
6387         to use encoding for menu fonts which is different than the encoding
6388         for screen fonts
6389
6390         * src/buffer.C (makeLaTeXFile): If params.language = "default",
6391         do not load the babel package.
6392         To write an English document with Hebrew/Arabic, change the document
6393         language to "english".
6394
6395         * src/text2.C (SetCounter): Fixed appendix labels for Hebrew document
6396         (alphaCounter): changed to return char
6397         (loweralphaCounter, hebrewCounter, romanCounter): New functions
6398
6399         * lib/lyxrc.example  Added examples for Hebrew/Arabic
6400
6401         * src/layout.h
6402         * src/layout.C  Added layout command endlabeltype
6403
6404         * src/paragraph.C Added GetEndLabel(),LastPhysicalPar() const
6405
6406         * src/text.C (GetVisibleRow): Draw a box at the end of proof layout
6407
6408 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6409
6410         * src/mathed/math_delim.C (search_deco): return a
6411         math_deco_struct* instead of index.
6412
6413 2000-03-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6414
6415         * All files with a USE_OSTREAM_ONLY within: removed all code that
6416         was unused when USE_OSTREAM_ONLY is defined.
6417         
6418         * src/support/lyxalgo.h (sorted): rewrote to use plain '<' instead
6419         of any less. Removed header and using.
6420
6421         * src/text.C (GetVisibleRow): draw the string "Page Break
6422         (top/bottom)" on screen when drawing a pagebreak line.
6423
6424 2000-03-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6425
6426         * lib/doc/LaTeXConfig.lyx.in: add description of textclass llncs.
6427
6428         * src/mathed/math_macro.C (draw): do some cast magic.
6429         (Metrics): ditto.
6430
6431         * src/mathed/math_defs.h: change byte* argument to byte const*.
6432
6433         * src/mathed/formulamacro.[Ch]: add free_spc to Latex() method.
6434
6435         * src/insets/insetfoot.[Ch]: Clone() always returns an Inset* (well I
6436         know it is right to return InsetFoot* too, but cxx does not like
6437         it...). 
6438
6439         * src/insets/insetcollapsable.[Ch] (Clone): make const.
6440
6441         * development/lyx.spec.in: unset LINGUAS to avoid i18n problems.
6442
6443         * src/mathed/math_delim.C: change == to proper assignment.
6444
6445 2000-03-09  Juergen Vigna  <jug@sad.it>
6446
6447         * src/insets/insettext.C (setPos): fixed various cursor positioning
6448         problems (via mouse and cursor-keys)
6449         (LocalDispatch): added posibility to add a Ctrl-Enter inside a text
6450         inset (still a small display problem but it works ;)
6451
6452         * src/insets/insetcollapsable.C (draw): added button_top_y and
6453         button_bottom_y to have correct values for clicking on the inset.
6454
6455         * src/support/lyxalgo.h: commented out 'using std::less'
6456
6457 2000-03-08  Juergen Vigna  <jug@sad.it>
6458
6459         * src/insets/insetcollapsable.C (InsetButtonRelease): Now a
6460         Button-Release event closes as it is alos the Release-Event
6461         which opens it.
6462
6463         * src/lyxfunc.C (Dispatch): forgot a break in the LFUN_INSET_ERT
6464
6465 2000-03-07  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
6466
6467         * lib/layouts/literate-scrap.inc: Fixed initial comment. Now we
6468         can add multiple spaces in Scrap (literate programming) styles...
6469         which, by the way, is how I got hooked on LyX to begin with.
6470  
6471         * src/mathed/formula.C (Write): Added dummy variable to an
6472         inset::Latex() call.
6473         (Latex): Add free_spacing boolean to inset::Latex()
6474
6475         * src/mathed/formula.h (Latex): Added free_spacing boolean arg.
6476         
6477         * src/insets/lyxinset.h: Changed definition of the inset::Latex()
6478         virtual function to include the free_spacing boolean from
6479         the containing paragraph's style.
6480  
6481         * src/insets/inseturl.C, src/insets/inseturl.h (Latex):
6482         Added free_spacing boolean arg to match inset.h
6483         
6484         * src/insets/insettext.C, src/insets/insettext.h (Latex):
6485         Added free_spacing boolean arg to match inset.h
6486         
6487         * src/insets/insetspecialchar.C, src/insets/insetspecialchar.h (Latex):
6488         Added free_spacing boolean and made sure that if in a free_spacing
6489         paragraph, that we output normal space if there is a protected space.
6490         
6491         * src/insets/insetref.C, src/insets/insetref.h (Latex):
6492         Added free_spacing boolean arg to match inset.h
6493         
6494         * src/insets/insetquotes.C, src/insets/insetquotes.h (Latex):
6495         Added free_spacing boolean arg to match inset.h
6496         
6497         * src/insets/insetparent.C, src/insets/insetparent.h (Latex):
6498         Added free_spacing boolean arg to match inset.h
6499         
6500         * src/insets/insetlatexaccent.C, src/insets/insetlatexaccent.h (Latex):
6501         Added free_spacing boolean arg to match inset.h
6502         
6503         * src/insets/insetlatex.C, src/insets/insetlatex.h (Latex):
6504         Added free_spacing boolean arg to match inset.h
6505         
6506         * src/insets/insetlabel.C, src/insets/insetlabel.h (Latex): Added
6507         free_spacing boolean arg to match inset.h 
6508         
6509         * src/insets/insetinfo.C, src/insets/insetinfo.h (Latex):
6510         Added free_spacing boolean arg to match inset.h
6511         
6512         * src/insets/insetinclude.C, src/insets/insetinclude.h (Latex):
6513         Added free_spacing boolean arg to match inset.h
6514         
6515         * src/insets/insetgraphics.C, src/insets/insetgraphics.h (Latex):
6516         Added free_spacing boolean arg to match inset.h
6517         
6518         * src/insets/inseterror.C, src/insets/inseterror.h (Latex):
6519         Added free_spacing boolean arg to match inset.h
6520         
6521         * src/insets/insetcommand.C, src/insets/insetcommand.h (Latex):
6522         Added free_spacing boolean arg to match inset.h
6523         
6524         * src/insets/insetbib.C, src/insets/insetbib.h (Latex): Added
6525         free_spacing boolean arg to match inset.h
6526         
6527         * src/insets/figinset.C, src/insets/figinset.h (Latex): Added
6528         free_spacing boolean arg to match inset.h
6529         
6530         * src/text2.C (DeleteEmptyParagraphMechanism): Fix this to
6531         ignore free_spacing paragraphs. The user's spaces are left
6532         alone. 
6533         
6534         * src/text.C (InsertChar): Fixed the free_spacing layout
6535         attribute behavior. Now, if free_spacing is set, you can
6536         add multiple spaces in a paragraph with impunity (and they
6537         get output verbatim).
6538         (SelectSelectedWord): Added dummy argument to inset::Latex()
6539         call.
6540         
6541         * src/paragraph.C (TeXOnePar): Added dummy args to inset::Latex(...)
6542         calls.
6543         
6544         * src/lyxfunc.C (Dispatch): Hard-spaces input in free_spacing
6545         paragraph layouts now only input a simple space instead.
6546         Special character insets don't make any sense in free-spacing
6547         paragraphs.
6548         
6549         * src/buffer.C (parseSingleLyXformat2Token): Code to convert
6550         hard-spaces in the *input* file to simple spaces if the layout
6551         is free-spacing. This converts old files which had to have
6552         hard-spaces in free-spacing layouts where a simple space was
6553         preferrable.
6554         (writeFileAscii): Added free_spacing check to pass to the newly
6555         reworked inset::Latex(...) methods. The inset::Latex() code
6556         ensures that hard-spaces in free-spacing paragraphs get output
6557         as spaces (rather than "~").
6558         
6559 2000-03-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6560         
6561         * src/mathed/math_delim.C (draw): draw the empty placeholder
6562         delims with a onoffdash line.
6563         (struct math_deco_compare): struct that holds the "functors" used
6564         for the sort and the binary search in math_deco_table.
6565         (class init_deco_table): class used for initial sort of the
6566         math_deco_table. 
6567         (search_deco): use lower_bound to do a binary search in the
6568         math_deco_table.
6569
6570 2000-03-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
6571
6572         * src/lyxrc.C: a small secret thingie...
6573
6574         * src/lyxlex.C (printTable): changed to take a ostream as paramter
6575         and to not flush the stream as often as it used to.
6576
6577         * src/support/lyxalgo.h: new file 
6578         (sorted): template function used for checking if a sequence is
6579         sorted or not. Two versions with and without user supplied
6580         compare. Uses same compare as std::sort.
6581
6582         * src/lyxlex.C (LyXLex): check if the table is sorted, if not sort
6583         it and give warning on lyxerr.
6584         (pushTable): ditto
6585         (struct compare_tags): struct with function operators used for
6586         checking if sorted, sorting and lower_bound.
6587         (search_kw): use lower_bound instead of manually implemented
6588         binary search.
6589
6590 2000-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6591
6592         * src/insets/insetcollapsable.h: fix Clone() declaration.
6593         * src/insets/insetfoot.h: ditto.
6594
6595         * src/insets/lyxinset.h: remove an extra comma at the end of enum.
6596
6597 2000-03-08  Juergen Vigna  <jug@sad.it>
6598
6599         * src/insets/lyxinset.h: added owner call which tells us if
6600         this inset is inside another inset. Changed also the return-type
6601         of Editable to an enum so it tells clearer what the return-value is.
6602
6603         * src/insets/insettext.C (computeTextRows): fixed computing of
6604         textinsets which split automatically on more rows.
6605
6606         * src/insets/insetert.[Ch]: changed this to be of BaseType
6607         InsetCollapsable.
6608
6609         * src/insets/insetfoot.[Ch]: added footnote inset
6610
6611         * src/insets/insetcollapsable.[Ch]: added this BaseClass for
6612         collapsable insets (like footnote, ert, ...)
6613
6614 2000-03-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
6615
6616         * src/lyxdraw.h: remvoe file
6617
6618         * src/lyxdraw.C: remove file
6619
6620         * src/insets/insettext.C: added <algorithm>.
6621
6622 2000-03-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
6623
6624         * src/mathed/math_panel.C (delim_cb): case MM_OK use string stream
6625         (matrix_cb): case MM_OK use string stream
6626
6627         * src/mathed/formula.C (LocalDispatch): case LFUN_SETXY use string
6628         stream.
6629
6630         * src/mathed/math_macro.C (draw): use string stream
6631         (Metrics): use string stream
6632
6633         * src/paragraph.C (TeXFootnote): for case LyXParagraph::FIG, write
6634         directly to the ostream.
6635
6636         * src/vspace.C (asString): use string stream.
6637         (asString): use string stream
6638         (asLatexString): use string stream
6639
6640         * src/lyx_cb.C (UpdateLayoutDocument): use string stream for
6641         setting Spacing::Other.
6642
6643         * src/LaTeXFeatures.C (getPackages): use string stream instead of
6644         sprintf when creating the stretch vale.
6645
6646         * src/text2.C (alphaCounter): changed to return a string and to
6647         not use a static variable internally. Also fixed a one-off bug.
6648         (SetCounter): changed the drawing of the labels to use string
6649         streams instead of sprintf.
6650
6651         * src/support/lyxmanip.h: rewrite the newlineanDepth ostream
6652         manipulator to use a scheme that does not require library support.
6653         This is also the way it is done in the new GNU libstdc++. Should
6654         work with DEC cxx now. 
6655
6656 2000-03-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
6657
6658         * src/mathed/math_inset.h (Write(ostream & os): add a space at the
6659         end. This fixes a bug. 
6660
6661         * src/mathed (all files concerned with file writing): apply the
6662         USE_OSTREAM_ONLY changes to mathed too.
6663         
6664         * src/support/DebugStream.h: make the constructor explicit.
6665
6666         * src/lyxfont.C (latexWriteStartChanges): small bug related to
6667         count and ostream squashed.
6668
6669 2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6670
6671         * src/support/Makefile.am (libsupport_la_SOURCES): add lyxmanip.h.
6672
6673         * src/buffer.C (makeLaTeXFile): add a .c_str(), since
6674         ostringstream uses STL strings, and we might not.
6675
6676         * src/insets/insetspecialchar.C: add using directive.
6677         * src/insets/insettext.C: ditto.
6678
6679 2000-03-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
6680
6681         * lib/layouts/seminar.layout: feeble attempt at a layout for
6682         seminar.cls, far from completet and could really use some looking
6683         at from people used to write layout files.
6684
6685         * src/support/lyxmanip.h (newlineAndDepth): ostream manipulator to
6686         use instead of the AddNewlineAndDepth funtion in lyx_cb.C. This is
6687         a lot nicer and works nicely with ostreams.
6688
6689         * src/mathed/formula.C (draw): a slightly different solution that
6690         the one posted to the list, but I think this one works too. (font
6691         size wrong in headers.)
6692
6693         * src/insets/insettext.C (computeTextRows): some fiddling on
6694         Jürgens turf, added some comments that he should read.
6695
6696         * src/lyxrc.C: remove all traces of RC_NOMENUACCELERATORS, never
6697         used and it gave compiler warnings.
6698         RC_SHOW_BANNER + "\\show_banner" added, also to reading and
6699         writing of lyxrc.
6700
6701         * src/lyx_gui.C (create_forms): do the right thing when
6702         show_banner is true/false.
6703
6704         * src/lyx_cb.C (TimerCB): no need to close or do anything if
6705         show_banner is false.
6706
6707         * most file writing files: Now use iostreams to do almost all of
6708         the writing. Also instead of passing string &, we now use
6709         stringstreams. mathed output is still not adapted to iostreams.
6710         This change can be turned off by commenting out all the occurences
6711         of the "#define USE_OSTREAM_ONLY 1" lines.
6712         
6713         * src/WorkArea.C (createPixmap): don't output debug messages.
6714         (WorkArea): don't output debug messages.
6715
6716         * lib/lyxrc.example: added a comment about the new variable
6717         \show_banner 
6718
6719         * development/Code_rules/Rules: Added some more commente about how
6720         to build class interfaces and on how better encapsulation can be
6721         achieved. 
6722
6723 2000-03-03  Juergen Vigna  <jug@sad.it>
6724
6725         * src/insets/insetert.C (InsetERT): Now ERT-insets break row
6726         automatically with the width of the LyX-Window
6727
6728         * src/insets/insettext.C (computeTextRows): fixed update bug in
6729         displaying text-insets (scrollvalues where not initialized!)
6730
6731 2000-03-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6732
6733         * src/mathed/math_utils.C (MathedLookupBOP): using only res->id ==
6734         id in the check of the result from lower_bound is not enough since
6735         lower_bound can return last too, and then res->id will not be a
6736         valid construct.
6737
6738         *  all insets and some code that use them: I have conditionalized
6739         removed the Latex(string & out, ...) this means that only the
6740         Latex(ostream &, ...) will be used. This is a work in progress to
6741         move towards using streams for all output of files. 
6742
6743         * src/text.C (GetColumnNearX): initialize LyXParagraph::size_type
6744         c to 0.
6745
6746 2000-03-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6747
6748         * src/mathed/math_utils.C (MathedLookupBOP): fix the search
6749         routine (this fixes bug where greek letters were surrounded by too
6750         much white space).
6751
6752         * src/support/filetools.C (findtexfile): change a bit the search
6753         algorithm, to fix bug introduced in 1.1.4. Note that --format is
6754         no longer passed to kpsewhich, we may have to change that later.
6755
6756         * config/lyxinclude.m4 (LYX_PROG_CXX): better version-dependent
6757         warning options to avoid problems with X header files (from Angus
6758         Leeming).
6759         * acinclude.m4: regenerated.
6760
6761 2000-03-02  Juergen Vigna  <jug@sad.it>
6762
6763         * src/insets/insettext.C (WriteParagraphData): Using the
6764         par->writeFile() function for writing paragraph-data.
6765         (Read): Using buffer->parseSingleLyXformat2Token()-function
6766         for parsing paragraph data!
6767
6768         * src/buffer.C (readLyXformat2): removed all parse data and using
6769         the new parseSingleLyXformat2Token()-function.
6770         (parseSingleLyXformat2Token): added this function to parse (read)
6771         lyx-file-format (this is called also from text-insets now!)
6772
6773 2000-03-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6774
6775         * src/paragraph.C (BeginningOfMainBody): initialize previous_char
6776         and temp.
6777
6778         * src/lyxfunc.C (Dispatch(LFUN_MENUSEARCH)): Do the Search dialog
6779         directly instead of going through a func. One very bad thing: a
6780         static LyXFindReplace, but I don't know where to place it. 
6781
6782         * src/lyxfr1.C (GetCurrentSelectionAsString): rewritten to use a
6783         string instead of char[]. Also changed to static.
6784         (GetSelectionOrWordAtCursor): changed to static inline
6785         (SetSelectionOverLenChars): ditto.
6786
6787         * src/lyxfr0.[Ch] src/lyxfr1.[Ch]: rewrite to get rid of
6788         current_view and global variables. both classes has changed names
6789         and LyXFindReplace is not inherited from SearchForm.
6790         
6791         * src/lyx_gui_misc.C (CloseAllBufferRelatedPopups): remove the
6792         fl_form_search form.
6793
6794         * src/lyx_gui.C (create_forms): removed the fl_form_search form.
6795
6796 2000-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6797
6798         * lib/bind/*.bind: make sure 'buffer-previous' function is not
6799         bound (from Kayvan).
6800
6801         * src/insets/Makefile.am (libinsets_la_SOURCES): add BoundingBox.h.
6802
6803         * lib/layouts/stdletter.inc: fix line spacing in Send_To_Address.
6804
6805 2000-03-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6806
6807         * some things that I should comment but the local pub says head to
6808         swirly... 
6809         
6810         * comment out all code that belongs to the Roff code for Ascii
6811         export of tables. (this is unused)
6812         
6813         * src/LyXView.C: use correct type for global variable
6814         current_layout. (LyXTextClass::size_type)
6815
6816         * some code to get the new insetgraphics closer to working I'd be
6817         grateful for any help.
6818         
6819         * src/BufferView2.C (insertInset): use the return type of
6820         NumberOfLayout properly. (also changes in other files)
6821
6822         * src/insets/insetspecialchar.[Ch]: add the PROTECTED SEPARATOR to
6823         this as a test. I want to know what breaks because of this.
6824
6825         * src/BufferView.[Ch] (tripleClick): name change from trippleClick.
6826
6827 2000-02-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
6828
6829         * lib/layouts/stdlists.inc: changed the lyxlist latex definition
6830         to use a \makebox in the label, this allows proper justification
6831         with out using protected spaces or multiple hfills. Now it is
6832         "label" for left justified, "\hfill label\hfill" for center, and
6833         "\hfill label" for right justified. UserGuide.lyx sec. 3.3.6.5
6834         should be changed accordingly. 
6835
6836 2000-02-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6837
6838         * src/lyxtext.h: change SetLayout() to take a
6839         LyXTextClass::size_type instead of a char (when there is more than
6840         127 layouts in a class); also change type of copylayouttype.
6841         * src/text2.C (SetLayout): ditto.
6842         * src/LyXView.C (updateLayoutChoice): ditto.
6843
6844         * src/LaTeX.C (scanLogFile): errors where the line number was not
6845         given just after the '!'-line were ignored (from Dekel Tsur).
6846
6847         * lib/lyxrc.example: fix description of \date_insert_format
6848
6849         * lib/layouts/llncs.layout: new layout, contributed by Martin
6850         Vermeer. 
6851
6852 2000-02-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
6853
6854         * config/lyxinclude.m4 (LYX_PROG_CXX): remove case support for gcc
6855         2.7.* and add case support for gcc 2.96*. Gcc 2.96 only exists in
6856         cvs at gcc.gnu.org (currently it fails with ICE on insetbib.C,
6857         insetindex.C, insetloa.C, insettext.C, filetools.C, BufferView.C,
6858         BufferView2.C, LyXView.C, buffer.C, lyx_cb.C, lyxfunc.C,
6859         paragraph.C, text.C, text2.C)
6860
6861 2000-02-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6862
6863         * src/insets/insettext.C (LocalDispatch): remove extra break
6864         statement. 
6865
6866         * src/insets/insetert.[Ch] (Clone): change return value to Inset*
6867         * src/insets/insettext.[Ch] (Clone): change return value to Inset*
6868
6869         * src/mathed/formulamacro.[Ch] (draw): add missing const qualifier
6870         * src/insets/insettext.[Ch] (GetCursorPos): ditto
6871
6872         * src/insets/insetbib.h: move InsetBibkey::Holder and
6873         InsetCitation::Holder in public space.
6874
6875 2000-02-25  Lars Gullik Bjønnes <larsbj@lyx.org>
6876
6877         * src/insets/insettext.h: small change to get the new files from
6878         Juergen to compile (use "string", not "class string").
6879
6880         * src/insets/insettext.[Ch], src/insets/insertert.[Ch]: use string
6881         const & as parameter to LocalDispatch, use LyXFont const & as
6882         paramter to some other func. This also had impacto on lyxinsets.h
6883         and the two mathed insets.
6884
6885 2000-02-24  Juergen Vigna  <jug@sad.it>
6886
6887         * src/buffer.C:
6888         * src/commandtags.h: 
6889         * src/LyXAction.C:
6890         * src/lyxfunc.C: added code for LFUN_INSET_ERT and LFUN_INSET_TEXT
6891
6892         * src/BufferView.h
6893         * src/BufferView.C
6894         * src/BufferView2.C: added/updated code for various inset-functions
6895
6896         * src/insets/insetert.[Ch]: added implementation of InsetERT
6897
6898         * src/insets/insettext.[Ch]: added implementation of InsetText
6899
6900         * src/insets/inset.C (Edit): added "unsigned int button" parameter
6901         (draw): added preliminary code for inset scrolling not finshed yet
6902
6903         * src/insets/inset.C (LocalDispatch): changed arg parameter to string
6904         as it is in lyxfunc.C now
6905
6906         * src/insets/lyxinset.h: Added functions for text-insets
6907
6908 2000-02-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
6909
6910         * src/lyx_cb.C src/UpdateInset.[Ch]: move the updateinsetlist into
6911         BufferView and reimplement the list as a queue put inside its own
6912         class.
6913
6914         * src/bufferlist.[Ch] (updateInset): remove func, not needed.
6915
6916         * several files: use the new interface to the "updateinsetlist"
6917         
6918         * src/WorkArea.C (work_area_handler): call BufferView::doubleClick
6919         on doubleclick.
6920         (work_area_handler): call BufferView::trippleClick on trippleclick.
6921
6922         * src/BufferView.C (doubleClick): new function, selects word on
6923         doubleclick. 
6924         (trippleClick): new function, selects line on trippleclick.
6925
6926 2000-02-22  Allan Rae  <rae@lyx.org>
6927
6928         * lib/bind/xemacs.bind: buffer-previous not supported
6929
6930 2000-02-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6931
6932         * src/insets/insettoc.[Ch] (LinuxDoc, DocBook): mark the methods
6933         as const.
6934
6935 2000-02-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
6936
6937         * src/bufferlist.C: get rid of current_view from this file
6938
6939         * src/spellchecker.C: get rid of current_view from this file
6940
6941         * src/vspace.C: get rid of current_view from this file
6942         (inPixels): added BufferView parameter for this func
6943         (asLatexCommand): added a BufferParams for this func
6944
6945         * src/text.C src/text2.C: get rid of current_view from these
6946         files.
6947         
6948         * src/lyxfont.C (getFontDirection): move this function here from
6949         text.C
6950         
6951         * src/bufferparams.C (getDocumentDirection): move this function
6952         here from text.C
6953
6954         * src/paragraph.C (getParDirection): move this function here from
6955         text.C 
6956         (getLetterDirection): ditto
6957         
6958 2000-02-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
6959
6960         * WorkArea, Painter, LyXScreen: Fixed the crash that occured on
6961         resize due to wrong pixmap beeing used. Also took the opurtunity
6962         to make the LyXScreen stateless on regard to WorkArea and some
6963         general cleanup in the same files.
6964         
6965 2000-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6966
6967         * src/Makefile.am: add missing direction.h
6968
6969         * src/PainterBase.h: made the width functions const.
6970         
6971         * lib/kbd/iso8859-1.cdef: fix a couple of entries and define some
6972         missing ones.
6973         
6974         * src/insets/insetcommand.C (draw): draw Editable as buttons.
6975
6976         * src/insets/insetlatexaccent.C (draw): make the accents draw
6977         better, at present this will only work well with iso8859-1.
6978         
6979         * several files: remove the old drawing code, now we use the new
6980         painter only.
6981
6982         * several files: remove support for mono_video, reverse_video and
6983         fast selection.
6984
6985 2000-02-17  Juergen Vigna  <jug@sad.it>
6986
6987         * src/mathed/math_cursor.[Ch] (SelGetArea): Changed form int * to
6988         int ** as we have to return the pointer, otherwise we have only
6989         NULL pointers in the returning function.
6990
6991 2000-02-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6992
6993         * src/LaTeX.C (operator()): quote file name when running latex.
6994
6995 2000-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
6996
6997         * src/toolbar.C (set): use fl_set_object_helper for the tooltop
6998         (bubble tip), this removes our special handling of this.
6999
7000         * Remove all code that is unused now that we have the new
7001         workarea. (Code that are not active when NEW_WA is defined.)
7002
7003         * Make the uses of XSync not conditionalized on define USE_XSYNC.
7004         
7005 2000-02-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7006
7007         * src/lyxfunc.C (Dispatch): fix LFUN_LAYOUT when giving a
7008         nonexisting layout; correctly redirect obsoleted layouts.
7009
7010         * lib/lyxrc.example: document \view_dvi_paper_option
7011
7012         * src/lyxrc.[Ch]: add support for the \view_dvi_paper_option
7013         variable. 
7014
7015         * src/lyx_cb.C (RunScript): handle $$FName for command names. 
7016         (PreviewDVI): handle the view_dvi_paper_option variable.
7017         [Both from Roland Krause]
7018
7019 2000-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
7020
7021         * src/Painter.C (text(int,int,char,LyXFont)): call text(int, int,
7022         char const *, int, LyXFont)
7023         (text(int, int, string, LyXFont)): ditto 
7024
7025         * src/text.C (InsertCharInTable): attempt to fix the double-space
7026         feature in tables too.
7027         (BackspaceInTable): ditto.
7028         (GetVisibleRow): make bottom pagebreak line be a onoff line.
7029
7030 2000-02-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
7031
7032         * src/text2.C (owner): only complain if owner_ is set and bv != 0
7033
7034         * src/BufferView.C (resizeCurrentBuffer): set the owner of the
7035         newly found text in textcache to this.
7036         (buffer): set the owner of the text put into the textcache to 0
7037
7038         * src/insets/figinset.C (draw): fixed the drawing of figures with
7039         the new Painter.
7040
7041         * src/text.C src/mathed/math_cursor.C: nailed and fixed the
7042         drawing of mathframe, hfills, protected space, table lines. I have
7043         now no outstanding drawing problems with the new Painter code. 
7044
7045 2000-02-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7046
7047         * src/PainterBase.C (ellipse, circle): do not specify the default
7048         arguments. 
7049
7050         * src/LColor.h: add using directive.
7051
7052         * src/Painter.[Ch]: change return type of methods from Painter& to
7053         PainterBase&. Add a using directive.
7054
7055         * src/WorkArea.C: wrap xforms callbacks in C functions
7056         C_WorkArea_xxx. 
7057
7058         * lib/layouts/foils.layout: font fix and simplifications from Carl
7059         Ollivier-Gooch.
7060
7061 2000-02-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7062
7063         * a lot of files: The Painter, LColor and WorkArea from the old
7064         devel branch has been ported to lyx-devel. Some new files and a
7065         lot of #ifdeffed code. The new workarea is enabled by default, but
7066         if you want to test the new Painter and LColor you have to compile
7067         with USE_PAINTER defined (do this in config.h f.ex.) There are
7068         still some rought edges, and I'd like some help to clear those
7069         out. It looks stable (loads and displays the Userguide very well).
7070         
7071
7072 2000-02-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7073
7074         * src/buffer.C (pop_tag): revert to the previous implementation
7075         (use a global variable for both loops).
7076
7077         * lib/kbd/iso8859-1.cdef: fix definition for \"{e}.
7078
7079         * src/lyxrc.C (LyXRC): change slightly default date format.
7080
7081         * src/paragraph.C (TeXOnePar): Generate a correct latex file when
7082         there is an English text with a footnote that starts with a Hebrew
7083         paragraph, or vice versa.
7084         (TeXFootnote): ditto.
7085
7086         * src/text.C (LeftMargin): allow for negative values for
7087         parindent. Thanks to Philip Lehman <lehman@gmx.net> for testing
7088         this out.
7089
7090         * src/lyx_gui.C (create_forms): add iso88595 as a possible choice
7091         for input encoding (cyrillic)
7092
7093 2000-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7094
7095         * src/lyx_gui.C (create_forms): make combo box taller (from Dekel
7096         Tsur). 
7097
7098         * src/toolbar.C (set): ditto
7099         * src/insets/insetbib.C (create_form_citation_form): ditto
7100
7101         * lib/CREDITS: added Dekel Tsur.
7102
7103         * lib/kbd/hebrew.kmap, lib/kbd/null.kmap,
7104         lib/layouts/heb-article.layout, lib/layouts/heb-letter.layout: new
7105         hebrew supports files from Dekel Tsur.
7106         
7107         * lib/kbd/iso8859-8.cdef: new file, from Tzafrir Cohen
7108         <tzafrir@technion.ac.il> 
7109
7110         * src/lyxrc.C: put \date_insert_format at the right place.
7111
7112         * src/buffer.C (makeLaTeXFile): fix the handling of
7113         BufferParams::sides when writing out latex files.
7114
7115         * src/BufferView2.C: add a "using" directive.
7116
7117         * src/support/lyxsum.C (sum): when we use lyxstring,
7118         ostringstream::str needs an additional .c_str().
7119
7120 2000-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
7121
7122         * src/support/filetools.C (ChangeExtension): patch from Etienne
7123         applied.
7124
7125         * src/TextCache.C (show): remove const_cast and make second
7126         parameter non-const LyXText *.
7127
7128         * src/TextCache.h: use non const LyXText in show.
7129
7130         * src/paragraph.C (SimpleTeXSpecialChars): patch to make urls work
7131         with hebrew.
7132
7133 2000-02-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7134
7135         * src/support/lyxsum.C: rework to be more flexible.
7136         
7137         * several places: don't check if a pointer is 0 if you are going
7138         to delete it.
7139
7140         * src/text.C: remove some dead code.
7141
7142         * src/insets/figinset.C: remove some dead code
7143         
7144         * src/buffer.C: move the BufferView funcs to BufferView2.C
7145         remove all support for insetlatexdel
7146         remove support for oldpapersize stuff
7147         made some member funcs const
7148
7149         * src/kbmap.C: use a std::list to store the bindings in.
7150         
7151         * src/BufferView2.C: new file
7152
7153         * src/kbsequence.[Ch]: new files
7154         
7155         * src/LyXAction.C + others: remove all trace of buffer-previous
7156         
7157         * src/Bullet.[Ch]: moved ITEMIZE_DEFAULTS inside Bullet.C so that we
7158         only have one copy in the binary of this table.
7159         
7160         * hebrew patch: moved some functions from LyXText to more
7161         appropriate places. (LyXParagraph, BufferParams, LyXFont)
7162         
7163         * several files: remove support for XForms older than 0.88
7164         whitespace changes.
7165         remove some #if 0 #endif code
7166         
7167         * src/TextCache.[Ch]: new file. Holds the textcache.
7168
7169         * src/BufferView.C: changes to use the new TextCache interface.
7170         (waitForX): remove the now unused code.
7171         
7172         * src/BackStack.h: remove some commented code
7173
7174         * lib/bind/emacs.bind: remove binding for buffer-previous
7175
7176 2000-02-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
7177
7178         * applied the hebrew patch.
7179
7180         * src/lyxrow.h: make sure that all Row variables are initialized.
7181
7182         * src/text2.C (TextHandleUndo): comment out a delete, this might
7183         introduce a memory leak, but should also help us to not try to
7184         read freed memory. We need to look at this one.
7185
7186         * src/paragraph.C (SimpleDocBookOneTablePar): initialize column to 0
7187         (LyXParagraph): initalize footnotekind.
7188
7189         * src/lyxrc.C (output): added case RC_DATE_INSERT_FORMAT. Jug
7190         forgot this when applying the patch. Please heed the warnings.
7191
7192         * src/BufferView.C (buffer): a fix for the buffer-reload problem
7193         (aka. reformat problem)
7194
7195         * src/bufferlist.C (exists): made const, and use const_iterator
7196         (isLoaded): new func.
7197         (release): use std::find to find the correct buffer.
7198
7199         * src/bufferlist.h: made getState a const func.
7200         made empty a const func.
7201         made exists a const func.
7202         new func: isLoaded
7203
7204 2000-02-01  Juergen Vigna  <jug@sad.it>
7205
7206         * src/lyxfunc.C lyxrc.C: changed from insert-date to date-insert
7207
7208         * po/it.po: updated a bit the italian po file and also changed the
7209         'file nuovo' for newfile to 'filenuovo' without a space, this did
7210         annoy me a lot :)
7211         
7212         * src/lyxrc.C (LyXRC): added support for a default insert_date_format
7213         for the new insert_date command.
7214
7215         * src/lyxfunc.C (Dispatch): added support for a insert_date function
7216         from jdblair, to insert a date into the current text conforming to
7217         a strftime format (for now only considering the locale-set and not
7218         the document-language).
7219
7220 2000-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7221
7222         * src/lyxfont.C (textWidth): hopefully better fix for the Array
7223         Bounds Read error seen by purify. The problem was that islower is
7224         a macros which takes an unsigned char and uses it as an index for
7225         in array of characters properties (and is thus subject to the
7226         above error).
7227         (drawText): ditto.
7228
7229         * src/lyx_cb.C (UpdateLayoutDocument): use a switch to set
7230         correctly the paper sides radio buttons.
7231         (UpdateDocumentButtons): ditto.
7232
7233 2000-01-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
7234
7235         * src/kbmap.C (getsym + others): change to return unsigned int,
7236         returning a long can give problems on 64 bit systems. (I assume
7237         that int is 32bit on 64bit systems)
7238
7239 2000-01-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7240
7241         * src/lyxfunc.C (processKeyEvent): fix a the buffer returned by
7242         LyXLookupString to be zero-terminated. Really fixes problems seen
7243         by purify, I think.
7244
7245 2000-01-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
7246
7247         * src/lyxfunc.C (processKeyEvent): "fix" so that we never try to
7248         write a (char*)0 to the lyxerr stream.
7249
7250         * src/lastfiles.C: move algorithm before the using statemets.
7251
7252 2000-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7253
7254         * src/lastfiles.C: move using directives in global scope (egcs 1.x
7255         complains otherwise).
7256         * src/table.C: ditto
7257
7258         * lib/reLyX/reLyX.in: use variable @LYX_DIR@ as built-in data
7259         directory. 
7260
7261         * lib/reLyX/configure.in (LYX_DIR): re-introduce this variable
7262         that I removed earlier... It is really needed.
7263
7264         * lib/examples/multicol.lyx: new file, splitted from Extended.lyx. 
7265
7266 2000-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7267
7268         * INSTALL: update xforms home page URL.
7269
7270         * lib/configure.m4: fix a bug with unreadable layout files.
7271
7272         * src/table.C (calculate_width_of_column): add "using std::max"
7273         directive. 
7274
7275 2000-01-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
7276
7277         * several files: marked several lines with "DEL LINE", this is
7278         lines that can be deleted without changing anything.
7279         if (<ptr>) // DEL LINE  /* this line is _never_ needed. Delete
7280                                    checks this anyway */
7281                 delete <ptr>
7282
7283         * src/insets/insetlatexaccent.C: Changed some debugs to Debug::KEY
7284
7285         * src/DepTable.C (update): add a "+" at the end when the checksum
7286         is different. (debugging string only)
7287
7288         * src/paragraph.C (ReturnNextInsetPointer): fix bug that caused
7289         the next inset to not be displayed. This should also fix the list
7290         of labels in the "Insert Crossreference" dialog.
7291
7292 2000-01-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
7293
7294         * src/support/LSubstring.C (LSubstring): set pos to string::npos
7295         when regex was not found.
7296
7297         * src/support/lstrings.C (lowercase): use handcoded transform always.
7298         (uppercase): ditto
7299
7300         * src/text.C (Delete): fixed the crash. cursor.par->prev and
7301         old_cursor.par->prev could be 0.
7302
7303         * several files: changed post inc/dec to pre inc/dec
7304         
7305         * src/lastfiles.C (writeFile): use ostream_iterator and copy to
7306         write the lastfiles to file.
7307
7308         * src/BufferView.C (buffer): only show TextCache info when debugging
7309         (buffer): ditto
7310         (resizeCurrentBuffer): ditto
7311         (workAreaExpose): ditto
7312
7313         * lib/kbd/iso8859-7.cdef: changed to new quoting scheme
7314
7315         * lib/kbd/iso8859-2.cdef: changed to new quoting scheme
7316
7317         * src/insets/insetlatexaccent.C (Draw): make the display of UMLAUT
7318         a bit better by removing the special case for \i and \j.
7319
7320 2000-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * src/lyx_main.C (easyParse): remove test for bad comand line
7323         options, since this broke all xforms-related parsing.
7324
7325         * src/kbmap.C (getsym): set return type to unsigned long, as
7326         declared in header. On an alpha, long is _not_ the same as int.
7327
7328         * src/support/LOstream.h: add a "using std::flush;"
7329
7330         * src/insets/figinset.C: ditto.
7331
7332 2000-01-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
7333
7334         * src/bufferlist.C (write): use blinding fast file copy instead of
7335         "a char at a time", now we are doing it the C++ way.
7336
7337         * src/insets/figinset.C: get rid of struct pidwaitpit, use a
7338         std::list<int> instead.
7339         (addpidwait): reflect move to std::list<int>
7340         (sigchldchecker): ditto
7341
7342         * src/bmtable.c (fl_set_bmtable_file): have arguments in the X r5
7343         version also. 
7344
7345         * src/paragraph.C (FirstPhysicalPar): remove assert and comment
7346         that obviously was wrong...
7347
7348         * src/lyxfont.C (textWidth): have c as char c[2] instead of char
7349         c, this avoids warnings with purify and islower.
7350
7351         * src/insets/figinset.C: rename struct queue to struct
7352         queue_element and rewrite to use a std::queue. gsqueue is now a
7353         std::queue<queue_element>
7354         (runqueue): reflect move to std::queue
7355         (addwait): ditto
7356
7357         * src/support/lstrings.h (tostr): specialize for bool, otherwise
7358         we would get "1" "0" instead of "true" "false. Also make the tostr
7359         functions inline.
7360
7361 2000-01-21  Juergen Vigna  <jug@sad.it>
7362
7363         * src/buffer.C (writeFileAscii): Disabled code for special groff
7364         handling of tabulars till I fix this in table.C
7365
7366 2000-01-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7367
7368         * src/support/mkdir.C (mkdir): change second argument of mkdir to
7369         unsigned long int.
7370         * src/support/lyxlib.h: ditto.
7371
7372 2000-01-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
7373
7374         * src/insets/insetlatexaccent.C (Draw): make accents on top of 'i'
7375         and 'j' look better. This might fix the "macron" bug that has been
7376         observed.
7377
7378         * src/support/lstrings.[Ch] (tostr): reimplement all the tostr
7379         functions as one template function. Delete the old versions.
7380
7381         * src/support/lyxsum.C: move using std::ifstream inside
7382         MODERN_STL_STREAMS
7383
7384         * src/support/Makefile.am (libsupport_la_SOURCES): added mkdir.C
7385         and putenv.C
7386
7387         * src/mathed/formulamacro.C: delete #include "bufferlist.h" never used
7388
7389         * src/mathed/formula.C: delete #include "bufferlist.h" never used
7390
7391         * src/insets/figinset.C (InitFigures): use new instead of malloc
7392         to allocate memory for figures and bitmaps.
7393         (DoneFigures): use delete[] instead of free to deallocate memory
7394         for figures and bitmaps.
7395         (runqueue): use new to allocate 
7396         (getfigdata): use new/delete[] instead of malloc/free
7397         (RegisterFigure): ditto
7398
7399         * some files: moved some declarations closer to first use, small
7400         whitespace changes use preincrement instead of postincrement where
7401         it does not make a difference.
7402         
7403         * src/kbmap.[Ch]: delete code according to define NO_HASH, it is a
7404         step on the way to use stl::containers for key maps. 
7405
7406         * src/bufferlist.h: add a typedef for const_iterator and const
7407         versions of begin and end.
7408
7409         * src/bufferlist.[Ch]: change name of member variable _state to
7410         state_. (avoid reserved names)
7411         (makePup): removed
7412         (getFileNames): returns the filenames of the buffers in a vector.
7413
7414         * configure.in (ALL_LINGUAS): added ro
7415
7416         * src/support/putenv.C: new file
7417
7418         * src/support/mkdir.C: new file
7419
7420 2000-01-20  Allan Rae <rae@lyx.org>
7421
7422         * lib/layouts/IEEEtran.layout: Added several theorem environments
7423
7424         * lib/templates/IEEEtran.lyx: Example theorem environments and a
7425         couple of minor additions.
7426
7427         * lib/doc/LaTeXConfig.lyx.in:  Use URL insets for ftp sites 
7428         (except for those in footnotes of course)
7429
7430 2000-01-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
7431
7432         * src/lyxlookup.C (CloseLyXLookup): set xic=0; after destruction. 
7433
7434         * src/mathed/math_utils.C (MathedLookupBOP): rewrite to use
7435         std::sort and std::lower_bound instead of qsort and handwritten
7436         binarysearch.
7437         (struct compara): struct that holds the functors used by std::sort
7438         and std::lower_bound in MathedLookupBOP.
7439
7440 2000-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7441
7442         * src/support/LAssert.h: do not do partial specialization. We do
7443         not really need it.
7444
7445         * src/support/lyxlib.h: note that lyx::getUserName() and
7446         lyx::date() are not in use right now. Should these be suppressed?
7447
7448         * src/buffer.C (makeLaTeXFile): we do not need the user name here.
7449         (makeLinuxDocFile): do not put date and user name in linuxdoc
7450         headers. 
7451
7452         * src/support/lyxlib.h (kill): change first argument to long int,
7453         since that's what solaris uses.
7454
7455         * src/support/kill.C (kill): fix declaration to match prototype.
7456
7457         * config/lyxinclude.m4 (LYX_CXX_NAMESPACES): fix the macro to
7458         actually check whether namespaces are supported. This is not what
7459         it used to do.
7460
7461         * src/support/lyxsum.C: add a using directive.
7462
7463 2000-01-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7464
7465         * src/support/kill.C: if we have namespace support we don't have
7466         to include lyxlib.h.
7467
7468         * src/support/lyxlib.h: use namespace lyx if supported.
7469
7470 2000-01-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
7471
7472         * src/support/date.C: new file
7473
7474         * src/support/chdir.C: new file
7475
7476         * src/support/getUserName.C: new file
7477
7478         * src/support/getcwd.C: new file
7479
7480         * src/support/abort.C: new file
7481
7482         * src/support/kill.C: new file
7483
7484         * src/support/lyxlib.h: moved all the functions in this file
7485         insede struct lyx. Added also kill and abort to this struct. This
7486         is a way to avoid the "kill is not defined in <csignal>", we make
7487         C++ wrappers for functions that are not ANSI C or ANSI C++.
7488
7489         * src/support/lyxsum.C (sum): use #ifdef MODERN_STL_STREAMS
7490         instead of #if __GLIBCPP__. Since lyxsum is now put inside struct
7491         lyx it has been renamed to sum.
7492
7493 2000-01-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7494
7495         * src/text.C: add using directives for std::min and std::max.
7496
7497 2000-01-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7498
7499         * src/texrow.C (getIdFromRow): actually return something useful in
7500         id and pos. Hopefully fixes the bug with positionning of errorbox
7501         insets. 
7502
7503         * src/lyx_main.C (easyParse): output an error and exit if an
7504         incorrect command line option has been given.
7505
7506         * src/spellchecker.C (ispell_check_word): document a memory leak.
7507
7508         * src/bufferlist.C (write): fix mismatched allocation/deletion,
7509         where a "struct utimbuf" is allocated with "new" and deleted with
7510         "delete[]". 
7511
7512 2000-01-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
7513
7514         * src/text2.C (CutSelection): don't delete double spaces.
7515         (PasteSelection): ditto
7516         (CopySelection): ditto
7517         
7518         * src/text.C (Backspace): don't delete double spaces.
7519
7520         * src/lyxlex.C (next): fix a bug that were only present with
7521         conformant std::istream::get to read comment lines, use
7522         std::istream::getline instead. This seems to fix the problem.
7523
7524 2000-01-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
7525
7526         * src/text2.C (DeleteEmptyParagraphMechanism): fix for the "not
7527         allowed to insert space before space" editing problem. Please read
7528         commends at the beginning of the function. Comments about usage
7529         are very welcome.
7530
7531         * src/text.C (InsertChar): fix for the "not allowed to insert
7532         space before space" editing problem.
7533
7534         * src/text2.C (DeleteEmptyParagraphMechanism): when
7535         IsEmptyTableRow can only return false this last "else if" will
7536         always be a no-op. Commented out.
7537
7538         * src/text.C (RedoParagraph): As far as I can understand tmp
7539         cursor is not really needed.
7540
7541         * src/lyxtext.[Ch] (IsEmptyTableCell): commented out. As used at
7542         present it could only return false anyway. 
7543         (several functions): Did something not so smart...added a const
7544         specifier on a lot of methods.
7545         
7546         * src/paragraph.C (BreakParagraph): removed the tmp->text.reserve
7547         and add a tmp->text.resize. The LyXParagraph constructor does the
7548         resize for us.
7549         (BreakParagraphConservative): ditto
7550
7551         * src/support/path.h (Path): add a define so that the wrong usage
7552         "Path("/tmp") will be flagged as a compilation error:
7553         "`unnamed_Path' undeclared (first use this function)"
7554
7555 2000-01-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7556
7557         * config/lyxinclude.m4 (LYX_FUNC_PUTENV_ARGTYPE): fix the macro,
7558         which was bogus for several reasons.
7559
7560         * src/LaTeX.C (scanAux): fix the regular expression used to scan
7561         .aux files. 
7562         (runBibTeX): ditto.
7563
7564         * autogen.sh: do not use "type -path" (what's that anyway?).
7565
7566         * src/support/filetools.C (findtexfile): remove extraneous space
7567         which caused a kpsewhich warning (at least with kpathsea version
7568         3.0). 
7569
7570 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
7571
7572         * src/mathed/Makefile.am (noinst_LTLIBRARIES): use .la
7573
7574         * src/insets/Makefile.am (noinst_LTLIBRARIES): use .la
7575
7576         * src/Makefile.am (lyx_DEPENDENCIES): switch back to .la libs
7577
7578 2000-01-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7579
7580         * src/paragraph.C (BreakParagraph): do not reserve space on text
7581         if we don't need to (otherwise, if pos_end < pos, we end up
7582         reserving huge amounts of memory due to bad unsigned karma).
7583         (BreakParagraphConservative): ditto, although I have not seen
7584         evidence the bug can happen here.
7585
7586         * src/lyxparagraph.h: add a using std::list.
7587
7588 2000-01-11  Juergen Vigna  <jug@sad.it>
7589
7590         * src/menus.C (MenuDocu): output an Alert if the documentation-file
7591         could not be found.
7592
7593 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
7594
7595         * src/vc-backend.C (doVCCommand): change to be static and take one
7596         more parameter: the path to chdir too be fore executing the command.
7597         (retrive): new function equiv to "co -r"
7598
7599         * src/bufferlist.C (loadLyXFile): implement the missing parts if
7600         file_not_found_hook is true.
7601
7602         * src/lyxvc.C (file_not_found_hook): implement file_not_found_hook.
7603
7604         * src/support/filetools.C (IsFileWriteable): use FileInfo to check
7605         if a file is readwrite,readonly...anything else.
7606
7607 2000-01-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7608
7609         * src/lyx_cb.C (MakeLaTeXOutput): name change from MakeDVIOutput
7610         (CreatePostscript): name change from MenuRunDVIPS (or something)
7611         (PreviewPostscript): name change from MenuPreviewPS
7612         (PreviewDVI): name change from MenuPreviewDVI
7613
7614         * lib/lyxrc.example: added \pdflatex_command, \pdf_mode,
7615         \view_pdf_command., \pdf_to_ps_command
7616
7617         * lib/configure.m4: added search for PDF viewer, and search for
7618         PDF to PS converter. 
7619         (lyxrc.defaults output): add \pdflatex_command,
7620         \view_pdf_command and \pdf_to_ps_command.
7621
7622         * src/lyx_cb.C (MenuPreviewDVI): renamed from MenuPreview.
7623
7624         * src/bufferlist.C (write): we don't use blocksize for anything so
7625         I removed it.
7626
7627 2000-01-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7628
7629         * src/support/block.h: disable operator T* (), since it causes
7630         problems with both compilers I tried. See comments in the file.
7631
7632         * lib/reLyX/configure.in: do not define LYX_DIR. support flag
7633         --with-lyxname. 
7634
7635         * lib/reLyX/reLyX.in: change LYX_DIR to pkgdatadir; change env.
7636         variable LYX_DIR_10x to LYX_DIR_11x.
7637
7638         * src/Makefile.am: replace variable LYX_DIR with pkgdatadir.
7639
7640         * INSTALL: document --with-lyxname.
7641         * NEWS: ditto.
7642
7643         * configure.in: new configure flag --with-lyxname which allows to
7644         choose the name under which lyx is installed. Default is "lyx", of
7645         course. It used to be possible to do this with --program-suffix,
7646         but the later has in fact a different meaning for autoconf.
7647
7648         * src/support/lstrings.h (lstrchr): reformat a bit.
7649
7650         * src/lyxlex.h: include LIstream.h, for Sun CC this time.
7651         * src/mathed/math_defs.h: ditto.
7652
7653 2000-01-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
7654
7655         * src/lyxrc.[Ch]: New tag and variable "\make_backup". Defaults to
7656         true, decides if we create a backup file or not when saving. New
7657         tag and variable \pdf_mode, defaults to false. New tag and
7658         variable \pdflatex_command, defaults to pdflatex. New tag and
7659         variable \view_pdf_command, defaults to xpdf. New tag and variable
7660         \pdf_to_ps_command, defaults to pdf2ps.
7661
7662 2000-01-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
7663
7664         * src/bufferlist.C (close): don't call insetUnlock if the buffer
7665         does not have a BufferView.
7666         (unlockInset): ditto + don't access the_locking_inset if the
7667         buffer does not have a BufferView.
7668
7669         * src/LyXView.C (KeyPressMask_raw_callback): add a XSync in
7670         certain circumstances so that we don't continue a keyboard
7671         operation long after the key was released. Try f.ex. to load a
7672         large document, press PageDown for some seconds and then release
7673         it. Before this change the document would contine to scroll for
7674         some time, with this change it stops imidiatly.
7675
7676         * src/support/block.h: don't allocate more space than needed. As
7677         long as we don't try to write to the arr[x] in a array_type arr[x]
7678         it is perfectly ok. (if you write to it you might segfault).
7679         added operator value_type*() so that is possible to pass the array
7680         to functions expecting a C-pointer.
7681
7682         * lib/Makefile.am (dist-hook): don't fail completely if unable to
7683         cvs.
7684
7685         * intl/*: updated to gettext 0.10.35, tried to add our own
7686         required modifications. Please verify.
7687
7688         * po/*: updated to gettext 0.10.35, tried to add our own required
7689         modifications. Please verify.
7690         
7691         * src/support/lstrings.C (tostr): go at fixing the problem with
7692         cxx and stringstream. When stringstream is used return
7693         oss.str().c_str() so that problems with lyxstring and basic_string
7694         are avoided. Note that the best solution would be for cxx to use
7695         basic_string all the way, but it is not conformant yet. (it seems)
7696
7697         * src/lyx_cb.C + other files: moved several global functions to
7698         class BufferView, some have been moved to BufferView.[Ch] others
7699         are still located in lyx_cb.C. Code changes because of this. (part
7700         of "get rid of current_view project".)
7701
7702         * src/buffer.C + other files: moved several Buffer functions to
7703         class BufferView, the functions are still present in buffer.C.
7704         Code changes because of this.
7705
7706         * config/lcmessage.m4: updated to most recent. used when creating
7707         acinclude.m4.
7708
7709         * config/progtest.m4: updated to most recent. used when creating
7710         acinclude.m4.
7711         
7712         * config/gettext.m4: updated to most recent. applied patch for
7713         tmplinguas.
7714
7715         * config/gettext.m4.patch: new file that shows what changes we
7716         have done to the local copy of gettext.m4.
7717
7718         * config/libtool.m4: new file, used in creation of acinclude.m4
7719
7720         * config/lyxinclude.m4: new file, this is the lyx created m4
7721         macros, used in making acinclude.m4.
7722         
7723         * autogen.sh: GNU m4 discovered as a separate task not as part of
7724         the lib/configure creation. 
7725         Generate acinlucde from files in config. Actually cat
7726         lyxinclude.m4, libtool.m4 and gettext.m4 together. This makes it
7727         easier to upgrade .m4 files that really are external.
7728
7729         * src/Spacing.h: moved using std::istringstream to right after
7730         <sstream>. This should fix the problem seen with some compilers.
7731
7732 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
7733
7734         * src/lyx_cb.C: began some work to remove the dependency a lot of
7735         functions have on BufferView::text, even if not really needed.
7736         (GetCurrentTextClass): removed this func, it only hid the
7737         current_view. 
7738
7739         * src/Makefile.am (lyx_DEPENDENCIES): use support/libsupport.la I
7740         forgot this in last commit.
7741
7742         * src/Bullet.C (bulletEntry): use static char const *[] for the
7743         tables, becuase of this the return arg had to change to string.
7744         (bulletSize): ditto
7745         (~Bullet): removed unneeded destructor
7746
7747         * src/BufferView.C (beforeChange): moved from lyx_cb.C
7748         (insetSleep): moved from Buffer
7749         (insetWakeup): moved from Buffer
7750         (insetUnlock): moved from Buffer
7751
7752         * buffer.[Ch], BufferView.[Ch] + others: moved the_locking_inset
7753         from Buffer to BufferView.
7754         
7755         * acinclude.m4: include libtool.m4 from libtool 1.3.4.
7756
7757         * config/ltmain.sh: updated to version 1.3.4 of libtool
7758
7759         * config/ltconfig: updated to version 1.3.4 of libtool
7760
7761 2000-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7762
7763
7764         * src/buffer.C (pop_tag): fix a dubious for() loop initialization.
7765         Did I get that right?
7766
7767         * src/lyxlex.h: add a "using" directive or two.
7768         * src/Spacing.h: ditto.
7769         * src/insets/figinset.C: ditto.
7770         * src/support/filetools.C: ditto.
7771         * src/support/lstrings.C: ditto.
7772         * src/BufferView.C: ditto.
7773         * src/bufferlist.C: ditto.
7774         * src/lyx_cb.C: ditto.
7775         * src/lyxlex.C: ditto.
7776
7777         * NEWS: add some changes for 1.1.4.
7778         
7779 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
7780
7781         * src/BufferView.C: first go at a TextCache to speed up switching
7782         between documents.
7783
7784 2000-01-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7785
7786         * lib/examples/ItemizeBullets.lyx: update from Tino Meinen. 
7787         * lib/examples/nl_voorbeeld_ruw.lyx: ditto.
7788         * lib/examples/nl_voorbeeld_verlyxt.lyx: ditto.
7789         * lib/examples/nl_opsommingstekens.lyx: new translation from Tino
7790         Meinen.
7791         
7792         * src/mathed/math_defs.h (MathedRowSt): make sure that all
7793         members of the struct are correctly initialized to 0 (detected by
7794         purify) 
7795         * src/lyxrc.C (LyXRC): ditto for print_adapt_output.
7796         * src/insets/figinset.C (InsetFig): ditto for pswid and pshgh.
7797
7798         * src/insets/figinset.C (sigchldchecker): use "delete" to free a
7799         pidwait, since it was allocated with "new". This was potentially
7800         very bad. Thanks to Michael Schmitt for running purify for us.
7801
7802
7803 2000-01-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7804
7805         * src/lyx_gui_misc.C: add a 'using std::make_pair;' statement.
7806
7807         * src/lyx_gui_misc.h: add a 'using std::pair;' statement.
7808
7809 1999-12-30  Allan Rae  <rae@lyx.org>
7810
7811         * lib/templates/IEEEtran.lyx: minor change
7812
7813         * src/lyxvc.C (registrer, checkIn), src/lyx_cb.C (MenuInsertLabel),
7814         src/mathed/formula.C (LocalDispatch): askForText changes
7815
7816         * src/lyx_gui_misc.[Ch] (askForText): now returns a bool also so we 
7817         know when a user has cancelled input. Fixes annoying problems with
7818         inserting labels and version control.
7819
7820 1999-12-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
7821
7822         * src/support/lstrings.C (tostr): rewritten to use strstream and
7823         stringstream
7824
7825 1999-12-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7826
7827         * src/support/filetools.C (IsFileWriteable): use fstream to check
7828         (IsDirWriteable): use fileinfo to check
7829
7830         * src/support/filetools.h (FilePtr): whole class deleted
7831
7832         * src/insets/figinset.C (GetPSSizes): rewritten to use ifstream.
7833
7834         * src/lyxparagraph.h (readSimpleWholeFile): make arg istream
7835
7836         * src/lyx_cb.C (InsertAsciiFile): use ifstream instead of FilePtr
7837
7838         * src/bufferlist.C (write): use ifstream and ofstream instead of
7839         FILE*
7840
7841         * src/Spacing.h: use istrstream instead of sscanf
7842
7843         * src/mathed/math_defs.h: change first arg to istream from FILE*
7844
7845         * src/buffer.C (insertLyXFile): use ifstream instead of FilePtr
7846
7847         * src/mathed/math_parser.C: have yyis to be an istream 
7848         (LexGetArg): use istream (yyis)
7849         (yylex): ditto
7850         (mathed_parse): ditto
7851         (mathed_parser_file): first arg istream instead of FILE*, set yyis
7852
7853         * src/mathed/formula.C (Read): rewritten to use istream
7854
7855         * src/mathed/formulamacro.C (Read): rewritten to use istream
7856
7857         * src/lyxlex.h (~LyXLex): deleted desturctor 
7858         (getStream): new function, returns an istream
7859         (getFile): deleted funtion
7860         (IsOK): return is.good();
7861
7862         * src/lyxlex.C (LyXLex): delete file and owns_file
7863         (setFile): open an filebuf and assign that to a istream instead of
7864         using FILE*
7865         (setStream): new function, takes an istream as arg. 
7866         (setFile): deleted function
7867         (EatLine): rewritten us use istream instead of FILE*
7868         (next): ditto
7869         (nextToken): ditto
7870
7871         * src/table.C (LyXTable): use istream instead of FILE*
7872         (Read): rewritten to take an istream instead of FILE*
7873
7874 1999-12-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7875
7876         * src/buffer.C (Dispatch): remove an extraneous break statement.
7877
7878         * src/support/filetools.C (QuoteName): change to do simple
7879         'quoting'. More work is necessary. Also changed to do nothing
7880         under emx (needs fix too).
7881         (Putenv): Cast the argument of putenv() with PUTENV_TYPE_ARG.
7882
7883         * acinclude.m4 (STL_STRING_FWD_H_LOCATION): add the comment for
7884         config.h.in to the AC_DEFINE_UNQUOTED() call.
7885         (LYX_FUNC_PUTENV_ARGTYPE): new macro. Checks whether putenv()
7886         needs char * as argument (because Solaris 7 declares it like
7887         that). 
7888
7889         * acconfig.h: remove placeholder for STL_STRING_FWD_H_LOCATION;
7890         remove definition of BZERO.
7891
7892 1999-12-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
7893
7894         * src/support/LRegex.C: include <regex.h> if HAVE_REGEX_H is
7895         defined, "lyxregex.h" if not.
7896
7897         * src/support/Makefile.am (noinst_LTLIBRARIES): changed from
7898         pkglib_ to noinst_
7899         (REGEX): new variable that is set to regex.c lyxregex.h when
7900         AM_CONDITIONAL USE_REGEX is set.
7901         (libsupport_la_SOURCES): add $(REGEX)
7902
7903         * src/mathed/Makefile.am (noinst_LTLIBRARIES): changed from
7904         pkglib_ to noinst_
7905
7906         * src/insets/Makefile.am (noinst_LTLIBRARIES): changed from
7907         pkglib_ to noinst_
7908
7909         * configure.in: add call to LYX_REGEX 
7910
7911         * acinclude.m4 (LYX_REGEX): checks if we need to use the included
7912         regex or not. Uses a a AM_CONDITIONAL to decide what to compile. 
7913
7914 1999-12-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7915
7916         * lib/bind/fi_menus.bind: new file, from
7917         pauli.virtanen@saunalahti.fi. 
7918
7919         * src/buffer.C (getBibkeyList): pass the parameter delim to
7920         InsetInclude::getKeys and InsetBibtex::getKeys.
7921
7922         * src/insets/insetinclude.[Ch] (getKeys): add parameter delim, which
7923         is passed to Buffer::getBibkeyList
7924         
7925         * src/insets/insetbib.[Ch] (getKeys): add parameter delim, and use it
7926         instead of the hardcoded comma.
7927
7928         * src/insets/insetbib.C (getKeys): make sure that there are not
7929         leading blanks in bibtex keys. Normal latex does not care, but
7930         harvard.sty seems to dislike blanks at the beginning of citation
7931         keys. In particular, the retturn value of the function is
7932
7933         * INSTALL: make it clear that libstdc++ is needed and that gcc
7934         2.7.x probably does not work.
7935
7936         * src/support/filetools.C (findtexfile): make debug message go to
7937         the LATEX channel
7938         * src/insets/insetbib.C (getKeys): ditto
7939
7940         * src/debug.C (showTags): make sure that the output is correctly
7941         aligned. 
7942
7943         * configure.in: add a comment for TWO_COLOR_ICON define.
7944
7945         * acconfig.h: remove all the entries that already defined in
7946         configure.in or acinclude.m4.
7947
7948         * src/buffer.C (makeLaTeXFile): headers of latex file also changed
7949         to avoid user name, date and copyright.
7950
7951 1999-12-21  Juergen Vigna  <jug@sad.it>
7952
7953         * src/table.C (Read): Now read bogus row format informations
7954                 if the format is < 5 so that afterwards the table can
7955                 be read by lyx but without any format-info. Fixed the
7956                 crash we experienced when not doing this.
7957
7958 1999-12-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
7959
7960         * src/text2.C (RedoHeightOfParagraph): rename arg cursor -> cur
7961         (RedoDrawingOfParagraph): ditto
7962         (RedoParagraphs): ditto
7963         (RemoveTableRow): ditto
7964
7965         * src/text.C (Fill): rename arg paperwidth -> paper_width
7966
7967         * src/buffer.C (insertLyXFile): rename var filename -> fname
7968         (writeFile): rename arg filename -> fname
7969         (writeFileAscii): ditto
7970         (makeLaTeXFile): ditto
7971         (makeLinuxDocFile): ditto
7972         (makeDocBookFile): ditto
7973
7974         * src/LaTeX.C (runMakeIndex): change arg name from file -> f
7975         (runBibTeX): ditto
7976
7977         * src/Makefile.am (lyx_SOURCES): add bmtable.c and remove bmtable.C
7978
7979         * src/bmtable.h: add extern "C" on this file when __cplusplus is
7980         defined.
7981
7982         * src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
7983         compiled by a C compiler not C++. 
7984
7985         * src/layout.h (LyXTextClass): added typedef for const_iterator
7986         (LyXTextClassList): added typedef for const_iterator + member
7987         functions begin and end.
7988
7989         * src/LyXView.C (UpdateDocumentClassChoice): rewritten to use
7990         iterators to fill the choice_class.
7991         (updateLayoutChoice): rewritten to use iterators to fill the
7992         layoutlist in the toolbar.
7993
7994         * src/BufferView.h (BufferView::work_area_width): removed unused
7995         variable. 
7996
7997         * src/lyx_gui_misc.C (WarnReadonly): added string parameter 'file'
7998
7999         * src/buffer.C (sgmlOpenTag): drop the use of the static space array
8000         (sgmlCloseTag): ditto
8001
8002         * src/support/lstrings.h: return type of countChar changed to
8003         unsigned char.
8004
8005         * src/support/lstrings.C (countChar): use HAVE_STD_COUNT to choose
8006         what version of this func to use. Also made to return unsigned int.
8007
8008         * configure.in: call LYX_STD_COUNT 
8009
8010         * acinclude.m4 (LYX_STD_COUNT): new function checks for a standard
8011         conforming std::count. 
8012
8013 1999-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8014
8015         * src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime
8016         and a subscript would give bad display (patch from Dekel Tsur
8017         <dekel@math.tau.ac.il>). 
8018
8019         * src/insets/insetlatexaccent.h: make sure ACCENT_TYPES is public. 
8020
8021         * src/spellchecker.C (create_ispell_pipe): use a const_cast to
8022         please sun CC.
8023
8024         * src/chset.h: add a few 'using' directives
8025
8026         * src/lyxfunc.C (Dispatch): check that LFUN_UNKNOWN_ACTION is not
8027         triggered when no buffer is active
8028
8029         * src/layout.C: removed `break' after `return' in switch(), since
8030         it is unreachable.
8031
8032         * src/lyx_main.C (init): make sure LyX can be ran in place even
8033         when libtool has done its magic with shared libraries. Fix the
8034         test for the case when the system directory has not been found.
8035
8036         * src/lyx_cb.C (MenuMakeLaTeX): make sure to keep the full path
8037         name for the latex file.
8038         (MenuMakeHTML): ditto
8039
8040         * src/buffer.h: add an optional boolean argument, which is passed
8041         to ChangeExtension.
8042
8043 1999-12-20  Allan Rae  <rae@lyx.org>
8044
8045         * lib/templates/IEEEtran.lyx: small correction and update.
8046
8047         * configure.in: Attempted to use LYX_PATH_HEADER
8048
8049         * src/stl_string_fwd.h: Don't need HAVE_STL_STRING_FWD_H anymore
8050
8051         * acconfig.h, acinclude.m4 (LYX_STL_STRING_FWD): totally revised after
8052         input from JMarc.  Now use preprocessor to find the header.
8053         Also stopped making HAVE_STL_STRING_FWD_H and extended the comments.
8054         (LYX_PATH_HEADER): My, so far, failed attempt to generalize
8055         LYX_STL_STRING_FWD.  See comments in file.      
8056
8057 1999-12-19  Asger Alstrup Nielsen  <alstrup@diku.dk>
8058
8059         * The global MiniBuffer * minibuffer variable is dead.
8060         
8061         * The global FD_form_main * fd_form_main variable is dead.
8062
8063 1999-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8064
8065         * src/toolbar.C (set): condition #warning on WITH_WARNINGS
8066
8067         * src/table.h: add the LOstream.h header
8068         * src/debug.h: ditto
8069         
8070         * src/LyXAction.h: change the explaination of the ReadOnly
8071         attribute: is indicates that the function _can_ be used.
8072
8073         * src/LyXAction.C (init): find-replace _can_ be used in read-only
8074         mode. 
8075
8076 1999-12-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8077
8078         * src/lyxfont.C (ascent): Make sure that char is _always_ used as
8079         unsigned. 
8080         (descent): ditto
8081         (lbearing): ditto
8082         (rbearing): ditto
8083
8084         * src/paragraph.C (GetWord): assert on pos>=0
8085         (GetChar): ditto
8086         
8087         * src/support/lyxstring.C: condition the use of an invariant on
8088         ENABLE_ASSERTIONS 
8089         * src/support/lyxstring.h: ditto
8090
8091         * src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by ENABLE_ASSERTIONS.
8092         Use LAssert.h instead of plain assert().
8093
8094         * src/support/lstrings.h: add LAssert.h, in case it is needed.
8095
8096         * src/lyxfunc.C: do not include LAssert.h, it is not used.
8097         * src/support/filetools.C: ditto
8098
8099         * src/support/LAssert.h: make Assert a no-op if ENABLE_ASSERTIONS
8100         is not defined. 
8101
8102         * INSTALL: document the new configure flags
8103         
8104         * configure.in: suppress --with-debug; add --enable-assertions
8105
8106         * acinclude.m4: various changes in alignment of help strings.
8107
8108 1999-12-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8109
8110         * src/kbmap.C: commented out the use of the hash map in kb_map,
8111         beginning of movement to a stl::container. 
8112
8113         * several files: removed code that was not in effect when
8114         MOVE_TEXT was defined.
8115         
8116         * lib/kbd/iso8859-1.cdef: removed bogus backslashes. Backslashes
8117         for escaping should not be used. We can discuss if the string
8118         should be enclosed in f.ex. [] instead of "".
8119
8120         * src/trans_mgr.C (insert): use the new returned value from
8121         encodeString to get deadkeys and keymaps done correctly.
8122
8123         * src/chset.C (encodeString): changed to return a pair, to tell
8124         what to use if we know the string.
8125
8126         * src/lyxscreen.h (fillArc): new function.
8127
8128         * src/FontInfo.C (resize): rewritten to use more std::string like
8129         structore, especially string::replace.
8130
8131         * src/insets/insetlatexaccent.C (Draw): use fillArc for the
8132         approp. accents.
8133
8134         * configure.in (chmod +x some scripts): remove config/gcc-hack 
8135
8136 1999-12-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8137
8138         * src/buffer.C (writeFile): change once again the top comment in a
8139         .lyx file to point to www.lyx.org and to use LYX_DOCVERSION
8140         instead of an hardcoded version number.
8141         (makeDocBookFile): ditto
8142
8143         * src/version.h: add new define LYX_DOCVERSION
8144
8145         * po/de.po: update from Pit Sütterlin
8146         * lib/bind/de_menus.bind: ditto.
8147         
8148         * src/lyxfunc.C (Dispatch): call MenuExport()
8149         * src/buffer.C (Dispatch): ditto
8150
8151         * src/lyx_cb.C (MenuMakeHTML): new function, moved from
8152         LyXFunc::Dispatch().
8153         (MenuExport): new function, moved from
8154         LyXFunc::Dispatch().
8155
8156         * src/trans_mgr.C (insert): small cleanup
8157         * src/chset.C (loadFile): ditto
8158
8159         * lib/kbd/iso8859-1.cdef: add missing backslashes
8160
8161 1999-12-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
8162
8163         * src/insets/insetlatexaccent.C (Lbearing): new function, used to
8164         help with placing the manually drawn accents better.
8165         (Rbearing): ditto
8166         (Draw): x2 and hg changed to float to minimize rounding errors and
8167         help place the accents better.
8168
8169         * src/lyxfont.C (ascent): fixed faulty static_cast, casting from
8170         unsigned short to char is just wrong...cast the char to unsigned
8171         char instead so that the two values can compare sanely. This
8172         should also make the display of insetlatexaccents better and
8173         perhaps also some other insets.
8174         (descent): ditto
8175         (lbearing): new function
8176         (rbearing): ditto
8177
8178 1999-12-15  Allan Rae  <rae@lyx.org>
8179
8180         * src/stl_string_fwd.h, src/Makefile.am (lyx_SOURCES):  added new
8181         header that provides a wrapper around the very annoying SGI STL header
8182         of the same name.
8183
8184         * src/support/lyxstring.C, src/LString.h:
8185         removed old SGI-STL-compatability attempts.
8186
8187         * configure.in: Use LYX_STL_STRING_FWD.
8188
8189         * acinclude.m4 (LYX_STL_STRING_FWD), acconfig.h: Test if 
8190         stl_string_fwd.h is around and try to determine it's location.
8191         Major improvement over previous SGI STL 3.2 compatability.
8192         Three small problems remain with this function due to my zero
8193         knowledge of autoconf.  JMarc and lgb see the comments in the code.
8194
8195 1999-12-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8196
8197         * src/broken_const.h, config/hack-gcc, config/README: removed
8198         
8199         * configure.in: remove --with-gcc-hack option; do not call
8200         LYX_CXX_STL_STACK 
8201
8202         * INSTALL: remove documentation of --with-broken-const and
8203         --with-gcc-hack
8204         
8205         * acconfig.h: remove all trace of BROKEN_CONST define
8206
8207         * src/buffer.C (makeDocBookFile): update version number in output
8208         file. 
8209         (SimpleDocBookOnePar): fix an assert when trying to a character
8210         access beyond string length
8211         [Patch from Jose']
8212
8213 1999-12-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8214
8215         * po/de.po: fix the Export menu
8216
8217         * lyx.man: update the description of -dbg
8218
8219         * src/lyx_main.C (setDebuggingLevel): call Debug::showLevel()
8220         (commandLineHelp): updated
8221         (easyParse): show list of available debug levels if -dbg is passed
8222         without argument.
8223
8224         * src/Makefile.am: add debug.C
8225
8226         * src/debug.h: moved some code to debug.C
8227
8228         * src/debug.C: new file. Contains code to set and show debug
8229         level. 
8230
8231         * src/layout.C: remove 'break' after 'continue' in switch
8232         statements, since these cannot be reached.
8233
8234 1999-12-13  Allan Rae  <rae@lyx.org>
8235
8236         * src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.
8237         (in_word_set): hash() -> math_hash()
8238
8239         * src/LString.h: Used USING_EXCEPTIONS in SGI STL-3.2 support 
8240
8241         * acconfig.h: Added a test for whether we are using exceptions in the
8242         current compilation run. If so USING_EXCEPTIONS is defined.
8243
8244         * config.in: Check for existance of stl_string_fwd.h
8245         * src/LString.h: If compiling --with-included-string and SGI's
8246         STL version 3.2 is present (see above test) we need to block their
8247         forward declaration of string and supply a __get_c_string().
8248         However, it turns out this is only necessary if compiling with
8249         exceptions enabled so I've a bit more to add yet.
8250
8251         * src/insets/figinset.[Ch], src/insets/insetinclude.C,
8252           src/insets/insetloa.C, src/layout.h, src/lyxparagraph.h,
8253           src/support/LRegex.h, src/undo.h:
8254         Shuffle the order of the included files a little to ensure that
8255         LString.h gets included before anything that includes stl_string_fwd.h
8256
8257         *  src/support/lyxstring.C: We need to #include LString.h instead of
8258         lyxstring.h to get the necessary definition of __get_c_string.
8259         (__get_c_string): New function.  This is defined static just like SGI's
8260         although why they need to do this I'm not sure.  Perhaps it should be
8261         in lstrings.C instead.
8262
8263         * lib/templates/IEEEtran.lyx:  New template file.
8264
8265 1999-12-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
8266         
8267         * Makefile.in.in (MKINSTALLDIRS): use $(srcdir)/@MKINSTALLDIRS@
8268         * intl/Makefile.in (MKINSTALLDIRS):  ditto
8269
8270         * src/LyXAction.C (init): changed to hold the LFUN data in a
8271         automatic array in stead of in callso to newFunc, this speeds up
8272         compilation a lot. Also all the memory used by the array is
8273         returned when the init is completed.
8274
8275         * a lot of files: compiled with -Wold-style-cast, changed most of
8276         the reported offenders to C++ style casts. Did not change the
8277         offenders in C files. 
8278
8279         * src/trans.h (Match): change argument type to unsigned int.
8280
8281         * src/support/DebugStream.C: fix some types on the streambufs so
8282         that it works on a conforming implementation.
8283
8284 1999-12-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8285
8286         * lib/examples/example_{raw,lyxified}.lyx: fix embarassing sentence.
8287
8288         * src/support/lyxstring.C: remove the inline added earlier since
8289         they cause a bunch of unsatisfied symbols when linking with dec
8290         cxx. Cxx likes to have the body of inlines at the place where they
8291         are declared.
8292
8293         * src/trans.C (AddDeadkey): add an 'unsigned char' cast to avoid
8294         accessing negative bounds in array. This fixes the crash when
8295         inserting accented characters.
8296         * src/trans.h (Match): ditto
8297
8298         * src/buffer.C (Dispatch): since this is a void, it should not try
8299         to return anything...
8300
8301 1999-12-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
8302
8303         * src/buffer.h: removed the two friends from Buffer. Some changes
8304         because of this. Buffer::getFileName and Buffer::setFileName
8305         renamed to Buffer::fileName() and Buffer::fileName(...).
8306
8307 1999-12-09  Lars Gullik Bjønnes <larsbj@lyx.org>
8308
8309         * buffer.[Ch], BufferView.[Ch] + other files: Moved Buffer::text
8310         and Buffer::update(short) to BufferView. This move is currently
8311         controlled by a define MOVE_TEXT, this will be removed when all
8312         shows to be ok. This move paves the way for better separation
8313         between buffer contents and buffer view. One side effect is that
8314         the BufferView needs a rebreak when swiching buffers, if we want
8315         to avoid this we can add a cache that holds pointers to LyXText's
8316         that is not currently in use. 
8317
8318         * buffer.[Ch], lyx_main.C: small changes to the "-export" patch by
8319         André Pönitz. 
8320
8321 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
8322
8323         * buffer.[Ch]: Dispatch() - new dispatcher on the buffer level
8324
8325         * lyx_main.C: new command line option -x (or --execute) and
8326           -e (or --export). Now direct conversion from .lyx to .tex
8327           (.dvi, .ps, ...) is possible  ('lyx file.lyx --export latex')
8328           Unfortunately, X is still needed and the GUI pops up during the
8329           process...
8330
8331 1999-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8332
8333         * src/Spacing.C: add a using directive to bring stream stuff into
8334         normal namespace.
8335         * src/paragraph.C: ditto
8336         * src/buffer.C: ditto
8337
8338         * NEWS: updated a bit the new features of 1.1.3 (took a few things
8339         from Lars' announcement).
8340
8341         * lib/examples/nl_voorbeeld_{ruw,verlyxt}.lyx: new tutorial
8342         example files from Tino Meinen.
8343         
8344 1999-12-06  Allan Rae  <rae@lyx.org>
8345
8346         * src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.
8347
8348 1999-12-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
8349
8350         * src/support/lyxstring.C: added a lot of inline for no good
8351         reason
8352         
8353         * src/lyxfont.[Ch]: removed latexWriteStartChanges, and
8354         latexWriteEndChanges, they were not used.
8355         
8356         * src/layout.h (operator<<): output operator for PageSides
8357
8358         * src/mathed/math_iter.C (my_memcpy): slightly changed.
8359
8360         * some example files: loaded in LyX 1.0.4 and saved again to update
8361         certain constructs (table format) 
8362
8363         * a lot of files: did the change to use fstream/iostream for all
8364         writing of files. Done with a close look at Andre Poenitz's patch.
8365
8366         * some files: whitespace changes.
8367         
8368 1999-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8369
8370         * src/mathed/math_iter.C (my_memcpy): new function. Since the
8371         built-in memcpy() is broken on egcs and gcc 2.95 for alpha
8372         architecture, we provide our own. It is used unconditionnally, but
8373         I do not think this is a performance problem. Thanks to Angus
8374         Leeming <a.leeming@ic.ac.uk> for the code (and again to Michal
8375         Jaegermann <michal@ellpspace.math.ualberta.ca> for finding it the
8376         first time).
8377         (GetInset): use my_memcpy.
8378         (Insert): ditto
8379         (Copy): ditto
8380
8381         * lib/chkconfig.ltx: some cleanup of the latex code. I am not sure
8382         it is easier to understand, but it uses less TeX-only constructs now.
8383
8384         * acinclude.m4 (LYX_SEARCH_PROG): make it work when the PATH
8385         elements contain spaces
8386
8387         * lib/configure: regenerated
8388         
8389         * lib/configure.m4 (SEARCH_PROG): make it work when the PATH
8390         elements contain spaces; display the list of programs that are
8391         tried.
8392
8393         * autogen.sh: make sure lib/configure is executable
8394
8395         * lib/examples/*: rename the tutorial examples to begin with the
8396         two-letters language code.
8397
8398         * src/lyxfunc.C (getStatus): do not query current font if no
8399         buffer exists.
8400
8401         * src/lyx_cb.C (RunScript): use QuoteName
8402         (MenuRunDvips): ditto
8403         (PrintApplyCB): ditto
8404
8405         * src/support/filetools.[Ch] (QuoteName): new function. Add quotes
8406         around argument, so that it works well with the current shell.
8407         Does not work properly with OS/2 shells currently.
8408
8409         * src/LaTeXLog.C (ShowLatexLog): use Buffer::getLatexName
8410         * src/LyXSendto.C (SendtoApplyCB): ditto
8411         * src/lyxfunc.C (Dispatch): ditto
8412         * src/buffer.C (runLaTeX): ditto
8413         (runLiterate): ditto
8414         (buildProgram): ditto
8415         (runChktex): ditto
8416         * src/lyx_cb.C (RunScript): ditto
8417         (MenuMakeLaTeX): ditto
8418         
8419         * src/buffer.h (getLatexName): new method 
8420
8421         * src/support/filetools.C (MakeLatexName): renamed from SpaceLess
8422
8423 1999-12-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8424
8425         * images/sqrt.xpm: change name of the sqrt icon to sqrt_xpm.
8426         * src/mathed/math_panel.C (mathed_get_pixmap_from_icon): ditto
8427         (create_math_panel): ditto
8428
8429         * src/lyxfunc.C (getStatus): re-activate the code which gets
8430         current font and cursor; add test for export to html.
8431
8432         * src/lyxrc.C (read): remove unreachable break statements; add a
8433         few "using".
8434
8435         * src/bmtable.C (fl_set_bmtable_data): add a const_cast.
8436         
8437 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
8438
8439         * src/mathed/formula.C (LocalDispatch): fix small whitspace bug
8440         introduced by faulty regex.
8441         * src/buffer.C: ditto
8442         * src/lastfiles.C: ditto
8443         * src/paragraph.C: ditto
8444         * src/table.C: ditto
8445         * src/vspace.C: ditto
8446         * src/insets/figinset.C: ditto
8447         Note: most of these is absolutely harmless, except the one in
8448         src/mathed formula.C.
8449
8450 1999-11-30  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>
8451
8452         * src/ImportNoweb.C (documentclass): fixed bounds for substr
8453           operation, yielding correct results for the reLyX command.
8454
8455 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
8456
8457         * src/support/filetools.C (ExpandPath): removed an over eager
8458         Assert.
8459         (ReplaceEnvironmentPath): ditto
8460
8461         * src/toolbar.C (BubbleTimerCB): use C++ style casts. This clearly
8462         shows that we are doing something fishy in our code...
8463         (BubblePost): ditto
8464         (ToolbarCB): ditto
8465
8466         * src/lyxrc.C (read): use a double switch trick to get more help
8467         from the compiler. (the same trick is used in layout.C)
8468         (write): new function. opens a ofstream and pass that to output
8469         (output): new function, takes a ostream and writes the lyxrc
8470         elemts to it. uses a dummy switch to make sure no elements are
8471         forgotten. 
8472
8473         * src/lyxlex.h: added a struct pushpophelper for use in functions
8474         with more than one exit point.
8475
8476         * src/lyxlex.[Ch] (GetInteger): made it const
8477         (GetFloat): ditto
8478         (GetBool): ditto
8479
8480         * src/lyxfunc.C (Dispatch): added case for LFUN_SAVEPREFERENCES
8481
8482         * src/layout.[hC] : LayoutTags splitted into several enums, new
8483         methods created, better error handling cleaner use of lyxlex. Read
8484         the diff.
8485
8486         * src/bmtable.[Ch]: change some member prototypes because of the
8487         image const changes. 
8488
8489         * commandtags.h, src/LyXAction.C (init): new function:
8490         "preferences-save", saves the lyxrc entries into .lyx/preferences.
8491         This file is not read automatically but you can add \input
8492         preferences to your lyxrc if you want to. We need to discuss how
8493         to handle this. 
8494
8495         * src/LaTeX.C (runBibTeX): use regex to match for the needed lines
8496         in .aux, also remove .bib and .bst files from dependencies when
8497         running bibtex.
8498
8499         * src/BufferView.C, src/LyXView.C: add const_cast several places
8500         because of changes to images.
8501
8502         * lib/images/*: same change as for images/*
8503         
8504         * lib/lyxrc.example: Default for accept_compound is false not no.
8505
8506         * images/*: changed to be const, however I have som misgivings
8507         about this change so it might be changed back.
8508
8509 1999-11-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8510
8511         * lib/configure, po/POTFILES.in: regenerated
8512
8513         * autogen.sh: autogenerate lib/configure from lib/configure.m4
8514
8515         * config/lib_configure.m4: removed
8516         
8517         * lib/configure.m4: new file (was config/lib_configure.m4)
8518
8519         * configure.in: do not test for rtti, since we do not use it.
8520         
8521 1999-11-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
8522
8523         * src/support/lyxstring.C (lyxstring::Srep): Changed to use a
8524         doubling of allocated space scheme. This makes it faster for large
8525         strings end to use less memory for small strings. xtra rememoved. 
8526
8527         * src/insets/figinset.C (waitalarm): commented out.
8528         (GhostscriptMsg): use static_cast
8529         (GhostscriptMsg): use new instead of malloc to allocate memory for
8530         cmap. also delete the memory after use.
8531
8532         * src/lyx_cb.C (SetXtermCursor): made cursor_undefined a bool
8533
8534         * src/LaTeX.C (scanAux): new method. Scans the .aux file and looks
8535         for changes in bibtex database or style.
8536         (runBibTeX): remove all .bib and .bst files from dep before we
8537         begin. 
8538         (run): use scanAuc in when dep file already exist.
8539
8540         * src/DepTable.C (remove_files_with_extension): new method
8541         (exist): new method
8542
8543         * src/DepTable.[Ch]: made many of the methods const. 
8544
8545 1999-11-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8546
8547         * src/bufferparams.C: make sure that the default textclass is
8548         "article". It used to be the first one by description order, but
8549         now the first one is "docbook".
8550
8551         * src/lyx_main.C (setDebuggingLevel): change type of argument to
8552         string; call Debug::value.
8553         (easyParse): pass complete argument to setDebuggingLevel().
8554
8555         * src/debug.h (value): fix the code that parses debug levels.
8556
8557         * src/debug.h: add new debug type ACTION, reserved for LyXAction
8558         class.  
8559
8560         * src/LyXAction.C: use Debug::ACTION as debug channel.
8561
8562         * src/lyxlookup.C: make the debug statements go to Debug::KEY.
8563
8564         * NEWS: updated for the future 1.1.3 release.
8565
8566         * src/mathed/symbol_def.h: swap the definitions of \varepsilon and
8567         \epsilon. Now \epsilon shows as red text, and \varepsilon shows as
8568         it should. This is of course a controversial change (since many
8569         people will find that their lyx workscreen is suddenly full of
8570         red), but done for the sake of correctness.
8571
8572         * src/mathed/formulamacro.h, src/mathed/math_macro.[Ch],
8573           src/mathed/math_root.[Ch] (Clone): return a MathedInset*  
8574
8575         * src/insets/inseterror.h, src/insets/inseturl.h,
8576           src/insets/insetinfo.h, src/insets/figinset.h,
8577           src/mathed/formulamacro.h, src/mathed/math_macro.h
8578           (EditMessage): add a missing const and add _() to make sure that
8579         translation happens
8580
8581         * src/ImportNoweb.C, src/LyXAction.h, src/insets/figinset.C,
8582           src/insets/insetbib.C, src/support/filetools.C: add `using'
8583         directives for cxx.  
8584
8585         * src/lyxfunc.C (Dispatch): make sure nothing bad happens when
8586         doing 'Insert index of last word' at the beginning of a paragraph.
8587
8588 1999-11-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
8589
8590         * several files: white-space changes.
8591
8592         * src/mathed/formula.C: removed IsAlpha and IsDigit
8593
8594         * src/insets/insetbib.C (getKeys): use findtexfile to look for the
8595         .bib file. use a ifstream instead of FilePtr when parsing the .bib
8596         file for keys.
8597
8598         * src/insets/figinset.C (GetPSSizes): don't break when
8599         "EndComments" is seen. But break when a boundingbox is read.
8600
8601         * all classes inherited from Inset: return value of Clone
8602         changed back to Inset *.
8603
8604         * all classes inherited form MathInset: return value of Clone
8605         changed back to MathedInset *.
8606         
8607         * src/insets/figinset.C (runqueue): use a ofstream to output the
8608         gs/ps file. Might need some setpresicion or setw. However I can
8609         see no problem with the current code.
8610         (runqueue): use sleep instead of the alarm/signal code. I just
8611         can't see the difference.
8612
8613         * src/paragraph.C (LyXParagraph): reserve space in the new
8614         paragraph and resize the inserted paragraph to just fit.
8615
8616         * src/lyxfunc.h (operator|=): added operator for func_status.
8617
8618         * src/lyxfunc.C (MenuNew): use FileInfo instead of FilePtr to
8619         check for readable file.
8620
8621         * src/lyx_cb.C (MenuMakeLaTeX): use FileInfo instead of FilePtr to
8622         check for readable file.
8623         (MenuMakeLinuxDoc): ditto
8624         (MenuMakeDocBook): ditto
8625         (MenuMakeAscii): ditto
8626         (InsertAsciiFile): split the test for openable and readable
8627
8628         * src/bmtable.C (draw_bitmaptable): use
8629         fl_state[fl_get_vclass()].depth instead of DefualtScreen.
8630
8631         * src/LaTeX.C, src/support/filetools.[Ch]: moved do_popen and
8632         findtexfile from LaTeX to filetools.
8633         
8634         * src/ImportNoweb.C (documentclass): rewrote to use ifstream
8635         instead of FilePtr. Needs to be verified by a literate user.
8636
8637 1999-11-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8638
8639         * src/mathed/formula.[Ch] (GetCursorPos): add a missing 'const'.
8640         (EditMessage): likewise.
8641
8642         * src/paragraph.C (SimpleTeXSpecialChars): output ~ and ^
8643         respectively as \textasciitilde and \textasciicircum.
8644
8645 1999-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
8646
8647         * src/support/lyxstring.h: made the methods that take iterators
8648         use const_iterator.
8649
8650         * src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
8651         (regexMatch): made is use the real regex class.
8652
8653         * src/support/Makefile.am: changed to use libtool
8654
8655         * src/support/.cvsignore: added *.lo, .libs and libsupport.la
8656
8657         * src/mathed/math_defs.h: made the mathaligns be in a enum instead
8658         of defines.
8659         (MathIsInset ++): changed several macros to be inline functions
8660         instead. 
8661
8662         * src/mathed/Makefile.am: changed to use libtool
8663
8664         * src/mathed/.cvsignore: added *.lo, .libs and libmathed.la
8665
8666         * src/insets/inset* : Clone changed to const and return type is
8667         the true insettype not just Inset*.
8668         
8669         * src/insets/Makefile.am: changed to use libtool
8670
8671         * src/insets/.cvsignore: added *.lo, .libs and libinsets.la
8672
8673         * src/undo.[Ch] : added empty() and changed some of the method
8674         names.
8675         
8676         * src/texrow.[Ch]: rewrote to store texrow's in a std::list.
8677
8678         * src/lyxparagraph.h: use id() and id(...) instead of getID and
8679         setID use block<> for the bullets array, added const several places.
8680
8681         * src/lyxfunc.C (getStatus): new function
8682
8683         * src/lyxfunc.[Ch] : small changes to take advantage of the new
8684         LyXAction, added const to several funtions.
8685
8686         * src/filedlg.[Ch]: rewrote to store userchache and groupchache in
8687         a std::map, and to store the dir items in a vector.
8688
8689         * src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
8690         as dependencies.
8691
8692         * src/LyXView.[Ch] + other files : changed currentView to view.
8693         
8694         * src/LyXAction.[Ch] : ported from the old devel branch.
8695         
8696         * src/.cvsignore: added .libs and a.out
8697
8698         * configure.in : changes to use libtool. 
8699
8700         * acinclude.m4 : inserted libtool.m4
8701
8702         * .cvsignore: added libtool
8703
8704 1999-11-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
8707         file name in insets and mathed directories (otherwise the
8708         dependency is not taken in account under cygwin).
8709
8710         * src/text2.C (InsertString[AB]): make sure that we do not try to
8711         read characters past the string length.
8712
8713 1999-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8714
8715         * lib/doc/LaTeXConfig.lyx.in, 
8716           lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
8717
8718         * src/buffer.C (writeFile): Do not add a comment on top of .lyx
8719         file saying who created them and when this heppened; this is
8720         useless and annoys tools like cvs.
8721
8722         * lib/layouts/g-brief-{en,de}.layout,
8723           lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
8724         from Thomas Hartkens <thomas@hartkens.de>.
8725
8726         * src/{insets,mathed}/Makefile.am: do not declare an empty
8727         LDFLAGS, so that it can be set at configure time (useful on Irix
8728         for -n32 flag).
8729
8730         * lib/reLyX/configure.in: make sure that the prefix is set
8731         correctly in LYX_DIR.
8732
8733 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
8734
8735         * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
8736         be used by 'command-sequence' this allows to bind a key to a
8737         sequence of LyX-commands
8738         (Example: 'command-sequence math-insert alpha; math-insert beta;")
8739
8740         * src/LyXAction.C: add "command-sequence"
8741
8742         * src/LyXFunction.C: handling of "command-sequence"
8743
8744         * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
8745          &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
8746
8747         * src/lyxserver.C, src/minibuffer.C: Use this new interface
8748
8749 1999-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8750
8751         * src/buffer.C (writeFile): Do not output a comment giving user
8752         and date at the beginning of a .lyx file. This is useless and
8753         annoys cvs anyway; update version number to 1.1.
8754
8755         * src/Makefile.am (LYX_DIR): add this definition, so that a
8756         default path is hardcoded in LyX.
8757
8758         * configure.in: Use LYX_GNU_GETTEXT.
8759
8760         * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
8761         AM_GNU_GETTEXT with a bug fixed. 
8762
8763         * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
8764
8765         * src/chset.C: add "using std::ifstream;" to please dec cxx.
8766
8767         * src/lyx_main.C (init), INSTALL.OS2: the environment variable
8768         which is used to point to LyX data is now LYX_DIR_11x.
8769
8770         * lyx.man: convert to a unix text file; small updates.
8771
8772 1999-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
8773
8774         * src/support/LSubstring.[Ch]: made the second arg of most of the
8775         constructors be a const reference. 
8776
8777         * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
8778         me fixed.
8779
8780         * src/support/lyxstring.[Ch] (swap): added missing member function
8781         and specialization of swap(str, str); 
8782
8783         * src/menus.C (ShowBufferMenu): to use the new BufferStorage
8784
8785         * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
8786         trace of the old one.
8787
8788         * src/undo.[Ch]: made the undostack use std::list to store undo's in
8789         put the member definitions in undo.C.
8790
8791         * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
8792         NEW_TEXT and have now only code that was included when this was
8793         defined. 
8794
8795         * src/intl.C (LCombo): use static_cast
8796         (LCombo2): ditto
8797         (DispatchCallback): ditto
8798
8799         * src/definitions.h: removed whole file
8800         
8801         * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
8802
8803         * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
8804         parsing and stores in a std:map. a regex defines the file format.
8805         removed unneeded members.
8806
8807         * src/bufferparams.h: added several enums from definitions.h here.
8808         Removed unsused destructor. Changed some types to use proper enum
8809         types. use block to have the temp_bullets and user_defined_bullets
8810         and to make the whole class assignable.
8811
8812         * src/bufferparams.C (Copy): removed this functions, use a default
8813         assignment instead. 
8814
8815         * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
8816         isLiterate const.
8817
8818         * src/buffer.C (readLyXformat2): commend out all that have with
8819         oldpapersize to do. also comment out all that hve to do with
8820         insetlatex and insetlatexdel. 
8821         (setOldPaperStuff): commented out
8822
8823         * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
8824
8825         * src/LyXAction.C: remove use of inset-latex-insert
8826
8827         * src/mathed/math_panel.C (button_cb): use static_cast
8828
8829         * src/insets/Makefile.am (insets_o_SOURCES): removed
8830         insetlatex.[Ch] 
8831
8832         * src/support/lyxstring.C (helper): use the unsigned long
8833         specifier, UL, instead of a static_cast.
8834
8835         * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
8836
8837         * src/support/block.h: new file. to be used as a c-style array in
8838         classes, so that the class can be assignable.
8839
8840 1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8841
8842         * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
8843         NULL, make sure to return an empty string (it is not possible to
8844         set a string to NULL).
8845
8846 1999-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8847
8848         * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
8849
8850         * src/support/lyxstring.C (helper): fix bogus cast in assertion.
8851
8852         * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
8853         link line, so that Irix users (for example) can set it explicitely to
8854         "-n32".
8855         
8856         * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
8857         it can be overidden at make time (static or dynamic link, for
8858         example).
8859         
8860         * src/vc-backend.C, src/LaTeXFeatures.h, 
8861           src/support/LRegex.C, src/support/LRegex.h: add a few "using" 
8862         statements to bring templates to global namespace.
8863
8864 1999-11-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
8865
8866         * src/support/lyxstring.C (operator[] const): make it standard
8867         conforming. 
8868
8869         * src/minibuffer.C (Init): changed to reflect that more
8870         information is given from the lyxvc and need not be provided here.
8871
8872         * src/lyxvc.[Ch]: rewrote to use the vc-backend.
8873         
8874         * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
8875
8876         * src/LyXView.C (UpdateTimerCB): use static_cast
8877         (KeyPressMask_raw_callback): ditto
8878
8879         * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
8880         buffer_, a lot of changes because of this. currentBuffer() ->
8881         buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
8882         also changes to other files because of this.
8883
8884 1999-11-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
8885
8886         * src/vc-backend.[Ch]: new files. The backends for vc handling,
8887         have no support for RCS and partial support for CVS, will be
8888         improved later.
8889         
8890         * src/insets/ several files: changes because of function name
8891         changes in Bufferview and LyXView.
8892         
8893         * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
8894
8895         * src/support/LSubstring.[Ch]: new files. These implement a
8896         Substring that can be very convenient to use. i.e. is this
8897         possible:
8898         string a = "Mary had a little sheep";
8899         Substring(a, "sheep") = "lamb";
8900         a is now "Mary has a little lamb".
8901
8902         * src/support/LRegex.[Ch]: a regex class that can be used to pick
8903         out patterns and subpatterns of strings. It is used by LSubstring
8904         and also by vc-backend.C
8905         
8906         * src/support/lyxstring.C: went over all the assertions used and
8907         tried to correct the wrong ones and flag which of them is required
8908         by the standard. some bugs found because of this. Also removed a
8909         couple of assertions.
8910
8911         * src/support/Makefile.am (libsupport_a_SOURCES): added
8912         LSubstring.[Ch] and LRegex.[Ch]
8913
8914         * src/support/FileInfo.h: have struct stat buf as an object and
8915         not a pointer to one, some changes because of this.
8916
8917         * src/LaTeXFeatures.C (getTClassPreamble): also use the
8918         information in layout when adding the layouts preamble to the
8919         textclass preamble.
8920
8921         * src/LaTeXFeatures.h: use a vector<bool> to store the layout
8922         usage in.
8923
8924         * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
8925         because of bug in OS/2.
8926
8927 1999-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8928
8929         * lib/layouts/lyxmacros.inc (lyxcode): set the font with
8930         \verbatim@font instead of \ttfamily, so that it can be redefined.
8931
8932         * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
8933           src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
8934           src/layout.h, src/text2.C: add 'using' directive to bring the
8935         STL templates we need from the std:: namespace to the global one.
8936         Needed by DEC cxx in strict ansi mode.
8937
8938         * src/support/LIstream.h,src/support/LOstream.h,
8939           src/support/lyxstring.h,src/table.h,
8940           src/lyxlookup.h: do not include <config.h> in header
8941         files. This should be done in the .C files only.
8942
8943         * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
8944         (from Kayvan).
8945         
8946
8947 1999-11-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8948
8949         * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
8950         from Kayvan to fix the tth invokation.
8951
8952         * development/lyx.spec.in: updates from Kayvan to reflect the
8953         changes of file names.
8954
8955 1999-11-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
8956
8957         * src/text2.C (InsertStringB): use std::copy
8958         (InsertStringA): use std::copy
8959
8960         * src/bufferlist.C: use a vector to store the buffers in. This is
8961         an internal change and should not affect any other thing.
8962         
8963         * src/BufferView.C (waitForX): use XSync instead of the lengthy
8964         stuff in waitForX.
8965
8966         * src/text.C (Fill): fix potential bug, one off bug.
8967
8968 1999-11-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
8969
8970         * src/Makefile.am (lyx_main.o): add more files it depends on.
8971
8972         * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
8973
8974         * src/support/lyxstring.C: use size_t for the reference count,
8975         size, reserved memory and xtra.
8976         (internal_compare): new private member function. Now the compare
8977         functions should work for std::strings that have embedded '\0'
8978         characters.
8979         (compare): all compare functions rewritten to use
8980         internal_compare.
8981         
8982 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
8983
8984         * src/support/lyxstring.C (compare): pass c_str()
8985         (compare): pass c_str
8986         (compare): pass c_str
8987
8988 1999-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8989
8990         * src/support/DebugStream.C: <config.h> was not included correctly.
8991
8992         * lib/configure: forgot to re-generate it :( I'll make this file
8993         auto generated soon.
8994
8995 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
8996
8997         * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
8998         is used.
8999
9000         * src/support/lyxstring.C: some changes from length() to rep->sz.
9001         avoids a function call.
9002
9003         * src/support/filetools.C (SpaceLess): yet another version of the
9004         algorithm...now per Jean-Marc's suggestions.
9005
9006 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
9007
9008         * src/layout.C (less_textclass_desc): functor for use in sorting
9009         of textclasses. 
9010         (LyXTextClass::Read): sort the textclasses after reading.
9011         
9012         * src/support/filetools.C (SpaceLess): new version of the
9013         SpaceLess functions. What problems does this one give? Please
9014         report.
9015
9016         * images/banner_bw.xbm: made the arrays unsigned char *
9017
9018 1999-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9019
9020         * src/support/lyxstring.C (find): remove bogus assertion in the
9021         two versions of find where this has not been done yet.
9022
9023         * src/support/lyxlib.h: add missing int return type to
9024         lyx::chdir(). 
9025
9026         * src/menus.C (ShowFileMenu): disable exporting to html if no
9027         html export command is present.
9028
9029         * config/lib_configure.m4: add a test for an HTML converter. The
9030         programs checked for are, in this order: tth, latex2html and
9031         hevea. 
9032
9033         * lib/configure: generated from config/lib_configure.m4.
9034
9035         * src/lyxfunc.C (Dispatch): update and improve the execution of an
9036         html converter. The parameters are now passed through $$FName and
9037         $$OutName, instead of standard input/output.
9038
9039         * src/lyxrc.{C,h}: rename \tth_command to \html_command.
9040
9041         * lib/lyxrc.example: update description of \html_command. 
9042         add "quotes" around \screen_font_xxx font setting examples to help
9043         people who use fonts with spaces in their names.
9044
9045 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
9046
9047         * Distribution files: updates for v1.1.2
9048
9049         * src/support/lyxstring.C (find): remove bogus assert and return
9050         npos for the same condition.
9051
9052 1999-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
9053
9054         * added patch for OS/2 from SMiyata.
9055
9056 1999-10-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
9057
9058         * src/text2.C (CutSelection): make space_wrapped a bool
9059         (CutSelection): dont declare int i until we have to.
9060         (alphaCounter): return a char const *.
9061
9062 1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9063
9064         * src/support/syscall.C (Systemcalls::kill): 
9065           src/support/filetools.C (PutEnv, PutEnvPath): 
9066           src/lyx_cb.C (addNewlineAndDepth): 
9067           src/FontInfo.C (FontInfo::resize): condition some #warning
9068         directives with WITH_WARNINGS.
9069         
9070
9071 1999-10-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
9072
9073         * src/layout.[Ch] + several files: access to class variables
9074         limited and made accessor functions instead a lot of code changed
9075         becuase of this. Also instead of returning pointers often a const
9076         reference is returned instead.
9077         
9078         * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
9079
9080         * src/Makefile.am (dist-hook): added used to remove the CVS from
9081         cheaders upon creating a dist
9082         (EXTRA_DIST): added cheaders
9083
9084         * src/support/lstrings.C (tostr(char)): fix it to handle param as
9085         a character not as a small integer. 
9086
9087         * src/support/lyxstring.C (find): removed Assert and added i >=
9088         rep->sz to the first if.
9089
9090 1999-10-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
9091
9092         * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
9093         src/LyXView.C src/buffer.C src/bufferparams.C
9094         src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C 
9095         src/text2.C src/insets/insetinclude.C:
9096         lyxlayout renamed to textclasslist.
9097
9098         * src/layout.C: some lyxerr changes.
9099
9100         * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
9101         LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
9102         (LyXLayoutList): removed all traces of this class.
9103         (LyXTextClass::Read): rewrote LT_STYLE
9104         (LyXTextClass::hasLayout): new function
9105         (LyXTextClass::GetLayout): rewritten to return an iterator + has
9106         both const and nonconst version.
9107         (LyXTextClass::delete_layout): new function.
9108         (LyXTextClassList::Style): bug fix. do the right thing if layout
9109         is to big.
9110         (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
9111         (LyXTextClassList::NameOfLayout): ditto 
9112         (LyXTextClassList::Load): ditto
9113
9114         * src/buffer.C (makeLaTeXFile): new access to layoutlist
9115
9116         * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
9117
9118         * src/LyXAction.C (LookupFunc): added a workaround for sun
9119         compiler, on the other hand...we don't know if the current code
9120         compiles on sun at all...
9121
9122         * src/support/filetools.C (CleanupPath): subst fix
9123
9124         * src/insets/insetbib.C (delDatabase): subst fix, this looks
9125         _really_ weird.
9126
9127         * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
9128         complained about this one?
9129
9130         * src/insets/insetinclude.C (Latex): subst fix
9131
9132         * src/insets/insetbib.C (getKeys): subst fix
9133
9134         * src/LyXSendto.C (SendtoApplyCB): subst fix
9135
9136         * src/lyx_main.C (init): subst fix
9137
9138         * src/layout.C (Read): subst fix
9139
9140         * src/lyx_sendfax_main.C (button_send): subst fix
9141
9142         * src/buffer.C (RoffAsciiTable): subst fix
9143
9144         * src/lyx_cb.C (MenuFax): subst fix
9145         (PrintApplyCB): subst fix
9146
9147 1999-10-26  Juergen Vigna  <jug@sad.it>
9148
9149         * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
9150
9151         (Read): Cleaned up this code so now we read only format vestion >= 5
9152
9153 1999-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
9154
9155         * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
9156         come nobody has complained about this one?
9157
9158         * src/insets/insetinclude.C (Latex): subst fix
9159
9160         * src/insets/insetbib.C (getKeys): subst fix
9161
9162         * src/lyx_main.C (init): subst fix
9163
9164         * src/layout.C (Read): subst fix
9165
9166         * src/buffer.C (RoffAsciiTable): subst fix
9167
9168         * src/lyx_cb.C (MenuFax): subst fix.
9169
9170         * src/layout.[hC] + some other files: rewrote to use
9171         std::container to store textclasses and layouts in.
9172         Simplified, removed a lot of code. Make all classes
9173         assignable. Further simplifications and review of type
9174         use still to be one. 
9175
9176         * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
9177         lastfiles to create the lastfiles partr of the menu.
9178
9179         * src/lastfiles.[Ch]: rewritten to use deque to store the
9180         lastfiles in. Uses fstream for reading and writing. Simplifies
9181         code.
9182
9183         * src/support/syscall.C: remove explicit cast.
9184
9185         * src/BufferView.C (CursorToggleCB): removed code snippets that
9186         were commented out.
9187         use explicat C++ style casts instead of C style casts. also use
9188         u_vdata instea of passing pointers in longs.
9189
9190         * src/PaperLayout.C: removed code snippets that were commented out.
9191
9192         * src/lyx_gui_misc.C: removed code snippets that were commented out. 
9193
9194         * src/lyx_main.C: removed code snippets that wer commented out.
9195
9196         * src/paragraph.C: removed code snippets that were commented out.
9197
9198         * src/lyxvc.C (logClose): use static_cast
9199         (logUpdate): ditto
9200         (viewLog): remove explicit cast to void*
9201         (showLog): removed old commented code
9202
9203         * src/menus.C: use static_cast instead of C style casts. use
9204         u_vdata instead of u_ldata. remove explicit cast to (long) for
9205         pointers. Removed old code that was commented out.
9206
9207         * src/insets/inset.C: removed old commented func
9208
9209         * src/insets/insetref.C (InsetRef): removed old code that had been
9210         commented out for a long time.
9211         (Edit): ditto
9212         (escape): removed C style cast
9213
9214         * src/insets/insetlatexaccent.C (Draw): removed old commented code
9215
9216         * src/insets/insetlatex.C (Draw): removed old commented code
9217         (Read): rewritten to use string
9218
9219         * src/insets/insetlabel.C (escape): removed C style cast
9220
9221         * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
9222
9223         * src/insets/insetindex.C: use static_cast and u_vdata, removed
9224         old commented code.
9225
9226         * src/insets/insetinclude.h: removed a couple of stupid bools
9227
9228         * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
9229         (Clone): remove C style cast
9230         (getKeys): changed list to lst because of std::list
9231
9232         * src/insets/inseterror.C (Draw): removed som old commented code.
9233
9234         * src/insets/insetcommand.C (Draw): removed some old commented code.
9235
9236         * src/insets/insetbib.C (bibitem_cb): removed code that has been
9237         commented out forever.
9238         (bibitem_cb): use static_cast instead of C style cast
9239         use of vdata changed to u_vdata.
9240
9241         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
9242         parameter.
9243         (CloseUrlCB): use static_cast instead of C style cast.
9244         (CloseUrlCB): added a fl_free form...it seemed to be missing.
9245
9246         * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
9247         (C_InsetInfo_CloseInfoCB): forward the ob parameter
9248         (CloseInfoCB): static_cast from ob->u_vdata instead.
9249         (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
9250         instead. 
9251
9252         * src/insets/inseterror.C (Edit): pass object in u_vdata instead
9253         (C_InsetError_CloseErrorCB): forward the ob parameter
9254         (CloseErrorCB): static_cast from ob->u_vdata instead.
9255
9256         * src/vspace.h: include LString.h since we use string in this class.
9257
9258         * src/vspace.C (lyx_advance): changed name from advance because of
9259         nameclash with stl. And since we cannot use namespaces yet...I
9260         used a lyx_ prefix instead. Expect this to change when we begin
9261         using namespaces.
9262
9263         * src/BufferView.[Ch] (BufferView::~BufferView): removed 
9264
9265         * src/BackStack.h: rewrote to use std::stack. made BackStackItem
9266         and removed now defunct constructor and deconstructor.
9267
9268         * src/BufferView.h: have backstack as a object not as a pointer.
9269         removed initialization from constructor. added include for BackStack 
9270
9271         * development/lyx.spec.in (%build): add CFLAGS also.
9272
9273         * src/screen.C (drawFrame): removed another warning.
9274
9275 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9276
9277         * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
9278         OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
9279         README and ANNOUNCE a bit for the next release. More work is
9280         needed, of course.
9281
9282         * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
9283         unbreakable if we are in freespacing mode (LyX-Code), but not in
9284         latex mode.
9285
9286 1999-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
9287
9288         * src/BackStack.h: fixed initialization order in constructor
9289
9290         * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
9291
9292         * acinclude.m4 (VERSION): new rules for when a version is
9293         development, added also a variable for prerelease.
9294         (warnings): we set with_warnings=yes for prereleases
9295         (lyx_opt): prereleases compile with same optimization as development 
9296         (CXXFLAGS): only use pedantic if we are a development version 
9297
9298         * src/BufferView.C (restorePosition): don't do anything if the
9299         backstack is empty.
9300
9301         * src/BackStack.h: added member empty, use this to test if there
9302         is anything to pop...
9303
9304 1999-10-25  Juergen Vigna  <jug@sad.it>
9305
9306         * forms/form1.fd +
9307         * forms/layout_forms.fd +
9308         * forms/latexoptions.fd +
9309         * lyx.fd: changed for various form resize issues
9310
9311         * src/mathed/math_panel.C +
9312         * src/insets/inseterror.C +
9313         * src/insets/insetinfo.C +
9314         * src/insets/inseturl.C +
9315         * src/insets/inseturl.h +
9316         * src/LaTeXLog.C +
9317         * src/LyXSendto.C +
9318         * src/PaperLayout.C +
9319         * src/ParagraphExtra.C +
9320         * src/TableLayout.C +
9321         * src/form1.C +
9322         * src/layout_forms.C +
9323         * src/lyx.C +
9324         * src/lyx_cb.C +
9325         * src/lyx_gui.C +
9326         * src/lyxfr0.C +
9327         * src/lyxfunc.C +
9328         * src/lyxvc.C +
9329         * src/menus.C: fixed various resize issues. So now forms can be
9330         resized savely or not be resized at all.
9331         
9332         * forms/form_url.fd +
9333         * src/insets/form_url.[Ch]: added because it's cleaner and easier
9334         to modify IMO.
9335
9336         * src/insets/Makefile.am: added files form_url.[Ch]
9337         
9338 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9339
9340         * INSTALL: it is now possible to compile LyX with digital C++ 6.1
9341         (and presumably 6.2).
9342
9343         * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
9344         menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
9345         remaining static member callbacks. 
9346
9347         * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
9348         messages. 
9349
9350         * src/support/lyxstring.h: declare struct Srep as friend of
9351         lyxstring, since DEC cxx complains otherwise.
9352
9353 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
9354
9355 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
9356
9357         * src/LaTeX.C (run): made run_bibtex also depend on files with
9358         extension ".bst"
9359         (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
9360         are put into the dependency file.
9361
9362         * src/spellchecker.C (create_ispell_pipe): removed old #warning,
9363         the code has shown itself to work
9364         (create_ispell_pipe): removed another warning, added a comment
9365         instead. 
9366
9367         * src/minibuffer.C (ExecutingCB): removed code that has been
9368         commented out a long time
9369
9370         * src/lyxfunc.C (processKeyEvent): removed some very old commented
9371         out code + a warning.
9372
9373         * src/support/lyxstring.h: comment out the three private
9374         operators, when compiling with string ansi conforming compilers
9375         they make problems.
9376
9377         * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
9378         unsigned char *.
9379         (pixmapFromBitmapData): change type of bdata to be unsigned char *
9380         (pixmapFromBitmapData): add a reinterpret_cast in the call to
9381         XCreateImage
9382
9383         * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
9384         unsigned char *
9385
9386         * src/mathed/math_panel.C (create_math_panel): remove explicit
9387         casts
9388
9389         * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
9390         unsigned char *.
9391
9392         * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
9393         (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
9394         to XCreatePixmapFromBitmapData
9395         (fl_set_bmtable_data): change the last argument to be unsigned
9396         char *
9397         (fl_set_bmtable_file): change bdata to unsinged char *, change bw
9398         and bh to be unsigned int, remove explicit casts in call to
9399         XReadBitmapFileData.
9400
9401         * images/arrows.xbm: made the arrays unsigned char *
9402         * images/varsz.xbm: ditto
9403         * images/misc.xbm: ditto
9404         * images/greek.xbm: ditto
9405         * images/dots.xbm: ditto
9406         * images/brel.xbm: ditto
9407         * images/bop.xbm: ditto
9408
9409         * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
9410
9411         * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
9412         (LYX_PROG_CXX): added -pedantic to g++ compile options when
9413         with-warnings, removed the __STRING_ANSI__ hack, seems to not be
9414         needed. 
9415         (LYX_CXX_CHEADERS): added <clocale> to the test. 
9416
9417 1999-10-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
9418
9419         * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
9420
9421         * src/support/lyxstring.C (append): fixed something that must be a
9422         bug, rep->assign was used instead of rep->append.
9423
9424         * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
9425         and LOstream.h
9426
9427         * src/lyxfunc.C (processKeyEvent): removed faulty line that made
9428         lyx insert double chars. Fix spotted by Kayvan.
9429
9430 1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
9431
9432         * Fixed the tth support. I messed up with the Emacs patch apply feature
9433         and omitted the changes in lyxrc.C.
9434
9435 1999-10-22  Juergen Vigna  <jug@sad.it>
9436
9437         * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
9438
9439         * src/lyx_cb.C (MenuInsertRef) + 
9440         * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
9441         the form cannot be resized under it limits (fixes a segfault)
9442         
9443         * src/lyx.C (create_form_form_ref) +
9444         * forms/lyx.fd: Changed Gravity on name input field so that it is
9445         resized correctly.
9446
9447 1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9448
9449         * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
9450         <ostream> and <istream>.
9451         
9452         * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
9453         whether <fstream> provides the latest standard features, or if we
9454         have an oldstyle library (like in egcs).
9455         (LYX_CXX_STL_STRING): fix the test.
9456
9457         * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
9458         code on MODERN_STL_STREAM.
9459
9460         * src/support/lyxstring.h: use L{I,O}stream.h.
9461
9462         * src/support/L{I,O}stream.h: new files, designed to setup
9463         correctly streams for our use
9464           - includes the right header depending on STL capabilities
9465           - puts std::ostream and std::endl (for LOStream.h) or
9466           std::istream (LIStream.h) in toplevel namespace.
9467
9468 1999-10-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
9469
9470         * src/LaTeX.C (run): added a check in 0 sumchange so that if it
9471         was a bib file that had been changed we ensure that bibtex is run.
9472         (runBibTeX): enhanced to extract the names of the bib files and
9473         getting their absolute path and enter them into the dep file.
9474         (findtexfile): static func that is used to look for tex-files,
9475         checks for absolute patchs and tries also with kpsewhich.
9476         Alternative ways of finding the correct files are wanted. Will
9477         probably be moved.
9478         (do_popen): function that runs a command using popen and returns
9479         the whole output of that command in a string. Should be moved to
9480         somewhere else.
9481
9482         * src/DepTable.[Ch] (extchanged): new function that returns true if a
9483         file with extension ext has changed.
9484
9485         * src/insets/figinset.C: added ifdef guards around the fl_free
9486         code that jug commented out. Now it is commented out when
9487         compiling with XForms == 0.89.
9488
9489         * src/support/lyxstring.C: moved the definition of lyxstring::Srep
9490         to lyxstring.C, and only keep a forward declaration in
9491         lyxstring.h. Simplifies the header file a bit and should help a
9492         bit on compile time too. Also changes to Srep will not mandate a
9493         recompile of code just using string.
9494         (~lyxstring): definition moved here since it uses srep.
9495         (size): definition moved here since it uses srep.
9496
9497         * src/support/lyxstring.h: removed a couple of "inline" that should
9498         not be there.
9499
9500 1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
9503         the 'ob' argument.
9504
9505 1999-10-21  Juergen Vigna  <jug@sad.it>
9506
9507         * src/table.C (SetPWidth): Just a small fix so the alignment is not
9508         set to left if I just remove the width entry (or it is empty).
9509
9510         * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
9511         paragraph when having dummy paragraphs.
9512
9513 1999-10-20  Juergen Vigna  <jug@sad.it>
9514
9515         * src/insets/figinset.C: just commented some fl_free_form calls
9516         and added warnings so that this calls should be activated later
9517         again. This avoids for now a segfault, but we have a memory leak!
9518
9519         * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
9520         'const char * argument' to 'string argument', this should
9521         fix some Asserts() in lyxstring.C.
9522
9523         * src/lyxfunc.h: Removed the function argAsString(const char *)
9524         as it is not used anymore.
9525
9526 1999-10-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
9527
9528         * src/support/lyxstring.C (getline): reads now _all_ chars. uses
9529         get instead of >>
9530
9531         * src/Literate.h: some funcs moved from public to private to make
9532         interface clearer. Unneeded args removed.
9533
9534         * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
9535         instead of lyxlex.
9536         (scanBuildLogFile): ditto
9537
9538         * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
9539         normal TeX Error. Still room for improvement.
9540
9541         * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
9542
9543         * src/buffer.C (insertErrors): changes to make the error
9544         desctription show properly.
9545
9546         * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
9547         could never happen
9548
9549         * src/support/lyxstring.C (helper): changed to use
9550         sizeof(object->rep->ref).
9551         (operator>>): changed to use a pointer instead.
9552
9553         * src/support/lyxstring.h: changed const reference & to value_type
9554         const & lets see if that helps.
9555
9556 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
9557
9558         * Makefile.am (rpmdist): fixed to have non static package and
9559         verison.
9560
9561         * src/support/lyxstring.C: removed the compilation guards
9562
9563         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
9564         a bit clearer.
9565
9566         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
9567         conditional compile of lyxstring.Ch
9568
9569         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
9570         stupid check, but it is a lot better than the bastring hack. 
9571         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
9572
9573         * several files: changed string::erase into string::clear. Not
9574         really needed.
9575         
9576         * src/chset.C (encodeString): use a char temporary instead
9577
9578         * src/table.C (TexEndOfCell): added tostr around
9579         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
9580         (TexEndOfCell): ditto
9581         (TexEndOfCell): ditto
9582         (TexEndOfCell): ditto
9583         (DocBookEndOfCell): ditto
9584         (DocBookEndOfCell): ditto
9585         (DocBookEndOfCell): ditto
9586         (DocBookEndOfCell): ditto
9587
9588         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
9589
9590         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
9591
9592         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
9593         (MenuBuildProg): added tostr around ret
9594         (MenuRunChktex): added tostr around ret
9595         (DocumentApplyCB): added tostr around ret
9596
9597         * src/chset.C (encodeString): added tostr around t->ic
9598
9599         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
9600         (makeLaTeXFile): added tostr around tocdepth
9601         (makeLaTeXFile): added tostr around ftcound - 1
9602
9603         * src/insets/insetbib.C (setCounter): added tostr around counter.
9604
9605         * src/support/lyxstring.h: added an operator+=(int) to catch more
9606         mistakes. 
9607
9608         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
9609         (lyxstring): We DON'T allow NULL pointers.
9610
9611 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9612
9613         * src/mathed/math_macro.C (MathMacroArgument::Write,
9614         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
9615         when writing them out.
9616
9617         * src/LString.C: remove, since it is not used anymore.
9618         
9619         * src/support/lyxstring.C: condition the content to
9620         USE_INCLUDED_STRING macro.
9621
9622         * src/mathed/math_symbols.C, src/support/lstrings.C,
9623         src/support/lyxstring.C: add `using' directive to specify what
9624         we need in <algorithm>. I do not think that we need to
9625         conditionalize this, but any thought is appreciated.
9626
9627         * many files: change all callback functions to "C" linkage
9628         functions to please strict C++ compilers like DEC cxx 6.1 in mode
9629         strict_ansi. Those who were static are now global. 
9630             The case of callbacks which are static class members is
9631         trickier, since we have to make C wrappers around them (see
9632         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
9633         did not finish this yet, since it defeats the purpose of
9634         encapsulation, and I am not sure what the best route is.
9635
9636 1999-10-19  Juergen Vigna  <jug@sad.it>
9637
9638         * src/support/lyxstring.C (lyxstring): we permit to have a null
9639         pointer as assignment value and just don't assign it.
9640
9641         * src/vspace.C (nextToken): corrected this function substituting
9642         find_first(_not)_of with find_last_of.
9643
9644         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
9645                 (TableOptCloseCB) (TableSpeCloseCB):
9646         inserted fl_set_focus call for problem with fl_hide_form() in
9647         xforms-0.89.
9648
9649 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9650
9651         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
9652         string. 
9653
9654 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9655
9656         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
9657         LyXLex::next() and not eatline() to get its argument.
9658
9659 1999-10-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
9660
9661         * src/DepTable.[Ch]: rewritten to store the dependencies in a map
9662         instead, use fstreams for io of the depfile, removed unneeded
9663         functions and variables. 
9664
9665         * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
9666         vector instead, removed all functions and variables that is not in
9667         use.
9668
9669 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9670
9671         * src/buffer.C (insertErrors): use new interface to TeXError
9672
9673         * Makefile.am (rpmdist): added a rpmdist target
9674
9675         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
9676         per Kayvan's instructions.
9677
9678 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9679
9680         * src/Makefile.am: add a definition for localedir, so that locales
9681         are found after installation (Kayvan)
9682
9683 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
9684
9685         * development/.cvsignore: new file.
9686
9687 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9688
9689         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
9690         C++ compiler provides wrappers for C headers and use our alternate
9691         version otherwise.
9692
9693         * configure.in: use LYX_CXX_CHEADERS.
9694
9695         * src/cheader/: new directory, populated with cname headers from
9696         libstdc++-2.8.1. They are a bit old, but probably good enough for
9697         what we want (support compilers who lack them).
9698         
9699         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
9700         from includes. It turns out is was stupid.
9701  
9702 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
9703
9704         * lib/Makefile.am (install-data-local): forgot a ';'
9705         (install-data-local): forgot a '\'
9706         (libinstalldirs): needed after all. reintroduced.
9707
9708 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
9709
9710         * configure.in (AC_OUTPUT): added lyx.spec
9711
9712         * development/lyx.spec: removed file
9713
9714         * development/lyx.spec.in: new file
9715
9716         * po/*.po: merged with lyx.pot becuase of make distcheck
9717         
9718         * lib/Makefile.am (dist-hook): added dist-hook so that
9719         documentation files will be included when doing a make
9720         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
9721         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
9722         conditional later.
9723         more: tried to make install do the right thing, exclude CVS dirs
9724         etc.
9725
9726         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
9727         Path would fit in more nicely.
9728
9729         * all files that used to use pathstack: uses now Path instead.
9730         This change was a lot easier than expected.
9731         
9732         * src/support/path.h: new file
9733
9734         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
9735
9736         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
9737
9738         * src/support/lyxstring.C (getline): Default arg was given for
9739         para 3. removed.
9740
9741         * Configure.cmd: removed file 
9742
9743 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * src/support/DebugStream.[Ch]: remove the explicit std:: before
9746         streams classes and types, add the proper 'using' statements when
9747         MODERN_STL is defined.
9748         
9749         * src/debug.h: move the << operator definition after the inclusion
9750         of DebugStream.h
9751
9752         * src/support/filetools.C: include "LAssert.h", which is needed
9753         later. 
9754
9755         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
9756         to includes. 
9757
9758         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
9759         include "debug.h" to define a proper ostream.
9760
9761 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
9762
9763         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
9764           method to the SystemCall class which can kill a process, but it's
9765           not fully implemented yet.
9766
9767         * src/*.C: Changed Systemcalls::Startscript() to startscript()
9768
9769         * src/support/FileInfo.h: Better documentation  
9770
9771         * src/lyxfunc.C: Added support for buffer-export html
9772         
9773         * src/menus.C: Added Export->As HTML...
9774         
9775         * lib/bind/*.bind: Added short-cut for buffer-export html
9776
9777         * src/lyxrc.*: Added support for new \tth_command
9778         
9779         * lib/lyxrc.example: Added stuff for new \tth_command
9780
9781 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
9782
9783         * lib/Makefile.am (IMAGES): removed images/README
9784         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
9785         installes in correct place. Check permisions is installed
9786         correctly.
9787
9788         * src/LaTeX.C: some no-op changes moved declaration of some
9789         variables around.
9790
9791         * src/LaTeX.h (LATEX_H): changed include guard name
9792
9793 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9794
9795         * lib/reLyX/Makefile.am: install noweb2lyx.
9796
9797         * lib/Makefile.am: install configure. 
9798
9799         * lib/reLyX/configure.in: declare a config aux dir; set package
9800         name to lyx (not sure what the best solution is); generate noweb2lyx.
9801
9802         * lib/layouts/egs.layout: fix the bibliography layout.
9803
9804 1999-10-08  Jürgen Vigna <jug@sad.it>
9805
9806         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
9807         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
9808         it returned without continuing to search the path.
9809         
9810 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
9811
9812         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
9813         also fixes a bug. It is not allowed to do tricks with std::strings
9814         like: string a("hei"); &a[e]; this will not give what you
9815         think... Any reason for the complexity in this func?
9816
9817 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
9818
9819         * Updated README and INSTALL a bit, mostly to check that my
9820         CVS rights are correctly set up.
9821
9822 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
9823
9824         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
9825         does not allow '\0' chars but lyxstring and std::string does.
9826
9827 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
9828
9829         * autogen.sh (AUTOCONF): let the autogen script create the
9830         POTFILES.in file too. POTFILES.in should perhaps now not be
9831         included in the cvs module.
9832
9833         * some more files changed to use C++ includes instead of C ones.
9834
9835         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
9836         not assigned.
9837         (Reread): added tostr to nlink. buggy output otherwise.
9838         (Reread): added a string() around szMode when assigning to Buffer,
9839         without this I got a log of garbled info strings.
9840
9841         * acconfig.h: commented out the PTR_AS_INT macros. They should not
9842         be needed.
9843
9844         * I have added several ostream & operator<<(ostream &, some_type)
9845         functions. This has been done to avoid casting and warnings when
9846         outputting enums to lyxerr. This as thus eliminated a lot of
9847         explicit casts and has made the code clearer. Among the enums
9848         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
9849         mathed enums, some font enum the Debug::type enum. 
9850
9851         * src/support/lyxstring.h (clear): missing method. equivalent of
9852         erase(0, npos).
9853
9854         * all files that contained "stderr": rewrote constructs that used
9855         stderr to use lyxerr instead. (except bmtable)
9856
9857         * src/support/DebugStream.h (level): and the passed t with
9858         Debug::ANY to avoid spurious bits set.
9859
9860         * src/debug.h (Debug::type value): made it accept strings of the
9861         type INFO,INIT,KEY.
9862
9863         * configure.in (Check for programs): Added a check for kpsewhich,
9864         the latex generation will use this later to better the dicovery of
9865         all used files. 
9866
9867         * src/BufferView.C (create_view): we don't need to cast this to
9868         (void*) that is done automatically.
9869         (WorkAreaButtonPress): removed some dead code.
9870
9871 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9872
9873         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
9874         is not overwritten when translated (David Sua'rez de Lis).
9875
9876         * lib/CREDITS: Added David Sua'rez de Lis
9877
9878         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
9879
9880         * src/bufferparams.C (BufferParams): default input encoding is now
9881         "latin1" 
9882
9883         * acinclude.m4 (cross_compiling): comment out macro
9884         LYX_GXX_STRENGTH_REDUCE. 
9885
9886         * acconfig.h: make sure that const is not defined (to empty) when
9887         we are compiling C++. Remove commented out code using SIZEOF_xx
9888         macros.
9889         
9890         * configure.in : move the test for const and inline as late as
9891         possible so that these C tests do not interefere with C++ ones.
9892         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
9893         has not been proven. 
9894
9895 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * src/table.C (getDocBookAlign): remove bad default value for
9898         isColumn parameter.
9899
9900         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
9901         shortcut. 
9902         (ShowFileMenu2): ditto.
9903
9904         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
9905         of files to ignore.
9906
9907 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
9908
9909         * Most files: finished the change from the old error code to use
9910         DebugStream for all lyxerr debugging. Only minor changes remain
9911         (e.g. the setting of debug levels using strings instead of number) 
9912
9913 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
9914
9915         * src/layout.C (Add): Changed to use compare_no_case instead of
9916         strcasecmp.
9917
9918         * src/FontInfo.C: changed loop variable type too string::size_type.
9919
9920 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
9921
9922         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
9923         set ETAGS_ARGS to --c++ 
9924
9925 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
9926
9927         * src/table.C (DocBookEndOfCell): commented out two unused variables
9928
9929         * src/paragraph.C: commented out four unused variables. 
9930
9931         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
9932         insed a if clause with type string::size_type.
9933
9934         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
9935         string::size_type.
9936
9937         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
9938
9939         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
9940         variable, also changed loop to go from 0 to lenght + 1, instead of
9941         -1 to length. This should be correct.
9942
9943         * src/LaTeX.C (scanError): use string::size_type as loop variable
9944         type.
9945
9946         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
9947         (l.896) since y_tmp and row was not used anyway.
9948
9949         * src/insets/insetref.C (escape): use string::size_type as loop
9950         variable type.
9951
9952         * src/insets/insetquotes.C (Width): use string::size_type as loop
9953         variable type.
9954         (Draw): use string::size_type as loop variable type.
9955
9956         * src/insets/insetlatexaccent.C (checkContents): use
9957         string::size_type as loop variable type.
9958
9959         * src/insets/insetlabel.C (escape): use string::size_type as loop
9960         variable type.
9961
9962         * src/insets/insetinfo.C: added an extern for current_view.
9963
9964         * src/insets/insetcommand.C (scanCommand): use string::size_type
9965         as loop variable type.
9966
9967         * most files: removed the RCS tags. With them we had to recompile
9968         a lot of files after a simple cvs commit. Also we have never used
9969         them for anything meaningful. 
9970
9971         * most files: tags-query-replace NULL 0. As adviced several plases
9972         we now use "0" instead of "NULL" in our code. 
9973
9974         * src/support/filetools.C (SpaceLess): use string::size_type as
9975         loop variable type.
9976
9977 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
9978
9979         * src/paragraph.C: fixed up some more string stuff.
9980
9981 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
9982
9983         * src/support/filetools.h: make modestr a std::string.
9984
9985         * src/filetools.C (GetEnv): made ch really const.
9986
9987         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
9988         made code that used these use max/min from <algorithm> instead.
9989
9990         * changed several c library include files to their equivalent c++
9991         library include files. All is not changed yet.
9992
9993         * created a support subdir in src, put lyxstring and lstrings
9994         there + the extra files atexit, fileblock, strerror. Created
9995         Makefile.am. edited configure.in and src/Makefile.am to use this
9996         new subdir. More files moved to support.
9997
9998         * imported som of the functions from repository lyx, filetools
9999         
10000         * ran tags-query-replace on LString -> string, corrected the bogus
10001         cases. Tried to make use of lstrings.[hC], debugged a lot. There
10002         is still some errors in there. This is errors where too much or
10003         too litle get deleted from strings (string::erase, string::substr,
10004         string::replace), there can also be some off by one errors, or
10005         just plain wrong use of functions from lstrings. Viewing of quotes
10006         is wrong. 
10007
10008         * LyX is now running fairly well with string, but there are
10009         certainly some bugs yet (see above) also string is quite different
10010         from LString among others in that it does not allow null pointers
10011         passed in and will abort if it gets any.
10012         
10013         * Added the revtex4 files I forgot when setting up the repository.
10014
10015 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
10016
10017         * All over: Tried to clean everything up so that only the files
10018           that we really need are included in the cvs repository.
10019         * Switched to use automake.
10020         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
10021         * Install has not been checked.
10022
10023 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
10024
10025         * po/pt.po: Three errors:
10026                l.533 and l.538 format specification error
10027                l. 402 duplicate entry, I just deleted it.