]> git.lyx.org Git - features.git/blob - ChangeLog
plug a memleak in mathed + small cleanup
[features.git] / ChangeLog
1 2000-12-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3
4         * src/mathed/math_inset.C (MathMatrixInset): initialize v_align
5         and h_align in default init.
6         adjust calls to MathedRowSt
7
8         * src/mathed/math_iter.C: adjust calls to MathedRowSt
9         * src/mathed/math_iter.h (getAD): ditto
10
11         * src/mathed/math_defs.h (class MathedRowSt): remove friends, add
12         methods setBaseline, ascent, descent
13         (class MathMatrixInset): remove method GetAlign, change h_align
14         from char* to string
15
16         * src/lyxfunc.C (processKeySym): discover the correct argument if
17         the action is LFUN_SELFINSERT
18
19 2000-12-18  Dekel Tsur  <dekelts@tau.ac.il>
20
21         * src/mathed/math_cursor.C (Interpret) Suppress a debug message
22         in normal run.
23
24 2000-12-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
25
26         * src/support/copy.C: don't include filetools.h
27
28         * lib/images: revert to old banner, drop the cucumber.
29         
30 2000-12-12  Dekel Tsur  <dekelts@tau.ac.il>
31
32         * src/converter.C (Formats::View): Change the current directory to
33         the directory of the file.
34                                                                            
35 2000-12-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
36
37         * src/kbsequence.C (addkey): also clear sequence and modifiers if
38         length == 0
39
40         * src/BufferView2.C (theLockingInset): return 0 if text is 0
41
42 2000-12-17  Dekel Tsur  <dekelts@tau.ac.il>
43
44         * Many files: Fix RTL support for insettext.
45
46 2000-12-11  John Levon  <moz@compsoc.man.ac.uk>
47
48         * README: add mention of broken ghostscript versions, remove
49         reference to non-existent BUGS file
50
51 2000-12-13  Angus Leeming <a.leeming@ic.ac.uk>
52
53         * src/support/lstrings.C (compare_no_case): small fix. When passed
54         length, should use it in the size comparison.
55
56 2000-12-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
57
58         * src/insets/insetexternal.C (getScreenLabel): Return a default
59         value if the template label is empty.
60
61         * src/lyxlookup.C: do not condition on FL_REVISION.
62
63         * forms/sp_form.fd:
64         * src/sp_form.C: fix the font size of some text entries
65
66         * src/frontends/xforms/Menubar_pimpl.C (add_toc): honor separator
67         after TOC when there is no TOC. 
68
69         * src/lyxrc.C (readBindFileIfNeeded): new method. Reads the main
70         bind file if it has not been done yet.
71         (read): remove local bindFile variable. Try to fix the handling of
72         RC_BIND and RC_BINDFILE.
73
74         * src/lyx_main.C (init): use readBindFileIfNeeded().
75
76         * lib/languages: Change description of german to "German (new
77         spelling)".
78
79 2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
80
81         * src/frontends/xforms/FormInset.C (createInset): activate "Ok",
82         "Apply" buttons if arg is non-zero.
83
84         * src/lyxfunc.C (Dispatch): enable citation to be inserted without
85         launching the popup if sufficient info is passed to
86         LFUN_CITATION_CREATE.
87
88 2000-11-23  Dekel Tsur  <dekelts@tau.ac.il>
89
90         * src/lyx_cb.C (MenuInsertLabel): Compute a default value for new
91         labels (disabled in 1.1.6).
92
93         * src/lyxrc.[Ch]: New variable label_init_length
94
95         * mathed/formula.C (LocalDispatch): Preserve the label when
96         changing from display math to eqnarray (however, the label
97         do not appear at the first line, as one might expects, but at the
98         second line).
99         (LocalDispatch): When inserting a label to a formula which already 
100         have a label, the old label is used as default value.
101         Also, if the label is changed, then all references to the label
102         are changed.
103
104         * src/mathed/math_iter.C (setLabel): Allow to set the label
105         even if it is empty. This is needed to allow deletion of a label
106         in an eqnarray.
107
108         * src/BufferView2.C (ChangeRefsIfUnique): New method. Changes the
109         refernces only if the old label appears once in the document.
110
111 2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
112
113         * lib/languages: added ngerman. Patch courtesy of Andreas Gehlert
114         <gehlert@Rcs1.urz.tu-dresden.de>
115
116         * src/frontends/xforms/FormBase.C: comment out debug.h
117
118         * src/frontends/xforms/FormGraphics.[Ch] (browseFile): removed. Reuse
119         code in xform_helpers instead.
120         (d-tor): comment out "delete dialog;" and so prevent a crash on exit.
121
122         * src/frontends/xforms/FormPreferences.C: use AddName() in more places.
123         Use N_(), rather than _() when creating strings to pass to browseFile()
124         because browseFile calls gettext() itself now.
125
126         * src/frontends/xforms/xform_helpers.C (browseFile): call gettext() and
127         display the filename correctly.
128
129 2000-12-09  Dekel Tsur  <dekelts@tau.ac.il>
130
131         * src/converter.C (Move): New method. Used to move file or files
132         from temp dir to the output dir. (this fixes the bug that
133         exporting linuxdoc/docbook document to html would not move all
134         html file from temp directory).
135
136         * src/support/filetools.C (DirList): Fixed.
137
138         * src/lstrings.C (prefixIs): Fixed (how nobody noticed it before??).
139
140 2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>
141
142         * src/converter.C (Add): Remove $$i when setting latex_command.
143
144         * src/text.C (IsBoundary): Return false when pos = 0.
145         
146 2000-12-08  Dekel Tsur  <dekelts@tau.ac.il>
147
148         * lib/kbd/hebrew.kmap: Add Hebrew points (nikud).
149
150 2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
151
152         * src/frontends/xforms/FormDocument.C (checkMarginValues): you don't
153         need to empty the fields to turn off use of the geometry package!
154
155 2000-12-07  Angus Leeming <a.leeming@ic.ac.uk>
156
157         * src/lyxparagraph.h, src/paragraph.C (CopyIntoMinibuffer): pass a
158         (Buffer const &), not a (BufferParams const &) and so fix a crash
159         caused by using current_view before it had been initialised. Not
160         the best way to do this, but much easier than changing
161         Inset::Clone(Buffer const &) to Inset::Clone().
162
163         * src/CutAndPaste.C:
164         * src/tabular.C: changed call to CopyIntoMinibuffer().
165
166 2000-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
167
168         * lib/ui/default.ui: put TOC at the beginning of the TOC menu.
169
170         * src/lyxfunc.C (getStatus): disable insertion of floats in a
171         tabular. 
172
173 2000-12-06  Angus Leeming <a.leeming@ic.ac.uk>
174
175         * src/frontends/xforms/FormPreferences.C (ScreenFonts::build):
176         changed filter for screen fonts input filter from int to float
177
178         * src/frontends/xforms/input_validators.c: removed.
179         * src/frontends/xforms/input_validators.C: new file. Can now call C++
180         functions from within the filter functions.
181
182         * src/frontends/xforms/input_validators.[Ch]
183         (fl_unsigned_float_filter): new filter function.
184
185         * src/frontends/xforms/forms/fdfixc.sed: I defy gettext to get
186         confused now! And if you think I'm going to do this in
187         ./forms/fdfix.sh with its "sed -e" declarations, then think again!
188                           
189 2000-12-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
190
191         * src/buffer.C (asciiParagraph): small NEW_INSETS fix from Levon
192
193         * src/WorkArea.C (work_area_handler): don't handle button requests
194         if xbutton.button == 0
195
196 2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
197
198         * lib/layouts/lyxmacros.inc: do not use \verbatim@font in lyxcode.
199         It creates a lot of interesting problems.
200
201 2000-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
202
203         * src/frontends/xforms/Menubar_pimpl.C (openByName): check that
204         the menu exists in the current menubar before opening it.
205
206         * src/MenuBackend.C (hasSubmenu): new method. 
207
208         * src/frontends/xforms/Menubar_pimpl.C: fix problem with bogus
209         action value by offsetting actions by a large constant (so that
210         bogs choice result will be less than this constant).
211
212         * lib/bind/fi_menus.bind: more cleanup to menus.
213         * lib/bind/sciword.bind: ditto.
214         * lib/bind/xemacs.bind: ditto.
215         * lib/bind/emacs.bind: ditto.
216         * lib/bind/pt_menus.bind: ditto.
217         * lib/bind/hu_menus.bind: ditto.
218
219         * src/gettext.h (locale_init): set locale LC_NUMERIC to "C".
220
221         * INSTALL: update PROBLEMS section.
222
223         * src/lyxlookup.h: remove condition on xforms version, since we
224         should not include it if not appropriate.
225
226 2000-12-05  John Levon  <moz@compsoc.man.ac.uk>
227
228         * src/LColor.C: "latex text" -> "latex inset" (from
229         Angus Leeming)
230
231         * src/lyxrc.C: "it's" -> "its" (from Angus Leeming)
232
233         * src/frontends/kde/FormTabularCreate.C:
234         * src/frontends/kde/citationdlg.C:
235         * src/frontends/kde/copyrightdlg.C:
236         * src/frontends/kde/paradlg.C:
237         * src/frontends/kde/paraextradlg.C:
238         * src/frontends/kde/parageneraldlg.C:
239         * src/frontends/kde/printdlg.C:
240         * src/frontends/kde/refdlg.C:
241         * src/frontends/kde/tabcreatedlg.C:
242         * src/frontends/kde/tocdlg.C:
243         * src/frontends/kde/urldlg.C: add necessary headers
244         (from Angus Leeming)
245
246         * src/frontends/kde/dlg/emptytable.C:
247         * src/frontends/kde/dlg/tabstack.C: ctors shouldn't have
248         default parameters (from Angus Leeming)
249                 
250         * src/frontends/kde/dlg/moc/.cvsignore:
251         * src/frontends/kde/dlg/.cvsignore:
252         * src/frontends/kde/moc/.cvsignore: fix the library name
253         (from Angus Leeming)
254
255         * src/frontends/kde/paradlg.C:
256         * src/frontends/kde/parageneraldlg.C:
257         * src/frontends/kde/dlg/para.dlg:
258         * src/frontends/kde/dlg/paradlgdata.C: added accelerators
259
260         * src/frontends/kde/dlg/README: clarified qtarch version
261
262         * src/frontends/kde/dlg/Makefile.am: removed the
263         dlg rules as they created spontaneous rebuilds
264         (not a good idea as it requires qtarch)
265
266 2000-12-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
267
268         * config/lyxinclude.m4 (LYX_PATH_XFORMS): display also the
269         fixlevel along with xforms version.
270
271         * src/WorkArea.C (work_area_handler): use stuff in lyxlookup.h when
272         xforms version is strictly less than 0.89.5.
273         * src/lyx_gui.C (LyXGUI): ditto.
274         * src/LyXView.C (show): ditto.
275
276 2000-12-02  Dekel Tsur  <dekelts@tau.ac.il>
277
278         * src/BufferView_pimpl.C (workAreaMotionNotify): Fixed mouse
279         movement in inset in RTL text.
280         (checkInsetHit): Fixed mouse movement in scrolled inset in RTL text.
281         (workAreaButtonRelease): Do not open a float when there is a selection.
282
283         * src/insets/insettext.C (cx): Fixed for insets in RTL text.
284
285         * src/spellchecker.C (RunSpellChecker): Open all floats before
286         spellchecking.
287
288         * src/text.C (InsertChar): Consider "," as a part of a number
289         (for LTR numbers in RTL text code).
290         (IsBoundary): Fixed (and simplified).
291         (InsertChar): Recalculate cursor boundary.
292         (Backspace): Ditto.
293
294 2000-12-04  John Levon  <moz@compsoc.man.ac.uk>
295
296         * src/spellchecker.C: fix figures with pspell enabled
297
298         * src/insets/figinset.C: workaround for gs hang xforms bug
299
300 2000-12-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
301
302         * lib/bind/??_menus.bind: comment out the entries corresponding to
303         real menus. They should be eventually removed, but I'll let the
304         language maintainers do that.
305
306 2000-12-04  John Levon  <moz@compsoc.man.ac.uk>
307
308         * src/frontends/kde/parageneraldlg.C:
309         * src/frontends/kde/parageneraldlg.h: don't use
310         a derived class for SpaceAbove/Below
311
312         * src/frontends/kde/dlg/README: add some info
313
314         * src/frontends/kde/dlg/*: update data files, update
315         dialog files.
316
317         * src/frontends/kde/dlg/moc/Makefile.am: add
318         ${FRONTEND_INCLUDES}
319
320 2000-12-04  John Levon  <moz@compsoc.man.ac.uk>
321
322         * configure.in: add new KDE Makefiles
323         * src/vspace.h: return GlueLength not a normal one
324         * src/support/lstrings.h:
325         * src/support/lstrings.C: add isStrUnsignedInt(),
326         strToUnsignedInt()
327
328         * src/frontends/kde/*: big reorganisation, update
329         FormParagraph, add FormTabCreate
330
331 2000-12-04  Angus Leeming <a.leeming@ic.ac.uk>
332
333         * lib/ui/default.ui: small grammatical change.
334
335         * src/frontends/xforms/xform_macros.h: removed.
336
337         * src/frontends/xforms/FormBase.C:
338         * src/frontends/xforms/FormPreferences.C:
339         * src/frontends/xforms/Makefile.am: changes associated with removing
340         xform_macros.h. Should make Lars' debugging a little easier.
341
342         * src/frontends/xforms/FormPreferences.C:
343         * src/frontends/xforms/FormPreferences.h:
344         * src/frontends/xforms/forms/form_preferences.fd (Colors tab): no
345         longer use X11 color name database. HSV and RGB dials/sliders.
346         Please let this be the end of this!
347
348 2000-11-30  Dekel Tsur  <dekelts@tau.ac.il>
349
350         * Several files: Allow compilation when the compiler doesn't
351         support namespaces.
352
353 2000-11-30  Angus Leeming <a.leeming@ic.ac.uk>
354
355         * lyx.man:
356         * src/lyx_main.C (commandLineHelp, easyParse): documented remaining
357         command line options.
358
359 2000-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
360
361         * src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use
362         FL_MENU_BUTTON for items in menu bar. Not sure what difference it
363         makes, anyway.
364
365 2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>
366
367         * src/frontends/xforms/FormRef.C (updateBrowser):
368         * src/frontends/xforms/forms/form_ref.fd: try clicking on
369         different insets with the sort key active. Now apply this patch!
370
371 2000-11-29  John Levon  <moz@compsoc.man.ac.uk>
372
373         * src/frontends/xforms/FormPrint.C: set to valid()
374         when we update from the passed parameters.
375
376 2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>
377
378         * src/LColor.C (getFromGUIName): internationalise the comparison.
379
380         * src/lyx_gui_misc.h (LyXBell): turn off that BLOODY bell until it's a
381         FormPreferences choice.
382
383         * src/frontends/xforms/FormPreferences.C: some additional Color safety.
384         Should be redundant.
385
386 2000-11-29  John Levon  <moz@compsoc.man.ac.uk>
387
388         * src/lyxrc.C: more detail for the printer program config
389         dialog.
390
391         * src/LColor.C: ert->latex text. LColor needs a big revamp
392         but will have to wait till after 1.1.6
393
394         * src/buffer.C: bring up a dialog if we load a document
395         with an un-installed text class, rather than just complain
396         on the console.
397                         
398 2000-11-29  Angus Leeming <a.leeming@ic.ac.uk>
399
400         * src/combox.[Ch] )(add, Show): workaround xforms bug when Show()ing
401         the browser form for a combox in a tabbed folder. Bug fix courtesy of
402         Steve Lamont <spl@ncmir.ucsd.edu>.
403
404         * src/frontends/xforms/FormDocument.C (build):
405         * src/frontends/xforms/FormPreferences.C (Language::build):
406         pass tabfolders to Combox::add() in order to use this work around.
407
408         * src/frontends/xforms/FormCitation.C (connect): remove max size
409         limitation.
410         (update): sort list of bibliography keys.
411
412         * src/frontends/xforms/FormRef.[Ch] (connect, showBrowser, hideBrowser,
413         setSize): removed.
414         No max size limitation. Same popup for new and existing insets. Fixes
415         bugs reported by Rob Lahaye.
416         
417         * src/frontends/xforms/FormCitation.C (c-tor):
418         * src/frontends/xforms/FormCopyright.C (c-tor):
419         * src/frontends/xforms/FormError.C (c-tor):
420         * src/frontends/xforms/FormGraphics.C (c-tor):
421         * src/frontends/xforms/FormIndex.C (c-tor):
422         * src/frontends/xforms/FormRef.C (c-tor):
423         * src/frontends/xforms/FormToc.C (c-tor):
424         * src/frontends/xforms/FormUrl.C (c-tor):
425         use correct policy for ButtonController.
426
427         * src/frontends/xforms/FormPreferences.[Ch]: cleaned up a little more.
428
429         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): modified lyxerr
430         call a little.
431
432         * src/frontends/xforms/forms/form_citation.fd: some resizing changes.
433
434         * src/frontends/xforms/forms/form_ref.fd: new Restore, Apply buutons.
435         Some resizing changes.
436
437 2000-11-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
438
439         * configure.in: fix typo
440
441         * lib/languages: add ukraninian and change no to no_NO
442
443         * src/lyxfont.[Ch] (setGUISize): comment out setGUISize
444
445         * src/bufferview_funcs.C (FontSize): use setLyXSize
446
447 2000-11-24  Kayvan A. Sylvan <kayvan@sylvan.com>
448
449         * acconfig.h, configure.in, config/lyxinclude.m4: Added autoconf tests
450         to check for systems where mkstemp() is available but not declared
451         in headers. The new autoconf macro lyx_CHECK_DECL can be used
452         to check for declarations in headers.
453                  
454 2000-11-23  Angus Leeming <a.leeming@ic.ac.uk>
455
456         * forms/bibforms.fd: tiny fix to get it to run with fdesign.
457
458         * forms/makefile: added bibforms.fd, include_form.fd.
459         Removed lyx_sendfax.fd.
460
461         * src/LaTeXLog.C (ShowLatexLog):
462         * src/LyXAction.C (init):
463         * src/bufferparams.C (readLanguage): altered messages as suggested by
464         John Levon.
465
466         * src/LyXView.C (c-tor): connected RedrawAllBufferRelatedDialogs() to
467         Dialogs::redrawGUI.
468
469         * src/credits.C: made fd_form_credits non-static, so that it can be
470         redrawn should the xforms colors be re-mapped.
471         * src/spellchecker.C ditto fd_form_spell_options.
472
473         * src/filedlg.[Ch] (redraw):
474         * src/intl.[Ch] (redraw):
475         * src/lyxfr0.[Ch] (redraw):
476         * src/insets/figinset.[Ch] (redraw):
477         * src/insets/insetexternal.[Ch] (redraw):
478         new methods, connected to Dialogs::redrawGUI.
479
480         * src/lyx_gui_misc.[Ch] (RedrawAllBufferRelatedDialogs): new function
481         to be connected to Dialogs::redrawGUI.
482
483         * src/frontends/xforms/FormCitation.C (build):
484         * src/frontends/xforms/FormCopyright.C (build):
485         * src/frontends/xforms/FormError.C (build):
486         * src/frontends/xforms/FormGraphics.C (build):
487         * src/frontends/xforms/FormIndex.C (build):
488         * src/frontends/xforms/FormTabularCreate.[Ch] (update):
489         * src/frontends/xforms/FormToc.C (build):
490         * src/frontends/xforms/FormUrl.C (build):
491         use the ButtonController correctly.
492
493         * src/frontends/xforms/FormCopyright.C (build):
494         * src/frontends/xforms/forms/form_copyright.fd: moved the text out of
495         the .fd file and into build().
496
497         * src/frontends/xforms/FormPreferences.C: tiny clean-up.
498
499         * src/frontends/xforms/FormToc.[Ch]: Don't use apply(). Use input().
500
501         * src/frontends/xforms/forms/form_citation.fd:
502         * src/frontends/xforms/forms/form_copyright.fd:
503         * src/frontends/xforms/forms/form_error.fd:
504         * src/frontends/xforms/forms/form_graphics.fd:
505         * src/frontends/xforms/forms/form_index.fd:
506         * src/frontends/xforms/forms/form_toc.fd:
507         * src/frontends/xforms/forms/form_url.fd:
508         renamed some of the objects. Named others explicitly for the first time.
509         Added Restore and Apply buttons where appropriate.
510
511         * src/insets/Makefile.am: removed form_graphics.[Ch] as they are not
512         used.
513
514 2000-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
515
516         * src/version.h: try the pre2 again
517
518 2000-11-22  Angus Leeming <a.leeming@ic.ac.uk>
519
520         * src/frontends/kde/Dialogs.C: added signal Dialogs::redrawGUI.
521
522         * src/frontends/kde/FormParagraph.C: added using directive.
523
524         * src/frontends/kde/paradlg.C: added config.h and using directive.
525
526         * src/frontends/kde/paradlg.h: added std::qualifier.
527
528         * src/frontends/kde/Makefile.am: added Color.lo to libkde_la_OBJADD.
529
530 2000-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
531
532         * configure.in (AC_OUTPUT): don't output src/xtl/Makefile
533
534         * src/lyx_sendfax.[Ch]  src/lyx_sendfax_main.C: delete files
535
536 2000-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
537
538         * src/version.h: set back to 1.1.6cvs
539
540 2000-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
541
542         * src/version.h: set to 1.1.6pre2
543
544 2000-11-20  Marko Vendelin <markov@ioc.ee>
545
546         * src/frontends/gnome/Dialogs.C: added signal Dialogs::redrawGUI
547
548         * src/frontends/gnome/Makefile.am: updated list of XForms object files
549               
550 2000-11-21  Angus Leeming <a.leeming@ic.ac.uk>
551
552         * src/LColor.C (init):
553         * src/lyxrc.C (getDescription): changed some comments as suggested by
554         John Levon.
555
556         * src/frontends/xforms/FormBase.[Ch]: modified to connect and
557         disconnect the redrawGUI signal in best-practice fashion.
558
559         * src/frontends/xforms/FormPreferences.[Ch]: renamed usage_tab_ as
560         long_opts_tab to reflect the change in name of this tabfolder, as
561         suggested by John Levon.
562         (connect, disconnect): new methods. Don't do much at present other than
563         ensuring that we can't resize the dialog. This just makes xforms go
564         crazy.
565         (lots of methods in Colors): made void rather than bool. The idea is
566         to have an isOk() function that keeps track of whether any input is
567         genuinely invalid and should therefore block Save, Apply.
568         Easier to manipulate the counters rapidly.
569         (Colors::InputBrowserLyX, Colors::Modify): rewritten so that Amir's
570         compiler will like this code. Much cleaner way of doing things.
571
572         * src/frontends/xforms/forms/fdfix.sh: a little speed up fix.
573
574         * src/frontends/xforms/forms/form_preferences.fd: used normal counters
575         rather than simple counters, following suggestion by John Levon.
576
577         * src/frontends/xforms/forms/form_print.fd: used labelframe rather
578         than engraved frame + text.
579
580         * src/frontends/xforms/forms/makefile: removed spurious command.
581
582 2000-11-17  Angus Leeming <a.leeming@ic.ac.uk>
583
584         * src/LColor.C (c-tor): fixed a couple of items in the ColorEntry
585         array. 
586         * src/LyXAction.C (init): LFUN_SET_COLOR now has the attrib
587         ReadOnly|NoBuffer.
588
589         * src/frontends/xforms/Color.C: (HSVColor c-tor): another bug fix.
590
591         * src/frontends/xforms/FormPreferences.C: re-formatted so that I can
592         see what Lars has changed and what is just white space!
593         Now used X directly to ascertain the RGB color associated with the
594         color name.
595         Replaced the RGB sliders with HSV equivalent. Should be more intuitive
596         to use.
597         Added some sort capability.
598         The X11 color name database input is only displayed if the database
599         isn't found in the standard place.
600         Got rid of struct compare_converter; it wasn't used.
601         Probably some other stuff that I've forgotten.
602
603         * src/frontends/xforms/FormPreferences.h: changed the names of some
604         methods in the Colors struct. Added a couple of structs to help sort
605         colors by name and by RGBColor.
606
607         * src/frontends/xforms/xform_helpers.[Ch]: moved the ReadableDir etc
608         functions into a new class RWInfo.
609
610         * src/frontends/xforms/forms/form_citation.fd: Added some shortcuts.
611         The dialog is now almost navigable using the keyboard. Unfortunately,
612         the cursor has to be inside a browser for it to be activated. There is
613         no visual feedback for the key shortcuts to the arrow keys (use
614         Alt-appropriate arrow key, Alt-x).
615
616         * src/frontends/xforms/forms/form_preferences.fd: hacked the Colors tab
617         around a lot.
618
619         * src/support/filetools.[Ch]: moved out ReadableFile etc and into
620         xform_helpers.[Ch]. See above.
621
622 2000-11-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
623
624         * config/lyxinclude.m4 (LYX_PROG_CXX): please somebody
625
626         * src/screen.C (setCursorColor): new method. Sets the color of the
627         cursor. 
628         (ShowManualCursor): call it.
629         Constify some local variables.
630
631         * src/LColor.[Ch] (LColor): add entry for cursor
632         * lib/configure(.m4) (word_to_latex_command): add quotes, removes
633         a warning.
634
635 2000-11-19  Juergen Vigna  <jug@sad.it>
636
637         * src/insets/insettabular.C (draw): fixed text border redraw problem.
638         (calculate_dimensions_of_cells): try to boost up when inserting chars.
639
640 2000-11-15  Rob Lahaye  <lahaye@postech.edu>
641
642         * lib/ui/default.ui: OptItem used for Fax entry
643
644 2000-11-17  Matej Cepl  <cepl@bigfoot.com>
645
646         * lib/kbd/czech.kmap: add apostroph mark to the Czech keyboard.
647
648 2000-11-15  John Levon  <moz@compsoc.man.ac.uk>
649
650         * src/vspace.C (nextToken): fix so it can handle length phrases like
651                 "10mm+-20mm", "40inplus16mmminus10cm" etc.
652
653 2000-11-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
654
655         * src/frontends/xforms/FormPreferences.C: constify several variables
656         (BrowserLyX): rewrite to not need the choice variable
657         (Modify): rewrite to not need the choide variable
658         (compare_converter): make operator const
659
660         * src/lyxrc.C (output): be a bit nicer og os usage, and try to
661         correct the writing of \set_color
662         (getDescription): return a const string
663
664         * src/kbsequence.[Ch] (addkey): remove dead code
665
666         * src/Painter.C (text): remove some commented code
667
668 2000-11-15  Angus Leeming <a.leeming@ic.ac.uk>
669
670         * src/ColorHandler.[Ch]: removed some header files from .h file.
671         Included LColor.h in .C file.
672
673         * src/LColor.[Ch]: made class copyable so that I could create a
674         system_lcolor instance.
675
676         * src/Painter.h: removed LColor.h.
677
678         * src/lyx_gui.C (create_forms): used AddName.
679
680         * src/lyx_main.C (init): copied lcolor to system_lcolr prior to reading
681         of user preferences/lyxrc file.
682
683         * src/lyxrc.C (output): output changes to lcolor.
684
685         * src/frontends/xforms/Color.[Ch]: Changed X11Color to a new struct,
686         NamedColor.
687         Moved class xformColor to files xform_helpers.[Ch]. These files,
688         Color.[Ch], could now be moved into src if they would be useful to
689         other GUIs.
690
691         * src/frontends/xforms/xform_helpers.[Ch]: moved class XformColor here.
692         Also moved FormPreferences::browseFile here as it can be used by any
693         xform dialog with a "Browse" button. FormGraphics is a perfect example.
694
695         * src/support/filetools.[Ch] (WriteableDir, ReadableDir, WriteableFile,
696         ReadableFile): changed the FormPreferences methods a little and moved
697         them here as they'll be useful elsewhere also.
698
699         * src/frontends/xforms/FormPreferences.h: a bit more cleaning up.
700         Removed some header files and used forward declarations instead.
701         Better commenting.
702         Removed some methods as they'll be useful elsewhere (see above).
703
704         * src/frontends/xforms/FormPreferences.C: a bit more cleaning up.
705         Can also now modify the LyX LColors. However, for reasons that I don't
706         yet understand, it appears that we can use
707         LyXFunc::Dispatch(LFUN_SET_COLOR, arg) only when we have a buffer
708         present. The problem appears to lie in ColorHandler, because I can
709         change the color using LColor.SetColor(). Similarly, when reading in a
710         preferences file with some set_color instances, I'll get a warning
711         like: Color sea green is undefined or may not be redefined 
712         Bad lyxrc set_color for sea green
713
714         Once the buffer is loaded, however, I can happily change to this color.
715
716         Finally, it appears that I have to set the color of "inset frame"
717         explicitly, or it oscillates from "black" to "indian red" with each
718         successive "Apply".
719                                            
720 2000-11-15  Angus Leeming <a.leeming@ic.ac.uk>
721
722         * ANNOUNCE: corrected a spelling mistake.
723         
724         * src/tabular.C (OldFormatRead): variable "h" was set but never used.
725         Removed.
726
727 2000-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
728
729         * src/kbsequence.C (addkey): use a vector as per Andre Poenitz patch.
730
731         * lib/Makefile.am (dist-hook): also delete doc/.cvsignore from
732         distdir. 
733
734         * src/support/lyxfunctional.h: make back_insert_fun_iterator(s)
735         match the requirements from the standard better. This is required
736         to work with gnu libstdc++-v3
737
738         * src/frontends/xforms/FormPreferences.C: add explict pair
739         arguments to browse calls. include support/lyxmanip.h remvoe
740         extern fmt. whitespace changes. reorder variables in
741         FormPreferences.h, to match initalizaton order.
742
743         * several files: constify more local variables.
744         
745         * src/buffer.C: remove some commented functions.
746
747         * src/DepTable.C (remove_files_with_extension): temporary
748         work around for gcc 2.97 
749         * src/filedlg.C (find): ditto
750         * src/Variables.C (set): ditto
751         * src/LyXAction.C (searchActionArg): ditto
752         (retrieveActionArg): ditto
753
754         * configure.in: check for mktemp too
755
756         * UPGRADING: prepare for 1.1.6
757
758         * Makefile.am (lgbtags): add backup tags for when etags are
759         different than usual.
760
761         * ANNOUNCE: prepare for 1.1.6
762
763         * src/support/tempname.C (make_tempfile): new function, wrapper
764         around mkstemp and mktemp. Only mkstemp has been tested.
765         (tempName): call it.
766         
767 2000-11-14  Rob Lahaye  <lahaye@postech.edu>
768         
769         * default.ui: capitalized some menu items to improve shortcuts.
770
771 2000-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
772
773         * src/frontends/xforms/FormPreferences.C (ok): use AddName().
774
775         * src/frontends/xforms/Dialogs.C: add "using" directive.
776
777 2000-11-13  Angus Leeming <a.leeming@ic.ac.uk>
778
779         * src/filedlg.C (Select): highlight suggested file in browser, if
780         it is present.
781
782         * src/frontends/xforms/FormPreferences.[Ch]: re-written so that
783         each tab folder is encapsulated in its own class.
784         The Language keymaps are now chosen using a text input and a
785         browser button, rather than a Combox.
786         All the browser buttons are now functional, although LyXFileDlg
787         still needs to be modified to make it straighhtforward to return a
788         directory if that is what is desired.
789
790         * src/frontends/xforms/forms/form_preferences.fd: use text input
791         and browse button to input the Language keymaps. Add a few
792         callbacks for the browse buttons.
793
794 2000-11-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
795
796         * src/support/tempname.C (tempName): small changes to make it
797         safer. remove the '.' before XXXXXX
798
799         * src/support/filetools.C (TmpFileName): remove func 
800         (GetCWD): ditto
801         
802         * src/frontends/xforms/FormRef.C (FormRef): explicit call the bp
803         * src/frontends/xforms/FormUrl.C (FormUrl): ditto
804         * src/frontends/xforms/FormTabularCreate.C (FormTabularCreate): ditto
805         * src/frontends/xforms/FormTabular.C (FormTabular): ditto
806
807         * src/frontends/xforms/FormInset.h (FormInset): remove default for bp
808         (FormCommand): ditto
809         
810         * src/frontends/xforms/FormGraphics.C (FormGraphics): explicit
811         call the bp
812
813         * src/frontends/xforms/FormError.C (FormError): use IgnorantPolicy
814         for bp (this fixes a reproducible hard crash)
815
816         * src/frontends/xforms/FormCopyright.C (FormCopyright): explicit
817         call the bp
818
819         * src/frontends/xforms/FormBase.h: make bp_ private
820         (FormBaseBI): remove default for bp
821         (FormBaseBD): ditto
822         
823         * src/frontends/xforms/Dialogs.C (Dialogs): use the old method it
824         is safe enough.
825
826         * src/frontends/xforms/Color.C (RGBColor): made several vars
827         const, changed initialization of j to allow it to be const
828         (HSVColor): similar
829
830         * several files: added const to local variables.
831         
832         * src/lyx_cb.C: removed several function prototypes and moved them
833         to lyx_cb.h
834         (MenuWrite):
835         (MenuWriteAs):
836         (UpdateLayoutPreamble): 
837         (MenuLayoutSave): 
838         (MenuInsertLabel): add BufferView as arguemnt
839         (LayoutsCB): make tmp const
840
841         * src/layout_forms.h: regenerated
842
843         * src/debug.C: add Debug::FILES
844         (showLevel) (showTags): translate the desc
845
846         * src/debug.h: add FILES as debug target
847
848         * src/bufferlist.C: use current_view as an interim measure becuase
849         of added arguments to MenuWrite and MenuWriteAs
850
851         * forms/layout_forms.h.patch: make the patch more correct and more appalyable
852
853         * config/lyxinclude.m4 (LYX_STD_COUNT): change test to not involve
854         string. 
855         (LYX_PROG_CXX): change 2.97 rules to include the -f.. that
856         libstdc++ is compiled with.
857
858 2000-11-13  José Abílio Matos <jamatos@fep.up.pt>
859         
860         * lib/layouts/docbook-book.layout
861         * lib/layouts/docbook.layout
862         * lib/layouts/linuxdoc.layout: No need for "dummy" paragraphs, now
863         those paragraphs are expresse as SGML comments <!-- -->.
864
865         * src/LaTeXFeatures.h
866         * src/LaTeXFeatures.C (getIncludedFiles): takes a filename as 
867         parameter, this allows to express all the include files as relative
868         paths to the master buffer. The verbatim insert works as the other
869         include file modes.
870
871         * src/buffer.C (sgmlOpenTag) (sgmlCloseTag): don't write if latexname
872         is a SGML comment.
873         (MakeLinuxdocFile) (MakeDocBookFile): included files are relative 
874         to master path.
875         (MakeDocBookFile): top_element is always written. Some clean up, as
876         sgmlOpenTag() and sgmlCloseTag() take care of the SGML comment case.
877
878         * src/insets/insetinclude.C (Linuxdoc): Added verbatim file fix.
879         (DocBook) added close tag to inlinegraphics trick for verbatim. Now
880         a reference is written instead of the name.
881         (Validate): use the relative path for the filename.
882
883         * src/insets/insetlabel.C (DocBook): write end tag, for XML
884         compatibility. 
885
886         * src/support/filetools.h
887         * src/support/filetools.C (IsSGMLFilename): added.
888         (BasePath): added.
889
890 2000-11-13  Miyata Shigeru  <miyata@kusm.kyoto-u.ac.jp>
891
892         * development/OS2/quick_fix.patch: 
893         * lib/configure.cmd: 
894         * README.OS2: quick update to the OS/2 port.
895
896 2000-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
897
898         * src/converter.C: add "using" directive.
899
900         * src/frontends/xforms/FormPreferences.C: add "using" directive.
901         (compare_converter): add "int" as return type.
902
903         * src/frontends/xforms/Color.C: comment out FL_LIGHTER_COL1 here
904         too. 
905
906 2000-11-11  Angus Leeming <a.leeming@ic.ac.uk>
907
908         * src/lyx_gui.C (create_forms): map the xform colours, should a
909         mapping exist. Ie, call XformColor::read().
910
911         * src/frontends/xforms/Color.[Ch] renamed struct RGB as RGBColor
912         and struct HSV as HSVColor.     
913         (XformColor::read, XformColor::write) : new methods that
914         input/output any changes to the cform GUI colors.
915
916         * src/frontends/xforms/Dialogs.C: FORMS_H_LOCATION no longer
917         included.
918
919         * src/frontends/xforms/FormPreferences.C Lots of little changes
920         associated with the changed name of the RGB and HSV structs. Can
921         now save changes to xforms GUI to file. Commented out
922         FL_LIGHTER_COL1 to allow compilation with xforms 0.88. It isn't
923         used currently anyway.
924
925 2000-11-11  Dekel Tsur  <dekelts@tau.ac.il>
926
927         * src/converter.C: A lot of changes:
928         - It is no longer possible to choose between two or more ways to 
929         export to some format (the new code uses only the shortest path).
930         However, it is still possible to choose between pdflatex/ps2pdf
931         for  creating a PDF file, by defining two PDF formats: pdf & pdf2.
932         - Added several methods that makes  the FormPreferences code simpler.
933         - Changed the tokens $$FName and $$OutName to $$i and $$o.
934
935         * src/exporter.C (Export): lyxrc.use_pdf is set before
936         makeLaTeXFile is called. This works but not very nice.
937
938         * src/frontends/xforms/FormPreferences.C: The formats/converters
939         tabs are now fully functional.
940
941         * src/buffer.C (getTocList): Add numbers to the captions. 
942
943         * lib/lyxrc.example: Removed fax section
944
945         * src/support/rename.C (rename): Delete the old file if lyx::copy
946         is called.
947
948 2000-11-13  Rob Lahaye <lahaye@postech.edu>
949
950         * lib/ui/default.ui: minor polishing.
951
952 2000-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
953
954         * src/frontends/xforms/Color.C: include <algorithm> and <cmath>
955         headers. 
956
957         * lib/Makefile.am (DOCINST): do not install everything in the
958         documentation directory.
959
960 2000-11-10  John Levon  <moz@compsoc.man.ac.uk>
961
962         * src/bufferlist.C (newFile): set the filename to the constructed
963         newfileXX.lyx
964
965         * src/lyx_cb.C (MenuWriteAs): if a buffer is "unnamed", pass the
966         constructed "newfileXX.lyx" name to the dialog
967
968         * src/frontends/DialogBase.h: make update() non-abstract so
969         KDE doesn't need to implement two update methods for every form
970
971         * src/frontends/kde/Makefile.am: add missing xforms objects
972         to compile again
973
974         * src/frontends/kde/Dialogs.C: Add FormTabularCreate dialog
975
976 2000-11-09  Angus Leeming <a.leeming@ic.ac.uk>
977
978         * src/frontends/xforms/Color.[Ch]: new files, defining the color
979         structs RGB and HSV. May not be the best place for these files.
980         Perhaps move them into src ?
981
982         * src/frontends/xforms/Makefile.am: added new files.
983
984         * src/frontends/xforms/forms/form_preferences.fd:
985         * src/frontends/xforms/FormPreferences.[Ch]: bowed to reality and
986         replaced all instances of "colour" with "color"!
987
988         * src/frontends/xforms/forms/form_preferences.fd: modified Colors tab
989         slightly yet again.
990
991         * src/frontends/xforms/FormPreferences.[Ch]: functioning Colors
992         tab. Can now alter the colors of the xform's GUI on the fly. With
993         the aid of a single static Signal (see below), can "Apply" these
994         changes to all currently open dialogs. (Well, to all of the NEW
995         dialogs and to LyXView. The OLD dialogs are not yet redrawn.) ALL
996         subsequently opened dialogs will, of course, also have the new
997         color scheme. Cannot yet save (or load) the choices to file, so
998         they are lost when exiting LyX.
999         
1000         * src/frontends/Dialogs.h:
1001         * src/frontends/xforms/Dialogs.C (redrawGUI): new static Signal.
1002         Used to trigger a redraw of any dialogs connected to it because,
1003         for example, the GUI colours have been re-mapped.
1004
1005         * src/frontends/xforms/FormBase.[Ch]:
1006         * src/frontends/xforms/FormDocument.[Ch]:
1007         * src/frontends/xforms/FormParagraph.[Ch]:
1008         * src/frontends/xforms/FormPreferences.[Ch]:
1009         * src/frontends/xforms/FormTabular.[Ch]: (redraw): new virtual
1010         method, to be connected to Dialogs::redrawGUI. Method must be
1011         virtual, because dialogs with tabbed folders need to redraw the
1012         forms of each tab folder.
1013
1014         * src/LyXView.C (d-tor):
1015         * src/frontends/xforms/FormBase.C (d-tor): connected
1016         Dialogs::redrawGUI signal to redraw().
1017
1018         * src/frontends/xforms/FormBase.C (~FormBaseBI, ~FormBaseBD):
1019         removed Assert, because it is identical to that in FormBase.
1020
1021 2000-11-10  Rob Lahaye <lahaye@postech.edu>
1022
1023         * lib/ui/default.ui: minor polishing.
1024
1025 2000-11-10  Juergen Vigna  <jug@sad.it>
1026
1027         * src/insets/insettext.C (resizeLyXText): check !cache[bv]
1028         (deleteLyXText): ditto
1029
1030         * src/insets/insettabular.C (InsetButtonPress): don't clear the
1031         selection on mouse-button-3.
1032
1033         * src/insets/insettabular.h: new function clearSelection(), use this
1034         functions inside insettabular.C.
1035
1036         * src/insets/insettabular.C (TabularFeatures): clear the selection
1037         on remove_row/column.
1038
1039         * src/insets/inset.C (scroll): fixed some scroll stuff.
1040
1041         * src/insets/insettabular.C (draw): fixed another minor draw problem.
1042
1043 2000-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1044
1045         * lib/CREDITS: add Yves Bastide
1046
1047 2000-11-03  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1048
1049         * config/lyxinclude.m4 (LYX_CXX_GLOBAL_CSTD): new function to
1050         check whether C library functions are in the global namespace.
1051
1052         * configure.in: calls it.
1053
1054         * src/support/lstrings.C: #ifndef CXX_GLOBAL_CSTD instead of
1055         #ifndef __GLIBCPP__.
1056
1057 2000-11-08  Dekel Tsur  <dekelts@tau.ac.il>
1058
1059         * src/frontends/xforms/FormPreferences.C (updateLanguage): Check
1060         iterators to prevent crash.
1061
1062 2000-11-08  Angus Leeming <a.leeming@ic.ac.uk>
1063
1064         * src/converter.h (getprettyname, getFromToPrettyname): new methods.
1065
1066         * src/frontends/xforms/xform_macros.h (C_PREPOSTHANDLER): new macro
1067         shortcut for xforms CB to the preemptive or post-handler function.
1068
1069         * src/frontends/xforms/forms/form_preferences.fd (form_preferences):
1070         removed the HIDDEN_TIMER as it's no longer used.
1071         Various other small changes.
1072
1073         * src/frontends/xforms/FormPreferences.[Ch]: removed timer. Use a
1074         preemptive handler to obtain feedback, rather than the post-handler.
1075         (ColoursLoadBrowser): find "black" and "white" based on RGB values
1076         rather than name.
1077         Formats tab is now complete. Converters tab is nearly so.
1078
1079 2000-11-09  Juergen Vigna  <jug@sad.it>
1080
1081         * src/insets/insettext.C (~InsetText): 
1082         (clear): 
1083         (Read): 
1084         (SetParagraphData): set cache.second to 0 after deleting it!
1085         (getLyXText): check if cache.second is not 0 if finding it.
1086
1087 2000-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1088
1089         * src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): use
1090         lyxlex to parse the rgb.txt file.
1091
1092         * src/lyxlex.[Ch]:
1093         * src/lyxlex_pimpl.[Ch]: implement setCommentChar method, to
1094         replace the default '#' comment character.
1095         
1096         * src/support/tempname.C: add "using" directive
1097         * src/frontends/ButtonPolicies.C: ditto.
1098
1099         * src/support/filetools.C (DirList): add an explicit cast to avoid
1100         a compile error (probably not the right fix)
1101
1102 2000-11-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
1103
1104         * src/support/filetools.C (DirList): implement using system functions
1105
1106         * src/support/tempname.C: new file
1107
1108         * src/support/Makefile.am (libsupport_la_SOURCES): add tempname.C
1109
1110         * src/insets/insetexternal.C (InsetExternal): use lyx::tempName
1111
1112         * src/graphics/GraphicsCacheItem_pimpl.C (renderXPM): use
1113         lyx::tempName 
1114
1115         * src/frontends/xforms/ButtonController.C: new file
1116
1117         * src/os2_defines.h: remove getcwd define
1118
1119         * src/lyxvc.C: include support/lyxlib.h
1120         (showLog): use lyx::tempName
1121
1122         * src/lyx_cb.C: comment out includes that we don't need
1123         (AutoSave): use lyx::tempName
1124
1125         * src/filedlg.C: include support/lyxlib.h
1126         (Reread): use lyx::getcwd
1127
1128         * src/converter.C: include support/filetools.h
1129         (add_options): change to static inline, make tail const
1130         (Add): make old_viewer const
1131         (GetAllFormats): make it a const method, use const_iterator
1132         (enable): make static inline
1133         (SplitFormat): make using_format const
1134
1135         * src/LaTeX.C (run): use lyx::getcwd
1136
1137         * configure.in: check for mkstemp as well 
1138
1139 2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>
1140
1141         * src/converter.[Ch] (GetAllCommands): new method.
1142
1143         * src/support/filetools.[Ch] (DirList): new method.
1144
1145         * src/frontends/xforms/FormPreferences.C: started (just!) adding
1146         functionality to the converters tab.
1147         The formats tab is now nearly complete.
1148         The kbmap choices in Languages tab now display the contents of
1149         system_lyxdir/kbd/*.kmap in readable form.
1150
1151         * src/frontends/xforms/FormPreferences.h: made struct RGB private.
1152         Moved some variables into the class.
1153
1154         * src/frontends/xforms/forms/form_preferences.fd: Revert colour of
1155         inactive tab folder to FL_COL1. Haven't yet worked out how to change
1156         colour of active folder to lighter grey instead. Any takers?
1157         (form_colours): added an "Apply" button.
1158         (form_converters): added a "Flags" input field.
1159         (form_formats): added a "Shortcut" input field. Note that we can't use
1160         names such as "input_shortcut" as this buggers up the sed script stuff.
1161
1162 2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>
1163
1164         * src/LaTeXLog.C:
1165         * src/LyXSendto.C:
1166         * src/credits.C:
1167         * src/filedlg.C:
1168         * src/intl.C:
1169         * src/lyx_cb.C:
1170         * src/lyx_sendfax_main.C:
1171         * src/lyxfr0.C:
1172         * src/lyxvc.C:
1173         * src/spellchecker.C:
1174         * src/insets/figinset.C:
1175         * src/insets/insetbib.C:
1176         * src/insets/insetexternal.C:
1177         * src/insets/insetinclude.C:
1178         * src/insets/insetinfo.C:
1179         * src/mathed/math_panel.C:
1180         use FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT in fl_show_form(), so
1181         all "daughter" dialogs now have identical "feel".
1182                                 
1183 2000-11-07  Angus Leeming <a.leeming@ic.ac.uk>
1184
1185         * src/lyx_gui_misc.[Ch] (IgnoreCloseBoxCB): removed as it's no longer
1186         used (and was only used in one place prior to this patch. Incorrectly!)
1187
1188         * src/frontends/xforms/FormDocument.C: changed some instances of
1189         FL_RETURN_ALWAYS to FL_RETURN_CHANGED as I think that this makes more
1190         sense. Also added fl_set_input_return() for class_->input_doc_extra and
1191         for options_->input_float_placement. This fixes a bug reported by
1192         Rob Lahaye.
1193
1194         * src/frontends/xforms/FormGraphics.[Ch] (free): removed. Placed
1195         functionality into d-tor.
1196
1197         * src/frontends/xforms/input_validators.c (fl_lowercase_filter): allow
1198         input of numerals also.
1199
1200         * src/insets/insetinclude.C (Edit): use CancelCloseBoxCB in
1201         fl_set_form_atclose(). Can now close dialog from window manager,
1202         fixing a bug reported by Rob Lahaye.
1203
1204 2000-11-06  Angus Leeming <a.leeming@ic.ac.uk>
1205
1206         * src/frontends/xforms/forms/form_preferences.fd: Inactive tab folders
1207         are no longer dark. Haven't yet worked out how to lighten the colour of
1208         the active tabfolder. Any ideas anybody?
1209         Adjusted Colours tab a little.
1210         Added Shortcut field to converters tab. Note that we can't create an
1211         fdesign label like "input_shortcut" as this buggers up the sed-script
1212         stuff.
1213
1214         * src/frontends/xforms/FormPreferences.[Ch]:
1215         (feedback): fixed crash due to to ob=0.
1216         (LanguagesXXX): the kbmap choices now contain the files
1217         sytem_lyxdir/kbd/*.kmap. I think that these choices should eventually
1218         be replaced by an input with a file browse button, but since the browse
1219         buttons don'y yet work, this'll do for the moment.
1220         (FormatsXXX): think that this is now nearly fully functional.
1221         Some points/questions though:
1222         1. Does "Apply" remove formats if no longer present?
1223         2. I think that the browser should list the GUI names rather than the
1224            format names.
1225         3. Must ensure that we can't delete Formats used by an existing
1226            Converter.
1227
1228         * src/support/filetools.[Ch] (DirList): new function. Not at all sure
1229         if this is the best way to do this.
1230                                                        
1231 2000-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1232
1233         * lib/reLyX/acinclude.m4 (RELYX_CHECK_ERRORS): remove useless message.
1234
1235         * lib/configure.m4 (latex_to_html_command): avoid spaces around =
1236         for variable assignment.
1237
1238 2000-11-07 Rob Lahaye <lahaye@postech.edu>
1239
1240         * src/lib/ui/default.ui: added sub/superscripts to menu as
1241         Insert->Special characters  and  cleaned-up the file a bit
1242
1243 2000-11-07  Allan Rae  <rae@lyx.org>
1244
1245         * src/frontends/xforms/FormPreferences.C (feedback): make sure
1246         ob isn't 0 before using it.  See comments in function.
1247
1248         * src/frontends/xforms/forms/fdfixc.sed: tiny spacing fix.
1249
1250         * src/frontends/xforms/form_*.C: regenerated
1251
1252 2000-11-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
1253
1254         * src/LaTeX.C (deplog): change reg1 to handle (/.../.../fil.sty)
1255
1256         * config/lyxinclude.m4 (LYX_PROG_CXX): remove -fno-rtti when
1257         compiling with gcc-2.96
1258
1259 2000-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1260
1261         * src/support/lyxstring.C: add a couple "using" directives.
1262
1263         * src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): add
1264         a .c_str() here too for good measure.
1265         * src/Spacing.C (set): ditto.
1266         * src/lyxfunc.C (Dispatch): ditto.
1267
1268         * src/insets/insettabular.C (copySelection): change .str() to
1269         .str().c_str() to fix problems with lyxstring.
1270         * src/support/filetools.C (GetFileContents): ditto.
1271         * src/buffer.C (asciiParagraph): ditto.
1272         * src/paragraph.C (String): ditto.
1273
1274         * lib/bind/fi_menus.bind: change symbol-insert to math-insert.
1275         * lib/bind/sciword.bind: ditto.
1276
1277         * src/LyXAction.C (init): remove "symbol-insert" function, which
1278         shared LFUN_INSERT_MATH with "math-insert".
1279
1280         * lib/configure.m4: == is not a valid operator for command test.
1281
1282         * src/lyxrc.C: add using directive.
1283
1284         * src/converter.h: add std:: qualifier.
1285
1286 2000-11-03   Dekel Tsur  <dekelts@tau.ac.il>
1287
1288         * src/converter.[Ch] and other files: Change the Format class to a
1289         real class, and create two instances: formats and system_format.
1290
1291         * src/lyxrc.C (output): Output the difference between formats and
1292         system_formats.
1293
1294         * src/frontends/xforms/FormPreferences.C (input): Simplify.
1295         (buildFormats): Insert formats into browser.
1296         (inputFormats): Made the browser and add button functional.
1297         (applyFormats): Update formats from format_vec.
1298
1299         * src/converter.C: Changed all (*it). to it->
1300         (Format::dummy): New method.
1301         (Format::importer): New format flag.
1302         (Formats::GetAllFormats): New method.
1303         (Formats::Add): Delete format from the map if prettyname is empty.
1304         (Converter::Convert): Print an error message if moving the file fails.
1305         (Converter::GetReachableTo): New method
1306
1307         * src/MenuBackend.[Ch]: Add support for importformats tag.
1308
1309         * src/support/rename.C (rename): Call to lyx::copy if ::rename fails. 
1310
1311         * lib/configure.m4: Add word->tex and ps->fax converters.
1312
1313         * lib/ui/default.ui: Use ImportFormats on file->import menu.
1314         Return fax to file menu.
1315
1316         * NEWS: Updated.
1317
1318 2000-11-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1319
1320         * src/frontends/xforms/FormPreferences.h (operator=): move out of RGB
1321         (operator!): ditto
1322
1323         * src/frontends/xforms/FormPreferences.C (WriteableFile): simplify
1324         the use of FileInfo
1325
1326         * src/lyxfunc.C (processKeyEvent): removed
1327
1328         * src/bufferlist.C (emergencyWrite): removed the out commented
1329         emergency write code.
1330
1331         * src/Makefile.am (lyx_main.o): add dep for commandtags.h
1332
1333         * src/LyXView.[Ch]: remove the outcommented raw_callback code
1334
1335         * many files: change formatting to be a bit more uniform for
1336         if,while,for,switch statements, remove some parantesis not needed.
1337         
1338
1339 2000-11-03  John Levon  <moz@compsoc.man.ac.uk>
1340
1341         * config/kde.m4: make config more robust when KDEDIR is set
1342         
1343 2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1344
1345         * src/frontends/xforms/Toolbar_pimpl.C: do not crash if mathed has
1346         not returned a pixmap for "math-insert".
1347
1348         * src/LyXAction.C (init): sort the entries a bit.
1349
1350 2000-11-03  Juergen Vigna  <jug@sad.it>
1351
1352         * src/insets/insettabular.h: added fixed number to update codes so
1353         that update is only in one direction.
1354
1355         * src/insets/insettabular.C (UpdateLocal): modified a bit don't think
1356         it matters.
1357
1358         * src/insets/insettext.C (InsetButtonPress): set the_locking_inset
1359         before call to edit because of redraw.
1360
1361         * src/insets/insetcollapsable.C (draw): fixed clearing too much.
1362
1363 2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1364
1365         * lib/ui/default.ui: Populate "edit_float" menu
1366
1367         * src/lyxfunc.C (Dispatch): implement LFUN_FLOATSOPERATE.
1368
1369         * src/LyXAction.C (init): add new entry LFUN_FLOATSOPERATE, name
1370         "floats-operate". The name is ugly (and the func also), but this
1371         is just a band-aid until we switch to new insets.
1372
1373 2000-11-03  Rob Lahaye  <lahaye@postech.edu>
1374
1375         * lib/ui/default.ui: update again the menu layout (fix some
1376         shortcuts). 
1377
1378 2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1379
1380         * src/MenuBackend.h (fulllabel): new method.
1381
1382         * src/MenuBackend.C (checkShortcuts): new method. Checks whether
1383         the menu shortcuts of a menu are unique and whether they
1384         correspond to a letter of the label.
1385         (expand): call checkShortcuts when debugging.
1386
1387 2000-11-03  Andre Poenitz  <poenitz@HTWM.De>
1388
1389         * src/insets/insettext.C (InsetButtonPress): shut off warning. 
1390
1391 2000-11-02  Lior Silberman  <lior@Princeton.EDU>
1392
1393         * lib/examples/*.lyx : '\language default' => '\language english'
1394         
1395         * lib/examples/it_splash.lyx : except where it should be italian
1396
1397         * lib/templates/*.lyx : the same
1398
1399         * doc/*.lyx* : the same
1400
1401 2000-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1402
1403         * lib/bind/menus.bind: remove the Layout menu entries, which I
1404         somehow forgot earlier.
1405
1406 2000-11-03  Rob Lahaye  <lahaye@postech.edu>
1407
1408         * lib/ui/old-default.ui: keep the old one here for reference (to
1409         be deleted later).
1410
1411         * lib/ui/default.ui: update the menu layout
1412
1413 2000-11-02  Angus Leeming <a.leeming@ic.ac.uk>
1414
1415         * src/frontends/xforms/FormCitation.C: made use of ButtonController.
1416         Can now Apply to different insets without closing the dialog.
1417
1418         * src/frontends/xforms/FormPreferences.C: new Colour and Format tabs.
1419         Can't actually DO anything with them yet, but I'd like a little
1420         feedback.
1421
1422         * src/frontends/xforms/input_validators.[ch]
1423         (fl_lowercase_filter): new. 
1424
1425 2000-10-27   Dekel Tsur  <dekelts@tau.ac.il>
1426
1427         * src/mathed/formulamacro.h (LyxCode) Return MATHMACRO_CODE instead
1428         of MATH_CODE. This fixes a bug with math-macros in RTL text.
1429
1430         * src/text.C (PrepareToPrint): Show math-macros block aligned.
1431
1432 2000-11-02  Juergen Vigna  <jug@sad.it>
1433
1434         * src/insets/insettext.C (LocalDispatch): return a DISPATCHED_NOUPDATE
1435         on char insertion as it has already be updated by bv->updateInset().
1436
1437         * src/insets/insettabular.C (UpdateInsetInInset): update the inset
1438         if an inset inside was updated.
1439
1440         * lib/configure.cmd: commented out fax-search code 
1441
1442 2000-11-01  Yves Bastide  <stid@acm.org>
1443
1444         * src/tabular.C (OldFormatRead): set tabular language to the
1445         document's one.
1446
1447 2000-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1448
1449         * lib/reLyX/MakePreamble.pm (translate_preamble): fix reading of
1450         class names with non-letter characters (from Yves Bastide).
1451
1452         * lib/ui/default.ui: change Item to OptItem in import menu.
1453         Comment out fax stuff.
1454
1455         * lib/configure.m4: comment out fax-related stuff.
1456
1457 2000-10-31  Angus Leeming <a.leeming@ic.ac.uk>
1458
1459         * src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for
1460         useful xforms helper functions. At present contains only formatted().
1461         Input a string and it returns it with line breaks so that in fits
1462         inside the label.
1463
1464         * src/frontends/xforms/Makefile.am: add new files.
1465
1466         * src/lyxrc.[Ch] (getDescription): new name for getFeedback.
1467         * src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected
1468         punctuation.
1469
1470         * src/frontends/xforms/FormPreferences.[Ch]:
1471         * src/frontends/xforms/forms/form_preferences.fd: No new functionality
1472         but lots of little clean ups. Removed enum State. Make use of
1473         formatted(). Constify lots of methods. Perhaps best of all: removed
1474         requirement for that horrible reinterpret_cast from pointer to long in
1475         feedbackPost().
1476
1477 2000-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1478
1479         * src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION,
1480         conditionalize build on xforms < 0.89
1481
1482         * src/lyx_gui.C (LyXGUI): only close lyxlookup if not xforms 0.89
1483
1484         * src/lyxfunc.C (getStatus): commenout LFUN_FAX
1485
1486         * src/LyXAction.C (init): comment out fax
1487
1488         * src/lyxrc.h: comment out the fax enums
1489         comment out the fax variables
1490
1491         * src/commandtags.h: comment out LFUN_FAX
1492
1493         * src/lyxrc.C: disable fax variables.
1494         (read): disable parsing of fax variables
1495         (output): disable writing of fax variables
1496         (getFeedback): now description for fax variables
1497
1498         * src/lyxfunc.C: comment out MenuFax
1499         (Dispatch): disable LFUN_FAX
1500
1501         * src/lyx_cb.C (MenuFax): comment out
1502
1503         * src/WorkArea.C: add <cctype>
1504         (work_area_handler): better key handling, should be ok now.
1505         for accented chars + etc
1506
1507         * src/Makefile.am (lyx_SOURCES): remove lyx_sendfax.C
1508         lyx_sendfax.h and lyx_sendfax_man.C
1509
1510         * src/LyXView.C: don't include lyxlookup.h when using xforms 0.89
1511         (show): don't call InitLyXLookup when using xforms 0.89
1512
1513 2000-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1514
1515         * src/trans.C (AddDeadkey): better fix, the other one could crash...
1516
1517         * src/support/filetools.C (GetFileContents): close to dummy change
1518
1519 2000-10-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
1520
1521         * src/trans.C (AddDeadkey): workaround stupid compilers.
1522
1523 2000-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1524
1525         * src/frontends/xforms/FormDocument.C (class_update): fix setting
1526         of two-sided document.
1527
1528 2000-10-31  Juergen Vigna  <jug@sad.it>
1529
1530         * src/WorkArea.C (work_area_handler): honor xforms 0.88 defines.
1531
1532         * src/insets/insettabular.C (ActivateCellInset): passed the wrong
1533         xposition to the Edit call.
1534
1535 2000-10-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
1536
1537         * src/trans.C (AddDeadkey): cast explicitly to char.
1538
1539 2000-10-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
1540
1541         * src/tabular.C (AsciiBottomHLine): simplify?
1542         (AsciiTopHLine): simplify?
1543         (print_n_chars): simplify
1544         (DocBook): remove most of the << endl; we should flush the stream
1545         as seldom as possible.
1546         (Latex): ditto
1547         (TeXBottomHLine): ditto
1548         (TeXTopHLine): ditto
1549         (Write): formatting
1550         (write_attribute): try a templified version.
1551         (set_row_column_number_info): lesson scope of variables
1552
1553         * src/support/lstrings.h (tostr): new specialization of tostr
1554
1555         * src/trans.C (AddDeadkey): slightly cleaner fix.
1556
1557 2000-10-28  Dekel Tsur  <dekelts@tau.ac.il>
1558
1559         * src/frontends/xforms/Menubar_pimpl.C (add_toc): Replace '%' by
1560         '%%' in Toc menu labels.
1561         (add_toc2): ditto
1562
1563         * src/insets/insetlatexaccent.C (draw): Correct rendering when
1564         font_norm is iso10646-1.
1565
1566         * src/font.C (ascent): Fixed for 16bit fonts
1567         (descent,lbearing,rbearing): ditto
1568
1569 2000-10-30  Angus Leeming <a.leeming@ic.ac.uk>
1570
1571         * src/lyxrc.C.[Ch]: moved LyXRCTags into public part of header file.
1572         (getFeedback): new static method.
1573
1574         * src/frontends/xforms/FormPreferences.[Ch]: one or two new inputs.
1575         Now use combox rather than choice to display languages.
1576         Feedback is now output using a new timer callback mechanism, identical
1577         to that in Toolbar_pimpl. Individual messages obtained from lyxrc.
1578
1579 2000-10-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1580
1581         * src/minibuffer.C: fix for older compilers
1582
1583 2000-10-30  Juergen Vigna  <jug@sad.it>
1584
1585         * src/insets/insettext.C (InsertInset): fixed this as the cursor
1586         has to be Left of the inset otherwise LyXText won't find it!
1587
1588         * src/BufferView2.C (open_new_inset): delete the inset if it can
1589         not be inserted.
1590
1591 2000-10-30  Rob Lahaye  <lahaye@postech.edu>
1592
1593         * lyx.man: fix typo.
1594
1595 2000-10-29  Marko Vendelin <markov@ioc.ee>
1596         * src/frontends/gnome/FormCitation.C
1597         * src/frontends/gnome/FormCitation.h
1598         * src/frontends/gnome/FormCopyright.C
1599         * src/frontends/gnome/FormCopyright.h
1600         * src/frontends/gnome/FormError.C
1601         * src/frontends/gnome/FormError.h
1602         * src/frontends/gnome/FormIndex.C
1603         * src/frontends/gnome/FormIndex.h
1604         * src/frontends/gnome/FormPrint.C
1605         * src/frontends/gnome/FormPrint.h
1606         * src/frontends/gnome/FormRef.C
1607         * src/frontends/gnome/FormRef.h
1608         * src/frontends/gnome/FormToc.C
1609         * src/frontends/gnome/FormToc.h
1610         * src/frontends/gnome/FormUrl.C
1611         * src/frontends/gnome/FormUrl.h
1612         * src/frontends/gnome/Menubar_pimpl.C
1613         * src/frontends/gnome/mainapp.C
1614         * src/frontends/gnome/mainapp.h
1615         * src/frontends/gnome/pixbutton.h: replacing NULL with 0 and
1616         changing update() to updateSlot() where appropriate
1617
1618 2000-10-27  Angus Leeming <a.leeming@ic.ac.uk>
1619
1620         * src/frontends/xforms/FormPreferences.[Ch]:
1621         * src/frontends/xforms/forms/form_preferences.fd: added a Languagues
1622         tab.
1623
1624 2000-10-28  Juergen Vigna  <jug@sad.it>
1625
1626         * src/insets/insettabular.C (draw): fixed drawing bug.
1627
1628         * src/insets/insettext.C (clear): 
1629         (Read): 
1630         (SetParagraphData): clearing the TEXT buffers when deleting the
1631         paragraphs used by it.
1632
1633         * src/BufferView_pimpl.C (cursorNext): fixed PageDown problem.
1634
1635         * src/trans.C (AddDeadkey): fixed bug in inizializing keymap array.
1636
1637 2000-10-27  Juergen Vigna  <jug@sad.it>
1638
1639         * src/tabular.C (~LyXTabular): removed not needed anymore.
1640
1641         * src/tabular.h: changed rowofcell and columnofcell to vector<int>
1642         (from Andre).
1643
1644 2000-10-27  Angus Leeming <a.leeming@ic.ac.uk>
1645
1646         * src/frontends/Dialogs.h: remove hideTabular signal as it is no
1647         longer used.
1648
1649         * src/frontends/xforms/FormRef.[Ch]: fix bug when setting the min
1650         size. 
1651
1652         * src/frontends/xforms/FormPreferences.[Ch]:
1653         * src/frontends/xforms/forms/form_preferences.fd: lots and lots!
1654         Reorganised as modules based on tabs. Much easier to follow the
1655         flow and to add new tabs. Added warning and feedback messages.
1656         Added new tabs.
1657
1658 2000-10-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1659
1660         * src/tabular.h (DocBook): add std:: qualifier.
1661
1662 2000-10-26  José Abílio Matos <jamatos@fep.up.pt>
1663
1664         * src/buffer.h (SimpleDocBookOnePar): becomes public and const.
1665         * src/buffer.C (SimpleDocBookOnePar): this method goes const.
1666
1667         * insettabular.h
1668         * insettabular.C (DocBook): uses the tabular methods to export
1669         docbook
1670
1671         * src/insets/insettext.h
1672         * src/insets/insettext.C (DocBook): Implemented export for docbooc.
1673
1674 2000-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
1675
1676         * src/frontends/ButtonPolicies.h (operator<<): reinsert for State
1677         and SMInput
1678
1679         * src/lyxfunc.C (MenuNew): lessen the scope of fname
1680         moved misplaced AllowInput two lines up.
1681
1682         * src/buffer.C (readFile): compare float with float, not with int
1683
1684 2000-10-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1685
1686         * src/minibuffer.C: add "using SigC::slot" statement.
1687
1688 2000-10-25  Angus Leeming <a.leeming@ic.ac.uk>
1689
1690         * src/frontends/xforms/forms/README: updated section about make.
1691
1692         * src/frontends/xforms/forms/form_*.fd: lots and lots of shortcuts.
1693         Tidied some forms up, made two of form_tabular's tabs more
1694         self-consistent, fixed Jean-Marc's size problem in form_preferences,
1695         fixed translation problem with "Column".
1696         
1697 2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
1698
1699         * src/minibuffer.h: use Timeout instead of the xforms timer
1700         object. 
1701         (setTimer) rewrite for the Timeout, change to unsigned arg
1702         (set): change to unsigned timer arg
1703         (TimerCB): remove
1704
1705         * src/minibuffer.C (TimerCB): removed func 
1706         (C_MiniBuffer_TimerCB): removed func 
1707         (C_MiniBuffer_ExecutingCB): rewrite to not depend on TimerCB
1708         (peek_event): use a switch statement
1709         (add): don't use fl_add_timer.
1710         (Set): rewrite to use the Timeout
1711         (Init): ditto
1712
1713         * src/Timeout.[Ch] (setType): return a Timeout &
1714         (setTimeout): ditto, change to unsigned arg for timeout
1715
1716 2000-10-25  Dekel Tsur  <dekelts@tau.ac.il>
1717
1718         * src/mathed/formula.C (mathed_string_width): Use string instead
1719         of a constant size char array.
1720
1721 2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
1722
1723         * src/frontends/ButtonPolicies.h: remove the LOstream and remove
1724         the two recently added operator<< for SMInput and State.
1725
1726         * src/frontends/ButtonPolicies.C (PreferencesPolicy): cast
1727         SMI_TOTAL to int.
1728         (OkCancelPolicy): ditto
1729         (OkCancelReadOnlyPolicy): ditto
1730         (NoRepeatedApplyReadOnlyPolicy): ditto
1731         (OkApplyCancelReadOnlyPolicy): ditto
1732         (OkApplyCancelPolicy): ditto
1733         (NoRepeatedApplyPolicy): ditto
1734
1735 2000-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1736
1737         * src/frontends/ButtonPolicies.h: include "support/LOstream.h" and
1738         add the usual std:: qualifiers.
1739
1740 2000-10-25  Juergen Vigna  <jug@sad.it>
1741
1742         * src/screen.C (ShowManualCursor): fixed another uint -> int problem.
1743
1744 2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
1745
1746         * src/support/filetools.C (MakeRelPath): change some types to
1747         string::size_type 
1748
1749         * src/frontends/ButtonPolicies.h (operator<<): new operator for
1750         ButtonPolicy::SMInput and ButtonPolicy::State.
1751
1752         * src/FontLoader.C (reset): small cleanup
1753         (unload): small cleanup
1754
1755         * src/FontInfo.C (getFontname): initialize error to 10000.0
1756
1757 2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
1758         
1759         * src/frontends/xforms/FormPreferences.[Ch]:
1760         * src/frontends/xforms/forms/form_preferences.fd: added spell checker,
1761         TeX encoding and default paper size sections.
1762         
1763 2000-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
1764
1765         * src/frontends/xforms/FormTabularCreate.C: add missing #pragma
1766         implementation 
1767
1768         * src/frontends/xforms/FormError.C (disconnect): use erase() to
1769         make the message_ empty.
1770         (FormError): don't initialize message_ in initializer list.
1771
1772 2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
1773         
1774         * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. 
1775         
1776 2000-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1777
1778         * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi)
1779
1780 2000-10-24  John Levon  <moz@compsoc.man.ac.uk>
1781
1782         * src/frontends/kde/*data.[Ch]: _("") is not
1783         allowed
1784
1785 2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
1786
1787         * src/buffer.C: removed redundant using directive.
1788
1789         * src/frontends/DialogBase.h: revert to original definition of
1790         update(). 
1791         
1792         * src/frontends/xforms/Dialogs.C (c-tor): splitting the tabular
1793         stuff into two classes, one for each dialog, requires a new
1794         element in the dialogs vector, FormTabularCreate.
1795
1796         * src/frontends/xforms/FormXXX.[Ch] (update): revert to original
1797         definition.
1798
1799         * src/frontends/xforms/FormBase.[Ch] (FormBaseBD::updateSlot): new
1800         method. Continues Allan's idea, but means that derived classes
1801         don't need to worry about "update or hide?".
1802
1803         * src/frontends/xforms/FormError.C (showInset): add connection
1804         again ;-) 
1805
1806         * src/frontends/xforms/FormTabular.[Ch]: split into two classes,
1807         one for each dialog. FormTabular now contains main tabular dialog
1808         only.
1809
1810         * src/frontends/xforms/FormTabularCreate.[Ch]:
1811         * src/frontends/xforms/forms/form_tabular_create.fd: the create
1812         dialog. 
1813
1814         * src/frontends/xforms/FormGraphics.[Ch]:
1815         * src/frontends/xforms/forms/form_graphics.fd
1816         * src/frontends/xforms/FormTabular.[Ch]:
1817         * src/frontends/xforms/forms/form_tabular.fd: made daughter
1818         classes of FormInset.
1819
1820         * src/frontends/xforms/forms/fdfix.sh: small fix. Can now create
1821         class names properly. Eg, form_my_new_dialog -> FormMyNewDialog.
1822
1823         * src/frontends/xforms/Makefile.am:
1824         * src/frontends/xforms/forms/makefile: added new files.
1825
1826         * src/insets/insettabular.[Ch]: removed (Dialogs *) member
1827         variable. added Signal0 hide signal, in keeping with other GUI-I
1828         insets.
1829
1830         * src/support/lstrings.h: removed redundant std:: qualifier as
1831         it's already declared in Lsstream.h.
1832
1833 2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1834
1835         * src/insets/figinset.C (GhostscriptMsg): use DisplayString() to
1836         open a new display.
1837         (runqueue): ditto.
1838
1839 2000-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
1840
1841         * src/tabular.C (Ascii): minimize scope of cell.
1842
1843         * src/BufferView2.C (nextWord): return string() instead of 0;
1844
1845 2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1846
1847         * src/converter.h: add a std:: qualifier
1848
1849 2000-10-21  Dekel Tsur  <dekelts@tau.ac.il>
1850
1851         * src/importer.[Ch]: New files. Used for importing files into LyX.
1852
1853         * src/lyxfunc.C (doImport): Use the new Importer class.
1854
1855         * src/converter.h: Add shortcut member to the Format class.
1856         Used for holding the menu shortcut.
1857
1858         * src/converter.C and other files: Made a distinction between
1859         format name and format extension. New formats can be defined using
1860         the \format lyxrc tag.
1861         Added two new converter flags: latex and disable.
1862
1863 2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1864
1865         * src/support/lyxlib.h: unify namespace/struct implementation.
1866         Remove extra declarations.
1867         
1868         * src/support/chdir.C (chdir): remove version taking char const *
1869         argument. 
1870         * src/support/rename.C: ditto.
1871         * src/support/lyxsum.C: ditto.
1872
1873 2000-10-19  Angus Leeming <a.leeming@ic.ac.uk>
1874
1875         * src/frontends/xforms/FormBase.[Ch]:
1876         * src/frontends/xforms/FormXXX.[Ch] where XXX is a FormBase daughter:
1877         read the xforms manual to discover that fl_set_form_minsize()/maxsize()
1878         work only for the next call to fl_show_form(). The correct place to set
1879         them, therefore is in connect() immediately BEFORE fl_show_form(). Now
1880         done. FormBase also stores minw_, minh_ itself. All dialogs derived
1881         from FormBase have the minimum size set; no more stupid crashes with
1882         tabbed folders etc.
1883
1884 2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1885
1886         * lib/ui/default.ui: fix shortcut for Insert->Include File.
1887
1888 2000-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1889
1890         * lib/CREDITS: add Andre' Poenitz and Kornelia Pietsch
1891
1892         * src/support/lyxlib.h: changed second argument of mkdir to
1893         unsigned long int (unsigned int would probably have been enough,
1894         but...). Removed <sys/types.h> header.
1895         * src/support/mkdir.C (mkdir): ditto.
1896
1897         * NEWS: update.
1898
1899 2000-10-19  Juergen Vigna  <jug@sad.it>
1900
1901         * src/lyxfunc.C (MenuNew): small fix (form John)
1902
1903         * src/screen.C (Update): removed unneeded code.
1904
1905         * src/tabular.C (Ascii): refixed int != uint bug!
1906
1907         * src/support/lyxlib.h: added sys/types.h include for now permits
1908         compiling, but I don't like this!
1909
1910 2000-10-18  Juergen Vigna  <jug@sad.it>
1911
1912         * src/text2.C (ClearSelection): if we clear the selection we need
1913         more refresh so set the status apropriately
1914
1915         * src/insets/insettext.C (draw): hopefully finally fixed draw
1916         problems!
1917
1918 2000-10-12  Juergen Vigna  <jug@sad.it>
1919
1920         * src/insets/insettext.C (draw): another small fix and make a block
1921         so that variables are localized.
1922
1923 2000-10-18  Angus Leeming <a.leeming@ic.ac.uk>
1924
1925         * src/support/lstrings.C (lowercase, uppercase):
1926         use explicit casts to remove compiler warnings.
1927
1928         * src/support/LRegex.C (Impl):
1929         * src/support/StrPool.C (add):
1930         * src/support/filetools.C (MakeAbsPath, NormalizePath, MakeRelPath)
1931         (AddPath, MakeDisplayPath):
1932         * src/support/lstrings.C (prefixIs, subst):
1933         use correct type to remove compiler warnings.
1934
1935         * src/support/lstrings.[Ch] (countChar): returns string::size_type.
1936
1937         * src/support/lyxlib.h:
1938         * src/support/mkdir.C (mkdir): change parameter to mode_t for
1939         portability and to remove compiler warning with DEC cxx.
1940
1941         * src/support/FileInfo.[Ch] (flagRWX): ditto.
1942
1943 2000-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1944
1945         * src/minibuffer.C (peek_event): retun 1 when there has been a
1946         mouseclick in the minibuffer.
1947
1948         * NEWS: updated.
1949
1950 2000-10-17  John Levon  <moz@compsoc.man.ac.uk>
1951
1952         * src/frontends/xforms/FormParagraph.C: more space above/below
1953         fixes
1954
1955 2000-10-17  Dekel Tsur  <dekelts@tau.ac.il>
1956
1957         * src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
1958         a char only if real_current_font was changed.
1959
1960 2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1961
1962         * NEWS: update somewhat for 1.1.6
1963
1964         * lib/ui/default.ui: clean up.
1965
1966 2000-10-17  Angus Leeming <a.leeming@ic.ac.uk>
1967
1968         * lib/CREDITS: clean up
1969
1970 2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
1971
1972         * src/combox.[Ch] (select): changed argument back to int
1973         * src/combox.C (peek_event): removed num_bytes as it is declared but
1974         never referenced.
1975
1976         * src/frontends/xforms/FormDocument.C (class_apply, bullets_apply):
1977         modified calls to Combox::select() to remove warnings about type
1978         conversion.
1979
1980         * src/insets/insetbutton.C (width): explicit cast to remove warning
1981         about type conversion.
1982
1983         * src/insets/insetcite.C (getScreenLabel): use string::size_type not
1984         size_t.
1985
1986         * src/insets/insettabular.[Ch]: variables inset_pos, sel_pos_start and
1987         sel_pos_end, refering to cursor position are changed to
1988         LyXParagraph::size_type.
1989
1990         * src/insets/insettext.h (cpos): returns LyXParagraph::size_type,
1991         consistent with LyXCursor::pos().
1992         (inset_pos): changed to LyXParagraph::size_type for same reason.
1993
1994         * src/insets/insettext.C (resizeLyXText): changed some temporary
1995         variables refing to cursor position to LyXParagraph::size_type.
1996
1997 2000-10-16  John Levon  <moz@compsoc.man.ac.uk>
1998
1999         * src/frontends/kde/<various>: The Great Renaming,
2000         add FormParagraph
2001
2002 2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2003
2004         * src/frontends/support/Makefile.am (EXTRA_DIST): re-fix.
2005
2006 2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2007
2008         * src/mathed/math_macro.C (MathMacroTemplate): initialize args to
2009         0 when there are no arguments.
2010
2011 2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
2012
2013         * src/insets/insetbib.C: re-introduce current_view as a temporary fix
2014         to segfaults when pressing Ok in InsetBibtex dialog.
2015
2016 2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
2017
2018         * forms/layout_forms.fd:
2019         * src/layout_forms.C (create_form_form_character): small change to use
2020         labelframe rather than engraved frame + text
2021
2022         * src/lyx_gui.C (create_forms): initialise choice_language with some
2023         arbitrary value to prevent segfault when dialog is shown.
2024
2025 2000-10-16  Baruch Even  <baruch.even@writeme.com>
2026
2027         * src/converter.C (runLaTeX, scanLog): Added a warning when there
2028         is no resulting file. This pertains only to LaTeX output.
2029
2030 2000-10-14  Dekel Tsur  <dekelts@tau.ac.il>
2031
2032         * src/text.C (Backspace): Make sure that the row of the cursor is
2033         rebreaked.
2034
2035         * src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
2036         a char.
2037
2038         * src/lyx_gui.C (init): Prevent a crash when only one font from 
2039         menu/popup fonts is not found.
2040
2041         * lib/lyxrc.example: Add an example for binding a key for language 
2042         switching.
2043
2044 2000-10-15  Dekel Tsur  <dekelts@tau.ac.il>
2045
2046         * src/converter.C (GetReachable): Changed the returned type to
2047         vector<FormatPair>
2048         (IsReachable): New method
2049
2050         * src/MenuBackend.C (expand): Handle formats that appear more
2051         than once
2052
2053 2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2054
2055         * src/frontends/support/Makefile.am
2056         (libfrontendsupport_la_EXTRA_DIST): add LyXImage_X.[Ch] here and
2057         not in SOURCES.
2058
2059         * lib/CREDITS: add Garst Reese.
2060
2061         * src/support/snprintf.h: add extern "C" {} around the definitions.
2062
2063         * src/cheaders/cstdarg: new header file, taken from GNU libstdc++.
2064
2065 2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>
2066
2067         * src/combox.[Ch]:
2068         * src/frontends/xforms/FormDocument.C:
2069         * src/frontends/xforms/Menubar_pimpl.C: small changes so that they
2070         compile without "conversion to integral type of smaller size"
2071         warnings.
2072         
2073 2000-10-13  Dekel Tsur  <dekelts@tau.ac.il>
2074
2075         * src/text.C (GetColumnNearX): Fixed disabled code.
2076
2077 2000-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2078
2079         * configure.in (CPPFLAGS): add snprintf and vsnprintf to
2080         AC_CHECK_FUNCS
2081
2082         * src/support/snprintf.[ch]: new files
2083
2084 2000-10-13  John Levon  <moz@compsoc.man.ac.uk>
2085
2086         * src/frontends/kde/formprintdialog.C: add
2087         file browser for selecting postscript output
2088
2089         * src/frontends/kde/formprintdialogdata.C:
2090         * src/frontends/kde/formprintdialogdata.h: re-generate
2091         correctly
2092
2093 2000-10-13  John Levon  <moz@compsoc.man.ac.uk>
2094
2095         * src/frontends/gnome/Makefile.am:
2096         * src/frontends/kde/Makefile.am:  FormCommand.C
2097         disappeared from xforms
2098
2099         * src/frontends/kde/FormCitation.C:
2100         * src/frontends/kde/FormIndex.C: read-only
2101         correctness 
2102
2103 2000-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2104
2105         * src/support/lyxfunctional.h (void_class_fun_t): fix name of
2106         constructor. 
2107
2108         * src/bufferlist.C: add using directive.
2109
2110 2000-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2111
2112         * src/support/lyxfunctional.h: version of class_fun for void
2113         returns added, const versions of back_inseter_fun and compare_fun
2114         added.  
2115
2116 2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>
2117
2118         * src/frontends/xforms/FormInset.C (showInset): fix typo.
2119
2120 2000-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2121
2122         * ChangeLog: cleanup.
2123
2124         * lib/CREDITS: update to add all the contributors we've forgotten.
2125         I have obviously missed some, so tell me whether there were
2126         errors.
2127
2128 2000-10-13  Marko Vendelin <markov@ioc.ee>
2129
2130         * src/frontends/gnome/FormCitation.C
2131         * src/frontends/gnome/FormCitation.h
2132         * src/frontends/gnome/FormError.C
2133         * src/frontends/gnome/FormIndex.C
2134         * src/frontends/gnome/FormRef.C
2135         * src/frontends/gnome/FormRef.h
2136         * src/frontends/gnome/FormUrl.C: hide dialogs on "update" signal
2137
2138         * src/frontends/gnome/FormCitation.C
2139         * src/frontends/gnome/FormCopyright.C
2140         * src/frontends/gnome/FormError.C
2141         * src/frontends/gnome/FormIndex.C
2142         * src/frontends/gnome/FormRef.C
2143         * src/frontends/gnome/FormToc.C
2144         * src/frontends/gnome/FormUrl.C: replacing gettext N_() with _() where
2145         appropriate.
2146         
2147         * src/frontends/gnome/Menubar_pimpl.C
2148         * src/frontends/gnome/Menubar_pimpl.h: using new Menu::expand method to
2149         fill the menus.
2150
2151 2000-10-11  Baruch Even  <baruch.even@writeme.com>
2152
2153         * src/minibuffer.h:
2154         * src/minibuffer.C: Changed the method ExecCommand to PrepareForCommand
2155         to convey its real action. 
2156
2157         * src/minibuffer.C (peek_event): Added action when mouse clicks to
2158         clear the minibuffer and prepare to enter a command.
2159
2160         * src/mathed/formula.C (LocalDispatch): Changed to conform with
2161         the rename from ExecCommand to PrepareForCommand.
2162         * src/lyxfunc.C (Dispatch): ditto.
2163
2164 2000-10-11  Baruch Even  <baruch.even@writeme.com>
2165
2166         * src/buffer.C (writeFile): Added test for errors on writing, this
2167         catches all errors and not only file system full errors as intended.
2168
2169 2000-10-13  Dekel Tsur  <dekelts@tau.ac.il>
2170
2171         * src/lyx_gui.C (create_forms): better fix for crash with
2172         translated interface.
2173         
2174 2000-10-12  John Levon  <moz@compsoc.man.ac.uk>
2175
2176         * src/frontends/kde/Makefile.am:
2177         * src/frontends/kde/FormCopyright.C:
2178         * src/frontends/kde/formcopyrightdialog.C:
2179         * src/frontends/kde/formcopyrightdialog.h:
2180         * src/frontends/kde/formcopyrightdialogdata.C:
2181         * src/frontends/kde/formcopyrightdialogdata.h:
2182         * src/frontends/kde/dlg/formcopyrightdialog.kdevdlg:
2183         * src/frontends/kde/dlg/formcopyrightdialog.dlg: convert
2184         copyright to use qtarch
2185
2186 2000-10-12  Dekel Tsur  <dekelts@tau.ac.il>
2187
2188         * src/encoding.C (read): Fixed bug that caused an error message at 
2189         the end of the file.
2190
2191         * po/Makefile.in.in: Fixed rule for ext_l10n.h
2192
2193         * lib/lyxrc.example: Fixed hebrew example.
2194
2195 2000-10-13  Allan Rae <rae@lyx.org>
2196
2197         * src/frontends/xforms/FormPreferences.C (input): reworking the
2198         checking 
2199         (build, update, apply): New inputs in various tabfolders
2200
2201         * src/frontends/xforms/FormToc.C: use new button policy.
2202         * src/frontends/ButtonPolicies.h (class IgnorantPolicy): for
2203         dialogs that either can't use any existing policy or where it just
2204         doesn't care. 
2205
2206         * src/frontends/xforms/FormTabular.h: removed copyright notice that
2207         said it was mine.
2208
2209         * src/lyx_gui_misc.[Ch] (updateAllVisibleBufferRelatedDialogs):
2210         added a bool parameter which is ignored.
2211
2212         * src/buffer.C (setReadonly):
2213         * src/BufferView_pimpl.C (buffer): 
2214         * src/frontends/kde/FormCopyright.h (update): 
2215         * src/frontends/kde/FormCitation.[Ch] (update): 
2216         * src/frontends/kde/FormIndex.[Ch] (update): 
2217         * src/frontends/kde/FormPrint.[Ch] (update): 
2218         * src/frontends/kde/FormRef.[Ch] (update): 
2219         * src/frontends/kde/FormToc.[Ch] (update): 
2220         * src/frontends/kde/FormUrl.[Ch] (update): 
2221         * src/frontends/gnome/FormCopyright.h (update): 
2222         * src/frontends/gnome/FormCitation.[Ch] (update): 
2223         * src/frontends/gnome/FormError.[Ch] (update): 
2224         * src/frontends/gnome/FormIndex.[Ch] (update): 
2225         * src/frontends/gnome/FormPrint.[Ch] (update): 
2226         * src/frontends/gnome/FormRef.h (update): 
2227         * src/frontends/gnome/FormToc.[Ch] (update): 
2228         * src/frontends/gnome/FormUrl.[Ch] (update): 
2229         * src/frontends/xforms/FormGraphics.[Ch] (update): reflect new changes
2230         to updateBufferDependent and DialogBase
2231
2232         * src/frontends/xforms/FormCitation.[hC]: 
2233         * src/frontends/xforms/FormDocument.[hC]: also removed restore()
2234         * src/frontends/xforms/FormError.[Ch]: 
2235         * src/frontends/xforms/FormGraphics.[Ch]: 
2236         * src/frontends/xforms/FormIndex.[Ch]: 
2237         * src/frontends/xforms/FormParagraph.[Ch]: also added missing "virtual"s
2238         and fixed readOnly handling.
2239         * src/frontends/xforms/FormPrint.[Ch]: 
2240         * src/frontends/xforms/FormRef.[Ch]: 
2241         * src/frontends/xforms/FormTabular.[Ch]:
2242         * src/frontends/xforms/FormToc.[Ch]:
2243         * src/frontends/xforms/FormUrl.[Ch]: 
2244         * src/frontends/xforms/FormInset.[Ch]:
2245         * src/frontends/xforms/FormBase.[hC]: modifications to use the new
2246         form of updateBufferDependent.
2247
2248         * src/frontends/xforms/FormBase.C (hide): only call disconnect()
2249         if form()->visible just in case someone does stuff to the form in a
2250         derived class.
2251
2252         * src/frontends/DialogBase.h (enum): removed enum since we can now use
2253         the buttoncontroller for everything the enum used to be used for.
2254         (update) It would seem we need to force all dialogs to use a bool
2255         parameter or have two update functions.  I chose to go with one.
2256         I did try removing update() from here and FormBase and defining the
2257         appropriate update signatures in FormBaseB[DI] but then ran into the
2258         problem of the update() call in FormBase::show().  Whatever I did
2259         to get around that would require another function and that just
2260         got more confusing.  Hence the decision to make everyone have an
2261         update(bool). An alternative might have been to override show() in
2262         FormBaseB[DI] and that would allow the different and appropriate
2263         update signatures. 
2264
2265         * src/frontends/Dialogs.h (updateBufferDependent): now takes a bool.
2266         true == buffer change occurred.  I decided against using a default
2267         template parameter since not all compilers support that at present.
2268
2269 2000-10-11  Angus Leeming <a.leeming@ic.ac.uk>
2270
2271         * src/frontends/xforms/FormBase.[Ch] (FormBase) : made less of a "swiss
2272         army knife" by removing functionality.
2273         (clearStore): removed. All such housekeeping on hide()ing the dialog
2274         is to be carried out by overloaded disconnect() methods.
2275         (dialogIsOpen): removed. Relevant only to Inset dialogs anyway, but
2276         superceded by Baruch's neat test (FormGraphics) to update an existing
2277         dialog if a new signal is recieved rather than block all new signals
2278         until it is closed.
2279         (cba_, parent_, updateOrHide): removed to new FormInset class. Relevant
2280         only to Inset dialogs.
2281         (FormBaseBI, FormBaseBD): new classes derived from FormBase for
2282         "Buffer Independent" and "Buffer Dependent" dialogs respectively.
2283
2284         * src/frontends/xforms/FormCommand.[Ch]: renamed as FormInset.[Ch]
2285
2286         * src/frontends/xforms/FormInset.[Ch] (FormInset): New class, defined
2287         as a base class to all inset dialogs. Used solely to connect/disconnect
2288         the Inset::hide signal and to define what action to take on receipt of
2289         a UpdateBufferDependent signal.
2290         (FormCommand): now derived from FormInset.
2291
2292         * src/frontends/xforms/FormCitation.[Ch] (clearStore): reworked as
2293         disconnect().
2294
2295         * src/frontends/xforms/FormCopyright.[Ch]:
2296         * src/frontends/xforms/FormPreferences.[Ch]:
2297         now derived from FormBaseBI.
2298
2299         * src/frontends/xforms/FormDocument.[Ch]:
2300         * src/frontends/xforms/FormParagraph.[Ch]:
2301         * src/frontends/xforms/FormPrint.[Ch]:
2302         now derived from FormBaseBD.
2303
2304         * src/frontends/xforms/FormError.[Ch]: now derived from FormInset.
2305
2306         * src/frontends/xforms/FormCitation.[Ch]:
2307         * src/frontends/xforms/FormError.[Ch]:
2308         * src/frontends/xforms/FormRef.[Ch]:
2309         * src/frontends/xforms/FormToc.[Ch]:
2310         (clearStore): reworked as disconnect().
2311
2312         * src/frontends/xforms/Makefile.am: removed FormCommand.[Ch], adding
2313         FormInset.[Ch].
2314
2315 2000-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2316
2317         * src/converter.C (runLaTeX): constify buffer argument
2318         (scanLog): ditto.
2319
2320         * src/frontends/support/Makefile.am (INCLUDES): fix.
2321
2322         * src/buffer.h: add std:: qualifier
2323         * src/insets/figinset.C (addpidwait): ditto
2324         * src/MenuBackend.C: ditto
2325         * src/buffer.C: ditto
2326         * src/bufferlist.C: ditto
2327         * src/layout.C: ditto
2328         * src/lyxfunc.C: ditto
2329
2330 2000-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2331
2332         * src/lyxtext.h (bidi_level): change return type to
2333         LyXParagraph::size_type. 
2334
2335         * src/lyxparagraph.h: change size_type to
2336         TextContainer::difference_type. This should really be
2337         TextContainer::size_type, but we need currently to support signed
2338         values. 
2339
2340 2000-10-11  Marko Vendelin <markov@ioc.ee>
2341         * src/frontends/gnome/FormError.h
2342         * src/frontends/gnome/FormRef.C
2343         * src/frontends/gnome/FormRef.h
2344         * src/frontends/gnome/FormError.C
2345         * src/frontends/gnome/Makefile.am
2346         * src/frontends/gnome/pixbutton.h: FormError and FormRef are ported 
2347         to Gnome frontend. Both dialogs use "action" area.
2348
2349 2000-10-12  Baruch Even  <baruch.even@writeme.com>
2350
2351         * src/graphics/GraphicsCacheItem_pimpl.C:
2352         * src/graphics/Renderer.C:
2353         * src/graphics/XPM_Renderer.C: Corrected resolution of conflicts.
2354         It now compiles.
2355
2356 2000-10-12  Juergen Vigna  <jug@sad.it>
2357
2358         * src/insets/insettext.C (draw): fixed drawing bug (specifically
2359         visible when selecting).
2360
2361         * development/Code_rules/Rules: fixed some typos.
2362
2363 2000-10-09  Baruch Even  <baruch.even@writeme.com>
2364
2365         * src/filedlg.C (GroupCache::find): de-inlined the function, makes
2366         compiling on egcs 1.1.2 possible.
2367         
2368         * src/filedlg.C (comp_direntry::operator() ): ditto.
2369
2370 2000-08-31  Baruch Even  <baruch.even@writeme.com>
2371
2372         * src/lyx_cb.[hC] (ShowMessage): Result of the const-ificiation of the 
2373         Buffer parameter.
2374
2375         * src/frontends/xforms/FormGraphics.C: Changed the dialog to be
2376         transient it now only gets freed when the object is destructed.
2377
2378 2000-08-24  Baruch Even  <baruch.even@writeme.com>
2379
2380         * src/frontends/FormGraphics.h:
2381         * src/frontends/FormGraphics.C: Changed to use ButtonController and
2382         ButtonPolicies.
2383
2384 2000-08-20  Baruch Even  <baruch.even@writeme.com>
2385
2386         * src/insets/insetgraphics.C:
2387         (draw): Added messages to the drawn rectangle to report status.
2388         (updateInset): Disabled the use of the inline graphics,
2389         (draw): ditto.
2390
2391 2000-08-17  Baruch Even  <baruch.even@writeme.com>
2392
2393         * src/frontends/support: Directory added for the support of GUII LyX.
2394
2395         * src/frontends/support/LyXImage.h:     
2396         * src/frontends/support/LyXImage.C:  Base class for GUII holding of
2397         images.
2398
2399         * src/frontends/support/LyXImage_X.h:
2400         * src/frontends/support/LyXImage_X.C: Implementation of the Xlib
2401         version of LyXImage, this uses the Xlib Pixmap.
2402
2403         * src/PainterBase.h:
2404         * src/PainterBase.C:
2405         * src/Painter.h:
2406         * src/Painter.C: Added a new method image() to draw LyXImage-s, a GUII 
2407         replacement     to Pixmap.
2408
2409         * src/insets/insetgraphics.h:
2410         * src/insets/insetgraphics.C:
2411         * src/graphics/GraphicsCacheItem.h:
2412         * src/graphics/GraphicsCacheItem.C:
2413         * src/graphics/GraphicsCacheItem_pimpl.h:
2414         * src/graphics/GraphicsCacheItem_pimpl.C: Changed to use LyXImage
2415         instead  of Pixmap.
2416
2417         * src/graphics/GraphicsCacheItem.h:
2418         * src/graphics/GraphicsCacheItem.C: Added the Clone() method to create 
2419         another copy of the object.
2420
2421         * src/insets/insetgraphics.C (Clone): Changed to create a second copy
2422         of cacheHandle, this fixed a bug that sent LyX crashing.
2423
2424         * src/graphics/XPM_Renderer.h:
2425         * src/graphics/XPM_Renderer.C:
2426         * src/graphics/EPS_Renderer.h:
2427         * src/graphics/EPS_Renderer.C: Changed to Unix LF from DOS CRLF.
2428
2429 2000-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2430
2431         * src/lyxfunc.C (processKeySym): only handle the
2432         lockinginset/inset stuff if we have a buffer and text loaded...
2433
2434         * lib/Makefile.am (EXTRA_DIST): add encodings and languages
2435
2436 2000-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
2437
2438         * src/support/lyxfunctional.h: add operator= that takes a reference
2439
2440         * src/lyxserver.C (mkfifo): make first arg const
2441
2442         * src/layout.h: renamed name(...) to setName(...) to work around
2443         bugs in egcs.
2444
2445         * src/buffer.C (setFileName): had to change name of function to
2446         work around bugs in egcs. (renamed from fileName) 
2447
2448 2000-10-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
2449
2450         * src/support/translator.h: move helper template classes to
2451         lyxfunctional.h, include "support/lyxfunctional.h"
2452
2453         * src/support/lyxmanip.h: add delaration of fmt
2454
2455         * src/support/lyxfunctional.h: new file
2456         (class_fun_t): new template class
2457         (class_fun): helper template function
2458         (back_insert_fun_iterator): new template class
2459         (back_inserter_fun): helper template function
2460         (compare_memfun_t): new template class
2461         (compare_memfun): helper template function
2462         (equal_1st_in_pair): moved here from translator
2463         (equal_2nd_in_pair): moved here from translator
2464
2465         * src/support/fmt.C: new file
2466         (fmt): new func, can be used for a printf substitute when still
2467         using iostreams ex. lyxerr << fmt("Hello %s", "Jürgen") << endl;
2468
2469         * src/support/StrPool.C: add some comments
2470
2471         * src/support/Makefile.am (libsupport_la_SOURCES): add fmt.C and
2472         lyxfunctional.h
2473
2474         * src/insets/figinset.C (addpidwait): use std::copy with
2475         ostream_iterator to fill the pidwaitlist
2476
2477         * src/graphics/XPM_Renderer.C (renderImage): use ScreenOfDisplay
2478
2479         * src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): remove
2480         c_str() 
2481
2482         * src/frontends/xforms/Menubar_pimpl.C: make several file scope
2483         variables static
2484
2485         * src/frontends/xforms/FormParagraph.C (input): use lyx::atoi
2486
2487         * src/frontends/xforms/FormDocument.C (build): remove c_str()
2488         (class_update): ditto
2489         (BulletPanel): ditto
2490         (CheckChoiceClass): move initialization of tc and tct
2491
2492         * src/tabular.C: remove current_view
2493         (OldFormatRead): similar to right below [istream::ignore]
2494
2495         * src/lyxlex_pimpl.C (next): add code for faster skipping of
2496         chars, unfortunately this is buggy on gcc 2.95.2, so currently
2497         unused [istream::ignore]
2498
2499         * src/lyxfunc.C: include "support/lyxfunctional.h"
2500         (getInsetByCode): use std::find_if and compare_memfun
2501
2502         * src/lyxfont.C (stateText): remove c_str()
2503
2504         * src/lyx_main.C (setDebuggingLevel): make static
2505         (commandLineHelp): make static
2506
2507         * src/lyx_gui_misc.C (getScreenDPI): use ScreenOfDisplay to get
2508         Screen* together with fl_get_display() and fl_screen
2509
2510         * src/lyx_gui.C (LyXGUI): use ScreenOfDisplay to get Screen*
2511         togheter with fl_get_display() and fl_screen
2512         (create_forms): remove c_str()
2513
2514         * src/layout.C: include "support/lyxfunctional.h"
2515         (hasLayout): use std::find_if and compare_memfun
2516         (GetLayout): use std::find_if and comapre_memfun
2517         (delete_layout): use std::remove_if and compare_memfun
2518         (NumberOfClass): use std:.find_if and compare_memfun
2519
2520         * src/gettext.h: change for the new functions
2521
2522         * src/gettext.C: new file, make _(char const * str) and _(string
2523         const & str) real functions.
2524
2525         * src/font.C (width): rewrite slightly to avoid one extra variable
2526
2527         * src/debug.C: initialize Debug::ANY here
2528
2529         * src/commandtags.h: update number comments
2530
2531         * src/combox.h (get): make const func
2532         (empty): make const
2533         (getline): make const
2534
2535         * src/combox.C (input_cb): handle case where fl_get_input can
2536         return NULL
2537
2538         * src/bufferlist.C: add <functional>, "support/lyxmanip.h",
2539         "support/lyxfunctional.h", remove current_view variable.
2540         (resize): use std::for_each with std::mem_fun
2541         (getFileNames): use std::copy with back_inserter_fun
2542         (getBuffer): change arg type to unsigned int
2543         (emergencyWriteAll): call emergencyWrite with std::for_each and
2544         class_fun.
2545         (emergencyWrite): new method, the for loop in emergencyWriteAll
2546         has been unrolled.
2547         (exists): use std::find_if with compare_memfun
2548         (getBuffer): use std::find_if and compare_memfun
2549
2550         * src/buffer.h: add typedefs for iterator_category, value_type
2551         difference_type, pointer and reference for inset_iterator
2552         add postfix ++ for inset_iterator
2553         make inset_iterator::getPos() const
2554
2555         * src/buffer.C: added support/lyxmanip.h
2556         (readFile): use lyxerr << fmt instead of printf
2557         (makeLaTeXFile): use std::copy to write out encodings
2558
2559         * src/Painter.C (text): rewrite slightly to avoid extra font variable
2560
2561         * src/MenuBackend.C (read): remove c_str(), as well as strdup and
2562         free and the char * temp.
2563         (hasMenu): use std::find_if and compare_memfun
2564         (getMenu): ditto
2565
2566         * src/Makefile.am (lyx_SOURCES): added gettext.C
2567
2568         * src/LyXAction.C (retrieveActionArg): clear the arg, use
2569         string::insert small change to avoid temporary
2570
2571         * src/LColor.C (getGUIName): remove c_str()
2572
2573         * several files: change all occurrences of fl_display to
2574         fl_get_display() 
2575
2576         * config/lyxinclude.m4 (LYX_PROG_CXX): add a 2.97 clause so
2577         that -pedantic is not used for gcc 2.97 (cvs gcc)
2578
2579         * boost/Makefile.am: begin slowly to prepare for a real boost lib
2580
2581 2000-10-11  Allan Rae  <rae@lyx.org>
2582
2583         * src/frontends/xforms/FormPreferences.C (input): template path must be
2584         a readable directory.  It doesn't need to be writeable.
2585         (build, delete, update, apply): New inputs in the various tabfolders
2586
2587         * src/frontends/xforms/forms/form_preferences.fd: 
2588         * src/frontends/xforms/FormPreferences.h: New tabfolder and added
2589         several new entries to existing folders.  Shuffled some existing stuff
2590         around. 
2591
2592         * src/frontends/xforms/forms/form_print.fd: 
2593         * src/frontends/xforms/FormPrint.C (apply): rename unsorted to collated.
2594         Should probably rework PrinterParams as well.  Note that the switch to
2595         collated is effectively the same as !unsorted so changing PrinterParams
2596         will require a lot of fiddly changes to reverse the existing logic.
2597
2598         * src/lyx_cb.C (TimerCB): cleaned up Angus's patch.
2599
2600 2000-10-10  Angus Leeming <a.leeming@ic.ac.uk>
2601
2602         * src/lyx_cb.C (TimerCB): fix crash when fd_form_title doesn't exist.
2603
2604 2000-10-10  Allan Rae <rae@lyx.org>
2605
2606         * src/lyxrc.[Ch]:
2607         * src/lyxfunc.C (Dispatch): 
2608         * src/lyx_gui.C: 
2609         * src/BufferView_pimpl.C (scrollCB): cursor_follows_scrollbar made a
2610         member of LyXRC
2611
2612         * src/lyxrc.C (output): Only write the differences between system lyxrc
2613         and the users settings.
2614
2615         * src/lyx_main.C:
2616         * src/lyxrc.[Ch]: commented out noncopyable so I can keep a
2617         system_lyxrc. 
2618         I'll rewrite this later, after 1.1.6 probably, to keep a single
2619         LyXRC but two instances of a LyXRCStruct.
2620
2621 2000-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2622
2623         * lib/Makefile.am (pkgdata_DATA): add encoding and languages
2624
2625         * src/tabular.h: add a few std:: qualifiers.
2626
2627         * src/encoding.C: add using directive.
2628         * src/language.C: ditto.
2629
2630         * src/insets/insetquotes.C (Validate): use languages->lang()
2631         instead of only language.
2632
2633 2000-10-07  Dekel Tsur  <dekelts@tau.ac.il>
2634
2635         * lib/languages: New file.
2636
2637         * lib/encodings: New file.
2638
2639         * src/language.C (Languages): New class.
2640         (read): New method. Reads the languages from the 'languages' file.
2641
2642         * src/encoding.C (Encodings): New class.
2643         (read): New method. Reads the encodings from the 'encodings' file.
2644
2645         * src/lyx_main.C (init): Call to LyXSetStyle() after languages
2646         initialization.
2647
2648         * src/bufferparams.h and a lot of files: Deleted the member language,
2649         and renamed language_info to language
2650
2651         * src/buffer.C (makeLaTeXFile): Use babel() instead of lang()
2652         * src/lyxfont.C (latexWriteStartChanges): ditto.
2653         * src/paragraph.C (validate,TeXOnePar): ditto.
2654         
2655         * src/lyxfont.C (update): Restored deleted code.
2656
2657         * src/frontends/xforms/FormDocument.C (build): Made the combox taller
2658
2659 2000-10-10  Angus Leeming <a.leeming@ic.ac.uk>
2660
2661         * src/BufferView_pimpl.C (buffer): cleaned up a little.
2662
2663         * src/insets/figinset.[Ch]:
2664         * src/insets/insetinclude.[Ch]:
2665         * src/insets/insetinclude.[Ch]:
2666         * src/insets/insetparent.[Ch]:
2667         * src/insets/insetref.[Ch]:
2668         * src/insets/insettabular.[Ch] (c-tor): Buffer passed as const &.
2669
2670         * src/insets/*.[Ch]:
2671         * src/mathed/formula.[Ch]:
2672         * src/mathed/formulamacro.C (Clone): passed Buffer const &.
2673
2674         * src/buffer.C (parseSingleLyXformat2Token, readInset):
2675         * src/lyx_cb.C (FigureApplyCB):
2676         * src/lyxfunc.C (getStatus, Dispatch):
2677         * src/frontends/xforms/FormTabular.C:  use modified c-tors to some
2678         insets.
2679
2680         * src/lyxfunc.C (Dispatch): string "ref" not used. Removed.
2681
2682         * src/converter.[Ch] (Formats::View):
2683         * src/lyx_cb.[Ch] (ShowMessage): constify Buffer * parameter.
2684
2685         * src/paragraph.C (CopyIntoMinibuffer, Clone): Insets::Clone() passed
2686         *current_view->buffer(). This will change later, but this patch is way
2687         big enough already!
2688
2689 2000-10-09  Juergen Vigna  <jug@sad.it>
2690
2691         * src/text.C (GetRow): small fix.
2692
2693         * src/BufferView_pimpl.C (cursorPrevious): 
2694         (cursorNext): added LyXText parameter to function.
2695
2696         * src/insets/insettabular.C (LocalDispatch): activate cell inset on
2697         keypress depending on cursor position.
2698
2699 2000-10-06  Juergen Vigna  <jug@sad.it>
2700
2701         * src/insets/insettabular.C (Ascii): finally call right ascii-function.
2702         (copySelection): redone this function and also copy ascii representa-
2703         tion to clipboard.
2704
2705         * src/tabular.C (Ascii): 
2706         (AsciiPrintCell): 
2707         (AsciiBottomHLine): 
2708         (AsciiTopHLine): 
2709         (print_n_chars): new functions to realize the ascii export of tabulars.
2710
2711 2000-10-05  Juergen Vigna  <jug@sad.it>
2712
2713         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): small fix
2714         if we don't have a buffer.
2715
2716 2000-10-10  Allan Rae  <rae@lyx.org>
2717
2718         * src/frontends/xforms/FormPreferences.[Ch] (hide): Fix the problem
2719         with closing dialog.  It seems that nested tabfolders require hiding
2720         of inner tabfolders before hiding the dialog itself.  Actually all I
2721         did was hide the active outer folder.
2722
2723         * src/BufferView_pimpl.C (buffer): don't call updateBufferDependent
2724         unless there really is a buffer.  hideBufferDependent is called
2725         instead.
2726
2727         * po/Makefile.in.in (POTFILES.in): one little tweak to ensure
2728         POTFILES.in stays in $(srcdir).
2729
2730 2000-10-09  Dekel Tsur  <dekelts@tau.ac.il>
2731
2732         * lib/lyxrc.example: Few changes.
2733
2734 2000-10-05  Angus Leeming <a.leeming@ic.ac.uk>
2735
2736         * src/BufferView_pimpl.C (buffer): only need one the
2737         updateBufferDependent signal to be emitted once! Moved to the end of
2738         the method to allow bv_->text to be updated first.
2739
2740         * src/frontends/xforms/FormBase.[Ch]: replaced the two signals uSignal_
2741         and hSignal_ with Dialogs * and BufferDependency variables.
2742         New Buffer * parent_, initialised when the dialog is launched. Used to
2743         check whether to update() or hide() dialog in the new, private
2744         updateOrHide() method that is connected to the updateBufferDependent
2745         signal. Daughter classes dictate what to do using the
2746         ChangedBufferAction enum, passed to the c-tor.
2747
2748         * src/frontends/xforms/FormCitation.C:
2749         * src/frontends/xforms/FormCommand.C:
2750         * src/frontends/xforms/FormCopyright.C:
2751         * src/frontends/xforms/FormDocument.C:
2752         * src/frontends/xforms/FormError.C:
2753         * src/frontends/xforms/FormIndex.C:
2754         * src/frontends/xforms/FormPreferences.C:
2755         * src/frontends/xforms/FormPrint.C:
2756         * src/frontends/xforms/FormRef.C:
2757         * src/frontends/xforms/FormToc.C:
2758         * src/frontends/xforms/FormUrl.C (c-tor): modified call to FormBase
2759         c-tor.
2760
2761         * src/frontends/xforms/FormCommand.[Ch] (c-tor) passed a
2762         ChangedBufferAction enum.
2763
2764         * src/frontends/xforms/FormParagraph.[Ch]
2765         * src/frontends/xforms/forms/form_paragraph.fd: now derived from
2766         FormBase.
2767         
2768 2000-10-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2769
2770         * lib/bind/cua.bind: fix a bit.
2771         * lib/bind/emacs.bind: ditto.
2772
2773         * lib/bind/menus.bind: remove real menu entries from there.
2774
2775         * src/spellchecker.C: make sure we only include strings.h when
2776         _AIX is defined.        
2777
2778 2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>
2779
2780         * src/frontends/xforms/Menubar_pimpl.C (get_new_submenu): New
2781         function. It enlarges the maximum number of pup when needed.
2782         (add_toc2): Open a new menu if maximum number of items per menu has 
2783         reached.
2784         
2785 2000-10-05  John Levon  <moz@compsoc.man.ac.uk>
2786
2787         * src/frontends/kde/FormPrint.C: fix error reporting
2788
2789         * src/frontends/xforms/FormDocument.C: fix compiler
2790         warnings
2791
2792         * lib/.cvsignore: add Literate.nw
2793
2794 2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>
2795
2796         * buffer.C
2797         * bufferview_funcs.[Ch]
2798         * lyxfont.[Ch]
2799         * text.C
2800         * text2.C: Add support for numbers in RTL text.
2801
2802 2000-10-06  Allan Rae  <rae@lyx.org>
2803
2804         * po/Makefile.in.in (POTFILES.in, POTFILES): Fixed
2805         to be gettext.m4 friendly again.  ext_l10n.h is now
2806         generated into $top_srcdir instead of $top_builddir
2807         so that lyx.pot will be built correctly -- without
2808         duplicate parsing of ext_l10n.h.
2809
2810 2000-10-04  John Levon  <moz@compsoc.man.ac.uk>
2811
2812         * src/frontends/kde/FormCitation.C: make the dialog
2813         behave more sensibly
2814
2815 2000-10-03  John Levon  <moz@compsoc.man.ac.uk>
2816
2817         * config/kde.m4: fix consecutive ./configure runs,
2818         look for qtarch, fix library order
2819
2820         * src/frontends/kde/Makefile.am: tidy up,
2821         add Print dialog, add .dlg dependencies
2822
2823         * src/frontends/kde/FormPrint.C:
2824         * src/frontends/kde/FormPrint.h:
2825         * src/frontends/kde/formprintdialog.C:
2826         * src/frontends/kde/formprintdialog.h:
2827         * src/frontends/kde/formprintdialogdata.C:
2828         * src/frontends/kde/formprintdialogdata.h:
2829         * src/frontends/kde/dlg/formprintdialog.dlg: add
2830         print dialog
2831
2832         * src/frontends/kde/dlg/README: Added explanatory readme
2833         
2834         * src/frontends/kde/dlg/checkinitorder.pl: small perl
2835         script to double-check qtarch's output
2836
2837         * src/frontends/kde/formindexdialog.C:
2838         * src/frontends/kde/formindexdialogdata.C:
2839         * src/frontends/kde/formindexdialogdata.h:
2840         * src/frontends/kde/dlg/formindexdialog.dlg: update
2841         for qtarch, minor fixes
2842
2843 2000-10-05  Allan Rae  <rae@lyx.org>
2844
2845         * src/BufferView_pimpl.C (buffer): don't hide all buffer dependent
2846         dialogs when switching buffers update them instead.  It's up to each
2847         dialog to decide if it should still be visible or not.
2848         update() should return a bool to control visiblity within show().
2849         Or perhaps better to set a member variable and use that to control
2850         visibility.
2851
2852         * lib/build-listerrors: create an empty "listerrors" file just to stop
2853         make trying to regenerate it all the time if you don't have noweb
2854         installed.
2855
2856         * .cvsignore: ignore distdir and dist.tar.gz using rule lyx-*
2857
2858         * po/Makefile.in.in (ext_l10n.h): added a rule to build
2859         $(top_builddir)/src/ext_l10n.h.  The rule has to go here because po/
2860         is built before src/ and ext_l10n.h isn't actually needed to build lyx.
2861         (POTFILES.in): added a rule to build POTFILES.in.  It is also now safe
2862         to rebuild POTFILES.in with scrap *.[hC] files in xforms/forms/.
2863
2864         * autogen.sh: po/POTFILES.in and src/ext_l10n.h now generated by make.
2865
2866 2000-10-04  Angus Leeming <a.leeming@ic.ac.uk>
2867
2868         * src/BufferView_pimpl.C (buffer): emit hideBufferDependent when
2869         deleting buffer. Closes all buffer-dependent dialogs.
2870
2871         * src/frontends/xforms/FormBase.[Ch] (input): modified to pass
2872         FL_OBJECT * also.
2873         * src/frontends/xforms/FormCitation.[Ch]:
2874         * src/frontends/xforms/FormPreferences.[Ch]:
2875         * src/frontends/xforms/FormPrint.[Ch]:
2876         * src/frontends/xforms/FormRef.[Ch]:
2877         * src/frontends/xforms/FormUrl.[Ch]: ditto
2878
2879         * src/frontends/xforms/FormDocument.[Ch]:
2880         * src/frontends/xforms/forms/form_document.C.patch:
2881         * src/frontends/xforms/forms/form_document.fd: all input callbacks now
2882         pass through a single input() function.
2883
2884 2000-10-04  John Levon  <moz@compsoc.man.ac.uk>
2885
2886         * lib/build-listerrors: return status as OK
2887
2888 2000-10-04  Dekel Tsur  <dekelts@tau.ac.il>
2889
2890         * lib/lyxrc.example: Updated to new export code
2891
2892 2000-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2893
2894         * src/mathed/math_parser.C (LexInitCodes): set lexcode of "@" to
2895         LexAlpha. 
2896
2897         * src/mathed/formula.C (LocalDispatch): add '@' as an LM_TC_VAR
2898         character. 
2899
2900         * lib/layouts/amsart.layout: include lyxmacros.inc, so that
2901         LyX-Code is defined.
2902         * lib/layouts/amsbook.layout: ditto.
2903
2904         * boost/Makefile.am: fix typo. 
2905
2906         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): use
2907         Menu::expand. 
2908         (add_lastfiles): removed.
2909         (add_documents): removed.
2910         (add_formats): removed.
2911
2912         * src/frontends/Menubar.C: remove useless "using" directive.
2913
2914         * src/MenuBackend.h: add a new MenuItem constructor.
2915
2916         * src/MenuBackend.[Ch] (Menu::expand): new method. Used in the
2917         xforms frontend.
2918
2919 2000-10-04  Allan Rae  <rae@lyx.org>
2920
2921         * lib/Makefile.am (listerrors):
2922         * lib/build-listerrors: make $builddir != $srcdir compiles work again.
2923         I haven't got notangle installed so Kayvan please test. The output
2924         should end up in $builddir.  This also allows people who don't have
2925         noweb installed to complete the make process without error.
2926
2927         * src/frontends/xforms/FormCommand.[Ch] (showInset):
2928         * src/frontends/xforms/FormError.[Ch] (showInset): fix warnings found
2929         by JMarc's picky compiler.
2930
2931 2000-10-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
2932
2933
2934         * src/insets/insettabular.C (setPos): change for loop to not use
2935         sequencing operator. Please check this Jürgen.
2936
2937         * src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use "c"
2938         instead of 'c'
2939         * src/insets/insetcite.C (getScreenLabel): ditto
2940         * src/support/filetools.C (QuoteName): ditto
2941         (ChangeExtension): ditto
2942
2943         * src/BufferView_pimpl.C (scrollCB): make heigt int
2944
2945         * src/BufferView2.C (insertInset): comment out unused arg
2946
2947         * boost/Makefile.am (EXTRADIST): new variable
2948
2949 2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
2950
2951         * src/exporter.C (IsExportable): Fixed
2952         
2953         * lib/configure.m4: Small fix
2954
2955 2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
2956
2957         * src/insets/insetbutton.C (width): Changed to work with no GUI.
2958         * src/insets/insetbib.C (bibitemWidest): ditto.
2959         * src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto.
2960
2961 2000-10-03  Juergen Vigna  <jug@sad.it>
2962
2963         * src/BufferView2.C (theLockingInset): removed const because of
2964         Agnus's compile problems.
2965
2966         * src/insets/insettext.C (LocalDispatch): set the language of the
2967         surronding paragraph on inserting the first character.
2968
2969         * various files: changed use of BufferView::the_locking_inset.
2970         
2971         * src/BufferView2.C (theLockingInset): 
2972         (theLockingInset): new functions.
2973
2974         * src/BufferView.h: removed the_locking_inset.
2975
2976         * src/lyxtext.h: added the_locking_inset
2977
2978         * src/BufferView_pimpl.C (checkInsetHit): y_tmp form uint to int.
2979
2980         * src/insets/lyxinset.h: added bool to ShowInsetCursor definition.
2981
2982 2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
2983
2984         * src/mathed/formula.C (IsMacro): declared but not referenced; removed.
2985         * src/mathed/math_cursor.C (IsAlpha): ditto.
2986         * src/mathed/math_inset.C (strnew): ditto.
2987         * src/mathed/math_iter.C: SizeFont declared but not referenced;removed.
2988         (IMetrics): cxp set but never used; removed.
2989         * src/insets/figinset.C (InitFigures): removed redundant for loop, now
2990         that the variable in question has been removed also!
2991
2992
2993         * src/insets/insetbib.[Ch]: remove need to store Buffer * owner by
2994         using the Buffer * passed to Latex(), using the BufferView * passed to
2995         bibitemMaxWidth() bibitemWidest() and by passing a Buffer* to getKeys()
2996
2997         * src/insets/insetinclude.C: use the Buffer * passed to Latex(),
2998         Linuxdoc() and DocBook() rather than the stored Buffer * master.
2999
3000         * src/lyxfunc.C (Dispatch): used new InsetBibtex c-tor
3001         * src/buffer.C (readInset): used new InsetBibtex c-tor
3002         * (getBibkeyList): used new InsetBibtex::getKeys
3003
3004 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
3005
3006         * lib/configure.m4
3007         * lib/build-listerrors
3008         * src/converter.C
3009         * src/exporter.C: Add literate programming support to the export code
3010
3011         * src/buffer.C
3012         * src/lyx_cb.C: Remove old literate code.
3013
3014         * src/lyxrc.[Ch]: Remove many obsolete (due to new export code)
3015         variables.
3016
3017         * src/lyxfunc.C (getStatus): Use Exporter::IsExportable
3018         * src/converter.C (View, Convert): Use QuoteName.
3019
3020         * src/insets/figinset.C (Preview): Use Formats::View.
3021
3022         * lib/configure.m4: Add sgml->dvi converter to lyxrc.default
3023         
3024 2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3025
3026         * src/lyxfunc.C (Dispatch): move declaration of text variable at
3027         the top of the function, because compaq cxx complains that the
3028         "goto exit_with_message" when the function is disabled bypasses
3029         its initialization.
3030         (MenuNew): try a better fix for the generation of new file names.
3031         This time, I used AddName() instead of AddPath(), hoping Juergen
3032         will be happier :)
3033
3034 2000-10-03  Allan Rae  <rae@lyx.org>
3035
3036         * src/frontends/xforms/forms/form_preferences.fd:
3037         * src/frontends/xforms/FormPreferences.[Ch]: redesign of dialog using
3038         nested tabfolders has begun.  The old "Miscellaneous" was renamed as
3039         "Look and Feel"->"General" but will need to be split up further into
3040         general output and general input tabs.  Current plan is for four outer
3041         tabfolders: "Look and Feel" for colours, bindings, fonts and other HCI
3042         stuff; "Inputs" for input and import configuration; "Outputs" for
3043         output and export configuration; and one more whatever is left over
3044         called "General".  The leftovers at present look like being which
3045         viewers to use, spellchecker, language support and might be better
3046         named "Support".  I've put "Paths" in "Inputs" for the moment as this
3047         seems reasonable for now at least.
3048         One problem remains: X error kills LyX when you close Preferences.
3049
3050 2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
3051
3052         * src/frontends/xforms/FormBase.[Ch]: removed "meaningless" const.
3053         qualifier from form()
3054         * src/frontends/xforms/FormCitation.[Ch]:
3055         * src/frontends/xforms/FormCopyright.[Ch]:
3056         * src/frontends/xforms/FormDocument.[Ch]:
3057         * src/frontends/xforms/FormError.[Ch]:
3058         * src/frontends/xforms/FormIndex.[Ch]:
3059         * src/frontends/xforms/FormPreferences.[Ch]:
3060         * src/frontends/xforms/FormPrint.[Ch]:
3061         * src/frontends/xforms/FormRef.[Ch]:
3062         * src/frontends/xforms/FormToc.[Ch]:
3063         * src/frontends/xforms/FormUrl.[Ch]: ditto.
3064
3065         * src/frontends/xforms/FormCitation.[Ch]:
3066         * src/frontends/xforms/FormIndex.[Ch]:
3067         * src/frontends/xforms/FormRef.[Ch]:
3068         * src/frontends/xforms/FormUrl.[Ch]: Renamed a few buttons, consistent
3069         with Allan's naming policy
3070         
3071         * src/frontends/xforms/FormCitation.C: some static casts to remove
3072         compiler warnings.
3073
3074 2000-10-02  Juergen Vigna  <jug@sad.it>
3075
3076         * src/insets/insettabular.C (LocalDispatch): fixed selection code,
3077         now you can type or do stuff inside the table-cell also when in dummy
3078         position, fixed visible cursor.
3079
3080         * src/insets/insettext.C (Edit): fixing cursor-view position.
3081
3082         * src/lyxfunc.C (Dispatch): use * text variable so that it can
3083         be used for equal functions in lyxfunc and insettext.
3084
3085         * src/text.C (GetVisibleRow): fixed a small clear_area bug.
3086
3087 2000-10-02  John Levon  <moz@compsoc.man.ac.uk>
3088
3089         * src/frontends/gnome/FormCitation.h:
3090         * src/frontends/gnome/FormCopyright.h:
3091         * src/frontends/gnome/FormIndex.h:
3092         * src/frontends/gnome/FormPrint.h:
3093         * src/frontends/gnome/FormToc.h:
3094         * src/frontends/gnome/FormUrl.h:
3095         * src/frontends/kde/FormCitation.h:
3096         * src/frontends/kde/FormCopyright.h:
3097         * src/frontends/kde/FormIndex.h:
3098         * src/frontends/kde/FormRef.h:
3099         * src/frontends/kde/FormToc.h:
3100         * src/frontends/kde/FormUrl.h: fix remaining users of
3101         support/utility.hpp 
3102
3103 2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3104
3105         * src/buffer.C (linuxDocHandleFootnote): remove const modifier
3106         from depth argument.
3107         (DocBookHandleCaption): ditto.
3108         (DocBookHandleFootnote): ditto.
3109         (SimpleDocBookOnePar): ditto.
3110
3111         * src/frontends/xforms/FormDocument.h (form): remove extra
3112         FormDocument:: qualifier.
3113
3114         * sigc++/macros/basic_signal.h.m4: remove erroneous virtual
3115         destructor. 
3116         * sigc++/handle.h: ditto.
3117
3118         * src/lyx_gui_misc.C: add "using" directive.
3119
3120         * src/cheaders/cstddef: new file, needed by the boost library (for
3121         compaq cxx).
3122
3123 2000-10-02  Juergen Vigna  <jug@sad.it>
3124
3125         * src/insets/insettext.C (SetFont): better support.
3126
3127         * src/insets/insettabular.C (draw): fixed drawing of single cell.
3128
3129         * src/screen.C (DrawOneRow): some uint refixes!
3130
3131 2000-10-02  Allan Rae  <rae@lyx.org>
3132
3133         * boost/.cvsignore: ignore Makefile as well
3134
3135         * src/lyxfunc.C (Dispatch): missing break; and moved the '}' for
3136         LFUN_UNKNOWN_ACTION: so it doesn't wrap around default:.
3137
3138         * src/frontends/xforms/FormPreferences.[Ch] (restore): D'oh.
3139         Left this one out by accident.
3140
3141         * src/frontends/xforms/FormBase.h (restore): default to calling
3142         update() since that will restore the original/currently-applied values.
3143         Any input() triggered error messages will require the derived classes
3144         to redefine restore().
3145
3146         * src/frontends/xforms/FormDocument.C: initialize a few variables to
3147         avoid a segfault.  combo_doc_class is the main concern.
3148
3149 2000-10-01  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
3150
3151         * Simplify build-listerrors in view of GUI-less export ability!
3152
3153 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
3154
3155         * src/lyx_main.C (easyParse): Disable gui when exporting
3156
3157         * src/insets/figinset.C: 
3158         * src/LaTeX.C
3159         * src/converter.C
3160         * src/lyx_gui_misc.C
3161         * src/tabular.C: Changes to allow no-gui.
3162
3163 2000-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3164
3165         * src/support/utility.hpp: removed file
3166         * src/support/block.h: removed file
3167
3168         * src/support/Makefile.am (libsupport_la_SOURCES): remove block.h
3169         and utility.hpp
3170
3171         * src/mathed/formula.C: add support/lyxlib.h
3172         * src/mathed/formulamacro.C: ditto
3173
3174         * src/bufferparams.h: use boost/array.hpp instead of support/block.h
3175         * src/lyxparagraph.h: ditto
3176
3177         * src/Makefile.am (BOOST_INCLUDES): the boost include dir
3178         * src/frontends/Makefile.am (INCLUDES): ditto
3179         * src/frontends/gnome/Makefile.am (BOOST_INCLUDES): ditto
3180         * src/frontends/kde/Makefile.am (BOOST_INCLUDES): ditto
3181         * src/frontends/xforms/Makefile.am (BOOST_INCLUDES): ditto
3182         * src/graphics/Makefile.am (BOOST_INCLUDES): ditto
3183         * src/insets/Makefile.am (BOOST_INCLUDES): ditto
3184         * src/mathed/Makefile.am (BOOST_INCLUDES): ditto
3185
3186         * src/BufferView.h: use boost/utility.hpp
3187         * src/LColor.h: ditto
3188         * src/LaTeX.h: ditto
3189         * src/LyXAction.h: ditto
3190         * src/LyXView.h: ditto
3191         * src/bufferlist.h: ditto
3192         * src/lastfiles.h: ditto
3193         * src/layout.h: ditto
3194         * src/lyx_gui.h: ditto
3195         * src/lyx_main.h: ditto
3196         * src/lyxlex.h: ditto
3197         * src/lyxrc.h: ditto
3198         * src/frontends/ButtonPolicies.h: ditto
3199         * src/frontends/Dialogs.h: ditto
3200         * src/frontends/xforms/FormBase.h: ditto
3201         * src/frontends/xforms/FormGraphics.h: ditto
3202         * src/frontends/xforms/FormParagraph.h: ditto
3203         * src/frontends/xforms/FormTabular.h: ditto
3204         * src/graphics/GraphicsCache.h: ditto
3205         * src/graphics/Renderer.h: ditto
3206         * src/insets/ExternalTemplate.h: ditto
3207         * src/insets/insetcommand.h: ditto
3208         * src/support/path.h: ditto
3209
3210         * config/lyxinclude.m4 (LYX_PROG_CXX): change clause for 2.96
3211         and introduce clause for 2.97.
3212
3213         * boost/libs/README: new file
3214
3215         * boost/boost/utility.hpp: new file
3216
3217         * boost/boost/config.hpp: new file
3218
3219         * boost/boost/array.hpp: new file
3220
3221         * boost/Makefile.am: new file
3222
3223         * boost/.cvsignore: new file
3224
3225         * configure.in (AC_OUTPUT): add boost/Makefile
3226
3227         * Makefile.am (SUBDIRS): add boost
3228
3229 2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
3230
3231         * src/support/lstrings.C (suffixIs): Fixed.
3232
3233 2000-10-01  Allan Rae  <rae@lyx.org>
3234
3235         * src/PrinterParams.h: moved things around to avoid the "can't
3236         inline call" warning.
3237
3238         * src/frontends/xforms/RadioButtonGroup.h: turned a comment
3239         into doc++ documentation.
3240
3241         * src/frontends/xforms/FormCommand.[Ch]: support button policy
3242
3243         * src/frontends/xforms/FormRef.C: make use of button controller
3244         * src/frontends/xforms/FormDocument.[Ch]: convert to use FormBase
3245         cleaned up button controller usage.
3246         * src/frontends/xforms/FormPreferences.[Ch]: convert to use FormBase
3247         * src/frontends/xforms/FormPrint.[Ch]: convert to use FormBase and
3248         use the button controller
3249
3250         * src/frontends/xforms/forms/*.fd: and associated generated files
3251         updated to reflect changes to FormBase.  Some other FormXxxx files
3252         also got minor updates to reflect changes to FormBase.
3253
3254         * src/frontends/xforms/FormBase.[Ch]: (ok, cancel): new
3255         (hide): made virtual.
3256         (input): return a bool. true == valid input
3257         (RestoreCB, restore): new
3258         (CancelCB, OKCB): renamed from HideCB and ApplyHideCB.
3259         Changes to allow derived dialogs to use a ButtonController and
3260         make sense when doing so: OK button calls ok() and so on.
3261
3262         * src/frontends/xforms/ButtonController.h (class ButtonController):
3263         Switch from template implementation to taking Policy parameter.
3264         Allows FormBase to provide a ButtonController for any dialog.
3265
3266         * src/frontends/xforms/FormPrint.C (connect): setup sizing at show-time
3267         Probably should rename connect and disconnect.
3268         (apply): use the radio button groups
3269         (form): needed by FormBase
3270         (build): setup the radio button groups
3271
3272 2000-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
3273
3274         * several files: type changes to reduce the number of warnings and
3275         to unify type hangling a bit. Still much to do. 
3276
3277 2000-09-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3278
3279         * lib/images/*: rename a bunch of icons to match Dekel converter
3280         changes. 
3281
3282         * src/buffer.h (SimpleLinuxDocOnePar): remove const qualifier to
3283         last parameter.
3284
3285         * src/frontends/xforms/FormBase.C (disconnect): remove bogus test. 
3286
3287         * sigc++/macros/basic_signal.h.m4: fix class Signal_ to have a
3288         virtual destructor
3289         * sigc++/handle.h: ditto for class Handle. 
3290
3291 2000-09-27  John Levon  <moz@compsoc.man.ac.uk>
3292
3293         * config/kde.m4: make Qt fail immediately if Qt2 is picked up
3294
3295 2000-09-28  Dekel Tsur  <dekelts@tau.ac.il>
3296
3297         * src/intl.C (InitKeyMapper): Correct the value of n due to the
3298         removal of the "default" language.
3299
3300         * src/combox.h (getline): Check that sel > 0
3301
3302 2000-09-29  José Abílio Matos <jamatos@fep.up.pt>
3303
3304         * lib/examples/docbook_example.lyx
3305         * lib/examples/docbook_article.lyx: file renamed to avoid confusion.
3306
3307         * lib/layouts/docbook-book.layout: new docbook book layout.
3308
3309         * lib/layouts/linuxdoc.layout: LatexName of Style SGML is now dummy.
3310         
3311         * lib/layouts/manpage.layout: Same as above. Style SubSection removed.
3312
3313         * src/insets/figinset.C (DocBook):fixed small typo.
3314
3315         * src/insets/insetinclude.C (DocBook): new export for verbatim type.
3316
3317         * src/insets/insetinclude.h: string include_label doesn't need to be
3318         mutable.
3319         
3320 2000-09-29  Allan Rae  <rae@lyx.org>
3321
3322         * src/frontends/xforms/FormBase.[Ch] (connect, disconnect): new.
3323         Allow derived type to control connection and disconnection from signals
3324         of its choice if desired.
3325
3326 2000-09-28  Juergen Vigna  <jug@sad.it>
3327
3328         * src/insets/insettabular.C (update): fixed cursor setting when
3329         the_locking_inset changed.
3330         (draw): made this a bit cleaner.
3331         (InsetButtonPress): fixed!
3332
3333         * various files: added LyXText Parameter to fitCursor call.
3334         
3335         * src/BufferView.C (fitCursor): added LyXText parameter.
3336
3337         * src/insets/insettabular.C (draw): small draw fix.
3338
3339         * src/tabular.C: right setting of left/right celllines.
3340
3341         * src/tabular.[Ch]: fixed various types in funcions and structures. 
3342         * src/insets/insettabular.C: ditto
3343         * src/frontends/xforms/FormTabular.C: ditto
3344
3345 2000-09-28  Allan Rae  <rae@lyx.org>
3346
3347         * src/paragraph.C (TeXOnePar): fixed output of '\n'.  The problem was
3348         that the #ifdef's had been applied to part of what should have been
3349         a complete condition.  It's possible there are other tests that
3350         were specific to tables that are also wrong now that InsetTabular is
3351         being used. Now we need to fix the output of '\n' after a table in a
3352         float for the same reason as the original condition:
3353         "don't insert this if we would be adding it before or after a table
3354         in a float.  This little trick is needed in order to allow use of
3355         tables in \subfigures or \subtables."
3356         Juergen can you check this?
3357
3358 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
3359
3360         * src/insets/insettext.C (Ascii): return numer of '\n' in the text
3361         output to the ostream.
3362
3363         * several files: fixed types based on warnings from cxx 
3364
3365 2000-09-26  John Levon  <moz@compsoc.man.ac.uk>
3366
3367         * src/frontends/kde/Makefile.am: fix rule for
3368         formindexdialogdata_moc.C
3369
3370         * src/.cvsignore: add ext_l10n.h to ignore
3371
3372         * acconfig.h: stop messing with __STRICT_ANSI__ 
3373         * config/gnome.m4: remove option to set -ansi
3374         * config/kde.m4: remove option to set -ansi
3375         * config/lyxinclude.m4: don't set -ansi 
3376
3377 2000-09-27  Juergen Vigna  <jug@sad.it>
3378
3379         * various files: remove "default" language check.
3380         
3381         * src/insets/insetquotes.C: removed use of current_view.
3382
3383         * src/lyxfunc.C (MenuNew): I don't know how put the AddPath here but
3384         the one should have red ears by now!
3385
3386         * src/insets/insettext.C (LocalDispatch): fixed setting of same layouts
3387         in more then one paragraph. Fixed cursor-movement/selection.
3388
3389         * src/frontends/xforms/FormParagraph.C: disable pagebreaks for
3390         paragraphs inside a text inset.
3391
3392         * src/text.C (GetVisibleRow): paint top/bottom line only as wide as the
3393         text-inset if this owner is an inset.
3394
3395 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
3396
3397         * src/Bullet.h: changed type of font, character and size to int
3398
3399         * src/buffer.C (asciiParagraph): remove actcell and fname1.
3400
3401         * src/insets/inseturl.[Ch]: 
3402         * src/insets/insetref.[Ch]:
3403         * src/insets/insetlabel.[Ch]: add linelen to Ascii
3404
3405 2000-09-26  Angus Leeming <a.leeming@ic.ac.uk>
3406
3407         * src/buffer.C (readFile): block-if statement rearranged to minimise
3408         bloat. Patch does not reverse Jean-Marc's change ;-)
3409
3410         * src/frontends/xforms/FormBase.[Ch]: Renamed some of the callbacks.
3411         Class rewritten to store pointers to hide/update signals directly,
3412         rather than Dialogs *. Also defined an enum to ease use. All xforms
3413         forms can now be derived from this class.
3414
3415         * src/frontends/xforms/FormCommand.[Ch]
3416         * src/frontends/xforms/FormCopyright.[Ch]: now derived from FormBase.
3417
3418         * src/frontends/xforms/FormError.[Ch]: moved inclusion of inseterror.h
3419         out of header file.
3420
3421         * src/frontends/xforms/forms/form_citation.fd
3422         * src/frontends/xforms/forms/form_copyright.fd
3423         * src/frontends/xforms/forms/form_error.fd
3424         * src/frontends/xforms/forms/form_index.fd
3425         * src/frontends/xforms/forms/form_ref.fd
3426         * src/frontends/xforms/forms/form_toc.fd
3427         * src/frontends/xforms/forms/form_url.fd: remamed callbacks
3428
3429         * src/frontends/xforms/forms/makefile: small change to work with DEC sh.
3430
3431         * src/insets/insetfoot.C: removed redundent using directive.
3432
3433 2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3434
3435         * lib/layouts/siamltex.layout: new textclass for SIAM journals,
3436         from Kornelia Pietsch <pietsch@mathematik.tu-chemnitz.de>
3437
3438         * src/frontends/xforms/Menubar_pimpl.C: menu buttons are now
3439         created in the constructors in different groups. Then set() just
3440         have to show the groups as needed. This fixes the redraw problems
3441         (and is how the old menu code worked).
3442
3443         * src/support/lyxlib.h: declare the methods as static when we do
3444         not have namespaces.
3445
3446 2000-09-26  Juergen Vigna  <jug@sad.it>
3447
3448         * src/buffer.C (asciiParagraph): new function.
3449         (writeFileAscii): new function with parameter ostream.
3450         (writeFileAscii): use now asciiParagraph.
3451
3452         * various inset files: added the linelen parameter to the Ascii-func.
3453         
3454         * src/tabular.C (Write): fixed error in writing file introduced by
3455         the last changes from Lars.
3456
3457         * lib/bind/menus.bind: removed not supported functions.
3458
3459         * src/insets/insettext.C (Ascii): implemented this function.
3460
3461         * src/insets/lyxinset.h (Ascii): added linelen parameter.
3462
3463         * src/tabular.C (write_attribute[int,string,bool]): new functions.
3464         (Write): use of the write_attribute functions.
3465
3466         * src/bufferlist.C (close): fixed reasking question!
3467
3468 2000-09-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
3469
3470         * src/support/unlink.C src/support/remove.C src/support/mkdir.C:
3471         new files use the everwhere possible.
3472         
3473         * several files: 
3474         * src/form1.C src/form1.h src/layout_forms.C src/layout_forms.h
3475         src/log_form.C src/lyx.C:
3476         regenerated
3477         
3478         * src/buffer.C (runLaTeX): remove func
3479         
3480         * src/PaperLayout.C: removed file
3481         * src/ParagraphExtra.C: likewise
3482         * src/bullet_forms.C: likewise
3483         * src/bullet_forms.h: likewise
3484         * src/bullet_forms_cb.C: likewise
3485         
3486         * src/Makefile.am (lyx_SOURCES): remove PaperLayout.C,
3487         ParagraphExtra.C, bullet_forms.C, bullet_forms.h and
3488         bullet_forms_cb.C 
3489
3490         * several files: remove all traces of the old fd_form_paragraph,
3491         and functions belonging to that.
3492         
3493         * several files: remove all traces of the old fd_form_document,
3494         and functions belonging to that.
3495         
3496         * several files: constify local variables were possible.
3497         
3498         * several files: remove all code that was dead when NEW_EXPORT was
3499         defined 
3500         
3501         * several files: removed string::c_str in as many places as
3502         possible.
3503         
3504         * forms/makefile (SRCS,OBJS,COBJS): removed bullet_forms.[fd,c,C]
3505         (e): be a bit more outspoken when patching
3506         (updatesrc): only move files if changed.
3507
3508         * forms/layout_forms.h.patch: regenerated
3509         
3510         * forms/layout_forms.fd: remove form_document and form_paragraph
3511         and form_quotes and form_paper and form_table_options and
3512         form_paragraph_extra 
3513
3514         * forms/form1.fd: remove form_table
3515
3516         * forms/fdfix.sh: remove sed rules for fl_set_object_lcolor and
3517         the fdui->... rewrite. Update some comments to xforms 0.88
3518
3519         * forms/bullet_forms.C.patch: removed file
3520         * forms/bullet_forms.fd: likewise
3521         * forms/bullet_forms.h.patch: likewise
3522         
3523         * development/Code_rules/Rules: added a section on switch
3524         statements. Updated some comment to xforms 0.88.
3525
3526 2000-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3527
3528         * src/buffer.C (readFile): make sure that the whole version number
3529         is read after \lyxformat (even when it contains a comma)
3530
3531         * lib/ui/default.ui: change shortcut of math menu to M-a.
3532
3533 2000-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3534
3535         * src/vspace.C (nextToken): use isStrDbl() to check for proper
3536         double values.
3537
3538         * src/LyXView.C (updateWindowTitle): show the full files name in
3539         window title, limited to 30 characters.
3540
3541         * src/support/lyxstring.C (lyxstring): fix it correctly this time.
3542         When a number of characters has been given, we should not assume
3543         that the string is 0-terminated.
3544
3545         * src/intl.C (InitKeyMapper): remove a bunch of string::c_str()
3546         calls (fixes some memory leaks)
3547         
3548         * src/intl.[Ch]: add a destructor for Intl, in order to delete the
3549         trans member on exit.
3550
3551 2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3552
3553         * src/converter.C (GetReachable): fix typo.
3554
3555         * src/lyxlex.C (GetFloat): rewrite to use strToDbl() and
3556         understand ',' instead of '.'.
3557         (GetInteger): rewrite to use strToInt().
3558
3559 2000-09-26  Juergen Vigna  <jug@sad.it>
3560
3561         * src/frontends/xforms/FormParagraph.C: fixed de/activation of fields,
3562         better visibility and error-message on wrong VSpace input.
3563
3564         * src/language.C (initL): added english again.
3565
3566 2000-09-25  Juergen Vigna  <jug@sad.it>
3567
3568         * src/frontends/kde/Dialogs.C (Dialogs): 
3569         * src/frontends/gnome/Dialogs.C (Dialogs): 
3570         * src/frontends/kde/Makefile.am: 
3571         * src/frontends/gnome/Makefile.am: added FormParagraph from xforms.
3572
3573         * src/frontends/xforms/forms/makefile: added form_paragraph.fd.
3574
3575         * src/frontends/xforms/Dialogs.C (Dialogs): added FormParagraph.
3576
3577         * src/frontends/xforms/Makefile.am: added files for FormParagraph.
3578
3579         * src/frontends/xforms/FormParagraph.C: 
3580         * src/frontends/xforms/FormParagraph.h:
3581         * src/frontends/xforms/form_paragraph.C:
3582         * src/frontends/xforms/form_paragraph.h:
3583         * src/frontends/xforms/forms/form_paragraph.fd: new files for the new
3584         paragraph layout.
3585
3586         * src/lyxfunc.C (Dispatch): call the new layout paragraph.
3587
3588         * src/tabular.C (OldFormatRead): forgot to delete the temporary
3589         Paragraph-Data after use.
3590
3591         * src/insets/insettext.C (LocalDispatch): don't set the layout on
3592         non breakable paragraphs.
3593
3594 2000-09-25  Garst R. Reese <reese@isn.net>
3595
3596         * src/language.C (initL): added missing language_country codes.
3597
3598 2000-09-25  Juergen Vigna  <jug@sad.it>
3599
3600         * src/insets/insettext.C (InsetText):
3601         (deleteLyXText): remove the not released LyXText structure!
3602
3603 2000-09-24  Marko Vendelin <markov@ioc.ee>
3604
3605         * src/frontends/gnome/mainapp.C
3606         * src/frontends/gnome/mainapp.h: added support for keyboard 
3607         accelerators
3608
3609         * src/frontends/gnome/FormCitation.C
3610         * src/frontends/gnome/FormCitation.h
3611         * src/frontends/gnome/Makefile.am
3612         * src/frontends/gnome/pixbutton.h: completed the rewrite of 
3613         FormCitation to use "action area" in mainapp window
3614
3615         * src/frontends/gnome/Menubar_pimpl.C   
3616         * src/frontends/gnome/Menubar_pimpl.h: Gnome menu can handle
3617         large TOC.
3618
3619 2000-09-23  Dekel Tsur  <dekel@math.tau.ac.il>
3620
3621         * src/mathed/formula.C (MathFuncInset::Metrics): Use default 
3622         width/descent/ascent values if name is empty.
3623         (mathed_string_height): Use std::max.
3624
3625 2000-09-25  Allan Rae  <rae@lyx.org>
3626
3627         * src/frontends/xforms/forms/form_preferences.fd: resize to stop
3628         segfault.  This will be completely redesigned soon.
3629
3630         * sigc++: updated libsigc++.  Fixes struct timespec bug.
3631
3632         * development/tools/makeLyXsigc.sh:  .cvsignore addition
3633
3634 2000-09-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
3635
3636         * several files: removed almost all traces of the old table
3637         (tabular) code.
3638
3639         * src/TableLayout.C: removed file
3640         
3641 2000-09-22  Juergen Vigna  <jug@sad.it>
3642
3643         * src/frontends/kde/Dialogs.C: added credits forms.
3644
3645         * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added forms.
3646
3647         * src/frontends/gnome/Dialogs.C: added some forms.
3648
3649         * src/spellchecker.C (init_spell_checker): set language in pspell code
3650         (RunSpellChecker): some modifications for setting language string.
3651
3652         * src/language.[Ch]: added language_country code.
3653
3654 2000-09-21  Angus Leeming <a.leeming@ic.ac.uk>
3655
3656         * src/frontends/Dialogs.h: added new signal showError.
3657         Rearranged existing signals in some sort of alphabetical order.
3658
3659         * src/frontends/xforms/Makefile.am: added new files, FormBase.[Ch],
3660         FormError.[Ch], form_error.[Ch]
3661         * src/frontends/xforms/forms/makefile: added new file form_error.fd
3662         * src/frontends/xforms/Dialogs.C: added new xforms dialog FormError.
3663
3664         * src/frontends/xforms/FormBase.[Ch]: new base class for xforms
3665         dialogs. I think that this can be used as the base to all these
3666         dialogs.
3667
3668         * src/frontends/xforms/FormError.[Ch]
3669         * src/frontends/xforms/forms/form_error.fd: new files. Xforms
3670         implementation of InsetError dialog.
3671         
3672         * src/insets/inseterror.[Ch]: rendered GUI-independent.
3673
3674         * src/frontends/kde/Dialogs.C: added new xforms dialog FormError.
3675         * src/frontends/kde/Makefile.am: ditto
3676
3677 2000-09-21  Dekel Tsur  <dekel@math.tau.ac.il>
3678
3679         * src/mathed/math_cursor.[Ch]: Removed class members macroln and
3680         macrobf. This fixes a bug of invisible text.
3681
3682 2000-09-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3683
3684         * lib/doc/LaTeXConfig.lyx.in: updated.
3685
3686         * src/language.C (initL): remove language "francais" and change a
3687         bit the names of the two other french variations.
3688
3689         * src/support/lyxstring.C (lyxstring): do not apply strlen() on a
3690         string that may not be 0-terminated.
3691
3692 2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
3693
3694         * src/Makefile.am (lyx_SOURCES): remove table.C and Table.h
3695
3696 2000-09-20  Marko Vendelin <markov@ioc.ee>
3697
3698         * src/frontends/gnome/FormCitation.C
3699         * src/frontends/gnome/FormIndex.C
3700         * src/frontends/gnome/FormToc.C
3701         * src/frontends/gnome/FormUrl.C: cleanup the loops, reordering
3702         the variable initialization to shut up the warnings
3703
3704 2000-09-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
3705
3706         * src/table.[Ch]: deleted files
3707         
3708         * src/lyxfunc.C (Dispatch): Don't pass 0 as argument to Dispatch
3709         second arg.
3710
3711 2000-09-18  Juergen Vigna  <jug@sad.it>
3712
3713         * src/insets/insettext.C (LocalDispatch): fixed Backspace/Delete
3714         problems with selection. Inserted new LFUN_PASTESELECTION.
3715         (InsetButtonPress): inserted handling of middle mouse-button paste.
3716
3717         * src/spellchecker.C: changed word to word.c_str().
3718
3719 2000-09-16  Kayvan A. Sylvan  <kayvan@sylvan.com>
3720
3721         * src/Makefile.am: Add sources to lyx_SOURCES so they will be
3722           included in the ``make dist'' tarball.
3723
3724 2000-09-15  Juergen Vigna  <jug@sad.it>
3725
3726         * src/CutAndPaste.C (cutSelection): small fix return the right
3727         end position after cut inside one paragraph only.
3728
3729         * src/insets/insettext.C (resizeLyXText): only reset the cursor if
3730         we are locked as otherwise we don't have a valid cursor position!
3731
3732         * src/insets/figinset.C (draw): small bugfix but why is this needed???
3733
3734 2000-09-19  Angus Leeming <a.leeming@ic.ac.uk>
3735
3736         * src/frontends/kde/FormRef.C: added using directive.
3737         * src/frontends/kde/FormToc.C: ditto
3738
3739         * src/frontends/kde/formtocdialog.h: changed endl to std::endl.
3740
3741         * src/frontends/kde/FormRef.h: removed trailing comma from enums.
3742
3743 2000-09-19  Marko Vendelin <markov@ioc.ee>
3744         
3745         * src/frontends/gnome/Menubar_pimpl.C
3746         * src/frontends/gnome/Menubar_pimpl.h: Gnome menus show now
3747         Toc, ViewFormats, UpdateFormats, and ExportFormats.
3748
3749         * src/frontends/gnome/mainapp.C
3750         * src/frontends/gnome/mainapp.h: support for menu update used 
3751         by Toc menu.
3752
3753         * src/frontends/gnome/mainapp.C
3754         * src/frontends/gnome/mainapp.h: support for "action" area in the
3755         main window. This area is used by small simple dialogs, such as
3756         FormUrl.
3757
3758         * src/frontends/gnome/FormIndex.C
3759         * src/frontends/gnome/FormIndex.h
3760         * src/frontends/gnome/FormUrl.C
3761         * src/frontends/gnome/FormUrl.h: rewrite to use main window action
3762         area
3763
3764         * src/frontends/gnome/FormCitation.C
3765         * src/frontends/gnome/FormCitation.h: rewrite to use main window
3766         action area. Only "Insert new citation" is implemented.
3767
3768 2000-09-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
3769
3770         * src/buffer.C (Dispatch): fix call to Dispatch
3771         * src/insets/insetref.C (Edit): likewise
3772         * src/insets/insetparent.C (Edit): likewise
3773         * src/insets/insetinclude.C (include_cb): likewise
3774         * src/frontends/xforms/FormUrl.C (apply): likewise
3775         * src/frontends/xforms/FormToc.C (apply): likewise
3776         * src/frontends/xforms/FormRef.C (apply): likewise
3777         * src/frontends/xforms/FormIndex.C (apply): likewise
3778         * src/frontends/xforms/FormCitation.C (apply): likewise
3779         * src/lyxserver.C (callback): likewise
3780         * src/lyxfunc.C (processKeySym): likewise
3781         (Dispatch): likewise
3782         (Dispatch): likewise
3783         * src/lyx_cb.C (LayoutsCB): likewise
3784
3785         * Makefile.am (sourcedoc): small change
3786
3787 2000-09-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
3788
3789         * src/main.C (main): Don't make an empty GUIRunTime object. all
3790         methods are static. constify a bit remove unneded using + headers.
3791
3792         * src/tabular.C: some more const to local vars move some loop vars
3793         
3794         * src/spellchecker.C: added some c_str after some word for pspell
3795
3796         * src/frontends/GUIRunTime.h: add new static method setDefaults
3797         * src/frontends/xforms/GUIRunTime.C (setDefaults): 
3798         * src/frontends/kde/GUIRunTime.C (setDefaults): 
3799         * src/frontends/gnome/GUIRunTime.C (setDefaults): new method
3800
3801         * src/mathed/math_cursor.C (MacroModeClose): don't call SetName
3802         with strnew in arg, use correct emptystring when calling SetName.
3803
3804         * several files: remove all commented code with relation to
3805         HAVE_SSTREAM beeing false. We now only support stringstream and
3806         not strstream. 
3807
3808 2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3809
3810         * src/lyxfunc.C: construct correctly the automatic new file
3811         names. 
3812
3813         * src/text2.C (IsStringInText): change type of variable i to shut
3814         off a warning.
3815
3816         * src/support/sstream.h: do not use namespaces if the compiler
3817         does not support them.
3818
3819 2000-09-15  Marko Vendelin <markov@ioc.ee>
3820         * src/frontends/gnome/FormCitation.C
3821         * src/frontends/gnome/FormCitation.h
3822         * src/frontends/gnome/diainsertcitation_interface.c
3823         * src/frontends/gnome/dialogs/diainsertcitation.glade: adds
3824         regexp support to FormCitation [Gnome].
3825
3826 2000-09-15  John Levon  <moz@compsoc.man.ac.uk>
3827
3828         * acconfig.h
3829         * configure.in: remove unused KDE/GTKGUI define
3830
3831         * src/frontends/kde/FormRef.C
3832         * src/frontends/kde/FormRef.h
3833         * src/frontends/kde/formrefdialog.C
3834         * src/frontends/kde/formrefdialog.h: double click will
3835         go to reference, now it is possible to change a cross-ref
3836         after the fact
3837
3838         * src/frontends/kde/FormToc.C
3839         * src/frontends/kde/FormToc.h
3840         * src/frontends/kde/formtocdialog.C
3841         * src/frontends/kde/formtocdialog.h: add a depth
3842         slider
3843
3844         * src/frontends/kde/Makefile.am: add QtLyXView.h
3845         to the sources list
3846
3847 2000-09-15  Angus Leeming  <a.leeming@ic.ac.uk>
3848
3849         * src/frontends/kde/FormCitation.h: added some using directives.
3850
3851         * src/frontends/kde/FormToc.h: corrected definition of doTree.
3852
3853         * src/frontends/kde/GUIRunTime.C (initApplication): use lyxerr not
3854         cerr. 
3855
3856         * src/mathed/math_defs.h: redefine SetAlign to use string rather
3857         than char *.
3858         
3859 2000-09-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3860
3861         * src/buffer.C (pop_tag): revert for the second time a change by
3862         Lars, who seems to really hate having non-local loop variables :)
3863
3864         * src/Lsstream.h: add "using" statements.
3865
3866         * src/support/copy.C (copy): add a bunch of std:: qualifiers
3867         * src/buffer.C (writeFile): ditto
3868
3869 2000-09-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3870
3871         * src/buffer.C (writeFile): try to fix the locale modified format
3872         number to always be as we want it.
3873
3874         * src/WorkArea.C (work_area_handler): try to workaround the bugs
3875         in XForms 0.89. C-space is now working again.
3876
3877         * src/Lsstream.h src/support/sstream.h: new files.
3878
3879         * also commented out all cases where strstream were used.
3880         
3881         * src/Bullet.h (c_str): remove method.
3882         
3883         * remove all stuff that is irrelevant when NEW_MENUBAR is defined
3884         
3885         * a lot of files: get rid of "char const *" and "char *" is as
3886         many places as possible. We only want to use them in interaction
3887         with system of other libraries, not inside lyx.
3888         
3889         * a lot of files: return const object is not of pod type. This
3890         helps ensure that temporary objects is not modified. And fits well
3891         with "programming by contract".
3892
3893         * configure.in: check for the locale header too 
3894
3895         * Makefile.am (sourcedoc): new tag for generation of doc++
3896         documentation 
3897
3898 2000-09-14  Juergen Vigna  <jug@sad.it>
3899
3900         * src/frontends/xforms/FormDocument.C (ComboInputCB): fixed the
3901         callback to check which combo called it and do the right action.
3902
3903         * src/combox.C (combo_cb): added combo * to the callbacks.
3904         (Hide): moved call of callback after Ungrab of the pointer.
3905
3906         * src/intl.h: removed LCombo2 function.
3907
3908         * src/intl.C (LCombo): added Combox * to call and removed LCombo2
3909         function as this can now be handled in one function.
3910
3911         * src/combox.h: added Combox * to callback prototype.
3912
3913         * src/frontends/xforms/Toolbar_pimpl.C: 
3914         * src/lyx_cb.C (LayoutsCB): added Combox * to function call.
3915
3916 2000-09-14  Garst Reese  <reese@isn.net>
3917
3918         * lib/tex/hollywood.cls changed length of parenthicals to 1.5in
3919         moved usepackage{xxx}'s to beginning of file. Changed left margin
3920         to 1.5in, right margin to 1in. Forced headrulewidth to 0, removed
3921         underlining from title. Thanks to John Culleton for useful suggestions.
3922
3923 2000-09-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3924
3925         * src/lyxlex_pimpl.C (setFile): change error message to debug
3926         message. 
3927
3928 2000-09-13  Juergen Vigna  <jug@sad.it>
3929
3930         * src/frontends/xforms/FormDocument.C: implemented choice_class
3931         as combox and give callback to combo_language so OK/Apply is activated
3932         on change.
3933
3934         * src/bufferlist.C (newFile): small fix so already named files
3935         (via an open call) are not requested to be named again on the
3936         first save!
3937
3938 2000-09-13  John Levon  <moz@compsoc.man.ac.uk>
3939
3940         * src/frontends/kde/Makefile.am
3941         * src/frontends/kde/FormRef.C
3942         * src/frontends/kde/FormRef.h
3943         * src/frontends/kde/formrefdialog.C
3944         * src/frontends/kde/formrefdialog.h: implement
3945         cross-ref dialog
3946
3947 2000-09-13  John Levon  <moz@compsoc.man.ac.uk>
3948
3949         * src/frontends/kde/formtocdialog.C
3950         * src/frontends/kde/formtocdialog.h
3951         * src/frontends/kde/FormToc.C
3952         * src/frontends/kde/FormToc.h: change to make TOC hierarchical properly
3953
3954 2000-09-11  John Levon  <moz@compsoc.man.ac.uk>
3955
3956         * src/frontends/kde/FormCitation.C: fix thinko
3957         where we didn't always display the reference text
3958         properly
3959
3960         * src/frontends/kde/formurldialog.C
3961         * src/frontends/kde/formurldialog.h
3962         * src/frontends/kde/FormUrl.C
3963         * src/frontends/kde/FormUrl.h: minor cleanups
3964
3965         * src/frontends/kde/QtLyXView: wrapper to avoid Qt namespace mangling
3966
3967         * src/frontends/kde/Makefile.am
3968         * src/frontends/kde/FormToc.C
3969         * src/frontends/kde/FormToc.h
3970         * src/frontends/kde/FormCitation.C
3971         * src/frontends/kde/FormCitation.h
3972         * src/frontends/kde/FormIndex.C
3973         * src/frontends/kde/FormIndex.h
3974         * src/frontends/kde/formtocdialog.C
3975         * src/frontends/kde/formtocdialog.h
3976         * src/frontends/kde/formcitationdialog.C
3977         * src/frontends/kde/formcitationdialog.h
3978         * src/frontends/kde/formindexdialog.C
3979         * src/frontends/kde/formindexdialog.h: new Toc,Citation,Index dialogs
3980
3981 2000-09-12  Juergen Vigna  <jug@sad.it>
3982
3983         * src/frontends/gnome/GUIRunTime.C (initApplication): make id + version
3984         static strings.
3985
3986 2000-09-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3987
3988         * src/frontends/xforms/GUIRunTime.C (initApplication): use lyxerr,
3989         not cerr.
3990
3991 2000-09-09  Dekel Tsur  <dekel@math.tau.ac.il>
3992
3993         * src/converter.C (Add, Convert): Added support for converter flags:
3994         needaux, resultdir, resultfile.
3995         (Convert): Added new parameter view_file.
3996         (dvips_options): Fixed letter paper option.
3997
3998         * src/exporter.C (Export, BufferExtension): Added support for Docbook.
3999         (Export, GetExportableFormats, GetViewableFormats): Added support
4000         for Ascii.
4001
4002         * src/lyx_main.C (LyX): Call to QuitLyX() to remove temporary
4003         directory!
4004         (easyParse): Fixed to work with new export code.
4005         
4006         * src/support/filetools.C (DeleteAllFilesInDir) Fixed to delete
4007         directories.
4008
4009         * lyx-devel-export/lib/configure.m4: Changed flags of tth.
4010
4011         * lib/bind/*.bind: Replaced
4012         buffer-view,buffer-view-ps,buffer-typeset,buffer-typeset-ps by
4013         buffer-view dvi,buffer-view ps,buffer-update dvi,buffer-update ps
4014
4015 2000-09-11  Juergen Vigna  <jug@sad.it>
4016
4017         * src/lyx_gui.C (runTime): uses global guiruntime variable.
4018
4019         * src/main.C (main): now GUII defines global guiruntime!
4020
4021         * src/frontends/gnome/GUIRunTime.C (initApplication): 
4022         * src/frontends/kde/GUIRunTime.C (initApplication): 
4023         * src/frontends/xforms/GUIRunTime.C (initApplication): 
4024         * src/frontends/GUIRunTime.h: added new function initApplication.
4025
4026         * src/spellchecker.C (sc_accept_word): change to add_to_session.
4027
4028         * src/vspace.C (nextToken): fixed error with number 0cm as unvalid.
4029
4030 2000-09-08  Juergen Vigna  <jug@sad.it>
4031
4032         * src/lyx_gui.C (create_forms): don't display the "default" entry as
4033         we have already "Reset".
4034
4035         * src/language.C (initL): inserted "default" language and made this
4036         THE default language (and not american!)
4037
4038         * src/paragraph.C: inserted handling of "default" language!
4039
4040         * src/lyxfont.C: ditto
4041
4042         * src/text.C: ditto
4043
4044         * src/paragraph.C: output the \\par only if we have a following
4045         paragraph otherwise it's not needed.
4046
4047 2000-09-05  Juergen Vigna  <jug@sad.it>
4048
4049         * config/pspell.m4: added entry to lyx-flags
4050
4051         * src/spellchecker.C: modified version from Kevin for using pspell
4052
4053 2000-09-01  Marko Vendelin <markov@ioc.ee>
4054         * src/frontends/gnome/Makefile.am
4055         * src/frontends/gnome/FormCitation.C
4056         * src/frontends/gnome/FormCitation.h
4057         * src/frontends/gnome/diainsertcitation_callbacks.c
4058         * src/frontends/gnome/diainsertcitation_callbacks.h
4059         * src/frontends/gnome/diainsertcitation_interface.c
4060         * src/frontends/gnome/diainsertcitation_interface.h
4061         * src/frontends/gnome/dialogs/diainsertcitation.glade: Insert Citation 
4062         dialog for Gnome frontend
4063
4064         * src/main.C: Gnome libraries require keeping application name
4065         and its version as strings
4066
4067         * src/frontends/gnome/mainapp.C: Change the name of the main window
4068         from GnomeLyX to PACKAGE
4069
4070 2000-09-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4071
4072         * src/frontends/Liason.C: add "using: declaration.
4073
4074 2000-08-31  Dekel Tsur  <dekel@math.tau.ac.il>
4075
4076         * src/mathed/math_macro.C (Metrics): Set the size of the template
4077
4078         * src/mathed/formulamacro.C (Latex): Fixed the returned value
4079
4080 2000-09-04  Dekel Tsur  <dekel@math.tau.ac.il>
4081
4082         * src/converter.C (add_options): New function.
4083         (SetViewer): Change $$FName into '$$FName'.
4084         (View): Add options when running xdvi
4085         (Add): Change $$FName into '$$FName'. Same for $$BaseName/$$OutName.
4086         (Convert): The 3rd parameter is now the desired filename. Converts
4087         calls to lyx::rename if necessary.
4088         Add options when running dvips.
4089         (dvi_papersize,dvips_options): New methods.
4090
4091         * src/exporter.C (Export): Use getLatexName() instead of fileName().
4092
4093         * src/frontends/Liason.C (printBuffer): Removed duplicate code by
4094         using a call to Converter::dvips_options.
4095         Fixed to work with nex export code.
4096
4097         * src/support/copy.C
4098         * src/support/rename.C: New files
4099
4100         * src/support/syscall.h
4101         * src/support/syscall.C: Added Starttype SystemDontWait.
4102
4103         * lib/ui/default.ui: Changed to work with new export code
4104
4105         * lib/configure.m4: Changed to work with new export code
4106
4107         * src/encoding.C: Changed latex name for iso8859_7 encoding.
4108
4109 2000-09-04  Angus Leeming  <a.leeming@ic.ac.uk> +
4110
4111         * src/frontends/xforms/Menubar_pimpl.C: added two using directives
4112         so that code compiles with DEC cxx.
4113         
4114         * src/frontends/xforms/FormCitation.C (setSize): code re-writtenn
4115         to work correctly! Also now supports the additional elements
4116         neeeded by natbib.
4117         
4118 2000-09-01  Allan Rae  <rae@lyx.org>
4119
4120         * src/frontends/ButtonPolicies.C: renamed all the references to
4121         PreferencesPolicy::{AllButtons,BOGUS} to be ButtonPolicy.
4122
4123         * src/frontends/ButtonPolicies.h: rename AllButtons to ALL_BUTTONS
4124         since it's a const not a type.
4125
4126         * src/frontends/xforms/ButtonController.h: cleanup before Lars does.
4127
4128 2000-08-31  Juergen Vigna  <jug@sad.it>
4129
4130         * src/insets/figinset.C: Various changes to look if the filename has
4131         an extension and if not add it for inline previewing.
4132
4133 2000-08-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
4134
4135         * src/frontends/ButtonPolicies.h: add a Button AllButtons.
4136         make buttonStatus and isReadOnly be const methods. (also reflect
4137         this in derived classes.)
4138
4139         * src/frontends/ButtonPolicies.C: remove sum_ and bogus_
4140         (nextState): change to be static inline, pass the StateMachine as
4141         a const reference
4142         (PreferencesPolicy): remove casts
4143         (OkCancelPolicy): remvoe casts
4144         (OkCancelReadOnlyPolicy): remove casts
4145         (NoRepeatedApplyReadOnlyPolicy): remove casts
4146         (OkApplyCancelReadOnlyPolicy): remove casts
4147         (OkApplyCancelPolicy): remove casts
4148         (NoRepeatedApplyPolicy): remove casts
4149
4150 2000-08-31  Angus Leeming  <a.leeming@ic.ac.uk>
4151
4152         * src/converter.C: added some using directives
4153
4154         * src/frontends/ButtonPolicies.C: changes to overcome
4155         "need lvalue" error with DEC c++
4156
4157         * src/frontends/xforms/FormDocument.C (c-tor): use C callback
4158         to WMHideCB for DEC c++
4159
4160         * src/frontends/xforms/Menubar_pimpl.C: added using directive
4161
4162         * src/frontends/xforms/forms/form_document.C.patch: use C callback
4163         to BulletBMTableCB for DEC c++
4164
4165 2000-08-31  Allan Rae  <rae@lyx.org>
4166
4167         * src/lyx_gui.C (create_forms): build combo_language2 which is part of
4168         character dialog separately from old document dialogs combo_language.
4169         Stops a segfault.
4170
4171 2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
4172
4173         * src/commandtags.h: Added LFUN_GOTO_PARAGRAPH.
4174         Removed LFUN_REF_CREATE.
4175
4176         * src/MenuBackend.C: Added new tags: toc and references
4177
4178         * src/frontends/xforms/Menubar_pimpl.C: Removed the use of StrPool
4179         (add_lastfiles, add_documents, add_formats): Removed the unused smn
4180         parameter.
4181         (add_toc, add_references): New methods.
4182         (create_submenu): Handle correctly the case when there is a
4183         seperator after optional menu items.
4184
4185         * src/lyxfunc.C (getStatus): Handle LFUN_REF_BACK.
4186         (dispatch): Combined the code for LFUN_REF_CREATE and LFUN_REF_INSERT.
4187         (dispatch): New code for LFUN_GOTO_PARAGRAPH.
4188
4189         * src/frontends/xforms/FormToc.C (apply): Use Dispatch.
4190
4191 2000-08-30  Dekel Tsur  <dekel@math.tau.ac.il>
4192
4193         * src/converter.[Ch]: New file for converting between different
4194         formats.
4195         
4196         * src/export.[Ch]: New file for exporting a LyX file to different
4197         formats.
4198         
4199         * src/lyx_cb.C: Remove many functions when NEW_EXPORT is defined:
4200         MenuRunLaTeX, MakeLaTeXOutput, RunScript, CreatePostscript,
4201         PreviewPostscript, PreviewDVI, AskOverwrite, MenuMakeLaTeX,
4202         MenuMakeLinuxDoc, MenuMakeDocBook, MenuMakeHTML,
4203         MenuMakeHTML_LinuxDoc, MenuMakeHTML_DocBook, RunLinuxDoc,
4204         RunDocBook, MenuExport.
4205         
4206         * src/lyxfunc.C (Dispatch): Use the Exporter::Export and
4207         Exporter::Preview methods if NEW_EXPORT is defined.     
4208         
4209         * src/buffer.C (Dispatch): Use Exporter::Export.
4210         
4211         * src/lyxrc.C: Added new tags: \converter and \viewer.
4212         
4213         * src/commandtags.h
4214         * src/LyXAction.C: Define new lyx-function: buffer-update.
4215         Remove obsolete buffer-typeset,buffer-typeset-ps & buffer-view-ps
4216         when NEW_EXPORT is defined.
4217         
4218         * src/MenuBackend.C: Added new tags: updateformats and viewformats.
4219         
4220         * src/frontends/xforms/Menubar_pimpl.C (add_formats) New method.
4221         
4222         * lib/ui/default.ui: Added submenus "view" and "update" to the 
4223         "file" menu.
4224         
4225         * src/filetools.C (GetExtension): New function.
4226         
4227         * src/LaTeX.C (LaTeX): Add "-pdf" to depfile if pdflatex is used.
4228
4229 2000-08-29  Allan Rae  <rae@lyx.org>
4230
4231         * lib/bind/xemacs.bind: update a binding due to Juergen's recent work
4232
4233         * src/frontends/xforms/FormDocument.C (checkReadOnly): new function
4234         (EnableDocumentLayout): removed
4235         (DisableDocumentLayout): removed
4236         (build): make use of ButtonController's read-only handling to
4237         de/activate various objects. Replaces both of the above functions.
4238
4239         * src/frontends/xforms/ButtonController.h (readWrite): was read_write
4240         (readOnly): was read_only
4241         (refresh): fixed dumb mistakes with read_only_ handling
4242
4243         * src/frontends/xforms/forms/form_document.fd:
4244         * src/frontends/xforms/forms/form_tabular.fd: Use FL_FLAT_BOX for the
4245         tabbed dialogs so the tabs look more like tabs and so its easier to
4246         work out which is the current tab.
4247
4248         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): fix
4249         segfault with form_table
4250
4251         * src/frontends/ButtonPolicies.C: All policies now support UNDO_ALL.
4252
4253 2000-08-28  Juergen Vigna  <jug@sad.it>
4254
4255         * acconfig.h: added USE_PSPELL.
4256
4257         * src/config.h.in: added USE_PSPELL.
4258
4259         * autogen.sh: added pspell.m4
4260
4261         * config/pspell.m4: new file.
4262
4263         * src/spellchecker.C: implemented support for pspell libary.
4264
4265 2000-08-25  Juergen Vigna  <jug@sad.it>
4266
4267         * src/LyXAction.C (init): renamed LFUN_TABLE to
4268         LFUN_DIALOG_TABULAR_INSERT and fixed all it's occurences.
4269
4270         * src/lyxfunc.C (getStatus): fix for disabled Edit->Table entries.
4271
4272         * src/lyxscreen.h: add force_clear variable and fuction to force
4273         a clear area when redrawing in LyXText.
4274
4275         * src/text.C (GetVisibleRow): look if the screen forces a redraw.
4276
4277 2000-08-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
4278
4279         * some whitespace and comment changes.
4280         
4281         * src/lyx_gui.C (LyXGUI): use C++ style casts instead of C ones.
4282
4283         * src/buffer.C: up te LYX_FORMAT to 2.17
4284
4285 2000-08-23  Juergen Vigna  <jug@sad.it>
4286
4287         * src/BufferView_pimpl.C (tripleClick): disable this when in a
4288         locking_inset.
4289
4290         * src/insets/insettabular.C (pasteSelection): delete the insets
4291         LyXText as it is not valid anymore.
4292         (copySelection): new function.
4293         (pasteSelection): new function.
4294         (cutSelection): new function.
4295         (LocalDispatch): implemented cut/copy/paste of cell selections.
4296
4297         * src/insets/insettext.C (resizeLyXText): don't need resize if I still
4298         don't have a LyXText.
4299
4300         * src/LyXAction.C (init): a NEW_TABULAR define too much.
4301
4302         * src/lyx_gui_misc.C (CloseAllBufferRelatedDialogs): another missing
4303         NEW_TABULAR define.
4304
4305 2000-08-22  Juergen Vigna  <jug@sad.it>
4306
4307         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): 
4308         ifdef form_table out if NEW_TABULAR.
4309
4310 2000-08-21  Juergen Vigna  <jug@sad.it>
4311
4312         * src/insets/insettabular.C (TabularFeatures): BoxType is enum now.
4313         (draw): fixed draw position so that the cursor is positioned in the
4314         right place.
4315         (InsetMotionNotify): hide/show cursor so the position is updated.
4316         (GENERAL): fixed cursor_pos to show only 0/1 (begin/end of cell),
4317         using cellstart() function where it should be used.
4318
4319         * src/insets/insettext.C (draw): ditto.
4320
4321         * src/tabular.C: fixed initialization of some missing variables and
4322         made BoxType into an enum.
4323
4324 2000-08-22  Marko Vendelin <markov@ioc.ee>
4325         * src/frontends/gnome/Menubar_pimpl.C: Mathces LyX action with Gnome 
4326         stock menu item using action numerical value, not its string
4327         representation.
4328
4329
4330 2000-08-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
4331
4332         * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add
4333         GUIRunTime.C remove GUIRunTime_pimpl.[Ch]
4334
4335         * src/frontends/xforms/GUIRunTime_pimpl.[Ch]: removed file
4336
4337         * src/frontends/xforms/GUIRunTime.C: new file
4338
4339         * src/frontends/kde/Makefile.am (libkde_la_SOURCES): add
4340         GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
4341
4342         * src/frontends/kde/GUIRunTime_pimpl.[Ch]: removed file
4343
4344         * src/frontends/kde/GUIRunTime.C: new file
4345
4346         * src/frontends/gnome/Makefile.am (libgnome_la_SOURCES): add
4347         GUIRunTime.C and remove GUIRunTime_pimpl.[Ch]
4348
4349         * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: removed file
4350
4351         * src/frontends/gnome/GUIRunTime.C: new file
4352
4353         * src/frontends/Makefile.am (libfrontends_la_SOURCES): removed
4354         GUIRunTime.C 
4355
4356         * src/frontends/GUIRunTime.h: removed constructor and destructor,
4357         small change to documetentation.
4358
4359         * src/frontends/GUIRunTime.C: removed file
4360
4361         * src/text2.C (MeltFootnoteEnvironment): add some NEW_TABULAR
4362
4363         * src/lyxparagraph.h: enable NEW_TABULAR as default
4364
4365         * src/lyxfunc.C (processKeySym): remove some commented code
4366
4367         * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): add
4368         NEW_TABULAR around the fd_form_table_options.
4369
4370         * src/lyx_gui.C (runTime): call the static member function as
4371         GUIRunTime::runTime().
4372
4373 2000-08-21  Allan Rae  <rae@lyx.org>
4374
4375         * src/frontends/xforms/FormDocument.h: D'oh.  Forgot to change the
4376         policy here also.
4377
4378 2000-08-21  Dekel Tsur  <dekel@math.tau.ac.il>
4379
4380         * src/Spacing.C (writeEnvirBegin): Small fix when sstream not present
4381
4382 2000-08-21  Allan Rae  <rae@lyx.org>
4383
4384         * src/frontends/xforms/ButtonController.h (setOK): renamed from setOk to
4385         keep Garst happy ;-)
4386         * src/frontends/xforms/FormPreferences.C (build): use setOK
4387         * src/frontends/xforms/FormDocument.C (build): use setOK
4388         (FormDocument): use the appropriate policy.
4389
4390 2000-08-21  Allan Rae  <rae@lyx.org>
4391
4392         * src/frontends/xforms/ButtonController.h (class ButtonController): Allow
4393         automatic [de]activation of arbitrary objects when in a read-only state.
4394
4395         * src/frontends/ButtonPolicies.h: More documentation
4396         (isReadOnly): added to support the above.
4397
4398         * src/frontends/xforms/forms/form_preferences.fd: Changed Ok -> Save
4399
4400 2000-08-18  Juergen Vigna  <jug@sad.it>
4401
4402         * src/insets/insettabular.C (getStatus): changed to return func_status.
4403
4404         * src/lyxfunc.C (getStatus): fixed TabularFeatures menu to always
4405         display toggle menu entries if they are.
4406
4407         * src/lyx_cb.C: #ifdef'ed out layout stuff which is in the
4408         new document layout now.
4409
4410         * src/lyxfunc.C: ditto
4411
4412         * src/lyx_gui_misc.C: ditto
4413
4414         * src/lyx_gui.C: ditto
4415
4416         * lib/ui/default.ui: removed paper and quotes layout as they are now
4417         all in the document layout tabbed folder.
4418
4419         * src/frontends/xforms/forms/form_document.fd: added Restore
4420         button and callbacks for all inputs for Allan's ButtonPolicy.
4421
4422         * src/frontends/xforms/FormDocument.C (ChoiceClassCB): added.
4423         (CheckChoiceClass): added missing params setting on class change.
4424         (UpdateLayoutDocument): added for updating the layout on params.
4425         (build): forgot to RETURN_ALWAYS input_doc_spacing.
4426         (FormDocument): Implemented Allan's ButtonPolicy with the
4427         PreferencesPolicy.
4428
4429 2000-08-17  Allan Rae  <rae@lyx.org>
4430
4431         * src/frontends/xforms/Dialogs.C (Dialogs): Make a temporary connection
4432         so we can at least see the credits again.
4433
4434         * src/frontends/xforms/FormPreferences.C: Used the appropriate button
4435         controller calls for the appropriate callbacks.  Note that since Ok
4436         calls apply followed by cancel, and apply isn't a valid input for the
4437         APPLIED state, the bc_ calls have to be made in the static callback not
4438         within each of the real callbacks.
4439
4440         * src/frontends/xforms/ButtonController.h (Ok): renamed from Okay()
4441         (setOk): renamed from setOkay()
4442
4443 2000-08-17  Juergen Vigna  <jug@sad.it>
4444
4445         * src/frontends/gnome/Menubar_pimpl.C (openByName): put this function
4446         in the implementation part.
4447         (composeUIInfo): don't show optional menu-items.
4448
4449         * src/lyxfunc.C (getStatus): use insets LyXText if the_locking_inset.
4450
4451         * src/insets/insettext.C (UpdateLocal): call to LyXView::showState()
4452
4453         * src/bufferview_funcs.C (CurrentState): fixed to show also the
4454         text-state when in a text-inset.
4455
4456         * src/frontends/kde/GUIRunTime_pimpl.C: include xforms for now.
4457
4458 2000-08-17  Marko Vendelin <markov@ioc.ee>
4459         * src/frontends/gnome/FormIndex.C
4460         * src/frontends/gnome/FormIndex.h
4461         * src/frontends/gnome/FormToc.C
4462         * src/frontends/gnome/FormToc.h
4463         * src/frontends/gnome/dialogs
4464         * src/frontends/gnome/diatoc_callbacks.c
4465         * src/frontends/gnome/diatoc_callbacks.h
4466         * src/frontends/gnome/diainsertindex_callbacks.h
4467         * src/frontends/gnome/diainsertindex_callbacks.c
4468         * src/frontends/gnome/diainsertindex_interface.c
4469         * src/frontends/gnome/diainsertindex_interface.h
4470         * src/frontends/gnome/diatoc_interface.h
4471         * src/frontends/gnome/diatoc_interface.c
4472         * src/frontends/gnome/Makefile.am: Table of Contents and 
4473         Insert Index dialogs implementation for Gnome frontend
4474
4475         * src/frontends/gnome/GUIRunTime_pimpl.C: fix some small bugs
4476
4477         * src/frontends/gnome/Menubar_pimpl.C: remove historical comments
4478
4479         * src/frontends/gnome/diainserturl_interface.c: make the dialog
4480         resizable
4481
4482 2000-08-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4483
4484         * src/frontends/xforms/GUIRunTime_pimpl.C: constructor and
4485         destructor. Don't definde if you don't need it
4486         (processEvents): made static, non-blocking events processing for
4487         xforms.
4488         (runTime): static method. event loop for xforms
4489         * similar as above for kde and gnome.
4490         
4491         * src/frontends/GUIRunTime.C (GUIRunTime): new Pimpl() is wrong
4492         new Pimpl is correct
4493         (runTime): new method calss the real frontends runtime func.
4494
4495         * src/lyx_gui.C (runTime): change to use the GUIRunTime::runTime
4496
4497 2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4498
4499         * src/lyx_gui.C (create_forms): fix the "No change" gettext missing
4500
4501 2000-08-16  Juergen Vigna  <jug@sad.it>
4502
4503         * src/lyx_gui.C (runTime): added GUII RunTime support.
4504
4505         * src/frontends/Makefile.am: 
4506         * src/frontends/GUIRunTime.[Ch]:
4507         * src/frontends/xforms/GUIRunTime_pimpl.[Ch]:
4508         * src/frontends/kde/GUIRunTime_pimpl.[Ch]:
4509         * src/frontends/gnome/GUIRunTime_pimpl.[Ch]: added GUII runtime support
4510
4511         * src/LyXAction.C (init): added dummy LFUN_INSERT_URL.
4512
4513         * src/frontends/Makefile.am (INCLUDES): don't set the FRONTENDS include
4514         as this is already set in ${FRONTEND_INCLUDE} if needed.
4515
4516         * configure.in (CPPFLAGS): setting the include dir for the frontend
4517         directory and don't set FRONTEND=xforms for now as this is executed
4518         always.
4519
4520 2000-08-16 John Levon (moz@compsoc.man.ac.uk)
4521
4522         * src/frontends/kde/Makefile.am:
4523         * src/frontends/kde/FormUrl.C:
4524         * src/frontends/kde/FormUrl.h:
4525         * src/frontends/kde/formurldialog.h:
4526         * src/frontends/kde/formurldialog.C: Add KDE URL dialog
4527
4528 2000-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4529
4530         * src/frontend/Makefile.am: Add gnome and kde to dist tar file.
4531
4532 2000-08-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4533
4534         * src/BufferView_pimpl.C (workAreaKeyPress): enable the
4535         processKeySym
4536         
4537 2000-08-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
4538
4539         * src/WorkArea.C (work_area_handler): more work to get te
4540         FL_KEYBOARD to work with xforms 0.88 too, please test.
4541
4542         * src/BufferView_pimpl.C (workAreaKeyPress): add XForms 0.88 guard.
4543
4544 2000-08-15  Dekel Tsur  <dekel@math.tau.ac.il>
4545
4546         * src/frontends/ButtonPolicies.C: make gcc happy when compiling with
4547         -pedantic
4548
4549 2000-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
4550
4551         * src/Timeout.h: remove Qt::emit hack.
4552
4553         * several files: changes to allo doc++ compilation
4554         
4555         * src/lyxfunc.C (processKeySym): new method
4556         (processKeyEvent): comment out if FL_REVISION < 89
4557
4558         * src/WorkArea.C: change some debugging levels.
4559         (WorkArea): set wantkey to FL_KEY_ALL
4560         (work_area_handler): enable the FL_KEYBOARD clause, this enables
4561         clearer code and the use of compose with XForms 0.89. Change to
4562         use signals instead of calling methods in bufferview directly.
4563
4564         * src/Painter.C: change some debugging levels.
4565
4566         * src/LyXView.C: don't setup of use the KeyPressMask_raw_callback
4567         if FL_REVISION < 89
4568
4569         * src/BufferView_pimpl.C (Pimpl): Connect to the WorkArea signals.
4570         (workAreaKeyPress): new method
4571
4572 2000-08-14  Juergen Vigna  <jug@sad.it>
4573
4574         * src/frontends/kde/Dialogs.C (Dialogs): added missing dialogs.
4575
4576         * config/kde.m4: addes some features
4577
4578         * src/frontends/kde/Makefile.am (libkde_la_OBJADD): modified to 
4579         include missing xforms dialogs.
4580
4581         * src/Timeout.h: a hack to be able to compile with qt/kde.
4582
4583         * sigc++/.cvsignore: added acinclude.m4
4584
4585         * lib/.cvsignore: added listerros
4586
4587         * src/frontends/Makefile.am: modified for now to ALWAYS compile the
4588         xforms tree as objects are needed for other frontends.
4589
4590         * src/frontends/gnome/Makefile.am (libgnome_la_OBJADD): added for
4591         linking with not yet implemented xforms objects.
4592
4593         * src/frontends/gnome/Dialogs.C (Dialogs): added FormDocument.
4594
4595 2000-08-14  Baruch Even  <baruch.even@writeme.com>
4596
4597         * src/frontends/xforms/FormGraphics.h:
4598         * src/frontends/xforms/FormGraphics.C:
4599         * src/frontends/xforms/RadioButtonGroup.h:
4600         * src/frontends/xforms/RadioButtonGroup.C:
4601         * src/insets/insetgraphics.h:
4602         * src/insets/insetgraphics.C:
4603         * src/insets/insetgraphicsParams.h:
4604         * src/insets/insetgraphicsParams.C: Changed indentation to use tabs
4605         instead of spaces, and various other indentation issues to make the
4606         sources more consistent.
4607
4608 2000-08-14  Marko Vendelin <markov@ioc.ee>
4609
4610         * src/frontends/gnome/dialogs/diaprint.glade
4611         * src/frontends/gnome/FormPrint.C
4612         * src/frontends/gnome/FormPrint.h
4613         * src/frontends/gnome/diaprint_callbacks.c
4614         * src/frontends/gnome/diaprint_callbacks.h
4615         * src/frontends/gnome/diaprint_interface.c
4616         * src/frontends/gnome/diaprint_interface.h: Print dialog Gnome 
4617         implementation
4618         
4619         * src/frontends/gnome/dialogs/diainserturl.glade
4620         * src/frontends/gnome/FormUrl.C
4621         * src/frontends/gnome/FormUrl.h
4622         * src/frontends/gnome/diainserturl_callbacks.c
4623         * src/frontends/gnome/diainserturl_callbacks.h
4624         * src/frontends/gnome/diainserturl_interface.c
4625         * src/frontends/gnome/diainserturl_interface.h: Insert Url dialog
4626         Gnome implementation
4627
4628         * src/frontends/gnome/Dialogs.C
4629         * src/frontends/gnome/Makefile.am: added Print, Insert Url  and
4630         all other dialogs. Copy all unimplemented dialogs from Xforms
4631         frontend
4632         
4633         * src/frontends/gnome/support.c
4634         * src/frontends/gnome/support.h: support files generated by Glade
4635
4636         * autogen.sh
4637         * configure.in
4638         * config/gnome.m4: Gnome configuration scripts
4639
4640         * config/lyxinclude.m4: cleanup: frontend renamed from gtk to gnome in
4641         configure --help message
4642
4643         * src/lyx_gui.C: Gnome/Gtk releases control in LyXGUI::runTime()
4644         only if there are no events pendling in Gnome/Gtk. This enhances
4645         the performance of menus.
4646
4647
4648 2000-08-14  Allan Rae  <rae@lyx.org>
4649
4650         * lib/Makefile.am: listerrors cleaning
4651
4652         * lib/listerrors: removed -- generated file
4653         * acinclude.m4: ditto
4654         * sigc++/acinclude.m4: ditto
4655
4656         * src/frontends/xforms/forms/form_citation.fd:
4657         * src/frontends/xforms/FormCitation.C (setSize): Made the form a more
4658         manageable size.
4659
4660         * src/frontends/xforms/forms/makefile: I renamed the `install` target
4661         `updatesrc` and now we have a `test` target that does what `updatesrc`
4662         used to do. I didn't like having an install target that wasn't related
4663         to the dist.
4664
4665         * src/frontends/xforms/Form*.[hC]: Removed the free() member functions
4666         on all except FormGraphics.  This may yet happen. Followed by a major
4667         cleanup including using FL_TRANSIENT for most of the dialogs.  More
4668         changes to come when the ButtonController below is introduced.
4669
4670         * src/frontends/xforms/ButtonController.h: New file for managing up to
4671         four buttons on a dialog according to an externally defined policy.
4672         * src/frontends/xforms/Makefile.am: added above
4673
4674         * src/frontends/ButtonPolicies.[hC]: New files full of policies for Ok,
4675         Apply and Cancel/Close buttons and everything in between and beyond.
4676         * src/frontends/Makefile.am: added above.
4677
4678         * src/frontends/xforms/forms/form_preferences.fd:
4679         * src/frontends/xforms/FormPreferences.[hC]: Uses the ButtonController
4680         and removed variable 'status' as a result. Fixed the set_minsize thing.
4681         Use the new screen-font-update after checking screen fonts were changed
4682         Added a "Restore" button to restore the original lyxrc values while
4683         editing.  This restores everything not just the last input changed.
4684         That's still a tricky one.  As is the "LyX: this shouldn't happen..."
4685
4686         * src/LyXAction.C: screen-font-update added for updating buffers after
4687         screen font settings have been changed.
4688         * src/commandtags.h: ditto
4689         * src/lyxfunc.C: ditto
4690
4691         * forms/lyx.fd: removed screen fonts dialog.
4692         * src/lyx_gui.C: ditto
4693         * src/menus.[Ch]: ditto
4694         * src/lyx.[Ch]: ditto
4695         * src/lyx_cb.C: ditto + code from here moved to make
4696         screen-font-update. And people wonder why progress on GUII is
4697         slow.  Look at how scattered this stuff was!  It takes forever
4698         just find it all. 
4699
4700         * forms/fdfix.sh: Fixup the spacing after commas.
4701         * forms/makefile: Remove date from generated files. Fewer clashes now.
4702         * forms/bullet_forms.C.patch: included someones handwritten changes
4703
4704         * src/lyxrc.[Ch]: Added a commented out system_lyxrc.  Will use it RSN
4705         once I've discovered why LyXRC was made noncopyable.
4706         * src/lyx_main.C: ditto
4707
4708 2000-08-14  Angus Leeming  <a.leeming@ic.ac.uk>
4709
4710         * src/frontends/xforms/forms/fdfix.sh:
4711         * src/frontends/xforms/forms/fdfixh.sed:
4712         * src/frontends/xforms/forms/fdfixc.sed: New file from Angus
4713         * src/frontends/xforms/Form*.[hC]:
4714         * src/frontends/xforms/form_*.[hC]: Massive rewrite of the generation
4715         scripts to rename all the "FL_OBJECT * form_xxxx" to "form" and to
4716         provide a destructor for the struct FD_form_xxxx. Another version of
4717         the set_[max|min]size workaround and a few other cleanups. Actually,
4718         Angus' patch from 20000809.
4719
4720 2000-08-13  Baruch Even  <baruch.even@writeme.com>
4721
4722         * src/insets/insetgraphics.C (Clone): Added several fields that needed
4723         copying.
4724
4725 2000-08-11  Juergen Vigna  <jug@sad.it>
4726
4727         * src/insets/insetgraphics.C (InsetGraphics): changing init
4728         order because of warnings.
4729
4730         * src/frontends/xforms/forms/makefile: adding patching .C with
4731         .C.patch files.
4732
4733         * src/frontends/xforms/forms/fdfix.sh: changing patching file .c
4734         from .C.patch to .c.patch
4735
4736         * src/frontends/xforms/FormCommand.C (FormCommand): changing init
4737         order because of warning.
4738
4739         * src/frontends/xforms/Dialogs.C (Dialogs): added FormDialog
4740
4741         * src/frontends/Liason.C (setMinibuffer): new helper function
4742
4743         * src/frontends/Dialogs.h (class Dialogs): inserting showLayoutDocument
4744
4745         * src/lyxfunc.C (Dispatch): calling new Document-Layout
4746
4747         * lib/ui/default.ui: commented out PaperLayout entry
4748
4749         * src/frontends/xforms/form_document.[Ch]: new added files 
4750         
4751         * src/frontends/xforms/FormDocument.[Ch]: ditto
4752
4753         * src/frontends/xforms/forms/form_document.fd: ditto
4754
4755         * src/frontends/xforms/forms/form_document.C.patch: ditto
4756
4757 2000-08-10  Juergen Vigna  <jug@sad.it>
4758
4759         * src/insets/insetgraphics.C (draw): fixed access to 0 cacheHandle.
4760         (InsetGraphics): initialized cacheHandle to 0.
4761         (draw): changed call to updateInset to status=CHANGE_IN_DRAW.
4762
4763 2000-08-10  Baruch Even  <baruch.even@writeme.com>
4764
4765         * src/graphics/GraphicsCache.h:
4766         * src/graphics/GraphicsCache.C (addFile, removeFile): Changed to work 
4767         correctly as a cache.
4768
4769         * src/graphics/GraphicsCacheItem.h:
4770         * src/graphics/GraphicsCacheItem.C: Changed to the pimpl idiom to allow
4771         reference counting.
4772
4773         * src/graphics/GraphicsCacheItem_pimpl.h:
4774         * src/graphics/GraphicsCacheItem_pimpl.C: The implementation of the
4775         GraphicsCacheItem.
4776
4777         * src/insets/insetgraphics.h: 
4778         * src/insets/insetgraphics.C: Changed from using a signal notification
4779         to polling when image is not loaded.
4780
4781 2000-08-10  Allan Rae  <rae@lyx.org>
4782
4783         * development/tools/makeLyXsigc.sh: Updated to allow Signal3.  Note
4784         that there are two functions that have to been taken out of line by
4785         hand and aren't taken care of in the script.  (Just a reminder note)
4786
4787         * sigc++/macros/*.h.m4: Updated as above.
4788
4789 2000-08-09  Juergen Vigna  <jug@sad.it>
4790
4791         * src/insets/insettext.C (draw): small fix for clearing rectangle.
4792
4793         * src/insets/insettabular.C: make drawing of single cell smarter.
4794
4795 2000-08-09  Marko Vendelin <markov@ioc.ee>
4796         * src/frontends/gnome/Menubar_pimpl.C
4797         * src/frontends/gnome/Menubar_pimpl.h: Gnome frontend Menubar
4798         implementation: new files
4799         
4800         * src/frontends/gnome/mainapp.C
4801         * src/frontends/gnome/mainapp.h: Gnome main window (temporary
4802         implementation)
4803
4804         * src/main.C: create Gnome main window
4805
4806         * src/frontends/xforms/Menubar_pimpl.h
4807         * src/frontends/Menubar.C
4808         * src/frontends/Menubar.h: added method Menubar::update that calls 
4809         Menubar_pimpl::update and xforms/Menubar_pimpl::update (empty one)
4810
4811         * src/LyXView.C: calls Menubar::update to update the state
4812         of menu items
4813
4814         * src/frontends/gnome/Makefile.am: added new files
4815         
4816         * src/frontends/Makefile.am: added frontend compiler options
4817
4818 2000-08-08  Juergen Vigna  <jug@sad.it>
4819
4820         * src/lyx_cb.C (AutoSave): autosave for unnamed files enabled!
4821
4822         * src/bufferlist.C (close): 
4823         * src/bufferlist.C (QwriteAll): remove Autosave-files for Unnamed()
4824         documents if exiting without saving.
4825
4826         * src/buffer.C (save): use removeAutosaveFile()
4827
4828         * src/support/filetools.C (removeAutosaveFile): new function.
4829
4830         * src/lyx_cb.C (MenuWrite): returns a bool now.
4831         (MenuWriteAs): check if file could really be saved and revert to the
4832         old name if not.
4833         (MenuWriteAs): removing old autosavefile if existant.
4834
4835         * src/frontends/xforms/FormRef.h: puting FD_form_ref declaration
4836         before Goto toggle declaration, because of compiler warning.
4837
4838         * src/frontends/xforms/FormRef.C: forgot include of <algorithm>
4839
4840         * src/lyxfunc.C (MenuNew): small fix.
4841
4842         * src/lyxrc.C (output): added RC_NEW_ASK_FILENAME tag.
4843
4844         * src/bufferlist.C (newFile):
4845         * src/lyxfunc.C (MenuNew): use the new_ask_filename tag from lyxrc.
4846
4847         * src/lyxrc.C: added new_ask_filename tag
4848
4849 2000-08-07  Angus Leeming  <a.leeming@ic.ac.uk>
4850
4851         * src/lyx.fd: removed code pertaining to form_ref
4852         * src/lyx.[Ch]: ditto
4853         * src/lyx_cb.C: ditto
4854         * src/lyx_gui.C: ditto
4855         * src/lyx_gui_misc.C: ditto
4856
4857         * src/BufferView_pimpl.C (restorePosition): update buffer only
4858         if file has changed
4859
4860         * src/commandtags.h (LFUN_REFTOGGLE): removed
4861         (LFUN_INSERT_REF): renamed LFUN_REF_INSERT
4862         (LFUN_REFGOTO): renamed LFUN_REF_GOTO
4863         (LFUN_REFBACK): renamed LFUN_REF_BACK
4864
4865         * src/LyXAction.C: removed code pertaining to LFUN_REFTOGGLE
4866         * src/menus.C: ditto
4867         * src/lyxfunc.C (Dispatch): ditto.
4868         InsertRef dialog is now GUI-independent.
4869
4870         * src/texrow.C: added using std::endl;
4871
4872         * src/insets/insetref.[Ch]: strip out large amounts of code.
4873         The inset is now a container and this functionality is now
4874         managed by a new FormRef dialog
4875         
4876         * src/frontends/Dialogs.h (showRef, createRef): new signals
4877
4878         * src/frontends/xforms/FormIndex.[Ch],
4879         src/frontends/xforms/FormUrl.[Ch]: workaround an xforms bug
4880         when setting dialog's min/max size
4881         * src/frontends/xforms/FormIndex.[Ch]: ditto
4882
4883         * src/frontends/xforms/FormRef.[Ch],
4884         src/frontends/xforms/forms/form_ref.fd: new xforms
4885         implementation of an InsetRef dialog
4886
4887         * src/graphics/GraphicsCache.[Ch]: small changes to compile with
4888         DEC cxx
4889
4890         * src/graphics/XPM_Renderer.C (isImageFormatOK):
4891         ios::nocreate is not part of the standard. Removed.
4892
4893 2000-08-07  Baruch Even  <baruch.even@writeme.com>
4894
4895         * src/graphics/Renderer.h:
4896         * src/graphics/Renderer.C: Added base class for rendering of different
4897         image formats into Pixmaps.
4898
4899         * src/graphics/XPM_Renderer.h:
4900         * src/graphics/XPM_Renderer.C: Taken from GraphicsCacheItem and placed
4901         in a different class.
4902
4903         * src/graphics/GraphicsCacheItem.C: factored out the rendering in order to
4904         easily add support for other formats.
4905
4906         * src/insets/figinset.C: plugged a leak of an X resource.
4907
4908 2000-08-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
4909
4910         * src/CutAndPaste.[Ch]: make all metods static. 
4911
4912         * development/Code_rules/Rules: more work, added section on
4913         Exceptions, and a References section.
4914
4915         * a lot of header files: work to make doc++ able to generate the
4916         source documentation, some workarounds of doc++ problems. Doc++ is
4917         now able to generate the documentation.
4918
4919 2000-08-07  Juergen Vigna  <jug@sad.it>
4920
4921         * src/insets/insettabular.C (recomputeTextInsets): removed function
4922
4923         * src/tabular.C (SetWidthOfMulticolCell): 
4924         (SetWidthOfCell): 
4925         (calculate_width_of_column_NMC): fixed return value so that it really
4926         only returns true if the column-width has changed (there where
4927         problems with muliticolumn-cells in this column).
4928
4929 2000-08-04  Juergen Vigna  <jug@sad.it>
4930
4931         * src/BufferView_pimpl.C (checkInsetHit): changed so that it looks
4932         also on the scrollstatus of the inset.
4933         (workAreaMotionNotify): ditto.
4934
4935         * src/texrow.C (getIdFromRow): fixed compile problem on egcs-1.1.2.
4936
4937 2000-08-01  Juergen Vigna  <jug@sad.it>
4938
4939         * src/insets/insettabular.C (resetPos): scroll tabular automatically.
4940
4941         * src/commandtags.h: 
4942         * src/LyXAction.C (init): 
4943         * src/insets/inset.C (LocalDispatch): added support for
4944         LFUN_SCROLL_INSET.
4945
4946         * src/insets/inset.C (scroll): new functions.
4947
4948         * src/insets/insettext.C (removeNewlines): new function.
4949         (SetAutoBreakRows): removes forced newlines in the text of the
4950         paragraph if autoBreakRows is set to false.
4951
4952         * src/tabular.C (Latex): generates a parbox around the cell contents
4953         if needed.
4954
4955         * src/frontends/xforms/FormTabular.C (local_update): removed
4956         the radio_useparbox button.
4957
4958         * src/tabular.C (UseParbox): new function
4959
4960 2000-08-06  Baruch Even  <baruch.even@writeme.com>
4961
4962         * src/graphics/GraphicsCache.h:
4963         * src/graphics/GraphicsCache.C:
4964         * src/graphics/GraphicsCacheItem.h:
4965         * src/graphics/GraphicsCacheItem.C: Made them to actually do something
4966         usefull.
4967
4968         * src/insets/insetgraphics.h:
4969         * src/insets/insetgraphics.C: Added the use of the GraphicsCache
4970         and the drawing of the inline image.
4971
4972         * src/buffer.C: Fixed a bug where a loaded InsetGraphics would be
4973         loaded into the wrong position.
4974
4975         * src/lyxfunc.C: When adding an InsetGraphics the edit dialog is now
4976         launched.
4977
4978 2000-08-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
4979
4980         * src/support/translator.h: move all typedefs to public section
4981
4982         * src/support/filetools.C (MakeLatexName): return string const
4983         (QuoteName): ditto
4984         (TmpFileName): ditto
4985         (FileOpenSearch): ditto
4986         (FileSearch): ditto
4987         (LibFileSearch): ditto
4988         (i18nLibFileSearch): ditto
4989         (GetEnv): ditto
4990         (GetEnvPath): ditto
4991         (CreateTmpDir): ditto
4992         (CreateBufferTmpDir): ditto
4993         (CreateLyXTmpDir): ditto
4994         (GetCWD): ditto
4995         (OnlyPath): ditto
4996         (MakeAbsPath): ditto
4997         (AddName): ditto
4998         (OnlyFilename): ditto
4999         (ExpandPath): ditto
5000         (NormalizePath): ditto
5001         (CleanupPath): ditto
5002         (GetFileContents): ditto
5003         (ReplaceEnvironmentPath): ditto
5004         (MakeRelPath): ditto
5005         (AddPath): ditto
5006         (ChangeExtension): ditto
5007         (MakeDisplayPath): ditto
5008         (do_popen): return cmdret const
5009         (findtexfile): return string const
5010
5011         * src/support/DebugStream.h: add some /// to please doc++
5012
5013         * src/frontends/DialogBase.h (endif): add some /// to please doc++
5014
5015         * src/texrow.C (same_rownumber): functor to use with find_if
5016         (getIdFromRow): rewritten to use find_if and to not update the
5017         positions. return true if row is found
5018         (increasePos): new method, use to update positions
5019
5020         * src/lyxlex_pimpl.h: make LyXLex::Pimpl noncopyable
5021
5022         * src/lyxlex_pimpl.C (verifyTable): new method
5023         (pushTable): use it
5024         (Pimpl): use it
5025         (GetString): return string const
5026         (pushTable): rewrite to use std::stack
5027         (popTable): ditto
5028         (setFile): better check
5029         (setStream): ditto
5030
5031         * src/lyxlex.h: make LyXLex noncopyable
5032
5033         * src/lyxlex.C (text): return char const * const
5034         (GetString): return string const
5035         (getLongString): return string const
5036
5037         * src/lyx_gui_misc.C (askForText): return pair<...> const
5038
5039         * src/lastfiles.[Ch] (operator): return string const
5040
5041         * src/buffer.C (parseSingleLyXformat2Token): pass string to
5042         istringstream not char const *. 
5043         move token.end() out of loop.
5044         (readFile): move initializaton of token
5045
5046         * src/BufferView2.C (insertErrors): run texrow.increasePos if
5047         getIdFromRow is successful.
5048
5049         * lib/bind/emacs.bind: don't include menus bind
5050
5051         * development/Code_rules/Rules: the beginnings of making this
5052         better and covering more of the unwritten rules that we have.
5053
5054         * development/Code_rules/Recommendations: a couple of wording
5055         changes. 
5056
5057 2000-08-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5058
5059         * src/support/strerror.c: remove C++ comment.
5060
5061 2000-08-04  Angus Leeming  <a.leeming@ic.ac.uk>
5062
5063         * src/commandtags.h: LFUN_INDEX_CREATE_LAST reverts to
5064         LFUN_INDEX_INSERT_LAST
5065
5066         * src/texrow.C (getIdFromRow): changed from const_iterator to
5067         iterator, allowing code to compile with DEC cxx
5068
5069         * src/frontends/xforms/FormCitation.[Ch]: made vector<string>
5070         stores part of the class, as suggested by Allan. Will allow
5071         multiple LyXViews.
5072         (apply): test to apply uses InsetCommandParams operator!=
5073
5074         * src/frontends/xforms/FormIndex.C: moved set_minsize into build
5075         (apply): test to apply uses InsetCommandParams operator!=
5076
5077         * src/frontends/xforms/FormToc.[Ch]: made vector<string>
5078         stores part of the class.
5079         (update): removed limits on min/max size.
5080
5081         * src/frontends/xforms/FormUrl.C: moved set_minsize into build
5082         (apply): test to apply uses InsetCommandParams operator!=
5083
5084         * src/insets/insetcommand.[Ch] InsetCommand made noncopyable
5085         (Read, Write, scanCommand, getCommand): moved functionality
5086         into InsetCommandParams.
5087         (Clone): removed
5088         (getScreenLabel): made pure virtual
5089         new InsetCommandParams operators== and !=
5090         
5091         * src/insets/insetbib.[Ch] (InsetBibKey, InsetBibtex): new
5092         c-tors based on InsetCommandParams. Removed others.
5093         * src/insets/insetinclude.[Ch]: ditto
5094         * src/insets/insetlabel.[Ch]: ditto
5095         * src/insets/insetparent.[Ch]: ditto
5096         * src/insets/insetref.[Ch]: ditto. Also moved gotoLabel into .C
5097         
5098         * src/buffer.C (parseSingleLyXformat2Token, readInset): all
5099         insets derived from InsetCommand created using similar c-tors
5100         based on InsetCommandParams
5101         * src/lyx_cb.C (MenuInsertLabel, RefSelectCB): ditto
5102         * src/menus.C (ShowRefsMenu): ditto
5103         * src/paragraph.C (Clone): ditto
5104         * src/text2.C (SetCounter): ditto
5105         * src/lyxfunc.C (Dispatch) ditto
5106         Also recreated old InsetIndex behaviour exactly. Can now
5107         index-insert at the start of a paragraph and index-insert-last
5108         without launching the pop-up.
5109
5110 2000-08-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
5111
5112         * lib/lyxrc.example: mark te pdf options as non functional.
5113
5114         * src/support/lstrings.C (strToInt): move initalization of tmpstr
5115         (isStrDbl): move tmpstr.end() out of loop.
5116         (strToDbl): move intialization of tmpstr
5117         (lowercase): return string const and move tmp.end() out of loop.
5118         (uppercase): return string const and move tmp.edn() out of loop.
5119         (prefixIs): add assertion
5120         (suffixIs): ditto
5121         (contains): ditto
5122         (contains): ditto
5123         (contains): ditto
5124         (containsOnly): ditto
5125         (containsOnly): ditto
5126         (containsOnly): ditto
5127         (countChar): make last arg char not char const
5128         (token): return string const
5129         (subst): return string const, move tmp.end() out of loop.
5130         (subst): return string const, add assertion
5131         (strip): return string const
5132         (frontStrip): return string const, add assertion
5133         (frontStrip): return string const
5134         (split): ditto
5135         (split): ditto
5136         (rsplit): ditto
5137
5138         * src/support/lstrings.C: add inclde "LAssert.h"
5139         (isStrInt): move tmpstr.end() out of loop.
5140
5141         * src/frontends/xforms/Toolbar_pimpl.C (activate): move
5142         toollist.end() out of loop.
5143         (deactivate): move toollist.end() out of loop.
5144         (update): move toollist.end() out of loop.
5145         (updateLayoutList): move tc.end() out of loop.
5146         (add): move toollist.end() out of loop.
5147
5148         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): move
5149         md.end() out of loop.
5150
5151         * src/texrow.h: make getIdFromRow const, make rowlist mutable.
5152
5153         * src/texrow.C (getIdFromRow): make const, more rowlist.end() out
5154         of loop.
5155
5156         * src/paragraph.C (Erase): move fontlist.end() out of loop.
5157         (Erase): move insetlist.end() out of loop.
5158
5159         * src/lyx_sendfax_main.C: make show_logfile static and to take a
5160         ref to const string as first arg. Move initialization of some
5161         variables, whitespace changes.
5162
5163         * src/kbmap.C (defkey): move table.end() out of loop.
5164         (kb_keymap): move table.end() out of loop.
5165         (findbinding): move table.end() out of loop.
5166
5167         * src/MenuBackend.C (hasMenu): move end() out of loop.
5168         (getMenu): move end() out of loop.
5169         (getMenu): move menulist_.end() out of loop.
5170
5171         * src/Makefile.am (#lyx_LDFLAGS): interesting option commented out.
5172
5173         * src/LaTeXFeatures.C (getIncludedFiles): move IncludedFiles.end()
5174         out of loop.
5175
5176         * src/LColor.C (getFromGUIName): move infotab.end() out of loop.
5177         (getFromLyXName): move infotab.end() out of loop.
5178
5179         * config/lyxinclude.m4 (CXXFLAGS): change for 2.96 add
5180         -fvtable-thunks -ffunction-sections -fdata-sections 
5181
5182 2000-08-03  Dekel Tsur  <dekel@math.tau.ac.il>
5183
5184         * src/frontends/xforms/RadioButtonGroup.h: Changed <forms.h> to
5185         FORMS_H_LOCATION.
5186
5187 2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>
5188
5189         * src/frontends/xforms/FormCommand.[Ch] (d-tor): removed
5190
5191         * src/frontends/xforms/FormCitation.[Ch],
5192         src/frontends/xforms/FormIndex.[Ch],
5193         src/frontends/xforms/FormToc.[Ch],
5194         src/frontends/xforms/FormUrl.[Ch] (d-tors): call free()
5195
5196 2000-08-03  Angus Leeming  <a.leeming@ic.ac.uk>
5197
5198         * src/commandtags.h: renamed, created some flags for citation
5199         and index
5200
5201         * src/lyx_gui_misc.C: stripped out old FD_index_form code
5202
5203         * src/lyxfunc.C (dispatch): use signals to insert index entry
5204         
5205         * src/frontends/Dialogs.h: new signal createIndex
5206
5207         * src/frontends/xforms/FormCommand.[Ch],
5208         src/frontends/xforms/FormCitation.[Ch],
5209         src/frontends/xforms/FormToc.[Ch],
5210         src/frontends/xforms/FormUrl.[Ch]: clean up and comment better
5211
5212         * src/insets/insetindex.[Ch]: GUI-independent
5213
5214         * src/frontends/xforms/FormIndex.[Ch],
5215         * src/frontends/xforms/forms/form_index.fd: xforms implementation
5216         of the Index dialog
5217         
5218 2000-08-01  Dekel Tsur  <dekel@math.tau.ac.il>
5219
5220         * src/mathed/math_write.C (MathDecorationInset::Write) Put \protect 
5221         before \overbrace, \underbrace, \overleftarrow, or \overrightarrow.
5222         
5223 2000-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5224
5225         * src/insets/insetref.C (Latex): rewrite so that there is now
5226         question that a initialization is requested.
5227
5228         * src/insets/insetcommand.h: reenable the hide signal
5229
5230 2000-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5231
5232         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to
5233         fix handling of shortcuts (many bugs :)
5234         (add_lastfiles): ditto.
5235
5236         * lib/ui/default.ui: fix a few shortcuts.
5237
5238 2000-07-27  Kayvan A. Sylvan  <kayvan@sylvan.com>
5239
5240         * Makefile.am: Fix ``rpmdist'' target to return the exit
5241         status of the ``rpm'' command, instead of the last command in
5242         the chain (the ``rm lyx.xpm'' command, which always returns
5243         success).
5244
5245 2000-08-02  Allan Rae  <rae@lyx.org>
5246
5247         * src/frontends/xforms/FormUrl.C (FormUrl): Initialise ALL variables.
5248         * src/frontends/xforms/FormCitation.C (FormCitation): ditto
5249         * src/frontends/xforms/FormToc.C (FormToc): ditto
5250
5251         * src/frontends/xforms/Makefile.am: A few forgotten files
5252
5253         * src/frontends/xforms/FormCommand.C (showInset): The rest of the
5254         Signals-not-copyable-problem Lars' started commenting out.
5255
5256         * src/frontends/xforms/form_toc.[hC]: new files.  TOC crashes lyx.
5257
5258 2000-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5259
5260         * src/insets/insetcommand.h: Signals is not copyable so anoter
5261         scheme for automatic hiding of forms must be used.
5262
5263         * src/frontends/xforms/FormCitation.h: don't inerit from
5264         noncopyable, FormCommand already does that.
5265         * src/frontends/xforms/FormToc.h: ditto
5266         * src/frontends/xforms/FormUrl.h: ditto
5267
5268         * src/frontends/xforms/FormCitation.C: add include <algorithm>
5269
5270 2000-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
5271
5272         * src/insets/insetcommand.h (hide): new SigC::Signal0
5273         (d-tor) new virtual destructor emits hide signal
5274
5275         * src/insets/insetcite.[Ch] (hide, d-tor, EditMessage): removed
5276         * src/insets/inseturl.[Ch]  (hide, d-tor): ditto
5277
5278         * src/insets/insettoc.[Ch]: one inset now deals with TOC, LOA,
5279         LOF and LOT. Inset is now GUI-independent
5280
5281         * src/insets/insetloa.[Ch]: redundant
5282         * src/insets/insetlof.[Ch]: ditto
5283         * src/insets/insetlot.[Ch]: ditto
5284         
5285         * src/frontends/xforms/forms/form_url.fd: tweaked!
5286         * src/frontends/xforms/forms/form_citation.fd: ditto
5287
5288         * src/frontends/xforms/FormCommand.[Ch]: new base class to those
5289         dialogs dealing with InsetCommand insets
5290
5291         * src/frontends/xforms/FormCitation.[Ch]: now makes use of
5292         FormCommand base class
5293         * src/frontends/xforms/FormUrl.[Ch]: ditto
5294
5295         * src/frontends/xforms/forms/form_toc.fd: Xforms implementation
5296         of the TOC dialog
5297         * src/frontends/xforms/FormToc.[Ch]: ditto
5298
5299         * src/frontends/Dialogs.h (showCitation, showTOC, showUrl): all
5300         passed a generic InsetCommand pointer
5301         * src/frontends/xforms/Dialogs.C (c-tor): create instance of FormToc
5302
5303         * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
5304         and modified InsetTOC class
5305         * src/buffer.C: ditto
5306
5307         * forms/lyx.fd: strip out old FD_form_toc code
5308         * src/lyx_gui_misc.C: ditto
5309         * src/lyx_gui.C: ditto
5310         * src/lyx_cb.C: ditto
5311         * src/lyx.[Ch]: ditto
5312
5313 2000-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5314
5315         * src/support/utility.hpp: tr -d '\r'
5316
5317 2000-08-01  Juergen Vigna  <jug@sad.it>
5318
5319         * src/insets/insettabular.h: removed initFeatures() as it's not needed.
5320
5321         * src/commandtags.h: 
5322         * src/LyXAction.C (init): added LFUN_LAYOUT_TABULAR and
5323         LFUN_TABULAR_FEATURES.
5324
5325         * src/lyxfunc.C (getStatus): implemented LFUN_TABULAR_FEATURES and
5326         LFUN_LAYOUT_TABULAR.
5327
5328         * src/insets/insettabular.C (getStatus): implemented helper function.
5329
5330         * lib/ui/default.ui: implemented edit-table-menu and layout-tabular.
5331
5332 2000-07-31  Juergen Vigna  <jug@sad.it>
5333
5334         * src/text.C (draw): fixed screen update problem for text-insets.
5335
5336         * src/text2.C (SetParagrpah): call an update of the inset-owner when
5337         something changed probably this has to be added in various other
5338         functions too.
5339
5340         * src/insets/insettext.C (cy): fixed to give back the right cursor.y().
5341
5342 2000-07-31  Baruch Even <baruch.even@writeme.com>
5343
5344         * src/frontends/xforms/RadioButtonGroup.C: Changed to use home-brew
5345         templates to satisfy compaq cxx.
5346
5347
5348 2000-07-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
5349
5350         * src/support/translator.h (equal_1st_in_pair::operator()): take
5351         const ref pair_type as arg. 
5352         (equal_2nd_in_pair::operator()): ditto
5353         (Translator::~Translator): remove empty d-tor.
5354
5355         * src/graphics/GraphicsCache.C: move include config.h to top, also
5356         put initialization of GraphicsCache::singleton here.
5357         (~GraphicsCache): move here
5358         (addFile): take const ref as arg
5359         (removeFile): ditto
5360
5361         * src/lyxlex_pimpl.C (setFile): comment in old behaviour
5362
5363         * src/BufferView2.C (insertLyXFile): change te with/without header
5364         check slightly.
5365
5366 2000-07-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5367
5368         * src/frontends/xforms/FormGraphics.C (apply): add some
5369         static_cast. Not very nice, but required by compaq cxx.
5370
5371         * src/frontends/xforms/RadioButtonGroup.h: include header
5372         <utility> instead of <pair.h>
5373
5374         * src/insets/insetgraphicsParams.C: add using directive. 
5375         (readResize): change return type to void. 
5376         (readOrigin): ditto.
5377
5378         * src/lyxfunc.C (getStatus): add missing break for build-program
5379         function; add test for Literate for export functions.
5380
5381         * lib/ui/default.ui: fix Insert->TOC->TOC; comment out invalid
5382         entries in Options menu.
5383
5384 2000-07-31  Baruch Even <baruch.even@writeme.com>
5385
5386         * src/frontends/xforms/Toolbar_pimpl.C (toolbarItem::operator=):
5387         protect against auto-allocation; release icon when needed.
5388
5389 2000-07-31  Matej Cepl <CeplM@seznam.cz>
5390
5391         * lib/kbd/czech.kmap: new file. standard Czech keyboard as found
5392         on usual typewriter.
5393
5394         * lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
5395         earlier czech.kmap), useful only for programming.
5396
5397 2000-07-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5398
5399         * src/frontends/xforms/FormCitation.h: fix conditioning around
5400         #pragma. 
5401
5402 2000-07-31  Juergen Vigna  <jug@sad.it>
5403
5404         * src/frontends/xforms/FormTabular.C (local_update): changed
5405         radio_linebreaks to radio_useparbox and added radio_useminipage.
5406
5407         * src/tabular.C: made support for using minipages/parboxes.
5408
5409         * src/bufferlist.C (QwriteAll): small fix for asking for save.
5410
5411         * src/insets/insetgraphics.C (draw): just draw the inset so that the
5412         cursor is visible.
5413         (descent): so the cursor is in the middle.
5414         (width): bit smaller box.
5415
5416         * src/insets/insetgraphics.h: added display() function.
5417
5418 2000-07-31  Baruch Even <baruch.even@writeme.com>
5419
5420         * src/frontends/Dialogs.h: Added showGraphics signals.
5421
5422         * src/frontends/xforms/forms/form_graphics.fd: Added file, the
5423         xforms form definition of the graphics dialog.
5424
5425         * src/frontends/xforms/FormGraphics.h: 
5426         * src/frontends/xforms/FormGraphics.C: Added files, the
5427         GUIndependent code of InsetGraphics
5428
5429         * src/insets/insetgraphics.h: 
5430         * src/insets/insetgraphics.C: Major writing to make it work.
5431
5432         * src/insets/insetgraphicsParams.h:     
5433         * src/insets/insetgraphicsParams.C: Added files, parameter passing
5434         struct between InsetGraphics and GUI.
5435
5436         * src/LaTeXFeatures.h:
5437         * src/LaTeXFeatures.C (c-tor, require, getPackages): Enabled
5438         support for graphicx package. 
5439
5440         * src/buffer.C (parseSingleLyXformat2Token): Fixed read support
5441         for the graphics inset.
5442
5443         * src/support/translator.h: Added file, used in
5444         InsetGraphicsParams. this is a template to translate between two
5445         types.
5446
5447         * src/frontends/xforms/RadioButtonGroup.h: 
5448         * src/frontends/xforms/RadioButtonGroup.C: Added files, Comprise a
5449         way to easily control a radio button group.
5450
5451 2000-07-28  Juergen Vigna  <jug@sad.it>
5452
5453         * src/insets/insettabular.C (LocalDispatch): 
5454         (TabularFeatures): added support for lyx-functions of tabular features.
5455         (cellstart): refixed this function after someone wrongly changed it.
5456
5457         * src/commandtags.h:
5458         * src/LyXAction.C (init): added support for tabular-features
5459
5460 2000-07-28  Allan Rae  <rae@lyx.org>
5461
5462         * src/frontends/xforms/FormPreferences.C (build): Setup input return
5463         checking.  NOTE: It seems that pressing ESC to cancel the dialog also
5464         triggers the callback for input checking. As a result we sometimes get
5465         "LyX: This shouldn't happen..." printed to cerr.
5466         (input): Started using status variable since I only free() on 
5467         destruction.  Some input checking for paths and font sizes.
5468
5469         * src/frontends/xforms/FormPreferences.h: Use status to control 
5470         activation of Ok and Apply
5471
5472         * src/frontends/xforms/forms/form_preferences.fd: Setup input return
5473         callback.  Also resized to stop segfaults with 0.88.  The problem is
5474         that xforms-0.88 requires the folder to be wide enough to fit all the
5475         tabs.  If it isn't it causes all sorts of problems.
5476
5477         * src/frontends/xforms/FormCopyright.[hC]: forward declare FD_form...
5478
5479         * src/frontends/xforms/forms/README: Reflect reality.
5480
5481         * src/frontends/xforms/forms/fdfix.sh: Clean up comments
5482         * src/frontends/xforms/forms/makefile: ditto.
5483
5484         * src/commandtags.h: Get access to new Preferences dialog
5485         * src/LyXAction.C: ditto
5486         * src/lyxfunc.C: ditto
5487         * lib/ui/default.ui: ditto
5488
5489 2000-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5490
5491         * src/frontends/xforms/forms/makefile (.c.C): change call to fdfix.sh.
5492
5493         * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add a
5494         few files.
5495
5496         * src/frontends/xforms/form_url.[Ch]: added.
5497
5498 2000-07-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
5499
5500         * src/insets/insetbib.h: fixed bug in previous commit
5501
5502         * src/frontends/xforms/FormUrl.h: ditto
5503
5504         * src/frontends/xforms/FormPrint.h: ditto
5505
5506         * src/frontends/xforms/FormPreferences.h: ditto
5507
5508         * src/frontends/xforms/FormCopyright.h: ditto
5509
5510         * src/frontends/xforms/FormCitation.C: ditto
5511
5512         * src/frontends/Dialogs.h (class Dialogs): use noncopyable, remove
5513         private copyconstructor and private default contructor
5514
5515         * src/support/Makefile.am: add utility.hpp
5516
5517         * src/support/utility.hpp: new file from boost
5518
5519         * src/insets/insetbib.h: set owner in clone
5520
5521         * src/frontends/xforms/FormCitation.C: added missing include
5522         algorithm
5523
5524         * src/insets/form_url.[Ch]: removed
5525
5526 2000-07-26  Kayvan A. Sylvan <kayvan@sylvan.com>
5527
5528         * development/lyx.spec.in
5529         * Makefile.am: Fix buglet for LyX RPM generation resulting from
5530         file/directory re-organization.
5531
5532 2000-07-26  Angus Leeming  <a.leeming@ic.ac.uk>
5533
5534         * src/insets/insetcommand.[Ch]: moved the string data and
5535         associated manipulation methods into a new stand-alone class
5536         InsetCommandParams. This class has two additional methods
5537         getAsString() and setFromString() allowing the contents to be
5538         moved around as a single string.
5539         (addContents) method removed.
5540         (setContents) method no longer virtual.
5541
5542         * src/buffer.C (readInset): made use of new InsetCitation,
5543         InsetUrl constructors based on InsetCommandParams.
5544
5545         * src/commandtags.h: add LFUN_INSERT_URL
5546
5547         * src/lyxfunc.C (Dispatch): changed to accomadate GUI-
5548         independent InsetUrl and use InsetCommandParams to extract
5549         string info and create new Insets.
5550
5551         * src/frontends/Dialogs.h: add signals showUrl, createUrl.
5552
5553         * src/frontends/xforms/FormCitation.C (apply): uses 
5554         InsetCommandParams.
5555
5556         * src/frontends/xforms/form_url.C
5557         * src/frontends/xforms/form_url.h
5558         * src/frontends/xforms/FormUrl.h
5559         * src/frontends/xforms/FormUrl.C
5560         * src/frontends/xforms/forms/form_url.fd: new files
5561
5562         * src/insets/insetcite.[Ch]: removed unused constructors.
5563
5564         * src/insets/insetinclude.[Ch]: no longer store filename
5565
5566         * src/insets/inseturl.[Ch]: GUI-independent.
5567
5568 2000-07-26  Juergen Vigna  <jug@sad.it>
5569         * renamed frontend from gtk to gnome as it is that what is realized
5570         and did the necessary changes in the files.
5571         
5572 2000-07-26  Marko Vendelin <markov@ioc.ee>
5573         * autogen.sh
5574         * configure.in: cleaning up gnome configuration scripts
5575
5576 2000-07-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5577
5578         * src/frontends/xforms/Menubar_pimpl.C (set): fix the disappearing
5579         shortcuts syndrom by redrawing them explicitely (a better solution
5580         would be appreciated).
5581
5582         * src/lyxfunc.C (getStatus): fix crash when functions are disabled.
5583
5584         * src/frontends/xforms/Menubar_pimpl.C (set): fix the shortcut of
5585         the button.
5586
5587         * src/lyx_cb.C (MenuExport): change html export to do the right
5588         thing depending of the document type (instead of having
5589         html-linuxdoc and html-docbook).
5590         * src/lyxfunc.C (getStatus): update for html
5591         * lib/ui/default.ui: simplify due to the above change.
5592         * src/menus.C (ShowFileMenu): update too (in case we need it).
5593
5594         * src/MenuBackend.C (read): if a menu is defined twice, add the
5595         new entries to the exiting one.
5596
5597 2000-07-26  Juergen Vigna  <jug@sad.it>
5598
5599         * src/buffer.h: added functions setUnnamed(bool) and isUnnamed().
5600
5601         * src/lyx_cb.C (MenuWriteAs): Changed to react right for unnamed docs
5602         and return a bool if it did actual save the file.
5603         (AutoSave): don't autosave a unnamed doc.
5604
5605         * src/bufferlist.C (close) (QwriteAll) (emergencyWriteAll):
5606         check if this is an UNNAMED new file and react to it.
5607         (newFile): set buffer to unnamed and change to not mark a new
5608         buffer dirty if I didn't do anything with it.
5609
5610         * src/lyxfunc.C (MenuNew): Changed to not ask for filename on new.
5611
5612 2000-07-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
5613
5614         * src/frontends/Menubar.h: make "struct Pimpl;" public + the
5615         friend as per Angus's patch posted to lyx-devel.
5616
5617         * src/ext_l10n.h: updated
5618
5619         * src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): run
5620         gettext on the style string right before inserting them into the
5621         combox. 
5622
5623         * autogen.sh: add code to extract style strings form layout files,
5624         not good enough yet. 
5625
5626         * src/frontends/gtk/.cvsignore: add MAKEFILE
5627
5628         * src/MenuBackend.C (read): run the label strings through gettext
5629         before storing them in the containers.
5630
5631         * src/ext_l10n.h: new file 
5632
5633         * autogen.sh : generate the ext_l10n.h file here
5634
5635 2000-07-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5636
5637         * src/lyxrc.C (read): do not use LyXLex::lex() to parse set_color
5638         arguments. 
5639
5640         * lib/ui/default.ui: fix a couple of typos.
5641
5642         * config/gnome/gtk.m4: added (and added to the list of files in 
5643         autogen.sh).
5644
5645         * src/insets/insetinclude.C (unique_id): fix when we are using
5646         lyxstring instead of basic_string<>. 
5647         * src/insets/insettext.C (LocalDispatch): ditto.
5648         * src/support/filetools.C: ditto.
5649
5650         * lib/configure.m4: create the ui/ directory if necessary.
5651
5652         * src/LyXView.[Ch] (updateToolbar): new method.
5653
5654         * src/BufferView_pimpl.C (buffer): update the toolbar when
5655         opening/closing buffer.
5656
5657 2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5658
5659         * src/LyXAction.C (getActionName): enhance to return also the name
5660         and options of pseudo-actions.
5661         (init): New lyxfunc LFUN_MATH_PANEL=="math-panel".
5662
5663         * lib/ui/default.ui: use OptItem in the vc submenu (intented just
5664         as an example of what is possible). Used in File->Build too (more
5665         useful) and in the import/export menus (to mimick the complicated
5666         handling of linuxdoc and friends). Try to update all the entries.
5667
5668         * src/frontends/xforms/Menubar_pimpl.C (create_submenu): handle
5669         optional entries.
5670
5671         * src/MenuBackend.C (read): Parse the new OptItem tag.
5672
5673         * src/MenuBackend.h: Add a new optional_ data member (used if the
5674         entry should be omitted when the lyxfunc is disabled).
5675
5676         * src/frontends/xforms/Menubar_pimpl.C (string_width): new
5677         function, used as a shortcut.
5678         (create_submenu): align correctly the shortcuts on the widest
5679         entry.
5680         
5681         * src/MenuBackend.h: MenuItem.label() only returns the label of
5682         the menu without shortcut; new method shortcut().
5683         
5684 2000-07-14  Marko Vendelin <markov@ioc.ee>
5685
5686         * src/frontends/gtk/Dialogs.C:
5687         * src/frontends/gtk/FormCopyright.C:
5688         * src/frontends/gtk/FormCopyright.h:
5689         * src/frontends/gtk/Makefile.am: added these source-files for the
5690         Gtk/Gnome support of the Copyright-Dialog.
5691
5692         * src/main.C: added Gnome::Main initialization if using
5693         Gtk/Gnome frontend-GUI.
5694
5695         * src/lyx_gui.C: added Gnome event loop if using Gtk/Gnome
5696         frontend-GUI.
5697         * config/gnome/aclocal-include.m4
5698         * config/gnome/compiler-flags.m4
5699         * config/gnome/curses.m4
5700         * config/gnome/gnome--.m4
5701         * config/gnome/gnome-bonobo-check.m4
5702         * config/gnome/gnome-common.m4
5703         * config/gnome/gnome-fileutils.m4
5704         * config/gnome/gnome-ghttp-check.m4
5705         * config/gnome/gnome-gnorba-check.m4
5706         * config/gnome/gnome-guile-checks.m4
5707         * config/gnome/gnome-libgtop-check.m4
5708         * config/gnome/gnome-objc-checks.m4
5709         * config/gnome/gnome-orbit-check.m4
5710         * config/gnome/gnome-print-check.m4
5711         * config/gnome/gnome-pthread-check.m4
5712         * config/gnome/gnome-support.m4
5713         * config/gnome/gnome-undelfs.m4
5714         * config/gnome/gnome-vfs.m4
5715         * config/gnome/gnome-x-checks.m4
5716         * config/gnome/gnome-xml-check.m4
5717         * config/gnome/gnome.m4
5718         * config/gnome/gperf-check.m4
5719         * config/gnome/gtk--.m4
5720         * config/gnome/linger.m4
5721         * config/gnome/need-declaration.m4: added configuration scripts
5722         for Gtk/Gnome frontend-GUI
5723
5724         * configure.in: added support for the --with-frontend=gtk option
5725
5726         * autogen.sh: added config/gnome/* to list of config-files
5727
5728         * acconfig.h: added define for GTKGUI-support
5729
5730         * config/lyxinclude.m4: added --with-frontend[=value] option value
5731         for Gtk/Gnome frontend-GUI support.
5732
5733 2000-07-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
5734
5735         * src/support/lstrings.C (prefixIs): rewrite so that gcc bastring
5736         can be used.
5737         (suffixIs): ditto
5738
5739         * src/paragraph.C (GetChar): remove non-const version
5740
5741         * src/lyxlex_pimpl.C (compare_tags): rewritten to suit cvs gcc 2.96
5742         (search_kw): use it.
5743
5744         * src/lyx_main.C (init): if "preferences" exist, read that instead
5745         of "lyxrc".
5746         (ReadRcFile): return bool if the file could be read ok.
5747         (ReadUIFile): add a check to see if lex file is set ok.
5748
5749         * src/lyx_cb.C (InsertAsciiFile): rewrite a bit so that gcc
5750         bastring can be used instead of lyxstring (still uses the old code
5751         if std::string is good enough or if lyxstring is used.)
5752
5753         * src/encoding.C: make the arrays static, move ininle functions
5754         here
5755         * src/encoding.h: from here.
5756
5757         * src/buffer.C: have last_isnet_read as a file scope variable for now.
5758         (parseSingleLyXformat2Token): move inset parsing to separate method
5759         (readInset): new private method
5760
5761         * src/Variables.h: remove virtual from get().
5762
5763         * src/ToolbarDefaults.C: include lyxparagraph.h temporary to get
5764         access to NEW_INSETS and NEW_TABULAR
5765
5766         * src/MenuBackend.h: remove superfluous forward declaration of
5767         MenuItem. Add documentations tags "///", remove empty MenuItem
5768         destructor, remove private default contructor.
5769
5770         * src/MenuBackend.C (MenuItem): remove unneeded copy contructor 
5771         (add): return *this
5772         (read): more string mlabel and mname to where they are used
5773         (read): remove unused variables mlabel and mname
5774         (defaults): unconditional clear, make menusetup take advantage of
5775         add returning Menu &.
5776
5777         * src/LyXView.h: define NEW_MENUBAR as default
5778
5779         * src/LyXAction.C: include lyxparagraph.h temporary to get access
5780         to NEW_INSETS and NEW_TABULAR.
5781         (init): commetn out some funcs that is obsolete when NEW_INSETS is
5782         defined. Change some of the "xxxx-inset-insert" functions names to
5783         "xxxx-insert".
5784
5785         * several files: more enahncements to NEW_INSETS and the resulting
5786         LyXParagraph code.
5787         
5788         * lib/lyxrc.example (\date_insert_format): move to misc section 
5789
5790         * config/lyxinclude.m4 (LYX_CXX_STL_STRING): allow to use the gcc
5791         bastring and use AC_CACHE_CHECK. 
5792         (LYX_CXX_GOOD_STD_STRING): new check. Checks if the std::string of
5793         the system have the newest methods. uses AC_CACHE_CHECK 
5794         (LYX_CXX_MUTABLE): use AC_CACHE_CHECK 
5795         (LYX_CXX_PARTIAL): use AC_CACHE_CHECK 
5796         (LYX_CXX_NAMESPACES): use AC_CACHE_CHECK
5797
5798         * configure.in: add LYX_CXX_GOOD_STD_STRING
5799
5800         * acinclude.m4: recreated
5801
5802 2000-07-24  Amir Karger <karger@lyx.org>
5803
5804         * README: add Hebrew, Arabic kmaps
5805         * ANNOUNCE: typo
5806
5807 2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5808
5809         * src/buffer.C (writeFileAscii): Define actcell as an int instead
5810         of int*.
5811
5812 2000-07-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5813
5814         * Lot of files: add pragma interface/implementation.
5815         
5816         * src/lyx_main.C (ReadUFile): new method. Read the UI file.
5817
5818         * lib/ui/default.ui: new file (ans new directory). Contains the
5819         default menu and toolbar.
5820
5821         * src/lyxrc.[Ch]: new variable ui_file. Move toolbardefaults to
5822         global space. Toolbars are now read (as menus) in ui files. 
5823
5824         * src/debug.C: change Debug::TOOLBAR to Debug::GUI.
5825
5826         * src/lyxfunc.C (getStatus): do not exit immediately if a command
5827         is disabled because the document is read-only. We want to have the
5828         toggle state of the function anyway.
5829         (getStatus): add code for LFUN_VC* functions (mimicking what is
5830         done in old-style menus)
5831         
5832         * src/lyxfunc.C (Dispatch): news functions LFUN_SWITCHBUFFER,
5833         LFUN_HELP_CREDITS, LFUN_HELP_VERSION, LFUN_HELP_OPEN.
5834
5835         * src/LyXView.[Ch]: add code for the NEW_MENUBAR define.
5836         * src/BufferView_pimpl.C: ditto. 
5837         * src/lyxfunc.C: ditto.         
5838
5839         * src/LyXView.h: add a define NEW_MENUBAR (commented out by
5840         default). This replaces old-style menus by new ones.
5841         
5842         * src/MenuBackend.[Ch]: new classes MenuBackend, Menu and
5843         MenuItem. Contain the data structure of a menu.
5844
5845         * src/insets/insettext.C: use LyXView::setLayout instead of
5846         accessing directly the toolbar combox.
5847         * src/lyxfunc.C (Dispatch): ditto.
5848
5849         * src/LyXView.C (setLayout): new method, which just calls
5850         Toolbar::setLayout(). 
5851         (updateLayoutChoice): move part of this method in Toolbar.
5852
5853         * src/toolbar.[Ch]: removed.
5854         
5855         * src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. The xforms
5856         implementation the toolbar. 
5857
5858         * src/frontend/Toolbar.[Ch]: new files. The abstract interface of
5859         the toolbar. It might make sense to merge it with ToolbarDefaults
5860         later. 
5861         (setLayout): new function. 
5862         (updateLayoutList): ditto.
5863         (openLayoutList): ditto.
5864         
5865         * src/frontend/xforms/Toolbar_pimpl.[Ch]: new files. Contain the
5866         xforms implementation of the toolbar.
5867         (get_toolbar_func): comment out, since I do not
5868         know what it is good for. 
5869         
5870         * src/ToolbarDefaults.h: Add the ItemType enum.
5871
5872         * src/support/StrPool.[Ch]: new class. Acts as a reference holder
5873         for a list of allocated C strings. Used in Menubar xforms
5874         implementation to avoid memory leaks.
5875
5876         * src/support/lstrings.[Ch] (uppercase): new version taking and
5877         returning a char.
5878         (lowercase): ditto.
5879
5880         * lib/bind/xemacs.bind: remove bogus binding for lyx-quit.
5881         * lib/bind/emacs.bind: ditto.
5882
5883 2000-07-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
5884
5885         * src/toolbar.h: include commandtags.h instead of lyxfunc.h,
5886         forward decl of LyXView.
5887
5888         * src/toolbar.C (toolbarItem): moved from toolbar.h
5889         (toolbarItem::clean): ditto
5890         (toolbarItem::~toolbarItem): ditto
5891         (toolbarItem::operator): ditto
5892
5893         * src/text2.C (SetLayout): commetn out USE_OLD_SETUP_LAYOUT stuff
5894
5895         * src/paragraph.h: control the NEW_TABULAR define from here
5896
5897         * src/buffer.C: remove define USE_PARSE_FUNCTION, change
5898         USE_TABULAR_INSETS to NEW_TABULAR
5899
5900         * src/ToolbarDefaults.C: add include "lyxlex.h"
5901
5902         * files using the old table/tabular: use NEW_TABULAR to control
5903         compilation of old tabular stuff. 
5904
5905         * src/paragraph.C (SimpleTeXOnePar): NEW_INSETS: move some #ifdef
5906         to correct place.
5907
5908         * src/buffer.C (parseSingleLyXformat2Token): NEW_INSETS: fix the
5909         planemet in reading of old style floats, fix the \end_deeper
5910         problem when reading old style floats. 
5911
5912 2000-07-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
5913
5914         * src/paragraph.C (writeFile): NEW_INSETS: move a misplaced #endif
5915
5916 2000-07-20  Serge Winitzki <winitzki@erebus.phys.cwru.edu>
5917
5918         * lib/bind/sciword.bind: updated.
5919
5920 2000-07-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
5921
5922         * src/paragraph.C (writeFile): NEW_INSETS: possible fix to the
5923         layout write problem
5924
5925 2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5926
5927         * src/Makefile.am (INCLUDES): remove image directory from include
5928         path. 
5929
5930         * src/bullet_forms.C (create_form_form_bullet): small cleanup.
5931         * src/bullet_forms_cb.C (BulletPanelCB): ditto.
5932
5933         * src/LyXView.C (create_form_form_main): read the application icon
5934         from the disk.
5935
5936         * lib/images/*.xpm: change the icons to use transparent color for
5937         background. 
5938
5939         * src/toolbar.C (update): change the color of the button when it
5940         is toggled on.
5941
5942 2000-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5943
5944         * src/lyxfunc.C (Dispatch): use LyXView::ShowState instead of
5945         setting explicitely the minibuffer.
5946         * src/BufferView_pimpl.C (workAreaButtonRelease): ditto.
5947
5948         * src/LyXView.C (showState): new function. Shows font information
5949         in minibuffer and update toolbar state.
5950         (LyXView): call Toolbar::update after creating the
5951         view. 
5952
5953         * src/toolbar.C: change toollist to be a vector instead of a
5954         linked list.
5955         (BubbleTimerCB): get help string directly from the callback
5956         argument of the corresponding icon (which is the action) 
5957         (set): remove unnecessary ugliness.
5958         (update): new function. update the icons (depressed, disabled)
5959         depending of the status of the corresponding action.
5960         
5961         * src/toolbar.h: remove help in toolbarItem
5962
5963 2000-07-19  Dekel Tsur  <dekel@math.tau.ac.il>
5964
5965         * src/Painter.C (text): Added code for using symbol glyphs from
5966         iso10646 fonts. Currently diabled.
5967
5968         * src/encoding.C: Added new encodings: iso8859_3,iso8859_9 and
5969         symbol_encoding.
5970
5971         * src/language.C (initL): Fixed encodings for esperanto,lsorbian,
5972         magyar,turkish and usorbian.
5973
5974         * src/paragraph.C (isMultiLingual): Made more efficient.
5975
5976         * src/mathed/formula.C (LocalDispatch): Fixed behavior of greek
5977         keyboard.
5978
5979         * src/mathed/math_symbols.C (math_insert_greek): Changed to use
5980         LocalDispatch(..,LFUN_SELFINSERT,..) instead of math_insert_symbol().
5981         Also changed the prototype to "bool math_insert_greek(char)".
5982
5983 2000-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
5984
5985         * lots of files: apply the NEW_INSETS on all code that will not be
5986         needed when we move to use the new insets. Enable the define in
5987         lyxparagrah.h to try it.
5988         
5989         * src/insets/insettabular.C (cellstart): change to be a static
5990         inline function
5991         (InsetTabular): initialize buffer in the initializer list.
5992
5993 2000-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
5994
5995         * src/frontends/xforms/FormPrint.[Ch] : moved #include
5996         form_print.h out of the header file. Replaced with forward
5997         declarations of the relevant struct.
5998
5999         * src/frontends/xforms/FormPreferences.[Ch] : ditto for
6000         form_preferences.h.
6001
6002         * src/commandtags.h: do not include "debug.h" which does not
6003         belong there. #include it in some other places because of this
6004         change. 
6005
6006 2000-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6007
6008         * src/insets/insetcaption.C: add a couple "using" directives.
6009
6010         * src/toolbar.C (add): get the help text directly from lyxaction.
6011         (getPixmap): nuked.
6012         (setPixmap): new function. Loads from disk and sets a pixmap on a
6013         botton; the name of the pixmap file is derived from the command
6014         name. 
6015
6016         * src/toolbar.h: remove members isBitmap and pixmap from
6017         toobarItem struct. 
6018
6019         * lib/images/*.xbm *_bw.xpm: remove (not used any more).
6020         * lib/images/: move many files from images/banner.xpm.
6021
6022         * src/lyx_gui.C (create_forms): read banner pixmap from file.
6023
6024         * src/lyx_gui.C (create_forms): remove TWO_COLORS_ICONS support.
6025         * src/toolbar.C: ditto.
6026         * configure.in: ditto.
6027         * INSTALL: document. 
6028
6029         * src/spellchecker.C (ShowSpellChecker): use CancelCloseCB when
6030         the spellchecker popup is closed from the WM.
6031
6032 2000-07-19  Juergen Vigna  <jug@sad.it>
6033
6034         * src/insets/insetfloat.C (Write): small fix because we use the
6035         insetname for the type now!
6036
6037 2000-07-18  Angus Leeming  <a.leeming@ic.ac.uk>
6038
6039         * src/frontends/xforms/forms/form_citation.fd: object sizes are
6040         now set here
6041
6042         * src/frontends/Dialogs.h: removed hideCitation signal
6043
6044         * src/insets/insetcite.h: added hide signal
6045
6046         * src/insets/insetcite.C (~InsetCitation): emits new signal
6047         (getScreenLabel): "intelligent" label should now fit on the screen!
6048
6049         * src/frontends/xforms/FormCitation.[Ch] (hideInset): removed
6050
6051         * src/frontends/xforms/FormCitation.C (showInset): connects
6052         hide() to the inset's hide signal
6053         (show): modified to use fl_set_object_position rather than
6054         fl_set_object_geometry wherever possible
6055         
6056 2000-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
6057
6058         * src/insets/lyxinset.h: add caption code
6059
6060         * src/insets/insetfloat.C (type): new method
6061
6062         * src/insets/insetcaption.C (Write): new method
6063         (Read): new method
6064         (LyxCode): new method
6065
6066         * src/text2.C (SetCounter): revert Jürgens code, but use his idea
6067         to get it right together with using the FloatList.
6068
6069         * src/commandtags.h: add LFUN_INSET_CAPTION
6070         * src/lyxfunc.C (Dispatch): handle it
6071
6072         * src/buffer.C (parseSingleLyXformat2Token): add code to read a
6073         caption inset.
6074
6075         * src/Variables.[Ch]: make expand take a const reference, remove
6076         the destructor, some whitespace changes.
6077
6078         * src/LyXAction.C (init): add caption-inset-insert
6079
6080         * src/FloatList.C (FloatList): update the default floats a bit.
6081
6082 2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6083
6084         * src/Variables.[Ch]: new files. Intended to be used for language
6085         specific strings (like \chaptername) and filename substitution in
6086         commands. 
6087
6088         * src/trans.C (AddDeadkey): replace keyword "all" with "native" in
6089         kmap files.
6090         * lib/kbd/american.kmap: update
6091
6092         * src/trans_mgr.C (normalkey): do not test allowAccent anymore.
6093
6094         * src/bufferparams.[Ch]: remove member allowAccents.
6095
6096         * src/menus.C (ShowOptionsMenu): remove the LaTeX entry.
6097
6098         * src/LaTeXLog.C: use the log_form.h header.
6099         * src/lyx_gui.C: ditto.
6100         * src/lyx_gui_misc.C: ditto.
6101         * src/lyxvc.h: ditto.
6102
6103         * forms/log_form.fd: new file, created from latexoptions.fd. I
6104         kept the log popup and nuked the options form.
6105
6106         * src/{la,}texoptions.[Ch]: removed.
6107         * src/lyx_cb.C (LaTeXOptions): ditto
6108
6109         * src/lyx_gui.C (create_forms): do not handle the
6110         fd_latex_options form. 
6111
6112 2000-07-18  Juergen Vigna  <jug@sad.it>
6113
6114         * src/insets/insetfloat.C (InsetFloat): use setInsetName to set the
6115         name of the inset so that it can be requested outside (text2.C).
6116
6117         * src/text2.C (SetCounter): modified so it sees insetfloat for caption
6118         labels.
6119
6120 2000-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6121
6122         * src/mathed/formula.h (ConvertFont): constify
6123
6124         * src/mathed/formula.C (Read): add warning if \end_inset is not
6125         found on expected place.
6126
6127         * src/insets/lyxinset.h (ConvertFont): consify
6128
6129         * src/insets/insetquotes.C (ConvertFont): constify
6130         * src/insets/insetquotes.h: ditto
6131
6132         * src/insets/insetinfo.h: add labelfont
6133
6134         * src/insets/insetinfo.C (InsetInfo): set the labelfont
6135         (ascent): use labelfont
6136         (descent): likewise
6137         (width): likewise
6138         (draw): likewise
6139         (Write): make .lyx file a bit nicer
6140
6141         * src/insets/insetfloat.C (Write): simplify somewhat...
6142         (Read): add warning if arg is not found
6143
6144         * src/insets/insetcollapsable.C: add using std::max
6145         (Read): move string token and add warning in arg is not found
6146         (draw): use std::max to get the right ty
6147         (getMaxWidth): simplify by using std::max
6148
6149         * src/insets/insetsection.h: new file
6150         * src/insets/insetsection.C: new file
6151         * src/insets/insetcaption.h: new file
6152         * src/insets/insetcaption.C: new file
6153
6154         * src/insets/inset.C (ConvertFont): constify signature
6155
6156         * src/insets/Makefile.am (libinsets_la_SOURCES): add
6157         insetcaption.[Ch] and insetsection.[Ch]
6158
6159         * src/layout.h: remove LABEL_FIRST_COUNTER from enum, change all
6160         uses to use LABEL_COUNTER_CHAPTER instead.
6161         * src/text2.C (SetCounter): here
6162
6163         * src/counters.h: new file
6164         * src/counters.C: new file
6165         * src/Sectioning.h: new file
6166         * src/Sectioning.C: new file
6167
6168         * src/Makefile.am (lyx_SOURCES): add Sectioning.[hC] and counters.[Ch]
6169
6170 2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6171
6172         * lib/Makefile.am (listerrors): build-listerrors is in ${srcdir},
6173         not always in "."!
6174
6175         * src/paragraph.[Ch] (SimpleTeXSpecialChars): fix the definition of
6176         the last argument.
6177
6178 2000-07-17  Juergen Vigna  <jug@sad.it>
6179
6180         * src/tabular.C (Validate): check if array-package is needed.
6181         (SetVAlignment): added support for vertical alignment.
6182         (SetLTFoot): better support for longtable header/footers
6183         (Latex): modified to support added features.
6184
6185         * src/LaTeXFeatures.[Ch]: added array-package.
6186
6187 2000-07-17  R. Lahaye  <lahaye@postech.ac.kr>
6188
6189         * src/lyx_gui.C (LyXGUI): make sure that the height is large
6190         enough. 
6191
6192 2000-07-17  Kayvan Sylvan <ksylvan@synopsys.com>
6193
6194         * configure.in: do not forget to put a space after -isystem.
6195
6196 2000-07-10  Dekel Tsur  <dekel@math.tau.ac.il>
6197
6198         * lib/kbd/arabic.kmap: a few fixes.
6199
6200 2000-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6201
6202         * some whitespace chagnes to a number of files.
6203         
6204         * src/support/DebugStream.h: change to make it easier for
6205         doc++ to parse correctly.
6206         * src/support/lyxstring.h: ditto
6207
6208         * src/mathed/math_utils.C (compara): change to have only one
6209         operator()
6210         (MathedLookupBOP): change because of the above.
6211
6212         * src/mathed/math_delim.C (math_deco_compare): change to have only
6213         one operator()
6214         (search_deco): change becasue of the above.
6215
6216         * src/insets/insettabular.C (DrawCellSelection): use std::swap
6217         instead of manually coded one.
6218
6219         * src/insets/insetquotes.C (Read): read the \end_inset too
6220
6221         * src/insets/insetlatex.h: remove file
6222         * src/insets/insetlatex.C: remove file
6223         
6224         * src/insets/insetindex.[Ch] (InsetPrintIndex): remove default
6225         constructor 
6226         (InsetPrintIndex): remove destructor
6227
6228         * src/insets/insetinclude.h: remove default constructor
6229
6230         * src/insets/insetfloat.C: work to make it work better
6231
6232         * src/insets/inseterror.[Ch] (InsetError): remove default constructor
6233
6234         * src/insets/insetcite.h (InsetCitation): remove default constructor
6235
6236         * src/insets/insetbutton.[Ch] (InsetButton): remove default constructor
6237
6238         * src/text.C (GetColumnNearX): comment out some currently unused code.
6239
6240         * src/paragraph.C (writeFile): move some initializations closer to
6241         first use.
6242         (CutIntoMinibuffer): small change to use new matchIT operator
6243         (Erase): ditto
6244         (Erase): ditto
6245         (InsertChar): ditto
6246         (InsertInset): ditto
6247         (GetInset): ditto
6248         (GetInset): ditto
6249         (InsetIterator): ditto
6250         (Erase): small change to use new matchFT operator
6251         (InsertChar): ditto
6252         (GetFontSettings): ditto
6253         (HighestFontInRange): ditto
6254         (SetFont): ditto
6255
6256         * src/lyxparagraph.h: some chars changed to value_type
6257         (matchIT): because of some stronger checking (perhaps too strong)
6258         in SGI STL, the two operator() unified to one.
6259         (matchFT): ditto
6260
6261         * src/lyxfunc.C (Dispatch): code to insert InsetFloat improved
6262
6263         * src/buffer.C (parseSingleLyXformat2Token): static string to hold
6264         the last inset read added
6265         (parseSingleLyXformat2Token): some more (future) compability code added
6266         (parseSingleLyXformat2Token): warning about solitary \end_inset added
6267         (parseSingleLyXformat2Token): set last_inset_read
6268         (parseSingleLyXformat2Token): more code to read new "Float" correctly
6269         (parseSingleLyXformat2Token): don't double intializw string next_token
6270
6271         * src/TextCache.C (text_fits::operator()): add const's to the signature
6272         (has_buffer::operator()): ditto
6273
6274         * src/Floating.h: add some comments on the class
6275
6276         * src/FloatList.[Ch] (typeExist): new method
6277         (getType): ditto
6278
6279         * src/BackStack.h: added default constructor, wanted by Gcc.
6280
6281 2000-07-14  Juergen Vigna  <jug@sad.it>
6282
6283         * src/insets/insettext.C (clear): fixed for multiple paragraps/layouts.
6284
6285         * src/frontends/xforms/forms/form_tabular.fd: updated a bit.
6286
6287         * src/insets/insettabular.C (resizeLyXText): need this to be able to
6288         do a redraw when the window is resized!
6289         (LocalDispatch): small fix so LFUN_TAB works only with locked_inset.
6290
6291         * src/insets/insettext.C (resizeLyXText): added function to correctly
6292         being able to resize the LyXWindow.
6293
6294         * src/table.C (Read): fixed read on DOS-lyx-file (lf-lr)
6295
6296 2000-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
6297
6298         * src/frontends/Dialogs.h (hideCitation) : new signal to prevent
6299         crashes when closing dialog to a deleted inset.
6300
6301         * src/insets/insetcite.[Ch] (Edit) : the return of this former
6302         method! Now similar to other insets.
6303
6304 2000-07-13  Juergen Vigna  <jug@sad.it>
6305
6306         * src/text.C (GetVisibleRow): fixed clearing of rows with insets!
6307
6308         * lib/examples/Literate.lyx: small patch!
6309
6310         * src/insets/insetbib.C (Read): added this function because of wrong
6311         Write (without [begin|end]_inset).
6312
6313 2000-07-11  Juergen Vigna  <jug@sad.it>
6314
6315         * src/BufferView2.C (open_new_inset): changed to a bool returnvalue
6316         as the insertInset could not be good!
6317
6318         * src/screen.C (ToggleSelection): fixed toggle selection bug as
6319         the bool param should not be last.
6320
6321 2000-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6322
6323         * sigc++/configure.in: fix bug in threading-related code (Yes, I
6324         did submit that to Karl).
6325
6326         * configure.in: use -isystem instead of -I for X headers. This
6327         fixes a problem on solaris with a recent gcc; 
6328         put the front-end code after the X detection code;
6329         configure in sigc++ before lib/
6330
6331         * src/lyx_main.C (commandLineHelp): remove -display from command
6332         line help.
6333
6334 2000-07-09  Kayvan A. Sylvan  <kayvan@sylvan.com>
6335
6336         * lib/Makefile.am: added lib/build-listerrors to DIST tarfile.
6337         Also put in Makefile rules for building the ``listerrors''
6338         program for parsing errors from literate programs written in LyX.
6339
6340         * lib/build-listerrors: Added small shell script as part of compile
6341         process. This builds a working ``listerrors'' binary if noweb is
6342         installed and either 1) the VNC X server is installed on the machine,
6343         or 2) the user is compiling from within a GUI. The existence of a GUI
6344         is necessary to use the ``lyx --export'' feature for now. This
6345         hack can be removed once ``lyx --export'' no longer requires a GUI to
6346         function.
6347
6348 2000-07-09  Bernard Michael Hurley <bernardh@westherts.ac.uk>
6349
6350         * lib/examples/Literate.lyx, src/Literate.[Ch]: Error messages are
6351         now passed back correctly from gcc and placed "under" error
6352         buttons in a Literate LyX source.
6353
6354 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
6355
6356         * src/text.C (GetColumnNearX): Better behavior when a RTL
6357         paragraph is ended by LTR text.
6358
6359         * src/text2.C (SetCurrentFont,CursorLeftIntern,CursorRightIntern):
6360         Ditto
6361
6362 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
6363
6364         * src/WorkArea.C  (request_clipboard_cb): Set clipboard_read to
6365         true when clipboard is empty.
6366
6367 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
6368
6369         * text.C (Backspace): Prevent rebreaking of a row if it is the last
6370         row of the paragraph.
6371         (SetHeightOfRow): Call to PrepareToPrint with 7th argument = false 
6372         to prevent calculation of bidi tables
6373
6374 2000-07-07  Juergen Vigna  <jug@sad.it>
6375
6376         * src/screen.C (ToggleSelection): added y_offset and x_offset
6377         parameters.
6378
6379         * src/insets/insettext.C (InsetMotionNotify): fixed selection with
6380         mouse.
6381
6382         * src/text.C (GetVisibleRow): fixed selection drawing in insets.
6383
6384         * src/insets/insettext.C: fixed Layout-Display!
6385
6386 2000-07-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * configure.in: add check for strings.h header.
6389
6390         * src/spellchecker.C: include <strings.h> in order to have a
6391         definition for bzero().
6392
6393 2000-07-07  Juergen Vigna  <jug@sad.it>
6394
6395         * src/insets/insettext.C (draw): set the status of the bv->text to
6396         CHANGED_IN_DRAW if top_x changed and so a reinit is necessary.
6397
6398         * src/screen.C (DrawOneRow): 
6399         (DrawFromTo): redraw the actual row if something has changed in it
6400         while drawing.
6401
6402         * src/text.C (draw): call an update of the toplevel-inset if something
6403         has changed inside while drawing.
6404
6405         * src/lyxtext.h: added CHANGED_IN_DRAW status.
6406
6407 2000-07-06  Angus Leeming  <a.leeming@ic.ac.uk>
6408
6409         * src/insets/insetbib.[Ch] (callback) new method, moving callback
6410         processing inside class.
6411
6412         * src/insets/insetindex.[Ch] (callback) new method, moving callback
6413         processing inside class.
6414
6415         * src/insets/insetindex.h new struct Holder, consistent with other
6416         insets.
6417
6418         * src/insets/insetcite.[Ch] and elsewhere: stripped out xforms
6419         citation dialog from main code and placed it in src/frontends/xforms.
6420         Dialog launched through signals instead of callbacks
6421         
6422 2000-07-06  R. Lahaye  <lahaye@postech.ac.kr>
6423
6424         * lyx.man: update the options description.
6425
6426 2000-07-05  R. Lahaye  <lahaye@postech.ac.kr>
6427
6428         * src/lyx_gui.C src/lyx_main.C: improve the -geometry support,
6429         handle neg values, set min width to 590, add doc about -display  
6430
6431 2000-07-05  Juergen Vigna  <jug@sad.it>
6432
6433         * src/insets/lyxinset.h: changed Painter & in ascent(), descent()
6434         calls to BufferView *.
6435
6436         * src/insets/insettext.C (checkAndActivateInset): small fix non
6437         HIGHLY_EDITABLE insets should not be entered by cursor-move-over!
6438
6439         * src/insets/insetcommand.C (Read): Fixed as insets should read till
6440         their \end_inset token!
6441
6442 2000-07-04  edscott  <edscott@imp.mx>
6443
6444         * src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
6445         lib/lyxrc.example: added option \wheel_jump
6446
6447 2000-07-04  R. Lahaye  <lahaye@postech.ac.kr>
6448
6449         * src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
6450         remove support for -width,-height,-xpos and -ypos.
6451
6452 2000-07-01  Dekel Tsur  <dekel@math.tau.ac.il>
6453
6454         * src/encoding.[Ch]: New files.
6455
6456         * src/painter.C (text(int,int,XChar2b const *,...)): New method.
6457         (text): Call to the underline() method only when needed.
6458
6459         * src/font.C (XTextWidth16,width(XChar2b const *,...)): New methods.
6460
6461         * src/buffer.C (makeLaTeXFile): Compute automatically the input
6462           encoding(s) for the document.
6463
6464         * src/bufferparams.C (BufferParams): Changed default value of
6465         inputenc to "auto".
6466
6467         * src/language.C (newLang): Removed.
6468         (items[]): Added encoding information for all defined languages.
6469
6470         * src/lyx_gui.C (create_forms): Added "auto" option to the input
6471         encoding choice button.
6472
6473         * src/lyxrc.h (font_norm_type): New member variable.
6474         (set_font_norm_type): New method.
6475
6476         * src/paragraph.C (TeXOnePar): Put "\inputencoding{}" between
6477         paragraphs with different encodings.  
6478
6479         * src/text.C (is_arabic, is_nikud, TransformChar): Moved to encoding.C
6480         (TransformChar): Changed to work correctly with Arabic points.
6481         (draw): Added support for drawing Arabic points.
6482         (draw): Removed code for drawing underbars (this is done by
6483         the Painter!)
6484
6485         * src/support/textutils.h (IsPrintableNonspace): New function.
6486
6487         * src/BufferView_pimpl.h: Added "using SigC::Object".
6488         * src/LyXView.h: ditto.
6489
6490         * src/insets/insetinclude.h (include_label): Changed to mutable.
6491
6492 2000-07-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6493
6494         * src/mathed/math_iter.h: remove empty destructor
6495
6496         * src/mathed/math_cursor.h: remove empty destructor
6497
6498         * src/insets/lyxinset.h: add THEOREM_CODE
6499
6500         * src/insets/insettheorem.[Ch]: new files 
6501
6502         * src/insets/insetminipage.C: (InsertInset): remove
6503
6504         * src/insets/insetmarginal.C: inherit from InsetFootLike instead
6505         of InsetCollapsable
6506         (InsertInset): remove
6507
6508         * src/insets/insetlist.C: (InsertList): remove
6509
6510         * src/insets/insetfootlike.[Ch]: new files 
6511
6512         * src/insets/insetfoot.C: inherit from InsetFootLike instead of
6513         InsetCollapsable.
6514         (Write): remove
6515         (InsertInset): ditto
6516
6517         * src/insets/insetert.C: remove include Painter.h, reindent
6518         (InsertInset): move to header
6519
6520         * src/insets/insetcollapsable.h: remove explicit from default
6521         contructor, remove empty destructor, add InsertInset
6522
6523         * src/insets/insetcollapsable.C (InsertInset): new func
6524
6525         * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
6526
6527         * src/vspace.h: add explicit to constructor
6528
6529         * src/paragraph.C (SimpleTeXSpecialChars): use \, instead of
6530         \textcompwordmark, please test this.
6531
6532         * src/lyxrc.C: set ascii_linelen to 65 by default
6533
6534         * src/lyxfunc.C (Dispatch): handle LFUN_INSET_THEOREM
6535
6536         * src/commandtags.h: add LFUN_INSET_THEOREM
6537
6538         * src/buffer.C (parseSingleLyXformat2Token): handle insettheorem
6539         (makeLinuxDocFile): remove _some_ of the nice logic
6540         (makeDocBookFile): ditto
6541
6542         * src/Painter.[Ch]: (~Painter): removed
6543
6544         * src/LyXAction.C (init): entry for insettheorem added
6545
6546         * src/LaTeX.C: get rid of the all_files array, and the TEX_FILES
6547         enum
6548         (deplog): code to detect files generated by LaTeX, needs testing
6549         (deptex): removed
6550
6551 2000-07-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
6552
6553         * src/FloatList.[Ch]: moved inlines out of line to FloatList.C
6554
6555 2000-07-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6556
6557         * src/LaTeX.C (deplog): Add a check for files that are going to be
6558         created by the first latex run, part of the project to remove the
6559         all_files array.
6560
6561         * src/LaTeX.[Ch]: Patch from Baruch to add hebrew table of
6562         contents to the extension list.
6563
6564 2000-07-04  Juergen Vigna  <jug@sad.it>
6565
6566         * src/text.C (NextBreakPoint): added support for needFullRow()
6567
6568         * src/insets/lyxinset.h: added needFullRow()
6569
6570         * src/insets/insetcollapsable.C: redone now this uses a text-inset
6571         and isn't one.
6572
6573         * src/insets/insettext.C: lots of changes for update!
6574
6575 2000-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6576
6577         * src/LaTeXFeatures.h: add a missing std:: qualifier.
6578
6579 2000-07-02 José Abílio Matos <jamatos@fep.up.pt>
6580
6581         *  src/insets/insetinclude.C (InsetInclude): fixed
6582         initialization of include_label.
6583         (unique_id): now returns a string.
6584
6585 2000-07-01 José Abílio Matos <jamatos@fep.up.pt>
6586
6587         * src/LaTeXFeatures.h: new member IncludedFiles, for
6588         a map of key, included file name.
6589
6590         * src/LaTeXFeatures.C (getIncludedFiles): returns a string
6591         with the included files for inclusion in SGML preamble,
6592         i. e., linuxdoc and docbook.
6593
6594         * src/buffer.h:
6595         * src/buffer.C (makeLinuxDocFile): takes two new arguments,
6596         nice (is the generated linuxdoc code to be exported?), that
6597         allows to remove column, and only_body that will be true for
6598         slave documents. Insets are allowed inside SGML font type.
6599         New handling of the SGML preamble for included files.
6600         (makeDocBookFile): the same for docbook.
6601
6602         * src/insets/insetinclude.h:
6603         * src/insets/insetinclude.C (Validate): keeps a list of included files.
6604         (Linuxdoc): 
6605         (DocBook): new export methods.
6606
6607         * src/lyx_cb.C: adjust to the new calling sequence for makeLinuxDocFile
6608         and makeDocBookFile.
6609
6610         * src/lyx_main.C (easyParse): accept linuxdoc and docbook as
6611         formats to export with command line argument -x.
6612
6613 2000-06-29  Juergen Vigna  <jug@sad.it>
6614
6615         * src/mathed/formula.C (LocalDispatch): changed only-cursor-movements
6616         to return DISPATCHED_NOUPDATE so that a it does not redraw the inset!
6617
6618         * src/text.C (GetVisibleRow): added 'bool cleared' parameter as the
6619         region could already been cleared by an inset!
6620
6621 2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6622
6623         * src/BufferView_pimpl.h: remove member variables lyx_focus and
6624         work_area_focus
6625
6626         * src/BufferView_pimpl.C (Pimpl): delete init of work_area_focus
6627         and lyx_focus
6628         (cursorToggle): remove special handling of lyx focus.
6629
6630 2000-06-28  Juergen Vigna  <jug@sad.it>
6631
6632         * src/text.C (GetVisibleRow): fixed clearing of text if rowHeight >
6633         insetHeight.
6634
6635 2000-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6636
6637         * src/insets/insetindex.C (Edit): add a callback when popup is
6638         closed by the WM.
6639
6640         * src/insets/insettext.C (LocalDispatch): 
6641         * src/insets/insetmarginal.h: 
6642         * src/insets/insetlist.h: 
6643         * src/insets/insetfoot.h: 
6644         * src/insets/insetfloat.h: 
6645         * src/insets/insetert.h: add a missing std:: qualifier.
6646
6647 2000-06-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6648
6649         * src/support/lyxsum.C (sum): '\0' teminate file read when using
6650         strstream. 
6651
6652         * src/insets/lyxinset.h: add FLOAT_CODE and MINIPAGE_CODE
6653
6654         * src/insets/insettext.C (Read): remove tmptok unused variable
6655         (LocalDispatch): add not working LFUN_PARAGRAPH_SPACING
6656         (InsertInset): change for new InsetInset code
6657
6658         * src/insets/insettext.h: add TEXT inline method
6659
6660         * src/insets/insettext.C: remove TEXT macro
6661
6662         * src/insets/insetmarginal.C (Write): new method
6663         (Latex): change output slightly
6664
6665         * src/insets/insetfoot.C (Write): new method
6666         (Latex): change output slightly (don't use endl when no need)
6667
6668         * src/insets/insetert.C (Write): new method
6669
6670         * src/insets/insetcollapsable.h: make button_length, button_top_y
6671         and button_bottm_y protected.
6672
6673         * src/insets/insetcollapsable.C (Write): simplify code by using
6674         tostr. Also do not output the float name, the children class
6675         should to that to get control over own arguments
6676
6677         * src/insets/insetfloat.[Ch] src/insets/insetlist.[Ch]
6678         src/insets/insetminipage.[Ch]:
6679         new files
6680
6681         * src/insets/Makefile.am (libinsets_la_SOURCES): add new files
6682         
6683         * src/lyxfunc.C (Dispatch): cases for new insets/commands
6684
6685         * src/Makefile.am (lyx_SOURCES): add the new files
6686
6687         * src/LyXAction.C (init): add LFUN_INSET_MARGINAL,
6688         LFUN_INSET_MINIPAGE, LFUN_INSET_FLOAT, LFUN_INSET_LIST
6689         * src/commandtags.h: ditto
6690         
6691         * src/LaTeXFeatures.h: add a std::set of used floattypes
6692
6693         * src/LaTeXFeatures.C (getPackages): add basic support for float.sty
6694
6695         * src/FloatList.[Ch] src/Floating.h: new files
6696
6697         * src/CutAndPaste.C (SwitchLayoutsBetweenClasses): change call to
6698         InsertInset. 
6699         * src/lyx_cb.C (TableApplyCB): ditto
6700         * src/text.C: ditto
6701         * src/text2.C: ditto
6702         * src/buffer.C (SimpleLinuxDocOnePar): ditto
6703         (parseSingleLyXformat2Token): ditto + add code for
6704         backwards compability for old float styles + add code for new insets
6705         
6706         * src/lyxparagraph.[Ch] (InsertChar(size_type, char, LyXFont)): new
6707         method
6708         (InsertInset(size_type, Inset *, LyXFont)): new method
6709         (InsetChar(size_type, char)): changed to use the other InsetChar
6710         with a LyXFont(ALL_INHERIT).
6711         (InsetInset(size_type, Inset*)): changed to use InsetChar to
6712         insert the META_INSET.
6713         
6714         * sigc++/thread.cc (Privete<int>::operator int&): move definition
6715         out of line. 
6716         * sigc++/thread.h (Threads): from here
6717
6718         * sigc++/scope.cc (ScopeIterator_::ScopeIterator_): move
6719         definition out of line
6720         * sigc++/scope.h: from here
6721
6722 2000-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6723
6724         * src/lyxrc.C (read): make sure the .kmap files exist when a keymap
6725         is specified (adapted from a patch from edscott <edscott@imp.mx>).
6726
6727         * Makefile.am (bindist): new target.
6728
6729         * INSTALL: add instructions for doing a binary distribution.
6730
6731         * development/tools/README.bin.example: update a bit. 
6732
6733 2000-06-26  Lior Silberman <slior@math.huji.ac.il>
6734
6735         * src/lyxrc.C: 
6736         * lib/lyxrc.example: new lyxrc tag \set_color.
6737
6738         * src/lyxfunc.C (Dispatch): 
6739         * src/commandtags.h: 
6740         * src/LyXAction.C: new lyxfunc "set-color".
6741
6742         * src/LColor.[Ch] (setColor): new method to set colors from a lyxname
6743         and an x11name given as strings.
6744
6745         * src/ColorHandler.[Ch] (updateColor): new method. Updates the GC
6746         cache when a color is changed.
6747
6748 2000-06-26  Juergen Vigna  <jug@sad.it>
6749
6750         * src/lyxrow.C (width): added this functions and variable.
6751
6752         * src/insets/insetcite.C (create_form_citation_form): some Gravity
6753         changes.
6754
6755         * src/text.C (SetHeightOfRow): fixed calcualting of width.
6756
6757 2000-06-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6758
6759         * images/undo_bw.xpm: new icon.
6760         * images/redo_bw.xpm: ditto.
6761
6762         * configure.in (INSTALL_SCRIPT): change value to
6763         ${INSTALL} to avoid failures of install-script target.
6764         * lib/reLyX/configure.in (INSTALL_SCRIPT): ditto
6765
6766         * src/BufferView.h: add a magic "friend" declaration to please
6767         compaq cxx.
6768
6769 2000-06-23  Angus Leeming <a.leeming@ic.ac.uk>
6770
6771         * forms/cite.fd: modified to allow resizing without messing
6772         up the dialog.
6773
6774         * src/insetcite.C: Uses code from cite.fd almost without
6775         tweaking. ;-)
6776         User can now resize dialog in the x-direction.
6777         Resizing the dialog in the y-direction is prevented, as the
6778         code does this intelligently already.
6779
6780 2000-06-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6781
6782         * INSTALL: remove obsolete entry in "problems" section.
6783
6784         * lib/examples/sl_*.lyx: update of the slovenian examples.
6785
6786         * src/support/FileInfo.[Ch] (getBlockSize): remove.
6787
6788 2000-06-23  Juergen Vigna  <jug@sad.it>
6789
6790         * src/lyxtext.h: added a 'cleared' flag to draw() function.
6791
6792         * src/buffer.C (resize): delete the LyXText of textinsets.
6793
6794         * src/paragraph.C (SetInsetOwner): set the owner in the insets too.
6795
6796         * src/insets/lyxinset.h: added another parameter 'cleared' to
6797         the draw() function.
6798
6799         * src/lyxfunc.C (processKeyEvent): move cursor to the right of the
6800         unlocking inset in inset.
6801
6802 2000-06-22  Juergen Vigna  <jug@sad.it>
6803
6804         * src/lyxscreen.h: added some y_offset/x_offset parameters for drawings
6805         of insets and moved first to LyXText.
6806
6807         * src/mathed/formulamacro.[Ch]:
6808         * src/mathed/formula.[Ch]: changed prototype of draw() and GetCursorPos
6809
6810 2000-06-21  Juergen Vigna  <jug@sad.it>
6811
6812         * src/text.C (GetVisibleRow): look if I should clear the area or not
6813         using Inset::doClearArea() function.
6814
6815         * src/insets/lyxinset.h: added doClearArea() function and
6816         modified draw(Painter &, ...) to draw(BufferView *, ...)
6817
6818         * src/text2.C (UpdateInset): return bool insted of int
6819
6820 2000-06-20  Dekel Tsur  <dekel@math.tau.ac.il>
6821
6822         * src/lyx_gui.C (create_forms): Add "Reset" option to the language 
6823         combox in the character popup
6824
6825         * src/lyx_cb.C (UserFreeFont): Add argument to the method:
6826         BufferParams const & params
6827
6828 2000-06-20  Juergen Vigna  <jug@sad.it>
6829
6830         * src/insets/insettext.C (SetParagraphData): set insetowner on
6831         2- paragraphs.
6832
6833 2000-06-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
6834
6835         * src/Timeout.[Ch]: Change to use signals instead of callbacks.
6836         * src/LyXView.h (struct FD_form_main): remove, LyXView inherits
6837         from SigC::Object
6838         (form_main_): remove
6839         
6840         * src/LyXView.C (LyXView_AutosaveTimerCB): remove 
6841         (create_form_form_main): remove FD_form_main stuff, connect to
6842         autosave_timeout signal
6843
6844         * src/LyXView.[Ch] (getMainForm): remove 
6845         (UpdateTimerCB): remove
6846         * src/BufferView_pimpl.h: inherit from SigC::Object
6847
6848         * src/BufferView_pimpl.C (Pimpl): connect to cursor_timeout with
6849         signal instead of callback
6850
6851         * src/BufferView.[Ch] (cursorToggleCB): remove 
6852
6853 2000-06-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
6854
6855         * src/BufferView_pimpl.C: changes because of the one below
6856
6857         * src/screen.[Ch]: Made the lyxscreen take LyXText as argument
6858         instead of storing a pointer to a LyXText. 
6859
6860         * src/buffer.[Ch]: apply Baruch's remove isdviclean patch. 
6861
6862 2000-06-10  Dekel Tsur  <dekel@math.tau.ac.il>
6863
6864         * src/lyxparagraph.h
6865
6866         * src/paragraph.C: Changed fontlist to a sorted vector.
6867
6868 2000-06-19  Juergen Vigna  <jug@sad.it>
6869
6870         * src/BufferView.h: added screen() function.
6871
6872         * src/insets/insettext.C (LocalDispatch): some selection code
6873         fixed.
6874
6875         * src/vspace.C (nextToken): use stringfunctions instead of sscanf.
6876
6877         * src/insets/insettext.C (SetParagraphData):
6878         (Read): 
6879         (InsetText):  fixes for multiple paragraphs.
6880
6881 2000-06-17  Kayvan A. Sylvan  <kayvan@sylvan.com>
6882
6883         * development/lyx.spec.in: Call configure with ``--without-warnings''
6884         to work around a bug with the Makefiles when doing ``make lyxrpm''.
6885         This should be fine, however, since we generally don't want to be
6886         verbose when making an RPM.
6887         
6888 2000-06-16  Dekel Tsur  <dekel@math.tau.ac.il>
6889
6890         * lib/scripts/fig2pstex.py: New file
6891
6892 2000-06-16  Juergen Vigna  <jug@sad.it>
6893
6894         * src/insets/insettabular.C (UpdateLocal): 
6895         * src/insets/insettext.C (UpdateLocal): fixed mark_dirty problem.
6896         (LocalDispatch): Changed all functions to use LyXText.
6897
6898 2000-06-15  Juergen Vigna  <jug@sad.it>
6899
6900         * src/text.C (SetHeightOfRow): call inset::update before requesting
6901         any width/height.
6902
6903         * src/insets/insettext.C (update): 
6904         * src/insets/insettabular.C (update): added implementation
6905
6906         * src/insets/lyxinset.h: added update function
6907
6908 2000-06-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6909
6910         * src/text.C (SelectNextWord): protect against null pointers with
6911         old-style string streams. (fix from Paul Theo Gonciari
6912         <gptheo@yahoo.com>) 
6913
6914         * src/cite.[Ch]: remove erroneous files.
6915
6916         * lib/configure.m4: update the list of created directories.
6917
6918         * src/lyxrow.C: include <config.h>
6919         * src/lyxcursor.C: ditto.
6920
6921 2000-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6922
6923         * lib/examples/decimal.lyx: new example file from Mike.
6924
6925         * src/insets/ExternalTemplate.C (readTemplates): Use LibFileSearch()
6926         to find template definitions (from Dekel)
6927
6928         * src/frontends/.cvsignore: add a few things.
6929
6930         * src/frontends/xforms/input_validators.[ch]: remove C++ comments.
6931
6932         * src/Timeout.C (TimeOut): remove default argument.
6933
6934         * src/LyXView.C (LyXView_AutosaveTimerCB): this should not have
6935         "C" linkage.
6936
6937         * src/insets/ExternalTemplate.C: add a "using" directive.
6938
6939         * src/lyx_main.h: remove the act_ struct, which seems unused
6940         anyway. 
6941
6942 2000-06-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
6943
6944         * LyX Developers Meeting: All files changed, due to random C++ (by
6945         coincidence) code generator script.
6946
6947         - external inset (cool!)
6948         - initial online editing of preferences
6949         - insettabular breaks insettext(s contents)
6950         - cleanup
6951         - some DocBook fixes
6952         - example files update
6953         - other cool stuff, create a diff and look for yourself.
6954
6955 2000-06-09  The Great LyX Application  <lyx@localhost.localdomain>
6956
6957         * src/insets/insettext.C (computeTextRows): if the maxWidth is
6958         -1 this is a non-line-breaking textinset.
6959
6960         * src/insets/insettabular.C (GetMaxWidthOfCell): returns now -1
6961         if there is no width set.
6962
6963 2000-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6964
6965         * Lots of files: Merged the dialogbase branch.
6966
6967 2000-06-09  Allan Rae  <rae@lyx.org>
6968
6969         * src/xtl/, src/lyxfunc.[Ch], src/buffer.[Ch]:  Removed XTL and
6970         and the Dispatch methods that used it.
6971
6972         * src/frontends/Liason.[Ch]: replaced with a Liason namespace for 
6973         access to functions formerly kept in Dispatch.
6974
6975 2000-05-19  Allan Rae  <rae@lyx.org>
6976
6977         * src/PrinterParams.h, src/buffer.C, src/frontends/xforms/FormPrint.C:
6978         made to_page and count_copies integers again.  from_page remains a
6979         string however because I want to allow entry of a print range like
6980         "1,4,22-25" using this field.
6981
6982         * src/LyXAction.C: added action info and commands for buffer-print-xtl
6983         and printer-params-get.  These aren't useful from the minibuffer but
6984         could be used by a script/LyXServer app provided it passes a suitable
6985         auto_mem_buffer.  I guess I should take a look at how the LyXServer
6986         works and make it support xtl buffers.
6987
6988         * sigc++/: updated to libsigc++-1.0.1
6989
6990         * src/xtl/: updated to xtl-1.3.pl.11
6991
6992         * forms/makefile, forms/fdfix.sh, forms/layout_forms.fd: Made sure
6993         those changes done to the files in src/ are actually recreated when
6994         they  get regenerated. Please don't ever accept a patch that changes a
6995         dialog unless that patch includes the changes to the corresponding *.fd
6996         file.
6997
6998         * src/lyx_cb.C, src/support/lstrings.[hC]: Moved Stephen Witt's
6999         stringOnlyContains, renamed it and generalised it.
7000
7001         * lots-of-files: Rolled the "rae" branch over into the "dialogbase"
7002         branch.  Removed the remaining old form_print code.
7003
7004 2000-04-26  Allan Rae  <rae@lyx.org>
7005
7006         * ChangeLog, development/tools/lxtl.sh: D'oh! Got caught in the same
7007         trap I was trying to fix with the ID: fields in src/xtl/  :-)
7008
7009 2000-04-25  Allan Rae  <rae@lyx.org>
7010
7011         * src/xtl/: Updated to incorporate Angus's two patches as well as mine
7012         against a base of xtl-1.3.pl.4
7013
7014         * development/tools/lxtl.sh: fixed a couple of silly typos and now
7015         filter the Id: entries so they still show the xtl version number
7016         they are based on.
7017
7018         * src/support/lxtl.h: removed auto_mem_buffer which is now incorporated
7019         into the src/xtl code.  Patch still pending with José (XTL)
7020
7021 2000-04-24  Allan Rae  <rae@lyx.org>
7022
7023         * src/lyxfunc.[Ch] (Dispatch): Use a mem buffer as a parameter. This is
7024         both more generic and much safer. Use the new template functions.
7025         * src/buffer.[Ch] (Dispatch): ditto.
7026
7027         * src/frontends/xforms/FormPrint.C (update): Use new template functions
7028         and mem buffer more intelligently. Also a little general cleanup.
7029         (apply): ditto.
7030
7031         * configure.in (AC_OUTPUT): Extra stuff for xtl that I forgot.
7032         * development/tools/lxtl.sh: Ditto.  Makefile.am + .cvsignore
7033         * src/xtl/Makefile.am: ditto.
7034         * src/xtl/.cvsignore: ditto.
7035         * src/Makefile.am: ditto.
7036
7037         * src/PrinterParams.h: Removed the macros member functions. Added a
7038         testInvariant member function.  A bit of tidying up and commenting.
7039         Included Angus's idea for fixing operation with egcs-1.1.2.
7040
7041         * src/support/lxtl.h: Many changes.  Added auto_mem_buffer -- a really
7042         cool expansion of XTL's mem_buffer to support automatic memory
7043         management within the buffer itself.  Removed the various macros and
7044         replaced them with template functions that use either auto_mem_buffer
7045         or mem_buffer depending on a #define.  The mem_buffer support will
7046         disappear as soon as the auto_mem_buffer is confirmed to be good on
7047         other platforms/compilers.  That is, it's there so you've got something
7048         to compare against.
7049
7050         * src/xtl/objio.h: Changes to support auto_mem_buffer.  This has
7051         effectively forked XTL.  However I expect José will include my code
7052         into the next major release.  Also fixed a memory leak.
7053         * src/xtl/text.h: ditto.
7054         * src/xtl/xdr.h: ditto.
7055         * src/xtl/giop.h: ditto.
7056
7057 2000-04-16  Allan Rae  <rae@lyx.org>
7058
7059         * acinclude.m4, sigc++/acinclude.m4:  Removed -- they're generated
7060         by autogen.sh and removed by maintainer-clean anyway.
7061         * .cvsignore, sigc++/.cvsignore:  Support the above.
7062
7063         * sigc++/.cvsignore: Forgot that retbind.h was generated.
7064
7065         * src/buffer.C (Dispatch): Couldn't print a single page. Fixed.
7066
7067         * src/frontends/xforms/FormPrint.[Ch]: Switched to C callbacks using
7068         macros, renamed static callback-target member functions to suit new
7069         scheme and made them public.
7070         * src/frontends/xforms/forms/form_print.fd: ditto.
7071         * src/frontends/xforms/forms/form_copyright.fd: ditto.
7072
7073         * src/support/lxtl.h: small cleanup to use typedef instead of #define
7074         for gui_format.
7075
7076         * src/xtl/: New directory containing a minimal distribution of XTL.
7077         This is XTL-1.3.pl.4.
7078
7079         * development/tools/lxtl.sh: A script to generate the above mini-dist.
7080
7081 2000-04-15  Allan Rae  <rae@lyx.org>
7082
7083         * development/tools/makeLyXsigc.sh: Remove the library version numbers
7084
7085         * sigc++/:  Updated to libsigc++-1.0.0
7086
7087 2000-04-14  Allan Rae  <rae@lyx.org>
7088
7089         * src/frontends/xforms/xform_macros.h: Remove specific macros and just
7090         use the generic ones in future.  I'll modify my conversion script.
7091
7092         * src/frontends/xforms/FormCopyright.C: Reverse the earlier change.
7093
7094         * src/lyx_gui_misc.[Ch]: Removed references to form_print.
7095         (CloseAllBufferRelatedDialogs): Renamed.
7096         (updateAllVisibleBufferRelatedDialogs): ditto. Added LaTeXLog
7097
7098         * src/frontends/xforms/FormCopyright.C: Use the specific macros instead
7099         of the generic ones.  These are the same ones my conversion script
7100         generates.
7101
7102         * src/PrinterParams.h: Allow you to print a range of odd or even pages.
7103         * src/frontends/xforms/FormPrint.C (apply, update): ditto+small cleanup
7104         * src/buffer.C (Dispatch): ditto
7105
7106         * src/LyXView.C (LyXView): Use new signals instead of old hard coded
7107         functions for updating and hiding buffer dependent dialogs.
7108         * src/BufferView.C (buffer): ditto
7109         * src/buffer.C (setReadonly): ditto
7110         * src/lyxfunc.C (CloseBuffer): ditto
7111
7112         * src/buffer.h: Take setReadonly() out of line so I don't have to include
7113         Dialogs.h, and hence all the SigC stuff, into every file that includes
7114         buffer.h.  We also don't need to include lyx_gui_misc.h in everything.
7115
7116         * src/BufferView2.C: reduce the number of headers included by buffer.h
7117
7118 2000-04-11  Allan Rae  <rae@lyx.org>
7119
7120         * src/frontends/xforms/xform_macros.h:  A small collection of macros
7121         for building C callbacks.
7122
7123         * src/frontends/xforms/Makefile.am: Added above file.
7124
7125         * src/frontends/xforms/FormCopyright.[Ch]: Revised the C callback
7126         scheme again.  This time it should work for JMarc.  If this is
7127         successful I'll revise my conversion script to automate some of this.
7128         The static member functions in the class also have to be public for
7129         this scheme will work.  If the scheme works (it's almost identical to
7130         the way BufferView::cursorToggleCB is handled so it should work) then
7131         FormCopyright and FormPrint will be ready for inclusion into the main
7132         trunk immediately after 1.1.5 is released -- provided we're prepared
7133         for complaints about lame compilers not handling XTL.
7134
7135         * src/support/lxtl.h: Switched to XDR_format instead of raw_format.
7136
7137 2000-04-07  Allan Rae  <rae@lyx.org>
7138
7139         * config/lyxinclude.m4:  A bit more tidying up (Angus)
7140
7141         * src/LString.h: JMarc's <string> header fix
7142
7143         * src/PrinterParams.h: Used string for most data to remove some
7144         ugly code in the Print dialog and avoid even uglier code when 
7145         appending the ints to a string for output.
7146
7147         * src/buffer.C (Dispatch): Added a couple of braces to fix an error
7148         and moved "default:" back to the end of switch statement.  Cleaned
7149         up the printing so it uses the right function calls and so the
7150         "print to file" option actually puts the file in the right directory.
7151
7152         * src/frontends/xforms/Dialogs.C: Added FormPrint (Angus).
7153
7154         * src/frontends/xforms/FormPrint.C (PrintInputCB): moved input checking
7155         and Ok+Apply button control into a separate method: input (Angus).
7156         (input) Cleaned it up and improved it to be very thorough now.
7157         (All CB) static_cast used instead of C style cast (Angus).  This will
7158         probably change again once we've worked out how to keep gcc-2.8.1 happy
7159         with real C callbacks.
7160         (update) add a few "default:" labels to switches. Egcs-1.1.2 seems to
7161         ignore some of the bool settings and has random numbers instead. Needs
7162         some more investigation.  Added other input length checks and checking
7163         of file and printer names.
7164
7165         * src/frontends/xforms/FormPrint.h: Removed pragma statement so it
7166         would link (Angus).  Seems the old code doesn't compile with the pragma
7167         statement either.  Separated callback entries from internal methods.
7168
7169         * src/lyxfunc.C (Dispatch): LFUN_MENUPRINT calls new dialog (Angus).
7170
7171 2000-03-17  Allan Rae  <rae@lyx.org>
7172
7173         * src/lyxfunc.[Ch] (isAvailable): This is only temporary.  Do we really
7174         need it?  Maybe it could go in Dialogs instead?  I could make it a
7175         LFUN but you'd have to call Dispatch(int, int, char*) with dummy
7176         values to get the bool return value.
7177         (Dispatch): New overloaded method for xtl support.
7178
7179         * src/frontends/xforms/FormCopyright.[Ch]: Modified to use a friendly
7180         extern "C" callback instead of static member functions.  Hopefully,
7181         JMarc will be able to compile this.  I haven't changed 
7182         forms/form_copyright.fd yet. Breaking one of my own rules already.
7183
7184         * src/commandtags.h: New xtl-based LFUN's no description in LyXAction
7185         because they aren't useful from the minibuffer.  Maybe a LyXServer
7186         might want a help message though?
7187
7188         * src/buffer.[Ch] (Dispatch): New overloaded method for xtl support.
7189
7190         * config/lyxinclude.m4: Changes to g++ flags to suit compiling with
7191         xtl which needs both rtti and exceptions.
7192
7193         * src/support/Makefile.am:
7194         * src/support/lxtl.h: New file.  Some helper macros for using XTL.
7195
7196         * src/frontends/xforms/input_validators.[ch]: input filters and
7197         validators.  These conrol what keys are valid in input boxes.
7198         Use them and write some more.  Much better idea than waiting till
7199         after the user has pressed Ok to say that the input fields don't make
7200         sense.
7201
7202         * src/frontends/xforms/Makefile.am:
7203         * src/frontends/xforms/forms/form_print.fd:
7204         * src/frontends/xforms/forms/makefile:
7205         * src/frontends/xforms/FormPrint.[Ch]: Ported previous print form to
7206         new scheme.  Still have to make sure I haven't missed anything from
7207         the current implementation.
7208
7209         * src/Makefile.am, src/PrinterParams.h: New data store.
7210
7211         * other files: Added a couple of copyright notices.
7212
7213 2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7214
7215         * src/insets/insetbib.h: move Holder struct in public space.
7216
7217         * src/frontends/include/DialogBase.h: use SigC:: only when
7218         SIGC_CXX_NAMESPACES is defined.
7219         * src/frontends/include/Dialogs.h: ditto.
7220
7221         * sigc++/Makefile.am (%.h): use the autodected GNU m4.
7222
7223         * src/frontends/xforms/FormCopyright.[Ch]: do not
7224         mention SigC:: explicitely.
7225
7226 2000-03-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7227
7228         * config/lyxinclude.m4 (LYX_USE_FRONTEND): move the code which
7229         deals with testing KDE in main configure.in
7230         * configure.in: ditto.
7231
7232 2000-02-22  Allan Rae  <rae@lyx.org>
7233
7234         * Lots of files: Merged from HEAD
7235
7236         * All Makefile.am (ETAGS_ARGS): use parameter that is also compatible
7237         with the etags shipped with SuSE-6.3 (fancier than gnu-etags).
7238
7239         * autogen.sh: Fix JMarcs complaints by building a sigc++/acinclude.m4
7240
7241         * sigc++/: new minidist.
7242
7243 2000-02-14  Allan Rae  <rae@lyx.org>
7244
7245         * development/tools/makeLyXsigc.sh:  Small fix for Makefile.am
7246
7247 2000-02-08  Juergen Vigna  <jug@sad.it>
7248
7249         * src/frontends/kde/dlg/formcopyrightdialog.kdevdlg: the dialog data
7250         file for the buildin GUI builder of KDevelop of the copyright-dialog.
7251
7252         * src/frontends/kde/lyxgui.kdevprj: I added this as I use KDevelop
7253         for this port and so it is much easier for other people to port
7254         dialogs in a common development environment.
7255
7256         * src/frontends/kde/formcopyrightdialog_moc.C: needed MOC file for
7257         the QT/KDE implementation.
7258
7259         * src/frontends/kde/Dialogs.C:
7260         * src/frontends/kde/FormCopyright.C:
7261         * src/frontends/kde/FormCopyright.h:
7262         * src/frontends/kde/Makefile.am:
7263         * src/frontends/kde/formcopyrightdialog.C:
7264         * src/frontends/kde/formcopyrightdialog.h:
7265         * src/frontends/kde/formcopyrightdialogdata.C: added this source-files
7266         for the kde support of the Copyright-Dialog.
7267
7268         * src/frontends/Makefile.am (AUTOMAKE_OPTIONS): now uses @FRONTEND@
7269         subdir-substitution instead of hardcoded 'xforms' as we now have also
7270         the kde subdir.
7271
7272         * src/frontends/include/DialogBase.h (Object): just commented the
7273         label after #endif (nasty warning and I don't like warnings ;)
7274
7275         * src/main.C (main): added KApplication initialization if using
7276         KDE frontend-GUI.
7277
7278         * src/lyx_gui.C (runTime): added support for multiple toolkit support.
7279         For now only the KDE event-loop is added if frontend==kde.
7280
7281         * src/Makefile.am (lyx_DEPENDENCIES): added @FRONTEND_xxx@ support
7282
7283         * configure.in: added support for the --with-frontend[=value] option
7284
7285         * autogen.sh: added kde.m4 file to list of config-files
7286
7287         * acconfig.h: added define for KDEGUI-support
7288
7289         * config/kde.m4: added configuration functions for KDE-port
7290
7291         * config/lyxinclude.m4: added --with-frontend[=value] option with
7292         support for xforms and KDE.
7293
7294 2000-02-08  Allan Rae <rae@lyx.org>
7295
7296         * all Makefile.am:  Fixed up so the make targets dist, distclean, 
7297         install and uninstall all work even if builddir != srcdir.  Still
7298         have a new sigc++ minidist update to come.
7299
7300         * config/lyxinclude.m4: Some more builddir!=srcdir fixes.
7301
7302 2000-02-01  Allan Rae <rae@lyx.org>
7303
7304         * config/lyxinclude.m4, development/tools/makeLyXsigc.sh:
7305         Many mods to get builddir != srcdir working.
7306         
7307         * sigc++/: Upgraded to 0.8.7.  This includes many needed fixes both
7308         for building on NT and so we can do the builddir != srcdir stuff.
7309
7310 2000-01-30  Allan Rae <rae@lyx.org>
7311
7312         * sigc++/doc/*: Selected documentation for the libsigc++ mini dist.
7313         This will stay in "rae" branch.  We probably don't really need it in
7314         the main trunk as anyone who wants to help programming it should get
7315         a full library installed also.  So they can check both included and
7316         system supplied library compilation.
7317
7318         * sigc++/*, sigc++/macros/*, config/sigc++.m4, config/lyxinclude.m4:
7319         Added a 'mini' distribution of libsigc++.  If you feel the urge to 
7320         change something in these directories - Resist it.  If you can't 
7321         resist the urge then you should modify the following script and rebuild
7322         the dist.  LYX_WITH_SIGC in lyxinclude.m4 is the wrapper to make it
7323         all happen.  Still uses a hacked version of libsigc++'s configure.in.
7324         I'm quite happy with the results.  I'm not sure the extra work to turn
7325         the sigc++/configure.in into a few extra AC_DEFUNs in sigc++.m4 is
7326         worth the trouble and would probably lead to extra maintenance 
7327         headaches.
7328         I haven't tested the following important make targets: install, dist.
7329         Not ready for prime time but very close.  Maybe 1.1.5.
7330
7331         * development/tools/makeLyXsigc.sh:  A shell script to automatically
7332         generate our mini-dist of libsigc++.  It can only be used with a CVS
7333         checkout of libsigc++ not a tarball distribution.  It's well commented.
7334         This will end up as part of the libsigc++ distribution so other apps
7335         can easily have an included mini-dist.  If someone makes mods to the
7336         sigc++ subpackage without modifying this script to generate those
7337         changes I'll be very upset!
7338
7339         * src/frontends/:  Started the gui/system indep structure.
7340
7341         * src/frontends/include/Dialogs.h: Dialog container. All the Signal<>s
7342         to access the gui-indep dialogs are in this class.  Much improved
7343         design compared to previous revision.  Lars,  please refrain from
7344         moving this header into src/ like you did with Popups.h last time.
7345
7346         * src/frontends/include/DialogBase.h: Abstract base class for dialogs.
7347
7348         * src/frontends/xforms/:  Started the gui-indep system with a single
7349         dialog: FormCopyright.  Initial testing of use of libsigc++ was very
7350         successful.
7351
7352         * src/frontends/xforms/forms: Repository for the xforms .fd files.
7353         Here you'll find a very useful makefile and automated fdfix.sh that
7354         makes updating dailogs a no-brainer -- provided you follow the rules
7355         set out in the README.  I'm thinking about adding another script to
7356         automatically generate skeleton code for a new dialog given just the
7357         name of the dialog.
7358
7359         * src/commandtags.h, src/lyxfunc.C, src/menus.C:
7360         * src/credits.{Ch}, src/credits_form.{Ch}, forms/credits_form.fd:
7361         Made FormCopyright gui-indep and added a lyxfunc to get to it.
7362
7363 2000-06-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
7364
7365         * src/support/LSubstring.C (operator): simplify
7366
7367         * src/lyxtext.h: removed bparams, use buffer_->params instead
7368         
7369         * src/lyxrow.h: make Row a real class, move all variables to
7370         private and use accessors.
7371
7372         * src/lyxparagraph.h (getParLanguage): add BufferParamas as
7373         arguament.
7374         (isRightToLeftPar): ditto
7375         (ChangeLanguage): ditto
7376         (isMultiLingual): ditto
7377         (String): ditto
7378         (TeXOnePar): ditto
7379         (SimpleTeXOnePar): ditto
7380         (TeXEnvironment): ditto
7381         (GetEndLabel): ditto
7382         (SetLayout): ditto
7383         (SetOnlyLayout): ditto
7384         (BreakParagraph): ditto
7385         (BreakParagraphConservative): ditto
7386         (GetFontSettings): ditto
7387         (getFont): ditto
7388         (CopyIntoMinibuffer): ditto
7389         (CutIntoMinibuffer): ditto
7390         (PasteParagraph): ditto
7391         (SetPExtraType): ditto
7392         (UnsetPExtraType): ditto
7393         (DocBookContTableRows): ditto
7394         (SimpleDocBookOneTablePar): ditto
7395         (TeXDeeper): ditto
7396         (TeXFootnote): ditto
7397         (SimpleTeXOneTablePar): ditto
7398         (TeXContTableRows): ditto
7399         (SimpleTeXSpecialChars): ditto
7400         
7401
7402         * src/lyxcursor.h: make LyXCursor a real class, move all variables
7403         to private and use accessors.
7404
7405         * src/lyx_cb.C: remove char updatetimer, and all code that uses
7406         this, we did not use it anymore and has not been for ages. Just a
7407         waste of cpu cycles.
7408
7409         * src/language.h: make Language a real class, move all variables
7410         to private and use accessors.
7411
7412         * src/BufferView_pimpl.C (Pimpl): use new timer code.
7413         (create_view): remove
7414         (update): some changes for new timer
7415         (cursorToggle): use new timer
7416         (beforeChange): change for new timer
7417
7418         * src/BufferView.h (cursorToggleCB): removed last paramter because
7419         of new timer code. 
7420
7421         * src/BufferView.C (C_BufferView_CursorToggleCB): removed 
7422         (cursorToggleCB): change because of new timer code
7423
7424         * lib/CREDITS: updated own mailaddress
7425
7426 2000-06-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7427
7428         * src/support/filetools.C (PutEnv): fix the code in case neither
7429         putenv() nor setenv() have been found.
7430
7431         * INSTALL: mention the install-strip Makefile target.
7432
7433         * src/LyXAction.C (init): make LFUN_BUILDPROG available in
7434         read-only documents.
7435
7436 2000-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7437
7438         * lib/reLyX/configure.in (VERSION): avoid using a previously
7439         generated reLyX wrapper to find out $prefix.
7440
7441         * lib/examples/eu_adibide_lyx-atua.lyx: 
7442         * lib/examples/eu_adibide_gordina.lyx: new examples for the Basque
7443         translation of the Tutorial (Dooteo)
7444
7445 2000-06-06  Angus Leeming <a.leeming@ic.ac.uk>
7446
7447         * forms/cite.fd: new citation dialog
7448
7449         * src/insetcite.[Ch]: the new citation dialog is moved into
7450         its own files.
7451
7452         * src/insetbib.C: InsetBibtex::getKeys() uses STL containers
7453         (Dekel).
7454
7455         * src/insets/insetcommand.h: data members made private. 
7456
7457 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
7458
7459         * LyX 1.1.5 released
7460
7461 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
7462
7463         * src/version.h (LYX_RELEASE): to 1.1.5
7464
7465         * src/spellchecker.C (RunSpellChecker): return false if the
7466         spellchecker dies upon creation.
7467
7468 2000-06-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7469
7470         * lib/reLyX/reLyXmain.pl, lib/reLyX/LastLyX.pm: fix suffix of file
7471         in \include{} (from Tomasz Motylewski <motyl@stan.chemie.unibas.ch>) 
7472         
7473         * NEWS: update.
7474
7475         * lib/CREDITS: update entry for Martin Vermeer.
7476
7477 2000-06-06  Dekel Tsur  <dekel@math.tau.ac.il>
7478
7479         * src/text.C (draw): Draw foreign language bars at the bottom of
7480         the row instead of at the baseline.
7481
7482         * lib/examples/Minipage.lyx: Use the new multi-lingual support.
7483
7484 2000-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
7485
7486         * lib/bind/de_menus.bind: updated
7487
7488 2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
7489
7490         * forms/lyx.fd: Correct gravity for objects in form_toc and form_ref
7491
7492 2000-06-05  Dekel Tsur  <dekel@math.tau.ac.il>
7493
7494         * src/menus.C (Limit_string_length): New function
7495         (ShowTocMenu): Limit the number of items/length of items in the
7496         LOT/LOF/LOA menus.
7497
7498         * src/paragraph.C (String): Correct result for a paragraph inside
7499         a footnote.
7500
7501 2000-06-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
7502
7503         * src/bufferlist.C (close): test of buf->getuser() == NULL
7504
7505 2000-06-02  Dekel Tsur  <dekel@math.tau.ac.il>
7506
7507         * src/BufferView2.C (removeAutoInsets): Fix a bug: 
7508         Do not call to SetCursor when the paragraph is a closed footnote!
7509
7510 2000-06-01  Dekel Tsur  <dekel@math.tau.ac.il>
7511
7512         * src/insets/insetlabel.C (Edit): Mark buffer as dirty when a
7513         label is changed.
7514
7515         * src/text.C (SetCursor): Made the computation of cursor_vpos safer.
7516
7517 2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
7518
7519         * forms/lyx.fd
7520         * src/lyx_cb.C (RefSelectCB): Added "Go Back" button in the insert
7521         reference popup, that activates the reference-back action
7522
7523         * src/menus.C (ShowRefsMenu): Added "Go Back" menu item.
7524
7525         * src/menus.C (Add_to_refs_menu): Limit the size of each item in
7526         the menus. Also fixed a bug.
7527
7528         * src/lyx_cb.C (updateAllVisibleBufferRelatedPopups): Do not close 
7529         the math panels when switching buffers (unless new buffer is readonly).
7530
7531         * src/BufferView.C (NoSavedPositions)
7532         * src/BufferView_pimpl.C (NoSavedPositions): New methods
7533
7534 2000-06-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
7535
7536         * src/lyx_cb.C (MakeLaTeXOutput): we run MakeLaTeXOutput regard
7537         less of dvi dirty or not.
7538
7539         * src/trans_mgr.[Ch] (insert): change first parameter to string
7540         const &.  
7541
7542         * src/chset.[Ch] (encodeString): add const to first parameter
7543
7544 2000-05-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
7545
7546         * src/support/lyxstring.C (begin): fix a "shared" string bug. use
7547         rep->get_own_copy()
7548         (end): ditto
7549
7550         * src/LaTeX.C (deplog): better searching for dependency files in
7551         the latex log. Uses now regexps.
7552
7553         * lib/layouts/stdlists.inc (lyxlist): fix the label to use \hfil
7554         instead of the box hack or \hfill. 
7555
7556 2000-05-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7557
7558         * src/lyxfunc.C (doImportHelper): do not create the file before
7559         doing the actual import. 
7560         (doImportASCIIasLines): create a new file before doing the insert.
7561         (doImportASCIIasParagraphs): ditto.
7562
7563         * lib/lyxrc.example: remove mention of non-existing commands
7564
7565         * lyx.man: remove mention of color-related switches.
7566
7567         * src/lyxrc.C: remove RC_SELECTIONCOLOR and RC_BACKGROUNDCOLOR. 
7568
7569         * src/lyx_gui.C: remove all the color-related ressources, which
7570         are not used anymore.
7571
7572         * src/lyx_gui_misc.C (WarnReadonly): use MakeDisplayPath on file
7573         name. 
7574
7575 2000-05-31 Dekel Tsur  <dekel@math.tau.ac.il>
7576
7577         * src/lyxrc.C (read): Add a missing break in the switch
7578
7579 2000-05-30 Dekel Tsur  <dekel@math.tau.ac.il>
7580
7581         * src/text2.C (InsertStringA): Fix a bug with insertion into table
7582         
7583         * src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
7584         text is Hebrew.
7585
7586 2000-05-27  Dekel Tsur  <dekel@math.tau.ac.il>
7587
7588         * src/text.C (draw): draw bars under foreign language words.
7589         
7590         * src/LColor.[Ch]: add LColor::language
7591
7592 2000-05-27 Dekel Tsur  <dekel@math.tau.ac.il>
7593
7594         * src/lyxcursor.h (boundary): New member variable
7595
7596         * src/text.C (IsBoundary): New methods
7597
7598         * src/text.C: Use the above for currect cursor movement when there
7599         is both RTL & LTR text.
7600         
7601         * src/text2.C: ditto
7602         
7603         * src/bufferview_funcs.C (ToggleAndShow): ditto
7604
7605 2000-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7606
7607         * src/text.C (DeleteLineForward): set selection to true to avoid
7608         that DeleteEmptyParagraphMechanism does some magic. This is how it
7609         is done in all other functions, and seems reasonable.
7610         (DeleteWordForward): do not jump over non-word stuff, since
7611         CursorRightOneWord() already does it.
7612         
7613         Remove the CHECK tag from DeleteLineForward, DeleteWordForward and
7614         DeleteWordBackward, since they seem safe to me (since selection is
7615         set to "true") DeleteEmptyParagraphMechanism does nothing.
7616
7617 2000-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7618
7619         * src/lyx_main.C (easyParse): simplify the code by factoring the
7620         part that removes parameters from the command line.
7621         (LyX): check wether wrong command line options have been given.
7622
7623 2000-05-29  Lior Silberman <slior@math.huji.ac.il>
7624
7625         * src/lyx_main.C : add support for specifying user LyX
7626         directory via command line option -userdir.
7627
7628 2000-05-26 Dekel Tsur  <dekel@math.tau.ac.il>
7629
7630         * src/menus.C (Add_to_toc_menu): Limit the number of popups, and
7631         the number of items per popup.
7632         (Add_to_refs_menu): Ditto.
7633         
7634 2000-05-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7635
7636         * src/lyxparagraph.h: renamed ClearParagraph() to
7637         StripLeadingSpaces() and moved it to paragraph.C. We pass the
7638         textclass as parameter, and do nothing if free_spacing is
7639         true. This fixes part of the line-delete-forward problems.
7640
7641         * src/CutAndPaste.C (cutSelection): use StripLeadingSpaces.
7642         (pasteSelection): ditto.
7643         (SwitchLayoutsBetweenClasses): more translatable strings.
7644
7645         * src/text2.C (CutSelection): use StripLeadingSpaces.
7646         (PasteSelection): ditto.
7647         (DeleteEmptyParagraphMechanism): ditto.
7648
7649 2000-05-26  Juergen Vigna  <jug@sad.it>
7650
7651         * src/TabularLayout.C (TabularOptionsCB): removed delete-table as this
7652         is not needed in tabular insets.
7653
7654         * src/insets/insettabular.C (TabularFeatures): added missing features.
7655
7656         * src/tabular.C (DeleteColumn):
7657         (AppendColumn): 
7658         (AppendRow): implemented this functions
7659         (cellsturct::operator=): clone the inset too; 
7660
7661 2000-05-23  Juergen Vigna  <jug@sad.it>
7662
7663         * src/insets/insettabular.C (LocalDispatch): better selection support
7664         when having multicolumn-cells.
7665
7666 2000-05-26  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7667
7668         * lib/layouts/linuxdoc.layout: fix indentation of paragraphs.
7669
7670 2000-05-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7671
7672         * src/ColorHandler.C (getGCForeground): put more test into _()
7673
7674         * lib/examples/eu_splash.lyx: new file (Basque translation) from
7675         Dooteo. 
7676
7677         * config/lyxinclude.m4 (LYX_PROG_CXX): use ${CXX} and not g++ to
7678         get the version.
7679
7680 2000-05-25 Dekel Tsur  <dekel@math.tau.ac.il>
7681
7682         * src/lyx_cb.C (RefUpdateCB): disable appropriate buttons when
7683         there are no labels, or when buffer is readonly.
7684
7685         * src/menus.C (ShowRefsMenu) disable appropriate menu items when
7686         there are no labels, buffer is SGML, or when buffer is readonly.
7687
7688 2000-05-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
7689
7690         * src/LColor.C (LColor): change a couple of grey40 to grey60
7691         (LColor): rewore initalization to make compiles go some magnitude
7692         faster.
7693         (getGUIName): don't use gettext until we need the string.
7694
7695 2000-05-09  Dekel Tsur  <dekel@math.tau.ac.il>
7696
7697         * src/Bullet.[Ch]: Fixed a small bug.
7698
7699 2000-05-21  Dekel Tsur  <dekel@math.tau.ac.il>
7700
7701         * src/paragraph.C (String): Several fixes/improvements
7702
7703         * src/insets/insetbib.[Ch] (InsetCitation::Ascii) New method
7704
7705 2000-05-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
7706
7707         * src/paragraph.C (String): give more correct output.
7708
7709 2000-05-20  Dekel Tsur  <dekel@math.tau.ac.il>
7710
7711         * src/lyxfont.C (stateText) Do not output the language if it is
7712         eqaul to the language of the document.
7713
7714         * src/paragraph.C (TeXOnePar): Do not put language switch commands
7715         between two paragraphs with the same language.
7716
7717         * src/paragraph.C (getParLanguage) Return a correct answer for an
7718         empty dummy paragraph.
7719
7720         * src/menus.C (ShowTocMenu): Do not draw lines between LOF/LOT/LOA
7721         menus.
7722
7723         * src/menus.C (ShowLayoutMenu) Add "Start of Appendix" item to the
7724         layout menu.
7725
7726         * src/lyx_gui.C (init): Try to use helvetica (or fixed) fonts for
7727         the menus/popup, if requested fonts are unavailable.
7728
7729 2000-05-22  Juergen Vigna  <jug@sad.it>
7730
7731         * src/insets/insettabular.C (LocalDispatch): added some more cursor
7732         movement support (Up/Down/Tab/Shift-Tab).
7733         (LocalDispatch): added also preliminari cursor-selection.
7734
7735         * src/LyXAction.C (init): added SHIFT-Tab as tab-backward.
7736
7737         * src/paragraph.C (PasteParagraph): Hopefully now right!
7738
7739 2000-05-22  Garst R. Reese  <reese@isn.net>
7740
7741         * layouts/hollywood.layout, broadway.layout : move Dialogue to top
7742          of list, change all references to Environment to Command
7743         * tex/hollywood.cls : rewrite environments as commands, add 
7744         \uppercase to interiorshot and exteriorshot to force uppecase.
7745         * tex/broadway.cls : rewrite environments as commands. Tweak
7746         whitespace.
7747
7748 2000-05-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7749
7750         * src/menus.C (Add_to_toc_menu): fix the code which limits the
7751         size of items: use a constant intead of the hardcoded 40, and more
7752         importantly do not remove the %m and %x tags added at the end.
7753         (Add_to_refs_menu): use vector::size_type instead of
7754         unsigned int as basic types for the variables. _Please_ do not
7755         assume that size_t is equal to unsigned int. On an alpha, this is
7756         unsigned long, which is _not_ the same.
7757
7758         * src/language.C (initL): remove language "hungarian", since it
7759         seems that "magyar" is better.
7760
7761 2000-05-22  Juergen Vigna  <jug@sad.it>
7762
7763         * src/CutAndPaste.C: hopefully fixed memory the problem defenitively!
7764
7765         * src/tabular.C (OldFormatRead): added \end_deeper to the end LyXTable
7766         end markers!
7767
7768         * src/paragraph.C (PasteParagraph): Possibly a memory leak as
7769         next was deleted but not set to 0.
7770
7771 2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
7772
7773         * src/language.C (initL): change the initialization of languages
7774         so that compiles goes _fast_.
7775
7776         * src/menus.C (Add_to_toc_menu): limit the line length in TOC to
7777         40 chars.
7778
7779         * src/lyxfunc.C (processKeyEvent): initalize keysym_return to 0.
7780
7781 2000-05-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
7782
7783         * release 1.1.5pre3
7784
7785 2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
7786
7787         * src/WorkArea.C (request_clipboard_cb): give "C" linkage.
7788
7789 2000-05-19  Dekel Tsur  <dekel@math.tau.ac.il>
7790
7791         * src/commandtags.h
7792         * src/LyXAction.C
7793         * src/lyxfunc.C (Dispatch): Added LFUN_LOFVIEW, LFUN_LOTVIEW
7794         and LFUN_LOAVIEW
7795         
7796         * src/insets/insetlo*.[Ch]: Made editable
7797
7798 2000-05-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
7799
7800         * src/text2.C (SetSelection): call BufferView::stuffClipboard with
7801         the current selection.
7802
7803         * src/BufferView_pimpl.C (stuffClipboard): new method
7804
7805         * src/BufferView.C (stuffClipboard): new method
7806
7807         * src/paragraph.C (String): new method
7808
7809         * src/LColor.C (getFromLyXName): return LColor::inherit instead of
7810         LColor::ignore when lyxname is not found.
7811
7812         * src/BufferView.C (pasteSelection): new method
7813
7814         * src/BufferView_pimpl.C (pasteSelection): new method
7815
7816         * src/lyxfunc.C (Dispatch): use the new clipboard functions.
7817
7818         * src/WorkArea.C (request_clipboard_cb): new static function
7819         (getClipboard): new method
7820         (putClipboard): new method
7821
7822 2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
7823
7824         * LyX 1.1.5pre2 released
7825
7826 2000-05-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
7827
7828         * src/vspace.C (operator=): removed
7829         (operator=): removed
7830
7831         * src/lyx_gui_misc.C (askForText): manually set the type in make_pair
7832
7833         * src/layout.C (NumberOfClass): manually set the type in make_pair
7834         (NumberOfLayout): ditto
7835
7836         * src/language.C: use the Language constructor for ignore_lang
7837
7838         * src/language.h: add constructors to struct Language
7839
7840         * src/BufferView_pimpl.C (scrollDown): change to pair<float, float>
7841
7842         * src/text2.C (SetCursorIntern): comment out #warning
7843
7844         * src/mathed/math_symbols.C (pixmapFromBitmapData): add const_cast
7845
7846         * src/mathed/math_iter.h: initialize sx and sw to 0
7847
7848 2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>
7849
7850         * forms/lyx.fd: Redesign of form_ref
7851
7852         * src/LaTeXFeatures.[Ch]
7853         * src/buffer.C
7854         * src/lyx_cb.C
7855         * src/menus.C   
7856         * src/insets/insetref.[Ch]: Added support for varioref and prettyref.
7857
7858         * src/buffer.h
7859         * src/lyxparagraph.h: Added new classes: LyXParagraph::inset_iterator
7860         and Buffer::inset_iterator.
7861
7862         * src/menus.C: Added new menus: TOC and Refs.
7863
7864         * src/insets/insetlabel.C (Edit) Made InsetLabel editable.
7865
7866         * src/buffer.C (getTocList): New method.
7867
7868         * src/BufferView2.C (ChangeRefs): New method.
7869
7870         * src/buffer.C (getLabelList): New method. It replaces the old
7871         getReferenceList. The return type is vector<string> instead of 
7872         string.
7873
7874         * src/insets/insetinclude.C (getLabelList): New method. Replaces
7875         the old getLabel() and GetNumberOfLabels() methods.
7876         * src/insets/insetlabel.C (getLabelList): ditto
7877         * src/mathed/formula.C (getLabelList): ditto
7878         
7879         * src/paragraph.C (String): New method.
7880
7881         * src/lyx_cb.C (TocSelectCB,TocUpdateCB): Rewritten.
7882         Uses the new getTocList() method. 
7883         TocSelectCB() now calls to TocUpdateCB() before moving the cursor, 
7884         which automatically updates the contents of the browser.
7885         (RefUpdateCB): Use the new getLabelList method.
7886
7887         * src/lyxfunc.C (Dispatch): Give an error if the label is not found.
7888         
7889         * src/BufferView2.C (gotoLabel) Use the new getLabelList method.
7890
7891         * src/spellchecker.C: Added using std::reverse;
7892
7893 2000-05-19  Juergen Vigna  <jug@sad.it>
7894
7895         * src/tabular.C (Validate): fixed/added validating of LaTeXFeatures.
7896
7897         * src/insets/insettext.C (computeTextRows): small fix for display of
7898         1 character after a newline.
7899
7900         * src/tabular.C (OldFormatRead): fixed the OldFormatRead with regard
7901         to cont-rows!
7902
7903 2000-05-18  Juergen Vigna  <jug@sad.it>
7904
7905         * src/insets/insettabular.C (TabularFeatures): fixed update of display
7906         when changing width of column.
7907
7908         * src/tabular.C (set_row_column_number_info): setting of
7909         autobreak rows if necessary.
7910
7911 2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7912
7913         * src/lyxvc.C (toggleReadOnly): use VCS::status() instead of stat()
7914
7915         * src/vc-backend.*: renamed stat() to status() and vcstat to
7916         vcstatus. It happens that Tru64 Unix 5.0 has stat() as a macro and
7917         compilation broke. The new name seems more relevant, anyway.
7918
7919 2000-05-17  Juergen Vigna  <jug@sad.it>
7920
7921         * src/BufferView2.C (removeAutoInsets): fixed use of AutoDeleteInsets
7922         which was wrong if the removing caused removing of rows!
7923
7924         * src/lyxlex_pimpl.C (next, nextToken): insert support for pushToken.
7925         (pushToken): new function.
7926
7927         * src/text2.C (CutSelection): fix problem discovered with purify
7928
7929 2000-05-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7930
7931         * src/debug.C (showTags): enlarge the first column, now that we
7932         have 6-digits debug codes.
7933
7934         * lib/layouts/hollywood.layout:
7935         * lib/tex/hollywood.cls:        
7936         * lib/tex/brodway.cls: 
7937         * lib/layouts/brodway.layout: more commands and fewer
7938         environments. Preambles moved in the .cls files. Broadway now has 
7939         more options on scene numbering and less whitespace (from Garst)
7940
7941         * src/insets/insetbib.C (getKeys): make sure that we are in the
7942         document directory, in case the bib file is there.
7943
7944         * src/insets/insetbib.C (Latex): revert bogus change.
7945
7946 2000-05-16  Juergen Vigna  <jug@sad.it>
7947
7948         * src/insets/insettabular.C (UnlockInsetInInset): Changes to update
7949         the TabularLayout on cursor move.
7950
7951         * src/TabularLayout.C (TabularOptionsCB): Wrong call to MenuLayoutTable
7952
7953         * src/insets/insettabular.C (Clone): Clone the LyXTabular for
7954         undo-handling.
7955         (getCellXPos): 
7956         (draw): fixed cursor position and drawing so that the cursor is
7957         visible when before the tabular-inset.
7958
7959         * src/insets/insettext.C (init): drawLockedFrame was not initialized
7960         when creating from old insettext.
7961
7962         * src/tabular.C (Clone): added Clone of text-inset for undo-handling.
7963
7964 2000-05-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7965
7966         * lib/tex/hollywood.cls: better algorithm for page breaks (Garst)
7967         * lib/tex/brodway.cls: ditto 
7968
7969         * lib/layouts/brodway.layout: change alignment of parenthical
7970         layout (Garst)
7971         
7972 2000-05-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7973
7974         * config/lyxinclude.m4 (LYX_PATH_XFORMS): make it clear that only
7975         versions 0.88 and 0.89 are supported.
7976
7977 2000-05-15  Juergen Vigna  <jug@sad.it>
7978
7979         * src/insets/insetcollapsable.C (draw): enhancements in drawing and
7980         width calculating.
7981
7982         * src/insets/insettext.C (computeTextRows): redone completely this
7983         function in a much cleaner way, because of problems when having a
7984         fixed maxWidth.
7985         (draw): added a frame border when the inset is locked.
7986         (SetDrawLockedFrame): this sets if we draw the border or not.
7987         (SetFrameColor): this sets the frame color (default=insetframe).
7988
7989         * src/insets/lyxinset.h: added x() and y() functions which return
7990         the top_x and top_baseline values. Added a GetFirstLockingInsetOfType
7991         function which is needed to see if we have a locking inset of some
7992         type in this inset (needed for now in insettabular).
7993
7994         * src/vspace.C (inPixels): the same function also without a BufferView
7995         parameter as so it is easier to use it in some ocasions.
7996
7997         * src/lyxfunc.C: changed all places where insertInset was used so
7998         that now if it couldn't be inserted it is deleted!
7999
8000         * src/TabularLayout.C: 
8001         * src/TableLayout.C: added support for new tabular-inset!
8002
8003         * src/BufferView2.C (insertInset): this now returns a bool if the
8004         inset was really inserted!!!
8005
8006         * src/tabular.C (GetLastCellInRow): 
8007         (GetFirstCellInRow): new helper functions.
8008         (Latex): implemented for new tabular class.
8009         (TeXCellPostamble): 
8010         (TeXCellPreamble): 
8011         (TeXBottomHLine): 
8012         (TeXTopHLine): new Latex() helper functions.
8013
8014 2000-05-12  Juergen Vigna  <jug@sad.it>
8015
8016         * src/mathed/formulamacro.C (Read): 
8017         * src/mathed/formula.C (Read): read also the \end_inset here!
8018
8019 2000-05-10  Dekel Tsur  <dekel@math.tau.ac.il>
8020
8021         * src/mathed/math_write.C (MathParInset::Write): Fixed a bug:
8022         crush when saving formulae with unbalanced parenthesis.
8023
8024 20000-05-11  Dekel Tsur  <dekel@math.tau.ac.il>
8025
8026         * src/layout.C: Add new keyword "endlabelstring" to layout file
8027
8028         * src/text.C (GetVisibleRow): Draw endlabel string.
8029
8030         * lib/layouts/broadway.layout
8031         * lib/layouts/hollywood.layout: Added endlabel for the
8032         Parenthetical layout.
8033
8034         * lib/layouts/heb-article.layout: Do not use slanted font shape
8035         for Theorem like environments.
8036
8037         * src/buffer.C (makeLaTeXFile): Always add "american" to 
8038         the UsedLanguages list if document language is RTL. 
8039
8040 2000-05-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8041
8042         * add addendum to README.OS2 and small patch (from SMiyata)
8043
8044 2000-05-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8045
8046         * many files: correct the calls to ChangeExtension().
8047
8048         * src/support/filetools.C (ChangeExtension): remove the no_path
8049         argument, which does not belong there. Use OnlyFileName() instead.
8050
8051         * src/insets/insetbib.C (Latex): use absolute paths for bibtex
8052         files when LaTeXing a non-nice latex file.
8053
8054         * src/lyxlookup.C (isDeadEvent): use a switch statement instead of
8055         a chain of "if". Return false when deadkeys are not handled.
8056         
8057         * src/lyx_main.C (LyX): adapted the code for default bindings.
8058
8059         * src/kbmap.C (defaultKeyBindings): new method. Performs the default
8060         bindings for basic functionality (except deadkeys).
8061         (deadKeyBindings): new method. Performs the bindings of deadkeys.
8062
8063         * src/lyxrc.C (defaultKeyBindings): moved to lyx_main.C 
8064         several methods: handle override_x_deadkeys.
8065
8066         * src/lyxrc.h: remove the "bindings" map, which did not make much
8067         sense anyway. New variable override_x_deadkeys, defaulting to "true".
8068         
8069 2000-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8070
8071         * src/lyxfont.C (stateText): use a saner method to determine
8072         whether the font is "default". Seems to fix the crash with DEC
8073         cxx. 
8074
8075         * src/Bullet.[Ch] (Bullet): remove const on parameters.
8076
8077 2000-05-08  Juergen Vigna  <jug@sad.it>
8078
8079         * src/insets/insettabular.C (InsetButtonRelease): Now opens the
8080         TabularLayoutMenu with mouse-button-3
8081         (LocalDispatch): added LFUN_MENU_LAYOUT to open the Tabular-Layout.
8082
8083         * src/TabularLayout.C: added this file for having a Layout for
8084         tabular-insets.
8085
8086 2000-05-05  Juergen Vigna  <jug@sad.it>
8087
8088         * src/insets/insettabular.C (UpdateLocal): resetCursorPos when
8089         recalculating inset-widths.
8090         (TabularFeatures): activated this function so that I can change
8091         tabular-features via menu.
8092
8093         * src/menus.C (ShowEditMenu): inserted support for insettabular so
8094         that I can test some functions with the Table menu.
8095
8096 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
8097
8098         * src/lyxfont.C (stateText): guard against stupid c++libs.
8099
8100         * src/tabular.C: add using std::vector
8101         some whitespace changes, + removed som autogenerated code.
8102
8103         * src/buffer.C (parseSingleLyXformat2Token): stupid bug.
8104
8105 2000-05-05  Juergen Vigna  <jug@sad.it>
8106
8107         * src/tabular.[Ch]: now using std:vector instead of arrays for all the
8108         row, columns and cellstructures.
8109
8110 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
8111
8112         * lib/lyxrc.example: remove obsolete entries.
8113
8114         * src/buffer.C (parseSingleLyXformat2Token): patch from dekel, fix
8115         reading of protected_separator for free_spacing.
8116
8117 2000-05-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8118
8119         * src/text.C (draw): do not display an exclamation mark in the
8120         margin for margin notes. This is confusing, ugly and
8121         uninformative. 
8122
8123         * src/LaTeXFeatures.C (getPackages): load amssymb also when 'Use
8124         AMS math' is checked.
8125
8126         * src/buffer.C (makeLaTeXFile): do not depend on the textclass
8127         name to see whether including the amsmath package is needed.
8128
8129 2000-05-05  Dekel Tsur  <dekel@math.tau.ac.il>
8130
8131         * src/paragraph.C (validate): Compute UsedLanguages correctly
8132         (don't insert the american language if it doesn't appear in the
8133         document)
8134
8135         * src/paragraph.C (TeXOnePar,SimpleTeXOnePar,SimpleTeXSpecialChars)
8136         The argument of \thanks{} command is considered moving argument
8137
8138         * src/paragraph.C (SimpleTeXOnePar): Put \protect before \\ if in
8139         moving argument.
8140
8141 2000-05-04  Dekel Tsur  <dekel@math.tau.ac.il>
8142
8143         * src/text.C (GetVisibleRow): Improved drawing of vertical lines
8144         for appendix/minipage/depth. The lines can be now both in the footnote 
8145         frame, and outside the frame.
8146
8147         * src/text.C (SingleWidth,draw): Correct rendering of Hebrew vowels
8148         points ("nikud")
8149
8150 2000-05-05  Juergen Vigna  <jug@sad.it>
8151
8152         * src/table.[Ch]: removed the inset and buffer stuff as this is now
8153         neede only in tabular.[Ch].
8154
8155 2000-05-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
8156
8157         * src/insets/insetspecialchar.C (Read): allow command == '~' for
8158         PROTECTED_SEPARATOR 
8159         (Write): write '~' for PROTECTED_SEPARATOR
8160
8161 2000-05-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
8162
8163         * src/lyxparagraph.h: add a friend struct matchIT after the struct
8164         InsetTable.
8165
8166         * src/mathed/formula.C (drawStr): rename size to siz.
8167
8168         * src/insets/figinset.C (RestoreForm): rename pflags to piflags,
8169         possibly fix a bug by not changing the pflags = flags to piflags =
8170         flags.
8171
8172 2000-05-05  Juergen Vigna  <jug@sad.it>
8173
8174         * src/insets/insetbib.C: moved using directive
8175
8176         * src/ImportNoweb.C: small fix for being able to compile (missing
8177         include cstdlib)
8178
8179 2000-05-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
8180
8181         * config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
8182         to use clear, since we don't depend on this in the code. Add test
8183         for string::compare
8184
8185 2000-05-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8186
8187         * (various *.C files): add using std::foo directives to please dec
8188         cxx.
8189
8190         * replace calls to string::clear() to string::erase() (Angus)
8191
8192         * src/cheaders/cmath: modified to provide std::abs.
8193
8194 2000-05-04  Juergen Vigna  <jug@sad.it>
8195
8196         * src/insets/insettext.C: Prepared all for inserting of multiple
8197         paragraphs. Still display stuff to do (alignment and other things),
8198         but I would like to use LyXText to do this when we cleaned out the
8199         table-support stuff.
8200
8201         * src/insets/insettabular.C: Changed lot of stuff and added lots
8202         of functionality still a lot to do.
8203
8204         * src/tabular.C: Various functions changed name and moved to be
8205         const functions. Added new Read and Write functions and changed
8206         lots of things so it works good with tabular-insets (also removed
8207         some stuff which is not needed anymore * hacks *).
8208
8209         * src/lyxcursor.h: added operators == and != which just look if
8210         par and pos are (not) equal.
8211
8212         * src/buffer.C (latexParagraphs): inserted this function to latex
8213         all paragraphs form par to endpar as then I can use this too for
8214         text-insets.
8215
8216         * src/text2.C (SetLayout): Changed this to use a cursor this is needed
8217         so that I can call this to from text insets with their own cursor.
8218
8219         * src/buffer.C (makeLaTeXFile): added the output of one \n after the
8220         output off all paragraphs (because of the fix below)!
8221
8222         * src/paragraph.C (TeXOnePar): removed output of \n when we are in
8223         the very last paragraph (this could be also the last paragraph of an
8224         inset!)
8225
8226         * src/texrow.h: added rows() call which returns the count-variable.
8227
8228 2000-05-03  Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
8229
8230         * lib/lyxrc.example: fix examples for exporting SGML to HTML.
8231
8232         * lib/configure.m4: better autodetection of DocBook tools.
8233
8234 2000-04-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
8235
8236         * src/lyx_main.C (easyParse): use lyxerr instead of cerr.
8237
8238         * src/lyx_cb.C: add using std::reverse;
8239
8240         * src/LaTeX.C (run): on error always run deleteFilesOnError before
8241         returning.
8242
8243         * src/LaTeX.[Ch] (deleteFilesOnError): new method. unlinks some
8244         selected files. Should fix repeated errors from generated files.
8245
8246 2000-04-27  Dekel Tsur  <dekel@math.tau.ac.il>
8247
8248         * src/lyx_cb.C (TocUpdateCB): Reverse strings for Hebrew paragraphs
8249
8250         * src/spellchecker.C (RunSpellChecker): Reverse Hebrew strings in
8251         the spellchecker popup. 
8252
8253         * lib/lyxrc.example:  Removed the \number_inset section
8254
8255 2000-04-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * src/insets/figinset.C (various): Use IsFileReadable() to make
8258         sure that the file actually exist. Relying on ghostscripts errors
8259         is a bad idea since they can lead to X server crashes.  
8260
8261 2000-04-27  Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8262
8263         * intl/loadmsgcat.c (_nl_load_domain): pass O_BINARY as flag to
8264         open under CYGWIN 
8265
8266         * lib/lyxrc.example: smallish typo in description of
8267         \view_dvi_paper_option 
8268
8269 2000-04-26  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
8270
8271         * src/lyxfunc.h:
8272         * src/lyxfunc.C: doImportHelper to factor out common code of the
8273         various import methods. New functions doImportASCIIasLines,
8274         doImportASCIIasParagraphs, doImportLaTeX, doImportNoWeb,
8275         doImportLinuxDoc  for the  format specific parts.
8276
8277         * buffer.h:
8278         * buffer.C: Dispatch  returns now a bool to indicate success
8279
8280         * lyx_gui.h:
8281         * lyx_gui.C: Add getLyXView() for member access
8282
8283         * lyx_main.C: Change logic for batch commands: First try
8284         Buffer::Dispatch (possibly without GUI), if that fails, use
8285         LyXFunc::Dispatch
8286
8287         * lyx_main.C: Add support for --import command line switch.
8288         Now 'lyx --import ascii file.txt' opens the GUI with file.txt loaded.
8289         Available Formats: Everything  accepted by 'buffer-import <format>'
8290
8291 2000-04-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
8292
8293         * src/lyx_gui.C (create_forms): small oneliner from Garst to have
8294         unnumbered parts.
8295
8296         * src/lyx_cb.C (ScreenApplyCB): clear the textcache so that the
8297         documents will be reformatted upon reentry.
8298
8299 2000-04-27  Juergen Vigna  <jug@sad.it>
8300
8301         * src/CutAndPaste.C (pasteSelection): last paragraph was not returned
8302         correctly only last pos this was a bug.
8303
8304 2000-04-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
8305
8306         * release of lyx-1.1.5pre1
8307
8308 2000-04-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8309
8310         * src/insets/insettabular.[Ch]: fix the Clone() declaration.
8311
8312         * src/menus.C: revert the change of naming (Figure->Graphic...)
8313         from 2000-04-11. It was incomplete and bad.
8314         
8315         * src/LColor.[Ch]: add LColor::depthbar.
8316         * src/text.C (GetVisibleRow): use it.
8317
8318         * README: update the languages list.
8319
8320 2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>
8321
8322         * src/text.C (GetVisibleRow): show the depth of paragraphs using
8323         vertical bars.
8324
8325 2000-04-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
8326
8327         * README: remove sections that were just wrong.
8328
8329         * src/text2.C (GetRowNearY): remove currentrow code
8330
8331         * src/text.C (GetRow): remove currentrow code
8332
8333         * src/screen.C (Update): rewritten a bit.
8334         (SmallUpdate): removed func
8335
8336         * src/lyxtext.h (text_status): removed NEED_LITTLE_REFRESH, never
8337         used.
8338         (FullRebreak): return bool
8339         (currentrow): remove var
8340         (currentrow_y): ditto
8341
8342         * src/lyxscreen.h (Draw): change arg to unsigned long
8343         (FitCursor): return bool
8344         (FitManualCursor): ditto
8345         (Smallpdate): remove func
8346         (first): change to unsigned long
8347         (DrawOneRow): change second arg to long (from long &)
8348         (screen_refresh_y): remove var
8349         (scree_refresh_row): ditto
8350         
8351         * src/lyxrow.h: change baseline to usigned int from unsigned
8352         short, this brings some implicit/unsigned issues out in the open.
8353
8354         * src/lyxfunc.C (moveCursorUpdate): update(0) == update(-2) change
8355         accordingly.
8356         (Dispatch): don't call updateScrollbar after fitCursor. Use update
8357         instead of smallUpdate.
8358
8359         * src/lyxcursor.h: change y to unsigned long
8360
8361         * src/buffer.h: don't call updateScrollbar after fitcursor
8362
8363         * src/buffer.C (parseSingleLyXformat2Token): move variables to
8364         where they are used. Removed "\\direction", this was not present
8365         in 1.1.4 and is already obsolete. Commented out some code that I
8366         believe to never be called.
8367         (runLiterate): don't call updateScrollbar after fitCursor
8368         (runLaTeX): ditto
8369         (buildProgram): ditto
8370         (runChktex): ditto
8371
8372         * src/WorkArea.h (workWidth): change return val to unsigned
8373         (width): ditto
8374         (height): ditto
8375         (redraw): remove the button redraws
8376         (setScrollbarValue): change for scrollbar
8377         (getScrollbarValue): change for scrollbar
8378         (getScrollbarBounds): change for scrollbar
8379
8380         * src/WorkArea.C (C_WorkArea_up_cb): removed func
8381         (C_WorkArea_down_cb): removed func
8382         (WorkArea): use fl_add_scrollbar instead of two buttons and a slider.
8383         (resize): change for scrollbar
8384         (setScrollbar): ditto
8385         (setScrollbarBounds): ditto
8386         (setScrollbarIncrements): ditto
8387         (up_cb): removed func
8388         (down_cb): removed func
8389         (scroll_cb): change for scrollbar
8390         (work_area_handler): ditto
8391
8392         * src/BufferView_pimpl.C (fitCursor): only call updateScrollbar
8393         when FitCursor did something.
8394         (updateScrollbar): some unsigned changes
8395         (downCB): removed func
8396         (scrollUpOnePage): removed func
8397         (scrollDownOnePage): remvoed func
8398         (workAreaMotionNotify): don't call screen->FitCursor but use
8399         fitCursor instead. and bool return val
8400         (workAreaButtonPress): ditto
8401         (workAreaButtonRelease): some unsigned changes
8402         (checkInsetHit): ditto
8403         (workAreaExpose): ditto
8404         (update): parts rewritten, comments about the signed char arg added
8405         (smallUpdate): removed func
8406         (cursorPrevious): call needed updateScrollbar
8407         (cursorNext): ditto
8408
8409         * src/BufferView2.C (allFloats): don't call updateScrollbar after
8410         fitCursor.
8411
8412         * src/BufferView.[Ch] (upCB): removed func
8413         (downCB): removed func
8414         (smallUpdate): removed func
8415
8416 2000-04-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
8417
8418         * src/lyxtext.h src/text.C src/text2.C: removed support for the
8419         currentrow, currentrow_y optimization. This did not help a lot and
8420         if we want to do this kind of optimization we should rather use
8421         cursor.row instead of the currentrow. 
8422
8423         * src/buffer.C (parseSingleLyXformat2Token): fixed mistake in
8424         buffer spacing and klyx spacing support.
8425
8426 2000-04-25  Dekel Tsur  <dekel@math.tau.ac.il>
8427
8428         * src/spellchecker.C (RunSpellChecker): Speedup spellchecking by
8429         a factor of 50!
8430
8431 2000-04-26  Juergen Vigna  <jug@sad.it>
8432
8433         * src/insets/figinset.C: fixes to Lars sstream changes!
8434
8435 2000-04-23  Dekel Tsur  <dekel@math.tau.ac.il>
8436
8437         * A lot of files: Added Ascii(ostream &) methods to all inset
8438         classes. Used when exporting to ASCII.
8439         
8440         * src/buffer.C (writeFileAscii,RoffAsciiTable)
8441         * src/paragraph.C (RoffContTableRows): Use the Ascii() methods
8442         instead of Latex()
8443
8444         * src/text2.C (ToggleFree): Disabled implicit word selection when
8445         there is a change in the language
8446         
8447         * src/insets/insetspecialchar.C (Linuxdoc,DocBook): Fixed a bug:
8448         no output was generated for end-of-sentence inset.
8449         
8450         * src/insets/lyxinset.h
8451         * src/buffer.C
8452         * src/lyxfunc.C
8453         * src/paragraph.C: Removed the insetnumber code
8454
8455         * src/text.C (SelectWordWhenUnderCursor): Cleaned the code.
8456
8457 2000-04-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
8458
8459         * src/buffer.C (parseSingleLyXformat2Token): remove no_isolatin1,
8460         no_babel and no_epsfig completely from the file.
8461         (parseSingleLyXformat2Token): add handling for per-paragraph
8462         spacing as written by klyx.
8463
8464         * src/insets/figinset.C: applied patch by Andre. Made it work with
8465         ostringstream too.
8466
8467 2000-04-20  Juergen Vigna  <jug@sad.it>
8468
8469         * src/insets/insettext.C (cutSelection): 
8470         (copySelection): Fixed with selection from right to left.
8471         (draw): now the rows are not recalculated at every draw.
8472         (computeTextRows): for now reset the inset-owner here (this is
8473         important for an undo or copy where the inset-owner is not set
8474         automatically!)
8475
8476         * src/BufferView_pimpl.C (workAreaMotionNotify): when passing the
8477         motion to the_locking_inset screen->first was forgotten, this was
8478         not important till we got multiline insets.
8479
8480 2000-04-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8481
8482         * src/mathed/formulamacro.C (Latex): remove CHECK comment, since
8483         code seems to be alright (it is code changed by Dekel, and the
8484         intent is indeed that all macros should be defined \protect'ed)
8485
8486         * NEWS: a bit of reorganisation of the new user-visible features.
8487
8488 2000-04-19  Juergen Vigna  <jug@sad.it>
8489
8490         * src/insets/insettext.C (init): using a LyXCursor now for cursor
8491         position. Set the inset_owner of the used paragraph so that it knows
8492         that it is inside an inset. Fixed cursor handling with mouse and
8493         cursor keys. Fixed wrong timed inset redraws and lots of other changes
8494         and cleanups to make TextInsets work better.
8495
8496         * src/insets/insettext.h: Using a LyXCursor now. Added a clear() call.
8497         Changed parameters of various functions and added LockInsetInInset().
8498
8499         * src/insets/insettext.C: 
8500
8501         * src/insets/insetcollapsable.h: 
8502         * src/insets/insetcollapsable.C: 
8503         * src/insets/insetfoot.h: 
8504         * src/insets/insetfoot.C: 
8505         * src/insets/insetert.h: 
8506         * src/insets/insetert.C: cleaned up the code so that it works now
8507         correctly with insettext.
8508
8509         * src/insets/inset.C: 
8510         * src/insets/lyxinset.h: inserted inset_owner and some more changes so
8511         that insets in insets are supported right.
8512
8513         * src/table.h: 
8514         * src/table.C: lots of changes for use with inset tabular (and cleanup)
8515
8516         * src/paragraph.C: some small fixes
8517
8518         * src/debug.h: inserted INSETS debug info
8519
8520         * src/lyxfunc.C (Dispatch): added code for InsetTabular and some inset
8521         fixes (f.ex. calling LFUN_DOWN if exiting inset with LFUN_DOWN).
8522
8523         * src/commandtags.h: 
8524         * src/LyXAction.C: insert code for InsetTabular.
8525
8526         * src/BufferView_pimpl.C (workAreaMotionNotify): do return always if
8527         not Button1MotionMask.
8528         (workAreaButtonRelease): send always a InsetButtonRelease event to
8529         the_locking_inset.
8530         (checkInsetHit): some setCursor fixes (always with insets).
8531
8532         * src/BufferView2.C (lockInset): returns a bool now and extended for
8533         locking insets inside insets.
8534         (showLockedInsetCursor): it is important to have the cursor always
8535         before the locked inset.
8536         (fitLockedInsetCursor): forgot adding of InsetInInsetY()-offset.
8537
8538         * src/BufferView.h: made lockInset return a bool.
8539
8540         * src/lyxtext.h: inserted function SetCursor(LyXCursor, ...).
8541
8542         * src/text2.C (SetCursor): This now has a version with a LyXCursor
8543         that is used also internally but can be called as public to have back
8544         a cursor pos which is not set internally.
8545         (SetCursorIntern): Changed to use above function.
8546
8547         * src/CutAndPaste.C (DeleteBuffer): forgot to inizialize textclass
8548
8549 2000-04-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
8550
8551         * ANNOUNCE: 
8552         * INSTALL: 
8553         * UPGRADING: 
8554         * NEWS: updated for prerelease of 1.1.5. Please comment and send
8555         patches for things that should be in or should be changed.
8556
8557         * src/* [insetfiles]: change "usigned char fragile" to bool
8558         fragile. There was only one point that could that be questioned
8559         and that is commented in formulamacro.C. Grep for "CHECK".
8560         
8561         * src/CutAndPaste.C (getBufferTextClass): unused func, removed.
8562         (DeleteBuffer): take it out of CutAndPaste and make it static.
8563
8564 2000-04-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
8565
8566         * src/paragraph.C (TeXOnePar): use the new method in Spacing to
8567         output the spacing envir commands. Also the new commands used in
8568         the LaTeX output makes the result better.
8569
8570         * src/Spacing.C (writeEnvirBegin): new method
8571         (writeEnvirEnd): new method
8572
8573 2000-04-18  Juergen Vigna  <jug@sad.it>
8574
8575         * src/CutAndPaste.C: made textclass a static member of the class
8576         as otherwise it is not accesed right!!!
8577
8578 2000-04-17  Dekel Tsur  <dekel@math.tau.ac.il>
8579
8580         * forms/layout_forms.fd
8581         * src/layout_forms.h
8582         * src/layout_forms.C (create_form_form_character)
8583         * src/lyx_cb.C (UserFreeFont)
8584         * src/lyx_gui.C (create_forms): Added GUI support for multi-lingual
8585         documents (in the layout->character popup).
8586
8587 2000-04-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * src/spellchecker.C (create_ispell_pipe): fix a bug where
8590         \spell_command was in fact not honored (from Kevin Atkinson).
8591
8592         * src/lyx_gui.C (~LyXGUI): make sure lyxViews is deleted when
8593         quitting (Angus)
8594
8595         * src/lyx_gui.h: make lyxViews private (Angus)
8596
8597 2000-04-15  Dekel Tsur  <dekel@math.tau.ac.il>
8598
8599         * src/mathed/math_write.C
8600         (MathMatrixInset::Write) Put \protect before \begin{array} and
8601         \end{array} if fragile
8602         (MathParInset::Write): Put \protect before \\ if fragile
8603
8604 2000-04-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
8605
8606         * src/lyx_gui.C (LyXGUI): initialize the LyXColorHandler. The
8607         initialization if the LyXColorHandler must be done after the
8608         connections to the XServer has been established.
8609
8610         * src/insets/figinset.C (runqueue): change the grabing a bit. Also
8611         get the background pixel from the lyxColorhandler so that the
8612         figures are rendered with the correct background color.
8613         (NextToken): removed functions.
8614         (GetPSSizes): use ifs >> string instead of NextToken.
8615
8616         * src/Painter.[Ch]: the color cache moved out of this file. 
8617
8618         * src/ColorHandler.[Ch]: new files. Holds the gc cache for color
8619         and lines.  
8620
8621 2000-04-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
8622
8623         * src/WorkArea.C (work_area_handler): call BufferView::enterView
8624         and Buffer::leaveView when FL_ENTER and FL_LEAVE.
8625
8626         * src/BufferView.C (enterView): new func
8627         (leaveView): new func
8628
8629         * src/BufferView_pimpl.C (enterView): new func, sets xterm cursor
8630         when approp.
8631         (leaveView): new func, undefines xterm cursor when approp.
8632
8633         * src/bufferview_funcs.C: moved SetXCursor to BufferView_pimp.C
8634         (AllowInput): delete the Workarea cursor handling from this func.
8635
8636         * src/Painter.C (underline): draw a slimer underline in most cases.
8637
8638         * src/lyx_main.C (error_handler): use extern "C"
8639
8640 2000-04-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
8641
8642         * src/insets/figinset.C (DocBook): small patch from Jose (jamatos)
8643         sent directly to me.
8644
8645         * src/text2.C (DeleteEmptyParagraphMechanism): small patch posted
8646         to the list by Dekel.
8647
8648         * src/lyxfunc.C (Dispatch): make PARAGRAPH_SPACING compile with
8649         strstream too.
8650
8651         * src/bufferview_funcs.[Ch]: two new files, moved several of the
8652         methods from lyx_cb.here.
8653
8654         * src/lyx_cb.C: in addition to the above; removed input_prohibited
8655         it was not used.
8656
8657 2000-04-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
8658
8659         * src/lyx_cb.[Ch]: made several functions take a BufferView* arg
8660         instead of using current_view directly. 
8661
8662         * src/lyxfunc.C (Dispatch): the paragraph-spacing implementation
8663
8664         * src/LyXAction.C (init): add the paragraph-spacing command.
8665
8666         * src/commandtags.h: add enum for LFUN_PARAGRAPH_SPACING
8667
8668         * src/buffer.C (parseSingleLyXformat2Token): read the paragraph spacing
8669
8670         * src/lyx_cb.C (CurrentState): output a string when the spacing is
8671         different from the documents.
8672
8673         * src/text.C (SetHeightOfRow): take paragraph spacing into
8674         account, paragraph spacing takes precedence over buffer spacing
8675         (GetVisibleRow): ditto
8676
8677         * src/paragraph.C (writeFile): output the spacing parameter too.
8678         (validate): set the correct features if spacing is used in the
8679         paragraph. 
8680         (Clear): set spacing to default
8681         (MakeSameLayout): spacing too
8682         (HasSameLayout): spacing too
8683         (SetLayout): spacing too
8684         (TeXOnePar): output the spacing commands
8685
8686         * src/lyxparagraph.h: added a spacing variable for use with
8687         per-paragraph spacing.
8688
8689         * src/Spacing.h: add a Default spacing and a method to check if
8690         the current spacing is default. also added an operator==
8691
8692         * src/text2.C (DeleteEmptyParagraphMechanism): added a
8693         RedoParagraphs.
8694
8695 2000-04-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8696
8697         * src/lyxserver.C (callback): fix dispatch of functions
8698
8699         * src/insets/insetlatexaccent.C (checkContents): turn bogus
8700         printf() into lyxerr call. 
8701
8702         * src/tex-strings.C (tex_fonts): add "pslatex" to the choice of
8703         fonts. 
8704
8705         * src/menus.C (ShowInsertMenu): rename "Figure" to "Graphic",
8706         "Table" to "Table Box", "Float" to "Floating Material"; deletes
8707         the "Float" from each of the subitems.
8708         (ShowHelpMenu): add entry for "FAQ" and "TOC".
8709
8710         * src/support/DebugStream.h: add an #ifdef to work around a gcc
8711         2.8.x compiler error. Yes, I know, gcc 2.8.1 is bad, but I
8712         documented the change so that the workaround can be nuked later.
8713
8714         * src/lyx_gui_misc.C (getScreenDPI): new function. Code moved from 
8715         LyX::init().
8716         
8717         * src/lyxlex_pimpl.C (next): do not re-declare the default value
8718         of arguments.
8719         * src/buffer.C (getLatexName): ditto
8720         (setReadonly): ditto
8721
8722 2000-04-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
8723
8724         * src/LaTeXFeatures.h: add a const reference to BufferParams, to
8725         avoid some uses of current_view. Added also a bufferParams()
8726         method to get at this.
8727
8728         * src/lyxtext.h: changed params->buffer and paramters->bparams.
8729
8730 2000-04-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
8731
8732         * src/lyxparagraph.[Ch]: removed
8733         operator<(LyXParagraph::InsetTable..., added a struct matchIT
8734         with operators used by lower_bound and
8735         upper_bound in InsetTable's
8736         Make struct InsetTable private again. Used matchpos.
8737
8738 2000-04-08  Dekel Tsur  <dekel@math.tau.ac.il>
8739         
8740         * src/lyx_cb.C (DocumentApplyCB): When changing the language of the
8741         document, the language of existing text is changed (unless the
8742         document is multi-lingual)
8743
8744         * src/buffer.C (ChangeLanguage,isMultiLingual) New methods.
8745
8746         * src/paragraph.C (ChangeLanguage,isMultiLingual) New methods.
8747
8748         * A lot of files: A rewrite of the Right-to-Left support.
8749   
8750 2000-04-10  Juergen Vigna  <jug@sad.it>
8751
8752         * src/BufferView2.C (showLockedInsetCursor): small bugfix for
8753         misplaced cursor when inset in inset is locked.
8754
8755         * src/insets/insettext.C (LocalDispatch): small fix so that a
8756         BREAKLINE is not inserted if we don't permit it with autBreakRows.
8757
8758         * src/insets/insetfoot.C (GetDrawFont): implemented this as the
8759         footnote font should be decreased in size twice when displaying.
8760
8761         * src/insets/insettext.C (GetDrawFont): inserted this function as
8762         the drawing-font may differ from the real paragraph font.
8763
8764         * src/lyxfunc.C (processKeyEvent): fixed Esc-handling when unlocking
8765         insets (inset in inset!).
8766
8767         * src/insets/insetfoot.C (InsertInsetAllowed): implemented the below
8768         function here because we don't want footnotes inside footnotes.
8769
8770         * src/insets/insettext.C (InsetText): forgot to set autoBreakRows for
8771         Cloned insets.
8772         (init): now set the inset_owner in paragraph.C
8773         (LocalDispatch): added some resetPos() in the right position
8774         (cutSelection): 
8775         (copySelection): 
8776         (pasteSelection): changed to use the new CutAndPaste-Class.
8777
8778         * src/insets/lyxinset.h: inserted new function InsertInsetAllowed
8779         which tells if it is allowed to insert another inset inside this one.
8780
8781         * src/lyx_cb.C (DocumentApplyCB): Using CutAndPaste-Class for
8782         SwitchLayoutsBetweenClasses.
8783
8784         * src/text2.C (InsertInset): checking of the new paragraph-function
8785         InsertInsetAllowed.
8786         (DeleteSimpleCutBuffer): removed (for now only with #ifdef) as this
8787         is not needed anymore here!
8788         (CutSelection): 
8789         (CopySelection): 
8790         (PasteSelection): redone (also with #ifdef) so that now this uses
8791         the CutAndPaste-Class.
8792         (SwitchLayoutsBetweenClasses): removed here and implemented in the
8793         CutAndPaste-Class.
8794         
8795         * src/CutAndPaste.[Ch]: added this for clean handling of CutAndPaste
8796         from/to text/insets.
8797
8798         * src/paragraph.C (LyXParagraph): inserted new inset_owner pointer
8799         so that the paragraph knows if it is inside an (text)-inset.
8800         (InsertFromMinibuffer): changed return-value to bool as now it
8801         may happen that an inset is not inserted in the paragraph.
8802         (InsertInsetAllowed): this checks if it is allowed to insert an
8803         inset in this paragraph.
8804         (PasteParagraph): 
8805         (BreakParagraphConservative): 
8806         (BreakParagraph) : small change for the above change of the return
8807         value of InsertFromMinibuffer.
8808
8809         * src/lyxparagraph.h: added inset_owner and the functions to handle
8810         this (SetInsetOwner(), InInset() and InsertInsetAllowed()).
8811
8812 2000-04-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
8813
8814         * src/BufferView.[Ch], src/BufferView_pimpl.[Ch]: move more
8815         functions from BufferView to BufferView::Pimpl to ease maintence.
8816         
8817         * src/text2.C (DeleteEmptyParagraphMechanism): update the cursor
8818         correctly. Also use SetCursorIntern instead of SetCursor.
8819
8820         * src/insets/insetinfo.C (draw): draw InsetInfo notes with the
8821         correct color.
8822
8823 2000-04-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
8824
8825         * src/WorkArea.C (belowMouse): manually implement below mouse.
8826
8827         * src/*: Add "explicit" on several constructors, I added probably
8828         some unneeded ones. A couple of changes to code because of this.
8829
8830         * src/BufferView.[Ch]: Used the "pimpl" idiom to hide more of the
8831         implementation and private parts from the users of BufferView. Not
8832         quite finished.
8833
8834         * src/lyxlex.[Ch]: Used the "pimpl" idiom to hide more of the
8835         implementation and private parts from the users of LyXLex. Not
8836         quite finished.
8837
8838         * src/BufferView_pimpl.[Ch]: new files
8839
8840         * src/lyxlex_pimpl.[Ch]: new files
8841
8842         * src/LyXView.[Ch]: some inline functions move out-of-line
8843
8844 2000-04-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8845
8846         * src/lyxparagraph.h: make struct InsetTable public.
8847
8848         * src/support/lyxstring.h: change lyxstring::difference_type to be
8849         ptrdiff_t. Add std:: modifiers to streams.
8850
8851         * src/font.C: include the <cctype> header, for islower() and
8852         isupper(). 
8853
8854 2000-04-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
8855
8856         * src/font.[Ch]: new files. Contains the metric functions for
8857         fonts, takes a LyXFont as parameter. Better separation of concepts.
8858         
8859         * src/lyxfont.[Ch]: move the metric functions to font.[Ch] several
8860         changes because of this.
8861
8862         * src/PainterBase.[Ch] (width): remove, use the ones in font.C instead
8863
8864         * src/*: compile with -Winline and move functions that don't
8865         inline out of line.
8866         
8867         * src/lyx_cb.C (stringOnlyContains): use string::find_first_not_of
8868         instead of strspn.
8869
8870 2000-04-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
8871
8872         * src/paragraph.C (GetLabelstring): renamed from GetLabestring.
8873         (various files changed because of this)
8874
8875         * src/Painter.C (text): fixed the drawing of smallcaps.
8876
8877         * src/lyxfont.[Ch] (drawText): removed unused member func.
8878         (drawString): ditto
8879
8880         * src/*.C: added needed "using" statements and "std::" qualifiers. 
8881
8882 2000-03-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
8883
8884         * src/*.h: removed all use of "using" from header files use
8885         qualifier std:: instead. 
8886
8887 2000-04-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8888
8889         * src/text.C (Backspace): some additional cleanups (we already
8890         know whether cursor.pos is 0 or not).
8891
8892         * lib/reLyX/Makefile.am (DESTDIR): add an empty value (since
8893         automake does not provide one).
8894
8895         * src/bmtable.h: replace C++ comments with C comments.
8896
8897 2000-04-02  Dekel Tsur <dekel@math.tau.ac.il>
8898
8899         * src/screen.C (ShowCursor): Change the shape of the cursor if
8900         the current language is not equal to the language of the document.
8901         (If the cursor change its shape unexpectedly, then you've found a bug)
8902
8903         * src/insets/insettext.C (LocalDispatch, UpdateLocal) Fixed some
8904         bugs [I hope...]
8905
8906         * src/insets/insetnumber.[Ch]: New files.
8907
8908         * src/LyXAction.C (init)
8909         * src/lyxfunc.C (dispatch): Add command number-inset-insert
8910
8911         * lyxrc.example
8912         * src/lyxrc.C: Renamed command \auto_mathmode to \number_inset
8913
8914         * src/lyxparagraph.h
8915         * src/paragraph.C: Changed insetlist to Vector<InsetTable>.
8916         (the vector is kept sorted).
8917
8918         * src/text.C (GetVisibleRow): Draw selection correctly when there
8919         is both LTR and RTL text.
8920
8921         * src/paragraph.C (Clone): Use the assignment operator for cloning,
8922         which is much faster.
8923
8924         * src/text.C (GetVisibleRow and other): Do not draw the last space 
8925         in a row if the direction of the last letter is not equal to the
8926         direction of the paragraph.
8927
8928         * src/lyxfont.C (latexWriteStartChanges):
8929         Check that font language is not equal to basefont language.
8930         (latexWriteEndChanges): ditto
8931
8932         * src/lyx_cb.C (StyleReset): Don't change the language while using
8933         the font-default command.
8934
8935         * src/paragraph.C (GetFirstFontSettings): Handle correctly an
8936         empty paragraph before a footnote.
8937
8938         * src/insets/insetcommand.C (draw): Increase x correctly.
8939
8940         * src/screen.C (ShowCursor): Change cursor shape if
8941         current language != document language.
8942
8943         * src/lyxfunc.C (dispatch): Added calls to owner->view()->setState()
8944
8945 2000-03-31  Juergen Vigna  <jug@sad.it>
8946
8947         * src/paragraph.C (GetInset): commented out text[pos] = ' '
8948         (Clone): changed mode how the paragraph-data is copied to the
8949         new clone-paragraph.
8950
8951         * src/lyxfunc.C (Dispatch): fixed small problem when calling
8952         GetInset(pos) with no inset anymore there (in inset UNDO)
8953
8954         * src/insets/insetcommand.C (draw): small fix as here x is
8955         incremented not as much as width() returns (2 before, 2 behind = 4)
8956
8957 2000-03-30  Juergen Vigna  <jug@sad.it>
8958
8959         * src/insets/insettext.C (InsetText): small fix in initialize
8960         widthOffset (should not be done in the init() function)
8961
8962 2000-03-29  Amir Karger <karger@lyx.org>
8963
8964         * lib/examples/it_ItemizeBullets.lyx: translation by 
8965         Stefano Mastella
8966
8967         * Implemented \textasciitilde and fixed a tiny bug in reLyX
8968
8969 2000-03-29  Juergen Vigna  <jug@sad.it>
8970
8971         * src/insets/insetcollapsable.C (Clone): same as in InsetFoot
8972
8973         * src/insets/insetfoot.C (Clone): small change as for the below
8974         new init function in the text-inset
8975
8976         * src/insets/insettext.C (init): new function as I've seen that
8977         clone did not copy the Paragraph-Data!
8978         (LocalDispatch): Added code so that now we have some sort of Undo
8979         functionality (well actually we HAVE Undo ;)
8980
8981         * src/text.C (Backspace): Small fix for the a | a Backspace problem
8982
8983 2000-03-24  Dekel Tsur <dekel@math.tau.ac.il>
8984         
8985         * src/paragraph.C (AutoDeleteInsets) Fixed a bug (wrong positions
8986         were erased)
8987
8988 2000-03-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
8989
8990         * src/main.C: added a runtime check that verifies that the xforms
8991         header used when building LyX and the library used when running
8992         LyX match. Exit with a message if they don't match. This is a
8993         version number check only.
8994
8995         * src/buffer.C (save): Don't allocate memory on the heap for
8996         struct utimbuf times.
8997
8998         * *: some using changes, use iosfwd instead of the real headers.
8999
9000         * src/lyxfont.C use char const * instead of string for the static
9001         strings. Rewrite some functions to use sstream.
9002
9003 2000-03-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9004
9005         * src/text.C (Backspace): hopefully fix the dreaded backaspace
9006         bug. 
9007
9008 2000-03-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9009
9010         * lib/layouts/svjog.layout: new file, for Springer-Verlag Journal
9011         of Geodesy (from Martin Vermeer)
9012
9013         * lib/layouts/svjour.inc: include file for the Springer svjour
9014         class. It can be used to support journals other than JoG.
9015
9016         * lib/Makefile.am: use $(DESTDIR) make variable (from Arkadiusz
9017         Miskiewicz <misiek@pld.org.pl>)
9018         * lib/reLyX/Makefile.am: ditto.
9019
9020 2000-03-27  Juergen Vigna  <jug@sad.it>
9021
9022         * src/insets/insettext.C: added Cut/Copy/Paste inside insets,
9023         also some modifications with operations on selected text.
9024
9025         * src/BufferView.C (checkInsetHit): Now hopefully fixed all the
9026         problems with clicking on insets (last famous words ;)
9027
9028         * src/insets/insetcommand.C (draw): 
9029         (width): Changed to have a bit of space before and after the inset so
9030         that the blinking cursor can be seen (otherwise it was hidden)
9031
9032 2000-03-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9033
9034         * config/gettext.m4 (AM_WITH_NLS): fix a gettext bug where -lintl
9035         would not be added to the link list when an installed gettext (not
9036         part of libc) is found.
9037
9038 2000-03-24  Juergen Vigna  <jug@sad.it>
9039
9040         * src/insets/insetcollapsable.C (Edit): 
9041         * src/mathed/formula.C (InsetButtonRelease): 
9042         (InsetButtonPress): fixed for new handling of ButtonPress/Release
9043         handling.
9044
9045         * src/BufferView.C (workAreaButtonPress): 
9046         (workAreaButtonRelease): 
9047         (checkInsetHit): Finally fixed the clicking on insets be handled
9048         correctly!
9049
9050         * src/insets/insetert.C (Edit): inserted this call so that ERT
9051         insets work always with LaTeX-font
9052
9053 2000-03-21  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
9054
9055         * src/lyx_main.C (easyParse): Removed misplaced gui=false which
9056         caused lyx to startup with no GUI in place, causing in a crash
9057         upon startup when called with arguments.
9058
9059 2000-03-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9060
9061         * src/FontLoader.C: better initialization of dummyXFontStruct.
9062
9063 2000-03-20 José Abílio Matos <jamatos@lyx.org>
9064
9065         * src/lyxrc.[Ch] Removed \sgml_extra_options, added 6 other flags
9066         for linuxdoc and docbook import and export format options.
9067
9068         * lib/lyxrc.example Example of default values for the previous flags.
9069
9070         * src/lyx_cb.C Use those flags instead of the hardwired values for
9071         linuxdoc and docbook export.
9072
9073         * src/lyxfunc.[Ch] Added HTML export for linuxdoc and docbook, added
9074         linuxdoc import.
9075
9076         * src/menus.C Added menus entries for the new import/exports formats.
9077         
9078 2000-03-09 André Pönitz <poenitz@mathematik.tu-chemnitz.de>
9079
9080         * src/lyxrc.*: Added support for running without Gui 
9081         (\use_gui false)
9082           
9083         * src/FontLoader.C: sensible defaults if no fonts are needed
9084
9085         * src/lyx_cb.C: New function ShowMessage (writes either to the
9086         minibuffer or cout in case of no gui
9087         New function AskOverwrite for common stuff
9088         Consequently various changes to call these functions
9089
9090         * src/lyx_main.C:  allow gui = false and handle lyxrc \use_gui false
9091         wild guess at sensible screen resolution when having no gui
9092
9093         * src/lyxfont.C: no gui, no fonts... set some defaults
9094
9095 2000-03-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * src/LColor.C: made the command inset background a bit lighter.
9098
9099 2000-03-20  Hartmut Goebel <goebel@noris.net>
9100
9101         * lib/layouts/stdstruct.inc: split into stdtitle.inc and
9102         stdstruct.inc. Koma-Script added some title elements which
9103         otherwise have been listed below "bibliography". This split allows
9104         adding title elements to where they belong.
9105
9106         * lib/layouts/scrclass.inc: changed to include stdtitle.inc, then
9107         define the additional title elements and then include
9108         stdstruct.inc. 
9109
9110         * many other layout files: changed to include stdtitle.inc just
9111         before stdstruct.inc.
9112
9113 2000-03-18 Dekel Tsur <dekel@math.tau.ac.il>
9114
9115         * src/buffer.C: (save) Added the option to store all backup files
9116         in a single directory
9117
9118         * src/lyxrc.[Ch]: Added variable \backupdir_path
9119
9120         * lib/lyxrc.example: Added descriptions of recently added variables
9121
9122         * src/insets/insetbib.[Ch]: Fixed few bugs (crash when editing a
9123         bibtex inset, not closing the bibtex popup when deleting the inset)
9124
9125 2000-03-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9126
9127         * src/lyx_cb.C: add a couple using directives.
9128
9129 2000-03-17 José Abílio Matos <jamatos@lyx.org>
9130         * src/lyx_cb.C (RunLinuxDoc) Removed the flag==-1 option for linuxdoc 
9131         import based on the filename.
9132         
9133         * src/bufferlist.C () Removed the call to RunLinuxDoc where a linuxdoc
9134         file would be imported at start, if the filename where of a sgml file.
9135
9136         * src/support/filetools.C (IsSGMLfilename) Removed, no longer needed.
9137         
9138         * src/support/filetools.h (IsSGMLfilename) Removed, no longer needed.
9139         
9140 2000-03-16 Dekel Tsur <dekel@math.tau.ac.il>
9141         * src/lyxfont.h Replaced the member variable bits.direction by the
9142         member variable lang. Made many changes in other files.
9143         This allows having a multi-lingual document
9144
9145         * src/lyxfunc.C, src/lyx_cb.C Added a new command "language <l>"
9146         that change the current language to <l>.
9147         Removed the command "font-rtl"
9148
9149         * src/buffer.C Changed LYX_FORMAT to 2.16 (as I changed the file
9150         format for Hebrew documents)
9151
9152         * src/lyxrc.C, src/lyxfunc.C Added a new lyxrc command "auto_mathmode"
9153         When auto_mathmode is "true", pressing a digit key in normal mode 
9154         will cause entering into mathmode.
9155         If auto_mathmode is "rtl" then this behavior will be active only
9156         when writing right-to-left text.
9157
9158         * src/text2.C (InsertStringA) The string is inserted using the
9159         current font.
9160
9161         * src/paragraph.C (GetEndLabel) Gives a correct result for
9162         footnote paragraphs.
9163
9164         * src/paragraph.C (PreviousBeforeFootnote) Fixed a small bug
9165
9166 2000-03-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9167
9168         * src/text.C (Backspace): move RemoveParagraph and RemoveRow in
9169         front of PasteParagraph. Never insert a ' '. This should at least
9170         fix some cause for the segfaults that we have been experiencing,
9171         it also fixes backspace behaviour slightly. (Phu!)
9172
9173         * src/support/lstrings.C (compare_no_case): some change to make it
9174         compile with gcc 2.95.2 and stdlibc++-v3
9175
9176         * src/text2.C (MeltFootnoteEnvironment): change type o
9177         first_footnote_par_is_not_empty to bool.
9178
9179         * src/lyxparagraph.h: make text private. Changes in other files
9180         because of this.
9181         (fitToSize): new function
9182         (setContentsFromPar): new function
9183         (clearContents): new function
9184         (SetChar): new function
9185
9186         * src/paragraph.C (readSimpleWholeFile): deleted.
9187
9188         * src/lyx_cb.C (InsertAsciiFile): don't use a LyXParagraph to hold
9189         the file, just use a simple string instead. Also read the file in
9190         a more maintainable manner.
9191
9192         * src/text2.C (InsertStringA): deleted.
9193         (InsertStringB): deleted.
9194
9195 2000-03-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
9196
9197         * src/text2.C (DeleteEmptyParagraphMechanism): don't run,
9198         RedoParagraphs from the doublespace handling part, just set status
9199         to NEED_MORE_REFRESH. Also don't update cursor position (should be
9200         done, but perhaps not like this.)
9201
9202 2000-03-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9203
9204         * src/text2.C (InsertStringA): don't forget to insert a META_INSET
9205         character when inserting an inset.
9206
9207 2000-03-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
9208
9209         * src/bufferparams.C (readLanguage): now takes "default" into
9210         consideration.
9211
9212         * src/lyx_main.C (LyX): remove the setup of lyxrc. (new)
9213         also initialize the toplevel_keymap with the default bindings from
9214         lyxrc. 
9215         
9216         * src/buffer.C (Buffer): remove lyxrc from the parameters.
9217
9218         * all files using lyxrc: have lyxrc as a real variable and not a
9219         pointer. remove all extern LyXRC * lyxrc. The equiv to this is
9220         done in lyxrc.h.
9221         
9222         * src/lyxrc.C: remove double call to defaultKeyBindings
9223
9224         * src/toolbar.[Ch]: Let the ToolbarDefaults handle the reading of
9225         toolbar defauls using lyxlex. Remove enums, structs, functions
9226         related to this. 
9227
9228         * src/lyxrc.h: use ToolbarDefaults instead of Toolbar for storing
9229         toolbar defaults. Also store default keybindings in a map.
9230
9231         * src/ToolbarDefaults.[Ch]: New file. This class is used for
9232         storing the toolbar defaults without any xforms dependencies. 
9233
9234         * src/insets/figinset.C: patch posted to list by Andre Poenitz
9235         applied. Changed to use iterators.
9236
9237 2000-03-11  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>
9238
9239         * development/lyx.spec.in: Fix to ``unset LINGUAS'' line for
9240         systems that don't have LINGUAS set to begin with.
9241
9242 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
9243
9244         * src/text2.C (DeleteEmptyParagraphMechanism): small fix posted to
9245         the list by Dekel Tsur.
9246
9247 2000-03-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9248
9249         * src/insets/insetgraphics.C (GraphicxCB): declare with "C" linkage.
9250         * src/insets/form_graphics.C: ditto.
9251
9252         * src/insets/inseturl.C (Latex): the free_spc argument is not used.
9253
9254 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
9255
9256         * src/bufferparams.C (readLanguage): use the new language map
9257
9258         * src/intl.C (InitKeyMapper): use the new language map
9259
9260         * src/lyx_gui.C (create_forms): use the new language map
9261
9262         * src/language.[Ch]: New files. Used for holding the information
9263         about each language. Now! Use this new language map enhance it and
9264         make it really usable for our needs. 
9265
9266 2000-03-09 Dekel Tsur <dekel@math.tau.ac.il>
9267         
9268         * screen.C (ShowCursor): Removed duplicate code.
9269         (ShowManualCursor): Support for 3 cursor shapes: Bar (default),
9270         L (LTR text in RTL document), and reversed-L (RTL text in LTR document)
9271         
9272         * src/text.C (NextBreakPoint,Fill): Moved declaration of left_margin
9273
9274         * src/lyxtext.h
9275         * src/text.C  Added TransformChar method. Used for rendering Arabic
9276         text correctly (change the glyphs of the letter according to the
9277         position in the word)
9278
9279         * src/buffer.C
9280         * src/paragraph.C
9281         * src/lyxrc.h
9282         * src/lyxrc.C  Added lyxrc command {language_command_begin,
9283         language_command_end,language_command_ltr,language_command_rtl,
9284         language_package} which allows the use of either arabtex or Omega
9285         for Arabic
9286
9287         * src/lyx_gui.C (init)
9288         * src/lyxrc.h
9289         * src/lyxrc.C Added lyxrc command screen_font_encoding_menu. Allows
9290         to use encoding for menu fonts which is different than the encoding
9291         for screen fonts
9292
9293         * src/buffer.C (makeLaTeXFile): If params.language = "default",
9294         do not load the babel package.
9295         To write an English document with Hebrew/Arabic, change the document
9296         language to "english".
9297
9298         * src/text2.C (SetCounter): Fixed appendix labels for Hebrew document
9299         (alphaCounter): changed to return char
9300         (loweralphaCounter, hebrewCounter, romanCounter): New functions
9301
9302         * lib/lyxrc.example  Added examples for Hebrew/Arabic
9303
9304         * src/layout.h
9305         * src/layout.C  Added layout command endlabeltype
9306
9307         * src/paragraph.C Added GetEndLabel(),LastPhysicalPar() const
9308
9309         * src/text.C (GetVisibleRow): Draw a box at the end of proof layout
9310
9311 2000-03-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
9312
9313         * src/mathed/math_delim.C (search_deco): return a
9314         math_deco_struct* instead of index.
9315
9316 2000-03-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
9317
9318         * All files with a USE_OSTREAM_ONLY within: removed all code that
9319         was unused when USE_OSTREAM_ONLY is defined.
9320         
9321         * src/support/lyxalgo.h (sorted): rewrote to use plain '<' instead
9322         of any less. Removed header and using.
9323
9324         * src/text.C (GetVisibleRow): draw the string "Page Break
9325         (top/bottom)" on screen when drawing a pagebreak line.
9326
9327 2000-03-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9328
9329         * lib/doc/LaTeXConfig.lyx.in: add description of textclass llncs.
9330
9331         * src/mathed/math_macro.C (draw): do some cast magic.
9332         (Metrics): ditto.
9333
9334         * src/mathed/math_defs.h: change byte* argument to byte const*.
9335
9336         * src/mathed/formulamacro.[Ch]: add free_spc to Latex() method.
9337
9338         * src/insets/insetfoot.[Ch]: Clone() always returns an Inset* (well I
9339         know it is right to return InsetFoot* too, but cxx does not like
9340         it...). 
9341
9342         * src/insets/insetcollapsable.[Ch] (Clone): make const.
9343
9344         * development/lyx.spec.in: unset LINGUAS to avoid i18n problems.
9345
9346         * src/mathed/math_delim.C: change == to proper assignment.
9347
9348 2000-03-09  Juergen Vigna  <jug@sad.it>
9349
9350         * src/insets/insettext.C (setPos): fixed various cursor positioning
9351         problems (via mouse and cursor-keys)
9352         (LocalDispatch): added posibility to add a Ctrl-Enter inside a text
9353         inset (still a small display problem but it works ;)
9354
9355         * src/insets/insetcollapsable.C (draw): added button_top_y and
9356         button_bottom_y to have correct values for clicking on the inset.
9357
9358         * src/support/lyxalgo.h: commented out 'using std::less'
9359
9360 2000-03-08  Juergen Vigna  <jug@sad.it>
9361
9362         * src/insets/insetcollapsable.C (InsetButtonRelease): Now a
9363         Button-Release event closes as it is alos the Release-Event
9364         which opens it.
9365
9366         * src/lyxfunc.C (Dispatch): forgot a break in the LFUN_INSET_ERT
9367
9368 2000-03-07  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
9369
9370         * lib/layouts/literate-scrap.inc: Fixed initial comment. Now we
9371         can add multiple spaces in Scrap (literate programming) styles...
9372         which, by the way, is how I got hooked on LyX to begin with.
9373
9374         * src/mathed/formula.C (Write): Added dummy variable to an
9375         inset::Latex() call.
9376         (Latex): Add free_spacing boolean to inset::Latex()
9377
9378         * src/mathed/formula.h (Latex): Added free_spacing boolean arg.
9379         
9380         * src/insets/lyxinset.h: Changed definition of the inset::Latex()
9381         virtual function to include the free_spacing boolean from
9382         the containing paragraph's style.
9383
9384         * src/insets/inseturl.C, src/insets/inseturl.h (Latex):
9385         Added free_spacing boolean arg to match inset.h
9386         
9387         * src/insets/insettext.C, src/insets/insettext.h (Latex):
9388         Added free_spacing boolean arg to match inset.h
9389         
9390         * src/insets/insetspecialchar.C, src/insets/insetspecialchar.h (Latex):
9391         Added free_spacing boolean and made sure that if in a free_spacing
9392         paragraph, that we output normal space if there is a protected space.
9393         
9394         * src/insets/insetref.C, src/insets/insetref.h (Latex):
9395         Added free_spacing boolean arg to match inset.h
9396         
9397         * src/insets/insetquotes.C, src/insets/insetquotes.h (Latex):
9398         Added free_spacing boolean arg to match inset.h
9399         
9400         * src/insets/insetparent.C, src/insets/insetparent.h (Latex):
9401         Added free_spacing boolean arg to match inset.h
9402         
9403         * src/insets/insetlatexaccent.C, src/insets/insetlatexaccent.h (Latex):
9404         Added free_spacing boolean arg to match inset.h
9405         
9406         * src/insets/insetlatex.C, src/insets/insetlatex.h (Latex):
9407         Added free_spacing boolean arg to match inset.h
9408         
9409         * src/insets/insetlabel.C, src/insets/insetlabel.h (Latex): Added
9410         free_spacing boolean arg to match inset.h 
9411         
9412         * src/insets/insetinfo.C, src/insets/insetinfo.h (Latex):
9413         Added free_spacing boolean arg to match inset.h
9414         
9415         * src/insets/insetinclude.C, src/insets/insetinclude.h (Latex):
9416         Added free_spacing boolean arg to match inset.h
9417         
9418         * src/insets/insetgraphics.C, src/insets/insetgraphics.h (Latex):
9419         Added free_spacing boolean arg to match inset.h
9420         
9421         * src/insets/inseterror.C, src/insets/inseterror.h (Latex):
9422         Added free_spacing boolean arg to match inset.h
9423         
9424         * src/insets/insetcommand.C, src/insets/insetcommand.h (Latex):
9425         Added free_spacing boolean arg to match inset.h
9426         
9427         * src/insets/insetbib.C, src/insets/insetbib.h (Latex): Added
9428         free_spacing boolean arg to match inset.h
9429         
9430         * src/insets/figinset.C, src/insets/figinset.h (Latex): Added
9431         free_spacing boolean arg to match inset.h
9432         
9433         * src/text2.C (DeleteEmptyParagraphMechanism): Fix this to
9434         ignore free_spacing paragraphs. The user's spaces are left
9435         alone. 
9436         
9437         * src/text.C (InsertChar): Fixed the free_spacing layout
9438         attribute behavior. Now, if free_spacing is set, you can
9439         add multiple spaces in a paragraph with impunity (and they
9440         get output verbatim).
9441         (SelectSelectedWord): Added dummy argument to inset::Latex()
9442         call.
9443         
9444         * src/paragraph.C (TeXOnePar): Added dummy args to inset::Latex(...)
9445         calls.
9446         
9447         * src/lyxfunc.C (Dispatch): Hard-spaces input in free_spacing
9448         paragraph layouts now only input a simple space instead.
9449         Special character insets don't make any sense in free-spacing
9450         paragraphs.
9451         
9452         * src/buffer.C (parseSingleLyXformat2Token): Code to convert
9453         hard-spaces in the *input* file to simple spaces if the layout
9454         is free-spacing. This converts old files which had to have
9455         hard-spaces in free-spacing layouts where a simple space was
9456         preferrable.
9457         (writeFileAscii): Added free_spacing check to pass to the newly
9458         reworked inset::Latex(...) methods. The inset::Latex() code
9459         ensures that hard-spaces in free-spacing paragraphs get output
9460         as spaces (rather than "~").
9461         
9462 2000-03-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
9463         
9464         * src/mathed/math_delim.C (draw): draw the empty placeholder
9465         delims with a onoffdash line.
9466         (struct math_deco_compare): struct that holds the "functors" used
9467         for the sort and the binary search in math_deco_table.
9468         (class init_deco_table): class used for initial sort of the
9469         math_deco_table. 
9470         (search_deco): use lower_bound to do a binary search in the
9471         math_deco_table.
9472
9473 2000-03-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
9474
9475         * src/lyxrc.C: a small secret thingie...
9476
9477         * src/lyxlex.C (printTable): changed to take a ostream as paramter
9478         and to not flush the stream as often as it used to.
9479
9480         * src/support/lyxalgo.h: new file 
9481         (sorted): template function used for checking if a sequence is
9482         sorted or not. Two versions with and without user supplied
9483         compare. Uses same compare as std::sort.
9484
9485         * src/lyxlex.C (LyXLex): check if the table is sorted, if not sort
9486         it and give warning on lyxerr.
9487         (pushTable): ditto
9488         (struct compare_tags): struct with function operators used for
9489         checking if sorted, sorting and lower_bound.
9490         (search_kw): use lower_bound instead of manually implemented
9491         binary search.
9492
9493 2000-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9494
9495         * src/insets/insetcollapsable.h: fix Clone() declaration.
9496         * src/insets/insetfoot.h: ditto.
9497
9498         * src/insets/lyxinset.h: remove an extra comma at the end of enum.
9499
9500 2000-03-08  Juergen Vigna  <jug@sad.it>
9501
9502         * src/insets/lyxinset.h: added owner call which tells us if
9503         this inset is inside another inset. Changed also the return-type
9504         of Editable to an enum so it tells clearer what the return-value is.
9505
9506         * src/insets/insettext.C (computeTextRows): fixed computing of
9507         textinsets which split automatically on more rows.
9508
9509         * src/insets/insetert.[Ch]: changed this to be of BaseType
9510         InsetCollapsable.
9511
9512         * src/insets/insetfoot.[Ch]: added footnote inset
9513
9514         * src/insets/insetcollapsable.[Ch]: added this BaseClass for
9515         collapsable insets (like footnote, ert, ...)
9516
9517 2000-03-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
9518
9519         * src/lyxdraw.h: remvoe file
9520
9521         * src/lyxdraw.C: remove file
9522
9523         * src/insets/insettext.C: added <algorithm>.
9524
9525 2000-03-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
9526
9527         * src/mathed/math_panel.C (delim_cb): case MM_OK use string stream
9528         (matrix_cb): case MM_OK use string stream
9529
9530         * src/mathed/formula.C (LocalDispatch): case LFUN_SETXY use string
9531         stream.
9532
9533         * src/mathed/math_macro.C (draw): use string stream
9534         (Metrics): use string stream
9535
9536         * src/paragraph.C (TeXFootnote): for case LyXParagraph::FIG, write
9537         directly to the ostream.
9538
9539         * src/vspace.C (asString): use string stream.
9540         (asString): use string stream
9541         (asLatexString): use string stream
9542
9543         * src/lyx_cb.C (UpdateLayoutDocument): use string stream for
9544         setting Spacing::Other.
9545
9546         * src/LaTeXFeatures.C (getPackages): use string stream instead of
9547         sprintf when creating the stretch vale.
9548
9549         * src/text2.C (alphaCounter): changed to return a string and to
9550         not use a static variable internally. Also fixed a one-off bug.
9551         (SetCounter): changed the drawing of the labels to use string
9552         streams instead of sprintf.
9553
9554         * src/support/lyxmanip.h: rewrite the newlineanDepth ostream
9555         manipulator to use a scheme that does not require library support.
9556         This is also the way it is done in the new GNU libstdc++. Should
9557         work with DEC cxx now. 
9558
9559 2000-03-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
9560
9561         * src/mathed/math_inset.h (Write(ostream & os): add a space at the
9562         end. This fixes a bug. 
9563
9564         * src/mathed (all files concerned with file writing): apply the
9565         USE_OSTREAM_ONLY changes to mathed too.
9566         
9567         * src/support/DebugStream.h: make the constructor explicit.
9568
9569         * src/lyxfont.C (latexWriteStartChanges): small bug related to
9570         count and ostream squashed.
9571
9572 2000-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9573
9574         * src/support/Makefile.am (libsupport_la_SOURCES): add lyxmanip.h.
9575
9576         * src/buffer.C (makeLaTeXFile): add a .c_str(), since
9577         ostringstream uses STL strings, and we might not.
9578
9579         * src/insets/insetspecialchar.C: add using directive.
9580         * src/insets/insettext.C: ditto.
9581
9582 2000-03-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
9583
9584         * lib/layouts/seminar.layout: feeble attempt at a layout for
9585         seminar.cls, far from completet and could really use some looking
9586         at from people used to write layout files.
9587
9588         * src/support/lyxmanip.h (newlineAndDepth): ostream manipulator to
9589         use instead of the AddNewlineAndDepth funtion in lyx_cb.C. This is
9590         a lot nicer and works nicely with ostreams.
9591
9592         * src/mathed/formula.C (draw): a slightly different solution that
9593         the one posted to the list, but I think this one works too. (font
9594         size wrong in headers.)
9595
9596         * src/insets/insettext.C (computeTextRows): some fiddling on
9597         Jürgens turf, added some comments that he should read.
9598
9599         * src/lyxrc.C: remove all traces of RC_NOMENUACCELERATORS, never
9600         used and it gave compiler warnings.
9601         RC_SHOW_BANNER + "\\show_banner" added, also to reading and
9602         writing of lyxrc.
9603
9604         * src/lyx_gui.C (create_forms): do the right thing when
9605         show_banner is true/false.
9606
9607         * src/lyx_cb.C (TimerCB): no need to close or do anything if
9608         show_banner is false.
9609
9610         * most file writing files: Now use iostreams to do almost all of
9611         the writing. Also instead of passing string &, we now use
9612         stringstreams. mathed output is still not adapted to iostreams.
9613         This change can be turned off by commenting out all the occurences
9614         of the "#define USE_OSTREAM_ONLY 1" lines.
9615         
9616         * src/WorkArea.C (createPixmap): don't output debug messages.
9617         (WorkArea): don't output debug messages.
9618
9619         * lib/lyxrc.example: added a comment about the new variable
9620         \show_banner 
9621
9622         * development/Code_rules/Rules: Added some more commente about how
9623         to build class interfaces and on how better encapsulation can be
9624         achieved. 
9625
9626 2000-03-03  Juergen Vigna  <jug@sad.it>
9627
9628         * src/insets/insetert.C (InsetERT): Now ERT-insets break row
9629         automatically with the width of the LyX-Window
9630
9631         * src/insets/insettext.C (computeTextRows): fixed update bug in
9632         displaying text-insets (scrollvalues where not initialized!)
9633
9634 2000-03-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
9635
9636         * src/mathed/math_utils.C (MathedLookupBOP): using only res->id ==
9637         id in the check of the result from lower_bound is not enough since
9638         lower_bound can return last too, and then res->id will not be a
9639         valid construct.
9640
9641         *  all insets and some code that use them: I have conditionalized
9642         removed the Latex(string & out, ...) this means that only the
9643         Latex(ostream &, ...) will be used. This is a work in progress to
9644         move towards using streams for all output of files. 
9645
9646         * src/text.C (GetColumnNearX): initialize LyXParagraph::size_type
9647         c to 0.
9648
9649 2000-03-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9650
9651         * src/mathed/math_utils.C (MathedLookupBOP): fix the search
9652         routine (this fixes bug where greek letters were surrounded by too
9653         much white space).
9654
9655         * src/support/filetools.C (findtexfile): change a bit the search
9656         algorithm, to fix bug introduced in 1.1.4. Note that --format is
9657         no longer passed to kpsewhich, we may have to change that later.
9658
9659         * config/lyxinclude.m4 (LYX_PROG_CXX): better version-dependent
9660         warning options to avoid problems with X header files (from Angus
9661         Leeming).
9662         * acinclude.m4: regenerated.
9663
9664 2000-03-02  Juergen Vigna  <jug@sad.it>
9665
9666         * src/insets/insettext.C (WriteParagraphData): Using the
9667         par->writeFile() function for writing paragraph-data.
9668         (Read): Using buffer->parseSingleLyXformat2Token()-function
9669         for parsing paragraph data!
9670
9671         * src/buffer.C (readLyXformat2): removed all parse data and using
9672         the new parseSingleLyXformat2Token()-function.
9673         (parseSingleLyXformat2Token): added this function to parse (read)
9674         lyx-file-format (this is called also from text-insets now!)
9675
9676 2000-03-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
9677
9678         * src/paragraph.C (BeginningOfMainBody): initialize previous_char
9679         and temp.
9680
9681         * src/lyxfunc.C (Dispatch(LFUN_MENUSEARCH)): Do the Search dialog
9682         directly instead of going through a func. One very bad thing: a
9683         static LyXFindReplace, but I don't know where to place it. 
9684
9685         * src/lyxfr1.C (GetCurrentSelectionAsString): rewritten to use a
9686         string instead of char[]. Also changed to static.
9687         (GetSelectionOrWordAtCursor): changed to static inline
9688         (SetSelectionOverLenChars): ditto.
9689
9690         * src/lyxfr0.[Ch] src/lyxfr1.[Ch]: rewrite to get rid of
9691         current_view and global variables. both classes has changed names
9692         and LyXFindReplace is not inherited from SearchForm.
9693         
9694         * src/lyx_gui_misc.C (CloseAllBufferRelatedPopups): remove the
9695         fl_form_search form.
9696
9697         * src/lyx_gui.C (create_forms): removed the fl_form_search form.
9698
9699 2000-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * lib/bind/*.bind: make sure 'buffer-previous' function is not
9702         bound (from Kayvan).
9703
9704         * src/insets/Makefile.am (libinsets_la_SOURCES): add BoundingBox.h.
9705
9706         * lib/layouts/stdletter.inc: fix line spacing in Send_To_Address.
9707
9708 2000-03-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
9709
9710         * some things that I should comment but the local pub says head to
9711         swirly... 
9712         
9713         * comment out all code that belongs to the Roff code for Ascii
9714         export of tables. (this is unused)
9715         
9716         * src/LyXView.C: use correct type for global variable
9717         current_layout. (LyXTextClass::size_type)
9718
9719         * some code to get the new insetgraphics closer to working I'd be
9720         grateful for any help.
9721         
9722         * src/BufferView2.C (insertInset): use the return type of
9723         NumberOfLayout properly. (also changes in other files)
9724
9725         * src/insets/insetspecialchar.[Ch]: add the PROTECTED SEPARATOR to
9726         this as a test. I want to know what breaks because of this.
9727
9728         * src/BufferView.[Ch] (tripleClick): name change from trippleClick.
9729
9730 2000-02-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
9731
9732         * lib/layouts/stdlists.inc: changed the lyxlist latex definition
9733         to use a \makebox in the label, this allows proper justification
9734         with out using protected spaces or multiple hfills. Now it is
9735         "label" for left justified, "\hfill label\hfill" for center, and
9736         "\hfill label" for right justified. UserGuide.lyx sec. 3.3.6.5
9737         should be changed accordingly. 
9738
9739 2000-02-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9740
9741         * src/lyxtext.h: change SetLayout() to take a
9742         LyXTextClass::size_type instead of a char (when there is more than
9743         127 layouts in a class); also change type of copylayouttype.
9744         * src/text2.C (SetLayout): ditto.
9745         * src/LyXView.C (updateLayoutChoice): ditto.
9746
9747         * src/LaTeX.C (scanLogFile): errors where the line number was not
9748         given just after the '!'-line were ignored (from Dekel Tsur).
9749
9750         * lib/lyxrc.example: fix description of \date_insert_format
9751
9752         * lib/layouts/llncs.layout: new layout, contributed by Martin
9753         Vermeer. 
9754
9755 2000-02-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
9756
9757         * config/lyxinclude.m4 (LYX_PROG_CXX): remove case support for gcc
9758         2.7.* and add case support for gcc 2.96*. Gcc 2.96 only exists in
9759         cvs at gcc.gnu.org (currently it fails with ICE on insetbib.C,
9760         insetindex.C, insetloa.C, insettext.C, filetools.C, BufferView.C,
9761         BufferView2.C, LyXView.C, buffer.C, lyx_cb.C, lyxfunc.C,
9762         paragraph.C, text.C, text2.C)
9763
9764 2000-02-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9765
9766         * src/insets/insettext.C (LocalDispatch): remove extra break
9767         statement. 
9768
9769         * src/insets/insetert.[Ch] (Clone): change return value to Inset*
9770         * src/insets/insettext.[Ch] (Clone): change return value to Inset*
9771
9772         * src/mathed/formulamacro.[Ch] (draw): add missing const qualifier
9773         * src/insets/insettext.[Ch] (GetCursorPos): ditto
9774
9775         * src/insets/insetbib.h: move InsetBibkey::Holder and
9776         InsetCitation::Holder in public space.
9777
9778 2000-02-25  Lars Gullik Bjønnes <larsbj@lyx.org>
9779
9780         * src/insets/insettext.h: small change to get the new files from
9781         Juergen to compile (use "string", not "class string").
9782
9783         * src/insets/insettext.[Ch], src/insets/insertert.[Ch]: use string
9784         const & as parameter to LocalDispatch, use LyXFont const & as
9785         paramter to some other func. This also had impacto on lyxinsets.h
9786         and the two mathed insets.
9787
9788 2000-02-24  Juergen Vigna  <jug@sad.it>
9789
9790         * src/buffer.C:
9791         * src/commandtags.h: 
9792         * src/LyXAction.C:
9793         * src/lyxfunc.C: added code for LFUN_INSET_ERT and LFUN_INSET_TEXT
9794
9795         * src/BufferView.h
9796         * src/BufferView.C
9797         * src/BufferView2.C: added/updated code for various inset-functions
9798
9799         * src/insets/insetert.[Ch]: added implementation of InsetERT
9800
9801         * src/insets/insettext.[Ch]: added implementation of InsetText
9802
9803         * src/insets/inset.C (Edit): added "unsigned int button" parameter
9804         (draw): added preliminary code for inset scrolling not finshed yet
9805
9806         * src/insets/inset.C (LocalDispatch): changed arg parameter to string
9807         as it is in lyxfunc.C now
9808
9809         * src/insets/lyxinset.h: Added functions for text-insets
9810
9811 2000-02-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
9812
9813         * src/lyx_cb.C src/UpdateInset.[Ch]: move the updateinsetlist into
9814         BufferView and reimplement the list as a queue put inside its own
9815         class.
9816
9817         * src/bufferlist.[Ch] (updateInset): remove func, not needed.
9818
9819         * several files: use the new interface to the "updateinsetlist"
9820         
9821         * src/WorkArea.C (work_area_handler): call BufferView::doubleClick
9822         on doubleclick.
9823         (work_area_handler): call BufferView::trippleClick on trippleclick.
9824
9825         * src/BufferView.C (doubleClick): new function, selects word on
9826         doubleclick. 
9827         (trippleClick): new function, selects line on trippleclick.
9828
9829 2000-02-22  Allan Rae  <rae@lyx.org>
9830
9831         * lib/bind/xemacs.bind: buffer-previous not supported
9832
9833 2000-02-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9834
9835         * src/insets/insettoc.[Ch] (LinuxDoc, DocBook): mark the methods
9836         as const.
9837
9838 2000-02-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
9839
9840         * src/bufferlist.C: get rid of current_view from this file
9841
9842         * src/spellchecker.C: get rid of current_view from this file
9843
9844         * src/vspace.C: get rid of current_view from this file
9845         (inPixels): added BufferView parameter for this func
9846         (asLatexCommand): added a BufferParams for this func
9847
9848         * src/text.C src/text2.C: get rid of current_view from these
9849         files.
9850         
9851         * src/lyxfont.C (getFontDirection): move this function here from
9852         text.C
9853         
9854         * src/bufferparams.C (getDocumentDirection): move this function
9855         here from text.C
9856
9857         * src/paragraph.C (getParDirection): move this function here from
9858         text.C 
9859         (getLetterDirection): ditto
9860         
9861 2000-02-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
9862
9863         * WorkArea, Painter, LyXScreen: Fixed the crash that occured on
9864         resize due to wrong pixmap beeing used. Also took the opurtunity
9865         to make the LyXScreen stateless on regard to WorkArea and some
9866         general cleanup in the same files.
9867         
9868 2000-02-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
9869
9870         * src/Makefile.am: add missing direction.h
9871
9872         * src/PainterBase.h: made the width functions const.
9873         
9874         * lib/kbd/iso8859-1.cdef: fix a couple of entries and define some
9875         missing ones.
9876         
9877         * src/insets/insetcommand.C (draw): draw Editable as buttons.
9878
9879         * src/insets/insetlatexaccent.C (draw): make the accents draw
9880         better, at present this will only work well with iso8859-1.
9881         
9882         * several files: remove the old drawing code, now we use the new
9883         painter only.
9884
9885         * several files: remove support for mono_video, reverse_video and
9886         fast selection.
9887
9888 2000-02-17  Juergen Vigna  <jug@sad.it>
9889
9890         * src/mathed/math_cursor.[Ch] (SelGetArea): Changed form int * to
9891         int ** as we have to return the pointer, otherwise we have only
9892         NULL pointers in the returning function.
9893
9894 2000-02-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9895
9896         * src/LaTeX.C (operator()): quote file name when running latex.
9897
9898 2000-02-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
9899
9900         * src/toolbar.C (set): use fl_set_object_helper for the tooltop
9901         (bubble tip), this removes our special handling of this.
9902
9903         * Remove all code that is unused now that we have the new
9904         workarea. (Code that are not active when NEW_WA is defined.)
9905
9906         * Make the uses of XSync not conditionalized on define USE_XSYNC.
9907         
9908 2000-02-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9909
9910         * src/lyxfunc.C (Dispatch): fix LFUN_LAYOUT when giving a
9911         nonexisting layout; correctly redirect obsoleted layouts.
9912
9913         * lib/lyxrc.example: document \view_dvi_paper_option
9914
9915         * src/lyxrc.[Ch]: add support for the \view_dvi_paper_option
9916         variable. 
9917
9918         * src/lyx_cb.C (RunScript): handle $$FName for command names. 
9919         (PreviewDVI): handle the view_dvi_paper_option variable.
9920         [Both from Roland Krause]
9921
9922 2000-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
9923
9924         * src/Painter.C (text(int,int,char,LyXFont)): call text(int, int,
9925         char const *, int, LyXFont)
9926         (text(int, int, string, LyXFont)): ditto 
9927
9928         * src/text.C (InsertCharInTable): attempt to fix the double-space
9929         feature in tables too.
9930         (BackspaceInTable): ditto.
9931         (GetVisibleRow): make bottom pagebreak line be a onoff line.
9932
9933 2000-02-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
9934
9935         * src/text2.C (owner): only complain if owner_ is set and bv != 0
9936
9937         * src/BufferView.C (resizeCurrentBuffer): set the owner of the
9938         newly found text in textcache to this.
9939         (buffer): set the owner of the text put into the textcache to 0
9940
9941         * src/insets/figinset.C (draw): fixed the drawing of figures with
9942         the new Painter.
9943
9944         * src/text.C src/mathed/math_cursor.C: nailed and fixed the
9945         drawing of mathframe, hfills, protected space, table lines. I have
9946         now no outstanding drawing problems with the new Painter code. 
9947
9948 2000-02-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9949
9950         * src/PainterBase.C (ellipse, circle): do not specify the default
9951         arguments. 
9952
9953         * src/LColor.h: add using directive.
9954
9955         * src/Painter.[Ch]: change return type of methods from Painter& to
9956         PainterBase&. Add a using directive.
9957
9958         * src/WorkArea.C: wrap xforms callbacks in C functions
9959         C_WorkArea_xxx. 
9960
9961         * lib/layouts/foils.layout: font fix and simplifications from Carl
9962         Ollivier-Gooch.
9963
9964 2000-02-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
9965
9966         * a lot of files: The Painter, LColor and WorkArea from the old
9967         devel branch has been ported to lyx-devel. Some new files and a
9968         lot of #ifdeffed code. The new workarea is enabled by default, but
9969         if you want to test the new Painter and LColor you have to compile
9970         with USE_PAINTER defined (do this in config.h f.ex.) There are
9971         still some rought edges, and I'd like some help to clear those
9972         out. It looks stable (loads and displays the Userguide very well).
9973         
9974
9975 2000-02-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9976
9977         * src/buffer.C (pop_tag): revert to the previous implementation
9978         (use a global variable for both loops).
9979
9980         * lib/kbd/iso8859-1.cdef: fix definition for \"{e}.
9981
9982         * src/lyxrc.C (LyXRC): change slightly default date format.
9983
9984         * src/paragraph.C (TeXOnePar): Generate a correct latex file when
9985         there is an English text with a footnote that starts with a Hebrew
9986         paragraph, or vice versa.
9987         (TeXFootnote): ditto.
9988
9989         * src/text.C (LeftMargin): allow for negative values for
9990         parindent. Thanks to Philip Lehman <lehman@gmx.net> for testing
9991         this out.
9992
9993         * src/lyx_gui.C (create_forms): add iso88595 as a possible choice
9994         for input encoding (cyrillic)
9995
9996 2000-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9997
9998         * src/lyx_gui.C (create_forms): make combo box taller (from Dekel
9999         Tsur). 
10000
10001         * src/toolbar.C (set): ditto
10002         * src/insets/insetbib.C (create_form_citation_form): ditto
10003
10004         * lib/CREDITS: added Dekel Tsur.
10005
10006         * lib/kbd/hebrew.kmap, lib/kbd/null.kmap,
10007         lib/layouts/heb-article.layout, lib/layouts/heb-letter.layout: new
10008         hebrew supports files from Dekel Tsur.
10009         
10010         * lib/kbd/iso8859-8.cdef: new file, from Tzafrir Cohen
10011         <tzafrir@technion.ac.il> 
10012
10013         * src/lyxrc.C: put \date_insert_format at the right place.
10014
10015         * src/buffer.C (makeLaTeXFile): fix the handling of
10016         BufferParams::sides when writing out latex files.
10017
10018         * src/BufferView2.C: add a "using" directive.
10019
10020         * src/support/lyxsum.C (sum): when we use lyxstring,
10021         ostringstream::str needs an additional .c_str().
10022
10023 2000-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
10024
10025         * src/support/filetools.C (ChangeExtension): patch from Etienne
10026         applied.
10027
10028         * src/TextCache.C (show): remove const_cast and make second
10029         parameter non-const LyXText *.
10030
10031         * src/TextCache.h: use non const LyXText in show.
10032
10033         * src/paragraph.C (SimpleTeXSpecialChars): patch to make urls work
10034         with hebrew.
10035
10036 2000-02-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
10037
10038         * src/support/lyxsum.C: rework to be more flexible.
10039         
10040         * several places: don't check if a pointer is 0 if you are going
10041         to delete it.
10042
10043         * src/text.C: remove some dead code.
10044
10045         * src/insets/figinset.C: remove some dead code
10046         
10047         * src/buffer.C: move the BufferView funcs to BufferView2.C
10048         remove all support for insetlatexdel
10049         remove support for oldpapersize stuff
10050         made some member funcs const
10051
10052         * src/kbmap.C: use a std::list to store the bindings in.
10053         
10054         * src/BufferView2.C: new file
10055
10056         * src/kbsequence.[Ch]: new files
10057         
10058         * src/LyXAction.C + others: remove all trace of buffer-previous
10059         
10060         * src/Bullet.[Ch]: moved ITEMIZE_DEFAULTS inside Bullet.C so that we
10061         only have one copy in the binary of this table.
10062         
10063         * hebrew patch: moved some functions from LyXText to more
10064         appropriate places. (LyXParagraph, BufferParams, LyXFont)
10065         
10066         * several files: remove support for XForms older than 0.88
10067         whitespace changes.
10068         remove some #if 0 #endif code
10069         
10070         * src/TextCache.[Ch]: new file. Holds the textcache.
10071
10072         * src/BufferView.C: changes to use the new TextCache interface.
10073         (waitForX): remove the now unused code.
10074         
10075         * src/BackStack.h: remove some commented code
10076
10077         * lib/bind/emacs.bind: remove binding for buffer-previous
10078
10079 2000-02-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
10080
10081         * applied the hebrew patch.
10082
10083         * src/lyxrow.h: make sure that all Row variables are initialized.
10084
10085         * src/text2.C (TextHandleUndo): comment out a delete, this might
10086         introduce a memory leak, but should also help us to not try to
10087         read freed memory. We need to look at this one.
10088
10089         * src/paragraph.C (SimpleDocBookOneTablePar): initialize column to 0
10090         (LyXParagraph): initalize footnotekind.
10091
10092         * src/lyxrc.C (output): added case RC_DATE_INSERT_FORMAT. Jug
10093         forgot this when applying the patch. Please heed the warnings.
10094
10095         * src/BufferView.C (buffer): a fix for the buffer-reload problem
10096         (aka. reformat problem)
10097
10098         * src/bufferlist.C (exists): made const, and use const_iterator
10099         (isLoaded): new func.
10100         (release): use std::find to find the correct buffer.
10101
10102         * src/bufferlist.h: made getState a const func.
10103         made empty a const func.
10104         made exists a const func.
10105         new func: isLoaded
10106
10107 2000-02-01  Juergen Vigna  <jug@sad.it>
10108
10109         * src/lyxfunc.C lyxrc.C: changed from insert-date to date-insert
10110
10111         * po/it.po: updated a bit the italian po file and also changed the
10112         'file nuovo' for newfile to 'filenuovo' without a space, this did
10113         annoy me a lot :)
10114         
10115         * src/lyxrc.C (LyXRC): added support for a default insert_date_format
10116         for the new insert_date command.
10117
10118         * src/lyxfunc.C (Dispatch): added support for a insert_date function
10119         from jdblair, to insert a date into the current text conforming to
10120         a strftime format (for now only considering the locale-set and not
10121         the document-language).
10122
10123 2000-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * src/lyxfont.C (textWidth): hopefully better fix for the Array
10126         Bounds Read error seen by purify. The problem was that islower is
10127         a macros which takes an unsigned char and uses it as an index for
10128         in array of characters properties (and is thus subject to the
10129         above error).
10130         (drawText): ditto.
10131
10132         * src/lyx_cb.C (UpdateLayoutDocument): use a switch to set
10133         correctly the paper sides radio buttons.
10134         (UpdateDocumentButtons): ditto.
10135
10136 2000-01-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
10137
10138         * src/kbmap.C (getsym + others): change to return unsigned int,
10139         returning a long can give problems on 64 bit systems. (I assume
10140         that int is 32bit on 64bit systems)
10141
10142 2000-01-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10143
10144         * src/lyxfunc.C (processKeyEvent): fix a the buffer returned by
10145         LyXLookupString to be zero-terminated. Really fixes problems seen
10146         by purify, I think.
10147
10148 2000-01-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
10149
10150         * src/lyxfunc.C (processKeyEvent): "fix" so that we never try to
10151         write a (char*)0 to the lyxerr stream.
10152
10153         * src/lastfiles.C: move algorithm before the using statemets.
10154
10155 2000-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10156
10157         * src/lastfiles.C: move using directives in global scope (egcs 1.x
10158         complains otherwise).
10159         * src/table.C: ditto
10160
10161         * lib/reLyX/reLyX.in: use variable @LYX_DIR@ as built-in data
10162         directory. 
10163
10164         * lib/reLyX/configure.in (LYX_DIR): re-introduce this variable
10165         that I removed earlier... It is really needed.
10166
10167         * lib/examples/multicol.lyx: new file, splitted from Extended.lyx. 
10168
10169 2000-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10170
10171         * INSTALL: update xforms home page URL.
10172
10173         * lib/configure.m4: fix a bug with unreadable layout files.
10174
10175         * src/table.C (calculate_width_of_column): add "using std::max"
10176         directive. 
10177
10178 2000-01-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
10179
10180         * several files: marked several lines with "DEL LINE", this is
10181         lines that can be deleted without changing anything.
10182         if (<ptr>) // DEL LINE  /* this line is _never_ needed. Delete
10183                                    checks this anyway */
10184                 delete <ptr>
10185
10186         * src/insets/insetlatexaccent.C: Changed some debugs to Debug::KEY
10187
10188         * src/DepTable.C (update): add a "+" at the end when the checksum
10189         is different. (debugging string only)
10190
10191         * src/paragraph.C (ReturnNextInsetPointer): fix bug that caused
10192         the next inset to not be displayed. This should also fix the list
10193         of labels in the "Insert Crossreference" dialog.
10194
10195 2000-01-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
10196
10197         * src/support/LSubstring.C (LSubstring): set pos to string::npos
10198         when regex was not found.
10199
10200         * src/support/lstrings.C (lowercase): use handcoded transform always.
10201         (uppercase): ditto
10202
10203         * src/text.C (Delete): fixed the crash. cursor.par->prev and
10204         old_cursor.par->prev could be 0.
10205
10206         * several files: changed post inc/dec to pre inc/dec
10207         
10208         * src/lastfiles.C (writeFile): use ostream_iterator and copy to
10209         write the lastfiles to file.
10210
10211         * src/BufferView.C (buffer): only show TextCache info when debugging
10212         (buffer): ditto
10213         (resizeCurrentBuffer): ditto
10214         (workAreaExpose): ditto
10215
10216         * lib/kbd/iso8859-7.cdef: changed to new quoting scheme
10217
10218         * lib/kbd/iso8859-2.cdef: changed to new quoting scheme
10219
10220         * src/insets/insetlatexaccent.C (Draw): make the display of UMLAUT
10221         a bit better by removing the special case for \i and \j.
10222
10223 2000-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * src/lyx_main.C (easyParse): remove test for bad comand line
10226         options, since this broke all xforms-related parsing.
10227
10228         * src/kbmap.C (getsym): set return type to unsigned long, as
10229         declared in header. On an alpha, long is _not_ the same as int.
10230
10231         * src/support/LOstream.h: add a "using std::flush;"
10232
10233         * src/insets/figinset.C: ditto.
10234
10235 2000-01-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
10236
10237         * src/bufferlist.C (write): use blinding fast file copy instead of
10238         "a char at a time", now we are doing it the C++ way.
10239
10240         * src/insets/figinset.C: get rid of struct pidwaitpit, use a
10241         std::list<int> instead.
10242         (addpidwait): reflect move to std::list<int>
10243         (sigchldchecker): ditto
10244
10245         * src/bmtable.c (fl_set_bmtable_file): have arguments in the X r5
10246         version also. 
10247
10248         * src/paragraph.C (FirstPhysicalPar): remove assert and comment
10249         that obviously was wrong...
10250
10251         * src/lyxfont.C (textWidth): have c as char c[2] instead of char
10252         c, this avoids warnings with purify and islower.
10253
10254         * src/insets/figinset.C: rename struct queue to struct
10255         queue_element and rewrite to use a std::queue. gsqueue is now a
10256         std::queue<queue_element>
10257         (runqueue): reflect move to std::queue
10258         (addwait): ditto
10259
10260         * src/support/lstrings.h (tostr): specialize for bool, otherwise
10261         we would get "1" "0" instead of "true" "false. Also make the tostr
10262         functions inline.
10263
10264 2000-01-21  Juergen Vigna  <jug@sad.it>
10265
10266         * src/buffer.C (writeFileAscii): Disabled code for special groff
10267         handling of tabulars till I fix this in table.C
10268
10269 2000-01-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10270
10271         * src/support/mkdir.C (mkdir): change second argument of mkdir to
10272         unsigned long int.
10273         * src/support/lyxlib.h: ditto.
10274
10275 2000-01-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
10276
10277         * src/insets/insetlatexaccent.C (Draw): make accents on top of 'i'
10278         and 'j' look better. This might fix the "macron" bug that has been
10279         observed.
10280
10281         * src/support/lstrings.[Ch] (tostr): reimplement all the tostr
10282         functions as one template function. Delete the old versions.
10283
10284         * src/support/lyxsum.C: move using std::ifstream inside
10285         MODERN_STL_STREAMS
10286
10287         * src/support/Makefile.am (libsupport_la_SOURCES): added mkdir.C
10288         and putenv.C
10289
10290         * src/mathed/formulamacro.C: delete #include "bufferlist.h" never used
10291
10292         * src/mathed/formula.C: delete #include "bufferlist.h" never used
10293
10294         * src/insets/figinset.C (InitFigures): use new instead of malloc
10295         to allocate memory for figures and bitmaps.
10296         (DoneFigures): use delete[] instead of free to deallocate memory
10297         for figures and bitmaps.
10298         (runqueue): use new to allocate 
10299         (getfigdata): use new/delete[] instead of malloc/free
10300         (RegisterFigure): ditto
10301
10302         * some files: moved some declarations closer to first use, small
10303         whitespace changes use preincrement instead of postincrement where
10304         it does not make a difference.
10305         
10306         * src/kbmap.[Ch]: delete code according to define NO_HASH, it is a
10307         step on the way to use stl::containers for key maps. 
10308
10309         * src/bufferlist.h: add a typedef for const_iterator and const
10310         versions of begin and end.
10311
10312         * src/bufferlist.[Ch]: change name of member variable _state to
10313         state_. (avoid reserved names)
10314         (makePup): removed
10315         (getFileNames): returns the filenames of the buffers in a vector.
10316
10317         * configure.in (ALL_LINGUAS): added ro
10318
10319         * src/support/putenv.C: new file
10320
10321         * src/support/mkdir.C: new file
10322
10323 2000-01-20  Allan Rae <rae@lyx.org>
10324
10325         * lib/layouts/IEEEtran.layout: Added several theorem environments
10326
10327         * lib/templates/IEEEtran.lyx: Example theorem environments and a
10328         couple of minor additions.
10329
10330         * lib/doc/LaTeXConfig.lyx.in:  Use URL insets for ftp sites 
10331         (except for those in footnotes of course)
10332
10333 2000-01-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
10334
10335         * src/lyxlookup.C (CloseLyXLookup): set xic=0; after destruction. 
10336
10337         * src/mathed/math_utils.C (MathedLookupBOP): rewrite to use
10338         std::sort and std::lower_bound instead of qsort and handwritten
10339         binarysearch.
10340         (struct compara): struct that holds the functors used by std::sort
10341         and std::lower_bound in MathedLookupBOP.
10342
10343 2000-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10344
10345         * src/support/LAssert.h: do not do partial specialization. We do
10346         not really need it.
10347
10348         * src/support/lyxlib.h: note that lyx::getUserName() and
10349         lyx::date() are not in use right now. Should these be suppressed?
10350
10351         * src/buffer.C (makeLaTeXFile): we do not need the user name here.
10352         (makeLinuxDocFile): do not put date and user name in linuxdoc
10353         headers. 
10354
10355         * src/support/lyxlib.h (kill): change first argument to long int,
10356         since that's what solaris uses.
10357
10358         * src/support/kill.C (kill): fix declaration to match prototype.
10359
10360         * config/lyxinclude.m4 (LYX_CXX_NAMESPACES): fix the macro to
10361         actually check whether namespaces are supported. This is not what
10362         it used to do.
10363
10364         * src/support/lyxsum.C: add a using directive.
10365
10366 2000-01-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
10367
10368         * src/support/kill.C: if we have namespace support we don't have
10369         to include lyxlib.h.
10370
10371         * src/support/lyxlib.h: use namespace lyx if supported.
10372
10373 2000-01-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
10374
10375         * src/support/date.C: new file
10376
10377         * src/support/chdir.C: new file
10378
10379         * src/support/getUserName.C: new file
10380
10381         * src/support/getcwd.C: new file
10382
10383         * src/support/abort.C: new file
10384
10385         * src/support/kill.C: new file
10386
10387         * src/support/lyxlib.h: moved all the functions in this file
10388         insede struct lyx. Added also kill and abort to this struct. This
10389         is a way to avoid the "kill is not defined in <csignal>", we make
10390         C++ wrappers for functions that are not ANSI C or ANSI C++.
10391
10392         * src/support/lyxsum.C (sum): use #ifdef MODERN_STL_STREAMS
10393         instead of #if __GLIBCPP__. Since lyxsum is now put inside struct
10394         lyx it has been renamed to sum.
10395
10396 2000-01-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10397
10398         * src/text.C: add using directives for std::min and std::max.
10399
10400 2000-01-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10401
10402         * src/texrow.C (getIdFromRow): actually return something useful in
10403         id and pos. Hopefully fixes the bug with positionning of errorbox
10404         insets. 
10405
10406         * src/lyx_main.C (easyParse): output an error and exit if an
10407         incorrect command line option has been given.
10408
10409         * src/spellchecker.C (ispell_check_word): document a memory leak.
10410
10411         * src/bufferlist.C (write): fix mismatched allocation/deletion,
10412         where a "struct utimbuf" is allocated with "new" and deleted with
10413         "delete[]". 
10414
10415 2000-01-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
10416
10417         * src/text2.C (CutSelection): don't delete double spaces.
10418         (PasteSelection): ditto
10419         (CopySelection): ditto
10420         
10421         * src/text.C (Backspace): don't delete double spaces.
10422
10423         * src/lyxlex.C (next): fix a bug that were only present with
10424         conformant std::istream::get to read comment lines, use
10425         std::istream::getline instead. This seems to fix the problem.
10426
10427 2000-01-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
10428
10429         * src/text2.C (DeleteEmptyParagraphMechanism): fix for the "not
10430         allowed to insert space before space" editing problem. Please read
10431         commends at the beginning of the function. Comments about usage
10432         are very welcome.
10433
10434         * src/text.C (InsertChar): fix for the "not allowed to insert
10435         space before space" editing problem.
10436
10437         * src/text2.C (DeleteEmptyParagraphMechanism): when
10438         IsEmptyTableRow can only return false this last "else if" will
10439         always be a no-op. Commented out.
10440
10441         * src/text.C (RedoParagraph): As far as I can understand tmp
10442         cursor is not really needed.
10443
10444         * src/lyxtext.[Ch] (IsEmptyTableCell): commented out. As used at
10445         present it could only return false anyway. 
10446         (several functions): Did something not so smart...added a const
10447         specifier on a lot of methods.
10448         
10449         * src/paragraph.C (BreakParagraph): removed the tmp->text.reserve
10450         and add a tmp->text.resize. The LyXParagraph constructor does the
10451         resize for us.
10452         (BreakParagraphConservative): ditto
10453
10454         * src/support/path.h (Path): add a define so that the wrong usage
10455         "Path("/tmp") will be flagged as a compilation error:
10456         "`unnamed_Path' undeclared (first use this function)"
10457
10458 2000-01-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * config/lyxinclude.m4 (LYX_FUNC_PUTENV_ARGTYPE): fix the macro,
10461         which was bogus for several reasons.
10462
10463         * src/LaTeX.C (scanAux): fix the regular expression used to scan
10464         .aux files. 
10465         (runBibTeX): ditto.
10466
10467         * autogen.sh: do not use "type -path" (what's that anyway?).
10468
10469         * src/support/filetools.C (findtexfile): remove extraneous space
10470         which caused a kpsewhich warning (at least with kpathsea version
10471         3.0). 
10472
10473 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
10474
10475         * src/mathed/Makefile.am (noinst_LTLIBRARIES): use .la
10476
10477         * src/insets/Makefile.am (noinst_LTLIBRARIES): use .la
10478
10479         * src/Makefile.am (lyx_DEPENDENCIES): switch back to .la libs
10480
10481 2000-01-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10482
10483         * src/paragraph.C (BreakParagraph): do not reserve space on text
10484         if we don't need to (otherwise, if pos_end < pos, we end up
10485         reserving huge amounts of memory due to bad unsigned karma).
10486         (BreakParagraphConservative): ditto, although I have not seen
10487         evidence the bug can happen here.
10488
10489         * src/lyxparagraph.h: add a using std::list.
10490
10491 2000-01-11  Juergen Vigna  <jug@sad.it>
10492
10493         * src/menus.C (MenuDocu): output an Alert if the documentation-file
10494         could not be found.
10495
10496 2000-01-11  Lars Gullik Bjønnes  <larsbj@lyx.org>
10497
10498         * src/vc-backend.C (doVCCommand): change to be static and take one
10499         more parameter: the path to chdir too be fore executing the command.
10500         (retrive): new function equiv to "co -r"
10501
10502         * src/bufferlist.C (loadLyXFile): implement the missing parts if
10503         file_not_found_hook is true.
10504
10505         * src/lyxvc.C (file_not_found_hook): implement file_not_found_hook.
10506
10507         * src/support/filetools.C (IsFileWriteable): use FileInfo to check
10508         if a file is readwrite,readonly...anything else.
10509
10510 2000-01-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
10511
10512         * src/lyx_cb.C (MakeLaTeXOutput): name change from MakeDVIOutput
10513         (CreatePostscript): name change from MenuRunDVIPS (or something)
10514         (PreviewPostscript): name change from MenuPreviewPS
10515         (PreviewDVI): name change from MenuPreviewDVI
10516
10517         * lib/lyxrc.example: added \pdflatex_command, \pdf_mode,
10518         \view_pdf_command., \pdf_to_ps_command
10519
10520         * lib/configure.m4: added search for PDF viewer, and search for
10521         PDF to PS converter. 
10522         (lyxrc.defaults output): add \pdflatex_command,
10523         \view_pdf_command and \pdf_to_ps_command.
10524
10525         * src/lyx_cb.C (MenuPreviewDVI): renamed from MenuPreview.
10526
10527         * src/bufferlist.C (write): we don't use blocksize for anything so
10528         I removed it.
10529
10530 2000-01-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10531
10532         * src/support/block.h: disable operator T* (), since it causes
10533         problems with both compilers I tried. See comments in the file.
10534
10535         * lib/reLyX/configure.in: do not define LYX_DIR. support flag
10536         --with-lyxname. 
10537
10538         * lib/reLyX/reLyX.in: change LYX_DIR to pkgdatadir; change env.
10539         variable LYX_DIR_10x to LYX_DIR_11x.
10540
10541         * src/Makefile.am: replace variable LYX_DIR with pkgdatadir.
10542
10543         * INSTALL: document --with-lyxname.
10544         * NEWS: ditto.
10545
10546         * configure.in: new configure flag --with-lyxname which allows to
10547         choose the name under which lyx is installed. Default is "lyx", of
10548         course. It used to be possible to do this with --program-suffix,
10549         but the later has in fact a different meaning for autoconf.
10550
10551         * src/support/lstrings.h (lstrchr): reformat a bit.
10552
10553         * src/lyxlex.h: include LIstream.h, for Sun CC this time.
10554         * src/mathed/math_defs.h: ditto.
10555
10556 2000-01-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
10557
10558         * src/lyxrc.[Ch]: New tag and variable "\make_backup". Defaults to
10559         true, decides if we create a backup file or not when saving. New
10560         tag and variable \pdf_mode, defaults to false. New tag and
10561         variable \pdflatex_command, defaults to pdflatex. New tag and
10562         variable \view_pdf_command, defaults to xpdf. New tag and variable
10563         \pdf_to_ps_command, defaults to pdf2ps.
10564
10565 2000-01-08  Lars Gullik Bjønnes  <larsbj@lyx.org>
10566
10567         * src/bufferlist.C (close): don't call insetUnlock if the buffer
10568         does not have a BufferView.
10569         (unlockInset): ditto + don't access the_locking_inset if the
10570         buffer does not have a BufferView.
10571
10572         * src/LyXView.C (KeyPressMask_raw_callback): add a XSync in
10573         certain circumstances so that we don't continue a keyboard
10574         operation long after the key was released. Try f.ex. to load a
10575         large document, press PageDown for some seconds and then release
10576         it. Before this change the document would contine to scroll for
10577         some time, with this change it stops imidiatly.
10578
10579         * src/support/block.h: don't allocate more space than needed. As
10580         long as we don't try to write to the arr[x] in a array_type arr[x]
10581         it is perfectly ok. (if you write to it you might segfault).
10582         added operator value_type*() so that is possible to pass the array
10583         to functions expecting a C-pointer.
10584
10585         * lib/Makefile.am (dist-hook): don't fail completely if unable to
10586         cvs.
10587
10588         * intl/*: updated to gettext 0.10.35, tried to add our own
10589         required modifications. Please verify.
10590
10591         * po/*: updated to gettext 0.10.35, tried to add our own required
10592         modifications. Please verify.
10593         
10594         * src/support/lstrings.C (tostr): go at fixing the problem with
10595         cxx and stringstream. When stringstream is used return
10596         oss.str().c_str() so that problems with lyxstring and basic_string
10597         are avoided. Note that the best solution would be for cxx to use
10598         basic_string all the way, but it is not conformant yet. (it seems)
10599
10600         * src/lyx_cb.C + other files: moved several global functions to
10601         class BufferView, some have been moved to BufferView.[Ch] others
10602         are still located in lyx_cb.C. Code changes because of this. (part
10603         of "get rid of current_view project".)
10604
10605         * src/buffer.C + other files: moved several Buffer functions to
10606         class BufferView, the functions are still present in buffer.C.
10607         Code changes because of this.
10608
10609         * config/lcmessage.m4: updated to most recent. used when creating
10610         acinclude.m4.
10611
10612         * config/progtest.m4: updated to most recent. used when creating
10613         acinclude.m4.
10614         
10615         * config/gettext.m4: updated to most recent. applied patch for
10616         tmplinguas.
10617
10618         * config/gettext.m4.patch: new file that shows what changes we
10619         have done to the local copy of gettext.m4.
10620
10621         * config/libtool.m4: new file, used in creation of acinclude.m4
10622
10623         * config/lyxinclude.m4: new file, this is the lyx created m4
10624         macros, used in making acinclude.m4.
10625         
10626         * autogen.sh: GNU m4 discovered as a separate task not as part of
10627         the lib/configure creation. 
10628         Generate acinlucde from files in config. Actually cat
10629         lyxinclude.m4, libtool.m4 and gettext.m4 together. This makes it
10630         easier to upgrade .m4 files that really are external.
10631
10632         * src/Spacing.h: moved using std::istringstream to right after
10633         <sstream>. This should fix the problem seen with some compilers.
10634
10635 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
10636
10637         * src/lyx_cb.C: began some work to remove the dependency a lot of
10638         functions have on BufferView::text, even if not really needed.
10639         (GetCurrentTextClass): removed this func, it only hid the
10640         current_view. 
10641
10642         * src/Makefile.am (lyx_DEPENDENCIES): use support/libsupport.la I
10643         forgot this in last commit.
10644
10645         * src/Bullet.C (bulletEntry): use static char const *[] for the
10646         tables, becuase of this the return arg had to change to string.
10647         (bulletSize): ditto
10648         (~Bullet): removed unneeded destructor
10649
10650         * src/BufferView.C (beforeChange): moved from lyx_cb.C
10651         (insetSleep): moved from Buffer
10652         (insetWakeup): moved from Buffer
10653         (insetUnlock): moved from Buffer
10654
10655         * buffer.[Ch], BufferView.[Ch] + others: moved the_locking_inset
10656         from Buffer to BufferView.
10657         
10658         * acinclude.m4: include libtool.m4 from libtool 1.3.4.
10659
10660         * config/ltmain.sh: updated to version 1.3.4 of libtool
10661
10662         * config/ltconfig: updated to version 1.3.4 of libtool
10663
10664 2000-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666
10667         * src/buffer.C (pop_tag): fix a dubious for() loop initialization.
10668         Did I get that right?
10669
10670         * src/lyxlex.h: add a "using" directive or two.
10671         * src/Spacing.h: ditto.
10672         * src/insets/figinset.C: ditto.
10673         * src/support/filetools.C: ditto.
10674         * src/support/lstrings.C: ditto.
10675         * src/BufferView.C: ditto.
10676         * src/bufferlist.C: ditto.
10677         * src/lyx_cb.C: ditto.
10678         * src/lyxlex.C: ditto.
10679
10680         * NEWS: add some changes for 1.1.4.
10681         
10682 2000-01-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
10683
10684         * src/BufferView.C: first go at a TextCache to speed up switching
10685         between documents.
10686
10687 2000-01-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10688
10689         * lib/examples/ItemizeBullets.lyx: update from Tino Meinen. 
10690         * lib/examples/nl_voorbeeld_ruw.lyx: ditto.
10691         * lib/examples/nl_voorbeeld_verlyxt.lyx: ditto.
10692         * lib/examples/nl_opsommingstekens.lyx: new translation from Tino
10693         Meinen.
10694         
10695         * src/mathed/math_defs.h (MathedRowSt): make sure that all
10696         members of the struct are correctly initialized to 0 (detected by
10697         purify) 
10698         * src/lyxrc.C (LyXRC): ditto for print_adapt_output.
10699         * src/insets/figinset.C (InsetFig): ditto for pswid and pshgh.
10700
10701         * src/insets/figinset.C (sigchldchecker): use "delete" to free a
10702         pidwait, since it was allocated with "new". This was potentially
10703         very bad. Thanks to Michael Schmitt for running purify for us.
10704
10705
10706 2000-01-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10707
10708         * src/lyx_gui_misc.C: add a 'using std::make_pair;' statement.
10709
10710         * src/lyx_gui_misc.h: add a 'using std::pair;' statement.
10711
10712 1999-12-30  Allan Rae  <rae@lyx.org>
10713
10714         * lib/templates/IEEEtran.lyx: minor change
10715
10716         * src/lyxvc.C (registrer, checkIn), src/lyx_cb.C (MenuInsertLabel),
10717         src/mathed/formula.C (LocalDispatch): askForText changes
10718
10719         * src/lyx_gui_misc.[Ch] (askForText): now returns a bool also so we 
10720         know when a user has cancelled input. Fixes annoying problems with
10721         inserting labels and version control.
10722
10723 1999-12-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
10724
10725         * src/support/lstrings.C (tostr): rewritten to use strstream and
10726         stringstream
10727
10728 1999-12-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
10729
10730         * src/support/filetools.C (IsFileWriteable): use fstream to check
10731         (IsDirWriteable): use fileinfo to check
10732
10733         * src/support/filetools.h (FilePtr): whole class deleted
10734
10735         * src/insets/figinset.C (GetPSSizes): rewritten to use ifstream.
10736
10737         * src/lyxparagraph.h (readSimpleWholeFile): make arg istream
10738
10739         * src/lyx_cb.C (InsertAsciiFile): use ifstream instead of FilePtr
10740
10741         * src/bufferlist.C (write): use ifstream and ofstream instead of
10742         FILE*
10743
10744         * src/Spacing.h: use istrstream instead of sscanf
10745
10746         * src/mathed/math_defs.h: change first arg to istream from FILE*
10747
10748         * src/buffer.C (insertLyXFile): use ifstream instead of FilePtr
10749
10750         * src/mathed/math_parser.C: have yyis to be an istream 
10751         (LexGetArg): use istream (yyis)
10752         (yylex): ditto
10753         (mathed_parse): ditto
10754         (mathed_parser_file): first arg istream instead of FILE*, set yyis
10755
10756         * src/mathed/formula.C (Read): rewritten to use istream
10757
10758         * src/mathed/formulamacro.C (Read): rewritten to use istream
10759
10760         * src/lyxlex.h (~LyXLex): deleted desturctor 
10761         (getStream): new function, returns an istream
10762         (getFile): deleted funtion
10763         (IsOK): return is.good();
10764
10765         * src/lyxlex.C (LyXLex): delete file and owns_file
10766         (setFile): open an filebuf and assign that to a istream instead of
10767         using FILE*
10768         (setStream): new function, takes an istream as arg. 
10769         (setFile): deleted function
10770         (EatLine): rewritten us use istream instead of FILE*
10771         (next): ditto
10772         (nextToken): ditto
10773
10774         * src/table.C (LyXTable): use istream instead of FILE*
10775         (Read): rewritten to take an istream instead of FILE*
10776
10777 1999-12-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * src/buffer.C (Dispatch): remove an extraneous break statement.
10780
10781         * src/support/filetools.C (QuoteName): change to do simple
10782         'quoting'. More work is necessary. Also changed to do nothing
10783         under emx (needs fix too).
10784         (Putenv): Cast the argument of putenv() with PUTENV_TYPE_ARG.
10785
10786         * acinclude.m4 (STL_STRING_FWD_H_LOCATION): add the comment for
10787         config.h.in to the AC_DEFINE_UNQUOTED() call.
10788         (LYX_FUNC_PUTENV_ARGTYPE): new macro. Checks whether putenv()
10789         needs char * as argument (because Solaris 7 declares it like
10790         that). 
10791
10792         * acconfig.h: remove placeholder for STL_STRING_FWD_H_LOCATION;
10793         remove definition of BZERO.
10794
10795 1999-12-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
10796
10797         * src/support/LRegex.C: include <regex.h> if HAVE_REGEX_H is
10798         defined, "lyxregex.h" if not.
10799
10800         * src/support/Makefile.am (noinst_LTLIBRARIES): changed from
10801         pkglib_ to noinst_
10802         (REGEX): new variable that is set to regex.c lyxregex.h when
10803         AM_CONDITIONAL USE_REGEX is set.
10804         (libsupport_la_SOURCES): add $(REGEX)
10805
10806         * src/mathed/Makefile.am (noinst_LTLIBRARIES): changed from
10807         pkglib_ to noinst_
10808
10809         * src/insets/Makefile.am (noinst_LTLIBRARIES): changed from
10810         pkglib_ to noinst_
10811
10812         * configure.in: add call to LYX_REGEX 
10813
10814         * acinclude.m4 (LYX_REGEX): checks if we need to use the included
10815         regex or not. Uses a a AM_CONDITIONAL to decide what to compile. 
10816
10817 1999-12-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10818
10819         * lib/bind/fi_menus.bind: new file, from
10820         pauli.virtanen@saunalahti.fi. 
10821
10822         * src/buffer.C (getBibkeyList): pass the parameter delim to
10823         InsetInclude::getKeys and InsetBibtex::getKeys.
10824
10825         * src/insets/insetinclude.[Ch] (getKeys): add parameter delim, which
10826         is passed to Buffer::getBibkeyList
10827         
10828         * src/insets/insetbib.[Ch] (getKeys): add parameter delim, and use it
10829         instead of the hardcoded comma.
10830
10831         * src/insets/insetbib.C (getKeys): make sure that there are not
10832         leading blanks in bibtex keys. Normal latex does not care, but
10833         harvard.sty seems to dislike blanks at the beginning of citation
10834         keys. In particular, the retturn value of the function is
10835
10836         * INSTALL: make it clear that libstdc++ is needed and that gcc
10837         2.7.x probably does not work.
10838
10839         * src/support/filetools.C (findtexfile): make debug message go to
10840         the LATEX channel
10841         * src/insets/insetbib.C (getKeys): ditto
10842
10843         * src/debug.C (showTags): make sure that the output is correctly
10844         aligned. 
10845
10846         * configure.in: add a comment for TWO_COLOR_ICON define.
10847
10848         * acconfig.h: remove all the entries that already defined in
10849         configure.in or acinclude.m4.
10850
10851         * src/buffer.C (makeLaTeXFile): headers of latex file also changed
10852         to avoid user name, date and copyright.
10853
10854 1999-12-21  Juergen Vigna  <jug@sad.it>
10855
10856         * src/table.C (Read): Now read bogus row format informations
10857                 if the format is < 5 so that afterwards the table can
10858                 be read by lyx but without any format-info. Fixed the
10859                 crash we experienced when not doing this.
10860
10861 1999-12-21  Lars Gullik Bjønnes  <larsbj@lyx.org>
10862
10863         * src/text2.C (RedoHeightOfParagraph): rename arg cursor -> cur
10864         (RedoDrawingOfParagraph): ditto
10865         (RedoParagraphs): ditto
10866         (RemoveTableRow): ditto
10867
10868         * src/text.C (Fill): rename arg paperwidth -> paper_width
10869
10870         * src/buffer.C (insertLyXFile): rename var filename -> fname
10871         (writeFile): rename arg filename -> fname
10872         (writeFileAscii): ditto
10873         (makeLaTeXFile): ditto
10874         (makeLinuxDocFile): ditto
10875         (makeDocBookFile): ditto
10876
10877         * src/LaTeX.C (runMakeIndex): change arg name from file -> f
10878         (runBibTeX): ditto
10879
10880         * src/Makefile.am (lyx_SOURCES): add bmtable.c and remove bmtable.C
10881
10882         * src/bmtable.h: add extern "C" on this file when __cplusplus is
10883         defined.
10884
10885         * src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
10886         compiled by a C compiler not C++. 
10887
10888         * src/layout.h (LyXTextClass): added typedef for const_iterator
10889         (LyXTextClassList): added typedef for const_iterator + member
10890         functions begin and end.
10891
10892         * src/LyXView.C (UpdateDocumentClassChoice): rewritten to use
10893         iterators to fill the choice_class.
10894         (updateLayoutChoice): rewritten to use iterators to fill the
10895         layoutlist in the toolbar.
10896
10897         * src/BufferView.h (BufferView::work_area_width): removed unused
10898         variable. 
10899
10900         * src/lyx_gui_misc.C (WarnReadonly): added string parameter 'file'
10901
10902         * src/buffer.C (sgmlOpenTag): drop the use of the static space array
10903         (sgmlCloseTag): ditto
10904
10905         * src/support/lstrings.h: return type of countChar changed to
10906         unsigned char.
10907
10908         * src/support/lstrings.C (countChar): use HAVE_STD_COUNT to choose
10909         what version of this func to use. Also made to return unsigned int.
10910
10911         * configure.in: call LYX_STD_COUNT 
10912
10913         * acinclude.m4 (LYX_STD_COUNT): new function checks for a standard
10914         conforming std::count. 
10915
10916 1999-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10917
10918         * src/mathed/math_draw.C (Draw, Metrics): fix a bug where a prime
10919         and a subscript would give bad display (patch from Dekel Tsur
10920         <dekel@math.tau.ac.il>). 
10921
10922         * src/insets/insetlatexaccent.h: make sure ACCENT_TYPES is public. 
10923
10924         * src/spellchecker.C (create_ispell_pipe): use a const_cast to
10925         please sun CC.
10926
10927         * src/chset.h: add a few 'using' directives
10928
10929         * src/lyxfunc.C (Dispatch): check that LFUN_UNKNOWN_ACTION is not
10930         triggered when no buffer is active
10931
10932         * src/layout.C: removed `break' after `return' in switch(), since
10933         it is unreachable.
10934
10935         * src/lyx_main.C (init): make sure LyX can be ran in place even
10936         when libtool has done its magic with shared libraries. Fix the
10937         test for the case when the system directory has not been found.
10938
10939         * src/lyx_cb.C (MenuMakeLaTeX): make sure to keep the full path
10940         name for the latex file.
10941         (MenuMakeHTML): ditto
10942
10943         * src/buffer.h: add an optional boolean argument, which is passed
10944         to ChangeExtension.
10945
10946 1999-12-20  Allan Rae  <rae@lyx.org>
10947
10948         * lib/templates/IEEEtran.lyx: small correction and update.
10949
10950         * configure.in: Attempted to use LYX_PATH_HEADER
10951
10952         * src/stl_string_fwd.h: Don't need HAVE_STL_STRING_FWD_H anymore
10953
10954         * acconfig.h, acinclude.m4 (LYX_STL_STRING_FWD): totally revised after
10955         input from JMarc.  Now use preprocessor to find the header.
10956         Also stopped making HAVE_STL_STRING_FWD_H and extended the comments.
10957         (LYX_PATH_HEADER): My, so far, failed attempt to generalize
10958         LYX_STL_STRING_FWD.  See comments in file.      
10959
10960 1999-12-19  Asger Alstrup Nielsen  <alstrup@diku.dk>
10961
10962         * The global MiniBuffer * minibuffer variable is dead.
10963         
10964         * The global FD_form_main * fd_form_main variable is dead.
10965
10966 1999-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10967
10968         * src/toolbar.C (set): condition #warning on WITH_WARNINGS
10969
10970         * src/table.h: add the LOstream.h header
10971         * src/debug.h: ditto
10972         
10973         * src/LyXAction.h: change the explaination of the ReadOnly
10974         attribute: is indicates that the function _can_ be used.
10975
10976         * src/LyXAction.C (init): find-replace _can_ be used in read-only
10977         mode. 
10978
10979 1999-12-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * src/lyxfont.C (ascent): Make sure that char is _always_ used as
10982         unsigned. 
10983         (descent): ditto
10984         (lbearing): ditto
10985         (rbearing): ditto
10986
10987         * src/paragraph.C (GetWord): assert on pos>=0
10988         (GetChar): ditto
10989         
10990         * src/support/lyxstring.C: condition the use of an invariant on
10991         ENABLE_ASSERTIONS 
10992         * src/support/lyxstring.h: ditto
10993
10994         * src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by ENABLE_ASSERTIONS.
10995         Use LAssert.h instead of plain assert().
10996
10997         * src/support/lstrings.h: add LAssert.h, in case it is needed.
10998
10999         * src/lyxfunc.C: do not include LAssert.h, it is not used.
11000         * src/support/filetools.C: ditto
11001
11002         * src/support/LAssert.h: make Assert a no-op if ENABLE_ASSERTIONS
11003         is not defined. 
11004
11005         * INSTALL: document the new configure flags
11006         
11007         * configure.in: suppress --with-debug; add --enable-assertions
11008
11009         * acinclude.m4: various changes in alignment of help strings.
11010
11011 1999-12-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11012
11013         * src/kbmap.C: commented out the use of the hash map in kb_map,
11014         beginning of movement to a stl::container. 
11015
11016         * several files: removed code that was not in effect when
11017         MOVE_TEXT was defined.
11018         
11019         * lib/kbd/iso8859-1.cdef: removed bogus backslashes. Backslashes
11020         for escaping should not be used. We can discuss if the string
11021         should be enclosed in f.ex. [] instead of "".
11022
11023         * src/trans_mgr.C (insert): use the new returned value from
11024         encodeString to get deadkeys and keymaps done correctly.
11025
11026         * src/chset.C (encodeString): changed to return a pair, to tell
11027         what to use if we know the string.
11028
11029         * src/lyxscreen.h (fillArc): new function.
11030
11031         * src/FontInfo.C (resize): rewritten to use more std::string like
11032         structore, especially string::replace.
11033
11034         * src/insets/insetlatexaccent.C (Draw): use fillArc for the
11035         approp. accents.
11036
11037         * configure.in (chmod +x some scripts): remove config/gcc-hack 
11038
11039 1999-12-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * src/buffer.C (writeFile): change once again the top comment in a
11042         .lyx file to point to www.lyx.org and to use LYX_DOCVERSION
11043         instead of an hardcoded version number.
11044         (makeDocBookFile): ditto
11045
11046         * src/version.h: add new define LYX_DOCVERSION
11047
11048         * po/de.po: update from Pit Sütterlin
11049         * lib/bind/de_menus.bind: ditto.
11050         
11051         * src/lyxfunc.C (Dispatch): call MenuExport()
11052         * src/buffer.C (Dispatch): ditto
11053
11054         * src/lyx_cb.C (MenuMakeHTML): new function, moved from
11055         LyXFunc::Dispatch().
11056         (MenuExport): new function, moved from
11057         LyXFunc::Dispatch().
11058
11059         * src/trans_mgr.C (insert): small cleanup
11060         * src/chset.C (loadFile): ditto
11061
11062         * lib/kbd/iso8859-1.cdef: add missing backslashes
11063
11064 1999-12-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
11065
11066         * src/insets/insetlatexaccent.C (Lbearing): new function, used to
11067         help with placing the manually drawn accents better.
11068         (Rbearing): ditto
11069         (Draw): x2 and hg changed to float to minimize rounding errors and
11070         help place the accents better.
11071
11072         * src/lyxfont.C (ascent): fixed faulty static_cast, casting from
11073         unsigned short to char is just wrong...cast the char to unsigned
11074         char instead so that the two values can compare sanely. This
11075         should also make the display of insetlatexaccents better and
11076         perhaps also some other insets.
11077         (descent): ditto
11078         (lbearing): new function
11079         (rbearing): ditto
11080
11081 1999-12-15  Allan Rae  <rae@lyx.org>
11082
11083         * src/stl_string_fwd.h, src/Makefile.am (lyx_SOURCES):  added new
11084         header that provides a wrapper around the very annoying SGI STL header
11085         of the same name.
11086
11087         * src/support/lyxstring.C, src/LString.h:
11088         removed old SGI-STL-compatability attempts.
11089
11090         * configure.in: Use LYX_STL_STRING_FWD.
11091
11092         * acinclude.m4 (LYX_STL_STRING_FWD), acconfig.h: Test if 
11093         stl_string_fwd.h is around and try to determine it's location.
11094         Major improvement over previous SGI STL 3.2 compatability.
11095         Three small problems remain with this function due to my zero
11096         knowledge of autoconf.  JMarc and lgb see the comments in the code.
11097
11098 1999-12-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11099
11100         * src/broken_const.h, config/hack-gcc, config/README: removed
11101         
11102         * configure.in: remove --with-gcc-hack option; do not call
11103         LYX_CXX_STL_STACK 
11104
11105         * INSTALL: remove documentation of --with-broken-const and
11106         --with-gcc-hack
11107         
11108         * acconfig.h: remove all trace of BROKEN_CONST define
11109
11110         * src/buffer.C (makeDocBookFile): update version number in output
11111         file. 
11112         (SimpleDocBookOnePar): fix an assert when trying to a character
11113         access beyond string length
11114         [Patch from Jose']
11115
11116 1999-12-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * po/de.po: fix the Export menu
11119
11120         * lyx.man: update the description of -dbg
11121
11122         * src/lyx_main.C (setDebuggingLevel): call Debug::showLevel()
11123         (commandLineHelp): updated
11124         (easyParse): show list of available debug levels if -dbg is passed
11125         without argument.
11126
11127         * src/Makefile.am: add debug.C
11128
11129         * src/debug.h: moved some code to debug.C
11130
11131         * src/debug.C: new file. Contains code to set and show debug
11132         level. 
11133
11134         * src/layout.C: remove 'break' after 'continue' in switch
11135         statements, since these cannot be reached.
11136
11137 1999-12-13  Allan Rae  <rae@lyx.org>
11138
11139         * src/mathed/math_hash.C (math_hash): renamed from hash(), name clash.
11140         (in_word_set): hash() -> math_hash()
11141
11142         * src/LString.h: Used USING_EXCEPTIONS in SGI STL-3.2 support 
11143
11144         * acconfig.h: Added a test for whether we are using exceptions in the
11145         current compilation run. If so USING_EXCEPTIONS is defined.
11146
11147         * config.in: Check for existance of stl_string_fwd.h
11148         * src/LString.h: If compiling --with-included-string and SGI's
11149         STL version 3.2 is present (see above test) we need to block their
11150         forward declaration of string and supply a __get_c_string().
11151         However, it turns out this is only necessary if compiling with
11152         exceptions enabled so I've a bit more to add yet.
11153
11154         * src/insets/figinset.[Ch], src/insets/insetinclude.C,
11155         src/insets/insetloa.C, src/layout.h, src/lyxparagraph.h,
11156         src/support/LRegex.h, src/undo.h:
11157         Shuffle the order of the included files a little to ensure that
11158         LString.h gets included before anything that includes stl_string_fwd.h
11159
11160         *  src/support/lyxstring.C: We need to #include LString.h instead of
11161         lyxstring.h to get the necessary definition of __get_c_string.
11162         (__get_c_string): New function.  This is defined static just like SGI's
11163         although why they need to do this I'm not sure.  Perhaps it should be
11164         in lstrings.C instead.
11165
11166         * lib/templates/IEEEtran.lyx:  New template file.
11167
11168 1999-12-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11169         
11170         * Makefile.in.in (MKINSTALLDIRS): use $(srcdir)/@MKINSTALLDIRS@
11171         * intl/Makefile.in (MKINSTALLDIRS):  ditto
11172
11173         * src/LyXAction.C (init): changed to hold the LFUN data in a
11174         automatic array in stead of in callso to newFunc, this speeds up
11175         compilation a lot. Also all the memory used by the array is
11176         returned when the init is completed.
11177
11178         * a lot of files: compiled with -Wold-style-cast, changed most of
11179         the reported offenders to C++ style casts. Did not change the
11180         offenders in C files. 
11181
11182         * src/trans.h (Match): change argument type to unsigned int.
11183
11184         * src/support/DebugStream.C: fix some types on the streambufs so
11185         that it works on a conforming implementation.
11186
11187 1999-12-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11188
11189         * lib/examples/example_{raw,lyxified}.lyx: fix embarassing sentence.
11190
11191         * src/support/lyxstring.C: remove the inline added earlier since
11192         they cause a bunch of unsatisfied symbols when linking with dec
11193         cxx. Cxx likes to have the body of inlines at the place where they
11194         are declared.
11195
11196         * src/trans.C (AddDeadkey): add an 'unsigned char' cast to avoid
11197         accessing negative bounds in array. This fixes the crash when
11198         inserting accented characters.
11199         * src/trans.h (Match): ditto
11200
11201         * src/buffer.C (Dispatch): since this is a void, it should not try
11202         to return anything...
11203
11204 1999-12-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
11205
11206         * src/buffer.h: removed the two friends from Buffer. Some changes
11207         because of this. Buffer::getFileName and Buffer::setFileName
11208         renamed to Buffer::fileName() and Buffer::fileName(...).
11209
11210 1999-12-09  Lars Gullik Bjønnes <larsbj@lyx.org>
11211
11212         * buffer.[Ch], BufferView.[Ch] + other files: Moved Buffer::text
11213         and Buffer::update(short) to BufferView. This move is currently
11214         controlled by a define MOVE_TEXT, this will be removed when all
11215         shows to be ok. This move paves the way for better separation
11216         between buffer contents and buffer view. One side effect is that
11217         the BufferView needs a rebreak when swiching buffers, if we want
11218         to avoid this we can add a cache that holds pointers to LyXText's
11219         that is not currently in use. 
11220
11221         * buffer.[Ch], lyx_main.C: small changes to the "-export" patch by
11222         André Pönitz. 
11223
11224 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
11225
11226         * buffer.[Ch]: Dispatch() - new dispatcher on the buffer level
11227
11228         * lyx_main.C: new command line option -x (or --execute) and
11229           -e (or --export). Now direct conversion from .lyx to .tex
11230           (.dvi, .ps, ...) is possible  ('lyx file.lyx --export latex')
11231           Unfortunately, X is still needed and the GUI pops up during the
11232           process...
11233
11234 1999-12-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11235
11236         * src/Spacing.C: add a using directive to bring stream stuff into
11237         normal namespace.
11238         * src/paragraph.C: ditto
11239         * src/buffer.C: ditto
11240
11241         * NEWS: updated a bit the new features of 1.1.3 (took a few things
11242         from Lars' announcement).
11243
11244         * lib/examples/nl_voorbeeld_{ruw,verlyxt}.lyx: new tutorial
11245         example files from Tino Meinen.
11246         
11247 1999-12-06  Allan Rae  <rae@lyx.org>
11248
11249         * src/LaTeX.C (runBibTeX): fix typo in accessing submatch pair.
11250
11251 1999-12-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11252
11253         * src/support/lyxstring.C: added a lot of inline for no good
11254         reason
11255         
11256         * src/lyxfont.[Ch]: removed latexWriteStartChanges, and
11257         latexWriteEndChanges, they were not used.
11258         
11259         * src/layout.h (operator<<): output operator for PageSides
11260
11261         * src/mathed/math_iter.C (my_memcpy): slightly changed.
11262
11263         * some example files: loaded in LyX 1.0.4 and saved again to update
11264         certain constructs (table format) 
11265
11266         * a lot of files: did the change to use fstream/iostream for all
11267         writing of files. Done with a close look at Andre Poenitz's patch.
11268
11269         * some files: whitespace changes.
11270         
11271 1999-12-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * src/mathed/math_iter.C (my_memcpy): new function. Since the
11274         built-in memcpy() is broken on egcs and gcc 2.95 for alpha
11275         architecture, we provide our own. It is used unconditionnally, but
11276         I do not think this is a performance problem. Thanks to Angus
11277         Leeming <a.leeming@ic.ac.uk> for the code (and again to Michal
11278         Jaegermann <michal@ellpspace.math.ualberta.ca> for finding it the
11279         first time).
11280         (GetInset): use my_memcpy.
11281         (Insert): ditto
11282         (Copy): ditto
11283
11284         * lib/chkconfig.ltx: some cleanup of the latex code. I am not sure
11285         it is easier to understand, but it uses less TeX-only constructs now.
11286
11287         * acinclude.m4 (LYX_SEARCH_PROG): make it work when the PATH
11288         elements contain spaces
11289
11290         * lib/configure: regenerated
11291         
11292         * lib/configure.m4 (SEARCH_PROG): make it work when the PATH
11293         elements contain spaces; display the list of programs that are
11294         tried.
11295
11296         * autogen.sh: make sure lib/configure is executable
11297
11298         * lib/examples/*: rename the tutorial examples to begin with the
11299         two-letters language code.
11300
11301         * src/lyxfunc.C (getStatus): do not query current font if no
11302         buffer exists.
11303
11304         * src/lyx_cb.C (RunScript): use QuoteName
11305         (MenuRunDvips): ditto
11306         (PrintApplyCB): ditto
11307
11308         * src/support/filetools.[Ch] (QuoteName): new function. Add quotes
11309         around argument, so that it works well with the current shell.
11310         Does not work properly with OS/2 shells currently.
11311
11312         * src/LaTeXLog.C (ShowLatexLog): use Buffer::getLatexName
11313         * src/LyXSendto.C (SendtoApplyCB): ditto
11314         * src/lyxfunc.C (Dispatch): ditto
11315         * src/buffer.C (runLaTeX): ditto
11316         (runLiterate): ditto
11317         (buildProgram): ditto
11318         (runChktex): ditto
11319         * src/lyx_cb.C (RunScript): ditto
11320         (MenuMakeLaTeX): ditto
11321         
11322         * src/buffer.h (getLatexName): new method 
11323
11324         * src/support/filetools.C (MakeLatexName): renamed from SpaceLess
11325
11326 1999-12-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11327
11328         * images/sqrt.xpm: change name of the sqrt icon to sqrt_xpm.
11329         * src/mathed/math_panel.C (mathed_get_pixmap_from_icon): ditto
11330         (create_math_panel): ditto
11331
11332         * src/lyxfunc.C (getStatus): re-activate the code which gets
11333         current font and cursor; add test for export to html.
11334
11335         * src/lyxrc.C (read): remove unreachable break statements; add a
11336         few "using".
11337
11338         * src/bmtable.C (fl_set_bmtable_data): add a const_cast.
11339         
11340 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
11341
11342         * src/mathed/formula.C (LocalDispatch): fix small whitspace bug
11343         introduced by faulty regex.
11344         * src/buffer.C: ditto
11345         * src/lastfiles.C: ditto
11346         * src/paragraph.C: ditto
11347         * src/table.C: ditto
11348         * src/vspace.C: ditto
11349         * src/insets/figinset.C: ditto
11350         Note: most of these is absolutely harmless, except the one in
11351         src/mathed formula.C.
11352
11353 1999-11-30  Kayvan A. Sylvan  <kayvan@satyr.sylvan.com>
11354
11355         * src/ImportNoweb.C (documentclass): fixed bounds for substr
11356           operation, yielding correct results for the reLyX command.
11357
11358 1999-12-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
11359
11360         * src/support/filetools.C (ExpandPath): removed an over eager
11361         Assert.
11362         (ReplaceEnvironmentPath): ditto
11363
11364         * src/toolbar.C (BubbleTimerCB): use C++ style casts. This clearly
11365         shows that we are doing something fishy in our code...
11366         (BubblePost): ditto
11367         (ToolbarCB): ditto
11368
11369         * src/lyxrc.C (read): use a double switch trick to get more help
11370         from the compiler. (the same trick is used in layout.C)
11371         (write): new function. opens a ofstream and pass that to output
11372         (output): new function, takes a ostream and writes the lyxrc
11373         elemts to it. uses a dummy switch to make sure no elements are
11374         forgotten. 
11375
11376         * src/lyxlex.h: added a struct pushpophelper for use in functions
11377         with more than one exit point.
11378
11379         * src/lyxlex.[Ch] (GetInteger): made it const
11380         (GetFloat): ditto
11381         (GetBool): ditto
11382
11383         * src/lyxfunc.C (Dispatch): added case for LFUN_SAVEPREFERENCES
11384
11385         * src/layout.[hC] : LayoutTags splitted into several enums, new
11386         methods created, better error handling cleaner use of lyxlex. Read
11387         the diff.
11388
11389         * src/bmtable.[Ch]: change some member prototypes because of the
11390         image const changes. 
11391
11392         * commandtags.h, src/LyXAction.C (init): new function:
11393         "preferences-save", saves the lyxrc entries into .lyx/preferences.
11394         This file is not read automatically but you can add \input
11395         preferences to your lyxrc if you want to. We need to discuss how
11396         to handle this. 
11397
11398         * src/LaTeX.C (runBibTeX): use regex to match for the needed lines
11399         in .aux, also remove .bib and .bst files from dependencies when
11400         running bibtex.
11401
11402         * src/BufferView.C, src/LyXView.C: add const_cast several places
11403         because of changes to images.
11404
11405         * lib/images/*: same change as for images/*
11406         
11407         * lib/lyxrc.example: Default for accept_compound is false not no.
11408
11409         * images/*: changed to be const, however I have som misgivings
11410         about this change so it might be changed back.
11411
11412 1999-11-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11413
11414         * lib/configure, po/POTFILES.in: regenerated
11415
11416         * autogen.sh: autogenerate lib/configure from lib/configure.m4
11417
11418         * config/lib_configure.m4: removed
11419         
11420         * lib/configure.m4: new file (was config/lib_configure.m4)
11421
11422         * configure.in: do not test for rtti, since we do not use it.
11423         
11424 1999-11-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
11425
11426         * src/support/lyxstring.C (lyxstring::Srep): Changed to use a
11427         doubling of allocated space scheme. This makes it faster for large
11428         strings end to use less memory for small strings. xtra rememoved. 
11429
11430         * src/insets/figinset.C (waitalarm): commented out.
11431         (GhostscriptMsg): use static_cast
11432         (GhostscriptMsg): use new instead of malloc to allocate memory for
11433         cmap. also delete the memory after use.
11434
11435         * src/lyx_cb.C (SetXtermCursor): made cursor_undefined a bool
11436
11437         * src/LaTeX.C (scanAux): new method. Scans the .aux file and looks
11438         for changes in bibtex database or style.
11439         (runBibTeX): remove all .bib and .bst files from dep before we
11440         begin. 
11441         (run): use scanAuc in when dep file already exist.
11442
11443         * src/DepTable.C (remove_files_with_extension): new method
11444         (exist): new method
11445
11446         * src/DepTable.[Ch]: made many of the methods const. 
11447
11448 1999-11-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11449
11450         * src/bufferparams.C: make sure that the default textclass is
11451         "article". It used to be the first one by description order, but
11452         now the first one is "docbook".
11453
11454         * src/lyx_main.C (setDebuggingLevel): change type of argument to
11455         string; call Debug::value.
11456         (easyParse): pass complete argument to setDebuggingLevel().
11457
11458         * src/debug.h (value): fix the code that parses debug levels.
11459
11460         * src/debug.h: add new debug type ACTION, reserved for LyXAction
11461         class.  
11462
11463         * src/LyXAction.C: use Debug::ACTION as debug channel.
11464
11465         * src/lyxlookup.C: make the debug statements go to Debug::KEY.
11466
11467         * NEWS: updated for the future 1.1.3 release.
11468
11469         * src/mathed/symbol_def.h: swap the definitions of \varepsilon and
11470         \epsilon. Now \epsilon shows as red text, and \varepsilon shows as
11471         it should. This is of course a controversial change (since many
11472         people will find that their lyx workscreen is suddenly full of
11473         red), but done for the sake of correctness.
11474
11475         * src/mathed/formulamacro.h, src/mathed/math_macro.[Ch],
11476           src/mathed/math_root.[Ch] (Clone): return a MathedInset*  
11477
11478         * src/insets/inseterror.h, src/insets/inseturl.h,
11479           src/insets/insetinfo.h, src/insets/figinset.h,
11480           src/mathed/formulamacro.h, src/mathed/math_macro.h
11481           (EditMessage): add a missing const and add _() to make sure that
11482         translation happens
11483
11484         * src/ImportNoweb.C, src/LyXAction.h, src/insets/figinset.C,
11485           src/insets/insetbib.C, src/support/filetools.C: add `using'
11486         directives for cxx.  
11487
11488         * src/lyxfunc.C (Dispatch): make sure nothing bad happens when
11489         doing 'Insert index of last word' at the beginning of a paragraph.
11490
11491 1999-11-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
11492
11493         * several files: white-space changes.
11494
11495         * src/mathed/formula.C: removed IsAlpha and IsDigit
11496
11497         * src/insets/insetbib.C (getKeys): use findtexfile to look for the
11498         .bib file. use a ifstream instead of FilePtr when parsing the .bib
11499         file for keys.
11500
11501         * src/insets/figinset.C (GetPSSizes): don't break when
11502         "EndComments" is seen. But break when a boundingbox is read.
11503
11504         * all classes inherited from Inset: return value of Clone
11505         changed back to Inset *.
11506
11507         * all classes inherited form MathInset: return value of Clone
11508         changed back to MathedInset *.
11509         
11510         * src/insets/figinset.C (runqueue): use a ofstream to output the
11511         gs/ps file. Might need some setpresicion or setw. However I can
11512         see no problem with the current code.
11513         (runqueue): use sleep instead of the alarm/signal code. I just
11514         can't see the difference.
11515
11516         * src/paragraph.C (LyXParagraph): reserve space in the new
11517         paragraph and resize the inserted paragraph to just fit.
11518
11519         * src/lyxfunc.h (operator|=): added operator for func_status.
11520
11521         * src/lyxfunc.C (MenuNew): use FileInfo instead of FilePtr to
11522         check for readable file.
11523
11524         * src/lyx_cb.C (MenuMakeLaTeX): use FileInfo instead of FilePtr to
11525         check for readable file.
11526         (MenuMakeLinuxDoc): ditto
11527         (MenuMakeDocBook): ditto
11528         (MenuMakeAscii): ditto
11529         (InsertAsciiFile): split the test for openable and readable
11530
11531         * src/bmtable.C (draw_bitmaptable): use
11532         fl_state[fl_get_vclass()].depth instead of DefualtScreen.
11533
11534         * src/LaTeX.C, src/support/filetools.[Ch]: moved do_popen and
11535         findtexfile from LaTeX to filetools.
11536         
11537         * src/ImportNoweb.C (documentclass): rewrote to use ifstream
11538         instead of FilePtr. Needs to be verified by a literate user.
11539
11540 1999-11-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11541
11542         * src/mathed/formula.[Ch] (GetCursorPos): add a missing 'const'.
11543         (EditMessage): likewise.
11544
11545         * src/paragraph.C (SimpleTeXSpecialChars): output ~ and ^
11546         respectively as \textasciitilde and \textasciicircum.
11547
11548 1999-11-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
11549
11550         * src/support/lyxstring.h: made the methods that take iterators
11551         use const_iterator.
11552
11553         * src/support/lstrings.C (countChar): use std::cound(itr, itr, val)
11554         (regexMatch): made is use the real regex class.
11555
11556         * src/support/Makefile.am: changed to use libtool
11557
11558         * src/support/.cvsignore: added *.lo, .libs and libsupport.la
11559
11560         * src/mathed/math_defs.h: made the mathaligns be in a enum instead
11561         of defines.
11562         (MathIsInset ++): changed several macros to be inline functions
11563         instead. 
11564
11565         * src/mathed/Makefile.am: changed to use libtool
11566
11567         * src/mathed/.cvsignore: added *.lo, .libs and libmathed.la
11568
11569         * src/insets/inset* : Clone changed to const and return type is
11570         the true insettype not just Inset*.
11571         
11572         * src/insets/Makefile.am: changed to use libtool
11573
11574         * src/insets/.cvsignore: added *.lo, .libs and libinsets.la
11575
11576         * src/undo.[Ch] : added empty() and changed some of the method
11577         names.
11578         
11579         * src/texrow.[Ch]: rewrote to store texrow's in a std::list.
11580
11581         * src/lyxparagraph.h: use id() and id(...) instead of getID and
11582         setID use block<> for the bullets array, added const several places.
11583
11584         * src/lyxfunc.C (getStatus): new function
11585
11586         * src/lyxfunc.[Ch] : small changes to take advantage of the new
11587         LyXAction, added const to several funtions.
11588
11589         * src/filedlg.[Ch]: rewrote to store userchache and groupchache in
11590         a std::map, and to store the dir items in a vector.
11591
11592         * src/Makefile.am (lyx_DEPENDENCIES): changed to use libtool files
11593         as dependencies.
11594
11595         * src/LyXView.[Ch] + other files : changed currentView to view.
11596         
11597         * src/LyXAction.[Ch] : ported from the old devel branch.
11598         
11599         * src/.cvsignore: added .libs and a.out
11600
11601         * configure.in : changes to use libtool. 
11602
11603         * acinclude.m4 : inserted libtool.m4
11604
11605         * .cvsignore: added libtool
11606
11607 1999-11-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * src/Makefile.am (lyx_DEPENDENCIES): give the explicit object
11610         file name in insets and mathed directories (otherwise the
11611         dependency is not taken in account under cygwin).
11612
11613         * src/text2.C (InsertString[AB]): make sure that we do not try to
11614         read characters past the string length.
11615
11616 1999-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11617
11618         * lib/doc/LaTeXConfig.lyx.in, 
11619           lib/chkconfig.ltx: remove the test for linuxdoc-sgml.sty.
11620
11621         * src/buffer.C (writeFile): Do not add a comment on top of .lyx
11622         file saying who created them and when this heppened; this is
11623         useless and annoys tools like cvs.
11624
11625         * lib/layouts/g-brief-{en,de}.layout,
11626           lib/templates/g-brief-{en,de}.lyx: new versions of the textclass
11627         from Thomas Hartkens <thomas@hartkens.de>.
11628
11629         * src/{insets,mathed}/Makefile.am: do not declare an empty
11630         LDFLAGS, so that it can be set at configure time (useful on Irix
11631         for -n32 flag).
11632
11633         * lib/reLyX/configure.in: make sure that the prefix is set
11634         correctly in LYX_DIR.
11635
11636 1999-11-18  André Pönitz <poenitz@mathematik.tu-chemnitz.de>
11637
11638         * src/commandtags.h: introduction of a new tag 'LFUN_SEQUENCE' to
11639         be used by 'command-sequence' this allows to bind a key to a
11640         sequence of LyX-commands
11641         (Example: 'command-sequence math-insert alpha; math-insert beta;")
11642
11643         * src/LyXAction.C: add "command-sequence"
11644
11645         * src/LyXFunction.C: handling of "command-sequence"
11646
11647         * src/LyXFunction.[hC] changed LyXFunc::Dispatch(string const
11648          &cmd, string const &arg) to LyXFunc::Dispatch(string const& s)
11649
11650         * src/lyxserver.C, src/minibuffer.C: Use this new interface
11651
11652 1999-11-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * src/buffer.C (writeFile): Do not output a comment giving user
11655         and date at the beginning of a .lyx file. This is useless and
11656         annoys cvs anyway; update version number to 1.1.
11657
11658         * src/Makefile.am (LYX_DIR): add this definition, so that a
11659         default path is hardcoded in LyX.
11660
11661         * configure.in: Use LYX_GNU_GETTEXT.
11662
11663         * acinclude.m4 (LYX_GNU_GETTEXT): new macro, essentially a copy of
11664         AM_GNU_GETTEXT with a bug fixed. 
11665
11666         * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx.
11667
11668         * src/chset.C: add "using std::ifstream;" to please dec cxx.
11669
11670         * src/lyx_main.C (init), INSTALL.OS2: the environment variable
11671         which is used to point to LyX data is now LYX_DIR_11x.
11672
11673         * lyx.man: convert to a unix text file; small updates.
11674
11675 1999-11-15  Lars Gullik Bjønnes  <larsbj@lyx.org>
11676
11677         * src/support/LSubstring.[Ch]: made the second arg of most of the
11678         constructors be a const reference. 
11679
11680         * src/mathed/math_parser.C (LexInitCodes): small bug introduced by
11681         me fixed.
11682
11683         * src/support/lyxstring.[Ch] (swap): added missing member function
11684         and specialization of swap(str, str); 
11685
11686         * src/menus.C (ShowBufferMenu): to use the new BufferStorage
11687
11688         * src/bufferlist.[Ch]: use the new BufferStorage class and remove all
11689         trace of the old one.
11690
11691         * src/undo.[Ch]: made the undostack use std::list to store undo's in
11692         put the member definitions in undo.C.
11693
11694         * src/lyxparagraph.h, src/paragraph.C + a lot of files: removed
11695         NEW_TEXT and have now only code that was included when this was
11696         defined. 
11697
11698         * src/intl.C (LCombo): use static_cast
11699         (LCombo2): ditto
11700         (DispatchCallback): ditto
11701
11702         * src/definitions.h: removed whole file
11703         
11704         * src/commandtags.h: comment out LFUN_INSERT_INSET_LATEX
11705
11706         * src/chset.[Ch]: a lot rewritten, does not use lyxlex for cdef
11707         parsing and stores in a std:map. a regex defines the file format.
11708         removed unneeded members.
11709
11710         * src/bufferparams.h: added several enums from definitions.h here.
11711         Removed unsused destructor. Changed some types to use proper enum
11712         types. use block to have the temp_bullets and user_defined_bullets
11713         and to make the whole class assignable.
11714
11715         * src/bufferparams.C (Copy): removed this functions, use a default
11716         assignment instead. 
11717
11718         * src/buffer.h: made isLatex, isLinuxDoc, isDocBook, isSGML and
11719         isLiterate const.
11720
11721         * src/buffer.C (readLyXformat2): commend out all that have with
11722         oldpapersize to do. also comment out all that hve to do with
11723         insetlatex and insetlatexdel. 
11724         (setOldPaperStuff): commented out
11725
11726         * src/Makefile.am (lyx_SOURCES): remove definitions.h, add undo.C
11727
11728         * src/LyXAction.C: remove use of inset-latex-insert
11729
11730         * src/mathed/math_panel.C (button_cb): use static_cast
11731
11732         * src/insets/Makefile.am (insets_o_SOURCES): removed
11733         insetlatex.[Ch] 
11734
11735         * src/support/lyxstring.C (helper): use the unsigned long
11736         specifier, UL, instead of a static_cast.
11737
11738         * src/support/Makefile.am (libsupport_a_SOURCES): added block.h
11739
11740         * src/support/block.h: new file. to be used as a c-style array in
11741         classes, so that the class can be assignable.
11742
11743 1999-11-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11744
11745         * src/lyx_gui_misc.C (askForText): when fl_show_input() returns
11746         NULL, make sure to return an empty string (it is not possible to
11747         set a string to NULL).
11748
11749 1999-11-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * src/support/LRegex.C: use regex_t instead of re_pattern_buffer.
11752
11753         * src/support/lyxstring.C (helper): fix bogus cast in assertion.
11754
11755         * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the
11756         link line, so that Irix users (for example) can set it explicitely to
11757         "-n32".
11758         
11759         * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that
11760         it can be overidden at make time (static or dynamic link, for
11761         example).
11762         
11763         * src/vc-backend.C, src/LaTeXFeatures.h, 
11764           src/support/LRegex.C, src/support/LRegex.h: add a few "using" 
11765         statements to bring templates to global namespace.
11766
11767 1999-11-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
11768
11769         * src/support/lyxstring.C (operator[] const): make it standard
11770         conforming. 
11771
11772         * src/minibuffer.C (Init): changed to reflect that more
11773         information is given from the lyxvc and need not be provided here.
11774
11775         * src/lyxvc.[Ch]: rewrote to use the vc-backend.
11776         
11777         * src/Makefile.am (lyx_SOURCES): add vc-backend.[Ch]
11778
11779         * src/LyXView.C (UpdateTimerCB): use static_cast
11780         (KeyPressMask_raw_callback): ditto
11781
11782         * src/BufferView.[Ch]: name change _owner -> owner_ and _buffer ->
11783         buffer_, a lot of changes because of this. currentBuffer() ->
11784         buffer(), setBuffer(...) -> buffer(...), getOwner() -> owner(),
11785         also changes to other files because of this.
11786
11787 1999-11-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
11788
11789         * src/vc-backend.[Ch]: new files. The backends for vc handling,
11790         have no support for RCS and partial support for CVS, will be
11791         improved later.
11792         
11793         * src/insets/ several files: changes because of function name
11794         changes in Bufferview and LyXView.
11795         
11796         * src/mathed/math_symbols.C (math_insert_symbol): use static_cast
11797
11798         * src/support/LSubstring.[Ch]: new files. These implement a
11799         Substring that can be very convenient to use. i.e. is this
11800         possible:
11801         string a = "Mary had a little sheep";
11802         Substring(a, "sheep") = "lamb";
11803         a is now "Mary has a little lamb".
11804
11805         * src/support/LRegex.[Ch]: a regex class that can be used to pick
11806         out patterns and subpatterns of strings. It is used by LSubstring
11807         and also by vc-backend.C
11808         
11809         * src/support/lyxstring.C: went over all the assertions used and
11810         tried to correct the wrong ones and flag which of them is required
11811         by the standard. some bugs found because of this. Also removed a
11812         couple of assertions.
11813
11814         * src/support/Makefile.am (libsupport_a_SOURCES): added
11815         LSubstring.[Ch] and LRegex.[Ch]
11816
11817         * src/support/FileInfo.h: have struct stat buf as an object and
11818         not a pointer to one, some changes because of this.
11819
11820         * src/LaTeXFeatures.C (getTClassPreamble): also use the
11821         information in layout when adding the layouts preamble to the
11822         textclass preamble.
11823
11824         * src/LaTeXFeatures.h: use a vector<bool> to store the layout
11825         usage in.
11826
11827         * configure.in (CPPFLAGS): use AC_CHECK_FUNCS to check for XOpenIM
11828         because of bug in OS/2.
11829
11830 1999-11-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11831
11832         * lib/layouts/lyxmacros.inc (lyxcode): set the font with
11833         \verbatim@font instead of \ttfamily, so that it can be redefined.
11834
11835         * src/BackStack.h, src/DepTable.C, src/DepTable.h, src/LaTeX.C,
11836           src/LaTeX.h, src/lastfiles.C, src/lastfiles.h, src/layout.C,
11837           src/layout.h, src/text2.C: add 'using' directive to bring the
11838         STL templates we need from the std:: namespace to the global one.
11839         Needed by DEC cxx in strict ansi mode.
11840
11841         * src/support/LIstream.h,src/support/LOstream.h,
11842           src/support/lyxstring.h,src/table.h,
11843           src/lyxlookup.h: do not include <config.h> in header
11844         files. This should be done in the .C files only.
11845
11846         * development/lyx.spec.in: WHATSNEW has been renamed to NEWS
11847         (from Kayvan).
11848         
11849
11850 1999-11-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * config/lib_configure.m4,lib/configure,lib/lyxrc.example: update
11853         from Kayvan to fix the tth invokation.
11854
11855         * development/lyx.spec.in: updates from Kayvan to reflect the
11856         changes of file names.
11857
11858 1999-11-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
11859
11860         * src/text2.C (InsertStringB): use std::copy
11861         (InsertStringA): use std::copy
11862
11863         * src/bufferlist.C: use a vector to store the buffers in. This is
11864         an internal change and should not affect any other thing.
11865         
11866         * src/BufferView.C (waitForX): use XSync instead of the lengthy
11867         stuff in waitForX.
11868
11869         * src/text.C (Fill): fix potential bug, one off bug.
11870
11871 1999-11-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
11872
11873         * src/Makefile.am (lyx_main.o): add more files it depends on.
11874
11875         * src/lyx_cb.C (addNewlineAndDepth): parameters in wrong order.
11876
11877         * src/support/lyxstring.C: use size_t for the reference count,
11878         size, reserved memory and xtra.
11879         (internal_compare): new private member function. Now the compare
11880         functions should work for std::strings that have embedded '\0'
11881         characters.
11882         (compare): all compare functions rewritten to use
11883         internal_compare.
11884         
11885 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
11886
11887         * src/support/lyxstring.C (compare): pass c_str()
11888         (compare): pass c_str
11889         (compare): pass c_str
11890
11891 1999-11-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * src/support/DebugStream.C: <config.h> was not included correctly.
11894
11895         * lib/configure: forgot to re-generate it :( I'll make this file
11896         auto generated soon.
11897
11898 1999-11-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
11899
11900         * acinclude.m4 (cross_compiling): add -fpermissive when gcc 2.95.x
11901         is used.
11902
11903         * src/support/lyxstring.C: some changes from length() to rep->sz.
11904         avoids a function call.
11905
11906         * src/support/filetools.C (SpaceLess): yet another version of the
11907         algorithm...now per Jean-Marc's suggestions.
11908
11909 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
11910
11911         * src/layout.C (less_textclass_desc): functor for use in sorting
11912         of textclasses. 
11913         (LyXTextClass::Read): sort the textclasses after reading.
11914         
11915         * src/support/filetools.C (SpaceLess): new version of the
11916         SpaceLess functions. What problems does this one give? Please
11917         report.
11918
11919         * images/banner_bw.xbm: made the arrays unsigned char *
11920
11921 1999-11-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11922
11923         * src/support/lyxstring.C (find): remove bogus assertion in the
11924         two versions of find where this has not been done yet.
11925
11926         * src/support/lyxlib.h: add missing int return type to
11927         lyx::chdir(). 
11928
11929         * src/menus.C (ShowFileMenu): disable exporting to html if no
11930         html export command is present.
11931
11932         * config/lib_configure.m4: add a test for an HTML converter. The
11933         programs checked for are, in this order: tth, latex2html and
11934         hevea. 
11935
11936         * lib/configure: generated from config/lib_configure.m4.
11937
11938         * src/lyxfunc.C (Dispatch): update and improve the execution of an
11939         html converter. The parameters are now passed through $$FName and
11940         $$OutName, instead of standard input/output.
11941
11942         * src/lyxrc.{C,h}: rename \tth_command to \html_command.
11943
11944         * lib/lyxrc.example: update description of \html_command. 
11945         add "quotes" around \screen_font_xxx font setting examples to help
11946         people who use fonts with spaces in their names.
11947
11948 1999-11-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
11949
11950         * Distribution files: updates for v1.1.2
11951
11952         * src/support/lyxstring.C (find): remove bogus assert and return
11953         npos for the same condition.
11954
11955 1999-11-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
11956
11957         * added patch for OS/2 from SMiyata.
11958
11959 1999-10-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
11960
11961         * src/text2.C (CutSelection): make space_wrapped a bool
11962         (CutSelection): dont declare int i until we have to.
11963         (alphaCounter): return a char const *.
11964
11965 1999-10-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * src/support/syscall.C (Systemcalls::kill): 
11968           src/support/filetools.C (PutEnv, PutEnvPath): 
11969           src/lyx_cb.C (addNewlineAndDepth): 
11970           src/FontInfo.C (FontInfo::resize): condition some #warning
11971         directives with WITH_WARNINGS.
11972         
11973
11974 1999-10-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
11975
11976         * src/layout.[Ch] + several files: access to class variables
11977         limited and made accessor functions instead a lot of code changed
11978         becuase of this. Also instead of returning pointers often a const
11979         reference is returned instead.
11980         
11981         * src/form1.C (create_form_Figure): added a couple fo "no-c-format"
11982
11983         * src/Makefile.am (dist-hook): added used to remove the CVS from
11984         cheaders upon creating a dist
11985         (EXTRA_DIST): added cheaders
11986
11987         * src/support/lstrings.C (tostr(char)): fix it to handle param as
11988         a character not as a small integer. 
11989
11990         * src/support/lyxstring.C (find): removed Assert and added i >=
11991         rep->sz to the first if.
11992
11993 1999-10-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
11994
11995         * src/layout.[Ch] src/BufferView.C src/LaTeXFeatures.C
11996         src/LyXView.C src/buffer.C src/bufferparams.C
11997         src/lyx_cb.C src/lyxfunc.C src/paragraph.C src/text.C 
11998         src/text2.C src/insets/insetinclude.C:
11999         lyxlayout renamed to textclasslist.
12000
12001         * src/layout.C: some lyxerr changes.
12002
12003         * src/layout.[Ch] (LyXLayout::Read): changed second paramter to
12004         LyXTextClass. rewrote LT_COPYSTYLE, rewrote LT_OBSOLETEDBY
12005         (LyXLayoutList): removed all traces of this class.
12006         (LyXTextClass::Read): rewrote LT_STYLE
12007         (LyXTextClass::hasLayout): new function
12008         (LyXTextClass::GetLayout): rewritten to return an iterator + has
12009         both const and nonconst version.
12010         (LyXTextClass::delete_layout): new function.
12011         (LyXTextClassList::Style): bug fix. do the right thing if layout
12012         is to big.
12013         (LyXTextClassList::NumberOfLayout): new acces to layoutlist.
12014         (LyXTextClassList::NameOfLayout): ditto 
12015         (LyXTextClassList::Load): ditto
12016
12017         * src/buffer.C (makeLaTeXFile): new access to layoutlist
12018
12019         * src/LaTeXFeatures.C (getTClassPreamble): new access to layoutlist
12020
12021         * src/LyXAction.C (LookupFunc): added a workaround for sun
12022         compiler, on the other hand...we don't know if the current code
12023         compiles on sun at all...
12024
12025         * src/support/filetools.C (CleanupPath): subst fix
12026
12027         * src/insets/insetbib.C (delDatabase): subst fix, this looks
12028         _really_ weird.
12029
12030         * src/support/filetools.C (PutEnvPath): subst fix, how come nobody
12031         complained about this one?
12032
12033         * src/insets/insetinclude.C (Latex): subst fix
12034
12035         * src/insets/insetbib.C (getKeys): subst fix
12036
12037         * src/LyXSendto.C (SendtoApplyCB): subst fix
12038
12039         * src/lyx_main.C (init): subst fix
12040
12041         * src/layout.C (Read): subst fix
12042
12043         * src/lyx_sendfax_main.C (button_send): subst fix
12044
12045         * src/buffer.C (RoffAsciiTable): subst fix
12046
12047         * src/lyx_cb.C (MenuFax): subst fix
12048         (PrintApplyCB): subst fix
12049
12050 1999-10-26  Juergen Vigna  <jug@sad.it>
12051
12052         * src/table.C (TexEndOfCell) + (DocBookEndOfCell): removed some #if 0
12053
12054         (Read): Cleaned up this code so now we read only format vestion >= 5
12055
12056 1999-10-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
12057
12058         * src/support/filetools.C (PutEnvPath): subst fix for EMX, how
12059         come nobody has complained about this one?
12060
12061         * src/insets/insetinclude.C (Latex): subst fix
12062
12063         * src/insets/insetbib.C (getKeys): subst fix
12064
12065         * src/lyx_main.C (init): subst fix
12066
12067         * src/layout.C (Read): subst fix
12068
12069         * src/buffer.C (RoffAsciiTable): subst fix
12070
12071         * src/lyx_cb.C (MenuFax): subst fix.
12072
12073         * src/layout.[hC] + some other files: rewrote to use
12074         std::container to store textclasses and layouts in.
12075         Simplified, removed a lot of code. Make all classes
12076         assignable. Further simplifications and review of type
12077         use still to be one. 
12078
12079         * src/menus.C (ShowFileMenu/ShowFileMenu2): Use the iterators from
12080         lastfiles to create the lastfiles partr of the menu.
12081
12082         * src/lastfiles.[Ch]: rewritten to use deque to store the
12083         lastfiles in. Uses fstream for reading and writing. Simplifies
12084         code.
12085
12086         * src/support/syscall.C: remove explicit cast.
12087
12088         * src/BufferView.C (CursorToggleCB): removed code snippets that
12089         were commented out.
12090         use explicat C++ style casts instead of C style casts. also use
12091         u_vdata instea of passing pointers in longs.
12092
12093         * src/PaperLayout.C: removed code snippets that were commented out.
12094
12095         * src/lyx_gui_misc.C: removed code snippets that were commented out. 
12096
12097         * src/lyx_main.C: removed code snippets that wer commented out.
12098
12099         * src/paragraph.C: removed code snippets that were commented out.
12100
12101         * src/lyxvc.C (logClose): use static_cast
12102         (logUpdate): ditto
12103         (viewLog): remove explicit cast to void*
12104         (showLog): removed old commented code
12105
12106         * src/menus.C: use static_cast instead of C style casts. use
12107         u_vdata instead of u_ldata. remove explicit cast to (long) for
12108         pointers. Removed old code that was commented out.
12109
12110         * src/insets/inset.C: removed old commented func
12111
12112         * src/insets/insetref.C (InsetRef): removed old code that had been
12113         commented out for a long time.
12114         (Edit): ditto
12115         (escape): removed C style cast
12116
12117         * src/insets/insetlatexaccent.C (Draw): removed old commented code
12118
12119         * src/insets/insetlatex.C (Draw): removed old commented code
12120         (Read): rewritten to use string
12121
12122         * src/insets/insetlabel.C (escape): removed C style cast
12123
12124         * src/insets/insetindex.h: removed vdata and ldata from FD_index_form
12125
12126         * src/insets/insetindex.C: use static_cast and u_vdata, removed
12127         old commented code.
12128
12129         * src/insets/insetinclude.h: removed a couple of stupid bools
12130
12131         * src/insets/insetinclude.C (include_cb): use static_cast and u_data.
12132         (Clone): remove C style cast
12133         (getKeys): changed list to lst because of std::list
12134
12135         * src/insets/inseterror.C (Draw): removed som old commented code.
12136
12137         * src/insets/insetcommand.C (Draw): removed some old commented code.
12138
12139         * src/insets/insetbib.C (bibitem_cb): removed code that has been
12140         commented out forever.
12141         (bibitem_cb): use static_cast instead of C style cast
12142         use of vdata changed to u_vdata.
12143
12144         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forward the data
12145         parameter.
12146         (CloseUrlCB): use static_cast instead of C style cast.
12147         (CloseUrlCB): added a fl_free form...it seemed to be missing.
12148
12149         * src/insets/insetinfo.C (Edit): pass object in u_vdata instead
12150         (C_InsetInfo_CloseInfoCB): forward the ob parameter
12151         (CloseInfoCB): static_cast from ob->u_vdata instead.
12152         (Edit): removed bogus arg from fl_set_object_shortcut, set to 1
12153         instead. 
12154
12155         * src/insets/inseterror.C (Edit): pass object in u_vdata instead
12156         (C_InsetError_CloseErrorCB): forward the ob parameter
12157         (CloseErrorCB): static_cast from ob->u_vdata instead.
12158
12159         * src/vspace.h: include LString.h since we use string in this class.
12160
12161         * src/vspace.C (lyx_advance): changed name from advance because of
12162         nameclash with stl. And since we cannot use namespaces yet...I
12163         used a lyx_ prefix instead. Expect this to change when we begin
12164         using namespaces.
12165
12166         * src/BufferView.[Ch] (BufferView::~BufferView): removed 
12167
12168         * src/BackStack.h: rewrote to use std::stack. made BackStackItem
12169         and removed now defunct constructor and deconstructor.
12170
12171         * src/BufferView.h: have backstack as a object not as a pointer.
12172         removed initialization from constructor. added include for BackStack 
12173
12174         * development/lyx.spec.in (%build): add CFLAGS also.
12175
12176         * src/screen.C (drawFrame): removed another warning.
12177
12178 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12179
12180         * renamed WHATSNEW to NEWS (usual GNU style), CHANGES to
12181         OLD-CHANGES (not used anymore) and modified INSTALL, INSTALL.OS2,
12182         README and ANNOUNCE a bit for the next release. More work is
12183         needed, of course.
12184
12185         * src/paragraph.C (SimpleTeXBlanks): spaces are automatically made
12186         unbreakable if we are in freespacing mode (LyX-Code), but not in
12187         latex mode.
12188
12189 1999-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
12190
12191         * src/BackStack.h: fixed initialization order in constructor
12192
12193         * Makefile.am (MAINTAINERCLEANFILES): removed po/POTFILES.in
12194
12195         * acinclude.m4 (VERSION): new rules for when a version is
12196         development, added also a variable for prerelease.
12197         (warnings): we set with_warnings=yes for prereleases
12198         (lyx_opt): prereleases compile with same optimization as development 
12199         (CXXFLAGS): only use pedantic if we are a development version 
12200
12201         * src/BufferView.C (restorePosition): don't do anything if the
12202         backstack is empty.
12203
12204         * src/BackStack.h: added member empty, use this to test if there
12205         is anything to pop...
12206
12207 1999-10-25  Juergen Vigna  <jug@sad.it>
12208
12209         * forms/form1.fd +
12210         * forms/layout_forms.fd +
12211         * forms/latexoptions.fd +
12212         * lyx.fd: changed for various form resize issues
12213
12214         * src/mathed/math_panel.C +
12215         * src/insets/inseterror.C +
12216         * src/insets/insetinfo.C +
12217         * src/insets/inseturl.C +
12218         * src/insets/inseturl.h +
12219         * src/LaTeXLog.C +
12220         * src/LyXSendto.C +
12221         * src/PaperLayout.C +
12222         * src/ParagraphExtra.C +
12223         * src/TableLayout.C +
12224         * src/form1.C +
12225         * src/layout_forms.C +
12226         * src/lyx.C +
12227         * src/lyx_cb.C +
12228         * src/lyx_gui.C +
12229         * src/lyxfr0.C +
12230         * src/lyxfunc.C +
12231         * src/lyxvc.C +
12232         * src/menus.C: fixed various resize issues. So now forms can be
12233         resized savely or not be resized at all.
12234         
12235         * forms/form_url.fd +
12236         * src/insets/form_url.[Ch]: added because it's cleaner and easier
12237         to modify IMO.
12238
12239         * src/insets/Makefile.am: added files form_url.[Ch]
12240         
12241 1999-10-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * INSTALL: it is now possible to compile LyX with digital C++ 6.1
12244         (and presumably 6.2).
12245
12246         * src/{BufferView,LyXView,combox,filedlg,intl,lyxserver,lyxvc,
12247         menus,minibuffer,toolbar}.{C,h}: added C_xxx wrappers around
12248         remaining static member callbacks. 
12249
12250         * src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
12251         messages. 
12252
12253         * src/support/lyxstring.h: declare struct Srep as friend of
12254         lyxstring, since DEC cxx complains otherwise.
12255
12256 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
12257
12258 1999-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
12259
12260         * src/LaTeX.C (run): made run_bibtex also depend on files with
12261         extension ".bst"
12262         (runBibTeX): added scans for "\\bibstyle", now also ".bst" files
12263         are put into the dependency file.
12264
12265         * src/spellchecker.C (create_ispell_pipe): removed old #warning,
12266         the code has shown itself to work
12267         (create_ispell_pipe): removed another warning, added a comment
12268         instead. 
12269
12270         * src/minibuffer.C (ExecutingCB): removed code that has been
12271         commented out a long time
12272
12273         * src/lyxfunc.C (processKeyEvent): removed some very old commented
12274         out code + a warning.
12275
12276         * src/support/lyxstring.h: comment out the three private
12277         operators, when compiling with string ansi conforming compilers
12278         they make problems.
12279
12280         * src/mathed/math_symbols.C (AddBitmap): change 6th arg to be
12281         unsigned char *.
12282         (pixmapFromBitmapData): change type of bdata to be unsigned char *
12283         (pixmapFromBitmapData): add a reinterpret_cast in the call to
12284         XCreateImage
12285
12286         * src/mathed/math_panel.h: change 6th arg to AddBitmap to be
12287         unsigned char *
12288
12289         * src/mathed/math_panel.C (create_math_panel): remove explicit
12290         casts
12291
12292         * src/bmtable.h: change last paramter to fl_set_bmtable_data to be
12293         unsigned char *.
12294
12295         * src/bmtable.C (struct BMTABLE_SPEC): make bdata unsigned char *
12296         (draw_bitmaptable): add a reinterpret_cast to sp->bdata in the call
12297         to XCreatePixmapFromBitmapData
12298         (fl_set_bmtable_data): change the last argument to be unsigned
12299         char *
12300         (fl_set_bmtable_file): change bdata to unsinged char *, change bw
12301         and bh to be unsigned int, remove explicit casts in call to
12302         XReadBitmapFileData.
12303
12304         * images/arrows.xbm: made the arrays unsigned char *
12305         * images/varsz.xbm: ditto
12306         * images/misc.xbm: ditto
12307         * images/greek.xbm: ditto
12308         * images/dots.xbm: ditto
12309         * images/brel.xbm: ditto
12310         * images/bop.xbm: ditto
12311
12312         * Makefile.am (MAINTAINERCLEANFILES): added po/POTFILES.in
12313
12314         * acinclude.m4 (LYX_GXX_STRENGHT_REDUCE): removed. 
12315         (LYX_PROG_CXX): added -pedantic to g++ compile options when
12316         with-warnings, removed the __STRING_ANSI__ hack, seems to not be
12317         needed. 
12318         (LYX_CXX_CHEADERS): added <clocale> to the test. 
12319
12320 1999-10-23  Lars Gullik Bjønnes  <larsbj@lyx.org>
12321
12322         * src/lyx_cb.C (addNewlineAndDepth): changed to use string::append.
12323
12324         * src/support/lyxstring.C (append): fixed something that must be a
12325         bug, rep->assign was used instead of rep->append.
12326
12327         * src/support/Makefile.am (libsupport_a_SOURCES): added LIstream.h
12328         and LOstream.h
12329
12330         * src/lyxfunc.C (processKeyEvent): removed faulty line that made
12331         lyx insert double chars. Fix spotted by Kayvan.
12332
12333 1999-10-23  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
12334
12335         * Fixed the tth support. I messed up with the Emacs patch apply feature
12336         and omitted the changes in lyxrc.C.
12337
12338 1999-10-22  Juergen Vigna  <jug@sad.it>
12339
12340         * src/insets/figinset.C (CallbackFig): Just changed the defines a bit.
12341
12342         * src/lyx_cb.C (MenuInsertRef) + 
12343         * src/lyx_gui.C (create_forms): Inserted fl_set_form_minsize so that
12344         the form cannot be resized under it limits (fixes a segfault)
12345         
12346         * src/lyx.C (create_form_form_ref) +
12347         * forms/lyx.fd: Changed Gravity on name input field so that it is
12348         resized correctly.
12349
12350 1999-10-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12351
12352         * configure.in: use LYX_CXX_STL_MODERN_STREAMS; check for headers
12353         <ostream> and <istream>.
12354         
12355         * acinclude.m4 (LYX_CXX_STL_MODERN_STREAMS): new test. Checks
12356         whether <fstream> provides the latest standard features, or if we
12357         have an oldstyle library (like in egcs).
12358         (LYX_CXX_STL_STRING): fix the test.
12359
12360         * src/support/DebugStream.{C,h}: use L{I,O}stream.h and condition the
12361         code on MODERN_STL_STREAM.
12362
12363         * src/support/lyxstring.h: use L{I,O}stream.h.
12364
12365         * src/support/L{I,O}stream.h: new files, designed to setup
12366         correctly streams for our use
12367           - includes the right header depending on STL capabilities
12368           - puts std::ostream and std::endl (for LOStream.h) or
12369           std::istream (LIStream.h) in toplevel namespace.
12370
12371 1999-10-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
12372
12373         * src/LaTeX.C (run): added a check in 0 sumchange so that if it
12374         was a bib file that had been changed we ensure that bibtex is run.
12375         (runBibTeX): enhanced to extract the names of the bib files and
12376         getting their absolute path and enter them into the dep file.
12377         (findtexfile): static func that is used to look for tex-files,
12378         checks for absolute patchs and tries also with kpsewhich.
12379         Alternative ways of finding the correct files are wanted. Will
12380         probably be moved.
12381         (do_popen): function that runs a command using popen and returns
12382         the whole output of that command in a string. Should be moved to
12383         somewhere else.
12384
12385         * src/DepTable.[Ch] (extchanged): new function that returns true if a
12386         file with extension ext has changed.
12387
12388         * src/insets/figinset.C: added ifdef guards around the fl_free
12389         code that jug commented out. Now it is commented out when
12390         compiling with XForms == 0.89.
12391
12392         * src/support/lyxstring.C: moved the definition of lyxstring::Srep
12393         to lyxstring.C, and only keep a forward declaration in
12394         lyxstring.h. Simplifies the header file a bit and should help a
12395         bit on compile time too. Also changes to Srep will not mandate a
12396         recompile of code just using string.
12397         (~lyxstring): definition moved here since it uses srep.
12398         (size): definition moved here since it uses srep.
12399
12400         * src/support/lyxstring.h: removed a couple of "inline" that should
12401         not be there.
12402
12403 1999-10-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12404
12405         * src/insets/inseturl.C (C_InsetUrl_CloseUrlCB): forgot to pass
12406         the 'ob' argument.
12407
12408 1999-10-21  Juergen Vigna  <jug@sad.it>
12409
12410         * src/table.C (SetPWidth): Just a small fix so the alignment is not
12411         set to left if I just remove the width entry (or it is empty).
12412
12413         * src/text2.C (SetCursorIntern): Fixed a bug calculating to use wrong
12414         paragraph when having dummy paragraphs.
12415
12416 1999-10-20  Juergen Vigna  <jug@sad.it>
12417
12418         * src/insets/figinset.C: just commented some fl_free_form calls
12419         and added warnings so that this calls should be activated later
12420         again. This avoids for now a segfault, but we have a memory leak!
12421
12422         * src/lyxfunc.C (processKeyEvent) (Dispatch): changed
12423         'const char * argument' to 'string argument', this should
12424         fix some Asserts() in lyxstring.C.
12425
12426         * src/lyxfunc.h: Removed the function argAsString(const char *)
12427         as it is not used anymore.
12428
12429 1999-10-20  Lars Gullik Bjønnes  <larsbj@lyx.org>
12430
12431         * src/support/lyxstring.C (getline): reads now _all_ chars. uses
12432         get instead of >>
12433
12434         * src/Literate.h: some funcs moved from public to private to make
12435         interface clearer. Unneeded args removed.
12436
12437         * src/Literate.C (scanLiterateLogFile): rewritten to use iostream
12438         instead of lyxlex.
12439         (scanBuildLogFile): ditto
12440
12441         * src/LaTeX.C (scanLogFile): merged LaTeX Error handling into
12442         normal TeX Error. Still room for improvement.
12443
12444         * src/LaTeX.[Ch]: removed scanError. Wrong place and not needed.
12445
12446         * src/buffer.C (insertErrors): changes to make the error
12447         desctription show properly.
12448
12449         * src/LaTeX.C (deplog): removed the test for file in lyx doc dir.
12450         could never happen
12451
12452         * src/support/lyxstring.C (helper): changed to use
12453         sizeof(object->rep->ref).
12454         (operator>>): changed to use a pointer instead.
12455
12456         * src/support/lyxstring.h: changed const reference & to value_type
12457         const & lets see if that helps.
12458
12459 1999-10-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
12460
12461         * Makefile.am (rpmdist): fixed to have non static package and
12462         verison.
12463
12464         * src/support/lyxstring.C: removed the compilation guards
12465
12466         * src/vspace.C (nextToken): use i + 1  instead of ++i. Maks things
12467         a bit clearer.
12468
12469         * src/support/Makefile.am (LYXSTRING): bruker USE_LYXSTRING for
12470         conditional compile of lyxstring.Ch
12471
12472         * acinclude.m4 (LYX_CXX_STL_STRING): new and improved, still a
12473         stupid check, but it is a lot better than the bastring hack. 
12474         (LYX_CXX_STL_STRING): bruker nå AM_CONDITIONAL(USE_LYXSTRING  
12475
12476         * several files: changed string::erase into string::clear. Not
12477         really needed.
12478         
12479         * src/chset.C (encodeString): use a char temporary instead
12480
12481         * src/table.C (TexEndOfCell): added tostr around
12482         column_of_cell(fcell+i)+1 and around right_column_of_cell(fcell+i)+1
12483         (TexEndOfCell): ditto
12484         (TexEndOfCell): ditto
12485         (TexEndOfCell): ditto
12486         (DocBookEndOfCell): ditto
12487         (DocBookEndOfCell): ditto
12488         (DocBookEndOfCell): ditto
12489         (DocBookEndOfCell): ditto
12490
12491         * src/paragraph.C (TeXEnvironment): added tostr around foot_count -1
12492
12493         * src/lyxfr1.C (SearchReplaceAllCB): added tostr around replace_count
12494
12495         * src/lyx_cb.C (MenuRunLaTeX): added tostr around ret
12496         (MenuBuildProg): added tostr around ret
12497         (MenuRunChktex): added tostr around ret
12498         (DocumentApplyCB): added tostr around ret
12499
12500         * src/chset.C (encodeString): added tostr around t->ic
12501
12502         * src/buffer.C (makeLaTeXFile): added tostr around secnumdepth
12503         (makeLaTeXFile): added tostr around tocdepth
12504         (makeLaTeXFile): added tostr around ftcound - 1
12505
12506         * src/insets/insetbib.C (setCounter): added tostr around counter.
12507
12508         * src/support/lyxstring.h: added an operator+=(int) to catch more
12509         mistakes. 
12510
12511         * src/support/lyxstring.C (lyxstring): We DON'T allow NULL pointers.
12512         (lyxstring): We DON'T allow NULL pointers.
12513
12514 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12515
12516         * src/mathed/math_macro.C (MathMacroArgument::Write,
12517         MathMacroTemplate::WriteDef): add tostr() around macro arg numbers
12518         when writing them out.
12519
12520         * src/LString.C: remove, since it is not used anymore.
12521         
12522         * src/support/lyxstring.C: condition the content to
12523         USE_INCLUDED_STRING macro.
12524
12525         * src/mathed/math_symbols.C, src/support/lstrings.C,
12526         src/support/lyxstring.C: add `using' directive to specify what
12527         we need in <algorithm>. I do not think that we need to
12528         conditionalize this, but any thought is appreciated.
12529
12530         * many files: change all callback functions to "C" linkage
12531         functions to please strict C++ compilers like DEC cxx 6.1 in mode
12532         strict_ansi. Those who were static are now global. 
12533             The case of callbacks which are static class members is
12534         trickier, since we have to make C wrappers around them (see
12535         InsetError, InsetInfo and InsetUrl). The same holds for friends. I
12536         did not finish this yet, since it defeats the purpose of
12537         encapsulation, and I am not sure what the best route is.
12538
12539 1999-10-19  Juergen Vigna  <jug@sad.it>
12540
12541         * src/support/lyxstring.C (lyxstring): we permit to have a null
12542         pointer as assignment value and just don't assign it.
12543
12544         * src/vspace.C (nextToken): corrected this function substituting
12545         find_first(_not)_of with find_last_of.
12546
12547         * src/TableLayout.C (UpdateLayoutTable) (TableOptionsCB)
12548         (TableOptCloseCB) (TableSpeCloseCB):
12549         inserted fl_set_focus call for problem with fl_hide_form() in
12550         xforms-0.89.
12551
12552 1999-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12553
12554         * src/lyx_cb.C (LayoutsCB): fix bug where int was added to a
12555         string. 
12556
12557 1999-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * src/lyxrc.C (Read): RC_PRINTEXSTRAOPTIONS now uses
12560         LyXLex::next() and not eatline() to get its argument.
12561
12562 1999-10-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
12563
12564         * src/DepTable.[Ch]: rewritten to store the dependencies in a map
12565         instead, use fstreams for io of the depfile, removed unneeded
12566         functions and variables. 
12567
12568         * src/LaTeX.[Ch] (class TeXErrors): rewrote to store the errors in a
12569         vector instead, removed all functions and variables that is not in
12570         use.
12571
12572 1999-10-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12573
12574         * src/buffer.C (insertErrors): use new interface to TeXError
12575
12576         * Makefile.am (rpmdist): added a rpmdist target
12577
12578         * lib/reLyX/Makefile.am: added RelyxFigure.pm and Verbatim.pm as
12579         per Kayvan's instructions.
12580
12581 1999-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * src/Makefile.am: add a definition for localedir, so that locales
12584         are found after installation (Kayvan)
12585
12586 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12587
12588         * development/.cvsignore: new file.
12589
12590 1999-10-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12591
12592         * acinclude.m4 (LYX_CXX_CHEADERS): New macro. Checks whether the
12593         C++ compiler provides wrappers for C headers and use our alternate
12594         version otherwise.
12595
12596         * configure.in: use LYX_CXX_CHEADERS.
12597
12598         * src/cheader/: new directory, populated with cname headers from
12599         libstdc++-2.8.1. They are a bit old, but probably good enough for
12600         what we want (support compilers who lack them).
12601         
12602         * src/insets/Makefile.am, src/mathed/Makefile.am: remove src/support
12603         from includes. It turns out is was stupid.
12604
12605 1999-10-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12606
12607         * lib/Makefile.am (install-data-local): forgot a ';'
12608         (install-data-local): forgot a '\'
12609         (libinstalldirs): needed after all. reintroduced.
12610
12611 1999-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
12612
12613         * configure.in (AC_OUTPUT): added lyx.spec
12614
12615         * development/lyx.spec: removed file
12616
12617         * development/lyx.spec.in: new file
12618
12619         * po/*.po: merged with lyx.pot becuase of make distcheck
12620         
12621         * lib/Makefile.am (dist-hook): added dist-hook so that
12622         documentation files will be included when doing a make
12623         dist/distdir/distcheck. Requires cvs export -r HEAD lyxdoc to run.
12624         (pkgdata_SCRIPTS): added configure.cmd for now, we can use som
12625         conditional later.
12626         more: tried to make install do the right thing, exclude CVS dirs
12627         etc.
12628
12629         * src/LaTeXLog.C (ShowLatexLog): reordered som statements so that
12630         Path would fit in more nicely.
12631
12632         * all files that used to use pathstack: uses now Path instead.
12633         This change was a lot easier than expected.
12634         
12635         * src/support/path.h: new file
12636
12637         * src/support/Makefile.am (libsupport_a_SOURCES): added path.h
12638
12639         * src/Makefile.am (lyx_SOURCES): removed pathstack.[Ch]
12640
12641         * src/support/lyxstring.C (getline): Default arg was given for
12642         para 3. removed.
12643
12644         * Configure.cmd: removed file 
12645
12646 1999-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * src/support/DebugStream.[Ch]: remove the explicit std:: before
12649         streams classes and types, add the proper 'using' statements when
12650         MODERN_STL is defined.
12651         
12652         * src/debug.h: move the << operator definition after the inclusion
12653         of DebugStream.h
12654
12655         * src/support/filetools.C: include "LAssert.h", which is needed
12656         later. 
12657
12658         * src/insets/Makefile.am, src/mathed/Makefile.am: add src/support
12659         to includes. 
12660
12661         * src/lyxfont.h, src/commandtags.h, src/mathed/math_defs.h:
12662         include "debug.h" to define a proper ostream.
12663
12664 1999-10-12  Asger Alstrup Nielsen  <alstrup@alstrup.galaxy.dk>
12665
12666         * src/sys*: Cleaned up the Systemcall stuff a bit. Added "kill(int)"
12667           method to the SystemCall class which can kill a process, but it's
12668           not fully implemented yet.
12669
12670         * src/*.C: Changed Systemcalls::Startscript() to startscript()
12671
12672         * src/support/FileInfo.h: Better documentation  
12673
12674         * src/lyxfunc.C: Added support for buffer-export html
12675         
12676         * src/menus.C: Added Export->As HTML...
12677         
12678         * lib/bind/*.bind: Added short-cut for buffer-export html
12679
12680         * src/lyxrc.*: Added support for new \tth_command
12681         
12682         * lib/lyxrc.example: Added stuff for new \tth_command
12683
12684 1999-10-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12685
12686         * lib/Makefile.am (IMAGES): removed images/README
12687         (pkgdata_SCRIPTS): use this instead of bin_SCRIPTS to that it
12688         installes in correct place. Check permisions is installed
12689         correctly.
12690
12691         * src/LaTeX.C: some no-op changes moved declaration of some
12692         variables around.
12693
12694         * src/LaTeX.h (LATEX_H): changed include guard name
12695
12696 1999-10-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12697
12698         * lib/reLyX/Makefile.am: install noweb2lyx.
12699
12700         * lib/Makefile.am: install configure. 
12701
12702         * lib/reLyX/configure.in: declare a config aux dir; set package
12703         name to lyx (not sure what the best solution is); generate noweb2lyx.
12704
12705         * lib/layouts/egs.layout: fix the bibliography layout.
12706
12707 1999-10-08  Jürgen Vigna <jug@sad.it>
12708
12709         * src/support/filetools.C (FileOpenSearch): Fixed a bug where
12710         when in the PATH was something like /usr/bin;;/bin (note: the ;;)
12711         it returned without continuing to search the path.
12712         
12713 1999-10-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12714
12715         * src/insets/insetquotes.C (Draw): Simplified a gread deal. This
12716         also fixes a bug. It is not allowed to do tricks with std::strings
12717         like: string a("hei"); &a[e]; this will not give what you
12718         think... Any reason for the complexity in this func?
12719
12720 1999-10-06  Asger Alstrup Nielsen  <alstrup@diku.dk>
12721
12722         * Updated README and INSTALL a bit, mostly to check that my
12723         CVS rights are correctly set up.
12724
12725 1999-10-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
12726
12727         * src/support/lyxstring.C (helper): removed bogus Assert. strlen
12728         does not allow '\0' chars but lyxstring and std::string does.
12729
12730 1999-10-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
12731
12732         * autogen.sh (AUTOCONF): let the autogen script create the
12733         POTFILES.in file too. POTFILES.in should perhaps now not be
12734         included in the cvs module.
12735
12736         * some more files changed to use C++ includes instead of C ones.
12737
12738         * src/filedlg.C (Reread): fixed a bug wrt Time. It was appended
12739         not assigned.
12740         (Reread): added tostr to nlink. buggy output otherwise.
12741         (Reread): added a string() around szMode when assigning to Buffer,
12742         without this I got a log of garbled info strings.
12743
12744         * acconfig.h: commented out the PTR_AS_INT macros. They should not
12745         be needed.
12746
12747         * I have added several ostream & operator<<(ostream &, some_type)
12748         functions. This has been done to avoid casting and warnings when
12749         outputting enums to lyxerr. This as thus eliminated a lot of
12750         explicit casts and has made the code clearer. Among the enums
12751         affected: kb_action, InsetLatexAccent::ACCENT_TYPE, a couple of
12752         mathed enums, some font enum the Debug::type enum. 
12753
12754         * src/support/lyxstring.h (clear): missing method. equivalent of
12755         erase(0, npos).
12756
12757         * all files that contained "stderr": rewrote constructs that used
12758         stderr to use lyxerr instead. (except bmtable)
12759
12760         * src/support/DebugStream.h (level): and the passed t with
12761         Debug::ANY to avoid spurious bits set.
12762
12763         * src/debug.h (Debug::type value): made it accept strings of the
12764         type INFO,INIT,KEY.
12765
12766         * configure.in (Check for programs): Added a check for kpsewhich,
12767         the latex generation will use this later to better the dicovery of
12768         all used files. 
12769
12770         * src/BufferView.C (create_view): we don't need to cast this to
12771         (void*) that is done automatically.
12772         (WorkAreaButtonPress): removed some dead code.
12773
12774 1999-10-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * src/minibuffer.C (Init): make sure that the "Welcome to LyX!"
12777         is not overwritten when translated (David Sua'rez de Lis).
12778
12779         * lib/CREDITS: Added David Sua'rez de Lis
12780
12781         * lib/reLyX/configure.in: setup LYX_DIR correctly in reLyX.
12782
12783         * src/bufferparams.C (BufferParams): default input encoding is now
12784         "latin1" 
12785
12786         * acinclude.m4 (cross_compiling): comment out macro
12787         LYX_GXX_STRENGTH_REDUCE. 
12788
12789         * acconfig.h: make sure that const is not defined (to empty) when
12790         we are compiling C++. Remove commented out code using SIZEOF_xx
12791         macros.
12792         
12793         * configure.in : move the test for const and inline as late as
12794         possible so that these C tests do not interefere with C++ ones.
12795         Remove the call to LYX_GXX_STRENGTH_REDUCE, since its usefulness
12796         has not been proven. 
12797
12798 1999-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * src/table.C (getDocBookAlign): remove bad default value for
12801         isColumn parameter.
12802
12803         * src/menus.C (ShowFileMenu): add a missing tostr() for lastfiles
12804         shortcut. 
12805         (ShowFileMenu2): ditto.
12806
12807         * lib/reLyX/.cvsignore: add configure and aclocal.m4 to the list
12808         of files to ignore.
12809
12810 1999-10-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
12811
12812         * Most files: finished the change from the old error code to use
12813         DebugStream for all lyxerr debugging. Only minor changes remain
12814         (e.g. the setting of debug levels using strings instead of number) 
12815
12816 1999-10-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
12817
12818         * src/layout.C (Add): Changed to use compare_no_case instead of
12819         strcasecmp.
12820
12821         * src/FontInfo.C: changed loop variable type too string::size_type.
12822
12823 1999-10-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
12824
12825         * src/support/Makefile.am: added -I${srcdir}/../ to INCLUDES and
12826         set ETAGS_ARGS to --c++ 
12827
12828 1999-09-30  Lars Gullik Bjønnes  <larsbj@lyx.org>
12829
12830         * src/table.C (DocBookEndOfCell): commented out two unused variables
12831
12832         * src/paragraph.C: commented out four unused variables. 
12833
12834         * src/lyx_cb.C (TocUpdateCB): moved variable i and added a new i
12835         insed a if clause with type string::size_type.
12836
12837         * src/lyxfr1.C (IsSearchStringInText): changed iSrch from int to
12838         string::size_type.
12839
12840         * src/lyxfunc.C (Dispatch): use string::size_type as loop variable.
12841
12842         * src/lyx_cb.C (ReplaceWord): use string::size_type as loop
12843         variable, also changed loop to go from 0 to lenght + 1, instead of
12844         -1 to length. This should be correct.
12845
12846         * src/LaTeX.C (scanError): use string::size_type as loop variable
12847         type.
12848
12849         * src/BufferView.C (WorkAreaButtonPress): moved #if 0 up two lines
12850         (l.896) since y_tmp and row was not used anyway.
12851
12852         * src/insets/insetref.C (escape): use string::size_type as loop
12853         variable type.
12854
12855         * src/insets/insetquotes.C (Width): use string::size_type as loop
12856         variable type.
12857         (Draw): use string::size_type as loop variable type.
12858
12859         * src/insets/insetlatexaccent.C (checkContents): use
12860         string::size_type as loop variable type.
12861
12862         * src/insets/insetlabel.C (escape): use string::size_type as loop
12863         variable type.
12864
12865         * src/insets/insetinfo.C: added an extern for current_view.
12866
12867         * src/insets/insetcommand.C (scanCommand): use string::size_type
12868         as loop variable type.
12869
12870         * most files: removed the RCS tags. With them we had to recompile
12871         a lot of files after a simple cvs commit. Also we have never used
12872         them for anything meaningful. 
12873
12874         * most files: tags-query-replace NULL 0. As adviced several plases
12875         we now use "0" instead of "NULL" in our code. 
12876
12877         * src/support/filetools.C (SpaceLess): use string::size_type as
12878         loop variable type.
12879
12880 1999-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
12881
12882         * src/paragraph.C: fixed up some more string stuff.
12883
12884 1999-09-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
12885
12886         * src/support/filetools.h: make modestr a std::string.
12887
12888         * src/filetools.C (GetEnv): made ch really const.
12889
12890         * src/lyxlib.h: removed the Maximum and Minimum inline functions,
12891         made code that used these use max/min from <algorithm> instead.
12892
12893         * changed several c library include files to their equivalent c++
12894         library include files. All is not changed yet.
12895
12896         * created a support subdir in src, put lyxstring and lstrings
12897         there + the extra files atexit, fileblock, strerror. Created
12898         Makefile.am. edited configure.in and src/Makefile.am to use this
12899         new subdir. More files moved to support.
12900
12901         * imported som of the functions from repository lyx, filetools
12902         
12903         * ran tags-query-replace on LString -> string, corrected the bogus
12904         cases. Tried to make use of lstrings.[hC], debugged a lot. There
12905         is still some errors in there. This is errors where too much or
12906         too litle get deleted from strings (string::erase, string::substr,
12907         string::replace), there can also be some off by one errors, or
12908         just plain wrong use of functions from lstrings. Viewing of quotes
12909         is wrong. 
12910
12911         * LyX is now running fairly well with string, but there are
12912         certainly some bugs yet (see above) also string is quite different
12913         from LString among others in that it does not allow null pointers
12914         passed in and will abort if it gets any.
12915         
12916         * Added the revtex4 files I forgot when setting up the repository.
12917
12918 1999-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
12919
12920         * All over: Tried to clean everything up so that only the files
12921           that we really need are included in the cvs repository.
12922         * Switched to use automake.
12923         * Generaton of reLyX is not perfect, LYX_DIR does not get substituted.
12924         * Install has not been checked.
12925
12926 1999-09-22  Lars Gullik Bjønnes  <larsbj@lyx.org>
12927
12928         * po/pt.po: Three errors:
12929                l.533 and l.538 format specification error
12930                l. 402 duplicate entry, I just deleted it.