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