]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix bug 1815
[lyx.git] / src / ChangeLog
1 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
2
3         * debug.C: fix typo
4         * buffer.C: clarify message
5         
6 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7
8         * dociterator.C (DocIterator): fix initialization order
9
10 2005-07-17  Juergen Vigna  <jug@lyx.org>
11
12         * text2.C (cursorHome): 
13         * text.C (drawSelection, cursorX): 
14         * dociterator.C (textRow): add boundary to getRow() call
15
16         * paragraph.C (getRow): implementation of below
17
18         * paragraph.h: add parameter boundary for getRow() function
19
20 2005-07-18  José Matos  <jamatos@fc.up.pt>
21
22         * buffer.C:
23         * bufferparams.[Ch]:
24         * tex-strings.[Ch]: new file format, remove support for a4.sty,
25         a4wide.sty and a4widemargins.
26
27 2005-07-17  Juergen Vigna  <jug@lyx.org>
28
29         * text2.C (cursorLeft): fix one of error
30
31 2005-07-17  Juergen Vigna  <jug@lyx.org>
32
33         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
34                    cursorEnd):
35         more fixes for boundary handling
36
37         * text3.C (dispatch): don't reset cursor if boundary has changed
38         on cursor movement.
39
40 2005-07-16  Juergen Vigna  <jug@lyx.org>
41
42         * text2.C (getColumnNearX): hopefully got it right now,
43         check if we are on column 0 for special case.
44
45 2005-07-16  Juergen Vigna  <jug@lyx.org>
46
47         * text2.C (getColumnNearX): handle special case Newline Inset
48
49         * text.C (singleWidth): Just remove bogus check
50
51 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
52
53         * funcrequest.C (split): avoid reading uninitialized char c
54
55 2005-07-16  José Matos  <jamatos@fc.up.pt>
56
57         * buffer.C:
58         * converter.C:
59         * lyxrc.C:
60         * paper.h:
61         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
62         single papersize variable.
63
64 2005-07-16  Juergen Vigna  <jug@lyx.org>
65
66         * text3.C (dispatch): honor boundary when checking if a cursor
67         movement has been done
68
69         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
70         (setCursor, setCursorIntern): fix cursor movement with boundary
71
72 2005-07-16  Juergen Vigna  <jug@lyx.org>
73
74         * text.C (currentState): output the actual Boundary
75
76 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * factory.C (createInset): fix bad logic for tabular creation
79
80 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
81
82         * lyx_main.C (init): change some reLyX reference to tex2lyx
83
84 2005-07-16  Juergen Vigna  <jug@lyx.org>
85
86         * dociterator.C (DocIterator): initialize boundary
87
88 2005-07-16  Juergen Vigna  <jug@lyx.org>
89
90         * text2.C (getColumnNearX): Consider rows without trailing blank.  
91
92 2005-07-16  André Pönitz  <poenitz@gmx.net>
93
94         * lyxfont.h: Change order of declarations to give the compiler
95         a better chance to inline things
96
97         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
98         questions on unsaved docs for better scritability
99
100 2005-07-16  André Pönitz  <poenitz@gmx.net>
101
102         * paragraph.h (getChar): remove asserts as the same kind of security
103         can be achieved by using a suitable standard library implementation
104         and the function was in the critical path (25.9% in profiler)
105
106 2005-07-16  Juergen Vigna  <jug@lyx.org>
107
108         * cursor.C (bruteFind2):
109         * bufferview_funcs.C (coordOffset): 
110         * text.C (cursorX,cursorY): Handle cursor position after last char
111         in row before a inset which uses a whole row.
112
113 2005-07-15  José Matos <jamatos@lyx.org>
114
115         * output_plaintext.[Ch] (writeFileAscii): control reference title
116         printing.
117         (asciiParagraph): noparbreak was already deal and was incorrectly
118         used.
119
120 2005-07-15  Juergen Vigna <jug@lyx.org>
121
122         * lyxfunc.C (dispatch): save and restore the cursor after a
123         textclass switch.
124
125 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
126
127         * text.C (backspace): bug 806 for empty keepempty paragraphs we
128         change the layout to default before letting DEPM do its thing.
129
130         * paragraph_funcs.C (breakParagraph): dont reset the layout on
131         keepEmpty paragraphs
132
133         * text.C (setCursorFromCoordinates): add a debug statement
134
135         * text2.C (getColumnNearX): bug 1825 make sure that we don't
136         return a pos that is not on the row
137
138         * output_latex.C (TeXDeeper): get rid of potential dereferencing
139         of past the end iterator
140
141 2005-07-14  André Pönitz  <poenitz@gmx.net>
142
143         * undo.C (recordUndoFullBuffer): implement undo for
144         textclass switches
145
146 2005-07-14  André Pönitz  <poenitz@gmx.net>
147
148         * cursor.C (setSelection): open insets when selection is set there
149         to avoid crashs with cold coord cache
150
151 2005-07-14  André Pönitz  <poenitz@gmx.net>
152
153         * trans_mgr.C (insert): move cursor to the right after inserting
154         a char.
155
156 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
157
158         * BufferView_pimpl.C (update): dampen some of the debug blabbering
159         * factory.C (readInset): ditto
160         * text.C, text2.C: ditto
161
162 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * buffer.C: format incremented to 242. There is no file format per
165         se, but the "frenchb" language has been removed from lib/language
166         and has to be translated to "french" by lyx2lyx.
167
168 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
169
170         * cursor_slice.h, dociterator.h: add some documentation
171         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
172
173 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
174
175         * text.C (leftMargin): do not add identation to display() style
176         insets, because they are always centered (bug 1293).
177
178 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
181         formatted_time methods in support/lyxtime.
182
183 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * toc.[Ch]: new method getGuiName, which is used by the frontends 
186         to set the toc combo (fixes bug 1870). Make TOC string translatable.
187
188 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
191         StableDocIterator const &)
192         * undo.C (recordUndo): use the above instead of cell.size() comparison
193         (fixes bug 1808; instructed by André).
194
195 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * cursor_slice.h: 
198         * dociterator.h: Fix the assert when copying rows/cols in math
199
200 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * BufferView_pimpl.C:
203         * LyXAction.C:
204         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
205
206         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
207         (findInset): new functions, refactored from goto Inset that return 
208         the position of a certain inset without setting the buffer's cursor
209         (by Jean-Marc); 
210         (gotoInset): rewrite to call findInset and then set the cursor
211         (by Jean-Marc).
212
213 2005-06-16  Angus Leeming  <leeming@lyx.org>
214
215         * lyxrc.C (output, read): wrap all input and output of paths with
216         calls to os::internal_path and os::external_path, respectively.
217         (output): wrap bind_file inside quotes.
218
219         * format.C (view): enable the viewer to use the '$$s' placeholder.
220
221 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
222
223         * LColor.[Ch] (getFromLaTeXName): new
224
225 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
226
227         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
228
229 2005-06-14  Angus Leeming  <leeming@lyx.org>
230
231         * lyx_main.C (init): ensure that the LyX binary dir is the first
232         element in the PATH on non-POSIX builds.
233
234 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
235
236         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
237
238 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * rowpainter.C (paintInset, paintHebrewComposeChar)
241         (paintArabicComposeChar, paintChars): add a LyXFont argument.
242         (paintChars): use getFontSpan to reduce calls to getFont to a
243         minimum; use Paragraph::lookupChange instead of isXXXText.
244         (paintForeignMark): rename LyXFont argument.
245         (paintFromPos): pass a LyXFont object to the various paintXXX
246         methods.
247
248         * FontIterator.C (FontIterator, operator++): use
249         Paragraph::getFontSpan
250
251         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
252         version that returns the font span as a pair.
253
254 2005-06-09  Angus Leeming  <leeming@lyx.org>
255
256         * converter.C (convert): Don't forget "outfile = real_outfile" as
257         the final step in a conversion where the input and output file names
258         are the same. Otherwise, future conversion steps won't work...
259
260 2005-06-09  Angus Leeming  <leeming@lyx.org>
261
262         * lyxsocket.C: remove stub code as it isn't needed by
263         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
264
265 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
268         effectively disabled -x
269
270 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
271
272         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
273         when it actually makes sense.
274
275 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * BufferView_pimpl.C: revert to showCursor in connection with
278         Lars's front-end stack
279
280 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * text.C (redoParagraph): move cursor right after a bibitem
283         has been inserted.
284
285         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
286
287 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * buffer_funcs.C (bufferErrors): fix computation of the end of an
290         error range.
291
292 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * BufferView.[Ch] (update):
295         * BufferView_pimpl.[Ch] (update, metrics):
296         * dimension.h (operator==):
297         * lyxfunc.C (dispatch):
298         * metricsinfo.h (ViewMetricsInfo):
299         * rowpainter.C (paintText):
300         * lyxtext.h:
301         * text.C (redoParagraph):
302         * text3.C (dispatch): Make LyX only repaint current paragraph in
303         case of character insert --> speedup. Also fix cursor draw
304         artifacts
305
306 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
309         avoid a crash (bug 1891)
310
311 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         Fix bug 1892:
314
315         * text2.C (getStringToIndex): constify cur argument.
316
317         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
318         argument has been given
319         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
320         try to invoke LFUN_INSET_APPLY).
321
322         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
323         if no inset was created by doInsertInset
324         (doInsertInset): return true if an inset has been inserted.
325
326 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * vspace.C (asGUIName): new method. A version of the space
329         suitable for showing on screen.
330
331 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
332
333         * MenuBackend.C:
334         * lyxrc.C: rename "ASCII" to "Plain Text"
335
336 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * buffer_funcs.C (expandLabel): take a Buffer as argument;
339         translate the labelstring.
340         (setCounter): translate labelstring as needed.
341
342         * output_docbook.C (makeCommand): fix expandLabel invokation
343
344 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
345
346         * BufferView.C: fix dialog title
347
348 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
349
350         * lyx_main.C (priv_exec): fix logic error with help from Angus
351         * lyx_main.C (parse_execute): set is_gui = false and remove now
352         obsolete comment about a segfault
353
354 2005-05-18  Angus Leeming  <leeming@lyx.org>
355
356         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
357
358 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * tabular.[hC]: added setCellInset to fix tabular paste.
361
362 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * buffer.C (save): check if destination is writable before trying
365         to copy a file
366
367 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * BufferView_pimpl.C (update): fix processEvents -caused update
370         recursion bug
371
372 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * buffer_funcs.C (setCounter): fix test for numbering of
375         environments.
376
377         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
378         depth correctly; use optional argument when it exists
379
380         * lyxtextclass.C: remove unused MaxCounterTags enum
381         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
382         (max_toclevel, min_toclevel): new methods.
383
384         * MenuBackend.C (expandToc2): fix case where depth is smaller than
385         the smallest depth in toc.
386
387         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
388         layouts that should not appear in a table of contents.
389
390 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
391
392         * cursor.h (undispatched, noUpdate): add comments from André
393
394 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
395
396         * lfuns.h:
397         * LyXAction.C:
398         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
399
400 2005-05-07  André Pönitz  <poenitz@gmx.net>
401
402         * cursor.[Ch] (leaveInset): new function
403
404 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
407
408 2005-05-04  Angus Leeming  <leeming@lyx.org>
409
410         * lyxfunc.C (getStatus): disable the spell checker dialog if
411         none of USE_[AIP]SPELL are defined.
412
413 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
414
415         * tabular.C (setWidthOfCell): remove obsolete comment
416
417 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * paragraph.C (bibitem):
420         * buffer_funcs.C (setCounter):
421         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
422
423 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
424
425         * text3.C (getStatus): immediately return after setOnOff
426
427         * rowpainter.C: fix drawing of appendix start
428
429 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
432         SwitchBetweenClasses and remove the unused return value.
433         Handle character styles, too
434
435 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
436
437         * factory.C (createInset): handle undefined character styles
438
439 2005-05-02  Angus Leeming  <leeming@lyx.org>
440
441         * buffer.C: protect the #include of utime.h with a preprocessor
442         guard.
443
444 2005-05-02  Angus Leeming  <leeming@lyx.org>
445
446         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
447         function so that auto-saving works, albeit in a blocking manner.
448
449         * Makefile.am: make compilation of the client sub directory, of
450         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
451         on conditionals set at configure time.
452
453         * SpellBase.[Ch]: no longer an abstract base class. Instead,
454         it can be compiled in its own right but has no-op functionality.
455
456         * aspell.C, pspell.C: remove preprocessor guards. The files should
457         be compiled only if the necessary functionality exists.
458
459         * lyxserver.C, lyxsocket.C: disable on Windows.
460
461 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * text.C (leftMargin): Fix the parindent use bug (1764)
464         by dirty trick
465
466 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
467
468         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
469         argument.
470
471 2005-04-25  Angus Leeming  <leeming@lyx.org>
472
473         * Bidi.[Ch]:
474         * coordcache.[Ch]:
475         * ispell.C:
476         * lyxserver.C:
477         * mover.C:
478         * pch.h:
479         include <config.h> in .C files, not .h ones.
480         add licence blurb.
481         protect headers inside preprocessor guards.
482
483 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
484
485         * FuncStatus.h (StatusCodes): document
486
487 2005-04-21  André Pönitz  <poenitz@gmx.net>
488
489         * FuncStatus.h (enabled, onoff): document
490
491 2005-04-19  Angus Leeming  <leeming@lyx.org>
492
493         * BufferView_pimpl.C (cursorToggle): no longer test whether
494         any child processes have been reaped before calling
495         handleCompletedProcesses().
496
497 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * text3.C (dispatch): fix, finally fix, the language problem in
500         new lyxtexts, without disabling on-the-fly font changes (Helge's
501         bug report)
502
503 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * text3.C (dispatch): set cursor on double/triple click events
506         (bug 1811)
507
508 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
511         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
512
513         * rowpainter.C (paintFirst): simplify the code a little bit. In
514         particular, remove the test for secnumdepth.
515         * text.C (setHeightOfRow): only allocate space for chapter number
516         when updateCounters provided an actual label, instead of looking
517         at secnumdepth directly.
518
519         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
520
521         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
522         paragraphs when secnumdepth is large enough or, for environments,
523         when they are not the first in a sequence.
524
525 2005-04-17  Angus Leeming  <leeming@lyx.org>
526
527         * buffer.C (makeLaTeXFile): replace code to manipulate a path
528         containing space and '~' characters with a call to latex_path().
529
530 2005-04-17  Angus Leeming  <leeming@lyx.org>
531
532         * converter.C (convert): protect all args of convertDefault.sh
533         script with quotes.
534
535 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * text3.C (dispatch): change the layout to "Caption" after inserting
538         a float.
539
540 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
541
542         * text3.C (dispatch): fix language problem in newly created
543         textinsets (and main text) in non-english docs
544
545 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
546
547         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
548         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
549         * text3.C (getStatus): disable LFUN_INSET_MODIFY
550
551 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
552
553         * lyxtext.h:
554         * text.C (metrics):
555         * text2.C (getFont):
556         * rowpainter.C (getFont): Fix metrics bug introduced by inset
557         fonts fix
558
559 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
562         output of \item arguments without trailing text.
563
564 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * FontIterator.C (operator*): avoid a copy of the font.
567
568 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * rowpainter.C (getFont): fix language bug from previous fix
571
572 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * rowpainter.C (RowPainter, getFont): fix font inside inset
575         (bugs 1766, 1809)
576
577 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
580         preventing inserted font, deco, delim insets jumping to start of
581         surrounding inset.
582
583 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * lyxfunc.C (dispatch): translate message before sending it to the
586         minibuffer.
587
588 2005-03-29  Angus Leeming  <leeming@lyx.org>
589
590         * lyx_main.C (priv_exec): call os::internal_path on each file passed
591         to LyX on the command line.
592
593 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
594
595         * vc-backend.C: use QuoteName to protect file names wherever
596         necessary.
597
598 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
599
600         * buffer.[Ch]:
601         * BranchList.h: fix bugs 1844,1845: document settings don't
602         stick
603
604 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
605
606         * lyxrc.C (setDefaults, read, output, getDescription): add support
607         for tex_allows_spaces.
608
609         * exporter.C (Export): allows files in directory containing spaces
610         if tex_allows_spaces is true.
611
612         * buffer.C (makeLaTeXFile): if the document path contains spaces,
613         output it in double quotes.
614
615 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
616
617         * rowpainter.C: use default text height for drawing change tracker
618         strikeout lines.
619
620 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
621
622         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
623
624 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
627         directory is missing.
628
629 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
630
631         * text2.C: fixed the fix, extended to other case.
632
633 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
634
635         * text2.C: fix for cursor up/down stuck in math [bug 1792]
636
637 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
638
639         * text2.C (cursorUp): get rid of a crash
640         * text.C (x2pos): add an assert
641
642 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * lyxfunc.C (getStatus): fix warning when assertions are disabled
645
646         * text3.C:
647         * lyxfunc.C:
648         * dociterator.C: include <boost/current_function.hpp>, which is
649         needed when assertions are disabled.
650
651 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
652
653         * text2.C: fix for stuck cursor when traversing two
654         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
655
656 2005-02-25  Andreas Vox  <avox@arcor.de>
657
658         * output_docbook.C (makeParagraph): suppress trailing newline
659         after a run of paragraphs
660
661 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
662
663         * paragraph.C: fix for confused change tracker when pasting
664         text that begins with a lineseparator. [bug 1827]
665         (setChange(0, Change::INSERTED);)
666
667         * paragraph_funcs.C: fix for lost changes on triple-paste
668         in change tracking mode [bug 1827] (par.setChange()).
669
670 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * text2.C (updateCounters, setCounter, expandLabel): move to
673         buffer_funcs.
674
675         * buffer_funcs.C (updateCounters): turn into a free standing
676         function and add a buffer parameter. Remove dead code for tracking
677         labelstring change.
678         (setCounter): change into a free-standing function which gets a
679         dociterator as argument. Use this iterator to fix captions in a
680         simple way. When no float is found above the caption, use the
681         labelstring of the caption layout as default.
682
683         * text.C (breakParagraph, backspace):
684         * text2.C (init, setLayout, changeDepth):
685         * text3.C (dispatch):
686         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
687         updateCounters.
688
689         * dociterator.C (forwardPar): make it much faster by calling
690         forwardPos() only when really necessary.
691
692         * output_docbook.C (makeCommand): adapt to expandLabel move.
693
694         * cursor.C: remove unused variable
695
696 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
697
698         * paragraph_funcs.C: fix crash when pasting insets in change
699         tracking mode [bug 1277] (honour change type in moveItem).
700
701 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
702
703         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
704
705 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         * BufferView.C (setCursor): change to use a DocIterator.
708         (gotoLabel): use BufferView::setCursor (other part of bug 781).
709         (putSelectionAt): adapt to BufferView::setCursor change.
710
711         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
712         moved here from LyXText and rewritten to use proper cursor
713         methods. Fixes bug 1787, 616 and 835.
714
715         * BufferView_pimpl.C (restorePosition): set the cursor correctly
716         when inside an inset (part of bug 781).
717         (dispatch): adapt to change of BufferView::setCursor.
718         (getStatus, dispatch): handle LFUN_GOTOERROR,
719         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
720
721         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
722         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
723         * text3.C (gotoNextInset, gotoInset): removed.
724
725 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
728
729 2005-02-15  Angus Leeming  <leeming@lyx.org>
730
731         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
732         can be used meaningfully in a comparison.
733
734 2005-02-13  André Pönitz  <poenitz@gmx.net>
735
736         * bufferview_funcs.C (coordOffset): improve cursor drawing
737
738 2005-02-13  André Pönitz  <poenitz@gmx.net>
739
740         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
741         * Cursor.C (dispatch): use fixIfBroken
742         * lyxfunc.C (getStatus): use fixIfBroken
743
744 2005-02-15  Angus Leeming  <leeming@lyx.org>
745
746         * lyx_main.C (error_handler):
747         * lyxfunc.C:
748         * lyxrc.C (setDefaults):
749         s/GetEnv/getEnv/.
750         #include "environment.h".
751
752         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
753
754 2005-02-15  Angus Leeming  <leeming@lyx.org>
755
756         * lyxserver.C (startPipe): squash MSVC warning "local variable
757         'fd' used without having been initialized".
758
759 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
760
761         * BufferView_pimpl.C: revert accidental commit.
762
763 2005-02-14  André Pönitz  <poenitz@gmx.net>
764
765         * dociterator.[Ch]: new member forwardPosNoDescent(),
766         which doesn't enter nested insets.
767         * text2.C (setFont): use forwardPosNoDescent() instead
768         of ForwardPos() (fixes crash on font change).
769
770 2005-02-13  Angus Leeming  <leeming@lyx.org>
771
772         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
773         only if lyxrc.path_prefix is not empty.
774
775 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * bufferparams.C (readGraphicsDriver): prevent crash
778
779 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
780
781         * text2.C (setCounter): check for inInset() == 0
782
783 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
786         but use update() to get correct screen display; use convert
787         instead of istringstream.
788         (getStatus): handle LFUN_GOTO_PARAGRAPH
789
790         * lyxfunc.C (dispatch, getStatus): do not handle
791         LFUN_GOTO_PARAGRAPH here.
792
793 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
794
795         * text3.C (dispatch): size() -> depth()
796
797         * text2.C: remove some debug output
798
799         * paragraph.C: ws changes only
800
801         * lyxfunc.C (getStatus): size() -> depth()
802
803         * dociterator.h (clear, push_back, pop_back, internalData,
804         operator[], resize, empty): new functions
805         Make StableDocIterator and operator== be friends. Don't inherit
806         from std::vector use a privat class variable slices_ instead.
807         Modify to fit.
808
809         * dociterator.C: update because of not inheriting from std::vector
810         anymore. Call explictly to slices_ instead. Use depth() instead of
811         size() and top() instead of back()
812
813         * cursor.C: chagne size() -> depth and back() -> top(). Also
814         remove some direct operator[](i) calls in favour of foo[i]
815         (getFont): remove some dead code
816
817         * bufferview_funcs.C (coordOffset): size() -> depth()
818
819         * buffer.C: ws changes only
820
821         * CutAndPaste.C (eraseSelection): back() -> top()
822
823         * BufferView_pimpl.C (selectionRequested): back() -> top()
824
825         * BufferView.C (setCursor): size() -> depth()
826
827 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
828
829         * text3.C (cursorPrevious): return true if depm changed something
830         (cursorNext): ditto
831         (dispatch): rename sl to oldTopSlice, remove moving use the new
832         NoUpdate func attrib instead. Make sure that needsUpdate is set
833         for function that have NoUpdate, but where depm might have changed
834         the buffer anyway.
835
836         * text2.C (cursorLeft): make us return true if depm changed
837         something
838         (cursorRight): ditto
839         (cursorUpParagraph): ditto
840         (curosrDownParagraph): ditto
841         (cursorUp, cursorDown): ditto, make sure to read comments in code
842         (deleteEmptyParagraphMechanism): remove an assert, also return
843         true if just a single char was deleted.
844
845         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
846         cursor that we modify, to avoid modifying an active cursor before
847         we call setCursor. This allows depm to run. Also return true if
848         depm deleted something.
849
850         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
851         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
852         cursorDownParagraph, cursorPrevious and cursorNext, return true if
853         something was changed in the buffer because of them (ie. depm run)
854
855         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
856         debug messages. Make update by default be false. Make sure that
857         the result of update is retained throught several calls down to
858         dispatch.
859
860         * LyXAction.h: add a new func_attrib: NoUpdate
861
862         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
863         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
864         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
865         and LFUN_WORDLEFT
866         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
867
868 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
871         bv_->owner(), bv_->buffer() by direct references to the private
872         members.
873         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
874         (getStatus): isSavedPosition() is in BufferView::Pimpl.
875         (fitCursor): center() is in BufferView::Pimpl.
876         (getStatus, trackChanges, dispatch): no need for a temporary buf
877         variable
878         (fitCursor, workAreaDispatch): use workarea().workheight()
879
880 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
881
882         * CutAndPaste.C (pasteSelectionHelper): fix a crash
883
884 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
885
886         * buffer.C: format up to 241.
887         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
888         break if pasting into ERT
889         * lyxfunc.C (getStatus): suppress mathpanel and
890         LFUN_DIALOG_SHOW_NEW_INSET in ERT
891
892 2005-02-01  Angus Leeming  <leeming@lyx.org>
893
894         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
895
896 2005-02-01  Angus Leeming  <leeming@lyx.org>
897
898         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
899         calling fs::is_directory().
900
901 2005-01-31  Angus Leeming  <leeming@lyx.org>
902
903         * lyx_main.C (priv_exec): specify explicitly the relative location
904         of the top level build directory when run in-place.
905
906 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
909         LyXText containing the cursor, not the top-level one.
910
911         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
912         true.
913         (insertStringAsLines): rename par to pit; use temporary variable
914         par to hold a Paragraph; do not store par.layout() in a variable,
915         since the pointer may die when breaking paragraphs; pass pars to
916         breakParagraph() instead of Buffer::paragraphs().
917
918 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
919
920         * lyxlex_pimpl.h: #include <fstream>.
921
922         * BufferView.[Ch] (getLyXText): add a const version.
923
924         * BufferView_pimpl.C: add debug aids.
925
926         * RowList_fwd.h:
927         * buffer.h:
928         * lyxrow.h:
929         * paragraph_funcs.h: add commentary explaining what the class does.
930
931
932         * coordcache.[Ch]: add lots of commentary.
933         (startUpdating, doneUpdating): debug aids.
934         (arrays, insets, parPos, getParPos): accessors to private data.
935
936         * cursor_slice.[Ch] (text): add a const version.
937         * dociterator.[Ch] (text, innerText): add const versions.
938
939         * lyxtext.h (breakParagraph): change the keep_layout arg to a
940         bool.
941
942         * paragraph.C (getRow, pos2ros): add asserts.
943
944         * paragraph.h: add commentary. Lots of.
945
946         * paragraph.[Ch] (metrucs, draw): removed.
947
948         * cursor.C:
949         * rowpainter.[Ch]: const-correct changes.
950
951         * text.C: various obvious clean-ups. Removal of ancient cruft.
952         Bug fixes, even.
953
954 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
955
956         * vc-backend.C (find_file): rewrite to use boost.filesystem
957         (scanMaster): ditto
958
959         * main.C (main): set default name check for boost.filesystem to
960         no check
961
962         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
963         (open): ditto
964         (doImport): ditto
965         (actOnUpdatedPrefs): ditto
966
967         * lyx_main.C (init): rewrite to use boost.filesystem
968         (queryUserLyXDir): ditto
969
970         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
971         (getContentsOfAsciiFile): ditto
972
973         * lastfiles.C (readFile): rewrite to use boost.filesystem
974
975         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
976
977         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
978         (loadLyXFile): ditto
979
980         * buffer.C (Buffer): adjust for destroydir
981         (getLogName): rewrite to use boost.filesystem
982         (setFileName): ditto
983         (save): use fs::copy_file (from fs_extras)
984
985         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
986
987         * LaTeX.C (run): rewrite to use boost.filesystem
988         (scanAuxFiles): ditto
989         (handleFoundFile): ditto
990
991 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
992
993         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
994
995         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
996
997 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
998
999         * lyxlayout.[Ch]: change some vars from float to double
1000
1001         * buffer.C (readFile): make a local var const
1002
1003         * Several files: use convert<> instead of atoi,strToXXX and friends
1004
1005 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1006
1007         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1008         holds the contents of packages.lst. New functions getAvailable
1009         and isAvailable to parse and check that list, resp.
1010
1011         * LyXAction.C:
1012         * lfuns.h:
1013         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1014
1015         * bufferparams.[Ch]: new param output_changes.
1016
1017         * Buffer.C: increase file format to 240.
1018         Use output_changes and isVailable.
1019
1020         * changes.[Ch]:
1021         * paragraph.C:
1022         * paragraph_pimpl.C: Use output_changes and isVailable.
1023
1024 2005-01-23  Angus Leeming  <leeming@lyx.org>
1025
1026         * output_latex.C: #include "insetbibitem.h", rather than
1027         forward declare function bibitemWidest.
1028
1029 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1030
1031         * lyx_main.C (init): make it compile on the Mac.
1032
1033 2005-01-20  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1036         (setLyXMisc): (char string literal) != (char string literal) is
1037         performing a comparison on the addresses. Convert one operand
1038         explicitly to string to guarantee expected behaviour.
1039         From MSVC warning.
1040
1041 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1042
1043         * buffer.C:
1044         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1045
1046         * output_plaintext.C: remove unneeded #include gzstream.h.
1047
1048 2005-01-20  Angus Leeming  <leeming@lyx.org>
1049
1050         * SpellBase.h: rename some of the elements of the Result enum.
1051
1052         * aspell_local.h:
1053         * ispell.h:
1054         * pspell.h:
1055         * aspell.C (check):
1056         * ispell.C (check):
1057         * pspell.C (check): ditto
1058
1059 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1060
1061         * buffer.C: add #include <fstream>.
1062
1063         * lyx_main.C (init): Compile fix.
1064
1065         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1066
1067 2005-01-20  Angus Leeming  <leeming@lyx.org>
1068
1069         * mover.h: change commentary to reflect the changed meaning of
1070         the $$s placeholder.
1071
1072 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1075
1076         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1077
1078 2005-01-20  Angus Leeming  <leeming@lyx.org>
1079
1080         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1081         printing diagnostic data by not dereferecing an iterator past the
1082         end.
1083
1084 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1085
1086         * buffer.C (readHeader): use "&&" rather than "and".
1087
1088         * lyxserver.h (inPipeName, outPipeName): make these const.
1089
1090 2005-01-19  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyx_main.C (error_handler, init): protect SIGHUP with
1093         #ifdef SIGHUP guards.
1094
1095 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1096
1097         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1098
1099 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * text.C (setHeightOfRow): add a margin at the top and bottom of
1102         the document (bug 1761)
1103
1104 2005-01-17  Angus Leeming  <leeming@lyx.org>
1105
1106         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1107         with "python ". Workaround for a brain-dead Windows.
1108
1109 2005-01-16  Angus Leeming  <leeming@lyx.org>
1110
1111         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1112         for MacOSX and Windows to use prependEnvPath.
1113         Strip out the hard-coded block to add elements to the PATH for
1114         MacOSX and replace it with a call to prependEnvPath using the
1115         contents of LyXRC::path_prefix.
1116         (queryUserLyXDir): strip out the code to run reconfigure, instead
1117         returning a boolean indicating the necessity to do so.
1118         (reconfigureUserLyXDir): contains the code to reconfigure the
1119         user support directory. Is now called after the various LyXRC data
1120         files have been read.
1121
1122         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1123
1124 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * converter.[Ch] (convert): take a new parameter try_default. Use
1127         a default converter (imagemagick) if try_default is true.
1128
1129 2005-01-13  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1132         os::cygwin_path_fix.
1133         (write): output LyXRC::cygwin_path_fix as necessary.
1134
1135 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1136
1137         * lyxrc.h:
1138         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1139
1140 2005-01-12  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyx_main.C (init): set the PATH variable to include the
1143         directory containing the LyX binary when running on Mac or Windows.
1144
1145 2005-01-12  Angus Leeming  <leeming@lyx.org>
1146
1147         * lyx_main.C (init): remove cruft that purports to set the locale
1148         dir. It doesn't and is not needed anyway.
1149
1150 2005-01-10  Angus Leeming  <leeming@lyx.org>
1151
1152         * Makefile.am: remove the lyx_main.C special casing.
1153
1154         * BufferView_pimpl.C:
1155         * bufferlist.C:
1156         * exporter.C:
1157         * lyx_cb.C:
1158         * lyx_main.C:
1159         * lyxfunc.C:
1160         * messages.C: use support/package.h to provide the paths to the
1161         various directories used by LyX.
1162
1163 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1166         layout if pasting into an empty paragraph)
1167
1168 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1169
1170         * tex-accent.C: add <string>
1171
1172 2005-01-06  José Matos  <jamatos@lyx.org>
1173
1174         * ParagraphParameters.C (write): put every parameter in its own line.
1175         * paragraph.C (write): reduce number of consecutive empty lines exported.
1176         * buffer.C (LYX_FORMAT): increase file format to 239.
1177
1178 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1179
1180         * everywhere: change support/tostr.h -> support/convert.h
1181
1182         * tabular.C: make all write_attributes templates, tostr -> convert
1183
1184         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1185         (emptyTag): and -> &&, and fix type for ret from getChar
1186         (getFirstWord): fix type for ret from getChar
1187         (onlyText): and -> &&
1188         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1189         getChar
1190
1191         * toc.C (goTo, action):
1192         * text3.C (dispatch):
1193         * text.C (currentState):
1194         * tex-accent.C (DoAccent):
1195         * sgml.C:
1196         * lyxrc.C:
1197         * lyxfunc.C (menuNew):
1198         * lyxfinc.C (replace):
1199         * counters.C (laberItem):
1200         * bufferview_funcs.C (font2string):
1201         * bufferparams.C (writeFile):
1202         * buffer.C (readFile):
1203         * Spacing.C (set):
1204         * MenuBackend.C: tostr -> convert
1205
1206         * LaTeX.C (runMessage): fix format
1207         (scanAuxFiles): tostr -> convert
1208
1209         * BufferView_pimpl.C (savePosition): fix format
1210         (restorePosition): ditto
1211         (dispatch): ditto
1212
1213 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1214
1215         * Spacing.[Ch]: New method getValueAsString().
1216
1217         * Spacing.[Ch]:
1218         * bufferparams.C:
1219         * ParagraphParameters.C:
1220         * lyxlayout.C:
1221         * text.C:
1222         * text3.C: store/read spacing value as string.
1223
1224         * rowpainter.C: change float value (spacing_val) to double.
1225
1226         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1227         broken custom document spacing).
1228
1229 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1230
1231         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1232         namespace, also more use of temp references and const
1233
1234         * cursor.[Ch] (getStatus): move to lyxfunc.C
1235
1236         * bufferparams.C: reformat slightly
1237
1238         * bufferview_funcs.C (font2string): constify arg
1239
1240         * changes.C:
1241         * converter.C:
1242         * counters.C:
1243         * bufferlist.C:
1244         * buffer_funcs.C: (many funcs): constify arg on function
1245         definitions, also make more local vars const, also add ASSERTS on
1246         pointer args.
1247
1248         * buffer.C (LYX_FORMAT): put const in correct place
1249         (many funcs): constify arg on function definitions, also make
1250         more local vars const
1251
1252         * aspell_local.h: remove "struct" from typdef setup
1253
1254         * aspell.C (check): make word_ok const
1255         (nextMiss): simplify slightly
1256         (error): ditto
1257
1258 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1259
1260         * lyxrc.[Ch]: store all float values as strings.
1261         use int (not float) for lyxrc.dpi.
1262
1263 2005-01-04  Angus Leeming  <leeming@lyx.org>
1264
1265         * lyx_cb.C (Reconfigure):
1266         * lyx_main.C (queryUserLyXDir):
1267         to run the <system_lyxdir>/configure correctly on Windows, prefix
1268         the path to the script with "sh " when generating the string that
1269         is passed to system().
1270
1271 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1272
1273         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1274
1275 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1276
1277         * lyxlength.C (asLatexString): get rid of setprecision
1278
1279 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * text2.C (setLayout): remove unused variable endpit.
1282         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1283
1284         * paragraph.C (onlyText): remove unused variable style.
1285
1286         * cursor.C (bruteFind): remove unused variables beg and end.
1287
1288         * Makefile.am (dist_noinset_DATA): not needed anymore
1289
1290         * cheaders/*: remove.
1291
1292 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1293
1294         * text3.C: fix LFUN_MATH_MODE.
1295
1296 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * buffer_funcs.C (countWords): new function. Counts words between
1299         two iterators.
1300
1301         * BufferView_pimpl.C (getStatus, dispatch): handle
1302         LFUN_WORDS_COUNT.
1303
1304         * LyXAction.C (init):
1305         * lfuns.h: add LFUN_WORDS_COUNT.
1306
1307 2004-12-19  Angus Leeming  <leeming@lyx.org>
1308
1309         * buffer.C (save): s/slashify_path/internal_path/.
1310
1311 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1312
1313         * lyxfind.C (findChange): do not search for end of pars, because
1314         the change tracker cannot handle this (fixes bug 1719).
1315
1316 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * paragraph.[Ch] (autoBreakRows): remove
1319
1320         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1321
1322         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1323         avoid using the paragraph one
1324
1325         * text2.C (LyXText, insertStringAsLines): adjust
1326
1327 2004-12-16  Angus Leeming  <leeming@lyx.org>
1328
1329         * bufferlist.C:
1330         * lyx_main.C:
1331         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1332
1333 2004-12-14  Angus Leeming  <leeming@lyx.org>
1334
1335         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1336
1337         * bufferlist.C (emergencyWrite):
1338         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1339         GetEnvPath("HOME").
1340
1341 2004-12-14  Angus Leeming  <leeming@lyx.org>
1342
1343         * main.C: (main): no longer pass pointers to os::init.
1344
1345 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1348         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1349
1350 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * lyxfunc.C:
1353         * text3.C: remove selection_possible global flag
1354
1355 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * text2.C (getSelectionSpan): remove
1358         (changeDepth, changeDepthAllowed): adjust
1359
1360 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1361
1362         * Makefile.am (BOOST_LIBS): use boost variables
1363
1364 2004-12-03  José Matos  <jamatos@lyx.org>
1365
1366         * buffer.C: format up to 238.
1367
1368 2004-12-03  José Matos  <jamatos@lyx.org>
1369
1370         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1371
1372 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1373
1374         * cursor.C (goUpDown): remove call to idxUpDown2
1375
1376 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1377
1378         * tabular.[Ch]: use size_t-like types for cell, row and column
1379         indices
1380
1381 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1382
1383         * lyxfunc.C (getStatus): do not lose previous information when
1384         calling BufferView::getStatus; do not set a default "Command
1385         disabled" message at the beginning, but just before returning.
1386
1387 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1388
1389         * cursor.h (getStatus): add better comment from src/cursor.C
1390
1391 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * text3.C (getStatus): return false when the lfun is not handled
1394
1395 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * broken_headers.h: remove
1398
1399         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1400
1401 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1404         offset_ref accessors
1405
1406         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1407         top_y_, merge fitcursor with update
1408         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1409         coord scheme
1410         (metrics): introduce
1411         (workAreaDispatch): adapt to new coord scheme
1412         (redoCurrentBuffer): remove
1413
1414         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1415
1416         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1417         CurStatus enum.
1418
1419         * coordcache.[Ch]: add paragraph cache and helpers
1420
1421         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1422         adjust everywhere
1423
1424         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1425         (targetX, setTargetX): introduce
1426
1427         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1428         baseline -> ascent, as the rest of lyx
1429
1430         * lyxtext.h: remove redoParagraphs, updateParPositions,
1431         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1432         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1433         have ascent/descent (ascent is ascent of first par)
1434
1435         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1436         step of BufferView
1437
1438         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1439
1440         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1441
1442         * pariterator.C: fix infinite loop introduced in par->pit renaming
1443
1444         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1445         in insets and LyXText, draw two off-screen paragraphs using
1446         NullPainter, and adapt to new coord scheme
1447
1448         * text.C:
1449         * text2.C:
1450         * text3.C: adapt lfun handlers to the new coord scheme, which
1451         means: there's only guaranteed coord information for onscreen pars
1452         plus one above and one below. This implies that one can do search
1453         from y coordinates in the range [-1,workHeight]
1454
1455 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * rename a lot of InsetOld to InsetBase
1458
1459 2004-11-25  Angus Leeming  <leeming@lyx.org>
1460
1461         * BufferView_pimpl.C:
1462         * lyx_cb.C:
1463         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1464
1465 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1468         call BufferView::getStatus if LCursor::getStatus did nothing
1469         (setStatusMessage, getStatusMessage): removed.
1470
1471         * FuncStatus.C (message): new methods. Used to provide an error
1472         message indicating why a command is disabled.
1473         (clear, |=, FuncStatus): update for message.
1474
1475 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1476
1477         * lyxfunc.C (dispatch): always call sendDispatchMessage
1478
1479 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * BufferView.C:
1482         * BufferView_pimpl.C:
1483         * CutAndPaste.C:
1484         * FontIterator.C:
1485         * buffer.C:
1486         * cursor.C:
1487         * cursor_slice.[Ch]:
1488         * dociterator.[Ch]:
1489         * lyxfind.C:
1490         * paragraph_funcs.C:
1491         * pariterator.C:
1492         * rowpainter.C:
1493         * text.C:
1494         * text2.C:
1495         * text3.C:
1496         * undo.C: par->pit renaming
1497
1498 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1499
1500         * tabular.C (cellstruct): use initialization, store a shared_ptr
1501         to insettext instead of the insettext directly, adjust to fit.
1502         (operator=):  new function
1503         (swap): new function
1504         (rowstruct): use initialization
1505         (columnstruct): use initialization
1506         (ltType): use initialization
1507
1508
1509         * lyxlength.h (swap): new function
1510
1511         * LColor.[Ch] (operator=): use the common semantics
1512
1513 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1514
1515         * lyxfind.C (findNextChange): update the bufferview after setting
1516         the selection.
1517
1518 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1521         number of InsetOptArgs has already been inserted.
1522
1523         * output_latex.C (latexOptArgInsets): new method. This outputs all
1524         the optarg insets, up to the limit defined in the layout file.
1525         (optArgInset): removed
1526         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1527
1528 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * paragraph.C (isLetter): remove special spellchecker-related
1531         code; return true also for digits
1532         (isWord, isKomma): remove
1533
1534         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1535         * lyxfind.C (MatchString()): use isLetter instead of isWord
1536
1537 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1538
1539         * pariterator.h (operatir=): comment out un-implemented member
1540         function.
1541
1542         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1543         static cast.
1544
1545 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * lyxfont.h: include LColor.h to satisfy concept checks.
1548
1549 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1550
1551         * pariterator.h: add typdefs for value_type, difference_type,
1552         pointer and reference to satisfy concept checks. Also add default
1553         constructor for same reason.
1554
1555         * pariterator.C (operator++): add post-increment operator to
1556         satisfy concept checks.
1557
1558         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1559         checks.
1560
1561         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1562
1563         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1564         checks. Also rename base_type to BaseType to follow naming
1565         standard better.
1566
1567         * FloatList.h: include Floating.h to satisfy concept checks.
1568
1569 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * lyxfunc.C (getStatus): when the origin of the request is menu or
1572         toolbar, and the LyXView does not have focus, do as if there was
1573         no buffer (bug 1720)
1574
1575         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1576         FuncRequest to individual entries of LFUN_SEQUENCE
1577
1578 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1579
1580         * output_latex.C (TeXOnePar): override runparams.moving_arg
1581         according to the needprotect value of the current paragraph (bug
1582         1739)
1583
1584         * paragraph.C (simpleTeXOnePar): no need to override
1585         runparams.moving_args here
1586
1587 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1588
1589         * vspace.C: fix off-by-one-error, related to fix #1682
1590
1591 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1592
1593         * lengthcommon.C: a more general fix for bug 1682
1594
1595 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * text.C (backspace): fix crash
1598
1599 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1600
1601         * format.[Ch] (getFormatFromFile): new method
1602         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1603
1604 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1607
1608 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * lyxfunc.C (dispatch): remove the verbose argument
1611         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1612         instead
1613
1614         * kbmap.C (defkey): set the origin of func to KEYBOARD
1615
1616         * MenuBackend.C (MenuItem):
1617         * ToolbarBackend.C (add): set the origin of func to UI
1618
1619         * funcrequest.[Ch]: add origin member, which indicates which part
1620         of LyX requests an action
1621
1622 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1623
1624         * converter.C (move): don't lie in the error message
1625         * converter.h (isReachable, move): document
1626
1627 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1628
1629         * buffer.C: remove unused using lyx::support::atoi
1630         * paragraph_funcs.C: ditto
1631
1632 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1633
1634         * bufferlist.C (exists): use bind and equal_to instead of
1635         compare_memfun
1636         (getBuffer): ditto
1637         * lyxtextclasslist.C (NumberOfClass): ditto
1638
1639         * cursor.C (insert): use for_each instead of explicit for loop
1640
1641         * bufferlist.C (getFileNames): use std::transform and
1642         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1643
1644         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1645         for loop
1646
1647         * buffer.C (changeLanguage): use for_each instead of explicit for
1648         loop
1649         (hasParWithID): implement using getParFromID
1650
1651         * LaTeXFeatures.C: ws change only
1652
1653         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1654         to cleanup a bit.
1655
1656         * BufferView_pimpl.C (trackChanges): use for_each instead of
1657         expilicit for loop
1658
1659 2004-11-04  André Pönitz  <poenitz@gmx.net>
1660
1661         * undo.h:
1662         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1663
1664         * dociterator.C (asDocIterator): use hard assert again.
1665
1666 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * lyxlength.C (asLatexString): rewrite so that it does not use
1669         snprintf anymore
1670
1671 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * text3.C (specialChar, dispatch): make sure cursor moves to the
1674         right after inserting an inset
1675
1676 2004-11-02  José Matos  <jamatos@lyx.org>
1677
1678         * output_docbook.C (docbook):
1679         * paragraph.C (getID):
1680         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1681         garantee that the output is always legal.
1682
1683         * tabular.C (docbook):
1684         * outputprams.[Ch]: remove mixed contents.
1685
1686 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1687
1688         * text2.C (setCounter): prevent endless loop
1689
1690 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1691
1692         * exporter.C (copyFile): use the mover instead of support::copy()
1693         * exporter.C (Export): pass format and latex name to copyFile()
1694         * exporter.h (addExternalFile): document
1695         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1696
1697 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1698
1699         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1700
1701 2004-10-30  José Matos  <jamatos@lyx.org>
1702
1703         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1704         text and no inset or font change. This allows to use CDATA
1705         sections just for the whole paragraph.
1706
1707 2004-10-30  José Matos  <jamatos@lyx.org>
1708
1709         * paragraph.C (getFirstWord): remove unused variable.
1710
1711 2004-10-30  José Matos  <jamatos@lyx.org>
1712
1713         * paragraph.C (getFirstWord): the content should always be escaped
1714         there.
1715         (simpleDocBookOnePar):
1716         * output_docbook.C (makeEnvironment): replace reference to CDATA
1717         to style pass_thru.
1718
1719 2004-10-30  José Matos  <jamatos@lyx.org>
1720
1721         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1722
1723 2004-10-30  José Matos  <jamatos@lyx.org>
1724
1725         * output_docbook.C (makeParagraphs):
1726         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1727         standard paragraph has only a given type of content drop the wrapper.
1728
1729 2004-10-29  José Matos  <jamatos@lyx.org>
1730
1731         * output_docbook.C (makeEnvironment):
1732         * sgml.C (openTag):
1733         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1734
1735 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1736
1737         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1738         (cleanID): sanitize any id.
1739
1740 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1741
1742         * buffer.C, lyxlex_pimpl.C:
1743         * lyxlex_pimpl.C (setFile):
1744         s/getExtFromContents/getFormatFromContents/
1745
1746 2004-10-28  José Matos  <jamatos@lyx.org>
1747
1748         * output_docbook.C (makeEnvironment): move id to broadest possible
1749         scope.
1750
1751         * sgml.C (openTag): apply substitution of <> for all attributes.
1752
1753 2004-10-28  José Matos  <jamatos@lyx.org>
1754
1755         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1756         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1757         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1758
1759         * sgml.[Ch]: new version for open and closeTag for paragraph and
1760         for strings. Now they handle the ids of paragraphs.
1761
1762 2004-10-26  Angus Leeming  <leeming@lyx.org>
1763
1764         * Makefile.am: add mover.[Ch].
1765
1766         * converter.C (convert, move): use the new Movers to move external
1767         files to the temp directory.
1768
1769         * lyx_main.C (init): ensure that the global system_movers data
1770         is initialised.
1771
1772         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1773         preferences file.
1774
1775         * mover.[Ch]: new files, defining a Mover as a utility to move an
1776         external file between directories and, if necessary, manipulate this
1777         file using a helper script.
1778
1779 2004-10-25  José Matos  <jamatos@lyx.org>
1780
1781         * output_docbook.C (makeCommand): merge two if's that tested the
1782         same condition.
1783
1784 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1785
1786         * sgml.C (escapeString): fix warning in a better way
1787
1788 2004-10-25  José Matos  <jamatos@lyx.org>
1789
1790         * sgml.C (escapeString): import the require boosts header file for
1791         tie, and avoid a signed unsigned comparison.
1792
1793 2004-10-25  José Matos  <jamatos@lyx.org>
1794
1795         * sgml.h: add #include <string>
1796
1797 2004-10-25  José Matos  <jamatos@lyx.org>
1798
1799         * sgml.[Ch] (escapeString): new function to escape all the string.
1800
1801 2004-10-24  José Matos  <jamatos@lyx.org>
1802
1803         * paragraph.[Ch] (getFirstWord): new function to get the first
1804         word. Useful for description.
1805         (simpleDocBookOnePar): remove depth argument, add another that
1806         says where to start the paragraph.
1807
1808         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1809         use the new functions to fix cleanly the support for descriptions.
1810
1811 2004-10-24  José Matos  <jamatos@lyx.org>
1812
1813         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1814         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1815         * output_linuxdoc.C (linuxdocParagraphs):
1816         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1817         add buffer as argument.
1818
1819 2004-10-24  José Matos  <jamatos@lyx.org>
1820
1821         * output_docbook.C (makeEnvironment, searchEnvironment): place
1822         CDATA inside paragraphs and fix scope for listitems.
1823
1824 2004-10-24  José Matos  <jamatos@lyx.org>
1825
1826         * output_docbook.C: remove using statement for stack.
1827
1828 2004-10-23  José Matos  <jamatos@lyx.org>
1829
1830         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1831         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1832         docbook. The new scheme is recursive and makes use of iterators, the
1833         same as latex export works.
1834         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1835         directly with the paragraph contents. This code was moved up to
1836         output_docbook.C (docbookParagraphs).
1837         * sgml.C (openTag, closeTag): removed unneeded newlines.
1838         (closeEnvTags) removed.
1839
1840 2004-10-23  André Pönitz  <poenitz@gmx.net>
1841
1842         * undo.C (textUndoOrRedo):
1843         * dociterator.C (asDocIterator): work around crash
1844
1845         * cursor.C (getStatus): replace ASSERT by more verbose error message
1846           and manual correction of the problem. Should increase stability
1847           while providing more sensible information.
1848
1849 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1852
1853         * bufferlist.C (previous, next): new methods
1854
1855         * lfuns.h:
1856         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1857
1858 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1859
1860         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1861         entities to preamble.
1862
1863 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1864
1865         * messages.C (Pimpl): strip off translation context information
1866
1867 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1870         the cursor is correct (bug 1694)
1871
1872 2004-10-13  José Matos  <jamatos@lyx.org>
1873
1874         * output_docbook.C (docbookParagraphs): fix closing tags in the
1875         end of the document.
1876
1877 2004-10-09  José Matos  <jamatos@lyx.org>
1878
1879         * buffer.C: format up to 237.
1880         * bufferparams.C (write): use tostr to convert booleans to strings.
1881
1882 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1883
1884         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1885
1886 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1887
1888         * LaTeX.C: implement use of babel language in xindy.
1889
1890 2004-10-05  José Matos  <jamatos@lyx.org>
1891
1892         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1893         Add new translators to help reading and writing the lyx file.
1894
1895 2004-10-05  José Matos  <jamatos@lyx.org>
1896
1897         * ParagraphParameters.C (read):
1898         * text.C (readParToken): replace nexToken by more appropriate lex
1899         methods.
1900
1901 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1902
1903         * LaTeX.C (runMakeIndex):
1904         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1905         (usually 'makeindex') configurable.
1906
1907         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1908         with a variable rather than with a number.
1909
1910 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1911
1912         * output_latex.C (TeXOnePar): make sure font setting is the first
1913         thing that gets output (and the last at the end). Should fix bug
1914         1404.
1915
1916 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1917
1918         * pch.h: use proper signal include
1919
1920         * LaTeX.h: Use preferred calling of Boost.Signal
1921         * buffer.h: ditto
1922
1923 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1924
1925         * pch.h: dont include <boost/function/function0.hpp>
1926
1927         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1928
1929         * paragraph_pimpl.h: remove usage of ShareContainer
1930
1931         * paragraph_pimpl.C: remove initialization of ShareContainer.
1932
1933 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         Fix bug #1666
1936
1937         * BufferView.C (putSelectionAt): change the semantics when
1938         backwards == true: now, this just swaps cursor and anchor wrt the
1939         forward case
1940
1941         * BufferView.h (putSelectionAt): add some documentation
1942
1943         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1944         make sure backwardChar is done at least once (to avoid getting
1945         stuck)
1946         (findNextChange): use putSelectionAt in the forward direction
1947         (operator()): use Paragraph::isWord
1948
1949 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1950
1951         * Spacing.C (set): c_str fix
1952
1953 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * lyx_cb.C (Reconfigure): quote the name of configure script in
1956         case it contains spaces
1957
1958 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1959
1960         * client: new dir
1961
1962         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1963         (BOOST_LIBS): use top_buildir when looking for the file
1964
1965 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1966
1967         * pch.h: do not use include boost/format.hpp, multiple symbols
1968                 will result (gcc bug)
1969
1970
1971 2004-08-23  José Matos  <jamatos@lyx.org>
1972
1973         * bufferparams.C (readToken): fix reading of the author field.
1974
1975 2004-08-20  José Matos  <jamatos@lyx.org>
1976
1977         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1978
1979 2004-08-20  José Matos  <jamatos@lyx.org>
1980
1981         * lyxlex.[Ch] (findToken): remove function.
1982
1983         * ParagraphParameters.C (findToken):
1984         * bufferparams.C (findToken): replace call for previous function
1985         with local copy. This local function has one more argument, the
1986         read string argument.
1987
1988 2004-08-16  José Matos  <jamatos@lyx.org>
1989
1990         * ParagraphParameters.C (write):
1991         * Spacing.C (writeFile):
1992         * bufferparams.C (writeLaTeX):
1993         * lyx_cb.C (Reconfigure):
1994         * paragraph.C (write):
1995         * tabular.C (write): remove unnecessary space at end of line.
1996
1997
1998 2004-08-16  José Matos  <jamatos@lyx.org>
1999
2000         * text.C (readParagraph): remove debug message.
2001
2002 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2003
2004         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2005         crash
2006
2007         * output_plaintext.C (asciiParagraph): set depth correctly
2008
2009         * outputparams.h: add member depth
2010
2011         * paragraph_funcs.C (ownerPar): remove.
2012
2013         * text2.C (setCounter): remove first_pit; comment out some
2014         non-working code that uses ownerPar
2015
2016         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2017         uses ownerPar
2018
2019 2004-08-16  José Matos  <jamatos@lyx.org>
2020
2021         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2022         For the same level of importance use the same chanel to report problems.
2023         (read): add code to deal with \begin_body and \end_body.
2024
2025
2026 2004-08-15  José Matos  <jamatos@lyx.org>
2027
2028         * lyxlex.C (getString): fix comment, buffer::readBody is now
2029         buffer:readDocument.
2030
2031         * tex-strings.C (string_papersize): Default -> default,
2032         Custom -> custom, for consistency with other options.
2033
2034 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2035
2036         * pch.h: new file
2037
2038         * Makefile.am: support pch
2039
2040 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         * text.C (readParToken): remove the static LyXFont variable and
2043         pass it as a parameter instead. This fixes a nasty bug where an
2044         inset will be inserted with a bad font in some situations
2045         (readParagraph): adapt
2046
2047         * text2.C (setCounter): reduce number of calls to pars_[pit]
2048
2049         * text.C (singleWidth): add an assert, fix a test
2050
2051         * rowpainter.C (paintText): reduce number of calls to singleWidth
2052
2053         * paragraph.C (isHfill):
2054         (isNewline): ws only
2055
2056 2004-08-14  André Pönitz  <poenitz@gmx.net>
2057
2058         * text.C:
2059         * text2.C:
2060         * rowpainter.C:
2061         * lyxtext.h (several functions): use a Paragraph & argument
2062         instead of par_type
2063
2064 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2067
2068         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2069
2070         * text.C (singleWidth): remove useless test
2071
2072 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * tabular.h: remove bogus comments
2075
2076         * tabular.C (getDescentOfRow):
2077         (isPartOfMultiColumn): add assertions
2078
2079         * lyxlength.C (inPixels): remove #warning
2080
2081 2004-08-14  André Pönitz  <poenitz@gmx.net>
2082
2083         * paragraph.h: inline getChar()
2084
2085         * BufferView.h: remove unused declarations
2086
2087 2004-08-14  José Matos  <jamatos@lyx.org>
2088
2089         * Buffer.[Ch] (readDocument): new name for old readBody.
2090         * Buffer.C: new file format, new keywords: \begin_document,
2091         \begin_header, \begin_body, \end_body.
2092
2093         * bufferparams.C (readToken): replace all calls to lex.nextToken
2094         by lex.next(). Do the same to eatLine except where really needed.
2095
2096         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2097         line when writing to the lyx file.
2098
2099         * output_plaintext.C (asciiParagraph): fix Bibliography style
2100         handling.
2101
2102         * text.C (read): fix end of file handling.
2103
2104 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * MenuBackend.C (Menu::operator[]): new method to access
2107         individual menu items
2108         (Menu::hasFunc): new method. search for an item that corresponds
2109         to a given func
2110         (MenuBackend::specialMenu): new method
2111         (MenuBackend::expand): if a special menu has been set, skip
2112         entries whose func() appears in this menu
2113
2114 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2115
2116         * text3.C: use Debug::DEBUG a bit more
2117
2118         * text.C (leftMargin): try to simplify a tiny bit change var x to
2119         l_margin. Dont output the wide margins always.
2120         (rightMargin): no margin in inner texts
2121
2122         * rowpainter.h (nestMargin): new func
2123         (changebarMargin): new func
2124         (rightMargin): new func
2125
2126         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2127         now functions.
2128         (paintLast): ditto
2129
2130         * factory.C (createInset): modify setDrawFrame
2131
2132         * cursor.C: use Debug::DEBUG a bit more
2133
2134 2004-08-14  André Pönitz  <poenitz@gmx.net>
2135
2136         * coordcache.[Ch]:
2137         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2138         cache for all insets in (at least partially) visible (top-level)
2139         paragraphs.
2140
2141         * BufferView_pimpl.C: reset external coord cache before every update.
2142         This means the coord cache only contains valid entries.
2143
2144 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2145
2146         bug 1096
2147         * BufferView_pimpl.C (getInsetByCode): move function out of class
2148         and change in to a template in anon namespace. Also fix to do what
2149         suits us better.
2150
2151 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2152
2153         bug 1305
2154         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2155         of char
2156         (breakParagraph): rename par to par_offset and use a local
2157         reference. Add code to keep the language over a rebreak.
2158         (breakParagraphConservative): rename par to par_offset, use a
2159         local reference
2160         (mergeParagraph): ditto
2161         (outerHook): ditto
2162         (isFirstInSequence): ditto
2163         (outerFont): rename pit to par_offset
2164
2165         * paragraph.C: ws change
2166         * paragraph.h: ditto
2167         * text3.C: ditto
2168         * text.C: ditto
2169
2170 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2173         treatment for ']'
2174
2175         * paragraph.C (simpleTeXOnePar): when we have a \item with
2176         optional argument, enclose the argument with curly brackets (in
2177         case it contains a closing square bracket)
2178
2179         * text2.C (editXY):
2180         * text2.C (editXY):
2181         * text3.C (checkInsetHit): constify
2182
2183 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2186         documents (bug 1629)
2187
2188 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         Fix toggling of collapsable insets with the mouse (bug 1558)
2191
2192         * lyxfunc.C (dispatch): adapt to LCursor changes
2193
2194         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2195         make sure that dispatch is not invoked twice
2196
2197         * cursor.C (needsUpdate): new method
2198         (dispatch): return void
2199         (result): new method, to access the DispatchResult of the cursor.
2200
2201 2004-08-13  José Matos  <jamatos@lyx.org>
2202
2203         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2204
2205 2004-08-13  André Pönitz  <poenitz@gmx.net>
2206
2207         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2208
2209         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2210           multiple cells
2211
2212 2004-08-12  André Pönitz  <poenitz@gmx.net>
2213
2214         * text3.C: take out the 'cursor right' form insertInset and only
2215         do it in those places when it is really needed. Fixes crash on
2216         C-m...
2217
2218 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2219
2220         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2221
2222         * BufferView_pimpl.C (setBuffer): initialize the current font of
2223         the underlying LyXText
2224
2225 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2226
2227         * kbsequence.C (print): use UI native formatting for menu
2228         shortcuts
2229
2230         * text.C (insertChar): call Paragraph::insertChar with a font
2231         argument (cosmetic)
2232
2233         * paragraph.C (insertInset, insertChar): the version that takes a
2234         LyXFont argument is now a wrapper around the other one (the
2235         opposite used to be true).
2236
2237         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2238         argument. Font setting is done in Paragraph now.
2239
2240 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * outputparams.h: add new members intitle and lang.
2243
2244         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2245         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2246
2247 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2248
2249         * text3.C (dispatch): remove special handling of button 4 and 5,
2250         it is now taken care of in the frontend code.
2251
2252 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2253
2254         * Spacing.h: add <string> (STLPort compile fix)
2255
2256 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2257
2258         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2259
2260 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2261
2262         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2263         to bool.
2264
2265         * converter.C (showMessage): inherit from unary_function, make
2266         operator() const.
2267
2268         * buffer.C (writeFile): initialize retval
2269
2270         * InsetList.h: rename private variable list to list_
2271         * InsetList.[Ch]: adjust accordingly.
2272
2273 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2274
2275         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2276         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2277         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2278         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2279         * ParagraphParameters.C, LaTeXFeatures.C: replace
2280         "support/std_sstream.h" with <sstream>
2281
2282 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2283
2284         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2285         * lyxsocket.C (LyXServerSocket): ditto
2286         (serverCallback): ditto
2287
2288 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2289
2290         * LaTeXFeatures.C: check release date when loading jurabib.
2291
2292 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2293
2294         * lyxserver.C (startPipe): call register_socket_callback
2295         (endPipe): call unregister_socket_callback
2296
2297 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2298
2299         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2300         (LyXServerSocket): register the callback
2301         (LyXServerSocket): unregister the callback
2302         (fd): delete function
2303         (serverCallback): improve error checking and setup the callbacks.
2304         (dataCallback): change arg to fd.
2305         (writeln): new func (copied fro the client socket) used for server
2306         write to client.
2307         (LyXDataSocket): simplify
2308         (~LyXDataSocket): close ann unregiser callback
2309         (server): delete function
2310         (fd): delete function
2311         (readln): small changes, improve some std::string usage
2312         (writeln): constify a bit
2313
2314 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2317         Qt frontend
2318
2319 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2322         after it has been populated
2323
2324 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2325
2326         * text2.C (insertInset): move cursor when inserting inset.
2327
2328 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2329
2330         * kbmap.C (findbindings): a couple of new methods. returns a
2331         container of kb_sequence objects. The real work is done by the
2332         private recursive version
2333         (printbindings): uses findbindings to print out a bracketed list
2334         of bindings (renamed from findbinding).
2335
2336         * MenuBackend.C (binding): use kb_keymap::findbindings
2337
2338         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2339
2340 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2341
2342         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2343
2344 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * paragraph.C (isWord): return true on insets that report
2347         isLetter().
2348
2349         * text.C (getWord): use Paragraph::isWord to decide what is in a
2350         word and what is not; fix bug 1609.
2351
2352 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2353
2354         * tex-strings.C: add "none" to string_paperpackages[], fixes
2355         off-by-one-error in the paperpackage selection.
2356
2357         * lyxlex.[Ch]:
2358         * tex-strings.[Ch]: char const * string[n]
2359         -> char const * const string[]
2360
2361 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2362
2363         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2364         command, return early.
2365
2366 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2367
2368         * debug.h: add DEBUG to enum and fix size of ANY.
2369
2370         * debug.C: add support for Debug::DEBUG
2371         (showTags): cast errorTags.level to unsigned int
2372
2373         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2374         (redoCurrentBuffer): ditto
2375         (updateScrollbar): ditto
2376         * cursor.C (dispatch): ditto
2377         * text2.C (setLayout): ditto
2378         (setFont): ditto
2379         (updateCounters): ditto
2380         (editXY): ditto
2381         (deleteEmptyParagraphMechanism): ditto
2382
2383 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2384
2385         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2386         annotations to cleanup the Makefile slightly.
2387
2388 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * lyxrc.C: do not set user_email to a default value but use empty
2391         instead. The entry used to be translated, which does not work
2392         since at the point where lyxrc is constructed there is no
2393         translation service available
2394
2395         * messages.C (getLocaleDir): remove and use directly
2396         lyx_localedir() instead
2397
2398 2004-06-02  Angus Leeming  <leeming@lyx.org>
2399
2400         Fix crash caused by dereferencing null pointer 'exportdata' in
2401         OutputParams by creating a new ExportData variable on the heap,
2402         storing it in a boost::shared_ptr.
2403         The crash was triggered when generating an Instant Preview
2404         of an external inset.
2405
2406         * Makefile.am: add outputparams.C
2407
2408         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2409         (c-tor): allocate memory to it.
2410
2411         * exporter.C (c-tor): associated changes.
2412
2413 2004-06-01  Angus Leeming  <leeming@lyx.org>
2414
2415         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2416         contains data before calling isInset(0). (Bug 1513.)
2417
2418 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2419
2420         * exporter.C (checkOverwrite): new method
2421         * exporter.C (copyFile): new method
2422         * exporter.C (Export): copy referenced files to the document dir
2423         * exporter.[Ch]: new class ExportedFile
2424         * exporter.[Ch]: new class ExportData. Contains currently the
2425         names of referenced external files
2426         * outputparams.h: add exportdata member.
2427
2428 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2429
2430         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2431         version.C-tmp
2432
2433 2004-05-19  Angus Leeming  <leeming@lyx.org>
2434
2435         * LaTeXFeatures.C:
2436         * ToolbarBackend.C:
2437         * bufferparams.C:
2438         * lyxfunc.C: small changes due to the introduction of namespace
2439         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2440
2441 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * text3.C (dispatch): supress update when only moving the cursor
2444         * cursor.C (selHandle): remove commented code
2445
2446 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2447
2448         * paragraph.C (startTeXParParams): correct column count
2449         * CutAndPaste.C (pasteSelection): remove const_cast
2450         * output_docbook.C (docbookParagraphs): remove const_cast
2451         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2452         const_cast and return ParagraphList::const_iterator
2453         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2454         * output_plaintext.C (writeFileAscii): remove const_cast
2455         * paragraph.[Ch] (simpleTeXOnePar): make const
2456         * paragraph_funcs.C (outerPar): use const iterators
2457         * paragraph_pimpl.C (validate): use const iterators
2458         * text.C (setHeightOfRow): use const iterators
2459
2460 2004-05-17  Angus Leeming  <leeming@lyx.org>
2461
2462         * lfuns.h:
2463         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2464
2465         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2466         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2467         if the citation engine has changed.
2468
2469 2004-05-14  José Matos  <jamatos@lyx.org>
2470
2471         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2472         if the textclass does not provide it. Have it different for sgml and
2473         xml.
2474         support the language of document.
2475         * output_docbook.C (docbookParagraphs):
2476         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2477         first anchor as the id of the paragraph, remove special case code.
2478         * sgml.C (escapeChar): escape only < & >.
2479
2480 2004-05-14  Angus Leeming  <leeming@lyx.org>
2481
2482         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2483         dependencies on src/frontends/controllers/biblio.h. Define a
2484         CiteEngine_enum wrapper class to enable the enum to be forward
2485         declared.
2486
2487 2004-05-12  Angus Leeming  <leeming@lyx.org>
2488
2489         * buffer.C: up LYX_FORMAT to 234.
2490         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2491         use_numerical_citations with a single biblio::CiteEngine cite_engine
2492         variable.
2493         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2494
2495 2004-05-13  José Matos  <jamatos@lyx.org>
2496
2497         * converter.h:
2498         * converter.C (Converter, readFlags): add xml member.
2499         * outputparams.h: add XML flavor.
2500         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2501
2502 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * lyxfunc.C (dispatch):
2505         (getStatus): fix handling of LFUN_SEQUENCE
2506
2507 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * debug.C (showLevel): do not forget the end-of-line marker
2510
2511 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2512
2513         * kbmap.C (read): do not stop parsing a bind file when an error
2514         occurs (bug 1575)
2515
2516 2004-04-29  Angus Leeming  <leeming@lyx.org>
2517
2518         * cursor.C:
2519         * factory.C:
2520         * pariterator.C:
2521         * text2.C: wrap a bunch of #warning statements
2522         inside #ifdef WITH_WARNINGS blocks.
2523
2524 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2525
2526         * buffer.C: increment format to 233.
2527
2528 2004-04-28  Angus Leeming  <leeming@lyx.org>
2529
2530         * BufferView_pimpl.C:
2531         * lyxfunc.C:
2532         * text3.C:
2533         s/updateToolbar()/updateToolbars()/
2534         s/Toolbar.h/Toolbars.h/
2535
2536 2004-04-28  Angus Leeming  <leeming@lyx.org>
2537
2538         * BufferView.[Ch] (c-tor):
2539         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2540         No longer passes these data to the WorkArea generator.
2541
2542 2004-04-28  Angus Leeming  <leeming@lyx.org>
2543
2544         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2545
2546 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2547
2548         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2549
2550 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2551
2552         * output_latex.C (TeXEnvironment): make sure that there is a line
2553         break before \end{foo} for the last paragraph of a document
2554         (TeXOnePar): if the paragraph is at the end of the document (or
2555         inset) and the language has to be reset, then make sure that the
2556         line break is _before_ the language command, not after (fixes bug
2557         1225); also make sure that the language reset command is the first
2558         thing after the paragraph (to ensure proper nesting of
2559         environments and thus fix bug 1404)
2560
2561 2004-04-21  John Levon  <levon@movementarian.org>
2562
2563         * ToolbarBackend.h:
2564         * ToolbarBackend.C: make "name" be a programmatic name
2565         and a gui_name field.
2566
2567         * lyxfunc.C: display the minibuffer on M-x
2568
2569 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2570
2571         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2572         (bug 1526)
2573
2574 2004-04-19  Angus Leeming  <leeming@lyx.org>
2575
2576         * BufferView_pimpl.C (setBuffer): changed preview interface.
2577
2578         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2579         possible values.
2580
2581 2004-04-19  John Levon  <levon@movementarian.org>
2582
2583         * BufferView_pimpl.C:
2584         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2585
2586 2004-04-05  Angus Leeming  <leeming@lyx.org>
2587
2588         * text.C (redoParagraphs): add call to updateCounters(), thereby
2589         fixing the missing "Figure #:" label from the caption of a
2590         figure float.
2591
2592 2004-04-13  Angus Leeming  <leeming@lyx.org>
2593
2594         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2595         cursor is clicked out of an inset.
2596
2597 2004-04-13  Angus Leeming  <leeming@lyx.org>
2598
2599         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2600         than an InsetOld one.
2601
2602 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2603
2604         * format.[Ch]: add editor to Format
2605         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2606         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2607
2608 2004-04-08  André Pönitz  <poenitz@gmx.net>
2609
2610         * metricsinfo.h: remove PainterInfo::width member
2611
2612 2004-04-08  Angus Leeming  <leeming@lyx.org>
2613
2614         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2615         "\providecommand" rather than "\newcommand", thereby preventing
2616         clashes with packages that define "\boldsymbol" themselves.
2617         Eg, beamer.
2618
2619 2004-04-08  Angus Leeming  <leeming@lyx.org>
2620
2621         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2622         thereby squashing an unnecessary warning.
2623
2624 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2625
2626         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2627         setBuffer()
2628
2629 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2630
2631         * BufferView.C (setCursor): call redoParagraph (some insets could
2632         have been opened)
2633         (putSelectionAt): remove the 'double update' trick
2634
2635         * BufferView_pimpl.C (fitCursor): call refreshPar
2636         (workAreaDispatch): remove an uneeded update call
2637         (dispatch): remove some manual update calls
2638
2639         * cursor.[Ch]: remove cached_y_, updatePos
2640         (selHandle): set noUpdate when appropriate
2641
2642         * lyxfunc.C (dispatch): track if we need an update
2643
2644         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2645
2646         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2647         (paintSelection): cheap optimization, do not call cursorX when not
2648         needed
2649         (paintPars): change signature
2650         (refreshPar): add
2651         (paintText): adjust
2652         (paintTextInset): adjust
2653
2654         * text.C: adjust
2655
2656 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2657
2658         * lengthcommon.C: compilation fix: remove explicit array size from
2659         unit_name[] and friends
2660
2661 2004-04-05  Angus Leeming  <leeming@lyx.org>
2662
2663         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2664
2665         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2666         present only for the preferences dialog.
2667         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2668
2669 2004-04-05  Angus Leeming  <leeming@lyx.org>
2670
2671         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2672         to enable the frontends to export changes to lyxrc correctly.
2673
2674         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2675
2676 2004-04-07  André Pönitz  <poenitz@gmx.net>
2677
2678         * cursor.[Ch] (selClear, adjust): remove math
2679
2680         * cursor_slice.C: more agressive assert
2681
2682         * lyxfunc.C:
2683         * BufferView_pimpl.C: rework mouse event dispatch
2684
2685         * dociterator.C:
2686         * paragraph.C:
2687         * text2.C:
2688         * text3.C: adjust
2689
2690 2004-04-05  André Pönitz  <poenitz@gmx.net>
2691
2692         * cursor.[Ch] (valign, halign...): remove unneeded functions
2693
2694 2004-04-05  Angus Leeming  <leeming@lyx.org>
2695
2696         * lyxlength.[Ch] (unit_name et al.): const-correct.
2697
2698 2004-04-05  Angus Leeming  <leeming@lyx.org>
2699
2700         * BufferView_pimpl.C:
2701         * buffer.C:
2702         * counters.C:
2703         * cursor.C:
2704         * lyxfunc.C
2705         * paragraph.C:
2706         * pariterator.C:
2707         * text.C:
2708         * text2.C:
2709         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2710
2711 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2712
2713         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2714
2715 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2716
2717         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2718         * BufferView_pimpl.[Ch] (getStatus)
2719         * BufferView.[Ch] (getStatus): add
2720         * lyxfunc.C (getStatus): move lfuns handled in
2721         BufferView::dispatch to te function above
2722         * Cursor.C (setSelection): set selection() = true
2723
2724 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2727
2728 2004-03-31  Angus Leeming  <leeming@lyx.org>
2729
2730         * lyxfunc.C (dispatch): Fall through to the generic
2731         Dialogs::show("preamble").
2732
2733 2004-03-31  Angus Leeming  <leeming@lyx.org>
2734
2735         * lyxfunc.C (dispatch): Fall through to the generic
2736         Dialogs::show("spellchecker").
2737
2738 2004-03-31  Angus Leeming  <leeming@lyx.org>
2739
2740         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2741         preferences dialog.
2742
2743 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * BufferView.C
2746         * cursor.[Ch]
2747         * dociterator.[Ch]:
2748         * insetiterator.[Ch]:
2749         * lyxfind.C:
2750         * lyxfunc.C:
2751         * pariterator.[Ch]:
2752         * text2.C:
2753         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2754
2755 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2756
2757         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2758         insets where we are putting the cursor.
2759
2760 2004-03-31  Angus Leeming  <leeming@lyx.org>
2761
2762         * lfuns.h:
2763         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2764
2765         * lyxrc.[Ch] (read, write): overloaded member functions taking
2766         a std::[io]stream arguments.
2767
2768         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2769
2770 2004-03-31  Angus Leeming  <leeming@lyx.org>
2771
2772         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2773         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2774
2775         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2776         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2777
2778 2004-03-31  Angus Leeming  <leeming@lyx.org>
2779
2780         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2781         the LFUN_ALL_INSETS_TOGGLE code.
2782
2783 2004-03-30  Angus Leeming  <leeming@lyx.org>
2784
2785         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2786         has died. Fall through to the generic Dialogs::show("document").
2787
2788 2004-03-30  Angus Leeming  <leeming@lyx.org>
2789
2790         * lfuns.h:
2791         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2792         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2793
2794         * lyxfunc.C (getStatus, dispatch): define the actions for these
2795         lfuns. Little more than a cut and pste job from ControlDocument.C
2796
2797         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2798
2799 2004-03-30  Angus Leeming  <leeming@lyx.org>
2800
2801         * lfuns.h:
2802         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2803         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2804
2805         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2806         open/closed state of ollapsable insets. Usage:
2807
2808         all-inset-toggle <state> <name>, where
2809         <state> == "open" || "closed" || "toggle" and
2810         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2811
2812         * lyxtext.h, text2.C (toggleInset): removed.
2813
2814         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2815         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2816         now passes LFUN_INSET_TOGGLE to the found inset.
2817
2818         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2819         is now invoked as "all-insets-toggle toggle branch".
2820
2821 2004-03-30  Angus Leeming  <leeming@lyx.org>
2822
2823         * dociterator.C:
2824         * insetiterator.C:
2825         * pariterator.[Ch]: added/corrected header blurb.
2826
2827 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * dociterator.[Ch]: add an inset_ member
2830         (backwardPos): implemented
2831         (backwardPos, forwardPos): use inset_ when the stack is empty.
2832         (doc_iterator_begin, doc_iterator_end): implemented
2833         * pariterator.[Ch]: adjust, add begin, end
2834         * insetiterator.[Ch]: adjust, add begin, end
2835         * cursor.C:
2836         * document.C:
2837         * BufferView.C:
2838         * BufferView_pimpl.C:
2839         * CutAndPaste.C: adjust
2840
2841 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2842
2843         * buffer.C: increment file format to 232.
2844         * LaTeXFeatures.C: add bibtopic package.
2845         * bufferparams.[Ch]: param \use_bibtopic.
2846
2847         * lyxrc.[Ch]: add lyxrc bibtex_command
2848         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2849
2850         * buffer.C: increment file format to 231.
2851
2852 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2853
2854         * dociterator.C: implement forwardPar
2855         * iterators.[Ch]: remove, replaced by
2856         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2857         * BufferView.C:
2858         * BufferView_pimpl.C:
2859         * CutAndPaste.C:
2860         * buffer.C:
2861         * bufferview_funcs.C:
2862         * cursor.C:
2863         * lyxfind.C
2864         * lyxfunc.C
2865         * paragraph_funcs.C
2866         * toc.C:
2867         * Makefile.am: adjust
2868
2869 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * CutAndPaste.C (pasteSelection): fix 2 crashes
2872         (eraseSelection): fix a crash
2873         * paragraph_funcs.C: remove a warning
2874
2875 2004-03-28  Angus Leeming  <leeming@lyx.org>
2876
2877         * lfuns.h:
2878         * LyXAction.C (init): new LFUN_PRINT.
2879
2880         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2881
2882 2004-03-27  Angus Leeming  <leeming@lyx.org>
2883
2884         * lfuns.h:
2885         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2886
2887         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2888
2889 2004-03-27  Angus Leeming  <leeming@lyx.org>
2890
2891         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2892         insetlist always contains non-null pointers to insets.
2893
2894 2004-03-26  Angus Leeming  <leeming@lyx.org>
2895
2896         * src/BufferView_pimpl.C:
2897         * src/CutAndPaste.C:
2898         * src/buffer.C:
2899         * src/iterators.C:
2900         * src/output_plaintext.C:
2901         * src/outputparams.h:
2902         * src/paragraph_funcs.C:
2903         * src/rowpainter.C:
2904         * src/text.C:
2905         * src/text2.C:
2906         * src/frontends/controllers/ControlErrorList.C:
2907         * src/frontends/gtk/FileDialogPrivate.C:
2908         * src/frontends/gtk/GPainter.C:
2909         * src/frontends/gtk/GToolbar.C:
2910         * src/frontends/qt2/QRef.C:
2911         * src/mathed/math_scriptinset.C: squash compiler warnings.
2912
2913 2004-03-26  Angus Leeming  <leeming@lyx.org>
2914
2915         * ispell.C (LaunchIspell::start):
2916         * lyx_cb.C (AutoSaveBuffer::start):
2917         invoke run(DontWait) rather than runNonBlocking().
2918
2919 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2920
2921         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2922
2923 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * kbsequence.C (print): adjust
2926
2927         * kbmap.C (printKeySym): rename and change signature
2928         (printKey): use LyXKeySym::print()
2929
2930 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * undo.C: add using std::advance to compile for stlport
2933
2934 2004-03-24  Angus Leeming  <leeming@lyx.org>
2935
2936         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2937         it leads to a crash when no buffer is present.
2938
2939 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940             Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * lyxfunc.C (dispatch):
2943         * bufferparams.C (readToken): use the new LColor::setColor
2944
2945         * LColor.[Ch] (setColor): new version that takes two strings as
2946         argument and creates a new color entry if necessary
2947
2948 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2949
2950         * buffer.C (makeLaTeXFile): if the main latex file that is
2951         processed is usually a subdocument of some master, then pretend
2952         for a while that it is actually the master
2953
2954 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2955
2956         * buffer.C (getLabelList):
2957         (getBibkeyList): use getMasterBuffer()
2958         (getMasterBuffer): new method. Returns the main document in the
2959         case where one is using included documents.
2960
2961 2004-03-25  André Pönitz  <poenitz@gmx.net>
2962
2963         * Makefile.am:
2964         * iterators.[Ch]:
2965         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2966
2967         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2968
2969         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2970         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2971
2972         * ParameterStruct.h: merge with ParagraphParameters
2973
2974         * lyxtext.h: remove LyXText::parOffset() and getPar()
2975
2976         * text3.C: Remove all 'manual' update calls. We do now one per user
2977         interaction which is completely sufficient.
2978
2979         * Bidi.C:
2980         * BufferView.[Ch]:
2981         * BufferView_pimpl.C:
2982         * FontIterator.[Ch]:
2983         * MenuBackend.C:
2984         * ParagraphParameters.[Ch]:
2985         * buffer.C:
2986         * buffer.h:
2987         * bufferlist.C:
2988         * cursor.[Ch]:
2989         * cursor_slice.[Ch]:
2990         * dociterator.[Ch]:
2991         * errorlist.[Ch]:
2992         * factory.C:
2993         * lfuns.h:
2994         * lyxfind.C:
2995         * lyxfunc.C:
2996         * output_docbook.[Ch]:
2997         * output_latex.[Ch]:
2998         * output_linuxdoc.[Ch]:
2999         * output_plaintext.[Ch]:
3000         * paragraph.[Ch]:
3001         * paragraph_funcs.[Ch]:
3002         * paragraph_pimpl.[Ch]:
3003         * rowpainter.C:
3004         * tabular.[Ch]:
3005         * text.C:
3006         * text2.C:
3007         * toc.C:
3008         * undo.[Ch]: adjust
3009
3010         * frontends/controllers/ControlDocument.C:
3011         * frontends/controllers/ControlErrorList.C:
3012         * frontends/controllers/ControlSpellchecker.C:
3013         * insets/inset.C:
3014         * insets/inset.h:
3015         * insets/insetbase.h:
3016         * insets/insetbibitem.C:
3017         * insets/insetbox.C:
3018         * insets/insetbranch.C:
3019         * insets/insetcaption.C:
3020         * insets/insetcharstyle.C:
3021         * insets/insetcharstyle.h:
3022         * insets/insetcollapsable.C:
3023         * insets/insetcollapsable.h:
3024         * insets/insetert.C:
3025         * insets/insetfloat.C:
3026         * insets/insetfoot.C:
3027         * insets/insetmarginal.C:
3028         * insets/insetnote.C:
3029         * insets/insetoptarg.C:
3030         * insets/insettabular.C:
3031         * insets/insettext.C:
3032         * insets/insettext.h:
3033         * insets/insetwrap.C:
3034         * mathed/math_mboxinset.C:
3035         * mathed/math_nestinset.C:
3036         * mathed/math_scriptinset.C:
3037         * mathed/math_scriptinset.h:
3038         * support/types.h:
3039
3040 2004-03-24  Angus Leeming  <leeming@lyx.org>
3041
3042         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3043         deal with any child processes that have finished but are waiting to
3044         communicate this fact to the rest of LyX.
3045
3046 2004-03-24  Angus Leeming  <leeming@lyx.org>
3047
3048         64-bit compile fixes.
3049
3050         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3051         (c-tor): pass lyx::pos_types rather than ints.
3052
3053         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3054         lyx::pos_type.
3055
3056         * text.C (Delete): compile fix.
3057         (getPar): ensure that function declaration is the same as that in
3058         the header file.
3059
3060 2004-03-23  Angus Leeming  <leeming@lyx.org>
3061
3062         * ispell.C (LaunchIspell):
3063         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3064         a boost::shred_ptr rather than a std::auto_ptr.
3065
3066 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3067
3068         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3069         handle LFUN_FILE_INSERT_*
3070
3071         * lyxrc.C (setDefaults, getDescription, output, read):
3072         * lyxrc.h: remove ps_command
3073
3074 2004-03-22  Angus Leeming  <leeming@lyx.org>
3075
3076         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3077         Ensure that error_handler is processed once only and that all data
3078         is saved before attempting to output any warning messages.
3079
3080         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3081
3082 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3085
3086 2004-03-19  André Pönitz  <poenitz@gmx.net>
3087
3088         * cursor.[Ch] (reset): take main text inset as argument
3089
3090         * BufferView: adjust
3091         * BufferView_pimpl.C: adjust
3092
3093         * paragraph.[Ch]: fix completely broken operator=()
3094
3095 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3096
3097         * LColor.C (getFromLyXName): make sure that the color name is used
3098         as lowercase.
3099
3100 2004-03-17  Angus Leeming  <leeming@lyx.org>
3101
3102         * lfuns.h:
3103         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3104
3105         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3106         dialog and to kill a forked process.
3107
3108 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3109
3110         * text2.C (setCursorFromCoordinates): fix font problem
3111
3112 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3113
3114         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3115         bogus "rebuild cursor" code
3116
3117 2004-03-11  André Pönitz  <poenitz@gmx.net>
3118
3119         * buffer.[Ch]: use InsetText instead of LyXText as container for
3120         the main lyx text.
3121
3122         * dociterator.[Ch]: drop the BufferView * member which is not needed
3123         anymore after the change to buffer.C
3124
3125         * paragraph_funcs.C:
3126         * text.C:
3127         * text2.C:
3128         * BufferView.[Ch]:
3129         * BufferView_pimpl.[Ch]:
3130         * cursor.[Ch]:
3131         * cursor_slice.[Ch]: adjust
3132
3133         * text3.C: fix bug in mathDispatch
3134
3135 2004-03-08  André Pönitz  <poenitz@gmx.net>
3136
3137         * undo.[Ch]: use 'StableDocumentIterator' as base for
3138         the Undo struct.
3139
3140 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3141
3142         * LaTeXFeatures.C:
3143         * bufferparams.[Ch]: add jurabib support and param.
3144
3145         * LaTeX.C: add FIXME/comment.
3146
3147 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3148
3149         * buffer.C: increment file format to 230.
3150
3151 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3152
3153         * cursor.C (dispatch): avoid infinite loops
3154
3155 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3156
3157         * rowpainter.C (paintSelection): fix x coordinates
3158
3159 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3160
3161         * text.C (rowBreakPoint): fix breaking before displayed insets
3162
3163 2004-03-01  André Pönitz  <poenitz@gmx.net>
3164
3165         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3166
3167         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3168
3169         * Makefile.am:
3170         * BufferView.C:
3171         * BufferView_pimpl.C:
3172         * buffer.C:
3173         * lyxfind.C:
3174         * lyxfunc.C:
3175         * text.C:
3176         * text2.C:
3177         * text3.C: adjust
3178
3179 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * lyxtext.h:
3182         * text.C:
3183         * text2.C:
3184         * rowpainter.C:
3185         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3186         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3187
3188 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3189
3190         * Bidi.[Ch] (computeTables): const correctness
3191         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3192         fill_hfill, fill_label_hfill and x from Row
3193         * lyxtext.h: prepareToPrint returns a RowMetrics
3194         * rowPainter.C: adjust
3195         * text.C (prepareToPrint): use width, not textWidth. adjust
3196         (redoParagraphInternal, cursorX): adjust
3197         * text2.C (getColumnNearX): adjust
3198         (init): put a default value to the top LyXText::width
3199
3200 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3201
3202         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3203
3204 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3205
3206         * lyxtext.h: add FontIterator class
3207
3208         * text.C (FontIterator, operator*, operator->, operator++): add
3209         (rowBreakPoint, setRowWidth): adjust (fixing a
3210         rebreaking bug)
3211
3212 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3213
3214         * BufferView_pimpl.C (workAreaDispatch): allow also
3215         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3216
3217 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * text.C (rowBreakPoint): fix a bug showing with very large insets
3220
3221 2004-02-25  André Pönitz  <poenitz@gmx.net>
3222
3223         * text3.C:
3224         * cursor.[Ch]: move some mathed specific code to mathed
3225
3226 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3227
3228         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3229         use_tempdir in preferences
3230         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3231         tempfile creation
3232         * lyx_main.C: ensure that tempdir is valid
3233         * lyxlex.h: correct typo
3234         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3235         * paragraph.[Ch] (isMultiLingual): make const
3236         * cursor.[Ch] (openable): make const
3237
3238 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3239
3240         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3241
3242 2004-02-20  André Pönitz  <poenitz@gmx.net>
3243
3244         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3245
3246         * cursor.[Ch]: prepare for localized getStatus()
3247
3248         * lyxtext.h:
3249         * tabular.C:
3250         * text.C:
3251         * text2.C:
3252         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3253
3254 2004-02-20  André Pönitz  <poenitz@gmx.net>
3255
3256         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3257
3258 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * text2.C (setCursorFromCoordinates): switch to absolute coords
3261         (cursorUp): adjust
3262         (cursorDown): adjust
3263         * text3.C (dispatch): adjust
3264
3265 2004-02-16  André Pönitz  <poenitz@gmx.net>
3266
3267         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3268           insets/ChangeLog)
3269
3270         * cursor_slice.[Ch]: remove unneeded acessor function
3271
3272         * lyxtext.h: rename rtl() to isRTL()
3273
3274         * rowpainter.C:
3275         * tabular.C:
3276         * text.C:
3277         * text2.C:
3278         * text3.C: adjust
3279
3280 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * rowpainter.C (paintSelection): coord fix
3283
3284 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3285
3286         * Spacing.C: compile fix
3287
3288 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3289
3290         * cursor.C (dispatch): restore current_ before returning
3291
3292 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text2.C (cursorUp, cursorDown): fix coords
3295         (moveUp): fix crash
3296
3297 2004-02-12  André Pönitz  <poenitz@gmx.net>
3298
3299         * lyxtext.h:
3300         * text.C:
3301         * text2.C:
3302         * text3.C: add LCursor & parameter to most cursor movement functions
3303           remove usage of LyXText::cursorRow() and cursorPar()
3304
3305         * cursor.[Ch]: add textRow() needed members
3306
3307         * BufferView.C:
3308         * BufferView_pimpl.C:
3309         * paragraph.[Ch]:
3310         * BufferView.C:
3311         * BufferView_pimpl.C: adjust
3312
3313 2004-02-11  André Pönitz  <poenitz@gmx.net>
3314
3315         * lyxfunc.C:
3316         * BufferView.[Ch]:
3317         * BufferView_pimpl.C: shift undo/redo handling
3318
3319         * cursor.[Ch]: fix mathed crash
3320
3321         * lyxfind.C:
3322         * lyxtext.h: move selectionAsText to LCursor
3323
3324         * output_latex.C:
3325         * paragraph.C:
3326         * text.C:
3327         * text2.C:
3328         * text3.C: adjust
3329
3330         * rowpainter.C: fix excessive drawing
3331
3332 2004-02-06  André Pönitz  <poenitz@gmx.net>
3333
3334         * BufferView.[Ch]:
3335         * BufferView_pimpl.[Ch]:
3336         * text3.C: move some text specific LFUN handling
3337
3338 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * text3.C (checkInsetHit): adjust coords
3341         * text2.C (getColumnNearX): adjust coords
3342         (edit): adjust coords
3343         * text.C (getRowNearY): add two asserts
3344
3345 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * converter.C:
3348         * format.C: add using std::distance to compile on gcc 2.95/stlport
3349
3350 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3351
3352         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3353
3354 2004-02-04  André Pönitz  <poenitz@gmx.net>
3355
3356         * BufferView.[Ch] (insertInset):
3357         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3358
3359         * text2.C:
3360         * text3.C: adjust
3361
3362 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3365         on the default clause of the switch
3366         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3367         wasn't catched by LCursor::dispatch
3368
3369 2004-02-03  André Pönitz  <poenitz@gmx.net>
3370
3371         * BufferView.C:
3372         * cursor.[Ch]: some additional asserts
3373
3374         * undo.[Ch]: remove LyXText dependency in interface
3375
3376         * lyxfunc.C: adjust
3377
3378         * lyxtext.h (firstPar, lastPar): remove dead functions
3379
3380         * text.C:
3381         * text2.C:
3382         * text3.C:
3383         * paragraph.[Ch]: adjust
3384
3385 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * lyxfind.C (find): fix argument order in call to ::find
3388
3389 2004-02-02  André Pönitz  <poenitz@gmx.net>
3390
3391         * cursor.[Ch]: remove direct access to anchor
3392
3393         * text.C: remove findText() hack
3394
3395 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * iterators.[Ch] (lockPath): remove in favour of...
3398         * BufferView.[Ch] (setCursor): this addition
3399         * BufferView.C (putSelectionAt): adjust
3400         * undo.C (performUndoOrRedo): adjust
3401         * lyxfunc.C (dispatch): adjust
3402
3403 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * iterators.C (lockPath): add a missing slice
3406         * undo.C (performUndoOrRedo): remove redundant positioning code
3407
3408 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3409
3410         * vc-backend.C (scanMaster): ";" -> ';'
3411
3412 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3413
3414         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3415         std::binary_function
3416
3417         * lyxtextclass.C (compare_name): rename to...
3418         (LayoutNamesEqual): ...this
3419
3420         * lyxlex_pimpl.C (compare_tags): inherit from
3421         std::binary_function, put back into anon namespace
3422
3423         * lyxfind.C (MatchString): inherig from std::binary_function
3424         (findChange): use empty() istead of !size()
3425
3426         * format.C (FormatNamesEqual): new functor
3427         (getFormat): use it
3428         (getNumber): use it
3429         (add): use it
3430         (erase): use it
3431         (setViewer): use it
3432
3433         * converter.C (compare_Converter): rename to...
3434         (ConverterEqual): ...this, and fixup a bit.
3435         (getConverter): use it, and make function const
3436         (getNumber): use it, and make function const
3437         (add): use it
3438         (erase): use it:
3439
3440         * bufferlist.C: add using boost::bind
3441
3442         * MenuBackend.C (MenuNamesEqual): new functor
3443         (hasMenu): use it, and make function const
3444         (hasSubmenu): use nested bind to get rid of compare_memfun.
3445
3446 2004-01-30  André Pönitz  <poenitz@gmx.net>
3447
3448         * BufferView_pimpl.C:
3449         * cursor.C:
3450         * cursor.h:
3451         * cursor_slice.[Ch]:
3452         * lyxfunc.C:
3453         * lyxtext.h:
3454         * paragraph_funcs.C:
3455         * paragraph_funcs.h:
3456         * rowpainter.C:
3457         * text.C:
3458         * text2.C:
3459         * text3.C: move some of the edit(x,y) handling to the insets
3460         some coordinate changes.
3461
3462 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3463
3464         * text.C: add using statements for std::advance and std::distance
3465
3466         * paragraph.C: add using statement for std::distance
3467
3468         * lyxfind.C: add using statement for std::advance
3469
3470         * cursor.C (region): remove std:: from swap
3471         (openable): use nucleus in stead of operator->
3472
3473         * BufferView.C: add using statements for std::distance and std::swap
3474
3475 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3476
3477         * iterators.C: Remove the pimple, move the needed structures to
3478         the header file. Create accessor for the positions stack.
3479         (asPosIterator): remove function
3480
3481         * PosIterator.C (PosIterator): move constructors to top of file
3482         (PosIterator): reimplement the constructor taking a ParIterator in
3483         terms of setFrom.
3484         (setFrom): new function
3485         (operator!=): inline it
3486
3487 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3488
3489         * lyxfind.C (replaceAll): use std::advance
3490
3491         * iterators.h: inherit from std::iterator.
3492
3493         * PosIterator.C (advance, distance): remove
3494         * PosIterator.h: interit from std::iterator.
3495
3496 2004-01-26  André Pönitz  <poenitz@gmx.net>
3497
3498         * BufferView.[Ch]:
3499         * BufferView_pimpl.[Ch]:
3500         * InsetList.[Ch]:
3501         * PosIterator.[Ch]:
3502         * buffer.h:
3503         * bufferview_funcs.C:
3504         * cursor.[Ch]:
3505         * cursor_slice.h:
3506         * factory.[Ch]:
3507         * iterators.[Ch]:
3508         * lyxfind.C:
3509         * lyxfunc.C:
3510         * lyxtext.h:
3511         * output_docbook.C:
3512         * output_latex.C:
3513         * output_linuxdoc.C:
3514         * output_plaintext.C:
3515         * paragraph.[Ch]:
3516         * paragraph_funcs.[Ch]:
3517         * paragraph_pimpl.[Ch]:
3518         * rowpainter.C:
3519         * tabular.C:
3520         * tabular.h:
3521         * text.C:
3522         * text2.C:
3523         * text3.C: more IU:  dumps most of the rest of the mathcursor
3524     implementation into cursor.[Ch]; "globalize" a bit of it.
3525
3526 2004-01-25  Angus Leeming  <leeming@lyx.org>
3527
3528         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3529
3530 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3531
3532         * LaTeXFeatures.h: add nice_ and nice() const
3533         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3534
3535 2004-01-20  André Pönitz  <poenitz@gmx.net>
3536
3537         * BufferView.[Ch]:
3538         * BufferView_pimpl.C:
3539         * PosIterator.C:
3540         * bufferview_funcs.C:
3541         * cursor.[Ch]:
3542         * cursor_slice.[Ch]:
3543         * factory.C:
3544         * iterators.C:
3545         * lyx_cb.C:
3546         * lyxfind.C:
3547         * lyxfunc.C:
3548         * lyxtext.h:
3549         * rowpainter.C:
3550         * text.C:
3551         * text2.C:
3552         * text3.C:
3553         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3554           LCursor and mathcursor parts to LCursor and InsetBase.
3555
3556 2004-01-15  André Pönitz  <poenitz@gmx.net>
3557
3558         * cursor_slice.[Ch]: add a few covienience functions
3559
3560         * funcrequest.[Ch]: remove BufferView * member
3561
3562         * BufferView_pimpl.C:
3563         * cursor.C:
3564         * factory.[Ch]:
3565         * lyxfind.[Ch]:
3566         * lyxfunc.C:
3567         * lyxtext.h:
3568         * text3.C:
3569         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3570
3571 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3574         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3575
3576 2004-01-13  André Pönitz  <poenitz@gmx.net>
3577
3578         * textcursor.[Ch]:
3579         * lyxtext.h: hide cursor and selection anchor behind accessor function
3580
3581         * BufferView.C:
3582         * BufferView_pimpl.[Ch]:
3583         * PosIterator.C:
3584         * bufferview_funcs.C:
3585         * cursor.h:
3586         * lyxfind.C:
3587         * lyxfunc.C:
3588         * text.C:
3589         * text2.C:
3590         * text3.C:
3591         * undo.C: adjust
3592
3593         * cursor.h:
3594         * cursor_slice.[Ch]: some integer type changes for inset unification
3595
3596         * lyxcursor.[hC]: remove, it's CursorSlice now.
3597
3598         * Makefile.am:
3599         * BufferView_pimpl.[Ch]:
3600         * bufferview_funcs.C:
3601         * cursor_slice.C:
3602         * lyxtext.h:
3603         * text.C:
3604         * text2.C:
3605         * text3.C:
3606         * textcursor.[Ch]: adjust
3607
3608 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3609
3610         * text2.C (undoSpan): add and use
3611         * text.C (breakParagraph): use undoSpan (fix bug 578)
3612         * lyxtext.h: adjust
3613
3614 2004-01-08  Angus Leeming  <leeming@lyx.org>
3615
3616         * BufferView_pimpl.C (MenuInsertLyXFile):
3617         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3618         * lyxfunc.C (menuNew, open, doImport):
3619         FileFilterList change to the FileDialog open and save functions.
3620
3621 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3622
3623         * ShareContainer.h: make isEqual and isUnique adaptable
3624
3625         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3626
3627 2004-01-07  Angus Leeming  <leeming@lyx.org>
3628
3629         * LyXAction.C:
3630         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3631
3632         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3633
3634         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3635         functions replacing find, replace and replaceAll.
3636
3637         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3638         LFUN_WORDFIND(FORWARD|BACKWARD).
3639
3640 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * text.C (breakParagraph): remove an outdated #warning
3643
3644 2004-01-07  André Pönitz  <poenitz@gmx.net>
3645
3646         * lyxfind.C: somewhat clearer logic
3647
3648         * text.C: prevent crash in cursorX on unitialized row cache
3649
3650 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * lyxcursor.[Ch] (operator>): add
3653         * textcursor.C (selStart, selEnd): use std::min and std::max
3654
3655 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3656
3657         * Chktex.C: include boost/format.hpp
3658
3659 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3660
3661         * InsetList.C: replace functor MathcIt with adaptable functor
3662         InsetTablePosLess
3663         (insetIterator): modify accordingly
3664
3665         * BranchList.h: move the BranchNamesEqual functor here from...
3666         * BranchList.C: ... to here
3667
3668         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3669         SameName and match.
3670         (add): replace a finding loop with std::find_if.
3671
3672 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3673
3674         * output_docbook.C: moving LatexParam functionality into
3675         .layout files
3676
3677 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3678
3679         * buffer.C: increment format to 229.
3680
3681 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3682
3683         * LaTeXFeatures.C:
3684         * lyx_sty.[Ch]: remove minipageindent_def
3685
3686         * LyXAction.C:
3687         * factory.C:
3688         * lfuns.h:
3689         * lyxfunc.C:
3690         * text3.C: remove LFUN_INSET_MINIPAGE
3691
3692 2003-12-28  Angus Leeming  <leeming@lyx.org>
3693
3694         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3695
3696 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3697
3698         * text2.C (setParagraph): fix off-by-one crash
3699
3700 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3701
3702         * output_docbook.C: header stuff for AGU
3703
3704 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3705
3706         * text2.C (redoCursor): remove
3707         * text.C:
3708         * text3.C:
3709         * BufferView_pimpl.C: remove calls to redoCursor and
3710         setCursor(cursor.par(), cursor.pos()) all around
3711
3712 2003-12-15  Angus Leeming  <leeming@lyx.org>
3713
3714         * buffer.C: up the format to 228.
3715
3716 2003-12-15  André Pönitz  <poenitz@gmx.net>
3717
3718         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3719         slices
3720
3721         * Makefile.am:
3722
3723         * BufferView_pimpl.C:
3724         * cursor.[Ch]:
3725         * lyxcursor.[Ch]:
3726         * rowpainter.[Ch]:
3727         * lyxtext.h:
3728         * text.C:
3729         * text2.C:
3730         * text3.C: adjust
3731
3732 2003-12-15  Angus Leeming  <leeming@lyx.org>
3733
3734         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3735         than getFromGUIName to manipulate the color.
3736
3737 2003-12-14  Angus Leeming  <leeming@lyx.org>
3738
3739         * BranchList.[Ch]: minimize the API.
3740         (Branch::getBranch, getColor): now return a 'const &'.
3741         (Branch::setSelected) now returns a bool set to true if the
3742         selection status changes.
3743         (BranchList::clear, size, getColor, setColor, setSelected,
3744         allBranches, allSelected, separator): removed.
3745         (BranchList::find): new functions, returning the Branch with
3746         the given name.
3747         (BranchList::add, remove): return a bool indicating that
3748         the operation was successful.
3749
3750         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3751         new InsetBranch::isBranchSlected member function.
3752
3753         * LColor.[Ch]: mimimize the API.
3754         (fill): renamed as addColor and made private.
3755         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3756         versions of these functions taking a string arg have been removed.
3757
3758         * bufferparams.C (readToken):
3759         * lyxfunc.C (dispatch):
3760         * lyxrc.C (read): changes due to the altered BranchList and
3761         LColor APIs.
3762
3763         * factory.C (createInset, readInset): changes due to altered
3764         InsetBranch c-tor.
3765
3766 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3767
3768         * factory.C:
3769         * lyxfunc.C: remove insetminipage. "minipage-insert"
3770         now produces a frameless minipage box inset.
3771
3772 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3773
3774         * textcursor.[Ch] (selStart,selEnd): add new methods
3775         remove selection::start, end, use LyXCursor::operator<
3776         * lyxcursor.[Ch] (operator<): add
3777         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3778         * BufferView.[Ch] (unsetXSel): add
3779         * text2.C (clearSelection): use unsetXSel,adjust
3780         * text.C: adjust
3781         * text3.C: adjust
3782         * rowpainter.C: adjust
3783         * bufferview_funcs.C (put_selection_at): adjust
3784
3785 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3786
3787         * BufferView_pimpl.C: small coord. correction
3788
3789 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3790
3791         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3792         dragging over the splash screen.
3793
3794 2003-12-11  Angus Leeming  <leeming@lyx.org>
3795
3796         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3797         as it is now handled in LyXText::dispatch.
3798
3799         * text3.C (doInsertInset): remove a level of nesting.
3800
3801 2003-12-11  Angus Leeming  <leeming@lyx.org>
3802
3803         * factory.C (createInset): changes due to the changed interface to
3804         InsetCommandMailer::string2params.
3805
3806 2003-12-10  Angus Leeming  <leeming@lyx.org>
3807
3808         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3809         'dialog-show-new-inset <inset name>'
3810
3811 2003-12-10  Angus Leeming  <leeming@lyx.org>
3812
3813         * buffer.C: up the format to 227.
3814
3815         * factory.C: the box inset is now identified simply by 'Box'.
3816
3817 2003-12-10  Angus Leeming  <leeming@lyx.org>
3818
3819         * buffer.C: up the format to 226.
3820
3821         * factory.C: the note inset is now identified simply by 'Note'.
3822
3823 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3824
3825         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3826         when a pit is enough. Standarize a couple of loops.
3827
3828 2003-12-05  Angus Leeming  <leeming@lyx.org>
3829
3830         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3831         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3832         data to the re-worked "log" dialog.
3833
3834 2003-12-03  André Pönitz  <poenitz@gmx.net>
3835
3836         * PosIterator.C:
3837         * iterators.C:
3838         * lyxtext.h:
3839         * output_latex.C:
3840         * paragraph_funcs.C:
3841         * text.C:
3842         * text2.C: use Inset::getText instead of Inset::getParagraph
3843
3844 2003-12-03  André Pönitz  <poenitz@gmx.net>
3845
3846         * buffer.[Ch]:
3847         * lyxtext.h:
3848         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3849         InsetText::read() as LyXText::read()
3850
3851 2003-12-02  Angus Leeming  <leeming@lyx.org>
3852
3853         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3854         type. Add a comment in the implementation that the function uses
3855         the stream's bad() function rather than fail() as the std::streams
3856         would do.
3857
3858 2003-12-02  André Pönitz  <poenitz@gmx.net>
3859
3860         * lyxlex.[Ch]: make interface more similar to std::stream
3861
3862         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3863
3864 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3865
3866         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3867
3868 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3869
3870         * vspace.[Ch]: remove VSpace::NONE
3871
3872 2003-12-01  André Pönitz  <poenitz@gmx.net>
3873
3874         * buffer.[Ch]:
3875         * lyxtext.h: move ParagraphList member to LyXText
3876         rename LyXText::ownerParagraphs to LyXText::paragraph
3877
3878         * CutAndPaste.C:
3879         * bufferview_funcs.C:
3880         * iterators.[Ch]:
3881         * lyx_cb.C:
3882         * paragraph.C:
3883         * rowpainter.C:
3884         * tabular.C:
3885         * text.C:
3886         * text2.C:
3887         * text3.C: adjust
3888
3889         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3890
3891         * undo.C: fix cursor positioning
3892
3893 2003-12-01  John Levon  <levon@movementarian.org>
3894
3895         * BufferView_pimpl.C: fix a crash on exit with
3896         a buffer open
3897
3898 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3899
3900         * BranchList.C: fix setSelected() method.
3901
3902 2003-11-28  André Pönitz  <poenitz@gmx.net>
3903
3904         * ParagraphParameters.[Ch]:
3905         * ParameterStruct.h: remove space above/below from Paragraph to
3906          InsetVSpace
3907
3908         * BufferView_pimpl.C:
3909         * factory.C:
3910         * lyxfunc.C:
3911         * lyxtext.h:
3912         * output_latex.C:
3913         * paragraph.C:
3914         * paragraph_funcs.C:
3915         * rowpainter.[Ch]:
3916         * text.C:
3917         * text2.C:
3918         * text3.C: adjust
3919
3920 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3921
3922         * factory.C: Syntax change for CharStyles
3923
3924 2003-11-28  André Pönitz  <poenitz@gmx.net>
3925
3926         * BufferView.[Ch]:
3927         * BufferView.[Ch]:
3928         * buffer.[Ch]:
3929         * buffer.[Ch]: move LyXText member
3930
3931 2003-11-28  André Pönitz  <poenitz@gmx.net>
3932
3933         * BufferView.[Ch]: make LyXText * text a private member
3934
3935         * BufferView_pimpl.C:
3936         * cursor.C:
3937         * iterators.C:
3938         * lyx_cb.C:
3939         * lyxfind.C:
3940         * lyxtext.h:
3941         * rowpainter.[Ch]:
3942         * text.C:
3943         * text2.C:
3944         * undo.C: adjust
3945
3946         * output_plaintext.C: cleanup
3947
3948 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3949
3950         * buffer.C:
3951         * lyxtextclass.[Ch]: parametrize SGML document header
3952
3953 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3954
3955         * converter.[Ch]:
3956         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3957         getFlavor().
3958
3959 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3960
3961         * text2.C (setFont): rework using PosIterator (no more recursive)
3962         (setCharFont): no more needed
3963         (setLayout): no more selection cursors fiddling (done by redoCursor)
3964         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3965         destroy remaining ones)
3966
3967 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3970         * lyxtext.h: ditto
3971         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3972         selection cursors
3973         * lyxfunc.C: adjust
3974         * text3.C: adjust + re-allow multi par depth changes
3975         * textcursor.C: simplify a bit
3976
3977 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3978
3979         * src/buffer.C:
3980         * src/lyxlayout.C:
3981         * src/lyxlayout.h:
3982         * src/lyxtext.h:
3983         * src/output_docbook.C:
3984         * src/output_latex.C:
3985         * src/paragraph.C:
3986         * src/paragraph.h:
3987         * src/sgml.C:
3988         * src/sgml.h:
3989         * src/text2.C: Introducing a number of tags parametrizing various
3990         XML formats that we may want to support
3991
3992 2003-11-25  André Pönitz  <poenitz@gmx.net>
3993
3994         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3995
3996         * lyxtext.h (leftMargin/rightMargin): simplify interface
3997
3998         * rowpainter.C:
3999         * text.C:
4000         * text2.C:
4001         * text3.C: adjust
4002
4003 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4004
4005         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4006         master file to any child files. Fixes bug 546.
4007
4008 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4011
4012 2003-11-24  André Pönitz  <poenitz@gmx.net>
4013
4014         * rowpainter.C: simplification
4015
4016         * text2.C (updateCounters): remove call to redoParagraph on
4017         changed labels as this is far too expensive.
4018
4019 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4020
4021         * converter.C (convert): fix a crash: this function gets
4022         called with buffer == 0 from importer code.
4023
4024 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4025
4026         * text3.C (cursorPrevious): make sure that we do not compare
4027         iterators form different containers.
4028         (cursorNext): ditto
4029
4030         * rowpainter.C (paintSelection): make sure that we do not compare
4031         iterators from different containers.
4032
4033         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4034         iterators from different ParagraphList containers.
4035         [NEXT] ditto
4036
4037         * text2.C (LyXText): change order of initialization slightly
4038         (operator=): new function. copy all variables except cache_par_
4039         (moveUp): make sure that we do not compare iterators from
4040         different ParagraphList constainers.
4041         (moveDown): ditto
4042
4043         * text.C (firstPar): new function
4044         (lastPar): new function
4045         (endPar): new function
4046
4047         * lyxtext.h: move things around and group public functions, public
4048         variables, private functions, private variables
4049
4050 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4051
4052         * factory.C: change call to InsetERT constructor to avoid
4053         additional invocation of method status
4054         * text2.C (toggleInset): remove redundant update() call
4055         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4056         instead of a Bufferview pointer
4057
4058 2003-11-21  André Pönitz  <poenitz@gmx.net>
4059
4060         * rowpainter.C: simplification
4061
4062 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4063
4064         * text3.C (dispatch): make possible to extend a word/row selection
4065         with the mouse
4066
4067 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4068
4069         * lyxtext.h: x0_,y0_ -> xo_,yo_
4070         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4071         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4072         * rowpainter.C (paintRows): paint full paragraphs
4073
4074 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4075
4076         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4077         screen coordinates)
4078
4079 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4080
4081         * lyxtext.h: add x0_, y0_
4082         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4083         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4084
4085 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * text2.C (setCursorIntern): move the x_target update here *
4088         * text3.C: change some bv() to true/false in calls to
4089         cursorUp/Down/Right/Left
4090         * cursor.C: use helper function.
4091
4092 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4095         * paragraph_funcs.[Ch]: correct comment
4096         * rowpainter.C: do not paint selections away from bv->cursor()
4097         Fix a long standing selection painting bug.
4098         * text3.C: generalize mouse-selection code to LyXTexts other that
4099         top one
4100         * textcursor.C: do not use y coords if we can use par offsets
4101
4102 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4105         cursor position after e.g. inset insert)
4106
4107 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4108
4109         * lyxfind.C (replace): adjust to locking removal + some
4110         code simplification
4111
4112 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4113
4114         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4115         of the path
4116
4117 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4118
4119         * lyxlayout.[Ch]:
4120         * output_docbook.C: XML sanitation: new layout
4121         parameters InnerTag and CommandDepth
4122
4123 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4124
4125         * BufferView_pimpl.C:
4126         * factory.C:
4127         * text3.C: Fix the insertion and modification of button-style
4128         insets
4129
4130 2003-11-13  André Pönitz  <poenitz@gmx.net>
4131
4132         * InsetList.[Ch]: remove deleteLyXText
4133
4134         * paragraph.[Ch]: cache beginOfBody position
4135
4136         * Bidi.C:
4137         * text.C:
4138         * text2.C:
4139         * text3.C: remove superfluous update() calls
4140
4141         * vspace.C: cleanup
4142
4143 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4144
4145         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4146         * BufferView.C (fitLockedInsetCursor): remove
4147         * cursor.[Ch] (getDim): add
4148         * text.C (getRowNearY): add faster version
4149         * text3.C: remove some update calls
4150
4151 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * LaTeXFeatures.C:
4154         * LyXAction.C:
4155         * MenuBackend.C:
4156         * MenuBackend.h:
4157         * dispatchresult.h:
4158         * factory.C:
4159         * lfuns.h:
4160         * lyxfunc.C:
4161         * lyxtextclass.C:
4162         * lyxtextclass.h:
4163         * text3.C: The Character Style /XML short element patch.
4164
4165 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * text3.C:
4168         * factory.C: Small step to solving 'unable to insert some insets'
4169         problem
4170
4171 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4172
4173         * cursor.[Ch] (updatePos): new function for updating the y
4174         position of the tip inset
4175         * bufferview_funcs.C (put_selection_at):
4176         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4177
4178 2003-11-11  André Pönitz  <poenitz@gmx.net>
4179
4180         * text.C: remove big comment on invalid Paragraph pointers as it is
4181         not valid anymore
4182
4183 2003-11-11  André Pönitz  <poenitz@gmx.net>
4184
4185         * text_funcs.[Ch]: merge with ...
4186
4187         * text.C: ... this
4188
4189         * lyxtext.h:
4190         * text2.C:
4191         * text3.C: adjust
4192
4193         * Makefile.am: remove text_funcs.[Ch]
4194
4195 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * cursor.C (getPos): return absolute cached y coord
4198
4199         * BufferView_pimpl.C (fitCursor): new simplistic code
4200         (workAreaDispatch): add a fitCursor call
4201
4202 2003-11-10  André Pönitz  <poenitz@gmx.net>
4203
4204         * BufferView.[Ch]:
4205         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4206
4207 2003-11-10  André Pönitz  <poenitz@gmx.net>
4208
4209         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4210         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4211         indicate that the cursor needs to leave an inset
4212
4213         * lyxtext.h: remove inset locking
4214
4215         * cursor.[Ch]: re-implement functionality provided by inset locking
4216
4217         * BufferView.[Ch]:
4218         * BufferView_pimpl.[Ch]:
4219         * LyXAction.C:
4220         * bufferview_funcs.[Ch]:
4221         * factory.C:
4222         * funcrequest.[Ch]:
4223         * iterators.C:
4224         * lyx_cb.C:
4225         * lyxfind.C:
4226         * lyxfunc.C:
4227         * text.C:
4228         * text2.C:
4229         * text3.C:
4230         * undo.C: adjust
4231
4232 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * PosIterator.[Ch]: replace the stack with a vector, add inset
4235         accesor
4236         * iterators.[C]: adjust
4237
4238 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4241         replaced
4242         * paragraph_funcs.C (readParToken): put the correct id in the
4243         error item, not the id of the top paragraph
4244
4245 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4248         * bufferview_funcs.C (put_selection_at): use the above
4249
4250 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4253
4254 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4255
4256         * output_linuxdoc.h:
4257         * output_plaintext.h:
4258         * output.h:
4259         * output_docbook.h: add #include statements
4260
4261 2003-11-05  José Matos  <jamatos@lyx.org>
4262
4263         * output_docbook.[Ch]:
4264         * output_latex.[Ch]:
4265         * output_linuxdoc.[Ch]:
4266         * output_plaintext.[Ch]: New files for output formats.
4267         * output.[Ch]: New file for helper functions.
4268
4269         * buffer.[Ch]:
4270         * paragraph_funcs.[Ch]: output functions moved to new files.
4271
4272         * outputparams.h: rename of latexrunparams.h
4273
4274         * LaTeX.[Ch]:
4275         * buffer.[Ch]:
4276         * bufferlist.[Ch]:
4277         * converter.[Ch]:
4278         * exporter.C:
4279         * paragraph.[Ch]:
4280         * paragraph_funcs.[Ch]:
4281         * paragraph_pimpl.[Ch]:
4282         * tabular.[Ch]: rename ascii to plaintext
4283         and LatexRunParams to OutputParams.
4284
4285 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4286
4287         * iterators.[Ch] (text): require bv argument
4288         * undo.C (recordUndo):
4289         * lyxfunc.C (dispatch):
4290         * bufferview_funcs.C (put_selection_at): adjust
4291
4292 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4293
4294         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4295
4296 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4297
4298         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4299         nestings
4300
4301 2003-11-04  André Pönitz  <poenitz@gmx.net>
4302
4303         * cursor.[Ch]: restructure
4304
4305         * BufferView.[Ch]:
4306         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4307
4308         * iterators.[Ch] (asCursor): remove
4309
4310         * lfuns.h: remove LFUN_INSET_EDIT
4311
4312         * lyxfunc.C:
4313         * tabular.C:
4314         * text.C:
4315         * text2.C:
4316         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4317
4318 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * lyxfind.[Ch]: complete overhaul
4321         * BufferView_pimpl.C:
4322         * lyxfunc.C: adjust
4323         * paragraph.[Ch] (insert): add
4324
4325 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * BufferView.[Ch]:
4328         * lyxtext.h:
4329         * text.C: remove dead spellcheck code
4330
4331 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * dispatchresult.h: add a val setter
4334
4335         * cursor.C (dispatch): use a tempvar for data_[i]
4336
4337 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * PosIterator.[Ch]: compile fix
4340
4341 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * text.C (cursorPar): deactivate the cursor cache
4344
4345 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4348
4349 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * text3.C (dispatch): adjust for new DisptchResult semantics.
4352
4353         * lyxfunc.C (dispatch): handle update when return from
4354         Cursor::dispatch, adjust for new DispatchResult semantics.
4355
4356         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4357         DispatchResult(true) mean to not update. Add class functions for
4358         setting dispatched and update, as well as reading.
4359
4360         * cursor.C (dispatch): don't handle update here
4361
4362 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4365         * trans_mgr.C: adjust
4366
4367         * paragraph_funcs.C (readParToken): exception safety
4368
4369         * lyxvc.h: store the vcs pointer in a scoped_ptr
4370         * lyxvc.C: adjust
4371
4372         * lyxsocket.C (serverCallback): exception safety
4373
4374         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4375
4376         * ispell.C (clone): make it return a auto_ptr
4377
4378         * factory.C (createInset): exception safety
4379         (readInset): exception safety
4380
4381         * bufferlist.C (newBuffer): exception safety
4382
4383         * Thesaurus.C (Thesaurus): use initialization for aik_
4384
4385         * MenuBackend.C (expandToc): exception safety.
4386
4387 2003-11-03  André Pönitz  <poenitz@gmx.net>
4388
4389         * buffer.C:
4390         * buffer.h:
4391         * bufferview_funcs.C: remove getInsetFromId()
4392
4393         * lyxcursor.[Ch]:
4394         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4395
4396         * lyxfunc.C:
4397         * text2.C:
4398         * text3.C: adjust
4399
4400 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * PosIterator.C (distance, advance): new
4403         * bufferview_funcs.[Ch] (put_selection_at): new
4404         * iterators.[Ch] (lockPath): new
4405
4406 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4407
4408         * iterators.[Ch] (asPosIterator): added
4409         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4410         * PosIterator.[Ch]: added
4411
4412 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * text3.C:
4415         * lyxfunc.C:
4416         * cursor.C (dispatch):
4417         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4418
4419         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4420         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4421         contructor, add a class function dispatched. Remove operator>=
4422
4423 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * debug.C: only use the default constructor for debugstream
4426         (lyxerr) here.
4427
4428         * main.C (main): include debug.h and setup the lyxerr streambuf
4429         here.
4430
4431 2003-10-31  José Matos  <jamatos@lyx.org>
4432
4433         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4434
4435         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4436         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4437         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4438         * paragraph_pimpl.C (simpleTeXSpecialC):
4439         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4440         add LatexRunParams argument.
4441
4442         * exporter.C (Export): change call accordingly.
4443
4444         * latexrunparams.h: add new member to take care of the other backends.
4445 2003-10-30  José Matos  <jamatos@lyx.org>
4446
4447         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4448         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4449         factorise code for paragraph output.
4450         * buffer.[Ch]:
4451         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4452         move functions.
4453
4454 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * text3.C (dispatch):
4457         * lyxfunc.C (dispatch):
4458         * cursor.C (dispatch):
4459         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4460
4461         * dispatchresult.h: make the dispatch_result_t ctor explicit
4462
4463 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4464
4465         * sgml.[Ch]:
4466         * buffer.C: small refactoring of docbook stuff
4467
4468 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4471         meaning.
4472
4473 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4476         operator dispatch_result_t, and operators for == != and >=
4477
4478         * cursor.C (dispatch): adjust for operator dispatch_result_t
4479         removal. comment out call to update
4480
4481         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4482
4483 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * text3.C:
4486         * text2.C:
4487         * text.C:
4488         * lyxtext.h:
4489         * lyxfunc.C:
4490         * cursor.C:
4491         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4492         (dispatch):
4493
4494         * dispatchresult.h: new file, DispatchResult broken out of
4495         insets/insetbase.h
4496
4497         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4498
4499 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * text.C (rowBreakPoint): put a hack inside #if 0
4502
4503 2003-10-28  André Pönitz  <poenitz@gmx.net>
4504
4505         * lyxtext.h:
4506         * metricsinfo.C:
4507         * paragraph_funcs.C:
4508         * rowpainter.C:
4509         * text.C:
4510         * text2.C: general cleanup (lots of small stuff)
4511
4512 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * text2.C (cursorEnd): simple fix to the "end key goes to one
4515         before the end on last row" bug
4516
4517 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4518
4519         * text.C (backspace): fix the "zombie characters"
4520
4521 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4524
4525 2003-10-27  André Pönitz  <poenitz@gmx.net>
4526
4527         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4528
4529         * factory.C: handle new InsetPagebreak, InsetLine
4530
4531         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4532         and move handling into new InsetPagebreak, InsetLine
4533
4534         * BufferView_pimpl.C:
4535         * LyXAction.C:
4536         * ParagraphParameters.C:
4537         * ParameterStruct.h:
4538         * lyxfunc.C:
4539         * lyxtext.h:
4540         * paragraph.C:
4541         * paragraph.h:
4542         * paragraph_funcs.C:
4543         * paragraph_pimpl.C:
4544         * rowpainter.C:
4545         * text.C:
4546         * text2.C:
4547         * text3.C: adjust
4548
4549 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4550
4551         * text.C:
4552         * lyxrow_funcs.[Ch]:
4553         * Bidi.C:
4554         * paragraph.C:
4555         * lyxtext.h:
4556         * rowpainter.C:
4557         * text2.C:
4558         * text3.C: remove lastPos uses in favour of Row::endpos
4559
4560 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * undo.C (performUndoOrRedo): fix two crashes by setting a
4563         cursor by hand and reordering some calls. Use bv->lockInset instead
4564         of inset->edit because the latter loses cursor information
4565
4566 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4569         by Martin
4570         (rowBreakPoint): fix width. change point to point + 1.
4571         Add a missing check.
4572
4573 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * MenuBackend.C:
4576         * lyxfunc.C: fix (at least partly) the problems
4577         with the Nav menu and headers inside branch insets
4578         reported by Kayvan
4579
4580 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * paragraph.C (getChar): add strong asserts
4583
4584         * lyxrow_funcs.C (lastPos): remove hideous hack
4585
4586         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4587         (fill): adjust to that (avoid an infinite loop)
4588
4589 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4592
4593 2003-10-23  André Pönitz  <poenitz@gmx.net>
4594
4595         * RowList_fwd.h: change list<> to vector<> to gain speed
4596         after suggestion from Alfredo
4597
4598 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * lyxtext.h: move the bidi stuff from here...
4601         * text.C: and here
4602         * text2.C: and here
4603         * Bidi.[Ch]: ... to here
4604
4605 2003-10-23  André Pönitz  <poenitz@gmx.net>
4606
4607         * lyxtext.h:
4608         * text.C (isLastRow, isFirstRow): new functions
4609
4610         * paragraph.h: new width cache member
4611
4612         * rowpainter.C: replace RowList::iterator with Row & where possible
4613
4614         * lyxfunc.C: replace several view()->text with a single call
4615
4616         * toc.C: fix 'unused' warning
4617
4618 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4621         when woring with stream::pos_type
4622         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4623
4624 2003-10-22  André Pönitz  <poenitz@gmx.net>
4625
4626         * lyxtext.h:
4627         * text.C: use Row & instead of RowList::iterator
4628
4629         * lyxrow.h: rename end() to endpos()
4630
4631         * rowpainter.C:
4632         * text.C:
4633         * text2.C: adjust
4634
4635 2003-10-22  Angus Leeming  <leeming@lyx.org>
4636
4637         * buffer.[Ch] (fully_loaded): new member function, returning true
4638         only when the file has been loaded fully.
4639         Used to prevent the premature generation of previews and by the
4640         citation inset to prevent computation of the natbib-style label.
4641
4642         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4643         templates are all set up.
4644
4645         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4646
4647 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4648
4649         * text.C: fixed an "oops" in the "is a bit silly"
4650         bug fix
4651
4652 2003-10-21  André Pönitz  <poenitz@gmx.net>
4653
4654         * FuncStatus.[Ch]: small stuff, whitespace
4655
4656         * lyxfont.[Ch]: operator<<() for debug reasons
4657
4658         * lyxfunc.C:
4659         * lyxrow_funcs.C:
4660         * lyxtext.h: whitespace, spelling
4661
4662         * paragraph.C: naming of variables
4663
4664         * text.C:
4665         * text2.C: small stuff
4666
4667
4668 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4669
4670         * text.C: (1) finish off the inset display() work;
4671         (2) fix the "is a bit silly" bug (accessing char
4672         past end of par).
4673
4674 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4675
4676         * text.C: re-introduce display() for insets, fixing the
4677         various bugs (stretch of line above, math inset
4678         positioning, ...)
4679
4680 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4681
4682         * text.C (rightMargin): remove spurious semicolon
4683
4684         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4685         1415)
4686
4687 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4688
4689         * text3.C: fix one crash due to wrong cursor def
4690
4691 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * vc-backend.C (scanMaster): make the regex static
4694
4695         * LaTeX.C (scanAuxFile): make the regexs static
4696
4697         * text3.C (doInsertInset, dispatch, dispatch):
4698         * text2.C (cursorUp, cursorDown):
4699         * text.C (selectNextWordToSpellcheck):
4700         * BufferView_pimpl.C (dispatch):
4701         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4702
4703 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4704
4705         * lyxsocket.C: include <cerrno>
4706
4707 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * lyxfunc.C (dispatch): remove textcache stuff
4710
4711         * bufferlist.C (release): remove textcache stuff
4712         (closeAll): ditto
4713
4714         * TextCache.C: delete file
4715         * TextCache.h: delete file
4716
4717         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4718
4719         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4720         delete of the bv_->text.
4721         (resizeCurrentBuffer): remove texcache stuff
4722         (workAreaResize): ditto
4723
4724 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4727         action.
4728
4729 2003-10-16  André Pönitz  <poenitz@gmx.net>
4730
4731         * lyxrow.[Ch]:
4732         * paragraph.h:
4733         * rowpainter.C:
4734         * text.C:
4735         * text2.C:
4736         * text3.C: speed up by storing y positions per paragraph plus per-row
4737         offset instead of having a 'full' y position in the row.
4738
4739 2003-10-15  André Pönitz  <poenitz@gmx.net>
4740
4741         * iterators.[Ch]:
4742         * iterators.[Ch]:
4743         * undo.[Ch]: make undo aware of inner insets
4744
4745 2003-10-14  Angus Leeming  <leeming@lyx.org>
4746
4747         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4748         static member functions LyX::ref() and LyX::cref.
4749         (lastfiles): new accessor functions for the new lastfiles_ member var.
4750         (addLyXView, views_): add a new LyXView to the list of views_.
4751         (updateInset): loop over all LyXViews to call their own updateInset
4752         member function, returning a pointer to the Buffer owning the inset.
4753
4754         * BufferView_pimpl.C (loadLyXFile):
4755         * MenuBackend.C (expandLastfiles):
4756         * bufferlist.C (MenuWrite, QuitLyX):
4757         lastfiles is no longer a global variable.
4758         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4759
4760         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4761         static function. Access through LyX::cref().emergencyCleanup().
4762
4763 2003-10-14  André Pönitz  <poenitz@gmx.net>
4764
4765         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4766
4767         * undo.[Ch]: restoring part of 'undo in insets'
4768
4769         * Makefile.am:
4770         * undo_funcs.[Ch]: merge with undo.[Ch]
4771
4772         * tabular.C: small cleansing stuff
4773
4774 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4775
4776         * paragraph_funcs.C (readParToken): report unknown insets as error
4777         boxes. Use the outer paragraph as location (also for unknown
4778         tokens).
4779
4780         * factory.C (readInset): do not abort on reading an unknown inset.
4781         Eat it and return 0.
4782
4783 2003-10-13  Angus Leeming  <leeming@lyx.org>
4784
4785         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4786
4787         * lyxrc.C: displayTranslator is now a function,
4788         declared in GraphicsTypes.h.
4789
4790 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4791
4792         * format.C: new placeholder $$a to pass the socket address.
4793
4794         * bufferlist.[Ch]: new function getBufferFromTmp.
4795
4796         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4797           files in the temporary dir.
4798
4799 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4800
4801         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4802
4803         * Makefile.am: add lyxsocket.[Ch].
4804
4805         * lyx_main.C (error_handler): handle SIGPIPE.
4806
4807 2003-10-13  André Pönitz  <poenitz@gmx.net>
4808
4809         * BufferView_pimpl.C:
4810         * lyxtext.h:
4811         * text.C:
4812         * text2.C:
4813         * text3.C:
4814         * undo_funcs.[Ch]: use paroffset_type instead of
4815           ParagraphList::iterators to prevent multiple conversion
4816           (and get a more robust interface)
4817
4818 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4821         * lyxtext.h: ditto
4822         * text3.C (dispatch): ditto
4823
4824 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4827         move the onlyfile, use onlyfile instead of foundfile in a couple
4828         of places.
4829
4830         * DepTable.C (update): flush the error stream a bit more
4831
4832 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * lyxserver.C (callback): adjust
4835
4836         * lyxfunc.C (getStatus): add a missing brace in commented code
4837         (ensureBufferClean): reindent
4838         (dispatch): delete version taking a string
4839
4840 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * LaTeX.C (deplog): move found file handlig from here...
4843         (handleFoundFile): .. to new function here.
4844         (deplog): make sure to discover several files mentioned on the
4845         same log line.
4846
4847 2003-10-10  André Pönitz  <poenitz@gmx.net>
4848
4849         * lyxfunc.C:
4850         * lyxtext.h:
4851         * tabular.C:
4852         * text.C:
4853         * text2.C:
4854         * text3.C: fix some of the tabular crashes
4855
4856 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4857
4858         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4859
4860         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4861
4862 2003-10-09  André Pönitz  <poenitz@gmx.net>
4863
4864         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4865
4866         * BufferView.C:
4867         * BufferView_pimpl.C:
4868         * bufferview_funcs.C:
4869         * lyx_cb.C:
4870         * lyxcursor.C:
4871         * lyxfind.C:
4872         * lyxfunc.C:
4873         * lyxtext.h:
4874         * text.C:
4875         * text2.C:
4876         * text3.C:
4877         * text_funcs.[Ch]:
4878         * textcursor.[Ch]:
4879         * undo_funcs.C: adjust
4880
4881 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * text2.C (incrementItemDepth): new function, use a backtracking
4884         algorithm to discover the correct item depth.
4885         (resetEnumCounterIfNeeded): new function, use a backtracking
4886         algorithm to discover if counter reset is needed.
4887         (setCounter): use them. Simplify a bit. Add different labels for
4888         different item depths for itemize.
4889
4890         * paragraph.C (Paragraph): remove initialization of enumdepth
4891         (operator=): ditto
4892
4893         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4894         enumerate and itemize. Change the type of itemdepth to signed char.
4895
4896 2003-10-08  André Pönitz  <poenitz@gmx.net>
4897
4898         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4899           thing assignable.
4900         * text.C:
4901         * text2.C: adjust
4902
4903         * tabular.[Ch]: fix crash after 'row-insert'
4904
4905 2003-10-08  Angus Leeming  <leeming@lyx.org>
4906
4907         Fix doxygen warnings.
4908
4909         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4910         Remove CutAndPaste:: prefix from header file declaration.
4911
4912         * LColor.h (fill): remove LColor:: prefix from declaration.
4913
4914         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4915         use lyx::depth_type rather than Paragraph::depth_type so that
4916         header file and .C file match.
4917
4918         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4919
4920         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4921         * aspell.C: \file aspell_local.C -> \file aspell.C
4922         * gettext.C: \file gettext.C -> \file src/gettext.C
4923         * gettext.h: \file gettext.h -> \file src/gettext.h
4924         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4925         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4926         * text.C: \file text.C -> \file src/text.C
4927
4928         * toc.C: move comment so that doxygen is not confused.
4929
4930 2003-10-07  Angus Leeming  <leeming@lyx.org>
4931
4932         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4933
4934 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4935
4936         * aspell.C:
4937         * aspell_local.h: add forgotten std::string's.
4938
4939 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4940
4941         * LaTeXFeatures.C:
4942         * LyXAction.C:
4943         * factory.C:
4944         * lfuns.h:
4945         * lyxfunc.C:
4946         * text3.C: The Box patch. Fancybox support, minipage, parbox
4947
4948 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4949
4950         * CutAndPaste.h:
4951         * DepTable.h:
4952         * FloatList.h:
4953         * LaTeXFeatures.h:
4954         * ParagraphParameters.h:
4955         * TextCache.h:
4956         * Thesaurus.h:
4957         * bufferlist.h:
4958         * exporter.h:
4959         * importer.h:
4960         * lastfiles.h:
4961         * lyxfind.h:
4962         * lyxfont.h:
4963         * lyxlex.h:
4964         * lyxtextclasslist.h:
4965         * messages.h:
4966         * paragraph.h:
4967         * paragraph_pimpl.C:
4968         * textcursor.h: add <string> and other small fixes to make Lars'
4969         std::string patch compile with STLport.
4970
4971 2003-10-06  Angus Leeming  <leeming@lyx.org>
4972
4973         * LColor.h: Add missing #include <string>.
4974
4975 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * All most all file in all subdirs: Make <string> be the prefered
4978         way of getting to std::string, add using declarations.
4979
4980 2003-10-06  André Pönitz  <poenitz@gmx.net>
4981
4982         * metricsinfo.C: initialize LyXFont before changing attribute.
4983         (fixes the 'math in \emph is upright' bug)
4984
4985 2003-10-06  André Pönitz  <poenitz@gmx.net>
4986
4987         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4988
4989 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4990
4991         * graph.C:
4992         * paragraph_pimpl.C: Small fixes to build using STLport
4993
4994 2003-10-02  André Pönitz  <poenitz@gmx.net>
4995
4996         * lyxfunc.C:
4997         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4998
4999 2003-10-01  André Pönitz  <poenitz@gmx.net>
5000
5001         * factory.C: assert early
5002
5003 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * lyx_main.C: remove the global debug object
5006
5007         * debug.h: adjust for new debugstream
5008
5009         * debug.C: adjust for new debugstream and keep the global debug
5010         object here.
5011
5012 2003-09-22  Angus Leeming  <leeming@lyx.org>
5013
5014         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5015         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5016         an incomplete class LyXFont.
5017
5018 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5019
5020         * factory.C: bug fix in branches
5021
5022 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * lyxfunc.C (processKeySym): adjust
5025         (dispatch): adjust
5026         (dispatch): change arg name from ev to func, adjust
5027         (sendDispatchMessage): ditto
5028
5029         * lyx_main.C (defaultKeyBindings): adjust keybindings
5030         (deadKeyBindings): ditto
5031
5032         * kbsequence.C (addkey): return a FuncRequest
5033
5034         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5035
5036         * kbmap.C (bind): take a FuncRequest as arg, adjust
5037         (read): adjust
5038         (lookup): adjust
5039         (defkey): change to take a FuncRequest as arg, adjust
5040         (findbinding): take a FuncRequest as arg, adjust.
5041
5042         * funcrequest.h (operator=): added
5043
5044         * funcrequest.C (FuncRequest): default kb_action changed from
5045         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5046
5047         * buffer.C (dispatch): simplify
5048         (dispatch): adjust to take a FuncRequest as arg, adjust
5049
5050         * boost.C (assertion_failed): change assertion message slightly
5051
5052         * ToolbarBackend.C (read): simplify
5053
5054         * MenuBackend.C (binding): adjust call to findbinding, add a
5055         message if no binding is found.
5056         (read): simplify
5057         (expandToc): correct by adding a empty FuncRequest
5058
5059         * LyXAction.C: include <boost/assert.hpp>
5060         (isPseudoAction): delete function
5061         (LookupFunc): change name to...
5062         (lookupFunc): this. change return type to FuncRequest.
5063         (getActionName): take kb_action as arg, simplify
5064         (funcHasFlag): add an assert, simplify.
5065
5066 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * toc.C (action): return a FuncRequest, simplify
5069
5070         * lyxfunc.C (processKeySym): adjust
5071         (getStatus): delete version that takes an int.
5072         (getStatus): adjust
5073         (dispatch): delete version that takes action as int
5074         (dispatch): adjust
5075         (sendDispatchMessage): simplify and adjust
5076
5077         * funcrequest.C (getArg): take unsigned int as arg
5078
5079         * ToolbarBackend.C (read): adjust
5080         (add): delete version that takes func as a string.
5081         (getIton): take a FuncRequest as arg
5082
5083         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5084         action.
5085
5086         * MenuBackend.C (MenuItem): add a new construct that only takes a
5087         Kind, simplify the constructor use for submenus.
5088         (add): adjust
5089         (expandLastfiles): adjust
5090         (expandDocuments): adjust
5091         (expandFormats): adjust
5092         (expandFloatListInsert): adjust
5093         (expandFloatInsert): adjust
5094         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5095
5096         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5097         Remove class variables lyx_pseudo_map and lyx_arg_map
5098
5099         * LyXAction.C (searchActionArg): delete function
5100         (getPseudoAction): delete function
5101         (retrieveActionArg): delete function
5102         (LookupFunc): make it return kb_action, simplify.
5103         (getActionName): simplify
5104
5105         * factory.C (createInset): fix new bug
5106
5107 2003-09-19  Angus Leeming  <leeming@lyx.org>
5108
5109         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5110         masterFilename_ parameter in the include inset.
5111
5112         * factory.C (createInset): changes due to the changes to InsetInclude.
5113
5114 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5115
5116         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5117
5118 2003-09-18  Angus Leeming  <leeming@lyx.org>
5119
5120         * buffer.C:
5121         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5122         Inset::fillWithBibKeys.
5123         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5124
5125 2003-09-18  Angus Leeming  <leeming@lyx.org>
5126
5127         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5128         variables.
5129         (ctor): pass and store a 'Buffer const &'
5130         (buffer): new member function.
5131
5132         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5133         '*this' to the LaTeXFeatures ctor.
5134
5135 2003-09-18  Angus Leeming  <leeming@lyx.org>
5136
5137         * LColor.h:
5138         * lyxfont.C:
5139         * lyxfont.h:
5140         * lyxtext.h:
5141         * text.C: rename EnumLColor as LColor_color.
5142
5143 2003-09-18  Angus Leeming  <leeming@lyx.org>
5144
5145         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5146         remove #include "insets/insetbase.h" from cursor.h.
5147
5148 2003-09-18  Angus Leeming  <leeming@lyx.org>
5149
5150         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5151         InsetOld_code to remove #include "inset.h".
5152
5153         * iterators.C: add #include "insets/inset.h"
5154
5155 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5156
5157         * BufferView.C: remove more locking stuff that apparently doesn't
5158         do anything sensible.
5159
5160 2003-09-16  André Pönitz  <poenitz@gmx.net>
5161
5162         * paragraph.[Ch]:
5163         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5164           performance boost.
5165
5166 2003-09-16  Angus Leeming  <leeming@lyx.org>
5167
5168         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5169
5170         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5171         arg/return type.
5172
5173         * paragraph.h: remove #include "lyxfont.h". Forward declare
5174         LyXFont_size.
5175
5176 2003-09-16  Angus Leeming  <leeming@lyx.org>
5177
5178         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5179         of support/textutils.h.
5180         (isWord): move the contents of support/textutils.h's IsWordChar here.
5181
5182         * buffer.C:
5183         * lyxfind.C:
5184         * rowpainter.C:
5185         * text.C:
5186         * text2.C: add #include "paragraph.h".
5187
5188         * rowpainter.C:
5189         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5190
5191 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * main.C:
5194         * lyx_main.C:
5195         * lyx_cb.C:
5196         * buffer.C:
5197         * LaTeX.C: use namespace alias for lyx::support::os
5198
5199 2003-09-16  Angus Leeming  <leeming@lyx.org>
5200
5201         * bufferparams.C:
5202         * bufferview_funcs.C:
5203         * factory.C:
5204         * lyxfunc.C:
5205         * paragraph_pimpl.C:
5206         * rowpainter.C:
5207         * text.C: add #include "LColor.h".
5208
5209 2003-09-16  Angus Leeming  <leeming@lyx.org>
5210
5211         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5212         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5213         return LyXFont &.
5214         Store the FontBits::color variable as an int rather than as an
5215         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5216         file.
5217
5218         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5219         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5220         string calls together.
5221
5222         * lyxrc.C: add #include "LColor.h".
5223
5224 2003-09-15  Angus Leeming  <leeming@lyx.org>
5225
5226         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5227         a cow_ptr.
5228
5229 2003-09-15  Angus Leeming  <leeming@lyx.org>
5230
5231         * LColor.h: add an EnumLColor wrapper for LColor::color.
5232
5233         * lyxfont.[Ch] (color, setColor, realColor):
5234         * lyxtext.h, text.C (backgroundColor):
5235         pass EnumLColor args to/from the functions, rather than LColor::color
5236         ones.
5237
5238         * lyxfont.h:
5239         * lyxtext.h: forward declare EnumLColor.
5240
5241         * lyx_main.C: add #include "LColor.h".
5242
5243 2003-09-15  Angus Leeming  <leeming@lyx.org>
5244
5245         * .cvsignore: add lyx-gtk.
5246
5247 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * Chktex.C
5250         * LaTeX.C
5251         * LaTeXFeatures.C
5252         * ParagraphParameters.C
5253         * Spacing.C
5254         * buffer.C
5255         * bufferparams.C
5256         * bufferview_funcs.C
5257         * chset.C
5258         * counters.C
5259         * funcrequest.C
5260         * lyxfont.C
5261         * lyxgluelength.C
5262         * lyxlength.C
5263         * paragraph.C
5264         * paragraph_funcs.C
5265         * text3.C
5266         * vc-backend.C: remove usage of STRCONV
5267
5268 2003-09-15  Angus Leeming  <leeming@lyx.org>
5269
5270         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5271         explicitly define the color passed to the painter.
5272
5273 2003-09-15  Angus Leeming  <leeming@lyx.org>
5274
5275         * bufferparams.C (BufferParams): reorder member initializers to avoid
5276         compiler warning.
5277
5278 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5281         * text.C (updateRowPositions): remove an unusual nop
5282
5283 2003-09-12  André Pönitz  <poenitz@gmx.net>
5284
5285         * BufferView_pimpl.C:
5286         * Bullet.C:
5287         * layout.h:
5288         * lyxfunc.C:
5289         * lyxlayout.[Ch]:
5290         * lyxtextclass.C:
5291         * rowpainter.C:
5292         * text.C:
5293         * text2.C:
5294         * Counters.[Ch]: finish the 'automatic counters' job
5295
5296 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5297
5298         * aspell.C: include <boost/assert.cpp> (compile fix)
5299
5300 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5301
5302         * boost.C (assertion_failed): use lyx::support::abort instead of
5303         assert.
5304
5305 2003-09-10  Angus Leeming  <leeming@lyx.org>
5306
5307         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5308         with their _fwd progeny.
5309
5310 2003-09-09  Angus Leeming  <leeming@lyx.org>
5311
5312         134 files throughtout the source tree: replace 'using namespace abc;'
5313         directives with the appropriate 'using abc::xyz;' declarations.
5314
5315 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5316
5317         * boost.C (emergencyCleanup): moved here from LAssert.c
5318         (assertion_failed): new function, called by BOOST_ASSERT
5319
5320         * several files: change Assert to BOOST_ASSERT
5321
5322 2003-09-09  Angus Leeming  <leeming@lyx.org>
5323
5324         * buffer.[Ch]: Add an Impl class and move Buffer's member
5325         variables into it. As a result move several header files out of
5326         buffer.h.
5327
5328         Add header files to lots of .C files all over the tree as a result.
5329
5330 2003-09-09  Angus Leeming  <leeming@lyx.org>
5331
5332         * buffer.[Ch]: make Buffer's member variables private. Add
5333         accessor functions.
5334
5335         Lots of changes all over the tree as a result.
5336
5337 2003-09-08  Angus Leeming  <leeming@lyx.org>
5338
5339         * graph.C: #include <config.h>.
5340
5341 2003-09-08  Angus Leeming  <leeming@lyx.org>
5342
5343         * BranchList.C:
5344         * BufferView.C:
5345         * BufferView_pimpl.C:
5346         * CutAndPaste.C:
5347         * DepTable.C:
5348         * LaTeX.C:
5349         * LaTeXFeatures.C:
5350         * LyXAction.C:
5351         * MenuBackend.C:
5352         * TextCache.C:
5353         * aspell.C:
5354         * buffer.C:
5355         * bufferlist.C:
5356         * changes.C:
5357         * chset.C:
5358         * converter.C:
5359         * counters.C:
5360         * debug.C:
5361         * graph.C:
5362         * ispell.C:
5363         * lyx_cb.C:
5364         * lyxfind.C:
5365         * lyxfunc.C:
5366         * lyxlex_pimpl.C:
5367         * lyxrc.C:
5368         * lyxrow.C:
5369         * paragraph.C:
5370         * rowpainter.C:
5371         * texrow.C:
5372         * text.C:
5373         * text2.C:
5374         * toc.C: remove redundant using directives.
5375
5376 2003-09-07  Angus Leeming  <leeming@lyx.org>
5377
5378         * LaTeXFeatures.h: remove #include "support/types.h".
5379         * ToolbarBackend.h: remove #include <algorithm>.
5380         * changes.h: remove #include <ctime>.
5381         * debug.h: remove #include <iosfwd>.
5382         * graph.h: remove #include "support/std_string.h".
5383         * lyx_main.h: remove #include <csignal>.
5384         * lyxlex_pimpl.h: remove #include <fstream>.
5385         * sgml.h: remove #include <algorithm>, <utility>.
5386         * toc.h: remove #include "support/std_ostream.h".
5387         Add #include <iosfwd>.
5388
5389 2003-09-07  Angus Leeming  <leeming@lyx.org>
5390
5391         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5392
5393         * converter.h: forward declare LatexRunParams.
5394         * encoding.h: remove #include "lyxrc.h".
5395         * lyxtext.h: remove #include "LColor.h".
5396         * lyxtextclass.h: remove #include "support/types.h".
5397         * trans.h: remove #include "tex-accent.h".
5398         * trans_mgr.h: remove #include "tex-accent.h".
5399         * insets/inset.h: remove #include "support/types.h", <vector>.
5400         * insets/insetcollapsable.h: remove #include "LColor.h".
5401         * insets/insetinclude.h: remove #include "dimension.h".
5402         * insets/insetlatexaccent.h: remove #include "dimension.h".
5403         * insets/insetoptarg.h:: remove #include "insettext.h".
5404         * insets/insettext.h: remove #include "dimension.h",
5405         <boost/shared_ptr.hpp>
5406
5407         * insets/renderers.h: add #include "dimension.h".
5408         * insets/updatableinset.h: add #include "support/types.h".
5409
5410         * many .C files: Associated changes.
5411
5412 2003-09-06  Angus Leeming  <leeming@lyx.org>
5413
5414         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5415         one, inside testInvariant.
5416
5417         * PrinterParams.C: new file.
5418         * PrinterParams.[Ch]: move the function bodies out of line.
5419
5420 2003-09-06  Angus Leeming  <leeming@lyx.org>
5421
5422         * ParagraphParameters.h: forward declare ParameterStruct rather than
5423         including its header file.
5424         (depth): moved out-of-line.
5425
5426 2003-09-06  Angus Leeming  <leeming@lyx.org>
5427
5428         * BufferView_pimpl.h:
5429         * kbmap.h:
5430         * kbsequence.h:
5431         * lyxfunc.h: forward declare LyXKeySym rather than
5432         #include "frontends/LyXKeySym.h".
5433
5434         * BufferView_pimpl.C:
5435         * kbmap.C:
5436         * kbsequence.C:
5437         * lyxfunc.C: associated changes.
5438
5439 2003-09-06  Angus Leeming  <leeming@lyx.org>
5440
5441         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5442         As a result, can remove the #include "insets/inset.h" from BufferView.h
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5447         As a result, can remove the #include "insets/inset.h" from BufferView.h
5448
5449 2003-09-06  Angus Leeming  <leeming@lyx.org>
5450
5451         * buffer_funcs.C:
5452         * buffer.h:
5453         * bufferlist.C:
5454         * BufferView.C:
5455         * bufferview_funcs.C:
5456         * BufferView_pimpl.C:
5457         * CutAndPaste.C:
5458         * lyx_cb.C:
5459         * lyxfunc.C:
5460         * paragraph.h:
5461         * ParagraphParameters.C:
5462         * tabular.C:
5463         * text3.C:
5464         * toc.C:
5465         * undo_funcs.C:
5466         * frontends/controllers/ControlDocument.C:
5467         * insets/insetcaption.C: rearrange the #includes into some sort of
5468         coherent order.
5469
5470         * buffer.h: remove #includes ErrorList.h, undo.h
5471
5472 2003-09-06  Angus Leeming  <leeming@lyx.org>
5473
5474         * support/types.h: add a 'depth_type' typedef, used to store the
5475         nesting depth of a paragraph.
5476
5477         * paragraph.h:
5478         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5479         defining explicitly.
5480
5481         * buffer.h:
5482         * paragraph_funcs.h:
5483         * ParagraphParameters.h:
5484         * sgml.h: use lyx::depth_type rather than Paragraph or
5485         ParameterStruct's depth_type.
5486
5487         * buffer.h
5488         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5489
5490         * BufferView.C:
5491         * BufferView_pimpl.C:
5492         * CutAndPaste.C:
5493         * ParagraphParameters.C:
5494         * buffer_funcs.C:
5495         * bufferlist.C:
5496         * bufferview_funcs.C:
5497         * lyx_cb.C:
5498         * lyxfunc.C:
5499         * tabular.C:
5500         * text3.C:
5501         * toc.C:
5502         * undo_funcs.C:
5503         * frontends/LyXView.C:
5504         * frontends/controllers/ControlDocument.C:
5505         * frontends/controllers/ControlErrorList.C:
5506         * insets/insetbibitem.C:
5507         * insets/insetbranch.C:
5508         * insets/insetcaption.C:
5509         * insets/insetcollapsable.C:
5510         * insets/insetenv.C:
5511         * insets/insetert.C:
5512         * insets/insetfloat.C:
5513         * insets/insetfoot.C:
5514         * insets/insetfootlike.C:
5515         * insets/insetnewline.C:
5516         * insets/insetquotes.C:
5517         * insets/insettabular.C:
5518         * insets/insettext.C:
5519         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5520
5521         * frontends/controllers/ControlChanges.C: #include "changes.h".
5522
5523 2003-09-06  Angus Leeming  <leeming@lyx.org>
5524
5525         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5526         than #including paragraph.h.
5527
5528         * ParagraphList.h:
5529         * RowList.h: deleted. Superfluous.
5530
5531         * CutAndPaste.h:
5532         * iterators.h:
5533         * lyxcursor.h:
5534         * lyxtext.h:
5535         * text_funcs.h:
5536         * undo.h:
5537         * undo_funcs.h:
5538         * insets/inset.h:
5539         * insets/insettext.h: use ParagraphList_fwd.h rather than
5540         ParagraphList.h.
5541
5542         * paragraph.h: don't forward declare ParagraphList.
5543
5544         * buffer.h:
5545         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5546         rather than ParagraphList.h. paragraph.h is still needed for the
5547         Paragraph::depth_type parameters.
5548
5549         * textcursor.h: enable it to compile stand-alone in light of the
5550         above changes.
5551
5552         * bufferview_funcs.C:
5553         * iterators.C:
5554         * lyxfunc.C:
5555         * lyxrow_funcs.C:
5556         * paragraph.C:
5557         * rowpainter.C:
5558         * text.C:
5559         * text2.C:
5560         * text3.C:
5561         * text_funcs.C:
5562         * textcursor.C:
5563         * undo.C:
5564         * frontends/controllers/ControlParagraph.C:
5565         * frontends/controllers/ControlTabular.C:
5566         * insets/insetmarginal.C:
5567         * insets/insetminipage.C:
5568         * insets/insetnote.C:
5569         * insets/insetoptarg.C: add header files needed to compile again.
5570
5571 2003-09-06  Angus Leeming  <leeming@lyx.org>
5572
5573         * RowList_fwd.h: new file, forward-declaring Row rather than
5574         #including lyxrow.h.
5575
5576         * lyxrow_funcs.h:
5577         * lyxtext.h:
5578         * paragraph.h:
5579         * insets/insettext.h: use it instead of RowList.h
5580
5581         * bufferview_funcs.C:
5582         * lyxfunc.C:
5583         * lyxrow_funcs.C:
5584         * paragraph.C:
5585         * rowpainter.C:
5586         * text.C:
5587         * text2.C:
5588         * text3.C: #include "RowList.h".
5589
5590 2003-09-05  Angus Leeming  <leeming@lyx.org>
5591
5592         * factory.C (createInset):
5593         * vspace.C (c-tor): replace sscanf call with an istringstream.
5594         * ispell.C: re-add missing HP/UX headers.
5595         * lyxserver.C: re-add missing  os2 headers.
5596
5597 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5598
5599         * BranchList.C:
5600         * graph.C:
5601         * ispell.C:
5602         * lastfiles.C:
5603         * lyx_cb.C:
5604         * lyxserver.C:
5605         * texrow.C:
5606         * text3.C: re-add missing system headers, needed for 2.95.2.
5607
5608 2003-09-05  Angus Leeming  <leeming@lyx.org>
5609
5610         Changes most place everywhere due to the removal of using directives
5611         from support/std_sstream.h.
5612
5613 2003-09-05  Angus Leeming  <leeming@lyx.org>
5614
5615         Replace LString.h with support/std_string.h,
5616         Lsstream.h with support/std_sstream.h,
5617         support/LIstream.h with support/std_istream.h,
5618         support/LOstream.h with support/std_ostream.h.
5619
5620         Changes resulting throughout the tree.
5621
5622 2003-09-05  Angus Leeming  <leeming@lyx.org>
5623
5624         * sgml.h: ensure that the header file can be compiled stand-alone.
5625         * *.C: strip out redundant #includes. (320 in total.)
5626
5627 2003-09-04  Angus Leeming  <leeming@lyx.org>
5628
5629         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5630         here (from getPackages).
5631
5632         * debug.[Ch]: add a new EXTERNAL tag.
5633
5634 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5635
5636         * text2.C (cursorEnd): simplify
5637         (setCursor): adjust
5638         (getColumnNearX): adjust
5639
5640         * text.C (computeBidiTables): adjust
5641         (fill): adjust
5642
5643         * rowpainter.C (paintChars): adjust
5644         (paintSelection): adjust
5645         (paintChangeBar): adjust
5646         (paintText): adjust
5647
5648         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5649         lastPos instead.
5650         (numberOfSeparators): adjust
5651
5652 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5653
5654         * LyXAction.C:
5655         * box.[Ch]:
5656         * lfuns.h:
5657         * lyxfunc.C:
5658         * text3.C: Restricts the mouse click functionality
5659         of insets like bibtex, include, toc and floatlist to the visible
5660         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5661         up the dialogs. Cursor has to be in front of the inset (i.e.
5662         start of row) for this to function.
5663
5664 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5665
5666         * bufferview_funcs.C (currentState): output row information
5667
5668 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5669
5670         * bufferview_funcs.C (currentState): output paragraph position
5671
5672 2003-09-04  Angus Leeming  <leeming@lyx.org>
5673
5674         * FloatList.h: move out #include "Floating.h".
5675         * LaTeX.h: move out #include "DepTable.h".
5676         * LyXAction.h: move out #include "funcrequest.h".
5677         * buffer.h: move out #include "author.h", "iterators.h".
5678         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5679         * lyx_main.h: move out #include "errorlist.h".
5680         * lyxfunc.h: move out #include "FuncStatus.h".
5681         * lyxtext: move out #include "lyxcursor.h".
5682         * paragraph_pimpl.h: move out #include "counters.h".
5683
5684 2003-09-03  Angus Leeming  <leeming@lyx.org>
5685
5686         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5687         preamble_snippets list, enabling us to add snippets to the preamble
5688         only if the snippet was not there already.
5689
5690 2003-09-04  Angus Leeming  <leeming@lyx.org>
5691
5692         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5693
5694 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5697         update
5698
5699 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5700
5701         * BranchList.C: point fix, earlier forgotten
5702
5703 2003-09-02  Angus Leeming  <leeming@lyx.org>
5704
5705         * box.C (contains): renamed from 'contained' after a fantastic
5706         amount of hot air.
5707
5708 2003-09-02  John Levon  <levon@movementarian.org>
5709
5710         * BufferView.C:
5711         * lyxcursor.h:
5712         * lyxcursor.C:
5713         * lyxfunc.C:
5714         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5715
5716 2003-09-02  John Levon  <levon@movementarian.org>
5717
5718         * text2.C: simplification of cursorEnd(), including partial
5719         fix for bug 1376
5720
5721 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * buffer.C (readFile): add a space
5724
5725 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5726
5727         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5728
5729 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * buffer.C (readFile): new function, take a filename and a
5732         ParagraphList::iterator
5733         (readFile): adjust
5734         (readFile): adjust, make it private. don't use setStream, make
5735         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5736         always contain the filename.
5737
5738         * BufferView.C (insertLyXFile): simplify and make it work for
5739         gzipped files.
5740
5741 2003-08-30  John Levon  <levon@movementarian.org>
5742
5743         * Makefile.am: fix dist (from Kayvan)
5744
5745 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * most files: change to use const Buffer refs
5748
5749 2003-08-27  André Pönitz  <poenitz@gmx.net>
5750
5751         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5752         on top of ownerPar().
5753
5754 2003-08-27  John Levon  <levon@movementarian.org>
5755
5756         * funcrequest.C: properly initialise POD members
5757
5758 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5759
5760         * lyxtext.h (top_y): move top_y from here
5761         * text.C:
5762         * text2.C:
5763         * text3.C:
5764         * BufferView.[Ch]:
5765         * BufferView_pimpl.[Ch]: to here
5766         * frontends/screen.C:
5767         * insets/insettabular.C:
5768         * insets/insettext.C: adjust
5769         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5770
5771 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5772
5773         * BufferView.[Ch]:
5774         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5775
5776 2003-08-26  André Pönitz  <poenitz@gmx.net>
5777
5778         * paragraph_func.[Ch] (outerPar): new function
5779
5780         * paragraph.C:
5781         * paragraph_funcs.C:
5782         * paragraph_funcs.h:
5783         * paragraph_pimpl.C:
5784         * text2.C: remove Inset::par_owner
5785
5786 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5787
5788         * lyxrow_funcs.C:
5789         * lyxtext.h:
5790         * text.C:
5791         * text2.C: eliminates the needFullRow/display() stuff
5792         altogether, putting the logic in metrics/draw in the insets.
5793
5794 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5795
5796         * text2.C (redoParagraphInternal, redoParagraphs):
5797         * text.C (redoParagraph): add a call to updateRowPositions at the
5798         end of each 'metrics-like' call. Remove all others.
5799         (getRow): remove the 'y-computing' version.
5800         (getRowNearY): do not compute nor return the real y. Solve the
5801         'y < 0' problem and simplify.
5802
5803 2003-08-22  Angus Leeming  <leeming@lyx.org>
5804
5805         * *.[Ch]: clean-up of licence and author blurbs.
5806         Also move config.h out of a few .h files and into a few .C files.
5807
5808 2003-08-22  André Pönitz  <poenitz@gmx.net>
5809
5810         * lyxrow.[Ch]: add x_ and *fill_ members
5811
5812         * lyxtext.h:
5813         * text.C:
5814         * rowpainter.C:
5815         * text2.C: adjust/remove prepareToPrint() calls
5816
5817 2003-08-22  André Pönitz  <poenitz@gmx.net>
5818
5819         * lyxrow.[Ch]: add  end_ member
5820
5821         * lyxrow_funcs.C: use LyXRow::end_
5822
5823         * lyxtext.h (singleWidth): add LyXFont parameter
5824
5825         * rowpainter.C:
5826         * text2.C: adjust LyXText::singleWidth() calls
5827
5828         * text.C (redoParagraph): simplify row breaking logic
5829
5830
5831 2003-08-19  André Pönitz  <poenitz@gmx.net>
5832
5833         * funcrequest.C: initialize button_ member
5834
5835         * text3.C:
5836         * rowpainter.[Ch]: interface consolidation
5837
5838 2003-08-18  André Pönitz  <poenitz@gmx.net>
5839
5840         * BufferView.C:
5841         * BufferView_pimpl.C:
5842         * lyxfind.C:
5843         * paragraph_funcs.C:
5844         * rowpainter.C:
5845         * text3.C: remove LyXScreen::draw() and fitCursor calls
5846
5847         * BranchList.h: remove spurious semicolons
5848
5849         * MenuBackend.C: fix branchlist related crash
5850
5851 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5852
5853         * BranchList.[Ch]:
5854         * InsetList.[Ch]:
5855         * LColor.[Ch]:
5856         * LyXAction.C:
5857         * Makefile.am:
5858         * MenuBackend.[Ch]:
5859         * bufferparams.[Ch]:
5860         * factory.C:
5861         * lfuns.h:
5862         * lyxfunc.C:
5863         * text3.C: implements the 'branch inset'
5864         idea. This allows the output of various versions of a document
5865         from a single source version, selectively outputing or suppressing
5866         output of parts of the text.
5867         This implementation contains a 'branch list editor' in a separate
5868         tab of the document settings dialog. Branches are user definable
5869         and have a "display colour" to distinguish them on-screen.
5870
5871         ColorHandler was somewhat cleaned up.
5872         (1) make possible a dynamically growing LColor list by allowing
5873         the graphic context cache to grow along (vector);
5874         (2) eliminate an IMHO unnecessary step in colour allocation.
5875
5876 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5877
5878         * BufferView_pimpl.C: compile fix
5879
5880 2003-08-15  André Pönitz  <poenitz@gmx.net>
5881
5882         * rowpainter.C: remove extra metrics calls
5883
5884         * lyxtext.h: merge the two constructors into a single one,
5885           pass reference to owner's par list
5886
5887         * BufferView_pimpl.C:
5888         * text.C:
5889         * text2.C: adjust
5890
5891 2003-08-15  André Pönitz  <poenitz@gmx.net>
5892
5893         * lyxrow_funcs.[Ch]:
5894         * lyxtext.h:
5895         * paragraph.h:
5896         * paragraph_funcs.C:
5897         * rowpainter.C:
5898         * text.C:
5899         * text2.C:
5900         * text3.C:
5901         * text_funcs.C: split LyXText::rowlist_ into individual
5902         Paragraph::rows_ chunks
5903
5904         * BufferView.[Ch]:
5905         * BufferView_pimpl.[Ch]:
5906         * lyxfind.C:
5907         * lyxtext.h:
5908         * text3.C: remove toggleSelection()
5909
5910 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5911
5912         * bufferlist.C: beautify two alerts (shorter text of buttons)
5913         * buffer.C: Remove redundant ' ' from message
5914         * tabular.h:
5915         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5916         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5917         rename VALIGN_CENTER to VALIGN_MIDDLE
5918
5919 2003-08-11  André Pönitz  <poenitz@gmx.net>
5920
5921         * lyxtext.h (getPar):
5922         * text.C: new function
5923
5924 2003-08-11  André Pönitz  <poenitz@gmx.net>
5925
5926         * Makefile.am:
5927         * tracer.[Ch]: remove unneeded files
5928
5929         * InsetList.[Ch]: remove resizeInsetsLyXText()
5930
5931         * lyxtext.h:
5932         * text.C:
5933         * text2.C:
5934         * text3.C: merge insertParagraphs() and appendParagraph()
5935         remove breakAgain(), update()
5936
5937         * BufferView_pimpl.[Ch]:
5938         * bufferview_funcs.[Ch]:
5939         * lyxfunc.C:
5940         * paragraph.[Ch]:
5941         * rowpainter.C:
5942         * tabular.C: adjust after text & InsetList changes.
5943
5944 2003-08-08  André Pönitz  <poenitz@gmx.net>
5945
5946         * text.C (insertChar, backspace): replace rowlist fiddling
5947         with rebreak of full par
5948
5949         * lyxtext.h:
5950         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5951         checkParagraph, updateInset): removed
5952
5953 2003-08-07  André Pönitz  <poenitz@gmx.net>
5954
5955         * paragraph.C:
5956         * text3.C: merge some LFUN handlers, remove dead code
5957
5958 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5959
5960         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5961
5962 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5963
5964         * text2.C (DEPM): fix part of bug 1255 and 1256
5965
5966 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5967
5968         * BufferView_pimpl.C (workAreaDispatch): change to use
5969         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5970         that are no mouse related.
5971
5972 2003-08-05  André Pönitz  <poenitz@gmx.net>
5973
5974         * BufferView.[Ch]:
5975         * BufferView_pimpl.[Ch]:
5976         * bufferview_funcs.C:
5977         * text2.C:
5978         * text3.C: rip out "deep update"
5979
5980         * textcursor.[Ch] (last_sel_cursor): remove unused member
5981
5982 2003-08-04  André Pönitz  <poenitz@gmx.net>
5983
5984         * BufferView.[Ch]:
5985         * BufferView_pimpl.[Ch]:
5986         * ParagraphParameters.C:
5987         * bufferview_funcs.C:
5988         * lyx_cb.C:
5989         * lyxfind.C:
5990         * lyxfunc.C:
5991         * text.C:
5992         * text2.C:
5993         * text3.C: replace "complicated" BufferView::update(...) calls with
5994         simpler ones.
5995
5996         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5997
5998 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5999
6000         * Makefile.am (lyx_SOURCES): add paper.h
6001
6002 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6003
6004         * Makefile.am: move things around so that both lyx-qt and
6005         lyx-xforms can be built (according to --with-frontend). Then lyx
6006         is a symbolic link to lyx-[firstfrontend]
6007
6008 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6009
6010         * Always use std::endl with lyxerr
6011
6012 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6013
6014         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6015
6016 2003-08-01  André Pönitz  <poenitz@gmx.net>
6017
6018         * BufferView.[Ch]:
6019         * BufferView_pimpl.[Ch]:
6020         * lyxfunc.C:
6021         * text3.C: merge BufferView::repaint() and BufferView::update()
6022
6023 2003-08-01  José Matos  <jamatos@lyx.org>
6024
6025         * buffer.[Ch]: file_format is no longer a buffer data element.
6026
6027 2003-08-01  André Pönitz  <poenitz@gmx.net>
6028
6029         * BufferView.C:
6030         * lyxtext.h:
6031         * text.C:
6032         * text2.C: make redoParagraph more independent of current cursor
6033
6034         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6035         * text.C:
6036         * text2.C: remove unneeded members
6037
6038 2003-07-30  André Pönitz  <poenitz@gmx.net>
6039
6040         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6041
6042         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6043           create a single function...
6044
6045         * paragraph_funcs.C (moveItem): ... here.
6046
6047         * text.C:
6048           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6049
6050 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6051
6052         * LColor.[Ch]: Add comment and greyedout logical colors.
6053
6054 2003-07-30  André Pönitz  <poenitz@gmx.net>
6055
6056         * tabular.C: don't use Assert too heavily. This crashes where it
6057           shouldn't
6058
6059 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6060
6061         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6062         is disabled (bug 1232)
6063
6064 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6065
6066         * factory.C: limited 'arg' scope
6067
6068 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6069
6070         * factory.C: fixed Note submenu issues
6071
6072 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6073
6074         * factory.C: submenu for Note/Comment/Greyedout
6075
6076 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6077
6078         * lyx_main.C (LyX):
6079         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6080
6081 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6082
6083         * LaTeXFeatures.C:
6084         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6085         greyedout. Patch provided by Jürgen Spitzmüller.
6086
6087 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6088
6089         * kbmap.C (read): fix error message when reading bind files
6090
6091 2003-07-29  Angus Leeming  <leeming@lyx.org>
6092
6093         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6094         certainly does not do what it purports to do. I am doing it, and
6095         us, a favour by killing it.
6096
6097 2003-07-28  José Matos  <jamatos@lyx.org>
6098
6099         * buffer.C (readBody, do_writeFile):
6100         * paragraph.C(readParagraph): \end_document replaces \the_end.
6101
6102 2003-07-29  André Pönitz  <poenitz@gmx.net>
6103
6104         * BufferView.[Ch]:
6105         * BufferView_pimpl.[Ch]:
6106         * lyxfunc.C:
6107         * text2.C:
6108         * text3.C:
6109         * textcursor.[Ch]: remove toggleToggle & Co
6110
6111 2003-07-28  José Matos  <jamatos@fep.up.pt>
6112
6113         * buffer.C (readParagraph):
6114         * params_func (readParToken, readParagraph):
6115         * paragraph.C (write): \layout -> \begin_layout.
6116
6117 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * lyxlex_pimpl.C (setFile): clean up slightly.
6120
6121         * bufferparams.h: add compressed var
6122
6123         * buffer_funcs.C (readFile): adjust for LyXLex change
6124         (newFile): ditto + simplify
6125
6126         * buffer.C (writeFile): handle writing of compressed files
6127
6128         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6129         Check if the file is compressed and set a bufferparm if so.
6130
6131         * Makefile.am (lyx_LDADD): remove explicit -lz
6132
6133 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6134
6135         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6136         makeDocBookFile): put the real LyX version in the first line of
6137         the file
6138
6139         * version.h:
6140         * version.C.in: remove lyx_docversion
6141
6142         * tabular.C (write_attribute): add a template-based version to
6143         write enums properly
6144
6145 2003-07-28  André Pönitz  <poenitz@gmx.net>
6146
6147         * lyxtext.h:
6148         * text.C:
6149         * text2.C:
6150         * text3.C: use doubles again for x-coordinates. They are needed.
6151
6152 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * messages.C (getLocaleDir): use lyx_localedir()
6155
6156         * lyxlex_pimpl.C (setFile): compress stuff
6157
6158         * buffer.C (writeFile): add some compression stuff
6159         (do_writeFile): new func, dont call expliti close... will this
6160         breake anything?
6161
6162         * Makefile.am (lyx_LDADD): add -lz
6163
6164 2003-07-28  José Matos  <jamatos@fep.up.pt>
6165
6166         * buffer.C: increment file format.
6167         * paragraph_funcs (readParagraph, readParToken):
6168         * paragraph.C (readParagraph): add \end_layout.
6169
6170 2003-07-27  Angus Leeming  <leeming@lyx.org>
6171
6172         * Makefile.am: remove special casing for configure-time setting of
6173         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6174
6175         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6176         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6177
6178 2003-07-26  André Pönitz  <poenitz@gmx.net>
6179
6180         * paragraph_func.[Ch]:
6181         * paragraph.C (realizeFont): inline it whereever it is used
6182
6183         * rowpainter.C:
6184         * text.C:
6185         * text2.C:
6186         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6187
6188
6189 2003-07-26  André Pönitz  <poenitz@gmx.net>
6190
6191         *       lyxtext.h:
6192         * text.C:
6193         * text2.C: get rid of LyXText::need_break_row
6194
6195 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * toc.[Ch]: put namespace toc inside namespace lyx
6198
6199         * MenuBackend.C (expandToc2): adjust for lyx::toc
6200         (expandToc): ditto
6201
6202         * lyxfunc.C (dispatch): adjust for lyx::find
6203
6204         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6205         lyx::find instead. Reorganize a bit.
6206         (LyXReplace): rename to replace
6207         (LyXFind): rename to find
6208
6209         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6210         (dispatch): ditto
6211
6212 2003-07-26  André Pönitz  <poenitz@gmx.net>
6213
6214         * text.C (setHeightOfRow): restrict scope of temporary variable
6215
6216         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6217           code (never has been used?)
6218
6219 2003-07-27  Asger Alstrup  <alstrup@local>
6220
6221         * text.C (fill): Optimise algorithm to exploit that we can reuse
6222         the LyXFont for many characters.
6223         (setHeightOfRow): Same thing.
6224         (rowBreakPoint): Same thing.
6225
6226 2003-07-26  Asger Alstrup  <alstrup@local>
6227
6228         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6229
6230         * text.C (singleWidth): Spurious font copying in hot-spot
6231         singleWidth avoided. Reorder tests for arabic for efficiency.
6232
6233         * text.C (fill): handle empty paragraphs better.
6234
6235 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6236
6237         * ispell.C:
6238         * encoding.h: add includes
6239
6240         * lyxrc.C: remove reading of bind files
6241
6242         * lyx_main.C (init): setup bindings and menus only if we have a
6243         gui.
6244
6245         * kbmap.C (read): new method. Do the actual reading of bind
6246         files.
6247
6248         * converter.C (dvipdfm_options):
6249         * bufferparams.C:
6250         * lyxrc.C (read):
6251         (output): adapt PAPER_* enums.
6252
6253         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6254
6255         * bufferparams.h: remove paper-related enums from there
6256
6257         * paper.h: New file. A trivial header file to hold paper-related
6258         enums. It should later expand to contain many paper-related
6259         horrors access.
6260
6261         * lyxrc.C: declare extern displayTranslator
6262
6263 2003-07-27  José Matos  <jamatos@fep.up.pt>
6264
6265         * tabular.[Ch] (linuxdoc): add support for tables and figures
6266         (linuxdoc).
6267
6268 2003-07-27  José Matos  <jamatos@fep.up.pt>
6269
6270         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6271         consistency in both functions.
6272         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6273
6274 2003-07-26  Asger Alstrup  <alstrup@local>
6275
6276         * rowpainter.C (paintRows): Change algorithm to work directly on
6277         the insets rather than asking every character in the document
6278         whether its an inset.
6279
6280 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6281
6282         * buffer.C (openFileWrite): factorize some code
6283
6284 2003-07-26  Angus Leeming  <leeming@lyx.org>
6285
6286         * lyx_cb.C:
6287         * lyx_main.[Ch]: replace occurances of system_tempdir with
6288         os::getTmpDir().
6289
6290 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * rename Inset to InsetOld
6293
6294 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6295
6296         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6297         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6298         which I think is a bit clearer. EDIT is gone, since it was
6299         premature optimisation, and broken for mathed anyway.
6300         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6301         with cursor positioning in insets as well (math insets still do not
6302         work, but that's a different story anyway.) It mysteriously
6303         crashes sometimes with undo in the first paragraph, but I'm fairly
6304         confident that this is a compiler bug.
6305
6306 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * paragraph.C (Paragraph): adjust for new clone return type
6309         (operator==): ditto
6310         (copyIntoMinibuffer): ditto
6311
6312 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6313
6314         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6315         by not having a special case, and always doing a full rebreak of
6316         the document after undo.
6317
6318 2003-07-23  Angus Leeming  <leeming@lyx.org>
6319
6320         * factory.C (createInset): InsetExternal::setParams now takes a
6321         Buffer const * arg.
6322
6323 2003-07-23  Angus Leeming  <leeming@lyx.org>
6324
6325         * factory.C (createInset): changed interface to the external and
6326         graphics mailers' string2params functions.
6327
6328 2003-07-23  Angus Leeming  <leeming@lyx.org>
6329
6330         * factory.C (createInset): pass a
6331         Buffer const * parameter to InsetExternalMailer's string2params.
6332
6333 2003-07-22  John Levon  <levon@movementarian.org>
6334
6335         * Thesaurus.h: include the right aiksaurus header
6336
6337 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6338
6339         * MenuBackend.C (expand): check menu shortcuts unconditionally
6340
6341 2003-07-21  Angus Leeming  <leeming@lyx.org>
6342
6343         * factory.C (createInset): pass a
6344         buffer_path parameter to InsetGraphicsMailer's string2params.
6345
6346 2003-07-21  Angus Leeming  <leeming@lyx.org>
6347
6348         * BufferView_pimpl.C (buffer):
6349         * buffer.C (d-tor):
6350         * lyx_main.C (LyX):
6351         * lyxfunc.C (dispatch):
6352         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6353         rather than the grfx shortcut.
6354
6355 2003-07-21  André Pönitz  <poenitz@gmx.net>
6356
6357         * rowpainter.C: remove unused variables
6358
6359         * tabular_funcs.C:
6360         * tabular_funcs.h: move to tabular.C
6361         * Makefile.am: adjust
6362
6363         * tabular.[Ch]: basic optical cleaning
6364
6365         * author.h: pass references, not values
6366
6367 2003-07-18  André Pönitz  <poenitz@gmx.net>
6368
6369         * lyxtext.h:
6370         * metricsinfo.C:
6371         * metricsinfo.h:
6372         * rowpainter.C:
6373         * text.C:
6374         * text2.C:
6375         * text3.C: two-phase drawing for InsetText and InsetTabular
6376         some float -> int changes.
6377
6378 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * lyx_main.C: fix the fix
6381
6382 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * lyx_main.C: fix a crash in batch mode if no files specified
6385         * converter.C: ws
6386
6387 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * format.[Ch] (papersize): moved to BufferParams
6390         * converter.[Ch] (dvips_options): moved to BufferParams
6391         (dvipdfm_options): moved to anon namespace
6392         * bufferparams.[Ch]: added above functions.
6393
6394 2003-07-17  André Pönitz  <poenitz@gmx.net>
6395
6396         * lyxtext.h:
6397         * rowpainter.C:
6398         * text2.C: don't call inset->update() anymore
6399
6400         * metricsinfo.[Ch]: add convenience constructor
6401
6402 2003-07-16  André Pönitz  <poenitz@gmx.net>
6403
6404         * lyxcursor.[Ch]:
6405         * lyxfunc.[Ch]:
6406         * text.C:
6407         * text2.C: replace the LyXCursor::irow_ member with
6408          on-demand computation of the value
6409
6410 2003-07-16  John Levon  <levon@movementarian.org>
6411
6412         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6413
6414 2003-07-15  André Pönitz  <poenitz@gmx.net>
6415
6416         * text.C:
6417         * text2.C: remove no more needed refresh_row
6418
6419 2003-07-15  André Pönitz  <poenitz@gmx.net>
6420
6421         * lyxtext.h:
6422         * rowpainter.C:
6423         * text2.C:
6424         * text3.C: refresh_status tristate -> need_update bool
6425
6426 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * lyxtext.h (init): remove reinit argument (act as if always true)
6429         * text2.C: adjust to that
6430
6431 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6432
6433         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6434         * text3.C: use it to delete selections in some cases
6435         (bugs 441, 673, 702, 954).
6436
6437 2003-07-14  André Pönitz  <poenitz@gmx.net>
6438
6439         * rowpainter.[Ch]: reduce interface
6440
6441 2003-07-14  André Pönitz  <poenitz@gmx.net>
6442
6443         * BufferView_pimpl.C:
6444         * text2.C: adjust after removing unused BufferView * argument
6445
6446 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6447
6448         * text2.C (init): fix a crash fired on resize
6449
6450 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6451
6452         * buffer.[Ch]: added new closing signal
6453         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6454         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6455         BufferView::Pimpl via the closing the signal
6456
6457 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * buffer.[Ch]: take out all bv-related from buffer
6460         * BufferView.C:
6461         * BufferView_pimpl.[Ch]: connect to new signals
6462         * CutAndPaste.C: removed useless asserts
6463         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6464         * lyxvc.[Ch]:
6465         * vc-backend.[Ch]:
6466         * lyxfunc.C: moved view-related funciontality from vc here
6467         * paragraph.C: removed outdated comments
6468         * text.C: ws
6469
6470 2003-07-10  André Pönitz  <poenitz@gmx.net>
6471
6472         * BufferView_pimpl.C:
6473         * tabular.h:
6474         * tabular_funcs.C:
6475         * text.C:
6476         * text2.C: remove InsetText::InnerCache, clean up consequences
6477
6478 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6479
6480         * ispell.C: fix two typos in error messages
6481
6482 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6483
6484         * Extend Note inset to other forms of annotation like Comment
6485         and Greyedout. Right button click gives dialog.
6486
6487         Files modified or added (+):
6488
6489         * insetnote.[Ch]
6490         * FormNote.[Ch]      +
6491         * ControlNote.[Ch]   +
6492         * form_note.fd       +
6493         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6494         frontends/controllers
6495         * xforms/Dialogs.C
6496         * factory.C
6497
6498 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6499
6500         * aspell.C: add missing namespace lyx::support
6501
6502 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * BufferView.[Ch] (newFile): Add
6505         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6506         * LaTeX.[Ch] (message): added this signal and use it
6507         * buffer.[Ch] (busy, message): added these signals and use them
6508         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6509         * converter.C:
6510         * exporter.C:
6511         * format.C:
6512         * importer.C: use buffer signals instead of direct bv calling
6513         * lyx_cb.[Ch] (ShowMessage): removed
6514         * lyx_main.C:
6515         * lyxfunc.C:
6516         * paragraph_funcs.C:
6517         * text2.C: use buffer signals
6518
6519 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * introduce namespace lyx::graphics
6522
6523 2003-07-02  André Pönitz  <poenitz@gmx.net>
6524
6525         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6526
6527 2003-07-01  André Pönitz  <poenitz@gmx.net>
6528
6529         * text.C:
6530         * text2.C:
6531         * text3.C:
6532         * text_funcs.[Ch]:
6533         * textcursor.h:
6534         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6535           text*.C to text_func.C
6536
6537 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * introduce namespace lyx::support
6540
6541 2003-06-30  André Pönitz  <poenitz@gmx.net>
6542
6543         * Chktex.C:
6544         * funcrequest.C:
6545         * lyxtext.h:
6546         * text.C: re-enable --with-included-string
6547
6548 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * textcursor.C: add <config.h>
6551
6552         * text.C (getWord): remove const from word_location arg
6553
6554         * lyxvc.C (getLogFile): fix const type order
6555
6556         * lyxtext.h: remove const from word_location arg, add arg name
6557
6558         * lyxlayout.h: currect type on labeltype.
6559
6560         * importer.C: correct \file
6561
6562         * converter.C (intToFormat): use std:: on ret val, ws changes
6563
6564         * bufferlist.h: correct \file
6565
6566         * buffer.C (makeLinuxDocFile): fix const type order
6567         (makeDocBookFile): ditto
6568         (fillWithBibKeys): use std:: on stdlib args.
6569
6570         * CutAndPaste.C: fix authors.
6571         (availableSelections): use std:: on return vector
6572
6573 2003-06-27  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView_pimpl.C:
6576         * bufferview_funcs.C:
6577         * lyxcursor.C:
6578         * lyxcursor.h:
6579         * lyxfunc.C:
6580         * lyxtext.h:
6581         * rowpainter.C:
6582         * text.C:
6583         * text2.C:
6584         * text3.C: remove LyXCursor::row_ member
6585
6586         * lyxtext.h:
6587         * text.C: rename fullRebreak() to partialRebreak() and implement
6588           a fullRebreak() that really bereks fully
6589
6590         * textcursor.h: new struct for cursor-related data
6591
6592 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6593
6594         * lyx_main.C (LyX): get full path of document loaded on the
6595         command line
6596
6597 2003-06-26  André Pönitz  <poenitz@gmx.net>
6598
6599         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6600           remove unused/broken operator>,<,>=.
6601
6602         *       text.C: remove only use of broken operator<= in an Assert().
6603
6604 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6605
6606         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6607         moved errorlist_.clear to showErrorList
6608
6609 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6610
6611         * converter.C (scanLog, runLaTeX):
6612         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6613         move the bv->showErrorList call to the callers
6614         * lyxfunc.C: i.e. here...
6615         * text2.C: and here
6616         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6617         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6618         namespace, the second to...
6619         * buffer_funcs (BufferFormat, parseErrors): added
6620         * errorlist.C (ErrorList(TeXErrors const &)): removed
6621
6622 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6623
6624         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6625
6626 2003-06-24  "Garst R. Reese" <reese@isn.net>
6627
6628         * debug.C: fix typo
6629
6630 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6631
6632         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6633
6634         * version.C.in: change docversion to 1.4
6635
6636 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6637
6638         * buffer.C: fix a bug just introduced
6639
6640 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * buffer.[Ch]: added the parseError signal and use it, removed
6643         sgmlError
6644         * BufferView.[Ch] (addError): moved to ...
6645         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6646         to the Buffer::parseError signal to catch (guess what) parse errors
6647         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6648
6649 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6652         ability to create a buffer and to return an existing one from
6653         the list. Moved these functions to...
6654         * buffer_funcs.[Ch]: added
6655         * BufferView.[Ch] (loadLyXFile): added
6656         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6657         job removed from bufferlist::loadLyXFile.
6658         * buffer.C (setReadOnly): make it work without view
6659         (i.e added an if (users))
6660
6661 2003-06-19  Angus Leeming  <leeming@lyx.org>
6662
6663         * lfuns.h:
6664         * LyXAction.C (init):
6665         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6666         with LFUN_DIALOG_SHOW <name> <data>.
6667
6668 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6669
6670         * CutAndPaste.C (availableSelections): small compilation fix for
6671         ancient (gcc 2.9x) compilers
6672
6673 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * text3.C (cursorNext): add tmp var
6676
6677         * text2.C (updateCounters): for function calling out of for clause
6678         (replaceSelectionWithString): ditto
6679         (insertStringAsParagraphs): ditto
6680         (getColumnNearX): add tmp var
6681         (setCursorFromCoordinates): add tmp var
6682         (cursorDownParagraph): add tmp var
6683         (deleteEmptyParagraphMechanism): add tmp var
6684
6685         * text.C (insertChar): add tmp var
6686
6687         * rowpainter.C (paintDepthBar): add tmp var
6688
6689         * CutAndPaste.C (availableSelections): potentially check all
6690         paragraphs in a cut to fill the shown strings.
6691
6692 2003-06-18  André Pönitz  <poenitz@gmx.net>
6693
6694         * kbmap.[Ch]: use vector<> instead of list<>
6695
6696 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6697
6698         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6699         pasteSelection with index
6700
6701         * text2.C (pasteSelection): modify, call pasteSelection with index
6702
6703         * paragraph.C (asString): reimplement version with no interval to
6704         call the one with interval.
6705
6706         * lyxtext.h: add index arg to pasteSelection
6707
6708         * MenuBackend.C (MenuItem): handle PasteRecent
6709         (Menu::read::Menutags): add md_pasterecent
6710         (read): handle it
6711         (expandPasteRecent): new function
6712         (expand): use it
6713
6714         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6715
6716         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6717         the limited stack
6718         (availableSelections): new function
6719
6720 2003-06-17  Angus Leeming  <leeming@lyx.org>
6721
6722         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6723
6724 2003-06-17  Angus Leeming  <leeming@lyx.org>
6725
6726         * lfuns.h:
6727         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6728
6729         * lyxfunc.C (dispatch): invoke it.
6730
6731 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6732
6733         * iterators.C (operator++, ParPosition): reintroduce some
6734         const_cast for the benefit of older compilers.
6735
6736 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6737
6738         * text3.C (dispatch): do not modify clipboard when doing
6739         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6740         LFUN_DELETE_SKIP on a selection selection
6741
6742 2003-06-16  André Pönitz  <poenitz@gmx.net>
6743
6744         * BufferView.C:
6745         * buffer.C:
6746         * buffer.h:
6747         * paragraph.C:
6748         * tabular.[Ch]: IU of clone() and getLabelList();
6749
6750 2003-06-13  André Pönitz  <poenitz@gmx.net>
6751
6752         * tabular.h: compactification
6753
6754 2003-06-12  André Pönitz  <poenitz@gmx.net>
6755
6756         * tabular.C:
6757         * tabular.h:
6758         * tabular_funcs.h: some renaming plus whitespace
6759
6760 2003-06-12  André Pönitz  <poenitz@gmx.net>
6761
6762         * BufferView.C:
6763         * BufferView_pimpl.C:
6764         * CutAndPaste.C:
6765         * buffer.C:
6766         * iterators.[Ch]:
6767         * lyxfunc.C:
6768         * text.C:
6769         * toc.C: Return a Paragraph & for ParIterator::operator*()
6770
6771 2003-06-11  John Levon  <levon@movementarian.org>
6772
6773         * lyx_main.C:
6774         * ToolbarBackend.h:
6775         * ToolbarBackend.C: add "Toolbars" section and
6776         put the flags there
6777
6778 2003-06-10  Angus Leeming  <leeming@lyx.org>
6779
6780         * lfuns.h:
6781         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6782
6783         * lyxfunc.C (dispatch): invoke it.
6784
6785 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * main.C: protect <ios> with HAVE_IOS
6788         (main): protect sync_with_stdio with HAVE_IOS
6789
6790 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6791
6792         * text2.C (cutSelection): adjust
6793         (pasteSelection): adjust
6794
6795         * messages.C: handle get of empty string
6796
6797         * main.C (main): use sync_with_stdio(false)
6798
6799         * lyxfunc.C (dispatch): adjust
6800
6801         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6802         (WriteAs): remove unneeded BufferView arg.
6803
6804         * bufferparams.h: use correct types on papersize, papersize2 and
6805         paperpackage.
6806
6807         * bufferparams.C (readToken): adjust for type
6808         (writeLaTeX): add missing cases to switch.
6809
6810         * bufferlist.C (quitWriteBuffer): adjust
6811         (close): adjust
6812
6813         * buffer.C (asciiParagraph): remove some commented code.
6814
6815         * CutAndPaste.C: remove current_view extern variable.
6816         (cutSelection): add BufferParams arg.
6817         (eraseSelection): add BufferParams arg.
6818         (pasteSelection): add Buffer const & arg
6819
6820 2003-06-07  John Levon  <levon@movementarian.org>
6821
6822         * buffer.C:
6823         * paragraph_funcs.C:
6824         * paragraph_pimpl.C:
6825         * text.C:
6826         * text2.C:
6827         * paragraph.h:
6828         * paragraph.C: allow InsetERT to freely space lines,
6829         and some consolidation of code
6830
6831 2003-06-06  José Matos  <jamatos@fep.up.pt>
6832
6833         * buffer.C (makeDocBookFile): fix bug #821
6834
6835 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6836
6837         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6838
6839 2003-06-04  Angus Leeming  <leeming@lyx.org>
6840
6841         * buffer.C: bump format to 224.
6842
6843 2003-06-05  André Pönitz  <poenitz@gmx.net>
6844
6845         * text2.C (redoParagraphs): remove two const_cast<>
6846
6847 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6848
6849         * ParagraphList.h: remove last remnants of NO_STD_LIST
6850
6851 2003-06-03  Angus Leeming  <leeming@lyx.org>
6852
6853         * factory.C (createInset): small change to the way InsetExternal's params
6854         are set.
6855
6856 2003-06-04  André Pönitz  <poenitz@gmx.net>
6857
6858         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6859
6860         * paragraph_pimpl.h:
6861         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6862
6863         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6864
6865         * undo_funcs.C: make some simple cases of undo work again
6866
6867 2003-06-03  John Levon  <levon@movementarian.org>
6868
6869         * ispell.C: HPUX doesn't have sys/select.h
6870         (from Albert Chin)
6871
6872 2003-06-03  John Levon  <levon@movementarian.org>
6873
6874         * CutAndPaste.C: update tabular and include inset
6875         buffer references
6876
6877         * buffer.h:
6878         * paragraph.h:
6879         * paragraph.C: remove owningBuffer(), don't pass Buffer
6880         to clone()
6881
6882         * factory.C: insetGraphicsParams changed
6883
6884 2003-06-02  John Levon  <levon@movementarian.org>
6885
6886         * LyXAction.C:
6887         * factory.C:
6888         * lfuns.h:
6889         * lyxfunc.C:
6890         * text3.C: remove insetparent
6891
6892 2003-06-02  John Levon  <levon@movementarian.org>
6893
6894         * buffer.h:
6895         * buffer.C: fix inset_iterator.end(), move out of line
6896         (bug 1149)
6897
6898 2003-06-01  John Levon  <levon@movementarian.org>
6899
6900         * text3.C: use a proper cut/paste when doing inset
6901         insert (from Jürgen Spitzmüller)
6902
6903 2003-06-01  John Levon  <levon@movementarian.org>
6904
6905         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6906
6907 2003-05-30  André Pönitz  <poenitz@gmx.net>
6908
6909         * rowpainter.C: unify second drawing phase
6910
6911 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * trans_mgr.C: remove one case of current_view
6914
6915         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6916
6917         * paragraph_funcs.h: remove paragraph.h include
6918
6919         * paragraph.h: delete NO_STD_LIST stuff
6920
6921         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6922
6923         * buffer.h: remove paragraph.h include
6924
6925         * ParagraphList.C: delete file
6926
6927         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6928
6929         * toc.C (getTocList): adjust
6930
6931         * paragraph_pimpl.C (validate): adjust
6932
6933         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6934
6935         * paragraph.C (Paragraph): adjust
6936         (getPositionOfInset): use const_iterator, adjust
6937         (bibitem): use const_iterator, adjust
6938         (setInsetOwner): adjust
6939
6940         * iterators.C (operator++): adjust
6941
6942         * InsetList.[Ch]: Replace selfmade iterator with standard
6943         vector::iterator also introduce const_iterator. Remove getPos,
6944         getInset and setInset from InsetTable. Adjust accordingly.
6945
6946         * BufferView.C (lockInset): adjust
6947         (ChangeInsets): adjust
6948
6949         * tabular.[Ch]: delete commented same_id functions
6950
6951 2003-05-28  John Levon  <levon@movementarian.org>
6952
6953         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6954
6955 2003-05-28  André Pönitz  <poenitz@gmx.net>
6956
6957         * metricsinfo.[Ch]: remove 'fullredraw' member
6958
6959 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6960
6961         * lyxtextclass.C (operator): remove caching.
6962
6963 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * text3.C: adjust
6966
6967         * text2.C (cursorBottom): adjust
6968         (setCounter): use ParagraphList::find, adjust
6969
6970         * text.C (workWidth): use ParagraphList::find, adjust
6971
6972         * lyxcursor.C (LyXCursor): adjust
6973
6974         * buffer.C (inset_iterator): adjust
6975
6976         * ParagraphList.h: make iterator(value_type) private, make
6977         ParagraphList a friend of iterator.
6978
6979         * ParagraphList.C (find): new function
6980
6981         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6982
6983 2003-05-27  André Pönitz  <poenitz@gmx.net>
6984
6985         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6986
6987 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6988
6989         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6990
6991 2003-05-26  John Levon  <levon@movementarian.org>
6992
6993         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6994
6995 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * remove same_id from function signatures, adjust.
6998
6999 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7002
7003         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7004
7005         * paragraph.C (Paragraph): get rid of same_ids parameter
7006
7007         * ParagraphList.C (insert): adjust
7008         (push_back): adjust
7009
7010 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * paragraph_funcs.C (breakParagraph): adjust
7013         (breakParagraphConservative): adjust
7014
7015         * buffer.C (readParagraph): adjust
7016
7017         * ParagraphList.C (insert): take a reference instead of a pointer
7018         (insert): adjust
7019
7020         * paragraph.[Ch] (id): new function
7021
7022         * bufferlist.C (newFile): adjust
7023
7024         * ParagraphList.C (ParagraphList): adjust
7025         (assign): adjust
7026         (push_back): take a reference instead of a pointer.
7027
7028         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7029
7030         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7031         instead.
7032
7033         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7034         set else use old code.
7035
7036         * ParagraphList.C: remove all NO_NEXT code and only compile this
7037         code of NO_STD_LIST is set.
7038
7039 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7040
7041         * BufferView_pimpl.C:
7042         * TextCache.C:
7043         * TextCache.h:
7044         * bufferlist.C:
7045         * errorlist.h:
7046         * format.C:
7047         * format.h:
7048         * graph.C:
7049         * lyxfunc.C:
7050         * lyxrc.C:
7051         * graphics/GraphicsConverter.C:
7052         * graphics/PreviewLoader.C: header adjustment
7053
7054 2003-05-23  Angus Leeming  <leeming@lyx.org>
7055
7056         * LaTeXFeatures.[Ch] (useBabel): new method.
7057         * bufferparams.C (writeLaTeX): use it.
7058
7059 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * ParagraphList.h (set): remove unused function.
7062
7063 2003-05-23  André Pönitz  <poenitz@gmx.net>
7064
7065         * BufferView.C:
7066         * BufferView_pimpl.C:
7067         * buffer.C:
7068         * buffer.h:
7069         * lyxfunc.C:
7070         * undo_funcs.C: setUndo reworked
7071
7072         * iterators.[Ch]: add access to topmost ParagraphList
7073
7074         * lyxtext.[Ch] (workWidth): add a const
7075
7076 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7077
7078         * texrow.[Ch] (increasePos): remove function
7079         * exporter.C (export): removed unused var and outdated comment
7080
7081 2003-05-23  Angus Leeming  <leeming@lyx.org>
7082
7083         * latexrunparams.h: rename fragile as moving_arg.
7084         * paragraph.C (simpleTeXOnePar): ditto.
7085         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7086
7087 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7090         (createUndo): ditto
7091         (textUndoOrRedo): comment out a currently unused var.
7092
7093         * paragraph.h (NO_NEXT): enable NO_NEXT
7094
7095         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7096
7097         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7098
7099         * exporter.C (Export): adjust for removeAutoInsets removal.
7100
7101         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7102
7103         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7104
7105         * BufferView.[Ch] (removeAutoInsets): delete function
7106
7107 2003-05-22  Angus Leeming  <leeming@lyx.org>
7108
7109         * latexrunparams.h: add a free_spacing variable.
7110
7111         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7112         to pass moving_arg, as the data is stored in runparams.fragile.
7113
7114         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7115         to Inset::latexOptional or to simpleTeXOnePar.
7116
7117         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7118         free_spacing arg to Inset::latexOptional.
7119
7120         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7121         free_spacing arg.
7122
7123 2003-05-22  Angus Leeming  <leeming@lyx.org>
7124
7125         * latexrunparams.h: add fragile and use_babel variables.
7126
7127         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7128         * buffer.C (makeLaTeXFile): store this returned value in
7129         runparams.use_babel, thus passing it to the inset::latex methods.
7130
7131         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7132         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7133
7134         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7135         longer has a fragile arg, as it is stored in runparams.fragile.
7136
7137         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7138         moving_arg parameter as the data is stored in runparams.fragile.
7139
7140         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7141         a fragile parameter as the data is stored in runparams.fragile.
7142
7143 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7146
7147 2003-05-22  Angus Leeming  <leeming@lyx.org>
7148
7149         * latexrunparams.h: add a 'bool nice' which defaults to false.
7150
7151         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7152         now encapsulated within runparams.
7153
7154         * bufferlist.C (updateIncludedTeXfiles):
7155         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7156
7157 2003-05-22  Angus Leeming  <leeming@lyx.org>
7158
7159         * latexrunparams.h: new file containing struct LatexRunParams.
7160         * Makefile.am: add new file.
7161
7162         * LaTeX.[Ch] (c-tor, run):
7163         * buffer.[Ch] (makeLaTeXFile):
7164         * bufferlist.[Ch] (updateIncludedTeXfiles):
7165         * converter.C (convert, scanLog):
7166         * converter.[Ch] (runLaTeX):
7167         * exporter.C (Export):
7168         * paragraph.[Ch] (simpleTeXOnePar):
7169         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7170         * paragraph_funcs.[Ch] (latexParagraphs):
7171         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7172         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7173         pass around a LatexRunParams parameter.
7174
7175 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7176
7177         * paragraph.[Ch]: remove unused constructor
7178
7179         * ParagraphList.C (erase): new function, taking two iterators
7180
7181 2003-05-22  André Pönitz  <poenitz@gmx.net>
7182
7183         * undo_funcs.C: remove duplicated code
7184
7185         * iterator.[Ch]: operator=
7186
7187 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7188
7189         * tabular.C (SetMultiColumn): ws changes
7190
7191         * rowpainter.C (paintFirst): get rid of a ->previous
7192
7193         * lyx_cb.C (getPossibleLabel): parlist simplification
7194
7195         * BufferView.C (ChangeInsets): simplify slightly.
7196
7197 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7198
7199         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7200         * lfuns.h: new LFUN_SPACE
7201         * lyxfunc.C: protected space has a new lfun
7202         * paragraph_funcs.C: read new space insets
7203         * text3.C:
7204         * factory.C: handle new space insets
7205
7206 2003-05-22  André Pönitz  <poenitz@gmx.net>
7207
7208         * BufferView.C:
7209         * BufferView_pimpl.C:
7210         * buffer.[Ch]:
7211         * lyxfunc.C:
7212         * undo_funcs.C: return a ParIterator from getParFromID.
7213
7214         * iterators.[Ch]: add two const's
7215
7216 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * toc.C (getTocList): adjust
7219
7220         * iterators.[Ch]: rework for parlist
7221
7222         * buffer.C (par_iterator_begin): adjust
7223         (par_iterator_end): adjust
7224
7225         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7226
7227         * BufferView.C (removeAutoInsets): adjust
7228         (ChangeInsets): adjust
7229
7230 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * text.C (top_y): fix bug 1110
7233
7234 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7235
7236         * errorlist.[Ch]: added
7237         * buffer.C:
7238         * BufferView.[Ch]:
7239         * BufferView_pimpl.C:
7240         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7241         instead
7242
7243 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * Makefile.am: ensure that lyx is relinked upon changes to the
7246         various "convenience" libs.
7247
7248 2003-05-20  Angus Leeming  <leeming@lyx.org>
7249
7250         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7251         files are compiled in alphabetical order again.
7252
7253         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7254
7255 2003-05-19  Angus Leeming  <leeming@lyx.org>
7256
7257         * gettext.[Ch]: remove "char const * _(char const *)".
7258
7259 2003-05-19  André Pönitz  <poenitz@gmx.net>
7260
7261         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7262
7263         * Makefile.am:
7264         * BufferView.C:
7265         * DepTable.h:
7266         * LaTeXFeatures.C:
7267         * buffer.C:
7268         * lyxfont.C:
7269         * lyxlex.h:
7270         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7271
7272 2003-05-19  André Pönitz  <poenitz@gmx.net>
7273
7274         * buffer.C:
7275         * lyxlayout.[Ch]:
7276         * lyxtextclass.[Ch]:
7277         * paragraph.C:
7278         * paragraph_funcs.[Ch]:
7279         * text2.C:
7280         * text3.C: more insetenv work
7281
7282 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * ParagraphParameters.C (params2string): small bug fixed
7285
7286 2003-05-16  André Pönitz  <poenitz@gmx.net>
7287
7288         * debug.C:
7289         * bufferview_funcs.C: patch from Kornel Benko to prevent
7290           crash when _(...) is called twice in a statement
7291
7292 2003-05-16  André Pönitz  <poenitz@gmx.net>
7293
7294         * BufferView.C:
7295         * lyxfunc.C:
7296         * text.C:
7297         * text2.C:
7298         * text3.C:
7299         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7300
7301 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7302
7303         * lyx_main.C (init): remove spurious static_cast
7304
7305 2003-05-14  André Pönitz  <poenitz@gmx.net>
7306
7307         * BufferView.C: fix format string
7308
7309 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7310
7311         * BufferView.[Ch] (insertErrors): removed
7312         * BufferView.[Ch] (showErrorList): added
7313         * buffer.C (runChkTeX):
7314         * converter.C (scanLog): call showErrorList instead of inserterrors
7315
7316 2003-05-13  André Pönitz  <poenitz@gmx.net>
7317
7318         * BufferView_pimpl.C:
7319         * buffer.C:
7320         * bufferview_func.C:
7321         * MenuBackend.C:
7322         * lyxfunc.C:
7323         * lyxrc.C:
7324         * tex-accent.C:
7325         * text3.C:
7326         * toc.C:
7327         * tabular_funcs.h: tostr() from its own header
7328
7329         * ParagraphParameters.C:
7330         * ToolbarBackend.C:
7331         * bufferparams.C:
7332         * format.C:
7333         * lyxlex_pimpl.C:
7334         * text3.C: STRCONV()
7335
7336 2003-05-12  André Pönitz  <poenitz@gmx.net>
7337
7338         * BufferView.C:
7339         * BufferView_pimpl.C:
7340         * CutAndPaste.C:
7341         * LaTeX.C:
7342         * LaTeXFeatures.C:
7343         * ParagraphParameters.C:
7344         * buffer.C:
7345         * bufferlist.C:
7346         * bufferparams.C:
7347         * bufferview_funcs.C:
7348         * converter.C:
7349         * counters.C:
7350         * debug.C:
7351         * exporter.C:
7352         * format.C:
7353         * importer.C:
7354         * lyx_cb.C:
7355         * lyx_main.C:
7356         * lyxfont.C:
7357         * lyxfunc.C:
7358         * lyxvc.C:
7359         * paragraph.C:
7360         * paragraph_funcs.C:
7361         * tabular.C:
7362         * tabular_funcs.C:
7363         * text2.C:
7364         * text3.C:  boost::format -> bformat  all over the place
7365
7366
7367 2003-05-09  André Pönitz  <poenitz@gmx.net>
7368
7369         * LColor.[Ch]: Pimpl the #include <map> away
7370
7371 2003-05-09  John Levon  <levon@movementarian.org>
7372
7373         * bufferlist.C: never remove emergency saves
7374
7375 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * Makefile.am: better lib building
7378
7379 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7382         instead.
7383         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7384         (simpleTeXSpecialChars): adjust
7385         (simpleTeXSpecialChars): adjust
7386         * paragraph.C (simpleTeXOnePar): adjust
7387         * buffer.C (makeLaTeXFile): adjust
7388
7389         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7390
7391         * text2.C (changeDepth): parlist cleanup
7392         (getColumnNearX): ditto
7393
7394         * rowpainter.C (getLabelFont): parlist cleanup
7395
7396         * bufferlist.C (newFile): parlist cleanup
7397
7398         * CutAndPaste.C (eraseSelection): parlist cleanup
7399
7400         * BufferView_pimpl.C (trackChanges): parlist cleanup
7401         (dispatch): ditto
7402
7403         * BufferView.C (lockInset): parlist cleanup.
7404         (ChangeInsets): ditto
7405
7406 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * CutAndPaste.h: Update file header.
7409
7410         * CutAndPaste.C: Update file header.
7411         Store the parts cut out of the Document in a limited_stack.
7412         (copySelection): adjust
7413         (pasteSelection): new function, takes the index in the limited stack.
7414         (nrOfParagraphs): adjust
7415         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7416         simplify error inset insertion.
7417         (checkPastePossible): adjust
7418
7419 2003-05-06  John Levon  <levon@movementarian.org>
7420
7421         * text2.C: don't cast wrap inset to float
7422
7423 2003-05-05  André Pönitz  <poenitz@gmx.net>
7424
7425         * iterator.C:
7426         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7427
7428         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7429           few naked Paragraph *.
7430
7431 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7432
7433         * bufferparams.C: Output warning if a document with missing
7434         TeX document class is loaded
7435         * exporter.C: Disable TeX exports if the document class is missing
7436         * lyxtextclass.C:
7437         * lyxtextclass.h:
7438         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7439         isTeXClassAvailable()
7440
7441 2003-05-03  John Levon  <levon@movementarian.org>
7442
7443         * BufferView.h:
7444         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7445         explicit cursor show/hide
7446
7447         * BufferView_pimpl.h:
7448         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7449         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7450
7451         * lyxfunc.C: hide cursor before dispatching.
7452
7453         * lyx_cb.C:
7454         * lyxfind.C:
7455         * text.C:
7456         * text3.C: remove explicit cursor hides
7457
7458 2003-05-02  André Pönitz  <poenitz@gmx.net>
7459
7460         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7461
7462         * undo_funcs.C:
7463         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7464           linked lists
7465
7466         * text2.C: tiny whitespace
7467
7468 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * undo_funcs.C: almost only ws changes.
7471
7472         * ParagraphList.C (splice): just return if pl is empty.
7473
7474 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * ParagraphList.C (splice): new function.
7477
7478         * CutAndPaste.C (pasteSelection): use it
7479
7480 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * CutAndPaste.C (pasteSelection): remove the last next and
7483         previous from this file.
7484
7485 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * CutAndPaste.C (pasteSelection): more clean up, user proper
7488         ParagraphList functions for pasteing.
7489
7490         * ParagraphList.C (insert): new function, three arg insert
7491
7492 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * ParagraphList.C (insert): new function, three arg insert
7495
7496         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7497         not on paragraphs.
7498
7499 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7502
7503 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7506
7507 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7510         (copySelection): clean up a bit.
7511         (pasteSelection): use make_pair
7512
7513         * ParagraphList.C (ParagraphList): implement copy constructor
7514         (operator=): implement, base on copy constructor.
7515         (assign): new func
7516
7517         * paragraph.C (erase): return a bool
7518
7519         * paragraph_pimpl.C (erasePos): remove function, move contents...
7520         (erase): ... here. Return a bool.
7521         (erase): call erase instead of erasePos.
7522
7523 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7524
7525         * ParagraphList.h: define PitPosPair
7526         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7527         ParagraphList, fix a bug on pasting multiple pars
7528         * text2.C: change interface to C&P
7529
7530 2003-04-30  André Pönitz  <poenitz@gmx.net>
7531
7532         * undo_func.C: revert part of yesterday's patch 2
7533
7534 2003-04-30  John Levon  <levon@movementarian.org>
7535
7536         * LColor.C: s/tabular/table/
7537
7538 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7539
7540         * text3.C (dispatch): do not convert iterator -> pointer
7541         * undo_funcs.C (setCursorParUndo): ditto
7542         * text_funcs.C (transposeChars): ditto
7543
7544         * text2.C (setLayout): ws changes only
7545
7546         * text.C (breakParagraph): do not convert iterator -> pointer
7547         (insertChar): ditto
7548         (acceptChange): ditto
7549         (rejectChange): ditto
7550         (changeCase): ditto
7551         (Delete): ditto
7552         (backspace): ditto
7553
7554         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7555         pointer
7556
7557 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7558
7559         * text3.C (gotoInset): YABG (yet another bad getChar)
7560
7561 2003-04-29  André Pönitz  <poenitz@gmx.net>
7562
7563         * paragraph.h: make operator= private unimplemented as long as
7564           it is unusable
7565
7566         * ParagraphList.C: whitespace
7567
7568         * paragraph.[Ch]:
7569         * paragraph_pimpl.[Ch]:
7570         * paragraph_funcs.C:
7571         * CutAndPaste.C:
7572         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7573
7574         * text2.C:
7575           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7576
7577 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7578
7579         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7580         * paragraph.[Ch] (erase):
7581         * paragraph_pimpl.[Ch] (erase): change return type and value
7582         * text2.C (cutSelection): some rework
7583
7584 2003-04-28  John Levon  <levon@movementarian.org>
7585
7586         * bufferlist.C: changes for unsaved changes dialog
7587
7588 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * bufferlist.C (newFile): set language (messages_) for new
7591         documents also.
7592
7593         * buffer.C (readFile): ws changes only.
7594
7595 2003-04-28  André Pönitz  <poenitz@gmx.net>
7596
7597         * undo_funcs.C:
7598         * lyxfunc.C:
7599         * buffer.[Ch]:
7600         * BufferView_pimpl.C:
7601         * BufferView.C: getParFromID related ParagraphList::iterator changes
7602
7603 2003-04-28  André Pönitz  <poenitz@gmx.net>
7604
7605         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7606           Changes
7607
7608 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7609
7610         * messages.C: remove one more localedir class variable.
7611
7612 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * messages.C (getLocaleDir): singleton generation function
7615         (Pimpl): use it.
7616         (Messages): add a default constructor.
7617
7618         * main.C (main): do not setup localedir here, do not call
7619         gettext_init.
7620
7621         * gettext.C (_): use it.
7622         (gettext_init): delete funciton
7623
7624 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * gettext.C (getLyXMessages): new singleton generating function.
7627
7628         * buffer.C (updateDocLang): adjust
7629
7630         * Makefile.am (messages.o): add target
7631         (main.o): remove target
7632
7633 2003-04-27  John Levon  <levon@movementarian.org>
7634
7635         * bufferlist.C:
7636         * lyx_cb.C:
7637         * lyxfunc.C:
7638         * lyxvc.C: specify cancel button in Alert::prompt
7639
7640 2003-04-26  John Levon  <levon@movementarian.org>
7641
7642         * text3.C:
7643         * lyxfunc.C:
7644         * lfuns.h:
7645         * LyXAction.C: add LFUN_INSET_SETTINGS
7646
7647         * lyxfunc.C: don't enable tabular-feature when there's
7648         just any locking inset
7649
7650 2003-04-26  John Levon  <levon@movementarian.org>
7651
7652         * bufferlist.C: re-add Cancel to buffer close question
7653
7654         * lyxfunc.C: fix import UI a bit
7655
7656 2003-04-25  John Levon  <levon@movementarian.org>
7657
7658         * gettext.C: remove the broken asserts for now
7659
7660 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * messages.C: make case where setlocale cannot comply work better.
7663
7664         * buffer.C (updateDocLang): new function
7665         (changeLanguage): use it
7666         (readFile): use it
7667
7668         * text2.C (setCounter): use B_ a bit.
7669
7670         * lyxlayout.C (Read): be sure to trim the label strings.
7671
7672         * messages.C (Messages): fix typo in comment
7673
7674         * buffer.C (readFile): set message_ after file is loaded.
7675         (makeDocBookFile): remove double return
7676         (changeLanguage): reset message_ upon language change.
7677         (B_): new func, use this to get translated buffer strings.
7678
7679         * main.C: add myself and Jean Marc as authors.
7680
7681 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * messages.[hC]: pimplify Messages, and three different pimpls to be
7684         used in different circumstances.
7685
7686         * gettext.[Ch]: change for use with new message code.
7687
7688 2003-04-24 André Pönitz <poenitz@gmx.net>
7689
7690         * factory.C: support for eqref
7691
7692 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * messages.[Ch]: add missing char
7695
7696         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7697
7698         * messages.[Ch]: New files
7699
7700 2003-04-18  John Levon  <levon@movementarian.org>
7701
7702         * BufferView.h:
7703         * BufferView.C:
7704         * BufferView_pimpl.C:
7705         * lfuns.h:
7706         * LyXAction.C:
7707         * lyxtext.h:
7708         * text2.C: remove layout-copy/paste (bug 778)
7709
7710 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7711
7712         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7713
7714 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7715
7716         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7717         if they succeed. Act accordingly.
7718
7719 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text2.C (setCharFont): adjust
7722         (setCounter): adjust
7723         (insertStringAsLines): adjust
7724
7725         * text.C (leftMargin): adjust
7726         (setHeightOfRow): adjust
7727
7728         * rowpainter.C (paintFirst): adjust
7729         (paintLast): adjust
7730
7731         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7732         (outerHook): ditto
7733         (isFirstInSequence): ditto
7734         (getEndLabel): ditto
7735         (outerFont): adjust
7736
7737         * paragraph.C (getParLanguage): comment out some hard stuff.
7738
7739         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7740         (sgmlError): ditto
7741         (simpleDocBookOnePar): ditto
7742         (makeDocBookFile): use ParagraphList::iterator
7743
7744         * CutAndPaste.C (pasteSelection): adjust
7745
7746 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * text2.C (getFont): adjust
7749         (getLayoutFont): adjust
7750         (getLabelFont): adjust
7751
7752         * paragraph_funcs.C (TeXOnePar): adjust
7753
7754         * buffer.C (simpleLinuxDocOnePar): adjust
7755         (simpleDocBookOnePar): adjust
7756
7757         * CutAndPaste.C (pasteSelection): adjust
7758
7759         * BufferView.C (getEncoding): adjust
7760
7761         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7762
7763 2003-04-16  John Levon  <levon@movementarian.org>
7764
7765         * lyxfind.C: use parlist stuff for search/changes
7766
7767 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7770
7771         * text2.C (deleteEmptyParagraphMechanism): adjust
7772
7773         * text2.[Ch] (ownerParagraph): delete func (both of them
7774
7775 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7778
7779 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * ParagraphList.C: prepare for NO_NEXT
7782
7783 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * text2.C (getFont): adjust
7786         (getLayoutFont): adjust
7787         (getLabelFont): adjust
7788
7789         * paragraph.C (getFont): adjust
7790         (getLabelFont): adjust
7791         (getLayoutFont): adjust
7792
7793         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7794
7795 2003-04-15  John Levon  <levon@movementarian.org>
7796
7797         From Angus Leeming
7798
7799         * lyx_main.C: handle Include in .ui files
7800
7801 2003-04-15  John Levon  <levon@movementarian.org>
7802
7803         * MenuBackend.C: make the doc files length shorter
7804
7805         * ToolbarBackend.h:
7806         * ToolbarBackend.C: handle toolbar placement flags,
7807         Minibuffer
7808
7809 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7812         adjust
7813
7814         * paragraph_funcs.C (TeXOnePar): adjust
7815
7816         * paragraph.C (getLabelFont): add outerfont arg, adjust
7817         (getLayoutFont): ditto
7818         (simpleTeXOnePar): adjust
7819
7820         * paragraph_pimpl.C (realizeFont): delete func
7821
7822 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7823
7824         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7825         row argument, constify cur argument.
7826
7827 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * text2.C (getFont): adjust
7830         (getLayoutFont): adjust
7831         (getLabelFont): adjust
7832
7833         * paragraph_funcs.C (TeXOnePar): adjust
7834         (outerFont): new func...
7835         (realizeFont): ...moved out from here, changed this to facilitate
7836         transition
7837
7838         * paragraph.C (getFont): take outerfont as arg, adjust
7839         (simpleTeXOnePar): add outerfont arg, adjust
7840
7841         * buffer.C (simpleLinuxDocOnePar): adjust
7842         (simpleDocBookOnePar): adjust
7843
7844         * CutAndPaste.C (pasteSelection): adjust
7845
7846         * BufferView.C (getEncoding): adjust
7847
7848 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * text2.C (setCharFont): adjust
7851         (setCounter): adjust
7852
7853         * text.C (leftMargin): adjust
7854         (setHeightOfRow): adjust
7855
7856         * rowpainter.C (paintFirst): adjust
7857         (paintLast): adjust
7858
7859         * paragraph_pimpl.C (realizeFont): adjust
7860
7861         * paragraph.C (isFirstInSequence): move from here...
7862         * paragraph_funcs.C (isFirstInSequence): ...to here
7863
7864         * paragraph.C (outerHook): move from here...
7865         * paragraph_funcs.C (outerHook): ...to here
7866
7867         * paragraph.C (depthHook): move from here...
7868         * paragraph_funcs.C (depthHook): ...to here
7869
7870         * paragraph.C (getEndLabel): move from here...
7871         * paragraph_funcs.C (getEndLabel): ...to here
7872
7873         * text2.C (realizeFont): move from here...
7874         * paragraph_funcs.C (realizeFont): ...to here
7875
7876 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7879
7880 2003-04-14  Angus Leeming  <leeming@lyx.org>
7881
7882         * LColor.[Ch]: scrap LColor mathcursor.
7883
7884 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * lyxlex.[Ch] (text): delete function
7887         * trans.C (Load): adjust
7888         * paragraph_funcs.C (readParToken): adjust
7889
7890 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7893         vector<char> instead of a char[].
7894
7895         * lyxlex_pimpl.C (getString): adjust
7896         (next): adjust
7897         (lex): use getString
7898         (eatLine): adjust
7899         (nextToken): adjust
7900
7901         * lyxlex.C (text): use pimpl_->getString()
7902         (getBool): ditto
7903         (findToken): ditto
7904
7905 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7906
7907         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7908         (makeFontEntriesLayoutSpecific): temp var for par.size()
7909         (setLayout): temp var for ownerParagraphs().end()
7910         (fullRebreak): temp var for rows().end()
7911         (selectionAsString): temp var for boost::next(startpit), realize
7912         that the while really is a regular for loop.
7913         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7914         setCursor in one place.
7915         (setParagraph): temp vr for ownerParagraphs().end()
7916         (updateCounters): make the while loop a for loop
7917         (cutSelection): temp var for ownerParagraphs().end()
7918         (updateInset): make the do {} while() a regular for loop
7919         (getCursorX): use temp vars
7920         (setCurrentFont): use temp vars
7921         (getColumnNearX): use temp vars
7922
7923 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text.C (transformChar): use temp var for getChar
7926         (computeBidiTables): use temp var for row->par()
7927         (fill): move temp vars for row->par() and pit->layout() earlier in
7928         the function.
7929         (labelFill): use temp var for row->par()
7930         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7931         asc and desc, realize that pit never changes and that firstpit is
7932         just a duplicate and not needed. Exchange rit->par() with pit in a
7933         lot of places.
7934         (breakAgain): use a temp var for boost::next(rit)
7935         (breakAgainOneRow): ditto
7936         (breakParagraph): use a temp var for rows().begin()
7937         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7938         (cursorRightOneWord): use temp var for cursor.par() and
7939         cursor.pos(), remove usage of tmpcursor.
7940         (cursorLeftOneWord): use temp var for cursor.par() and
7941         cursor.pos() only set cur at end of function.
7942
7943 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * text.C, text2.C: exchange all usage of Paragraph::next with
7946         boost::next(ParagraphList::iterator)
7947
7948         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7949
7950         * text2.C (cursorTop): simplify implementation
7951         (cursorBottom): ditto
7952         (setParagraph): use ParagraphList::iterator
7953         (setCurrentFont): adjust
7954         (getColumnNearX): adjust
7955         (cursorRight): adjust
7956         (cursorLeft): remove usage of Paragraph::previous
7957         (cursorUpParagraph): ditto
7958         (deleteEmptyParagraphMechanism): slight cleanup
7959
7960         * text.C (isBoundary): take a Paragraph const & instead of a
7961         pointer as arg.
7962         (addressBreakPoint): ditto
7963         (leftMargin): remove usage of Paragraph::previous.
7964         (setHeightOfRow): ditto
7965         (cursorLeftOneWord): ditto
7966         (selectNextWordToSpellcheck): ditto
7967         (Delete): ditto
7968         (backspace): ditto
7969         (breakParagraph): remove one usage of Paragraph::next
7970         (redoParagraph): ditto
7971         (acceptChange): ditto
7972         (insertChar): adjust
7973         (rowBreakPoint): adjust
7974
7975         * bufferview_funcs.C (toggleAndShow): adjust
7976
7977 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7978
7979         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7980         methods to access it.
7981         * lyxtext.h:
7982         * text.C: Added updateRowPositions to compute all row positions.
7983         Make top_y and getRowNearY() to use the cached y position
7984
7985 2003-04-11  John Levon  <levon@movementarian.org>
7986
7987         * text.C (rowBreakPoint): reintroduce the labelEnd
7988         checks, code copied from the row fill stuff. Deep voodoo.
7989
7990         * text.C (fill): add a comment and debugging for the
7991         next poor soul.
7992
7993 2003-04-11  John Levon  <levon@movementarian.org>
7994
7995         * text.C: make sure fullrow insets get wrapped to the next line,
7996         even when they're in a manual label
7997
7998 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * text2.C (insertParagraph): make it take ParagraphList::iterator
8001         as arg.
8002         (setLayout): make it return ParagraphList::iterator
8003         (redoParagraphs): ditto
8004         (setCounter): ditto
8005         (checkParagraph): ditto
8006
8007         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8008
8009         * text2.C: adjust several funcs.
8010         (realizeFont): take a ParagraphList::iterator as arg.
8011         (getLayoutFont): ditto
8012         (getLabelFont): ditto
8013         (setCharFont): ditto
8014
8015         * text.C: adjust several funcs.
8016
8017 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * text.C (selectNextWordToSpellcheck): don't accidentally
8020         skip insets
8021
8022 2003-04-10  John Levon  <levon@movementarian.org>
8023
8024         * ToolbarBackend.C (getIcon): special handling for
8025         LFUN_MATH_DELIM
8026
8027 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * text2.C (cursorRight): a getChar assert fixed
8030
8031 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * text2.C (getFont): change to take a ParagraphList::iterator
8034         instead of Paragraph*
8035         Adjust several functions.
8036
8037         * text.C (transformChar): change to take a ParagraphList::iterator
8038         instead of Paragraph*
8039         (singleWidth): ditto
8040         Adjust several functions.
8041
8042         * rowpainter.C: adjust several functions
8043         * rowpainter.h:store a ParagraphList::iterator and not a
8044         Paragraph&.
8045
8046
8047 2003-04-09  John Levon  <levon@movementarian.org>
8048
8049         * lyxfunc.C:
8050         * lfuns.h:
8051         * LyXAction.h:
8052         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8053         and the "help" bits as well
8054
8055 2003-04-09  John Levon  <levon@movementarian.org>
8056
8057         * ToolbarBackend.h:
8058         * ToolbarBackend.C: allow multiple toolbars
8059
8060 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * undo_funcs.C (setCursorParUndo): adjust
8063
8064         * text_funcs.C (transposeChars): adjust
8065
8066         * text3.C (gotoNextInset): adjust
8067         (dispatch): adjust
8068
8069         * text2.C (setLayout): adjust
8070         (changeDepth): adjust
8071         (setFont): adjust
8072         (redoParagraphs): adjust
8073         (selectionAsString): adjust
8074         (setParagraph): adjust
8075         (insertInset): adjust
8076         (cutSelection): adjust
8077         (copySelection): adjust
8078         (pasteSelection): adjust
8079         (insertStringAsLines): adjust
8080         (updateInset): adjust
8081         (setCursor): change to take a ParagraphList::iterator parameter
8082         (setCursorIntern): change to take a ParagraphList::iterator parameter
8083         (setCurrentFont): adjust
8084         (cursorLeft): adjust
8085         (cursorRight): adjust
8086         (deleteEmptyParagraphMechanism): adjust
8087
8088         * text.C (breakParagraph): adjust
8089         (insertChar): adjust
8090         (acceptChange): adjust
8091         (rejectChange): adjust
8092         (selectNextWordToSpellcheck): adjust
8093         (changeCase): adjust
8094         (Delete): adjust
8095         (backspace): adjust
8096
8097         * lyxfind.C (SearchForward): adjust
8098         (SearchBackward): adjust
8099         (nextChange): adjust
8100
8101         * lyxcursor.C (par): adjust
8102
8103         * lyxcursor.h: store a ParagraphList::iterator instead of a
8104         Paragraph*
8105
8106         * lyx_cb.C (getPossibleLabel): adjust
8107
8108         * bufferview_funcs.C (toggleAndShow): adjust
8109
8110         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8111         (dispatch): adjust
8112
8113         * BufferView.C (removeAutoInsets): adjust
8114         (lockedInsetStoreUndo): adjust
8115
8116 2003-04-09  John Levon  <levon@movementarian.org>
8117
8118         * ToolbarBackend.C: try icon without argument
8119         if with argument fails
8120
8121 2003-04-08  John Levon  <levon@movementarian.org>
8122
8123         * ToolbarBackend.h:
8124         * ToolbarBackend.C: add getIcon(), handle tooltip,
8125         and change from "Icon" to "Item".
8126
8127 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8128
8129         * BufferView.C (lockInset): another bad getchar crunched
8130
8131 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8132
8133         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8134         again)
8135
8136 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8137
8138         * lyxfind.C (searchForward, searchBackwards): bug 782
8139
8140 2003-04-07  John Levon  <levon@movementarian.org>
8141
8142         * paragraph.C: remove dead comment
8143
8144         * text.C: remove troublesome depth-fiddling code
8145         in leftMargin() and rightMargin() (bug 1017)
8146
8147         * text.C: fix breaking of rows in nested lists
8148         (bug 1004)
8149
8150         * text2.C (updateCounters): fix up depth values
8151         (bug 1013)
8152
8153 2003-04-07  John Levon  <levon@movementarian.org>
8154
8155         * BufferView_pimpl.C: clear message when doc finishes resizing,
8156         and after a mouse event
8157
8158         * lyxfunc.C: clear message after exiting inset
8159
8160 2003-04-07  John Levon  <levon@movementarian.org>
8161
8162         * bufferview_funcs.C: show math status not outside
8163         status in the statusbar
8164
8165 2003-04-07  John Levon  <levon@movementarian.org>
8166
8167         * lyxfunc.C: note status changed after a depth change
8168
8169 2003-04-04  Angus Leeming  <leeming@lyx.org>
8170
8171         * LaTeX.h: move AuxInfo operator==, != out of line.
8172         Remove LaTeX virtual destructor; nothing derives from it.
8173         Move operator()() out of public area and rename it startscript().
8174         Change protected for private.
8175
8176 2003-04-04  Angus Leeming  <leeming@lyx.org>
8177
8178         * lyxfunc.C:
8179         * text2.C: remove unneeded #includes.
8180
8181 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8182
8183         * text2.C (dEPM): fix the heigth of the next row
8184
8185 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8186
8187         * text.C: squashed an invalid getChar requester + some ws changes
8188
8189 2003-04-03  John Levon  <levon@movementarian.org>
8190
8191         * bufferview_funcs.h:
8192         * bufferview_funcs.C:
8193         * lyxfunc.C:
8194         * lyxtext.h:
8195         * text2.C: make getStatus work for the env depth lfuns
8196
8197 2003-04-03  John Levon  <levon@movementarian.org>
8198
8199         * bufferview_funcs.h:
8200         * bufferview_funcs.C:
8201         * lyxfunc.C:
8202         * lyxtext.h:
8203         * text2.C: parlistize decDepth(), by merging it with incDepth()
8204
8205 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * lyxrow.h: store a ParagraphList::iterator instead of a
8208         Paragraph* and adjust other class functions to suit.
8209
8210         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8211         above.
8212
8213 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8214
8215         * text2.C (setCursor): do not anchor to cursor row for the time being
8216
8217 2003-04-02  John Levon  <levon@movementarian.org>
8218
8219         * LyXAction.C:
8220         * lfuns.h:
8221         * lyx_main.C:
8222         * lyxtext.h:
8223         * text.C:
8224         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8225
8226 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * paragraph.h: make ParagraphList and ParagraphList::iterator
8229         friends of Paragraph.
8230
8231         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8232
8233         * ParagraphList.C: Use the private next_ and previous_ from
8234         Paragraph.
8235
8236 2003-04-01  John Levon  <levon@movementarian.org>
8237
8238         * ToolbarBackend.h:
8239         * ToolbarBackend.C:
8240         * Makefile.am: rename, remove defaults gunk
8241
8242         * MenuBackend.h:
8243         * MenuBackend.C: remove defaults gunk
8244
8245         * Languages.h:
8246         * Languages.C: remove defaults gunk
8247
8248         * lyx_main.h:
8249         * lyx_main.C: error out if files couldn't be found.
8250
8251 2003-04-02  John Levon  <levon@movementarian.org>
8252
8253         * text2.C: make incDepth() use parlist
8254
8255 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * undo_funcs.C (firstUndoParagraph): adjust
8258
8259         * text3.C (gotoInset): adjust
8260         (dispatch): adjust, and rewrite loop.
8261
8262         * text2.C (init): adjust, and rewrite loop.
8263         (redoParagraphs): adjust
8264         (updateInset): adjust, and rewrite loop.
8265         (deleteEmptyParagraphMechanism): adjust
8266
8267         * tabular.C (LyXTabular): adjust
8268         (SetMultiColumn): adjust
8269         (TeXRow): adjust
8270
8271         * lyxtext.[Ch] (ownerParagraph): delete function
8272         (ownerParagraphs): new function returns a ParagraphList.
8273
8274         * BufferView.C (removeAutoInsets): adjust
8275         (insertErrors): adjust
8276         (setCursorFromRow): adjust
8277
8278 2003-04-01  Angus Leeming  <leeming@lyx.org>
8279
8280         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8281         in the frontends.
8282
8283 2003-04-02  John Levon  <levon@movementarian.org>
8284
8285         * lyxtext.h:
8286         * text.C:
8287         * Makefile.am:
8288         * text_funcs.h:
8289         * text_funcs.C: make transposeChars a free function
8290
8291         * lyxrow_funcs.C: remove wrong comment
8292
8293 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8294
8295         * lyxtext.h: adjust
8296         * rowpainter.C: adjust
8297         * text.C: adjust
8298         * text2.C: adjust
8299         * text3.C: adjust
8300
8301         * lyxrow_funcs. [Ch]: new files
8302
8303         * lyxrow.[Ch]: remove next and previous pointers
8304         (next,previous): remove accessor functions
8305         (isParEnd): move to lyxrow_funcs
8306         (lastPos): move to lyxrow_funcs
8307         (nextRowIsAllInset): move to lyxrow_funcs
8308         (lastPrintablePos): move to lyxrow_funcs
8309         (numberOfSeparators): move to lyxrow_funcs
8310         (numberOfHfills): move to lyxrow_funcs
8311         (numberOfLabelHfills): move to lyxrow_funcs
8312         (hfillExpansion): move to lyxrow_funcs
8313
8314         * lyxfunc.C: adjust
8315
8316         * bufferview_funcs.C (toggleAndShow): adjust
8317
8318         * RowList.h: Remove class RowList from file leave just a
8319         std::list<Row>.
8320
8321         * RowList.C: delete file
8322
8323         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8324         and lyxrow_funcs.h
8325
8326 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8327
8328         * text3.C (cursorPrevious): adjust
8329         (cursorNext): adjust
8330         (dispatch): adjust
8331
8332         * text2.C (redoHeightOfParagraph): adjust
8333         (redoDrawingOfParagraph): adjust
8334         (setCursor): adjust
8335
8336         * text.C (breakParagraph): adjust
8337         (insertChar): adjust
8338         (backspace): adjust
8339
8340         * rowpainter.C (RowPainter): adjust
8341         (leftMargin): simplify and adjust
8342         (most rowpainter functions): adjust.
8343
8344         * rowpainter.h: store the row as RowList::iterator not as Row*
8345
8346         * lyxcursor.C (row): taka RowList::iterator as arg
8347         (irow): ditto
8348
8349         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8350         of Row*.
8351
8352 2003-04-01  Angus Leeming  <leeming@lyx.org>
8353
8354         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8355         stuff like bool Bool.
8356
8357 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8358
8359         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8360         rewrite a loop
8361
8362 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8365         RowList::iterator.
8366
8367         * lyxtext.h (rows): drop one version and leve a const variant that
8368         returns a RowList::iterator.
8369
8370 2003-03-31  Angus Leeming  <leeming@lyx.org>
8371
8372         * text.C (fill): ensure that the signature is the same as that in the
8373         header file.
8374
8375 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * text2.C (redoParagraphs): adjust
8378         (updateCounters): adjust
8379         (checkParagraph): adjust
8380         (getColumnNearX): adjust and reformat a bit.
8381
8382         * text.C (top_y): adjust
8383         (workWidth): adjust
8384         (leftMargin): adjust
8385         (prepareToPrint): adjust
8386         (getRow): adjust
8387         (getRowNearY): adjust
8388
8389         * lyxtext.h: make rowlist_ mutable.
8390
8391         * RowList.h: add const_iterator
8392         * RowList.C: adjust for RowList::const_iterator.
8393
8394         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8395         adjust.
8396
8397 2003-03-31  John Levon  <levon@movementarian.org>
8398
8399         * lyxrc.h:
8400         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8401
8402         * lyx_main.C: set default fonts from using lyx_gui funcs
8403
8404         * exporter.C: pdf_mode moved from lyxrc
8405
8406         * lyx_cb.C:
8407         * lyxfunc.C: changes from above
8408
8409 2003-03-31  John Levon  <levon@movementarian.org>
8410
8411         * lyx_main.C: fix to the last fix
8412
8413 2003-03-31  John Levon  <levon@movementarian.org>
8414
8415         * bufferlist.C: "Load original" -> "Load Original"
8416
8417         * converter.C:
8418         * exporter.C:
8419         * importer.C:
8420         * lyx_main.C:
8421         * format.C: more Alert cleanups
8422
8423 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * text2.C (removeParagraph): make it take a RowList::iterator as
8426         arg, adjust.
8427         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8428         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8429
8430         * text.C (anchor_row): make it take a RowList::iterator as arg,
8431         adjust.
8432         (computeBidiTables): make it take a const reference to Row instead
8433         of Row pointer, adjust.
8434         (leftMargin): make it take a RowList::iterator as arg, adjust.
8435         (rowBreakPoint): adjust
8436         (breakAgainOneRow): make it take a RowList::iterator as arg,
8437         adjust.
8438         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8439
8440         * bufferview_funcs.C (toggleAndShow): adjust
8441
8442 2003-03-30  John Levon  <levon@movementarian.org>
8443
8444         * Makefile.am:
8445         * BoostFormat.h:
8446         * boost-inst.C: moved to support
8447
8448         * several files: changes as a result
8449
8450 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * text2.C (LyXText): adjust.
8453         (init): adjust
8454         (removeRow): make it take a RowList::iterator as arg, adjust.
8455         (fullRebreak): adjust
8456         (deleteEmptyParagraphMechanism): adjust
8457         (clearPaint): adjust
8458         (postPaint): adjust
8459
8460         * text.C (top_y): adjust
8461         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8462         (breakAgain): make it take a RowList::iterator as arg, adjust.
8463         (breakParagraph): adjust
8464         (insertChar): adjust
8465         (backspace): adjust
8466
8467         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8468         need_break_row, and refresh_row.
8469
8470         * text3.C (dispatch): adjust
8471
8472         * text2.C (checkParagraph): adjust
8473         (setCursor): adjust
8474         (setCursorFromCoordinates): adjust
8475
8476         * text.C (top_y): adjust
8477         (workWidth): adjust
8478         (getRow): make it return a RowList::iterator, adjust
8479         (getRowNearY): make it return a RowList::iterator, adjust
8480
8481         * text2.C (init): adjust
8482         (insertRow): remove function
8483         (insertParagraph): adjust
8484         (redoParagraphs): adjust
8485         (fullRebreak): adjust
8486         (updateCounters): adjust
8487
8488         * text.C (top_y): rewrite to use RowList iterators.
8489         (top_y): adjust
8490         (setHeightOfRow): rewrite to sue RowList iterators.
8491         (appendParagraph): adjust
8492         (breakAgain): adjust
8493         (breakAgainOneRow): adjust
8494         (breakParagraph): adjust
8495         (getRow): adjust
8496         (getRowNearY): adjust, and remove commented code.
8497
8498         * lyxtext.h (firstRow): delete function
8499         (lastRow): delete function
8500         (rows): new function (const and non-const versions.)
8501         (insertRow): delete function
8502
8503         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8504
8505 2003-03-29  John Levon  <levon@movementarian.org>
8506
8507         * BufferView_pimpl.C: always update scrollbar top
8508         because pasting text when we're anchored could mean we
8509         miss an update altogether
8510
8511 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * text2.C (init): use rowlist_.end() and not 0.
8514         (insertRow): change to take a RowList::iterator as arg, adjust
8515         for this.
8516         (insertParagraph): change to take a RowList::iterator as arg,
8517         adjust for this.
8518         (redoParagraphs): remove some debug msgs.
8519
8520         * text.C (appendParagraph): change to take a RowList::iterator
8521         arg, adjust for this.
8522         (breakAgain): add an assert
8523         (breakAgainOneRow): ditto
8524
8525 2003-03-29  John Levon  <levon@movementarian.org>
8526
8527         * text2.C: do not clear selection after inc/decDepth
8528         (bug 550)
8529
8530 2003-03-29  John Levon  <levon@movementarian.org>
8531
8532         * BufferView.C:
8533         * buffer.C: fix broken strerrors according to Lars
8534
8535 2003-03-29  John Levon  <levon@movementarian.org>
8536
8537         * converters.C: more Alert cleanups
8538
8539 2003-03-29  John Levon  <levon@movementarian.org>
8540
8541         * bufferview_funcs.C: remove pointless Alert
8542
8543         * buffer.C: fix confusing error message when
8544         a template is chmoded 000
8545
8546 2003-03-29  John Levon  <levon@movementarian.org>
8547
8548         * BufferView.C:
8549         * BufferView.h:
8550         * BufferView_pimpl.C: Alert fixes
8551
8552         * Makefile.am:
8553         * tabular.C:
8554         * tabular-old.C: remove unused table compat reading
8555
8556 2003-03-29  John Levon  <levon@movementarian.org>
8557
8558         * BufferView.C:
8559         * buffer.C:
8560         * lyx_cb.h:
8561         * lyx_cb.C: more Alert cleanups
8562
8563         * lyxfunc.C: don't allow chktex if not latex document
8564
8565 2003-03-29  John Levon  <levon@movementarian.org>
8566
8567         * lyx_cb.C:
8568         * BufferView.C:
8569         * buffer.C: warnings pushed down from support/,
8570         kill err_alert
8571
8572 2003-03-29  John Levon  <levon@movementarian.org>
8573
8574         * lyxfunc.C: safety check for C-r (revert)
8575
8576 2003-03-29  John Levon  <levon@movementarian.org>
8577
8578         * bufferlist.h:
8579         * bufferlist.C: several UI fixes using Alert::prompt.
8580         Fix the pointless looping quit code. Fix stupid revert
8581         behaviour (bug 938)
8582
8583         * lyxvc.h:
8584         * lyxvc.C:
8585         * lyx_cb.C: use Alert::prompt
8586
8587         * lyx_main.C: remove a silly question
8588
8589         * lyxfunc.C: remove a couple of silly questions,
8590         use Alert::prompt
8591
8592 2003-03-28  John Levon  <levon@movementarian.org>
8593
8594         * text2.C: fix bug 974 (End on empty par)
8595
8596 2003-03-28  John Levon  <levon@movementarian.org>
8597
8598         * BufferView_pimpl.C:
8599         * LyXAction.C:
8600         * lfuns.h: remove do-nothing math greek lfuns
8601
8602 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * lyxgluelength.h (isValidGlueLength): add default arg on
8605         parameter 2. Remove default arg from friend in class.
8606
8607         * lyxlength.h (isValidLength): add default arg on parameter 2.
8608         Remove default arg from friend in class.
8609
8610         * text2.C (LyXText): adjust, initialize refresh_row.
8611         (init): adjust
8612         (removeRow): adjust
8613         (insertRow): adjust
8614         (insertParagraph): adjst
8615         (redoParagraphs): adjust
8616         (fullRebreak): adjust
8617         (updateCounters): adjust
8618         (deleteEmptyParagraphMechanism): first attempt at fixing a
8619         crashing bug.
8620
8621         * text.C (top_y): adjust
8622         (setHeightOfRow): adjust
8623         (getRow): adjust
8624         (getRowNearY): adjust
8625
8626         * lyxtext.h: include RowList.h
8627         (~LyXText): not needed anymore, deleted.
8628         (firstRow): modify for RowList
8629         (lastRow): new function
8630         Delete firstrow and lastrow class variables, add a Rowlist
8631         rowlist_ class variable.
8632
8633         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8634         paragraph is empty.
8635
8636         * RowList.C (insert): fix case where it == begin().
8637
8638 2003-03-26  Angus Leeming  <leeming@lyx.org>
8639
8640         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8641         the thesaurus dialog.
8642
8643 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8646
8647         * RowList.[Ch]: new files
8648
8649         * ParagraphList.C (erase): handle the case where it == begin
8650         correctly.
8651
8652 2003-03-25  John Levon  <levon@movementarian.org>
8653
8654         * Makefile.am:
8655         * aspell_local.h:
8656         * aspell.C: add new aspell support
8657
8658         * lyxrc.h:
8659         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8660         have it accessible.
8661
8662 2003-03-25  Angus Leeming  <leeming@lyx.org>
8663
8664         * lfuns.h:
8665         * LyXAction.C (init): new LFUN_INSET_INSERT.
8666
8667         * BufferView_pimpl.C (dispatch): split out part of the
8668         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8669
8670         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8671         LFUN_INSET_APPLY.
8672
8673 2003-03-25  Angus Leeming  <leeming@lyx.org>
8674
8675         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8676
8677 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8678
8679         * text2.C:
8680         * text3.C: remove useless row->height(0)
8681
8682 2003-03-25  John Levon  <levon@movementarian.org>
8683
8684         * lyxtext.h:
8685         * text2.C:
8686         * text3.C: rename the refreshing stuff to better names
8687
8688 2003-03-24  John Levon  <levon@movementarian.org>
8689
8690         * BufferView_pimpl.h:
8691         * BufferView_pimpl.C: update layout choice on a mouse
8692         press/release
8693
8694 2003-03-23  John Levon  <levon@movementarian.org>
8695
8696         * Makefile.am: fix commandtags.h reference
8697
8698 2003-03-22  John Levon  <levon@movementarian.org>
8699
8700         * BufferView_pimpl.C:
8701         * lyxtext.h:
8702         * rowpainter.C:
8703         * rowpainter.h:
8704         * text.C:
8705         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8706
8707 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8708
8709         * lyxtext.h:
8710         * text.C: take the rtl methods out of line
8711
8712 2003-03-21 André Pönitz <poenitz@gmx.net>
8713
8714         * metricsinfo.[Ch]: new files containing structures to be passed around
8715         during the two-phase-drawing...
8716
8717 2003-03-21 André Pönitz <poenitz@gmx.net>
8718
8719         * lyxtextclass.C: read 'environment' tag.
8720
8721 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8722
8723         * text2.C (removeRow): fix bug 964
8724
8725 2003-03-20  John Levon  <levon@movementarian.org>
8726
8727         * rowpainter.C:
8728         * text.C:
8729         * text2.C: paint cleanups. Inset::update() dropped font
8730         parameter
8731
8732 2003-03-19  John Levon  <levon@movementarian.org>
8733
8734         * lyxfunc.C: only fitcursor/markDirty if available()
8735
8736 2003-03-19  John Levon  <levon@movementarian.org>
8737
8738         * commandtags.h: rename to ...
8739
8740         * lfuns.h: ... this, and renumber / cleanup
8741
8742 2003-03-19  John Levon  <levon@movementarian.org>
8743
8744         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8745         fit the cursor after an lfun
8746
8747         * BufferView.h:
8748         * BufferView.C:
8749         * BufferView_pimpl.h:
8750         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8751
8752         * LyXAction.C: layout-character should have ReadOnly
8753
8754         * ParagraphParameters.C:
8755         * buffer.C:
8756         * bufferview_funcs.C:
8757         * lyx_cb.C:
8758         * lyxfind.C:
8759         * lyxtext.h:
8760         * text.C:
8761         * text2.C:
8762         * text3.C:
8763         * undo_funcs.C: changes from above
8764
8765 2003-03-18  John Levon  <levon@movementarian.org>
8766
8767         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8768         remove it from update()
8769
8770         * lyxfunc.C: update layout choice after an lfun
8771
8772         * text3.C: remove extra updateLayoutChoice()s
8773
8774 2003-03-18  John Levon  <levon@movementarian.org>
8775
8776         * text.C: top_y change means full repaint, fix
8777         a drawing bug with cursor movement
8778
8779 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8780
8781         * lyxtext.h:
8782         * text.C:
8783         * text2.C: anchor row on setCursor
8784
8785 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8786
8787         * lyxtext.h: remove almost all mutable keywords
8788         * text.C:
8789         * text2.C:
8790         * text3.C: remove const keywords accordingly
8791
8792 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8795         anon namespace
8796         (TeXEnvironment): ditto
8797         (TeXOnePar): ditto
8798
8799 2003-03-17  John Levon  <levon@movementarian.org>
8800
8801         * text.C (rowBreakPoint): remove attempt to fix displayed
8802         math insets inside a manual label
8803
8804 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * lyxtext.h: remove BufferView* as first arg from almost all class
8807         functions.
8808         * other files: adjust.
8809
8810 2003-03-17  John Levon  <levon@movementarian.org>
8811
8812         * lyxtext.h:
8813         * undo_funcs.C:
8814         * text2.C: more paint cleanups
8815
8816         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8817
8818         * rowpainter.h:
8819         * rowpainter.C: remove "smart" background painting code
8820
8821 2003-03-16  John Levon  <levon@movementarian.org>
8822
8823         * lyxtext.h:
8824         * text.C:
8825         * text2.C:
8826         * text3.C: add helper functions for setting refresh_row/y
8827
8828 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8829
8830         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8831         newline inset which *can* get inserted in the pass_thru layouts.
8832         This is primarily for literate documents.
8833
8834 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * buffer.C: increment LYX_FORMAT to 223
8837
8838 2003-03-14 André Pönitz <poenitz@gmx.net>
8839
8840         * textclass.h: prepare for environment handling, ws changes
8841         * lyxlayout.C: read latexheader and latexfooter tags
8842
8843 2003-03-14  John Levon  <levon@movementarian.org>
8844
8845         * text2.C: rewrite ::status() a bit
8846
8847 2003-03-13  John Levon  <levon@movementarian.org>
8848
8849         * lyxtext.h: add some docs
8850
8851 2003-03-13  John Levon  <levon@movementarian.org>
8852
8853         * lyxtext.h:
8854         * text.C:
8855         * text2.C:
8856         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8857
8858 2003-03-13  John Levon  <levon@movementarian.org>
8859
8860         * text3.C: fix appendix redrawing
8861
8862 2003-03-13  John Levon  <levon@movementarian.org>
8863
8864         * text.C (setHeightOfRow):
8865         * rowpainter.h:
8866         * rowpainter.C: make appendix mark have the text
8867           "Appendix" so the user knows what it is
8868
8869         * LColor.h:
8870         * LColor.C: s/appendixline/appendix/ from above
8871
8872 2003-03-13  John Levon  <levon@movementarian.org>
8873
8874         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8875
8876         * text.C: fix a getChar(pos) bug properly
8877
8878 2003-03-13  Angus Leeming  <leeming@lyx.org>
8879
8880         * commandtags.h:
8881         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8882         Probably only temporary. Let's see how things pan out.
8883
8884         * BufferView.C (unlockInset):
8885         * BufferView_pimpl.C (fitCursor):
8886         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8887
8888         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8889         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8890
8891         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8892         new functions that convert ParagraphParameters to and from a string.
8893
8894         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8895         BufferView::Pimpl's dispatch.
8896         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8897
8898 2003-03-13 André Pönitz <poenitz@gmx.net>
8899
8900         * lyxfunc.C:
8901         * text3.C:
8902         * factory.C: make it aware of InsetEnv
8903
8904 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * text2.C (setCursor): never ask for one past last
8907         (setCursor): add some debugging messages.
8908
8909         * text.C (singleWidth): never ask for one past last
8910         (singleWidth): ditto
8911         (leftMargin): ditto
8912         (rightMargin): ditto
8913         (rowBreakPoint): ditto
8914         (setHeightOfRow): ditto
8915         (prepareToPrint): ditto
8916
8917         * rowpainter.C (paintBackground): never ask for one past last
8918         (paintText): never ask for one past last
8919
8920         * paragraph_pimpl.C (getChar): make the assert stricter, never
8921         allow the one past last pos to be taken
8922
8923         * paragraph.C (getChar): ws changes only
8924
8925         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8926         (numberOfSeparators): ditto
8927         (numberOfHfills): ditto
8928
8929 2003-03-12  John Levon  <levon@movementarian.org>
8930
8931         * author.h:
8932         * author.C:
8933         * bufferparams.h:
8934         * bufferparams.C:
8935         * paragraph_funcs.C: fix per-buffer authorlists
8936
8937 2003-03-12  John Levon  <levon@movementarian.org>
8938
8939         * text.C: fix newline in right address
8940
8941 2003-03-12  Angus Leeming  <leeming@lyx.org>
8942
8943         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8944         duplicate those in LyXFunc::dispatch.
8945
8946         * commandtags.h:
8947         * LyXAction.C:
8948         * ToolbarDefaults.C:
8949         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8950         Add LFUN_FONTFREE_UPDATE.
8951
8952         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8953         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8954
8955         * bufferview_func.[Ch]: several new functions to facilliate
8956         transfer of data to and from the character dialog.
8957
8958 2003-03-12  John Levon  <levon@movementarian.org>
8959
8960         * buffer.C:
8961         * paragraph.h:
8962         * paragraph.C:
8963         * paragraph_funcs.C:
8964         * paragraph_pimpl.C:
8965         * sgml.C:
8966         * tabular.C:
8967         * text.C:
8968         * text3.C: remove META_NEWLINE in favour of an inset
8969
8970         * rowpainter.h:
8971         * rowpainter.C: remove paintNewline (done by inset)
8972
8973 2003-03-12  John Levon  <levon@movementarian.org>
8974
8975         * paragraph_pimpl.C: complain about bad getChar()s
8976         for a while at least
8977
8978 2003-03-12  John Levon  <levon@movementarian.org>
8979
8980         * buffer.h:
8981         * buffer.C: move paragraph read into a separate function,
8982         a little renaming to reflect that.
8983
8984         * bufferparams.h:
8985         * bufferparams.C: remove the author_ids map, not necessary now
8986
8987         * factory.h:
8988         * factory.C: moved Buffer::readInset to here
8989
8990         * paragraph_funcs.h:
8991         * paragraph_funcs.C: readParagraph free function moved from
8992         buffer.C
8993
8994         * tabular.C: name change
8995
8996 2003-03-12  John Levon  <levon@movementarian.org>
8997
8998         * buffer.C:
8999         * ParagraphParameters.C: move par params input to
9000         a read() method
9001
9002         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9003         behave like a normal read from the stream wrt reading
9004         a line vs. a \\token
9005
9006 2003-03-12  John Levon  <levon@movementarian.org>
9007
9008         * paragraph.C:
9009         * ParagraphParameters.h:
9010         * ParagraphParameters.C: move output code to a
9011         ::write() method
9012
9013 2003-03-12  John Levon  <levon@movementarian.org>
9014
9015         * BufferView.C (insertLyXFile):
9016         * buffer.h:
9017         * buffer.C:
9018         * tabular.C: use a parlist iterator for creating the
9019           document.
9020
9021 2003-03-12  John Levon  <levon@movementarian.org>
9022
9023         * buffer.C: make current_change static local not
9024           static file-scope
9025
9026 2003-03-12  John Levon  <levon@movementarian.org>
9027
9028         * buffer.C: fix insertStringAsLines for change tracking
9029
9030 2003-03-12  John Levon  <levon@movementarian.org>
9031
9032         * BufferView.C:
9033         * tabular.C:
9034         * buffer.h:
9035         * buffer.C:
9036         * bufferparams.h:
9037         * bufferparams.C: move author list into params. Rename some
9038           functions. Move the header reading into a separate token
9039           loop. Move the header token reading into BufferParams.
9040
9041 2003-03-12  John Levon  <levon@movementarian.org>
9042
9043         * changes.C: put debug inside lyxerr.debugging() checks
9044
9045 2003-03-11 André Pönitz <poenitz@gmx.net>
9046
9047         * factory.C: make it aware of InsetHFill
9048
9049 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9050
9051         * buffer.C (latexParagraphs): move function from here...
9052         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9053         args.
9054
9055 2003-03-10  Angus Leeming  <leeming@lyx.org>
9056
9057         * LyXAction.C (init): fix bug in poplating array with multiple entries
9058         with the same LFUN (spotted by JMarc).
9059
9060 2003-03-10  John Levon  <levon@movementarian.org>
9061
9062         * text.C:
9063         * text2.C: move getColumnNearX() near its
9064         only call site
9065
9066 2003-03-10  John Levon  <levon@movementarian.org>
9067
9068         * text.C: fix break before a minipage
9069
9070 2003-03-10  John Levon  <levon@movementarian.org>
9071
9072         * text.C: fix the last commit
9073
9074 2003-03-09  John Levon  <levon@movementarian.org>
9075
9076         * lyxtext.h:
9077         * text.C:
9078         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9079         bug 365 (don't break before insets unless needed). Don't
9080         return a value > last under any circumstances.
9081
9082 2003-03-09  Angus Leeming  <leeming@lyx.org>
9083
9084         * BufferView_pimpl.C (trackChanges, dispatch): call
9085         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9086
9087 2003-03-09  Angus Leeming  <leeming@lyx.org>
9088
9089         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9090         than Dialogs::showAboutlyx().
9091
9092 2003-03-09  Angus Leeming  <leeming@lyx.org>
9093
9094         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9095         than Dialogs::showTabularCreate().
9096
9097 2003-03-09  John Levon  <levon@movementarian.org>
9098
9099         * lyxtext.h:
9100         * text.C:
9101         * text2.C: 3rd arg to nextBreakPoint was always the same.
9102           Use references.
9103
9104 2003-03-08  John Levon  <levon@movementarian.org>
9105
9106         * lyxrow.C:
9107         * paragraph.C:
9108         * paragraph.h:
9109         * rowpainter.C:
9110         * text.C:
9111         * text2.C: Remove the "main" bit from the "main body"
9112           notion.
9113
9114 2003-03-08  John Levon  <levon@movementarian.org>
9115
9116         * text.C (leftMargin): The left margin of an empty
9117         manual label paragraph should not include the label width
9118         string length.
9119
9120         * text.C (prepareToPrint): don't attempt to measure hfills
9121         for empty manual label paragraphs - the answer should be 0
9122
9123 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * CutAndPaste.C: remove commented code and reindent.
9126
9127 2003-03-08  John Levon  <levon@movementarian.org>
9128
9129         * lyxfunc.h:
9130         * lyxfunc.C: move reloadBuffer()
9131
9132         * BufferView.h:
9133         * BufferView.C: to here
9134
9135         * lyxvc.C: add comment
9136
9137         * vc-backend.h:
9138         * vc-backend.C: call bv->reload() to avoid
9139           getStatus() check on MENURELOAD
9140
9141 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9142
9143         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9144         to an old format .dep file.
9145
9146 2003-03-07  Angus Leeming  <leeming@lyx.org>
9147
9148         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9149         when the LFUN_MOUSE_RELEASE should have been handled by
9150         inset->localDispatch.
9151
9152 2003-03-07  Angus Leeming  <leeming@lyx.org>
9153
9154         * BufferView_pimpl.C (dispatch):
9155         * LyXAction.C (init):
9156         * ToolbarDefaults.C (init):
9157         * commandtags.h:
9158         * lyxfunc.C (getStatus):
9159         remove LFUN_INSET_GRAPHICS.
9160
9161         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9162
9163 2003-03-07  Angus Leeming  <leeming@lyx.org>
9164
9165         * commandtags.h:
9166         * LyXAction.C (init):
9167         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9168
9169         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9170
9171         * commandtags.h:
9172         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9173
9174         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9175         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9176
9177 2003-03-07  Angus Leeming  <leeming@lyx.org>
9178
9179         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9180         remove "ert".
9181
9182 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9183
9184         * ParagraphList.C (front): new function
9185         (back): implement
9186
9187 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9188
9189         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9190         and top_row_offset_. removed var first_y.
9191         * text.C (top_y):
9192         * text2.C (LyXText, removeRow):
9193         * text3.C:
9194         * BufferView_pimpl.C:
9195         use these methods instead of using first_y
9196
9197 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9198
9199         * text2.C (pasteSelection): adjust for checkPastePossible
9200
9201         * CutAndPaste.C: remove Paragraph * buf and replace with
9202         ParagraphList paragraphs.
9203         (DeleteBuffer): delete
9204         (cutSelection): change the tc type to textclass_type
9205         (copySelection): change the tc type to textclass_type
9206         (copySelection): adjust for ParagraphList
9207         (pasteSelection): change the tc type to textclass_type
9208         (pasteSelection): adjust for Paragraphlist
9209         (nrOfParagraphs): simplify for ParagraphList
9210         (checkPastePossible): simplify for ParagraphList
9211         (checkPastePossible): remove unused arg
9212
9213         * ParagraphList.C (insert): handle the case where there are no
9214         paragraphs yet.
9215
9216         * CutAndPaste.h: make CutAndPaste a namespace.
9217
9218         * text3.C (dispatch): adjust
9219
9220         * text.C (breakParagraph): add a ParagraphList as arg
9221
9222         * paragraph_funcs.C (breakParagraph): change to take a
9223         BufferParams and a ParagraphList as args.
9224         (breakParagraphConservative): ditto
9225         (mergeParagraph): ditto
9226         (TeXDeeper): add a ParagraphList arg
9227         (TeXEnvironment): ditto
9228         (TeXOnePar): ditto
9229
9230         * buffer.C (readLyXformat2): adjust
9231         (insertStringAsLines): adjust
9232         (latexParagraphs): adjust
9233
9234         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9235         (cutSelection): adjust
9236         (pasteSelection): adjust
9237
9238         * BufferView_pimpl.C (insertInset): adjust
9239
9240 2003-03-05  Angus Leeming  <leeming@lyx.org>
9241
9242         * commandtags.h:
9243         * LyXAction.C (init):
9244         * BufferView_pimpl.C (dispatch):
9245         * lyxfunc.C (getStatus):
9246         remove LFUN_CHILD_INSERT.
9247
9248         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9249
9250 2003-03-05  Angus Leeming  <leeming@lyx.org>
9251
9252         * commandtags.h:
9253         * LyXAction.C (init):
9254         * src/factory.C (createInset):
9255         * lyxfunc.C (getStatus):
9256         * text3.C (dispatch):
9257         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9258
9259         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9260
9261 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9262
9263         * ParagraphList.C (insert): handle insert right before end()
9264         (erase): fix cases where it can be first or last paragraph.
9265
9266 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9269         Paragraph::next and Paragraph::previous
9270         (TeXOnePar): ditto
9271
9272         * text.C (breakParagraph): adjust
9273
9274         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9275         BufferParams& as arg.
9276         (breakParagraph): use ParagraphList::insert
9277         (breakParagraphConservative): take a Buffer* instead of a
9278         BufferParams& as arg.
9279         (breakParagraphConservative): use ParagraphList::insert.
9280
9281         * buffer.C (insertStringAsLines): un-const it
9282         (insertStringAsLines): adjust
9283
9284         * ParagraphList.C (insert): new function
9285
9286         * CutAndPaste.C (pasteSelection): adjust
9287
9288         * text.C (backspace): adjust
9289
9290         * tabular.C (SetMultiColumn): adjust
9291
9292         * CutAndPaste.C (cutSelection): adjust
9293         (pasteSelection): adjust
9294
9295         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9296         Buffer const * as arg
9297
9298         * ParagraphList.C (erase): new function
9299         * paragraph_funcs.C (mergeParagraph): use it
9300         (mergeParagraph): make it take a Buffer* instead of a
9301         BufferParams* as arg
9302
9303         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9304         as arg
9305         (breakParagraphConservative): ditto
9306
9307         * paragraph.h: remove the breakParagraph friend
9308
9309         * paragraph.C (eraseIntern): new function
9310         (setChange): new function
9311
9312         * paragraph_funcs.C (mergeParagraph): make it take a
9313         ParagraphList::iterator instead of a Paragraph *, adjust
9314         accordingly.
9315
9316         * paragraph.h: move an #endif so that the change tracking stuff
9317         also works in the NO_NEXT case.
9318
9319 2003-03-04  Angus Leeming  <leeming@lyx.org>
9320
9321         * commandtags.h:
9322         * LyXAction.C: new LFUN_INSET_MODIFY.
9323
9324         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9325         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9326
9327 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9328
9329         * several files: ws changes only
9330
9331         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9332         (TeXEnvironment): ditto
9333         (TeXDeeper): ditto
9334
9335         * buffer.C (makeLaTeXFile): adjust
9336         (latexParagraphs): make it take ParagraphList::iterator as args
9337
9338 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9339
9340         * buffer.C (latexParagraphs): adjust
9341
9342         * paragraph.C (TeXOnePar): move function...
9343         (optArgInset): move function...
9344         (TeXEnvironment): move function...
9345         * paragraph_pimpl.C (TeXDeeper): move function...
9346         * paragraph_funcs.C: ...here
9347
9348         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9349
9350 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * buffer.C (readInset): remove compability code for old Figure and
9353         InsetInfo insets
9354
9355 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9356
9357         * buffer.C: ws changes
9358         (readInset):
9359
9360         * BufferView_pimpl.C: ditto
9361         * author.C: ditto
9362         * buffer.h: ditto
9363         * bufferlist.h: ditto
9364         * changes.h: ditto
9365         * lyxfunc.C: ditto
9366
9367 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9368
9369         * converter.[Ch]: split into itself +
9370         * graph.[Ch]
9371         * format.[Ch]
9372         * Makefile.am: += graph.[Ch] + format.[Ch]
9373         * MenuBackend.C
9374         * buffer.C
9375         * exporter.C
9376         * importer.C
9377         * lyx_main.C
9378         * lyxfunc.C
9379         * lyxrc.C: added #include "format.h"
9380
9381 2003-02-27  Angus Leeming  <leeming@lyx.org>
9382
9383         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9384           a label.
9385
9386         * factory.C (createInset): add "label" to the factory.
9387
9388         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9389           string and do no more.
9390
9391 2003-02-27  Angus Leeming  <leeming@lyx.org>
9392
9393         * commandtags.h:
9394         * LyXAction.C (init):
9395         * factory.C (createInset):
9396         * BufferView_pimpl.C (dispatch):
9397           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9398
9399         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9400
9401         * lyxfunc.C (dispatch):
9402         * text3.C (dispatch): pass name to params2string.
9403
9404 2003-02-26  Angus Leeming  <leeming@lyx.org>
9405
9406         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9407           blocks together.
9408           Rearrange the ~includes. Strip out the unnecessary ones.
9409
9410         * factory.C (createInset): reformat.
9411           create new insets for the various LFUN_XYZ_APPLY lfuns.
9412
9413 2003-02-26  John Levon  <levon@movementarian.org>
9414
9415         * lyxrow.h:
9416         * lyxrow.C: add isParStart,isParEnd helpers
9417
9418         * paragraph.h: make isInserted/DeletedText take refs
9419
9420         * paragraph_funcs.h:
9421         * paragraph_funcs.C: remove #if 0'd code
9422
9423         * lyxtext.h:
9424         * text3.C:
9425         * text2.C:
9426         * text.C: use lyxrow helpers above.
9427           Move draw and paint routines to RowPainter.
9428           Make several methods use refs not pointers.
9429           Make backgroundColor() const.
9430           Add markChangeInDraw(), isInInset().
9431           Merge changeRegionCase into changeCase.
9432           Make workWidth() shouldn't-happen code into an Assert.
9433
9434         * rowpainter.h:
9435         * rowpainter.C: new class for painting a row.
9436
9437         * vspace.h:
9438         * vspace.C: make inPixels take a ref
9439
9440 2003-02-26  Angus Leeming  <leeming@lyx.org>
9441
9442         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9443         LFUN_REF_APPLY.
9444
9445 2003-02-25  John Levon  <levon@movementarian.org>
9446
9447         * ispell.C: give the forked command a more accurate name
9448
9449 2003-02-22  John Levon  <levon@movementarian.org>
9450
9451         * toc.h:
9452         * toc.C: make TocItem store an id not a Paragraph *
9453           (bug #913)
9454
9455 2003-02-21  Angus Leeming  <leeming@lyx.org>
9456
9457         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9458           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9459           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9460           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9461           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9462           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9463
9464         * BufferView_pimpl.C (dispatch):
9465         * LyXAction.C (init):
9466         * factory.C (createInset):
9467         * lyxfunc.C (getStatus, dispatch):
9468         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9469
9470 2003-02-21  Angus Leeming  <leeming@lyx.org>
9471
9472         * BufferView_pimpl.C (MenuInsertLyXFile):
9473         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9474         * lyxfunc.C (menuNew, open, doImport):
9475           no longer pass a LyXView & to fileDlg.
9476
9477 2003-02-21  Angus Leeming  <leeming@lyx.org>
9478
9479         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9480         * LyXAction.C: change, BIBKEY to BIBITEM.
9481         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9482         Change InsetBibKey to InsetBibitem.
9483         Change BIBKEY_CODE to BIBITEM_CODE.
9484         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9485         * factory.C: replace insetbib.h with insetbibitem.h.
9486         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9487         * paragraph.C: replace insetbib.h with insetbibitem.h.
9488         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9489         Change bibkey() to bibitem().
9490         * text.C: remove insetbib.h.
9491         * text2.C: replace insetbib.h with insetbibitem.h.
9492         change bibkey() to bibitem().
9493         * text3.C: remove insetbib.h.
9494         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9495
9496 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9497
9498         * lyxrc.C (output): enclose user email in quotes (in case there are
9499         several words)
9500
9501 2003-02-18  John Levon  <levon@movementarian.org>
9502
9503         * buffer.h: add std::
9504
9505 2003-02-17  John Levon  <levon@movementarian.org>
9506
9507         * SpellBase.h:
9508         * ispell.h:
9509         * ispell.C:
9510         * pspell.h:
9511         * pspell.C: reworking. Especially in ispell, a large
9512           number of clean ups and bug fixes.
9513
9514         * lyxfunc.C: fix revert to behave sensibly
9515
9516 2003-02-17 André Pönitz <poenitz@gmx.net>
9517
9518         * LyXAction.C:
9519         * commandtags.h: new LFUN_INSERT_BIBKEY
9520
9521         * layout.h:
9522         * lyxlayout.C:
9523         * buffer.C:
9524         * factory.C:
9525         * text.C:
9526         * text2.C:
9527         * text3.C:
9528         * paragraph.[Ch]:
9529         * paragraph_func.C: remove special bibkey handling
9530
9531 2003-02-17  John Levon  <levon@movementarian.org>
9532
9533         * text.C (Delete): fix case where delete at the end of
9534           the very first paragraph would not merge the pars
9535
9536 2003-02-17  John Levon  <levon@movementarian.org>
9537
9538         * lyxrow.C: fix lastPrintablePos()
9539
9540 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * bufferparams.C (writeLaTeX): add a std:here
9543
9544         * buffer.C: and remove a using directive there
9545
9546 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * buffer.C (makeLaTeXFile): move the code that generates the
9549           preamble...
9550
9551         * bufferparams.C (writeLaTeX): ... in this new method
9552
9553         * LaTeXFeatures.C (getEncodingSet): make const
9554           (getLanguages): make const
9555
9556         * MenuBackend.C (binding): returns the binding associated to this
9557           action
9558           (add): sets the status of each item by calling getStatus. Adds
9559           some intelligence.
9560           (read): add support for OptSubMenu
9561           (expand): remove extra separator at the end of expanded menu
9562
9563 2003-02-15  John Levon  <levon@movementarian.org>
9564
9565         * BufferView.C:
9566         * BufferView_pimpl.C:
9567         * bufferlist.h:
9568         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9569           inset code that had no actual effect. Remove unneeded status
9570           code.
9571
9572 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9575           in preamble
9576
9577 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9578
9579         * text.C (drawLengthMarker): also draw an arrow marker for
9580           symbolic lengths (medskip...)
9581
9582 2003-02-14  John Levon  <levon@movementarian.org>
9583
9584         * tabular.h:
9585         * tabular.C: better method names
9586
9587 2003-02-14  John Levon  <levon@movementarian.org>
9588
9589         * BufferView_pimpl.C:
9590         * bufferlist.C:
9591         * buffer.C:
9592         * converter.C:
9593         * lyx_cb.C:
9594         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9595           it's a more accurate name. Remove some pointless uses.
9596
9597 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9598
9599         * text2.C (LyXText): change order of initilizers to shut off
9600           warnings
9601
9602 2003-02-14  John Levon  <levon@movementarian.org>
9603
9604         * buffer.C: use ParIterator for getParFromID()
9605
9606         * paragraph.h:
9607         * paragraph.C:
9608         * paragraph_pimpl.h:
9609         * paragraph_pimpl.C: remove unused getParFromID()
9610
9611 2003-02-14  John Levon  <levon@movementarian.org>
9612
9613         * buffer.C: remove some very old #if 0'd parse code
9614
9615 2003-02-13  John Levon  <levon@movementarian.org>
9616
9617         * text.h:
9618         * text.C:
9619         * text2.C: move hfillExpansion(), numberOfSeparators(),
9620           rowLast(), rowLastPrintable(), numberofHfills(),
9621           numberOfLabelHfills() ...
9622
9623         * lyxrow.h:
9624         * lyxrow.C: ... to member functions here.
9625
9626         * paragraph.h:
9627         * paragraph.C:
9628         * lyxtext.h:
9629         * text.C: remove LyXText::beginningOfMainBody(), and call
9630           p->beginningOfMainBody() directly. Move the check for
9631           LABEL_MANUAL into the latter.
9632
9633         * text.h:
9634         * text.C:
9635         * text2.C:
9636         * vspace.C:
9637         * BufferView.h:
9638         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9639
9640         * text.h:
9641         * text.C:
9642         * text2.C:
9643         * text3.C:
9644         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9645           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9646
9647 2003-02-13  John Levon  <levon@movementarian.org>
9648
9649         * CutAndPaste.C: remove debug
9650
9651 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * paragraph.C (asString): remove two unused variables
9654
9655         * lyxtextclass.C (readTitleType):
9656           (Read):
9657           (LyXTextClass): handle new members titletype_ and titlename_
9658
9659         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9660
9661 2003-02-09  John Levon  <levon@movementarian.org>
9662
9663         * buffer.h:
9664         * buffer.C: replace hand-coded list with a map for the dep clean
9665
9666 2003-02-08  John Levon  <levon@movementarian.org>
9667
9668         * LaTeX.C: consolidate code into showRunMessage() helper
9669
9670 2003-02-08  John Levon  <levon@movementarian.org>
9671
9672         * lyxfind.C:
9673         * lyxtext.h:
9674         * text2.C:
9675         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9676           and pass the size in explicitly
9677
9678         * BufferView_pimpl.h:
9679         * BufferView_pimpl.C:
9680         * BufferView.h:
9681         * BufferView.C: add getCurrentChange()
9682
9683         * BufferView_pimpl.h:
9684         * BufferView_pimpl.C: handle change lfuns
9685
9686         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9687           for changes. Mark pasted paragraphs as new.
9688
9689         * support/lyxtime.h:
9690         * support/lyxtime.C:
9691         * DepTable.C: abstract time_t as lyx::time_type
9692
9693         * LColor.h:
9694         * LColor.C: add colours for new text, deleted text, changebars
9695
9696         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9697           package use "usenames" option.
9698
9699         * commandtags.h:
9700         * lyxfunc.C:
9701         * LyXAction.C: add change lfuns
9702
9703         * Makefile.am:
9704         * author.h:
9705         * author.C: author handling
9706
9707         * buffer.h:
9708         * buffer.C: add a per-buffer author list, with first entry as
9709           current author. Handle new .lyx tokens for change tracking. Output
9710           author list to .lyx file. Output dvipost stuff to .tex preamble.
9711           Bump lyx format to 222.
9712
9713         * bufferlist.h:
9714         * bufferlist.C: add setCurrentAuthor() to reset current author details
9715           in all buffers.
9716
9717         * bufferparams.h:
9718         * bufferparams.C: add param for tracking
9719
9720         * bufferview_funcs.C: output change info in minibuffer
9721
9722         * Makefile.am:
9723         * changes.h:
9724         * changes.C: add change-tracking structure
9725
9726         * debug.h:
9727         * debug.C: add CHANGES debug flag
9728
9729         * lyxfind.h:
9730         * lyxfind.C: add code for finding the next change piece
9731
9732         * lyxrc.h:
9733         * lyxrc.C: add user_name and user_email
9734
9735         * lyxrow.h:
9736         * lyxrow.C: add a metric for the top of the text line
9737
9738         * lyxtext.h:
9739         * text.C: implement accept/rejectChange()
9740
9741         * lyxtext.h:
9742         * text.C: paint changebars. Paint new/deleted text in the chosen
9743         colours. Strike through deleted text.
9744
9745         * paragraph.h:
9746         * paragraph.C:
9747         * paragraph_pimpl.h:
9748         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9749           in the current change to the insert functions. Rework erase to
9750           mark text as deleted, adding an eraseIntern() and a range-based
9751           erase(). Implement per-paragraph change lookup and
9752           accept/reject.
9753
9754         * paragraph_funcs.C: Fixup paste for change tracking.
9755
9756         * tabular.C: mark added row/columns as new.
9757
9758         * text.C: fix rowLast() to never return -1. Don't allow
9759           spellchecking of deleted text. Track transpose changes. Don't
9760           allow paragraph break or merge where appropriate.
9761
9762         * text2.C: leave cursor at end of selection after a cut.
9763
9764 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9765
9766         * text.C (getLengthMarkerHeight):
9767         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9768         visible on screen too.
9769
9770 2003-02-07  John Levon  <levon@movementarian.org>
9771
9772         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9773
9774 2003-02-05  Angus Leeming  <leeming@lyx.org>
9775
9776         * lyxserver.C (read_ready): revert my patch of 11 September last year
9777         as it sends PC cpu through the roof. Presumably this means that
9778         the lyxserver will no longer run on an Alpha...
9779
9780 2003-01-30  Angus Leeming  <leeming@lyx.org>
9781
9782         * factory.C (createInset): create an InsetCommandParam of type "index"
9783         and use it to 'do the right thing'.
9784
9785         * text2.C (getStringToIndex): ensure that cursor position is always
9786         reset to the reset_cursor position.
9787
9788 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9789
9790         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9791         disabled.
9792
9793 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9794
9795         * bufferview.C:
9796         * lyxcb.C:
9797         * lyxfunc.C: Output messages with identical spelling, punctuation,
9798         and spaces
9799
9800 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9801
9802         * MenuBackend.C (expandFormats): List only viewable export formats
9803         in "View" menu
9804
9805         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9806         message
9807
9808         * lyxfunc.C (getStatus): Make sure that formats other than
9809         "fax" can also be disabled
9810
9811 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * text3.C (dispatch): put the lfuns that insert insets in 3
9814         groups, and call doInsertInset with appropriate arguments.
9815         (doInsertInset): new function, that creates an inset and inserts
9816         it according to some boolean parameters.
9817
9818 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9819
9820         * buffer.C (readFile): remember to pass on 'par' when calling
9821         readFile recursively.
9822
9823 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * MenuBackend.C (expandFormats): add "..." to import formats.
9826
9827 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9828
9829         * paragraph.C (asString): Remove XForms RTL hacks.
9830
9831 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9832         * buffer.C: fix typo
9833
9834 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9835
9836         * Makefile.am (LIBS): delete var
9837         (lyx_LDADD): add @LIBS@ here instead.
9838
9839 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9840
9841         * Clarify the meaning of "wheel mouse jump"
9842
9843 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9844
9845         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9846         tabular in a float
9847
9848 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9849
9850         * importer.C (Loaders): do not preallocate 3 elements in the
9851         vector, since one ends up with 6 elements otherwise
9852
9853 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * DepTable.C (write): write the file name as last element of the
9856         .dep file (because it may contain spaces)
9857         (read): read info in the right order
9858
9859 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * paragraph_pimpl.C (simpleTeXBlanks):
9862         (simpleTeXSpecialChars):
9863         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9864
9865         * tabular.C (latex): add some missing case statements. Reindent.
9866
9867         * MenuBackend.C (expandToc): remove unused variable.
9868
9869 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9870
9871         * LColor.C:
9872         * LaTeX.C:
9873         * LyXAction.C:
9874         * MenuBackend.C:
9875         * buffer.C:
9876         * exporter.C:
9877         * lyxfunc.C:
9878         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9879         and the like.
9880
9881 2003-01-05  John Levon  <levon@movementarian.org>
9882
9883         * BufferView.h:
9884         * BufferView.C: add getEncoding()
9885
9886         * kbsequence.h:
9887         * kbsequence.C: do not store last keypress
9888
9889         * lyxfunc.h:
9890         * lyxfunc.C: store last keypress here instead. Pass encoding
9891           to getISOEncoded()
9892
9893 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * lyx_main.C (init): remove annoying error message when following
9896         symbolic links (bug #780)
9897
9898 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9899
9900         * text.C (insertChar):
9901         * lyxrc.C (getDescription): remove extra spaces
9902
9903 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9904
9905         * lyxrc.C (getDescription): remove extra spaces
9906
9907 2002-12-20  John Levon  <levon@movementarian.org>
9908
9909         * text3.C: hack fix for page up/down across tall rows
9910
9911 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9912
9913         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9914         not been invoked
9915
9916 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9917
9918         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9919         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9920         thesaurus is not compiled in
9921
9922 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9923
9924         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9925
9926 2002-12-16  Angus Leeming  <leeming@lyx.org>
9927
9928         * lyxrc.[Ch]:
9929         * lyx_main.C (init): remove override_x_deadkeys stuff.
9930
9931 2002-12-12  John Levon  <levon@movementarian.org>
9932
9933         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9934           insert. Only remove shift modifier under strict
9935           circumstances.
9936
9937 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * MenuBackend.C (expandToc): fix crash.
9940
9941 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9942
9943         * MenuBackend.C (expandToc): gettext on float names.
9944
9945 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9946
9947         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9948         implement bool empty() [bug 490]
9949
9950 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9951
9952         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9953
9954 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9955
9956         * several files: ws changes
9957
9958 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9959
9960         * text2.C (setCounter): clean up a bit, use boost.format.
9961         (updateCounters): initialize par upon declaration.
9962
9963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9964         if the layout exists. We do not just store the layout any more.
9965         (SwitchLayoutsBetweenClasses): use boost.format
9966
9967 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * converter.C (convert): if from and to files are the same, use a
9970         temporary files as intermediary
9971
9972 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9973
9974         * commandtags.h:
9975         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9976
9977 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9978
9979         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9980
9981 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9982
9983         * tabular.C (asciiPrintCell): use string(size, char) instead of
9984         explicit loop.
9985
9986         * sgml.C (openTag): fix order of arguments to string constructor
9987         (closeTag): ditto
9988
9989         * lyxfunc.C (dispatch): use boost.format
9990
9991         * lots of files: change "c" -> 'c'
9992
9993 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9994
9995         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9996
9997 2002-11-25  Angus Leeming  <leeming@lyx.org>
9998
9999         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10000
10001         * lyx_main.C (init): compile fix.
10002
10003 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10004
10005         * lyx_cb.C (start): boost.formatify
10006         do not include <iostream>
10007
10008         * lengthcommon.C: ws only
10009
10010         * boost-inst.C,BoostFormat.h: add more explict instantations
10011
10012 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10013
10014         * lots of files: handle USE_BOOST_FORMAT
10015
10016 2002-11-21  John Levon  <levon@movementarian.org>
10017
10018         * pspell.C: fix compile
10019
10020 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10021
10022         * lyxfunc.C (dispatch): use boost::format
10023         (open): ditto
10024         (doImport): ditto
10025
10026         * lyxfont.C (stateText): use boost::format
10027
10028         * lyx_main.C (LyX): use boost::format
10029         (init): ditto
10030         (queryUserLyXDir): ditto
10031         (readRcFile): ditto
10032         (parse_dbg): ditto
10033         (typedef boost::function): use the recommened syntax.
10034
10035         * importer.C (Import): use boost::format
10036
10037         * debug.C (showLevel): use boost::format
10038
10039         * converter.C (view): use boost::format
10040         (convert): ditto
10041         (move): ditto
10042         (scanLog): ditto
10043
10044         * bufferview_funcs.C (currentState): use boost::format
10045
10046         * bufferlist.C (emergencyWrite): use boost::format
10047
10048         * buffer.C (readLyXformat2): use boost::format
10049         (parseSingleLyXformat2Token): ditto
10050
10051         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10052
10053         * LaTeX.C (run): use boost::format
10054
10055         * Chktex.C (scanLogFile): use boost::format
10056
10057         * BufferView_pimpl.C (savePosition): use boost::format
10058         (restorePosition): ditto
10059         (MenuInsertLyXFile): ditto
10060
10061         * BoostFormat.h: help file for explicit instation.
10062
10063 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10064
10065         * tabular.C (latex): Support for block alignment in fixed width
10066         columns.
10067
10068 2002-11-17  John Levon  <levon@movementarian.org>
10069
10070         * BufferView_pimpl.C:
10071         * lyx_cb.C:
10072         * lyxfunc.C: split filedialog into open/save
10073
10074 2002-11-08  Juergen Vigna  <jug@sad.it>
10075
10076         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10077         by my last patch (hopefully).
10078
10079 2002-11-08  John Levon  <levon@movementarian.org>
10080
10081         * iterators.h:
10082         * iterators.C:
10083         * buffer.h:
10084         * buffer.C:
10085         * paragraph.h:
10086         * paragraph.C:
10087         * toc.h:
10088         * toc.C: ParConstIterator, and use it (from Lars)
10089
10090 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10091
10092         * lyxtextclass.[Ch]: revise and add doxygen comments
10093
10094 2002-11-07  John Levon  <levon@movementarian.org>
10095
10096         * text.C: fix progress value for spellchecker
10097
10098         * toc.C: fix navigate menu for insetwrap inside minipage
10099
10100         * paragraph_funcs.C: added FIXME for suspect code
10101
10102 2002-11-07  John Levon  <levon@movementarian.org>
10103
10104         * BufferView_pimpl.C: fix redrawing of insets
10105           on buffer switch
10106
10107 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * text2.C (updateCounters): fix bug 668
10110
10111 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10112
10113         * text3.C (dispatch): Do not make the buffer dirty when moving the
10114         cursor.
10115
10116 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10117
10118         * vc-backend.C: STRCONV
10119         (scanMaster): ditto
10120
10121         * text2.C (setCounter): STRCONV
10122
10123         * paragraph.C (asString): STRCONV
10124
10125         * lyxlength.C (asString): STRCONV
10126         (asLatexString): ditto
10127
10128         * lyxgluelength.C (asString): STRCONV
10129         (asLatexString): ditto
10130
10131         * lyxfunc.C (dispatch): STRCONV
10132         (open): ditto
10133
10134         * lyxfont.C (stateText): STRCONV
10135
10136         * importer.C (Import): STRCONV
10137
10138         * counters.C (labelItem): STRCONV
10139         (numberLabel): ditto
10140         (numberLabel): remove unused ostringstream o
10141
10142         * chset.C: STRCONV
10143         (loadFile): ditto
10144
10145         * bufferview_funcs.C (currentState): STRCONV
10146
10147         * buffer.C (readFile): STRCONV
10148         (asciiParagraph): ditto
10149         (makeLaTeXFile): ditto
10150
10151         * Spacing.C (writeEnvirBegin): STRCONV
10152
10153         * LaTeXFeatures.C (getLanguages): STRCONV
10154         (getPackages): ditto
10155         (getMacros): ditto
10156         (getBabelOptions): ditto
10157         (getTClassPreamble): ditto
10158         (getLyXSGMLEntities): ditto
10159         (getIncludedFiles): ditto
10160
10161         * LaTeX.C: STRCONV
10162         (run): ditto
10163         (scanAuxFile): ditto
10164         (deplog): ditto
10165
10166         * LString.h: add the STRCONV macros
10167
10168         * BufferView_pimpl.C (savePosition): STRCONV
10169         (restorePosition): ditto
10170         (MenuInsertLyXFile): ditto
10171
10172         * vc-backend.C (scanMaster): change from submatch[...] to
10173         submatch.str(...)
10174
10175         * funcrequest.C: include config.h
10176
10177         * factory.C: include config.h
10178
10179         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10180
10181         * box.C: include config.h
10182
10183         * LaTeX.C (scanAuxFile): change from submatch[...] to
10184         submatch.str(...)
10185         (deplog): ditto
10186
10187 2002-10-25  Angus Leeming  <leeming@lyx.org>
10188
10189         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10190
10191         * ispell.[Ch] (setError): new method.
10192         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10193         Use setError() insetead of goto END.
10194
10195         * lyx_cb.C (AutoSave): move out child process into new class
10196         AutoSaveBuffer.
10197
10198 2002-10-30  John Levon  <levon@movementarian.org>
10199
10200         * text3.C: make start appendix undoable
10201
10202 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10203
10204         * lyxlength.C (inPixels): Fix returned value.
10205
10206         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10207         environment.
10208
10209 2002-10-24  Angus Leeming  <leeming@lyx.org>
10210
10211         * lyxgluelength.h: no need to forward declare BufferParams
10212         or BufferView, so don't.
10213
10214 2002-10-21  John Levon  <levon@movementarian.org>
10215
10216         * BufferView.C: menuUndo ->undo, redo
10217
10218         * BufferView.h: document, remove dead, make some methods private
10219
10220         * paragraph_funcs.h:
10221         * paragraph_funcs.C:
10222         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10223
10224         * buffer.h:
10225         * buffer.C:
10226         * sgml.h:
10227         * sgml.C: move sgml open/close tag into sgml.C
10228
10229         * bufferview_funcs.h: unused prototype
10230
10231         * lyxfunc.h:
10232         * lyxfunc.C: remove unused
10233
10234         * lyxtext.h:
10235         * text.C: remove unused
10236
10237 2002-10-21  John Levon  <levon@movementarian.org>
10238
10239         * BufferView.h:
10240         * BufferView.C:
10241         * BufferView_pimpl.h:
10242         * BufferView_pimpl.C: fix mouse wheel handling based on
10243           patch from Darren Freeman
10244
10245 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10246
10247         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10248
10249 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10250
10251         * lyxlength.C (inPixels): Fix hanfling of negative length.
10252         Fix LyXLength::MU case.
10253
10254 2002-10-16  John Levon  <levon@movementarian.org>
10255
10256         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10257
10258 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10259
10260         * converter.C (view): add support for $$i (file name) and $$p
10261         (file path) for the viewer command. If $$i is not specified, then
10262         it is appended to the command (for compatibility with old syntax)
10263
10264 2002-10-14  Juergen Vigna  <jug@sad.it>
10265
10266         * undo_funcs.C (textHandleUndo): alter the order in which the
10267         new undopar is added to the LyXText, as we have to set first
10268         the right prev/next and then add it as otherwise the rebuild of
10269         LyXText is not correct. Also reset the cursor to the right paragraph,
10270         with this IMO we could remove the hack in "redoParagraphs()".
10271
10272 2002-10-09  Angus Leeming  <leeming@lyx.org>
10273
10274         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10275         to turn off an optimisation if a new inset is to be inserted.
10276
10277 2002-10-11 André Pönitz <poenitz@gmx.net>
10278
10279         * lyxtext.h: make some functions public to allow access
10280         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10281
10282 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * text3.C (dispatch): when changing layout, avoid an infinite loop
10285         [bug #652]
10286
10287 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10288
10289         * lyxrc.C (read): treat a viewer or converter command of "none" as
10290         if it were empty.
10291
10292         * MenuBackend.C (expandFormats): for an update, also allow the
10293         formats that are not viewable
10294
10295         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10296         script if it is newer than the lyxrc.defaults in user directory
10297
10298 2002-10-07 André Pönitz <poenitz@gmx.net>
10299
10300         * text.C: Vitaly Lipatov's small i18n fix
10301
10302 2002-09-25  Angus Leeming  <leeming@lyx.org>
10303
10304         * ispell.h: doxygen fix.
10305
10306 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * buffer.h (readFile): Add a new argument to the method, to allow
10309         reading of old-format templates.
10310
10311 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10312
10313         * toc.C (getTocList): Get TOC from InsetWrap.
10314
10315 2002-09-16  John Levon  <levon@movementarian.org>
10316
10317         * lyxfunc.C: check tabular for cut/copy too
10318
10319 2002-09-12  John Levon  <levon@movementarian.org>
10320
10321         * LyXAction.C: tidy
10322
10323         * factory.h:
10324         * factory.C: add header
10325
10326         * paragraph_funcs.h:
10327         * paragraph_funcs.C: cleanup
10328
10329 2002-09-11  John Levon  <levon@movementarian.org>
10330
10331         * PrinterParams.h: odd/even default to true
10332
10333 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10334
10335         * PrinterParams.h: update printer parameters for new xforms dialog
10336
10337 2002-09-11  Angus Leeming  <leeming@lyx.org>
10338
10339         * lyxserver.C (read_ready): re-write to make it more transparent
10340         and to make it work in coherent fashion under Tru64 Unix.
10341
10342 2002-09-11  André Pönitz <poenitz@gmx.net>
10343
10344         * commandtags.h:
10345         * LyXAction.C:
10346         * text3.C: implement LFUN_WORDSEL
10347
10348 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10349
10350         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10351         make floatlist_ a boost::shared_ptr<FloatList>
10352
10353         * lyxtextclass.C: include FloatList.h
10354         (LyXTextClass): initialize floatlist_
10355         (TextClassTags): add TC_NOFLOAT
10356         (Read): match "nofloat" to TC_NOFLOAT and use it.
10357         (readFloat): modify call to floatlist_
10358         (floats): ditto
10359         (floats): ditto
10360
10361         * FloatList.[Ch] (FloatList): remove commented out float
10362         initialization.
10363         (erase): new function
10364
10365 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10366
10367         * MenuBackend.C (expandToc): fix crash when there is no document
10368         open
10369
10370 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10371
10372         * many files: Add insetwrap.
10373
10374 2002-09-09  John Levon  <levon@movementarian.org>
10375
10376         * text2.C: remove confusing and awkward depth wraparound
10377
10378 2002-09-09  John Levon  <levon@movementarian.org>
10379
10380         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10381
10382         * buffer.h:
10383         * buffer.C: remove getIncludeonlyList()
10384
10385         * paragraph.C:
10386         * lyxfunc.C: remove headers
10387
10388 2002-09-09  Juergen Vigna  <jug@sad.it>
10389
10390         * text.C (getColumnNearX): fix form Michael this is most
10391         probably a cut&paste bug.
10392
10393 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10396
10397         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10398         references, ws changes.
10399
10400         * text2.C (init): update counters after init
10401         (insertParagraph): no need to set counter on idividual paragraphs.
10402         (setCounter): access the counters object in the textclass object
10403         on in the buffer object.
10404         (updateCounters): ditto
10405
10406         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10407         shared_ptr<Counters> to avoid loading counters.h in all
10408         compilation units.
10409         (LyXTextClass): initialize ctrs_
10410         (TextClassTags): add TC_COUNTER, and ...
10411         (Read): use it here.
10412         (CounterTags): new tags
10413         (readCounter): new function
10414         (counters): new funtion
10415         (defaultLayoutName): return a const reference
10416
10417         * counters.C (Counters): remove contructor
10418         (newCounter): remove a couple of unneeded statements.
10419         (newCounter): simplify a bit.
10420         (numberLabel): some small formatting changes.
10421
10422         * buffer.[Ch]: remove all traces of counters, move the Counters
10423         object to the LyXTextClass.
10424
10425 2002-09-06  Alain Castera  <castera@in2p3.fr>
10426
10427         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10428         package to set the horizontal alignment on fixed width columns.
10429
10430         * lyx_sty.C:
10431         * lyx_sty.h: added tabularnewline macro def.
10432
10433         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10434
10435 2002-09-06  John Levon  <levon@movementarian.org>
10436
10437         * LyXAction.C: tooltips for sub/superscript
10438
10439         * MenuBackend.C: a bit more verbose
10440
10441         * lyxfunc.C: tiny clean
10442
10443         * undo_funcs.C: document undo_frozen
10444
10445 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10446
10447         * counters.C (Counters): add missing algorithm counter.
10448
10449         * text2.C (setCounter): lookup the counter with layouts latexname
10450         instead of by section number.
10451         (setCounter): use a hackish way to lookup the correct enum
10452         counter.
10453         a float name->type change
10454         reset enum couners with counter name directly instead of depth value.
10455
10456         * counters.C (Counters): remove the push_backs, change to use the
10457         float type not the float name.
10458         (labelItem): remove unused string, float name->type change
10459
10460         * counters.h: don't include vector, loose the enums and sects vectors
10461
10462 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10463
10464         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10465         (Read): add float->TC_FLOAT to textclassTags
10466         (Read): and handle it in the switch
10467         (readFloat): new function
10468
10469         * FloatList.C (FloatList): comment out the hardcoded float
10470         definitions.
10471
10472         * lyxlayout.h: ws change.
10473
10474 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10475
10476         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10477
10478 2002-09-03  Angus Leeming  <leeming@lyx.org>
10479
10480         * BufferView_pimpl.h: qualified name is not allowed in member
10481         declaration: WorkArea & Pimpl::workarea() const;
10482
10483         * factory.C: added using std::endl directive.
10484
10485         * text3.C: added using std::find and std::vector directives.
10486
10487 2002-08-29  André Pönitz <poenitz@gmx.net>
10488
10489         * lyxtext.h:
10490         * text2.C: remove unused member number_of_rows
10491
10492         * Makefile.am:
10493         * BufferView2.C: remove file, move contents to...
10494         * BufferView.C: ... here
10495
10496         * BufferView_pimpl.C:
10497         * factory.C: move more inset creation to factory
10498
10499         * vspace.C: avoid direct usage of LyXText, ws changes
10500
10501         * BufferView.[Ch]:
10502                 don't provide direct access to WorkArea, use two simple
10503                 acessors haveSelction() and workHeight() instead
10504
10505
10506 2002-08-29  John Levon  <levon@movementarian.org>
10507
10508         * BufferView_pimpl.C (dispatch): do not continue when
10509           no buffer
10510
10511 2002-08-28  André Pönitz <poenitz@gmx.net>
10512
10513         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10514
10515         * BufferView.h:
10516         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10517
10518 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10519
10520         * buffer.C: increment LYX_FORMAT to 221
10521
10522         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10523         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10524
10525         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10526
10527         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10528
10529 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10530
10531         * factory.C (createInset): use LyXTextClass::floats
10532
10533         * MenuBackend.C (expandFloatListInsert):
10534         (expandFloatInsert):
10535         (expandToc):
10536
10537         * text2.C (setCounter):
10538
10539         * LaTeXFeatures.C (useFloat):
10540         (getFloatDefinitions):
10541
10542         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10543
10544         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10545         floatlist_, with accessor floats().
10546
10547         * FloatList.h: remove global FloatList
10548
10549 2002-08-26  André Pönitz <poenitz@gmx.net>
10550
10551         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10552
10553         * BufferView.h:
10554         * BufferView2.C:
10555         * BufferView_pimpl.C:
10556         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10557
10558 2002-08-25  John Levon  <levon@movementarian.org>
10559
10560         * LyXAction.C: fix margin note description
10561
10562 2002-08-24  John Levon  <levon@movementarian.org>
10563
10564         * buffer.C:
10565         * bufferlist.C:
10566         * bufferview_funcs.C:
10567         * lyxfont.C:
10568         * undo_funcs.C: cleanups
10569
10570         * lyxfunc.C: disable CUT/COPY when no selection
10571
10572 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10573
10574         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10575         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10576
10577         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10578         Add backward compatibility to "mono", "gray" and "no".
10579
10580 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10581
10582         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10583         (and file_format >= 200).
10584
10585 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10588
10589 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10592
10593 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10594
10595         * BufferView_pimpl.C:
10596         * LyXAction.C:
10597         * buffer.C:
10598         * commandtags.h:
10599         * lyxfunc.C:
10600         * paragraph.[Ch]:
10601         * text2.C:
10602         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10603         inset and code to make it  work with the paragraph code. The inset
10604         can be anywhere in the paragraph, but will only do the expected
10605         thing in LaTeX if the layout file contains the parameter line
10606                         OptionalArgs    1
10607         (or more generally, a nonzero value) for that layout.
10608
10609 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10610
10611         * paragraph.h: remove the declaration of undefined counters class
10612         function.
10613
10614 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10615
10616         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10617         Dr. Richard Hawkins.
10618
10619 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * paragraph_funcs.h: remove some unneeded includes
10622
10623         * text.C (backspace): pasteParagraph now in global scipe
10624
10625         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10626         (pasteSelection): ditto
10627
10628         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10629         * paragraph_funcs.C (pasteParagraph): ... here
10630
10631 2002-08-20  André Pönitz <poenitz@gmx.net>
10632
10633         * commandtags.h: new LFUNs for swapping/copying table row/colums
10634
10635         * LyXAction.C:
10636         * lyxfunc.C: support for new lfuns
10637
10638 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10639
10640         * tabular.C:
10641         * buffer.[Ch]: remove NO_COMPABILITY stuff
10642
10643 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10644
10645         * boost.C (throw_exception): new file, with helper function for
10646         boost compiled without exceptions.
10647
10648         * paragraph.h:
10649         * lyxlength.C:
10650         * buffer.C:
10651         * ParameterStruct.h:
10652         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10653
10654         * bufferlist.C (emergencyWriteAll): use boost bind
10655
10656         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10657
10658         * text.C: include paragraph_funcs.h
10659         (breakParagraph): breakParagraph is now in global scope
10660
10661         * paragraph_funcs.[Ch]: new files
10662
10663         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10664         global scope
10665
10666         * buffer.C: include paragraph_funcs.h
10667         (insertStringAsLines): breakParagraph is now in global scope
10668
10669         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10670         paragraph_funcs.C
10671
10672         * CutAndPaste.C: include paragraph_funcs.h
10673         (cutSelection): breakParagraphConservative is now in global scope
10674         (pasteSelection): ditto
10675
10676         * buffer.h: declare oprator== and operator!= for
10677         Buffer::inset_iterator
10678
10679         * bufferlist.C (emergencyWrite): don't use fmt(...)
10680
10681         * text3.C: add using std::endl
10682
10683         * BufferView.C (moveCursorUpdate): remove default arg
10684
10685 2002-08-20  André Pönitz <poenitz@gmx.net>
10686
10687         * buffer.[Ch]: move inline functions to .C
10688
10689         * BufferView2.C:
10690         * BufferView_pimpl.C:
10691         * text.C:
10692         * buffer.[Ch]: use improved inset_iterator
10693
10694         * buffer.C:
10695         * paragraph.[Ch]: write one paragraph at a time
10696
10697 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10698
10699         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10700         style if style is not specified.
10701
10702 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * text2.C (setCounter): when searching for right label for a
10705         caption, make sure to recurse to parent insets (so that a caption
10706         in a minipage in a figure float works) (bug #568)
10707
10708 2002-08-20  André Pönitz <poenitz@gmx.net>
10709
10710         * text3.C: new file for LyXText::dispatch() and helpers
10711
10712         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10713
10714         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10715
10716 2002-08-19  André Pönitz <poenitz@gmx.net>
10717
10718         * lyxtext.h:
10719         * text.C: new LyXText::dispatch()
10720
10721         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10722
10723 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10724
10725         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10726
10727         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10728         Hebrew text.
10729
10730 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * Makefile.am: use $(variables) instead of @substitutions@
10733
10734 2002-08-15  André Pönitz <poenitz@gmx.net>
10735
10736         * lyxfunc.C:
10737         * BufferView_pimpl.C: streamlining mathed <-> outer world
10738         interaction
10739
10740         * commandtags.h:
10741         * LyXAction.C: remove unused LFUN_MATH
10742
10743 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10746
10747 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10748
10749         * paragraph.C (Paragraph): reformat a bit
10750         (cutIntoMinibuffer): use builtin InsetList function instad of
10751         doing it manually.
10752         (getInset): ditto
10753
10754         * buffer.C: include boost/bind.hpp, add using std::for_each
10755         (writeFileAscii): use ParagraphList iterators
10756         (validate): use for_each for validate traversal of paragraphs
10757         (getBibkeyList): use ParagraphList iterators
10758         (resizeInsets): use for_each to resizeInsetsLyXText for all
10759         paragraphs.
10760         (getParFromID): use ParagraphList iterators
10761
10762         * BufferView2.C (lockInset): use paragraph list and iterators
10763
10764 2002-08-14  John Levon  <levon@movementarian.org>
10765
10766         * lyxserver.C: remove spurious xforms include
10767
10768 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10769
10770         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10771
10772 2002-08-13  André Pönitz <poenitz@gmx.net>
10773
10774         * LyXAction.[Ch]:
10775         * lyxfunc.C: further cleaning
10776
10777 2002-08-13  André Pönitz <poenitz@gmx.net>
10778
10779         * funcrequest.h: new constructor
10780
10781         * funcrequest.C: move stuff here from .h
10782
10783         * Makefile.am:
10784         * BufferView_pimpl.C:
10785         * LyXAction.C:
10786         * toc.C:
10787         * lyxfunc.C: subsequent changes
10788
10789         * lyxfunc.h: new view() member function
10790
10791         * lyxfunc.C: subsequent changes
10792
10793 2002-08-13  Angus Leeming  <leeming@lyx.org>
10794
10795         * BufferView2.C:
10796         * BufferView_pimpl.C:
10797         * buffer.C:
10798         * converter.C:
10799         * importer.C:
10800         * lyxfunc.C:
10801         * lyxvc.C:
10802         * toc.C:
10803         * vc-backend.C:
10804         changes due to the changed LyXView interface that now returns references
10805         to member variables not pointers.
10806
10807 2002-08-13  Angus Leeming  <leeming@lyx.org>
10808
10809         * WordLangTuple (word, lang_code): return references to strings,
10810         not strings.
10811
10812         * BufferView.h:
10813         * SpellBase.h:
10814         * lyxtext.h: forward-declare WordLangTuple.
10815
10816         * BufferView2.C:
10817         * ispell.C:
10818         * pspell.C:
10819         * text.C: #include "WordLangTuple.h".
10820
10821         * lyxtext.h:
10822         * text.C: (selectNextWordToSpellcheck): constify return type.
10823
10824 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10825
10826         * buffer.C:
10827         * buffer.h:
10828         * lyxtext.h:
10829         * paragraph.C:
10830         * paragraph_pimpl.h:
10831         * text.C:
10832         * text2.C:
10833         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10834         suggested by Angus.
10835         Made updateCounter always count from start of buffer, and removed
10836         second argument (par).
10837         Reverted floats number display to '#'. Perhaps I'll try again when the
10838         code base is sanitized a bit.
10839
10840 2002-08-12  Angus Leeming  <leeming@lyx.org>
10841
10842         * buffer.[Ch] (getLabelList): constify.
10843
10844 2002-08-07  André Pönitz <poenitz@gmx.net>
10845
10846         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10847
10848         * funcrequest.h: extension to keep mouse (x,y) position
10849
10850 2002-08-12  Juergen Vigna  <jug@sad.it>
10851
10852         * BufferView2.C (insertErrors): forbid undo when inserting error
10853         insets.
10854
10855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10856
10857 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10858
10859         * ParagraphList.[Ch]: new files
10860
10861         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10862
10863         * BufferView2.C (lockInset): ParagraphList changes
10864         * toc.C: ditto
10865         * text2.C: ditto
10866         * bufferlist.C: ditto
10867         * buffer.h: ditto
10868         * buffer.C: ditto
10869
10870 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10871
10872         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10873         unused class variable counter_,
10874
10875         * paragraph.[Ch] (getFirstCounter): delete unused function
10876
10877         * counters.C: include LAssert.h
10878         (reset): add a new function with no arg, change other version to
10879         not have def. arg and to not allow empty arg.
10880
10881         * text2.C (setCounter): remove empty arg from call to Counters::reset
10882
10883 2002-08-11  John Levon  <levon@movementarian.org>
10884
10885         * Makefile.am: add WordLangTuple.h
10886
10887 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10888
10889         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10890         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10891
10892         * insets/insettext.C: InsetList changes
10893
10894         * graphics/GraphicsSupport.C (operator()): InsetList changes
10895
10896         * toc.C (getTocList): InsetList changes
10897
10898         * paragraph_pimpl.[Ch]: InsetList changes
10899
10900         * paragraph.[Ch]: InsetList changes
10901
10902         * buffer.C (inset_iterator): InsetList changes
10903         (setParagraph): ditto
10904         * buffer.h (inset_iterator): ditto
10905         * iterators.C (operator++): ditto
10906         * iterators.h: ditto
10907
10908         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10909
10910         * InsetList.[Ch]: new files, most InsetList handling moved out of
10911         paragraph.C.
10912
10913         * BufferView2.C (removeAutoInsets): InsetList changes
10914         (lockInset): ditto
10915         (ChangeInsets): ditto
10916
10917 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10918
10919         * paragraph_pimpl.h (empty): new function
10920
10921         * paragraph.[Ch] (empty): new function
10922
10923         * other files: use the new Paragraph::empty function
10924
10925 2002-08-09  John Levon  <levon@movementarian.org>
10926
10927         * lyxtext.h: remove unused refresh_height
10928
10929 2002-08-09  John Levon  <levon@movementarian.org>
10930
10931         * Makefile.am:
10932         * sgml.h:
10933         * sgml.C:
10934         * buffer.C:
10935         * paragraph.h:
10936         * paragraph.C: move sgml char escaping out of paragraph
10937
10938         * paragraph.h:
10939         * paragraph.C: remove id setter
10940
10941         * buffer.C:
10942         * paragraph.C:
10943         * paragraph_pimpl.C: remove dead tex_code_break_column
10944
10945         * bufferview_funcs.C: small cleanup
10946
10947         * lyxfunc.C: remove dead proto
10948
10949         * lyxtext.h: make some stuff private. Remove some dead stuff.
10950
10951         * lyxgluelength.C: make as[LyX]String() readable
10952
10953 2002-08-08  John Levon  <levon@movementarian.org>
10954
10955         * LyXAction.h:
10956         * LyXAction.C:
10957         * MenuBackend.C:
10958         * ToolbarDefaults.C:
10959         * lyxfunc.C:
10960         * lyxrc.C:
10961         * toc.C: lyxaction cleanup
10962
10963 2002-08-08  John Levon  <levon@movementarian.org>
10964
10965         * BufferView2.C: small cleanup
10966
10967         * lyxfind.h:
10968         * lyxfind.C: move unnecessary header into the .C
10969
10970 2002-08-08  John Levon  <levon@movementarian.org>
10971
10972         * funcrequest.h: just tedious nonsense
10973
10974         * lyx_main.h:
10975         * lyx_main.C: cleanups
10976
10977         * buffer.C:
10978         * vspace.C: remove dead header lyx_main.h
10979
10980 2002-08-07  Angus Leeming  <leeming@lyx.org>
10981
10982         * Paragraph.[Ch]:
10983         * paragraph_pimpl.h:
10984         Forward declare class Counters in paragraph.h by moving the ctrs member
10985         variable into Paragraph::Pimpl.
10986         (counters): new method, returning a reference to pimpl_->ctrs.
10987
10988         * text2.C: ensuing changes.
10989
10990 2002-08-07  John Levon  <levon@movementarian.org>
10991
10992         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10993
10994         * BufferView_pimpl.C: announce X selection on double/triple
10995           click
10996
10997         * lyx_main.C: use correct bool in batch dispatch
10998
10999         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11000
11001 2002-08-07  André Pönitz <poenitz@gmx.net>
11002
11003         * funcrequest.h: new class to wrap a kb_action and its argument
11004
11005         * BufferView.[Ch]:
11006         * BufferView_pimpl[Ch]:
11007         * LaTeX.C:
11008         * LyXAction.[Ch]:
11009         * lyxfunc.[Ch]:
11010         * lyxrc.C: subsequent changes
11011
11012
11013 2002-08-07  John Levon  <levon@movementarian.org>
11014
11015         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11016           document options change.
11017
11018 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11019
11020         * counters.[Ch]
11021         * text2.C
11022         * paragraph.[Ch]
11023         * makefile.am: move counters functionality over from
11024         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11025
11026 2002-08-06  John Levon  <levon@movementarian.org>
11027
11028         * WordLangTuple.h: new file for word + language code tuple
11029
11030         * SpellBase.h:
11031         * pspell.h:
11032         * pspell.C:
11033         * ispell.h:
11034         * ispell.C:
11035         * lyxtext.h:
11036         * text.C:
11037         * text2.C:
11038         * BufferView.h:
11039         * BufferView2.C: use WordLangTuple
11040
11041         * layout.h:
11042         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11043
11044 2002-08-06  John Levon  <levon@movementarian.org>
11045
11046         * lyx_main.C: fix cmdline batch handling
11047
11048 2002-08-06  André Pönitz <poenitz@gmx.net>
11049
11050         * lyxrc.C: set default for show_banner to true
11051
11052 2002-08-06  John Levon  <levon@movementarian.org>
11053
11054         * pspell.C: fix a crash, and allow new aspell to work
11055
11056 2002-08-06  John Levon  <levon@movementarian.org>
11057
11058         * lyxfunc.C:
11059         * kbmap.C: small cleanup
11060
11061         * vspace.h:
11062         * vspace.C: add const
11063
11064 2002-08-05  John Levon  <levon@movementarian.org>
11065
11066         * LyXAction.C: back to tabular-insert
11067
11068 2002-08-04  John Levon  <levon@movementarian.org>
11069
11070         * BufferView.h:
11071         * BufferView.C: cosmetic change
11072
11073         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11074
11075         * bufferlist.C:
11076         * buffer.h:
11077         * buffer.C:
11078         * lyxcb.h:
11079         * lyxcb.C:
11080         * lyxserver.C:
11081         * lyxvc.C:
11082         * vc-backend.C:
11083         * BufferView2.C: purge all "Lyx" not "LyX" strings
11084
11085         * lyxcursor.h:
11086         * lyxcursor.C: attempt to add some documentation
11087
11088         * lyxfunc.C:
11089         * commandtags.h:
11090         * LyXAction.C:
11091         * ToolbarDefaults.C:
11092         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11093           merge with LFUN_TABULAR_INSERT
11094
11095         * Makefile.am:
11096         * SpellBase.h:
11097         * ispell.h:
11098         * ispell.C:
11099         * pspell.h:
11100         * pspell.C: split up i/pspell implementations into separate
11101           files, many cleanups
11102
11103         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11104
11105         * text2.C: some cleanup
11106
11107         * lyxfunc.C: don't check for isp_command == "none" any more, it
11108           didn't make any sense
11109
11110 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11111
11112         * counters.[Ch]
11113         * text2.C
11114         * paragraph.[Ch]
11115         * makefile.am: move counters functionality over
11116         from text2.C/paragraph.[Ch] to counters.[Ch], and
11117         make proper C++.
11118 2002-08-02  John Levon  <levon@movementarian.org>
11119
11120         * buffer.C: s/lyxconvert/lyx2lyx/
11121
11122 2002-08-02  Angus Leeming  <leeming@lyx.org>
11123
11124         * lyxlex.C: revert John's change as it breaks reading of the user
11125         preamble.
11126
11127 2002-08-02  Angus Leeming  <leeming@lyx.org>
11128
11129         * importer.C (Import):
11130         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11131         changes due to LyXView::view() now returning a boost::shared_ptr.
11132
11133 2002-08-02  John Levon  <levon@movementarian.org>
11134
11135         * lyxlex.C: small cleanup
11136
11137 2002-08-02  John Levon  <levon@movementarian.org>
11138
11139         * text2.C (status): small cleanup, no logic change
11140
11141 2002-08-01  John Levon  <levon@movementarian.org>
11142
11143         * buffer.h:
11144         * buffer.C (writeFile): don't output alerts, caller
11145           handles this
11146
11147         * bufferlist.C:
11148         * lyx_cb.C: from above
11149
11150         * lyxfunc.C: allow to open non-existent files
11151
11152 2002-07-31  John Levon  <levon@movementarian.org>
11153
11154         * lyxserver.C: don't let incidental errors get
11155           in the way (errno)
11156
11157 2002-07-30  John Levon  <levon@movementarian.org>
11158
11159         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11160
11161 2002-07-30  John Levon  <levon@movementarian.org>
11162
11163         * lyxserver.h:
11164         * lyxserver.C: remove I/O callback too
11165
11166 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11167
11168         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11169         log.
11170
11171 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11172
11173         * many files: strip,frontStrip -> trim,ltrim,rtrim
11174
11175 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11176
11177         * PrinterParams.h: remove extern containsOnly, and include
11178         support/lstrings.h instead.
11179
11180         * LaTeX.C (scanAuxFile): modify because of strip changes
11181         (deplog): ditto
11182         * buffer.C (makeLaTeXFile): ditto
11183         * bufferparams.C (writeFile): ditt
11184         * lyxfont.C (stateText): ditto
11185         * lyxserver.C (read_ready): ditto
11186         * vc-backend.C (scanMaster): ditto
11187
11188         * BufferView_pimpl.h: ws changes
11189
11190         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11191
11192 2002-07-26  André Pönitz <poenitz@gmx.net>
11193
11194         * kb_sequence.C: remove unnedred usings
11195
11196 2002-07-26  Juergen Vigna  <jug@sad.it>
11197
11198         * lyxfind.C (LyXReplace): we have to check better if the returned
11199         text is not of theLockingInset()->getLockingInset().
11200
11201 2002-07-25  Juergen Vigna  <jug@sad.it>
11202
11203         * lyxfind.C (LyXReplace): don't replace if we don't get the
11204         right LyXText.
11205
11206         * undo_funcs.C (createUndo): remove debugging code.
11207
11208 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11209
11210         * buffer.C (parseSingleLyXformat2Token): Use default placement
11211         when reading old floats.
11212
11213         * FloatList.C (FloatList): Change the default placement of figure
11214         and tables to "tbp".
11215
11216 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * MenuBackend.C: using std::max
11219
11220 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * MenuBackend.C (expandToc):
11223         (expandToc2): code moved from xforms menu frontend. It is now
11224         generic and TOCs are transparent to menu frontends.
11225
11226 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11227
11228         * toc.C (getTocList): protect against buf=0
11229
11230         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11231         Menu as first parameter. Now, this calls itself recursively to
11232         expand a whole tree (this will be useful for TOC handling)
11233         (expandFloatInsert): remove 'wide' version of floats
11234
11235         * MenuBackend.h (submenuname): returns the name of the submenu.
11236         (submenu): returns the submenu itself, provided it has been
11237         created by MenuBackend::expand
11238
11239 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11242         insets which have noFontChange == true. (bug #172)
11243
11244 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * BufferView_pimpl.C: add connection objects and use them...
11247         (Pimpl): here.
11248
11249 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * MenuBackend.C (expandLastfiles):
11252         (expandDocuments):
11253         (expandFormats):
11254         (expandFloatListInsert):
11255         (expandFloatInsert):
11256         (expand): split expand in parts
11257
11258 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyx_gui.C: use lyx_gui::exit()
11261
11262 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * LyXAction.C: show the failing pseudo action
11265
11266 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11267
11268         * buffer.C (readFile): Run the lyxconvert script in order to read
11269         old files.
11270
11271 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * LyXAction.C:
11274         * commandtags.h:
11275         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11276
11277 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * LyXAction.C:
11280         * commandtags.h:
11281         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11282
11283 2002-07-22  Herbert Voss  <voss@lyx.org>
11284
11285         * lengthcommon.C:
11286         * lyxlength.[Ch]: add support for the vertical lengths
11287
11288 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * toc.[Ch]: std:: fixes
11291
11292 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * lyxrc.C: do not include lyx_main.h
11295
11296         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11297         for layouts
11298
11299         * lyxrc.C:
11300         * encoding.C:
11301         * bufferlist.C:
11302         * BufferView2.C: include "lyxlex.h"
11303
11304         * tabular.h:
11305         * bufferparams.h: do not #include "lyxlex.h"
11306
11307         * lyxtextclasslist.C (Add): remove method
11308         (classlist): renamed to classlist_
11309
11310         * paragraph_pimpl.C:
11311         * paragraph.C:
11312         * text2.C:
11313         * CutAndPaste.C:
11314         * bufferview_funcs.C:
11315         * bufferlist.C:
11316         * text.C:
11317         * LaTeXFeatures.C:
11318         * buffer.C:
11319         * toc.C (getTocList): use BufferParams::getLyXTextClass
11320
11321         * toc.C (getTocList): use InsetFloat::addToToc
11322
11323         * toc.[Ch]: new files, containing helper functions to handle table
11324         of contents
11325
11326         * lyxfunc.C (dispatch): no need to remove spaces around command
11327         given as a string
11328         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11329         first command of the sequence; it is not very clever, but I do not
11330         have a better idea, actually
11331
11332         * LyXAction.C (LookupFunc): make sure to remove space at the
11333         beginning and end of the command
11334
11335 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * MenuBackend.C (getMenubar): new method: return the menubar of
11338         this menu set
11339         (read): treat differently reading of menu and menubar (in
11340         particular, the menubar has no name now)
11341         (Menu::menubar): remove
11342
11343         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11344         saving is finished
11345
11346 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11349         a bibitem inset in a RTL paragraph.
11350
11351 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * paragraph_pimpl.C: constify
11354
11355         * BufferView_pimpl.C:
11356         * LaTeX.C:
11357         * lyxfunc.C: fix dispatch in a nicer way
11358
11359 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * lyxfunc.C (dispatch):
11362         * BufferView_pimpl.C:
11363         * BufferView_pimpl.h:
11364         * BufferView.C:
11365         * BufferView.h: rename Dispatch() to dispatch()
11366
11367         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11368
11369         * lyxlayout.C (Read): honor DependsOn tag
11370
11371         * lyxlayout.[Ch] (depends_on): new method
11372
11373         * version.C.in: update lyx_docversion
11374
11375         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11376
11377         * paragraph.C (validate): remove from here...
11378         * paragraph_pimpl.C (validate): ... and move here
11379         (isTextAt): make it const
11380
11381         * buffer.C (getLists): ws cleanup
11382
11383 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * language.C (read): Use iso8859-1 encoding in latex_lang
11386         (this prevents LyX from crashing when using iso10646-1 encoding).
11387
11388 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11389
11390         * text2.C (toggleInset): if cursor is inside an inset, close the
11391         inset and leave cursor _after_ it
11392
11393 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * lyxfunc.C: move minibuffer completion handling out of here
11396
11397 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * BufferView_pimpl.C:
11400         * LaTeX.C: fix dispatch calls
11401
11402 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * text.C (drawChars): Fix Arabic text rendering.
11405
11406 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * LyXAction.C:
11409         * commandtags.h:
11410         * lyxfunc.C: remove message-push/pop
11411
11412         * lyxserver.C:
11413         * lyxfunc.h:
11414         * lyxfunc.C: rationalise some code by removing verboseDispatch
11415           in favour of a bool argument to dispatch()
11416
11417 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * lyx_main.C (init): make sure to read symlinks as absolute paths
11420
11421 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * lyxfunc.h:
11424         * lyxfunc.C: no need for commandshortcut to be a member
11425
11426 2002-07-15  André Pönitz <poenitz@gmx.net>
11427
11428         * converter.C: add support for $$s (scripts from lib/scripts dir)
11429         * lyx_main.C: white space
11430
11431 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * bufferlist.C:
11434         * lyxrc.h:
11435         * lyxrc.C: remove second exit confirmation
11436
11437 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView.h:
11440         * BufferView.C:
11441         * BufferView2.C:
11442         * BufferView_pimpl.h:
11443         * BufferView_pimpl.C:
11444         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11445
11446 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11447
11448         * MenuBackend.C (expand): add numeric shortcuts to document menu
11449
11450         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11451
11452 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * lyxfont.C (setLyXFamily):
11455         (setLyXSeries):
11456         (setLyXShape):
11457         (setLyXSize):
11458         (setLyXMisc):
11459         (lyxRead):
11460         * debug.C (value):
11461         * buffer.C (asciiParagraph): use ascii_lowercase
11462
11463 2002-07-15  Mike Fabian  <mfabian@suse.de>
11464
11465         * lyxlex_pimpl.C (search_kw):
11466         * lyxlex.C (getLongString):
11467         * converter.h (operator<):
11468         * converter.C (operator<):
11469         * buffer.C (parseSingleLyXformat2Token):
11470         (asciiParagraph):
11471         * ToolbarDefaults.C (read):
11472         * MenuBackend.C (checkShortcuts):
11473         (read):
11474         * LColor.C (getFromGUIName):
11475         (getFromLyXName): use the compare_ascii_no_case instead of
11476         compare_no_case, because in turkish, 'i' is not the lowercase
11477         version of 'I', and thus turkish locale breaks parsing of tags.
11478
11479 2002-07-16  Angus Leeming  <leeming@lyx.org>
11480
11481         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11482         now takes a Buffer const & argument.
11483
11484 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * BufferView.C (resize): check there's a buffer to resize
11487
11488 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * lyxfunc.C: remove dead code
11491
11492         * lyxserver.h:
11493         * lyxserver.C: use lyx_guii::set_read_callback
11494
11495 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11496
11497         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11498         an inset in a RTL paragraph.
11499
11500 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * lyxfunc.C: repaint after a font size update
11503
11504 2002-07-15  André Pönitz <poenitz@gmx.net>
11505
11506         * lyxlength.C: inBP should be able to return negative values
11507
11508 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * lyxfunc.C: use lyx_gui::update_fonts()
11511
11512 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * lyxfunc.C: use lyx_gui::update_color()
11515
11516 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * bufferlist.C:
11519         * lyxfunc.h:
11520         * lyxfunc.C:
11521         * lyxrc.h:
11522         * lyxrc.C: remove file->new asks for name option, and let
11523           buffer-new take an argument
11524
11525 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * BufferView_pimpl.C: remove unneeded extra repaint()
11528
11529 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * LyXAction.C: allow command-sequence with NoBuffer
11532
11533         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11534
11535 2002-07-10  Angus Leeming  <leeming@lyx.org>
11536
11537         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11538
11539 2002-07-09  Angus Leeming  <leeming@lyx.org>
11540
11541         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11542
11543 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lengthcommon.h: whitespace
11546
11547         * lyxfunc.C: update scrollbar after goto paragraph
11548
11549         * lyxtext.h: factor out page break drawing, and fix it so
11550           page break/added space paints as selected nicely
11551
11552 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * BufferView_pimpl.C: add FIXMEs, clean up a little
11555
11556 2002-07-09  André Pönitz <poenitz@gmx.net>
11557
11558         * lyxfont.[Ch]: support for wasy symbols
11559
11560 2002-07-08  André Pönitz <poenitz@gmx.net>
11561
11562         * BufferView_pimpl.C: apply John's patch for #93.
11563
11564 2002-07-05  Angus Leeming  <leeming@lyx.org>
11565
11566         * BufferView_pimpl.C (buffer): generate previews if desired.
11567
11568         * LColor.h: add "preview" to the color enum.
11569
11570         * LColor.C (LColor): add a corresponding entry to the items array.
11571
11572         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11573         with this buffer.
11574
11575 2002-07-05  Angus Leeming  <leeming@lyx.org>
11576
11577         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11578         The body of the code is now in the method that is passed an ostream &
11579         rather than a file name.
11580         Pass an additional only_preamble parameter, useful for the forthcoming
11581         preview stuff.
11582
11583 2002-07-03  André Pönitz <poenitz@gmx.net>
11584
11585         * lyxfunc.C: simplify getStatus() a bit for math stuff
11586
11587 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11590
11591 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * text.C (changeRegionCase): do not change case of all the
11594         document when region ends at paragraph end (bug #461)
11595
11596 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * paragraph.C (startTeXParParams):
11599         (endTeXParParams): add \protect when necessary
11600
11601 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * BufferView_pimpl.C (workAreaExpose): remove warning
11604
11605 2002-06-27  Angus Leeming  <leeming@lyx.org>
11606
11607         * Makefile.am: add lyxlayout_ptr_fwd.h.
11608
11609 2002-06-26  André Pönitz <poenitz@gmx.net>
11610
11611         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11612
11613 2002-06-25  Angus Leeming  <leeming@lyx.org>
11614
11615         * lyxfunc.C (dispatch): Comment out the call to
11616         grfx::GCache::changeDisplay. The method no longer exists now that the
11617         pixmap generation part of the graphics loader has been moved into
11618         InsetGraphics.
11619
11620 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * text2.C: layout as layout
11623
11624         * text.C: layout as layout
11625
11626         * tabular.C (OldFormatRead): layout as layout
11627
11628         * paragraph_pimpl.C (TeXDeeper): layout as layout
11629         (realizeFont): layout as layout
11630
11631         * paragraph.C (writeFile): layout as layout
11632         (validate): layout as layout
11633         (getFont): layout as layout
11634         (getLabelFont): layout as layout
11635         (getLayoutFont): layout as layout
11636         (breakParagraph): layout as layout
11637         (stripLeadingSpaces): layout as layout
11638         (getEndLabel): layout as layout
11639         (getMaxDepthAfter): layout as layout
11640         (applyLayout): layout as layout
11641         (TeXOnePar): layout as layout
11642         (simpleTeXOnePar): layout as layout
11643         (TeXEnvironment): layout as layout
11644         (layout): layout as layout
11645         (layout): layout as layout
11646
11647         * lyxtextclass.C (compare_name): new functor to work with
11648         shared_ptr, layout as layout
11649         (Read): layout as layout
11650         (hasLayout): layout as layout
11651         (operator): layout as layout
11652         (delete_layout): layout as layout
11653         (defaultLayout): layout as layout
11654
11655         * lyxlayout_ptr_fwd.h: new file
11656
11657         * lyxlayout.C (Read): layout as layout
11658
11659         * lyx_cb.C (MenuInsertLabel): layout as layout
11660
11661         * bufferlist.C (newFile): layout as layout
11662
11663         * buffer.C (readLyXformat2): layout as layout
11664         (parseSingleLyXformat2Token): layout as layout
11665         (insertStringAsLines): layout as layout
11666         (asciiParagraph): layout as layout
11667         (latexParagraphs): layout as layout
11668         (makeLinuxDocFile): layout as layout
11669         (simpleLinuxDocOnePar): layout as layout
11670         (makeDocBookFile): layout as layout
11671         (simpleDocBookOnePar): layout as layout
11672         (getLists): layout as layout
11673
11674         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11675
11676         * CutAndPaste.C (cutSelection): layout as layout
11677         (pasteSelection): layout as layout
11678         (SwitchLayoutsBetweenClasses): layout as layout
11679
11680         * BufferView_pimpl.C (Dispatch): layout as layout
11681         (smartQuote): layout as layout
11682
11683         * BufferView2.C (unlockInset): layout as layout
11684
11685 2002-06-24  André Pönitz <poenitz@gmx.net>
11686
11687         * lyxfunc.C: fix #487
11688
11689 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * lyxrc.h:
11692         * lyxrc.C:
11693         * lyxfunc.C: remove display_shortcuts, show_banner
11694
11695 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * Buffer_pimpl.C: oops, update on resize
11698
11699 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * buffer.C:
11702         * converter.C:
11703         * exporter.C:
11704         * lyxfunc.C:
11705         * BufferView.h:
11706         * BufferView.C: use repaint()
11707
11708         * BufferView_pimpl.h:
11709         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11710           as it's a clearer description. Remove superfluous
11711           redraws.
11712
11713 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * text.C: fix bug 488. Not ideal, but getting
11716           getWord() to work properly for the insets that
11717           matter is more difficult ...
11718
11719 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * BufferView_pimpl.C:
11722         * LyXAction.C:
11723         * commandtags.h:
11724         * lyxfunc.C: remove the six million index lyxfuncs to just
11725           one, and DTRT (bug 458)
11726
11727 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * BufferView.h:
11730         * BufferView.C:
11731         * BufferView_pimpl.h:
11732         * BufferView_pimpl.C: clean up resize() stuff,
11733           and unnecessary updateScreen()s
11734
11735 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * BufferView.h:
11738         * BufferView.C:
11739         * BufferView_pimpl.h:
11740         * BufferView_pimpl.C:
11741         * lyxfind.h:
11742         * lyxfind.C:
11743         * minibuffer.C: remove focus management of workarea,
11744           not needed. Use screen's greyOut()
11745
11746 2002-06-17  Herbert Voss  <voss@lyx.org>
11747
11748         * converter.C: (convert) do not post a message, when converting
11749         fails, let the calling function decide what to do in this case
11750
11751 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * lyxfunc.C: tidy up a little
11754
11755 2002-06-16    <alstrup@diku.dk>
11756
11757         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11758         Got rid of FORMS_H_LOCATION include. Now we are
11759         GUII.
11760
11761 2002-06-15  LyX Development team  <lyx@rilke>
11762
11763         * buffer.[Ch] (sgmlOpenTag):
11764         (sgmlCloseTag): Added support for avoiding pernicious mixed
11765         content. Return number of lines written.
11766
11767         (makeLinuxDocFile):
11768         (makeDocBookFile): Fixed calls to sgml*Tag.
11769         Simple white space clean.
11770
11771         (simpleDocBookOnePar): Simple white space clean.
11772
11773         * tabular.[Ch] (docBook): Renamed to docbook and got another
11774         argument to related with the pernicious mixed content.
11775
11776         (docbookRow): Fixed calls for docbook inset method.
11777
11778 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11779
11780         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11781         so it's X11 independent.
11782
11783         * kb*.[Ch]: ditto.
11784
11785         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11786
11787 2002-06-15  Lyx Development team  <lyx@electronia>
11788
11789         * intl.h: Renamed getTrans to getTransManager.
11790
11791 2002-06-14  Angus Leeming  <leeming@lyx.org>
11792
11793         * Makefile.am: nuke forgotten stl_string_fwd.h.
11794
11795 2002-06-12  Angus Leeming  <leeming@lyx.org>
11796
11797         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11798
11799 2002-06-13  Angus Leeming  <leeming@lyx.org>
11800
11801         * LaTeX.C:
11802         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11803
11804 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11805
11806         * kbmap.C (getiso): add support for cyrillic and greek
11807
11808 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * BufferView.h:
11811         * BufferView.C:
11812         * BufferView_pimpl.h:
11813         * BufferView_pimpl.C: move bogus scrolling logic
11814           to xforms
11815
11816 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * lyxfunc.C:
11819         * BufferView_pimpl.C: view->resize() change
11820
11821 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * BufferView_pimpl.C: topCursorVisible
11824           prototype change
11825
11826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * Makefile.am:
11829         * lyx_gui.h:
11830         * lyx_gui.C: move to frontends/
11831
11832         * main.C:
11833         * lyx_main.h:
11834         * lyx_main.C: changes from above
11835
11836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * intl.C:
11839         * intl.h:
11840         * kbmap.C:
11841         * kbsequence.C:
11842         * lyx_cb.C:
11843         * lyx_main.C: minor tidy
11844
11845 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * BufferView_pimpl.h:
11848         * BufferView_pimpl.C:
11849         * BufferView.h:
11850         * BufferView.C: make painter() const,
11851           remove dead code
11852
11853         * BufferView2.C: use screen() accessor
11854
11855         * lyx_main.h:
11856         * lyx_main.C: some minor cleanup
11857
11858 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * BufferView_pimpl.h:
11861         * BufferView_pimpl.C: remove enter/leaveView,
11862           use workHeight()
11863
11864 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * BufferView.h:
11867         * BufferView.C:
11868         * BufferView2.C:
11869         * BufferView_pimpl.h:
11870         * BufferView_pimpl.C: only construct screen once,
11871           rename
11872
11873         * lyxrc.C: remove pointless comment
11874
11875 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11876
11877         * BufferView.h:
11878         * BufferView.C: remove active() and belowMouse()
11879
11880         * BufferView_pimpl.h:
11881         * BufferView_pimpl.C: use workarea() not workarea_,
11882           and make it use a scoped_ptr instead
11883
11884 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * lyx_gui.C: add debug message on BadWindow
11887
11888 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * sp_spell.C: fdopen is not part of the C++ standard.
11891
11892         * paragraph.C (InsetIterator): use >= instead of ==
11893
11894 2002-06-07  Angus Leeming  <leeming@lyx.org>
11895
11896         Fixes needed to compile with Compaq cxx 6.5.
11897         * BufferView_pimpl.C:
11898         * DepTable.C:
11899         * buffer.C:
11900         * converter.C:
11901         * encoding.C:
11902         * lyx_gui.C:
11903         * lyx_main.C:
11904         * lyxtextclasslist.C:
11905         * minibuffer.C:
11906         * sp_spell.C:
11907         * tabular_funcs.C:
11908         * vc-backend.C:
11909         all c-library variables have been moved into namespace std. Wrap
11910         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11911
11912         * lyxlength.C:
11913         * tabular-old.C:
11914         * tabular.C:
11915         Add a using std::abs declaration.
11916
11917         * kbmap.h (modifier_pair):
11918         * paragraph.h (InsetTable, InsetList):
11919         * lyxfont.h (FontBits):
11920         type definition made public.
11921
11922         * bufferlist.C (emergencyWriteAll): the compiler complains that
11923         there is more than one possible lyx::class_fun template to choose from.
11924         I re-named the void specialisation as lyx::void_class_fun.
11925
11926         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11927
11928         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11929         the compiler is is unable to find tostr in write_attribute.
11930
11931 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * buffer.C (sgmlError): hide #warning
11934
11935 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11936
11937         * xtl/*: get rid of xtl, which is not in use anyway
11938
11939         * LyXAction.C (init):
11940         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11941         were unimplemented xtl experimentation
11942
11943 2002-06-04  André Pönitz <poenitz@gmx.net>
11944
11945         * lyxfunc.C: disable array operation on simple formulae
11946
11947 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * converter.C: constify a bit
11950
11951 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyx_gui.C: check xforms version correctly
11954
11955 2002-04-30  Herbert Voss  <voss@lyx.org>
11956
11957         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11958         "keep" option
11959
11960 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11963           attempt to register it with a VCS)
11964
11965 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * lyx_main.C (init): honor variables LYX_DIR_13x and
11968         LYX_USERDIR_13x
11969
11970 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * buffer.h:
11973         * buffer.C:
11974         * lyx_main.C: fix a crash on bad command line,
11975           and give a useful exit status on error
11976
11977         * lyxfunc.C (doImport): allow -i lyx to work
11978
11979 2002-03-30  André Pönitz <poenitz@gmx.net>
11980
11981         * lyxfunc.C: mathed font changes
11982
11983 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * LaTeX.C:
11986         * importer.h:
11987         * importer.C:
11988         * lyx_sty.h:
11989         * lyx_sty.C:
11990         * lyxlex.C:
11991         * lyxrow.h:
11992         * lyxtext.h:
11993         * paragraph.h:
11994         * paragraph.C:
11995         * texrow.h:
11996         * texrow.C:
11997         * text.C:
11998         * trans_mgr.h: srcdocs, and some minor cleanups
11999
12000 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12003         call getFont all the time)
12004
12005 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * switch from SigC signals to boost::signals
12008
12009 2002-05-29  André Pönitz <poenitz@gmx.net>
12010
12011         * paragraph_pimpl.C (getChar): don't call size() too often...
12012
12013 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * paragraph_pimpl.C (insertChar): do not try to update tables when
12016         appending (pos == size())
12017
12018         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12019         in order to reduce drastically the number of comparisons needed to
12020         parse a large document
12021
12022 2002-05-29  André Pönitz <poenitz@gmx.net>
12023
12024         * text.C:
12025         * text2.C:
12026         * lyxtextclass.C:
12027         * sp_pspell.h:
12028         * textclasslist.[Ch]:
12029         * sp_ispell.h: whitespace change
12030
12031 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12034         lyxaction directly now.
12035
12036 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * trans.C:
12039         * lyxfont.C:
12040         * lyxvc.C: remove unused headers
12041
12042 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * Makefile.am:
12045         * buffer.h:
12046         * undostack.h:
12047         * undostack.C:
12048         * undo_funcs.h:
12049         * undo_funcs.C: some cleanups. Use shared_ptr
12050           and a template for the undo stacks.
12051
12052 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * BufferView_pimpl.h:
12055         * BufferView_pimpl.C:
12056         * kbmap.h:
12057         * kbmap.C:
12058         * kbsequence.h:
12059         * kbsequence.C:
12060         * lyxfunc.h:
12061         * lyxfunc.C:
12062         * text2.C: use key_state/mouse_state
12063
12064 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12067         and LSubstring
12068
12069         * chset.C: change include order
12070         (loadFile): use boost regex and get rid of LRegex and LSubstring
12071
12072         * Makefile.am (BOOST_LIBS): new variable
12073         (lyx_LDADD): use it
12074
12075         * LaTeX.C: change include order.
12076         (scanAuxFile): use boost regex and get rid of LRegex and
12077         LSubstring
12078         (deplog): ditto
12079
12080 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * ColorHandler.h:
12083         * ColorHandler.C:
12084         * FontInfo.h:
12085         * FontInfo.C: moved to frontends/xforms/
12086
12087         * FontLoader.h:
12088         * FontLoader.C: moved into frontends for GUIIzation
12089
12090         * Makefile.am:
12091         * lyx_gui.C:
12092         * lyxfont.C:
12093         * lyxfunc.C: changes from above
12094
12095 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * LColor.C: remove spurious X include
12098
12099         * BufferView_pimpl.C:
12100         * Makefile.am:
12101         * font.h:
12102         * font.C:
12103         * text.C:
12104         * text2.C: move font metrics to frontends/
12105
12106 2002-05-24  Juergen Vigna  <jug@sad.it>
12107
12108         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12109         setting the undo_cursor.
12110
12111         * ParagraphParameters.h: include local includes first.
12112
12113 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * BufferView_pimpl.C:
12116         * BufferView_pimpl.h:
12117         * Makefile.am:
12118         * WorkArea.h:
12119         * WorkArea.C:
12120         * screen.C: move WorkArea into frontends/
12121
12122         * lyxscreen.h:
12123         * screen.C:
12124         * text.C:
12125         * BufferView.C:
12126         * BufferView2.C: move LyXScreen into frontends/
12127
12128         * lyxlookup.h:
12129         * lyxlookup.C:
12130         * lyx_gui.C: move lyxlookup into frontends/xforms/
12131
12132 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView2.C:
12135         * BufferView_pimpl.C:
12136         * FontLoader.C:
12137         * LyXView.h:
12138         * LyXView.C:
12139         * Makefile.am:
12140         * WorkArea.C:
12141         * XFormsView.h:
12142         * XFormsView.C:
12143         * buffer.C:
12144         * bufferlist.C:
12145         * bufferview_funcs.C:
12146         * converter.C:
12147         * importer.C:
12148         * lyx_cb.C:
12149         * lyx_gui.C:
12150         * lyx_main.C:
12151         * lyx_find.C:
12152         * lyxfunc.C:
12153         * lyxvc.C:
12154         * minibuffer.C:
12155         * text.C:
12156         * text2.C:
12157         * trans.C:
12158         * vc-backend.C: move LyX/XFormsView into frontends/
12159
12160 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * Makefile.am:
12163         * PainterBase.C:
12164         * PainterBase.h:
12165         * Painter.C:
12166         * Painter.h:
12167         * WorkArea.C:
12168         * WorkArea.h:
12169         * screen.C:
12170         * tabular.C:
12171         * text.C:
12172         * text2.C: move Painter to frontends/
12173
12174 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * buffer.C: comment out some some code that depend upon lyx_format
12177         < 220
12178
12179         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12180         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12181
12182         * buffer.h (NO_COMPABILITY): turn off compability
12183
12184         * ColorHandler.C: include scoped_array.hpp
12185
12186         * font.C: Use more specific smart_ptr header.
12187         * Painter.C: ditto
12188         * gettext.C: ditto
12189         * ShareContainer.h: ditto
12190         * lyx_main.h: ditto
12191         * kbmap.h: ditto
12192         * FontInfo.h: ditto
12193         * BufferView_pimpl.h: ditto
12194         * ColorHandler.h: ditto
12195
12196         * kbmap.C (defkey): change call to shared_ptr::reset
12197
12198 2002-05-21  Juergen Vigna  <jug@sad.it>
12199
12200         * buffer.C (insertErtContents): fix to insert ert asis if it is
12201         non empty. Skip it completely if it contains only whitespaces.
12202
12203 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * BufferView_pimpl.C:
12206         * BufferView2.C: clear selection on paste (bug 393)
12207
12208 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * DepTable.C: include ctime
12211
12212 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12213
12214         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12215
12216 2002-05-14  Juergen Vigna  <jug@sad.it>
12217
12218         * text.C (breakParagraph): fixed function to honor the keepempty
12219         layout in the right maner and also to permit the right breaking
12220         algorithm on empty or non empyt keepempty paragraphs.
12221
12222         * paragraph.C (breakParagraph): we have to check also if the par
12223         is really empty (!size()) for isempty otherwise we do the wrong
12224         paragraph break.
12225
12226 2002-05-10  Juergen Vigna  <jug@sad.it>
12227
12228         * buffer.[Ch] : The following are only changes to the ert
12229         compatibility read reading old LaTeX layout and font stuff and
12230         convert it to ERTInsets.
12231
12232         * buffer.h: added isErtInset().
12233
12234         * buffer.C (struct ErtComp): add a fromlayout bool to check
12235         if we're inside a LaTeX layout.
12236         (isErtInset): new helper function.
12237         (insertErtContents): look for other ert insets before this one
12238         and insert the contents there, so that we don't have subsequent
12239         ERT insets with nothing between them. This way we create only one
12240         inset with multiple paragraphs. Also check if we don't insert only
12241         spaces ' ' as they are ignored anyway afterwards in the .tex file
12242         so if we have only spaces we will ignore this latex part in the
12243         new file.
12244         (parseSingleLyXformat2Token \\layout): better compatibility when
12245         reading layout-latex stuff.
12246         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12247         language tag.
12248         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12249         stuff after reading the inset only get the information back from
12250         the stack.
12251
12252 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12253
12254         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12255
12256         * LaTeXFeatures.C (getBabelOptions): New method.
12257
12258 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * BufferView_pimpl.C (Dispatch): work around missing argument for
12261         'layout'
12262
12263 2002-05-08  Juergen Vigna  <jug@sad.it>
12264
12265         * text.C (leftMargin): handle paragraph leftindent.
12266
12267         * paragraph.C (writeFile): write the new \\leftindent tag.
12268         (validate): handle leftindent code.
12269         (TeXEnvironment): handle paragraphleftindent code again.
12270
12271         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12272
12273         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12274         for paragrap_extra indent code and new token \\leftindent.
12275         (latexParagraphs): handle the leftindent as environment.
12276
12277         * ParameterStruct.h: added leftindent support.
12278
12279         * ParagraphParameters.C (leftIndent): added support functions for
12280         the paragraph left indent.
12281
12282         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12283         more appropriate.
12284
12285 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12286
12287         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12288         inside insetERT.
12289
12290         * text.C (computeBidiTables): No bidi in insetERT.
12291
12292         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12293         in RTL documents.
12294
12295 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * version.C.in: pre 5
12298
12299 2002-05-02  José Matos  <jamatos@fep.up.pt>
12300         * buffer.C (makeDocBookFile): white space changes, add newline to
12301         command styles.
12302         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12303
12304         * tabular.C (docBook): fix typo.
12305
12306 2002-05-03  Juergen Vigna  <jug@sad.it>
12307
12308         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12309         change in LyXText as we can not be sure it was not freed.
12310         (drawOneRow): remove unused code.
12311
12312         * text.C (drawInset): redo the calculation of the need_break_row as
12313         it could have a row which was already freed.
12314         (draw): look at the return value of drawInset and return false if
12315         it also returned false.
12316         (paintRowText): look at the return value of draw and return false if
12317         it also returned false.
12318
12319         * lyxtext.h: added bool return type to drawInset() and draw() so that
12320         if we have a change in the row so that the rowbreak has to be redone
12321         we abort drawing as it will be called again.
12322
12323 2002-05-02  Juergen Vigna  <jug@sad.it>
12324
12325         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12326         a change in the maintext also if we're inside an inset.
12327         (Dispatch): set the cursor again after a break line and after the
12328         screen has been updated as it could be we're in a different row.
12329
12330         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12331         to set the cursor behind the pargraph with > size().
12332         (setCursor): check also for the same paragraph when checking where
12333         to put the cursor if we have a NFR inset.
12334
12335         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12336         parts of layout read further up as it still was in the wrong
12337         position.
12338
12339 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * screen.C (drawFromTo): change sine fullRebreak always return
12342         true.
12343
12344         * buffer.C (parseSingleLyXformat2Token): reindent some
12345
12346         * BufferView_pimpl.C (update): change since fullRebreak always
12347         return true.
12348         (Dispatch): git rid of the last hardcoded "Standard"s.
12349
12350 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * text2.[Ch] (fullRebreak): make it return void now that we always
12353         returned true.
12354
12355 2002-04-30  Juergen Vigna  <jug@sad.it>
12356
12357         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12358         ert compatibility check for "latex" layout.
12359
12360 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12363         minipages: use col% instead of p%, and also use the current font.
12364         (makeLaTeXFile): Fix use babel condition.
12365         (parseSingleLyXformat2Token): Correct font when reading old floats.
12366
12367 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12370         inserting list of floats.
12371
12372 2002-04-25  Herbert Voss  <voss@lyx.org>
12373
12374         * MenuBackend.C (expand): don't add the graphics extensions to the
12375         export menu
12376
12377 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12378
12379         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12380         non-existing layout, do not complain if it was the default layout
12381         of the original class (bug #342)
12382
12383 2002-04-24  Juergen Vigna  <jug@sad.it>
12384
12385         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12386         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12387
12388 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * buffer.C (getBibkeyList): If using \bibliography, return the
12391         option field with the reference itself. Enables us to provide natbib
12392         support when using \bibliography.
12393
12394 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12395
12396         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12397
12398         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12399         natbib is provided by the LaTeX class.
12400
12401 2002-04-23  Juergen Vigna  <jug@sad.it>
12402
12403         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12404         Wakeup functions.
12405
12406         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12407
12408 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12409
12410         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12411
12412         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12413         ensuremath around textordmasculine, textordfeminine and
12414         textdegree.
12415
12416 2002-04-19  Juergen Vigna  <jug@sad.it>
12417
12418         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12419         reinitializing the buffer otherwise row-dimensions may be wrong.
12420         (update): reset also the selection cursors if they do exits otherwise
12421         their x/y positions may be wrong.
12422
12423         * text2.C (cursorDown): don't enter the inset if we came from a row
12424         above and are one row over the inset.
12425
12426         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12427         really leaving an inset.
12428
12429 2002-04-18  Juergen Vigna  <jug@sad.it>
12430
12431         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12432         of the selected paragraph does not have the selected layout also if
12433         the last one had!
12434
12435         * text2.C (setLayout): fixed bug which did not change last selected
12436         paragraph.
12437
12438         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12439         changed the read and substituted \\end_float with \\end_inset!
12440
12441         * BufferView_pimpl.C (cursorPrevious):
12442         (cursorNext): fixed to make it work with rows heigher than the work
12443         area without moving the cursor only the draw of the row.
12444         (workAreaMotionNotify): fix jumping over high rows.
12445
12446 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12449         Ressler.
12450
12451 2002-04-16  Juergen Vigna  <jug@sad.it>
12452
12453         * text2.C (setCursor): set also the irow().
12454         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12455         (cursorUp):
12456         (cursorDown): support for locking an inset if the x_fix value goes
12457         inside it. That way I can transverse insets too with cursor up/down.
12458
12459         * lyxrow.h: added irow helper function same as other (i) functions.
12460
12461         * BufferView_pimpl.C (cursorPrevious):
12462         (cursorNext): fixed for insets!
12463
12464 2002-04-15  Juergen Vigna  <jug@sad.it>
12465
12466         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12467         position otherwise it is wrong in some cases.
12468
12469         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12470         inside the inset before the call.
12471
12472 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * buffer.[Ch] (getBibkeyList): make it const.
12475
12476 2002-04-12  Juergen Vigna  <jug@sad.it>
12477
12478         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12479
12480         * text2.C (getCursorX): new helper function
12481         (setCursor): compute also ix_
12482         (setCursorFromCoordinates): set also ix.
12483
12484         * lyxcursor.h: added ix_ and helper functions.
12485
12486         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12487
12488         * buffer.C (insertStringAsLines): dont break paragraph if the this
12489         paragraph is inside an inset which does not permit it!
12490
12491         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12492         also with no chars on this paragraph.
12493         (paintRowText): only paint stuff if it's inside the workarea!
12494
12495         * paragraph.C (breakParagraph): honor keepempty flag and break the
12496         paragraph always below not above.
12497
12498         * BufferView2.C (unlockInset): update the paragraph layout on inset
12499         unlock as we changed paragraph in such a case.
12500
12501         * lyxfind.C (LyXFind): clear the former selection if not found!
12502
12503         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12504         again called in insertChar().
12505
12506         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12507         an inset which uses the whole row!
12508         (rightMargin): ditto.
12509         (insertChar): force a rebreak if we inserted an inset!
12510
12511 2002-03-28  Herbert Voss  <voss@lyx.org>
12512
12513         * lyxlength.[Ch]: add inBP() to get the right PS-point
12514         units (BigPoint). With inPixels we have rounding errors
12515
12516 2002-04-11  Juergen Vigna  <jug@sad.it>
12517
12518         * text2.C (setCursorFromCoordinates): set iy to the right value.
12519         (setCursor): add check if row->previous exists!
12520
12521         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12522         an old float_type as this was the case in the old code!
12523
12524         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12525
12526         * BufferView2.C (showLockedInsetCursor): use iy
12527         (fitLockedInsetCursor): ditto
12528
12529         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12530         locked insets as there we have the right value now.
12531
12532         * lyxcursor.C: added iy_ variable and iy functions to set to the
12533         baseline of cursor-y of the locked inset.
12534
12535         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12536         (setCursor): fixed for insets which need a full row.
12537
12538         * text.C (rowLastPrintable): don't ignore the last space when before
12539         an inset which needs a full row.
12540         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12541         as last character of a row when before a inset which needs a full row.
12542
12543 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * version.C.in: update date
12546
12547         * text2.C (fullRebreak): try to always return true and see what
12548         happens...
12549
12550 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * MenuBackend.C (expand): use Floating::listName
12553
12554         * FloatList.C (FloatList): add listName argument to the built-in
12555         floats
12556
12557         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12558         text associated with the float.
12559
12560 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12561
12562         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12563
12564 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12565
12566         * ShareContainer.h: add a couple of missing typenames.
12567
12568 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * lyxrc.C (getDescription): use _() correctly rather than N_().
12571
12572 2002-03-28  Herbert Voss  <voss@lyx.org>
12573
12574         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12575         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12576
12577 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12580         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12581
12582 2002-03-29  Juergen Vigna  <jug@sad.it>
12583
12584         * lyxfunc.C (dispatch): add a missing fitCursor call.
12585
12586         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12587         it was scrolled by a cursor move, so return the bool status.
12588
12589         * BufferView.C (fitCursor): return the bool flag also to the outside
12590         world as this is needed.
12591
12592         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12593
12594         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12595         call the edit() as it is not needed (and wrong) IMO.
12596         (workAreaButtonPress): set the screen_first variable before evt.
12597         unlock the inset as this may change screen_first and then we have
12598         a wrong y position for the click!
12599
12600 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12601
12602         * MenuBackend.C (expand): another translation that I missed
12603
12604 2002-03-28  Juergen Vigna  <jug@sad.it>
12605
12606         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12607
12608         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12609
12610 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12611
12612         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12613
12614         * MenuBackend.C (expand): fix export/view/update when there is no
12615         document open.
12616
12617 2002-03-27  Herbert Voss  <voss@lyx.org>
12618
12619         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12620         and text%
12621
12622 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12623
12624         * bufferview_funcs.C (currentState): only show paragraph number
12625         for is DEVEL_VERSION is set.
12626
12627         * lyxfunc.C (dispatch): put warning in INFO channel
12628
12629         * MenuBackend.C (expand): translate the name of floats
12630
12631         * FloatList.C (FloatList): mark the float names for translation
12632
12633         * converter.C (convert): use LibScriptSearch
12634
12635 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * MenuBackend.C (defaults): fix default menu (we might as well get
12638         rid of it...)
12639
12640 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12643         directory.
12644
12645 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * lyxvc.C: reorder includes.
12648
12649 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12652           properly
12653
12654 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * CutAndPaste.C: change layouts earlier on paste
12657           to avoid crashing when calling getFont()
12658
12659 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12662         irritating #error.
12663
12664 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12665
12666         * WorkArea.C: remove 'Pending' debug message.
12667
12668         * most files: ws cleanup
12669
12670         * buffer.[Ch]: ws changes
12671
12672         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12673
12674 2002-03-21  Juergen Vigna  <jug@sad.it>
12675
12676         * tabular.C (SetMultiColumn): collapse also the contents of the
12677         cells and set the last border right. Added a Buffer const * param.
12678
12679 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12682         linking or not.
12683
12684 2002-03-19  Juergen Vigna  <jug@sad.it>
12685
12686         * text2.C (clearSelection): reset also xsel_cache.
12687
12688         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12689         where it needs to be called (John tells us to do so too :)
12690         (selectionLost): reset sel_cache.
12691
12692         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12693
12694 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12695
12696         * text2.C (setCursorIntern): put debuging code in INSETS channel
12697
12698 2002-03-19  André Pönitz <poenitz@gmx.net>
12699
12700         * lyxfunc.C: tiny whitespace change
12701
12702 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * ToolbarDefaults.C (init):
12705         * LyXAction.C (init):
12706         * commandtags.h:
12707         * BufferView_pimpl.C (Dispatch):
12708         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12709
12710 2002-03-19  Allan Rae  <rae@lyx.org>
12711
12712         * exporter.C (Export): removeAutoInsets before doing anything else.
12713         While I've just introduced a dependency on BufferView this really is
12714         the best place to clean the buffer otherwise you need to cleanup in
12715         a dozen places before calling export or cleanup in a dozen functions
12716         that export calls.
12717
12718         * converter.C (runLaTeX):
12719         (scanLog): Better handling of removeAutoInsets and screen updates.
12720
12721         * lyxfunc.C (dispatch): small whitespace changes
12722
12723 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * WorkArea.C (C_WorkAreaEvent): return a value.
12726         (event_cb): return 1 if we handled the event, 0 otherwise.
12727
12728         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12729
12730 2002-03-18  Juergen Vigna  <jug@sad.it>
12731
12732         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12733         (GetAdditionalWidth): ditto.
12734         (RightLine): ditto.
12735         (LeftLine): ditto.
12736
12737         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12738         inset if we're there actually (probably not used right now but this
12739         is the direction to go for unifying code).
12740         (paste): disable code to clear the selection.
12741
12742         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12743         inside an InsetText and move the check further up as it is in the
12744         wrong place.
12745
12746         * text2.C (pasteSelection): set a selection over the pasted text.
12747
12748 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12749
12750         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12751         and libgraphics to build on Cygwin.
12752
12753 2002-03-15  Juergen Vigna  <jug@sad.it>
12754
12755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12756         inserting an Inset into the paragraph. I know this is not the best
12757         fix but we already use current_view in CutAndPaste so we will remove
12758         all of it's using at the same time.
12759
12760         * buffer.C (sgmlError): deactivated function till it is rewritten in
12761         the right mode, now it can create problems.
12762
12763         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12764         before accessing it.
12765
12766 2002-03-14  Juergen Vigna  <jug@sad.it>
12767
12768         * undo_funcs.C (textHandleUndo): do the right thing when updating
12769         the inset after the undo/redo.
12770
12771         * text2.C (setCursor): just some testcode for #44 not ready yet.
12772
12773         * undo_funcs.C (textHandleUndo): set the next() and previous()
12774         pointers of the paragraph to 0 before deleting otherwise we have
12775         problems with the Paragraph::[destructor].
12776
12777         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12778         on a paragraph insertion.
12779
12780 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * buffer.C (asciiParagraph): use += operator for char append to
12783         string.
12784
12785         * paragraph.C (getFontSettings): compare >= not just >
12786         (highestFontInRange): ditto
12787         (setFont): ditto
12788
12789 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * paragraph.C: change several algorithm to be more appripriate for
12792         the problem domain. This is lookip in FontList and in the InsetList.
12793
12794 2002-03-13  André Pönitz <poenitz@gmx.net>
12795
12796         * commandtags.h:
12797         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12798
12799 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * commandtags.h:
12802         * LyXAction.C:
12803         * lyxfunc.C:
12804         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12805
12806 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * Painter.C (display): anon helper function, adjust code for this
12809         change.
12810         (pixmap): remove function.
12811
12812         * Painter.h: remove private display variable.
12813
12814         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12815
12816 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12817
12818         * WorkArea.[Ch]: remove figinset_canvas cruft.
12819
12820 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * lyxtextclass.C (operator): add one item cache optimization.
12823
12824         * bufferlist.h: doxy changes
12825
12826         * bufferlist.C: ws changes
12827
12828         * DepTable.[Ch] (ext_exist): place const in the right spot.
12829
12830         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12831         call resizeInsets.
12832         (workAreaExpose): call resizeInsets when the with BufferView changes.
12833         (Dispatch): adjust for protectedBlank removal
12834         (specialChar): call updateInset if the insert went ok.
12835
12836         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12837         specialChar instead.
12838
12839         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12840
12841         * BufferView.h: doxy change
12842
12843         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12844
12845         * lyxtextclass.C (operator[]): remove non-const version
12846         (defaultLayout): remove non-const version
12847
12848 2002-03-12  Juergen Vigna  <jug@sad.it>
12849
12850         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12851         did resize the LyXText too.
12852
12853         * buffer.C (readLyXformat2): set layout information on newly allocated
12854         paragraphs.
12855
12856         * tabular.C (OldFormatRead): set layout information on the paragraph.
12857
12858 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12859
12860         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12861
12862 2002-03-11  Juergen Vigna  <jug@sad.it>
12863
12864         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12865         plainly wrong.
12866         (resizeCurrentBuffer): force also the insets to resize themselfes.
12867         (moveCursorUpdate): fixed up for InsetText.
12868
12869 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * commandtags.h:
12872         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12873         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12874         value of Dialogs::tooltipsEnabled().
12875         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12876
12877 2002-03-08  Juergen Vigna  <jug@sad.it>
12878
12879         * BufferView_pimpl.C (updateInset): update inset inside inset also
12880         if it isn't inside theLockingInset().
12881
12882 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * buffer.C (asciiParagraph): redo some of the word and line length
12885         handling.
12886         (getLists): look for Caption instead of caption.
12887
12888 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12889
12890         * buffer.C (Buffer): initialize niceFile to true
12891         (makeLaTeXFile):
12892         (makeLinuxDocFile):
12893         (makeDocBookFile): make sure niceFile is true on exit
12894
12895 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12898
12899 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         * LyXSendto.C: remove.
12902         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12903         * lyx_gui.C: remove now-redundant comment.
12904         * ColorHandler.h: remove forward declaration of class WorkArea.
12905         * lyxfunc.C: remove #include "WorkArea.h".
12906
12907 2002-03-07  Juergen Vigna  <jug@sad.it>
12908
12909         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12910         got moved away with the DEPM and also set the inset_owner always
12911         right which before could have been omitted.
12912
12913 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12916         wanted layout is not found.
12917
12918 2002-03-07  Juergen Vigna  <jug@sad.it>
12919
12920         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12921
12922 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * paragraph.C (breakParagraph): use default layout not layout of
12925         prev paragraph.
12926         (Paragraph): clear ParagraphParameters.
12927
12928 2002-03-06  Juergen Vigna  <jug@sad.it>
12929
12930         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12931         otherwise it would not be a valid lenght. Fixed a special case in
12932         the minipage compatibility read where we end the document with a
12933         minipage.
12934
12935         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12936         was set as it could be 0 for InsetTexts first entry.
12937
12938 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * paragraph.C (writeFile): if layout is empty write out
12941         defaultLayoutName().
12942
12943         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12944         file without named layout we set layout to defaultLayoutName().
12945
12946 2002-03-06  Juergen Vigna  <jug@sad.it>
12947
12948         * CutAndPaste.C (copySelection): set layout for new paragraph.
12949
12950         * text.C (prepareToPrint): leave ERT inset left aligned
12951         (leftMargin): don't indent paragraphs inside ERT insets
12952
12953 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * paragraph.C (breakParagraph): dont call clear do the work manually
12956
12957         * paragraph.[Ch] (clear): remove function
12958
12959 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * paragraph.C (Paragraph): dont call clear, the work has already
12962         been done.
12963
12964         * lyxtextclass.C (operator): assert if n is empty
12965
12966         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12967         work manually instead.
12968
12969 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * BufferView_pimpl.C: protect selectionLost against text == 0
12972
12973 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * text.C (breakParagraph): fix a setting layout to '0' problem.
12976
12977 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12978
12979         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12980         final location of file, for the included files, and graphics.
12981
12982 2002-03-05  Juergen Vigna  <jug@sad.it>
12983
12984         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12985
12986 2002-03-04  Juergen Vigna  <jug@sad.it>
12987
12988         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12989
12990         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12991         last column of multicolumn cells.
12992         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12993
12994 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12995
12996         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12997         file if it doesn't go to a temporary file.
12998
12999         * buffer.C (sgmlOpenTag):
13000         (sgmlCloseTag):  remove extra newline insertion.
13001
13002 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * text.C (getRowNearY): comment out debug msg
13005
13006 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * text2.C: first -> first_y
13009
13010         * text.C (getRowNearY): add some attemts at a possible
13011         optimization, not working.
13012
13013         * tabular.[Ch]: add BufferParams to several function so that newly
13014         created paragraph can be initialized to he default layotu for the
13015         buffers textclass.
13016
13017         * tabular-old.C (ReadOld): add buf->params to call of Init
13018
13019         * screen.C: rename text->first to text->first_y
13020
13021         * paragraph.C (breakParagraph): always set layout in the broken
13022         paragraph
13023
13024         * lyxtextclass.C (Read): remove lowercase
13025         (hasLayout): ditto
13026         (operator): ditto
13027         (delete_layout): ditto
13028
13029         * lyxtext.h: rename first -> first_y
13030
13031         * lyxlayout.C (Read): remove lowercase
13032         (name): ditto
13033         (setName): ditto
13034         (obsoleted_by): ditto
13035
13036         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13037
13038         * buffer.C (insertErtContents): add params are to InsetERT
13039         (parseSingleLyXformat2Token): add code to check if a paragraphs
13040         layout really exist.
13041         (parseSingleLyXformat2Token): add params to several inset
13042         constructors
13043         (asciiParagraph): remove lowercase, do the layout comparisons with
13044         no_case
13045
13046         * BufferView_pimpl.C (cursorNext): first -> first_y
13047         (resizeCurrentBuffer): first -> first_y
13048         (updateScrollbar): first -> first_y
13049         (scrollCB): first -> first_y
13050         (workAreaMotionNotify): first -> first_y
13051         (workAreaButtonPress): first -> first_y
13052         (checkInsetHit): first -> first_y
13053         (cursorPrevious): first -> first_y
13054         (cursorNext): first -> first_y
13055         (Dispatch): add buffer_->params to severl inset contructors
13056
13057 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * lyxlayout.C (Read): remove some debug info that I forgot.
13060
13061         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13062         clean up the code slightly.
13063         (makeLinuxDocFile): ditto
13064         (makeDocBookFile): ditto
13065
13066         * text2.C: layout as string
13067
13068         * text.C: layout as string
13069
13070         * paragraph_pimpl.C: layout as string
13071
13072         * paragraph.[Ch]: layout as string
13073
13074         * lyxtextclasslist.[Ch]: layout as string
13075
13076         * lyxtextclass.[Ch]: layout as string
13077
13078         * lyxtext.h: layout as string
13079
13080         * lyxlayout.[Ch]: layout as string
13081
13082         * lyx_cb.C: layout as string
13083
13084         * bufferview_funcs.C: layout as string
13085
13086         * bufferparams.C: layout as string
13087
13088         * buffer.C: layout as string
13089
13090         * LyXView.[Ch]: layout as string
13091
13092         * LaTeXFeatures.[Ch]: layout as string
13093
13094         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13095
13096         * BufferView_pimpl.C: change current_layout to string, remove
13097         lyx::layout_type.
13098         (Dispatch):
13099         (smartQuote):
13100         (insertInset):
13101         (workAreaButtonRelease): layout as string
13102
13103         * BufferView2.C (unlockInset): adjust
13104
13105         * vspace.C (asLatexCommand): use an explict temp variable.
13106
13107 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13108
13109         * Makefile.am: use FRONTEND_*
13110
13111 2002-03-01  Juergen Vigna  <jug@sad.it>
13112
13113         * tabular.C (SetWidthOfMulticolCell): changed to something better
13114         I hope but still work in progress.
13115         (recalculateMulticolumnsOfColumn): renamed function from
13116         recalculateMulticolCells as it is more appropriate now.
13117         (SetWidthOfCell): calculate multicols better.
13118
13119 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13120
13121         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13122
13123         * lyxfunc.C (processKeySym): print sequence also if it is
13124         `deleted' (complete)
13125
13126         * kbsequence.C (print): print sequence even if it is deleted
13127         (complete would be a better word, actually).
13128
13129         * lyxfunc.C (dispatch): print complete options after a prefix key
13130
13131         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13132
13133 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13134
13135         * text2.C (setCharFont): eliminate setCharFont code duplication.
13136
13137 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13140         LFUN_TABULAR_FEATURE (bug #177)
13141
13142 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * Makefile.am: remove figure.h
13145
13146 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * Bufferview_pimpl.C:
13149         * CutAndPasteC:
13150         * LaTeX.C:
13151         * LyXSendto.C:
13152         * buffer.C:
13153         * bufferlist.C:
13154         * converter.C:
13155         * language.C:
13156         * lyxfunc.C:
13157         * lyxvc.C:
13158         * paragraph.C:
13159         * text.C:
13160         * text2.C: remove #include "lyx_gui_misc.h".
13161
13162         * LaTeX.C: added #include <cstdio>
13163
13164 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13165
13166         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13167         that the paragraph following this one can have.
13168
13169         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13170
13171         * vspace.C (asLatexCommand): fix bogus gcc warning
13172
13173         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13174
13175 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13176
13177         * text2.C (setLayout): get rid of redundant code
13178
13179 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13180
13181         * text2.C (incDepth): make sure depth cannot be increased beyond
13182         reasonable values.
13183
13184 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13187         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13188
13189         * PainterBase.h (image):
13190         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13191         a LyXImage const *.
13192
13193 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13194
13195         * BufferView.C:
13196         * BufferView.h:
13197         * BufferView_pimpl.C:
13198         * BufferView_pimpl.h:
13199         * LaTeXFeatures.C:
13200         * LyXAction.C:
13201         * LyXView.C:
13202         * Makefile.am:
13203         * UpdateList.h:
13204         * UpdateList.C:
13205         * buffer.C:
13206         * figure.h:
13207         * figureForm.C:
13208         * figureForm.h:
13209         * figure_form.C:
13210         * figure_form.h:
13211         * lyx_cb.C:
13212         * lyx_gui.C:
13213         * lyx_gui_misc.C:
13214         * lyxfunc.C:
13215         * sp_base.h:
13216         * sp_ispell.h:
13217         * sp_pspell.h:
13218         * sp_spell.C: remove fig inset, and the crap house of
13219           cards that follows it
13220
13221 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13222
13223         * Makefile.am:
13224         * lyxserver.C:
13225         * os2_defines.h:
13226         * os2_errortable.h:
13227         * nt_defines.h: move .h into support/
13228
13229         * vms_defines.h: remove
13230
13231         * WorkArea.C: add space in debug output
13232
13233         * text2.C:
13234         * paragraph.C:
13235         * buffer.C: add WITH_WARNINGS
13236
13237         * vc-backend.h:
13238         * vc-backend.C:
13239         * bufferlist.C: s/retrive/retrieve/, add docs
13240
13241         * vspace.h:
13242         * vspace.C:
13243         * kbmap.h:
13244         * lyxlength.h:
13245         * lyxgluelength.h:
13246         * length_common.h:
13247         * chset.h:
13248         * chset.C: add docs
13249
13250         * lyxgui.C: add ID to X error handler
13251
13252         * lyxtestclass.c: fix typo
13253
13254 2002-02-26  Juergen Vigna  <jug@sad.it>
13255
13256         * tabular_funcs.C (write_attribute): changed so that some default
13257         attributes are not written at all.
13258         (getTokenValue): set default values before trying to read the
13259         value so we have the return value always set as default if we don't
13260         find the token we search for.
13261
13262         * tabular.C (Write): write bools as bools not as strings!
13263
13264 2002-02-22  Juergen Vigna  <jug@sad.it>
13265
13266         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13267         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13268
13269         * text.C (leftMargin): don't add an indent for paragraphs inside
13270         tabular cells (fix #208).
13271
13272 2002-02-21  José Matos  <jamatos@fep.up.pt>
13273
13274         * tabular.C (docBook): fixed support for long tables.
13275
13276 2002-02-20  Juergen Vigna  <jug@sad.it>
13277
13278         * text2.C (getFont): get the drawing font of the Inset if this
13279         paragraph is inside an inset (only important for InsetERT for now).
13280
13281         * buffer.C (insertErtContents): use new lanugage params in ERT
13282         constructor.
13283
13284         * CutAndPaste.C: commenting out seemingly uneeded code.
13285
13286 2002-02-19  Allan Rae  <rae@lyx.org>
13287
13288         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13289         Iterators might be simple to use but they also get invalidated.
13290         (removeAutoInsets): renamed saved cursor tracking variables and added
13291         some comments to clarify what everything does.
13292
13293 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13294
13295         * Chktex.C:
13296         * LaTeX.C:
13297         * LyXSendto.C:
13298         * converter.C:
13299         * lyx_cb.C:
13300         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13301         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13302
13303         * lyxfunc.C:
13304         * vc-backend.h: remove #include "support/syscall.h"
13305
13306         * LaTeX.C:
13307         * LyXSendto.C:
13308         * converter.C: rearrange #includes in Lars' approved fashion.
13309
13310         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13311         forward declare class Timeout in the header file.
13312
13313         * XFormsView.C: changes due to the above.
13314
13315         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13316         similar to LyXView.
13317
13318         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13319         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13320
13321 2002-02-18  José Matos  <jamatos@fep.up.pt>
13322
13323         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13324         insets contents.
13325
13326 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13327
13328         * a lot of small ws changes
13329         * add a lot of using std::XXX
13330         * use std construcs some places where approp.
13331         * use some exisint stuff from lyxfunctional where approp.
13332         * Make file changes to use partial linking (lets test this now...)
13333
13334 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * Chktex.C:
13337         * buffer.C:
13338         remove #include "support/syscontr.h" as it's redundant. Always has been.
13339
13340         * Chktex.C:
13341         * LaTeX.C:
13342         * LyXSendto.C:
13343         * converter.C:
13344         * lyx_cb.C:
13345         * vc-backend.C:
13346         change Systemcalls::System to Systemcalls::Wait and
13347         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13348         No change of functionality, just reflects the stripped down Systemcalls
13349         class.
13350
13351 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * debug.[Ch]: add a GRAPHICS type to the enum.
13354
13355 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13356
13357         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13358
13359         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13360         there is an inset.
13361
13362 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13365         match the changes below.
13366
13367         * text2.C (toggleInset): if there is not editable inset at cursor
13368         position, try to see if cursor is _inside_ a collapsable inset
13369         and close it.
13370
13371 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13374         document menu has a nice checkbox
13375
13376 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13377
13378         * lyxlength.C (asLatexString): change PW to output as percent of
13379         \textwidth.
13380
13381         * lengthcommon.C: change '%' to 't%'
13382
13383         * lyxfunc.C (dispatch): a few comments from Martin
13384
13385 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * WorkArea.h:
13388         * WorkArea.C:
13389         * BufferView_pimpl.h:
13390         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13391           the X selection.
13392
13393 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * vspace.C (inPixels): fix compiler warning
13396
13397 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * lyxfunc.C (getStatus): fix status message for disabled commands.
13400
13401 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13402
13403         * BufferView_pimpl.C: fix crash on close buffer
13404         during selection (#227)
13405
13406 2002-01-27  Herbert Voss  <voss@lyx.org>
13407
13408         * buffer.C: link old Figure to new graphic inset
13409
13410 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13411
13412         * FontLoader.C (getFontinfo): Change the latex font names in order
13413         to match the names of type1inst.
13414
13415 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13418
13419         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13420         (extchanged): ditto
13421         (ext_exist): ditto
13422         (remove_files_with_extension): ditto
13423         (remove_file): ditto
13424         (write): ditto
13425
13426         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13427         document is smaller than the work area height. Do not initialize
13428         static variables to 0.
13429
13430 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13431
13432         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13433
13434         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13435         LFUN_LAYOUT_PARAGRAPHS.
13436
13437         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13438         tabular. It is possible to provide a possible cell, which will
13439         typically be the actcell from the corresponding insettabular
13440
13441         * lyxfunc.C (getStatus): small cleanup; disable
13442         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13443         true
13444
13445 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13446
13447         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13448
13449         * paragraph.C (startTeXParParams):
13450         (endTeXParParams): new methods. The LaTeX code to
13451         start/end paragraph formatting
13452         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13453         empty (fixes bug #200)
13454
13455         * vspace.C (inPixels): adapt to the change below
13456         (inPixels): [later] more cleanups (remove unused variables)
13457
13458         * lyxlength.C (inPixels): change to use a width and a height as
13459         parameter.
13460
13461 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13464         Replaced with \paperwidth
13465
13466         * DepTable.C (insert): add std:: qualifier
13467
13468 2002-01-18  Allan Rae  <rae@lyx.org>
13469
13470         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13471         updated also?
13472
13473         * text.C (drawInset): Turned out I didn't know enough about how
13474         rebreaking worked.  This fixes most of the redraw problems.  I see
13475         an occasional cursor trail when a line is broken now and the cursor
13476         placement can seem out by a few pixels also after a rebreak.
13477
13478 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13479
13480         * buffer.C (parseSingleLyXformat2Token): update because minipage
13481         width is now a LyXLength
13482
13483         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13484
13485         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13486         math insets
13487
13488 2002-01-17  Juergen Vigna  <jug@sad.it>
13489
13490         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13491
13492         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13493         is set correctly and the inset is updated correctly.
13494
13495 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13496
13497         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13498         the beginning of the loop.
13499
13500 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * lyxrc.C: improve help for use_scalable_fonts
13503
13504 2002-01-17  Allan Rae  <rae@lyx.org>
13505
13506         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13507
13508 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13511         make sure to set their inset_owner to the right value (bug #171)
13512
13513 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13514
13515         * DepTable.h
13516         * DepTable.C: Implement mtime checking to reduce time spent doing
13517         CRCs.
13518
13519 2002-01-16  Juergen Vigna  <jug@sad.it>
13520
13521         * tabular.C (GetAdditionalHeight): one of error fixed.
13522
13523         * lyxrc.C (output): small fix in writing use_pspell.
13524
13525 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * sp_base.h: #include LString.h
13528
13529 2002-01-16  Allan Rae  <rae@lyx.org>
13530
13531         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13532         Can someone check this please?
13533
13534         * text.C (drawInset): It was possible that p.row would be removed by
13535         breakAgainOneRow upsetting a few other settings.  There may be another
13536         small tweak possible by setting need_break_row = 0 when p.row has been
13537         removed but I don't know enough about the logic here.
13538
13539 2002-01-15  Allan Rae  <rae@lyx.org>
13540
13541         * text.C (insertChar): removed conditional truism.
13542
13543         * BufferView2.C (removeAutoInsets): More tweaks.
13544         cur_par_prev could be a stray pointer.  Check for trailing empty line
13545         in case last line was cur_par and only had an error inset on it.
13546
13547 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13548
13549         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13550         absolute
13551
13552         * vc-backend.C (most methods):
13553         * exporter.C (Export):
13554         * converter.C (convert):
13555         (runLaTeX):
13556         * LyXSendto.C (SendtoApplyCB):
13557         * lyxfunc.C (dispatch):
13558         (menuNew):
13559         (open):
13560         (doImport):
13561         * lyx_cb.C (AutoSave):
13562         (InsertAsciiFile):
13563         * BufferView_pimpl.C (MenuInsertLyXFile):
13564         * buffer.C (runChktex): use Buffer::filePath().
13565
13566         * buffer.h: rename filename to filename_; rename filepath to
13567         filepath_ and make it private
13568         (filePath): new method
13569
13570         * buffer.C (writeFile): use fileName()
13571         (getLatexName):
13572
13573         * lyx_main.C (init): fix starting  of LyX when the binary is a
13574         link from so,ewhere else.
13575
13576         * minibuffer.C: include <cctype> for isprint
13577
13578 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13579
13580         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13581         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13582         name clash with InsetCollapsable's width function.
13583
13584 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * lastfiles.C: include <iterator>
13587
13588 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13591         std::count.
13592
13593         * buffer.C (makeLaTeXFile): ditto.
13594         Also make loop operation more transparent.
13595
13596 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * ToolbarDefaults.C: remove trailing comma closing namespace.
13599
13600         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13601
13602         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13603         as in WorkArea.
13604
13605         * trans.C (Load): comment out unused variable, allowed.
13606
13607 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13608
13609         * minibuffer.[Ch] (append_char): new method to recieve input from the
13610         drop-down completion browser. If a key was pressed, then recieve this
13611         char and append it to the existing string.
13612         (peek_event): modify the positioning data passed to the completion
13613         browser so that it can be placed above the minibuffer rather than below.
13614 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * LyXAction.C (init): alloe error-next for readonly documents.
13617
13618         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13619         count.
13620
13621 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13622
13623         * bufferlist.C (readFile): create the buffer _after_ checking that
13624         the file exists.
13625
13626         * lyxfunc.C (verboseDispatch): fix handling of arguments
13627
13628         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13629
13630         * lyxrc.C: use string::erase() instead of initializing to "".
13631
13632
13633 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * BufferView_pimpl.h:
13636         * BufferView_pimpl.C:
13637         * WorkArea.h:
13638         * WorkArea.C:
13639         * text2.C: tell X when we have made a selection for copying
13640
13641 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13642
13643         * BufferView_pimpl.C (MenuInsertLyXFile):
13644         * lyxfunc.C (menuNew):
13645         (open):
13646         (doImport): add shortcuts to directory buttons
13647
13648         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13649         open a float)
13650
13651         * lyxfunc.C (setStatusMessage):
13652         (getStatusMessage): new methods
13653         (getStatus):use setStatusMessage instead of setErrorMessage
13654         (dispatch): when function is disabled, set error message here
13655         [instead of in getStatus previously]
13656
13657         * BufferView_pimpl.C (workAreaButtonRelease): update
13658         toolbar/menubar here too.
13659
13660 2002-01-13  Allan Rae  <rae@lyx.org>
13661
13662         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13663         Now seems indestructible.  Remaining task is to audit all other
13664         code affected by deleteEmptyParagraphMechanism.  One small quirk
13665         left is that an empty document with an error in the preamble can
13666         be made to report an error but no error box appears.  I don't know
13667         where it goes.
13668         (removeAutoInsets): Improved comments.
13669
13670 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * Thesaurus.h:
13673         * Thesaurus.C: update for Aiksaurus 0.14
13674
13675 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * text2.C (firstParagraph): removed member function, all uses
13678         replaces with ownerParagraph
13679         (redoParagraphs): here
13680         (updateInset): here
13681         (toggleAppendix): here
13682         * BufferView2.C (insertErrors): here
13683         (setCursorFromRow): here
13684
13685 2002-01-13  Allan Rae  <rae@lyx.org>
13686
13687         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13688         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13689         There is still a way to segfault this although you may have to do this
13690         multiple times: Have an InsetERT with an unknown command in it.
13691         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13692         <down-arrow>, <Enter> again, View->DVI, BANG!
13693
13694         * text2.C (setCursor):
13695         (deleteEmptyParagraphMechanism):
13696         * lyxtext.h (setCursor):
13697         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13698         Making use of the return value may help fix other bugs.
13699
13700 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13703
13704         * LyXView.C (updateMenubar): call MenuBar::update here
13705         (updateToolbar): but not here
13706         (showState): do not update toolbar/menubar
13707
13708         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13709         should need to care about that.
13710
13711         * lyxfunc.C (verboseDispatch): simplify a bit
13712         (getStatus): have a version which takes a pseudoaction, and
13713         another which requires a (kb_action,string).
13714
13715         * LyXAction.C (retrieveActionArg): make it work also when action
13716         is not a pseudo-action.
13717         (getActionName): simplify a bit
13718         (helpText):
13719
13720 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13721
13722         * lyxfunc.C (verboseDispatch): new families of methods with
13723         several ways to specify a command and a bool to indicate whether
13724         the command name and shortcut should be displayed in minibuffer
13725         (eventually, we could extend that to a finer bitmask like
13726         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13727         (dispatch): the pristine dispatch command which just, well,
13728         dispatchs! Note it still sets its result to minibuffer; I'm not
13729         sure we want that.
13730
13731         * lyxfunc.h: remove setHintMessage
13732
13733         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13734
13735 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13736
13737         * BufferView_pimpl.C (specialChar): delete new inset if we have
13738         not been able to insert it.
13739
13740         * kbmap.C: revert to using int instead of kb_action, since all we
13741         are dealing with is pseudo-actions.
13742
13743         * LyXAction.C (searchActionArg): change to return int instead of
13744         kb_action, since the result is a pseudoaction.
13745
13746 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * buffer.C (insertErtContents): Fix (partially) the font bug.
13749
13750 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13751
13752         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13753         as the other one is broken on my machine!
13754
13755 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13756
13757         * commandtags.h:
13758         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13759
13760 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13761
13762         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13763         reflect their actual use. Provide compatibility code for older lyxrc
13764         files.
13765
13766         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13767         FL_NORMAL_STYLE.
13768         change names of popup font variables in line with the changes to lyxrc.C
13769
13770 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13771
13772         * buffer.C (asciiParagraph): avoid outputing a word twice after
13773         an inset.
13774
13775         * lyxrc.C (getDescription): document that document_path and
13776         template_path can be empty.
13777
13778 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13779
13780         * LaTeXFeatures.C (getMacros):
13781         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13782
13783         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13784
13785         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13786         getPackages.
13787         (getPackages): rename feature "floats" to "float". Use an array to
13788         iterate over 'simple' features (i.e. just a \usepackage). Add
13789         handling of "amsmath" (renamed from "amsstyle").
13790
13791 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13792
13793         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13794         features list.
13795
13796 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13799         FuncStaus::FuncStatus & FuncStaus::some_method().
13800
13801 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13802
13803         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13804         of the func_satus stuff. Edited and massaged in various ways by
13805         JMarc.
13806
13807         * lyxfunc.C (getStatus): use FuncStatus
13808
13809 2002-01-08  Juergen Vigna  <jug@sad.it>
13810
13811         * text.C (nextBreakPoint): use function Inset::isChar().
13812
13813         * paragraph.C (TeXOnePar): use function
13814         Inset::forceDefaultParagraphs.
13815
13816         * buffer.C (latexParagraphs): use function
13817         Inset::forceDefaultParagraphs.
13818
13819 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * lyx_gui.C (init): set the style of the menu popups to
13822         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13823
13824 2002-01-07  Juergen Vigna  <jug@sad.it>
13825
13826         * text.C (setHeightOfRow): small fix
13827         (prepareToPrint): don't look at alignment if we don't have the place
13828         for doing it.
13829
13830 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * box.C: New file. Move the Box methods and functions out of box.h,
13833         following Lars' suggestion.
13834
13835 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * box.h: #include "support/LOstream.h", needed for inlined function.
13838
13839         * lyxtextclass.C:
13840         * lyxtextclasslist.C: added some using std declarations.
13841
13842 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * box.h: make signed dimensions to allow insets wider than
13845           the screen (bug #162)
13846
13847         * BufferView_pimpl.C: add some insetHit debug
13848
13849 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * vc-backend.C: add FIXME
13852
13853 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * lyxfunc.C (getStatus): enable code for showing math font status
13856         in toolbar/menu.
13857
13858 2002-01-07  Juergen Vigna  <jug@sad.it>
13859
13860         * text.C (nextBreakPoint): removed debug output not needed anymore.
13861
13862 2002-01-06  Juergen Vigna  <jug@sad.it>
13863
13864         * text.C (nextBreakPoint): fixed up this function we had this bug
13865         since ever but now hopefully we break row better.
13866         (insertChar): we have to check if an inset is the next char as it
13867         could now happen that a large inset is causing a break.
13868
13869 2002-01-05  Juergen Vigna  <jug@sad.it>
13870
13871         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13872         if it doesn't like to be drawed.
13873
13874 2002-01-04  Juergen Vigna  <jug@sad.it>
13875
13876         * BufferView2.C (lockInset): forgot to set a cursor.
13877
13878         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13879
13880 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13881
13882         * FormMathsPanel.C:
13883         * FormMathsPanel.h
13884         * MathsSymbols.C:
13885         * form_maths_panel.C:
13886         * form_maths_panel.h:
13887         * form_maths_panel.fd: implemented sub- and super- buttons in math
13888         panel.
13889
13890         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13891         (or ^ space) to be used as in TeX (req'd by André).
13892
13893         * lyxfunc.C: Allow ^ and _ again to be used both as
13894         super/subscript (mathed) and as themselves (in text).
13895
13896 2002-01-03  Allan Rae  <rae@lyx.org>
13897
13898         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13899         "LyX" or the filename of the current buffer if it has one.  This is a
13900         modified form of John Levon's patch.
13901
13902         * XFormsView.C (setWindowTitle): also set icon title.
13903
13904         * LyXView.h (setWindowTitle): signature changed.
13905         * XFormsView.h (setWindowTitle): ditto.
13906
13907 2002-01-02  Juergen Vigna  <jug@sad.it>
13908
13909         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13910
13911 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13912
13913         * screen.C (topCursorVisible): introduce a temp var for
13914         text->cursor.row(), handle the case where this row is null. (kindo
13915         hachish)
13916
13917         * text2.C (setCursor): add a couple of asserts.
13918
13919         * paragraph.h (inset_iterator): add -> operator
13920
13921         * paragraph.[Ch] (autoDeleteInsets): remove member function
13922
13923         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13924         cursor pos correctly and handle inset deletion by itself.
13925         (insertErrors): move iterator declaration out of for expression
13926
13927         * lyxtextclass.C: add <algorithm>
13928
13929         * Makefile.am: added the new files to sources, removed layout.C
13930
13931         * layout.C: removed file
13932
13933         * layout.h: remove LYX_DUMMY_LAYOUT
13934
13935         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13936         layout.
13937
13938         * lyxlayout.[Ch]:
13939         * lyxtextclass.[Ch]:
13940         * lyxtextclasslist.[Ch]: new files
13941
13942         * include order changes to a lot of files, also changes because of
13943         the six new files.
13944
13945 2001-12-27  Juergen Vigna  <jug@sad.it>
13946
13947         * buffer.C (asciiParagraph): more fixes.
13948
13949         * tabular.C (ascii): make ascii export support export of only the
13950         data separated by a column-delimiter.
13951         (ascii): better support for ascii export.
13952
13953         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13954
13955 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * tabular_funcs.C: use a "using std::getline" instead of the
13958         previous fix from Angus (necessary for cxx + lyxstring)
13959
13960 2001-12-24  Juergen Vigna  <jug@sad.it>
13961
13962         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13963
13964         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13965         problems. First check a minipage also if we have some ert-contents
13966         (not only on par->size(), second set the right depth of the paragraph
13967         on the relink to the root-paragraph-list!
13968
13969         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13970         which then did not anymore update the main paragraphs on undo/redo!
13971
13972 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13975         code. Support all font-changing funcs (even those which are not in
13976         menu currently). Support for reporting font settings in
13977         mathed (disabled until Andre provides a function on mathed's side).
13978
13979         * func_status.h (toggle): small helper function to set toggle
13980         state on a flag.
13981
13982 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * tabular_funcs.C: getline -> std::getline
13985
13986 2001-12-21  Juergen Vigna  <jug@sad.it>
13987
13988         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13989         accessed and could be 0 (I couldn't generate this but it seems
13990         Michael could!).
13991
13992 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13995         * tabular_funcs.h: here and include iosfwd
13996
13997 2001-12-20  Juergen Vigna  <jug@sad.it>
13998
13999         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14000         inside inset but undo_par was.
14001
14002 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14003
14004         * Thesaurus.C: always include <config.h> in sources.
14005
14006         * Painter.h:
14007         * lyxlookup.h:
14008         * box.h: do not include <config.h> in header files
14009
14010         * text.C (paintLastRow): remove unused variable
14011
14012         * text.C (transformChar):
14013         (insertChar):
14014         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14015
14016         * Painter.C (text):
14017         * font.C (width): rewrite to use uppercase() instead of
14018         islower/toupper.
14019
14020         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14021
14022 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14023
14024         * lyxfind.C: clean up of find failure position change
14025
14026 2001-12-20  Juergen Vigna  <jug@sad.it>
14027
14028         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14029
14030         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14031         (TeXRow): added to LaTeX a single tabular row.
14032         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14033         (Latex): simplified and finally good LT-h/f support.
14034         (various_functions): just small adaptions for LT-h/f support.
14035
14036         * tabular_funcs.[hC]: added and moved here all not classfunctions
14037         of LyXTabular.
14038
14039 2001-12-19  Juergen Vigna  <jug@sad.it>
14040
14041         * tabular.[Ch]: better support for longtabular options (not finished
14042         yet!)
14043
14044 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14045
14046         * text.C (paintLastRow): use the label font instead of the font of
14047         the last character to compute the size of *_BOX. This makes more
14048         sense and avoids a crash with empty paragraphs.
14049         Use Painter::rectangle to draw EMPTY_BOX.
14050
14051 2001-12-19  Juergen Vigna  <jug@sad.it>
14052
14053         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14054         the paragraphs if the replaced paragraph is not the first one!
14055         Tried to delete not used paragraphs but does not work yet so for
14056         now it's inside #ifdef's and by default off!
14057
14058 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14059
14060         * MenuBackend.C: include "lyx_main.h" instead of declaring
14061         lastfiles (actually was declared as LastFiles* instead of a
14062         scoped_ptr).
14063
14064 2001-12-17  Juergen Vigna  <jug@sad.it>
14065
14066         * tabular.C (AppendColumn): applied John's fix
14067
14068 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * BufferView.h:
14071         * BufferView.C:
14072         * BufferView_pimpl.h:
14073         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14074
14075         * Makefile.am:
14076         * box.h: new start of class for above
14077
14078         * lyxfunc.C: ignore space-only minibuffer dispatches.
14079           Show the command name when it doesn't exist
14080
14081         * minibuffer.C: don't add empty lines to the history
14082
14083         * minibuffer.C: add a space on dropdown completion
14084
14085 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * text.C: fix line above/below drawing in insets
14088
14089 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14090
14091         * lyxlength.C (LyXLength): Initialize private variables.
14092
14093 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14094
14095         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14096         when inserting error insets.
14097
14098 2001-12-13  Juergen Vigna  <jug@sad.it>
14099
14100         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14101         actually sometimes the before-paragraph.
14102         (setUndo): don't clear the redostack if we're not actually undoing!
14103
14104 2001-12-06  Juergen Vigna  <jug@sad.it>
14105
14106         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14107         and fixed redoing of main paragraph, so we can use it now ;)
14108
14109         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14110
14111 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14112
14113         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14114         Juergen's request
14115
14116 2001-12-13  André Pönitz <poenitz@gmx.net>
14117
14118         * undostack.[Ch]:
14119         * undo_func.C: minor cleanup
14120
14121 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14122
14123         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14124         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14125         font in urw-fonts package which is marked as -urw-fontspecific and
14126         does not work (incidentally, changing the encoding in the
14127         fonts.dir of this package to -adobe-fontspecific fixes the
14128         problem).
14129
14130         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14131         is a crash when undoing first paragraph (Juergen, please take a
14132         look). THis does not mean the undo fix is wrong, just that it
14133         uncovers problems.
14134
14135         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14136         the (Paragraph*) version when needed instead of duplicating the
14137         code.
14138
14139         * text.C (workWidth): use Inset::parOwner to find out where the
14140         inset has been inserted. This is a huge performance gain for large
14141         documents with lots of insets. If Inset::parOwner is not set, fall
14142         back on the brute force method
14143
14144         * paragraph_pimpl.C (insertInset):
14145         * paragraph.C (Paragraph):
14146         (cutIntoMinibuffer): set parOwner of insets when
14147         inserting/removing them
14148
14149         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14150
14151 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14152
14153         * commandtags.h:
14154         * LyXAction.C:
14155         * lyx_main.C:
14156         * lyxfunc.C:
14157         * mathed/formulabase.C:
14158         * mathed/math_cursor.[Ch]:
14159         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14160
14161
14162 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14163
14164         * lyxlength.[Ch] (operator!=): new function
14165
14166 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14167
14168         * text.C (workWidth): use Inset::parOwner to find out where the
14169         inset has been inserted. This is a huge performance gain for large
14170         documents with lots of insets. If Inset::parOwner is not set, fall
14171         back on the brute force method
14172
14173         * paragraph_pimpl.C (insertInset):
14174         * paragraph.C (Paragraph):
14175         (cutIntoMinibuffer): set parOwner of insets when
14176         inserting/removing them
14177
14178         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14179
14180 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14181
14182         * tabular-old.C (getTokenValue):
14183         * tabular.C (getTokenValue):
14184         (write_attribute): new versions for LyXLength
14185         (everywhere): adjust the use of widths
14186
14187         * tabular.h: change the type of widths from string to LyXLength
14188
14189 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14190
14191         * paragraph.C: fixed missing line number count when exporting
14192         Environments to LaTeX file
14193
14194         * buffer.C: added informational message for checking line numbers.
14195
14196 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14197
14198         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14199         paragraph, do the 'double space' part, but not the 'empty
14200         paragraph' one.
14201
14202         * text.C (workWidth): small optimization
14203         (getLengthMarkerHeight): use minimal size for negative lengths.
14204
14205 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14208
14209         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14210
14211 2001-12-11  André Pönitz <poenitz@gmx.net>
14212
14213         * FontLoader.C:
14214         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14215
14216 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * text2.C: keep selection on a setFont()
14219
14220 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * lyx_cb.C: another bv->text misuse, from insert label
14223
14224 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * kbsequence.h:
14227         * kbsequence.C: re-instate nmodifier mask
14228
14229 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14230
14231         * lyx_main.h: make lyxGUI private.
14232
14233 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14234
14235         * lyxfind.C: place the cursor correctly on failed search
14236
14237 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14238
14239         * text.C (getLengthMarkerHeight): for small heights, the arrows
14240         are not always on top/bottom of the text
14241         (drawLengthMarker): smaller arrows; take the left margin in
14242         account; draw also vfills.
14243         (paintFirstRow):
14244         (paintLastRow): remove special code for vfill and standard spaces,
14245         since everything is handled in drawLengthMarker now.
14246
14247 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14248
14249         * buffer.C (insertErtContents): try to handle font and language
14250         interaction a bit better.g
14251
14252         * ColorHandler.C (updateColor): change the hash to cover the whole
14253         LColor enum, ws cleanup
14254         (getGCLinepars): ditto
14255         (getGCLinepars): only lookup in the linecache once.
14256
14257 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * iterators.C (operator++): Make the iterator more robust
14260
14261         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14262         (John's patch)
14263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14264
14265 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * lyxtext.h:
14268         * text.C: better added space drawing
14269
14270 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * LyXView.C:
14273         * BufferView2.C: fix layout combo update on inset unlock
14274
14275 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * Makefile.am: don't compile unused files
14278
14279 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * lyxfunc.C:
14282         * commandtags.h:
14283         * LyXAction.C: remove old LFUN_LAYOUTNO
14284
14285 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * paragraph_pimpl.h:
14288         * paragraph_pimpl.C: isTextAt() doesn't need font param
14289
14290 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * lyxlex.h:
14293         * lyxlex.C: little cleanup
14294
14295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * BufferView_pimpl.C: fix insertAscii for insets
14298
14299 2001-12-05  Juergen Vigna  <jug@sad.it>
14300
14301         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14302         set the right font on the "multi" paragraph paste!
14303
14304 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * trans_decl.h:
14307         * trans_mgr.[Ch]:
14308         * trans.[Ch]:
14309         * lyxgluelength.C:
14310         * lyxlength.C: remove out-commented code.
14311
14312         * BufferView_pimpl:
14313         * CutAndPaste.C:
14314         * DepTable.C:
14315         * buffer.C:
14316         * chset.C:
14317         * lastfiles.C:
14318         * lyxlex.C:
14319         * lyxlex_pimpl.C:
14320         * lyxserver.C:
14321         * screen.C:
14322         * tabular-old.C:
14323         * tabular.C:
14324         * text.C:
14325         * trans_mgr.C:
14326         * vc-backend.C: change "while(" to "while ("
14327
14328         * lyxlength.[Ch]: add zero function to check if length is zero or
14329         not
14330         * lyxgluelength.C: use it
14331
14332 2001-12-05  Allan Rae  <rae@lyx.org>
14333
14334         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14335         Works for 2.95.3, from what I understand of Garst's reports this should
14336         work for other g++ versions.  We're screwed if the abs(int) definition
14337         changed between bugfix releases of gcc.
14338
14339 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14340
14341         * text.C: fix chapter label offset !
14342
14343 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14344
14345         * lyxtext.h:
14346         * text.C: fix hfill at end of line, clean up
14347
14348 2001-12-04  Juergen Vigna  <jug@sad.it>
14349
14350         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14351         that we force an update of the inset and it's owners if neccessary.
14352
14353 2001-12-03  Juergen Vigna  <jug@sad.it>
14354
14355         * text.C (rowLast): simplified code
14356
14357 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14358
14359         * lyxfunc.C: fix show options on timeout
14360
14361 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * screen.C (topCursorVisible): scroll half a page when the cursor
14364         reached top of bottom of screen
14365
14366 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * minibuffer.C: deactivate on loss of focus
14369
14370 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * vspace.[Ch] (operator!=): add operator.
14373
14374 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * BufferView_pimpl.C: refuse to open an inset when
14377         there's a selection.
14378
14379 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14380
14381         * BufferView_pimpl.C: allow to click on RHS of full row insets
14382
14383 2001-11-30  Juergen Vigna  <jug@sad.it>
14384
14385         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14386         insets for undo reasons.
14387
14388 2001-11-28  André Pönitz <poenitz@gmx.net>
14389
14390         * vspace.[Ch]: cosmetical changes
14391
14392 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * LyXAction.h:
14395         * LyXAction.C:
14396         * lyxfunc.h:
14397         * lyxfunc.C:
14398         * kbmap.h:
14399         * kbmap.C:
14400         * lyxrc.C:
14401         * kbsequence.h:
14402         * kbsequence.C: part re-write of old kb code
14403
14404         * Painter.C:
14405         * WorkArea.C: remove Lgb_bug_find_hack
14406
14407 2001-11-30  José Matos <jamatos@fep.up.pt>
14408
14409         * buffer.C (makeDocBookFile): add a comment to point a hack.
14410         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14411         Fixed a double write of labels.
14412
14413 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14414
14415         * LaTeX.C:
14416         * LaTeX.h Fixed bug in LaTeX class where it would not
14417         re-run latex if no depfiles were changed, but the .dvi was removed.
14418
14419 2001-11-28  André Pönitz <poenitz@gmx.net>
14420
14421         * all the files from the change on 2001/11/26:
14422         use lyx::layout_type instead of LyXTextClass::size_type
14423         use lyx::textclass_type instead of LyXTextClassList::size_type
14424
14425 2001-11-29  Juergen Vigna  <jug@sad.it>
14426
14427         * text.C: added support for paragraph::isFreeSpacing()
14428
14429         * buffer.C: same as above
14430
14431         * paragraph.h: inserted isFreeSpacing() function to enable
14432         FreeSpacing inside InsetERT.
14433
14434         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14435         of the paragraph's in the cut/copy buffer to 0!
14436
14437         * text2.C (removeRow): remove the assert as it can!
14438
14439         * lyxtext.h: added helper function firstRow returning firstrow and
14440         made firstrow private again.
14441
14442         * BufferView2.C (lockInset): don't relock if we're already locked!
14443
14444         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14445         the only paragraph.
14446         (removeRow): added Assert::(firstrow)
14447
14448         * debug.C: forgot to add INSETTEXT here.
14449
14450 2001-11-28  Juergen Vigna  <jug@sad.it>
14451
14452         * sp_spell.C (initialize): changed error text to more general
14453         spellchecker command use (not only ispell!)
14454
14455         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14456
14457         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14458
14459 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * vspace.C: initialise lyxgluelength on failure
14462
14463 2001-11-28  Allan Rae  <rae@lyx.org>
14464
14465         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14466         declaration & definition that looks like a function declaration.
14467
14468 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * BufferView2.C (copy):
14471         (copyEnvironment): do not clear the selection when doing a copy.
14472
14473         * text.C (paintFirstRow): compilation fix
14474
14475 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14476
14477         * tabular.C (Latex): correct line count when writing latex.
14478
14479 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * paragraph_pimpl.h:
14482         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14483           bug a bit
14484
14485 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * text.C:
14488         * LColor.h:
14489         * LColor.C: change vfillline->added_space
14490
14491         * text.C: add markers and text for added space
14492
14493         * vspace.C: fix comment
14494
14495 2001-11-28  André Pönitz <poenitz@gmx.net>
14496
14497         * paragraph.C: whitespace changes
14498         * all the other files from the change on 2001/11/26:
14499         change *::pos_type into lyx::pos_type
14500
14501 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14504         language of the document when inserting error insets.
14505
14506 2001-11-26  André Pönitz <poenitz@gmx.net>
14507
14508         * BufferView_pimpl.[Ch]:
14509         *       CutAndPaste.C:
14510         * buffer.[Ch]:
14511         * lyxcursor.[Ch]:
14512         * lyxfind.C:
14513         * lyxfunc.C:
14514         * lyxrow.[Ch]:
14515         * paragraph.[Ch]:
14516         * paragraph_pimpl.[Ch]:
14517         * sp_spell.C:
14518         * text.C:
14519         * text2.C: reduce header dependencies, introduce type for positions
14520
14521 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * <various>: change to use Alert.h
14524
14525 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14526
14527         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14528         when encountering an unknown token.
14529         (readLyXformat2): Show an error message if there were unknown tokens.
14530
14531 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * BufferView2.C:
14534         * BufferView_pimpl.C:
14535         * buffer.C:
14536         * paragraph.h:
14537         * text.C:
14538         * text2.C: use par->isInset()
14539
14540 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * paragraph_pimpl.h:
14543         * paragraph_pimpl.C: cleanup
14544
14545 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * text2.C (removeRow):
14548         * text.C (setHeightOfRow): remove useless (and costly) call to
14549         getRow.
14550
14551 2001-11-20  Allan Rae  <rae@lyx.org>
14552
14553         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14554         Now need Inset*::checkInsertChar() to return true for appropriate
14555         cases so that the characters in the minibuffer will actually be
14556         inserted.
14557
14558 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * text.C: change the order of the includes.
14561         (workWidth): initialize it at once.
14562         (workWidth): make maxw unsigned
14563         (setHeightOfRow): remove unused variable (inset)
14564         (selectSelectedWord): remove unused variable (inset)
14565         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14566
14567 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14570         server is not running.
14571         (openConnection):
14572         (closeConnection): add debug info when server is disabled.
14573
14574         * ColorHandler.C (getGCForeground): send debug message to GUI
14575         channel.
14576
14577         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14578
14579         * kbmap.C (bind): modify because return conventions of
14580         kb_sequence::parse have changed.
14581
14582         * kbsequence.C (parse): only ignore spaces and not any stupid
14583         control character. This avoids tests like s[i] <= ' ', which are
14584         guaranteed to fail with 8bit characters and signed chars.
14585         Change return code to string::npos when there have been no error
14586         (0 was a bad idea when error is at first character)
14587
14588 2001-11-14  José Matos  <jamatos@fep.up.pt>
14589
14590         * buffer.h:
14591         * buffer.C (simpleDocBookOnePar): removed unused argument.
14592
14593 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14596         insets which are part of a word. Paragraph::isLetter takes care of
14597         that now. Use Paragraph::isInset to identify insets.
14598         (selectSelectedWord): do not test for hyphenation break.
14599
14600         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14601         that protected spaces are considered as spaces.
14602
14603         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14604         Inset::isLetter.
14605
14606 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * lyxserver.h:
14609         * lyxserver.C: fix it. and small cleanup.
14610
14611 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14612
14613         * BufferView_pimpl.C: use inline helpers
14614
14615         * LaTeXFeatures.h:
14616         * LaTeXFeatures.C: fix typos
14617
14618         * Spacing.h:
14619         * Spacing.C: move spacing_string into class
14620
14621         * ToolbarDefaults.C: move stuff into namespace anon
14622
14623         * layout.h: update enum
14624
14625         * lyxfunc.C: use better debug
14626
14627         * minibuffer.h: fix typo
14628
14629         * debug.h:
14630         * debug.C:
14631         * WorkArea.C: add and use Debug::WORKAREA
14632
14633         * lyxtext.h:
14634         * text.C:
14635         * text2.C: code re-organisation, inline helpers
14636
14637 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14638
14639         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14640         std::vector.empty().
14641
14642 2001-11-09  Allan Rae  <rae@lyx.org>
14643
14644         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14645         '\n's after tables.  Tabular and ERT inset work now makes this no
14646         longer necessary.
14647
14648 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * minibuffer.h:
14651         * minibuffer.C: fix crash, improve drop-down completion
14652
14653 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14654
14655         * lyxserver.h:
14656         * lyxserver.C: invalidate fd's when doing endPipe()
14657
14658 2001-11-08  José Matos  <jamatos@fep.up.pt>
14659
14660         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14661         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14662
14663         * paragraph.h:
14664         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14665
14666 2001-11-07  José Matos  <jamatos@fep.up.pt>
14667
14668         * buffer.h:
14669         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14670         const qualifier.
14671
14672         * buffer.C (sgmlOpenTag):
14673         * buffer.C (sgmlCloseTag): removed debug info.
14674
14675         * buffer.h (sgmlOpenTag):
14676         * buffer.h (sgmlCloseTag): made public.
14677
14678 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * buffer.C (saveParamsAsDefaults):
14681         * lyx_cb.C (MenuLayoutSave): remove
14682
14683         * LyXAction.C (init):
14684         * commandtags.h:
14685         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14686
14687 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14688
14689         * buffer.C (setPaperStuff): removed from here...
14690
14691         * bufferparams.C (setPaperStuff): ... and moved there.
14692
14693 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * minibuffer.h:
14696         * minibuffer.C:
14697         * XFormsView.C: add support for drop-down completion
14698
14699 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14700
14701         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14702         commands.
14703
14704 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14705
14706         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14707         disabled.
14708
14709 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyx_main.C: change ref to known bugs
14712
14713 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14714
14715         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14716         to work around older babel problems.
14717
14718 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14719
14720         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14721
14722 2001-10-24  Juergen Vigna  <jug@sad.it>
14723
14724         * tabular-old.C (ReadOld): below variable changes reflected.
14725
14726         * tabular.[Ch]: added ltType struct for longtable header/footer
14727         defines and changed all instances where they are used. Added
14728         future support for double top/bottom rows.
14729
14730 2001-10-24  José Matos  <jamatos@fep.up.pt>
14731
14732         * buffer.h (docbookHandleCaption):
14733         * buffer.C (docbookHandleCaption): removed unused function.
14734         (makeDocBookFile): moved docbook supported version to v4.1.
14735
14736 2001-10-24  José Matos  <jamatos@fep.up.pt>
14737
14738         * tabular.h:
14739         * tabular.C (docbookRow): new function to export docbook code of a row.
14740         (DocBook): now honors the longtable flags.
14741
14742 2001-10-23  José Matos  <jamatos@fep.up.pt>
14743
14744         * LaTeXFeatures.h:
14745         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14746         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14747
14748         * buffer.C (makeLinuxDocFile):
14749         (makeDocBookFile): reworked the preamble, more clean, and with
14750         support for lyx defined entities. Changed the document declaration
14751         to be more XML friendly.
14752
14753         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14754         if we need to output XML that should be done with a filter.
14755
14756 2001-10-22  Juergen Vigna  <jug@sad.it>
14757
14758         * sp_pspell.h (class PSpell): add alive function needed in the
14759         controller to see if the spellchecker could be started.
14760
14761 2001-10-22  Juergen Vigna  <jug@sad.it>
14762
14763         * buffer.C (insertStringAsLines): modify the font for inserting
14764         chars in certain conditions by calling checkInsertChar(font).
14765
14766 2001-10-19  Juergen Vigna  <jug@sad.it>
14767
14768         * text.C (workWidth): use getRow instead of wrong algorithm.
14769         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14770
14771 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * lyxserver.h:
14774         * lyxserver.C:
14775         * lyx_main.h:
14776         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14777
14778 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * text.C (workWidth): do not search for the exact row when
14781         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14782         optimization for big documents.
14783
14784 2001-10-18  Juergen Vigna  <jug@sad.it>
14785
14786         * text.C (workWidth): new function with added Inset * parameter.
14787
14788 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14791
14792         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14793         change return type of getColumnNearX.
14794
14795
14796         * text.C (changeRegionCase): use uppercase/lowercase instead of
14797         toupper/tolower.
14798         (leftMargin):
14799         (rightMargin): simplify code by factoring out the uses of
14800         textclasslist.
14801         (labelFill):
14802         (numberOfHfills):
14803         (setHeightOfRow):
14804         (appendParagraph): use Paragraph::size_type
14805
14806 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * vspace.C (asLatexString): add a missing break
14809
14810 2001-10-15  Herbert Voss  <voss@perce.de>
14811
14812         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14813
14814 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14815
14816         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14817         is not available.
14818
14819 2001-10-10  André Pönitz <poenitz@gmx.net>
14820
14821         * lyxfunc.C: removed greek_kb_flag.
14822
14823 2001-10-10  Herbert Voss  <voss@perce.de>
14824
14825         * lyx_main.C: delete global string help_lyxdir.
14826
14827 2001-10-09  Herbert Voss  <voss@perce.de>
14828
14829         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14830
14831         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14832
14833         * lyx_main.C: added global string help_lyxdir.
14834
14835         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14836
14837 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14838
14839         * lyxrc.C (set_font_norm_type): support iso8859-4
14840
14841 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14842
14843         * LaTeX.C (deplog): add another regex for MikTeX
14844
14845 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14846
14847         * lyxrc.C (set_font_norm_type): support iso8859-3
14848
14849 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14852
14853         * LaTeXFeatures.C: remove special case of french and index
14854
14855         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14856         before \begin{document}). This solves several incompatibilities.
14857
14858 2001-10-03  Garst Reese  <reese@isn.net>
14859
14860         * lyx_cb.C: change CheckTex error msg.
14861
14862 2001-10-03  José Matos  <jamatos@fep.up.pt>
14863
14864         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14865
14866 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * .cvsignore: update
14869
14870         * lyx_main.C (commandLineVersionInfo): use new style version info.
14871
14872         * buffer.C (writeFile):
14873         (makeLaTeXFile):
14874         (makeLinuxDocFile):
14875         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14876
14877         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14878
14879         * version.h: update to use stuff in version.C
14880
14881         * version.C.in: new file. Contains version information determined
14882         at compile time. This is a merging of version.h and
14883         version_info.h.in.
14884
14885 2001-10-03  Juergen Vigna  <jug@sad.it>
14886
14887         * BufferView_pimpl.C (update): don't change "dirty" status in
14888         updateInset call.
14889
14890 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14891
14892         * WorkArea.C (c-tor): re-position version string slightly.
14893
14894 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14895
14896         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14897         revert to previous code.
14898
14899         WorkArea.[Ch]: (show, destroySplash): methods removed.
14900
14901         WorkArea.C: rework code so that it's an amalgam of the codes before and
14902         after the splash screen was moved to WorkArea.
14903
14904 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * lyxrc.C (read):
14907         * vspace.C (inPixels):
14908         (lyx_advance):
14909         * kbmap.C (bind):
14910         * buffer.C (insertStringAsLines):
14911         (asciiParagraph): fix types to be large enough
14912
14913         * lyxlex_pimpl.h: change member status from short to int
14914
14915         * layout.h: fix type of endlabeltype
14916
14917         * kbmap.C (bind):
14918         * kbsequence.C (parse): change return type to string::size_type
14919
14920         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14921         variable
14922
14923         * Bullet.C (bulletSize):
14924         (bulletEntry): do not use short ints as parameters
14925
14926         * BufferView2.C (insertLyXFile): change a char to an int.
14927
14928         * WorkArea.C (WorkArea): remove unneeded floats in computation
14929
14930 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14931
14932         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14933
14934         * paragraph.C (asString): Do not ignore newline/hfill chars when
14935         copying to the clipboard.
14936
14937 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14938
14939         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14940         after a multi-line inset.
14941
14942 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14943
14944         * paragraph.C (validate): Set NeedLyXFootnoteCode
14945
14946 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14949         and decrease-error to decrease.
14950
14951 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14954         it more readable (should be equivalent)
14955
14956 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14957
14958         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14959
14960 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14963         of a cursor (row, etc.) after a character has been deleted
14964         (deleteEmptyParagraphMechanism): call the method above on _all_
14965         cursors held by the LyXText when a double space has been
14966         detected/deleted.
14967
14968 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14969
14970         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14971         pixmap.
14972         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14973
14974         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14975         background. Use greyOut() and the new show() methods to toggle between
14976         the foreground and background. Add code to remove the splash after
14977         its initial showing.
14978
14979         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14980         (create_forms): no longer call Dialogs::showSplash.
14981
14982 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14983
14984         * .cvsignore: add version_info.h
14985
14986 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * version_info.h.in: new file
14989
14990         * Makefile.am: add version_info.h.in
14991
14992         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14993         version_info.h instead of VERSION_INFO
14994
14995 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14996
14997         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14998         The ERT inset now returns string().
14999
15000 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15001
15002         * lyxtext.h, text.C (selectNextWord): renamed as
15003         selectNextWordToSpellcheck.
15004
15005         * text.C (selectNextWordToSpellcheck): Modified to not select
15006         words inside an ERT inset.
15007
15008 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * lyx_cb.C (MenuLayoutSave): change a bit the question
15011
15012         * sp_base.h: include <sys/types.h>
15013
15014 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15015
15016         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15017
15018 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15019
15020         * several files: fix typos in user-visible strings
15021
15022 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * text2.C (pasteSelection): do not set the selection, since it
15025         will be cleared later. Actually, the intent was to fix the way the
15026         selection was set, but I figured rmoving the code was just as good.
15027
15028 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15029
15030         * FontLoader.C (available): Check if font is available without
15031         loading the font.
15032
15033 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15034
15035         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15036
15037 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * lyxrc.[Ch]: added display_graphics variable and associated code.
15040
15041 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15042
15043         * bufferparams.C (hasClassDefaults): new method. Returns true if
15044         the buffer parameters correspond to known class defaults
15045
15046 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15047
15048         * XFormsView.C (show): set minimum size to the main window.
15049
15050 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15051
15052         * text2.C (copySelection):
15053         (cutSelection):
15054         * lyxfind.C (LyXReplace):
15055         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15056         LyXText::selectionAsString.
15057
15058         * paragraph.C (asString): add "label" argument to the second form
15059
15060         * text2.C (selectionAsString): add "label" argument and pass it to
15061         Paragraph::asString.
15062
15063 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * lyx_main.C (commandLineHelp): remove version information
15066
15067 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15068
15069         * lyx_main.C: add -version commandline option
15070
15071 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * paragraph.h: make the optional constructor arg required instead.
15074         some modifications to other files because of this.
15075
15076         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15077
15078         * lyxserver.C (C_LyXComm_callback): make it static
15079
15080         * lyx_main.C (error_handler): make it static
15081
15082         * lyx_gui.C (LyX_XErrHandler): make it static
15083
15084         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15085
15086         * WorkArea.C: make the extern "C" methods static.
15087
15088         * Makefile.am (lyx_LDADD): simplify
15089
15090 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15091
15092         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15093         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15094
15095         * LyXAction.C (init):
15096         * lyxfunc.C (dispatch): associated code removal.
15097
15098 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15099
15100         * lyxfont.h (isSymbolFont): shut off warning
15101
15102         * text.C (setHeightOfRow):
15103         (getVisibleRow): fix crash with empty paragraphs which have a
15104         bottom line
15105
15106 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15107
15108         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15109         code.
15110
15111 2001-09-04  José Matos  <jamatos@fep.up.pt>
15112         * buffer.C
15113         * buffer.h
15114         * tabular.C (docbook): rename docBook method to docbook.
15115
15116 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15117
15118         * Makefile.am: add dependencies to main.o.
15119
15120 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15121
15122         * FontLoader.C (available): Return false if !lyxrc.use_gui
15123
15124 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15125
15126         * FontInfo.C (query):
15127         * converter.C (view):
15128         * importer.C (Import):
15129         * exporter.C (Export): Can not -> cannot.
15130
15131 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15132
15133         * BufferView_pimpl.C: allow to create index inset even if
15134           string is empty
15135
15136 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15137
15138         * buffer.C (getLists): replace boost::tie code with an explicit pair
15139         as boost::tie can break some compilers.
15140
15141         * iterators.h: Added a std:: declaration to the return type of
15142         ParIterator::size.
15143
15144 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15147           case.
15148
15149 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * iterators.[Ch]: New files. Provide paragraph iterators.
15152
15153         * buffer.C (changeLanguage): Use paragraph iterators.
15154         (isMultiLingual): ditto
15155
15156         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15157
15158 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * FontLoader.C: Support for cmr font.
15161
15162 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15165         (available): New method.
15166
15167         * FontInfo.C (getFontname): Use scalable fonts even when
15168         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15169         found.
15170
15171 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15172
15173         * converter.C (Formats::view): reverted! Incorrect fix.
15174
15175 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15176
15177         * converter.C (Formats::view): only output the -paper option
15178         if the dvi viewer is xdvi, thereby fixing bug #233429.
15179
15180 2001-08-23  Herbert Voss  <voss@perce>
15181
15182         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15183
15184 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15185
15186         * Spacing.h (Spacing): Set space to Default on in the default
15187         constructor.
15188
15189 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * vc-backend.h (RCS::versionString): add RCS to version
15192         (CVS::versionString): add CVS to version
15193
15194         * vc-backend.C (scanMaster): do not add CVS to version.
15195         (scanMaster): do not add RCS to version
15196
15197         * lyxvc.C (versionString): new method
15198
15199         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15200
15201 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * Spacing.C (set): initialize fval
15204
15205 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15206
15207         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15208         " or \.
15209
15210 2001-08-16  Juergen Vigna  <jug@sad.it>
15211
15212         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15213
15214 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * BufferView_pimpl.C:
15217         * figureForm.C:
15218         * lyxtext.h:
15219         * text2.C: setParagraph takes linespacing now
15220
15221 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15222
15223         * LyxAction.C: add internal LFUN_CITATION_INSERT
15224
15225         * LyXView.C: actually apply fix
15226
15227         * bufferlist.C: fix open non-existent file
15228
15229         * lyxfind.C: fix indentation
15230
15231         * lyxfunc.C: remove unneeded assert, fix typo
15232
15233 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15234
15235         * MenuBackend.C: use "Floatname List"
15236
15237 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15240         when converting LaTeX layout to insetERT.
15241         Generate a non-collapsed float when reading old float
15242
15243 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15246         ERT insets.
15247
15248 2001-08-13  Juergen Vigna  <jug@sad.it>
15249
15250         * text.C (fill): return 0 instead of 20 as this seems to be the more
15251         correct value.
15252
15253 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15256         lyxrc.font_norm.
15257
15258 2001-08-13  Juergen Vigna  <jug@sad.it>
15259
15260         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15261         casesensitive off.
15262         (SearchBackward): comment out the unlocking of the inset_owner this
15263         should not be needed!
15264
15265 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * Many files: Remove inherit_language, and add latex_language
15268
15269         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15270         collapsible insets.
15271
15272 2001-08-10  Juergen Vigna  <jug@sad.it>
15273
15274         * text.C (prepareToPrint): fixed hfill-width in draw!
15275
15276         * BufferView2.C (selectLastWord): save the selection cursor as this
15277         now is cleared in the function LyXText::clearSelection!
15278
15279 2001-08-08  Juergen Vigna  <jug@sad.it>
15280
15281         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15282         BACKSPACE type functions.
15283
15284         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15285         is only cutted from the document but not put in the cut-buffer, where
15286         still the old stuff should be.
15287
15288         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15289
15290         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15291
15292         * tabular.C (SetWidthOfCell): fixed special case where the width
15293         was not updated!
15294         (LeftLine): handle '|' in align_special.
15295         (RightLine): ditto
15296         (LeftAlreadyDrawed): ditto
15297         (SetWidthOfCell): ditto
15298
15299 2001-08-07  Juergen Vigna  <jug@sad.it>
15300
15301         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15302
15303 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15306         * lyxlex.[hC]: ditto
15307
15308 2001-08-06  Juergen Vigna  <jug@sad.it>
15309
15310         * text.C (getVisibleRow): fix up row clearing a bit.
15311
15312 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * minibuffer.C: make sure the X server sees the changes in the input.
15315
15316 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * paragraph.C (getFont): split into...
15319         (getLabelFont): this
15320         (getLayoutFont): and this
15321         * paragraph_pimpl.C (realizeFont): calling this
15322
15323         * text2.C (getFont): split into...
15324         (getLayoutFont): this
15325         (getLabelFont): and this
15326         (realizeFont): all three calling this
15327
15328         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15329         files where used.
15330
15331 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15334
15335 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15336
15337         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15338         layouts from the Quote inset insertion.
15339
15340 2001-08-03  Juergen Vigna  <jug@sad.it>
15341
15342         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15343
15344         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15345         only if status not is already CHANGED_IN_DRAW (second level).
15346
15347         * text.C (draw): don't set the need_break_row when inside an
15348         InsetText LyXText.
15349
15350 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * buffer.C (parseSingleLyXformat2Token): handle more latex
15353         conversion cases.
15354
15355         * bufferview_funcs.[hC]: change function names to
15356         begin with small char, adjust other files.
15357
15358 2001-08-02  André Pönitz <poenitz@gmx.net>
15359
15360         * lyxfunc.C:
15361         BufferView_pimpl.C: remove broken special code for math-greek
15362
15363 2001-08-02  Juergen Vigna  <jug@sad.it>
15364
15365         * BufferView_pimpl.C (update): redone this function so that we
15366         update the text again if there was a CHANGE_IN_DRAW.
15367
15368         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15369         (drawFromTo): added a new internal bool which is used by draw() and
15370         redraw() function.
15371         (general): some cursor drawing problems fixed.
15372
15373 2001-08-01  Juergen Vigna  <jug@sad.it>
15374
15375         * lyxfind.C (LyXFind): fixed
15376         (SearchForward): ditto
15377         (SearchBackward): ditto
15378
15379         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15380         spurius drawing of the cursor in the main area.
15381
15382         * text2.C (status): small fix which could lead to a segfault!
15383         (clearSelection): remove unneeded BufferView param.
15384
15385 2001-08-01  André Pönitz <poenitz@gmx.net>
15386
15387         * lyxfunc.C: small change due to changed mathed interface
15388
15389 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15390
15391         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15392
15393 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * lyxfunc.c: fail gracefully if file doesn't exist
15396
15397         * LyXSendto.C:
15398         * buffer.C:
15399         * lyxfunc.C:
15400         * BufferView_pimpl.C: IsDirWriteable() proto changed
15401
15402         * LyXView.C: fix updateWindowTitle() to store the last title
15403
15404 2001-07-31  Juergen Vigna  <jug@sad.it>
15405
15406         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15407         the font (wrong since using of Paragraph::highestFontInRange).
15408
15409         * paragraph.C (highestFontInRange): added a default_size parameter.
15410
15411         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15412         (setHeightOfRow): reformat
15413
15414 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * converter.[hC] + affected files: move to (inital-char)lowercase
15417         function names.
15418
15419         * ParagraphParameters.C (ParagraphParameters): remove commented code
15420
15421         * PainterBase.[Ch]: remove commented code
15422
15423         * LaTeXFeatures.h: add "bool floats" for float.sty
15424
15425         * LaTeXFeatures.C (LaTeXFeatures): init floats
15426         (require): handle float
15427         (getPackages): do it with floats
15428
15429 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * BufferView_pimpl.C (Dispatch): improve handling of
15432         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15433
15434         * commandtags.h: #include lyxfont.h here temporarily to avoid
15435         keybinding bug.
15436
15437         * bufferlist.h: include LString.h here.
15438
15439 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * text2.C (getStringToIndex): new method.
15442
15443 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15444
15445         * *: Reduced header file dependencies all over.
15446
15447 2001-07-30  Baruch Even  <baruch@lyx.org>
15448
15449         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15450
15451 2001-07-29  Baruch Even  <baruch@lyx.org>
15452
15453         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15454
15455 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15456
15457         * ParameterStruct.h (endif): add a default constructor to make
15458         sure that all variables is initialized.
15459
15460         * ParagraphParameters.C (ParagraphParameters): adjust
15461
15462 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15465         index; also, check that there is something to index, and that it
15466         does not span over several paragraphs.
15467         (doubleClick): use WHOLE_WORD_STRICT for double click.
15468
15469         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15470
15471         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15472         scheme.
15473
15474 2001-07-26  Baruch Even  <baruch@lyx.org>
15475
15476         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15477         an InsetFig figure, backwards compatible reading of old figure code.
15478
15479 2001-07-27  Juergen Vigna  <jug@sad.it>
15480
15481         * text2.C: font.realize function adaption.
15482
15483         * text.C (draw): add a warnings lyxerr text if needed.
15484
15485         * layout.C: font.realize function adaption.
15486
15487         * language.C: add inherit_language and implement it's handlings
15488
15489         * bufferview_funcs.C (StyleReset): remove language parameter from
15490         font creation (should be language_inherit now).
15491
15492         * bufferparams.C (writeFile): handle ignore_language.
15493
15494         * paragraph.C (getFontSettings): the language has to be resolved
15495         otherwise we have problems in LyXFont!
15496
15497         * lyxfont.C (lyxWriteChanges): added document_language parameter
15498         (update): removed unneeded language parameter
15499
15500         * paragraph.C (validate): fixed wrong output of color-package when
15501         using interface colors for certain fonts in certain environments,
15502         which should not seen as that on the final output.
15503
15504 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15505
15506         * BufferView_pimpl.C:
15507         * Thesaurus.h:
15508         * Thesaurus.C:
15509         * Makefile.am:
15510         * commandtags.h:
15511         * LyXAction.C: add thesaurus support
15512
15513         * lyxfind.h:
15514         * lyxfind.C: add "once" parameter, for thesaurus, to not
15515           move to the next match
15516
15517 2001-07-26  Juergen Vigna  <jug@sad.it>
15518
15519         * lyxfont.C (realize): honor ignore_language too!
15520         (resolved): ditto.
15521
15522         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15523
15524         * text.C (draw): one place more for ignore_language to not draw
15525         itself!
15526
15527 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15530
15531 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15534         the minipage conversion problem.
15535
15536 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15539         insert an inset.
15540
15541 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15542
15543         * BufferView.h: don't forward declare WorkArea
15544
15545         * BufferView.C: don't include WorkArea.h
15546
15547 2001-07-25  André Pönitz <poenitz@gmx.net>
15548
15549         * commandtags.h:
15550         * LyXAction.C:
15551         * lyxfunc.C:  new LFUN 'math-space'
15552
15553         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15554
15555 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * text2.C (toggleInset): call open/close
15558
15559 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * lyxfunc.C (dispatch): add debug for the disabled case
15562
15563         * font.C (buttonText): make similar to rectText
15564
15565         * buffer.C (readInset): comment out parsing of insetlist and
15566         insttheorem
15567
15568         * PainterBase.C (rectText): small correction
15569
15570         * BufferView_pimpl.C: comment out insettheorem and insetlist
15571         * LyXAction.C: ditto
15572         * commandtags.h: ditto
15573
15574 2001-07-24  Juergen Vigna  <jug@sad.it>
15575
15576         * text.C (draw): honor the ignore_language.
15577
15578         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15579
15580 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15583         char inset.
15584
15585 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15586
15587         * lyxtext.h: remove unused (and unimplemented) methods
15588
15589 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15590
15591         * text.C (getVisibleRow): honor background color
15592
15593         * PainterBase.h:
15594         * Painter.h: remove default color argument for fillRectangle
15595
15596         * text.C (backgroundColor): new method
15597
15598 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * text.C (getVisibleRow): adjust
15601
15602         * font.[Ch] (rectText): new method, metrics
15603         (buttonText): new method, metrics
15604
15605         * PainterBase.[hC]: make rectText and buttonText always draw and take
15606         fewer paramteres.
15607
15608 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15609
15610         * ToolbarDefaults.C (read):
15611         * MenuBackend.C (read): allow escaping in all strings
15612
15613         * BufferView_pimpl.C (insertAndEditInset): new method.
15614         (Dispatch): use insertAndEditInset whenever appropriate.
15615
15616         * BufferView_pimpl.C (insertNote): removed
15617
15618         * BufferView_pimpl.C (smartQuote): new method, moved from
15619         BufferView; if an insetquote cannot be inserted, insert a '"'
15620         character instead.
15621
15622         * BufferView2.C: remove insertCorrectQuote();
15623
15624         * lyxfunc.C (getStatus): Add support for all remaingin
15625         inset-insert lfuns.
15626
15627         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15628
15629         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15630         command (necessary to pass " as parameter of self-insert.
15631
15632         * text.C (selectWordWhenUnderCursor):
15633         (selectWord): add word_location parameter
15634         (selectWordWhenUnderCursor): same + remove special code for word
15635         boundary.
15636         (selectNextWord): use kind() to guess type of insetspecialchar,
15637         not latex().
15638
15639         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15640         (insertErtContents): create ert insets as collapsed.
15641         (readInset): better compatibility code for Info inset.
15642
15643 2001-07-20  Juergen Vigna  <jug@sad.it>
15644
15645         * lyxfunc.C (dispatch): use always LyXFind now!
15646
15647         * text2.C (init): add a reinit flag so that the LyXText can be
15648         reinited instead of deleted and reallocated (used in InsetText).
15649
15650         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15651
15652         * text.C: ditto
15653
15654         * text2.C: ditto
15655
15656 2001-07-18  Juergen Vigna  <jug@sad.it>
15657
15658         * text.C (selectNextWord): handle insets inside inset by calling
15659         always the bv->text functions so that we can go up the_locking_inset!
15660
15661         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15662         in strange locations when inside an inset!
15663
15664         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15665         handling to include insets.
15666
15667         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15668
15669 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * LyXAction.C (init):
15672         * commandtags.h:
15673         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15674         LIGATURE_BREAK, since the name is so stupid.
15675
15676 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15679         InsetInfos.
15680
15681         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15682
15683         * sp_form.[Ch]: remove.
15684
15685         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15686
15687         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15688         InsetInfo.
15689
15690         * src/buffer.C (readInset): ditto.
15691
15692 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15693
15694         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15695         menuSeparator(), endOfSentenceDot(), ldots() and
15696         hyphenationPoint(), which are therefore removed.
15697         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15698
15699         * LyXAction.C (init):
15700         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15701
15702         * paragraph.C (getWord): removed.
15703
15704         * BufferView_pimpl.C (Dispatch): use last word or selection for
15705         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15706
15707         * lyx_main.C (queryUserLyXDir): do not ask before creating
15708         user_dir, except if it has been named explicitely.
15709
15710 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15713         a document of zero size.
15714
15715 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15718         approriately in the c-tor and in require().
15719         (getPackages): output the appropriate LaTeX for natbib support.
15720
15721         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15722         variables "use_natbib" and "use_numerical_citations" when reading the
15723         LyX file.
15724         (readInset): read the various natbib cite commands.
15725         (validate): white-space change.
15726
15727         * bufferparams.[Ch]: new variables "bool use_natbib" and
15728         "bool use_numerical_citations".
15729         (writeFile): output them in the LyX file.
15730
15731 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15732
15733         * lyxfunc.C (getStatus): add support for all the inset insertion
15734         commands.
15735
15736         * text2.C (insertInset):
15737         * paragraph.C (insetAllowed):
15738         * BufferView_pimpl.C (insertInset): update to take in account the
15739         renaming of insertInsetAllowed
15740
15741         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15742
15743         * text2.C (getInset): new method. returns inset at cursor position.
15744
15745         * BufferView_pimpl.C (Dispatch): changes because of this.
15746
15747         * LyXAction.C (init): rename open-stuff to inset-toggle.
15748
15749         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15750
15751         * text2.C (toggleInset): renamed from openStuff; use
15752         Inset::open().
15753
15754 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15755
15756         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15757
15758         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15759
15760 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15761
15762         * buffer.C (readLyXformat2): Add filename to the error dialog
15763
15764 2001-07-18  Juergen Vigna  <jug@sad.it>
15765
15766         * tabular.C (GetCellNumber): put an assert here instead of the check!
15767
15768 2001-07-17  Juergen Vigna  <jug@sad.it>
15769
15770         * BufferView_pimpl.C (toggleSelection): adapted too.
15771
15772         * text.C (selectNextWord): adapted for use with insets.
15773         (selectSelectedWord): ditto
15774
15775 2001-07-17  Juergen Vigna  <jug@sad.it>
15776
15777         * sp_spell.C (PSpell): fix initialitation order.
15778
15779 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * paragraph.C: spacing
15782
15783 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15784
15785         * sp_spell.C: repair language selection for pspell
15786
15787 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15788
15789         * lyxfunc.h: change more methods to begin with lower char.
15790
15791 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15792
15793         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15794         for unknown layouts.
15795
15796 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15797
15798         * buffer.C (readLyXformat2): Generate an error dialog if there are
15799         unknown layouts.
15800
15801 2001-07-16  Juergen Vigna  <jug@sad.it>
15802
15803         * sp_spell.C: always compile ISpell part.
15804
15805         * lyxrc.C: added use_pspell entry and it's handling.
15806
15807 2001-07-13  Juergen Vigna  <jug@sad.it>
15808
15809         * sp_spell.C: removed double includes.
15810
15811 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15812
15813         Consistent use of Lsstream.h:
15814         * Lsstream.h: added using std::stringstream for consistencies sake.
15815
15816         * buffer.C: removed using std::stringstream
15817
15818         * lyxfont.C (stateText):
15819         * paragraph.C (asString):
15820         * text.C (selectNextWord, selectSelectedWord):
15821         * text2.C (setCounter):
15822         * vspace.C (asString, asLatexString):
15823         std::ostringstream -> ostringstream.
15824
15825 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15826
15827         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15828         * commandtags.h: add LFUN_HELP_ABOUTLYX
15829         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15830
15831 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15832
15833         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15834         cursorToggle()
15835         * lyx_gui_misc.C: remove spellchecker
15836         * lyxfunc.C: showSpellchecker
15837         * sp_base.h: added
15838         * sp_ispell.h: added
15839         * sp_pspell.h: added
15840         * sp_spell.C: added
15841         * sp_form.[Ch]: removed
15842         * spellchecker.[Ch]: removed
15843
15844 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15845
15846         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15847         is set.
15848         (simpleTeXSpecialChars): Simply print the input character without
15849         any special translation if pass_thru is set.
15850
15851         * layout.h: Added bool pass_thru to layout class for being able to
15852         implement pass through of a paragraph for Literate Programming.
15853
15854         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15855         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15856         * layout.C (Read): add "passthru" to list of layout tags and add
15857         code to set the pass_thru boolean when it is read.
15858
15859 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15860
15861         * trans_decl.h: remove allowed from KmodInfo
15862
15863         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15864         remove allowed code
15865         (Load): adjust
15866
15867         * paragraph_pimpl.C (erase): use boost::prior
15868
15869         * Painter.C (text): use data() instead of c_str() when length is
15870         also provided.
15871         * WorkArea.C (putClipboard): ditto
15872         * font.h (width): ditto
15873
15874         * BufferView2.C: use it-> instead of (*it). for iterators
15875         * texrow.C: ditto
15876         * paragraph_pimpl.C: ditto
15877         * paragraph.C: ditto
15878         * minibuffer.C: ditto
15879         * language.C: ditto
15880         * kbmap.C: ditto
15881         * encoding.C: ditto
15882         * counters.C: ditto
15883         * converter.C: ditto
15884         * chset.C: ditto
15885         * Variables.C: ditto
15886         * TextCache.C: ditto
15887         * MenuBackend.C: ditto
15888         * LyXAction.C: ditto
15889         * LColor.C: ditto
15890         * FloatList.C: ditto
15891         * DepTable.C: ditto
15892         * ColorHandler.C (LyXColorHandler): ditto
15893
15894 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15897
15898         * text2.C (openStuff): reintroduce this method (which had been
15899         nuked in NEW_INSETS frenzy).
15900
15901         * lyxfunc.C (Dispatch): when an action has not been handled, use
15902         its name in the error message, not its number.
15903
15904         * paragraph.C (inInset): change method name to begin with lowercase.
15905
15906         * undo_funcs.C:
15907         * text2.C: updates because of this.
15908
15909 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15910
15911         * ToolbarDefaults.C (add): add spaces in error message
15912
15913 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15916         (readLyXformat2): rename return_par to first_par, use lyxlex's
15917         pushToken and remove the manual push handling.
15918         (parseSingleLyXformat2Token): add another ert comp. variable:
15919         in_tabular, rename return_par to first_par. handle newlines better
15920
15921 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15922
15923         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15924
15925 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15926
15927         * text2.C (getParFromID): removed
15928
15929         * buffer.C (getParFromID): new method moved form lyxtext.
15930         * BufferView2.C (insertErrors): adjust
15931         (setCursorFromRow): adjust
15932         * BufferView_pimpl.C (restorePosition): adjust
15933         * lyxfunc.C (Dispatch): adjust
15934         * undo_funcs.C (textUndo): adjust
15935         (textRedo): adjust
15936         (textHandleUndo): adjust
15937         (textHandleUndo): adjust
15938
15939 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * buffer.C: up' the LYX_FORMAT
15942
15943         * lyxfont.h: turn NO_LATEX on as default
15944
15945         * buffer.C (insertErtContents): new methods of tex style compability.
15946         (parseSingleLyXformat2Token): use it several places.
15947         * tabular.C (OldFormatRead): and here
15948
15949 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * text2.C: remove some commented code.
15952         reindent file.
15953
15954         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15955         * trans.C: changes because of the above.
15956
15957 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15958
15959         * text2.C (setCounter): Fix counters bug with bibliography layout.
15960
15961 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15962
15963         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15964         own member functions
15965         (simpleTeXSpecialChars): ditto
15966
15967 2001-07-06  Juergen Vigna  <jug@sad.it>
15968
15969         * a lot of files: changed the access to LyXText::status and the
15970         call of undo-functions.
15971
15972         * undo.[Ch]: added a inset_id to the undo informations.
15973
15974         * undo_funcs.[Ch]: added and moved here all undo functions.
15975
15976         * lyxtext.h: give the status enum a weight, made status_ a private
15977         variable and made accessor functions for it, removed the whole bunch
15978         of undo-functions as they are now in their own file, make some
15979         functions publically available. Added function ownerParagraph with
15980         int parameter.
15981
15982         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15983         made InInset() a const function, added getParFromID() function.
15984
15985         * buffer.[Ch]: added const version for inset_iterator functions,
15986         added getInsetFromID() function.
15987
15988         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15989         changed undo functions for new version.
15990
15991 2001-07-05  Juergen Vigna  <jug@sad.it>
15992
15993         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15994         unknow mechanism does not call the proper constructor but only this
15995         one also if I request the other!?
15996
15997 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15998
15999         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16000
16001         * text2.C (LyXText): use initialization lists.
16002
16003         * lyxtext.h (Selection): initialize set_ and mark_
16004         (init): remove method
16005
16006 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16007
16008         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16009
16010 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * screen.[Ch]: change method names to begin with lowercase
16013
16014         * BufferView_pimpl.C (updateScrollbar): simplify further and
16015         hopefully make it a bit faster.
16016
16017 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16018
16019         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16020         calling directly xforms functions.
16021
16022         * Painter.C (Painter):
16023         * lyx_cb.C (MenuWrite):
16024         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16025         fl_display.
16026
16027         * lyx_gui.C: remove bogus guiruntime extern declaration.
16028
16029 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16030
16031         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16032         in NEW_INSETS
16033         (redoDrawingOfParagraph): ditto
16034         (redoParagraphs): ditto
16035         (cutSelection): don't create a object for CutAndPaste use the
16036         static method directly
16037         (pasteSelection): ditto
16038
16039         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16040         LyXview (+ rename)
16041
16042 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * modifications to some other files because of this.
16045
16046         * Makefile.am (lyx_SOURCES): add XFormsView
16047
16048         * XFormsView.[Ch]: new files
16049
16050         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16051         the main window. Move the gui dependent stuff to XFormsView
16052
16053 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16054
16055         * tabular.C (GetCellInset): update cur_cell also in the row/col
16056         version of this function.
16057
16058         * lyxfunc.C: no need to include figure_form.h here.
16059
16060         * FontLoader.h:
16061         * lyxfunc.h:
16062         * lyxscreen.h:
16063         * text2.C:
16064         * lyxvc.C: no need to include forms.h here.
16065
16066 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16067
16068         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16069
16070         * lyxfunc.C (Dispatch):
16071         * Spacing.C (set):
16072         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16073         constructor argument.
16074
16075 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16076
16077         * paragraph.C (Paragraph): dont't clear, and just set layout.
16078         (makeSameLayout): use params's copy contructor.
16079
16080         * ParagraphParameters.[Ch] (makeSame): delete method
16081
16082 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16083
16084         * Variables.[Ch]: fix indentation, rename set to isSet
16085
16086 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16087
16088         * lyxfunc.C (Dispatch): fix typo
16089
16090 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16093         upper_bound.
16094
16095         * bufferlist.C: include assert.h for emergencyWrite().
16096
16097 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16098
16099         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16100           give up at last (bug #425202) !
16101
16102 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16103
16104         * lyx_gui_misc.C:
16105         * sp_form.h:
16106         * sp_form.C:
16107         * spellchecker.h:
16108         * spellchecker.C: strip spellchecker options and bring up
16109           preferences tab instead
16110
16111 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16112
16113         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16114         the istringstream constructor
16115
16116 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16117
16118         * paragraph.C (getLayout): fix return value
16119
16120         * paragraph.h: do not declare getLayout as inline.
16121
16122         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16123
16124 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * lyxcursor.h (operator<): new func
16127         (operator>): new func
16128         (operator>=): new func
16129         (operator<=): new func
16130
16131         * text.C (changeCase): use selection.start and selection.end
16132         (changeRegionCase): require from to be <= to. Require par to be a
16133         valid paragraph.
16134
16135         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16136
16137 2001-06-27  Juergen Vigna  <jug@sad.it>
16138
16139         * text.C (cursorLeftOneWord): changed to return the cursor and added
16140         overlay with BufferView * parameter which calls this one.
16141         (getWord): added
16142         (selectWord): use new getWord function.
16143         (changeCase): renamed from changeWordCase as and extended to work
16144         also on selections.
16145
16146         * lyxtext.h: added enum word_location
16147
16148         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16149         changeCase as this operates now also on selections.
16150
16151 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16152
16153         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16154
16155         * many files: send debug output to Debug::INFO instead of
16156         Debug::ANY.
16157
16158         * converter.C (View):
16159         (Convert):
16160         (Move): send debug output to Debug::FILES instead of console.
16161
16162 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16163
16164         * lyxfunc.C (getStatus): use func_status
16165
16166         * func_status.h: new header, describing the results of
16167         LyXFunc::getStatus;
16168
16169         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16170         LFUN_MATH_HALIGN.
16171
16172 2001-06-25  The LyX Project  <jug@sad.it>
16173
16174         * buffer.C (sgmlOpenTag):
16175         (sgmlCloseTag):
16176         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16177
16178 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * text2.C: remove some dead code
16181
16182         * tabular.C (GetCellInset): store the last cell checked (gotten)
16183
16184         * tabular.h: add the helper for the speedup
16185
16186         * lyxtext.h: remove some dead code
16187
16188 2001-06-26  The LyX Project  <Asger>
16189
16190         * paragraph.C: Change export to LaTeX of alignment to
16191         \begin{center} and family for better roundtrip work with reLyX.
16192
16193         * Tune the math drawing a bit.
16194
16195 2001-06-25  The LyX Project  <Asger>
16196
16197         * LColor.C (LColor): New color for math background. New color
16198         for buttons.
16199
16200 2001-06-25  The LyX Project  <jug@sad.it>
16201
16202         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16203
16204         * lyxfunc.C (Open):
16205         * bufferlist.C (newFile): do not restrict to files ending with
16206         .lyx
16207
16208         * BufferView_pimpl.C (MenuInsertLyXFile):
16209
16210 2001-06-24  The LyX Project  <jug@sad.it>
16211
16212         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16213         of compare_no_case
16214
16215 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16216
16217         * lyxtext.h: rename most methods to begin with a small char.
16218         Lots of changes because of this.
16219
16220         * paragraph.C (Paragraph): do not call fitToSize
16221         (erase): call Pimpl::erase
16222         (insertChar): call Pimpl::insertChar
16223         (insertInset): call Pipl::insertInset
16224         (breakParagraph): do not call fitToSize
16225         (breakParagraphConservative): do not call fitToSize
16226         (fitToSize): remove method
16227
16228         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16229
16230 2001-06-24  The LyX Project  <Asger>
16231
16232         * Fix Qt compilation^2
16233
16234 2001-06-24  The LyX Project  <jug@sad.it>
16235
16236         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16237         depthHook(getDepth()-1).
16238
16239         * paragraph.h:
16240         * ParagraphParameters.h:
16241         * ParameterStruct.h: change type of depth to unsigned int ==
16242         depth_type. Many adaptations to other files before of that.
16243
16244 2001-06-24  The LyX Project  <Asger>
16245
16246         * Fix Qt compilation.
16247
16248 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * paragraph.h: renamed several methods to begin with small letter.
16251         several changes to many parts of the code because of this.
16252
16253 2001-06-23  The LyX Project  <jug@sad.it>
16254
16255         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16256         rewritten to discard all double spaces when KeepEmpty is off
16257         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16258         to only handle newlines but not fiddle with spaces and friends.
16259
16260         * lyxfunc.C (MenuNew): when doing 'new from template', use
16261         template_path as default directory
16262
16263 2001-06-23  The LyX Project  <Asger>
16264
16265         * Clean-up of header file includes all over
16266         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16267
16268 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16269
16270         * paragraph.h: renamed from lyxparagraph.h
16271
16272 2001-06-23  Asger  <lyx@violet.home.sad.it>
16273
16274         * Buffer.h: Removed Buffer::resize
16275         * BufferList.h: Removed BufferList::resize
16276         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16277         the document lazily when we change the width, or the font settings.
16278
16279 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16282
16283 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16284
16285         * buffer.h: remove out of date comment
16286
16287 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16288
16289         * lyxscreen.h:
16290         * screen.C: fix "theoretical" GC leak
16291
16292 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * LaTeX.C (scanAuxFile):
16295         (deplog): remove trailing \r when reading stream (useful under
16296         win32)
16297
16298 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16299
16300         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16301         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16302         and BufferView::theLockingInset(Inset*), so should use them and not
16303         access bv_->text->the_locking_inset directly.
16304
16305         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16306
16307 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16308
16309         * Makefile.am:
16310         * tex-defs.h: remove old unused file
16311
16312 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16313
16314         * BufferView_pimpl.C: fix typo, remove minibuffer message
16315           when buffer has loaded
16316
16317 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16318
16319         * lyxfunc.C (Dispatch): use stringstream
16320         (MenuNew): use stringstream
16321         (Open): use stringstream
16322
16323         * importer.C (Import): use stringstream
16324
16325         * bufferview_funcs.C (CurrentState): use stringstream
16326
16327         * LaTeX.C (run): use stringstream
16328
16329         * BufferView_pimpl.C (savePosition): use stringstream
16330         (restorePosition): use stringstream
16331         (MenuInsertLyXFile): use stringstream
16332
16333 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16334
16335         * BufferView.C:
16336         * Bullet.C:
16337         * ColorHandler.C:
16338         * FontInfo.C:
16339         * FontLoader.C:
16340         * LColor.C:
16341         * LaTeXFeatures.C:
16342         * Painter.C:
16343         * gettext.C:
16344         * lyx_gui_misc.C:
16345         * lyxserver.C:
16346         * vspace.C: removed // -*- C++ -*- as first line.
16347
16348         * lyxfind.h:
16349         * version.h: added // -*- C++ -*- as first line.
16350
16351 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16352
16353         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16354
16355         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16356         of string
16357
16358 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16361         of floats.
16362
16363 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16364
16365         * gettext.C: include LString.h even when --disable-nls is on.
16366
16367 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16368
16369         * converter.h (Get): changed argument type from int to
16370         FormatList::size_type to avoid unnecessary conversion.
16371
16372         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16373         before using it.
16374
16375 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * gettext.h: include LString.h even when --disable-nls is on.
16378
16379 2001-06-07  Juergen Vigna  <jug@sad.it>
16380
16381         * text.C (BreakAgain): subst spaces with tabs.
16382
16383         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16384         (resizeInsetsLyXText): set force on resizeLyXText.
16385
16386 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16387
16388         * gettext.h (gettext_init):
16389         (locale_init): use a real definition instead of a macro
16390
16391 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16392
16393         * Bufferview_pimpl.C:
16394         * LColor.h:
16395         * LColor.C: further lcolor tidies
16396
16397 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16398
16399         * BufferView_pimpl.C (updateScrollbar): simplify.
16400
16401         * BufferView2.C: don't include insets/insetinfo.h, change
16402         prototype for insertInset and call the Pimpl version. let
16403         updateInset call Pimpl version.
16404
16405         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16406         gotoInset to BufferView::Pimpl
16407
16408 2001-06-01  Juergen Vigna  <jug@sad.it>
16409
16410         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16411         inside a LockingInset (is the update needed at all?).
16412
16413 2001-05-31  Juergen Vigna  <jug@sad.it>
16414
16415         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16416         here not the old one otherwise how should we compare it afterwards
16417         if it's the same!
16418
16419 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16420
16421         * lyxfont.C:
16422         * tabular.C:
16423         * tabular-old.C:
16424         * FontInfo.C: bring C functions into global namespace when
16425         necessary
16426
16427 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16428
16429         * LString.h: make sure config.h has been loaded before LString.h.
16430
16431         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16432         (one for each char read by EatLine!).
16433
16434         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16435         variables.
16436
16437 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16438
16439         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16440         to the same as the par we break from
16441
16442 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16443
16444         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16445
16446         * MenuBackend.C (expand): also create menu entries for wide
16447         versions of the floats.
16448
16449         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16450
16451         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16452
16453         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16454         frontends/Makefile.am
16455
16456         * text2.C: adjust
16457         * text.C: adjust
16458
16459
16460         * tabular.C (getTokenValue): add std::
16461
16462         * tabular-old.C (getTokenValue): add std::
16463         (getTokenValue): ditto
16464         (getTokenValue): ditto
16465
16466         * screen.C (ToggleSelection): adjust
16467
16468         * lyxtext.h: put selection cursors inside a Selection struct.
16469
16470         * lyxfunc.C (moveCursorUpdate): adjust
16471
16472         * lyxfont.C (latexWriteStartChanges): add std::
16473
16474         * lyxfind.C: adjust
16475
16476         * font.h: delete with(char const *, LyXFont const &)
16477
16478         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16479
16480         * FontInfo.C (getFontname): add std::
16481
16482         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16483         (workAreaButtonPress): adjust
16484         (tripleClick): adjust
16485         (update): adjust
16486         (moveCursorUpdate): adjust
16487         (Dispatch): adjust
16488
16489         * BufferView2.C (gotoInset): adjust
16490
16491 2001-05-30  Juergen Vigna  <jug@sad.it>
16492
16493         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16494         to check pspell I add this as default as I now have new pspell
16495         libraries and they seem to use this.
16496
16497 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * text2.C (CutSelection): make the cursor valid before the call to
16500         ClearSelection.
16501
16502 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16505         relied on 0 terminated strings and other horrors. Bug found due to
16506         the new assert in lyxstring!
16507
16508         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16509         KP_ keys.
16510
16511 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16512
16513         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16514         to latinkeys.bind.
16515
16516         * lyxfunc.C (processKeySym): change method of getting to the
16517         self-insert char.
16518
16519         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16520         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16521         * BufferView_pimpl.[Ch]: here as private methods.
16522
16523 2001-05-28  Juergen Vigna  <jug@sad.it>
16524
16525         * text.C (SetHeightOfRow): added the update() call again as it is
16526         needed to initialize inset dimensions!
16527
16528 2001-05-16  Juergen Vigna  <jug@sad.it>
16529
16530         * text2.C (SetCharFont): Add new function with BufferView * and
16531         bool toggleall parameters for setting insets internal fonts.
16532         (SetFont): Freeze the undo as we may change fonts in Insets and
16533         all this change should be inside only one Undo!
16534
16535         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16536         setting font's in insets as for them we have the SetFont function!
16537
16538 2001-05-15  Juergen Vigna  <jug@sad.it>
16539
16540         * text2.C (ClearSelection): to be sure we REALLY don't have any
16541         selection anymore!
16542
16543         * tabular.C (TeXCellPreamble): fixed the left border problem for
16544         multicolumn cells.
16545
16546 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16549         dependancy file
16550
16551 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16554         LFUN_BREAKPARAGRAPH.
16555
16556         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16557         help test to "internal only", similar for LFUN_INSERT_URL
16558
16559         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16560         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16561         auto_region_delete and deadkeys.
16562
16563 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * LColor.h:
16566         * LColor.C: remove some dead entries, tidy a little
16567
16568 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16571         commented code.
16572         (Dispatch): implement LFUN_ESCAPE
16573
16574         * commandtags.h: add LFUN_ESCAPE
16575
16576         * LyXAction.C (init): add entry for LFUN_ESCAPE
16577
16578         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16579         Remove commented code.
16580         (insertNote): moved here
16581         (open_new_inset): moved here
16582
16583         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16584         BufferView_pimpl
16585
16586 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16587
16588         * kbmap.C (findbinding): clean it up and make it work correctly.
16589
16590         * lyx_main.C (init): do not pass argc and argv as parameters
16591
16592 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16593
16594         * buffer.C: fix path for OS/2 & Win32
16595
16596         * lyx_gui.C:
16597         * lyx_main:
16598         * lyx_main.C: Added os:: class.
16599
16600         * os2_defines.h: update
16601
16602 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16603
16604         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16605         better by trying again with reduced state.
16606
16607 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * lyxrc.C (read): print error about invalid key sequence only when
16610         debugging (because not all latinX keysyms are known to some X
16611         servers)
16612
16613         * kbsequence.C (getiso): add a few std:: qualifiers
16614         (getiso): comment out extra return statement.
16615
16616 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16619         handling.
16620         (Dispatch): enhance the accent inset a bit. (not perfect)
16621
16622 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16623
16624         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16625
16626 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16627
16628         * bufferlist.C (emergencyWrite): fix assert() call
16629
16630 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16631
16632         * text.C (InsertChar): Added trivial patch to only send the "you
16633         can not do multiple spaces this way" message once during a
16634         session.
16635
16636 2001-05-08  Baruch Even  <baruch@lyx.org>
16637
16638         * Makefile.am: Changed order of libraries to get LyX to link properly
16639         with the gnome frontend.
16640
16641 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16642
16643         * LaTeXFeatures.h: add a std:: qualifier
16644
16645 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * paragraph.C (String): use stringstream
16648
16649 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * paragraph.C (writeFile): remove footflag arg
16652
16653         * buffer.C (makeLaTeXFile): use stringstream
16654         (latexParagraphs): remove footnot gurba
16655
16656         * LaTeXFeatures.C (getPackages): use stringstream
16657         (getMacros): likewise
16658         (getTClassPreamble): likewise
16659         (getFloatDefinitions): new method
16660
16661         * paragraph.C (writeFile): reindent
16662         (Erase): reindent
16663
16664         * WorkArea.h: revert the xpos + etc changes.
16665
16666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16667
16668         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16669
16670         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16671         (pasteSelection): likewise
16672         * text2.C (CreateUndo): likewise
16673
16674 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * minibuffer.C (peek_event): temporarily reduce the functionality
16677         of the minibuffer (to allow args on lfuns)
16678
16679         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16680         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16681
16682         * buffer.C (readInset): add compability reading of old float
16683         lists, add reading of new style float list.
16684         (readInset): avoid reevaluation of inscmd.getCmdName()
16685         (getLists): reindent
16686
16687         * MenuBackend.C (MenuItem): implement parsing of
16688         md_floatlistinsert and md_floatinsert.
16689         (expand::LastFiles): move initalizaton of iterators out of loop,
16690         avoid reevaluation.
16691         (expand::Documents): introduce typdedef vector<string> Strings,
16692         and use it.
16693         (expand::ExportFormats): introduce typedef vector<Format const *>
16694         Formats, and use it.
16695         (expand): implement FloatListInsert and FloatInsert.
16696
16697         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16698         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16699         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16700
16701         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16702         handling.
16703         (Dispatch::LFUN_FLOAT_LIST): implement
16704
16705 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16706
16707         * LaTeX.C (run): Fix problem with --export code.
16708
16709 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16710
16711         * BufferView.[Ch] (workarea): removed.
16712         (getClipboard) new method; wrapper for workarea()->getClipboard()
16713
16714         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16715         bug.
16716
16717         * WorkArea.h (width, height, xpos, ypos): These methods all
16718         returned the dimensions of the work_area sub-area of WorkArea,
16719         resulting in a position error if the WorkArea were resized. Now
16720         return the dimensions of the entire WorkArea.
16721
16722         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16723
16724 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16725
16726         * LaTeX.C (deplog): correct the syntax of regex reg1
16727
16728 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16729
16730         * undo.C: remove !NEW_INSETS cruft
16731
16732 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16733
16734         * text2.C: remove !NEW_INSETS cruft
16735
16736         * text.C: remove !NEW_INSETS cruft
16737
16738         * tabular.C: remove !NEW_INSETS cruft
16739
16740         * spellchecker.C: remove !NEW_INSETS cruft
16741
16742         * lyxtext.h: remove !NEW_INSETS cruft
16743
16744         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16745
16746         * lyxfunc.C: remove !NEW_INSETS cruft
16747
16748         * lyxfind.C: remove !NEW_INSETS cruft
16749
16750         * lyx_cb.C: remove !NEW_INSETS cruft
16751
16752         * figureForm.C: remove  !NEW_INSETS cruft
16753
16754         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16755
16756         * buffer.[Ch]: remove !NEW_INSETS cruft
16757
16758         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16759
16760         * CutAndPaste.C: remove !NEW_INSETS cruft
16761
16762         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16763
16764         * BufferView2.C: remove !NEW_INSETS cruft
16765
16766         * BufferView.h: remove !NEW_INSETS cruft
16767
16768 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16769
16770         * Lsstream.h: include LString.h before the sstream headers to
16771         fix problem with gcc 2.95.3 and lyxstring
16772
16773 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16774
16775         * lyx_main.C: add using directives when needed for C functions
16776         declared in std:: namespace.
16777
16778 2001-04-27  Juergen Vigna  <jug@sad.it>
16779
16780         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16781         (SetHeightOfRow): comment out the update call should not be needed!
16782
16783 2001-04-13  Juergen Vigna  <jug@sad.it>
16784
16785         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16786         (LyXTabular): tried to minimize operator= operations (and realized
16787         hopfully Lars wish).
16788
16789 2001-04-27  Juergen Vigna  <jug@sad.it>
16790
16791         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16792
16793 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16794
16795         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16796
16797         * buffer.C (readInset): hack to make listof algorithm work
16798
16799         * BufferView_pimpl.C: hack to make listof algorithm work
16800
16801 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16802
16803         * LyXAction.C: removed all !NEW_INSETS cruft
16804         (init): moved lfun_item in method
16805
16806         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16807
16808 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16809
16810         * BufferView2.C (theLockingInset): white space.
16811
16812 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16813
16814         * minibuffer.C: include <iostream>
16815
16816         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16817
16818         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16819
16820         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16821
16822         * text.[Ch] (TransposeChars): new method
16823
16824 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16825
16826         * call message directly through LyXView instead of through LyXFunc
16827         * BufferView2.C: adjust
16828         * BufferView_pimpl.C: adjust
16829         * FontLoader.C: adjust
16830         * buffer.C: adjust
16831         * bufferview_funcs.C: adjust
16832         * converter.C: adjust
16833         * figureForm.C: adjust
16834         * importer.C: adjust
16835         * lyx_cb.C: adjust
16836         * lyx_gui_misc.C: adjust
16837         * lyxfunc.C: adjust
16838         * lyxvc.C: adjust
16839         * text2.C: adjust
16840         + more files in subdirs
16841
16842         * lyxparagraph.h (size): move up int file
16843         (GetLayout): ditto
16844
16845         * adjust all uses of Assert to lyx::Assert.
16846
16847         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16848         lyxfunctional in namespace lyx
16849         * layout.C (hasLayout): ditto
16850         (GetLayout): ditto
16851         (GetLayout): ditto
16852         (delete_layout): ditto
16853         (NumberOfClass): ditto
16854         * converter.C (GetFormat): ditto
16855         (GetNumber): ditto
16856         (Add): ditto
16857         (Delete): ditto
16858         (SetViewer): ditto
16859         * bufferlist.C (getFileNames): ditto
16860         (emergencyWriteAll): ditto
16861         (exists): ditto
16862         (getBuffer): ditto
16863         * MenuBackend.C (hasSubmenu): ditto
16864         (hasMenu): ditto
16865         (getMenu): ditto
16866         * BufferView_pimpl.C (getInsetByCode): ditto
16867
16868 2001-04-18  Juergen Vigna  <jug@sad.it>
16869
16870         * vspace.C (asLatexString): fixed the 100% problem.
16871
16872 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16873
16874         * lyxfunc.C (Dispatch):
16875         * minibuffer.C:
16876         * minibuffer.h: add a few std:: qualifiers
16877
16878 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16879
16880         * minibuffer.[Ch]: reimplement so that commands is initiated and
16881         run from lyxfunc, simplified som handling, and made the completion
16882         and history code for complete. wip.
16883
16884         * lyxfunc.C (processKeySym): call message
16885         (miniDispatch): new temporary method
16886         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16887         (LFUN_MESSAGE): implement
16888         (LFUN_MESSAGE_PUSH): implement
16889         (LFUN_MESSAGE_POP): implement
16890         (initMiniBuffer): the initial/defualt minibuffer message.
16891
16892         * lyxfont.[Ch]: inline some more getters
16893
16894         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16895
16896         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16897
16898         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16899         (AutoSave): use LFUN_MESSAGE
16900         (Reconfigure): ditto
16901
16902         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16903
16904         * figureForm.C: use LFUN_MESSAGE
16905
16906         * converter.C (runLaTeX): use LFUN_MESSAGE
16907
16908         * bufferview_funcs.C: use LFUN_MESSAGE
16909         (Melt): ditto
16910         (changeDepth): ditto
16911
16912         * bufferparams.h: use boost::
16913
16914         * bufferlist.h: inherit privately from noncopyable
16915
16916         * bufferlist.C (loadLyXFile): remove some commented code.
16917
16918         * buffer.C (runChktex): use LFUN_MESSAGE
16919
16920         * ShareContainer.h: inherit privately from noncopyable
16921
16922         * ParagraphParameters.[hC] (depth): inline it.
16923
16924         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16925         methods.
16926         (message): new method
16927         (messagePush): ditto
16928         (messagePop): ditto
16929         (show): init minibuffer
16930         (showState): direct call
16931
16932         * LaTeX.[Ch]: inherit privately from noncopyable
16933         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16934         instead of WriteStatus.
16935
16936         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16937
16938         * BufferView_pimpl.C (buffer): don't init minibuffer
16939         (workAreaButtonPress): use LFUN_MESSAGE
16940         (workAreaButtonRelease): ditto
16941         (savePosition): ditto
16942         (restorePosition): ditto
16943         (MenuInsertLyXFile): ditto
16944         (workAreaExpose): don't init minibuffer
16945         (update): remove commented code, simplify
16946
16947         * BufferView2.C (openStuff): use LFUN_MESSAGE
16948         (toggleFloat): ditto
16949         (menuUndo): ditto
16950         (menuRedo): ditto
16951         (copyEnvironment): ditto
16952         (pasteEnvironment): ditto
16953         (copy): ditto
16954         (cut): ditto
16955         (paste): ditto
16956         (gotoInset): ditto
16957         (updateInset): remove some commented code
16958
16959         * lastfiles.h: inherit privately from noncopyable
16960         * layout.h: ditto
16961         * lyx_gui.h: ditto
16962         * lyx_main.h: ditto
16963         * lyxlex.h: ditto
16964         * lyxlex_pimpl.h: ditto
16965
16966         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16967         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16968         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16969
16970         * LyXAction.h: inherit privately from noncopyable, add methods
16971         func_begin, func_end, returning iterators to the func map.
16972
16973         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16974         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16975         (func_begin): new method
16976         (func_end): new method
16977
16978         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16979         and not)
16980         (copySelection): ditto
16981         (pasteSelection): ditto
16982
16983         * BufferView.C: whitespace change
16984         * BufferView.h: inherit privately from noncopyable
16985
16986 2001-04-16  Allan Rae  <rae@lyx.org>
16987
16988         * tabular-old.C (l_getline):
16989         * spellchecker.C (sc_check_word):
16990         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16991         an unrecognised preprocessor directive.  So ensure they're wrapped.
16992
16993 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16994
16995         * src/exporter.C (Export): Give an error message when path to file
16996         contains spaces.
16997
16998 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16999
17000         * LaTeX.C (deplog): Always check that foundfile exists.
17001
17002 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17003
17004         * lyx_main.h:
17005         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17006
17007 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17008
17009         * tabular.[Ch] (getLabelList): implement new method
17010
17011         * minibuffer.h: comment ouf setTiimer
17012
17013         * minibuffer.C (ExecutingCB): constify res
17014         (peek_event): constify s
17015         (Set): constify ntext
17016         (Init): constify nicename
17017
17018         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17019
17020         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17021         (savePosition): use two params to Minibuffer::Set
17022         (restorePosition): ditto
17023
17024 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17025
17026         * lyx_main.C: include language.h
17027
17028         * Makefile.am (lyx_main.o): add language.h
17029
17030 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17031
17032         * exporter.C:
17033         * paragraph.C:
17034         * screen.C:
17035         * tabular.C:
17036         * CutAndPaste.C: include gettext.h
17037
17038         * lyxfont.h: remove old hack with ON and OFF.
17039
17040         * lyxparagraph.h:
17041         * lyxfont.h: do not include language.h...
17042
17043         * BufferView2.C:
17044         * LaTeXFeatures.C:
17045         * Painter.C:
17046         * bufferview_funcs.C:
17047         * font.C:
17048         * lyxfont.C:
17049         * text.C:
17050         * text2.C:
17051         * trans_mgr.C:
17052         * paragraph.C: ... but do it here instead
17053
17054 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17055
17056         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17057
17058         * tabular.C: small reformat
17059
17060         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17061         NEW_INSETS version
17062         (GetChar): ditto
17063         (BreakParagraph): ditto
17064         (SetOnlyLayout): ditto
17065         (SetLayout): ditto
17066
17067         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17068         with one arg less.
17069
17070         * lastfiles.C: removed most using decl, add std:: where needed
17071
17072         * buffer.C: ws changes
17073
17074         * MenuBackend.C (class compare_format): put into anon namespace
17075         (expand): constify label, names, action, action2
17076         (expand):
17077
17078         * text.C (SingleWidth): constify font
17079         (IsBoundary): constify rtl2
17080         (GetVisibleRow): constify ww
17081
17082         * LaTeX.C (deplog): constify logfile
17083
17084         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17085         start_x, end_x
17086         (workAreaExpose): constify widthChange, heightChange
17087
17088         * lyxrow.C (par): moved
17089         (height): moved
17090         (next): moved
17091         * lyxrow.h: as inlines here
17092
17093         * lyxfont.h (shape): moved from lyxfont.C
17094         (emph): moved from lyxfont.C
17095
17096         * lyxfont.C (LyXFont): use initialization list for all
17097         constructors
17098         (shape): move to lyxfont.h as inline
17099         (emph): move to lyxfont.h as inline
17100
17101
17102 2001-04-04  Juergen Vigna  <jug@sad.it>
17103
17104         * vspace.C: had to include stdio.h for use of sscanf
17105
17106 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17107
17108         * BufferView.h:
17109         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17110         independent of xforms.
17111
17112 2001-04-02  Juergen Vigna  <jug@sad.it>
17113
17114         * spellchecker.C: fixed namespace placing!
17115
17116 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17117
17118         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17119         the LyXParagraph * is 0.
17120
17121 2001-03-29  Juergen Vigna  <jug@sad.it>
17122
17123         * vspace.C: added support for %, c%, p%, l%.
17124         (stringFromUnit): added helper function.
17125         (asLatexString): changed to give right results for the %-values.
17126
17127         * buffer.C: convert the widthp in a width%.
17128
17129 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17130
17131         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17132         figureForm.[Ch].
17133
17134         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17135         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17136
17137         * lyx_cb.[Ch]: see above.
17138
17139         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17140         form1.[Ch].
17141
17142         * form1.[Ch]:
17143         * lyx.[Ch]: replaced by figure_form.[Ch].
17144
17145         * lyx_gui.C:
17146         * lyx_gui_misc.C:
17147         * lyxfunc.C: changed headers associated with above changes.
17148
17149 2001-03-27  Juergen Vigna  <jug@sad.it>
17150
17151         * BufferView_pimpl.C: set the temporary cursor right!
17152
17153 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17154
17155         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17156
17157 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17158
17159         * LString.h: removed "using std::getline"!
17160
17161         * BufferView_pimpl.C (Dispatch): changes due to changes in
17162         InsetInclude::Params.
17163
17164         * buffer.C (tag_name): removed redundant break statements as they were
17165         producing lots of warnings with my compiler.
17166
17167 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17168
17169         * LString.h: add "using std::getline" when using the real <string>.
17170
17171 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17172
17173         * buffer.C: removed bitset usage.
17174         PAR_TAG moved to an anonymous name space.
17175         (tag_name): new funtion, also in the anonymous namespace.
17176         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17177         (makeDocBookFile): clean code. Completed transition from string arrays
17178         to string vectors.
17179         (SimpleDocBookOnePar): code clean.
17180
17181 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17182
17183         * tabular.C: add some comments.
17184
17185 2001-03-22  Juergen Vigna  <jug@sad.it>
17186
17187         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17188         compatibility read a bit and fixed bug with minipage in different
17189         depth.
17190
17191 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17192
17193         * buffer.C (pop_tag): removed.
17194         (push_tag): removed.
17195         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17196         array replaced with vector. Added support for CDATA sections.
17197         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17198         at any nest level.
17199         (makeDocBookFile): XML conformant declaration of CDATA section,
17200         fixed bug related to <emphasis> in the first paragraph char.
17201         (sgmlOpenTag): exclude empty tags.
17202         (sgmlCloseTag): ditto.
17203
17204         * buffer.h (pop_tag): removed.
17205         (push_tag): removed.
17206
17207 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17208
17209         * language.h (Languages): added size_type and size().
17210
17211 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17212
17213         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17214         response on compability reading of minipages. One probliem is that
17215         the old usage of minipages was «flertydig»
17216
17217         * several files here and in subdirs: don't use static at file
17218         scope use anon namespaces instead.
17219
17220 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17221
17222         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17223         LaTeX output. This is necessary for Literate document
17224         processing.
17225
17226 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17227
17228         * buffer.C: insert hfill when needed.
17229
17230         * tabular.C (l_getline): use string::erase, small whitespace change.
17231
17232         * BufferView_pimpl.C: try the anon namespace.
17233         * WorkArea.C: ditto
17234
17235 2001-03-16  Juergen Vigna  <jug@sad.it>
17236
17237         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17238         otherwise it won't open options-dialogs.
17239
17240         * buffer.C: honor pextraWidth(p) on converting minipages.
17241
17242         * tabular.C (l_getline): changed the functions to strip trailing \r.
17243
17244 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17245
17246         * BufferView_pimpl.C:
17247         * minibuffer..C: added "using SigC::slot" declaration.
17248
17249 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17250
17251         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17252
17253         * text2.C: ditto
17254
17255         * text.C: ditto
17256
17257         * paragraph.C: ditto
17258
17259         * lyxtext.h: NO_PEXTRA
17260
17261         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17262
17263         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17264         * ParameterStruct.h: ditto
17265         * ParagraphParameters.h: ditto
17266         * lyxparagraph.h: ditto
17267
17268 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17269
17270         * buffer.C: add compability for minipage alignment.
17271         (latexParagraphs): remove unwanted pextra check.
17272
17273         * several files: remove CXX_WORKING_NAMESPACES
17274
17275         * buffer.C (pop_tag): tie is in namespace boost
17276
17277         * BufferView.h: noncopyable is in namespace boost
17278         * lyxlex.h: ditto
17279         * lyx_main.h: ditto
17280         * lyx_gui.h: ditto
17281         * layout.h: ditto
17282         * lastfiles.h: ditto
17283         * bufferlist.h: ditto
17284         * ShareContainer.h: ditto
17285         * LyXView.h: ditto
17286         * LyXAction.h: ditto
17287         * LaTeX.h: ditto
17288
17289 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17290
17291         * Merging changes from BRANCH_MVC back into HEAD.
17292
17293         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17294
17295 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17296
17297         * BufferView_pimpl.C: change from intl.C
17298
17299         * combox.h:
17300         * combox.C:
17301         * Makefile.am: move combox.*
17302
17303         * form1.h:
17304         * form1.C:
17305         * lyx_gui.C:
17306         * intl.h:
17307         * intl.C: remove dialog (covered by prefs)
17308
17309 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17310
17311         * lyxfunc.C (Dispatch): removed redundant break statement.
17312
17313 2001-03-14  Juergen Vigna  <jug@sad.it>
17314
17315         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17316
17317 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17318
17319         * buffer.C: add hack to fix compability reading of minipages.
17320
17321 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17322
17323         * buffer.C (getLists): Cleanup.
17324
17325 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17326
17327         * lyxfont.C (update): don't honor toggleall on font size.
17328
17329 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17330
17331         * bmtable.c:
17332         * bmtable.h:
17333         * Makefile.am: moved to frontends/xforms/
17334
17335         * lyx_gui_misc.C:
17336         * lyxfunc.C:
17337         * BufferView_pimpl.C: changes for moved mathpanel
17338
17339 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17340
17341         * gettext.h: fix gettext_init() in --disable-nls
17342
17343 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17344
17345         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17346
17347 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17348
17349         * lyx.C:
17350         * lyx.h: strip external form
17351
17352 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17353
17354         * BufferView_pimpl.C: add comment, destroySplash()
17355
17356 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17357
17358         * BufferView_pimpl.C:
17359         * LyXAction.C:
17360         * buffer.C:
17361         * commandtags.h:
17362         * lyxfunc.C: use re-worked insetinclude
17363
17364 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17365
17366         * buffer.C: add using std::stringstream.
17367
17368         * lyx_cb.C: readd using std::ios.
17369
17370         * buffer.C: add using std::map.
17371
17372         * BufferView_pimpl.C: add using std::vector.
17373
17374         * ShareContainer.h: add std:: to swap.
17375
17376         * buffer.h: add some typedefs
17377         * buffer.C (getLists): use them
17378         (getLists): renamed from getTocList.
17379         add a counter for the different float types and use it in the
17380         generated string.
17381         (getLists): use the same counter for the NEW_INSETS and the "non"
17382         NEW_INSETS
17383
17384         * lyx_cb.h: remove unused items, includes, using etc.
17385
17386         * ShareContainer.h: remove some commented code, add more comments
17387         and "documentation".
17388
17389 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17390
17391         * buffer.C (getTocList): make the list also when NEW_INSETS is
17392         defined.
17393
17394         * buffer.h: remove TocType
17395
17396         * buffer.C (getTocList): change to return a map<string,
17397         vector<TocItem> >, implement for dynamic number of list.
17398
17399         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17400         * text2.C (PasteSelection): adjust
17401         * CutAndPaste.C (pasteSelection): adjust
17402
17403         * FloatList.C (FloatList): update from the new_insets branch.
17404         * Floating.[Ch]: ditto
17405         * LaTeXFeatures.C: ditto
17406         * buffer.C: ditto
17407         * lyxlex_pimpl.C: ditto
17408
17409         * paragraph.C (Last): remove when NEW_INSETS is defined.
17410
17411         * other file: changes because of the above.
17412
17413 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17414
17415         * lyxparagraph.h: rename next to next_, previous to previous_,
17416         make them private for NEW_INSETS. Rename Next() to next(),
17417         Previous() to previous().
17418
17419         * other files: changes because of the above.
17420
17421 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17422
17423         * BufferView.h:
17424         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17425         problem.
17426
17427 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17428
17429         * main.C (main): pass lyx_localedir to gettext_init().
17430
17431         * gettext.h: remove locale_init and gettext_init macros
17432
17433         * gettext.C (locale_init): new function
17434         (gettext_init): new function
17435
17436         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17437         setlocale().
17438
17439 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17440
17441         * Moved credits to frontends:
17442         * credits.[Ch]: removed
17443         * credits_form.[Ch]: removed
17444         * lyx_gui_misc.C: remove credits stuff
17445         * Makefile.am:
17446
17447 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17448
17449         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17450
17451         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17452         unneeded destructor.
17453
17454         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17455         a standalone pointer again.
17456
17457         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17458
17459 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17460
17461         * Makefile.am:
17462         * filedlg.h:
17463         * filedlg.C:
17464         * LyXAction.C:
17465         * ToolbarDefaults.C:
17466         * bufferlist.C:
17467         * commandtags.h:
17468         * form1.C:
17469         * form1.h:
17470         * lyx_cb.C:
17471         * lyx_cb.h:
17472         * lyxfunc.h:
17473         * lyxfunc.C:
17474         * BufferView_pimpl.C: use new file dialog in GUII
17475
17476         * lyx_cb.h:
17477         * lyx_cb.C: remove LayoutsCB to Toolbar
17478
17479 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17480
17481         * ShareContainer.h (get): add std:: qualifier
17482
17483 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17484
17485         * ShareContainer.h: define a proper ShareContainer::value_type
17486         type (and use typename to please compaq cxx)
17487
17488 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17489
17490         * lyxparagraph.h: move serveral local vars to
17491         ParameterStruct/ParagraphParameters., use ShareContainer in
17492         FontTable., make vars in FontTable private and add getter and
17493         setter.
17494
17495         * paragraph.C: changes because of the above.
17496
17497         * lyxfont.h: remove copy constructor and copy assignment. (the
17498         default ones is ok), move number inside FontBits. move inlines to
17499         lyxfont.C
17500
17501         * lyxfont.C: add number to initializaton of statics, move several
17502         inlines here. constify several local vars. some whitespace
17503         cleanup. Dont hide outerscope variables.
17504
17505         * Spacing.h: add two new constructors to match the set methods.
17506
17507         * ShareContainer.h: new file, will perhaps be moved to support
17508
17509         * ParameterStruct.h: new file
17510
17511         * ParagraphParameters.h: new file
17512
17513         * ParagraphParameters.C: new file
17514
17515         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17516         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17517
17518         * BufferView_pimpl.C: ParagraphParameter changes.
17519         * buffer.C: Likewise.
17520         * bufferview_funcs.C: Likewise.
17521         * text.C: Likewise.
17522         * text2.C: Likewise.
17523
17524 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17525
17526         * lyxfind.C (LyXReplace): do not redefine default argument in
17527         implementation.
17528         (IsStringInText): ditto
17529         (SearchForward): ditto
17530         (SearchBackward): ditto
17531
17532 2001-03-06  Juergen Vigna  <jug@sad.it>
17533
17534         * lyxfind.C (IsStringInText): put parentes around expressions.
17535
17536 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17537
17538         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17539
17540 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17541
17542         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17543
17544         * stl_string_fwd.h: add comment
17545
17546         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17547
17548         * tabular.h:
17549         * tabular.C: remove unused DocBook methods
17550
17551         * intl.C:
17552         * language.C:
17553         * paragraph.C:
17554         * buffer.C:
17555         killed DO_USE_DEFAULT_LANGUAGE
17556
17557 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17558
17559         * lyx_gui.C: do not include language.h.
17560
17561         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17562         arguments in function implementation.
17563
17564 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17565
17566         * BufferView_pimpl.C: add <ctime>
17567
17568 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17569
17570         * BufferView_pimpl.C: add using std::find_if
17571
17572 2001-02-27  José Matos  <jamatos@fep.up.pt>
17573
17574         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17575         by OnlyPath.
17576
17577 2001-02-11  José Matos  <jamatos@fep.up.pt>
17578
17579         * buffer.C (makeDocBookFile): command styles now have a parameter as
17580         "title" by default.
17581
17582 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17583
17584         * layout_forms.[Ch]: removed
17585         * lyx_cb.[Ch]: out character
17586         * lyx_gui.C: out character
17587         * lyx_gui_misc.C: out character
17588         * bufferview_funcs.C: : out character,
17589         added toggleall as parameter in ToggleAndShow
17590
17591 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17592
17593         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17594
17595         * text2.C (SetCurrentFont): Disable number property at boundary.
17596
17597 2001-02-26  Juergen Vigna  <jug@sad.it>
17598
17599         * lyxfunc.C (getStatus): added a string argument override function so
17600         that this is correctly called from LyXFunc::Dispatch if it contains a
17601         do_not_use_argument which is used!
17602         (Dispatch): added check for "custom" export and call appropriate func.
17603
17604 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17605
17606         * lyxrc.C: Add language_command_local, language_use_babel and
17607         language_global_options.
17608
17609         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17610
17611         * buffer.C (makeLaTeXFile): Use language_use_babel and
17612         language_global_options.
17613
17614 2001-02-23  Juergen Vigna  <jug@sad.it>
17615
17616         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17617         which works with LyXText and putted it inside BufferView. Here now we
17618         only call for that part the BufferView::Dispatch() function.
17619
17620         * BufferView.C (Dispatch): added.
17621
17622         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17623         functions which needs to use a LyXText over from LyXFunc.
17624         (MenuInsertLyXFile): added
17625         (getInsetByCode): added
17626         (moveCursorUpdate): added
17627         (static TEXT): added
17628
17629 2001-02-22  Juergen Vigna  <jug@sad.it>
17630
17631         * BufferView_pimpl.C (update): call a status update to see if LyXText
17632         needs it.
17633
17634 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17635
17636         * vc-backend.C (revert): implement for CVS
17637         (getLog): implement for CVS
17638
17639 2001-02-20  Juergen Vigna  <jug@sad.it>
17640
17641         * text2.C (ClearSelection): added BufferView param for inset_owner call
17642
17643         * lyxfunc.C (TEXT): added this function and use it instead of
17644         directly owner->view()-text of getLyXText().
17645
17646 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17647
17648         * src/layout_forms.C: out preamble
17649         * src/layout_forms.h: out preamble
17650         * src/lyx_cb.C: out preamble
17651         * src/lyx_cb.h: out preamble
17652         * src/lyx_gui.C: out preamble
17653         * src/lyx_gui_misc.C: out preamble
17654         * src/lyxfunc.C: connect with guii preamble
17655
17656 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17657
17658         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17659
17660 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17661
17662         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17663         whether to run bibtex.
17664
17665 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17666
17667         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17668
17669 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17670
17671         * Makefile.am (lyx_SOURCES): removed bibforms.h
17672
17673         * vspace.h: doxygen
17674
17675         * text.C (GetVisibleRow): make several local vars const
17676
17677         * tabular.C: small cleanup.
17678
17679         * lyxserver.C (callback): use compare instead of strncmp
17680
17681         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17682         inlines to after class or to paragraph.C
17683
17684         * lyxfont.h: remove friend operator!=
17685
17686         * converter.h: move friend bool operator< to non friend and after
17687         class def.
17688
17689         * combox.h: small cleanup
17690
17691         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17692         to inlines after class def.
17693
17694         * buffer.C (pop_tag): use string operations instead of strcmp
17695
17696         * bmtable.c: doxygen, small cleanup
17697
17698         * LaTeX.h: remove friend operator==
17699
17700 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17701
17702         * screen.C:
17703         * lyxrc.[Ch]:
17704         * lyxfunc.C:
17705         * lyxfont.[Ch]:
17706         * lyx_cb.C:
17707         * intl.[Ch]:
17708         * commandtags.h:
17709         * buffer.C:
17710         * WorkArea.[Ch]:
17711         * LyXAction.C:
17712         * BufferView_pimpl.C:
17713         * BufferView.[Ch]: remove cruft
17714
17715 2001-02-14  Juergen Vigna  <jug@sad.it>
17716
17717         * lyxfunc.C: removed #if 0 unused code
17718
17719         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17720
17721         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17722
17723         * text2.C (SetSelection): added a BufferView * parameter
17724
17725 2001-02-13  Juergen Vigna  <jug@sad.it>
17726
17727         * lyxfunc.C (Dispatch): fixed protected blank problem.
17728         * BufferView2.C (protectedBlank): added LyxText * parameter.
17729
17730         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17731         (AppendColumn): same as above for column_info.
17732
17733         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17734         (moveCursorUpdate): use a LyXText param for support of InsetText.
17735
17736         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17737         (tripleClick): ditto
17738
17739         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17740
17741         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17742
17743         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17744
17745         * text2.C (SetSelection): set correct update status if inset_owner
17746         (ToggleFree): ditto
17747
17748 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17749
17750         * tabular.C: remove some commented code.
17751
17752 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17753
17754         * BufferView_pimpl.C: call hideSplash()
17755
17756         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17757
17758         * include_form.h:
17759         * bibforms.h: remove
17760
17761         * lyxfunc.C:
17762         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17763           add LFUN_CHILD_CREATE
17764
17765         * counters.h: fix tiny typo
17766
17767         * lyx_cb.C:
17768         * lyx.h:
17769         * lyx_gui.C:
17770         * lyx.C: move splash to frontends/xforms/
17771
17772         * lyx_gui_misc.C: move Include and Bibform to frontends
17773
17774         * lyxvc.h: clarify comment
17775
17776         * vspace.C: tiny housekeeping
17777
17778 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17779
17780         * text.C (PrepareToPrint): RTL Fix.
17781
17782         * paragraph.C (GetUChar): New method.
17783         (String):  Use GetUChar.
17784
17785         * buffer.C (asciiParagraph): Use GetUChar.
17786
17787 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17788
17789         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17790
17791 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17792
17793         * buffer.h:
17794         * buffer.C: rename to getLogName(), handle
17795           build log / latex log nicely
17796
17797 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17798
17799         * MenuBackend.C:
17800         * MenuBackend.h: remove support for reference menuitem type.
17801
17802 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17803
17804         * BufferView_pimpl.C: housekeeping
17805         * BufferView_pimpl.h:
17806         * LyXView.h:
17807         * Makefile.am:
17808         * Timeout.C:
17809         * Timeout.h:
17810         * minibuffer.h: move Timeout GUI-I
17811
17812 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17813
17814         * lyxrc.C (read): Update converters data-structures.
17815
17816 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17817
17818         * LaTeX.h (operator!=): add operator != for Aux_Info
17819
17820 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17821
17822         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17823
17824         * LaTeXLog.C: deleted, useful code moved to Buffer
17825
17826         * buffer.h:
17827         * buffer.C: new function getLatexLogName()
17828
17829         * lyx_gui_misc.C:
17830         * lyx_gui.C:
17831         * lyxvc.C:
17832         * lyxvc.h:
17833         * lyxfunc.C: use frontends for LaTeX and VC logs
17834
17835 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17836
17837         * LaTeX.h: yet another std:: that Allan forgot.
17838
17839         * Variables.C (set): renamed from isset(), because this clashes
17840         with some HP-UX macros (grr).
17841
17842 2001-02-06  Allan Rae  <rae@lyx.org>
17843
17844         * LaTeX.h: Another bug fix.  Missing std:: this time.
17845
17846 2001-02-04  Allan Rae  <rae@lyx.org>
17847
17848         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17849         floats problem. I've left it commented out because it's not quite
17850         correct.  It should also test that the current object is a table or
17851         figure inset.  But I haven't gotten around to figuring out how to do
17852         that.  I *think* it'll be something like: "table" == inset.type()
17853
17854         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17855         bool.
17856
17857 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17858
17859         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17860         all the citation/databases/styles in the auxilary file.
17861         (run): Rerun latex if there was a babel language error.
17862
17863 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * text.C (Backspace): Preserve the font when changing newline char
17866         with a space.
17867         (BreakParagraph): If the cursor is before a space, delete the space.
17868
17869         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17870
17871 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17872
17873         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17874         new argument (code).
17875         (ChangeCitationsIfUnique): New method.
17876
17877         * paragraph.C (GetPositionOfInset): Handle bibkey.
17878
17879 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17880
17881         * BufferView_pimpl.h: change type of Position::par_pos to
17882         LyXParagraph::size_type.
17883
17884 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17885
17886         * BufferView_pimpl.C (savePosition, restorePosition): Write
17887         messages to minibuffer.
17888
17889 2001-01-28  José Matos  <jamatos@fep.up.pt>
17890
17891         * buffer.C (makeDocBookFile): adds support for document language.
17892         A silly restriction on the name of LatexCommand types where removed.
17893         Added support for CDATA sections, allows to chars unescaped, used
17894         among others in code, to avoid escape < and >.
17895
17896 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17897
17898         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17899         saved positions instrad of a stack. Furthermore, a position is
17900         stored using paragraph id/paragraph position.
17901
17902         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17903         Remove LFUN_REF_BACK.
17904
17905 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17906
17907         * converter.C (dvipdfm_options): New method.
17908
17909 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17910
17911         * vspace.C (isValidLength): Fix for empty input string.
17912
17913 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17914
17915         * LyXAction.C (init): change description of LFUN_FIGURE to
17916         "Insert Graphics"
17917
17918 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17919
17920         * LaTeX.C: add using directive
17921
17922 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17923
17924         * MenuBackend.C (expand): Fix the sorting of the formats.
17925
17926 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17927
17928         * lyx_main.C: tiny error message fix
17929
17930 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17931
17932         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17933         calling fl_initialize(). This fixes the problem with ',' as
17934         decimal separator in text files.
17935
17936 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17937
17938         * trans.C (process): Fix the keymap bug.
17939
17940 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17941
17942         * LaTeX.C (scanAuxFiles): New method. Provides support for
17943         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17944         (scanLogFile) Scan for "run BibTeX" messages.
17945
17946         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17947         OT1 font encoding. Also, load the aecompl package if the ae
17948         package is loaded.
17949
17950         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17951
17952 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17953
17954         * texrow.C (increasePos): turn two error messages into debug
17955         messages.
17956
17957 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17958
17959         * LaTeX.C (scanAux): Handle the \@input macro.
17960         (runBibTeX): Use scanAux().
17961
17962         * language.C (latex_options_): New field.
17963
17964         * LaTeXFeatures.C (getMacros): Add language macros.
17965
17966         * buffer.C (makeLaTeXFile): Small fix.
17967
17968 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17969
17970         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17971
17972         * text2.C: add a using directive.
17973
17974 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17975
17976         * BufferView2.C:
17977         * lyx_gui_misc.h:
17978         * lyxfr1.C:
17979         * lyxfunc.C: kill LyXBell.
17980
17981 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17982
17983         * text.C (IsBoundary): Remove the error message
17984
17985         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17986
17987         * lyxrc.C (setDefaults): Correct initialization value for
17988         font_norm_type.
17989
17990 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17991
17992         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17993         gotoError().
17994
17995         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17996         and GotoNextNote().
17997
17998         * src/LyXAction.C: Added reference-next.
17999
18000         * text.C (InsertChar): Use contains instead of strchr.
18001
18002         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18003
18004 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18005
18006         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18007         alignment commands (when needed).
18008
18009         * text.C (InsertChar): Add ':' to number separator chars.