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