]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Always use std::endl with lyxerr
[lyx.git] / src / ChangeLog
1 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * Always use std::endl with lyxerr
4
5 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6
7         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
8
9 2003-08-01  André Pönitz  <poenitz@gmx.net>
10
11         * BufferView.[Ch]:
12         * BufferView_pimpl.[Ch]:
13         * lyxfunc.C:
14         * text3.C: merge BufferView::repaint() and BufferView::update()
15
16 2003-08-01  José Matos  <jamatos@lyx.org>
17
18         * buffer.[Ch]: file_format is no longer a buffer data element.
19
20 2003-08-01  André Pönitz  <poenitz@gmx.net>
21
22         * BufferView.C:
23         * lyxtext.h:
24         * text.C:
25         * text2.C: make redoParagraph more independent of current cursor
26
27         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
28         * text.C:
29         * text2.C: remove unneeded members
30
31 2003-07-30  André Pönitz  <poenitz@gmx.net>
32
33         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
34
35         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
36           create a single function...
37
38         * paragraph_funcs.C (moveItem): ... here.
39
40         * text.C:
41           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
42
43 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
44
45         * LColor.[Ch]: Add comment and greyedout logical colors.
46
47 2003-07-30  André Pönitz  <poenitz@gmx.net>
48
49         * tabular.C: don't use Assert too heavily. This crashes where it
50           shouldn't
51
52 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
53
54         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
55         is disabled (bug 1232)
56
57 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * factory.C: limited 'arg' scope
60
61 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
62
63         * factory.C: fixed Note submenu issues
64
65 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * factory.C: submenu for Note/Comment/Greyedout
68
69 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
70
71         * lyx_main.C (LyX):
72         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
73
74 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
75
76         * LaTeXFeatures.C:
77         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
78         greyedout. Patch provided by Jürgen Spitzmüller.
79
80 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * kbmap.C (read): fix error message when reading bind files
83
84 2003-07-29  Angus Leeming  <leeming@lyx.org>
85
86         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
87         certainly does not do what it purports to do. I am doing it, and
88         us, a favour by killing it.
89
90 2003-07-28  José Matos  <jamatos@lyx.org>
91
92         * buffer.C (readBody, do_writeFile):
93         * paragraph.C(readParagraph): \end_document replaces \the_end.
94
95 2003-07-29  André Pönitz  <poenitz@gmx.net>
96
97         * BufferView.[Ch]:
98         * BufferView_pimpl.[Ch]:
99         * lyxfunc.C:
100         * text2.C:
101         * text3.C:
102         * textcursor.[Ch]: remove toggleToggle & Co
103
104 2003-07-28  José Matos  <jamatos@fep.up.pt>
105
106         * buffer.C (readParagraph):
107         * params_func (readParToken, readParagraph):
108         * paragraph.C (write): \layout -> \begin_layout.
109
110 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
111
112         * lyxlex_pimpl.C (setFile): clean up slightly.
113
114         * bufferparams.h: add compressed var
115
116         * buffer_funcs.C (readFile): adjust for LyXLex change
117         (newFile): ditto + simplify
118
119         * buffer.C (writeFile): handle writing of compressed files
120
121         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
122         Check if the file is compressed and set a bufferparm if so.
123
124         * Makefile.am (lyx_LDADD): remove explicit -lz
125
126 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
129         makeDocBookFile): put the real LyX version in the first line of
130         the file
131
132         * version.h:
133         * version.C.in: remove lyx_docversion
134
135         * tabular.C (write_attribute): add a template-based version to
136         write enums properly
137
138 2003-07-28  André Pönitz  <poenitz@gmx.net>
139
140         * lyxtext.h:
141         * text.C:
142         * text2.C:
143         * text3.C: use doubles again for x-coordinates. They are needed.
144
145 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
146
147         * messages.C (getLocaleDir): use lyx_localedir()
148
149         * lyxlex_pimpl.C (setFile): compress stuff
150
151         * buffer.C (writeFile): add some compression stuff
152         (do_writeFile): new func, dont call expliti close... will this
153         breake anything?
154
155         * Makefile.am (lyx_LDADD): add -lz
156
157 2003-07-28  José Matos  <jamatos@fep.up.pt>
158
159         * buffer.C: increment file format.
160         * paragraph_funcs (readParagraph, readParToken):
161         * paragraph.C (readParagraph): add \end_layout.
162
163 2003-07-27  Angus Leeming  <leeming@lyx.org>
164
165         * Makefile.am: remove special casing for configure-time setting of
166         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
167
168         * lyx_main.C (init): remove all Jean-Marc's magic setting of
169         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
170
171 2003-07-26  André Pönitz  <poenitz@gmx.net>
172
173         * paragraph_func.[Ch]:
174         * paragraph.C (realizeFont): inline it whereever it is used
175
176         * rowpainter.C:
177         * text.C:
178         * text2.C:
179         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
180
181
182 2003-07-26  André Pönitz  <poenitz@gmx.net>
183
184         *       lyxtext.h:
185         * text.C:
186         * text2.C: get rid of LyXText::need_break_row
187
188 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
189
190         * toc.[Ch]: put namespace toc inside namespace lyx
191
192         * MenuBackend.C (expandToc2): adjust for lyx::toc
193         (expandToc): ditto
194
195         * lyxfunc.C (dispatch): adjust for lyx::find
196
197         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
198         lyx::find instead. Reorganize a bit.
199         (LyXReplace): rename to replace
200         (LyXFind): rename to find
201
202         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
203         (dispatch): ditto
204
205 2003-07-26  André Pönitz  <poenitz@gmx.net>
206
207         * text.C (setHeightOfRow): restrict scope of temporary variable
208
209         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
210           code (never has been used?)
211
212 2003-07-27  Asger Alstrup  <alstrup@local>
213
214         * text.C (fill): Optimise algorithm to exploit that we can reuse
215         the LyXFont for many characters.
216         (setHeightOfRow): Same thing.
217         (rowBreakPoint): Same thing.
218
219 2003-07-26  Asger Alstrup  <alstrup@local>
220
221         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
222
223         * text.C (singleWidth): Spurious font copying in hot-spot
224         singleWidth avoided. Reorder tests for arabic for efficiency.
225
226         * text.C (fill): handle empty paragraphs better.
227
228 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * ispell.C:
231         * encoding.h: add includes
232
233         * lyxrc.C: remove reading of bind files
234
235         * lyx_main.C (init): setup bindings and menus only if we have a
236         gui.
237
238         * kbmap.C (read): new method. Do the actual reading of bind
239         files.
240
241         * converter.C (dvipdfm_options):
242         * bufferparams.C:
243         * lyxrc.C (read):
244         (output): adapt PAPER_* enums.
245
246         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
247
248         * bufferparams.h: remove paper-related enums from there
249
250         * paper.h: New file. A trivial header file to hold paper-related
251         enums. It should later expand to contain many paper-related
252         horrors access.
253
254         * lyxrc.C: declare extern displayTranslator
255
256 2003-07-27  José Matos  <jamatos@fep.up.pt>
257
258         * tabular.[Ch] (linuxdoc): add support for tables and figures
259         (linuxdoc).
260
261 2003-07-27  José Matos  <jamatos@fep.up.pt>
262
263         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
264         consistency in both functions.
265         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
266
267 2003-07-26  Asger Alstrup  <alstrup@local>
268
269         * rowpainter.C (paintRows): Change algorithm to work directly on
270         the insets rather than asking every character in the document
271         whether its an inset.
272
273 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
274
275         * buffer.C (openFileWrite): factorize some code
276
277 2003-07-26  Angus Leeming  <leeming@lyx.org>
278
279         * lyx_cb.C:
280         * lyx_main.[Ch]: replace occurances of system_tempdir with
281         os::getTmpDir().
282
283 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
284
285         * rename Inset to InsetOld
286
287 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
288
289         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
290         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
291         which I think is a bit clearer. EDIT is gone, since it was
292         premature optimisation, and broken for mathed anyway.
293         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
294         with cursor positioning in insets as well (math insets still do not
295         work, but that's a different story anyway.) It mysteriously
296         crashes sometimes with undo in the first paragraph, but I'm fairly
297         confident that this is a compiler bug.
298
299 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
300
301         * paragraph.C (Paragraph): adjust for new clone return type
302         (operator==): ditto
303         (copyIntoMinibuffer): ditto
304
305 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
306
307         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
308         by not having a special case, and always doing a full rebreak of
309         the document after undo.
310
311 2003-07-23  Angus Leeming  <leeming@lyx.org>
312
313         * factory.C (createInset): InsetExternal::setParams now takes a
314         Buffer const * arg.
315
316 2003-07-23  Angus Leeming  <leeming@lyx.org>
317
318         * factory.C (createInset): changed interface to the external and
319         graphics mailers' string2params functions.
320
321 2003-07-23  Angus Leeming  <leeming@lyx.org>
322
323         * factory.C (createInset): pass a
324         Buffer const * parameter to InsetExternalMailer's string2params.
325
326 2003-07-22  John Levon  <levon@movementarian.org>
327
328         * Thesaurus.h: include the right aiksaurus header
329
330 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * MenuBackend.C (expand): check menu shortcuts unconditionally
333
334 2003-07-21  Angus Leeming  <leeming@lyx.org>
335
336         * factory.C (createInset): pass a
337         buffer_path parameter to InsetGraphicsMailer's string2params.
338
339 2003-07-21  Angus Leeming  <leeming@lyx.org>
340
341         * BufferView_pimpl.C (buffer):
342         * buffer.C (d-tor):
343         * lyx_main.C (LyX):
344         * lyxfunc.C (dispatch):
345         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
346         rather than the grfx shortcut.
347
348 2003-07-21  André Pönitz  <poenitz@gmx.net>
349
350         * rowpainter.C: remove unused variables
351
352         * tabular_funcs.C:
353         * tabular_funcs.h: move to tabular.C
354         * Makefile.am: adjust
355
356         * tabular.[Ch]: basic optical cleaning
357
358         * author.h: pass references, not values
359
360 2003-07-18  André Pönitz  <poenitz@gmx.net>
361
362         * lyxtext.h:
363         * metricsinfo.C:
364         * metricsinfo.h:
365         * rowpainter.C:
366         * text.C:
367         * text2.C:
368         * text3.C: two-phase drawing for InsetText and InsetTabular
369         some float -> int changes.
370
371 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
372
373         * lyx_main.C: fix the fix
374
375 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
376
377         * lyx_main.C: fix a crash in batch mode if no files specified
378         * converter.C: ws
379
380 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
381
382         * format.[Ch] (papersize): moved to BufferParams
383         * converter.[Ch] (dvips_options): moved to BufferParams
384         (dvipdfm_options): moved to anon namespace
385         * bufferparams.[Ch]: added above functions.
386
387 2003-07-17  André Pönitz  <poenitz@gmx.net>
388
389         * lyxtext.h:
390         * rowpainter.C:
391         * text2.C: don't call inset->update() anymore
392
393         * metricsinfo.[Ch]: add convenience constructor
394
395 2003-07-16  André Pönitz  <poenitz@gmx.net>
396
397         * lyxcursor.[Ch]:
398         * lyxfunc.[Ch]:
399         * text.C:
400         * text2.C: replace the LyXCursor::irow_ member with
401          on-demand computation of the value
402
403 2003-07-16  John Levon  <levon@movementarian.org>
404
405         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
406
407 2003-07-15  André Pönitz  <poenitz@gmx.net>
408
409         * text.C:
410         * text2.C: remove no more needed refresh_row
411
412 2003-07-15  André Pönitz  <poenitz@gmx.net>
413
414         * lyxtext.h:
415         * rowpainter.C:
416         * text2.C:
417         * text3.C: refresh_status tristate -> need_update bool
418
419 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
420
421         * lyxtext.h (init): remove reinit argument (act as if always true)
422         * text2.C: adjust to that
423
424 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
425
426         * bufferview_funcs.[Ch]: introduce function replaceSelection()
427         * text3.C: use it to delete selections in some cases
428         (bugs 441, 673, 702, 954).
429
430 2003-07-14  André Pönitz  <poenitz@gmx.net>
431
432         * rowpainter.[Ch]: reduce interface
433
434 2003-07-14  André Pönitz  <poenitz@gmx.net>
435
436         * BufferView_pimpl.C:
437         * text2.C: adjust after removing unused BufferView * argument
438
439 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
440
441         * text2.C (init): fix a crash fired on resize
442
443 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
444
445         * buffer.[Ch]: added new closing signal
446         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
447         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
448         BufferView::Pimpl via the closing the signal
449
450 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
451
452         * buffer.[Ch]: take out all bv-related from buffer
453         * BufferView.C:
454         * BufferView_pimpl.[Ch]: connect to new signals
455         * CutAndPaste.C: removed useless asserts
456         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
457         * lyxvc.[Ch]:
458         * vc-backend.[Ch]:
459         * lyxfunc.C: moved view-related funciontality from vc here
460         * paragraph.C: removed outdated comments
461         * text.C: ws
462
463 2003-07-10  André Pönitz  <poenitz@gmx.net>
464
465         * BufferView_pimpl.C:
466         * tabular.h:
467         * tabular_funcs.C:
468         * text.C:
469         * text2.C: remove InsetText::InnerCache, clean up consequences
470
471 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
472
473         * ispell.C: fix two typos in error messages
474
475 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
476
477         * Extend Note inset to other forms of annotation like Comment
478         and Greyedout. Right button click gives dialog.
479
480         Files modified or added (+):
481
482         * insetnote.[Ch]
483         * FormNote.[Ch]      +
484         * ControlNote.[Ch]   +
485         * form_note.fd       +
486         * Makefile.am in frontends/xforms, frontends/xforms/forms,
487         frontends/controllers
488         * xforms/Dialogs.C
489         * factory.C
490
491 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
492
493         * aspell.C: add missing namespace lyx::support
494
495 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
496
497         * BufferView.[Ch] (newFile): Add
498         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
499         * LaTeX.[Ch] (message): added this signal and use it
500         * buffer.[Ch] (busy, message): added these signals and use them
501         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
502         * converter.C:
503         * exporter.C:
504         * format.C:
505         * importer.C: use buffer signals instead of direct bv calling
506         * lyx_cb.[Ch] (ShowMessage): removed
507         * lyx_main.C:
508         * lyxfunc.C:
509         * paragraph_funcs.C:
510         * text2.C: use buffer signals
511
512 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
513
514         * introduce namespace lyx::graphics
515
516 2003-07-02  André Pönitz  <poenitz@gmx.net>
517
518         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
519
520 2003-07-01  André Pönitz  <poenitz@gmx.net>
521
522         * text.C:
523         * text2.C:
524         * text3.C:
525         * text_funcs.[Ch]:
526         * textcursor.h:
527         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
528           text*.C to text_func.C
529
530 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
531
532         * introduce namespace lyx::support
533
534 2003-06-30  André Pönitz  <poenitz@gmx.net>
535
536         * Chktex.C:
537         * funcrequest.C:
538         * lyxtext.h:
539         * text.C: re-enable --with-included-string
540
541 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
542
543         * textcursor.C: add <config.h>
544
545         * text.C (getWord): remove const from word_location arg
546
547         * lyxvc.C (getLogFile): fix const type order
548
549         * lyxtext.h: remove const from word_location arg, add arg name
550
551         * lyxlayout.h: currect type on labeltype.
552
553         * importer.C: correct \file
554
555         * converter.C (intToFormat): use std:: on ret val, ws changes
556
557         * bufferlist.h: correct \file
558
559         * buffer.C (makeLinuxDocFile): fix const type order
560         (makeDocBookFile): ditto
561         (fillWithBibKeys): use std:: on stdlib args.
562
563         * CutAndPaste.C: fix authors.
564         (availableSelections): use std:: on return vector
565
566 2003-06-27  André Pönitz  <poenitz@gmx.net>
567
568         * BufferView_pimpl.C:
569         * bufferview_funcs.C:
570         * lyxcursor.C:
571         * lyxcursor.h:
572         * lyxfunc.C:
573         * lyxtext.h:
574         * rowpainter.C:
575         * text.C:
576         * text2.C:
577         * text3.C: remove LyXCursor::row_ member
578
579         * lyxtext.h:
580         * text.C: rename fullRebreak() to partialRebreak() and implement
581           a fullRebreak() that really bereks fully
582
583         * textcursor.h: new struct for cursor-related data
584
585 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * lyx_main.C (LyX): get full path of document loaded on the
588         command line
589
590 2003-06-26  André Pönitz  <poenitz@gmx.net>
591
592         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
593           remove unused/broken operator>,<,>=.
594
595         *       text.C: remove only use of broken operator<= in an Assert().
596
597 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
600         moved errorlist_.clear to showErrorList
601
602 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * converter.C (scanLog, runLaTeX):
605         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
606         move the bv->showErrorList call to the callers
607         * lyxfunc.C: i.e. here...
608         * text2.C: and here
609         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
610         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
611         namespace, the second to...
612         * buffer_funcs (BufferFormat, parseErrors): added
613         * errorlist.C (ErrorList(TeXErrors const &)): removed
614
615 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * ToolbarBackend.C (getIcon): complain when icon cannot be found
618
619 2003-06-24  "Garst R. Reese" <reese@isn.net>
620
621         * debug.C: fix typo
622
623 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
626
627         * version.C.in: change docversion to 1.4
628
629 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
630
631         * buffer.C: fix a bug just introduced
632
633 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
634
635         * buffer.[Ch]: added the parseError signal and use it, removed
636         sgmlError
637         * BufferView.[Ch] (addError): moved to ...
638         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
639         to the Buffer::parseError signal to catch (guess what) parse errors
640         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
641
642 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
643
644         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
645         ability to create a buffer and to return an existing one from
646         the list. Moved these functions to...
647         * buffer_funcs.[Ch]: added
648         * BufferView.[Ch] (loadLyXFile): added
649         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
650         job removed from bufferlist::loadLyXFile.
651         * buffer.C (setReadOnly): make it work without view
652         (i.e added an if (users))
653
654 2003-06-19  Angus Leeming  <leeming@lyx.org>
655
656         * lfuns.h:
657         * LyXAction.C (init):
658         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
659         with LFUN_DIALOG_SHOW <name> <data>.
660
661 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * CutAndPaste.C (availableSelections): small compilation fix for
664         ancient (gcc 2.9x) compilers
665
666 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
667
668         * text3.C (cursorNext): add tmp var
669
670         * text2.C (updateCounters): for function calling out of for clause
671         (replaceSelectionWithString): ditto
672         (insertStringAsParagraphs): ditto
673         (getColumnNearX): add tmp var
674         (setCursorFromCoordinates): add tmp var
675         (cursorDownParagraph): add tmp var
676         (deleteEmptyParagraphMechanism): add tmp var
677
678         * text.C (insertChar): add tmp var
679
680         * rowpainter.C (paintDepthBar): add tmp var
681
682         * CutAndPaste.C (availableSelections): potentially check all
683         paragraphs in a cut to fill the shown strings.
684
685 2003-06-18  André Pönitz  <poenitz@gmx.net>
686
687         * kbmap.[Ch]: use vector<> instead of list<>
688
689 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
690
691         * text3.C (dispatch): handle arg to LFUN_PASTE, call
692         pasteSelection with index
693
694         * text2.C (pasteSelection): modify, call pasteSelection with index
695
696         * paragraph.C (asString): reimplement version with no interval to
697         call the one with interval.
698
699         * lyxtext.h: add index arg to pasteSelection
700
701         * MenuBackend.C (MenuItem): handle PasteRecent
702         (Menu::read::Menutags): add md_pasterecent
703         (read): handle it
704         (expandPasteRecent): new function
705         (expand): use it
706
707         * MenuBackend.h: add PasteRecent to MenuItem::Kind
708
709         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
710         the limited stack
711         (availableSelections): new function
712
713 2003-06-17  Angus Leeming  <leeming@lyx.org>
714
715         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
716
717 2003-06-17  Angus Leeming  <leeming@lyx.org>
718
719         * lfuns.h:
720         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
721
722         * lyxfunc.C (dispatch): invoke it.
723
724 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * iterators.C (operator++, ParPosition): reintroduce some
727         const_cast for the benefit of older compilers.
728
729 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * text3.C (dispatch): do not modify clipboard when doing
732         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
733         LFUN_DELETE_SKIP on a selection selection
734
735 2003-06-16  André Pönitz  <poenitz@gmx.net>
736
737         * BufferView.C:
738         * buffer.C:
739         * buffer.h:
740         * paragraph.C:
741         * tabular.[Ch]: IU of clone() and getLabelList();
742
743 2003-06-13  André Pönitz  <poenitz@gmx.net>
744
745         * tabular.h: compactification
746
747 2003-06-12  André Pönitz  <poenitz@gmx.net>
748
749         * tabular.C:
750         * tabular.h:
751         * tabular_funcs.h: some renaming plus whitespace
752
753 2003-06-12  André Pönitz  <poenitz@gmx.net>
754
755         * BufferView.C:
756         * BufferView_pimpl.C:
757         * CutAndPaste.C:
758         * buffer.C:
759         * iterators.[Ch]:
760         * lyxfunc.C:
761         * text.C:
762         * toc.C: Return a Paragraph & for ParIterator::operator*()
763
764 2003-06-11  John Levon  <levon@movementarian.org>
765
766         * lyx_main.C:
767         * ToolbarBackend.h:
768         * ToolbarBackend.C: add "Toolbars" section and
769         put the flags there
770
771 2003-06-10  Angus Leeming  <leeming@lyx.org>
772
773         * lfuns.h:
774         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
775
776         * lyxfunc.C (dispatch): invoke it.
777
778 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * main.C: protect <ios> with HAVE_IOS
781         (main): protect sync_with_stdio with HAVE_IOS
782
783 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
784
785         * text2.C (cutSelection): adjust
786         (pasteSelection): adjust
787
788         * messages.C: handle get of empty string
789
790         * main.C (main): use sync_with_stdio(false)
791
792         * lyxfunc.C (dispatch): adjust
793
794         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
795         (WriteAs): remove unneeded BufferView arg.
796
797         * bufferparams.h: use correct types on papersize, papersize2 and
798         paperpackage.
799
800         * bufferparams.C (readToken): adjust for type
801         (writeLaTeX): add missing cases to switch.
802
803         * bufferlist.C (quitWriteBuffer): adjust
804         (close): adjust
805
806         * buffer.C (asciiParagraph): remove some commented code.
807
808         * CutAndPaste.C: remove current_view extern variable.
809         (cutSelection): add BufferParams arg.
810         (eraseSelection): add BufferParams arg.
811         (pasteSelection): add Buffer const & arg
812
813 2003-06-07  John Levon  <levon@movementarian.org>
814
815         * buffer.C:
816         * paragraph_funcs.C:
817         * paragraph_pimpl.C:
818         * text.C:
819         * text2.C:
820         * paragraph.h:
821         * paragraph.C: allow InsetERT to freely space lines,
822         and some consolidation of code
823
824 2003-06-06  José Matos  <jamatos@fep.up.pt>
825
826         * buffer.C (makeDocBookFile): fix bug #821
827
828 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
829
830         * BufferView_pimpl.C (dispatch): use Dialogs::visible
831
832 2003-06-04  Angus Leeming  <leeming@lyx.org>
833
834         * buffer.C: bump format to 224.
835
836 2003-06-05  André Pönitz  <poenitz@gmx.net>
837
838         * text2.C (redoParagraphs): remove two const_cast<>
839
840 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
841
842         * ParagraphList.h: remove last remnants of NO_STD_LIST
843
844 2003-06-03  Angus Leeming  <leeming@lyx.org>
845
846         * factory.C (createInset): small change to the way InsetExternal's params
847         are set.
848
849 2003-06-04  André Pönitz  <poenitz@gmx.net>
850
851         * buffer.h: use Undo directly instead of shared_ptr<Undo>
852
853         * paragraph_pimpl.h:
854         * paragraph.[Ch]: some Inset -> UpdatableInset changes
855
856         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
857
858         * undo_funcs.C: make some simple cases of undo work again
859
860 2003-06-03  John Levon  <levon@movementarian.org>
861
862         * ispell.C: HPUX doesn't have sys/select.h
863         (from Albert Chin)
864
865 2003-06-03  John Levon  <levon@movementarian.org>
866
867         * CutAndPaste.C: update tabular and include inset
868         buffer references
869
870         * buffer.h:
871         * paragraph.h:
872         * paragraph.C: remove owningBuffer(), don't pass Buffer
873         to clone()
874
875         * factory.C: insetGraphicsParams changed
876
877 2003-06-02  John Levon  <levon@movementarian.org>
878
879         * LyXAction.C:
880         * factory.C:
881         * lfuns.h:
882         * lyxfunc.C:
883         * text3.C: remove insetparent
884
885 2003-06-02  John Levon  <levon@movementarian.org>
886
887         * buffer.h:
888         * buffer.C: fix inset_iterator.end(), move out of line
889         (bug 1149)
890
891 2003-06-01  John Levon  <levon@movementarian.org>
892
893         * text3.C: use a proper cut/paste when doing inset
894         insert (from Jürgen Spitzmüller)
895
896 2003-06-01  John Levon  <levon@movementarian.org>
897
898         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
899
900 2003-05-30  André Pönitz  <poenitz@gmx.net>
901
902         * rowpainter.C: unify second drawing phase
903
904 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
905
906         * trans_mgr.C: remove one case of current_view
907
908         * text2.C (cursorBottom): delete NO_STD_LIST stuff
909
910         * paragraph_funcs.h: remove paragraph.h include
911
912         * paragraph.h: delete NO_STD_LIST stuff
913
914         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
915
916         * buffer.h: remove paragraph.h include
917
918         * ParagraphList.C: delete file
919
920         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
921
922         * toc.C (getTocList): adjust
923
924         * paragraph_pimpl.C (validate): adjust
925
926         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
927
928         * paragraph.C (Paragraph): adjust
929         (getPositionOfInset): use const_iterator, adjust
930         (bibitem): use const_iterator, adjust
931         (setInsetOwner): adjust
932
933         * iterators.C (operator++): adjust
934
935         * InsetList.[Ch]: Replace selfmade iterator with standard
936         vector::iterator also introduce const_iterator. Remove getPos,
937         getInset and setInset from InsetTable. Adjust accordingly.
938
939         * BufferView.C (lockInset): adjust
940         (ChangeInsets): adjust
941
942         * tabular.[Ch]: delete commented same_id functions
943
944 2003-05-28  John Levon  <levon@movementarian.org>
945
946         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
947
948 2003-05-28  André Pönitz  <poenitz@gmx.net>
949
950         * metricsinfo.[Ch]: remove 'fullredraw' member
951
952 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
953
954         * lyxtextclass.C (operator): remove caching.
955
956 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
957
958         * text3.C: adjust
959
960         * text2.C (cursorBottom): adjust
961         (setCounter): use ParagraphList::find, adjust
962
963         * text.C (workWidth): use ParagraphList::find, adjust
964
965         * lyxcursor.C (LyXCursor): adjust
966
967         * buffer.C (inset_iterator): adjust
968
969         * ParagraphList.h: make iterator(value_type) private, make
970         ParagraphList a friend of iterator.
971
972         * ParagraphList.C (find): new function
973
974         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
975
976 2003-05-27  André Pönitz  <poenitz@gmx.net>
977
978         * dimension.[Ch]: a -> asc, d -> des, w -> wid
979
980 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
981
982         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
983
984 2003-05-26  John Levon  <levon@movementarian.org>
985
986         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
987
988 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * remove same_id from function signatures, adjust.
991
992 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * undo_funcs.C (createUndo): use the id functions directly, adjust.
995
996         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
997
998         * paragraph.C (Paragraph): get rid of same_ids parameter
999
1000         * ParagraphList.C (insert): adjust
1001         (push_back): adjust
1002
1003 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1004
1005         * paragraph_funcs.C (breakParagraph): adjust
1006         (breakParagraphConservative): adjust
1007
1008         * buffer.C (readParagraph): adjust
1009
1010         * ParagraphList.C (insert): take a reference instead of a pointer
1011         (insert): adjust
1012
1013         * paragraph.[Ch] (id): new function
1014
1015         * bufferlist.C (newFile): adjust
1016
1017         * ParagraphList.C (ParagraphList): adjust
1018         (assign): adjust
1019         (push_back): take a reference instead of a pointer.
1020
1021         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1022
1023         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1024         instead.
1025
1026         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1027         set else use old code.
1028
1029         * ParagraphList.C: remove all NO_NEXT code and only compile this
1030         code of NO_STD_LIST is set.
1031
1032 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1033
1034         * BufferView_pimpl.C:
1035         * TextCache.C:
1036         * TextCache.h:
1037         * bufferlist.C:
1038         * errorlist.h:
1039         * format.C:
1040         * format.h:
1041         * graph.C:
1042         * lyxfunc.C:
1043         * lyxrc.C:
1044         * graphics/GraphicsConverter.C:
1045         * graphics/PreviewLoader.C: header adjustment
1046
1047 2003-05-23  Angus Leeming  <leeming@lyx.org>
1048
1049         * LaTeXFeatures.[Ch] (useBabel): new method.
1050         * bufferparams.C (writeLaTeX): use it.
1051
1052 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1053
1054         * ParagraphList.h (set): remove unused function.
1055
1056 2003-05-23  André Pönitz  <poenitz@gmx.net>
1057
1058         * BufferView.C:
1059         * BufferView_pimpl.C:
1060         * buffer.C:
1061         * buffer.h:
1062         * lyxfunc.C:
1063         * undo_funcs.C: setUndo reworked
1064
1065         * iterators.[Ch]: add access to topmost ParagraphList
1066
1067         * lyxtext.[Ch] (workWidth): add a const
1068
1069 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1070
1071         * texrow.[Ch] (increasePos): remove function
1072         * exporter.C (export): removed unused var and outdated comment
1073
1074 2003-05-23  Angus Leeming  <leeming@lyx.org>
1075
1076         * latexrunparams.h: rename fragile as moving_arg.
1077         * paragraph.C (simpleTeXOnePar): ditto.
1078         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1079
1080 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1081
1082         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1083         (createUndo): ditto
1084         (textUndoOrRedo): comment out a currently unused var.
1085
1086         * paragraph.h (NO_NEXT): enable NO_NEXT
1087
1088         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1089
1090         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1091
1092         * exporter.C (Export): adjust for removeAutoInsets removal.
1093
1094         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1095
1096         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1097
1098         * BufferView.[Ch] (removeAutoInsets): delete function
1099
1100 2003-05-22  Angus Leeming  <leeming@lyx.org>
1101
1102         * latexrunparams.h: add a free_spacing variable.
1103
1104         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1105         to pass moving_arg, as the data is stored in runparams.fragile.
1106
1107         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1108         to Inset::latexOptional or to simpleTeXOnePar.
1109
1110         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1111         free_spacing arg to Inset::latexOptional.
1112
1113         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1114         free_spacing arg.
1115
1116 2003-05-22  Angus Leeming  <leeming@lyx.org>
1117
1118         * latexrunparams.h: add fragile and use_babel variables.
1119
1120         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1121         * buffer.C (makeLaTeXFile): store this returned value in
1122         runparams.use_babel, thus passing it to the inset::latex methods.
1123
1124         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1125         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1126
1127         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1128         longer has a fragile arg, as it is stored in runparams.fragile.
1129
1130         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1131         moving_arg parameter as the data is stored in runparams.fragile.
1132
1133         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1134         a fragile parameter as the data is stored in runparams.fragile.
1135
1136 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1137
1138         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1139
1140 2003-05-22  Angus Leeming  <leeming@lyx.org>
1141
1142         * latexrunparams.h: add a 'bool nice' which defaults to false.
1143
1144         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1145         now encapsulated within runparams.
1146
1147         * bufferlist.C (updateIncludedTeXfiles):
1148         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1149
1150 2003-05-22  Angus Leeming  <leeming@lyx.org>
1151
1152         * latexrunparams.h: new file containing struct LatexRunParams.
1153         * Makefile.am: add new file.
1154
1155         * LaTeX.[Ch] (c-tor, run):
1156         * buffer.[Ch] (makeLaTeXFile):
1157         * bufferlist.[Ch] (updateIncludedTeXfiles):
1158         * converter.C (convert, scanLog):
1159         * converter.[Ch] (runLaTeX):
1160         * exporter.C (Export):
1161         * paragraph.[Ch] (simpleTeXOnePar):
1162         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1163         * paragraph_funcs.[Ch] (latexParagraphs):
1164         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1165         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1166         pass around a LatexRunParams parameter.
1167
1168 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1169
1170         * paragraph.[Ch]: remove unused constructor
1171
1172         * ParagraphList.C (erase): new function, taking two iterators
1173
1174 2003-05-22  André Pönitz  <poenitz@gmx.net>
1175
1176         * undo_funcs.C: remove duplicated code
1177
1178         * iterator.[Ch]: operator=
1179
1180 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1181
1182         * tabular.C (SetMultiColumn): ws changes
1183
1184         * rowpainter.C (paintFirst): get rid of a ->previous
1185
1186         * lyx_cb.C (getPossibleLabel): parlist simplification
1187
1188         * BufferView.C (ChangeInsets): simplify slightly.
1189
1190 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1191
1192         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1193         * lfuns.h: new LFUN_SPACE
1194         * lyxfunc.C: protected space has a new lfun
1195         * paragraph_funcs.C: read new space insets
1196         * text3.C:
1197         * factory.C: handle new space insets
1198
1199 2003-05-22  André Pönitz  <poenitz@gmx.net>
1200
1201         * BufferView.C:
1202         * BufferView_pimpl.C:
1203         * buffer.[Ch]:
1204         * lyxfunc.C:
1205         * undo_funcs.C: return a ParIterator from getParFromID.
1206
1207         * iterators.[Ch]: add two const's
1208
1209 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1210
1211         * toc.C (getTocList): adjust
1212
1213         * iterators.[Ch]: rework for parlist
1214
1215         * buffer.C (par_iterator_begin): adjust
1216         (par_iterator_end): adjust
1217
1218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1219
1220         * BufferView.C (removeAutoInsets): adjust
1221         (ChangeInsets): adjust
1222
1223 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * text.C (top_y): fix bug 1110
1226
1227 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * errorlist.[Ch]: added
1230         * buffer.C:
1231         * BufferView.[Ch]:
1232         * BufferView_pimpl.C:
1233         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1234         instead
1235
1236 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1237
1238         * Makefile.am: ensure that lyx is relinked upon changes to the
1239         various "convenience" libs.
1240
1241 2003-05-20  Angus Leeming  <leeming@lyx.org>
1242
1243         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1244         files are compiled in alphabetical order again.
1245
1246         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1247
1248 2003-05-19  Angus Leeming  <leeming@lyx.org>
1249
1250         * gettext.[Ch]: remove "char const * _(char const *)".
1251
1252 2003-05-19  André Pönitz  <poenitz@gmx.net>
1253
1254         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1255
1256         * Makefile.am:
1257         * BufferView.C:
1258         * DepTable.h:
1259         * LaTeXFeatures.C:
1260         * buffer.C:
1261         * lyxfont.C:
1262         * lyxlex.h:
1263         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1264
1265 2003-05-19  André Pönitz  <poenitz@gmx.net>
1266
1267         * buffer.C:
1268         * lyxlayout.[Ch]:
1269         * lyxtextclass.[Ch]:
1270         * paragraph.C:
1271         * paragraph_funcs.[Ch]:
1272         * text2.C:
1273         * text3.C: more insetenv work
1274
1275 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1276
1277         * ParagraphParameters.C (params2string): small bug fixed
1278
1279 2003-05-16  André Pönitz  <poenitz@gmx.net>
1280
1281         * debug.C:
1282         * bufferview_funcs.C: patch from Kornel Benko to prevent
1283           crash when _(...) is called twice in a statement
1284
1285 2003-05-16  André Pönitz  <poenitz@gmx.net>
1286
1287         * BufferView.C:
1288         * lyxfunc.C:
1289         * text.C:
1290         * text2.C:
1291         * text3.C:
1292         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1293
1294 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1295
1296         * lyx_main.C (init): remove spurious static_cast
1297
1298 2003-05-14  André Pönitz  <poenitz@gmx.net>
1299
1300         * BufferView.C: fix format string
1301
1302 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1303
1304         * BufferView.[Ch] (insertErrors): removed
1305         * BufferView.[Ch] (showErrorList): added
1306         * buffer.C (runChkTeX):
1307         * converter.C (scanLog): call showErrorList instead of inserterrors
1308
1309 2003-05-13  André Pönitz  <poenitz@gmx.net>
1310
1311         * BufferView_pimpl.C:
1312         * buffer.C:
1313         * bufferview_func.C:
1314         * MenuBackend.C:
1315         * lyxfunc.C:
1316         * lyxrc.C:
1317         * tex-accent.C:
1318         * text3.C:
1319         * toc.C:
1320         * tabular_funcs.h: tostr() from its own header
1321
1322         * ParagraphParameters.C:
1323         * ToolbarBackend.C:
1324         * bufferparams.C:
1325         * format.C:
1326         * lyxlex_pimpl.C:
1327         * text3.C: STRCONV()
1328
1329 2003-05-12  André Pönitz  <poenitz@gmx.net>
1330
1331         * BufferView.C:
1332         * BufferView_pimpl.C:
1333         * CutAndPaste.C:
1334         * LaTeX.C:
1335         * LaTeXFeatures.C:
1336         * ParagraphParameters.C:
1337         * buffer.C:
1338         * bufferlist.C:
1339         * bufferparams.C:
1340         * bufferview_funcs.C:
1341         * converter.C:
1342         * counters.C:
1343         * debug.C:
1344         * exporter.C:
1345         * format.C:
1346         * importer.C:
1347         * lyx_cb.C:
1348         * lyx_main.C:
1349         * lyxfont.C:
1350         * lyxfunc.C:
1351         * lyxvc.C:
1352         * paragraph.C:
1353         * paragraph_funcs.C:
1354         * tabular.C:
1355         * tabular_funcs.C:
1356         * text2.C:
1357         * text3.C:  boost::format -> bformat  all over the place
1358
1359
1360 2003-05-09  André Pönitz  <poenitz@gmx.net>
1361
1362         * LColor.[Ch]: Pimpl the #include <map> away
1363
1364 2003-05-09  John Levon  <levon@movementarian.org>
1365
1366         * bufferlist.C: never remove emergency saves
1367
1368 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * Makefile.am: better lib building
1371
1372 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1373
1374         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1375         instead.
1376         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1377         (simpleTeXSpecialChars): adjust
1378         (simpleTeXSpecialChars): adjust
1379         * paragraph.C (simpleTeXOnePar): adjust
1380         * buffer.C (makeLaTeXFile): adjust
1381
1382         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1383
1384         * text2.C (changeDepth): parlist cleanup
1385         (getColumnNearX): ditto
1386
1387         * rowpainter.C (getLabelFont): parlist cleanup
1388
1389         * bufferlist.C (newFile): parlist cleanup
1390
1391         * CutAndPaste.C (eraseSelection): parlist cleanup
1392
1393         * BufferView_pimpl.C (trackChanges): parlist cleanup
1394         (dispatch): ditto
1395
1396         * BufferView.C (lockInset): parlist cleanup.
1397         (ChangeInsets): ditto
1398
1399 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1400
1401         * CutAndPaste.h: Update file header.
1402
1403         * CutAndPaste.C: Update file header.
1404         Store the parts cut out of the Document in a limited_stack.
1405         (copySelection): adjust
1406         (pasteSelection): new function, takes the index in the limited stack.
1407         (nrOfParagraphs): adjust
1408         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1409         simplify error inset insertion.
1410         (checkPastePossible): adjust
1411
1412 2003-05-06  John Levon  <levon@movementarian.org>
1413
1414         * text2.C: don't cast wrap inset to float
1415
1416 2003-05-05  André Pönitz  <poenitz@gmx.net>
1417
1418         * iterator.C:
1419         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1420
1421         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1422           few naked Paragraph *.
1423
1424 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1425
1426         * bufferparams.C: Output warning if a document with missing
1427         TeX document class is loaded
1428         * exporter.C: Disable TeX exports if the document class is missing
1429         * lyxtextclass.C:
1430         * lyxtextclass.h:
1431         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1432         isTeXClassAvailable()
1433
1434 2003-05-03  John Levon  <levon@movementarian.org>
1435
1436         * BufferView.h:
1437         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1438         explicit cursor show/hide
1439
1440         * BufferView_pimpl.h:
1441         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1442         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1443
1444         * lyxfunc.C: hide cursor before dispatching.
1445
1446         * lyx_cb.C:
1447         * lyxfind.C:
1448         * text.C:
1449         * text3.C: remove explicit cursor hides
1450
1451 2003-05-02  André Pönitz  <poenitz@gmx.net>
1452
1453         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1454
1455         * undo_funcs.C:
1456         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1457           linked lists
1458
1459         * text2.C: tiny whitespace
1460
1461 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1462
1463         * undo_funcs.C: almost only ws changes.
1464
1465         * ParagraphList.C (splice): just return if pl is empty.
1466
1467 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * ParagraphList.C (splice): new function.
1470
1471         * CutAndPaste.C (pasteSelection): use it
1472
1473 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1474
1475         * CutAndPaste.C (pasteSelection): remove the last next and
1476         previous from this file.
1477
1478 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1479
1480         * CutAndPaste.C (pasteSelection): more clean up, user proper
1481         ParagraphList functions for pasteing.
1482
1483         * ParagraphList.C (insert): new function, three arg insert
1484
1485 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1486
1487         * ParagraphList.C (insert): new function, three arg insert
1488
1489         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1490         not on paragraphs.
1491
1492 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1495
1496 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1497
1498         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1499
1500 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1503         (copySelection): clean up a bit.
1504         (pasteSelection): use make_pair
1505
1506         * ParagraphList.C (ParagraphList): implement copy constructor
1507         (operator=): implement, base on copy constructor.
1508         (assign): new func
1509
1510         * paragraph.C (erase): return a bool
1511
1512         * paragraph_pimpl.C (erasePos): remove function, move contents...
1513         (erase): ... here. Return a bool.
1514         (erase): call erase instead of erasePos.
1515
1516 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1517
1518         * ParagraphList.h: define PitPosPair
1519         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1520         ParagraphList, fix a bug on pasting multiple pars
1521         * text2.C: change interface to C&P
1522
1523 2003-04-30  André Pönitz  <poenitz@gmx.net>
1524
1525         * undo_func.C: revert part of yesterday's patch 2
1526
1527 2003-04-30  John Levon  <levon@movementarian.org>
1528
1529         * LColor.C: s/tabular/table/
1530
1531 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1532
1533         * text3.C (dispatch): do not convert iterator -> pointer
1534         * undo_funcs.C (setCursorParUndo): ditto
1535         * text_funcs.C (transposeChars): ditto
1536
1537         * text2.C (setLayout): ws changes only
1538
1539         * text.C (breakParagraph): do not convert iterator -> pointer
1540         (insertChar): ditto
1541         (acceptChange): ditto
1542         (rejectChange): ditto
1543         (changeCase): ditto
1544         (Delete): ditto
1545         (backspace): ditto
1546
1547         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1548         pointer
1549
1550 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * text3.C (gotoInset): YABG (yet another bad getChar)
1553
1554 2003-04-29  André Pönitz  <poenitz@gmx.net>
1555
1556         * paragraph.h: make operator= private unimplemented as long as
1557           it is unusable
1558
1559         * ParagraphList.C: whitespace
1560
1561         * paragraph.[Ch]:
1562         * paragraph_pimpl.[Ch]:
1563         * paragraph_funcs.C:
1564         * CutAndPaste.C:
1565         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1566
1567         * text2.C:
1568           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1569
1570 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1571
1572         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1573         * paragraph.[Ch] (erase):
1574         * paragraph_pimpl.[Ch] (erase): change return type and value
1575         * text2.C (cutSelection): some rework
1576
1577 2003-04-28  John Levon  <levon@movementarian.org>
1578
1579         * bufferlist.C: changes for unsaved changes dialog
1580
1581 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * bufferlist.C (newFile): set language (messages_) for new
1584         documents also.
1585
1586         * buffer.C (readFile): ws changes only.
1587
1588 2003-04-28  André Pönitz  <poenitz@gmx.net>
1589
1590         * undo_funcs.C:
1591         * lyxfunc.C:
1592         * buffer.[Ch]:
1593         * BufferView_pimpl.C:
1594         * BufferView.C: getParFromID related ParagraphList::iterator changes
1595
1596 2003-04-28  André Pönitz  <poenitz@gmx.net>
1597
1598         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1599           Changes
1600
1601 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * messages.C: remove one more localedir class variable.
1604
1605 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * messages.C (getLocaleDir): singleton generation function
1608         (Pimpl): use it.
1609         (Messages): add a default constructor.
1610
1611         * main.C (main): do not setup localedir here, do not call
1612         gettext_init.
1613
1614         * gettext.C (_): use it.
1615         (gettext_init): delete funciton
1616
1617 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1618
1619         * gettext.C (getLyXMessages): new singleton generating function.
1620
1621         * buffer.C (updateDocLang): adjust
1622
1623         * Makefile.am (messages.o): add target
1624         (main.o): remove target
1625
1626 2003-04-27  John Levon  <levon@movementarian.org>
1627
1628         * bufferlist.C:
1629         * lyx_cb.C:
1630         * lyxfunc.C:
1631         * lyxvc.C: specify cancel button in Alert::prompt
1632
1633 2003-04-26  John Levon  <levon@movementarian.org>
1634
1635         * text3.C:
1636         * lyxfunc.C:
1637         * lfuns.h:
1638         * LyXAction.C: add LFUN_INSET_SETTINGS
1639
1640         * lyxfunc.C: don't enable tabular-feature when there's
1641         just any locking inset
1642
1643 2003-04-26  John Levon  <levon@movementarian.org>
1644
1645         * bufferlist.C: re-add Cancel to buffer close question
1646
1647         * lyxfunc.C: fix import UI a bit
1648
1649 2003-04-25  John Levon  <levon@movementarian.org>
1650
1651         * gettext.C: remove the broken asserts for now
1652
1653 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * messages.C: make case where setlocale cannot comply work better.
1656
1657         * buffer.C (updateDocLang): new function
1658         (changeLanguage): use it
1659         (readFile): use it
1660
1661         * text2.C (setCounter): use B_ a bit.
1662
1663         * lyxlayout.C (Read): be sure to trim the label strings.
1664
1665         * messages.C (Messages): fix typo in comment
1666
1667         * buffer.C (readFile): set message_ after file is loaded.
1668         (makeDocBookFile): remove double return
1669         (changeLanguage): reset message_ upon language change.
1670         (B_): new func, use this to get translated buffer strings.
1671
1672         * main.C: add myself and Jean Marc as authors.
1673
1674 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * messages.[hC]: pimplify Messages, and three different pimpls to be
1677         used in different circumstances.
1678
1679         * gettext.[Ch]: change for use with new message code.
1680
1681 2003-04-24 André Pönitz <poenitz@gmx.net>
1682
1683         * factory.C: support for eqref
1684
1685 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * messages.[Ch]: add missing char
1688
1689         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1690
1691         * messages.[Ch]: New files
1692
1693 2003-04-18  John Levon  <levon@movementarian.org>
1694
1695         * BufferView.h:
1696         * BufferView.C:
1697         * BufferView_pimpl.C:
1698         * lfuns.h:
1699         * LyXAction.C:
1700         * lyxtext.h:
1701         * text2.C: remove layout-copy/paste (bug 778)
1702
1703 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1704
1705         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1706
1707 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1708
1709         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1710         if they succeed. Act accordingly.
1711
1712 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1713
1714         * text2.C (setCharFont): adjust
1715         (setCounter): adjust
1716         (insertStringAsLines): adjust
1717
1718         * text.C (leftMargin): adjust
1719         (setHeightOfRow): adjust
1720
1721         * rowpainter.C (paintFirst): adjust
1722         (paintLast): adjust
1723
1724         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1725         (outerHook): ditto
1726         (isFirstInSequence): ditto
1727         (getEndLabel): ditto
1728         (outerFont): adjust
1729
1730         * paragraph.C (getParLanguage): comment out some hard stuff.
1731
1732         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1733         (sgmlError): ditto
1734         (simpleDocBookOnePar): ditto
1735         (makeDocBookFile): use ParagraphList::iterator
1736
1737         * CutAndPaste.C (pasteSelection): adjust
1738
1739 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * text2.C (getFont): adjust
1742         (getLayoutFont): adjust
1743         (getLabelFont): adjust
1744
1745         * paragraph_funcs.C (TeXOnePar): adjust
1746
1747         * buffer.C (simpleLinuxDocOnePar): adjust
1748         (simpleDocBookOnePar): adjust
1749
1750         * CutAndPaste.C (pasteSelection): adjust
1751
1752         * BufferView.C (getEncoding): adjust
1753
1754         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1755
1756 2003-04-16  John Levon  <levon@movementarian.org>
1757
1758         * lyxfind.C: use parlist stuff for search/changes
1759
1760 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1761
1762         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1763
1764         * text2.C (deleteEmptyParagraphMechanism): adjust
1765
1766         * text2.[Ch] (ownerParagraph): delete func (both of them
1767
1768 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1769
1770         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1771
1772 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1773
1774         * ParagraphList.C: prepare for NO_NEXT
1775
1776 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1777
1778         * text2.C (getFont): adjust
1779         (getLayoutFont): adjust
1780         (getLabelFont): adjust
1781
1782         * paragraph.C (getFont): adjust
1783         (getLabelFont): adjust
1784         (getLayoutFont): adjust
1785
1786         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1787
1788 2003-04-15  John Levon  <levon@movementarian.org>
1789
1790         From Angus Leeming
1791
1792         * lyx_main.C: handle Include in .ui files
1793
1794 2003-04-15  John Levon  <levon@movementarian.org>
1795
1796         * MenuBackend.C: make the doc files length shorter
1797
1798         * ToolbarBackend.h:
1799         * ToolbarBackend.C: handle toolbar placement flags,
1800         Minibuffer
1801
1802 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1805         adjust
1806
1807         * paragraph_funcs.C (TeXOnePar): adjust
1808
1809         * paragraph.C (getLabelFont): add outerfont arg, adjust
1810         (getLayoutFont): ditto
1811         (simpleTeXOnePar): adjust
1812
1813         * paragraph_pimpl.C (realizeFont): delete func
1814
1815 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1818         row argument, constify cur argument.
1819
1820 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * text2.C (getFont): adjust
1823         (getLayoutFont): adjust
1824         (getLabelFont): adjust
1825
1826         * paragraph_funcs.C (TeXOnePar): adjust
1827         (outerFont): new func...
1828         (realizeFont): ...moved out from here, changed this to facilitate
1829         transition
1830
1831         * paragraph.C (getFont): take outerfont as arg, adjust
1832         (simpleTeXOnePar): add outerfont arg, adjust
1833
1834         * buffer.C (simpleLinuxDocOnePar): adjust
1835         (simpleDocBookOnePar): adjust
1836
1837         * CutAndPaste.C (pasteSelection): adjust
1838
1839         * BufferView.C (getEncoding): adjust
1840
1841 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * text2.C (setCharFont): adjust
1844         (setCounter): adjust
1845
1846         * text.C (leftMargin): adjust
1847         (setHeightOfRow): adjust
1848
1849         * rowpainter.C (paintFirst): adjust
1850         (paintLast): adjust
1851
1852         * paragraph_pimpl.C (realizeFont): adjust
1853
1854         * paragraph.C (isFirstInSequence): move from here...
1855         * paragraph_funcs.C (isFirstInSequence): ...to here
1856
1857         * paragraph.C (outerHook): move from here...
1858         * paragraph_funcs.C (outerHook): ...to here
1859
1860         * paragraph.C (depthHook): move from here...
1861         * paragraph_funcs.C (depthHook): ...to here
1862
1863         * paragraph.C (getEndLabel): move from here...
1864         * paragraph_funcs.C (getEndLabel): ...to here
1865
1866         * text2.C (realizeFont): move from here...
1867         * paragraph_funcs.C (realizeFont): ...to here
1868
1869 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1872
1873 2003-04-14  Angus Leeming  <leeming@lyx.org>
1874
1875         * LColor.[Ch]: scrap LColor mathcursor.
1876
1877 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * lyxlex.[Ch] (text): delete function
1880         * trans.C (Load): adjust
1881         * paragraph_funcs.C (readParToken): adjust
1882
1883 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1884
1885         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1886         vector<char> instead of a char[].
1887
1888         * lyxlex_pimpl.C (getString): adjust
1889         (next): adjust
1890         (lex): use getString
1891         (eatLine): adjust
1892         (nextToken): adjust
1893
1894         * lyxlex.C (text): use pimpl_->getString()
1895         (getBool): ditto
1896         (findToken): ditto
1897
1898 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1899
1900         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1901         (makeFontEntriesLayoutSpecific): temp var for par.size()
1902         (setLayout): temp var for ownerParagraphs().end()
1903         (fullRebreak): temp var for rows().end()
1904         (selectionAsString): temp var for boost::next(startpit), realize
1905         that the while really is a regular for loop.
1906         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1907         setCursor in one place.
1908         (setParagraph): temp vr for ownerParagraphs().end()
1909         (updateCounters): make the while loop a for loop
1910         (cutSelection): temp var for ownerParagraphs().end()
1911         (updateInset): make the do {} while() a regular for loop
1912         (getCursorX): use temp vars
1913         (setCurrentFont): use temp vars
1914         (getColumnNearX): use temp vars
1915
1916 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * text.C (transformChar): use temp var for getChar
1919         (computeBidiTables): use temp var for row->par()
1920         (fill): move temp vars for row->par() and pit->layout() earlier in
1921         the function.
1922         (labelFill): use temp var for row->par()
1923         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1924         asc and desc, realize that pit never changes and that firstpit is
1925         just a duplicate and not needed. Exchange rit->par() with pit in a
1926         lot of places.
1927         (breakAgain): use a temp var for boost::next(rit)
1928         (breakAgainOneRow): ditto
1929         (breakParagraph): use a temp var for rows().begin()
1930         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1931         (cursorRightOneWord): use temp var for cursor.par() and
1932         cursor.pos(), remove usage of tmpcursor.
1933         (cursorLeftOneWord): use temp var for cursor.par() and
1934         cursor.pos() only set cur at end of function.
1935
1936 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * text.C, text2.C: exchange all usage of Paragraph::next with
1939         boost::next(ParagraphList::iterator)
1940
1941         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1942
1943         * text2.C (cursorTop): simplify implementation
1944         (cursorBottom): ditto
1945         (setParagraph): use ParagraphList::iterator
1946         (setCurrentFont): adjust
1947         (getColumnNearX): adjust
1948         (cursorRight): adjust
1949         (cursorLeft): remove usage of Paragraph::previous
1950         (cursorUpParagraph): ditto
1951         (deleteEmptyParagraphMechanism): slight cleanup
1952
1953         * text.C (isBoundary): take a Paragraph const & instead of a
1954         pointer as arg.
1955         (addressBreakPoint): ditto
1956         (leftMargin): remove usage of Paragraph::previous.
1957         (setHeightOfRow): ditto
1958         (cursorLeftOneWord): ditto
1959         (selectNextWordToSpellcheck): ditto
1960         (Delete): ditto
1961         (backspace): ditto
1962         (breakParagraph): remove one usage of Paragraph::next
1963         (redoParagraph): ditto
1964         (acceptChange): ditto
1965         (insertChar): adjust
1966         (rowBreakPoint): adjust
1967
1968         * bufferview_funcs.C (toggleAndShow): adjust
1969
1970 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1971
1972         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1973         methods to access it.
1974         * lyxtext.h:
1975         * text.C: Added updateRowPositions to compute all row positions.
1976         Make top_y and getRowNearY() to use the cached y position
1977
1978 2003-04-11  John Levon  <levon@movementarian.org>
1979
1980         * text.C (rowBreakPoint): reintroduce the labelEnd
1981         checks, code copied from the row fill stuff. Deep voodoo.
1982
1983         * text.C (fill): add a comment and debugging for the
1984         next poor soul.
1985
1986 2003-04-11  John Levon  <levon@movementarian.org>
1987
1988         * text.C: make sure fullrow insets get wrapped to the next line,
1989         even when they're in a manual label
1990
1991 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * text2.C (insertParagraph): make it take ParagraphList::iterator
1994         as arg.
1995         (setLayout): make it return ParagraphList::iterator
1996         (redoParagraphs): ditto
1997         (setCounter): ditto
1998         (checkParagraph): ditto
1999
2000         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2001
2002         * text2.C: adjust several funcs.
2003         (realizeFont): take a ParagraphList::iterator as arg.
2004         (getLayoutFont): ditto
2005         (getLabelFont): ditto
2006         (setCharFont): ditto
2007
2008         * text.C: adjust several funcs.
2009
2010 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * text.C (selectNextWordToSpellcheck): don't accidentally
2013         skip insets
2014
2015 2003-04-10  John Levon  <levon@movementarian.org>
2016
2017         * ToolbarBackend.C (getIcon): special handling for
2018         LFUN_MATH_DELIM
2019
2020 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2021
2022         * text2.C (cursorRight): a getChar assert fixed
2023
2024 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2025
2026         * text2.C (getFont): change to take a ParagraphList::iterator
2027         instead of Paragraph*
2028         Adjust several functions.
2029
2030         * text.C (transformChar): change to take a ParagraphList::iterator
2031         instead of Paragraph*
2032         (singleWidth): ditto
2033         Adjust several functions.
2034
2035         * rowpainter.C: adjust several functions
2036         * rowpainter.h:store a ParagraphList::iterator and not a
2037         Paragraph&.
2038
2039
2040 2003-04-09  John Levon  <levon@movementarian.org>
2041
2042         * lyxfunc.C:
2043         * lfuns.h:
2044         * LyXAction.h:
2045         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2046         and the "help" bits as well
2047
2048 2003-04-09  John Levon  <levon@movementarian.org>
2049
2050         * ToolbarBackend.h:
2051         * ToolbarBackend.C: allow multiple toolbars
2052
2053 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2054
2055         * undo_funcs.C (setCursorParUndo): adjust
2056
2057         * text_funcs.C (transposeChars): adjust
2058
2059         * text3.C (gotoNextInset): adjust
2060         (dispatch): adjust
2061
2062         * text2.C (setLayout): adjust
2063         (changeDepth): adjust
2064         (setFont): adjust
2065         (redoParagraphs): adjust
2066         (selectionAsString): adjust
2067         (setParagraph): adjust
2068         (insertInset): adjust
2069         (cutSelection): adjust
2070         (copySelection): adjust
2071         (pasteSelection): adjust
2072         (insertStringAsLines): adjust
2073         (updateInset): adjust
2074         (setCursor): change to take a ParagraphList::iterator parameter
2075         (setCursorIntern): change to take a ParagraphList::iterator parameter
2076         (setCurrentFont): adjust
2077         (cursorLeft): adjust
2078         (cursorRight): adjust
2079         (deleteEmptyParagraphMechanism): adjust
2080
2081         * text.C (breakParagraph): adjust
2082         (insertChar): adjust
2083         (acceptChange): adjust
2084         (rejectChange): adjust
2085         (selectNextWordToSpellcheck): adjust
2086         (changeCase): adjust
2087         (Delete): adjust
2088         (backspace): adjust
2089
2090         * lyxfind.C (SearchForward): adjust
2091         (SearchBackward): adjust
2092         (nextChange): adjust
2093
2094         * lyxcursor.C (par): adjust
2095
2096         * lyxcursor.h: store a ParagraphList::iterator instead of a
2097         Paragraph*
2098
2099         * lyx_cb.C (getPossibleLabel): adjust
2100
2101         * bufferview_funcs.C (toggleAndShow): adjust
2102
2103         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2104         (dispatch): adjust
2105
2106         * BufferView.C (removeAutoInsets): adjust
2107         (lockedInsetStoreUndo): adjust
2108
2109 2003-04-09  John Levon  <levon@movementarian.org>
2110
2111         * ToolbarBackend.C: try icon without argument
2112         if with argument fails
2113
2114 2003-04-08  John Levon  <levon@movementarian.org>
2115
2116         * ToolbarBackend.h:
2117         * ToolbarBackend.C: add getIcon(), handle tooltip,
2118         and change from "Icon" to "Item".
2119
2120 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * BufferView.C (lockInset): another bad getchar crunched
2123
2124 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2127         again)
2128
2129 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2130
2131         * lyxfind.C (searchForward, searchBackwards): bug 782
2132
2133 2003-04-07  John Levon  <levon@movementarian.org>
2134
2135         * paragraph.C: remove dead comment
2136
2137         * text.C: remove troublesome depth-fiddling code
2138         in leftMargin() and rightMargin() (bug 1017)
2139
2140         * text.C: fix breaking of rows in nested lists
2141         (bug 1004)
2142
2143         * text2.C (updateCounters): fix up depth values
2144         (bug 1013)
2145
2146 2003-04-07  John Levon  <levon@movementarian.org>
2147
2148         * BufferView_pimpl.C: clear message when doc finishes resizing,
2149         and after a mouse event
2150
2151         * lyxfunc.C: clear message after exiting inset
2152
2153 2003-04-07  John Levon  <levon@movementarian.org>
2154
2155         * bufferview_funcs.C: show math status not outside
2156         status in the statusbar
2157
2158 2003-04-07  John Levon  <levon@movementarian.org>
2159
2160         * lyxfunc.C: note status changed after a depth change
2161
2162 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2163
2164         * LaTeX.h: move AuxInfo operator==, != out of line.
2165         Remove LaTeX virtual destructor; nothing derives from it.
2166         Move operator()() out of public area and rename it startscript().
2167         Change protected for private.
2168
2169 2003-04-04  Angus Leeming  <leeming@lyx.org>
2170
2171         * lyxfunc.C:
2172         * text2.C: remove unneeded #includes.
2173
2174 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2175
2176         * text2.C (dEPM): fix the heigth of the next row
2177
2178 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * text.C: squashed an invalid getChar requester + some ws changes
2181
2182 2003-04-03  John Levon  <levon@movementarian.org>
2183
2184         * bufferview_funcs.h:
2185         * bufferview_funcs.C:
2186         * lyxfunc.C:
2187         * lyxtext.h:
2188         * text2.C: make getStatus work for the env depth lfuns
2189
2190 2003-04-03  John Levon  <levon@movementarian.org>
2191
2192         * bufferview_funcs.h:
2193         * bufferview_funcs.C:
2194         * lyxfunc.C:
2195         * lyxtext.h:
2196         * text2.C: parlistize decDepth(), by merging it with incDepth()
2197
2198 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * lyxrow.h: store a ParagraphList::iterator instead of a
2201         Paragraph* and adjust other class functions to suit.
2202
2203         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2204         above.
2205
2206 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2207
2208         * text2.C (setCursor): do not anchor to cursor row for the time being
2209
2210 2003-04-02  John Levon  <levon@movementarian.org>
2211
2212         * LyXAction.C:
2213         * lfuns.h:
2214         * lyx_main.C:
2215         * lyxtext.h:
2216         * text.C:
2217         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2218
2219 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * paragraph.h: make ParagraphList and ParagraphList::iterator
2222         friends of Paragraph.
2223
2224         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2225
2226         * ParagraphList.C: Use the private next_ and previous_ from
2227         Paragraph.
2228
2229 2003-04-01  John Levon  <levon@movementarian.org>
2230
2231         * ToolbarBackend.h:
2232         * ToolbarBackend.C:
2233         * Makefile.am: rename, remove defaults gunk
2234
2235         * MenuBackend.h:
2236         * MenuBackend.C: remove defaults gunk
2237
2238         * Languages.h:
2239         * Languages.C: remove defaults gunk
2240
2241         * lyx_main.h:
2242         * lyx_main.C: error out if files couldn't be found.
2243
2244 2003-04-02  John Levon  <levon@movementarian.org>
2245
2246         * text2.C: make incDepth() use parlist
2247
2248 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2249
2250         * undo_funcs.C (firstUndoParagraph): adjust
2251
2252         * text3.C (gotoInset): adjust
2253         (dispatch): adjust, and rewrite loop.
2254
2255         * text2.C (init): adjust, and rewrite loop.
2256         (redoParagraphs): adjust
2257         (updateInset): adjust, and rewrite loop.
2258         (deleteEmptyParagraphMechanism): adjust
2259
2260         * tabular.C (LyXTabular): adjust
2261         (SetMultiColumn): adjust
2262         (TeXRow): adjust
2263
2264         * lyxtext.[Ch] (ownerParagraph): delete function
2265         (ownerParagraphs): new function returns a ParagraphList.
2266
2267         * BufferView.C (removeAutoInsets): adjust
2268         (insertErrors): adjust
2269         (setCursorFromRow): adjust
2270
2271 2003-04-01  Angus Leeming  <leeming@lyx.org>
2272
2273         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2274         in the frontends.
2275
2276 2003-04-02  John Levon  <levon@movementarian.org>
2277
2278         * lyxtext.h:
2279         * text.C:
2280         * Makefile.am:
2281         * text_funcs.h:
2282         * text_funcs.C: make transposeChars a free function
2283
2284         * lyxrow_funcs.C: remove wrong comment
2285
2286 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * lyxtext.h: adjust
2289         * rowpainter.C: adjust
2290         * text.C: adjust
2291         * text2.C: adjust
2292         * text3.C: adjust
2293
2294         * lyxrow_funcs. [Ch]: new files
2295
2296         * lyxrow.[Ch]: remove next and previous pointers
2297         (next,previous): remove accessor functions
2298         (isParEnd): move to lyxrow_funcs
2299         (lastPos): move to lyxrow_funcs
2300         (nextRowIsAllInset): move to lyxrow_funcs
2301         (lastPrintablePos): move to lyxrow_funcs
2302         (numberOfSeparators): move to lyxrow_funcs
2303         (numberOfHfills): move to lyxrow_funcs
2304         (numberOfLabelHfills): move to lyxrow_funcs
2305         (hfillExpansion): move to lyxrow_funcs
2306
2307         * lyxfunc.C: adjust
2308
2309         * bufferview_funcs.C (toggleAndShow): adjust
2310
2311         * RowList.h: Remove class RowList from file leave just a
2312         std::list<Row>.
2313
2314         * RowList.C: delete file
2315
2316         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2317         and lyxrow_funcs.h
2318
2319 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2320
2321         * text3.C (cursorPrevious): adjust
2322         (cursorNext): adjust
2323         (dispatch): adjust
2324
2325         * text2.C (redoHeightOfParagraph): adjust
2326         (redoDrawingOfParagraph): adjust
2327         (setCursor): adjust
2328
2329         * text.C (breakParagraph): adjust
2330         (insertChar): adjust
2331         (backspace): adjust
2332
2333         * rowpainter.C (RowPainter): adjust
2334         (leftMargin): simplify and adjust
2335         (most rowpainter functions): adjust.
2336
2337         * rowpainter.h: store the row as RowList::iterator not as Row*
2338
2339         * lyxcursor.C (row): taka RowList::iterator as arg
2340         (irow): ditto
2341
2342         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2343         of Row*.
2344
2345 2003-04-01  Angus Leeming  <leeming@lyx.org>
2346
2347         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2348         stuff like bool Bool.
2349
2350 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2351
2352         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2353         rewrite a loop
2354
2355 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2358         RowList::iterator.
2359
2360         * lyxtext.h (rows): drop one version and leve a const variant that
2361         returns a RowList::iterator.
2362
2363 2003-03-31  Angus Leeming  <leeming@lyx.org>
2364
2365         * text.C (fill): ensure that the signature is the same as that in the
2366         header file.
2367
2368 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * text2.C (redoParagraphs): adjust
2371         (updateCounters): adjust
2372         (checkParagraph): adjust
2373         (getColumnNearX): adjust and reformat a bit.
2374
2375         * text.C (top_y): adjust
2376         (workWidth): adjust
2377         (leftMargin): adjust
2378         (prepareToPrint): adjust
2379         (getRow): adjust
2380         (getRowNearY): adjust
2381
2382         * lyxtext.h: make rowlist_ mutable.
2383
2384         * RowList.h: add const_iterator
2385         * RowList.C: adjust for RowList::const_iterator.
2386
2387         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2388         adjust.
2389
2390 2003-03-31  John Levon  <levon@movementarian.org>
2391
2392         * lyxrc.h:
2393         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2394
2395         * lyx_main.C: set default fonts from using lyx_gui funcs
2396
2397         * exporter.C: pdf_mode moved from lyxrc
2398
2399         * lyx_cb.C:
2400         * lyxfunc.C: changes from above
2401
2402 2003-03-31  John Levon  <levon@movementarian.org>
2403
2404         * lyx_main.C: fix to the last fix
2405
2406 2003-03-31  John Levon  <levon@movementarian.org>
2407
2408         * bufferlist.C: "Load original" -> "Load Original"
2409
2410         * converter.C:
2411         * exporter.C:
2412         * importer.C:
2413         * lyx_main.C:
2414         * format.C: more Alert cleanups
2415
2416 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2417
2418         * text2.C (removeParagraph): make it take a RowList::iterator as
2419         arg, adjust.
2420         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2421         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2422
2423         * text.C (anchor_row): make it take a RowList::iterator as arg,
2424         adjust.
2425         (computeBidiTables): make it take a const reference to Row instead
2426         of Row pointer, adjust.
2427         (leftMargin): make it take a RowList::iterator as arg, adjust.
2428         (rowBreakPoint): adjust
2429         (breakAgainOneRow): make it take a RowList::iterator as arg,
2430         adjust.
2431         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2432
2433         * bufferview_funcs.C (toggleAndShow): adjust
2434
2435 2003-03-30  John Levon  <levon@movementarian.org>
2436
2437         * Makefile.am:
2438         * BoostFormat.h:
2439         * boost-inst.C: moved to support
2440
2441         * several files: changes as a result
2442
2443 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * text2.C (LyXText): adjust.
2446         (init): adjust
2447         (removeRow): make it take a RowList::iterator as arg, adjust.
2448         (fullRebreak): adjust
2449         (deleteEmptyParagraphMechanism): adjust
2450         (clearPaint): adjust
2451         (postPaint): adjust
2452
2453         * text.C (top_y): adjust
2454         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2455         (breakAgain): make it take a RowList::iterator as arg, adjust.
2456         (breakParagraph): adjust
2457         (insertChar): adjust
2458         (backspace): adjust
2459
2460         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2461         need_break_row, and refresh_row.
2462
2463         * text3.C (dispatch): adjust
2464
2465         * text2.C (checkParagraph): adjust
2466         (setCursor): adjust
2467         (setCursorFromCoordinates): adjust
2468
2469         * text.C (top_y): adjust
2470         (workWidth): adjust
2471         (getRow): make it return a RowList::iterator, adjust
2472         (getRowNearY): make it return a RowList::iterator, adjust
2473
2474         * text2.C (init): adjust
2475         (insertRow): remove function
2476         (insertParagraph): adjust
2477         (redoParagraphs): adjust
2478         (fullRebreak): adjust
2479         (updateCounters): adjust
2480
2481         * text.C (top_y): rewrite to use RowList iterators.
2482         (top_y): adjust
2483         (setHeightOfRow): rewrite to sue RowList iterators.
2484         (appendParagraph): adjust
2485         (breakAgain): adjust
2486         (breakAgainOneRow): adjust
2487         (breakParagraph): adjust
2488         (getRow): adjust
2489         (getRowNearY): adjust, and remove commented code.
2490
2491         * lyxtext.h (firstRow): delete function
2492         (lastRow): delete function
2493         (rows): new function (const and non-const versions.)
2494         (insertRow): delete function
2495
2496         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2497
2498 2003-03-29  John Levon  <levon@movementarian.org>
2499
2500         * BufferView_pimpl.C: always update scrollbar top
2501         because pasting text when we're anchored could mean we
2502         miss an update altogether
2503
2504 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * text2.C (init): use rowlist_.end() and not 0.
2507         (insertRow): change to take a RowList::iterator as arg, adjust
2508         for this.
2509         (insertParagraph): change to take a RowList::iterator as arg,
2510         adjust for this.
2511         (redoParagraphs): remove some debug msgs.
2512
2513         * text.C (appendParagraph): change to take a RowList::iterator
2514         arg, adjust for this.
2515         (breakAgain): add an assert
2516         (breakAgainOneRow): ditto
2517
2518 2003-03-29  John Levon  <levon@movementarian.org>
2519
2520         * text2.C: do not clear selection after inc/decDepth
2521         (bug 550)
2522
2523 2003-03-29  John Levon  <levon@movementarian.org>
2524
2525         * BufferView.C:
2526         * buffer.C: fix broken strerrors according to Lars
2527
2528 2003-03-29  John Levon  <levon@movementarian.org>
2529
2530         * converters.C: more Alert cleanups
2531
2532 2003-03-29  John Levon  <levon@movementarian.org>
2533
2534         * bufferview_funcs.C: remove pointless Alert
2535
2536         * buffer.C: fix confusing error message when
2537         a template is chmoded 000
2538
2539 2003-03-29  John Levon  <levon@movementarian.org>
2540
2541         * BufferView.C:
2542         * BufferView.h:
2543         * BufferView_pimpl.C: Alert fixes
2544
2545         * Makefile.am:
2546         * tabular.C:
2547         * tabular-old.C: remove unused table compat reading
2548
2549 2003-03-29  John Levon  <levon@movementarian.org>
2550
2551         * BufferView.C:
2552         * buffer.C:
2553         * lyx_cb.h:
2554         * lyx_cb.C: more Alert cleanups
2555
2556         * lyxfunc.C: don't allow chktex if not latex document
2557
2558 2003-03-29  John Levon  <levon@movementarian.org>
2559
2560         * lyx_cb.C:
2561         * BufferView.C:
2562         * buffer.C: warnings pushed down from support/,
2563         kill err_alert
2564
2565 2003-03-29  John Levon  <levon@movementarian.org>
2566
2567         * lyxfunc.C: safety check for C-r (revert)
2568
2569 2003-03-29  John Levon  <levon@movementarian.org>
2570
2571         * bufferlist.h:
2572         * bufferlist.C: several UI fixes using Alert::prompt.
2573         Fix the pointless looping quit code. Fix stupid revert
2574         behaviour (bug 938)
2575
2576         * lyxvc.h:
2577         * lyxvc.C:
2578         * lyx_cb.C: use Alert::prompt
2579
2580         * lyx_main.C: remove a silly question
2581
2582         * lyxfunc.C: remove a couple of silly questions,
2583         use Alert::prompt
2584
2585 2003-03-28  John Levon  <levon@movementarian.org>
2586
2587         * text2.C: fix bug 974 (End on empty par)
2588
2589 2003-03-28  John Levon  <levon@movementarian.org>
2590
2591         * BufferView_pimpl.C:
2592         * LyXAction.C:
2593         * lfuns.h: remove do-nothing math greek lfuns
2594
2595 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * lyxgluelength.h (isValidGlueLength): add default arg on
2598         parameter 2. Remove default arg from friend in class.
2599
2600         * lyxlength.h (isValidLength): add default arg on parameter 2.
2601         Remove default arg from friend in class.
2602
2603         * text2.C (LyXText): adjust, initialize refresh_row.
2604         (init): adjust
2605         (removeRow): adjust
2606         (insertRow): adjust
2607         (insertParagraph): adjst
2608         (redoParagraphs): adjust
2609         (fullRebreak): adjust
2610         (updateCounters): adjust
2611         (deleteEmptyParagraphMechanism): first attempt at fixing a
2612         crashing bug.
2613
2614         * text.C (top_y): adjust
2615         (setHeightOfRow): adjust
2616         (getRow): adjust
2617         (getRowNearY): adjust
2618
2619         * lyxtext.h: include RowList.h
2620         (~LyXText): not needed anymore, deleted.
2621         (firstRow): modify for RowList
2622         (lastRow): new function
2623         Delete firstrow and lastrow class variables, add a Rowlist
2624         rowlist_ class variable.
2625
2626         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2627         paragraph is empty.
2628
2629         * RowList.C (insert): fix case where it == begin().
2630
2631 2003-03-26  Angus Leeming  <leeming@lyx.org>
2632
2633         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2634         the thesaurus dialog.
2635
2636 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2639
2640         * RowList.[Ch]: new files
2641
2642         * ParagraphList.C (erase): handle the case where it == begin
2643         correctly.
2644
2645 2003-03-25  John Levon  <levon@movementarian.org>
2646
2647         * Makefile.am:
2648         * aspell_local.h:
2649         * aspell.C: add new aspell support
2650
2651         * lyxrc.h:
2652         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2653         have it accessible.
2654
2655 2003-03-25  Angus Leeming  <leeming@lyx.org>
2656
2657         * lfuns.h:
2658         * LyXAction.C (init): new LFUN_INSET_INSERT.
2659
2660         * BufferView_pimpl.C (dispatch): split out part of the
2661         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2662
2663         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2664         LFUN_INSET_APPLY.
2665
2666 2003-03-25  Angus Leeming  <leeming@lyx.org>
2667
2668         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2669
2670 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * text2.C:
2673         * text3.C: remove useless row->height(0)
2674
2675 2003-03-25  John Levon  <levon@movementarian.org>
2676
2677         * lyxtext.h:
2678         * text2.C:
2679         * text3.C: rename the refreshing stuff to better names
2680
2681 2003-03-24  John Levon  <levon@movementarian.org>
2682
2683         * BufferView_pimpl.h:
2684         * BufferView_pimpl.C: update layout choice on a mouse
2685         press/release
2686
2687 2003-03-23  John Levon  <levon@movementarian.org>
2688
2689         * Makefile.am: fix commandtags.h reference
2690
2691 2003-03-22  John Levon  <levon@movementarian.org>
2692
2693         * BufferView_pimpl.C:
2694         * lyxtext.h:
2695         * rowpainter.C:
2696         * rowpainter.h:
2697         * text.C:
2698         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2699
2700 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2701
2702         * lyxtext.h:
2703         * text.C: take the rtl methods out of line
2704
2705 2003-03-21 André Pönitz <poenitz@gmx.net>
2706
2707         * metricsinfo.[Ch]: new files containing structures to be passed around
2708         during the two-phase-drawing...
2709
2710 2003-03-21 André Pönitz <poenitz@gmx.net>
2711
2712         * lyxtextclass.C: read 'environment' tag.
2713
2714 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * text2.C (removeRow): fix bug 964
2717
2718 2003-03-20  John Levon  <levon@movementarian.org>
2719
2720         * rowpainter.C:
2721         * text.C:
2722         * text2.C: paint cleanups. Inset::update() dropped font
2723         parameter
2724
2725 2003-03-19  John Levon  <levon@movementarian.org>
2726
2727         * lyxfunc.C: only fitcursor/markDirty if available()
2728
2729 2003-03-19  John Levon  <levon@movementarian.org>
2730
2731         * commandtags.h: rename to ...
2732
2733         * lfuns.h: ... this, and renumber / cleanup
2734
2735 2003-03-19  John Levon  <levon@movementarian.org>
2736
2737         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2738         fit the cursor after an lfun
2739
2740         * BufferView.h:
2741         * BufferView.C:
2742         * BufferView_pimpl.h:
2743         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2744
2745         * LyXAction.C: layout-character should have ReadOnly
2746
2747         * ParagraphParameters.C:
2748         * buffer.C:
2749         * bufferview_funcs.C:
2750         * lyx_cb.C:
2751         * lyxfind.C:
2752         * lyxtext.h:
2753         * text.C:
2754         * text2.C:
2755         * text3.C:
2756         * undo_funcs.C: changes from above
2757
2758 2003-03-18  John Levon  <levon@movementarian.org>
2759
2760         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2761         remove it from update()
2762
2763         * lyxfunc.C: update layout choice after an lfun
2764
2765         * text3.C: remove extra updateLayoutChoice()s
2766
2767 2003-03-18  John Levon  <levon@movementarian.org>
2768
2769         * text.C: top_y change means full repaint, fix
2770         a drawing bug with cursor movement
2771
2772 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * lyxtext.h:
2775         * text.C:
2776         * text2.C: anchor row on setCursor
2777
2778 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2779
2780         * lyxtext.h: remove almost all mutable keywords
2781         * text.C:
2782         * text2.C:
2783         * text3.C: remove const keywords accordingly
2784
2785 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2788         anon namespace
2789         (TeXEnvironment): ditto
2790         (TeXOnePar): ditto
2791
2792 2003-03-17  John Levon  <levon@movementarian.org>
2793
2794         * text.C (rowBreakPoint): remove attempt to fix displayed
2795         math insets inside a manual label
2796
2797 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2798
2799         * lyxtext.h: remove BufferView* as first arg from almost all class
2800         functions.
2801         * other files: adjust.
2802
2803 2003-03-17  John Levon  <levon@movementarian.org>
2804
2805         * lyxtext.h:
2806         * undo_funcs.C:
2807         * text2.C: more paint cleanups
2808
2809         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2810
2811         * rowpainter.h:
2812         * rowpainter.C: remove "smart" background painting code
2813
2814 2003-03-16  John Levon  <levon@movementarian.org>
2815
2816         * lyxtext.h:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: add helper functions for setting refresh_row/y
2820
2821 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2822
2823         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2824         newline inset which *can* get inserted in the pass_thru layouts.
2825         This is primarily for literate documents.
2826
2827 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2828
2829         * buffer.C: increment LYX_FORMAT to 223
2830
2831 2003-03-14 André Pönitz <poenitz@gmx.net>
2832
2833         * textclass.h: prepare for environment handling, ws changes
2834         * lyxlayout.C: read latexheader and latexfooter tags
2835
2836 2003-03-14  John Levon  <levon@movementarian.org>
2837
2838         * text2.C: rewrite ::status() a bit
2839
2840 2003-03-13  John Levon  <levon@movementarian.org>
2841
2842         * lyxtext.h: add some docs
2843
2844 2003-03-13  John Levon  <levon@movementarian.org>
2845
2846         * lyxtext.h:
2847         * text.C:
2848         * text2.C:
2849         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2850
2851 2003-03-13  John Levon  <levon@movementarian.org>
2852
2853         * text3.C: fix appendix redrawing
2854
2855 2003-03-13  John Levon  <levon@movementarian.org>
2856
2857         * text.C (setHeightOfRow):
2858         * rowpainter.h:
2859         * rowpainter.C: make appendix mark have the text
2860           "Appendix" so the user knows what it is
2861
2862         * LColor.h:
2863         * LColor.C: s/appendixline/appendix/ from above
2864
2865 2003-03-13  John Levon  <levon@movementarian.org>
2866
2867         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2868
2869         * text.C: fix a getChar(pos) bug properly
2870
2871 2003-03-13  Angus Leeming  <leeming@lyx.org>
2872
2873         * commandtags.h:
2874         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2875         Probably only temporary. Let's see how things pan out.
2876
2877         * BufferView.C (unlockInset):
2878         * BufferView_pimpl.C (fitCursor):
2879         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2880
2881         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2882         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2883
2884         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2885         new functions that convert ParagraphParameters to and from a string.
2886
2887         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2888         BufferView::Pimpl's dispatch.
2889         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2890
2891 2003-03-13 André Pönitz <poenitz@gmx.net>
2892
2893         * lyxfunc.C:
2894         * text3.C:
2895         * factory.C: make it aware of InsetEnv
2896
2897 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * text2.C (setCursor): never ask for one past last
2900         (setCursor): add some debugging messages.
2901
2902         * text.C (singleWidth): never ask for one past last
2903         (singleWidth): ditto
2904         (leftMargin): ditto
2905         (rightMargin): ditto
2906         (rowBreakPoint): ditto
2907         (setHeightOfRow): ditto
2908         (prepareToPrint): ditto
2909
2910         * rowpainter.C (paintBackground): never ask for one past last
2911         (paintText): never ask for one past last
2912
2913         * paragraph_pimpl.C (getChar): make the assert stricter, never
2914         allow the one past last pos to be taken
2915
2916         * paragraph.C (getChar): ws changes only
2917
2918         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2919         (numberOfSeparators): ditto
2920         (numberOfHfills): ditto
2921
2922 2003-03-12  John Levon  <levon@movementarian.org>
2923
2924         * author.h:
2925         * author.C:
2926         * bufferparams.h:
2927         * bufferparams.C:
2928         * paragraph_funcs.C: fix per-buffer authorlists
2929
2930 2003-03-12  John Levon  <levon@movementarian.org>
2931
2932         * text.C: fix newline in right address
2933
2934 2003-03-12  Angus Leeming  <leeming@lyx.org>
2935
2936         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2937         duplicate those in LyXFunc::dispatch.
2938
2939         * commandtags.h:
2940         * LyXAction.C:
2941         * ToolbarDefaults.C:
2942         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2943         Add LFUN_FONTFREE_UPDATE.
2944
2945         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2946         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2947
2948         * bufferview_func.[Ch]: several new functions to facilliate
2949         transfer of data to and from the character dialog.
2950
2951 2003-03-12  John Levon  <levon@movementarian.org>
2952
2953         * buffer.C:
2954         * paragraph.h:
2955         * paragraph.C:
2956         * paragraph_funcs.C:
2957         * paragraph_pimpl.C:
2958         * sgml.C:
2959         * tabular.C:
2960         * text.C:
2961         * text3.C: remove META_NEWLINE in favour of an inset
2962
2963         * rowpainter.h:
2964         * rowpainter.C: remove paintNewline (done by inset)
2965
2966 2003-03-12  John Levon  <levon@movementarian.org>
2967
2968         * paragraph_pimpl.C: complain about bad getChar()s
2969         for a while at least
2970
2971 2003-03-12  John Levon  <levon@movementarian.org>
2972
2973         * buffer.h:
2974         * buffer.C: move paragraph read into a separate function,
2975         a little renaming to reflect that.
2976
2977         * bufferparams.h:
2978         * bufferparams.C: remove the author_ids map, not necessary now
2979
2980         * factory.h:
2981         * factory.C: moved Buffer::readInset to here
2982
2983         * paragraph_funcs.h:
2984         * paragraph_funcs.C: readParagraph free function moved from
2985         buffer.C
2986
2987         * tabular.C: name change
2988
2989 2003-03-12  John Levon  <levon@movementarian.org>
2990
2991         * buffer.C:
2992         * ParagraphParameters.C: move par params input to
2993         a read() method
2994
2995         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2996         behave like a normal read from the stream wrt reading
2997         a line vs. a \\token
2998
2999 2003-03-12  John Levon  <levon@movementarian.org>
3000
3001         * paragraph.C:
3002         * ParagraphParameters.h:
3003         * ParagraphParameters.C: move output code to a
3004         ::write() method
3005
3006 2003-03-12  John Levon  <levon@movementarian.org>
3007
3008         * BufferView.C (insertLyXFile):
3009         * buffer.h:
3010         * buffer.C:
3011         * tabular.C: use a parlist iterator for creating the
3012           document.
3013
3014 2003-03-12  John Levon  <levon@movementarian.org>
3015
3016         * buffer.C: make current_change static local not
3017           static file-scope
3018
3019 2003-03-12  John Levon  <levon@movementarian.org>
3020
3021         * buffer.C: fix insertStringAsLines for change tracking
3022
3023 2003-03-12  John Levon  <levon@movementarian.org>
3024
3025         * BufferView.C:
3026         * tabular.C:
3027         * buffer.h:
3028         * buffer.C:
3029         * bufferparams.h:
3030         * bufferparams.C: move author list into params. Rename some
3031           functions. Move the header reading into a separate token
3032           loop. Move the header token reading into BufferParams.
3033
3034 2003-03-12  John Levon  <levon@movementarian.org>
3035
3036         * changes.C: put debug inside lyxerr.debugging() checks
3037
3038 2003-03-11 André Pönitz <poenitz@gmx.net>
3039
3040         * factory.C: make it aware of InsetHFill
3041
3042 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3043
3044         * buffer.C (latexParagraphs): move function from here...
3045         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3046         args.
3047
3048 2003-03-10  Angus Leeming  <leeming@lyx.org>
3049
3050         * LyXAction.C (init): fix bug in poplating array with multiple entries
3051         with the same LFUN (spotted by JMarc).
3052
3053 2003-03-10  John Levon  <levon@movementarian.org>
3054
3055         * text.C:
3056         * text2.C: move getColumnNearX() near its
3057         only call site
3058
3059 2003-03-10  John Levon  <levon@movementarian.org>
3060
3061         * text.C: fix break before a minipage
3062
3063 2003-03-10  John Levon  <levon@movementarian.org>
3064
3065         * text.C: fix the last commit
3066
3067 2003-03-09  John Levon  <levon@movementarian.org>
3068
3069         * lyxtext.h:
3070         * text.C:
3071         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3072         bug 365 (don't break before insets unless needed). Don't
3073         return a value > last under any circumstances.
3074
3075 2003-03-09  Angus Leeming  <leeming@lyx.org>
3076
3077         * BufferView_pimpl.C (trackChanges, dispatch): call
3078         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3079
3080 2003-03-09  Angus Leeming  <leeming@lyx.org>
3081
3082         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3083         than Dialogs::showAboutlyx().
3084
3085 2003-03-09  Angus Leeming  <leeming@lyx.org>
3086
3087         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3088         than Dialogs::showTabularCreate().
3089
3090 2003-03-09  John Levon  <levon@movementarian.org>
3091
3092         * lyxtext.h:
3093         * text.C:
3094         * text2.C: 3rd arg to nextBreakPoint was always the same.
3095           Use references.
3096
3097 2003-03-08  John Levon  <levon@movementarian.org>
3098
3099         * lyxrow.C:
3100         * paragraph.C:
3101         * paragraph.h:
3102         * rowpainter.C:
3103         * text.C:
3104         * text2.C: Remove the "main" bit from the "main body"
3105           notion.
3106
3107 2003-03-08  John Levon  <levon@movementarian.org>
3108
3109         * text.C (leftMargin): The left margin of an empty
3110         manual label paragraph should not include the label width
3111         string length.
3112
3113         * text.C (prepareToPrint): don't attempt to measure hfills
3114         for empty manual label paragraphs - the answer should be 0
3115
3116 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * CutAndPaste.C: remove commented code and reindent.
3119
3120 2003-03-08  John Levon  <levon@movementarian.org>
3121
3122         * lyxfunc.h:
3123         * lyxfunc.C: move reloadBuffer()
3124
3125         * BufferView.h:
3126         * BufferView.C: to here
3127
3128         * lyxvc.C: add comment
3129
3130         * vc-backend.h:
3131         * vc-backend.C: call bv->reload() to avoid
3132           getStatus() check on MENURELOAD
3133
3134 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3135
3136         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3137         to an old format .dep file.
3138
3139 2003-03-07  Angus Leeming  <leeming@lyx.org>
3140
3141         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3142         when the LFUN_MOUSE_RELEASE should have been handled by
3143         inset->localDispatch.
3144
3145 2003-03-07  Angus Leeming  <leeming@lyx.org>
3146
3147         * BufferView_pimpl.C (dispatch):
3148         * LyXAction.C (init):
3149         * ToolbarDefaults.C (init):
3150         * commandtags.h:
3151         * lyxfunc.C (getStatus):
3152         remove LFUN_INSET_GRAPHICS.
3153
3154         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3155
3156 2003-03-07  Angus Leeming  <leeming@lyx.org>
3157
3158         * commandtags.h:
3159         * LyXAction.C (init):
3160         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3161
3162         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3163
3164         * commandtags.h:
3165         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3166
3167         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3168         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3169
3170 2003-03-07  Angus Leeming  <leeming@lyx.org>
3171
3172         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3173         remove "ert".
3174
3175 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * ParagraphList.C (front): new function
3178         (back): implement
3179
3180 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3181
3182         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3183         and top_row_offset_. removed var first_y.
3184         * text.C (top_y):
3185         * text2.C (LyXText, removeRow):
3186         * text3.C:
3187         * BufferView_pimpl.C:
3188         use these methods instead of using first_y
3189
3190 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * text2.C (pasteSelection): adjust for checkPastePossible
3193
3194         * CutAndPaste.C: remove Paragraph * buf and replace with
3195         ParagraphList paragraphs.
3196         (DeleteBuffer): delete
3197         (cutSelection): change the tc type to textclass_type
3198         (copySelection): change the tc type to textclass_type
3199         (copySelection): adjust for ParagraphList
3200         (pasteSelection): change the tc type to textclass_type
3201         (pasteSelection): adjust for Paragraphlist
3202         (nrOfParagraphs): simplify for ParagraphList
3203         (checkPastePossible): simplify for ParagraphList
3204         (checkPastePossible): remove unused arg
3205
3206         * ParagraphList.C (insert): handle the case where there are no
3207         paragraphs yet.
3208
3209         * CutAndPaste.h: make CutAndPaste a namespace.
3210
3211         * text3.C (dispatch): adjust
3212
3213         * text.C (breakParagraph): add a ParagraphList as arg
3214
3215         * paragraph_funcs.C (breakParagraph): change to take a
3216         BufferParams and a ParagraphList as args.
3217         (breakParagraphConservative): ditto
3218         (mergeParagraph): ditto
3219         (TeXDeeper): add a ParagraphList arg
3220         (TeXEnvironment): ditto
3221         (TeXOnePar): ditto
3222
3223         * buffer.C (readLyXformat2): adjust
3224         (insertStringAsLines): adjust
3225         (latexParagraphs): adjust
3226
3227         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3228         (cutSelection): adjust
3229         (pasteSelection): adjust
3230
3231         * BufferView_pimpl.C (insertInset): adjust
3232
3233 2003-03-05  Angus Leeming  <leeming@lyx.org>
3234
3235         * commandtags.h:
3236         * LyXAction.C (init):
3237         * BufferView_pimpl.C (dispatch):
3238         * lyxfunc.C (getStatus):
3239         remove LFUN_CHILD_INSERT.
3240
3241         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3242
3243 2003-03-05  Angus Leeming  <leeming@lyx.org>
3244
3245         * commandtags.h:
3246         * LyXAction.C (init):
3247         * src/factory.C (createInset):
3248         * lyxfunc.C (getStatus):
3249         * text3.C (dispatch):
3250         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3251
3252         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3253
3254 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * ParagraphList.C (insert): handle insert right before end()
3257         (erase): fix cases where it can be first or last paragraph.
3258
3259 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3262         Paragraph::next and Paragraph::previous
3263         (TeXOnePar): ditto
3264
3265         * text.C (breakParagraph): adjust
3266
3267         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3268         BufferParams& as arg.
3269         (breakParagraph): use ParagraphList::insert
3270         (breakParagraphConservative): take a Buffer* instead of a
3271         BufferParams& as arg.
3272         (breakParagraphConservative): use ParagraphList::insert.
3273
3274         * buffer.C (insertStringAsLines): un-const it
3275         (insertStringAsLines): adjust
3276
3277         * ParagraphList.C (insert): new function
3278
3279         * CutAndPaste.C (pasteSelection): adjust
3280
3281         * text.C (backspace): adjust
3282
3283         * tabular.C (SetMultiColumn): adjust
3284
3285         * CutAndPaste.C (cutSelection): adjust
3286         (pasteSelection): adjust
3287
3288         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3289         Buffer const * as arg
3290
3291         * ParagraphList.C (erase): new function
3292         * paragraph_funcs.C (mergeParagraph): use it
3293         (mergeParagraph): make it take a Buffer* instead of a
3294         BufferParams* as arg
3295
3296         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3297         as arg
3298         (breakParagraphConservative): ditto
3299
3300         * paragraph.h: remove the breakParagraph friend
3301
3302         * paragraph.C (eraseIntern): new function
3303         (setChange): new function
3304
3305         * paragraph_funcs.C (mergeParagraph): make it take a
3306         ParagraphList::iterator instead of a Paragraph *, adjust
3307         accordingly.
3308
3309         * paragraph.h: move an #endif so that the change tracking stuff
3310         also works in the NO_NEXT case.
3311
3312 2003-03-04  Angus Leeming  <leeming@lyx.org>
3313
3314         * commandtags.h:
3315         * LyXAction.C: new LFUN_INSET_MODIFY.
3316
3317         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3318         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3319
3320 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * several files: ws changes only
3323
3324         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3325         (TeXEnvironment): ditto
3326         (TeXDeeper): ditto
3327
3328         * buffer.C (makeLaTeXFile): adjust
3329         (latexParagraphs): make it take ParagraphList::iterator as args
3330
3331 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * buffer.C (latexParagraphs): adjust
3334
3335         * paragraph.C (TeXOnePar): move function...
3336         (optArgInset): move function...
3337         (TeXEnvironment): move function...
3338         * paragraph_pimpl.C (TeXDeeper): move function...
3339         * paragraph_funcs.C: ...here
3340
3341         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3342
3343 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * buffer.C (readInset): remove compability code for old Figure and
3346         InsetInfo insets
3347
3348 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * buffer.C: ws changes
3351         (readInset):
3352
3353         * BufferView_pimpl.C: ditto
3354         * author.C: ditto
3355         * buffer.h: ditto
3356         * bufferlist.h: ditto
3357         * changes.h: ditto
3358         * lyxfunc.C: ditto
3359
3360 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3361
3362         * converter.[Ch]: split into itself +
3363         * graph.[Ch]
3364         * format.[Ch]
3365         * Makefile.am: += graph.[Ch] + format.[Ch]
3366         * MenuBackend.C
3367         * buffer.C
3368         * exporter.C
3369         * importer.C
3370         * lyx_main.C
3371         * lyxfunc.C
3372         * lyxrc.C: added #include "format.h"
3373
3374 2003-02-27  Angus Leeming  <leeming@lyx.org>
3375
3376         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3377           a label.
3378
3379         * factory.C (createInset): add "label" to the factory.
3380
3381         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3382           string and do no more.
3383
3384 2003-02-27  Angus Leeming  <leeming@lyx.org>
3385
3386         * commandtags.h:
3387         * LyXAction.C (init):
3388         * factory.C (createInset):
3389         * BufferView_pimpl.C (dispatch):
3390           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3391
3392         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3393
3394         * lyxfunc.C (dispatch):
3395         * text3.C (dispatch): pass name to params2string.
3396
3397 2003-02-26  Angus Leeming  <leeming@lyx.org>
3398
3399         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3400           blocks together.
3401           Rearrange the ~includes. Strip out the unnecessary ones.
3402
3403         * factory.C (createInset): reformat.
3404           create new insets for the various LFUN_XYZ_APPLY lfuns.
3405
3406 2003-02-26  John Levon  <levon@movementarian.org>
3407
3408         * lyxrow.h:
3409         * lyxrow.C: add isParStart,isParEnd helpers
3410
3411         * paragraph.h: make isInserted/DeletedText take refs
3412
3413         * paragraph_funcs.h:
3414         * paragraph_funcs.C: remove #if 0'd code
3415
3416         * lyxtext.h:
3417         * text3.C:
3418         * text2.C:
3419         * text.C: use lyxrow helpers above.
3420           Move draw and paint routines to RowPainter.
3421           Make several methods use refs not pointers.
3422           Make backgroundColor() const.
3423           Add markChangeInDraw(), isInInset().
3424           Merge changeRegionCase into changeCase.
3425           Make workWidth() shouldn't-happen code into an Assert.
3426
3427         * rowpainter.h:
3428         * rowpainter.C: new class for painting a row.
3429
3430         * vspace.h:
3431         * vspace.C: make inPixels take a ref
3432
3433 2003-02-26  Angus Leeming  <leeming@lyx.org>
3434
3435         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3436         LFUN_REF_APPLY.
3437
3438 2003-02-25  John Levon  <levon@movementarian.org>
3439
3440         * ispell.C: give the forked command a more accurate name
3441
3442 2003-02-22  John Levon  <levon@movementarian.org>
3443
3444         * toc.h:
3445         * toc.C: make TocItem store an id not a Paragraph *
3446           (bug #913)
3447
3448 2003-02-21  Angus Leeming  <leeming@lyx.org>
3449
3450         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3451           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3452           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3453           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3454           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3455           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3456
3457         * BufferView_pimpl.C (dispatch):
3458         * LyXAction.C (init):
3459         * factory.C (createInset):
3460         * lyxfunc.C (getStatus, dispatch):
3461         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3462
3463 2003-02-21  Angus Leeming  <leeming@lyx.org>
3464
3465         * BufferView_pimpl.C (MenuInsertLyXFile):
3466         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3467         * lyxfunc.C (menuNew, open, doImport):
3468           no longer pass a LyXView & to fileDlg.
3469
3470 2003-02-21  Angus Leeming  <leeming@lyx.org>
3471
3472         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3473         * LyXAction.C: change, BIBKEY to BIBITEM.
3474         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3475         Change InsetBibKey to InsetBibitem.
3476         Change BIBKEY_CODE to BIBITEM_CODE.
3477         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3478         * factory.C: replace insetbib.h with insetbibitem.h.
3479         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3480         * paragraph.C: replace insetbib.h with insetbibitem.h.
3481         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3482         Change bibkey() to bibitem().
3483         * text.C: remove insetbib.h.
3484         * text2.C: replace insetbib.h with insetbibitem.h.
3485         change bibkey() to bibitem().
3486         * text3.C: remove insetbib.h.
3487         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3488
3489 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3490
3491         * lyxrc.C (output): enclose user email in quotes (in case there are
3492         several words)
3493
3494 2003-02-18  John Levon  <levon@movementarian.org>
3495
3496         * buffer.h: add std::
3497
3498 2003-02-17  John Levon  <levon@movementarian.org>
3499
3500         * SpellBase.h:
3501         * ispell.h:
3502         * ispell.C:
3503         * pspell.h:
3504         * pspell.C: reworking. Especially in ispell, a large
3505           number of clean ups and bug fixes.
3506
3507         * lyxfunc.C: fix revert to behave sensibly
3508
3509 2003-02-17 André Pönitz <poenitz@gmx.net>
3510
3511         * LyXAction.C:
3512         * commandtags.h: new LFUN_INSERT_BIBKEY
3513
3514         * layout.h:
3515         * lyxlayout.C:
3516         * buffer.C:
3517         * factory.C:
3518         * text.C:
3519         * text2.C:
3520         * text3.C:
3521         * paragraph.[Ch]:
3522         * paragraph_func.C: remove special bibkey handling
3523
3524 2003-02-17  John Levon  <levon@movementarian.org>
3525
3526         * text.C (Delete): fix case where delete at the end of
3527           the very first paragraph would not merge the pars
3528
3529 2003-02-17  John Levon  <levon@movementarian.org>
3530
3531         * lyxrow.C: fix lastPrintablePos()
3532
3533 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3534
3535         * bufferparams.C (writeLaTeX): add a std:here
3536
3537         * buffer.C: and remove a using directive there
3538
3539 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3540
3541         * buffer.C (makeLaTeXFile): move the code that generates the
3542           preamble...
3543
3544         * bufferparams.C (writeLaTeX): ... in this new method
3545
3546         * LaTeXFeatures.C (getEncodingSet): make const
3547           (getLanguages): make const
3548
3549         * MenuBackend.C (binding): returns the binding associated to this
3550           action
3551           (add): sets the status of each item by calling getStatus. Adds
3552           some intelligence.
3553           (read): add support for OptSubMenu
3554           (expand): remove extra separator at the end of expanded menu
3555
3556 2003-02-15  John Levon  <levon@movementarian.org>
3557
3558         * BufferView.C:
3559         * BufferView_pimpl.C:
3560         * bufferlist.h:
3561         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3562           inset code that had no actual effect. Remove unneeded status
3563           code.
3564
3565 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3566
3567         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3568           in preamble
3569
3570 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3571
3572         * text.C (drawLengthMarker): also draw an arrow marker for
3573           symbolic lengths (medskip...)
3574
3575 2003-02-14  John Levon  <levon@movementarian.org>
3576
3577         * tabular.h:
3578         * tabular.C: better method names
3579
3580 2003-02-14  John Levon  <levon@movementarian.org>
3581
3582         * BufferView_pimpl.C:
3583         * bufferlist.C:
3584         * buffer.C:
3585         * converter.C:
3586         * lyx_cb.C:
3587         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3588           it's a more accurate name. Remove some pointless uses.
3589
3590 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3591
3592         * text2.C (LyXText): change order of initilizers to shut off
3593           warnings
3594
3595 2003-02-14  John Levon  <levon@movementarian.org>
3596
3597         * buffer.C: use ParIterator for getParFromID()
3598
3599         * paragraph.h:
3600         * paragraph.C:
3601         * paragraph_pimpl.h:
3602         * paragraph_pimpl.C: remove unused getParFromID()
3603
3604 2003-02-14  John Levon  <levon@movementarian.org>
3605
3606         * buffer.C: remove some very old #if 0'd parse code
3607
3608 2003-02-13  John Levon  <levon@movementarian.org>
3609
3610         * text.h:
3611         * text.C:
3612         * text2.C: move hfillExpansion(), numberOfSeparators(),
3613           rowLast(), rowLastPrintable(), numberofHfills(),
3614           numberOfLabelHfills() ...
3615
3616         * lyxrow.h:
3617         * lyxrow.C: ... to member functions here.
3618
3619         * paragraph.h:
3620         * paragraph.C:
3621         * lyxtext.h:
3622         * text.C: remove LyXText::beginningOfMainBody(), and call
3623           p->beginningOfMainBody() directly. Move the check for
3624           LABEL_MANUAL into the latter.
3625
3626         * text.h:
3627         * text.C:
3628         * text2.C:
3629         * vspace.C:
3630         * BufferView.h:
3631         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3632
3633         * text.h:
3634         * text.C:
3635         * text2.C:
3636         * text3.C:
3637         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3638           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3639
3640 2003-02-13  John Levon  <levon@movementarian.org>
3641
3642         * CutAndPaste.C: remove debug
3643
3644 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3645
3646         * paragraph.C (asString): remove two unused variables
3647
3648         * lyxtextclass.C (readTitleType):
3649           (Read):
3650           (LyXTextClass): handle new members titletype_ and titlename_
3651
3652         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3653
3654 2003-02-09  John Levon  <levon@movementarian.org>
3655
3656         * buffer.h:
3657         * buffer.C: replace hand-coded list with a map for the dep clean
3658
3659 2003-02-08  John Levon  <levon@movementarian.org>
3660
3661         * LaTeX.C: consolidate code into showRunMessage() helper
3662
3663 2003-02-08  John Levon  <levon@movementarian.org>
3664
3665         * lyxfind.C:
3666         * lyxtext.h:
3667         * text2.C:
3668         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3669           and pass the size in explicitly
3670
3671         * BufferView_pimpl.h:
3672         * BufferView_pimpl.C:
3673         * BufferView.h:
3674         * BufferView.C: add getCurrentChange()
3675
3676         * BufferView_pimpl.h:
3677         * BufferView_pimpl.C: handle change lfuns
3678
3679         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3680           for changes. Mark pasted paragraphs as new.
3681
3682         * support/lyxtime.h:
3683         * support/lyxtime.C:
3684         * DepTable.C: abstract time_t as lyx::time_type
3685
3686         * LColor.h:
3687         * LColor.C: add colours for new text, deleted text, changebars
3688
3689         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3690           package use "usenames" option.
3691
3692         * commandtags.h:
3693         * lyxfunc.C:
3694         * LyXAction.C: add change lfuns
3695
3696         * Makefile.am:
3697         * author.h:
3698         * author.C: author handling
3699
3700         * buffer.h:
3701         * buffer.C: add a per-buffer author list, with first entry as
3702           current author. Handle new .lyx tokens for change tracking. Output
3703           author list to .lyx file. Output dvipost stuff to .tex preamble.
3704           Bump lyx format to 222.
3705
3706         * bufferlist.h:
3707         * bufferlist.C: add setCurrentAuthor() to reset current author details
3708           in all buffers.
3709
3710         * bufferparams.h:
3711         * bufferparams.C: add param for tracking
3712
3713         * bufferview_funcs.C: output change info in minibuffer
3714
3715         * Makefile.am:
3716         * changes.h:
3717         * changes.C: add change-tracking structure
3718
3719         * debug.h:
3720         * debug.C: add CHANGES debug flag
3721
3722         * lyxfind.h:
3723         * lyxfind.C: add code for finding the next change piece
3724
3725         * lyxrc.h:
3726         * lyxrc.C: add user_name and user_email
3727
3728         * lyxrow.h:
3729         * lyxrow.C: add a metric for the top of the text line
3730
3731         * lyxtext.h:
3732         * text.C: implement accept/rejectChange()
3733
3734         * lyxtext.h:
3735         * text.C: paint changebars. Paint new/deleted text in the chosen
3736         colours. Strike through deleted text.
3737
3738         * paragraph.h:
3739         * paragraph.C:
3740         * paragraph_pimpl.h:
3741         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3742           in the current change to the insert functions. Rework erase to
3743           mark text as deleted, adding an eraseIntern() and a range-based
3744           erase(). Implement per-paragraph change lookup and
3745           accept/reject.
3746
3747         * paragraph_funcs.C: Fixup paste for change tracking.
3748
3749         * tabular.C: mark added row/columns as new.
3750
3751         * text.C: fix rowLast() to never return -1. Don't allow
3752           spellchecking of deleted text. Track transpose changes. Don't
3753           allow paragraph break or merge where appropriate.
3754
3755         * text2.C: leave cursor at end of selection after a cut.
3756
3757 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3758
3759         * text.C (getLengthMarkerHeight):
3760         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3761         visible on screen too.
3762
3763 2003-02-07  John Levon  <levon@movementarian.org>
3764
3765         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3766
3767 2003-02-05  Angus Leeming  <leeming@lyx.org>
3768
3769         * lyxserver.C (read_ready): revert my patch of 11 September last year
3770         as it sends PC cpu through the roof. Presumably this means that
3771         the lyxserver will no longer run on an Alpha...
3772
3773 2003-01-30  Angus Leeming  <leeming@lyx.org>
3774
3775         * factory.C (createInset): create an InsetCommandParam of type "index"
3776         and use it to 'do the right thing'.
3777
3778         * text2.C (getStringToIndex): ensure that cursor position is always
3779         reset to the reset_cursor position.
3780
3781 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3782
3783         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3784         disabled.
3785
3786 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3787
3788         * bufferview.C:
3789         * lyxcb.C:
3790         * lyxfunc.C: Output messages with identical spelling, punctuation,
3791         and spaces
3792
3793 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3794
3795         * MenuBackend.C (expandFormats): List only viewable export formats
3796         in "View" menu
3797
3798         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3799         message
3800
3801         * lyxfunc.C (getStatus): Make sure that formats other than
3802         "fax" can also be disabled
3803
3804 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3805
3806         * text3.C (dispatch): put the lfuns that insert insets in 3
3807         groups, and call doInsertInset with appropriate arguments.
3808         (doInsertInset): new function, that creates an inset and inserts
3809         it according to some boolean parameters.
3810
3811 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * buffer.C (readFile): remember to pass on 'par' when calling
3814         readFile recursively.
3815
3816 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3817
3818         * MenuBackend.C (expandFormats): add "..." to import formats.
3819
3820 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3821
3822         * paragraph.C (asString): Remove XForms RTL hacks.
3823
3824 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3825         * buffer.C: fix typo
3826
3827 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * Makefile.am (LIBS): delete var
3830         (lyx_LDADD): add @LIBS@ here instead.
3831
3832 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3833
3834         * Clarify the meaning of "wheel mouse jump"
3835
3836 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3837
3838         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3839         tabular in a float
3840
3841 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3842
3843         * importer.C (Loaders): do not preallocate 3 elements in the
3844         vector, since one ends up with 6 elements otherwise
3845
3846 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3847
3848         * DepTable.C (write): write the file name as last element of the
3849         .dep file (because it may contain spaces)
3850         (read): read info in the right order
3851
3852 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3853
3854         * paragraph_pimpl.C (simpleTeXBlanks):
3855         (simpleTeXSpecialChars):
3856         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3857
3858         * tabular.C (latex): add some missing case statements. Reindent.
3859
3860         * MenuBackend.C (expandToc): remove unused variable.
3861
3862 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3863
3864         * LColor.C:
3865         * LaTeX.C:
3866         * LyXAction.C:
3867         * MenuBackend.C:
3868         * buffer.C:
3869         * exporter.C:
3870         * lyxfunc.C:
3871         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3872         and the like.
3873
3874 2003-01-05  John Levon  <levon@movementarian.org>
3875
3876         * BufferView.h:
3877         * BufferView.C: add getEncoding()
3878
3879         * kbsequence.h:
3880         * kbsequence.C: do not store last keypress
3881
3882         * lyxfunc.h:
3883         * lyxfunc.C: store last keypress here instead. Pass encoding
3884           to getISOEncoded()
3885
3886 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3887
3888         * lyx_main.C (init): remove annoying error message when following
3889         symbolic links (bug #780)
3890
3891 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3892
3893         * text.C (insertChar):
3894         * lyxrc.C (getDescription): remove extra spaces
3895
3896 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3897
3898         * lyxrc.C (getDescription): remove extra spaces
3899
3900 2002-12-20  John Levon  <levon@movementarian.org>
3901
3902         * text3.C: hack fix for page up/down across tall rows
3903
3904 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3905
3906         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3907         not been invoked
3908
3909 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3910
3911         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3912         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3913         thesaurus is not compiled in
3914
3915 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3916
3917         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3918
3919 2002-12-16  Angus Leeming  <leeming@lyx.org>
3920
3921         * lyxrc.[Ch]:
3922         * lyx_main.C (init): remove override_x_deadkeys stuff.
3923
3924 2002-12-12  John Levon  <levon@movementarian.org>
3925
3926         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3927           insert. Only remove shift modifier under strict
3928           circumstances.
3929
3930 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * MenuBackend.C (expandToc): fix crash.
3933
3934 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * MenuBackend.C (expandToc): gettext on float names.
3937
3938 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3939
3940         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3941         implement bool empty() [bug 490]
3942
3943 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3946
3947 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * several files: ws changes
3950
3951 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text2.C (setCounter): clean up a bit, use boost.format.
3954         (updateCounters): initialize par upon declaration.
3955
3956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3957         if the layout exists. We do not just store the layout any more.
3958         (SwitchLayoutsBetweenClasses): use boost.format
3959
3960 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3961
3962         * converter.C (convert): if from and to files are the same, use a
3963         temporary files as intermediary
3964
3965 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3966
3967         * commandtags.h:
3968         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3969
3970 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3971
3972         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3973
3974 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * tabular.C (asciiPrintCell): use string(size, char) instead of
3977         explicit loop.
3978
3979         * sgml.C (openTag): fix order of arguments to string constructor
3980         (closeTag): ditto
3981
3982         * lyxfunc.C (dispatch): use boost.format
3983
3984         * lots of files: change "c" -> 'c'
3985
3986 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3987
3988         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3989
3990 2002-11-25  Angus Leeming  <leeming@lyx.org>
3991
3992         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3993
3994         * lyx_main.C (init): compile fix.
3995
3996 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * lyx_cb.C (start): boost.formatify
3999         do not include <iostream>
4000
4001         * lengthcommon.C: ws only
4002
4003         * boost-inst.C,BoostFormat.h: add more explict instantations
4004
4005 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * lots of files: handle USE_BOOST_FORMAT
4008
4009 2002-11-21  John Levon  <levon@movementarian.org>
4010
4011         * pspell.C: fix compile
4012
4013 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4014
4015         * lyxfunc.C (dispatch): use boost::format
4016         (open): ditto
4017         (doImport): ditto
4018
4019         * lyxfont.C (stateText): use boost::format
4020
4021         * lyx_main.C (LyX): use boost::format
4022         (init): ditto
4023         (queryUserLyXDir): ditto
4024         (readRcFile): ditto
4025         (parse_dbg): ditto
4026         (typedef boost::function): use the recommened syntax.
4027
4028         * importer.C (Import): use boost::format
4029
4030         * debug.C (showLevel): use boost::format
4031
4032         * converter.C (view): use boost::format
4033         (convert): ditto
4034         (move): ditto
4035         (scanLog): ditto
4036
4037         * bufferview_funcs.C (currentState): use boost::format
4038
4039         * bufferlist.C (emergencyWrite): use boost::format
4040
4041         * buffer.C (readLyXformat2): use boost::format
4042         (parseSingleLyXformat2Token): ditto
4043
4044         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4045
4046         * LaTeX.C (run): use boost::format
4047
4048         * Chktex.C (scanLogFile): use boost::format
4049
4050         * BufferView_pimpl.C (savePosition): use boost::format
4051         (restorePosition): ditto
4052         (MenuInsertLyXFile): ditto
4053
4054         * BoostFormat.h: help file for explicit instation.
4055
4056 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4057
4058         * tabular.C (latex): Support for block alignment in fixed width
4059         columns.
4060
4061 2002-11-17  John Levon  <levon@movementarian.org>
4062
4063         * BufferView_pimpl.C:
4064         * lyx_cb.C:
4065         * lyxfunc.C: split filedialog into open/save
4066
4067 2002-11-08  Juergen Vigna  <jug@sad.it>
4068
4069         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4070         by my last patch (hopefully).
4071
4072 2002-11-08  John Levon  <levon@movementarian.org>
4073
4074         * iterators.h:
4075         * iterators.C:
4076         * buffer.h:
4077         * buffer.C:
4078         * paragraph.h:
4079         * paragraph.C:
4080         * toc.h:
4081         * toc.C: ParConstIterator, and use it (from Lars)
4082
4083 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4084
4085         * lyxtextclass.[Ch]: revise and add doxygen comments
4086
4087 2002-11-07  John Levon  <levon@movementarian.org>
4088
4089         * text.C: fix progress value for spellchecker
4090
4091         * toc.C: fix navigate menu for insetwrap inside minipage
4092
4093         * paragraph_funcs.C: added FIXME for suspect code
4094
4095 2002-11-07  John Levon  <levon@movementarian.org>
4096
4097         * BufferView_pimpl.C: fix redrawing of insets
4098           on buffer switch
4099
4100 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4101
4102         * text2.C (updateCounters): fix bug 668
4103
4104 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4105
4106         * text3.C (dispatch): Do not make the buffer dirty when moving the
4107         cursor.
4108
4109 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4110
4111         * vc-backend.C: STRCONV
4112         (scanMaster): ditto
4113
4114         * text2.C (setCounter): STRCONV
4115
4116         * paragraph.C (asString): STRCONV
4117
4118         * lyxlength.C (asString): STRCONV
4119         (asLatexString): ditto
4120
4121         * lyxgluelength.C (asString): STRCONV
4122         (asLatexString): ditto
4123
4124         * lyxfunc.C (dispatch): STRCONV
4125         (open): ditto
4126
4127         * lyxfont.C (stateText): STRCONV
4128
4129         * importer.C (Import): STRCONV
4130
4131         * counters.C (labelItem): STRCONV
4132         (numberLabel): ditto
4133         (numberLabel): remove unused ostringstream o
4134
4135         * chset.C: STRCONV
4136         (loadFile): ditto
4137
4138         * bufferview_funcs.C (currentState): STRCONV
4139
4140         * buffer.C (readFile): STRCONV
4141         (asciiParagraph): ditto
4142         (makeLaTeXFile): ditto
4143
4144         * Spacing.C (writeEnvirBegin): STRCONV
4145
4146         * LaTeXFeatures.C (getLanguages): STRCONV
4147         (getPackages): ditto
4148         (getMacros): ditto
4149         (getBabelOptions): ditto
4150         (getTClassPreamble): ditto
4151         (getLyXSGMLEntities): ditto
4152         (getIncludedFiles): ditto
4153
4154         * LaTeX.C: STRCONV
4155         (run): ditto
4156         (scanAuxFile): ditto
4157         (deplog): ditto
4158
4159         * LString.h: add the STRCONV macros
4160
4161         * BufferView_pimpl.C (savePosition): STRCONV
4162         (restorePosition): ditto
4163         (MenuInsertLyXFile): ditto
4164
4165         * vc-backend.C (scanMaster): change from submatch[...] to
4166         submatch.str(...)
4167
4168         * funcrequest.C: include config.h
4169
4170         * factory.C: include config.h
4171
4172         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4173
4174         * box.C: include config.h
4175
4176         * LaTeX.C (scanAuxFile): change from submatch[...] to
4177         submatch.str(...)
4178         (deplog): ditto
4179
4180 2002-10-25  Angus Leeming  <leeming@lyx.org>
4181
4182         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4183
4184         * ispell.[Ch] (setError): new method.
4185         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4186         Use setError() insetead of goto END.
4187
4188         * lyx_cb.C (AutoSave): move out child process into new class
4189         AutoSaveBuffer.
4190
4191 2002-10-30  John Levon  <levon@movementarian.org>
4192
4193         * text3.C: make start appendix undoable
4194
4195 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4196
4197         * lyxlength.C (inPixels): Fix returned value.
4198
4199         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4200         environment.
4201
4202 2002-10-24  Angus Leeming  <leeming@lyx.org>
4203
4204         * lyxgluelength.h: no need to forward declare BufferParams
4205         or BufferView, so don't.
4206
4207 2002-10-21  John Levon  <levon@movementarian.org>
4208
4209         * BufferView.C: menuUndo ->undo, redo
4210
4211         * BufferView.h: document, remove dead, make some methods private
4212
4213         * paragraph_funcs.h:
4214         * paragraph_funcs.C:
4215         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4216
4217         * buffer.h:
4218         * buffer.C:
4219         * sgml.h:
4220         * sgml.C: move sgml open/close tag into sgml.C
4221
4222         * bufferview_funcs.h: unused prototype
4223
4224         * lyxfunc.h:
4225         * lyxfunc.C: remove unused
4226
4227         * lyxtext.h:
4228         * text.C: remove unused
4229
4230 2002-10-21  John Levon  <levon@movementarian.org>
4231
4232         * BufferView.h:
4233         * BufferView.C:
4234         * BufferView_pimpl.h:
4235         * BufferView_pimpl.C: fix mouse wheel handling based on
4236           patch from Darren Freeman
4237
4238 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4239
4240         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4241
4242 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4243
4244         * lyxlength.C (inPixels): Fix hanfling of negative length.
4245         Fix LyXLength::MU case.
4246
4247 2002-10-16  John Levon  <levon@movementarian.org>
4248
4249         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4250
4251 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4252
4253         * converter.C (view): add support for $$i (file name) and $$p
4254         (file path) for the viewer command. If $$i is not specified, then
4255         it is appended to the command (for compatibility with old syntax)
4256
4257 2002-10-14  Juergen Vigna  <jug@sad.it>
4258
4259         * undo_funcs.C (textHandleUndo): alter the order in which the
4260         new undopar is added to the LyXText, as we have to set first
4261         the right prev/next and then add it as otherwise the rebuild of
4262         LyXText is not correct. Also reset the cursor to the right paragraph,
4263         with this IMO we could remove the hack in "redoParagraphs()".
4264
4265 2002-10-09  Angus Leeming  <leeming@lyx.org>
4266
4267         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4268         to turn off an optimisation if a new inset is to be inserted.
4269
4270 2002-10-11 André Pönitz <poenitz@gmx.net>
4271
4272         * lyxtext.h: make some functions public to allow access
4273         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4274
4275 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4276
4277         * text3.C (dispatch): when changing layout, avoid an infinite loop
4278         [bug #652]
4279
4280 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4281
4282         * lyxrc.C (read): treat a viewer or converter command of "none" as
4283         if it were empty.
4284
4285         * MenuBackend.C (expandFormats): for an update, also allow the
4286         formats that are not viewable
4287
4288         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4289         script if it is newer than the lyxrc.defaults in user directory
4290
4291 2002-10-07 André Pönitz <poenitz@gmx.net>
4292
4293         * text.C: Vitaly Lipatov's small i18n fix
4294
4295 2002-09-25  Angus Leeming  <leeming@lyx.org>
4296
4297         * ispell.h: doxygen fix.
4298
4299 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4300
4301         * buffer.h (readFile): Add a new argument to the method, to allow
4302         reading of old-format templates.
4303
4304 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4305
4306         * toc.C (getTocList): Get TOC from InsetWrap.
4307
4308 2002-09-16  John Levon  <levon@movementarian.org>
4309
4310         * lyxfunc.C: check tabular for cut/copy too
4311
4312 2002-09-12  John Levon  <levon@movementarian.org>
4313
4314         * LyXAction.C: tidy
4315
4316         * factory.h:
4317         * factory.C: add header
4318
4319         * paragraph_funcs.h:
4320         * paragraph_funcs.C: cleanup
4321
4322 2002-09-11  John Levon  <levon@movementarian.org>
4323
4324         * PrinterParams.h: odd/even default to true
4325
4326 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4327
4328         * PrinterParams.h: update printer parameters for new xforms dialog
4329
4330 2002-09-11  Angus Leeming  <leeming@lyx.org>
4331
4332         * lyxserver.C (read_ready): re-write to make it more transparent
4333         and to make it work in coherent fashion under Tru64 Unix.
4334
4335 2002-09-11  André Pönitz <poenitz@gmx.net>
4336
4337         * commandtags.h:
4338         * LyXAction.C:
4339         * text3.C: implement LFUN_WORDSEL
4340
4341 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4344         make floatlist_ a boost::shared_ptr<FloatList>
4345
4346         * lyxtextclass.C: include FloatList.h
4347         (LyXTextClass): initialize floatlist_
4348         (TextClassTags): add TC_NOFLOAT
4349         (Read): match "nofloat" to TC_NOFLOAT and use it.
4350         (readFloat): modify call to floatlist_
4351         (floats): ditto
4352         (floats): ditto
4353
4354         * FloatList.[Ch] (FloatList): remove commented out float
4355         initialization.
4356         (erase): new function
4357
4358 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4359
4360         * MenuBackend.C (expandToc): fix crash when there is no document
4361         open
4362
4363 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4364
4365         * many files: Add insetwrap.
4366
4367 2002-09-09  John Levon  <levon@movementarian.org>
4368
4369         * text2.C: remove confusing and awkward depth wraparound
4370
4371 2002-09-09  John Levon  <levon@movementarian.org>
4372
4373         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4374
4375         * buffer.h:
4376         * buffer.C: remove getIncludeonlyList()
4377
4378         * paragraph.C:
4379         * lyxfunc.C: remove headers
4380
4381 2002-09-09  Juergen Vigna  <jug@sad.it>
4382
4383         * text.C (getColumnNearX): fix form Michael this is most
4384         probably a cut&paste bug.
4385
4386 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4389
4390         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4391         references, ws changes.
4392
4393         * text2.C (init): update counters after init
4394         (insertParagraph): no need to set counter on idividual paragraphs.
4395         (setCounter): access the counters object in the textclass object
4396         on in the buffer object.
4397         (updateCounters): ditto
4398
4399         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4400         shared_ptr<Counters> to avoid loading counters.h in all
4401         compilation units.
4402         (LyXTextClass): initialize ctrs_
4403         (TextClassTags): add TC_COUNTER, and ...
4404         (Read): use it here.
4405         (CounterTags): new tags
4406         (readCounter): new function
4407         (counters): new funtion
4408         (defaultLayoutName): return a const reference
4409
4410         * counters.C (Counters): remove contructor
4411         (newCounter): remove a couple of unneeded statements.
4412         (newCounter): simplify a bit.
4413         (numberLabel): some small formatting changes.
4414
4415         * buffer.[Ch]: remove all traces of counters, move the Counters
4416         object to the LyXTextClass.
4417
4418 2002-09-06  Alain Castera  <castera@in2p3.fr>
4419
4420         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4421         package to set the horizontal alignment on fixed width columns.
4422
4423         * lyx_sty.C:
4424         * lyx_sty.h: added tabularnewline macro def.
4425
4426         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4427
4428 2002-09-06  John Levon  <levon@movementarian.org>
4429
4430         * LyXAction.C: tooltips for sub/superscript
4431
4432         * MenuBackend.C: a bit more verbose
4433
4434         * lyxfunc.C: tiny clean
4435
4436         * undo_funcs.C: document undo_frozen
4437
4438 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * counters.C (Counters): add missing algorithm counter.
4441
4442         * text2.C (setCounter): lookup the counter with layouts latexname
4443         instead of by section number.
4444         (setCounter): use a hackish way to lookup the correct enum
4445         counter.
4446         a float name->type change
4447         reset enum couners with counter name directly instead of depth value.
4448
4449         * counters.C (Counters): remove the push_backs, change to use the
4450         float type not the float name.
4451         (labelItem): remove unused string, float name->type change
4452
4453         * counters.h: don't include vector, loose the enums and sects vectors
4454
4455 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4458         (Read): add float->TC_FLOAT to textclassTags
4459         (Read): and handle it in the switch
4460         (readFloat): new function
4461
4462         * FloatList.C (FloatList): comment out the hardcoded float
4463         definitions.
4464
4465         * lyxlayout.h: ws change.
4466
4467 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4468
4469         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4470
4471 2002-09-03  Angus Leeming  <leeming@lyx.org>
4472
4473         * BufferView_pimpl.h: qualified name is not allowed in member
4474         declaration: WorkArea & Pimpl::workarea() const;
4475
4476         * factory.C: added using std::endl directive.
4477
4478         * text3.C: added using std::find and std::vector directives.
4479
4480 2002-08-29  André Pönitz <poenitz@gmx.net>
4481
4482         * lyxtext.h:
4483         * text2.C: remove unused member number_of_rows
4484
4485         * Makefile.am:
4486         * BufferView2.C: remove file, move contents to...
4487         * BufferView.C: ... here
4488
4489         * BufferView_pimpl.C:
4490         * factory.C: move more inset creation to factory
4491
4492         * vspace.C: avoid direct usage of LyXText, ws changes
4493
4494         * BufferView.[Ch]:
4495                 don't provide direct access to WorkArea, use two simple
4496                 acessors haveSelction() and workHeight() instead
4497
4498
4499 2002-08-29  John Levon  <levon@movementarian.org>
4500
4501         * BufferView_pimpl.C (dispatch): do not continue when
4502           no buffer
4503
4504 2002-08-28  André Pönitz <poenitz@gmx.net>
4505
4506         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4507
4508         * BufferView.h:
4509         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4510
4511 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4512
4513         * buffer.C: increment LYX_FORMAT to 221
4514
4515         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4516         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4517
4518         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4519
4520         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4521
4522 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4523
4524         * factory.C (createInset): use LyXTextClass::floats
4525
4526         * MenuBackend.C (expandFloatListInsert):
4527         (expandFloatInsert):
4528         (expandToc):
4529
4530         * text2.C (setCounter):
4531
4532         * LaTeXFeatures.C (useFloat):
4533         (getFloatDefinitions):
4534
4535         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4536
4537         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4538         floatlist_, with accessor floats().
4539
4540         * FloatList.h: remove global FloatList
4541
4542 2002-08-26  André Pönitz <poenitz@gmx.net>
4543
4544         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4545
4546         * BufferView.h:
4547         * BufferView2.C:
4548         * BufferView_pimpl.C:
4549         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4550
4551 2002-08-25  John Levon  <levon@movementarian.org>
4552
4553         * LyXAction.C: fix margin note description
4554
4555 2002-08-24  John Levon  <levon@movementarian.org>
4556
4557         * buffer.C:
4558         * bufferlist.C:
4559         * bufferview_funcs.C:
4560         * lyxfont.C:
4561         * undo_funcs.C: cleanups
4562
4563         * lyxfunc.C: disable CUT/COPY when no selection
4564
4565 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4566
4567         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4568         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4569
4570         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4571         Add backward compatibility to "mono", "gray" and "no".
4572
4573 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4574
4575         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4576         (and file_format >= 200).
4577
4578 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4579
4580         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4581
4582 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4583
4584         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4585
4586 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4587
4588         * BufferView_pimpl.C:
4589         * LyXAction.C:
4590         * buffer.C:
4591         * commandtags.h:
4592         * lyxfunc.C:
4593         * paragraph.[Ch]:
4594         * text2.C:
4595         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4596         inset and code to make it  work with the paragraph code. The inset
4597         can be anywhere in the paragraph, but will only do the expected
4598         thing in LaTeX if the layout file contains the parameter line
4599                         OptionalArgs    1
4600         (or more generally, a nonzero value) for that layout.
4601
4602 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * paragraph.h: remove the declaration of undefined counters class
4605         function.
4606
4607 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4608
4609         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4610         Dr. Richard Hawkins.
4611
4612 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4613
4614         * paragraph_funcs.h: remove some unneeded includes
4615
4616         * text.C (backspace): pasteParagraph now in global scipe
4617
4618         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4619         (pasteSelection): ditto
4620
4621         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4622         * paragraph_funcs.C (pasteParagraph): ... here
4623
4624 2002-08-20  André Pönitz <poenitz@gmx.net>
4625
4626         * commandtags.h: new LFUNs for swapping/copying table row/colums
4627
4628         * LyXAction.C:
4629         * lyxfunc.C: support for new lfuns
4630
4631 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * tabular.C:
4634         * buffer.[Ch]: remove NO_COMPABILITY stuff
4635
4636 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * boost.C (throw_exception): new file, with helper function for
4639         boost compiled without exceptions.
4640
4641         * paragraph.h:
4642         * lyxlength.C:
4643         * buffer.C:
4644         * ParameterStruct.h:
4645         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4646
4647         * bufferlist.C (emergencyWriteAll): use boost bind
4648
4649         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4650
4651         * text.C: include paragraph_funcs.h
4652         (breakParagraph): breakParagraph is now in global scope
4653
4654         * paragraph_funcs.[Ch]: new files
4655
4656         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4657         global scope
4658
4659         * buffer.C: include paragraph_funcs.h
4660         (insertStringAsLines): breakParagraph is now in global scope
4661
4662         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4663         paragraph_funcs.C
4664
4665         * CutAndPaste.C: include paragraph_funcs.h
4666         (cutSelection): breakParagraphConservative is now in global scope
4667         (pasteSelection): ditto
4668
4669         * buffer.h: declare oprator== and operator!= for
4670         Buffer::inset_iterator
4671
4672         * bufferlist.C (emergencyWrite): don't use fmt(...)
4673
4674         * text3.C: add using std::endl
4675
4676         * BufferView.C (moveCursorUpdate): remove default arg
4677
4678 2002-08-20  André Pönitz <poenitz@gmx.net>
4679
4680         * buffer.[Ch]: move inline functions to .C
4681
4682         * BufferView2.C:
4683         * BufferView_pimpl.C:
4684         * text.C:
4685         * buffer.[Ch]: use improved inset_iterator
4686
4687         * buffer.C:
4688         * paragraph.[Ch]: write one paragraph at a time
4689
4690 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4691
4692         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4693         style if style is not specified.
4694
4695 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4696
4697         * text2.C (setCounter): when searching for right label for a
4698         caption, make sure to recurse to parent insets (so that a caption
4699         in a minipage in a figure float works) (bug #568)
4700
4701 2002-08-20  André Pönitz <poenitz@gmx.net>
4702
4703         * text3.C: new file for LyXText::dispatch() and helpers
4704
4705         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4706
4707         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4708
4709 2002-08-19  André Pönitz <poenitz@gmx.net>
4710
4711         * lyxtext.h:
4712         * text.C: new LyXText::dispatch()
4713
4714         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4715
4716 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4717
4718         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4719
4720         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4721         Hebrew text.
4722
4723 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4724
4725         * Makefile.am: use $(variables) instead of @substitutions@
4726
4727 2002-08-15  André Pönitz <poenitz@gmx.net>
4728
4729         * lyxfunc.C:
4730         * BufferView_pimpl.C: streamlining mathed <-> outer world
4731         interaction
4732
4733         * commandtags.h:
4734         * LyXAction.C: remove unused LFUN_MATH
4735
4736 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4739
4740 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * paragraph.C (Paragraph): reformat a bit
4743         (cutIntoMinibuffer): use builtin InsetList function instad of
4744         doing it manually.
4745         (getInset): ditto
4746
4747         * buffer.C: include boost/bind.hpp, add using std::for_each
4748         (writeFileAscii): use ParagraphList iterators
4749         (validate): use for_each for validate traversal of paragraphs
4750         (getBibkeyList): use ParagraphList iterators
4751         (resizeInsets): use for_each to resizeInsetsLyXText for all
4752         paragraphs.
4753         (getParFromID): use ParagraphList iterators
4754
4755         * BufferView2.C (lockInset): use paragraph list and iterators
4756
4757 2002-08-14  John Levon  <levon@movementarian.org>
4758
4759         * lyxserver.C: remove spurious xforms include
4760
4761 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4762
4763         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4764
4765 2002-08-13  André Pönitz <poenitz@gmx.net>
4766
4767         * LyXAction.[Ch]:
4768         * lyxfunc.C: further cleaning
4769
4770 2002-08-13  André Pönitz <poenitz@gmx.net>
4771
4772         * funcrequest.h: new constructor
4773
4774         * funcrequest.C: move stuff here from .h
4775
4776         * Makefile.am:
4777         * BufferView_pimpl.C:
4778         * LyXAction.C:
4779         * toc.C:
4780         * lyxfunc.C: subsequent changes
4781
4782         * lyxfunc.h: new view() member function
4783
4784         * lyxfunc.C: subsequent changes
4785
4786 2002-08-13  Angus Leeming  <leeming@lyx.org>
4787
4788         * BufferView2.C:
4789         * BufferView_pimpl.C:
4790         * buffer.C:
4791         * converter.C:
4792         * importer.C:
4793         * lyxfunc.C:
4794         * lyxvc.C:
4795         * toc.C:
4796         * vc-backend.C:
4797         changes due to the changed LyXView interface that now returns references
4798         to member variables not pointers.
4799
4800 2002-08-13  Angus Leeming  <leeming@lyx.org>
4801
4802         * WordLangTuple (word, lang_code): return references to strings,
4803         not strings.
4804
4805         * BufferView.h:
4806         * SpellBase.h:
4807         * lyxtext.h: forward-declare WordLangTuple.
4808
4809         * BufferView2.C:
4810         * ispell.C:
4811         * pspell.C:
4812         * text.C: #include "WordLangTuple.h".
4813
4814         * lyxtext.h:
4815         * text.C: (selectNextWordToSpellcheck): constify return type.
4816
4817 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4818
4819         * buffer.C:
4820         * buffer.h:
4821         * lyxtext.h:
4822         * paragraph.C:
4823         * paragraph_pimpl.h:
4824         * text.C:
4825         * text2.C:
4826         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4827         suggested by Angus.
4828         Made updateCounter always count from start of buffer, and removed
4829         second argument (par).
4830         Reverted floats number display to '#'. Perhaps I'll try again when the
4831         code base is sanitized a bit.
4832
4833 2002-08-12  Angus Leeming  <leeming@lyx.org>
4834
4835         * buffer.[Ch] (getLabelList): constify.
4836
4837 2002-08-07  André Pönitz <poenitz@gmx.net>
4838
4839         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4840
4841         * funcrequest.h: extension to keep mouse (x,y) position
4842
4843 2002-08-12  Juergen Vigna  <jug@sad.it>
4844
4845         * BufferView2.C (insertErrors): forbid undo when inserting error
4846         insets.
4847
4848         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4849
4850 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * ParagraphList.[Ch]: new files
4853
4854         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4855
4856         * BufferView2.C (lockInset): ParagraphList changes
4857         * toc.C: ditto
4858         * text2.C: ditto
4859         * bufferlist.C: ditto
4860         * buffer.h: ditto
4861         * buffer.C: ditto
4862
4863 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4866         unused class variable counter_,
4867
4868         * paragraph.[Ch] (getFirstCounter): delete unused function
4869
4870         * counters.C: include LAssert.h
4871         (reset): add a new function with no arg, change other version to
4872         not have def. arg and to not allow empty arg.
4873
4874         * text2.C (setCounter): remove empty arg from call to Counters::reset
4875
4876 2002-08-11  John Levon  <levon@movementarian.org>
4877
4878         * Makefile.am: add WordLangTuple.h
4879
4880 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4883         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4884
4885         * insets/insettext.C: InsetList changes
4886
4887         * graphics/GraphicsSupport.C (operator()): InsetList changes
4888
4889         * toc.C (getTocList): InsetList changes
4890
4891         * paragraph_pimpl.[Ch]: InsetList changes
4892
4893         * paragraph.[Ch]: InsetList changes
4894
4895         * buffer.C (inset_iterator): InsetList changes
4896         (setParagraph): ditto
4897         * buffer.h (inset_iterator): ditto
4898         * iterators.C (operator++): ditto
4899         * iterators.h: ditto
4900
4901         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4902
4903         * InsetList.[Ch]: new files, most InsetList handling moved out of
4904         paragraph.C.
4905
4906         * BufferView2.C (removeAutoInsets): InsetList changes
4907         (lockInset): ditto
4908         (ChangeInsets): ditto
4909
4910 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * paragraph_pimpl.h (empty): new function
4913
4914         * paragraph.[Ch] (empty): new function
4915
4916         * other files: use the new Paragraph::empty function
4917
4918 2002-08-09  John Levon  <levon@movementarian.org>
4919
4920         * lyxtext.h: remove unused refresh_height
4921
4922 2002-08-09  John Levon  <levon@movementarian.org>
4923
4924         * Makefile.am:
4925         * sgml.h:
4926         * sgml.C:
4927         * buffer.C:
4928         * paragraph.h:
4929         * paragraph.C: move sgml char escaping out of paragraph
4930
4931         * paragraph.h:
4932         * paragraph.C: remove id setter
4933
4934         * buffer.C:
4935         * paragraph.C:
4936         * paragraph_pimpl.C: remove dead tex_code_break_column
4937
4938         * bufferview_funcs.C: small cleanup
4939
4940         * lyxfunc.C: remove dead proto
4941
4942         * lyxtext.h: make some stuff private. Remove some dead stuff.
4943
4944         * lyxgluelength.C: make as[LyX]String() readable
4945
4946 2002-08-08  John Levon  <levon@movementarian.org>
4947
4948         * LyXAction.h:
4949         * LyXAction.C:
4950         * MenuBackend.C:
4951         * ToolbarDefaults.C:
4952         * lyxfunc.C:
4953         * lyxrc.C:
4954         * toc.C: lyxaction cleanup
4955
4956 2002-08-08  John Levon  <levon@movementarian.org>
4957
4958         * BufferView2.C: small cleanup
4959
4960         * lyxfind.h:
4961         * lyxfind.C: move unnecessary header into the .C
4962
4963 2002-08-08  John Levon  <levon@movementarian.org>
4964
4965         * funcrequest.h: just tedious nonsense
4966
4967         * lyx_main.h:
4968         * lyx_main.C: cleanups
4969
4970         * buffer.C:
4971         * vspace.C: remove dead header lyx_main.h
4972
4973 2002-08-07  Angus Leeming  <leeming@lyx.org>
4974
4975         * Paragraph.[Ch]:
4976         * paragraph_pimpl.h:
4977         Forward declare class Counters in paragraph.h by moving the ctrs member
4978         variable into Paragraph::Pimpl.
4979         (counters): new method, returning a reference to pimpl_->ctrs.
4980
4981         * text2.C: ensuing changes.
4982
4983 2002-08-07  John Levon  <levon@movementarian.org>
4984
4985         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4986
4987         * BufferView_pimpl.C: announce X selection on double/triple
4988           click
4989
4990         * lyx_main.C: use correct bool in batch dispatch
4991
4992         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4993
4994 2002-08-07  André Pönitz <poenitz@gmx.net>
4995
4996         * funcrequest.h: new class to wrap a kb_action and its argument
4997
4998         * BufferView.[Ch]:
4999         * BufferView_pimpl[Ch]:
5000         * LaTeX.C:
5001         * LyXAction.[Ch]:
5002         * lyxfunc.[Ch]:
5003         * lyxrc.C: subsequent changes
5004
5005
5006 2002-08-07  John Levon  <levon@movementarian.org>
5007
5008         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5009           document options change.
5010
5011 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5012
5013         * counters.[Ch]
5014         * text2.C
5015         * paragraph.[Ch]
5016         * makefile.am: move counters functionality over from
5017         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5018
5019 2002-08-06  John Levon  <levon@movementarian.org>
5020
5021         * WordLangTuple.h: new file for word + language code tuple
5022
5023         * SpellBase.h:
5024         * pspell.h:
5025         * pspell.C:
5026         * ispell.h:
5027         * ispell.C:
5028         * lyxtext.h:
5029         * text.C:
5030         * text2.C:
5031         * BufferView.h:
5032         * BufferView2.C: use WordLangTuple
5033
5034         * layout.h:
5035         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5036
5037 2002-08-06  John Levon  <levon@movementarian.org>
5038
5039         * lyx_main.C: fix cmdline batch handling
5040
5041 2002-08-06  André Pönitz <poenitz@gmx.net>
5042
5043         * lyxrc.C: set default for show_banner to true
5044
5045 2002-08-06  John Levon  <levon@movementarian.org>
5046
5047         * pspell.C: fix a crash, and allow new aspell to work
5048
5049 2002-08-06  John Levon  <levon@movementarian.org>
5050
5051         * lyxfunc.C:
5052         * kbmap.C: small cleanup
5053
5054         * vspace.h:
5055         * vspace.C: add const
5056
5057 2002-08-05  John Levon  <levon@movementarian.org>
5058
5059         * LyXAction.C: back to tabular-insert
5060
5061 2002-08-04  John Levon  <levon@movementarian.org>
5062
5063         * BufferView.h:
5064         * BufferView.C: cosmetic change
5065
5066         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5067
5068         * bufferlist.C:
5069         * buffer.h:
5070         * buffer.C:
5071         * lyxcb.h:
5072         * lyxcb.C:
5073         * lyxserver.C:
5074         * lyxvc.C:
5075         * vc-backend.C:
5076         * BufferView2.C: purge all "Lyx" not "LyX" strings
5077
5078         * lyxcursor.h:
5079         * lyxcursor.C: attempt to add some documentation
5080
5081         * lyxfunc.C:
5082         * commandtags.h:
5083         * LyXAction.C:
5084         * ToolbarDefaults.C:
5085         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5086           merge with LFUN_TABULAR_INSERT
5087
5088         * Makefile.am:
5089         * SpellBase.h:
5090         * ispell.h:
5091         * ispell.C:
5092         * pspell.h:
5093         * pspell.C: split up i/pspell implementations into separate
5094           files, many cleanups
5095
5096         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5097
5098         * text2.C: some cleanup
5099
5100         * lyxfunc.C: don't check for isp_command == "none" any more, it
5101           didn't make any sense
5102
5103 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5104
5105         * counters.[Ch]
5106         * text2.C
5107         * paragraph.[Ch]
5108         * makefile.am: move counters functionality over
5109         from text2.C/paragraph.[Ch] to counters.[Ch], and
5110         make proper C++.
5111 2002-08-02  John Levon  <levon@movementarian.org>
5112
5113         * buffer.C: s/lyxconvert/lyx2lyx/
5114
5115 2002-08-02  Angus Leeming  <leeming@lyx.org>
5116
5117         * lyxlex.C: revert John's change as it breaks reading of the user
5118         preamble.
5119
5120 2002-08-02  Angus Leeming  <leeming@lyx.org>
5121
5122         * importer.C (Import):
5123         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5124         changes due to LyXView::view() now returning a boost::shared_ptr.
5125
5126 2002-08-02  John Levon  <levon@movementarian.org>
5127
5128         * lyxlex.C: small cleanup
5129
5130 2002-08-02  John Levon  <levon@movementarian.org>
5131
5132         * text2.C (status): small cleanup, no logic change
5133
5134 2002-08-01  John Levon  <levon@movementarian.org>
5135
5136         * buffer.h:
5137         * buffer.C (writeFile): don't output alerts, caller
5138           handles this
5139
5140         * bufferlist.C:
5141         * lyx_cb.C: from above
5142
5143         * lyxfunc.C: allow to open non-existent files
5144
5145 2002-07-31  John Levon  <levon@movementarian.org>
5146
5147         * lyxserver.C: don't let incidental errors get
5148           in the way (errno)
5149
5150 2002-07-30  John Levon  <levon@movementarian.org>
5151
5152         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5153
5154 2002-07-30  John Levon  <levon@movementarian.org>
5155
5156         * lyxserver.h:
5157         * lyxserver.C: remove I/O callback too
5158
5159 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5160
5161         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5162         log.
5163
5164 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * many files: strip,frontStrip -> trim,ltrim,rtrim
5167
5168 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * PrinterParams.h: remove extern containsOnly, and include
5171         support/lstrings.h instead.
5172
5173         * LaTeX.C (scanAuxFile): modify because of strip changes
5174         (deplog): ditto
5175         * buffer.C (makeLaTeXFile): ditto
5176         * bufferparams.C (writeFile): ditt
5177         * lyxfont.C (stateText): ditto
5178         * lyxserver.C (read_ready): ditto
5179         * vc-backend.C (scanMaster): ditto
5180
5181         * BufferView_pimpl.h: ws changes
5182
5183         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5184
5185 2002-07-26  André Pönitz <poenitz@gmx.net>
5186
5187         * kb_sequence.C: remove unnedred usings
5188
5189 2002-07-26  Juergen Vigna  <jug@sad.it>
5190
5191         * lyxfind.C (LyXReplace): we have to check better if the returned
5192         text is not of theLockingInset()->getLockingInset().
5193
5194 2002-07-25  Juergen Vigna  <jug@sad.it>
5195
5196         * lyxfind.C (LyXReplace): don't replace if we don't get the
5197         right LyXText.
5198
5199         * undo_funcs.C (createUndo): remove debugging code.
5200
5201 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5202
5203         * buffer.C (parseSingleLyXformat2Token): Use default placement
5204         when reading old floats.
5205
5206         * FloatList.C (FloatList): Change the default placement of figure
5207         and tables to "tbp".
5208
5209 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5210
5211         * MenuBackend.C: using std::max
5212
5213 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5214
5215         * MenuBackend.C (expandToc):
5216         (expandToc2): code moved from xforms menu frontend. It is now
5217         generic and TOCs are transparent to menu frontends.
5218
5219 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5220
5221         * toc.C (getTocList): protect against buf=0
5222
5223         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5224         Menu as first parameter. Now, this calls itself recursively to
5225         expand a whole tree (this will be useful for TOC handling)
5226         (expandFloatInsert): remove 'wide' version of floats
5227
5228         * MenuBackend.h (submenuname): returns the name of the submenu.
5229         (submenu): returns the submenu itself, provided it has been
5230         created by MenuBackend::expand
5231
5232 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5233
5234         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5235         insets which have noFontChange == true. (bug #172)
5236
5237 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5238
5239         * BufferView_pimpl.C: add connection objects and use them...
5240         (Pimpl): here.
5241
5242 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5243
5244         * MenuBackend.C (expandLastfiles):
5245         (expandDocuments):
5246         (expandFormats):
5247         (expandFloatListInsert):
5248         (expandFloatInsert):
5249         (expand): split expand in parts
5250
5251 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5252
5253         * lyx_gui.C: use lyx_gui::exit()
5254
5255 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5256
5257         * LyXAction.C: show the failing pseudo action
5258
5259 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5260
5261         * buffer.C (readFile): Run the lyxconvert script in order to read
5262         old files.
5263
5264 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5265
5266         * LyXAction.C:
5267         * commandtags.h:
5268         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5269
5270 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5271
5272         * LyXAction.C:
5273         * commandtags.h:
5274         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5275
5276 2002-07-22  Herbert Voss  <voss@lyx.org>
5277
5278         * lengthcommon.C:
5279         * lyxlength.[Ch]: add support for the vertical lengths
5280
5281 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5282
5283         * toc.[Ch]: std:: fixes
5284
5285 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5286
5287         * lyxrc.C: do not include lyx_main.h
5288
5289         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5290         for layouts
5291
5292         * lyxrc.C:
5293         * encoding.C:
5294         * bufferlist.C:
5295         * BufferView2.C: include "lyxlex.h"
5296
5297         * tabular.h:
5298         * bufferparams.h: do not #include "lyxlex.h"
5299
5300         * lyxtextclasslist.C (Add): remove method
5301         (classlist): renamed to classlist_
5302
5303         * paragraph_pimpl.C:
5304         * paragraph.C:
5305         * text2.C:
5306         * CutAndPaste.C:
5307         * bufferview_funcs.C:
5308         * bufferlist.C:
5309         * text.C:
5310         * LaTeXFeatures.C:
5311         * buffer.C:
5312         * toc.C (getTocList): use BufferParams::getLyXTextClass
5313
5314         * toc.C (getTocList): use InsetFloat::addToToc
5315
5316         * toc.[Ch]: new files, containing helper functions to handle table
5317         of contents
5318
5319         * lyxfunc.C (dispatch): no need to remove spaces around command
5320         given as a string
5321         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5322         first command of the sequence; it is not very clever, but I do not
5323         have a better idea, actually
5324
5325         * LyXAction.C (LookupFunc): make sure to remove space at the
5326         beginning and end of the command
5327
5328 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5329
5330         * MenuBackend.C (getMenubar): new method: return the menubar of
5331         this menu set
5332         (read): treat differently reading of menu and menubar (in
5333         particular, the menubar has no name now)
5334         (Menu::menubar): remove
5335
5336         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5337         saving is finished
5338
5339 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5340
5341         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5342         a bibitem inset in a RTL paragraph.
5343
5344 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5345
5346         * paragraph_pimpl.C: constify
5347
5348         * BufferView_pimpl.C:
5349         * LaTeX.C:
5350         * lyxfunc.C: fix dispatch in a nicer way
5351
5352 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5353
5354         * lyxfunc.C (dispatch):
5355         * BufferView_pimpl.C:
5356         * BufferView_pimpl.h:
5357         * BufferView.C:
5358         * BufferView.h: rename Dispatch() to dispatch()
5359
5360         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5361
5362         * lyxlayout.C (Read): honor DependsOn tag
5363
5364         * lyxlayout.[Ch] (depends_on): new method
5365
5366         * version.C.in: update lyx_docversion
5367
5368         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5369
5370         * paragraph.C (validate): remove from here...
5371         * paragraph_pimpl.C (validate): ... and move here
5372         (isTextAt): make it const
5373
5374         * buffer.C (getLists): ws cleanup
5375
5376 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5377
5378         * language.C (read): Use iso8859-1 encoding in latex_lang
5379         (this prevents LyX from crashing when using iso10646-1 encoding).
5380
5381 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5382
5383         * text2.C (toggleInset): if cursor is inside an inset, close the
5384         inset and leave cursor _after_ it
5385
5386 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5387
5388         * lyxfunc.C: move minibuffer completion handling out of here
5389
5390 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5391
5392         * BufferView_pimpl.C:
5393         * LaTeX.C: fix dispatch calls
5394
5395 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5396
5397         * text.C (drawChars): Fix Arabic text rendering.
5398
5399 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5400
5401         * LyXAction.C:
5402         * commandtags.h:
5403         * lyxfunc.C: remove message-push/pop
5404
5405         * lyxserver.C:
5406         * lyxfunc.h:
5407         * lyxfunc.C: rationalise some code by removing verboseDispatch
5408           in favour of a bool argument to dispatch()
5409
5410 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5411
5412         * lyx_main.C (init): make sure to read symlinks as absolute paths
5413
5414 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5415
5416         * lyxfunc.h:
5417         * lyxfunc.C: no need for commandshortcut to be a member
5418
5419 2002-07-15  André Pönitz <poenitz@gmx.net>
5420
5421         * converter.C: add support for $$s (scripts from lib/scripts dir)
5422         * lyx_main.C: white space
5423
5424 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5425
5426         * bufferlist.C:
5427         * lyxrc.h:
5428         * lyxrc.C: remove second exit confirmation
5429
5430 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5431
5432         * BufferView.h:
5433         * BufferView.C:
5434         * BufferView2.C:
5435         * BufferView_pimpl.h:
5436         * BufferView_pimpl.C:
5437         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5438
5439 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5440
5441         * MenuBackend.C (expand): add numeric shortcuts to document menu
5442
5443         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5444
5445 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5446
5447         * lyxfont.C (setLyXFamily):
5448         (setLyXSeries):
5449         (setLyXShape):
5450         (setLyXSize):
5451         (setLyXMisc):
5452         (lyxRead):
5453         * debug.C (value):
5454         * buffer.C (asciiParagraph): use ascii_lowercase
5455
5456 2002-07-15  Mike Fabian  <mfabian@suse.de>
5457
5458         * lyxlex_pimpl.C (search_kw):
5459         * lyxlex.C (getLongString):
5460         * converter.h (operator<):
5461         * converter.C (operator<):
5462         * buffer.C (parseSingleLyXformat2Token):
5463         (asciiParagraph):
5464         * ToolbarDefaults.C (read):
5465         * MenuBackend.C (checkShortcuts):
5466         (read):
5467         * LColor.C (getFromGUIName):
5468         (getFromLyXName): use the compare_ascii_no_case instead of
5469         compare_no_case, because in turkish, 'i' is not the lowercase
5470         version of 'I', and thus turkish locale breaks parsing of tags.
5471
5472 2002-07-16  Angus Leeming  <leeming@lyx.org>
5473
5474         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5475         now takes a Buffer const & argument.
5476
5477 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5478
5479         * BufferView.C (resize): check there's a buffer to resize
5480
5481 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5482
5483         * lyxfunc.C: remove dead code
5484
5485         * lyxserver.h:
5486         * lyxserver.C: use lyx_guii::set_read_callback
5487
5488 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5489
5490         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5491         an inset in a RTL paragraph.
5492
5493 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5494
5495         * lyxfunc.C: repaint after a font size update
5496
5497 2002-07-15  André Pönitz <poenitz@gmx.net>
5498
5499         * lyxlength.C: inBP should be able to return negative values
5500
5501 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5502
5503         * lyxfunc.C: use lyx_gui::update_fonts()
5504
5505 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5506
5507         * lyxfunc.C: use lyx_gui::update_color()
5508
5509 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5510
5511         * bufferlist.C:
5512         * lyxfunc.h:
5513         * lyxfunc.C:
5514         * lyxrc.h:
5515         * lyxrc.C: remove file->new asks for name option, and let
5516           buffer-new take an argument
5517
5518 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5519
5520         * BufferView_pimpl.C: remove unneeded extra repaint()
5521
5522 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5523
5524         * LyXAction.C: allow command-sequence with NoBuffer
5525
5526         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5527
5528 2002-07-10  Angus Leeming  <leeming@lyx.org>
5529
5530         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5531
5532 2002-07-09  Angus Leeming  <leeming@lyx.org>
5533
5534         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5535
5536 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5537
5538         * lengthcommon.h: whitespace
5539
5540         * lyxfunc.C: update scrollbar after goto paragraph
5541
5542         * lyxtext.h: factor out page break drawing, and fix it so
5543           page break/added space paints as selected nicely
5544
5545 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5546
5547         * BufferView_pimpl.C: add FIXMEs, clean up a little
5548
5549 2002-07-09  André Pönitz <poenitz@gmx.net>
5550
5551         * lyxfont.[Ch]: support for wasy symbols
5552
5553 2002-07-08  André Pönitz <poenitz@gmx.net>
5554
5555         * BufferView_pimpl.C: apply John's patch for #93.
5556
5557 2002-07-05  Angus Leeming  <leeming@lyx.org>
5558
5559         * BufferView_pimpl.C (buffer): generate previews if desired.
5560
5561         * LColor.h: add "preview" to the color enum.
5562
5563         * LColor.C (LColor): add a corresponding entry to the items array.
5564
5565         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5566         with this buffer.
5567
5568 2002-07-05  Angus Leeming  <leeming@lyx.org>
5569
5570         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5571         The body of the code is now in the method that is passed an ostream &
5572         rather than a file name.
5573         Pass an additional only_preamble parameter, useful for the forthcoming
5574         preview stuff.
5575
5576 2002-07-03  André Pönitz <poenitz@gmx.net>
5577
5578         * lyxfunc.C: simplify getStatus() a bit for math stuff
5579
5580 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5581
5582         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5583
5584 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5585
5586         * text.C (changeRegionCase): do not change case of all the
5587         document when region ends at paragraph end (bug #461)
5588
5589 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5590
5591         * paragraph.C (startTeXParParams):
5592         (endTeXParParams): add \protect when necessary
5593
5594 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5595
5596         * BufferView_pimpl.C (workAreaExpose): remove warning
5597
5598 2002-06-27  Angus Leeming  <leeming@lyx.org>
5599
5600         * Makefile.am: add lyxlayout_ptr_fwd.h.
5601
5602 2002-06-26  André Pönitz <poenitz@gmx.net>
5603
5604         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5605
5606 2002-06-25  Angus Leeming  <leeming@lyx.org>
5607
5608         * lyxfunc.C (dispatch): Comment out the call to
5609         grfx::GCache::changeDisplay. The method no longer exists now that the
5610         pixmap generation part of the graphics loader has been moved into
5611         InsetGraphics.
5612
5613 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5614
5615         * text2.C: layout as layout
5616
5617         * text.C: layout as layout
5618
5619         * tabular.C (OldFormatRead): layout as layout
5620
5621         * paragraph_pimpl.C (TeXDeeper): layout as layout
5622         (realizeFont): layout as layout
5623
5624         * paragraph.C (writeFile): layout as layout
5625         (validate): layout as layout
5626         (getFont): layout as layout
5627         (getLabelFont): layout as layout
5628         (getLayoutFont): layout as layout
5629         (breakParagraph): layout as layout
5630         (stripLeadingSpaces): layout as layout
5631         (getEndLabel): layout as layout
5632         (getMaxDepthAfter): layout as layout
5633         (applyLayout): layout as layout
5634         (TeXOnePar): layout as layout
5635         (simpleTeXOnePar): layout as layout
5636         (TeXEnvironment): layout as layout
5637         (layout): layout as layout
5638         (layout): layout as layout
5639
5640         * lyxtextclass.C (compare_name): new functor to work with
5641         shared_ptr, layout as layout
5642         (Read): layout as layout
5643         (hasLayout): layout as layout
5644         (operator): layout as layout
5645         (delete_layout): layout as layout
5646         (defaultLayout): layout as layout
5647
5648         * lyxlayout_ptr_fwd.h: new file
5649
5650         * lyxlayout.C (Read): layout as layout
5651
5652         * lyx_cb.C (MenuInsertLabel): layout as layout
5653
5654         * bufferlist.C (newFile): layout as layout
5655
5656         * buffer.C (readLyXformat2): layout as layout
5657         (parseSingleLyXformat2Token): layout as layout
5658         (insertStringAsLines): layout as layout
5659         (asciiParagraph): layout as layout
5660         (latexParagraphs): layout as layout
5661         (makeLinuxDocFile): layout as layout
5662         (simpleLinuxDocOnePar): layout as layout
5663         (makeDocBookFile): layout as layout
5664         (simpleDocBookOnePar): layout as layout
5665         (getLists): layout as layout
5666
5667         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5668
5669         * CutAndPaste.C (cutSelection): layout as layout
5670         (pasteSelection): layout as layout
5671         (SwitchLayoutsBetweenClasses): layout as layout
5672
5673         * BufferView_pimpl.C (Dispatch): layout as layout
5674         (smartQuote): layout as layout
5675
5676         * BufferView2.C (unlockInset): layout as layout
5677
5678 2002-06-24  André Pönitz <poenitz@gmx.net>
5679
5680         * lyxfunc.C: fix #487
5681
5682 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5683
5684         * lyxrc.h:
5685         * lyxrc.C:
5686         * lyxfunc.C: remove display_shortcuts, show_banner
5687
5688 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5689
5690         * Buffer_pimpl.C: oops, update on resize
5691
5692 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5693
5694         * buffer.C:
5695         * converter.C:
5696         * exporter.C:
5697         * lyxfunc.C:
5698         * BufferView.h:
5699         * BufferView.C: use repaint()
5700
5701         * BufferView_pimpl.h:
5702         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5703           as it's a clearer description. Remove superfluous
5704           redraws.
5705
5706 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5707
5708         * text.C: fix bug 488. Not ideal, but getting
5709           getWord() to work properly for the insets that
5710           matter is more difficult ...
5711
5712 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5713
5714         * BufferView_pimpl.C:
5715         * LyXAction.C:
5716         * commandtags.h:
5717         * lyxfunc.C: remove the six million index lyxfuncs to just
5718           one, and DTRT (bug 458)
5719
5720 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5721
5722         * BufferView.h:
5723         * BufferView.C:
5724         * BufferView_pimpl.h:
5725         * BufferView_pimpl.C: clean up resize() stuff,
5726           and unnecessary updateScreen()s
5727
5728 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5729
5730         * BufferView.h:
5731         * BufferView.C:
5732         * BufferView_pimpl.h:
5733         * BufferView_pimpl.C:
5734         * lyxfind.h:
5735         * lyxfind.C:
5736         * minibuffer.C: remove focus management of workarea,
5737           not needed. Use screen's greyOut()
5738
5739 2002-06-17  Herbert Voss  <voss@lyx.org>
5740
5741         * converter.C: (convert) do not post a message, when converting
5742         fails, let the calling function decide what to do in this case
5743
5744 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5745
5746         * lyxfunc.C: tidy up a little
5747
5748 2002-06-16    <alstrup@diku.dk>
5749
5750         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5751         Got rid of FORMS_H_LOCATION include. Now we are
5752         GUII.
5753
5754 2002-06-15  LyX Development team  <lyx@rilke>
5755
5756         * buffer.[Ch] (sgmlOpenTag):
5757         (sgmlCloseTag): Added support for avoiding pernicious mixed
5758         content. Return number of lines written.
5759
5760         (makeLinuxDocFile):
5761         (makeDocBookFile): Fixed calls to sgml*Tag.
5762         Simple white space clean.
5763
5764         (simpleDocBookOnePar): Simple white space clean.
5765
5766         * tabular.[Ch] (docBook): Renamed to docbook and got another
5767         argument to related with the pernicious mixed content.
5768
5769         (docbookRow): Fixed calls for docbook inset method.
5770
5771 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5772
5773         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5774         so it's X11 independent.
5775
5776         * kb*.[Ch]: ditto.
5777
5778         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5779
5780 2002-06-15  Lyx Development team  <lyx@electronia>
5781
5782         * intl.h: Renamed getTrans to getTransManager.
5783
5784 2002-06-14  Angus Leeming  <leeming@lyx.org>
5785
5786         * Makefile.am: nuke forgotten stl_string_fwd.h.
5787
5788 2002-06-12  Angus Leeming  <leeming@lyx.org>
5789
5790         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5791
5792 2002-06-13  Angus Leeming  <leeming@lyx.org>
5793
5794         * LaTeX.C:
5795         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5796
5797 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5798
5799         * kbmap.C (getiso): add support for cyrillic and greek
5800
5801 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5802
5803         * BufferView.h:
5804         * BufferView.C:
5805         * BufferView_pimpl.h:
5806         * BufferView_pimpl.C: move bogus scrolling logic
5807           to xforms
5808
5809 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5810
5811         * lyxfunc.C:
5812         * BufferView_pimpl.C: view->resize() change
5813
5814 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5815
5816         * BufferView_pimpl.C: topCursorVisible
5817           prototype change
5818
5819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5820
5821         * Makefile.am:
5822         * lyx_gui.h:
5823         * lyx_gui.C: move to frontends/
5824
5825         * main.C:
5826         * lyx_main.h:
5827         * lyx_main.C: changes from above
5828
5829 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5830
5831         * intl.C:
5832         * intl.h:
5833         * kbmap.C:
5834         * kbsequence.C:
5835         * lyx_cb.C:
5836         * lyx_main.C: minor tidy
5837
5838 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5839
5840         * BufferView_pimpl.h:
5841         * BufferView_pimpl.C:
5842         * BufferView.h:
5843         * BufferView.C: make painter() const,
5844           remove dead code
5845
5846         * BufferView2.C: use screen() accessor
5847
5848         * lyx_main.h:
5849         * lyx_main.C: some minor cleanup
5850
5851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5852
5853         * BufferView_pimpl.h:
5854         * BufferView_pimpl.C: remove enter/leaveView,
5855           use workHeight()
5856
5857 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5858
5859         * BufferView.h:
5860         * BufferView.C:
5861         * BufferView2.C:
5862         * BufferView_pimpl.h:
5863         * BufferView_pimpl.C: only construct screen once,
5864           rename
5865
5866         * lyxrc.C: remove pointless comment
5867
5868 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5869
5870         * BufferView.h:
5871         * BufferView.C: remove active() and belowMouse()
5872
5873         * BufferView_pimpl.h:
5874         * BufferView_pimpl.C: use workarea() not workarea_,
5875           and make it use a scoped_ptr instead
5876
5877 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5878
5879         * lyx_gui.C: add debug message on BadWindow
5880
5881 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5882
5883         * sp_spell.C: fdopen is not part of the C++ standard.
5884
5885         * paragraph.C (InsetIterator): use >= instead of ==
5886
5887 2002-06-07  Angus Leeming  <leeming@lyx.org>
5888
5889         Fixes needed to compile with Compaq cxx 6.5.
5890         * BufferView_pimpl.C:
5891         * DepTable.C:
5892         * buffer.C:
5893         * converter.C:
5894         * encoding.C:
5895         * lyx_gui.C:
5896         * lyx_main.C:
5897         * lyxtextclasslist.C:
5898         * minibuffer.C:
5899         * sp_spell.C:
5900         * tabular_funcs.C:
5901         * vc-backend.C:
5902         all c-library variables have been moved into namespace std. Wrap
5903         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5904
5905         * lyxlength.C:
5906         * tabular-old.C:
5907         * tabular.C:
5908         Add a using std::abs declaration.
5909
5910         * kbmap.h (modifier_pair):
5911         * paragraph.h (InsetTable, InsetList):
5912         * lyxfont.h (FontBits):
5913         type definition made public.
5914
5915         * bufferlist.C (emergencyWriteAll): the compiler complains that
5916         there is more than one possible lyx::class_fun template to choose from.
5917         I re-named the void specialisation as lyx::void_class_fun.
5918
5919         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5920
5921         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5922         the compiler is is unable to find tostr in write_attribute.
5923
5924 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5925
5926         * buffer.C (sgmlError): hide #warning
5927
5928 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5929
5930         * xtl/*: get rid of xtl, which is not in use anyway
5931
5932         * LyXAction.C (init):
5933         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5934         were unimplemented xtl experimentation
5935
5936 2002-06-04  André Pönitz <poenitz@gmx.net>
5937
5938         * lyxfunc.C: disable array operation on simple formulae
5939
5940 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5941
5942         * converter.C: constify a bit
5943
5944 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5945
5946         * lyx_gui.C: check xforms version correctly
5947
5948 2002-04-30  Herbert Voss  <voss@lyx.org>
5949
5950         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5951         "keep" option
5952
5953 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5954
5955         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5956           attempt to register it with a VCS)
5957
5958 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5959
5960         * lyx_main.C (init): honor variables LYX_DIR_13x and
5961         LYX_USERDIR_13x
5962
5963 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5964
5965         * buffer.h:
5966         * buffer.C:
5967         * lyx_main.C: fix a crash on bad command line,
5968           and give a useful exit status on error
5969
5970         * lyxfunc.C (doImport): allow -i lyx to work
5971
5972 2002-03-30  André Pönitz <poenitz@gmx.net>
5973
5974         * lyxfunc.C: mathed font changes
5975
5976 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5977
5978         * LaTeX.C:
5979         * importer.h:
5980         * importer.C:
5981         * lyx_sty.h:
5982         * lyx_sty.C:
5983         * lyxlex.C:
5984         * lyxrow.h:
5985         * lyxtext.h:
5986         * paragraph.h:
5987         * paragraph.C:
5988         * texrow.h:
5989         * texrow.C:
5990         * text.C:
5991         * trans_mgr.h: srcdocs, and some minor cleanups
5992
5993 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5994
5995         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5996         call getFont all the time)
5997
5998 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5999
6000         * switch from SigC signals to boost::signals
6001
6002 2002-05-29  André Pönitz <poenitz@gmx.net>
6003
6004         * paragraph_pimpl.C (getChar): don't call size() too often...
6005
6006 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6007
6008         * paragraph_pimpl.C (insertChar): do not try to update tables when
6009         appending (pos == size())
6010
6011         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6012         in order to reduce drastically the number of comparisons needed to
6013         parse a large document
6014
6015 2002-05-29  André Pönitz <poenitz@gmx.net>
6016
6017         * text.C:
6018         * text2.C:
6019         * lyxtextclass.C:
6020         * sp_pspell.h:
6021         * textclasslist.[Ch]:
6022         * sp_ispell.h: whitespace change
6023
6024 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6025
6026         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6027         lyxaction directly now.
6028
6029 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6030
6031         * trans.C:
6032         * lyxfont.C:
6033         * lyxvc.C: remove unused headers
6034
6035 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6036
6037         * Makefile.am:
6038         * buffer.h:
6039         * undostack.h:
6040         * undostack.C:
6041         * undo_funcs.h:
6042         * undo_funcs.C: some cleanups. Use shared_ptr
6043           and a template for the undo stacks.
6044
6045 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6046
6047         * BufferView_pimpl.h:
6048         * BufferView_pimpl.C:
6049         * kbmap.h:
6050         * kbmap.C:
6051         * kbsequence.h:
6052         * kbsequence.C:
6053         * lyxfunc.h:
6054         * lyxfunc.C:
6055         * text2.C: use key_state/mouse_state
6056
6057 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6058
6059         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6060         and LSubstring
6061
6062         * chset.C: change include order
6063         (loadFile): use boost regex and get rid of LRegex and LSubstring
6064
6065         * Makefile.am (BOOST_LIBS): new variable
6066         (lyx_LDADD): use it
6067
6068         * LaTeX.C: change include order.
6069         (scanAuxFile): use boost regex and get rid of LRegex and
6070         LSubstring
6071         (deplog): ditto
6072
6073 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6074
6075         * ColorHandler.h:
6076         * ColorHandler.C:
6077         * FontInfo.h:
6078         * FontInfo.C: moved to frontends/xforms/
6079
6080         * FontLoader.h:
6081         * FontLoader.C: moved into frontends for GUIIzation
6082
6083         * Makefile.am:
6084         * lyx_gui.C:
6085         * lyxfont.C:
6086         * lyxfunc.C: changes from above
6087
6088 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6089
6090         * LColor.C: remove spurious X include
6091
6092         * BufferView_pimpl.C:
6093         * Makefile.am:
6094         * font.h:
6095         * font.C:
6096         * text.C:
6097         * text2.C: move font metrics to frontends/
6098
6099 2002-05-24  Juergen Vigna  <jug@sad.it>
6100
6101         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6102         setting the undo_cursor.
6103
6104         * ParagraphParameters.h: include local includes first.
6105
6106 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6107
6108         * BufferView_pimpl.C:
6109         * BufferView_pimpl.h:
6110         * Makefile.am:
6111         * WorkArea.h:
6112         * WorkArea.C:
6113         * screen.C: move WorkArea into frontends/
6114
6115         * lyxscreen.h:
6116         * screen.C:
6117         * text.C:
6118         * BufferView.C:
6119         * BufferView2.C: move LyXScreen into frontends/
6120
6121         * lyxlookup.h:
6122         * lyxlookup.C:
6123         * lyx_gui.C: move lyxlookup into frontends/xforms/
6124
6125 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6126
6127         * BufferView2.C:
6128         * BufferView_pimpl.C:
6129         * FontLoader.C:
6130         * LyXView.h:
6131         * LyXView.C:
6132         * Makefile.am:
6133         * WorkArea.C:
6134         * XFormsView.h:
6135         * XFormsView.C:
6136         * buffer.C:
6137         * bufferlist.C:
6138         * bufferview_funcs.C:
6139         * converter.C:
6140         * importer.C:
6141         * lyx_cb.C:
6142         * lyx_gui.C:
6143         * lyx_main.C:
6144         * lyx_find.C:
6145         * lyxfunc.C:
6146         * lyxvc.C:
6147         * minibuffer.C:
6148         * text.C:
6149         * text2.C:
6150         * trans.C:
6151         * vc-backend.C: move LyX/XFormsView into frontends/
6152
6153 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6154
6155         * Makefile.am:
6156         * PainterBase.C:
6157         * PainterBase.h:
6158         * Painter.C:
6159         * Painter.h:
6160         * WorkArea.C:
6161         * WorkArea.h:
6162         * screen.C:
6163         * tabular.C:
6164         * text.C:
6165         * text2.C: move Painter to frontends/
6166
6167 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6168
6169         * buffer.C: comment out some some code that depend upon lyx_format
6170         < 220
6171
6172         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6173         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6174
6175         * buffer.h (NO_COMPABILITY): turn off compability
6176
6177         * ColorHandler.C: include scoped_array.hpp
6178
6179         * font.C: Use more specific smart_ptr header.
6180         * Painter.C: ditto
6181         * gettext.C: ditto
6182         * ShareContainer.h: ditto
6183         * lyx_main.h: ditto
6184         * kbmap.h: ditto
6185         * FontInfo.h: ditto
6186         * BufferView_pimpl.h: ditto
6187         * ColorHandler.h: ditto
6188
6189         * kbmap.C (defkey): change call to shared_ptr::reset
6190
6191 2002-05-21  Juergen Vigna  <jug@sad.it>
6192
6193         * buffer.C (insertErtContents): fix to insert ert asis if it is
6194         non empty. Skip it completely if it contains only whitespaces.
6195
6196 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6197
6198         * BufferView_pimpl.C:
6199         * BufferView2.C: clear selection on paste (bug 393)
6200
6201 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6202
6203         * DepTable.C: include ctime
6204
6205 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6206
6207         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6208
6209 2002-05-14  Juergen Vigna  <jug@sad.it>
6210
6211         * text.C (breakParagraph): fixed function to honor the keepempty
6212         layout in the right maner and also to permit the right breaking
6213         algorithm on empty or non empyt keepempty paragraphs.
6214
6215         * paragraph.C (breakParagraph): we have to check also if the par
6216         is really empty (!size()) for isempty otherwise we do the wrong
6217         paragraph break.
6218
6219 2002-05-10  Juergen Vigna  <jug@sad.it>
6220
6221         * buffer.[Ch] : The following are only changes to the ert
6222         compatibility read reading old LaTeX layout and font stuff and
6223         convert it to ERTInsets.
6224
6225         * buffer.h: added isErtInset().
6226
6227         * buffer.C (struct ErtComp): add a fromlayout bool to check
6228         if we're inside a LaTeX layout.
6229         (isErtInset): new helper function.
6230         (insertErtContents): look for other ert insets before this one
6231         and insert the contents there, so that we don't have subsequent
6232         ERT insets with nothing between them. This way we create only one
6233         inset with multiple paragraphs. Also check if we don't insert only
6234         spaces ' ' as they are ignored anyway afterwards in the .tex file
6235         so if we have only spaces we will ignore this latex part in the
6236         new file.
6237         (parseSingleLyXformat2Token \\layout): better compatibility when
6238         reading layout-latex stuff.
6239         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6240         language tag.
6241         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6242         stuff after reading the inset only get the information back from
6243         the stack.
6244
6245 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6246
6247         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6248
6249         * LaTeXFeatures.C (getBabelOptions): New method.
6250
6251 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6252
6253         * BufferView_pimpl.C (Dispatch): work around missing argument for
6254         'layout'
6255
6256 2002-05-08  Juergen Vigna  <jug@sad.it>
6257
6258         * text.C (leftMargin): handle paragraph leftindent.
6259
6260         * paragraph.C (writeFile): write the new \\leftindent tag.
6261         (validate): handle leftindent code.
6262         (TeXEnvironment): handle paragraphleftindent code again.
6263
6264         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6265
6266         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6267         for paragrap_extra indent code and new token \\leftindent.
6268         (latexParagraphs): handle the leftindent as environment.
6269
6270         * ParameterStruct.h: added leftindent support.
6271
6272         * ParagraphParameters.C (leftIndent): added support functions for
6273         the paragraph left indent.
6274
6275         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6276         more appropriate.
6277
6278 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6279
6280         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6281         inside insetERT.
6282
6283         * text.C (computeBidiTables): No bidi in insetERT.
6284
6285         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6286         in RTL documents.
6287
6288 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6289
6290         * version.C.in: pre 5
6291
6292 2002-05-02  José Matos  <jamatos@fep.up.pt>
6293         * buffer.C (makeDocBookFile): white space changes, add newline to
6294         command styles.
6295         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6296
6297         * tabular.C (docBook): fix typo.
6298
6299 2002-05-03  Juergen Vigna  <jug@sad.it>
6300
6301         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6302         change in LyXText as we can not be sure it was not freed.
6303         (drawOneRow): remove unused code.
6304
6305         * text.C (drawInset): redo the calculation of the need_break_row as
6306         it could have a row which was already freed.
6307         (draw): look at the return value of drawInset and return false if
6308         it also returned false.
6309         (paintRowText): look at the return value of draw and return false if
6310         it also returned false.
6311
6312         * lyxtext.h: added bool return type to drawInset() and draw() so that
6313         if we have a change in the row so that the rowbreak has to be redone
6314         we abort drawing as it will be called again.
6315
6316 2002-05-02  Juergen Vigna  <jug@sad.it>
6317
6318         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6319         a change in the maintext also if we're inside an inset.
6320         (Dispatch): set the cursor again after a break line and after the
6321         screen has been updated as it could be we're in a different row.
6322
6323         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6324         to set the cursor behind the pargraph with > size().
6325         (setCursor): check also for the same paragraph when checking where
6326         to put the cursor if we have a NFR inset.
6327
6328         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6329         parts of layout read further up as it still was in the wrong
6330         position.
6331
6332 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6333
6334         * screen.C (drawFromTo): change sine fullRebreak always return
6335         true.
6336
6337         * buffer.C (parseSingleLyXformat2Token): reindent some
6338
6339         * BufferView_pimpl.C (update): change since fullRebreak always
6340         return true.
6341         (Dispatch): git rid of the last hardcoded "Standard"s.
6342
6343 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6344
6345         * text2.[Ch] (fullRebreak): make it return void now that we always
6346         returned true.
6347
6348 2002-04-30  Juergen Vigna  <jug@sad.it>
6349
6350         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6351         ert compatibility check for "latex" layout.
6352
6353 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6354
6355         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6356         minipages: use col% instead of p%, and also use the current font.
6357         (makeLaTeXFile): Fix use babel condition.
6358         (parseSingleLyXformat2Token): Correct font when reading old floats.
6359
6360 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6361
6362         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6363         inserting list of floats.
6364
6365 2002-04-25  Herbert Voss  <voss@lyx.org>
6366
6367         * MenuBackend.C (expand): don't add the graphics extensions to the
6368         export menu
6369
6370 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6371
6372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6373         non-existing layout, do not complain if it was the default layout
6374         of the original class (bug #342)
6375
6376 2002-04-24  Juergen Vigna  <jug@sad.it>
6377
6378         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6379         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6380
6381 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6382
6383         * buffer.C (getBibkeyList): If using \bibliography, return the
6384         option field with the reference itself. Enables us to provide natbib
6385         support when using \bibliography.
6386
6387 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6388
6389         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6390
6391         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6392         natbib is provided by the LaTeX class.
6393
6394 2002-04-23  Juergen Vigna  <jug@sad.it>
6395
6396         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6397         Wakeup functions.
6398
6399         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6400
6401 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6402
6403         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6404
6405         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6406         ensuremath around textordmasculine, textordfeminine and
6407         textdegree.
6408
6409 2002-04-19  Juergen Vigna  <jug@sad.it>
6410
6411         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6412         reinitializing the buffer otherwise row-dimensions may be wrong.
6413         (update): reset also the selection cursors if they do exits otherwise
6414         their x/y positions may be wrong.
6415
6416         * text2.C (cursorDown): don't enter the inset if we came from a row
6417         above and are one row over the inset.
6418
6419         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6420         really leaving an inset.
6421
6422 2002-04-18  Juergen Vigna  <jug@sad.it>
6423
6424         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6425         of the selected paragraph does not have the selected layout also if
6426         the last one had!
6427
6428         * text2.C (setLayout): fixed bug which did not change last selected
6429         paragraph.
6430
6431         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6432         changed the read and substituted \\end_float with \\end_inset!
6433
6434         * BufferView_pimpl.C (cursorPrevious):
6435         (cursorNext): fixed to make it work with rows heigher than the work
6436         area without moving the cursor only the draw of the row.
6437         (workAreaMotionNotify): fix jumping over high rows.
6438
6439 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6440
6441         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6442         Ressler.
6443
6444 2002-04-16  Juergen Vigna  <jug@sad.it>
6445
6446         * text2.C (setCursor): set also the irow().
6447         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6448         (cursorUp):
6449         (cursorDown): support for locking an inset if the x_fix value goes
6450         inside it. That way I can transverse insets too with cursor up/down.
6451
6452         * lyxrow.h: added irow helper function same as other (i) functions.
6453
6454         * BufferView_pimpl.C (cursorPrevious):
6455         (cursorNext): fixed for insets!
6456
6457 2002-04-15  Juergen Vigna  <jug@sad.it>
6458
6459         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6460         position otherwise it is wrong in some cases.
6461
6462         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6463         inside the inset before the call.
6464
6465 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6466
6467         * buffer.[Ch] (getBibkeyList): make it const.
6468
6469 2002-04-12  Juergen Vigna  <jug@sad.it>
6470
6471         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6472
6473         * text2.C (getCursorX): new helper function
6474         (setCursor): compute also ix_
6475         (setCursorFromCoordinates): set also ix.
6476
6477         * lyxcursor.h: added ix_ and helper functions.
6478
6479         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6480
6481         * buffer.C (insertStringAsLines): dont break paragraph if the this
6482         paragraph is inside an inset which does not permit it!
6483
6484         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6485         also with no chars on this paragraph.
6486         (paintRowText): only paint stuff if it's inside the workarea!
6487
6488         * paragraph.C (breakParagraph): honor keepempty flag and break the
6489         paragraph always below not above.
6490
6491         * BufferView2.C (unlockInset): update the paragraph layout on inset
6492         unlock as we changed paragraph in such a case.
6493
6494         * lyxfind.C (LyXFind): clear the former selection if not found!
6495
6496         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6497         again called in insertChar().
6498
6499         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6500         an inset which uses the whole row!
6501         (rightMargin): ditto.
6502         (insertChar): force a rebreak if we inserted an inset!
6503
6504 2002-03-28  Herbert Voss  <voss@lyx.org>
6505
6506         * lyxlength.[Ch]: add inBP() to get the right PS-point
6507         units (BigPoint). With inPixels we have rounding errors
6508
6509 2002-04-11  Juergen Vigna  <jug@sad.it>
6510
6511         * text2.C (setCursorFromCoordinates): set iy to the right value.
6512         (setCursor): add check if row->previous exists!
6513
6514         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6515         an old float_type as this was the case in the old code!
6516
6517         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6518
6519         * BufferView2.C (showLockedInsetCursor): use iy
6520         (fitLockedInsetCursor): ditto
6521
6522         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6523         locked insets as there we have the right value now.
6524
6525         * lyxcursor.C: added iy_ variable and iy functions to set to the
6526         baseline of cursor-y of the locked inset.
6527
6528         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6529         (setCursor): fixed for insets which need a full row.
6530
6531         * text.C (rowLastPrintable): don't ignore the last space when before
6532         an inset which needs a full row.
6533         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6534         as last character of a row when before a inset which needs a full row.
6535
6536 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6537
6538         * version.C.in: update date
6539
6540         * text2.C (fullRebreak): try to always return true and see what
6541         happens...
6542
6543 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6544
6545         * MenuBackend.C (expand): use Floating::listName
6546
6547         * FloatList.C (FloatList): add listName argument to the built-in
6548         floats
6549
6550         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6551         text associated with the float.
6552
6553 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6554
6555         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6556
6557 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6558
6559         * ShareContainer.h: add a couple of missing typenames.
6560
6561 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6562
6563         * lyxrc.C (getDescription): use _() correctly rather than N_().
6564
6565 2002-03-28  Herbert Voss  <voss@lyx.org>
6566
6567         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6568         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6569
6570 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6571
6572         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6573         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6574
6575 2002-03-29  Juergen Vigna  <jug@sad.it>
6576
6577         * lyxfunc.C (dispatch): add a missing fitCursor call.
6578
6579         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6580         it was scrolled by a cursor move, so return the bool status.
6581
6582         * BufferView.C (fitCursor): return the bool flag also to the outside
6583         world as this is needed.
6584
6585         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6586
6587         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6588         call the edit() as it is not needed (and wrong) IMO.
6589         (workAreaButtonPress): set the screen_first variable before evt.
6590         unlock the inset as this may change screen_first and then we have
6591         a wrong y position for the click!
6592
6593 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6594
6595         * MenuBackend.C (expand): another translation that I missed
6596
6597 2002-03-28  Juergen Vigna  <jug@sad.it>
6598
6599         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6600
6601         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6602
6603 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6604
6605         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6606
6607         * MenuBackend.C (expand): fix export/view/update when there is no
6608         document open.
6609
6610 2002-03-27  Herbert Voss  <voss@lyx.org>
6611
6612         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6613         and text%
6614
6615 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6616
6617         * bufferview_funcs.C (currentState): only show paragraph number
6618         for is DEVEL_VERSION is set.
6619
6620         * lyxfunc.C (dispatch): put warning in INFO channel
6621
6622         * MenuBackend.C (expand): translate the name of floats
6623
6624         * FloatList.C (FloatList): mark the float names for translation
6625
6626         * converter.C (convert): use LibScriptSearch
6627
6628 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6629
6630         * MenuBackend.C (defaults): fix default menu (we might as well get
6631         rid of it...)
6632
6633 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6634
6635         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6636         directory.
6637
6638 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6639
6640         * lyxvc.C: reorder includes.
6641
6642 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6643
6644         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6645           properly
6646
6647 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6648
6649         * CutAndPaste.C: change layouts earlier on paste
6650           to avoid crashing when calling getFont()
6651
6652 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6653
6654         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6655         irritating #error.
6656
6657 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6658
6659         * WorkArea.C: remove 'Pending' debug message.
6660
6661         * most files: ws cleanup
6662
6663         * buffer.[Ch]: ws changes
6664
6665         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6666
6667 2002-03-21  Juergen Vigna  <jug@sad.it>
6668
6669         * tabular.C (SetMultiColumn): collapse also the contents of the
6670         cells and set the last border right. Added a Buffer const * param.
6671
6672 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6673
6674         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6675         linking or not.
6676
6677 2002-03-19  Juergen Vigna  <jug@sad.it>
6678
6679         * text2.C (clearSelection): reset also xsel_cache.
6680
6681         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6682         where it needs to be called (John tells us to do so too :)
6683         (selectionLost): reset sel_cache.
6684
6685         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6686
6687 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6688
6689         * text2.C (setCursorIntern): put debuging code in INSETS channel
6690
6691 2002-03-19  André Pönitz <poenitz@gmx.net>
6692
6693         * lyxfunc.C: tiny whitespace change
6694
6695 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6696
6697         * ToolbarDefaults.C (init):
6698         * LyXAction.C (init):
6699         * commandtags.h:
6700         * BufferView_pimpl.C (Dispatch):
6701         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6702
6703 2002-03-19  Allan Rae  <rae@lyx.org>
6704
6705         * exporter.C (Export): removeAutoInsets before doing anything else.
6706         While I've just introduced a dependency on BufferView this really is
6707         the best place to clean the buffer otherwise you need to cleanup in
6708         a dozen places before calling export or cleanup in a dozen functions
6709         that export calls.
6710
6711         * converter.C (runLaTeX):
6712         (scanLog): Better handling of removeAutoInsets and screen updates.
6713
6714         * lyxfunc.C (dispatch): small whitespace changes
6715
6716 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6717
6718         * WorkArea.C (C_WorkAreaEvent): return a value.
6719         (event_cb): return 1 if we handled the event, 0 otherwise.
6720
6721         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6722
6723 2002-03-18  Juergen Vigna  <jug@sad.it>
6724
6725         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6726         (GetAdditionalWidth): ditto.
6727         (RightLine): ditto.
6728         (LeftLine): ditto.
6729
6730         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6731         inset if we're there actually (probably not used right now but this
6732         is the direction to go for unifying code).
6733         (paste): disable code to clear the selection.
6734
6735         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6736         inside an InsetText and move the check further up as it is in the
6737         wrong place.
6738
6739         * text2.C (pasteSelection): set a selection over the pasted text.
6740
6741 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6742
6743         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6744         and libgraphics to build on Cygwin.
6745
6746 2002-03-15  Juergen Vigna  <jug@sad.it>
6747
6748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6749         inserting an Inset into the paragraph. I know this is not the best
6750         fix but we already use current_view in CutAndPaste so we will remove
6751         all of it's using at the same time.
6752
6753         * buffer.C (sgmlError): deactivated function till it is rewritten in
6754         the right mode, now it can create problems.
6755
6756         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6757         before accessing it.
6758
6759 2002-03-14  Juergen Vigna  <jug@sad.it>
6760
6761         * undo_funcs.C (textHandleUndo): do the right thing when updating
6762         the inset after the undo/redo.
6763
6764         * text2.C (setCursor): just some testcode for #44 not ready yet.
6765
6766         * undo_funcs.C (textHandleUndo): set the next() and previous()
6767         pointers of the paragraph to 0 before deleting otherwise we have
6768         problems with the Paragraph::[destructor].
6769
6770         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6771         on a paragraph insertion.
6772
6773 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6774
6775         * buffer.C (asciiParagraph): use += operator for char append to
6776         string.
6777
6778         * paragraph.C (getFontSettings): compare >= not just >
6779         (highestFontInRange): ditto
6780         (setFont): ditto
6781
6782 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6783
6784         * paragraph.C: change several algorithm to be more appripriate for
6785         the problem domain. This is lookip in FontList and in the InsetList.
6786
6787 2002-03-13  André Pönitz <poenitz@gmx.net>
6788
6789         * commandtags.h:
6790         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6791
6792 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6793
6794         * commandtags.h:
6795         * LyXAction.C:
6796         * lyxfunc.C:
6797         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6798
6799 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6800
6801         * Painter.C (display): anon helper function, adjust code for this
6802         change.
6803         (pixmap): remove function.
6804
6805         * Painter.h: remove private display variable.
6806
6807         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6808
6809 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6810
6811         * WorkArea.[Ch]: remove figinset_canvas cruft.
6812
6813 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6814
6815         * lyxtextclass.C (operator): add one item cache optimization.
6816
6817         * bufferlist.h: doxy changes
6818
6819         * bufferlist.C: ws changes
6820
6821         * DepTable.[Ch] (ext_exist): place const in the right spot.
6822
6823         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6824         call resizeInsets.
6825         (workAreaExpose): call resizeInsets when the with BufferView changes.
6826         (Dispatch): adjust for protectedBlank removal
6827         (specialChar): call updateInset if the insert went ok.
6828
6829         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6830         specialChar instead.
6831
6832         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6833
6834         * BufferView.h: doxy change
6835
6836         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6837
6838         * lyxtextclass.C (operator[]): remove non-const version
6839         (defaultLayout): remove non-const version
6840
6841 2002-03-12  Juergen Vigna  <jug@sad.it>
6842
6843         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6844         did resize the LyXText too.
6845
6846         * buffer.C (readLyXformat2): set layout information on newly allocated
6847         paragraphs.
6848
6849         * tabular.C (OldFormatRead): set layout information on the paragraph.
6850
6851 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6852
6853         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6854
6855 2002-03-11  Juergen Vigna  <jug@sad.it>
6856
6857         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6858         plainly wrong.
6859         (resizeCurrentBuffer): force also the insets to resize themselfes.
6860         (moveCursorUpdate): fixed up for InsetText.
6861
6862 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6863
6864         * commandtags.h:
6865         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6866         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6867         value of Dialogs::tooltipsEnabled().
6868         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6869
6870 2002-03-08  Juergen Vigna  <jug@sad.it>
6871
6872         * BufferView_pimpl.C (updateInset): update inset inside inset also
6873         if it isn't inside theLockingInset().
6874
6875 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6876
6877         * buffer.C (asciiParagraph): redo some of the word and line length
6878         handling.
6879         (getLists): look for Caption instead of caption.
6880
6881 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6882
6883         * buffer.C (Buffer): initialize niceFile to true
6884         (makeLaTeXFile):
6885         (makeLinuxDocFile):
6886         (makeDocBookFile): make sure niceFile is true on exit
6887
6888 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6889
6890         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6891
6892 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6893
6894         * LyXSendto.C: remove.
6895         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6896         * lyx_gui.C: remove now-redundant comment.
6897         * ColorHandler.h: remove forward declaration of class WorkArea.
6898         * lyxfunc.C: remove #include "WorkArea.h".
6899
6900 2002-03-07  Juergen Vigna  <jug@sad.it>
6901
6902         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6903         got moved away with the DEPM and also set the inset_owner always
6904         right which before could have been omitted.
6905
6906 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6907
6908         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6909         wanted layout is not found.
6910
6911 2002-03-07  Juergen Vigna  <jug@sad.it>
6912
6913         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6914
6915 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6916
6917         * paragraph.C (breakParagraph): use default layout not layout of
6918         prev paragraph.
6919         (Paragraph): clear ParagraphParameters.
6920
6921 2002-03-06  Juergen Vigna  <jug@sad.it>
6922
6923         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6924         otherwise it would not be a valid lenght. Fixed a special case in
6925         the minipage compatibility read where we end the document with a
6926         minipage.
6927
6928         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6929         was set as it could be 0 for InsetTexts first entry.
6930
6931 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6932
6933         * paragraph.C (writeFile): if layout is empty write out
6934         defaultLayoutName().
6935
6936         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6937         file without named layout we set layout to defaultLayoutName().
6938
6939 2002-03-06  Juergen Vigna  <jug@sad.it>
6940
6941         * CutAndPaste.C (copySelection): set layout for new paragraph.
6942
6943         * text.C (prepareToPrint): leave ERT inset left aligned
6944         (leftMargin): don't indent paragraphs inside ERT insets
6945
6946 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6947
6948         * paragraph.C (breakParagraph): dont call clear do the work manually
6949
6950         * paragraph.[Ch] (clear): remove function
6951
6952 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6953
6954         * paragraph.C (Paragraph): dont call clear, the work has already
6955         been done.
6956
6957         * lyxtextclass.C (operator): assert if n is empty
6958
6959         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6960         work manually instead.
6961
6962 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6963
6964         * BufferView_pimpl.C: protect selectionLost against text == 0
6965
6966 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6967
6968         * text.C (breakParagraph): fix a setting layout to '0' problem.
6969
6970 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6971
6972         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6973         final location of file, for the included files, and graphics.
6974
6975 2002-03-05  Juergen Vigna  <jug@sad.it>
6976
6977         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6978
6979 2002-03-04  Juergen Vigna  <jug@sad.it>
6980
6981         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6982
6983         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6984         last column of multicolumn cells.
6985         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6986
6987 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6988
6989         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6990         file if it doesn't go to a temporary file.
6991
6992         * buffer.C (sgmlOpenTag):
6993         (sgmlCloseTag):  remove extra newline insertion.
6994
6995 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6996
6997         * text.C (getRowNearY): comment out debug msg
6998
6999 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7000
7001         * text2.C: first -> first_y
7002
7003         * text.C (getRowNearY): add some attemts at a possible
7004         optimization, not working.
7005
7006         * tabular.[Ch]: add BufferParams to several function so that newly
7007         created paragraph can be initialized to he default layotu for the
7008         buffers textclass.
7009
7010         * tabular-old.C (ReadOld): add buf->params to call of Init
7011
7012         * screen.C: rename text->first to text->first_y
7013
7014         * paragraph.C (breakParagraph): always set layout in the broken
7015         paragraph
7016
7017         * lyxtextclass.C (Read): remove lowercase
7018         (hasLayout): ditto
7019         (operator): ditto
7020         (delete_layout): ditto
7021
7022         * lyxtext.h: rename first -> first_y
7023
7024         * lyxlayout.C (Read): remove lowercase
7025         (name): ditto
7026         (setName): ditto
7027         (obsoleted_by): ditto
7028
7029         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7030
7031         * buffer.C (insertErtContents): add params are to InsetERT
7032         (parseSingleLyXformat2Token): add code to check if a paragraphs
7033         layout really exist.
7034         (parseSingleLyXformat2Token): add params to several inset
7035         constructors
7036         (asciiParagraph): remove lowercase, do the layout comparisons with
7037         no_case
7038
7039         * BufferView_pimpl.C (cursorNext): first -> first_y
7040         (resizeCurrentBuffer): first -> first_y
7041         (updateScrollbar): first -> first_y
7042         (scrollCB): first -> first_y
7043         (workAreaMotionNotify): first -> first_y
7044         (workAreaButtonPress): first -> first_y
7045         (checkInsetHit): first -> first_y
7046         (cursorPrevious): first -> first_y
7047         (cursorNext): first -> first_y
7048         (Dispatch): add buffer_->params to severl inset contructors
7049
7050 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7051
7052         * lyxlayout.C (Read): remove some debug info that I forgot.
7053
7054         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7055         clean up the code slightly.
7056         (makeLinuxDocFile): ditto
7057         (makeDocBookFile): ditto
7058
7059         * text2.C: layout as string
7060
7061         * text.C: layout as string
7062
7063         * paragraph_pimpl.C: layout as string
7064
7065         * paragraph.[Ch]: layout as string
7066
7067         * lyxtextclasslist.[Ch]: layout as string
7068
7069         * lyxtextclass.[Ch]: layout as string
7070
7071         * lyxtext.h: layout as string
7072
7073         * lyxlayout.[Ch]: layout as string
7074
7075         * lyx_cb.C: layout as string
7076
7077         * bufferview_funcs.C: layout as string
7078
7079         * bufferparams.C: layout as string
7080
7081         * buffer.C: layout as string
7082
7083         * LyXView.[Ch]: layout as string
7084
7085         * LaTeXFeatures.[Ch]: layout as string
7086
7087         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7088
7089         * BufferView_pimpl.C: change current_layout to string, remove
7090         lyx::layout_type.
7091         (Dispatch):
7092         (smartQuote):
7093         (insertInset):
7094         (workAreaButtonRelease): layout as string
7095
7096         * BufferView2.C (unlockInset): adjust
7097
7098         * vspace.C (asLatexCommand): use an explict temp variable.
7099
7100 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7101
7102         * Makefile.am: use FRONTEND_*
7103
7104 2002-03-01  Juergen Vigna  <jug@sad.it>
7105
7106         * tabular.C (SetWidthOfMulticolCell): changed to something better
7107         I hope but still work in progress.
7108         (recalculateMulticolumnsOfColumn): renamed function from
7109         recalculateMulticolCells as it is more appropriate now.
7110         (SetWidthOfCell): calculate multicols better.
7111
7112 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7113
7114         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7115
7116         * lyxfunc.C (processKeySym): print sequence also if it is
7117         `deleted' (complete)
7118
7119         * kbsequence.C (print): print sequence even if it is deleted
7120         (complete would be a better word, actually).
7121
7122         * lyxfunc.C (dispatch): print complete options after a prefix key
7123
7124         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7125
7126 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7127
7128         * text2.C (setCharFont): eliminate setCharFont code duplication.
7129
7130 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7131
7132         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7133         LFUN_TABULAR_FEATURE (bug #177)
7134
7135 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7136
7137         * Makefile.am: remove figure.h
7138
7139 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7140
7141         * Bufferview_pimpl.C:
7142         * CutAndPasteC:
7143         * LaTeX.C:
7144         * LyXSendto.C:
7145         * buffer.C:
7146         * bufferlist.C:
7147         * converter.C:
7148         * language.C:
7149         * lyxfunc.C:
7150         * lyxvc.C:
7151         * paragraph.C:
7152         * text.C:
7153         * text2.C: remove #include "lyx_gui_misc.h".
7154
7155         * LaTeX.C: added #include <cstdio>
7156
7157 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7158
7159         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7160         that the paragraph following this one can have.
7161
7162         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7163
7164         * vspace.C (asLatexCommand): fix bogus gcc warning
7165
7166         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7167
7168 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7169
7170         * text2.C (setLayout): get rid of redundant code
7171
7172 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7173
7174         * text2.C (incDepth): make sure depth cannot be increased beyond
7175         reasonable values.
7176
7177 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7178
7179         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7180         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7181
7182         * PainterBase.h (image):
7183         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7184         a LyXImage const *.
7185
7186 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7187
7188         * BufferView.C:
7189         * BufferView.h:
7190         * BufferView_pimpl.C:
7191         * BufferView_pimpl.h:
7192         * LaTeXFeatures.C:
7193         * LyXAction.C:
7194         * LyXView.C:
7195         * Makefile.am:
7196         * UpdateList.h:
7197         * UpdateList.C:
7198         * buffer.C:
7199         * figure.h:
7200         * figureForm.C:
7201         * figureForm.h:
7202         * figure_form.C:
7203         * figure_form.h:
7204         * lyx_cb.C:
7205         * lyx_gui.C:
7206         * lyx_gui_misc.C:
7207         * lyxfunc.C:
7208         * sp_base.h:
7209         * sp_ispell.h:
7210         * sp_pspell.h:
7211         * sp_spell.C: remove fig inset, and the crap house of
7212           cards that follows it
7213
7214 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7215
7216         * Makefile.am:
7217         * lyxserver.C:
7218         * os2_defines.h:
7219         * os2_errortable.h:
7220         * nt_defines.h: move .h into support/
7221
7222         * vms_defines.h: remove
7223
7224         * WorkArea.C: add space in debug output
7225
7226         * text2.C:
7227         * paragraph.C:
7228         * buffer.C: add WITH_WARNINGS
7229
7230         * vc-backend.h:
7231         * vc-backend.C:
7232         * bufferlist.C: s/retrive/retrieve/, add docs
7233
7234         * vspace.h:
7235         * vspace.C:
7236         * kbmap.h:
7237         * lyxlength.h:
7238         * lyxgluelength.h:
7239         * length_common.h:
7240         * chset.h:
7241         * chset.C: add docs
7242
7243         * lyxgui.C: add ID to X error handler
7244
7245         * lyxtestclass.c: fix typo
7246
7247 2002-02-26  Juergen Vigna  <jug@sad.it>
7248
7249         * tabular_funcs.C (write_attribute): changed so that some default
7250         attributes are not written at all.
7251         (getTokenValue): set default values before trying to read the
7252         value so we have the return value always set as default if we don't
7253         find the token we search for.
7254
7255         * tabular.C (Write): write bools as bools not as strings!
7256
7257 2002-02-22  Juergen Vigna  <jug@sad.it>
7258
7259         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7260         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7261
7262         * text.C (leftMargin): don't add an indent for paragraphs inside
7263         tabular cells (fix #208).
7264
7265 2002-02-21  José Matos  <jamatos@fep.up.pt>
7266
7267         * tabular.C (docBook): fixed support for long tables.
7268
7269 2002-02-20  Juergen Vigna  <jug@sad.it>
7270
7271         * text2.C (getFont): get the drawing font of the Inset if this
7272         paragraph is inside an inset (only important for InsetERT for now).
7273
7274         * buffer.C (insertErtContents): use new lanugage params in ERT
7275         constructor.
7276
7277         * CutAndPaste.C: commenting out seemingly uneeded code.
7278
7279 2002-02-19  Allan Rae  <rae@lyx.org>
7280
7281         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7282         Iterators might be simple to use but they also get invalidated.
7283         (removeAutoInsets): renamed saved cursor tracking variables and added
7284         some comments to clarify what everything does.
7285
7286 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7287
7288         * Chktex.C:
7289         * LaTeX.C:
7290         * LyXSendto.C:
7291         * converter.C:
7292         * lyx_cb.C:
7293         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7294         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7295
7296         * lyxfunc.C:
7297         * vc-backend.h: remove #include "support/syscall.h"
7298
7299         * LaTeX.C:
7300         * LyXSendto.C:
7301         * converter.C: rearrange #includes in Lars' approved fashion.
7302
7303         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7304         forward declare class Timeout in the header file.
7305
7306         * XFormsView.C: changes due to the above.
7307
7308         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7309         similar to LyXView.
7310
7311         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7312         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7313
7314 2002-02-18  José Matos  <jamatos@fep.up.pt>
7315
7316         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7317         insets contents.
7318
7319 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7320
7321         * a lot of small ws changes
7322         * add a lot of using std::XXX
7323         * use std construcs some places where approp.
7324         * use some exisint stuff from lyxfunctional where approp.
7325         * Make file changes to use partial linking (lets test this now...)
7326
7327 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7328
7329         * Chktex.C:
7330         * buffer.C:
7331         remove #include "support/syscontr.h" as it's redundant. Always has been.
7332
7333         * Chktex.C:
7334         * LaTeX.C:
7335         * LyXSendto.C:
7336         * converter.C:
7337         * lyx_cb.C:
7338         * vc-backend.C:
7339         change Systemcalls::System to Systemcalls::Wait and
7340         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7341         No change of functionality, just reflects the stripped down Systemcalls
7342         class.
7343
7344 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7345
7346         * debug.[Ch]: add a GRAPHICS type to the enum.
7347
7348 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7349
7350         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7351
7352         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7353         there is an inset.
7354
7355 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7356
7357         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7358         match the changes below.
7359
7360         * text2.C (toggleInset): if there is not editable inset at cursor
7361         position, try to see if cursor is _inside_ a collapsable inset
7362         and close it.
7363
7364 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7365
7366         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7367         document menu has a nice checkbox
7368
7369 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * lyxlength.C (asLatexString): change PW to output as percent of
7372         \textwidth.
7373
7374         * lengthcommon.C: change '%' to 't%'
7375
7376         * lyxfunc.C (dispatch): a few comments from Martin
7377
7378 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7379
7380         * WorkArea.h:
7381         * WorkArea.C:
7382         * BufferView_pimpl.h:
7383         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7384           the X selection.
7385
7386 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7387
7388         * vspace.C (inPixels): fix compiler warning
7389
7390 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7391
7392         * lyxfunc.C (getStatus): fix status message for disabled commands.
7393
7394 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7395
7396         * BufferView_pimpl.C: fix crash on close buffer
7397         during selection (#227)
7398
7399 2002-01-27  Herbert Voss  <voss@lyx.org>
7400
7401         * buffer.C: link old Figure to new graphic inset
7402
7403 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7404
7405         * FontLoader.C (getFontinfo): Change the latex font names in order
7406         to match the names of type1inst.
7407
7408 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7409
7410         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7411
7412         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7413         (extchanged): ditto
7414         (ext_exist): ditto
7415         (remove_files_with_extension): ditto
7416         (remove_file): ditto
7417         (write): ditto
7418
7419         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7420         document is smaller than the work area height. Do not initialize
7421         static variables to 0.
7422
7423 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7424
7425         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7426
7427         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7428         LFUN_LAYOUT_PARAGRAPHS.
7429
7430         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7431         tabular. It is possible to provide a possible cell, which will
7432         typically be the actcell from the corresponding insettabular
7433
7434         * lyxfunc.C (getStatus): small cleanup; disable
7435         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7436         true
7437
7438 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7439
7440         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7441
7442         * paragraph.C (startTeXParParams):
7443         (endTeXParParams): new methods. The LaTeX code to
7444         start/end paragraph formatting
7445         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7446         empty (fixes bug #200)
7447
7448         * vspace.C (inPixels): adapt to the change below
7449         (inPixels): [later] more cleanups (remove unused variables)
7450
7451         * lyxlength.C (inPixels): change to use a width and a height as
7452         parameter.
7453
7454 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7455
7456         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7457         Replaced with \paperwidth
7458
7459         * DepTable.C (insert): add std:: qualifier
7460
7461 2002-01-18  Allan Rae  <rae@lyx.org>
7462
7463         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7464         updated also?
7465
7466         * text.C (drawInset): Turned out I didn't know enough about how
7467         rebreaking worked.  This fixes most of the redraw problems.  I see
7468         an occasional cursor trail when a line is broken now and the cursor
7469         placement can seem out by a few pixels also after a rebreak.
7470
7471 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7472
7473         * buffer.C (parseSingleLyXformat2Token): update because minipage
7474         width is now a LyXLength
7475
7476         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7477
7478         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7479         math insets
7480
7481 2002-01-17  Juergen Vigna  <jug@sad.it>
7482
7483         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7484
7485         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7486         is set correctly and the inset is updated correctly.
7487
7488 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7489
7490         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7491         the beginning of the loop.
7492
7493 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * lyxrc.C: improve help for use_scalable_fonts
7496
7497 2002-01-17  Allan Rae  <rae@lyx.org>
7498
7499         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7500
7501 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7502
7503         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7504         make sure to set their inset_owner to the right value (bug #171)
7505
7506 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7507
7508         * DepTable.h
7509         * DepTable.C: Implement mtime checking to reduce time spent doing
7510         CRCs.
7511
7512 2002-01-16  Juergen Vigna  <jug@sad.it>
7513
7514         * tabular.C (GetAdditionalHeight): one of error fixed.
7515
7516         * lyxrc.C (output): small fix in writing use_pspell.
7517
7518 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7519
7520         * sp_base.h: #include LString.h
7521
7522 2002-01-16  Allan Rae  <rae@lyx.org>
7523
7524         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7525         Can someone check this please?
7526
7527         * text.C (drawInset): It was possible that p.row would be removed by
7528         breakAgainOneRow upsetting a few other settings.  There may be another
7529         small tweak possible by setting need_break_row = 0 when p.row has been
7530         removed but I don't know enough about the logic here.
7531
7532 2002-01-15  Allan Rae  <rae@lyx.org>
7533
7534         * text.C (insertChar): removed conditional truism.
7535
7536         * BufferView2.C (removeAutoInsets): More tweaks.
7537         cur_par_prev could be a stray pointer.  Check for trailing empty line
7538         in case last line was cur_par and only had an error inset on it.
7539
7540 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7543         absolute
7544
7545         * vc-backend.C (most methods):
7546         * exporter.C (Export):
7547         * converter.C (convert):
7548         (runLaTeX):
7549         * LyXSendto.C (SendtoApplyCB):
7550         * lyxfunc.C (dispatch):
7551         (menuNew):
7552         (open):
7553         (doImport):
7554         * lyx_cb.C (AutoSave):
7555         (InsertAsciiFile):
7556         * BufferView_pimpl.C (MenuInsertLyXFile):
7557         * buffer.C (runChktex): use Buffer::filePath().
7558
7559         * buffer.h: rename filename to filename_; rename filepath to
7560         filepath_ and make it private
7561         (filePath): new method
7562
7563         * buffer.C (writeFile): use fileName()
7564         (getLatexName):
7565
7566         * lyx_main.C (init): fix starting  of LyX when the binary is a
7567         link from so,ewhere else.
7568
7569         * minibuffer.C: include <cctype> for isprint
7570
7571 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7572
7573         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7574         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7575         name clash with InsetCollapsable's width function.
7576
7577 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7578
7579         * lastfiles.C: include <iterator>
7580
7581 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7582
7583         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7584         std::count.
7585
7586         * buffer.C (makeLaTeXFile): ditto.
7587         Also make loop operation more transparent.
7588
7589 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7590
7591         * ToolbarDefaults.C: remove trailing comma closing namespace.
7592
7593         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7594
7595         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7596         as in WorkArea.
7597
7598         * trans.C (Load): comment out unused variable, allowed.
7599
7600 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7601
7602         * minibuffer.[Ch] (append_char): new method to recieve input from the
7603         drop-down completion browser. If a key was pressed, then recieve this
7604         char and append it to the existing string.
7605         (peek_event): modify the positioning data passed to the completion
7606         browser so that it can be placed above the minibuffer rather than below.
7607 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7608
7609         * LyXAction.C (init): alloe error-next for readonly documents.
7610
7611         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7612         count.
7613
7614 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * bufferlist.C (readFile): create the buffer _after_ checking that
7617         the file exists.
7618
7619         * lyxfunc.C (verboseDispatch): fix handling of arguments
7620
7621         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7622
7623         * lyxrc.C: use string::erase() instead of initializing to "".
7624
7625
7626 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7627
7628         * BufferView_pimpl.h:
7629         * BufferView_pimpl.C:
7630         * WorkArea.h:
7631         * WorkArea.C:
7632         * text2.C: tell X when we have made a selection for copying
7633
7634 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7635
7636         * BufferView_pimpl.C (MenuInsertLyXFile):
7637         * lyxfunc.C (menuNew):
7638         (open):
7639         (doImport): add shortcuts to directory buttons
7640
7641         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7642         open a float)
7643
7644         * lyxfunc.C (setStatusMessage):
7645         (getStatusMessage): new methods
7646         (getStatus):use setStatusMessage instead of setErrorMessage
7647         (dispatch): when function is disabled, set error message here
7648         [instead of in getStatus previously]
7649
7650         * BufferView_pimpl.C (workAreaButtonRelease): update
7651         toolbar/menubar here too.
7652
7653 2002-01-13  Allan Rae  <rae@lyx.org>
7654
7655         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7656         Now seems indestructible.  Remaining task is to audit all other
7657         code affected by deleteEmptyParagraphMechanism.  One small quirk
7658         left is that an empty document with an error in the preamble can
7659         be made to report an error but no error box appears.  I don't know
7660         where it goes.
7661         (removeAutoInsets): Improved comments.
7662
7663 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7664
7665         * Thesaurus.h:
7666         * Thesaurus.C: update for Aiksaurus 0.14
7667
7668 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7669
7670         * text2.C (firstParagraph): removed member function, all uses
7671         replaces with ownerParagraph
7672         (redoParagraphs): here
7673         (updateInset): here
7674         (toggleAppendix): here
7675         * BufferView2.C (insertErrors): here
7676         (setCursorFromRow): here
7677
7678 2002-01-13  Allan Rae  <rae@lyx.org>
7679
7680         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7681         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7682         There is still a way to segfault this although you may have to do this
7683         multiple times: Have an InsetERT with an unknown command in it.
7684         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7685         <down-arrow>, <Enter> again, View->DVI, BANG!
7686
7687         * text2.C (setCursor):
7688         (deleteEmptyParagraphMechanism):
7689         * lyxtext.h (setCursor):
7690         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7691         Making use of the return value may help fix other bugs.
7692
7693 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7696
7697         * LyXView.C (updateMenubar): call MenuBar::update here
7698         (updateToolbar): but not here
7699         (showState): do not update toolbar/menubar
7700
7701         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7702         should need to care about that.
7703
7704         * lyxfunc.C (verboseDispatch): simplify a bit
7705         (getStatus): have a version which takes a pseudoaction, and
7706         another which requires a (kb_action,string).
7707
7708         * LyXAction.C (retrieveActionArg): make it work also when action
7709         is not a pseudo-action.
7710         (getActionName): simplify a bit
7711         (helpText):
7712
7713 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7714
7715         * lyxfunc.C (verboseDispatch): new families of methods with
7716         several ways to specify a command and a bool to indicate whether
7717         the command name and shortcut should be displayed in minibuffer
7718         (eventually, we could extend that to a finer bitmask like
7719         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7720         (dispatch): the pristine dispatch command which just, well,
7721         dispatchs! Note it still sets its result to minibuffer; I'm not
7722         sure we want that.
7723
7724         * lyxfunc.h: remove setHintMessage
7725
7726         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7727
7728 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7729
7730         * BufferView_pimpl.C (specialChar): delete new inset if we have
7731         not been able to insert it.
7732
7733         * kbmap.C: revert to using int instead of kb_action, since all we
7734         are dealing with is pseudo-actions.
7735
7736         * LyXAction.C (searchActionArg): change to return int instead of
7737         kb_action, since the result is a pseudoaction.
7738
7739 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7740
7741         * buffer.C (insertErtContents): Fix (partially) the font bug.
7742
7743 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7744
7745         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7746         as the other one is broken on my machine!
7747
7748 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7749
7750         * commandtags.h:
7751         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7752
7753 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7754
7755         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7756         reflect their actual use. Provide compatibility code for older lyxrc
7757         files.
7758
7759         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7760         FL_NORMAL_STYLE.
7761         change names of popup font variables in line with the changes to lyxrc.C
7762
7763 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7764
7765         * buffer.C (asciiParagraph): avoid outputing a word twice after
7766         an inset.
7767
7768         * lyxrc.C (getDescription): document that document_path and
7769         template_path can be empty.
7770
7771 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7772
7773         * LaTeXFeatures.C (getMacros):
7774         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7775
7776         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7777
7778         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7779         getPackages.
7780         (getPackages): rename feature "floats" to "float". Use an array to
7781         iterate over 'simple' features (i.e. just a \usepackage). Add
7782         handling of "amsmath" (renamed from "amsstyle").
7783
7784 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7785
7786         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7787         features list.
7788
7789 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7790
7791         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7792         FuncStaus::FuncStatus & FuncStaus::some_method().
7793
7794 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7795
7796         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7797         of the func_satus stuff. Edited and massaged in various ways by
7798         JMarc.
7799
7800         * lyxfunc.C (getStatus): use FuncStatus
7801
7802 2002-01-08  Juergen Vigna  <jug@sad.it>
7803
7804         * text.C (nextBreakPoint): use function Inset::isChar().
7805
7806         * paragraph.C (TeXOnePar): use function
7807         Inset::forceDefaultParagraphs.
7808
7809         * buffer.C (latexParagraphs): use function
7810         Inset::forceDefaultParagraphs.
7811
7812 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7813
7814         * lyx_gui.C (init): set the style of the menu popups to
7815         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7816
7817 2002-01-07  Juergen Vigna  <jug@sad.it>
7818
7819         * text.C (setHeightOfRow): small fix
7820         (prepareToPrint): don't look at alignment if we don't have the place
7821         for doing it.
7822
7823 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7824
7825         * box.C: New file. Move the Box methods and functions out of box.h,
7826         following Lars' suggestion.
7827
7828 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7829
7830         * box.h: #include "support/LOstream.h", needed for inlined function.
7831
7832         * lyxtextclass.C:
7833         * lyxtextclasslist.C: added some using std declarations.
7834
7835 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * box.h: make signed dimensions to allow insets wider than
7838           the screen (bug #162)
7839
7840         * BufferView_pimpl.C: add some insetHit debug
7841
7842 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7843
7844         * vc-backend.C: add FIXME
7845
7846 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7847
7848         * lyxfunc.C (getStatus): enable code for showing math font status
7849         in toolbar/menu.
7850
7851 2002-01-07  Juergen Vigna  <jug@sad.it>
7852
7853         * text.C (nextBreakPoint): removed debug output not needed anymore.
7854
7855 2002-01-06  Juergen Vigna  <jug@sad.it>
7856
7857         * text.C (nextBreakPoint): fixed up this function we had this bug
7858         since ever but now hopefully we break row better.
7859         (insertChar): we have to check if an inset is the next char as it
7860         could now happen that a large inset is causing a break.
7861
7862 2002-01-05  Juergen Vigna  <jug@sad.it>
7863
7864         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7865         if it doesn't like to be drawed.
7866
7867 2002-01-04  Juergen Vigna  <jug@sad.it>
7868
7869         * BufferView2.C (lockInset): forgot to set a cursor.
7870
7871         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7872
7873 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7874
7875         * FormMathsPanel.C:
7876         * FormMathsPanel.h
7877         * MathsSymbols.C:
7878         * form_maths_panel.C:
7879         * form_maths_panel.h:
7880         * form_maths_panel.fd: implemented sub- and super- buttons in math
7881         panel.
7882
7883         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7884         (or ^ space) to be used as in TeX (req'd by André).
7885
7886         * lyxfunc.C: Allow ^ and _ again to be used both as
7887         super/subscript (mathed) and as themselves (in text).
7888
7889 2002-01-03  Allan Rae  <rae@lyx.org>
7890
7891         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7892         "LyX" or the filename of the current buffer if it has one.  This is a
7893         modified form of John Levon's patch.
7894
7895         * XFormsView.C (setWindowTitle): also set icon title.
7896
7897         * LyXView.h (setWindowTitle): signature changed.
7898         * XFormsView.h (setWindowTitle): ditto.
7899
7900 2002-01-02  Juergen Vigna  <jug@sad.it>
7901
7902         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7903
7904 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7905
7906         * screen.C (topCursorVisible): introduce a temp var for
7907         text->cursor.row(), handle the case where this row is null. (kindo
7908         hachish)
7909
7910         * text2.C (setCursor): add a couple of asserts.
7911
7912         * paragraph.h (inset_iterator): add -> operator
7913
7914         * paragraph.[Ch] (autoDeleteInsets): remove member function
7915
7916         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7917         cursor pos correctly and handle inset deletion by itself.
7918         (insertErrors): move iterator declaration out of for expression
7919
7920         * lyxtextclass.C: add <algorithm>
7921
7922         * Makefile.am: added the new files to sources, removed layout.C
7923
7924         * layout.C: removed file
7925
7926         * layout.h: remove LYX_DUMMY_LAYOUT
7927
7928         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7929         layout.
7930
7931         * lyxlayout.[Ch]:
7932         * lyxtextclass.[Ch]:
7933         * lyxtextclasslist.[Ch]: new files
7934
7935         * include order changes to a lot of files, also changes because of
7936         the six new files.
7937
7938 2001-12-27  Juergen Vigna  <jug@sad.it>
7939
7940         * buffer.C (asciiParagraph): more fixes.
7941
7942         * tabular.C (ascii): make ascii export support export of only the
7943         data separated by a column-delimiter.
7944         (ascii): better support for ascii export.
7945
7946         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7947
7948 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7949
7950         * tabular_funcs.C: use a "using std::getline" instead of the
7951         previous fix from Angus (necessary for cxx + lyxstring)
7952
7953 2001-12-24  Juergen Vigna  <jug@sad.it>
7954
7955         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7956
7957         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7958         problems. First check a minipage also if we have some ert-contents
7959         (not only on par->size(), second set the right depth of the paragraph
7960         on the relink to the root-paragraph-list!
7961
7962         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7963         which then did not anymore update the main paragraphs on undo/redo!
7964
7965 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7968         code. Support all font-changing funcs (even those which are not in
7969         menu currently). Support for reporting font settings in
7970         mathed (disabled until Andre provides a function on mathed's side).
7971
7972         * func_status.h (toggle): small helper function to set toggle
7973         state on a flag.
7974
7975 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7976
7977         * tabular_funcs.C: getline -> std::getline
7978
7979 2001-12-21  Juergen Vigna  <jug@sad.it>
7980
7981         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7982         accessed and could be 0 (I couldn't generate this but it seems
7983         Michael could!).
7984
7985 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7986
7987         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7988         * tabular_funcs.h: here and include iosfwd
7989
7990 2001-12-20  Juergen Vigna  <jug@sad.it>
7991
7992         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7993         inside inset but undo_par was.
7994
7995 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7996
7997         * Thesaurus.C: always include <config.h> in sources.
7998
7999         * Painter.h:
8000         * lyxlookup.h:
8001         * box.h: do not include <config.h> in header files
8002
8003         * text.C (paintLastRow): remove unused variable
8004
8005         * text.C (transformChar):
8006         (insertChar):
8007         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8008
8009         * Painter.C (text):
8010         * font.C (width): rewrite to use uppercase() instead of
8011         islower/toupper.
8012
8013         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8014
8015 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * lyxfind.C: clean up of find failure position change
8018
8019 2001-12-20  Juergen Vigna  <jug@sad.it>
8020
8021         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8022
8023         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8024         (TeXRow): added to LaTeX a single tabular row.
8025         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8026         (Latex): simplified and finally good LT-h/f support.
8027         (various_functions): just small adaptions for LT-h/f support.
8028
8029         * tabular_funcs.[hC]: added and moved here all not classfunctions
8030         of LyXTabular.
8031
8032 2001-12-19  Juergen Vigna  <jug@sad.it>
8033
8034         * tabular.[Ch]: better support for longtabular options (not finished
8035         yet!)
8036
8037 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * text.C (paintLastRow): use the label font instead of the font of
8040         the last character to compute the size of *_BOX. This makes more
8041         sense and avoids a crash with empty paragraphs.
8042         Use Painter::rectangle to draw EMPTY_BOX.
8043
8044 2001-12-19  Juergen Vigna  <jug@sad.it>
8045
8046         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8047         the paragraphs if the replaced paragraph is not the first one!
8048         Tried to delete not used paragraphs but does not work yet so for
8049         now it's inside #ifdef's and by default off!
8050
8051 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * MenuBackend.C: include "lyx_main.h" instead of declaring
8054         lastfiles (actually was declared as LastFiles* instead of a
8055         scoped_ptr).
8056
8057 2001-12-17  Juergen Vigna  <jug@sad.it>
8058
8059         * tabular.C (AppendColumn): applied John's fix
8060
8061 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8062
8063         * BufferView.h:
8064         * BufferView.C:
8065         * BufferView_pimpl.h:
8066         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8067
8068         * Makefile.am:
8069         * box.h: new start of class for above
8070
8071         * lyxfunc.C: ignore space-only minibuffer dispatches.
8072           Show the command name when it doesn't exist
8073
8074         * minibuffer.C: don't add empty lines to the history
8075
8076         * minibuffer.C: add a space on dropdown completion
8077
8078 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8079
8080         * text.C: fix line above/below drawing in insets
8081
8082 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * lyxlength.C (LyXLength): Initialize private variables.
8085
8086 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8089         when inserting error insets.
8090
8091 2001-12-13  Juergen Vigna  <jug@sad.it>
8092
8093         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8094         actually sometimes the before-paragraph.
8095         (setUndo): don't clear the redostack if we're not actually undoing!
8096
8097 2001-12-06  Juergen Vigna  <jug@sad.it>
8098
8099         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8100         and fixed redoing of main paragraph, so we can use it now ;)
8101
8102         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8103
8104 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8105
8106         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8107         Juergen's request
8108
8109 2001-12-13  André Pönitz <poenitz@gmx.net>
8110
8111         * undostack.[Ch]:
8112         * undo_func.C: minor cleanup
8113
8114 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8115
8116         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8117         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8118         font in urw-fonts package which is marked as -urw-fontspecific and
8119         does not work (incidentally, changing the encoding in the
8120         fonts.dir of this package to -adobe-fontspecific fixes the
8121         problem).
8122
8123         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8124         is a crash when undoing first paragraph (Juergen, please take a
8125         look). THis does not mean the undo fix is wrong, just that it
8126         uncovers problems.
8127
8128         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8129         the (Paragraph*) version when needed instead of duplicating the
8130         code.
8131
8132         * text.C (workWidth): use Inset::parOwner to find out where the
8133         inset has been inserted. This is a huge performance gain for large
8134         documents with lots of insets. If Inset::parOwner is not set, fall
8135         back on the brute force method
8136
8137         * paragraph_pimpl.C (insertInset):
8138         * paragraph.C (Paragraph):
8139         (cutIntoMinibuffer): set parOwner of insets when
8140         inserting/removing them
8141
8142         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8143
8144 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8145
8146         * commandtags.h:
8147         * LyXAction.C:
8148         * lyx_main.C:
8149         * lyxfunc.C:
8150         * mathed/formulabase.C:
8151         * mathed/math_cursor.[Ch]:
8152         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8153
8154
8155 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8156
8157         * lyxlength.[Ch] (operator!=): new function
8158
8159 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8160
8161         * text.C (workWidth): use Inset::parOwner to find out where the
8162         inset has been inserted. This is a huge performance gain for large
8163         documents with lots of insets. If Inset::parOwner is not set, fall
8164         back on the brute force method
8165
8166         * paragraph_pimpl.C (insertInset):
8167         * paragraph.C (Paragraph):
8168         (cutIntoMinibuffer): set parOwner of insets when
8169         inserting/removing them
8170
8171         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8172
8173 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * tabular-old.C (getTokenValue):
8176         * tabular.C (getTokenValue):
8177         (write_attribute): new versions for LyXLength
8178         (everywhere): adjust the use of widths
8179
8180         * tabular.h: change the type of widths from string to LyXLength
8181
8182 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8183
8184         * paragraph.C: fixed missing line number count when exporting
8185         Environments to LaTeX file
8186
8187         * buffer.C: added informational message for checking line numbers.
8188
8189 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8192         paragraph, do the 'double space' part, but not the 'empty
8193         paragraph' one.
8194
8195         * text.C (workWidth): small optimization
8196         (getLengthMarkerHeight): use minimal size for negative lengths.
8197
8198 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8199
8200         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8201
8202         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8203
8204 2001-12-11  André Pönitz <poenitz@gmx.net>
8205
8206         * FontLoader.C:
8207         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8208
8209 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * text2.C: keep selection on a setFont()
8212
8213 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * lyx_cb.C: another bv->text misuse, from insert label
8216
8217 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8218
8219         * kbsequence.h:
8220         * kbsequence.C: re-instate nmodifier mask
8221
8222 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8223
8224         * lyx_main.h: make lyxGUI private.
8225
8226 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * lyxfind.C: place the cursor correctly on failed search
8229
8230 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8231
8232         * text.C (getLengthMarkerHeight): for small heights, the arrows
8233         are not always on top/bottom of the text
8234         (drawLengthMarker): smaller arrows; take the left margin in
8235         account; draw also vfills.
8236         (paintFirstRow):
8237         (paintLastRow): remove special code for vfill and standard spaces,
8238         since everything is handled in drawLengthMarker now.
8239
8240 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * buffer.C (insertErtContents): try to handle font and language
8243         interaction a bit better.g
8244
8245         * ColorHandler.C (updateColor): change the hash to cover the whole
8246         LColor enum, ws cleanup
8247         (getGCLinepars): ditto
8248         (getGCLinepars): only lookup in the linecache once.
8249
8250 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8251
8252         * iterators.C (operator++): Make the iterator more robust
8253
8254         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8255         (John's patch)
8256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8257
8258 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * lyxtext.h:
8261         * text.C: better added space drawing
8262
8263 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * LyXView.C:
8266         * BufferView2.C: fix layout combo update on inset unlock
8267
8268 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * Makefile.am: don't compile unused files
8271
8272 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8273
8274         * lyxfunc.C:
8275         * commandtags.h:
8276         * LyXAction.C: remove old LFUN_LAYOUTNO
8277
8278 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * paragraph_pimpl.h:
8281         * paragraph_pimpl.C: isTextAt() doesn't need font param
8282
8283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * lyxlex.h:
8286         * lyxlex.C: little cleanup
8287
8288 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8289
8290         * BufferView_pimpl.C: fix insertAscii for insets
8291
8292 2001-12-05  Juergen Vigna  <jug@sad.it>
8293
8294         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8295         set the right font on the "multi" paragraph paste!
8296
8297 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8298
8299         * trans_decl.h:
8300         * trans_mgr.[Ch]:
8301         * trans.[Ch]:
8302         * lyxgluelength.C:
8303         * lyxlength.C: remove out-commented code.
8304
8305         * BufferView_pimpl:
8306         * CutAndPaste.C:
8307         * DepTable.C:
8308         * buffer.C:
8309         * chset.C:
8310         * lastfiles.C:
8311         * lyxlex.C:
8312         * lyxlex_pimpl.C:
8313         * lyxserver.C:
8314         * screen.C:
8315         * tabular-old.C:
8316         * tabular.C:
8317         * text.C:
8318         * trans_mgr.C:
8319         * vc-backend.C: change "while(" to "while ("
8320
8321         * lyxlength.[Ch]: add zero function to check if length is zero or
8322         not
8323         * lyxgluelength.C: use it
8324
8325 2001-12-05  Allan Rae  <rae@lyx.org>
8326
8327         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8328         Works for 2.95.3, from what I understand of Garst's reports this should
8329         work for other g++ versions.  We're screwed if the abs(int) definition
8330         changed between bugfix releases of gcc.
8331
8332 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * text.C: fix chapter label offset !
8335
8336 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8337
8338         * lyxtext.h:
8339         * text.C: fix hfill at end of line, clean up
8340
8341 2001-12-04  Juergen Vigna  <jug@sad.it>
8342
8343         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8344         that we force an update of the inset and it's owners if neccessary.
8345
8346 2001-12-03  Juergen Vigna  <jug@sad.it>
8347
8348         * text.C (rowLast): simplified code
8349
8350 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * lyxfunc.C: fix show options on timeout
8353
8354 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8355
8356         * screen.C (topCursorVisible): scroll half a page when the cursor
8357         reached top of bottom of screen
8358
8359 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8360
8361         * minibuffer.C: deactivate on loss of focus
8362
8363 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8364
8365         * vspace.[Ch] (operator!=): add operator.
8366
8367 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * BufferView_pimpl.C: refuse to open an inset when
8370         there's a selection.
8371
8372 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * BufferView_pimpl.C: allow to click on RHS of full row insets
8375
8376 2001-11-30  Juergen Vigna  <jug@sad.it>
8377
8378         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8379         insets for undo reasons.
8380
8381 2001-11-28  André Pönitz <poenitz@gmx.net>
8382
8383         * vspace.[Ch]: cosmetical changes
8384
8385 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8386
8387         * LyXAction.h:
8388         * LyXAction.C:
8389         * lyxfunc.h:
8390         * lyxfunc.C:
8391         * kbmap.h:
8392         * kbmap.C:
8393         * lyxrc.C:
8394         * kbsequence.h:
8395         * kbsequence.C: part re-write of old kb code
8396
8397         * Painter.C:
8398         * WorkArea.C: remove Lgb_bug_find_hack
8399
8400 2001-11-30  José Matos <jamatos@fep.up.pt>
8401
8402         * buffer.C (makeDocBookFile): add a comment to point a hack.
8403         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8404         Fixed a double write of labels.
8405
8406 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8407
8408         * LaTeX.C:
8409         * LaTeX.h Fixed bug in LaTeX class where it would not
8410         re-run latex if no depfiles were changed, but the .dvi was removed.
8411
8412 2001-11-28  André Pönitz <poenitz@gmx.net>
8413
8414         * all the files from the change on 2001/11/26:
8415         use lyx::layout_type instead of LyXTextClass::size_type
8416         use lyx::textclass_type instead of LyXTextClassList::size_type
8417
8418 2001-11-29  Juergen Vigna  <jug@sad.it>
8419
8420         * text.C: added support for paragraph::isFreeSpacing()
8421
8422         * buffer.C: same as above
8423
8424         * paragraph.h: inserted isFreeSpacing() function to enable
8425         FreeSpacing inside InsetERT.
8426
8427         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8428         of the paragraph's in the cut/copy buffer to 0!
8429
8430         * text2.C (removeRow): remove the assert as it can!
8431
8432         * lyxtext.h: added helper function firstRow returning firstrow and
8433         made firstrow private again.
8434
8435         * BufferView2.C (lockInset): don't relock if we're already locked!
8436
8437         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8438         the only paragraph.
8439         (removeRow): added Assert::(firstrow)
8440
8441         * debug.C: forgot to add INSETTEXT here.
8442
8443 2001-11-28  Juergen Vigna  <jug@sad.it>
8444
8445         * sp_spell.C (initialize): changed error text to more general
8446         spellchecker command use (not only ispell!)
8447
8448         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8449
8450         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8451
8452 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8453
8454         * vspace.C: initialise lyxgluelength on failure
8455
8456 2001-11-28  Allan Rae  <rae@lyx.org>
8457
8458         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8459         declaration & definition that looks like a function declaration.
8460
8461 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8462
8463         * BufferView2.C (copy):
8464         (copyEnvironment): do not clear the selection when doing a copy.
8465
8466         * text.C (paintFirstRow): compilation fix
8467
8468 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8469
8470         * tabular.C (Latex): correct line count when writing latex.
8471
8472 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8473
8474         * paragraph_pimpl.h:
8475         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8476           bug a bit
8477
8478 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * text.C:
8481         * LColor.h:
8482         * LColor.C: change vfillline->added_space
8483
8484         * text.C: add markers and text for added space
8485
8486         * vspace.C: fix comment
8487
8488 2001-11-28  André Pönitz <poenitz@gmx.net>
8489
8490         * paragraph.C: whitespace changes
8491         * all the other files from the change on 2001/11/26:
8492         change *::pos_type into lyx::pos_type
8493
8494 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8495
8496         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8497         language of the document when inserting error insets.
8498
8499 2001-11-26  André Pönitz <poenitz@gmx.net>
8500
8501         * BufferView_pimpl.[Ch]:
8502         *       CutAndPaste.C:
8503         * buffer.[Ch]:
8504         * lyxcursor.[Ch]:
8505         * lyxfind.C:
8506         * lyxfunc.C:
8507         * lyxrow.[Ch]:
8508         * paragraph.[Ch]:
8509         * paragraph_pimpl.[Ch]:
8510         * sp_spell.C:
8511         * text.C:
8512         * text2.C: reduce header dependencies, introduce type for positions
8513
8514 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8515
8516         * <various>: change to use Alert.h
8517
8518 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8519
8520         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8521         when encountering an unknown token.
8522         (readLyXformat2): Show an error message if there were unknown tokens.
8523
8524 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8525
8526         * BufferView2.C:
8527         * BufferView_pimpl.C:
8528         * buffer.C:
8529         * paragraph.h:
8530         * text.C:
8531         * text2.C: use par->isInset()
8532
8533 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8534
8535         * paragraph_pimpl.h:
8536         * paragraph_pimpl.C: cleanup
8537
8538 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8539
8540         * text2.C (removeRow):
8541         * text.C (setHeightOfRow): remove useless (and costly) call to
8542         getRow.
8543
8544 2001-11-20  Allan Rae  <rae@lyx.org>
8545
8546         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8547         Now need Inset*::checkInsertChar() to return true for appropriate
8548         cases so that the characters in the minibuffer will actually be
8549         inserted.
8550
8551 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8552
8553         * text.C: change the order of the includes.
8554         (workWidth): initialize it at once.
8555         (workWidth): make maxw unsigned
8556         (setHeightOfRow): remove unused variable (inset)
8557         (selectSelectedWord): remove unused variable (inset)
8558         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8559
8560 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8561
8562         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8563         server is not running.
8564         (openConnection):
8565         (closeConnection): add debug info when server is disabled.
8566
8567         * ColorHandler.C (getGCForeground): send debug message to GUI
8568         channel.
8569
8570         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8571
8572         * kbmap.C (bind): modify because return conventions of
8573         kb_sequence::parse have changed.
8574
8575         * kbsequence.C (parse): only ignore spaces and not any stupid
8576         control character. This avoids tests like s[i] <= ' ', which are
8577         guaranteed to fail with 8bit characters and signed chars.
8578         Change return code to string::npos when there have been no error
8579         (0 was a bad idea when error is at first character)
8580
8581 2001-11-14  José Matos  <jamatos@fep.up.pt>
8582
8583         * buffer.h:
8584         * buffer.C (simpleDocBookOnePar): removed unused argument.
8585
8586 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8587
8588         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8589         insets which are part of a word. Paragraph::isLetter takes care of
8590         that now. Use Paragraph::isInset to identify insets.
8591         (selectSelectedWord): do not test for hyphenation break.
8592
8593         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8594         that protected spaces are considered as spaces.
8595
8596         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8597         Inset::isLetter.
8598
8599 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * lyxserver.h:
8602         * lyxserver.C: fix it. and small cleanup.
8603
8604 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * BufferView_pimpl.C: use inline helpers
8607
8608         * LaTeXFeatures.h:
8609         * LaTeXFeatures.C: fix typos
8610
8611         * Spacing.h:
8612         * Spacing.C: move spacing_string into class
8613
8614         * ToolbarDefaults.C: move stuff into namespace anon
8615
8616         * layout.h: update enum
8617
8618         * lyxfunc.C: use better debug
8619
8620         * minibuffer.h: fix typo
8621
8622         * debug.h:
8623         * debug.C:
8624         * WorkArea.C: add and use Debug::WORKAREA
8625
8626         * lyxtext.h:
8627         * text.C:
8628         * text2.C: code re-organisation, inline helpers
8629
8630 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8631
8632         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8633         std::vector.empty().
8634
8635 2001-11-09  Allan Rae  <rae@lyx.org>
8636
8637         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8638         '\n's after tables.  Tabular and ERT inset work now makes this no
8639         longer necessary.
8640
8641 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * minibuffer.h:
8644         * minibuffer.C: fix crash, improve drop-down completion
8645
8646 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * lyxserver.h:
8649         * lyxserver.C: invalidate fd's when doing endPipe()
8650
8651 2001-11-08  José Matos  <jamatos@fep.up.pt>
8652
8653         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8654         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8655
8656         * paragraph.h:
8657         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8658
8659 2001-11-07  José Matos  <jamatos@fep.up.pt>
8660
8661         * buffer.h:
8662         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8663         const qualifier.
8664
8665         * buffer.C (sgmlOpenTag):
8666         * buffer.C (sgmlCloseTag): removed debug info.
8667
8668         * buffer.h (sgmlOpenTag):
8669         * buffer.h (sgmlCloseTag): made public.
8670
8671 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8672
8673         * buffer.C (saveParamsAsDefaults):
8674         * lyx_cb.C (MenuLayoutSave): remove
8675
8676         * LyXAction.C (init):
8677         * commandtags.h:
8678         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8679
8680 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * buffer.C (setPaperStuff): removed from here...
8683
8684         * bufferparams.C (setPaperStuff): ... and moved there.
8685
8686 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * minibuffer.h:
8689         * minibuffer.C:
8690         * XFormsView.C: add support for drop-down completion
8691
8692 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8693
8694         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8695         commands.
8696
8697 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8698
8699         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8700         disabled.
8701
8702 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * lyx_main.C: change ref to known bugs
8705
8706 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8707
8708         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8709         to work around older babel problems.
8710
8711 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8712
8713         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8714
8715 2001-10-24  Juergen Vigna  <jug@sad.it>
8716
8717         * tabular-old.C (ReadOld): below variable changes reflected.
8718
8719         * tabular.[Ch]: added ltType struct for longtable header/footer
8720         defines and changed all instances where they are used. Added
8721         future support for double top/bottom rows.
8722
8723 2001-10-24  José Matos  <jamatos@fep.up.pt>
8724
8725         * buffer.h (docbookHandleCaption):
8726         * buffer.C (docbookHandleCaption): removed unused function.
8727         (makeDocBookFile): moved docbook supported version to v4.1.
8728
8729 2001-10-24  José Matos  <jamatos@fep.up.pt>
8730
8731         * tabular.h:
8732         * tabular.C (docbookRow): new function to export docbook code of a row.
8733         (DocBook): now honors the longtable flags.
8734
8735 2001-10-23  José Matos  <jamatos@fep.up.pt>
8736
8737         * LaTeXFeatures.h:
8738         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8739         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8740
8741         * buffer.C (makeLinuxDocFile):
8742         (makeDocBookFile): reworked the preamble, more clean, and with
8743         support for lyx defined entities. Changed the document declaration
8744         to be more XML friendly.
8745
8746         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8747         if we need to output XML that should be done with a filter.
8748
8749 2001-10-22  Juergen Vigna  <jug@sad.it>
8750
8751         * sp_pspell.h (class PSpell): add alive function needed in the
8752         controller to see if the spellchecker could be started.
8753
8754 2001-10-22  Juergen Vigna  <jug@sad.it>
8755
8756         * buffer.C (insertStringAsLines): modify the font for inserting
8757         chars in certain conditions by calling checkInsertChar(font).
8758
8759 2001-10-19  Juergen Vigna  <jug@sad.it>
8760
8761         * text.C (workWidth): use getRow instead of wrong algorithm.
8762         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8763
8764 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8765
8766         * lyxserver.h:
8767         * lyxserver.C:
8768         * lyx_main.h:
8769         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8770
8771 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8772
8773         * text.C (workWidth): do not search for the exact row when
8774         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8775         optimization for big documents.
8776
8777 2001-10-18  Juergen Vigna  <jug@sad.it>
8778
8779         * text.C (workWidth): new function with added Inset * parameter.
8780
8781 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8782
8783         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8784
8785         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8786         change return type of getColumnNearX.
8787
8788
8789         * text.C (changeRegionCase): use uppercase/lowercase instead of
8790         toupper/tolower.
8791         (leftMargin):
8792         (rightMargin): simplify code by factoring out the uses of
8793         textclasslist.
8794         (labelFill):
8795         (numberOfHfills):
8796         (setHeightOfRow):
8797         (appendParagraph): use Paragraph::size_type
8798
8799 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8800
8801         * vspace.C (asLatexString): add a missing break
8802
8803 2001-10-15  Herbert Voss  <voss@perce.de>
8804
8805         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8806
8807 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8808
8809         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8810         is not available.
8811
8812 2001-10-10  André Pönitz <poenitz@gmx.net>
8813
8814         * lyxfunc.C: removed greek_kb_flag.
8815
8816 2001-10-10  Herbert Voss  <voss@perce.de>
8817
8818         * lyx_main.C: delete global string help_lyxdir.
8819
8820 2001-10-09  Herbert Voss  <voss@perce.de>
8821
8822         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8823
8824         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8825
8826         * lyx_main.C: added global string help_lyxdir.
8827
8828         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8829
8830 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8831
8832         * lyxrc.C (set_font_norm_type): support iso8859-4
8833
8834 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8835
8836         * LaTeX.C (deplog): add another regex for MikTeX
8837
8838 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8839
8840         * lyxrc.C (set_font_norm_type): support iso8859-3
8841
8842 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8843
8844         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8845
8846         * LaTeXFeatures.C: remove special case of french and index
8847
8848         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8849         before \begin{document}). This solves several incompatibilities.
8850
8851 2001-10-03  Garst Reese  <reese@isn.net>
8852
8853         * lyx_cb.C: change CheckTex error msg.
8854
8855 2001-10-03  José Matos  <jamatos@fep.up.pt>
8856
8857         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8858
8859 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8860
8861         * .cvsignore: update
8862
8863         * lyx_main.C (commandLineVersionInfo): use new style version info.
8864
8865         * buffer.C (writeFile):
8866         (makeLaTeXFile):
8867         (makeLinuxDocFile):
8868         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8869
8870         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8871
8872         * version.h: update to use stuff in version.C
8873
8874         * version.C.in: new file. Contains version information determined
8875         at compile time. This is a merging of version.h and
8876         version_info.h.in.
8877
8878 2001-10-03  Juergen Vigna  <jug@sad.it>
8879
8880         * BufferView_pimpl.C (update): don't change "dirty" status in
8881         updateInset call.
8882
8883 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8884
8885         * WorkArea.C (c-tor): re-position version string slightly.
8886
8887 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8888
8889         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8890         revert to previous code.
8891
8892         WorkArea.[Ch]: (show, destroySplash): methods removed.
8893
8894         WorkArea.C: rework code so that it's an amalgam of the codes before and
8895         after the splash screen was moved to WorkArea.
8896
8897 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8898
8899         * lyxrc.C (read):
8900         * vspace.C (inPixels):
8901         (lyx_advance):
8902         * kbmap.C (bind):
8903         * buffer.C (insertStringAsLines):
8904         (asciiParagraph): fix types to be large enough
8905
8906         * lyxlex_pimpl.h: change member status from short to int
8907
8908         * layout.h: fix type of endlabeltype
8909
8910         * kbmap.C (bind):
8911         * kbsequence.C (parse): change return type to string::size_type
8912
8913         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8914         variable
8915
8916         * Bullet.C (bulletSize):
8917         (bulletEntry): do not use short ints as parameters
8918
8919         * BufferView2.C (insertLyXFile): change a char to an int.
8920
8921         * WorkArea.C (WorkArea): remove unneeded floats in computation
8922
8923 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8924
8925         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8926
8927         * paragraph.C (asString): Do not ignore newline/hfill chars when
8928         copying to the clipboard.
8929
8930 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8931
8932         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8933         after a multi-line inset.
8934
8935 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8936
8937         * paragraph.C (validate): Set NeedLyXFootnoteCode
8938
8939 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8940
8941         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8942         and decrease-error to decrease.
8943
8944 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8947         it more readable (should be equivalent)
8948
8949 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8950
8951         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8952
8953 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8954
8955         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8956         of a cursor (row, etc.) after a character has been deleted
8957         (deleteEmptyParagraphMechanism): call the method above on _all_
8958         cursors held by the LyXText when a double space has been
8959         detected/deleted.
8960
8961 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8962
8963         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8964         pixmap.
8965         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8966
8967         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8968         background. Use greyOut() and the new show() methods to toggle between
8969         the foreground and background. Add code to remove the splash after
8970         its initial showing.
8971
8972         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8973         (create_forms): no longer call Dialogs::showSplash.
8974
8975 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8976
8977         * .cvsignore: add version_info.h
8978
8979 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8980
8981         * version_info.h.in: new file
8982
8983         * Makefile.am: add version_info.h.in
8984
8985         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8986         version_info.h instead of VERSION_INFO
8987
8988 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8989
8990         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8991         The ERT inset now returns string().
8992
8993 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8994
8995         * lyxtext.h, text.C (selectNextWord): renamed as
8996         selectNextWordToSpellcheck.
8997
8998         * text.C (selectNextWordToSpellcheck): Modified to not select
8999         words inside an ERT inset.
9000
9001 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9002
9003         * lyx_cb.C (MenuLayoutSave): change a bit the question
9004
9005         * sp_base.h: include <sys/types.h>
9006
9007 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9008
9009         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9010
9011 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9012
9013         * several files: fix typos in user-visible strings
9014
9015 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9016
9017         * text2.C (pasteSelection): do not set the selection, since it
9018         will be cleared later. Actually, the intent was to fix the way the
9019         selection was set, but I figured rmoving the code was just as good.
9020
9021 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9022
9023         * FontLoader.C (available): Check if font is available without
9024         loading the font.
9025
9026 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9027
9028         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9029
9030 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9031
9032         * lyxrc.[Ch]: added display_graphics variable and associated code.
9033
9034 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9035
9036         * bufferparams.C (hasClassDefaults): new method. Returns true if
9037         the buffer parameters correspond to known class defaults
9038
9039 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9040
9041         * XFormsView.C (show): set minimum size to the main window.
9042
9043 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9044
9045         * text2.C (copySelection):
9046         (cutSelection):
9047         * lyxfind.C (LyXReplace):
9048         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9049         LyXText::selectionAsString.
9050
9051         * paragraph.C (asString): add "label" argument to the second form
9052
9053         * text2.C (selectionAsString): add "label" argument and pass it to
9054         Paragraph::asString.
9055
9056 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9057
9058         * lyx_main.C (commandLineHelp): remove version information
9059
9060 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9061
9062         * lyx_main.C: add -version commandline option
9063
9064 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9065
9066         * paragraph.h: make the optional constructor arg required instead.
9067         some modifications to other files because of this.
9068
9069         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9070
9071         * lyxserver.C (C_LyXComm_callback): make it static
9072
9073         * lyx_main.C (error_handler): make it static
9074
9075         * lyx_gui.C (LyX_XErrHandler): make it static
9076
9077         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9078
9079         * WorkArea.C: make the extern "C" methods static.
9080
9081         * Makefile.am (lyx_LDADD): simplify
9082
9083 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9084
9085         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9086         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9087
9088         * LyXAction.C (init):
9089         * lyxfunc.C (dispatch): associated code removal.
9090
9091 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9092
9093         * lyxfont.h (isSymbolFont): shut off warning
9094
9095         * text.C (setHeightOfRow):
9096         (getVisibleRow): fix crash with empty paragraphs which have a
9097         bottom line
9098
9099 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9100
9101         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9102         code.
9103
9104 2001-09-04  José Matos  <jamatos@fep.up.pt>
9105         * buffer.C
9106         * buffer.h
9107         * tabular.C (docbook): rename docBook method to docbook.
9108
9109 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9110
9111         * Makefile.am: add dependencies to main.o.
9112
9113 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9114
9115         * FontLoader.C (available): Return false if !lyxrc.use_gui
9116
9117 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9118
9119         * FontInfo.C (query):
9120         * converter.C (view):
9121         * importer.C (Import):
9122         * exporter.C (Export): Can not -> cannot.
9123
9124 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView_pimpl.C: allow to create index inset even if
9127           string is empty
9128
9129 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9130
9131         * buffer.C (getLists): replace boost::tie code with an explicit pair
9132         as boost::tie can break some compilers.
9133
9134         * iterators.h: Added a std:: declaration to the return type of
9135         ParIterator::size.
9136
9137 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9138
9139         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9140           case.
9141
9142 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * iterators.[Ch]: New files. Provide paragraph iterators.
9145
9146         * buffer.C (changeLanguage): Use paragraph iterators.
9147         (isMultiLingual): ditto
9148
9149         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9150
9151 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9152
9153         * FontLoader.C: Support for cmr font.
9154
9155 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9156
9157         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9158         (available): New method.
9159
9160         * FontInfo.C (getFontname): Use scalable fonts even when
9161         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9162         found.
9163
9164 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9165
9166         * converter.C (Formats::view): reverted! Incorrect fix.
9167
9168 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9169
9170         * converter.C (Formats::view): only output the -paper option
9171         if the dvi viewer is xdvi, thereby fixing bug #233429.
9172
9173 2001-08-23  Herbert Voss  <voss@perce>
9174
9175         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9176
9177 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9178
9179         * Spacing.h (Spacing): Set space to Default on in the default
9180         constructor.
9181
9182 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9183
9184         * vc-backend.h (RCS::versionString): add RCS to version
9185         (CVS::versionString): add CVS to version
9186
9187         * vc-backend.C (scanMaster): do not add CVS to version.
9188         (scanMaster): do not add RCS to version
9189
9190         * lyxvc.C (versionString): new method
9191
9192         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9193
9194 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * Spacing.C (set): initialize fval
9197
9198 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9201         " or \.
9202
9203 2001-08-16  Juergen Vigna  <jug@sad.it>
9204
9205         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9206
9207 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * BufferView_pimpl.C:
9210         * figureForm.C:
9211         * lyxtext.h:
9212         * text2.C: setParagraph takes linespacing now
9213
9214 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * LyxAction.C: add internal LFUN_CITATION_INSERT
9217
9218         * LyXView.C: actually apply fix
9219
9220         * bufferlist.C: fix open non-existent file
9221
9222         * lyxfind.C: fix indentation
9223
9224         * lyxfunc.C: remove unneeded assert, fix typo
9225
9226 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * MenuBackend.C: use "Floatname List"
9229
9230 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9231
9232         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9233         when converting LaTeX layout to insetERT.
9234         Generate a non-collapsed float when reading old float
9235
9236 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9237
9238         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9239         ERT insets.
9240
9241 2001-08-13  Juergen Vigna  <jug@sad.it>
9242
9243         * text.C (fill): return 0 instead of 20 as this seems to be the more
9244         correct value.
9245
9246 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9249         lyxrc.font_norm.
9250
9251 2001-08-13  Juergen Vigna  <jug@sad.it>
9252
9253         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9254         casesensitive off.
9255         (SearchBackward): comment out the unlocking of the inset_owner this
9256         should not be needed!
9257
9258 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9259
9260         * Many files: Remove inherit_language, and add latex_language
9261
9262         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9263         collapsible insets.
9264
9265 2001-08-10  Juergen Vigna  <jug@sad.it>
9266
9267         * text.C (prepareToPrint): fixed hfill-width in draw!
9268
9269         * BufferView2.C (selectLastWord): save the selection cursor as this
9270         now is cleared in the function LyXText::clearSelection!
9271
9272 2001-08-08  Juergen Vigna  <jug@sad.it>
9273
9274         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9275         BACKSPACE type functions.
9276
9277         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9278         is only cutted from the document but not put in the cut-buffer, where
9279         still the old stuff should be.
9280
9281         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9282
9283         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9284
9285         * tabular.C (SetWidthOfCell): fixed special case where the width
9286         was not updated!
9287         (LeftLine): handle '|' in align_special.
9288         (RightLine): ditto
9289         (LeftAlreadyDrawed): ditto
9290         (SetWidthOfCell): ditto
9291
9292 2001-08-07  Juergen Vigna  <jug@sad.it>
9293
9294         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9295
9296 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9299         * lyxlex.[hC]: ditto
9300
9301 2001-08-06  Juergen Vigna  <jug@sad.it>
9302
9303         * text.C (getVisibleRow): fix up row clearing a bit.
9304
9305 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9306
9307         * minibuffer.C: make sure the X server sees the changes in the input.
9308
9309 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9310
9311         * paragraph.C (getFont): split into...
9312         (getLabelFont): this
9313         (getLayoutFont): and this
9314         * paragraph_pimpl.C (realizeFont): calling this
9315
9316         * text2.C (getFont): split into...
9317         (getLayoutFont): this
9318         (getLabelFont): and this
9319         (realizeFont): all three calling this
9320
9321         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9322         files where used.
9323
9324 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9325
9326         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9327
9328 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9329
9330         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9331         layouts from the Quote inset insertion.
9332
9333 2001-08-03  Juergen Vigna  <jug@sad.it>
9334
9335         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9336
9337         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9338         only if status not is already CHANGED_IN_DRAW (second level).
9339
9340         * text.C (draw): don't set the need_break_row when inside an
9341         InsetText LyXText.
9342
9343 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9344
9345         * buffer.C (parseSingleLyXformat2Token): handle more latex
9346         conversion cases.
9347
9348         * bufferview_funcs.[hC]: change function names to
9349         begin with small char, adjust other files.
9350
9351 2001-08-02  André Pönitz <poenitz@gmx.net>
9352
9353         * lyxfunc.C:
9354         BufferView_pimpl.C: remove broken special code for math-greek
9355
9356 2001-08-02  Juergen Vigna  <jug@sad.it>
9357
9358         * BufferView_pimpl.C (update): redone this function so that we
9359         update the text again if there was a CHANGE_IN_DRAW.
9360
9361         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9362         (drawFromTo): added a new internal bool which is used by draw() and
9363         redraw() function.
9364         (general): some cursor drawing problems fixed.
9365
9366 2001-08-01  Juergen Vigna  <jug@sad.it>
9367
9368         * lyxfind.C (LyXFind): fixed
9369         (SearchForward): ditto
9370         (SearchBackward): ditto
9371
9372         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9373         spurius drawing of the cursor in the main area.
9374
9375         * text2.C (status): small fix which could lead to a segfault!
9376         (clearSelection): remove unneeded BufferView param.
9377
9378 2001-08-01  André Pönitz <poenitz@gmx.net>
9379
9380         * lyxfunc.C: small change due to changed mathed interface
9381
9382 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9383
9384         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9385
9386 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * lyxfunc.c: fail gracefully if file doesn't exist
9389
9390         * LyXSendto.C:
9391         * buffer.C:
9392         * lyxfunc.C:
9393         * BufferView_pimpl.C: IsDirWriteable() proto changed
9394
9395         * LyXView.C: fix updateWindowTitle() to store the last title
9396
9397 2001-07-31  Juergen Vigna  <jug@sad.it>
9398
9399         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9400         the font (wrong since using of Paragraph::highestFontInRange).
9401
9402         * paragraph.C (highestFontInRange): added a default_size parameter.
9403
9404         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9405         (setHeightOfRow): reformat
9406
9407 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9408
9409         * converter.[hC] + affected files: move to (inital-char)lowercase
9410         function names.
9411
9412         * ParagraphParameters.C (ParagraphParameters): remove commented code
9413
9414         * PainterBase.[Ch]: remove commented code
9415
9416         * LaTeXFeatures.h: add "bool floats" for float.sty
9417
9418         * LaTeXFeatures.C (LaTeXFeatures): init floats
9419         (require): handle float
9420         (getPackages): do it with floats
9421
9422 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9423
9424         * BufferView_pimpl.C (Dispatch): improve handling of
9425         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9426
9427         * commandtags.h: #include lyxfont.h here temporarily to avoid
9428         keybinding bug.
9429
9430         * bufferlist.h: include LString.h here.
9431
9432 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9433
9434         * text2.C (getStringToIndex): new method.
9435
9436 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9437
9438         * *: Reduced header file dependencies all over.
9439
9440 2001-07-30  Baruch Even  <baruch@lyx.org>
9441
9442         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9443
9444 2001-07-29  Baruch Even  <baruch@lyx.org>
9445
9446         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9447
9448 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * ParameterStruct.h (endif): add a default constructor to make
9451         sure that all variables is initialized.
9452
9453         * ParagraphParameters.C (ParagraphParameters): adjust
9454
9455 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9456
9457         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9458         index; also, check that there is something to index, and that it
9459         does not span over several paragraphs.
9460         (doubleClick): use WHOLE_WORD_STRICT for double click.
9461
9462         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9463
9464         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9465         scheme.
9466
9467 2001-07-26  Baruch Even  <baruch@lyx.org>
9468
9469         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9470         an InsetFig figure, backwards compatible reading of old figure code.
9471
9472 2001-07-27  Juergen Vigna  <jug@sad.it>
9473
9474         * text2.C: font.realize function adaption.
9475
9476         * text.C (draw): add a warnings lyxerr text if needed.
9477
9478         * layout.C: font.realize function adaption.
9479
9480         * language.C: add inherit_language and implement it's handlings
9481
9482         * bufferview_funcs.C (StyleReset): remove language parameter from
9483         font creation (should be language_inherit now).
9484
9485         * bufferparams.C (writeFile): handle ignore_language.
9486
9487         * paragraph.C (getFontSettings): the language has to be resolved
9488         otherwise we have problems in LyXFont!
9489
9490         * lyxfont.C (lyxWriteChanges): added document_language parameter
9491         (update): removed unneeded language parameter
9492
9493         * paragraph.C (validate): fixed wrong output of color-package when
9494         using interface colors for certain fonts in certain environments,
9495         which should not seen as that on the final output.
9496
9497 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * BufferView_pimpl.C:
9500         * Thesaurus.h:
9501         * Thesaurus.C:
9502         * Makefile.am:
9503         * commandtags.h:
9504         * LyXAction.C: add thesaurus support
9505
9506         * lyxfind.h:
9507         * lyxfind.C: add "once" parameter, for thesaurus, to not
9508           move to the next match
9509
9510 2001-07-26  Juergen Vigna  <jug@sad.it>
9511
9512         * lyxfont.C (realize): honor ignore_language too!
9513         (resolved): ditto.
9514
9515         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9516
9517         * text.C (draw): one place more for ignore_language to not draw
9518         itself!
9519
9520 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9521
9522         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9523
9524 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9525
9526         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9527         the minipage conversion problem.
9528
9529 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9530
9531         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9532         insert an inset.
9533
9534 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9535
9536         * BufferView.h: don't forward declare WorkArea
9537
9538         * BufferView.C: don't include WorkArea.h
9539
9540 2001-07-25  André Pönitz <poenitz@gmx.net>
9541
9542         * commandtags.h:
9543         * LyXAction.C:
9544         * lyxfunc.C:  new LFUN 'math-space'
9545
9546         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9547
9548 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9549
9550         * text2.C (toggleInset): call open/close
9551
9552 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9553
9554         * lyxfunc.C (dispatch): add debug for the disabled case
9555
9556         * font.C (buttonText): make similar to rectText
9557
9558         * buffer.C (readInset): comment out parsing of insetlist and
9559         insttheorem
9560
9561         * PainterBase.C (rectText): small correction
9562
9563         * BufferView_pimpl.C: comment out insettheorem and insetlist
9564         * LyXAction.C: ditto
9565         * commandtags.h: ditto
9566
9567 2001-07-24  Juergen Vigna  <jug@sad.it>
9568
9569         * text.C (draw): honor the ignore_language.
9570
9571         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9572
9573 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9574
9575         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9576         char inset.
9577
9578 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9579
9580         * lyxtext.h: remove unused (and unimplemented) methods
9581
9582 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9583
9584         * text.C (getVisibleRow): honor background color
9585
9586         * PainterBase.h:
9587         * Painter.h: remove default color argument for fillRectangle
9588
9589         * text.C (backgroundColor): new method
9590
9591 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * text.C (getVisibleRow): adjust
9594
9595         * font.[Ch] (rectText): new method, metrics
9596         (buttonText): new method, metrics
9597
9598         * PainterBase.[hC]: make rectText and buttonText always draw and take
9599         fewer paramteres.
9600
9601 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9602
9603         * ToolbarDefaults.C (read):
9604         * MenuBackend.C (read): allow escaping in all strings
9605
9606         * BufferView_pimpl.C (insertAndEditInset): new method.
9607         (Dispatch): use insertAndEditInset whenever appropriate.
9608
9609         * BufferView_pimpl.C (insertNote): removed
9610
9611         * BufferView_pimpl.C (smartQuote): new method, moved from
9612         BufferView; if an insetquote cannot be inserted, insert a '"'
9613         character instead.
9614
9615         * BufferView2.C: remove insertCorrectQuote();
9616
9617         * lyxfunc.C (getStatus): Add support for all remaingin
9618         inset-insert lfuns.
9619
9620         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9621
9622         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9623         command (necessary to pass " as parameter of self-insert.
9624
9625         * text.C (selectWordWhenUnderCursor):
9626         (selectWord): add word_location parameter
9627         (selectWordWhenUnderCursor): same + remove special code for word
9628         boundary.
9629         (selectNextWord): use kind() to guess type of insetspecialchar,
9630         not latex().
9631
9632         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9633         (insertErtContents): create ert insets as collapsed.
9634         (readInset): better compatibility code for Info inset.
9635
9636 2001-07-20  Juergen Vigna  <jug@sad.it>
9637
9638         * lyxfunc.C (dispatch): use always LyXFind now!
9639
9640         * text2.C (init): add a reinit flag so that the LyXText can be
9641         reinited instead of deleted and reallocated (used in InsetText).
9642
9643         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9644
9645         * text.C: ditto
9646
9647         * text2.C: ditto
9648
9649 2001-07-18  Juergen Vigna  <jug@sad.it>
9650
9651         * text.C (selectNextWord): handle insets inside inset by calling
9652         always the bv->text functions so that we can go up the_locking_inset!
9653
9654         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9655         in strange locations when inside an inset!
9656
9657         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9658         handling to include insets.
9659
9660         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9661
9662 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9663
9664         * LyXAction.C (init):
9665         * commandtags.h:
9666         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9667         LIGATURE_BREAK, since the name is so stupid.
9668
9669 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9670
9671         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9672         InsetInfos.
9673
9674         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9675
9676         * sp_form.[Ch]: remove.
9677
9678         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9679
9680         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9681         InsetInfo.
9682
9683         * src/buffer.C (readInset): ditto.
9684
9685 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9686
9687         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9688         menuSeparator(), endOfSentenceDot(), ldots() and
9689         hyphenationPoint(), which are therefore removed.
9690         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9691
9692         * LyXAction.C (init):
9693         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9694
9695         * paragraph.C (getWord): removed.
9696
9697         * BufferView_pimpl.C (Dispatch): use last word or selection for
9698         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9699
9700         * lyx_main.C (queryUserLyXDir): do not ask before creating
9701         user_dir, except if it has been named explicitely.
9702
9703 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9706         a document of zero size.
9707
9708 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9709
9710         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9711         approriately in the c-tor and in require().
9712         (getPackages): output the appropriate LaTeX for natbib support.
9713
9714         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9715         variables "use_natbib" and "use_numerical_citations" when reading the
9716         LyX file.
9717         (readInset): read the various natbib cite commands.
9718         (validate): white-space change.
9719
9720         * bufferparams.[Ch]: new variables "bool use_natbib" and
9721         "bool use_numerical_citations".
9722         (writeFile): output them in the LyX file.
9723
9724 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9725
9726         * lyxfunc.C (getStatus): add support for all the inset insertion
9727         commands.
9728
9729         * text2.C (insertInset):
9730         * paragraph.C (insetAllowed):
9731         * BufferView_pimpl.C (insertInset): update to take in account the
9732         renaming of insertInsetAllowed
9733
9734         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9735
9736         * text2.C (getInset): new method. returns inset at cursor position.
9737
9738         * BufferView_pimpl.C (Dispatch): changes because of this.
9739
9740         * LyXAction.C (init): rename open-stuff to inset-toggle.
9741
9742         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9743
9744         * text2.C (toggleInset): renamed from openStuff; use
9745         Inset::open().
9746
9747 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9748
9749         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9750
9751         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9752
9753 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * buffer.C (readLyXformat2): Add filename to the error dialog
9756
9757 2001-07-18  Juergen Vigna  <jug@sad.it>
9758
9759         * tabular.C (GetCellNumber): put an assert here instead of the check!
9760
9761 2001-07-17  Juergen Vigna  <jug@sad.it>
9762
9763         * BufferView_pimpl.C (toggleSelection): adapted too.
9764
9765         * text.C (selectNextWord): adapted for use with insets.
9766         (selectSelectedWord): ditto
9767
9768 2001-07-17  Juergen Vigna  <jug@sad.it>
9769
9770         * sp_spell.C (PSpell): fix initialitation order.
9771
9772 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * paragraph.C: spacing
9775
9776 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9777
9778         * sp_spell.C: repair language selection for pspell
9779
9780 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9781
9782         * lyxfunc.h: change more methods to begin with lower char.
9783
9784 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9785
9786         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9787         for unknown layouts.
9788
9789 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9790
9791         * buffer.C (readLyXformat2): Generate an error dialog if there are
9792         unknown layouts.
9793
9794 2001-07-16  Juergen Vigna  <jug@sad.it>
9795
9796         * sp_spell.C: always compile ISpell part.
9797
9798         * lyxrc.C: added use_pspell entry and it's handling.
9799
9800 2001-07-13  Juergen Vigna  <jug@sad.it>
9801
9802         * sp_spell.C: removed double includes.
9803
9804 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9805
9806         Consistent use of Lsstream.h:
9807         * Lsstream.h: added using std::stringstream for consistencies sake.
9808
9809         * buffer.C: removed using std::stringstream
9810
9811         * lyxfont.C (stateText):
9812         * paragraph.C (asString):
9813         * text.C (selectNextWord, selectSelectedWord):
9814         * text2.C (setCounter):
9815         * vspace.C (asString, asLatexString):
9816         std::ostringstream -> ostringstream.
9817
9818 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9819
9820         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9821         * commandtags.h: add LFUN_HELP_ABOUTLYX
9822         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9823
9824 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9825
9826         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9827         cursorToggle()
9828         * lyx_gui_misc.C: remove spellchecker
9829         * lyxfunc.C: showSpellchecker
9830         * sp_base.h: added
9831         * sp_ispell.h: added
9832         * sp_pspell.h: added
9833         * sp_spell.C: added
9834         * sp_form.[Ch]: removed
9835         * spellchecker.[Ch]: removed
9836
9837 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9838
9839         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9840         is set.
9841         (simpleTeXSpecialChars): Simply print the input character without
9842         any special translation if pass_thru is set.
9843
9844         * layout.h: Added bool pass_thru to layout class for being able to
9845         implement pass through of a paragraph for Literate Programming.
9846
9847         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9848         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9849         * layout.C (Read): add "passthru" to list of layout tags and add
9850         code to set the pass_thru boolean when it is read.
9851
9852 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * trans_decl.h: remove allowed from KmodInfo
9855
9856         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9857         remove allowed code
9858         (Load): adjust
9859
9860         * paragraph_pimpl.C (erase): use boost::prior
9861
9862         * Painter.C (text): use data() instead of c_str() when length is
9863         also provided.
9864         * WorkArea.C (putClipboard): ditto
9865         * font.h (width): ditto
9866
9867         * BufferView2.C: use it-> instead of (*it). for iterators
9868         * texrow.C: ditto
9869         * paragraph_pimpl.C: ditto
9870         * paragraph.C: ditto
9871         * minibuffer.C: ditto
9872         * language.C: ditto
9873         * kbmap.C: ditto
9874         * encoding.C: ditto
9875         * counters.C: ditto
9876         * converter.C: ditto
9877         * chset.C: ditto
9878         * Variables.C: ditto
9879         * TextCache.C: ditto
9880         * MenuBackend.C: ditto
9881         * LyXAction.C: ditto
9882         * LColor.C: ditto
9883         * FloatList.C: ditto
9884         * DepTable.C: ditto
9885         * ColorHandler.C (LyXColorHandler): ditto
9886
9887 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9888
9889         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9890
9891         * text2.C (openStuff): reintroduce this method (which had been
9892         nuked in NEW_INSETS frenzy).
9893
9894         * lyxfunc.C (Dispatch): when an action has not been handled, use
9895         its name in the error message, not its number.
9896
9897         * paragraph.C (inInset): change method name to begin with lowercase.
9898
9899         * undo_funcs.C:
9900         * text2.C: updates because of this.
9901
9902 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9903
9904         * ToolbarDefaults.C (add): add spaces in error message
9905
9906 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9909         (readLyXformat2): rename return_par to first_par, use lyxlex's
9910         pushToken and remove the manual push handling.
9911         (parseSingleLyXformat2Token): add another ert comp. variable:
9912         in_tabular, rename return_par to first_par. handle newlines better
9913
9914 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9915
9916         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9917
9918 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * text2.C (getParFromID): removed
9921
9922         * buffer.C (getParFromID): new method moved form lyxtext.
9923         * BufferView2.C (insertErrors): adjust
9924         (setCursorFromRow): adjust
9925         * BufferView_pimpl.C (restorePosition): adjust
9926         * lyxfunc.C (Dispatch): adjust
9927         * undo_funcs.C (textUndo): adjust
9928         (textRedo): adjust
9929         (textHandleUndo): adjust
9930         (textHandleUndo): adjust
9931
9932 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * buffer.C: up' the LYX_FORMAT
9935
9936         * lyxfont.h: turn NO_LATEX on as default
9937
9938         * buffer.C (insertErtContents): new methods of tex style compability.
9939         (parseSingleLyXformat2Token): use it several places.
9940         * tabular.C (OldFormatRead): and here
9941
9942 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * text2.C: remove some commented code.
9945         reindent file.
9946
9947         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9948         * trans.C: changes because of the above.
9949
9950 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9951
9952         * text2.C (setCounter): Fix counters bug with bibliography layout.
9953
9954 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9955
9956         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9957         own member functions
9958         (simpleTeXSpecialChars): ditto
9959
9960 2001-07-06  Juergen Vigna  <jug@sad.it>
9961
9962         * a lot of files: changed the access to LyXText::status and the
9963         call of undo-functions.
9964
9965         * undo.[Ch]: added a inset_id to the undo informations.
9966
9967         * undo_funcs.[Ch]: added and moved here all undo functions.
9968
9969         * lyxtext.h: give the status enum a weight, made status_ a private
9970         variable and made accessor functions for it, removed the whole bunch
9971         of undo-functions as they are now in their own file, make some
9972         functions publically available. Added function ownerParagraph with
9973         int parameter.
9974
9975         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9976         made InInset() a const function, added getParFromID() function.
9977
9978         * buffer.[Ch]: added const version for inset_iterator functions,
9979         added getInsetFromID() function.
9980
9981         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9982         changed undo functions for new version.
9983
9984 2001-07-05  Juergen Vigna  <jug@sad.it>
9985
9986         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9987         unknow mechanism does not call the proper constructor but only this
9988         one also if I request the other!?
9989
9990 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9991
9992         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9993
9994         * text2.C (LyXText): use initialization lists.
9995
9996         * lyxtext.h (Selection): initialize set_ and mark_
9997         (init): remove method
9998
9999 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10000
10001         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10002
10003 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10004
10005         * screen.[Ch]: change method names to begin with lowercase
10006
10007         * BufferView_pimpl.C (updateScrollbar): simplify further and
10008         hopefully make it a bit faster.
10009
10010 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10011
10012         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10013         calling directly xforms functions.
10014
10015         * Painter.C (Painter):
10016         * lyx_cb.C (MenuWrite):
10017         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10018         fl_display.
10019
10020         * lyx_gui.C: remove bogus guiruntime extern declaration.
10021
10022 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10023
10024         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10025         in NEW_INSETS
10026         (redoDrawingOfParagraph): ditto
10027         (redoParagraphs): ditto
10028         (cutSelection): don't create a object for CutAndPaste use the
10029         static method directly
10030         (pasteSelection): ditto
10031
10032         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10033         LyXview (+ rename)
10034
10035 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10036
10037         * modifications to some other files because of this.
10038
10039         * Makefile.am (lyx_SOURCES): add XFormsView
10040
10041         * XFormsView.[Ch]: new files
10042
10043         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10044         the main window. Move the gui dependent stuff to XFormsView
10045
10046 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10047
10048         * tabular.C (GetCellInset): update cur_cell also in the row/col
10049         version of this function.
10050
10051         * lyxfunc.C: no need to include figure_form.h here.
10052
10053         * FontLoader.h:
10054         * lyxfunc.h:
10055         * lyxscreen.h:
10056         * text2.C:
10057         * lyxvc.C: no need to include forms.h here.
10058
10059 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10060
10061         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10062
10063         * lyxfunc.C (Dispatch):
10064         * Spacing.C (set):
10065         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10066         constructor argument.
10067
10068 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * paragraph.C (Paragraph): dont't clear, and just set layout.
10071         (makeSameLayout): use params's copy contructor.
10072
10073         * ParagraphParameters.[Ch] (makeSame): delete method
10074
10075 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * Variables.[Ch]: fix indentation, rename set to isSet
10078
10079 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10080
10081         * lyxfunc.C (Dispatch): fix typo
10082
10083 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10084
10085         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10086         upper_bound.
10087
10088         * bufferlist.C: include assert.h for emergencyWrite().
10089
10090 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10093           give up at last (bug #425202) !
10094
10095 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10096
10097         * lyx_gui_misc.C:
10098         * sp_form.h:
10099         * sp_form.C:
10100         * spellchecker.h:
10101         * spellchecker.C: strip spellchecker options and bring up
10102           preferences tab instead
10103
10104 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10105
10106         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10107         the istringstream constructor
10108
10109 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10110
10111         * paragraph.C (getLayout): fix return value
10112
10113         * paragraph.h: do not declare getLayout as inline.
10114
10115         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10116
10117 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10118
10119         * lyxcursor.h (operator<): new func
10120         (operator>): new func
10121         (operator>=): new func
10122         (operator<=): new func
10123
10124         * text.C (changeCase): use selection.start and selection.end
10125         (changeRegionCase): require from to be <= to. Require par to be a
10126         valid paragraph.
10127
10128         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10129
10130 2001-06-27  Juergen Vigna  <jug@sad.it>
10131
10132         * text.C (cursorLeftOneWord): changed to return the cursor and added
10133         overlay with BufferView * parameter which calls this one.
10134         (getWord): added
10135         (selectWord): use new getWord function.
10136         (changeCase): renamed from changeWordCase as and extended to work
10137         also on selections.
10138
10139         * lyxtext.h: added enum word_location
10140
10141         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10142         changeCase as this operates now also on selections.
10143
10144 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10145
10146         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10147
10148         * many files: send debug output to Debug::INFO instead of
10149         Debug::ANY.
10150
10151         * converter.C (View):
10152         (Convert):
10153         (Move): send debug output to Debug::FILES instead of console.
10154
10155 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10156
10157         * lyxfunc.C (getStatus): use func_status
10158
10159         * func_status.h: new header, describing the results of
10160         LyXFunc::getStatus;
10161
10162         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10163         LFUN_MATH_HALIGN.
10164
10165 2001-06-25  The LyX Project  <jug@sad.it>
10166
10167         * buffer.C (sgmlOpenTag):
10168         (sgmlCloseTag):
10169         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10170
10171 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10172
10173         * text2.C: remove some dead code
10174
10175         * tabular.C (GetCellInset): store the last cell checked (gotten)
10176
10177         * tabular.h: add the helper for the speedup
10178
10179         * lyxtext.h: remove some dead code
10180
10181 2001-06-26  The LyX Project  <Asger>
10182
10183         * paragraph.C: Change export to LaTeX of alignment to
10184         \begin{center} and family for better roundtrip work with reLyX.
10185
10186         * Tune the math drawing a bit.
10187
10188 2001-06-25  The LyX Project  <Asger>
10189
10190         * LColor.C (LColor): New color for math background. New color
10191         for buttons.
10192
10193 2001-06-25  The LyX Project  <jug@sad.it>
10194
10195         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10196
10197         * lyxfunc.C (Open):
10198         * bufferlist.C (newFile): do not restrict to files ending with
10199         .lyx
10200
10201         * BufferView_pimpl.C (MenuInsertLyXFile):
10202
10203 2001-06-24  The LyX Project  <jug@sad.it>
10204
10205         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10206         of compare_no_case
10207
10208 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * lyxtext.h: rename most methods to begin with a small char.
10211         Lots of changes because of this.
10212
10213         * paragraph.C (Paragraph): do not call fitToSize
10214         (erase): call Pimpl::erase
10215         (insertChar): call Pimpl::insertChar
10216         (insertInset): call Pipl::insertInset
10217         (breakParagraph): do not call fitToSize
10218         (breakParagraphConservative): do not call fitToSize
10219         (fitToSize): remove method
10220
10221         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10222
10223 2001-06-24  The LyX Project  <Asger>
10224
10225         * Fix Qt compilation^2
10226
10227 2001-06-24  The LyX Project  <jug@sad.it>
10228
10229         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10230         depthHook(getDepth()-1).
10231
10232         * paragraph.h:
10233         * ParagraphParameters.h:
10234         * ParameterStruct.h: change type of depth to unsigned int ==
10235         depth_type. Many adaptations to other files before of that.
10236
10237 2001-06-24  The LyX Project  <Asger>
10238
10239         * Fix Qt compilation.
10240
10241 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * paragraph.h: renamed several methods to begin with small letter.
10244         several changes to many parts of the code because of this.
10245
10246 2001-06-23  The LyX Project  <jug@sad.it>
10247
10248         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10249         rewritten to discard all double spaces when KeepEmpty is off
10250         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10251         to only handle newlines but not fiddle with spaces and friends.
10252
10253         * lyxfunc.C (MenuNew): when doing 'new from template', use
10254         template_path as default directory
10255
10256 2001-06-23  The LyX Project  <Asger>
10257
10258         * Clean-up of header file includes all over
10259         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10260
10261 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * paragraph.h: renamed from lyxparagraph.h
10264
10265 2001-06-23  Asger  <lyx@violet.home.sad.it>
10266
10267         * Buffer.h: Removed Buffer::resize
10268         * BufferList.h: Removed BufferList::resize
10269         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10270         the document lazily when we change the width, or the font settings.
10271
10272 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10275
10276 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * buffer.h: remove out of date comment
10279
10280 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * lyxscreen.h:
10283         * screen.C: fix "theoretical" GC leak
10284
10285 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * LaTeX.C (scanAuxFile):
10288         (deplog): remove trailing \r when reading stream (useful under
10289         win32)
10290
10291 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10294         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10295         and BufferView::theLockingInset(Inset*), so should use them and not
10296         access bv_->text->the_locking_inset directly.
10297
10298         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10299
10300 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * Makefile.am:
10303         * tex-defs.h: remove old unused file
10304
10305 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView_pimpl.C: fix typo, remove minibuffer message
10308           when buffer has loaded
10309
10310 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * lyxfunc.C (Dispatch): use stringstream
10313         (MenuNew): use stringstream
10314         (Open): use stringstream
10315
10316         * importer.C (Import): use stringstream
10317
10318         * bufferview_funcs.C (CurrentState): use stringstream
10319
10320         * LaTeX.C (run): use stringstream
10321
10322         * BufferView_pimpl.C (savePosition): use stringstream
10323         (restorePosition): use stringstream
10324         (MenuInsertLyXFile): use stringstream
10325
10326 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10327
10328         * BufferView.C:
10329         * Bullet.C:
10330         * ColorHandler.C:
10331         * FontInfo.C:
10332         * FontLoader.C:
10333         * LColor.C:
10334         * LaTeXFeatures.C:
10335         * Painter.C:
10336         * gettext.C:
10337         * lyx_gui_misc.C:
10338         * lyxserver.C:
10339         * vspace.C: removed // -*- C++ -*- as first line.
10340
10341         * lyxfind.h:
10342         * version.h: added // -*- C++ -*- as first line.
10343
10344 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10345
10346         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10347
10348         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10349         of string
10350
10351 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10352
10353         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10354         of floats.
10355
10356 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * gettext.C: include LString.h even when --disable-nls is on.
10359
10360 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10361
10362         * converter.h (Get): changed argument type from int to
10363         FormatList::size_type to avoid unnecessary conversion.
10364
10365         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10366         before using it.
10367
10368 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10369
10370         * gettext.h: include LString.h even when --disable-nls is on.
10371
10372 2001-06-07  Juergen Vigna  <jug@sad.it>
10373
10374         * text.C (BreakAgain): subst spaces with tabs.
10375
10376         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10377         (resizeInsetsLyXText): set force on resizeLyXText.
10378
10379 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10380
10381         * gettext.h (gettext_init):
10382         (locale_init): use a real definition instead of a macro
10383
10384 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * Bufferview_pimpl.C:
10387         * LColor.h:
10388         * LColor.C: further lcolor tidies
10389
10390 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * BufferView_pimpl.C (updateScrollbar): simplify.
10393
10394         * BufferView2.C: don't include insets/insetinfo.h, change
10395         prototype for insertInset and call the Pimpl version. let
10396         updateInset call Pimpl version.
10397
10398         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10399         gotoInset to BufferView::Pimpl
10400
10401 2001-06-01  Juergen Vigna  <jug@sad.it>
10402
10403         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10404         inside a LockingInset (is the update needed at all?).
10405
10406 2001-05-31  Juergen Vigna  <jug@sad.it>
10407
10408         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10409         here not the old one otherwise how should we compare it afterwards
10410         if it's the same!
10411
10412 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10413
10414         * lyxfont.C:
10415         * tabular.C:
10416         * tabular-old.C:
10417         * FontInfo.C: bring C functions into global namespace when
10418         necessary
10419
10420 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10421
10422         * LString.h: make sure config.h has been loaded before LString.h.
10423
10424         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10425         (one for each char read by EatLine!).
10426
10427         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10428         variables.
10429
10430 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10433         to the same as the par we break from
10434
10435 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10436
10437         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10438
10439         * MenuBackend.C (expand): also create menu entries for wide
10440         versions of the floats.
10441
10442         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10443
10444         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10445
10446         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10447         frontends/Makefile.am
10448
10449         * text2.C: adjust
10450         * text.C: adjust
10451
10452
10453         * tabular.C (getTokenValue): add std::
10454
10455         * tabular-old.C (getTokenValue): add std::
10456         (getTokenValue): ditto
10457         (getTokenValue): ditto
10458
10459         * screen.C (ToggleSelection): adjust
10460
10461         * lyxtext.h: put selection cursors inside a Selection struct.
10462
10463         * lyxfunc.C (moveCursorUpdate): adjust
10464
10465         * lyxfont.C (latexWriteStartChanges): add std::
10466
10467         * lyxfind.C: adjust
10468
10469         * font.h: delete with(char const *, LyXFont const &)
10470
10471         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10472
10473         * FontInfo.C (getFontname): add std::
10474
10475         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10476         (workAreaButtonPress): adjust
10477         (tripleClick): adjust
10478         (update): adjust
10479         (moveCursorUpdate): adjust
10480         (Dispatch): adjust
10481
10482         * BufferView2.C (gotoInset): adjust
10483
10484 2001-05-30  Juergen Vigna  <jug@sad.it>
10485
10486         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10487         to check pspell I add this as default as I now have new pspell
10488         libraries and they seem to use this.
10489
10490 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10491
10492         * text2.C (CutSelection): make the cursor valid before the call to
10493         ClearSelection.
10494
10495 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10496
10497         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10498         relied on 0 terminated strings and other horrors. Bug found due to
10499         the new assert in lyxstring!
10500
10501         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10502         KP_ keys.
10503
10504 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10507         to latinkeys.bind.
10508
10509         * lyxfunc.C (processKeySym): change method of getting to the
10510         self-insert char.
10511
10512         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10513         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10514         * BufferView_pimpl.[Ch]: here as private methods.
10515
10516 2001-05-28  Juergen Vigna  <jug@sad.it>
10517
10518         * text.C (SetHeightOfRow): added the update() call again as it is
10519         needed to initialize inset dimensions!
10520
10521 2001-05-16  Juergen Vigna  <jug@sad.it>
10522
10523         * text2.C (SetCharFont): Add new function with BufferView * and
10524         bool toggleall parameters for setting insets internal fonts.
10525         (SetFont): Freeze the undo as we may change fonts in Insets and
10526         all this change should be inside only one Undo!
10527
10528         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10529         setting font's in insets as for them we have the SetFont function!
10530
10531 2001-05-15  Juergen Vigna  <jug@sad.it>
10532
10533         * text2.C (ClearSelection): to be sure we REALLY don't have any
10534         selection anymore!
10535
10536         * tabular.C (TeXCellPreamble): fixed the left border problem for
10537         multicolumn cells.
10538
10539 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10540
10541         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10542         dependancy file
10543
10544 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10547         LFUN_BREAKPARAGRAPH.
10548
10549         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10550         help test to "internal only", similar for LFUN_INSERT_URL
10551
10552         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10553         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10554         auto_region_delete and deadkeys.
10555
10556 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * LColor.h:
10559         * LColor.C: remove some dead entries, tidy a little
10560
10561 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10562
10563         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10564         commented code.
10565         (Dispatch): implement LFUN_ESCAPE
10566
10567         * commandtags.h: add LFUN_ESCAPE
10568
10569         * LyXAction.C (init): add entry for LFUN_ESCAPE
10570
10571         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10572         Remove commented code.
10573         (insertNote): moved here
10574         (open_new_inset): moved here
10575
10576         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10577         BufferView_pimpl
10578
10579 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10580
10581         * kbmap.C (findbinding): clean it up and make it work correctly.
10582
10583         * lyx_main.C (init): do not pass argc and argv as parameters
10584
10585 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10586
10587         * buffer.C: fix path for OS/2 & Win32
10588
10589         * lyx_gui.C:
10590         * lyx_main:
10591         * lyx_main.C: Added os:: class.
10592
10593         * os2_defines.h: update
10594
10595 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596
10597         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10598         better by trying again with reduced state.
10599
10600 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * lyxrc.C (read): print error about invalid key sequence only when
10603         debugging (because not all latinX keysyms are known to some X
10604         servers)
10605
10606         * kbsequence.C (getiso): add a few std:: qualifiers
10607         (getiso): comment out extra return statement.
10608
10609 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10612         handling.
10613         (Dispatch): enhance the accent inset a bit. (not perfect)
10614
10615 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10618
10619 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * bufferlist.C (emergencyWrite): fix assert() call
10622
10623 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10624
10625         * text.C (InsertChar): Added trivial patch to only send the "you
10626         can not do multiple spaces this way" message once during a
10627         session.
10628
10629 2001-05-08  Baruch Even  <baruch@lyx.org>
10630
10631         * Makefile.am: Changed order of libraries to get LyX to link properly
10632         with the gnome frontend.
10633
10634 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10635
10636         * LaTeXFeatures.h: add a std:: qualifier
10637
10638 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * paragraph.C (String): use stringstream
10641
10642 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * paragraph.C (writeFile): remove footflag arg
10645
10646         * buffer.C (makeLaTeXFile): use stringstream
10647         (latexParagraphs): remove footnot gurba
10648
10649         * LaTeXFeatures.C (getPackages): use stringstream
10650         (getMacros): likewise
10651         (getTClassPreamble): likewise
10652         (getFloatDefinitions): new method
10653
10654         * paragraph.C (writeFile): reindent
10655         (Erase): reindent
10656
10657         * WorkArea.h: revert the xpos + etc changes.
10658
10659         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10660
10661         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10662
10663         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10664         (pasteSelection): likewise
10665         * text2.C (CreateUndo): likewise
10666
10667 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * minibuffer.C (peek_event): temporarily reduce the functionality
10670         of the minibuffer (to allow args on lfuns)
10671
10672         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10673         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10674
10675         * buffer.C (readInset): add compability reading of old float
10676         lists, add reading of new style float list.
10677         (readInset): avoid reevaluation of inscmd.getCmdName()
10678         (getLists): reindent
10679
10680         * MenuBackend.C (MenuItem): implement parsing of
10681         md_floatlistinsert and md_floatinsert.
10682         (expand::LastFiles): move initalizaton of iterators out of loop,
10683         avoid reevaluation.
10684         (expand::Documents): introduce typdedef vector<string> Strings,
10685         and use it.
10686         (expand::ExportFormats): introduce typedef vector<Format const *>
10687         Formats, and use it.
10688         (expand): implement FloatListInsert and FloatInsert.
10689
10690         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10691         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10692         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10693
10694         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10695         handling.
10696         (Dispatch::LFUN_FLOAT_LIST): implement
10697
10698 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10699
10700         * LaTeX.C (run): Fix problem with --export code.
10701
10702 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10703
10704         * BufferView.[Ch] (workarea): removed.
10705         (getClipboard) new method; wrapper for workarea()->getClipboard()
10706
10707         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10708         bug.
10709
10710         * WorkArea.h (width, height, xpos, ypos): These methods all
10711         returned the dimensions of the work_area sub-area of WorkArea,
10712         resulting in a position error if the WorkArea were resized. Now
10713         return the dimensions of the entire WorkArea.
10714
10715         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10716
10717 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * LaTeX.C (deplog): correct the syntax of regex reg1
10720
10721 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * undo.C: remove !NEW_INSETS cruft
10724
10725 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * text2.C: remove !NEW_INSETS cruft
10728
10729         * text.C: remove !NEW_INSETS cruft
10730
10731         * tabular.C: remove !NEW_INSETS cruft
10732
10733         * spellchecker.C: remove !NEW_INSETS cruft
10734
10735         * lyxtext.h: remove !NEW_INSETS cruft
10736
10737         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10738
10739         * lyxfunc.C: remove !NEW_INSETS cruft
10740
10741         * lyxfind.C: remove !NEW_INSETS cruft
10742
10743         * lyx_cb.C: remove !NEW_INSETS cruft
10744
10745         * figureForm.C: remove  !NEW_INSETS cruft
10746
10747         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10748
10749         * buffer.[Ch]: remove !NEW_INSETS cruft
10750
10751         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10752
10753         * CutAndPaste.C: remove !NEW_INSETS cruft
10754
10755         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10756
10757         * BufferView2.C: remove !NEW_INSETS cruft
10758
10759         * BufferView.h: remove !NEW_INSETS cruft
10760
10761 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10762
10763         * Lsstream.h: include LString.h before the sstream headers to
10764         fix problem with gcc 2.95.3 and lyxstring
10765
10766 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10767
10768         * lyx_main.C: add using directives when needed for C functions
10769         declared in std:: namespace.
10770
10771 2001-04-27  Juergen Vigna  <jug@sad.it>
10772
10773         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10774         (SetHeightOfRow): comment out the update call should not be needed!
10775
10776 2001-04-13  Juergen Vigna  <jug@sad.it>
10777
10778         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10779         (LyXTabular): tried to minimize operator= operations (and realized
10780         hopfully Lars wish).
10781
10782 2001-04-27  Juergen Vigna  <jug@sad.it>
10783
10784         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10785
10786 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10787
10788         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10789
10790         * buffer.C (readInset): hack to make listof algorithm work
10791
10792         * BufferView_pimpl.C: hack to make listof algorithm work
10793
10794 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * LyXAction.C: removed all !NEW_INSETS cruft
10797         (init): moved lfun_item in method
10798
10799         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10800
10801 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10802
10803         * BufferView2.C (theLockingInset): white space.
10804
10805 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * minibuffer.C: include <iostream>
10808
10809         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10810
10811         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10812
10813         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10814
10815         * text.[Ch] (TransposeChars): new method
10816
10817 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * call message directly through LyXView instead of through LyXFunc
10820         * BufferView2.C: adjust
10821         * BufferView_pimpl.C: adjust
10822         * FontLoader.C: adjust
10823         * buffer.C: adjust
10824         * bufferview_funcs.C: adjust
10825         * converter.C: adjust
10826         * figureForm.C: adjust
10827         * importer.C: adjust
10828         * lyx_cb.C: adjust
10829         * lyx_gui_misc.C: adjust
10830         * lyxfunc.C: adjust
10831         * lyxvc.C: adjust
10832         * text2.C: adjust
10833         + more files in subdirs
10834
10835         * lyxparagraph.h (size): move up int file
10836         (GetLayout): ditto
10837
10838         * adjust all uses of Assert to lyx::Assert.
10839
10840         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10841         lyxfunctional in namespace lyx
10842         * layout.C (hasLayout): ditto
10843         (GetLayout): ditto
10844         (GetLayout): ditto
10845         (delete_layout): ditto
10846         (NumberOfClass): ditto
10847         * converter.C (GetFormat): ditto
10848         (GetNumber): ditto
10849         (Add): ditto
10850         (Delete): ditto
10851         (SetViewer): ditto
10852         * bufferlist.C (getFileNames): ditto
10853         (emergencyWriteAll): ditto
10854         (exists): ditto
10855         (getBuffer): ditto
10856         * MenuBackend.C (hasSubmenu): ditto
10857         (hasMenu): ditto
10858         (getMenu): ditto
10859         * BufferView_pimpl.C (getInsetByCode): ditto
10860
10861 2001-04-18  Juergen Vigna  <jug@sad.it>
10862
10863         * vspace.C (asLatexString): fixed the 100% problem.
10864
10865 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * lyxfunc.C (Dispatch):
10868         * minibuffer.C:
10869         * minibuffer.h: add a few std:: qualifiers
10870
10871 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10872
10873         * minibuffer.[Ch]: reimplement so that commands is initiated and
10874         run from lyxfunc, simplified som handling, and made the completion
10875         and history code for complete. wip.
10876
10877         * lyxfunc.C (processKeySym): call message
10878         (miniDispatch): new temporary method
10879         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10880         (LFUN_MESSAGE): implement
10881         (LFUN_MESSAGE_PUSH): implement
10882         (LFUN_MESSAGE_POP): implement
10883         (initMiniBuffer): the initial/defualt minibuffer message.
10884
10885         * lyxfont.[Ch]: inline some more getters
10886
10887         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10888
10889         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10890
10891         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10892         (AutoSave): use LFUN_MESSAGE
10893         (Reconfigure): ditto
10894
10895         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10896
10897         * figureForm.C: use LFUN_MESSAGE
10898
10899         * converter.C (runLaTeX): use LFUN_MESSAGE
10900
10901         * bufferview_funcs.C: use LFUN_MESSAGE
10902         (Melt): ditto
10903         (changeDepth): ditto
10904
10905         * bufferparams.h: use boost::
10906
10907         * bufferlist.h: inherit privately from noncopyable
10908
10909         * bufferlist.C (loadLyXFile): remove some commented code.
10910
10911         * buffer.C (runChktex): use LFUN_MESSAGE
10912
10913         * ShareContainer.h: inherit privately from noncopyable
10914
10915         * ParagraphParameters.[hC] (depth): inline it.
10916
10917         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10918         methods.
10919         (message): new method
10920         (messagePush): ditto
10921         (messagePop): ditto
10922         (show): init minibuffer
10923         (showState): direct call
10924
10925         * LaTeX.[Ch]: inherit privately from noncopyable
10926         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10927         instead of WriteStatus.
10928
10929         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10930
10931         * BufferView_pimpl.C (buffer): don't init minibuffer
10932         (workAreaButtonPress): use LFUN_MESSAGE
10933         (workAreaButtonRelease): ditto
10934         (savePosition): ditto
10935         (restorePosition): ditto
10936         (MenuInsertLyXFile): ditto
10937         (workAreaExpose): don't init minibuffer
10938         (update): remove commented code, simplify
10939
10940         * BufferView2.C (openStuff): use LFUN_MESSAGE
10941         (toggleFloat): ditto
10942         (menuUndo): ditto
10943         (menuRedo): ditto
10944         (copyEnvironment): ditto
10945         (pasteEnvironment): ditto
10946         (copy): ditto
10947         (cut): ditto
10948         (paste): ditto
10949         (gotoInset): ditto
10950         (updateInset): remove some commented code
10951
10952         * lastfiles.h: inherit privately from noncopyable
10953         * layout.h: ditto
10954         * lyx_gui.h: ditto
10955         * lyx_main.h: ditto
10956         * lyxlex.h: ditto
10957         * lyxlex_pimpl.h: ditto
10958
10959         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10960         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10961         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10962
10963         * LyXAction.h: inherit privately from noncopyable, add methods
10964         func_begin, func_end, returning iterators to the func map.
10965
10966         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10967         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10968         (func_begin): new method
10969         (func_end): new method
10970
10971         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10972         and not)
10973         (copySelection): ditto
10974         (pasteSelection): ditto
10975
10976         * BufferView.C: whitespace change
10977         * BufferView.h: inherit privately from noncopyable
10978
10979 2001-04-16  Allan Rae  <rae@lyx.org>
10980
10981         * tabular-old.C (l_getline):
10982         * spellchecker.C (sc_check_word):
10983         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10984         an unrecognised preprocessor directive.  So ensure they're wrapped.
10985
10986 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10987
10988         * src/exporter.C (Export): Give an error message when path to file
10989         contains spaces.
10990
10991 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10992
10993         * LaTeX.C (deplog): Always check that foundfile exists.
10994
10995 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10996
10997         * lyx_main.h:
10998         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10999
11000 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11001
11002         * tabular.[Ch] (getLabelList): implement new method
11003
11004         * minibuffer.h: comment ouf setTiimer
11005
11006         * minibuffer.C (ExecutingCB): constify res
11007         (peek_event): constify s
11008         (Set): constify ntext
11009         (Init): constify nicename
11010
11011         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11012
11013         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11014         (savePosition): use two params to Minibuffer::Set
11015         (restorePosition): ditto
11016
11017 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * lyx_main.C: include language.h
11020
11021         * Makefile.am (lyx_main.o): add language.h
11022
11023 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11024
11025         * exporter.C:
11026         * paragraph.C:
11027         * screen.C:
11028         * tabular.C:
11029         * CutAndPaste.C: include gettext.h
11030
11031         * lyxfont.h: remove old hack with ON and OFF.
11032
11033         * lyxparagraph.h:
11034         * lyxfont.h: do not include language.h...
11035
11036         * BufferView2.C:
11037         * LaTeXFeatures.C:
11038         * Painter.C:
11039         * bufferview_funcs.C:
11040         * font.C:
11041         * lyxfont.C:
11042         * text.C:
11043         * text2.C:
11044         * trans_mgr.C:
11045         * paragraph.C: ... but do it here instead
11046
11047 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11050
11051         * tabular.C: small reformat
11052
11053         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11054         NEW_INSETS version
11055         (GetChar): ditto
11056         (BreakParagraph): ditto
11057         (SetOnlyLayout): ditto
11058         (SetLayout): ditto
11059
11060         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11061         with one arg less.
11062
11063         * lastfiles.C: removed most using decl, add std:: where needed
11064
11065         * buffer.C: ws changes
11066
11067         * MenuBackend.C (class compare_format): put into anon namespace
11068         (expand): constify label, names, action, action2
11069         (expand):
11070
11071         * text.C (SingleWidth): constify font
11072         (IsBoundary): constify rtl2
11073         (GetVisibleRow): constify ww
11074
11075         * LaTeX.C (deplog): constify logfile
11076
11077         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11078         start_x, end_x
11079         (workAreaExpose): constify widthChange, heightChange
11080
11081         * lyxrow.C (par): moved
11082         (height): moved
11083         (next): moved
11084         * lyxrow.h: as inlines here
11085
11086         * lyxfont.h (shape): moved from lyxfont.C
11087         (emph): moved from lyxfont.C
11088
11089         * lyxfont.C (LyXFont): use initialization list for all
11090         constructors
11091         (shape): move to lyxfont.h as inline
11092         (emph): move to lyxfont.h as inline
11093
11094
11095 2001-04-04  Juergen Vigna  <jug@sad.it>
11096
11097         * vspace.C: had to include stdio.h for use of sscanf
11098
11099 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11100
11101         * BufferView.h:
11102         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11103         independent of xforms.
11104
11105 2001-04-02  Juergen Vigna  <jug@sad.it>
11106
11107         * spellchecker.C: fixed namespace placing!
11108
11109 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11112         the LyXParagraph * is 0.
11113
11114 2001-03-29  Juergen Vigna  <jug@sad.it>
11115
11116         * vspace.C: added support for %, c%, p%, l%.
11117         (stringFromUnit): added helper function.
11118         (asLatexString): changed to give right results for the %-values.
11119
11120         * buffer.C: convert the widthp in a width%.
11121
11122 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11123
11124         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11125         figureForm.[Ch].
11126
11127         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11128         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11129
11130         * lyx_cb.[Ch]: see above.
11131
11132         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11133         form1.[Ch].
11134
11135         * form1.[Ch]:
11136         * lyx.[Ch]: replaced by figure_form.[Ch].
11137
11138         * lyx_gui.C:
11139         * lyx_gui_misc.C:
11140         * lyxfunc.C: changed headers associated with above changes.
11141
11142 2001-03-27  Juergen Vigna  <jug@sad.it>
11143
11144         * BufferView_pimpl.C: set the temporary cursor right!
11145
11146 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11149
11150 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11151
11152         * LString.h: removed "using std::getline"!
11153
11154         * BufferView_pimpl.C (Dispatch): changes due to changes in
11155         InsetInclude::Params.
11156
11157         * buffer.C (tag_name): removed redundant break statements as they were
11158         producing lots of warnings with my compiler.
11159
11160 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11161
11162         * LString.h: add "using std::getline" when using the real <string>.
11163
11164 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11165
11166         * buffer.C: removed bitset usage.
11167         PAR_TAG moved to an anonymous name space.
11168         (tag_name): new funtion, also in the anonymous namespace.
11169         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11170         (makeDocBookFile): clean code. Completed transition from string arrays
11171         to string vectors.
11172         (SimpleDocBookOnePar): code clean.
11173
11174 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11175
11176         * tabular.C: add some comments.
11177
11178 2001-03-22  Juergen Vigna  <jug@sad.it>
11179
11180         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11181         compatibility read a bit and fixed bug with minipage in different
11182         depth.
11183
11184 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11185
11186         * buffer.C (pop_tag): removed.
11187         (push_tag): removed.
11188         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11189         array replaced with vector. Added support for CDATA sections.
11190         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11191         at any nest level.
11192         (makeDocBookFile): XML conformant declaration of CDATA section,
11193         fixed bug related to <emphasis> in the first paragraph char.
11194         (sgmlOpenTag): exclude empty tags.
11195         (sgmlCloseTag): ditto.
11196
11197         * buffer.h (pop_tag): removed.
11198         (push_tag): removed.
11199
11200 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11201
11202         * language.h (Languages): added size_type and size().
11203
11204 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11205
11206         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11207         response on compability reading of minipages. One probliem is that
11208         the old usage of minipages was «flertydig»
11209
11210         * several files here and in subdirs: don't use static at file
11211         scope use anon namespaces instead.
11212
11213 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11214
11215         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11216         LaTeX output. This is necessary for Literate document
11217         processing.
11218
11219 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11220
11221         * buffer.C: insert hfill when needed.
11222
11223         * tabular.C (l_getline): use string::erase, small whitespace change.
11224
11225         * BufferView_pimpl.C: try the anon namespace.
11226         * WorkArea.C: ditto
11227
11228 2001-03-16  Juergen Vigna  <jug@sad.it>
11229
11230         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11231         otherwise it won't open options-dialogs.
11232
11233         * buffer.C: honor pextraWidth(p) on converting minipages.
11234
11235         * tabular.C (l_getline): changed the functions to strip trailing \r.
11236
11237 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11238
11239         * BufferView_pimpl.C:
11240         * minibuffer..C: added "using SigC::slot" declaration.
11241
11242 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11243
11244         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11245
11246         * text2.C: ditto
11247
11248         * text.C: ditto
11249
11250         * paragraph.C: ditto
11251
11252         * lyxtext.h: NO_PEXTRA
11253
11254         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11255
11256         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11257         * ParameterStruct.h: ditto
11258         * ParagraphParameters.h: ditto
11259         * lyxparagraph.h: ditto
11260
11261 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11262
11263         * buffer.C: add compability for minipage alignment.
11264         (latexParagraphs): remove unwanted pextra check.
11265
11266         * several files: remove CXX_WORKING_NAMESPACES
11267
11268         * buffer.C (pop_tag): tie is in namespace boost
11269
11270         * BufferView.h: noncopyable is in namespace boost
11271         * lyxlex.h: ditto
11272         * lyx_main.h: ditto
11273         * lyx_gui.h: ditto
11274         * layout.h: ditto
11275         * lastfiles.h: ditto
11276         * bufferlist.h: ditto
11277         * ShareContainer.h: ditto
11278         * LyXView.h: ditto
11279         * LyXAction.h: ditto
11280         * LaTeX.h: ditto
11281
11282 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11283
11284         * Merging changes from BRANCH_MVC back into HEAD.
11285
11286         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11287
11288 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * BufferView_pimpl.C: change from intl.C
11291
11292         * combox.h:
11293         * combox.C:
11294         * Makefile.am: move combox.*
11295
11296         * form1.h:
11297         * form1.C:
11298         * lyx_gui.C:
11299         * intl.h:
11300         * intl.C: remove dialog (covered by prefs)
11301
11302 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11303
11304         * lyxfunc.C (Dispatch): removed redundant break statement.
11305
11306 2001-03-14  Juergen Vigna  <jug@sad.it>
11307
11308         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11309
11310 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11311
11312         * buffer.C: add hack to fix compability reading of minipages.
11313
11314 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * buffer.C (getLists): Cleanup.
11317
11318 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * lyxfont.C (update): don't honor toggleall on font size.
11321
11322 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * bmtable.c:
11325         * bmtable.h:
11326         * Makefile.am: moved to frontends/xforms/
11327
11328         * lyx_gui_misc.C:
11329         * lyxfunc.C:
11330         * BufferView_pimpl.C: changes for moved mathpanel
11331
11332 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * gettext.h: fix gettext_init() in --disable-nls
11335
11336 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11337
11338         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11339
11340 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * lyx.C:
11343         * lyx.h: strip external form
11344
11345 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * BufferView_pimpl.C: add comment, destroySplash()
11348
11349 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * BufferView_pimpl.C:
11352         * LyXAction.C:
11353         * buffer.C:
11354         * commandtags.h:
11355         * lyxfunc.C: use re-worked insetinclude
11356
11357 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11358
11359         * buffer.C: add using std::stringstream.
11360
11361         * lyx_cb.C: readd using std::ios.
11362
11363         * buffer.C: add using std::map.
11364
11365         * BufferView_pimpl.C: add using std::vector.
11366
11367         * ShareContainer.h: add std:: to swap.
11368
11369         * buffer.h: add some typedefs
11370         * buffer.C (getLists): use them
11371         (getLists): renamed from getTocList.
11372         add a counter for the different float types and use it in the
11373         generated string.
11374         (getLists): use the same counter for the NEW_INSETS and the "non"
11375         NEW_INSETS
11376
11377         * lyx_cb.h: remove unused items, includes, using etc.
11378
11379         * ShareContainer.h: remove some commented code, add more comments
11380         and "documentation".
11381
11382 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11383
11384         * buffer.C (getTocList): make the list also when NEW_INSETS is
11385         defined.
11386
11387         * buffer.h: remove TocType
11388
11389         * buffer.C (getTocList): change to return a map<string,
11390         vector<TocItem> >, implement for dynamic number of list.
11391
11392         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11393         * text2.C (PasteSelection): adjust
11394         * CutAndPaste.C (pasteSelection): adjust
11395
11396         * FloatList.C (FloatList): update from the new_insets branch.
11397         * Floating.[Ch]: ditto
11398         * LaTeXFeatures.C: ditto
11399         * buffer.C: ditto
11400         * lyxlex_pimpl.C: ditto
11401
11402         * paragraph.C (Last): remove when NEW_INSETS is defined.
11403
11404         * other file: changes because of the above.
11405
11406 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11407
11408         * lyxparagraph.h: rename next to next_, previous to previous_,
11409         make them private for NEW_INSETS. Rename Next() to next(),
11410         Previous() to previous().
11411
11412         * other files: changes because of the above.
11413
11414 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11415
11416         * BufferView.h:
11417         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11418         problem.
11419
11420 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11421
11422         * main.C (main): pass lyx_localedir to gettext_init().
11423
11424         * gettext.h: remove locale_init and gettext_init macros
11425
11426         * gettext.C (locale_init): new function
11427         (gettext_init): new function
11428
11429         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11430         setlocale().
11431
11432 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11433
11434         * Moved credits to frontends:
11435         * credits.[Ch]: removed
11436         * credits_form.[Ch]: removed
11437         * lyx_gui_misc.C: remove credits stuff
11438         * Makefile.am:
11439
11440 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11441
11442         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11443
11444         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11445         unneeded destructor.
11446
11447         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11448         a standalone pointer again.
11449
11450         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11451
11452 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * Makefile.am:
11455         * filedlg.h:
11456         * filedlg.C:
11457         * LyXAction.C:
11458         * ToolbarDefaults.C:
11459         * bufferlist.C:
11460         * commandtags.h:
11461         * form1.C:
11462         * form1.h:
11463         * lyx_cb.C:
11464         * lyx_cb.h:
11465         * lyxfunc.h:
11466         * lyxfunc.C:
11467         * BufferView_pimpl.C: use new file dialog in GUII
11468
11469         * lyx_cb.h:
11470         * lyx_cb.C: remove LayoutsCB to Toolbar
11471
11472 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * ShareContainer.h (get): add std:: qualifier
11475
11476 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11477
11478         * ShareContainer.h: define a proper ShareContainer::value_type
11479         type (and use typename to please compaq cxx)
11480
11481 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11482
11483         * lyxparagraph.h: move serveral local vars to
11484         ParameterStruct/ParagraphParameters., use ShareContainer in
11485         FontTable., make vars in FontTable private and add getter and
11486         setter.
11487
11488         * paragraph.C: changes because of the above.
11489
11490         * lyxfont.h: remove copy constructor and copy assignment. (the
11491         default ones is ok), move number inside FontBits. move inlines to
11492         lyxfont.C
11493
11494         * lyxfont.C: add number to initializaton of statics, move several
11495         inlines here. constify several local vars. some whitespace
11496         cleanup. Dont hide outerscope variables.
11497
11498         * Spacing.h: add two new constructors to match the set methods.
11499
11500         * ShareContainer.h: new file, will perhaps be moved to support
11501
11502         * ParameterStruct.h: new file
11503
11504         * ParagraphParameters.h: new file
11505
11506         * ParagraphParameters.C: new file
11507
11508         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11509         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11510
11511         * BufferView_pimpl.C: ParagraphParameter changes.
11512         * buffer.C: Likewise.
11513         * bufferview_funcs.C: Likewise.
11514         * text.C: Likewise.
11515         * text2.C: Likewise.
11516
11517 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11518
11519         * lyxfind.C (LyXReplace): do not redefine default argument in
11520         implementation.
11521         (IsStringInText): ditto
11522         (SearchForward): ditto
11523         (SearchBackward): ditto
11524
11525 2001-03-06  Juergen Vigna  <jug@sad.it>
11526
11527         * lyxfind.C (IsStringInText): put parentes around expressions.
11528
11529 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11530
11531         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11532
11533 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11536
11537         * stl_string_fwd.h: add comment
11538
11539         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11540
11541         * tabular.h:
11542         * tabular.C: remove unused DocBook methods
11543
11544         * intl.C:
11545         * language.C:
11546         * paragraph.C:
11547         * buffer.C:
11548         killed DO_USE_DEFAULT_LANGUAGE
11549
11550 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11551
11552         * lyx_gui.C: do not include language.h.
11553
11554         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11555         arguments in function implementation.
11556
11557 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11558
11559         * BufferView_pimpl.C: add <ctime>
11560
11561 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11562
11563         * BufferView_pimpl.C: add using std::find_if
11564
11565 2001-02-27  José Matos  <jamatos@fep.up.pt>
11566
11567         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11568         by OnlyPath.
11569
11570 2001-02-11  José Matos  <jamatos@fep.up.pt>
11571
11572         * buffer.C (makeDocBookFile): command styles now have a parameter as
11573         "title" by default.
11574
11575 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11576
11577         * layout_forms.[Ch]: removed
11578         * lyx_cb.[Ch]: out character
11579         * lyx_gui.C: out character
11580         * lyx_gui_misc.C: out character
11581         * bufferview_funcs.C: : out character,
11582         added toggleall as parameter in ToggleAndShow
11583
11584 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11587
11588         * text2.C (SetCurrentFont): Disable number property at boundary.
11589
11590 2001-02-26  Juergen Vigna  <jug@sad.it>
11591
11592         * lyxfunc.C (getStatus): added a string argument override function so
11593         that this is correctly called from LyXFunc::Dispatch if it contains a
11594         do_not_use_argument which is used!
11595         (Dispatch): added check for "custom" export and call appropriate func.
11596
11597 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11598
11599         * lyxrc.C: Add language_command_local, language_use_babel and
11600         language_global_options.
11601
11602         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11603
11604         * buffer.C (makeLaTeXFile): Use language_use_babel and
11605         language_global_options.
11606
11607 2001-02-23  Juergen Vigna  <jug@sad.it>
11608
11609         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11610         which works with LyXText and putted it inside BufferView. Here now we
11611         only call for that part the BufferView::Dispatch() function.
11612
11613         * BufferView.C (Dispatch): added.
11614
11615         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11616         functions which needs to use a LyXText over from LyXFunc.
11617         (MenuInsertLyXFile): added
11618         (getInsetByCode): added
11619         (moveCursorUpdate): added
11620         (static TEXT): added
11621
11622 2001-02-22  Juergen Vigna  <jug@sad.it>
11623
11624         * BufferView_pimpl.C (update): call a status update to see if LyXText
11625         needs it.
11626
11627 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11628
11629         * vc-backend.C (revert): implement for CVS
11630         (getLog): implement for CVS
11631
11632 2001-02-20  Juergen Vigna  <jug@sad.it>
11633
11634         * text2.C (ClearSelection): added BufferView param for inset_owner call
11635
11636         * lyxfunc.C (TEXT): added this function and use it instead of
11637         directly owner->view()-text of getLyXText().
11638
11639 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11640
11641         * src/layout_forms.C: out preamble
11642         * src/layout_forms.h: out preamble
11643         * src/lyx_cb.C: out preamble
11644         * src/lyx_cb.h: out preamble
11645         * src/lyx_gui.C: out preamble
11646         * src/lyx_gui_misc.C: out preamble
11647         * src/lyxfunc.C: connect with guii preamble
11648
11649 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11650
11651         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11652
11653 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11654
11655         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11656         whether to run bibtex.
11657
11658 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11659
11660         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11661
11662 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11663
11664         * Makefile.am (lyx_SOURCES): removed bibforms.h
11665
11666         * vspace.h: doxygen
11667
11668         * text.C (GetVisibleRow): make several local vars const
11669
11670         * tabular.C: small cleanup.
11671
11672         * lyxserver.C (callback): use compare instead of strncmp
11673
11674         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11675         inlines to after class or to paragraph.C
11676
11677         * lyxfont.h: remove friend operator!=
11678
11679         * converter.h: move friend bool operator< to non friend and after
11680         class def.
11681
11682         * combox.h: small cleanup
11683
11684         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11685         to inlines after class def.
11686
11687         * buffer.C (pop_tag): use string operations instead of strcmp
11688
11689         * bmtable.c: doxygen, small cleanup
11690
11691         * LaTeX.h: remove friend operator==
11692
11693 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11694
11695         * screen.C:
11696         * lyxrc.[Ch]:
11697         * lyxfunc.C:
11698         * lyxfont.[Ch]:
11699         * lyx_cb.C:
11700         * intl.[Ch]:
11701         * commandtags.h:
11702         * buffer.C:
11703         * WorkArea.[Ch]:
11704         * LyXAction.C:
11705         * BufferView_pimpl.C:
11706         * BufferView.[Ch]: remove cruft
11707
11708 2001-02-14  Juergen Vigna  <jug@sad.it>
11709
11710         * lyxfunc.C: removed #if 0 unused code
11711
11712         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11713
11714         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11715
11716         * text2.C (SetSelection): added a BufferView * parameter
11717
11718 2001-02-13  Juergen Vigna  <jug@sad.it>
11719
11720         * lyxfunc.C (Dispatch): fixed protected blank problem.
11721         * BufferView2.C (protectedBlank): added LyxText * parameter.
11722
11723         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11724         (AppendColumn): same as above for column_info.
11725
11726         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11727         (moveCursorUpdate): use a LyXText param for support of InsetText.
11728
11729         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11730         (tripleClick): ditto
11731
11732         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11733
11734         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11735
11736         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11737
11738         * text2.C (SetSelection): set correct update status if inset_owner
11739         (ToggleFree): ditto
11740
11741 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11742
11743         * tabular.C: remove some commented code.
11744
11745 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * BufferView_pimpl.C: call hideSplash()
11748
11749         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11750
11751         * include_form.h:
11752         * bibforms.h: remove
11753
11754         * lyxfunc.C:
11755         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11756           add LFUN_CHILD_CREATE
11757
11758         * counters.h: fix tiny typo
11759
11760         * lyx_cb.C:
11761         * lyx.h:
11762         * lyx_gui.C:
11763         * lyx.C: move splash to frontends/xforms/
11764
11765         * lyx_gui_misc.C: move Include and Bibform to frontends
11766
11767         * lyxvc.h: clarify comment
11768
11769         * vspace.C: tiny housekeeping
11770
11771 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11772
11773         * text.C (PrepareToPrint): RTL Fix.
11774
11775         * paragraph.C (GetUChar): New method.
11776         (String):  Use GetUChar.
11777
11778         * buffer.C (asciiParagraph): Use GetUChar.
11779
11780 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11781
11782         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11783
11784 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * buffer.h:
11787         * buffer.C: rename to getLogName(), handle
11788           build log / latex log nicely
11789
11790 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * MenuBackend.C:
11793         * MenuBackend.h: remove support for reference menuitem type.
11794
11795 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11796
11797         * BufferView_pimpl.C: housekeeping
11798         * BufferView_pimpl.h:
11799         * LyXView.h:
11800         * Makefile.am:
11801         * Timeout.C:
11802         * Timeout.h:
11803         * minibuffer.h: move Timeout GUI-I
11804
11805 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11806
11807         * lyxrc.C (read): Update converters data-structures.
11808
11809 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11810
11811         * LaTeX.h (operator!=): add operator != for Aux_Info
11812
11813 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11816
11817         * LaTeXLog.C: deleted, useful code moved to Buffer
11818
11819         * buffer.h:
11820         * buffer.C: new function getLatexLogName()
11821
11822         * lyx_gui_misc.C:
11823         * lyx_gui.C:
11824         * lyxvc.C:
11825         * lyxvc.h:
11826         * lyxfunc.C: use frontends for LaTeX and VC logs
11827
11828 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * LaTeX.h: yet another std:: that Allan forgot.
11831
11832         * Variables.C (set): renamed from isset(), because this clashes
11833         with some HP-UX macros (grr).
11834
11835 2001-02-06  Allan Rae  <rae@lyx.org>
11836
11837         * LaTeX.h: Another bug fix.  Missing std:: this time.
11838
11839 2001-02-04  Allan Rae  <rae@lyx.org>
11840
11841         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11842         floats problem. I've left it commented out because it's not quite
11843         correct.  It should also test that the current object is a table or
11844         figure inset.  But I haven't gotten around to figuring out how to do
11845         that.  I *think* it'll be something like: "table" == inset.type()
11846
11847         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11848         bool.
11849
11850 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11851
11852         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11853         all the citation/databases/styles in the auxilary file.
11854         (run): Rerun latex if there was a babel language error.
11855
11856 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11857
11858         * text.C (Backspace): Preserve the font when changing newline char
11859         with a space.
11860         (BreakParagraph): If the cursor is before a space, delete the space.
11861
11862         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11863
11864 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11865
11866         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11867         new argument (code).
11868         (ChangeCitationsIfUnique): New method.
11869
11870         * paragraph.C (GetPositionOfInset): Handle bibkey.
11871
11872 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * BufferView_pimpl.h: change type of Position::par_pos to
11875         LyXParagraph::size_type.
11876
11877 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11878
11879         * BufferView_pimpl.C (savePosition, restorePosition): Write
11880         messages to minibuffer.
11881
11882 2001-01-28  José Matos  <jamatos@fep.up.pt>
11883
11884         * buffer.C (makeDocBookFile): adds support for document language.
11885         A silly restriction on the name of LatexCommand types where removed.
11886         Added support for CDATA sections, allows to chars unescaped, used
11887         among others in code, to avoid escape < and >.
11888
11889 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11890
11891         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11892         saved positions instrad of a stack. Furthermore, a position is
11893         stored using paragraph id/paragraph position.
11894
11895         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11896         Remove LFUN_REF_BACK.
11897
11898 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * converter.C (dvipdfm_options): New method.
11901
11902 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11903
11904         * vspace.C (isValidLength): Fix for empty input string.
11905
11906 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11907
11908         * LyXAction.C (init): change description of LFUN_FIGURE to
11909         "Insert Graphics"
11910
11911 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * LaTeX.C: add using directive
11914
11915 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11916
11917         * MenuBackend.C (expand): Fix the sorting of the formats.
11918
11919 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * lyx_main.C: tiny error message fix
11922
11923 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11924
11925         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11926         calling fl_initialize(). This fixes the problem with ',' as
11927         decimal separator in text files.
11928
11929 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * trans.C (process): Fix the keymap bug.
11932
11933 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * LaTeX.C (scanAuxFiles): New method. Provides support for
11936         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11937         (scanLogFile) Scan for "run BibTeX" messages.
11938
11939         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11940         OT1 font encoding. Also, load the aecompl package if the ae
11941         package is loaded.
11942
11943         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11944
11945 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11946
11947         * texrow.C (increasePos): turn two error messages into debug
11948         messages.
11949
11950 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * LaTeX.C (scanAux): Handle the \@input macro.
11953         (runBibTeX): Use scanAux().
11954
11955         * language.C (latex_options_): New field.
11956
11957         * LaTeXFeatures.C (getMacros): Add language macros.
11958
11959         * buffer.C (makeLaTeXFile): Small fix.
11960
11961 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11962
11963         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11964
11965         * text2.C: add a using directive.
11966
11967 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * BufferView2.C:
11970         * lyx_gui_misc.h:
11971         * lyxfr1.C:
11972         * lyxfunc.C: kill LyXBell.
11973
11974 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * text.C (IsBoundary): Remove the error message
11977
11978         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11979
11980         * lyxrc.C (setDefaults): Correct initialization value for
11981         font_norm_type.
11982
11983 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11984
11985         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11986         gotoError().
11987
11988         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11989         and GotoNextNote().
11990
11991         * src/LyXAction.C: Added reference-next.
11992
11993         * text.C (InsertChar): Use contains instead of strchr.
11994
11995         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11996
11997 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11998
11999         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12000         alignment commands (when needed).
12001
12002         * text.C (InsertChar): Add ':' to number separator chars.