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