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