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