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