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