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