]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fd48d4c9bc1b6284de1abc9608324b64192d9e83
[lyx.git] / src / ChangeLog
1 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
2
3         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
4         argument. 
5
6 2005-04-25  Angus Leeming  <leeming@lyx.org>
7
8         * Bidi.[Ch]:
9         * coordcache.[Ch]:
10         * ispell.C:
11         * lyxserver.C:
12         * mover.C:
13         * pch.h:
14         include <config.h> in .C files, not .h ones.
15         add licence blurb.
16         protect headers inside preprocessor guards.
17
18 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
19
20         * FuncStatus.h (StatusCodes): document
21
22 2005-04-21  André Pönitz  <poenitz@gmx.net>
23
24         * FuncStatus.h (enabled, onoff): document
25
26 2005-04-19  Angus Leeming  <leeming@lyx.org>
27
28         * BufferView_pimpl.C (cursorToggle): no longer test whether
29         any child processes have been reaped before calling
30         handleCompletedProcesses().
31
32 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * text3.C (dispatch): fix, finally fix, the language problem in
35         new lyxtexts, without disabling on-the-fly font changes (Helge's
36         bug report)
37
38 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * text3.C (dispatch): set cursor on double/triple click events
41         (bug 1811)
42
43 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
46         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
47
48         * rowpainter.C (paintFirst): simplify the code a little bit. In
49         particular, remove the test for secnumdepth.
50         * text.C (setHeightOfRow): only allocate space for chapter number
51         when updateCounters provided an actual label, instead of looking
52         at secnumdepth directly.
53
54         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
55
56         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
57         paragraphs when secnumdepth is large enough or, for environments,
58         when they are not the first in a sequence.
59
60 2005-04-17  Angus Leeming  <leeming@lyx.org>
61
62         * buffer.C (makeLaTeXFile): replace code to manipulate a path
63         containing space and '~' characters with a call to latex_path().
64
65 2005-04-17  Angus Leeming  <leeming@lyx.org>
66
67         * converter.C (convert): protect all args of convertDefault.sh
68         script with quotes.
69
70 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * text3.C (dispatch): change the layout to "Caption" after inserting
73         a float.
74
75 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * text3.C (dispatch): fix language problem in newly created
78         textinsets (and main text) in non-english docs
79
80 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
83         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
84         * text3.C (getStatus): disable LFUN_INSET_MODIFY
85
86 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * lyxtext.h:
89         * text.C (metrics):
90         * text2.C (getFont):
91         * rowpainter.C (getFont): Fix metrics bug introduced by inset
92         fonts fix
93
94 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
97         output of \item arguments without trailing text.
98
99 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * FontIterator.C (operator*): avoid a copy of the font.
102
103 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * rowpainter.C (getFont): fix language bug from previous fix
106
107 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * rowpainter.C (RowPainter, getFont): fix font inside inset
110         (bugs 1766, 1809)
111
112 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
113
114         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
115         preventing inserted font, deco, delim insets jumping to start of
116         surrounding inset.
117
118 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * lyxfunc.C (dispatch): translate message before sending it to the
121         minibuffer.
122
123 2005-03-29  Angus Leeming  <leeming@lyx.org>
124
125         * lyx_main.C (priv_exec): call os::internal_path on each file passed
126         to LyX on the command line.
127
128 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
129
130         * vc-backend.C: use QuoteName to protect file names wherever
131         necessary.
132
133 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * buffer.[Ch]:
136         * BranchList.h: fix bugs 1844,1845: document settings don't
137         stick
138
139 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * lyxrc.C (setDefaults, read, output, getDescription): add support
142         for tex_allows_spaces.
143
144         * exporter.C (Export): allows files in directory containing spaces
145         if tex_allows_spaces is true.
146
147         * buffer.C (makeLaTeXFile): if the document path contains spaces,
148         output it in double quotes.
149
150 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
151
152         * rowpainter.C: use default text height for drawing change tracker
153         strikeout lines.
154
155 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
156
157         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
158
159 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
162         directory is missing.
163
164 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
165
166         * text2.C: fixed the fix, extended to other case.
167
168 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
169
170         * text2.C: fix for cursor up/down stuck in math [bug 1792]
171
172 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
173
174         * text2.C (cursorUp): get rid of a crash
175         * text.C (x2pos): add an assert
176
177 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lyxfunc.C (getStatus): fix warning when assertions are disabled
180
181         * text3.C:
182         * lyxfunc.C:
183         * dociterator.C: include <boost/current_function.hpp>, which is
184         needed when assertions are disabled.
185
186 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
187
188         * text2.C: fix for stuck cursor when traversing two
189         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
190
191 2005-02-25  Andreas Vox  <avox@arcor.de>
192
193         * output_docbook.C (makeParagraph): suppress trailing newline
194         after a run of paragraphs
195
196 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
197
198         * paragraph.C: fix for confused change tracker when pasting
199         text that begins with a lineseparator. [bug 1827]
200         (setChange(0, Change::INSERTED);)
201
202         * paragraph_funcs.C: fix for lost changes on triple-paste
203         in change tracking mode [bug 1827] (par.setChange()).
204
205 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * text2.C (updateCounters, setCounter, expandLabel): move to
208         buffer_funcs.
209
210         * buffer_funcs.C (updateCounters): turn into a free standing
211         function and add a buffer parameter. Remove dead code for tracking
212         labelstring change.
213         (setCounter): change into a free-standing function which gets a
214         dociterator as argument. Use this iterator to fix captions in a
215         simple way. When no float is found above the caption, use the
216         labelstring of the caption layout as default.
217
218         * text.C (breakParagraph, backspace):
219         * text2.C (init, setLayout, changeDepth):
220         * text3.C (dispatch):
221         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
222         updateCounters.
223
224         * dociterator.C (forwardPar): make it much faster by calling
225         forwardPos() only when really necessary.
226
227         * output_docbook.C (makeCommand): adapt to expandLabel move.
228
229         * cursor.C: remove unused variable
230
231 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
232
233         * paragraph_funcs.C: fix crash when pasting insets in change
234         tracking mode [bug 1277] (honour change type in moveItem).
235
236 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
239
240 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * BufferView.C (setCursor): change to use a DocIterator.
243         (gotoLabel): use BufferView::setCursor (other part of bug 781).
244         (putSelectionAt): adapt to BufferView::setCursor change.
245
246         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
247         moved here from LyXText and rewritten to use proper cursor
248         methods. Fixes bug 1787, 616 and 835.
249
250         * BufferView_pimpl.C (restorePosition): set the cursor correctly
251         when inside an inset (part of bug 781).
252         (dispatch): adapt to change of BufferView::setCursor.
253         (getStatus, dispatch): handle LFUN_GOTOERROR,
254         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
255
256         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
257         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
258         * text3.C (gotoNextInset, gotoInset): removed.
259
260 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
263
264 2005-02-15  Angus Leeming  <leeming@lyx.org>
265
266         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
267         can be used meaningfully in a comparison.
268
269 2005-02-13  André Pönitz  <poenitz@gmx.net>
270
271         * bufferview_funcs.C (coordOffset): improve cursor drawing
272
273 2005-02-13  André Pönitz  <poenitz@gmx.net>
274
275         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
276         * Cursor.C (dispatch): use fixIfBroken
277         * lyxfunc.C (getStatus): use fixIfBroken
278
279 2005-02-15  Angus Leeming  <leeming@lyx.org>
280
281         * lyx_main.C (error_handler):
282         * lyxfunc.C:
283         * lyxrc.C (setDefaults):
284         s/GetEnv/getEnv/.
285         #include "environment.h".
286
287         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
288
289 2005-02-15  Angus Leeming  <leeming@lyx.org>
290
291         * lyxserver.C (startPipe): squash MSVC warning "local variable
292         'fd' used without having been initialized".
293
294 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
295
296         * BufferView_pimpl.C: revert accidental commit.
297
298 2005-02-14  André Pönitz  <poenitz@gmx.net>
299
300         * dociterator.[Ch]: new member forwardPosNoDescent(),
301         which doesn't enter nested insets.
302         * text2.C (setFont): use forwardPosNoDescent() instead
303         of ForwardPos() (fixes crash on font change).
304
305 2005-02-13  Angus Leeming  <leeming@lyx.org>
306
307         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
308         only if lyxrc.path_prefix is not empty.
309
310 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * bufferparams.C (readGraphicsDriver): prevent crash
313
314 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
315
316         * text2.C (setCounter): check for inInset() == 0
317
318 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
321         but use update() to get correct screen display; use convert
322         instead of istringstream.
323         (getStatus): handle LFUN_GOTO_PARAGRAPH
324
325         * lyxfunc.C (dispatch, getStatus): do not handle
326         LFUN_GOTO_PARAGRAPH here.
327
328 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
329
330         * text3.C (dispatch): size() -> depth()
331
332         * text2.C: remove some debug output
333
334         * paragraph.C: ws changes only
335
336         * lyxfunc.C (getStatus): size() -> depth()
337
338         * dociterator.h (clear, push_back, pop_back, internalData,
339         operator[], resize, empty): new functions
340         Make StableDocIterator and operator== be friends. Don't inherit
341         from std::vector use a privat class variable slices_ instead.
342         Modify to fit.
343
344         * dociterator.C: update because of not inheriting from std::vector
345         anymore. Call explictly to slices_ instead. Use depth() instead of
346         size() and top() instead of back()
347
348         * cursor.C: chagne size() -> depth and back() -> top(). Also
349         remove some direct operator[](i) calls in favour of foo[i]
350         (getFont): remove some dead code
351
352         * bufferview_funcs.C (coordOffset): size() -> depth()
353
354         * buffer.C: ws changes only
355
356         * CutAndPaste.C (eraseSelection): back() -> top()
357
358         * BufferView_pimpl.C (selectionRequested): back() -> top()
359
360         * BufferView.C (setCursor): size() -> depth()
361
362 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * text3.C (cursorPrevious): return true if depm changed something
365         (cursorNext): ditto
366         (dispatch): rename sl to oldTopSlice, remove moving use the new
367         NoUpdate func attrib instead. Make sure that needsUpdate is set
368         for function that have NoUpdate, but where depm might have changed
369         the buffer anyway.
370
371         * text2.C (cursorLeft): make us return true if depm changed
372         something
373         (cursorRight): ditto
374         (cursorUpParagraph): ditto
375         (curosrDownParagraph): ditto
376         (cursorUp, cursorDown): ditto, make sure to read comments in code
377         (deleteEmptyParagraphMechanism): remove an assert, also return
378         true if just a single char was deleted.
379
380         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
381         cursor that we modify, to avoid modifying an active cursor before
382         we call setCursor. This allows depm to run. Also return true if
383         depm deleted something.
384
385         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
386         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
387         cursorDownParagraph, cursorPrevious and cursorNext, return true if
388         something was changed in the buffer because of them (ie. depm run)
389
390         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
391         debug messages. Make update by default be false. Make sure that
392         the result of update is retained throught several calls down to
393         dispatch.
394
395         * LyXAction.h: add a new func_attrib: NoUpdate
396
397         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
398         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
399         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
400         and LFUN_WORDLEFT
401         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
402
403 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
406         bv_->owner(), bv_->buffer() by direct references to the private
407         members.
408         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
409         (getStatus): isSavedPosition() is in BufferView::Pimpl.
410         (fitCursor): center() is in BufferView::Pimpl.
411         (getStatus, trackChanges, dispatch): no need for a temporary buf
412         variable
413         (fitCursor, workAreaDispatch): use workarea().workheight()
414
415 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
416
417         * CutAndPaste.C (pasteSelectionHelper): fix a crash
418
419 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
420
421         * buffer.C: format up to 241.
422         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
423         break if pasting into ERT
424         * lyxfunc.C (getStatus): suppress mathpanel and
425         LFUN_DIALOG_SHOW_NEW_INSET in ERT
426
427 2005-02-01  Angus Leeming  <leeming@lyx.org>
428
429         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
430
431 2005-02-01  Angus Leeming  <leeming@lyx.org>
432
433         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
434         calling fs::is_directory().
435
436 2005-01-31  Angus Leeming  <leeming@lyx.org>
437
438         * lyx_main.C (priv_exec): specify explicitly the relative location
439         of the top level build directory when run in-place.
440
441 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
444         LyXText containing the cursor, not the top-level one.
445
446         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
447         true.
448         (insertStringAsLines): rename par to pit; use temporary variable
449         par to hold a Paragraph; do not store par.layout() in a variable,
450         since the pointer may die when breaking paragraphs; pass pars to
451         breakParagraph() instead of Buffer::paragraphs().
452
453 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
454
455         * lyxlex_pimpl.h: #include <fstream>.
456
457         * BufferView.[Ch] (getLyXText): add a const version.
458
459         * BufferView_pimpl.C: add debug aids.
460
461         * RowList_fwd.h:
462         * buffer.h:
463         * lyxrow.h:
464         * paragraph_funcs.h: add commentary explaining what the class does.
465
466
467         * coordcache.[Ch]: add lots of commentary.
468         (startUpdating, doneUpdating): debug aids.
469         (arrays, insets, parPos, getParPos): accessors to private data.
470
471         * cursor_slice.[Ch] (text): add a const version.
472         * dociterator.[Ch] (text, innerText): add const versions.
473
474         * lyxtext.h (breakParagraph): change the keep_layout arg to a
475         bool.
476
477         * paragraph.C (getRow, pos2ros): add asserts.
478
479         * paragraph.h: add commentary. Lots of.
480
481         * paragraph.[Ch] (metrucs, draw): removed.
482
483         * cursor.C:
484         * rowpainter.[Ch]: const-correct changes.
485
486         * text.C: various obvious clean-ups. Removal of ancient cruft.
487         Bug fixes, even.
488
489 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
490
491         * vc-backend.C (find_file): rewrite to use boost.filesystem
492         (scanMaster): ditto
493
494         * main.C (main): set default name check for boost.filesystem to
495         no check
496
497         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
498         (open): ditto
499         (doImport): ditto
500         (actOnUpdatedPrefs): ditto
501
502         * lyx_main.C (init): rewrite to use boost.filesystem
503         (queryUserLyXDir): ditto
504
505         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
506         (getContentsOfAsciiFile): ditto
507
508         * lastfiles.C (readFile): rewrite to use boost.filesystem
509
510         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
511
512         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
513         (loadLyXFile): ditto
514
515         * buffer.C (Buffer): adjust for destroydir
516         (getLogName): rewrite to use boost.filesystem
517         (setFileName): ditto
518         (save): use fs::copy_file (from fs_extras)
519
520         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
521
522         * LaTeX.C (run): rewrite to use boost.filesystem
523         (scanAuxFiles): ditto
524         (handleFoundFile): ditto
525
526 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
529
530         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
531
532 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
533
534         * lyxlayout.[Ch]: change some vars from float to double
535
536         * buffer.C (readFile): make a local var const
537
538         * Several files: use convert<> instead of atoi,strToXXX and friends
539
540 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
541
542         * LaTeXFeatures.[Ch]: Add a static list packages_ that
543         holds the contents of packages.lst. New functions getAvailable
544         and isAvailable to parse and check that list, resp.
545
546         * LyXAction.C:
547         * lfuns.h:
548         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
549
550         * bufferparams.[Ch]: new param output_changes.
551
552         * Buffer.C: increase file format to 240.
553         Use output_changes and isVailable.
554
555         * changes.[Ch]:
556         * paragraph.C:
557         * paragraph_pimpl.C: Use output_changes and isVailable.
558
559 2005-01-23  Angus Leeming  <leeming@lyx.org>
560
561         * output_latex.C: #include "insetbibitem.h", rather than
562         forward declare function bibitemWidest.
563
564 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
565
566         * lyx_main.C (init): make it compile on the Mac.
567
568 2005-01-20  Angus Leeming  <leeming@lyx.org>
569
570         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
571         (setLyXMisc): (char string literal) != (char string literal) is
572         performing a comparison on the addresses. Convert one operand
573         explicitly to string to guarantee expected behaviour.
574         From MSVC warning.
575
576 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
577
578         * buffer.C:
579         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
580
581         * output_plaintext.C: remove unneeded #include gzstream.h.
582
583 2005-01-20  Angus Leeming  <leeming@lyx.org>
584
585         * SpellBase.h: rename some of the elements of the Result enum.
586
587         * aspell_local.h:
588         * ispell.h:
589         * pspell.h:
590         * aspell.C (check):
591         * ispell.C (check):
592         * pspell.C (check): ditto
593
594 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
595
596         * buffer.C: add #include <fstream>.
597
598         * lyx_main.C (init): Compile fix.
599
600         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
601
602 2005-01-20  Angus Leeming  <leeming@lyx.org>
603
604         * mover.h: change commentary to reflect the changed meaning of
605         the $$s placeholder.
606
607 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * output_linuxdoc.C (linuxdocParagraphs): silence warning
610
611         * lyxfind.C (MatchString::operator()): remove bogus semicolon
612
613 2005-01-20  Angus Leeming  <leeming@lyx.org>
614
615         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
616         printing diagnostic data by not dereferecing an iterator past the
617         end.
618
619 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
620
621         * buffer.C (readHeader): use "&&" rather than "and".
622
623         * lyxserver.h (inPipeName, outPipeName): make these const.
624
625 2005-01-19  Angus Leeming  <leeming@lyx.org>
626
627         * lyx_main.C (error_handler, init): protect SIGHUP with
628         #ifdef SIGHUP guards.
629
630 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
633
634 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * text.C (setHeightOfRow): add a margin at the top and bottom of
637         the document (bug 1761)
638
639 2005-01-17  Angus Leeming  <leeming@lyx.org>
640
641         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
642         with "python ". Workaround for a brain-dead Windows.
643
644 2005-01-16  Angus Leeming  <leeming@lyx.org>
645
646         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
647         for MacOSX and Windows to use prependEnvPath.
648         Strip out the hard-coded block to add elements to the PATH for
649         MacOSX and replace it with a call to prependEnvPath using the
650         contents of LyXRC::path_prefix.
651         (queryUserLyXDir): strip out the code to run reconfigure, instead
652         returning a boolean indicating the necessity to do so.
653         (reconfigureUserLyXDir): contains the code to reconfigure the
654         user support directory. Is now called after the various LyXRC data
655         files have been read.
656
657         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
658
659 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
660
661         * converter.[Ch] (convert): take a new parameter try_default. Use
662         a default converter (imagemagick) if try_default is true.
663
664 2005-01-13  Angus Leeming  <leeming@lyx.org>
665
666         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
667         os::cygwin_path_fix.
668         (write): output LyXRC::cygwin_path_fix as necessary.
669
670 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
671
672         * lyxrc.h:
673         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
674
675 2005-01-12  Angus Leeming  <leeming@lyx.org>
676
677         * lyx_main.C (init): set the PATH variable to include the
678         directory containing the LyX binary when running on Mac or Windows.
679
680 2005-01-12  Angus Leeming  <leeming@lyx.org>
681
682         * lyx_main.C (init): remove cruft that purports to set the locale
683         dir. It doesn't and is not needed anyway.
684
685 2005-01-10  Angus Leeming  <leeming@lyx.org>
686
687         * Makefile.am: remove the lyx_main.C special casing.
688
689         * BufferView_pimpl.C:
690         * bufferlist.C:
691         * exporter.C:
692         * lyx_cb.C:
693         * lyx_main.C:
694         * lyxfunc.C:
695         * messages.C: use support/package.h to provide the paths to the
696         various directories used by LyX.
697
698 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
699
700         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
701         layout if pasting into an empty paragraph)
702
703 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
704
705         * tex-accent.C: add <string>
706
707 2005-01-06  José Matos  <jamatos@lyx.org>
708
709         * ParagraphParameters.C (write): put every parameter in its own line.
710         * paragraph.C (write): reduce number of consecutive empty lines exported.
711         * buffer.C (LYX_FORMAT): increase file format to 239.
712
713 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
714
715         * everywhere: change support/tostr.h -> support/convert.h
716
717         * tabular.C: make all write_attributes templates, tostr -> convert
718
719         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
720         (emptyTag): and -> &&, and fix type for ret from getChar
721         (getFirstWord): fix type for ret from getChar
722         (onlyText): and -> &&
723         (simpleDocBookOnePar): and not -> && !, fix type for ret from
724         getChar
725
726         * toc.C (goTo, action):
727         * text3.C (dispatch):
728         * text.C (currentState):
729         * tex-accent.C (DoAccent):
730         * sgml.C:
731         * lyxrc.C:
732         * lyxfunc.C (menuNew):
733         * lyxfinc.C (replace):
734         * counters.C (laberItem):
735         * bufferview_funcs.C (font2string):
736         * bufferparams.C (writeFile):
737         * buffer.C (readFile):
738         * Spacing.C (set):
739         * MenuBackend.C: tostr -> convert
740
741         * LaTeX.C (runMessage): fix format
742         (scanAuxFiles): tostr -> convert
743
744         * BufferView_pimpl.C (savePosition): fix format
745         (restorePosition): ditto
746         (dispatch): ditto
747
748 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
749
750         * Spacing.[Ch]: New method getValueAsString().
751
752         * Spacing.[Ch]:
753         * bufferparams.C:
754         * ParagraphParameters.C:
755         * lyxlayout.C:
756         * text.C:
757         * text3.C: store/read spacing value as string.
758
759         * rowpainter.C: change float value (spacing_val) to double.
760
761         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
762         broken custom document spacing).
763
764 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
765
766         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
767         namespace, also more use of temp references and const
768
769         * cursor.[Ch] (getStatus): move to lyxfunc.C
770
771         * bufferparams.C: reformat slightly
772
773         * bufferview_funcs.C (font2string): constify arg
774
775         * changes.C:
776         * converter.C:
777         * counters.C:
778         * bufferlist.C:
779         * buffer_funcs.C: (many funcs): constify arg on function
780         definitions, also make more local vars const, also add ASSERTS on
781         pointer args.
782
783         * buffer.C (LYX_FORMAT): put const in correct place
784         (many funcs): constify arg on function definitions, also make
785         more local vars const
786
787         * aspell_local.h: remove "struct" from typdef setup
788
789         * aspell.C (check): make word_ok const
790         (nextMiss): simplify slightly
791         (error): ditto
792
793 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
794
795         * lyxrc.[Ch]: store all float values as strings.
796         use int (not float) for lyxrc.dpi.
797
798 2005-01-04  Angus Leeming  <leeming@lyx.org>
799
800         * lyx_cb.C (Reconfigure):
801         * lyx_main.C (queryUserLyXDir):
802         to run the <system_lyxdir>/configure correctly on Windows, prefix
803         the path to the script with "sh " when generating the string that
804         is passed to system().
805
806 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
807
808         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
809
810 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         * lyxlength.C (asLatexString): get rid of setprecision
813
814 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * text2.C (setLayout): remove unused variable endpit.
817         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
818
819         * paragraph.C (onlyText): remove unused variable style.
820
821         * cursor.C (bruteFind): remove unused variables beg and end.
822
823         * Makefile.am (dist_noinset_DATA): not needed anymore
824
825         * cheaders/*: remove.
826
827 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * text3.C: fix LFUN_MATH_MODE.
830
831 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * buffer_funcs.C (countWords): new function. Counts words between
834         two iterators.
835
836         * BufferView_pimpl.C (getStatus, dispatch): handle
837         LFUN_WORDS_COUNT.
838
839         * LyXAction.C (init):
840         * lfuns.h: add LFUN_WORDS_COUNT.
841
842 2004-12-19  Angus Leeming  <leeming@lyx.org>
843
844         * buffer.C (save): s/slashify_path/internal_path/.
845
846 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
847
848         * lyxfind.C (findChange): do not search for end of pars, because
849         the change tracker cannot handle this (fixes bug 1719).
850
851 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
852
853         * paragraph.[Ch] (autoBreakRows): remove
854
855         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
856
857         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
858         avoid using the paragraph one
859
860         * text2.C (LyXText, insertStringAsLines): adjust
861
862 2004-12-16  Angus Leeming  <leeming@lyx.org>
863
864         * bufferlist.C:
865         * lyx_main.C:
866         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
867
868 2004-12-14  Angus Leeming  <leeming@lyx.org>
869
870         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
871
872         * bufferlist.C (emergencyWrite):
873         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
874         GetEnvPath("HOME").
875
876 2004-12-14  Angus Leeming  <leeming@lyx.org>
877
878         * main.C: (main): no longer pass pointers to os::init.
879
880 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
881
882         * undo.C (textUndoOrRedo): simplify logic, fix a crash
883         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
884
885 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
886
887         * lyxfunc.C:
888         * text3.C: remove selection_possible global flag
889
890 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
891
892         * text2.C (getSelectionSpan): remove
893         (changeDepth, changeDepthAllowed): adjust
894
895 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
896
897         * Makefile.am (BOOST_LIBS): use boost variables
898
899 2004-12-03  José Matos  <jamatos@lyx.org>
900
901         * buffer.C: format up to 238.
902
903 2004-12-03  José Matos  <jamatos@lyx.org>
904
905         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
906
907 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
908
909         * cursor.C (goUpDown): remove call to idxUpDown2
910
911 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
912
913         * tabular.[Ch]: use size_t-like types for cell, row and column
914         indices
915
916 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
917
918         * lyxfunc.C (getStatus): do not lose previous information when
919         calling BufferView::getStatus; do not set a default "Command
920         disabled" message at the beginning, but just before returning.
921
922 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * cursor.h (getStatus): add better comment from src/cursor.C
925
926 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * text3.C (getStatus): return false when the lfun is not handled
929
930 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * broken_headers.h: remove
933
934         * Makefile.am (lyx_SOURCES): remove broken_headers.h
935
936 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
937
938         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
939         offset_ref accessors
940
941         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
942         top_y_, merge fitcursor with update
943         (updateScrollbar, scrollDocView, fitCursor, center, update): new
944         coord scheme
945         (metrics): introduce
946         (workAreaDispatch): adapt to new coord scheme
947         (redoCurrentBuffer): remove
948
949         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
950
951         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
952         CurStatus enum.
953
954         * coordcache.[Ch]: add paragraph cache and helpers
955
956         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
957         adjust everywhere
958
959         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
960         (targetX, setTargetX): introduce
961
962         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
963         baseline -> ascent, as the rest of lyx
964
965         * lyxtext.h: remove redoParagraphs, updateParPositions,
966         fullRebreak, redoParagraphInternal. move dist to anon namespace in
967         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
968         have ascent/descent (ascent is ascent of first par)
969
970         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
971         step of BufferView
972
973         * paragraph.[Ch]: unify dimension handling with the rest of lyx
974
975         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
976
977         * pariterator.C: fix infinite loop introduced in par->pit renaming
978
979         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
980         in insets and LyXText, draw two off-screen paragraphs using
981         NullPainter, and adapt to new coord scheme
982
983         * text.C:
984         * text2.C:
985         * text3.C: adapt lfun handlers to the new coord scheme, which
986         means: there's only guaranteed coord information for onscreen pars
987         plus one above and one below. This implies that one can do search
988         from y coordinates in the range [-1,workHeight]
989
990 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
991
992         * rename a lot of InsetOld to InsetBase
993
994 2004-11-25  Angus Leeming  <leeming@lyx.org>
995
996         * BufferView_pimpl.C:
997         * lyx_cb.C:
998         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
999
1000 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1003         call BufferView::getStatus if LCursor::getStatus did nothing
1004         (setStatusMessage, getStatusMessage): removed.
1005
1006         * FuncStatus.C (message): new methods. Used to provide an error
1007         message indicating why a command is disabled.
1008         (clear, |=, FuncStatus): update for message.
1009
1010 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1011
1012         * lyxfunc.C (dispatch): always call sendDispatchMessage
1013
1014 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1015
1016         * BufferView.C:
1017         * BufferView_pimpl.C:
1018         * CutAndPaste.C:
1019         * FontIterator.C:
1020         * buffer.C:
1021         * cursor.C:
1022         * cursor_slice.[Ch]:
1023         * dociterator.[Ch]:
1024         * lyxfind.C:
1025         * paragraph_funcs.C:
1026         * pariterator.C:
1027         * rowpainter.C:
1028         * text.C:
1029         * text2.C:
1030         * text3.C:
1031         * undo.C: par->pit renaming
1032
1033 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1034
1035         * tabular.C (cellstruct): use initialization, store a shared_ptr
1036         to insettext instead of the insettext directly, adjust to fit.
1037         (operator=):  new function
1038         (swap): new function
1039         (rowstruct): use initialization
1040         (columnstruct): use initialization
1041         (ltType): use initialization
1042
1043
1044         * lyxlength.h (swap): new function
1045
1046         * LColor.[Ch] (operator=): use the common semantics
1047
1048 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * lyxfind.C (findNextChange): update the bufferview after setting
1051         the selection.
1052
1053 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1056         number of InsetOptArgs has already been inserted.
1057
1058         * output_latex.C (latexOptArgInsets): new method. This outputs all
1059         the optarg insets, up to the limit defined in the layout file.
1060         (optArgInset): removed
1061         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1062
1063 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * paragraph.C (isLetter): remove special spellchecker-related
1066         code; return true also for digits
1067         (isWord, isKomma): remove
1068
1069         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1070         * lyxfind.C (MatchString()): use isLetter instead of isWord
1071
1072 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1073
1074         * pariterator.h (operatir=): comment out un-implemented member
1075         function.
1076
1077         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1078         static cast.
1079
1080 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1081
1082         * lyxfont.h: include LColor.h to satisfy concept checks.
1083
1084 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1085
1086         * pariterator.h: add typdefs for value_type, difference_type,
1087         pointer and reference to satisfy concept checks. Also add default
1088         constructor for same reason.
1089
1090         * pariterator.C (operator++): add post-increment operator to
1091         satisfy concept checks.
1092
1093         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1094         checks.
1095
1096         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1097
1098         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1099         checks. Also rename base_type to BaseType to follow naming
1100         standard better.
1101
1102         * FloatList.h: include Floating.h to satisfy concept checks.
1103
1104 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * lyxfunc.C (getStatus): when the origin of the request is menu or
1107         toolbar, and the LyXView does not have focus, do as if there was
1108         no buffer (bug 1720)
1109
1110         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1111         FuncRequest to individual entries of LFUN_SEQUENCE
1112
1113 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * output_latex.C (TeXOnePar): override runparams.moving_arg
1116         according to the needprotect value of the current paragraph (bug
1117         1739)
1118
1119         * paragraph.C (simpleTeXOnePar): no need to override
1120         runparams.moving_args here
1121
1122 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1123
1124         * vspace.C: fix off-by-one-error, related to fix #1682
1125
1126 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1127
1128         * lengthcommon.C: a more general fix for bug 1682
1129
1130 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1131
1132         * text.C (backspace): fix crash
1133
1134 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1135
1136         * format.[Ch] (getFormatFromFile): new method
1137         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1138
1139 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1142
1143 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * lyxfunc.C (dispatch): remove the verbose argument
1146         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1147         instead
1148
1149         * kbmap.C (defkey): set the origin of func to KEYBOARD
1150
1151         * MenuBackend.C (MenuItem):
1152         * ToolbarBackend.C (add): set the origin of func to UI
1153
1154         * funcrequest.[Ch]: add origin member, which indicates which part
1155         of LyX requests an action
1156
1157 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1158
1159         * converter.C (move): don't lie in the error message
1160         * converter.h (isReachable, move): document
1161
1162 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1163
1164         * buffer.C: remove unused using lyx::support::atoi
1165         * paragraph_funcs.C: ditto
1166
1167 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1168
1169         * bufferlist.C (exists): use bind and equal_to instead of
1170         compare_memfun
1171         (getBuffer): ditto
1172         * lyxtextclasslist.C (NumberOfClass): ditto
1173
1174         * cursor.C (insert): use for_each instead of explicit for loop
1175
1176         * bufferlist.C (getFileNames): use std::transform and
1177         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1178
1179         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1180         for loop
1181
1182         * buffer.C (changeLanguage): use for_each instead of explicit for
1183         loop
1184         (hasParWithID): implement using getParFromID
1185
1186         * LaTeXFeatures.C: ws change only
1187
1188         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1189         to cleanup a bit.
1190
1191         * BufferView_pimpl.C (trackChanges): use for_each instead of
1192         expilicit for loop
1193
1194 2004-11-04  André Pönitz  <poenitz@gmx.net>
1195
1196         * undo.h:
1197         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1198
1199         * dociterator.C (asDocIterator): use hard assert again.
1200
1201 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         * lyxlength.C (asLatexString): rewrite so that it does not use
1204         snprintf anymore
1205
1206 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * text3.C (specialChar, dispatch): make sure cursor moves to the
1209         right after inserting an inset
1210
1211 2004-11-02  José Matos  <jamatos@lyx.org>
1212
1213         * output_docbook.C (docbook):
1214         * paragraph.C (getID):
1215         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1216         garantee that the output is always legal.
1217
1218         * tabular.C (docbook):
1219         * outputprams.[Ch]: remove mixed contents.
1220
1221 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1222
1223         * text2.C (setCounter): prevent endless loop
1224
1225 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1226
1227         * exporter.C (copyFile): use the mover instead of support::copy()
1228         * exporter.C (Export): pass format and latex name to copyFile()
1229         * exporter.h (addExternalFile): document
1230         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1231
1232 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1233
1234         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1235
1236 2004-10-30  José Matos  <jamatos@lyx.org>
1237
1238         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1239         text and no inset or font change. This allows to use CDATA
1240         sections just for the whole paragraph.
1241
1242 2004-10-30  José Matos  <jamatos@lyx.org>
1243
1244         * paragraph.C (getFirstWord): remove unused variable.
1245
1246 2004-10-30  José Matos  <jamatos@lyx.org>
1247
1248         * paragraph.C (getFirstWord): the content should always be escaped
1249         there.
1250         (simpleDocBookOnePar):
1251         * output_docbook.C (makeEnvironment): replace reference to CDATA
1252         to style pass_thru.
1253
1254 2004-10-30  José Matos  <jamatos@lyx.org>
1255
1256         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1257
1258 2004-10-30  José Matos  <jamatos@lyx.org>
1259
1260         * output_docbook.C (makeParagraphs):
1261         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1262         standard paragraph has only a given type of content drop the wrapper.
1263
1264 2004-10-29  José Matos  <jamatos@lyx.org>
1265
1266         * output_docbook.C (makeEnvironment):
1267         * sgml.C (openTag):
1268         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1269
1270 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1271
1272         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1273         (cleanID): sanitize any id.
1274
1275 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1276
1277         * buffer.C, lyxlex_pimpl.C:
1278         * lyxlex_pimpl.C (setFile):
1279         s/getExtFromContents/getFormatFromContents/
1280
1281 2004-10-28  José Matos  <jamatos@lyx.org>
1282
1283         * output_docbook.C (makeEnvironment): move id to broadest possible
1284         scope.
1285
1286         * sgml.C (openTag): apply substitution of <> for all attributes.
1287
1288 2004-10-28  José Matos  <jamatos@lyx.org>
1289
1290         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1291         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1292         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1293
1294         * sgml.[Ch]: new version for open and closeTag for paragraph and
1295         for strings. Now they handle the ids of paragraphs.
1296
1297 2004-10-26  Angus Leeming  <leeming@lyx.org>
1298
1299         * Makefile.am: add mover.[Ch].
1300
1301         * converter.C (convert, move): use the new Movers to move external
1302         files to the temp directory.
1303
1304         * lyx_main.C (init): ensure that the global system_movers data
1305         is initialised.
1306
1307         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1308         preferences file.
1309
1310         * mover.[Ch]: new files, defining a Mover as a utility to move an
1311         external file between directories and, if necessary, manipulate this
1312         file using a helper script.
1313
1314 2004-10-25  José Matos  <jamatos@lyx.org>
1315
1316         * output_docbook.C (makeCommand): merge two if's that tested the
1317         same condition.
1318
1319 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * sgml.C (escapeString): fix warning in a better way
1322
1323 2004-10-25  José Matos  <jamatos@lyx.org>
1324
1325         * sgml.C (escapeString): import the require boosts header file for
1326         tie, and avoid a signed unsigned comparison.
1327
1328 2004-10-25  José Matos  <jamatos@lyx.org>
1329
1330         * sgml.h: add #include <string>
1331
1332 2004-10-25  José Matos  <jamatos@lyx.org>
1333
1334         * sgml.[Ch] (escapeString): new function to escape all the string.
1335
1336 2004-10-24  José Matos  <jamatos@lyx.org>
1337
1338         * paragraph.[Ch] (getFirstWord): new function to get the first
1339         word. Useful for description.
1340         (simpleDocBookOnePar): remove depth argument, add another that
1341         says where to start the paragraph.
1342
1343         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1344         use the new functions to fix cleanly the support for descriptions.
1345
1346 2004-10-24  José Matos  <jamatos@lyx.org>
1347
1348         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1349         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1350         * output_linuxdoc.C (linuxdocParagraphs):
1351         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1352         add buffer as argument.
1353
1354 2004-10-24  José Matos  <jamatos@lyx.org>
1355
1356         * output_docbook.C (makeEnvironment, searchEnvironment): place
1357         CDATA inside paragraphs and fix scope for listitems.
1358
1359 2004-10-24  José Matos  <jamatos@lyx.org>
1360
1361         * output_docbook.C: remove using statement for stack.
1362
1363 2004-10-23  José Matos  <jamatos@lyx.org>
1364
1365         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1366         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1367         docbook. The new scheme is recursive and makes use of iterators, the
1368         same as latex export works.
1369         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1370         directly with the paragraph contents. This code was moved up to
1371         output_docbook.C (docbookParagraphs).
1372         * sgml.C (openTag, closeTag): removed unneeded newlines.
1373         (closeEnvTags) removed.
1374
1375 2004-10-23  André Pönitz  <poenitz@gmx.net>
1376
1377         * undo.C (textUndoOrRedo):
1378         * dociterator.C (asDocIterator): work around crash
1379
1380         * cursor.C (getStatus): replace ASSERT by more verbose error message
1381           and manual correction of the problem. Should increase stability
1382           while providing more sensible information.
1383
1384 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1387
1388         * bufferlist.C (previous, next): new methods
1389
1390         * lfuns.h:
1391         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1392
1393 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1394
1395         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1396         entities to preamble.
1397
1398 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1399
1400         * messages.C (Pimpl): strip off translation context information
1401
1402 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1403
1404         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1405         the cursor is correct (bug 1694)
1406
1407 2004-10-13  José Matos  <jamatos@lyx.org>
1408
1409         * output_docbook.C (docbookParagraphs): fix closing tags in the
1410         end of the document.
1411
1412 2004-10-09  José Matos  <jamatos@lyx.org>
1413
1414         * buffer.C: format up to 237.
1415         * bufferparams.C (write): use tostr to convert booleans to strings.
1416
1417 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1418
1419         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1420
1421 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1422
1423         * LaTeX.C: implement use of babel language in xindy.
1424
1425 2004-10-05  José Matos  <jamatos@lyx.org>
1426
1427         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1428         Add new translators to help reading and writing the lyx file.
1429
1430 2004-10-05  José Matos  <jamatos@lyx.org>
1431
1432         * ParagraphParameters.C (read):
1433         * text.C (readParToken): replace nexToken by more appropriate lex
1434         methods.
1435
1436 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1437
1438         * LaTeX.C (runMakeIndex):
1439         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1440         (usually 'makeindex') configurable.
1441
1442         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1443         with a variable rather than with a number.
1444
1445 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * output_latex.C (TeXOnePar): make sure font setting is the first
1448         thing that gets output (and the last at the end). Should fix bug
1449         1404.
1450
1451 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1452
1453         * pch.h: use proper signal include
1454
1455         * LaTeX.h: Use preferred calling of Boost.Signal
1456         * buffer.h: ditto
1457
1458 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1459
1460         * pch.h: dont include <boost/function/function0.hpp>
1461
1462         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1463
1464         * paragraph_pimpl.h: remove usage of ShareContainer
1465
1466         * paragraph_pimpl.C: remove initialization of ShareContainer.
1467
1468 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1469
1470         Fix bug #1666
1471
1472         * BufferView.C (putSelectionAt): change the semantics when
1473         backwards == true: now, this just swaps cursor and anchor wrt the
1474         forward case
1475
1476         * BufferView.h (putSelectionAt): add some documentation
1477
1478         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1479         make sure backwardChar is done at least once (to avoid getting
1480         stuck)
1481         (findNextChange): use putSelectionAt in the forward direction
1482         (operator()): use Paragraph::isWord
1483
1484 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1485
1486         * Spacing.C (set): c_str fix
1487
1488 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * lyx_cb.C (Reconfigure): quote the name of configure script in
1491         case it contains spaces
1492
1493 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1494
1495         * client: new dir
1496
1497         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1498         (BOOST_LIBS): use top_buildir when looking for the file
1499
1500 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * pch.h: do not use include boost/format.hpp, multiple symbols
1503                 will result (gcc bug)
1504
1505
1506 2004-08-23  José Matos  <jamatos@lyx.org>
1507
1508         * bufferparams.C (readToken): fix reading of the author field.
1509
1510 2004-08-20  José Matos  <jamatos@lyx.org>
1511
1512         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1513
1514 2004-08-20  José Matos  <jamatos@lyx.org>
1515
1516         * lyxlex.[Ch] (findToken): remove function.
1517
1518         * ParagraphParameters.C (findToken):
1519         * bufferparams.C (findToken): replace call for previous function
1520         with local copy. This local function has one more argument, the
1521         read string argument.
1522
1523 2004-08-16  José Matos  <jamatos@lyx.org>
1524
1525         * ParagraphParameters.C (write):
1526         * Spacing.C (writeFile):
1527         * bufferparams.C (writeLaTeX):
1528         * lyx_cb.C (Reconfigure):
1529         * paragraph.C (write):
1530         * tabular.C (write): remove unnecessary space at end of line.
1531
1532
1533 2004-08-16  José Matos  <jamatos@lyx.org>
1534
1535         * text.C (readParagraph): remove debug message.
1536
1537 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1540         crash
1541
1542         * output_plaintext.C (asciiParagraph): set depth correctly
1543
1544         * outputparams.h: add member depth
1545
1546         * paragraph_funcs.C (ownerPar): remove.
1547
1548         * text2.C (setCounter): remove first_pit; comment out some
1549         non-working code that uses ownerPar
1550
1551         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1552         uses ownerPar
1553
1554 2004-08-16  José Matos  <jamatos@lyx.org>
1555
1556         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1557         For the same level of importance use the same chanel to report problems.
1558         (read): add code to deal with \begin_body and \end_body.
1559
1560
1561 2004-08-15  José Matos  <jamatos@lyx.org>
1562
1563         * lyxlex.C (getString): fix comment, buffer::readBody is now
1564         buffer:readDocument.
1565
1566         * tex-strings.C (string_papersize): Default -> default,
1567         Custom -> custom, for consistency with other options.
1568
1569 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1570
1571         * pch.h: new file
1572
1573         * Makefile.am: support pch
1574
1575 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * text.C (readParToken): remove the static LyXFont variable and
1578         pass it as a parameter instead. This fixes a nasty bug where an
1579         inset will be inserted with a bad font in some situations
1580         (readParagraph): adapt
1581
1582         * text2.C (setCounter): reduce number of calls to pars_[pit]
1583
1584         * text.C (singleWidth): add an assert, fix a test
1585
1586         * rowpainter.C (paintText): reduce number of calls to singleWidth
1587
1588         * paragraph.C (isHfill):
1589         (isNewline): ws only
1590
1591 2004-08-14  André Pönitz  <poenitz@gmx.net>
1592
1593         * text.C:
1594         * text2.C:
1595         * rowpainter.C:
1596         * lyxtext.h (several functions): use a Paragraph & argument
1597         instead of par_type
1598
1599 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1602
1603         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1604
1605         * text.C (singleWidth): remove useless test
1606
1607 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * tabular.h: remove bogus comments
1610
1611         * tabular.C (getDescentOfRow):
1612         (isPartOfMultiColumn): add assertions
1613
1614         * lyxlength.C (inPixels): remove #warning
1615
1616 2004-08-14  André Pönitz  <poenitz@gmx.net>
1617
1618         * paragraph.h: inline getChar()
1619
1620         * BufferView.h: remove unused declarations
1621
1622 2004-08-14  José Matos  <jamatos@lyx.org>
1623
1624         * Buffer.[Ch] (readDocument): new name for old readBody.
1625         * Buffer.C: new file format, new keywords: \begin_document,
1626         \begin_header, \begin_body, \end_body.
1627
1628         * bufferparams.C (readToken): replace all calls to lex.nextToken
1629         by lex.next(). Do the same to eatLine except where really needed.
1630
1631         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1632         line when writing to the lyx file.
1633
1634         * output_plaintext.C (asciiParagraph): fix Bibliography style
1635         handling.
1636
1637         * text.C (read): fix end of file handling.
1638
1639 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * MenuBackend.C (Menu::operator[]): new method to access
1642         individual menu items
1643         (Menu::hasFunc): new method. search for an item that corresponds
1644         to a given func
1645         (MenuBackend::specialMenu): new method
1646         (MenuBackend::expand): if a special menu has been set, skip
1647         entries whose func() appears in this menu
1648
1649 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1650
1651         * text3.C: use Debug::DEBUG a bit more
1652
1653         * text.C (leftMargin): try to simplify a tiny bit change var x to
1654         l_margin. Dont output the wide margins always.
1655         (rightMargin): no margin in inner texts
1656
1657         * rowpainter.h (nestMargin): new func
1658         (changebarMargin): new func
1659         (rightMargin): new func
1660
1661         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1662         now functions.
1663         (paintLast): ditto
1664
1665         * factory.C (createInset): modify setDrawFrame
1666
1667         * cursor.C: use Debug::DEBUG a bit more
1668
1669 2004-08-14  André Pönitz  <poenitz@gmx.net>
1670
1671         * coordcache.[Ch]:
1672         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1673         cache for all insets in (at least partially) visible (top-level)
1674         paragraphs.
1675
1676         * BufferView_pimpl.C: reset external coord cache before every update.
1677         This means the coord cache only contains valid entries.
1678
1679 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1680
1681         bug 1096
1682         * BufferView_pimpl.C (getInsetByCode): move function out of class
1683         and change in to a template in anon namespace. Also fix to do what
1684         suits us better.
1685
1686 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1687
1688         bug 1305
1689         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1690         of char
1691         (breakParagraph): rename par to par_offset and use a local
1692         reference. Add code to keep the language over a rebreak.
1693         (breakParagraphConservative): rename par to par_offset, use a
1694         local reference
1695         (mergeParagraph): ditto
1696         (outerHook): ditto
1697         (isFirstInSequence): ditto
1698         (outerFont): rename pit to par_offset
1699
1700         * paragraph.C: ws change
1701         * paragraph.h: ditto
1702         * text3.C: ditto
1703         * text.C: ditto
1704
1705 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1708         treatment for ']'
1709
1710         * paragraph.C (simpleTeXOnePar): when we have a \item with
1711         optional argument, enclose the argument with curly brackets (in
1712         case it contains a closing square bracket)
1713
1714         * text2.C (editXY):
1715         * text2.C (editXY):
1716         * text3.C (checkInsetHit): constify
1717
1718 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1721         documents (bug 1629)
1722
1723 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         Fix toggling of collapsable insets with the mouse (bug 1558)
1726
1727         * lyxfunc.C (dispatch): adapt to LCursor changes
1728
1729         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1730         make sure that dispatch is not invoked twice
1731
1732         * cursor.C (needsUpdate): new method
1733         (dispatch): return void
1734         (result): new method, to access the DispatchResult of the cursor.
1735
1736 2004-08-13  José Matos  <jamatos@lyx.org>
1737
1738         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1739
1740 2004-08-13  André Pönitz  <poenitz@gmx.net>
1741
1742         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1743
1744         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1745           multiple cells
1746
1747 2004-08-12  André Pönitz  <poenitz@gmx.net>
1748
1749         * text3.C: take out the 'cursor right' form insertInset and only
1750         do it in those places when it is really needed. Fixes crash on
1751         C-m...
1752
1753 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1754
1755         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1756
1757         * BufferView_pimpl.C (setBuffer): initialize the current font of
1758         the underlying LyXText
1759
1760 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * kbsequence.C (print): use UI native formatting for menu
1763         shortcuts
1764
1765         * text.C (insertChar): call Paragraph::insertChar with a font
1766         argument (cosmetic)
1767
1768         * paragraph.C (insertInset, insertChar): the version that takes a
1769         LyXFont argument is now a wrapper around the other one (the
1770         opposite used to be true).
1771
1772         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1773         argument. Font setting is done in Paragraph now.
1774
1775 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * outputparams.h: add new members intitle and lang.
1778
1779         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1780         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1781
1782 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1783
1784         * text3.C (dispatch): remove special handling of button 4 and 5,
1785         it is now taken care of in the frontend code.
1786
1787 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1788
1789         * Spacing.h: add <string> (STLPort compile fix)
1790
1791 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1792
1793         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1794
1795 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1796
1797         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1798         to bool.
1799
1800         * converter.C (showMessage): inherit from unary_function, make
1801         operator() const.
1802
1803         * buffer.C (writeFile): initialize retval
1804
1805         * InsetList.h: rename private variable list to list_
1806         * InsetList.[Ch]: adjust accordingly.
1807
1808 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1809
1810         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1811         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1812         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1813         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1814         * ParagraphParameters.C, LaTeXFeatures.C: replace
1815         "support/std_sstream.h" with <sstream>
1816
1817 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1818
1819         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1820         * lyxsocket.C (LyXServerSocket): ditto
1821         (serverCallback): ditto
1822
1823 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1824
1825         * LaTeXFeatures.C: check release date when loading jurabib.
1826
1827 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1828
1829         * lyxserver.C (startPipe): call register_socket_callback
1830         (endPipe): call unregister_socket_callback
1831
1832 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1833
1834         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1835         (LyXServerSocket): register the callback
1836         (LyXServerSocket): unregister the callback
1837         (fd): delete function
1838         (serverCallback): improve error checking and setup the callbacks.
1839         (dataCallback): change arg to fd.
1840         (writeln): new func (copied fro the client socket) used for server
1841         write to client.
1842         (LyXDataSocket): simplify
1843         (~LyXDataSocket): close ann unregiser callback
1844         (server): delete function
1845         (fd): delete function
1846         (readln): small changes, improve some std::string usage
1847         (writeln): constify a bit
1848
1849 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1850
1851         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1852         Qt frontend
1853
1854 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1857         after it has been populated
1858
1859 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * text2.C (insertInset): move cursor when inserting inset.
1862
1863 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * kbmap.C (findbindings): a couple of new methods. returns a
1866         container of kb_sequence objects. The real work is done by the
1867         private recursive version
1868         (printbindings): uses findbindings to print out a bracketed list
1869         of bindings (renamed from findbinding).
1870
1871         * MenuBackend.C (binding): use kb_keymap::findbindings
1872
1873         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1874
1875 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1876
1877         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1878
1879 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * paragraph.C (isWord): return true on insets that report
1882         isLetter().
1883
1884         * text.C (getWord): use Paragraph::isWord to decide what is in a
1885         word and what is not; fix bug 1609.
1886
1887 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1888
1889         * tex-strings.C: add "none" to string_paperpackages[], fixes
1890         off-by-one-error in the paperpackage selection.
1891
1892         * lyxlex.[Ch]:
1893         * tex-strings.[Ch]: char const * string[n]
1894         -> char const * const string[]
1895
1896 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1897
1898         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1899         command, return early.
1900
1901 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1902
1903         * debug.h: add DEBUG to enum and fix size of ANY.
1904
1905         * debug.C: add support for Debug::DEBUG
1906         (showTags): cast errorTags.level to unsigned int
1907
1908         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1909         (redoCurrentBuffer): ditto
1910         (updateScrollbar): ditto
1911         * cursor.C (dispatch): ditto
1912         * text2.C (setLayout): ditto
1913         (setFont): ditto
1914         (updateCounters): ditto
1915         (editXY): ditto
1916         (deleteEmptyParagraphMechanism): ditto
1917
1918 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1919
1920         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1921         annotations to cleanup the Makefile slightly.
1922
1923 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * lyxrc.C: do not set user_email to a default value but use empty
1926         instead. The entry used to be translated, which does not work
1927         since at the point where lyxrc is constructed there is no
1928         translation service available
1929
1930         * messages.C (getLocaleDir): remove and use directly
1931         lyx_localedir() instead
1932
1933 2004-06-02  Angus Leeming  <leeming@lyx.org>
1934
1935         Fix crash caused by dereferencing null pointer 'exportdata' in
1936         OutputParams by creating a new ExportData variable on the heap,
1937         storing it in a boost::shared_ptr.
1938         The crash was triggered when generating an Instant Preview
1939         of an external inset.
1940
1941         * Makefile.am: add outputparams.C
1942
1943         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1944         (c-tor): allocate memory to it.
1945
1946         * exporter.C (c-tor): associated changes.
1947
1948 2004-06-01  Angus Leeming  <leeming@lyx.org>
1949
1950         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1951         contains data before calling isInset(0). (Bug 1513.)
1952
1953 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1954
1955         * exporter.C (checkOverwrite): new method
1956         * exporter.C (copyFile): new method
1957         * exporter.C (Export): copy referenced files to the document dir
1958         * exporter.[Ch]: new class ExportedFile
1959         * exporter.[Ch]: new class ExportData. Contains currently the
1960         names of referenced external files
1961         * outputparams.h: add exportdata member.
1962
1963 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1964
1965         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1966         version.C-tmp
1967
1968 2004-05-19  Angus Leeming  <leeming@lyx.org>
1969
1970         * LaTeXFeatures.C:
1971         * ToolbarBackend.C:
1972         * bufferparams.C:
1973         * lyxfunc.C: small changes due to the introduction of namespace
1974         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1975
1976 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1977
1978         * text3.C (dispatch): supress update when only moving the cursor
1979         * cursor.C (selHandle): remove commented code
1980
1981 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1982
1983         * paragraph.C (startTeXParParams): correct column count
1984         * CutAndPaste.C (pasteSelection): remove const_cast
1985         * output_docbook.C (docbookParagraphs): remove const_cast
1986         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1987         const_cast and return ParagraphList::const_iterator
1988         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1989         * output_plaintext.C (writeFileAscii): remove const_cast
1990         * paragraph.[Ch] (simpleTeXOnePar): make const
1991         * paragraph_funcs.C (outerPar): use const iterators
1992         * paragraph_pimpl.C (validate): use const iterators
1993         * text.C (setHeightOfRow): use const iterators
1994
1995 2004-05-17  Angus Leeming  <leeming@lyx.org>
1996
1997         * lfuns.h:
1998         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1999
2000         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2001         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2002         if the citation engine has changed.
2003
2004 2004-05-14  José Matos  <jamatos@lyx.org>
2005
2006         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2007         if the textclass does not provide it. Have it different for sgml and
2008         xml.
2009         support the language of document.
2010         * output_docbook.C (docbookParagraphs):
2011         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2012         first anchor as the id of the paragraph, remove special case code.
2013         * sgml.C (escapeChar): escape only < & >.
2014
2015 2004-05-14  Angus Leeming  <leeming@lyx.org>
2016
2017         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2018         dependencies on src/frontends/controllers/biblio.h. Define a
2019         CiteEngine_enum wrapper class to enable the enum to be forward
2020         declared.
2021
2022 2004-05-12  Angus Leeming  <leeming@lyx.org>
2023
2024         * buffer.C: up LYX_FORMAT to 234.
2025         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2026         use_numerical_citations with a single biblio::CiteEngine cite_engine
2027         variable.
2028         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2029
2030 2004-05-13  José Matos  <jamatos@lyx.org>
2031
2032         * converter.h:
2033         * converter.C (Converter, readFlags): add xml member.
2034         * outputparams.h: add XML flavor.
2035         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2036
2037 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * lyxfunc.C (dispatch):
2040         (getStatus): fix handling of LFUN_SEQUENCE
2041
2042 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2043
2044         * debug.C (showLevel): do not forget the end-of-line marker
2045
2046 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * kbmap.C (read): do not stop parsing a bind file when an error
2049         occurs (bug 1575)
2050
2051 2004-04-29  Angus Leeming  <leeming@lyx.org>
2052
2053         * cursor.C:
2054         * factory.C:
2055         * pariterator.C:
2056         * text2.C: wrap a bunch of #warning statements
2057         inside #ifdef WITH_WARNINGS blocks.
2058
2059 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2060
2061         * buffer.C: increment format to 233.
2062
2063 2004-04-28  Angus Leeming  <leeming@lyx.org>
2064
2065         * BufferView_pimpl.C:
2066         * lyxfunc.C:
2067         * text3.C:
2068         s/updateToolbar()/updateToolbars()/
2069         s/Toolbar.h/Toolbars.h/
2070
2071 2004-04-28  Angus Leeming  <leeming@lyx.org>
2072
2073         * BufferView.[Ch] (c-tor):
2074         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2075         No longer passes these data to the WorkArea generator.
2076
2077 2004-04-28  Angus Leeming  <leeming@lyx.org>
2078
2079         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2080
2081 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2082
2083         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2084
2085 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * output_latex.C (TeXEnvironment): make sure that there is a line
2088         break before \end{foo} for the last paragraph of a document
2089         (TeXOnePar): if the paragraph is at the end of the document (or
2090         inset) and the language has to be reset, then make sure that the
2091         line break is _before_ the language command, not after (fixes bug
2092         1225); also make sure that the language reset command is the first
2093         thing after the paragraph (to ensure proper nesting of
2094         environments and thus fix bug 1404)
2095
2096 2004-04-21  John Levon  <levon@movementarian.org>
2097
2098         * ToolbarBackend.h:
2099         * ToolbarBackend.C: make "name" be a programmatic name
2100         and a gui_name field.
2101
2102         * lyxfunc.C: display the minibuffer on M-x
2103
2104 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2107         (bug 1526)
2108
2109 2004-04-19  Angus Leeming  <leeming@lyx.org>
2110
2111         * BufferView_pimpl.C (setBuffer): changed preview interface.
2112
2113         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2114         possible values.
2115
2116 2004-04-19  John Levon  <levon@movementarian.org>
2117
2118         * BufferView_pimpl.C:
2119         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2120
2121 2004-04-05  Angus Leeming  <leeming@lyx.org>
2122
2123         * text.C (redoParagraphs): add call to updateCounters(), thereby
2124         fixing the missing "Figure #:" label from the caption of a
2125         figure float.
2126
2127 2004-04-13  Angus Leeming  <leeming@lyx.org>
2128
2129         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2130         cursor is clicked out of an inset.
2131
2132 2004-04-13  Angus Leeming  <leeming@lyx.org>
2133
2134         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2135         than an InsetOld one.
2136
2137 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2138
2139         * format.[Ch]: add editor to Format
2140         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2141         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2142
2143 2004-04-08  André Pönitz  <poenitz@gmx.net>
2144
2145         * metricsinfo.h: remove PainterInfo::width member
2146
2147 2004-04-08  Angus Leeming  <leeming@lyx.org>
2148
2149         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2150         "\providecommand" rather than "\newcommand", thereby preventing
2151         clashes with packages that define "\boldsymbol" themselves.
2152         Eg, beamer.
2153
2154 2004-04-08  Angus Leeming  <leeming@lyx.org>
2155
2156         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2157         thereby squashing an unnecessary warning.
2158
2159 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2160
2161         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2162         setBuffer()
2163
2164 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2165
2166         * BufferView.C (setCursor): call redoParagraph (some insets could
2167         have been opened)
2168         (putSelectionAt): remove the 'double update' trick
2169
2170         * BufferView_pimpl.C (fitCursor): call refreshPar
2171         (workAreaDispatch): remove an uneeded update call
2172         (dispatch): remove some manual update calls
2173
2174         * cursor.[Ch]: remove cached_y_, updatePos
2175         (selHandle): set noUpdate when appropriate
2176
2177         * lyxfunc.C (dispatch): track if we need an update
2178
2179         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2180
2181         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2182         (paintSelection): cheap optimization, do not call cursorX when not
2183         needed
2184         (paintPars): change signature
2185         (refreshPar): add
2186         (paintText): adjust
2187         (paintTextInset): adjust
2188
2189         * text.C: adjust
2190
2191 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * lengthcommon.C: compilation fix: remove explicit array size from
2194         unit_name[] and friends
2195
2196 2004-04-05  Angus Leeming  <leeming@lyx.org>
2197
2198         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2199
2200         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2201         present only for the preferences dialog.
2202         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2203
2204 2004-04-05  Angus Leeming  <leeming@lyx.org>
2205
2206         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2207         to enable the frontends to export changes to lyxrc correctly.
2208
2209         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2210
2211 2004-04-07  André Pönitz  <poenitz@gmx.net>
2212
2213         * cursor.[Ch] (selClear, adjust): remove math
2214
2215         * cursor_slice.C: more agressive assert
2216
2217         * lyxfunc.C:
2218         * BufferView_pimpl.C: rework mouse event dispatch
2219
2220         * dociterator.C:
2221         * paragraph.C:
2222         * text2.C:
2223         * text3.C: adjust
2224
2225 2004-04-05  André Pönitz  <poenitz@gmx.net>
2226
2227         * cursor.[Ch] (valign, halign...): remove unneeded functions
2228
2229 2004-04-05  Angus Leeming  <leeming@lyx.org>
2230
2231         * lyxlength.[Ch] (unit_name et al.): const-correct.
2232
2233 2004-04-05  Angus Leeming  <leeming@lyx.org>
2234
2235         * BufferView_pimpl.C:
2236         * buffer.C:
2237         * counters.C:
2238         * cursor.C:
2239         * lyxfunc.C
2240         * paragraph.C:
2241         * pariterator.C:
2242         * text.C:
2243         * text2.C:
2244         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2245
2246 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2249
2250 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2253         * BufferView_pimpl.[Ch] (getStatus)
2254         * BufferView.[Ch] (getStatus): add
2255         * lyxfunc.C (getStatus): move lfuns handled in
2256         BufferView::dispatch to te function above
2257         * Cursor.C (setSelection): set selection() = true
2258
2259 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2260
2261         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2262
2263 2004-03-31  Angus Leeming  <leeming@lyx.org>
2264
2265         * lyxfunc.C (dispatch): Fall through to the generic
2266         Dialogs::show("preamble").
2267
2268 2004-03-31  Angus Leeming  <leeming@lyx.org>
2269
2270         * lyxfunc.C (dispatch): Fall through to the generic
2271         Dialogs::show("spellchecker").
2272
2273 2004-03-31  Angus Leeming  <leeming@lyx.org>
2274
2275         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2276         preferences dialog.
2277
2278 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * BufferView.C
2281         * cursor.[Ch]
2282         * dociterator.[Ch]:
2283         * insetiterator.[Ch]:
2284         * lyxfind.C:
2285         * lyxfunc.C:
2286         * pariterator.[Ch]:
2287         * text2.C:
2288         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2289
2290 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2291
2292         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2293         insets where we are putting the cursor.
2294
2295 2004-03-31  Angus Leeming  <leeming@lyx.org>
2296
2297         * lfuns.h:
2298         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2299
2300         * lyxrc.[Ch] (read, write): overloaded member functions taking
2301         a std::[io]stream arguments.
2302
2303         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2304
2305 2004-03-31  Angus Leeming  <leeming@lyx.org>
2306
2307         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2308         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2309
2310         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2311         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2312
2313 2004-03-31  Angus Leeming  <leeming@lyx.org>
2314
2315         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2316         the LFUN_ALL_INSETS_TOGGLE code.
2317
2318 2004-03-30  Angus Leeming  <leeming@lyx.org>
2319
2320         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2321         has died. Fall through to the generic Dialogs::show("document").
2322
2323 2004-03-30  Angus Leeming  <leeming@lyx.org>
2324
2325         * lfuns.h:
2326         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2327         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2328
2329         * lyxfunc.C (getStatus, dispatch): define the actions for these
2330         lfuns. Little more than a cut and pste job from ControlDocument.C
2331
2332         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2333
2334 2004-03-30  Angus Leeming  <leeming@lyx.org>
2335
2336         * lfuns.h:
2337         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2338         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2339
2340         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2341         open/closed state of ollapsable insets. Usage:
2342
2343         all-inset-toggle <state> <name>, where
2344         <state> == "open" || "closed" || "toggle" and
2345         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2346
2347         * lyxtext.h, text2.C (toggleInset): removed.
2348
2349         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2350         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2351         now passes LFUN_INSET_TOGGLE to the found inset.
2352
2353         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2354         is now invoked as "all-insets-toggle toggle branch".
2355
2356 2004-03-30  Angus Leeming  <leeming@lyx.org>
2357
2358         * dociterator.C:
2359         * insetiterator.C:
2360         * pariterator.[Ch]: added/corrected header blurb.
2361
2362 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * dociterator.[Ch]: add an inset_ member
2365         (backwardPos): implemented
2366         (backwardPos, forwardPos): use inset_ when the stack is empty.
2367         (doc_iterator_begin, doc_iterator_end): implemented
2368         * pariterator.[Ch]: adjust, add begin, end
2369         * insetiterator.[Ch]: adjust, add begin, end
2370         * cursor.C:
2371         * document.C:
2372         * BufferView.C:
2373         * BufferView_pimpl.C:
2374         * CutAndPaste.C: adjust
2375
2376 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2377
2378         * buffer.C: increment file format to 232.
2379         * LaTeXFeatures.C: add bibtopic package.
2380         * bufferparams.[Ch]: param \use_bibtopic.
2381
2382         * lyxrc.[Ch]: add lyxrc bibtex_command
2383         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2384
2385         * buffer.C: increment file format to 231.
2386
2387 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * dociterator.C: implement forwardPar
2390         * iterators.[Ch]: remove, replaced by
2391         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2392         * BufferView.C:
2393         * BufferView_pimpl.C:
2394         * CutAndPaste.C:
2395         * buffer.C:
2396         * bufferview_funcs.C:
2397         * cursor.C:
2398         * lyxfind.C
2399         * lyxfunc.C
2400         * paragraph_funcs.C
2401         * toc.C:
2402         * Makefile.am: adjust
2403
2404 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2405
2406         * CutAndPaste.C (pasteSelection): fix 2 crashes
2407         (eraseSelection): fix a crash
2408         * paragraph_funcs.C: remove a warning
2409
2410 2004-03-28  Angus Leeming  <leeming@lyx.org>
2411
2412         * lfuns.h:
2413         * LyXAction.C (init): new LFUN_PRINT.
2414
2415         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2416
2417 2004-03-27  Angus Leeming  <leeming@lyx.org>
2418
2419         * lfuns.h:
2420         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2421
2422         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2423
2424 2004-03-27  Angus Leeming  <leeming@lyx.org>
2425
2426         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2427         insetlist always contains non-null pointers to insets.
2428
2429 2004-03-26  Angus Leeming  <leeming@lyx.org>
2430
2431         * src/BufferView_pimpl.C:
2432         * src/CutAndPaste.C:
2433         * src/buffer.C:
2434         * src/iterators.C:
2435         * src/output_plaintext.C:
2436         * src/outputparams.h:
2437         * src/paragraph_funcs.C:
2438         * src/rowpainter.C:
2439         * src/text.C:
2440         * src/text2.C:
2441         * src/frontends/controllers/ControlErrorList.C:
2442         * src/frontends/gtk/FileDialogPrivate.C:
2443         * src/frontends/gtk/GPainter.C:
2444         * src/frontends/gtk/GToolbar.C:
2445         * src/frontends/qt2/QRef.C:
2446         * src/mathed/math_scriptinset.C: squash compiler warnings.
2447
2448 2004-03-26  Angus Leeming  <leeming@lyx.org>
2449
2450         * ispell.C (LaunchIspell::start):
2451         * lyx_cb.C (AutoSaveBuffer::start):
2452         invoke run(DontWait) rather than runNonBlocking().
2453
2454 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2457
2458 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * kbsequence.C (print): adjust
2461
2462         * kbmap.C (printKeySym): rename and change signature
2463         (printKey): use LyXKeySym::print()
2464
2465 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * undo.C: add using std::advance to compile for stlport
2468
2469 2004-03-24  Angus Leeming  <leeming@lyx.org>
2470
2471         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2472         it leads to a crash when no buffer is present.
2473
2474 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2475             Martin Vermeer  <martin.vermeer@hut.fi>
2476
2477         * lyxfunc.C (dispatch):
2478         * bufferparams.C (readToken): use the new LColor::setColor
2479
2480         * LColor.[Ch] (setColor): new version that takes two strings as
2481         argument and creates a new color entry if necessary
2482
2483 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2484
2485         * buffer.C (makeLaTeXFile): if the main latex file that is
2486         processed is usually a subdocument of some master, then pretend
2487         for a while that it is actually the master
2488
2489 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2490
2491         * buffer.C (getLabelList):
2492         (getBibkeyList): use getMasterBuffer()
2493         (getMasterBuffer): new method. Returns the main document in the
2494         case where one is using included documents.
2495
2496 2004-03-25  André Pönitz  <poenitz@gmx.net>
2497
2498         * Makefile.am:
2499         * iterators.[Ch]:
2500         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2501
2502         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2503
2504         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2505         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2506
2507         * ParameterStruct.h: merge with ParagraphParameters
2508
2509         * lyxtext.h: remove LyXText::parOffset() and getPar()
2510
2511         * text3.C: Remove all 'manual' update calls. We do now one per user
2512         interaction which is completely sufficient.
2513
2514         * Bidi.C:
2515         * BufferView.[Ch]:
2516         * BufferView_pimpl.C:
2517         * FontIterator.[Ch]:
2518         * MenuBackend.C:
2519         * ParagraphParameters.[Ch]:
2520         * buffer.C:
2521         * buffer.h:
2522         * bufferlist.C:
2523         * cursor.[Ch]:
2524         * cursor_slice.[Ch]:
2525         * dociterator.[Ch]:
2526         * errorlist.[Ch]:
2527         * factory.C:
2528         * lfuns.h:
2529         * lyxfind.C:
2530         * lyxfunc.C:
2531         * output_docbook.[Ch]:
2532         * output_latex.[Ch]:
2533         * output_linuxdoc.[Ch]:
2534         * output_plaintext.[Ch]:
2535         * paragraph.[Ch]:
2536         * paragraph_funcs.[Ch]:
2537         * paragraph_pimpl.[Ch]:
2538         * rowpainter.C:
2539         * tabular.[Ch]:
2540         * text.C:
2541         * text2.C:
2542         * toc.C:
2543         * undo.[Ch]: adjust
2544
2545         * frontends/controllers/ControlDocument.C:
2546         * frontends/controllers/ControlErrorList.C:
2547         * frontends/controllers/ControlSpellchecker.C:
2548         * insets/inset.C:
2549         * insets/inset.h:
2550         * insets/insetbase.h:
2551         * insets/insetbibitem.C:
2552         * insets/insetbox.C:
2553         * insets/insetbranch.C:
2554         * insets/insetcaption.C:
2555         * insets/insetcharstyle.C:
2556         * insets/insetcharstyle.h:
2557         * insets/insetcollapsable.C:
2558         * insets/insetcollapsable.h:
2559         * insets/insetert.C:
2560         * insets/insetfloat.C:
2561         * insets/insetfoot.C:
2562         * insets/insetmarginal.C:
2563         * insets/insetnote.C:
2564         * insets/insetoptarg.C:
2565         * insets/insettabular.C:
2566         * insets/insettext.C:
2567         * insets/insettext.h:
2568         * insets/insetwrap.C:
2569         * mathed/math_mboxinset.C:
2570         * mathed/math_nestinset.C:
2571         * mathed/math_scriptinset.C:
2572         * mathed/math_scriptinset.h:
2573         * support/types.h:
2574
2575 2004-03-24  Angus Leeming  <leeming@lyx.org>
2576
2577         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2578         deal with any child processes that have finished but are waiting to
2579         communicate this fact to the rest of LyX.
2580
2581 2004-03-24  Angus Leeming  <leeming@lyx.org>
2582
2583         64-bit compile fixes.
2584
2585         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2586         (c-tor): pass lyx::pos_types rather than ints.
2587
2588         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2589         lyx::pos_type.
2590
2591         * text.C (Delete): compile fix.
2592         (getPar): ensure that function declaration is the same as that in
2593         the header file.
2594
2595 2004-03-23  Angus Leeming  <leeming@lyx.org>
2596
2597         * ispell.C (LaunchIspell):
2598         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2599         a boost::shred_ptr rather than a std::auto_ptr.
2600
2601 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2604         handle LFUN_FILE_INSERT_*
2605
2606         * lyxrc.C (setDefaults, getDescription, output, read):
2607         * lyxrc.h: remove ps_command
2608
2609 2004-03-22  Angus Leeming  <leeming@lyx.org>
2610
2611         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2612         Ensure that error_handler is processed once only and that all data
2613         is saved before attempting to output any warning messages.
2614
2615         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2616
2617 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2620
2621 2004-03-19  André Pönitz  <poenitz@gmx.net>
2622
2623         * cursor.[Ch] (reset): take main text inset as argument
2624
2625         * BufferView: adjust
2626         * BufferView_pimpl.C: adjust
2627
2628         * paragraph.[Ch]: fix completely broken operator=()
2629
2630 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2631
2632         * LColor.C (getFromLyXName): make sure that the color name is used
2633         as lowercase.
2634
2635 2004-03-17  Angus Leeming  <leeming@lyx.org>
2636
2637         * lfuns.h:
2638         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2639
2640         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2641         dialog and to kill a forked process.
2642
2643 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2644
2645         * text2.C (setCursorFromCoordinates): fix font problem
2646
2647 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2648
2649         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2650         bogus "rebuild cursor" code
2651
2652 2004-03-11  André Pönitz  <poenitz@gmx.net>
2653
2654         * buffer.[Ch]: use InsetText instead of LyXText as container for
2655         the main lyx text.
2656
2657         * dociterator.[Ch]: drop the BufferView * member which is not needed
2658         anymore after the change to buffer.C
2659
2660         * paragraph_funcs.C:
2661         * text.C:
2662         * text2.C:
2663         * BufferView.[Ch]:
2664         * BufferView_pimpl.[Ch]:
2665         * cursor.[Ch]:
2666         * cursor_slice.[Ch]: adjust
2667
2668         * text3.C: fix bug in mathDispatch
2669
2670 2004-03-08  André Pönitz  <poenitz@gmx.net>
2671
2672         * undo.[Ch]: use 'StableDocumentIterator' as base for
2673         the Undo struct.
2674
2675 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2676
2677         * LaTeXFeatures.C:
2678         * bufferparams.[Ch]: add jurabib support and param.
2679
2680         * LaTeX.C: add FIXME/comment.
2681
2682 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2683
2684         * buffer.C: increment file format to 230.
2685
2686 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * cursor.C (dispatch): avoid infinite loops
2689
2690 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2691
2692         * rowpainter.C (paintSelection): fix x coordinates
2693
2694 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2695
2696         * text.C (rowBreakPoint): fix breaking before displayed insets
2697
2698 2004-03-01  André Pönitz  <poenitz@gmx.net>
2699
2700         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2701
2702         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2703
2704         * Makefile.am:
2705         * BufferView.C:
2706         * BufferView_pimpl.C:
2707         * buffer.C:
2708         * lyxfind.C:
2709         * lyxfunc.C:
2710         * text.C:
2711         * text2.C:
2712         * text3.C: adjust
2713
2714 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * lyxtext.h:
2717         * text.C:
2718         * text2.C:
2719         * rowpainter.C:
2720         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2721         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2722
2723 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2724
2725         * Bidi.[Ch] (computeTables): const correctness
2726         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2727         fill_hfill, fill_label_hfill and x from Row
2728         * lyxtext.h: prepareToPrint returns a RowMetrics
2729         * rowPainter.C: adjust
2730         * text.C (prepareToPrint): use width, not textWidth. adjust
2731         (redoParagraphInternal, cursorX): adjust
2732         * text2.C (getColumnNearX): adjust
2733         (init): put a default value to the top LyXText::width
2734
2735 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2738
2739 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * lyxtext.h: add FontIterator class
2742
2743         * text.C (FontIterator, operator*, operator->, operator++): add
2744         (rowBreakPoint, setRowWidth): adjust (fixing a
2745         rebreaking bug)
2746
2747 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2748
2749         * BufferView_pimpl.C (workAreaDispatch): allow also
2750         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2751
2752 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * text.C (rowBreakPoint): fix a bug showing with very large insets
2755
2756 2004-02-25  André Pönitz  <poenitz@gmx.net>
2757
2758         * text3.C:
2759         * cursor.[Ch]: move some mathed specific code to mathed
2760
2761 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2762
2763         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2764         use_tempdir in preferences
2765         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2766         tempfile creation
2767         * lyx_main.C: ensure that tempdir is valid
2768         * lyxlex.h: correct typo
2769         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2770         * paragraph.[Ch] (isMultiLingual): make const
2771         * cursor.[Ch] (openable): make const
2772
2773 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2774
2775         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2776
2777 2004-02-20  André Pönitz  <poenitz@gmx.net>
2778
2779         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2780
2781         * cursor.[Ch]: prepare for localized getStatus()
2782
2783         * lyxtext.h:
2784         * tabular.C:
2785         * text.C:
2786         * text2.C:
2787         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2788
2789 2004-02-20  André Pönitz  <poenitz@gmx.net>
2790
2791         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2792
2793 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * text2.C (setCursorFromCoordinates): switch to absolute coords
2796         (cursorUp): adjust
2797         (cursorDown): adjust
2798         * text3.C (dispatch): adjust
2799
2800 2004-02-16  André Pönitz  <poenitz@gmx.net>
2801
2802         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2803           insets/ChangeLog)
2804
2805         * cursor_slice.[Ch]: remove unneeded acessor function
2806
2807         * lyxtext.h: rename rtl() to isRTL()
2808
2809         * rowpainter.C:
2810         * tabular.C:
2811         * text.C:
2812         * text2.C:
2813         * text3.C: adjust
2814
2815 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2816
2817         * rowpainter.C (paintSelection): coord fix
2818
2819 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2820
2821         * Spacing.C: compile fix
2822
2823 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * cursor.C (dispatch): restore current_ before returning
2826
2827 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * text2.C (cursorUp, cursorDown): fix coords
2830         (moveUp): fix crash
2831
2832 2004-02-12  André Pönitz  <poenitz@gmx.net>
2833
2834         * lyxtext.h:
2835         * text.C:
2836         * text2.C:
2837         * text3.C: add LCursor & parameter to most cursor movement functions
2838           remove usage of LyXText::cursorRow() and cursorPar()
2839
2840         * cursor.[Ch]: add textRow() needed members
2841
2842         * BufferView.C:
2843         * BufferView_pimpl.C:
2844         * paragraph.[Ch]:
2845         * BufferView.C:
2846         * BufferView_pimpl.C: adjust
2847
2848 2004-02-11  André Pönitz  <poenitz@gmx.net>
2849
2850         * lyxfunc.C:
2851         * BufferView.[Ch]:
2852         * BufferView_pimpl.C: shift undo/redo handling
2853
2854         * cursor.[Ch]: fix mathed crash
2855
2856         * lyxfind.C:
2857         * lyxtext.h: move selectionAsText to LCursor
2858
2859         * output_latex.C:
2860         * paragraph.C:
2861         * text.C:
2862         * text2.C:
2863         * text3.C: adjust
2864
2865         * rowpainter.C: fix excessive drawing
2866
2867 2004-02-06  André Pönitz  <poenitz@gmx.net>
2868
2869         * BufferView.[Ch]:
2870         * BufferView_pimpl.[Ch]:
2871         * text3.C: move some text specific LFUN handling
2872
2873 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2874
2875         * text3.C (checkInsetHit): adjust coords
2876         * text2.C (getColumnNearX): adjust coords
2877         (edit): adjust coords
2878         * text.C (getRowNearY): add two asserts
2879
2880 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2881
2882         * converter.C:
2883         * format.C: add using std::distance to compile on gcc 2.95/stlport
2884
2885 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2886
2887         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2888
2889 2004-02-04  André Pönitz  <poenitz@gmx.net>
2890
2891         * BufferView.[Ch] (insertInset):
2892         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2893
2894         * text2.C:
2895         * text3.C: adjust
2896
2897 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2900         on the default clause of the switch
2901         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2902         wasn't catched by LCursor::dispatch
2903
2904 2004-02-03  André Pönitz  <poenitz@gmx.net>
2905
2906         * BufferView.C:
2907         * cursor.[Ch]: some additional asserts
2908
2909         * undo.[Ch]: remove LyXText dependency in interface
2910
2911         * lyxfunc.C: adjust
2912
2913         * lyxtext.h (firstPar, lastPar): remove dead functions
2914
2915         * text.C:
2916         * text2.C:
2917         * text3.C:
2918         * paragraph.[Ch]: adjust
2919
2920 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2921
2922         * lyxfind.C (find): fix argument order in call to ::find
2923
2924 2004-02-02  André Pönitz  <poenitz@gmx.net>
2925
2926         * cursor.[Ch]: remove direct access to anchor
2927
2928         * text.C: remove findText() hack
2929
2930 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * iterators.[Ch] (lockPath): remove in favour of...
2933         * BufferView.[Ch] (setCursor): this addition
2934         * BufferView.C (putSelectionAt): adjust
2935         * undo.C (performUndoOrRedo): adjust
2936         * lyxfunc.C (dispatch): adjust
2937
2938 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * iterators.C (lockPath): add a missing slice
2941         * undo.C (performUndoOrRedo): remove redundant positioning code
2942
2943 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2944
2945         * vc-backend.C (scanMaster): ";" -> ';'
2946
2947 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2948
2949         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2950         std::binary_function
2951
2952         * lyxtextclass.C (compare_name): rename to...
2953         (LayoutNamesEqual): ...this
2954
2955         * lyxlex_pimpl.C (compare_tags): inherit from
2956         std::binary_function, put back into anon namespace
2957
2958         * lyxfind.C (MatchString): inherig from std::binary_function
2959         (findChange): use empty() istead of !size()
2960
2961         * format.C (FormatNamesEqual): new functor
2962         (getFormat): use it
2963         (getNumber): use it
2964         (add): use it
2965         (erase): use it
2966         (setViewer): use it
2967
2968         * converter.C (compare_Converter): rename to...
2969         (ConverterEqual): ...this, and fixup a bit.
2970         (getConverter): use it, and make function const
2971         (getNumber): use it, and make function const
2972         (add): use it
2973         (erase): use it:
2974
2975         * bufferlist.C: add using boost::bind
2976
2977         * MenuBackend.C (MenuNamesEqual): new functor
2978         (hasMenu): use it, and make function const
2979         (hasSubmenu): use nested bind to get rid of compare_memfun.
2980
2981 2004-01-30  André Pönitz  <poenitz@gmx.net>
2982
2983         * BufferView_pimpl.C:
2984         * cursor.C:
2985         * cursor.h:
2986         * cursor_slice.[Ch]:
2987         * lyxfunc.C:
2988         * lyxtext.h:
2989         * paragraph_funcs.C:
2990         * paragraph_funcs.h:
2991         * rowpainter.C:
2992         * text.C:
2993         * text2.C:
2994         * text3.C: move some of the edit(x,y) handling to the insets
2995         some coordinate changes.
2996
2997 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2998
2999         * text.C: add using statements for std::advance and std::distance
3000
3001         * paragraph.C: add using statement for std::distance
3002
3003         * lyxfind.C: add using statement for std::advance
3004
3005         * cursor.C (region): remove std:: from swap
3006         (openable): use nucleus in stead of operator->
3007
3008         * BufferView.C: add using statements for std::distance and std::swap
3009
3010 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3011
3012         * iterators.C: Remove the pimple, move the needed structures to
3013         the header file. Create accessor for the positions stack.
3014         (asPosIterator): remove function
3015
3016         * PosIterator.C (PosIterator): move constructors to top of file
3017         (PosIterator): reimplement the constructor taking a ParIterator in
3018         terms of setFrom.
3019         (setFrom): new function
3020         (operator!=): inline it
3021
3022 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3023
3024         * lyxfind.C (replaceAll): use std::advance
3025
3026         * iterators.h: inherit from std::iterator.
3027
3028         * PosIterator.C (advance, distance): remove
3029         * PosIterator.h: interit from std::iterator.
3030
3031 2004-01-26  André Pönitz  <poenitz@gmx.net>
3032
3033         * BufferView.[Ch]:
3034         * BufferView_pimpl.[Ch]:
3035         * InsetList.[Ch]:
3036         * PosIterator.[Ch]:
3037         * buffer.h:
3038         * bufferview_funcs.C:
3039         * cursor.[Ch]:
3040         * cursor_slice.h:
3041         * factory.[Ch]:
3042         * iterators.[Ch]:
3043         * lyxfind.C:
3044         * lyxfunc.C:
3045         * lyxtext.h:
3046         * output_docbook.C:
3047         * output_latex.C:
3048         * output_linuxdoc.C:
3049         * output_plaintext.C:
3050         * paragraph.[Ch]:
3051         * paragraph_funcs.[Ch]:
3052         * paragraph_pimpl.[Ch]:
3053         * rowpainter.C:
3054         * tabular.C:
3055         * tabular.h:
3056         * text.C:
3057         * text2.C:
3058         * text3.C: more IU:  dumps most of the rest of the mathcursor
3059     implementation into cursor.[Ch]; "globalize" a bit of it.
3060
3061 2004-01-25  Angus Leeming  <leeming@lyx.org>
3062
3063         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3064
3065 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3066
3067         * LaTeXFeatures.h: add nice_ and nice() const
3068         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3069
3070 2004-01-20  André Pönitz  <poenitz@gmx.net>
3071
3072         * BufferView.[Ch]:
3073         * BufferView_pimpl.C:
3074         * PosIterator.C:
3075         * bufferview_funcs.C:
3076         * cursor.[Ch]:
3077         * cursor_slice.[Ch]:
3078         * factory.C:
3079         * iterators.C:
3080         * lyx_cb.C:
3081         * lyxfind.C:
3082         * lyxfunc.C:
3083         * lyxtext.h:
3084         * rowpainter.C:
3085         * text.C:
3086         * text2.C:
3087         * text3.C:
3088         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3089           LCursor and mathcursor parts to LCursor and InsetBase.
3090
3091 2004-01-15  André Pönitz  <poenitz@gmx.net>
3092
3093         * cursor_slice.[Ch]: add a few covienience functions
3094
3095         * funcrequest.[Ch]: remove BufferView * member
3096
3097         * BufferView_pimpl.C:
3098         * cursor.C:
3099         * factory.[Ch]:
3100         * lyxfind.[Ch]:
3101         * lyxfunc.C:
3102         * lyxtext.h:
3103         * text3.C:
3104         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3105
3106 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3107
3108         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3109         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3110
3111 2004-01-13  André Pönitz  <poenitz@gmx.net>
3112
3113         * textcursor.[Ch]:
3114         * lyxtext.h: hide cursor and selection anchor behind accessor function
3115
3116         * BufferView.C:
3117         * BufferView_pimpl.[Ch]:
3118         * PosIterator.C:
3119         * bufferview_funcs.C:
3120         * cursor.h:
3121         * lyxfind.C:
3122         * lyxfunc.C:
3123         * text.C:
3124         * text2.C:
3125         * text3.C:
3126         * undo.C: adjust
3127
3128         * cursor.h:
3129         * cursor_slice.[Ch]: some integer type changes for inset unification
3130
3131         * lyxcursor.[hC]: remove, it's CursorSlice now.
3132
3133         * Makefile.am:
3134         * BufferView_pimpl.[Ch]:
3135         * bufferview_funcs.C:
3136         * cursor_slice.C:
3137         * lyxtext.h:
3138         * text.C:
3139         * text2.C:
3140         * text3.C:
3141         * textcursor.[Ch]: adjust
3142
3143 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3144
3145         * text2.C (undoSpan): add and use
3146         * text.C (breakParagraph): use undoSpan (fix bug 578)
3147         * lyxtext.h: adjust
3148
3149 2004-01-08  Angus Leeming  <leeming@lyx.org>
3150
3151         * BufferView_pimpl.C (MenuInsertLyXFile):
3152         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3153         * lyxfunc.C (menuNew, open, doImport):
3154         FileFilterList change to the FileDialog open and save functions.
3155
3156 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3157
3158         * ShareContainer.h: make isEqual and isUnique adaptable
3159
3160         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3161
3162 2004-01-07  Angus Leeming  <leeming@lyx.org>
3163
3164         * LyXAction.C:
3165         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3166
3167         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3168
3169         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3170         functions replacing find, replace and replaceAll.
3171
3172         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3173         LFUN_WORDFIND(FORWARD|BACKWARD).
3174
3175 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * text.C (breakParagraph): remove an outdated #warning
3178
3179 2004-01-07  André Pönitz  <poenitz@gmx.net>
3180
3181         * lyxfind.C: somewhat clearer logic
3182
3183         * text.C: prevent crash in cursorX on unitialized row cache
3184
3185 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * lyxcursor.[Ch] (operator>): add
3188         * textcursor.C (selStart, selEnd): use std::min and std::max
3189
3190 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3191
3192         * Chktex.C: include boost/format.hpp
3193
3194 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3195
3196         * InsetList.C: replace functor MathcIt with adaptable functor
3197         InsetTablePosLess
3198         (insetIterator): modify accordingly
3199
3200         * BranchList.h: move the BranchNamesEqual functor here from...
3201         * BranchList.C: ... to here
3202
3203         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3204         SameName and match.
3205         (add): replace a finding loop with std::find_if.
3206
3207 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3208
3209         * output_docbook.C: moving LatexParam functionality into
3210         .layout files
3211
3212 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3213
3214         * buffer.C: increment format to 229.
3215
3216 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3217
3218         * LaTeXFeatures.C:
3219         * lyx_sty.[Ch]: remove minipageindent_def
3220
3221         * LyXAction.C:
3222         * factory.C:
3223         * lfuns.h:
3224         * lyxfunc.C:
3225         * text3.C: remove LFUN_INSET_MINIPAGE
3226
3227 2003-12-28  Angus Leeming  <leeming@lyx.org>
3228
3229         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3230
3231 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3232
3233         * text2.C (setParagraph): fix off-by-one crash
3234
3235 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3236
3237         * output_docbook.C: header stuff for AGU
3238
3239 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * text2.C (redoCursor): remove
3242         * text.C:
3243         * text3.C:
3244         * BufferView_pimpl.C: remove calls to redoCursor and
3245         setCursor(cursor.par(), cursor.pos()) all around
3246
3247 2003-12-15  Angus Leeming  <leeming@lyx.org>
3248
3249         * buffer.C: up the format to 228.
3250
3251 2003-12-15  André Pönitz  <poenitz@gmx.net>
3252
3253         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3254         slices
3255
3256         * Makefile.am:
3257
3258         * BufferView_pimpl.C:
3259         * cursor.[Ch]:
3260         * lyxcursor.[Ch]:
3261         * rowpainter.[Ch]:
3262         * lyxtext.h:
3263         * text.C:
3264         * text2.C:
3265         * text3.C: adjust
3266
3267 2003-12-15  Angus Leeming  <leeming@lyx.org>
3268
3269         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3270         than getFromGUIName to manipulate the color.
3271
3272 2003-12-14  Angus Leeming  <leeming@lyx.org>
3273
3274         * BranchList.[Ch]: minimize the API.
3275         (Branch::getBranch, getColor): now return a 'const &'.
3276         (Branch::setSelected) now returns a bool set to true if the
3277         selection status changes.
3278         (BranchList::clear, size, getColor, setColor, setSelected,
3279         allBranches, allSelected, separator): removed.
3280         (BranchList::find): new functions, returning the Branch with
3281         the given name.
3282         (BranchList::add, remove): return a bool indicating that
3283         the operation was successful.
3284
3285         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3286         new InsetBranch::isBranchSlected member function.
3287
3288         * LColor.[Ch]: mimimize the API.
3289         (fill): renamed as addColor and made private.
3290         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3291         versions of these functions taking a string arg have been removed.
3292
3293         * bufferparams.C (readToken):
3294         * lyxfunc.C (dispatch):
3295         * lyxrc.C (read): changes due to the altered BranchList and
3296         LColor APIs.
3297
3298         * factory.C (createInset, readInset): changes due to altered
3299         InsetBranch c-tor.
3300
3301 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3302
3303         * factory.C:
3304         * lyxfunc.C: remove insetminipage. "minipage-insert"
3305         now produces a frameless minipage box inset.
3306
3307 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * textcursor.[Ch] (selStart,selEnd): add new methods
3310         remove selection::start, end, use LyXCursor::operator<
3311         * lyxcursor.[Ch] (operator<): add
3312         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3313         * BufferView.[Ch] (unsetXSel): add
3314         * text2.C (clearSelection): use unsetXSel,adjust
3315         * text.C: adjust
3316         * text3.C: adjust
3317         * rowpainter.C: adjust
3318         * bufferview_funcs.C (put_selection_at): adjust
3319
3320 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * BufferView_pimpl.C: small coord. correction
3323
3324 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3327         dragging over the splash screen.
3328
3329 2003-12-11  Angus Leeming  <leeming@lyx.org>
3330
3331         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3332         as it is now handled in LyXText::dispatch.
3333
3334         * text3.C (doInsertInset): remove a level of nesting.
3335
3336 2003-12-11  Angus Leeming  <leeming@lyx.org>
3337
3338         * factory.C (createInset): changes due to the changed interface to
3339         InsetCommandMailer::string2params.
3340
3341 2003-12-10  Angus Leeming  <leeming@lyx.org>
3342
3343         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3344         'dialog-show-new-inset <inset name>'
3345
3346 2003-12-10  Angus Leeming  <leeming@lyx.org>
3347
3348         * buffer.C: up the format to 227.
3349
3350         * factory.C: the box inset is now identified simply by 'Box'.
3351
3352 2003-12-10  Angus Leeming  <leeming@lyx.org>
3353
3354         * buffer.C: up the format to 226.
3355
3356         * factory.C: the note inset is now identified simply by 'Note'.
3357
3358 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3359
3360         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3361         when a pit is enough. Standarize a couple of loops.
3362
3363 2003-12-05  Angus Leeming  <leeming@lyx.org>
3364
3365         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3366         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3367         data to the re-worked "log" dialog.
3368
3369 2003-12-03  André Pönitz  <poenitz@gmx.net>
3370
3371         * PosIterator.C:
3372         * iterators.C:
3373         * lyxtext.h:
3374         * output_latex.C:
3375         * paragraph_funcs.C:
3376         * text.C:
3377         * text2.C: use Inset::getText instead of Inset::getParagraph
3378
3379 2003-12-03  André Pönitz  <poenitz@gmx.net>
3380
3381         * buffer.[Ch]:
3382         * lyxtext.h:
3383         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3384         InsetText::read() as LyXText::read()
3385
3386 2003-12-02  Angus Leeming  <leeming@lyx.org>
3387
3388         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3389         type. Add a comment in the implementation that the function uses
3390         the stream's bad() function rather than fail() as the std::streams
3391         would do.
3392
3393 2003-12-02  André Pönitz  <poenitz@gmx.net>
3394
3395         * lyxlex.[Ch]: make interface more similar to std::stream
3396
3397         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3398
3399 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3402
3403 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3404
3405         * vspace.[Ch]: remove VSpace::NONE
3406
3407 2003-12-01  André Pönitz  <poenitz@gmx.net>
3408
3409         * buffer.[Ch]:
3410         * lyxtext.h: move ParagraphList member to LyXText
3411         rename LyXText::ownerParagraphs to LyXText::paragraph
3412
3413         * CutAndPaste.C:
3414         * bufferview_funcs.C:
3415         * iterators.[Ch]:
3416         * lyx_cb.C:
3417         * paragraph.C:
3418         * rowpainter.C:
3419         * tabular.C:
3420         * text.C:
3421         * text2.C:
3422         * text3.C: adjust
3423
3424         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3425
3426         * undo.C: fix cursor positioning
3427
3428 2003-12-01  John Levon  <levon@movementarian.org>
3429
3430         * BufferView_pimpl.C: fix a crash on exit with
3431         a buffer open
3432
3433 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3434
3435         * BranchList.C: fix setSelected() method.
3436
3437 2003-11-28  André Pönitz  <poenitz@gmx.net>
3438
3439         * ParagraphParameters.[Ch]:
3440         * ParameterStruct.h: remove space above/below from Paragraph to
3441          InsetVSpace
3442
3443         * BufferView_pimpl.C:
3444         * factory.C:
3445         * lyxfunc.C:
3446         * lyxtext.h:
3447         * output_latex.C:
3448         * paragraph.C:
3449         * paragraph_funcs.C:
3450         * rowpainter.[Ch]:
3451         * text.C:
3452         * text2.C:
3453         * text3.C: adjust
3454
3455 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3456
3457         * factory.C: Syntax change for CharStyles
3458
3459 2003-11-28  André Pönitz  <poenitz@gmx.net>
3460
3461         * BufferView.[Ch]:
3462         * BufferView.[Ch]:
3463         * buffer.[Ch]:
3464         * buffer.[Ch]: move LyXText member
3465
3466 2003-11-28  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView.[Ch]: make LyXText * text a private member
3469
3470         * BufferView_pimpl.C:
3471         * cursor.C:
3472         * iterators.C:
3473         * lyx_cb.C:
3474         * lyxfind.C:
3475         * lyxtext.h:
3476         * rowpainter.[Ch]:
3477         * text.C:
3478         * text2.C:
3479         * undo.C: adjust
3480
3481         * output_plaintext.C: cleanup
3482
3483 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3484
3485         * buffer.C:
3486         * lyxtextclass.[Ch]: parametrize SGML document header
3487
3488 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3489
3490         * converter.[Ch]:
3491         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3492         getFlavor().
3493
3494 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3495
3496         * text2.C (setFont): rework using PosIterator (no more recursive)
3497         (setCharFont): no more needed
3498         (setLayout): no more selection cursors fiddling (done by redoCursor)
3499         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3500         destroy remaining ones)
3501
3502 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3505         * lyxtext.h: ditto
3506         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3507         selection cursors
3508         * lyxfunc.C: adjust
3509         * text3.C: adjust + re-allow multi par depth changes
3510         * textcursor.C: simplify a bit
3511
3512 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * src/buffer.C:
3515         * src/lyxlayout.C:
3516         * src/lyxlayout.h:
3517         * src/lyxtext.h:
3518         * src/output_docbook.C:
3519         * src/output_latex.C:
3520         * src/paragraph.C:
3521         * src/paragraph.h:
3522         * src/sgml.C:
3523         * src/sgml.h:
3524         * src/text2.C: Introducing a number of tags parametrizing various
3525         XML formats that we may want to support
3526
3527 2003-11-25  André Pönitz  <poenitz@gmx.net>
3528
3529         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3530
3531         * lyxtext.h (leftMargin/rightMargin): simplify interface
3532
3533         * rowpainter.C:
3534         * text.C:
3535         * text2.C:
3536         * text3.C: adjust
3537
3538 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3539
3540         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3541         master file to any child files. Fixes bug 546.
3542
3543 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3546
3547 2003-11-24  André Pönitz  <poenitz@gmx.net>
3548
3549         * rowpainter.C: simplification
3550
3551         * text2.C (updateCounters): remove call to redoParagraph on
3552         changed labels as this is far too expensive.
3553
3554 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3555
3556         * converter.C (convert): fix a crash: this function gets
3557         called with buffer == 0 from importer code.
3558
3559 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3560
3561         * text3.C (cursorPrevious): make sure that we do not compare
3562         iterators form different containers.
3563         (cursorNext): ditto
3564
3565         * rowpainter.C (paintSelection): make sure that we do not compare
3566         iterators from different containers.
3567
3568         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3569         iterators from different ParagraphList containers.
3570         [NEXT] ditto
3571
3572         * text2.C (LyXText): change order of initialization slightly
3573         (operator=): new function. copy all variables except cache_par_
3574         (moveUp): make sure that we do not compare iterators from
3575         different ParagraphList constainers.
3576         (moveDown): ditto
3577
3578         * text.C (firstPar): new function
3579         (lastPar): new function
3580         (endPar): new function
3581
3582         * lyxtext.h: move things around and group public functions, public
3583         variables, private functions, private variables
3584
3585 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3586
3587         * factory.C: change call to InsetERT constructor to avoid
3588         additional invocation of method status
3589         * text2.C (toggleInset): remove redundant update() call
3590         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3591         instead of a Bufferview pointer
3592
3593 2003-11-21  André Pönitz  <poenitz@gmx.net>
3594
3595         * rowpainter.C: simplification
3596
3597 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * text3.C (dispatch): make possible to extend a word/row selection
3600         with the mouse
3601
3602 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3603
3604         * lyxtext.h: x0_,y0_ -> xo_,yo_
3605         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3606         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3607         * rowpainter.C (paintRows): paint full paragraphs
3608
3609 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3612         screen coordinates)
3613
3614 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3615
3616         * lyxtext.h: add x0_, y0_
3617         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3618         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3619
3620 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3621
3622         * text2.C (setCursorIntern): move the x_target update here *
3623         * text3.C: change some bv() to true/false in calls to
3624         cursorUp/Down/Right/Left
3625         * cursor.C: use helper function.
3626
3627 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3628
3629         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3630         * paragraph_funcs.[Ch]: correct comment
3631         * rowpainter.C: do not paint selections away from bv->cursor()
3632         Fix a long standing selection painting bug.
3633         * text3.C: generalize mouse-selection code to LyXTexts other that
3634         top one
3635         * textcursor.C: do not use y coords if we can use par offsets
3636
3637 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3638
3639         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3640         cursor position after e.g. inset insert)
3641
3642 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3643
3644         * lyxfind.C (replace): adjust to locking removal + some
3645         code simplification
3646
3647 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3650         of the path
3651
3652 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3653
3654         * lyxlayout.[Ch]:
3655         * output_docbook.C: XML sanitation: new layout
3656         parameters InnerTag and CommandDepth
3657
3658 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3659
3660         * BufferView_pimpl.C:
3661         * factory.C:
3662         * text3.C: Fix the insertion and modification of button-style
3663         insets
3664
3665 2003-11-13  André Pönitz  <poenitz@gmx.net>
3666
3667         * InsetList.[Ch]: remove deleteLyXText
3668
3669         * paragraph.[Ch]: cache beginOfBody position
3670
3671         * Bidi.C:
3672         * text.C:
3673         * text2.C:
3674         * text3.C: remove superfluous update() calls
3675
3676         * vspace.C: cleanup
3677
3678 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3679
3680         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3681         * BufferView.C (fitLockedInsetCursor): remove
3682         * cursor.[Ch] (getDim): add
3683         * text.C (getRowNearY): add faster version
3684         * text3.C: remove some update calls
3685
3686 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3687
3688         * LaTeXFeatures.C:
3689         * LyXAction.C:
3690         * MenuBackend.C:
3691         * MenuBackend.h:
3692         * dispatchresult.h:
3693         * factory.C:
3694         * lfuns.h:
3695         * lyxfunc.C:
3696         * lyxtextclass.C:
3697         * lyxtextclass.h:
3698         * text3.C: The Character Style /XML short element patch.
3699
3700 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3701
3702         * text3.C:
3703         * factory.C: Small step to solving 'unable to insert some insets'
3704         problem
3705
3706 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3707
3708         * cursor.[Ch] (updatePos): new function for updating the y
3709         position of the tip inset
3710         * bufferview_funcs.C (put_selection_at):
3711         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3712
3713 2003-11-11  André Pönitz  <poenitz@gmx.net>
3714
3715         * text.C: remove big comment on invalid Paragraph pointers as it is
3716         not valid anymore
3717
3718 2003-11-11  André Pönitz  <poenitz@gmx.net>
3719
3720         * text_funcs.[Ch]: merge with ...
3721
3722         * text.C: ... this
3723
3724         * lyxtext.h:
3725         * text2.C:
3726         * text3.C: adjust
3727
3728         * Makefile.am: remove text_funcs.[Ch]
3729
3730 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * cursor.C (getPos): return absolute cached y coord
3733
3734         * BufferView_pimpl.C (fitCursor): new simplistic code
3735         (workAreaDispatch): add a fitCursor call
3736
3737 2003-11-10  André Pönitz  <poenitz@gmx.net>
3738
3739         * BufferView.[Ch]:
3740         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3741
3742 2003-11-10  André Pönitz  <poenitz@gmx.net>
3743
3744         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3745         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3746         indicate that the cursor needs to leave an inset
3747
3748         * lyxtext.h: remove inset locking
3749
3750         * cursor.[Ch]: re-implement functionality provided by inset locking
3751
3752         * BufferView.[Ch]:
3753         * BufferView_pimpl.[Ch]:
3754         * LyXAction.C:
3755         * bufferview_funcs.[Ch]:
3756         * factory.C:
3757         * funcrequest.[Ch]:
3758         * iterators.C:
3759         * lyx_cb.C:
3760         * lyxfind.C:
3761         * lyxfunc.C:
3762         * text.C:
3763         * text2.C:
3764         * text3.C:
3765         * undo.C: adjust
3766
3767 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * PosIterator.[Ch]: replace the stack with a vector, add inset
3770         accesor
3771         * iterators.[C]: adjust
3772
3773 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3774
3775         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3776         replaced
3777         * paragraph_funcs.C (readParToken): put the correct id in the
3778         error item, not the id of the top paragraph
3779
3780 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3783         * bufferview_funcs.C (put_selection_at): use the above
3784
3785 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3788
3789 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3790
3791         * output_linuxdoc.h:
3792         * output_plaintext.h:
3793         * output.h:
3794         * output_docbook.h: add #include statements
3795
3796 2003-11-05  José Matos  <jamatos@lyx.org>
3797
3798         * output_docbook.[Ch]:
3799         * output_latex.[Ch]:
3800         * output_linuxdoc.[Ch]:
3801         * output_plaintext.[Ch]: New files for output formats.
3802         * output.[Ch]: New file for helper functions.
3803
3804         * buffer.[Ch]:
3805         * paragraph_funcs.[Ch]: output functions moved to new files.
3806
3807         * outputparams.h: rename of latexrunparams.h
3808
3809         * LaTeX.[Ch]:
3810         * buffer.[Ch]:
3811         * bufferlist.[Ch]:
3812         * converter.[Ch]:
3813         * exporter.C:
3814         * paragraph.[Ch]:
3815         * paragraph_funcs.[Ch]:
3816         * paragraph_pimpl.[Ch]:
3817         * tabular.[Ch]: rename ascii to plaintext
3818         and LatexRunParams to OutputParams.
3819
3820 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * iterators.[Ch] (text): require bv argument
3823         * undo.C (recordUndo):
3824         * lyxfunc.C (dispatch):
3825         * bufferview_funcs.C (put_selection_at): adjust
3826
3827 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3828
3829         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3830
3831 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3832
3833         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3834         nestings
3835
3836 2003-11-04  André Pönitz  <poenitz@gmx.net>
3837
3838         * cursor.[Ch]: restructure
3839
3840         * BufferView.[Ch]:
3841         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3842
3843         * iterators.[Ch] (asCursor): remove
3844
3845         * lfuns.h: remove LFUN_INSET_EDIT
3846
3847         * lyxfunc.C:
3848         * tabular.C:
3849         * text.C:
3850         * text2.C:
3851         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3852
3853 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3854
3855         * lyxfind.[Ch]: complete overhaul
3856         * BufferView_pimpl.C:
3857         * lyxfunc.C: adjust
3858         * paragraph.[Ch] (insert): add
3859
3860 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3861
3862         * BufferView.[Ch]:
3863         * lyxtext.h:
3864         * text.C: remove dead spellcheck code
3865
3866 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3867
3868         * dispatchresult.h: add a val setter
3869
3870         * cursor.C (dispatch): use a tempvar for data_[i]
3871
3872 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * PosIterator.[Ch]: compile fix
3875
3876 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * text.C (cursorPar): deactivate the cursor cache
3879
3880 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3883
3884 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * text3.C (dispatch): adjust for new DisptchResult semantics.
3887
3888         * lyxfunc.C (dispatch): handle update when return from
3889         Cursor::dispatch, adjust for new DispatchResult semantics.
3890
3891         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3892         DispatchResult(true) mean to not update. Add class functions for
3893         setting dispatched and update, as well as reading.
3894
3895         * cursor.C (dispatch): don't handle update here
3896
3897 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3900         * trans_mgr.C: adjust
3901
3902         * paragraph_funcs.C (readParToken): exception safety
3903
3904         * lyxvc.h: store the vcs pointer in a scoped_ptr
3905         * lyxvc.C: adjust
3906
3907         * lyxsocket.C (serverCallback): exception safety
3908
3909         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3910
3911         * ispell.C (clone): make it return a auto_ptr
3912
3913         * factory.C (createInset): exception safety
3914         (readInset): exception safety
3915
3916         * bufferlist.C (newBuffer): exception safety
3917
3918         * Thesaurus.C (Thesaurus): use initialization for aik_
3919
3920         * MenuBackend.C (expandToc): exception safety.
3921
3922 2003-11-03  André Pönitz  <poenitz@gmx.net>
3923
3924         * buffer.C:
3925         * buffer.h:
3926         * bufferview_funcs.C: remove getInsetFromId()
3927
3928         * lyxcursor.[Ch]:
3929         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3930
3931         * lyxfunc.C:
3932         * text2.C:
3933         * text3.C: adjust
3934
3935 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * PosIterator.C (distance, advance): new
3938         * bufferview_funcs.[Ch] (put_selection_at): new
3939         * iterators.[Ch] (lockPath): new
3940
3941 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * iterators.[Ch] (asPosIterator): added
3944         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3945         * PosIterator.[Ch]: added
3946
3947 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * text3.C:
3950         * lyxfunc.C:
3951         * cursor.C (dispatch):
3952         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3953
3954         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3955         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3956         contructor, add a class function dispatched. Remove operator>=
3957
3958 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * debug.C: only use the default constructor for debugstream
3961         (lyxerr) here.
3962
3963         * main.C (main): include debug.h and setup the lyxerr streambuf
3964         here.
3965
3966 2003-10-31  José Matos  <jamatos@lyx.org>
3967
3968         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3969
3970         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3971         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3972         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3973         * paragraph_pimpl.C (simpleTeXSpecialC):
3974         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3975         add LatexRunParams argument.
3976
3977         * exporter.C (Export): change call accordingly.
3978
3979         * latexrunparams.h: add new member to take care of the other backends.
3980 2003-10-30  José Matos  <jamatos@lyx.org>
3981
3982         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3983         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3984         factorise code for paragraph output.
3985         * buffer.[Ch]:
3986         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3987         move functions.
3988
3989 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * text3.C (dispatch):
3992         * lyxfunc.C (dispatch):
3993         * cursor.C (dispatch):
3994         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3995
3996         * dispatchresult.h: make the dispatch_result_t ctor explicit
3997
3998 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3999
4000         * sgml.[Ch]:
4001         * buffer.C: small refactoring of docbook stuff
4002
4003 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4006         meaning.
4007
4008 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4011         operator dispatch_result_t, and operators for == != and >=
4012
4013         * cursor.C (dispatch): adjust for operator dispatch_result_t
4014         removal. comment out call to update
4015
4016         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4017
4018 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * text3.C:
4021         * text2.C:
4022         * text.C:
4023         * lyxtext.h:
4024         * lyxfunc.C:
4025         * cursor.C:
4026         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4027         (dispatch):
4028
4029         * dispatchresult.h: new file, DispatchResult broken out of
4030         insets/insetbase.h
4031
4032         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4033
4034 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * text.C (rowBreakPoint): put a hack inside #if 0
4037
4038 2003-10-28  André Pönitz  <poenitz@gmx.net>
4039
4040         * lyxtext.h:
4041         * metricsinfo.C:
4042         * paragraph_funcs.C:
4043         * rowpainter.C:
4044         * text.C:
4045         * text2.C: general cleanup (lots of small stuff)
4046
4047 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4048
4049         * text2.C (cursorEnd): simple fix to the "end key goes to one
4050         before the end on last row" bug
4051
4052 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4053
4054         * text.C (backspace): fix the "zombie characters"
4055
4056 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4059
4060 2003-10-27  André Pönitz  <poenitz@gmx.net>
4061
4062         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4063
4064         * factory.C: handle new InsetPagebreak, InsetLine
4065
4066         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4067         and move handling into new InsetPagebreak, InsetLine
4068
4069         * BufferView_pimpl.C:
4070         * LyXAction.C:
4071         * ParagraphParameters.C:
4072         * ParameterStruct.h:
4073         * lyxfunc.C:
4074         * lyxtext.h:
4075         * paragraph.C:
4076         * paragraph.h:
4077         * paragraph_funcs.C:
4078         * paragraph_pimpl.C:
4079         * rowpainter.C:
4080         * text.C:
4081         * text2.C:
4082         * text3.C: adjust
4083
4084 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text.C:
4087         * lyxrow_funcs.[Ch]:
4088         * Bidi.C:
4089         * paragraph.C:
4090         * lyxtext.h:
4091         * rowpainter.C:
4092         * text2.C:
4093         * text3.C: remove lastPos uses in favour of Row::endpos
4094
4095 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * undo.C (performUndoOrRedo): fix two crashes by setting a
4098         cursor by hand and reordering some calls. Use bv->lockInset instead
4099         of inset->edit because the latter loses cursor information
4100
4101 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4104         by Martin
4105         (rowBreakPoint): fix width. change point to point + 1.
4106         Add a missing check.
4107
4108 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * MenuBackend.C:
4111         * lyxfunc.C: fix (at least partly) the problems
4112         with the Nav menu and headers inside branch insets
4113         reported by Kayvan
4114
4115 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * paragraph.C (getChar): add strong asserts
4118
4119         * lyxrow_funcs.C (lastPos): remove hideous hack
4120
4121         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4122         (fill): adjust to that (avoid an infinite loop)
4123
4124 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4127
4128 2003-10-23  André Pönitz  <poenitz@gmx.net>
4129
4130         * RowList_fwd.h: change list<> to vector<> to gain speed
4131         after suggestion from Alfredo
4132
4133 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * lyxtext.h: move the bidi stuff from here...
4136         * text.C: and here
4137         * text2.C: and here
4138         * Bidi.[Ch]: ... to here
4139
4140 2003-10-23  André Pönitz  <poenitz@gmx.net>
4141
4142         * lyxtext.h:
4143         * text.C (isLastRow, isFirstRow): new functions
4144
4145         * paragraph.h: new width cache member
4146
4147         * rowpainter.C: replace RowList::iterator with Row & where possible
4148
4149         * lyxfunc.C: replace several view()->text with a single call
4150
4151         * toc.C: fix 'unused' warning
4152
4153 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4156         when woring with stream::pos_type
4157         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4158
4159 2003-10-22  André Pönitz  <poenitz@gmx.net>
4160
4161         * lyxtext.h:
4162         * text.C: use Row & instead of RowList::iterator
4163
4164         * lyxrow.h: rename end() to endpos()
4165
4166         * rowpainter.C:
4167         * text.C:
4168         * text2.C: adjust
4169
4170 2003-10-22  Angus Leeming  <leeming@lyx.org>
4171
4172         * buffer.[Ch] (fully_loaded): new member function, returning true
4173         only when the file has been loaded fully.
4174         Used to prevent the premature generation of previews and by the
4175         citation inset to prevent computation of the natbib-style label.
4176
4177         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4178         templates are all set up.
4179
4180         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4181
4182 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4183
4184         * text.C: fixed an "oops" in the "is a bit silly"
4185         bug fix
4186
4187 2003-10-21  André Pönitz  <poenitz@gmx.net>
4188
4189         * FuncStatus.[Ch]: small stuff, whitespace
4190
4191         * lyxfont.[Ch]: operator<<() for debug reasons
4192
4193         * lyxfunc.C:
4194         * lyxrow_funcs.C:
4195         * lyxtext.h: whitespace, spelling
4196
4197         * paragraph.C: naming of variables
4198
4199         * text.C:
4200         * text2.C: small stuff
4201
4202
4203 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4204
4205         * text.C: (1) finish off the inset display() work;
4206         (2) fix the "is a bit silly" bug (accessing char
4207         past end of par).
4208
4209 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4210
4211         * text.C: re-introduce display() for insets, fixing the
4212         various bugs (stretch of line above, math inset
4213         positioning, ...)
4214
4215 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4216
4217         * text.C (rightMargin): remove spurious semicolon
4218
4219         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4220         1415)
4221
4222 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4223
4224         * text3.C: fix one crash due to wrong cursor def
4225
4226 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * vc-backend.C (scanMaster): make the regex static
4229
4230         * LaTeX.C (scanAuxFile): make the regexs static
4231
4232         * text3.C (doInsertInset, dispatch, dispatch):
4233         * text2.C (cursorUp, cursorDown):
4234         * text.C (selectNextWordToSpellcheck):
4235         * BufferView_pimpl.C (dispatch):
4236         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4237
4238 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4239
4240         * lyxsocket.C: include <cerrno>
4241
4242 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * lyxfunc.C (dispatch): remove textcache stuff
4245
4246         * bufferlist.C (release): remove textcache stuff
4247         (closeAll): ditto
4248
4249         * TextCache.C: delete file
4250         * TextCache.h: delete file
4251
4252         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4253
4254         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4255         delete of the bv_->text.
4256         (resizeCurrentBuffer): remove texcache stuff
4257         (workAreaResize): ditto
4258
4259 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4262         action.
4263
4264 2003-10-16  André Pönitz  <poenitz@gmx.net>
4265
4266         * lyxrow.[Ch]:
4267         * paragraph.h:
4268         * rowpainter.C:
4269         * text.C:
4270         * text2.C:
4271         * text3.C: speed up by storing y positions per paragraph plus per-row
4272         offset instead of having a 'full' y position in the row.
4273
4274 2003-10-15  André Pönitz  <poenitz@gmx.net>
4275
4276         * iterators.[Ch]:
4277         * iterators.[Ch]:
4278         * undo.[Ch]: make undo aware of inner insets
4279
4280 2003-10-14  Angus Leeming  <leeming@lyx.org>
4281
4282         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4283         static member functions LyX::ref() and LyX::cref.
4284         (lastfiles): new accessor functions for the new lastfiles_ member var.
4285         (addLyXView, views_): add a new LyXView to the list of views_.
4286         (updateInset): loop over all LyXViews to call their own updateInset
4287         member function, returning a pointer to the Buffer owning the inset.
4288
4289         * BufferView_pimpl.C (loadLyXFile):
4290         * MenuBackend.C (expandLastfiles):
4291         * bufferlist.C (MenuWrite, QuitLyX):
4292         lastfiles is no longer a global variable.
4293         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4294
4295         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4296         static function. Access through LyX::cref().emergencyCleanup().
4297
4298 2003-10-14  André Pönitz  <poenitz@gmx.net>
4299
4300         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4301
4302         * undo.[Ch]: restoring part of 'undo in insets'
4303
4304         * Makefile.am:
4305         * undo_funcs.[Ch]: merge with undo.[Ch]
4306
4307         * tabular.C: small cleansing stuff
4308
4309 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * paragraph_funcs.C (readParToken): report unknown insets as error
4312         boxes. Use the outer paragraph as location (also for unknown
4313         tokens).
4314
4315         * factory.C (readInset): do not abort on reading an unknown inset.
4316         Eat it and return 0.
4317
4318 2003-10-13  Angus Leeming  <leeming@lyx.org>
4319
4320         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4321
4322         * lyxrc.C: displayTranslator is now a function,
4323         declared in GraphicsTypes.h.
4324
4325 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4326
4327         * format.C: new placeholder $$a to pass the socket address.
4328
4329         * bufferlist.[Ch]: new function getBufferFromTmp.
4330
4331         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4332           files in the temporary dir.
4333
4334 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4335
4336         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4337
4338         * Makefile.am: add lyxsocket.[Ch].
4339
4340         * lyx_main.C (error_handler): handle SIGPIPE.
4341
4342 2003-10-13  André Pönitz  <poenitz@gmx.net>
4343
4344         * BufferView_pimpl.C:
4345         * lyxtext.h:
4346         * text.C:
4347         * text2.C:
4348         * text3.C:
4349         * undo_funcs.[Ch]: use paroffset_type instead of
4350           ParagraphList::iterators to prevent multiple conversion
4351           (and get a more robust interface)
4352
4353 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4356         * lyxtext.h: ditto
4357         * text3.C (dispatch): ditto
4358
4359 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4362         move the onlyfile, use onlyfile instead of foundfile in a couple
4363         of places.
4364
4365         * DepTable.C (update): flush the error stream a bit more
4366
4367 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * lyxserver.C (callback): adjust
4370
4371         * lyxfunc.C (getStatus): add a missing brace in commented code
4372         (ensureBufferClean): reindent
4373         (dispatch): delete version taking a string
4374
4375 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * LaTeX.C (deplog): move found file handlig from here...
4378         (handleFoundFile): .. to new function here.
4379         (deplog): make sure to discover several files mentioned on the
4380         same log line.
4381
4382 2003-10-10  André Pönitz  <poenitz@gmx.net>
4383
4384         * lyxfunc.C:
4385         * lyxtext.h:
4386         * tabular.C:
4387         * text.C:
4388         * text2.C:
4389         * text3.C: fix some of the tabular crashes
4390
4391 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4392
4393         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4394
4395         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4396
4397 2003-10-09  André Pönitz  <poenitz@gmx.net>
4398
4399         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4400
4401         * BufferView.C:
4402         * BufferView_pimpl.C:
4403         * bufferview_funcs.C:
4404         * lyx_cb.C:
4405         * lyxcursor.C:
4406         * lyxfind.C:
4407         * lyxfunc.C:
4408         * lyxtext.h:
4409         * text.C:
4410         * text2.C:
4411         * text3.C:
4412         * text_funcs.[Ch]:
4413         * textcursor.[Ch]:
4414         * undo_funcs.C: adjust
4415
4416 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * text2.C (incrementItemDepth): new function, use a backtracking
4419         algorithm to discover the correct item depth.
4420         (resetEnumCounterIfNeeded): new function, use a backtracking
4421         algorithm to discover if counter reset is needed.
4422         (setCounter): use them. Simplify a bit. Add different labels for
4423         different item depths for itemize.
4424
4425         * paragraph.C (Paragraph): remove initialization of enumdepth
4426         (operator=): ditto
4427
4428         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4429         enumerate and itemize. Change the type of itemdepth to signed char.
4430
4431 2003-10-08  André Pönitz  <poenitz@gmx.net>
4432
4433         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4434           thing assignable.
4435         * text.C:
4436         * text2.C: adjust
4437
4438         * tabular.[Ch]: fix crash after 'row-insert'
4439
4440 2003-10-08  Angus Leeming  <leeming@lyx.org>
4441
4442         Fix doxygen warnings.
4443
4444         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4445         Remove CutAndPaste:: prefix from header file declaration.
4446
4447         * LColor.h (fill): remove LColor:: prefix from declaration.
4448
4449         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4450         use lyx::depth_type rather than Paragraph::depth_type so that
4451         header file and .C file match.
4452
4453         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4454
4455         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4456         * aspell.C: \file aspell_local.C -> \file aspell.C
4457         * gettext.C: \file gettext.C -> \file src/gettext.C
4458         * gettext.h: \file gettext.h -> \file src/gettext.h
4459         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4460         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4461         * text.C: \file text.C -> \file src/text.C
4462
4463         * toc.C: move comment so that doxygen is not confused.
4464
4465 2003-10-07  Angus Leeming  <leeming@lyx.org>
4466
4467         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4468
4469 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4470
4471         * aspell.C:
4472         * aspell_local.h: add forgotten std::string's.
4473
4474 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4475
4476         * LaTeXFeatures.C:
4477         * LyXAction.C:
4478         * factory.C:
4479         * lfuns.h:
4480         * lyxfunc.C:
4481         * text3.C: The Box patch. Fancybox support, minipage, parbox
4482
4483 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4484
4485         * CutAndPaste.h:
4486         * DepTable.h:
4487         * FloatList.h:
4488         * LaTeXFeatures.h:
4489         * ParagraphParameters.h:
4490         * TextCache.h:
4491         * Thesaurus.h:
4492         * bufferlist.h:
4493         * exporter.h:
4494         * importer.h:
4495         * lastfiles.h:
4496         * lyxfind.h:
4497         * lyxfont.h:
4498         * lyxlex.h:
4499         * lyxtextclasslist.h:
4500         * messages.h:
4501         * paragraph.h:
4502         * paragraph_pimpl.C:
4503         * textcursor.h: add <string> and other small fixes to make Lars'
4504         std::string patch compile with STLport.
4505
4506 2003-10-06  Angus Leeming  <leeming@lyx.org>
4507
4508         * LColor.h: Add missing #include <string>.
4509
4510 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * All most all file in all subdirs: Make <string> be the prefered
4513         way of getting to std::string, add using declarations.
4514
4515 2003-10-06  André Pönitz  <poenitz@gmx.net>
4516
4517         * metricsinfo.C: initialize LyXFont before changing attribute.
4518         (fixes the 'math in \emph is upright' bug)
4519
4520 2003-10-06  André Pönitz  <poenitz@gmx.net>
4521
4522         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4523
4524 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * graph.C:
4527         * paragraph_pimpl.C: Small fixes to build using STLport
4528
4529 2003-10-02  André Pönitz  <poenitz@gmx.net>
4530
4531         * lyxfunc.C:
4532         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4533
4534 2003-10-01  André Pönitz  <poenitz@gmx.net>
4535
4536         * factory.C: assert early
4537
4538 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * lyx_main.C: remove the global debug object
4541
4542         * debug.h: adjust for new debugstream
4543
4544         * debug.C: adjust for new debugstream and keep the global debug
4545         object here.
4546
4547 2003-09-22  Angus Leeming  <leeming@lyx.org>
4548
4549         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4550         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4551         an incomplete class LyXFont.
4552
4553 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4554
4555         * factory.C: bug fix in branches
4556
4557 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * lyxfunc.C (processKeySym): adjust
4560         (dispatch): adjust
4561         (dispatch): change arg name from ev to func, adjust
4562         (sendDispatchMessage): ditto
4563
4564         * lyx_main.C (defaultKeyBindings): adjust keybindings
4565         (deadKeyBindings): ditto
4566
4567         * kbsequence.C (addkey): return a FuncRequest
4568
4569         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4570
4571         * kbmap.C (bind): take a FuncRequest as arg, adjust
4572         (read): adjust
4573         (lookup): adjust
4574         (defkey): change to take a FuncRequest as arg, adjust
4575         (findbinding): take a FuncRequest as arg, adjust.
4576
4577         * funcrequest.h (operator=): added
4578
4579         * funcrequest.C (FuncRequest): default kb_action changed from
4580         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4581
4582         * buffer.C (dispatch): simplify
4583         (dispatch): adjust to take a FuncRequest as arg, adjust
4584
4585         * boost.C (assertion_failed): change assertion message slightly
4586
4587         * ToolbarBackend.C (read): simplify
4588
4589         * MenuBackend.C (binding): adjust call to findbinding, add a
4590         message if no binding is found.
4591         (read): simplify
4592         (expandToc): correct by adding a empty FuncRequest
4593
4594         * LyXAction.C: include <boost/assert.hpp>
4595         (isPseudoAction): delete function
4596         (LookupFunc): change name to...
4597         (lookupFunc): this. change return type to FuncRequest.
4598         (getActionName): take kb_action as arg, simplify
4599         (funcHasFlag): add an assert, simplify.
4600
4601 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * toc.C (action): return a FuncRequest, simplify
4604
4605         * lyxfunc.C (processKeySym): adjust
4606         (getStatus): delete version that takes an int.
4607         (getStatus): adjust
4608         (dispatch): delete version that takes action as int
4609         (dispatch): adjust
4610         (sendDispatchMessage): simplify and adjust
4611
4612         * funcrequest.C (getArg): take unsigned int as arg
4613
4614         * ToolbarBackend.C (read): adjust
4615         (add): delete version that takes func as a string.
4616         (getIton): take a FuncRequest as arg
4617
4618         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4619         action.
4620
4621         * MenuBackend.C (MenuItem): add a new construct that only takes a
4622         Kind, simplify the constructor use for submenus.
4623         (add): adjust
4624         (expandLastfiles): adjust
4625         (expandDocuments): adjust
4626         (expandFormats): adjust
4627         (expandFloatListInsert): adjust
4628         (expandFloatInsert): adjust
4629         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4630
4631         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4632         Remove class variables lyx_pseudo_map and lyx_arg_map
4633
4634         * LyXAction.C (searchActionArg): delete function
4635         (getPseudoAction): delete function
4636         (retrieveActionArg): delete function
4637         (LookupFunc): make it return kb_action, simplify.
4638         (getActionName): simplify
4639
4640         * factory.C (createInset): fix new bug
4641
4642 2003-09-19  Angus Leeming  <leeming@lyx.org>
4643
4644         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4645         masterFilename_ parameter in the include inset.
4646
4647         * factory.C (createInset): changes due to the changes to InsetInclude.
4648
4649 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4650
4651         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4652
4653 2003-09-18  Angus Leeming  <leeming@lyx.org>
4654
4655         * buffer.C:
4656         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4657         Inset::fillWithBibKeys.
4658         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4659
4660 2003-09-18  Angus Leeming  <leeming@lyx.org>
4661
4662         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4663         variables.
4664         (ctor): pass and store a 'Buffer const &'
4665         (buffer): new member function.
4666
4667         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4668         '*this' to the LaTeXFeatures ctor.
4669
4670 2003-09-18  Angus Leeming  <leeming@lyx.org>
4671
4672         * LColor.h:
4673         * lyxfont.C:
4674         * lyxfont.h:
4675         * lyxtext.h:
4676         * text.C: rename EnumLColor as LColor_color.
4677
4678 2003-09-18  Angus Leeming  <leeming@lyx.org>
4679
4680         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4681         remove #include "insets/insetbase.h" from cursor.h.
4682
4683 2003-09-18  Angus Leeming  <leeming@lyx.org>
4684
4685         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4686         InsetOld_code to remove #include "inset.h".
4687
4688         * iterators.C: add #include "insets/inset.h"
4689
4690 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4691
4692         * BufferView.C: remove more locking stuff that apparently doesn't
4693         do anything sensible.
4694
4695 2003-09-16  André Pönitz  <poenitz@gmx.net>
4696
4697         * paragraph.[Ch]:
4698         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4699           performance boost.
4700
4701 2003-09-16  Angus Leeming  <leeming@lyx.org>
4702
4703         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4704
4705         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4706         arg/return type.
4707
4708         * paragraph.h: remove #include "lyxfont.h". Forward declare
4709         LyXFont_size.
4710
4711 2003-09-16  Angus Leeming  <leeming@lyx.org>
4712
4713         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4714         of support/textutils.h.
4715         (isWord): move the contents of support/textutils.h's IsWordChar here.
4716
4717         * buffer.C:
4718         * lyxfind.C:
4719         * rowpainter.C:
4720         * text.C:
4721         * text2.C: add #include "paragraph.h".
4722
4723         * rowpainter.C:
4724         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4725
4726 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * main.C:
4729         * lyx_main.C:
4730         * lyx_cb.C:
4731         * buffer.C:
4732         * LaTeX.C: use namespace alias for lyx::support::os
4733
4734 2003-09-16  Angus Leeming  <leeming@lyx.org>
4735
4736         * bufferparams.C:
4737         * bufferview_funcs.C:
4738         * factory.C:
4739         * lyxfunc.C:
4740         * paragraph_pimpl.C:
4741         * rowpainter.C:
4742         * text.C: add #include "LColor.h".
4743
4744 2003-09-16  Angus Leeming  <leeming@lyx.org>
4745
4746         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4747         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4748         return LyXFont &.
4749         Store the FontBits::color variable as an int rather than as an
4750         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4751         file.
4752
4753         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4754         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4755         string calls together.
4756
4757         * lyxrc.C: add #include "LColor.h".
4758
4759 2003-09-15  Angus Leeming  <leeming@lyx.org>
4760
4761         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4762         a cow_ptr.
4763
4764 2003-09-15  Angus Leeming  <leeming@lyx.org>
4765
4766         * LColor.h: add an EnumLColor wrapper for LColor::color.
4767
4768         * lyxfont.[Ch] (color, setColor, realColor):
4769         * lyxtext.h, text.C (backgroundColor):
4770         pass EnumLColor args to/from the functions, rather than LColor::color
4771         ones.
4772
4773         * lyxfont.h:
4774         * lyxtext.h: forward declare EnumLColor.
4775
4776         * lyx_main.C: add #include "LColor.h".
4777
4778 2003-09-15  Angus Leeming  <leeming@lyx.org>
4779
4780         * .cvsignore: add lyx-gtk.
4781
4782 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4783
4784         * Chktex.C
4785         * LaTeX.C
4786         * LaTeXFeatures.C
4787         * ParagraphParameters.C
4788         * Spacing.C
4789         * buffer.C
4790         * bufferparams.C
4791         * bufferview_funcs.C
4792         * chset.C
4793         * counters.C
4794         * funcrequest.C
4795         * lyxfont.C
4796         * lyxgluelength.C
4797         * lyxlength.C
4798         * paragraph.C
4799         * paragraph_funcs.C
4800         * text3.C
4801         * vc-backend.C: remove usage of STRCONV
4802
4803 2003-09-15  Angus Leeming  <leeming@lyx.org>
4804
4805         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4806         explicitly define the color passed to the painter.
4807
4808 2003-09-15  Angus Leeming  <leeming@lyx.org>
4809
4810         * bufferparams.C (BufferParams): reorder member initializers to avoid
4811         compiler warning.
4812
4813 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4816         * text.C (updateRowPositions): remove an unusual nop
4817
4818 2003-09-12  André Pönitz  <poenitz@gmx.net>
4819
4820         * BufferView_pimpl.C:
4821         * Bullet.C:
4822         * layout.h:
4823         * lyxfunc.C:
4824         * lyxlayout.[Ch]:
4825         * lyxtextclass.C:
4826         * rowpainter.C:
4827         * text.C:
4828         * text2.C:
4829         * Counters.[Ch]: finish the 'automatic counters' job
4830
4831 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4832
4833         * aspell.C: include <boost/assert.cpp> (compile fix)
4834
4835 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4836
4837         * boost.C (assertion_failed): use lyx::support::abort instead of
4838         assert.
4839
4840 2003-09-10  Angus Leeming  <leeming@lyx.org>
4841
4842         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4843         with their _fwd progeny.
4844
4845 2003-09-09  Angus Leeming  <leeming@lyx.org>
4846
4847         134 files throughtout the source tree: replace 'using namespace abc;'
4848         directives with the appropriate 'using abc::xyz;' declarations.
4849
4850 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4851
4852         * boost.C (emergencyCleanup): moved here from LAssert.c
4853         (assertion_failed): new function, called by BOOST_ASSERT
4854
4855         * several files: change Assert to BOOST_ASSERT
4856
4857 2003-09-09  Angus Leeming  <leeming@lyx.org>
4858
4859         * buffer.[Ch]: Add an Impl class and move Buffer's member
4860         variables into it. As a result move several header files out of
4861         buffer.h.
4862
4863         Add header files to lots of .C files all over the tree as a result.
4864
4865 2003-09-09  Angus Leeming  <leeming@lyx.org>
4866
4867         * buffer.[Ch]: make Buffer's member variables private. Add
4868         accessor functions.
4869
4870         Lots of changes all over the tree as a result.
4871
4872 2003-09-08  Angus Leeming  <leeming@lyx.org>
4873
4874         * graph.C: #include <config.h>.
4875
4876 2003-09-08  Angus Leeming  <leeming@lyx.org>
4877
4878         * BranchList.C:
4879         * BufferView.C:
4880         * BufferView_pimpl.C:
4881         * CutAndPaste.C:
4882         * DepTable.C:
4883         * LaTeX.C:
4884         * LaTeXFeatures.C:
4885         * LyXAction.C:
4886         * MenuBackend.C:
4887         * TextCache.C:
4888         * aspell.C:
4889         * buffer.C:
4890         * bufferlist.C:
4891         * changes.C:
4892         * chset.C:
4893         * converter.C:
4894         * counters.C:
4895         * debug.C:
4896         * graph.C:
4897         * ispell.C:
4898         * lyx_cb.C:
4899         * lyxfind.C:
4900         * lyxfunc.C:
4901         * lyxlex_pimpl.C:
4902         * lyxrc.C:
4903         * lyxrow.C:
4904         * paragraph.C:
4905         * rowpainter.C:
4906         * texrow.C:
4907         * text.C:
4908         * text2.C:
4909         * toc.C: remove redundant using directives.
4910
4911 2003-09-07  Angus Leeming  <leeming@lyx.org>
4912
4913         * LaTeXFeatures.h: remove #include "support/types.h".
4914         * ToolbarBackend.h: remove #include <algorithm>.
4915         * changes.h: remove #include <ctime>.
4916         * debug.h: remove #include <iosfwd>.
4917         * graph.h: remove #include "support/std_string.h".
4918         * lyx_main.h: remove #include <csignal>.
4919         * lyxlex_pimpl.h: remove #include <fstream>.
4920         * sgml.h: remove #include <algorithm>, <utility>.
4921         * toc.h: remove #include "support/std_ostream.h".
4922         Add #include <iosfwd>.
4923
4924 2003-09-07  Angus Leeming  <leeming@lyx.org>
4925
4926         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4927
4928         * converter.h: forward declare LatexRunParams.
4929         * encoding.h: remove #include "lyxrc.h".
4930         * lyxtext.h: remove #include "LColor.h".
4931         * lyxtextclass.h: remove #include "support/types.h".
4932         * trans.h: remove #include "tex-accent.h".
4933         * trans_mgr.h: remove #include "tex-accent.h".
4934         * insets/inset.h: remove #include "support/types.h", <vector>.
4935         * insets/insetcollapsable.h: remove #include "LColor.h".
4936         * insets/insetinclude.h: remove #include "dimension.h".
4937         * insets/insetlatexaccent.h: remove #include "dimension.h".
4938         * insets/insetoptarg.h:: remove #include "insettext.h".
4939         * insets/insettext.h: remove #include "dimension.h",
4940         <boost/shared_ptr.hpp>
4941
4942         * insets/renderers.h: add #include "dimension.h".
4943         * insets/updatableinset.h: add #include "support/types.h".
4944
4945         * many .C files: Associated changes.
4946
4947 2003-09-06  Angus Leeming  <leeming@lyx.org>
4948
4949         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4950         one, inside testInvariant.
4951
4952         * PrinterParams.C: new file.
4953         * PrinterParams.[Ch]: move the function bodies out of line.
4954
4955 2003-09-06  Angus Leeming  <leeming@lyx.org>
4956
4957         * ParagraphParameters.h: forward declare ParameterStruct rather than
4958         including its header file.
4959         (depth): moved out-of-line.
4960
4961 2003-09-06  Angus Leeming  <leeming@lyx.org>
4962
4963         * BufferView_pimpl.h:
4964         * kbmap.h:
4965         * kbsequence.h:
4966         * lyxfunc.h: forward declare LyXKeySym rather than
4967         #include "frontends/LyXKeySym.h".
4968
4969         * BufferView_pimpl.C:
4970         * kbmap.C:
4971         * kbsequence.C:
4972         * lyxfunc.C: associated changes.
4973
4974 2003-09-06  Angus Leeming  <leeming@lyx.org>
4975
4976         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4977         As a result, can remove the #include "insets/inset.h" from BufferView.h
4978
4979 2003-09-06  Angus Leeming  <leeming@lyx.org>
4980
4981         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4982         As a result, can remove the #include "insets/inset.h" from BufferView.h
4983
4984 2003-09-06  Angus Leeming  <leeming@lyx.org>
4985
4986         * buffer_funcs.C:
4987         * buffer.h:
4988         * bufferlist.C:
4989         * BufferView.C:
4990         * bufferview_funcs.C:
4991         * BufferView_pimpl.C:
4992         * CutAndPaste.C:
4993         * lyx_cb.C:
4994         * lyxfunc.C:
4995         * paragraph.h:
4996         * ParagraphParameters.C:
4997         * tabular.C:
4998         * text3.C:
4999         * toc.C:
5000         * undo_funcs.C:
5001         * frontends/controllers/ControlDocument.C:
5002         * insets/insetcaption.C: rearrange the #includes into some sort of
5003         coherent order.
5004
5005         * buffer.h: remove #includes ErrorList.h, undo.h
5006
5007 2003-09-06  Angus Leeming  <leeming@lyx.org>
5008
5009         * support/types.h: add a 'depth_type' typedef, used to store the
5010         nesting depth of a paragraph.
5011
5012         * paragraph.h:
5013         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5014         defining explicitly.
5015
5016         * buffer.h:
5017         * paragraph_funcs.h:
5018         * ParagraphParameters.h:
5019         * sgml.h: use lyx::depth_type rather than Paragraph or
5020         ParameterStruct's depth_type.
5021
5022         * buffer.h
5023         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5024
5025         * BufferView.C:
5026         * BufferView_pimpl.C:
5027         * CutAndPaste.C:
5028         * ParagraphParameters.C:
5029         * buffer_funcs.C:
5030         * bufferlist.C:
5031         * bufferview_funcs.C:
5032         * lyx_cb.C:
5033         * lyxfunc.C:
5034         * tabular.C:
5035         * text3.C:
5036         * toc.C:
5037         * undo_funcs.C:
5038         * frontends/LyXView.C:
5039         * frontends/controllers/ControlDocument.C:
5040         * frontends/controllers/ControlErrorList.C:
5041         * insets/insetbibitem.C:
5042         * insets/insetbranch.C:
5043         * insets/insetcaption.C:
5044         * insets/insetcollapsable.C:
5045         * insets/insetenv.C:
5046         * insets/insetert.C:
5047         * insets/insetfloat.C:
5048         * insets/insetfoot.C:
5049         * insets/insetfootlike.C:
5050         * insets/insetnewline.C:
5051         * insets/insetquotes.C:
5052         * insets/insettabular.C:
5053         * insets/insettext.C:
5054         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5055
5056         * frontends/controllers/ControlChanges.C: #include "changes.h".
5057
5058 2003-09-06  Angus Leeming  <leeming@lyx.org>
5059
5060         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5061         than #including paragraph.h.
5062
5063         * ParagraphList.h:
5064         * RowList.h: deleted. Superfluous.
5065
5066         * CutAndPaste.h:
5067         * iterators.h:
5068         * lyxcursor.h:
5069         * lyxtext.h:
5070         * text_funcs.h:
5071         * undo.h:
5072         * undo_funcs.h:
5073         * insets/inset.h:
5074         * insets/insettext.h: use ParagraphList_fwd.h rather than
5075         ParagraphList.h.
5076
5077         * paragraph.h: don't forward declare ParagraphList.
5078
5079         * buffer.h:
5080         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5081         rather than ParagraphList.h. paragraph.h is still needed for the
5082         Paragraph::depth_type parameters.
5083
5084         * textcursor.h: enable it to compile stand-alone in light of the
5085         above changes.
5086
5087         * bufferview_funcs.C:
5088         * iterators.C:
5089         * lyxfunc.C:
5090         * lyxrow_funcs.C:
5091         * paragraph.C:
5092         * rowpainter.C:
5093         * text.C:
5094         * text2.C:
5095         * text3.C:
5096         * text_funcs.C:
5097         * textcursor.C:
5098         * undo.C:
5099         * frontends/controllers/ControlParagraph.C:
5100         * frontends/controllers/ControlTabular.C:
5101         * insets/insetmarginal.C:
5102         * insets/insetminipage.C:
5103         * insets/insetnote.C:
5104         * insets/insetoptarg.C: add header files needed to compile again.
5105
5106 2003-09-06  Angus Leeming  <leeming@lyx.org>
5107
5108         * RowList_fwd.h: new file, forward-declaring Row rather than
5109         #including lyxrow.h.
5110
5111         * lyxrow_funcs.h:
5112         * lyxtext.h:
5113         * paragraph.h:
5114         * insets/insettext.h: use it instead of RowList.h
5115
5116         * bufferview_funcs.C:
5117         * lyxfunc.C:
5118         * lyxrow_funcs.C:
5119         * paragraph.C:
5120         * rowpainter.C:
5121         * text.C:
5122         * text2.C:
5123         * text3.C: #include "RowList.h".
5124
5125 2003-09-05  Angus Leeming  <leeming@lyx.org>
5126
5127         * factory.C (createInset):
5128         * vspace.C (c-tor): replace sscanf call with an istringstream.
5129         * ispell.C: re-add missing HP/UX headers.
5130         * lyxserver.C: re-add missing  os2 headers.
5131
5132 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5133
5134         * BranchList.C:
5135         * graph.C:
5136         * ispell.C:
5137         * lastfiles.C:
5138         * lyx_cb.C:
5139         * lyxserver.C:
5140         * texrow.C:
5141         * text3.C: re-add missing system headers, needed for 2.95.2.
5142
5143 2003-09-05  Angus Leeming  <leeming@lyx.org>
5144
5145         Changes most place everywhere due to the removal of using directives
5146         from support/std_sstream.h.
5147
5148 2003-09-05  Angus Leeming  <leeming@lyx.org>
5149
5150         Replace LString.h with support/std_string.h,
5151         Lsstream.h with support/std_sstream.h,
5152         support/LIstream.h with support/std_istream.h,
5153         support/LOstream.h with support/std_ostream.h.
5154
5155         Changes resulting throughout the tree.
5156
5157 2003-09-05  Angus Leeming  <leeming@lyx.org>
5158
5159         * sgml.h: ensure that the header file can be compiled stand-alone.
5160         * *.C: strip out redundant #includes. (320 in total.)
5161
5162 2003-09-04  Angus Leeming  <leeming@lyx.org>
5163
5164         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5165         here (from getPackages).
5166
5167         * debug.[Ch]: add a new EXTERNAL tag.
5168
5169 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5170
5171         * text2.C (cursorEnd): simplify
5172         (setCursor): adjust
5173         (getColumnNearX): adjust
5174
5175         * text.C (computeBidiTables): adjust
5176         (fill): adjust
5177
5178         * rowpainter.C (paintChars): adjust
5179         (paintSelection): adjust
5180         (paintChangeBar): adjust
5181         (paintText): adjust
5182
5183         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5184         lastPos instead.
5185         (numberOfSeparators): adjust
5186
5187 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5188
5189         * LyXAction.C:
5190         * box.[Ch]:
5191         * lfuns.h:
5192         * lyxfunc.C:
5193         * text3.C: Restricts the mouse click functionality
5194         of insets like bibtex, include, toc and floatlist to the visible
5195         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5196         up the dialogs. Cursor has to be in front of the inset (i.e.
5197         start of row) for this to function.
5198
5199 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5200
5201         * bufferview_funcs.C (currentState): output row information
5202
5203 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5204
5205         * bufferview_funcs.C (currentState): output paragraph position
5206
5207 2003-09-04  Angus Leeming  <leeming@lyx.org>
5208
5209         * FloatList.h: move out #include "Floating.h".
5210         * LaTeX.h: move out #include "DepTable.h".
5211         * LyXAction.h: move out #include "funcrequest.h".
5212         * buffer.h: move out #include "author.h", "iterators.h".
5213         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5214         * lyx_main.h: move out #include "errorlist.h".
5215         * lyxfunc.h: move out #include "FuncStatus.h".
5216         * lyxtext: move out #include "lyxcursor.h".
5217         * paragraph_pimpl.h: move out #include "counters.h".
5218
5219 2003-09-03  Angus Leeming  <leeming@lyx.org>
5220
5221         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5222         preamble_snippets list, enabling us to add snippets to the preamble
5223         only if the snippet was not there already.
5224
5225 2003-09-04  Angus Leeming  <leeming@lyx.org>
5226
5227         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5228
5229 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5232         update
5233
5234 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5235
5236         * BranchList.C: point fix, earlier forgotten
5237
5238 2003-09-02  Angus Leeming  <leeming@lyx.org>
5239
5240         * box.C (contains): renamed from 'contained' after a fantastic
5241         amount of hot air.
5242
5243 2003-09-02  John Levon  <levon@movementarian.org>
5244
5245         * BufferView.C:
5246         * lyxcursor.h:
5247         * lyxcursor.C:
5248         * lyxfunc.C:
5249         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5250
5251 2003-09-02  John Levon  <levon@movementarian.org>
5252
5253         * text2.C: simplification of cursorEnd(), including partial
5254         fix for bug 1376
5255
5256 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * buffer.C (readFile): add a space
5259
5260 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5263
5264 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * buffer.C (readFile): new function, take a filename and a
5267         ParagraphList::iterator
5268         (readFile): adjust
5269         (readFile): adjust, make it private. don't use setStream, make
5270         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5271         always contain the filename.
5272
5273         * BufferView.C (insertLyXFile): simplify and make it work for
5274         gzipped files.
5275
5276 2003-08-30  John Levon  <levon@movementarian.org>
5277
5278         * Makefile.am: fix dist (from Kayvan)
5279
5280 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * most files: change to use const Buffer refs
5283
5284 2003-08-27  André Pönitz  <poenitz@gmx.net>
5285
5286         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5287         on top of ownerPar().
5288
5289 2003-08-27  John Levon  <levon@movementarian.org>
5290
5291         * funcrequest.C: properly initialise POD members
5292
5293 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * lyxtext.h (top_y): move top_y from here
5296         * text.C:
5297         * text2.C:
5298         * text3.C:
5299         * BufferView.[Ch]:
5300         * BufferView_pimpl.[Ch]: to here
5301         * frontends/screen.C:
5302         * insets/insettabular.C:
5303         * insets/insettext.C: adjust
5304         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5305
5306 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * BufferView.[Ch]:
5309         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5310
5311 2003-08-26  André Pönitz  <poenitz@gmx.net>
5312
5313         * paragraph_func.[Ch] (outerPar): new function
5314
5315         * paragraph.C:
5316         * paragraph_funcs.C:
5317         * paragraph_funcs.h:
5318         * paragraph_pimpl.C:
5319         * text2.C: remove Inset::par_owner
5320
5321 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5322
5323         * lyxrow_funcs.C:
5324         * lyxtext.h:
5325         * text.C:
5326         * text2.C: eliminates the needFullRow/display() stuff
5327         altogether, putting the logic in metrics/draw in the insets.
5328
5329 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * text2.C (redoParagraphInternal, redoParagraphs):
5332         * text.C (redoParagraph): add a call to updateRowPositions at the
5333         end of each 'metrics-like' call. Remove all others.
5334         (getRow): remove the 'y-computing' version.
5335         (getRowNearY): do not compute nor return the real y. Solve the
5336         'y < 0' problem and simplify.
5337
5338 2003-08-22  Angus Leeming  <leeming@lyx.org>
5339
5340         * *.[Ch]: clean-up of licence and author blurbs.
5341         Also move config.h out of a few .h files and into a few .C files.
5342
5343 2003-08-22  André Pönitz  <poenitz@gmx.net>
5344
5345         * lyxrow.[Ch]: add x_ and *fill_ members
5346
5347         * lyxtext.h:
5348         * text.C:
5349         * rowpainter.C:
5350         * text2.C: adjust/remove prepareToPrint() calls
5351
5352 2003-08-22  André Pönitz  <poenitz@gmx.net>
5353
5354         * lyxrow.[Ch]: add  end_ member
5355
5356         * lyxrow_funcs.C: use LyXRow::end_
5357
5358         * lyxtext.h (singleWidth): add LyXFont parameter
5359
5360         * rowpainter.C:
5361         * text2.C: adjust LyXText::singleWidth() calls
5362
5363         * text.C (redoParagraph): simplify row breaking logic
5364
5365
5366 2003-08-19  André Pönitz  <poenitz@gmx.net>
5367
5368         * funcrequest.C: initialize button_ member
5369
5370         * text3.C:
5371         * rowpainter.[Ch]: interface consolidation
5372
5373 2003-08-18  André Pönitz  <poenitz@gmx.net>
5374
5375         * BufferView.C:
5376         * BufferView_pimpl.C:
5377         * lyxfind.C:
5378         * paragraph_funcs.C:
5379         * rowpainter.C:
5380         * text3.C: remove LyXScreen::draw() and fitCursor calls
5381
5382         * BranchList.h: remove spurious semicolons
5383
5384         * MenuBackend.C: fix branchlist related crash
5385
5386 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5387
5388         * BranchList.[Ch]:
5389         * InsetList.[Ch]:
5390         * LColor.[Ch]:
5391         * LyXAction.C:
5392         * Makefile.am:
5393         * MenuBackend.[Ch]:
5394         * bufferparams.[Ch]:
5395         * factory.C:
5396         * lfuns.h:
5397         * lyxfunc.C:
5398         * text3.C: implements the 'branch inset'
5399         idea. This allows the output of various versions of a document
5400         from a single source version, selectively outputing or suppressing
5401         output of parts of the text.
5402         This implementation contains a 'branch list editor' in a separate
5403         tab of the document settings dialog. Branches are user definable
5404         and have a "display colour" to distinguish them on-screen.
5405
5406         ColorHandler was somewhat cleaned up.
5407         (1) make possible a dynamically growing LColor list by allowing
5408         the graphic context cache to grow along (vector);
5409         (2) eliminate an IMHO unnecessary step in colour allocation.
5410
5411 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5412
5413         * BufferView_pimpl.C: compile fix
5414
5415 2003-08-15  André Pönitz  <poenitz@gmx.net>
5416
5417         * rowpainter.C: remove extra metrics calls
5418
5419         * lyxtext.h: merge the two constructors into a single one,
5420           pass reference to owner's par list
5421
5422         * BufferView_pimpl.C:
5423         * text.C:
5424         * text2.C: adjust
5425
5426 2003-08-15  André Pönitz  <poenitz@gmx.net>
5427
5428         * lyxrow_funcs.[Ch]:
5429         * lyxtext.h:
5430         * paragraph.h:
5431         * paragraph_funcs.C:
5432         * rowpainter.C:
5433         * text.C:
5434         * text2.C:
5435         * text3.C:
5436         * text_funcs.C: split LyXText::rowlist_ into individual
5437         Paragraph::rows_ chunks
5438
5439         * BufferView.[Ch]:
5440         * BufferView_pimpl.[Ch]:
5441         * lyxfind.C:
5442         * lyxtext.h:
5443         * text3.C: remove toggleSelection()
5444
5445 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5446
5447         * bufferlist.C: beautify two alerts (shorter text of buttons)
5448         * buffer.C: Remove redundant ' ' from message
5449         * tabular.h:
5450         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5451         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5452         rename VALIGN_CENTER to VALIGN_MIDDLE
5453
5454 2003-08-11  André Pönitz  <poenitz@gmx.net>
5455
5456         * lyxtext.h (getPar):
5457         * text.C: new function
5458
5459 2003-08-11  André Pönitz  <poenitz@gmx.net>
5460
5461         * Makefile.am:
5462         * tracer.[Ch]: remove unneeded files
5463
5464         * InsetList.[Ch]: remove resizeInsetsLyXText()
5465
5466         * lyxtext.h:
5467         * text.C:
5468         * text2.C:
5469         * text3.C: merge insertParagraphs() and appendParagraph()
5470         remove breakAgain(), update()
5471
5472         * BufferView_pimpl.[Ch]:
5473         * bufferview_funcs.[Ch]:
5474         * lyxfunc.C:
5475         * paragraph.[Ch]:
5476         * rowpainter.C:
5477         * tabular.C: adjust after text & InsetList changes.
5478
5479 2003-08-08  André Pönitz  <poenitz@gmx.net>
5480
5481         * text.C (insertChar, backspace): replace rowlist fiddling
5482         with rebreak of full par
5483
5484         * lyxtext.h:
5485         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5486         checkParagraph, updateInset): removed
5487
5488 2003-08-07  André Pönitz  <poenitz@gmx.net>
5489
5490         * paragraph.C:
5491         * text3.C: merge some LFUN handlers, remove dead code
5492
5493 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5494
5495         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5496
5497 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5498
5499         * text2.C (DEPM): fix part of bug 1255 and 1256
5500
5501 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5502
5503         * BufferView_pimpl.C (workAreaDispatch): change to use
5504         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5505         that are no mouse related.
5506
5507 2003-08-05  André Pönitz  <poenitz@gmx.net>
5508
5509         * BufferView.[Ch]:
5510         * BufferView_pimpl.[Ch]:
5511         * bufferview_funcs.C:
5512         * text2.C:
5513         * text3.C: rip out "deep update"
5514
5515         * textcursor.[Ch] (last_sel_cursor): remove unused member
5516
5517 2003-08-04  André Pönitz  <poenitz@gmx.net>
5518
5519         * BufferView.[Ch]:
5520         * BufferView_pimpl.[Ch]:
5521         * ParagraphParameters.C:
5522         * bufferview_funcs.C:
5523         * lyx_cb.C:
5524         * lyxfind.C:
5525         * lyxfunc.C:
5526         * text.C:
5527         * text2.C:
5528         * text3.C: replace "complicated" BufferView::update(...) calls with
5529         simpler ones.
5530
5531         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5532
5533 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5534
5535         * Makefile.am (lyx_SOURCES): add paper.h
5536
5537 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5538
5539         * Makefile.am: move things around so that both lyx-qt and
5540         lyx-xforms can be built (according to --with-frontend). Then lyx
5541         is a symbolic link to lyx-[firstfrontend]
5542
5543 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5544
5545         * Always use std::endl with lyxerr
5546
5547 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5548
5549         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5550
5551 2003-08-01  André Pönitz  <poenitz@gmx.net>
5552
5553         * BufferView.[Ch]:
5554         * BufferView_pimpl.[Ch]:
5555         * lyxfunc.C:
5556         * text3.C: merge BufferView::repaint() and BufferView::update()
5557
5558 2003-08-01  José Matos  <jamatos@lyx.org>
5559
5560         * buffer.[Ch]: file_format is no longer a buffer data element.
5561
5562 2003-08-01  André Pönitz  <poenitz@gmx.net>
5563
5564         * BufferView.C:
5565         * lyxtext.h:
5566         * text.C:
5567         * text2.C: make redoParagraph more independent of current cursor
5568
5569         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5570         * text.C:
5571         * text2.C: remove unneeded members
5572
5573 2003-07-30  André Pönitz  <poenitz@gmx.net>
5574
5575         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5576
5577         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5578           create a single function...
5579
5580         * paragraph_funcs.C (moveItem): ... here.
5581
5582         * text.C:
5583           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5584
5585 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5586
5587         * LColor.[Ch]: Add comment and greyedout logical colors.
5588
5589 2003-07-30  André Pönitz  <poenitz@gmx.net>
5590
5591         * tabular.C: don't use Assert too heavily. This crashes where it
5592           shouldn't
5593
5594 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5595
5596         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5597         is disabled (bug 1232)
5598
5599 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5600
5601         * factory.C: limited 'arg' scope
5602
5603 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5604
5605         * factory.C: fixed Note submenu issues
5606
5607 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5608
5609         * factory.C: submenu for Note/Comment/Greyedout
5610
5611 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5612
5613         * lyx_main.C (LyX):
5614         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5615
5616 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5617
5618         * LaTeXFeatures.C:
5619         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5620         greyedout. Patch provided by Jürgen Spitzmüller.
5621
5622 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5623
5624         * kbmap.C (read): fix error message when reading bind files
5625
5626 2003-07-29  Angus Leeming  <leeming@lyx.org>
5627
5628         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5629         certainly does not do what it purports to do. I am doing it, and
5630         us, a favour by killing it.
5631
5632 2003-07-28  José Matos  <jamatos@lyx.org>
5633
5634         * buffer.C (readBody, do_writeFile):
5635         * paragraph.C(readParagraph): \end_document replaces \the_end.
5636
5637 2003-07-29  André Pönitz  <poenitz@gmx.net>
5638
5639         * BufferView.[Ch]:
5640         * BufferView_pimpl.[Ch]:
5641         * lyxfunc.C:
5642         * text2.C:
5643         * text3.C:
5644         * textcursor.[Ch]: remove toggleToggle & Co
5645
5646 2003-07-28  José Matos  <jamatos@fep.up.pt>
5647
5648         * buffer.C (readParagraph):
5649         * params_func (readParToken, readParagraph):
5650         * paragraph.C (write): \layout -> \begin_layout.
5651
5652 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * lyxlex_pimpl.C (setFile): clean up slightly.
5655
5656         * bufferparams.h: add compressed var
5657
5658         * buffer_funcs.C (readFile): adjust for LyXLex change
5659         (newFile): ditto + simplify
5660
5661         * buffer.C (writeFile): handle writing of compressed files
5662
5663         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5664         Check if the file is compressed and set a bufferparm if so.
5665
5666         * Makefile.am (lyx_LDADD): remove explicit -lz
5667
5668 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5669
5670         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5671         makeDocBookFile): put the real LyX version in the first line of
5672         the file
5673
5674         * version.h:
5675         * version.C.in: remove lyx_docversion
5676
5677         * tabular.C (write_attribute): add a template-based version to
5678         write enums properly
5679
5680 2003-07-28  André Pönitz  <poenitz@gmx.net>
5681
5682         * lyxtext.h:
5683         * text.C:
5684         * text2.C:
5685         * text3.C: use doubles again for x-coordinates. They are needed.
5686
5687 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * messages.C (getLocaleDir): use lyx_localedir()
5690
5691         * lyxlex_pimpl.C (setFile): compress stuff
5692
5693         * buffer.C (writeFile): add some compression stuff
5694         (do_writeFile): new func, dont call expliti close... will this
5695         breake anything?
5696
5697         * Makefile.am (lyx_LDADD): add -lz
5698
5699 2003-07-28  José Matos  <jamatos@fep.up.pt>
5700
5701         * buffer.C: increment file format.
5702         * paragraph_funcs (readParagraph, readParToken):
5703         * paragraph.C (readParagraph): add \end_layout.
5704
5705 2003-07-27  Angus Leeming  <leeming@lyx.org>
5706
5707         * Makefile.am: remove special casing for configure-time setting of
5708         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5709
5710         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5711         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5712
5713 2003-07-26  André Pönitz  <poenitz@gmx.net>
5714
5715         * paragraph_func.[Ch]:
5716         * paragraph.C (realizeFont): inline it whereever it is used
5717
5718         * rowpainter.C:
5719         * text.C:
5720         * text2.C:
5721         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5722
5723
5724 2003-07-26  André Pönitz  <poenitz@gmx.net>
5725
5726         *       lyxtext.h:
5727         * text.C:
5728         * text2.C: get rid of LyXText::need_break_row
5729
5730 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * toc.[Ch]: put namespace toc inside namespace lyx
5733
5734         * MenuBackend.C (expandToc2): adjust for lyx::toc
5735         (expandToc): ditto
5736
5737         * lyxfunc.C (dispatch): adjust for lyx::find
5738
5739         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5740         lyx::find instead. Reorganize a bit.
5741         (LyXReplace): rename to replace
5742         (LyXFind): rename to find
5743
5744         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5745         (dispatch): ditto
5746
5747 2003-07-26  André Pönitz  <poenitz@gmx.net>
5748
5749         * text.C (setHeightOfRow): restrict scope of temporary variable
5750
5751         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5752           code (never has been used?)
5753
5754 2003-07-27  Asger Alstrup  <alstrup@local>
5755
5756         * text.C (fill): Optimise algorithm to exploit that we can reuse
5757         the LyXFont for many characters.
5758         (setHeightOfRow): Same thing.
5759         (rowBreakPoint): Same thing.
5760
5761 2003-07-26  Asger Alstrup  <alstrup@local>
5762
5763         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5764
5765         * text.C (singleWidth): Spurious font copying in hot-spot
5766         singleWidth avoided. Reorder tests for arabic for efficiency.
5767
5768         * text.C (fill): handle empty paragraphs better.
5769
5770 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5771
5772         * ispell.C:
5773         * encoding.h: add includes
5774
5775         * lyxrc.C: remove reading of bind files
5776
5777         * lyx_main.C (init): setup bindings and menus only if we have a
5778         gui.
5779
5780         * kbmap.C (read): new method. Do the actual reading of bind
5781         files.
5782
5783         * converter.C (dvipdfm_options):
5784         * bufferparams.C:
5785         * lyxrc.C (read):
5786         (output): adapt PAPER_* enums.
5787
5788         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5789
5790         * bufferparams.h: remove paper-related enums from there
5791
5792         * paper.h: New file. A trivial header file to hold paper-related
5793         enums. It should later expand to contain many paper-related
5794         horrors access.
5795
5796         * lyxrc.C: declare extern displayTranslator
5797
5798 2003-07-27  José Matos  <jamatos@fep.up.pt>
5799
5800         * tabular.[Ch] (linuxdoc): add support for tables and figures
5801         (linuxdoc).
5802
5803 2003-07-27  José Matos  <jamatos@fep.up.pt>
5804
5805         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5806         consistency in both functions.
5807         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5808
5809 2003-07-26  Asger Alstrup  <alstrup@local>
5810
5811         * rowpainter.C (paintRows): Change algorithm to work directly on
5812         the insets rather than asking every character in the document
5813         whether its an inset.
5814
5815 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5816
5817         * buffer.C (openFileWrite): factorize some code
5818
5819 2003-07-26  Angus Leeming  <leeming@lyx.org>
5820
5821         * lyx_cb.C:
5822         * lyx_main.[Ch]: replace occurances of system_tempdir with
5823         os::getTmpDir().
5824
5825 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * rename Inset to InsetOld
5828
5829 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5830
5831         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5832         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5833         which I think is a bit clearer. EDIT is gone, since it was
5834         premature optimisation, and broken for mathed anyway.
5835         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5836         with cursor positioning in insets as well (math insets still do not
5837         work, but that's a different story anyway.) It mysteriously
5838         crashes sometimes with undo in the first paragraph, but I'm fairly
5839         confident that this is a compiler bug.
5840
5841 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5842
5843         * paragraph.C (Paragraph): adjust for new clone return type
5844         (operator==): ditto
5845         (copyIntoMinibuffer): ditto
5846
5847 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5848
5849         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5850         by not having a special case, and always doing a full rebreak of
5851         the document after undo.
5852
5853 2003-07-23  Angus Leeming  <leeming@lyx.org>
5854
5855         * factory.C (createInset): InsetExternal::setParams now takes a
5856         Buffer const * arg.
5857
5858 2003-07-23  Angus Leeming  <leeming@lyx.org>
5859
5860         * factory.C (createInset): changed interface to the external and
5861         graphics mailers' string2params functions.
5862
5863 2003-07-23  Angus Leeming  <leeming@lyx.org>
5864
5865         * factory.C (createInset): pass a
5866         Buffer const * parameter to InsetExternalMailer's string2params.
5867
5868 2003-07-22  John Levon  <levon@movementarian.org>
5869
5870         * Thesaurus.h: include the right aiksaurus header
5871
5872 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5873
5874         * MenuBackend.C (expand): check menu shortcuts unconditionally
5875
5876 2003-07-21  Angus Leeming  <leeming@lyx.org>
5877
5878         * factory.C (createInset): pass a
5879         buffer_path parameter to InsetGraphicsMailer's string2params.
5880
5881 2003-07-21  Angus Leeming  <leeming@lyx.org>
5882
5883         * BufferView_pimpl.C (buffer):
5884         * buffer.C (d-tor):
5885         * lyx_main.C (LyX):
5886         * lyxfunc.C (dispatch):
5887         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5888         rather than the grfx shortcut.
5889
5890 2003-07-21  André Pönitz  <poenitz@gmx.net>
5891
5892         * rowpainter.C: remove unused variables
5893
5894         * tabular_funcs.C:
5895         * tabular_funcs.h: move to tabular.C
5896         * Makefile.am: adjust
5897
5898         * tabular.[Ch]: basic optical cleaning
5899
5900         * author.h: pass references, not values
5901
5902 2003-07-18  André Pönitz  <poenitz@gmx.net>
5903
5904         * lyxtext.h:
5905         * metricsinfo.C:
5906         * metricsinfo.h:
5907         * rowpainter.C:
5908         * text.C:
5909         * text2.C:
5910         * text3.C: two-phase drawing for InsetText and InsetTabular
5911         some float -> int changes.
5912
5913 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5914
5915         * lyx_main.C: fix the fix
5916
5917 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5918
5919         * lyx_main.C: fix a crash in batch mode if no files specified
5920         * converter.C: ws
5921
5922 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5923
5924         * format.[Ch] (papersize): moved to BufferParams
5925         * converter.[Ch] (dvips_options): moved to BufferParams
5926         (dvipdfm_options): moved to anon namespace
5927         * bufferparams.[Ch]: added above functions.
5928
5929 2003-07-17  André Pönitz  <poenitz@gmx.net>
5930
5931         * lyxtext.h:
5932         * rowpainter.C:
5933         * text2.C: don't call inset->update() anymore
5934
5935         * metricsinfo.[Ch]: add convenience constructor
5936
5937 2003-07-16  André Pönitz  <poenitz@gmx.net>
5938
5939         * lyxcursor.[Ch]:
5940         * lyxfunc.[Ch]:
5941         * text.C:
5942         * text2.C: replace the LyXCursor::irow_ member with
5943          on-demand computation of the value
5944
5945 2003-07-16  John Levon  <levon@movementarian.org>
5946
5947         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5948
5949 2003-07-15  André Pönitz  <poenitz@gmx.net>
5950
5951         * text.C:
5952         * text2.C: remove no more needed refresh_row
5953
5954 2003-07-15  André Pönitz  <poenitz@gmx.net>
5955
5956         * lyxtext.h:
5957         * rowpainter.C:
5958         * text2.C:
5959         * text3.C: refresh_status tristate -> need_update bool
5960
5961 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5962
5963         * lyxtext.h (init): remove reinit argument (act as if always true)
5964         * text2.C: adjust to that
5965
5966 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5967
5968         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5969         * text3.C: use it to delete selections in some cases
5970         (bugs 441, 673, 702, 954).
5971
5972 2003-07-14  André Pönitz  <poenitz@gmx.net>
5973
5974         * rowpainter.[Ch]: reduce interface
5975
5976 2003-07-14  André Pönitz  <poenitz@gmx.net>
5977
5978         * BufferView_pimpl.C:
5979         * text2.C: adjust after removing unused BufferView * argument
5980
5981 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5982
5983         * text2.C (init): fix a crash fired on resize
5984
5985 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5986
5987         * buffer.[Ch]: added new closing signal
5988         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5989         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5990         BufferView::Pimpl via the closing the signal
5991
5992 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * buffer.[Ch]: take out all bv-related from buffer
5995         * BufferView.C:
5996         * BufferView_pimpl.[Ch]: connect to new signals
5997         * CutAndPaste.C: removed useless asserts
5998         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5999         * lyxvc.[Ch]:
6000         * vc-backend.[Ch]:
6001         * lyxfunc.C: moved view-related funciontality from vc here
6002         * paragraph.C: removed outdated comments
6003         * text.C: ws
6004
6005 2003-07-10  André Pönitz  <poenitz@gmx.net>
6006
6007         * BufferView_pimpl.C:
6008         * tabular.h:
6009         * tabular_funcs.C:
6010         * text.C:
6011         * text2.C: remove InsetText::InnerCache, clean up consequences
6012
6013 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6014
6015         * ispell.C: fix two typos in error messages
6016
6017 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6018
6019         * Extend Note inset to other forms of annotation like Comment
6020         and Greyedout. Right button click gives dialog.
6021
6022         Files modified or added (+):
6023
6024         * insetnote.[Ch]
6025         * FormNote.[Ch]      +
6026         * ControlNote.[Ch]   +
6027         * form_note.fd       +
6028         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6029         frontends/controllers
6030         * xforms/Dialogs.C
6031         * factory.C
6032
6033 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6034
6035         * aspell.C: add missing namespace lyx::support
6036
6037 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6038
6039         * BufferView.[Ch] (newFile): Add
6040         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6041         * LaTeX.[Ch] (message): added this signal and use it
6042         * buffer.[Ch] (busy, message): added these signals and use them
6043         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6044         * converter.C:
6045         * exporter.C:
6046         * format.C:
6047         * importer.C: use buffer signals instead of direct bv calling
6048         * lyx_cb.[Ch] (ShowMessage): removed
6049         * lyx_main.C:
6050         * lyxfunc.C:
6051         * paragraph_funcs.C:
6052         * text2.C: use buffer signals
6053
6054 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * introduce namespace lyx::graphics
6057
6058 2003-07-02  André Pönitz  <poenitz@gmx.net>
6059
6060         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6061
6062 2003-07-01  André Pönitz  <poenitz@gmx.net>
6063
6064         * text.C:
6065         * text2.C:
6066         * text3.C:
6067         * text_funcs.[Ch]:
6068         * textcursor.h:
6069         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6070           text*.C to text_func.C
6071
6072 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * introduce namespace lyx::support
6075
6076 2003-06-30  André Pönitz  <poenitz@gmx.net>
6077
6078         * Chktex.C:
6079         * funcrequest.C:
6080         * lyxtext.h:
6081         * text.C: re-enable --with-included-string
6082
6083 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * textcursor.C: add <config.h>
6086
6087         * text.C (getWord): remove const from word_location arg
6088
6089         * lyxvc.C (getLogFile): fix const type order
6090
6091         * lyxtext.h: remove const from word_location arg, add arg name
6092
6093         * lyxlayout.h: currect type on labeltype.
6094
6095         * importer.C: correct \file
6096
6097         * converter.C (intToFormat): use std:: on ret val, ws changes
6098
6099         * bufferlist.h: correct \file
6100
6101         * buffer.C (makeLinuxDocFile): fix const type order
6102         (makeDocBookFile): ditto
6103         (fillWithBibKeys): use std:: on stdlib args.
6104
6105         * CutAndPaste.C: fix authors.
6106         (availableSelections): use std:: on return vector
6107
6108 2003-06-27  André Pönitz  <poenitz@gmx.net>
6109
6110         * BufferView_pimpl.C:
6111         * bufferview_funcs.C:
6112         * lyxcursor.C:
6113         * lyxcursor.h:
6114         * lyxfunc.C:
6115         * lyxtext.h:
6116         * rowpainter.C:
6117         * text.C:
6118         * text2.C:
6119         * text3.C: remove LyXCursor::row_ member
6120
6121         * lyxtext.h:
6122         * text.C: rename fullRebreak() to partialRebreak() and implement
6123           a fullRebreak() that really bereks fully
6124
6125         * textcursor.h: new struct for cursor-related data
6126
6127 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6128
6129         * lyx_main.C (LyX): get full path of document loaded on the
6130         command line
6131
6132 2003-06-26  André Pönitz  <poenitz@gmx.net>
6133
6134         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6135           remove unused/broken operator>,<,>=.
6136
6137         *       text.C: remove only use of broken operator<= in an Assert().
6138
6139 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6140
6141         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6142         moved errorlist_.clear to showErrorList
6143
6144 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6145
6146         * converter.C (scanLog, runLaTeX):
6147         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6148         move the bv->showErrorList call to the callers
6149         * lyxfunc.C: i.e. here...
6150         * text2.C: and here
6151         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6152         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6153         namespace, the second to...
6154         * buffer_funcs (BufferFormat, parseErrors): added
6155         * errorlist.C (ErrorList(TeXErrors const &)): removed
6156
6157 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6158
6159         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6160
6161 2003-06-24  "Garst R. Reese" <reese@isn.net>
6162
6163         * debug.C: fix typo
6164
6165 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6166
6167         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6168
6169         * version.C.in: change docversion to 1.4
6170
6171 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6172
6173         * buffer.C: fix a bug just introduced
6174
6175 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6176
6177         * buffer.[Ch]: added the parseError signal and use it, removed
6178         sgmlError
6179         * BufferView.[Ch] (addError): moved to ...
6180         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6181         to the Buffer::parseError signal to catch (guess what) parse errors
6182         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6183
6184 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6187         ability to create a buffer and to return an existing one from
6188         the list. Moved these functions to...
6189         * buffer_funcs.[Ch]: added
6190         * BufferView.[Ch] (loadLyXFile): added
6191         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6192         job removed from bufferlist::loadLyXFile.
6193         * buffer.C (setReadOnly): make it work without view
6194         (i.e added an if (users))
6195
6196 2003-06-19  Angus Leeming  <leeming@lyx.org>
6197
6198         * lfuns.h:
6199         * LyXAction.C (init):
6200         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6201         with LFUN_DIALOG_SHOW <name> <data>.
6202
6203 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6204
6205         * CutAndPaste.C (availableSelections): small compilation fix for
6206         ancient (gcc 2.9x) compilers
6207
6208 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * text3.C (cursorNext): add tmp var
6211
6212         * text2.C (updateCounters): for function calling out of for clause
6213         (replaceSelectionWithString): ditto
6214         (insertStringAsParagraphs): ditto
6215         (getColumnNearX): add tmp var
6216         (setCursorFromCoordinates): add tmp var
6217         (cursorDownParagraph): add tmp var
6218         (deleteEmptyParagraphMechanism): add tmp var
6219
6220         * text.C (insertChar): add tmp var
6221
6222         * rowpainter.C (paintDepthBar): add tmp var
6223
6224         * CutAndPaste.C (availableSelections): potentially check all
6225         paragraphs in a cut to fill the shown strings.
6226
6227 2003-06-18  André Pönitz  <poenitz@gmx.net>
6228
6229         * kbmap.[Ch]: use vector<> instead of list<>
6230
6231 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6232
6233         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6234         pasteSelection with index
6235
6236         * text2.C (pasteSelection): modify, call pasteSelection with index
6237
6238         * paragraph.C (asString): reimplement version with no interval to
6239         call the one with interval.
6240
6241         * lyxtext.h: add index arg to pasteSelection
6242
6243         * MenuBackend.C (MenuItem): handle PasteRecent
6244         (Menu::read::Menutags): add md_pasterecent
6245         (read): handle it
6246         (expandPasteRecent): new function
6247         (expand): use it
6248
6249         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6250
6251         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6252         the limited stack
6253         (availableSelections): new function
6254
6255 2003-06-17  Angus Leeming  <leeming@lyx.org>
6256
6257         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6258
6259 2003-06-17  Angus Leeming  <leeming@lyx.org>
6260
6261         * lfuns.h:
6262         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6263
6264         * lyxfunc.C (dispatch): invoke it.
6265
6266 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6267
6268         * iterators.C (operator++, ParPosition): reintroduce some
6269         const_cast for the benefit of older compilers.
6270
6271 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6272
6273         * text3.C (dispatch): do not modify clipboard when doing
6274         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6275         LFUN_DELETE_SKIP on a selection selection
6276
6277 2003-06-16  André Pönitz  <poenitz@gmx.net>
6278
6279         * BufferView.C:
6280         * buffer.C:
6281         * buffer.h:
6282         * paragraph.C:
6283         * tabular.[Ch]: IU of clone() and getLabelList();
6284
6285 2003-06-13  André Pönitz  <poenitz@gmx.net>
6286
6287         * tabular.h: compactification
6288
6289 2003-06-12  André Pönitz  <poenitz@gmx.net>
6290
6291         * tabular.C:
6292         * tabular.h:
6293         * tabular_funcs.h: some renaming plus whitespace
6294
6295 2003-06-12  André Pönitz  <poenitz@gmx.net>
6296
6297         * BufferView.C:
6298         * BufferView_pimpl.C:
6299         * CutAndPaste.C:
6300         * buffer.C:
6301         * iterators.[Ch]:
6302         * lyxfunc.C:
6303         * text.C:
6304         * toc.C: Return a Paragraph & for ParIterator::operator*()
6305
6306 2003-06-11  John Levon  <levon@movementarian.org>
6307
6308         * lyx_main.C:
6309         * ToolbarBackend.h:
6310         * ToolbarBackend.C: add "Toolbars" section and
6311         put the flags there
6312
6313 2003-06-10  Angus Leeming  <leeming@lyx.org>
6314
6315         * lfuns.h:
6316         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6317
6318         * lyxfunc.C (dispatch): invoke it.
6319
6320 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * main.C: protect <ios> with HAVE_IOS
6323         (main): protect sync_with_stdio with HAVE_IOS
6324
6325 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6326
6327         * text2.C (cutSelection): adjust
6328         (pasteSelection): adjust
6329
6330         * messages.C: handle get of empty string
6331
6332         * main.C (main): use sync_with_stdio(false)
6333
6334         * lyxfunc.C (dispatch): adjust
6335
6336         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6337         (WriteAs): remove unneeded BufferView arg.
6338
6339         * bufferparams.h: use correct types on papersize, papersize2 and
6340         paperpackage.
6341
6342         * bufferparams.C (readToken): adjust for type
6343         (writeLaTeX): add missing cases to switch.
6344
6345         * bufferlist.C (quitWriteBuffer): adjust
6346         (close): adjust
6347
6348         * buffer.C (asciiParagraph): remove some commented code.
6349
6350         * CutAndPaste.C: remove current_view extern variable.
6351         (cutSelection): add BufferParams arg.
6352         (eraseSelection): add BufferParams arg.
6353         (pasteSelection): add Buffer const & arg
6354
6355 2003-06-07  John Levon  <levon@movementarian.org>
6356
6357         * buffer.C:
6358         * paragraph_funcs.C:
6359         * paragraph_pimpl.C:
6360         * text.C:
6361         * text2.C:
6362         * paragraph.h:
6363         * paragraph.C: allow InsetERT to freely space lines,
6364         and some consolidation of code
6365
6366 2003-06-06  José Matos  <jamatos@fep.up.pt>
6367
6368         * buffer.C (makeDocBookFile): fix bug #821
6369
6370 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6373
6374 2003-06-04  Angus Leeming  <leeming@lyx.org>
6375
6376         * buffer.C: bump format to 224.
6377
6378 2003-06-05  André Pönitz  <poenitz@gmx.net>
6379
6380         * text2.C (redoParagraphs): remove two const_cast<>
6381
6382 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6383
6384         * ParagraphList.h: remove last remnants of NO_STD_LIST
6385
6386 2003-06-03  Angus Leeming  <leeming@lyx.org>
6387
6388         * factory.C (createInset): small change to the way InsetExternal's params
6389         are set.
6390
6391 2003-06-04  André Pönitz  <poenitz@gmx.net>
6392
6393         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6394
6395         * paragraph_pimpl.h:
6396         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6397
6398         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6399
6400         * undo_funcs.C: make some simple cases of undo work again
6401
6402 2003-06-03  John Levon  <levon@movementarian.org>
6403
6404         * ispell.C: HPUX doesn't have sys/select.h
6405         (from Albert Chin)
6406
6407 2003-06-03  John Levon  <levon@movementarian.org>
6408
6409         * CutAndPaste.C: update tabular and include inset
6410         buffer references
6411
6412         * buffer.h:
6413         * paragraph.h:
6414         * paragraph.C: remove owningBuffer(), don't pass Buffer
6415         to clone()
6416
6417         * factory.C: insetGraphicsParams changed
6418
6419 2003-06-02  John Levon  <levon@movementarian.org>
6420
6421         * LyXAction.C:
6422         * factory.C:
6423         * lfuns.h:
6424         * lyxfunc.C:
6425         * text3.C: remove insetparent
6426
6427 2003-06-02  John Levon  <levon@movementarian.org>
6428
6429         * buffer.h:
6430         * buffer.C: fix inset_iterator.end(), move out of line
6431         (bug 1149)
6432
6433 2003-06-01  John Levon  <levon@movementarian.org>
6434
6435         * text3.C: use a proper cut/paste when doing inset
6436         insert (from Jürgen Spitzmüller)
6437
6438 2003-06-01  John Levon  <levon@movementarian.org>
6439
6440         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6441
6442 2003-05-30  André Pönitz  <poenitz@gmx.net>
6443
6444         * rowpainter.C: unify second drawing phase
6445
6446 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * trans_mgr.C: remove one case of current_view
6449
6450         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6451
6452         * paragraph_funcs.h: remove paragraph.h include
6453
6454         * paragraph.h: delete NO_STD_LIST stuff
6455
6456         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6457
6458         * buffer.h: remove paragraph.h include
6459
6460         * ParagraphList.C: delete file
6461
6462         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6463
6464         * toc.C (getTocList): adjust
6465
6466         * paragraph_pimpl.C (validate): adjust
6467
6468         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6469
6470         * paragraph.C (Paragraph): adjust
6471         (getPositionOfInset): use const_iterator, adjust
6472         (bibitem): use const_iterator, adjust
6473         (setInsetOwner): adjust
6474
6475         * iterators.C (operator++): adjust
6476
6477         * InsetList.[Ch]: Replace selfmade iterator with standard
6478         vector::iterator also introduce const_iterator. Remove getPos,
6479         getInset and setInset from InsetTable. Adjust accordingly.
6480
6481         * BufferView.C (lockInset): adjust
6482         (ChangeInsets): adjust
6483
6484         * tabular.[Ch]: delete commented same_id functions
6485
6486 2003-05-28  John Levon  <levon@movementarian.org>
6487
6488         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6489
6490 2003-05-28  André Pönitz  <poenitz@gmx.net>
6491
6492         * metricsinfo.[Ch]: remove 'fullredraw' member
6493
6494 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6495
6496         * lyxtextclass.C (operator): remove caching.
6497
6498 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6499
6500         * text3.C: adjust
6501
6502         * text2.C (cursorBottom): adjust
6503         (setCounter): use ParagraphList::find, adjust
6504
6505         * text.C (workWidth): use ParagraphList::find, adjust
6506
6507         * lyxcursor.C (LyXCursor): adjust
6508
6509         * buffer.C (inset_iterator): adjust
6510
6511         * ParagraphList.h: make iterator(value_type) private, make
6512         ParagraphList a friend of iterator.
6513
6514         * ParagraphList.C (find): new function
6515
6516         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6517
6518 2003-05-27  André Pönitz  <poenitz@gmx.net>
6519
6520         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6521
6522 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6523
6524         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6525
6526 2003-05-26  John Levon  <levon@movementarian.org>
6527
6528         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6529
6530 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * remove same_id from function signatures, adjust.
6533
6534 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6537
6538         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6539
6540         * paragraph.C (Paragraph): get rid of same_ids parameter
6541
6542         * ParagraphList.C (insert): adjust
6543         (push_back): adjust
6544
6545 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * paragraph_funcs.C (breakParagraph): adjust
6548         (breakParagraphConservative): adjust
6549
6550         * buffer.C (readParagraph): adjust
6551
6552         * ParagraphList.C (insert): take a reference instead of a pointer
6553         (insert): adjust
6554
6555         * paragraph.[Ch] (id): new function
6556
6557         * bufferlist.C (newFile): adjust
6558
6559         * ParagraphList.C (ParagraphList): adjust
6560         (assign): adjust
6561         (push_back): take a reference instead of a pointer.
6562
6563         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6564
6565         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6566         instead.
6567
6568         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6569         set else use old code.
6570
6571         * ParagraphList.C: remove all NO_NEXT code and only compile this
6572         code of NO_STD_LIST is set.
6573
6574 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * BufferView_pimpl.C:
6577         * TextCache.C:
6578         * TextCache.h:
6579         * bufferlist.C:
6580         * errorlist.h:
6581         * format.C:
6582         * format.h:
6583         * graph.C:
6584         * lyxfunc.C:
6585         * lyxrc.C:
6586         * graphics/GraphicsConverter.C:
6587         * graphics/PreviewLoader.C: header adjustment
6588
6589 2003-05-23  Angus Leeming  <leeming@lyx.org>
6590
6591         * LaTeXFeatures.[Ch] (useBabel): new method.
6592         * bufferparams.C (writeLaTeX): use it.
6593
6594 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * ParagraphList.h (set): remove unused function.
6597
6598 2003-05-23  André Pönitz  <poenitz@gmx.net>
6599
6600         * BufferView.C:
6601         * BufferView_pimpl.C:
6602         * buffer.C:
6603         * buffer.h:
6604         * lyxfunc.C:
6605         * undo_funcs.C: setUndo reworked
6606
6607         * iterators.[Ch]: add access to topmost ParagraphList
6608
6609         * lyxtext.[Ch] (workWidth): add a const
6610
6611 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6612
6613         * texrow.[Ch] (increasePos): remove function
6614         * exporter.C (export): removed unused var and outdated comment
6615
6616 2003-05-23  Angus Leeming  <leeming@lyx.org>
6617
6618         * latexrunparams.h: rename fragile as moving_arg.
6619         * paragraph.C (simpleTeXOnePar): ditto.
6620         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6621
6622 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6625         (createUndo): ditto
6626         (textUndoOrRedo): comment out a currently unused var.
6627
6628         * paragraph.h (NO_NEXT): enable NO_NEXT
6629
6630         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6631
6632         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6633
6634         * exporter.C (Export): adjust for removeAutoInsets removal.
6635
6636         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6637
6638         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6639
6640         * BufferView.[Ch] (removeAutoInsets): delete function
6641
6642 2003-05-22  Angus Leeming  <leeming@lyx.org>
6643
6644         * latexrunparams.h: add a free_spacing variable.
6645
6646         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6647         to pass moving_arg, as the data is stored in runparams.fragile.
6648
6649         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6650         to Inset::latexOptional or to simpleTeXOnePar.
6651
6652         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6653         free_spacing arg to Inset::latexOptional.
6654
6655         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6656         free_spacing arg.
6657
6658 2003-05-22  Angus Leeming  <leeming@lyx.org>
6659
6660         * latexrunparams.h: add fragile and use_babel variables.
6661
6662         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6663         * buffer.C (makeLaTeXFile): store this returned value in
6664         runparams.use_babel, thus passing it to the inset::latex methods.
6665
6666         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6667         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6668
6669         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6670         longer has a fragile arg, as it is stored in runparams.fragile.
6671
6672         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6673         moving_arg parameter as the data is stored in runparams.fragile.
6674
6675         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6676         a fragile parameter as the data is stored in runparams.fragile.
6677
6678 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6681
6682 2003-05-22  Angus Leeming  <leeming@lyx.org>
6683
6684         * latexrunparams.h: add a 'bool nice' which defaults to false.
6685
6686         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6687         now encapsulated within runparams.
6688
6689         * bufferlist.C (updateIncludedTeXfiles):
6690         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6691
6692 2003-05-22  Angus Leeming  <leeming@lyx.org>
6693
6694         * latexrunparams.h: new file containing struct LatexRunParams.
6695         * Makefile.am: add new file.
6696
6697         * LaTeX.[Ch] (c-tor, run):
6698         * buffer.[Ch] (makeLaTeXFile):
6699         * bufferlist.[Ch] (updateIncludedTeXfiles):
6700         * converter.C (convert, scanLog):
6701         * converter.[Ch] (runLaTeX):
6702         * exporter.C (Export):
6703         * paragraph.[Ch] (simpleTeXOnePar):
6704         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6705         * paragraph_funcs.[Ch] (latexParagraphs):
6706         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6707         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6708         pass around a LatexRunParams parameter.
6709
6710 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6711
6712         * paragraph.[Ch]: remove unused constructor
6713
6714         * ParagraphList.C (erase): new function, taking two iterators
6715
6716 2003-05-22  André Pönitz  <poenitz@gmx.net>
6717
6718         * undo_funcs.C: remove duplicated code
6719
6720         * iterator.[Ch]: operator=
6721
6722 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6723
6724         * tabular.C (SetMultiColumn): ws changes
6725
6726         * rowpainter.C (paintFirst): get rid of a ->previous
6727
6728         * lyx_cb.C (getPossibleLabel): parlist simplification
6729
6730         * BufferView.C (ChangeInsets): simplify slightly.
6731
6732 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6733
6734         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6735         * lfuns.h: new LFUN_SPACE
6736         * lyxfunc.C: protected space has a new lfun
6737         * paragraph_funcs.C: read new space insets
6738         * text3.C:
6739         * factory.C: handle new space insets
6740
6741 2003-05-22  André Pönitz  <poenitz@gmx.net>
6742
6743         * BufferView.C:
6744         * BufferView_pimpl.C:
6745         * buffer.[Ch]:
6746         * lyxfunc.C:
6747         * undo_funcs.C: return a ParIterator from getParFromID.
6748
6749         * iterators.[Ch]: add two const's
6750
6751 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * toc.C (getTocList): adjust
6754
6755         * iterators.[Ch]: rework for parlist
6756
6757         * buffer.C (par_iterator_begin): adjust
6758         (par_iterator_end): adjust
6759
6760         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6761
6762         * BufferView.C (removeAutoInsets): adjust
6763         (ChangeInsets): adjust
6764
6765 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * text.C (top_y): fix bug 1110
6768
6769 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6770
6771         * errorlist.[Ch]: added
6772         * buffer.C:
6773         * BufferView.[Ch]:
6774         * BufferView_pimpl.C:
6775         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6776         instead
6777
6778 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * Makefile.am: ensure that lyx is relinked upon changes to the
6781         various "convenience" libs.
6782
6783 2003-05-20  Angus Leeming  <leeming@lyx.org>
6784
6785         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6786         files are compiled in alphabetical order again.
6787
6788         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6789
6790 2003-05-19  Angus Leeming  <leeming@lyx.org>
6791
6792         * gettext.[Ch]: remove "char const * _(char const *)".
6793
6794 2003-05-19  André Pönitz  <poenitz@gmx.net>
6795
6796         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6797
6798         * Makefile.am:
6799         * BufferView.C:
6800         * DepTable.h:
6801         * LaTeXFeatures.C:
6802         * buffer.C:
6803         * lyxfont.C:
6804         * lyxlex.h:
6805         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6806
6807 2003-05-19  André Pönitz  <poenitz@gmx.net>
6808
6809         * buffer.C:
6810         * lyxlayout.[Ch]:
6811         * lyxtextclass.[Ch]:
6812         * paragraph.C:
6813         * paragraph_funcs.[Ch]:
6814         * text2.C:
6815         * text3.C: more insetenv work
6816
6817 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * ParagraphParameters.C (params2string): small bug fixed
6820
6821 2003-05-16  André Pönitz  <poenitz@gmx.net>
6822
6823         * debug.C:
6824         * bufferview_funcs.C: patch from Kornel Benko to prevent
6825           crash when _(...) is called twice in a statement
6826
6827 2003-05-16  André Pönitz  <poenitz@gmx.net>
6828
6829         * BufferView.C:
6830         * lyxfunc.C:
6831         * text.C:
6832         * text2.C:
6833         * text3.C:
6834         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6835
6836 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6837
6838         * lyx_main.C (init): remove spurious static_cast
6839
6840 2003-05-14  André Pönitz  <poenitz@gmx.net>
6841
6842         * BufferView.C: fix format string
6843
6844 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6845
6846         * BufferView.[Ch] (insertErrors): removed
6847         * BufferView.[Ch] (showErrorList): added
6848         * buffer.C (runChkTeX):
6849         * converter.C (scanLog): call showErrorList instead of inserterrors
6850
6851 2003-05-13  André Pönitz  <poenitz@gmx.net>
6852
6853         * BufferView_pimpl.C:
6854         * buffer.C:
6855         * bufferview_func.C:
6856         * MenuBackend.C:
6857         * lyxfunc.C:
6858         * lyxrc.C:
6859         * tex-accent.C:
6860         * text3.C:
6861         * toc.C:
6862         * tabular_funcs.h: tostr() from its own header
6863
6864         * ParagraphParameters.C:
6865         * ToolbarBackend.C:
6866         * bufferparams.C:
6867         * format.C:
6868         * lyxlex_pimpl.C:
6869         * text3.C: STRCONV()
6870
6871 2003-05-12  André Pönitz  <poenitz@gmx.net>
6872
6873         * BufferView.C:
6874         * BufferView_pimpl.C:
6875         * CutAndPaste.C:
6876         * LaTeX.C:
6877         * LaTeXFeatures.C:
6878         * ParagraphParameters.C:
6879         * buffer.C:
6880         * bufferlist.C:
6881         * bufferparams.C:
6882         * bufferview_funcs.C:
6883         * converter.C:
6884         * counters.C:
6885         * debug.C:
6886         * exporter.C:
6887         * format.C:
6888         * importer.C:
6889         * lyx_cb.C:
6890         * lyx_main.C:
6891         * lyxfont.C:
6892         * lyxfunc.C:
6893         * lyxvc.C:
6894         * paragraph.C:
6895         * paragraph_funcs.C:
6896         * tabular.C:
6897         * tabular_funcs.C:
6898         * text2.C:
6899         * text3.C:  boost::format -> bformat  all over the place
6900
6901
6902 2003-05-09  André Pönitz  <poenitz@gmx.net>
6903
6904         * LColor.[Ch]: Pimpl the #include <map> away
6905
6906 2003-05-09  John Levon  <levon@movementarian.org>
6907
6908         * bufferlist.C: never remove emergency saves
6909
6910 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * Makefile.am: better lib building
6913
6914 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6917         instead.
6918         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6919         (simpleTeXSpecialChars): adjust
6920         (simpleTeXSpecialChars): adjust
6921         * paragraph.C (simpleTeXOnePar): adjust
6922         * buffer.C (makeLaTeXFile): adjust
6923
6924         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6925
6926         * text2.C (changeDepth): parlist cleanup
6927         (getColumnNearX): ditto
6928
6929         * rowpainter.C (getLabelFont): parlist cleanup
6930
6931         * bufferlist.C (newFile): parlist cleanup
6932
6933         * CutAndPaste.C (eraseSelection): parlist cleanup
6934
6935         * BufferView_pimpl.C (trackChanges): parlist cleanup
6936         (dispatch): ditto
6937
6938         * BufferView.C (lockInset): parlist cleanup.
6939         (ChangeInsets): ditto
6940
6941 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * CutAndPaste.h: Update file header.
6944
6945         * CutAndPaste.C: Update file header.
6946         Store the parts cut out of the Document in a limited_stack.
6947         (copySelection): adjust
6948         (pasteSelection): new function, takes the index in the limited stack.
6949         (nrOfParagraphs): adjust
6950         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6951         simplify error inset insertion.
6952         (checkPastePossible): adjust
6953
6954 2003-05-06  John Levon  <levon@movementarian.org>
6955
6956         * text2.C: don't cast wrap inset to float
6957
6958 2003-05-05  André Pönitz  <poenitz@gmx.net>
6959
6960         * iterator.C:
6961         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6962
6963         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6964           few naked Paragraph *.
6965
6966 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6967
6968         * bufferparams.C: Output warning if a document with missing
6969         TeX document class is loaded
6970         * exporter.C: Disable TeX exports if the document class is missing
6971         * lyxtextclass.C:
6972         * lyxtextclass.h:
6973         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6974         isTeXClassAvailable()
6975
6976 2003-05-03  John Levon  <levon@movementarian.org>
6977
6978         * BufferView.h:
6979         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6980         explicit cursor show/hide
6981
6982         * BufferView_pimpl.h:
6983         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6984         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6985
6986         * lyxfunc.C: hide cursor before dispatching.
6987
6988         * lyx_cb.C:
6989         * lyxfind.C:
6990         * text.C:
6991         * text3.C: remove explicit cursor hides
6992
6993 2003-05-02  André Pönitz  <poenitz@gmx.net>
6994
6995         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6996
6997         * undo_funcs.C:
6998         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6999           linked lists
7000
7001         * text2.C: tiny whitespace
7002
7003 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * undo_funcs.C: almost only ws changes.
7006
7007         * ParagraphList.C (splice): just return if pl is empty.
7008
7009 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * ParagraphList.C (splice): new function.
7012
7013         * CutAndPaste.C (pasteSelection): use it
7014
7015 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * CutAndPaste.C (pasteSelection): remove the last next and
7018         previous from this file.
7019
7020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * CutAndPaste.C (pasteSelection): more clean up, user proper
7023         ParagraphList functions for pasteing.
7024
7025         * ParagraphList.C (insert): new function, three arg insert
7026
7027 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * ParagraphList.C (insert): new function, three arg insert
7030
7031         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7032         not on paragraphs.
7033
7034 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7037
7038 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7041
7042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7045         (copySelection): clean up a bit.
7046         (pasteSelection): use make_pair
7047
7048         * ParagraphList.C (ParagraphList): implement copy constructor
7049         (operator=): implement, base on copy constructor.
7050         (assign): new func
7051
7052         * paragraph.C (erase): return a bool
7053
7054         * paragraph_pimpl.C (erasePos): remove function, move contents...
7055         (erase): ... here. Return a bool.
7056         (erase): call erase instead of erasePos.
7057
7058 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7059
7060         * ParagraphList.h: define PitPosPair
7061         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7062         ParagraphList, fix a bug on pasting multiple pars
7063         * text2.C: change interface to C&P
7064
7065 2003-04-30  André Pönitz  <poenitz@gmx.net>
7066
7067         * undo_func.C: revert part of yesterday's patch 2
7068
7069 2003-04-30  John Levon  <levon@movementarian.org>
7070
7071         * LColor.C: s/tabular/table/
7072
7073 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7074
7075         * text3.C (dispatch): do not convert iterator -> pointer
7076         * undo_funcs.C (setCursorParUndo): ditto
7077         * text_funcs.C (transposeChars): ditto
7078
7079         * text2.C (setLayout): ws changes only
7080
7081         * text.C (breakParagraph): do not convert iterator -> pointer
7082         (insertChar): ditto
7083         (acceptChange): ditto
7084         (rejectChange): ditto
7085         (changeCase): ditto
7086         (Delete): ditto
7087         (backspace): ditto
7088
7089         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7090         pointer
7091
7092 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7093
7094         * text3.C (gotoInset): YABG (yet another bad getChar)
7095
7096 2003-04-29  André Pönitz  <poenitz@gmx.net>
7097
7098         * paragraph.h: make operator= private unimplemented as long as
7099           it is unusable
7100
7101         * ParagraphList.C: whitespace
7102
7103         * paragraph.[Ch]:
7104         * paragraph_pimpl.[Ch]:
7105         * paragraph_funcs.C:
7106         * CutAndPaste.C:
7107         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7108
7109         * text2.C:
7110           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7111
7112 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7113
7114         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7115         * paragraph.[Ch] (erase):
7116         * paragraph_pimpl.[Ch] (erase): change return type and value
7117         * text2.C (cutSelection): some rework
7118
7119 2003-04-28  John Levon  <levon@movementarian.org>
7120
7121         * bufferlist.C: changes for unsaved changes dialog
7122
7123 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * bufferlist.C (newFile): set language (messages_) for new
7126         documents also.
7127
7128         * buffer.C (readFile): ws changes only.
7129
7130 2003-04-28  André Pönitz  <poenitz@gmx.net>
7131
7132         * undo_funcs.C:
7133         * lyxfunc.C:
7134         * buffer.[Ch]:
7135         * BufferView_pimpl.C:
7136         * BufferView.C: getParFromID related ParagraphList::iterator changes
7137
7138 2003-04-28  André Pönitz  <poenitz@gmx.net>
7139
7140         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7141           Changes
7142
7143 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * messages.C: remove one more localedir class variable.
7146
7147 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * messages.C (getLocaleDir): singleton generation function
7150         (Pimpl): use it.
7151         (Messages): add a default constructor.
7152
7153         * main.C (main): do not setup localedir here, do not call
7154         gettext_init.
7155
7156         * gettext.C (_): use it.
7157         (gettext_init): delete funciton
7158
7159 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7160
7161         * gettext.C (getLyXMessages): new singleton generating function.
7162
7163         * buffer.C (updateDocLang): adjust
7164
7165         * Makefile.am (messages.o): add target
7166         (main.o): remove target
7167
7168 2003-04-27  John Levon  <levon@movementarian.org>
7169
7170         * bufferlist.C:
7171         * lyx_cb.C:
7172         * lyxfunc.C:
7173         * lyxvc.C: specify cancel button in Alert::prompt
7174
7175 2003-04-26  John Levon  <levon@movementarian.org>
7176
7177         * text3.C:
7178         * lyxfunc.C:
7179         * lfuns.h:
7180         * LyXAction.C: add LFUN_INSET_SETTINGS
7181
7182         * lyxfunc.C: don't enable tabular-feature when there's
7183         just any locking inset
7184
7185 2003-04-26  John Levon  <levon@movementarian.org>
7186
7187         * bufferlist.C: re-add Cancel to buffer close question
7188
7189         * lyxfunc.C: fix import UI a bit
7190
7191 2003-04-25  John Levon  <levon@movementarian.org>
7192
7193         * gettext.C: remove the broken asserts for now
7194
7195 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * messages.C: make case where setlocale cannot comply work better.
7198
7199         * buffer.C (updateDocLang): new function
7200         (changeLanguage): use it
7201         (readFile): use it
7202
7203         * text2.C (setCounter): use B_ a bit.
7204
7205         * lyxlayout.C (Read): be sure to trim the label strings.
7206
7207         * messages.C (Messages): fix typo in comment
7208
7209         * buffer.C (readFile): set message_ after file is loaded.
7210         (makeDocBookFile): remove double return
7211         (changeLanguage): reset message_ upon language change.
7212         (B_): new func, use this to get translated buffer strings.
7213
7214         * main.C: add myself and Jean Marc as authors.
7215
7216 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * messages.[hC]: pimplify Messages, and three different pimpls to be
7219         used in different circumstances.
7220
7221         * gettext.[Ch]: change for use with new message code.
7222
7223 2003-04-24 André Pönitz <poenitz@gmx.net>
7224
7225         * factory.C: support for eqref
7226
7227 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * messages.[Ch]: add missing char
7230
7231         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7232
7233         * messages.[Ch]: New files
7234
7235 2003-04-18  John Levon  <levon@movementarian.org>
7236
7237         * BufferView.h:
7238         * BufferView.C:
7239         * BufferView_pimpl.C:
7240         * lfuns.h:
7241         * LyXAction.C:
7242         * lyxtext.h:
7243         * text2.C: remove layout-copy/paste (bug 778)
7244
7245 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7246
7247         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7248
7249 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7250
7251         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7252         if they succeed. Act accordingly.
7253
7254 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * text2.C (setCharFont): adjust
7257         (setCounter): adjust
7258         (insertStringAsLines): adjust
7259
7260         * text.C (leftMargin): adjust
7261         (setHeightOfRow): adjust
7262
7263         * rowpainter.C (paintFirst): adjust
7264         (paintLast): adjust
7265
7266         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7267         (outerHook): ditto
7268         (isFirstInSequence): ditto
7269         (getEndLabel): ditto
7270         (outerFont): adjust
7271
7272         * paragraph.C (getParLanguage): comment out some hard stuff.
7273
7274         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7275         (sgmlError): ditto
7276         (simpleDocBookOnePar): ditto
7277         (makeDocBookFile): use ParagraphList::iterator
7278
7279         * CutAndPaste.C (pasteSelection): adjust
7280
7281 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7282
7283         * text2.C (getFont): adjust
7284         (getLayoutFont): adjust
7285         (getLabelFont): adjust
7286
7287         * paragraph_funcs.C (TeXOnePar): adjust
7288
7289         * buffer.C (simpleLinuxDocOnePar): adjust
7290         (simpleDocBookOnePar): adjust
7291
7292         * CutAndPaste.C (pasteSelection): adjust
7293
7294         * BufferView.C (getEncoding): adjust
7295
7296         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7297
7298 2003-04-16  John Levon  <levon@movementarian.org>
7299
7300         * lyxfind.C: use parlist stuff for search/changes
7301
7302 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7305
7306         * text2.C (deleteEmptyParagraphMechanism): adjust
7307
7308         * text2.[Ch] (ownerParagraph): delete func (both of them
7309
7310 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7313
7314 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * ParagraphList.C: prepare for NO_NEXT
7317
7318 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * text2.C (getFont): adjust
7321         (getLayoutFont): adjust
7322         (getLabelFont): adjust
7323
7324         * paragraph.C (getFont): adjust
7325         (getLabelFont): adjust
7326         (getLayoutFont): adjust
7327
7328         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7329
7330 2003-04-15  John Levon  <levon@movementarian.org>
7331
7332         From Angus Leeming
7333
7334         * lyx_main.C: handle Include in .ui files
7335
7336 2003-04-15  John Levon  <levon@movementarian.org>
7337
7338         * MenuBackend.C: make the doc files length shorter
7339
7340         * ToolbarBackend.h:
7341         * ToolbarBackend.C: handle toolbar placement flags,
7342         Minibuffer
7343
7344 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7347         adjust
7348
7349         * paragraph_funcs.C (TeXOnePar): adjust
7350
7351         * paragraph.C (getLabelFont): add outerfont arg, adjust
7352         (getLayoutFont): ditto
7353         (simpleTeXOnePar): adjust
7354
7355         * paragraph_pimpl.C (realizeFont): delete func
7356
7357 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7358
7359         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7360         row argument, constify cur argument.
7361
7362 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * text2.C (getFont): adjust
7365         (getLayoutFont): adjust
7366         (getLabelFont): adjust
7367
7368         * paragraph_funcs.C (TeXOnePar): adjust
7369         (outerFont): new func...
7370         (realizeFont): ...moved out from here, changed this to facilitate
7371         transition
7372
7373         * paragraph.C (getFont): take outerfont as arg, adjust
7374         (simpleTeXOnePar): add outerfont arg, adjust
7375
7376         * buffer.C (simpleLinuxDocOnePar): adjust
7377         (simpleDocBookOnePar): adjust
7378
7379         * CutAndPaste.C (pasteSelection): adjust
7380
7381         * BufferView.C (getEncoding): adjust
7382
7383 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * text2.C (setCharFont): adjust
7386         (setCounter): adjust
7387
7388         * text.C (leftMargin): adjust
7389         (setHeightOfRow): adjust
7390
7391         * rowpainter.C (paintFirst): adjust
7392         (paintLast): adjust
7393
7394         * paragraph_pimpl.C (realizeFont): adjust
7395
7396         * paragraph.C (isFirstInSequence): move from here...
7397         * paragraph_funcs.C (isFirstInSequence): ...to here
7398
7399         * paragraph.C (outerHook): move from here...
7400         * paragraph_funcs.C (outerHook): ...to here
7401
7402         * paragraph.C (depthHook): move from here...
7403         * paragraph_funcs.C (depthHook): ...to here
7404
7405         * paragraph.C (getEndLabel): move from here...
7406         * paragraph_funcs.C (getEndLabel): ...to here
7407
7408         * text2.C (realizeFont): move from here...
7409         * paragraph_funcs.C (realizeFont): ...to here
7410
7411 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7414
7415 2003-04-14  Angus Leeming  <leeming@lyx.org>
7416
7417         * LColor.[Ch]: scrap LColor mathcursor.
7418
7419 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * lyxlex.[Ch] (text): delete function
7422         * trans.C (Load): adjust
7423         * paragraph_funcs.C (readParToken): adjust
7424
7425 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7428         vector<char> instead of a char[].
7429
7430         * lyxlex_pimpl.C (getString): adjust
7431         (next): adjust
7432         (lex): use getString
7433         (eatLine): adjust
7434         (nextToken): adjust
7435
7436         * lyxlex.C (text): use pimpl_->getString()
7437         (getBool): ditto
7438         (findToken): ditto
7439
7440 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7443         (makeFontEntriesLayoutSpecific): temp var for par.size()
7444         (setLayout): temp var for ownerParagraphs().end()
7445         (fullRebreak): temp var for rows().end()
7446         (selectionAsString): temp var for boost::next(startpit), realize
7447         that the while really is a regular for loop.
7448         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7449         setCursor in one place.
7450         (setParagraph): temp vr for ownerParagraphs().end()
7451         (updateCounters): make the while loop a for loop
7452         (cutSelection): temp var for ownerParagraphs().end()
7453         (updateInset): make the do {} while() a regular for loop
7454         (getCursorX): use temp vars
7455         (setCurrentFont): use temp vars
7456         (getColumnNearX): use temp vars
7457
7458 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * text.C (transformChar): use temp var for getChar
7461         (computeBidiTables): use temp var for row->par()
7462         (fill): move temp vars for row->par() and pit->layout() earlier in
7463         the function.
7464         (labelFill): use temp var for row->par()
7465         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7466         asc and desc, realize that pit never changes and that firstpit is
7467         just a duplicate and not needed. Exchange rit->par() with pit in a
7468         lot of places.
7469         (breakAgain): use a temp var for boost::next(rit)
7470         (breakAgainOneRow): ditto
7471         (breakParagraph): use a temp var for rows().begin()
7472         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7473         (cursorRightOneWord): use temp var for cursor.par() and
7474         cursor.pos(), remove usage of tmpcursor.
7475         (cursorLeftOneWord): use temp var for cursor.par() and
7476         cursor.pos() only set cur at end of function.
7477
7478 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7479
7480         * text.C, text2.C: exchange all usage of Paragraph::next with
7481         boost::next(ParagraphList::iterator)
7482
7483         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7484
7485         * text2.C (cursorTop): simplify implementation
7486         (cursorBottom): ditto
7487         (setParagraph): use ParagraphList::iterator
7488         (setCurrentFont): adjust
7489         (getColumnNearX): adjust
7490         (cursorRight): adjust
7491         (cursorLeft): remove usage of Paragraph::previous
7492         (cursorUpParagraph): ditto
7493         (deleteEmptyParagraphMechanism): slight cleanup
7494
7495         * text.C (isBoundary): take a Paragraph const & instead of a
7496         pointer as arg.
7497         (addressBreakPoint): ditto
7498         (leftMargin): remove usage of Paragraph::previous.
7499         (setHeightOfRow): ditto
7500         (cursorLeftOneWord): ditto
7501         (selectNextWordToSpellcheck): ditto
7502         (Delete): ditto
7503         (backspace): ditto
7504         (breakParagraph): remove one usage of Paragraph::next
7505         (redoParagraph): ditto
7506         (acceptChange): ditto
7507         (insertChar): adjust
7508         (rowBreakPoint): adjust
7509
7510         * bufferview_funcs.C (toggleAndShow): adjust
7511
7512 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7513
7514         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7515         methods to access it.
7516         * lyxtext.h:
7517         * text.C: Added updateRowPositions to compute all row positions.
7518         Make top_y and getRowNearY() to use the cached y position
7519
7520 2003-04-11  John Levon  <levon@movementarian.org>
7521
7522         * text.C (rowBreakPoint): reintroduce the labelEnd
7523         checks, code copied from the row fill stuff. Deep voodoo.
7524
7525         * text.C (fill): add a comment and debugging for the
7526         next poor soul.
7527
7528 2003-04-11  John Levon  <levon@movementarian.org>
7529
7530         * text.C: make sure fullrow insets get wrapped to the next line,
7531         even when they're in a manual label
7532
7533 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text2.C (insertParagraph): make it take ParagraphList::iterator
7536         as arg.
7537         (setLayout): make it return ParagraphList::iterator
7538         (redoParagraphs): ditto
7539         (setCounter): ditto
7540         (checkParagraph): ditto
7541
7542         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7543
7544         * text2.C: adjust several funcs.
7545         (realizeFont): take a ParagraphList::iterator as arg.
7546         (getLayoutFont): ditto
7547         (getLabelFont): ditto
7548         (setCharFont): ditto
7549
7550         * text.C: adjust several funcs.
7551
7552 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7553
7554         * text.C (selectNextWordToSpellcheck): don't accidentally
7555         skip insets
7556
7557 2003-04-10  John Levon  <levon@movementarian.org>
7558
7559         * ToolbarBackend.C (getIcon): special handling for
7560         LFUN_MATH_DELIM
7561
7562 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7563
7564         * text2.C (cursorRight): a getChar assert fixed
7565
7566 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * text2.C (getFont): change to take a ParagraphList::iterator
7569         instead of Paragraph*
7570         Adjust several functions.
7571
7572         * text.C (transformChar): change to take a ParagraphList::iterator
7573         instead of Paragraph*
7574         (singleWidth): ditto
7575         Adjust several functions.
7576
7577         * rowpainter.C: adjust several functions
7578         * rowpainter.h:store a ParagraphList::iterator and not a
7579         Paragraph&.
7580
7581
7582 2003-04-09  John Levon  <levon@movementarian.org>
7583
7584         * lyxfunc.C:
7585         * lfuns.h:
7586         * LyXAction.h:
7587         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7588         and the "help" bits as well
7589
7590 2003-04-09  John Levon  <levon@movementarian.org>
7591
7592         * ToolbarBackend.h:
7593         * ToolbarBackend.C: allow multiple toolbars
7594
7595 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * undo_funcs.C (setCursorParUndo): adjust
7598
7599         * text_funcs.C (transposeChars): adjust
7600
7601         * text3.C (gotoNextInset): adjust
7602         (dispatch): adjust
7603
7604         * text2.C (setLayout): adjust
7605         (changeDepth): adjust
7606         (setFont): adjust
7607         (redoParagraphs): adjust
7608         (selectionAsString): adjust
7609         (setParagraph): adjust
7610         (insertInset): adjust
7611         (cutSelection): adjust
7612         (copySelection): adjust
7613         (pasteSelection): adjust
7614         (insertStringAsLines): adjust
7615         (updateInset): adjust
7616         (setCursor): change to take a ParagraphList::iterator parameter
7617         (setCursorIntern): change to take a ParagraphList::iterator parameter
7618         (setCurrentFont): adjust
7619         (cursorLeft): adjust
7620         (cursorRight): adjust
7621         (deleteEmptyParagraphMechanism): adjust
7622
7623         * text.C (breakParagraph): adjust
7624         (insertChar): adjust
7625         (acceptChange): adjust
7626         (rejectChange): adjust
7627         (selectNextWordToSpellcheck): adjust
7628         (changeCase): adjust
7629         (Delete): adjust
7630         (backspace): adjust
7631
7632         * lyxfind.C (SearchForward): adjust
7633         (SearchBackward): adjust
7634         (nextChange): adjust
7635
7636         * lyxcursor.C (par): adjust
7637
7638         * lyxcursor.h: store a ParagraphList::iterator instead of a
7639         Paragraph*
7640
7641         * lyx_cb.C (getPossibleLabel): adjust
7642
7643         * bufferview_funcs.C (toggleAndShow): adjust
7644
7645         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7646         (dispatch): adjust
7647
7648         * BufferView.C (removeAutoInsets): adjust
7649         (lockedInsetStoreUndo): adjust
7650
7651 2003-04-09  John Levon  <levon@movementarian.org>
7652
7653         * ToolbarBackend.C: try icon without argument
7654         if with argument fails
7655
7656 2003-04-08  John Levon  <levon@movementarian.org>
7657
7658         * ToolbarBackend.h:
7659         * ToolbarBackend.C: add getIcon(), handle tooltip,
7660         and change from "Icon" to "Item".
7661
7662 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7663
7664         * BufferView.C (lockInset): another bad getchar crunched
7665
7666 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7667
7668         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7669         again)
7670
7671 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7672
7673         * lyxfind.C (searchForward, searchBackwards): bug 782
7674
7675 2003-04-07  John Levon  <levon@movementarian.org>
7676
7677         * paragraph.C: remove dead comment
7678
7679         * text.C: remove troublesome depth-fiddling code
7680         in leftMargin() and rightMargin() (bug 1017)
7681
7682         * text.C: fix breaking of rows in nested lists
7683         (bug 1004)
7684
7685         * text2.C (updateCounters): fix up depth values
7686         (bug 1013)
7687
7688 2003-04-07  John Levon  <levon@movementarian.org>
7689
7690         * BufferView_pimpl.C: clear message when doc finishes resizing,
7691         and after a mouse event
7692
7693         * lyxfunc.C: clear message after exiting inset
7694
7695 2003-04-07  John Levon  <levon@movementarian.org>
7696
7697         * bufferview_funcs.C: show math status not outside
7698         status in the statusbar
7699
7700 2003-04-07  John Levon  <levon@movementarian.org>
7701
7702         * lyxfunc.C: note status changed after a depth change
7703
7704 2003-04-04  Angus Leeming  <leeming@lyx.org>
7705
7706         * LaTeX.h: move AuxInfo operator==, != out of line.
7707         Remove LaTeX virtual destructor; nothing derives from it.
7708         Move operator()() out of public area and rename it startscript().
7709         Change protected for private.
7710
7711 2003-04-04  Angus Leeming  <leeming@lyx.org>
7712
7713         * lyxfunc.C:
7714         * text2.C: remove unneeded #includes.
7715
7716 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7717
7718         * text2.C (dEPM): fix the heigth of the next row
7719
7720 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7721
7722         * text.C: squashed an invalid getChar requester + some ws changes
7723
7724 2003-04-03  John Levon  <levon@movementarian.org>
7725
7726         * bufferview_funcs.h:
7727         * bufferview_funcs.C:
7728         * lyxfunc.C:
7729         * lyxtext.h:
7730         * text2.C: make getStatus work for the env depth lfuns
7731
7732 2003-04-03  John Levon  <levon@movementarian.org>
7733
7734         * bufferview_funcs.h:
7735         * bufferview_funcs.C:
7736         * lyxfunc.C:
7737         * lyxtext.h:
7738         * text2.C: parlistize decDepth(), by merging it with incDepth()
7739
7740 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * lyxrow.h: store a ParagraphList::iterator instead of a
7743         Paragraph* and adjust other class functions to suit.
7744
7745         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7746         above.
7747
7748 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7749
7750         * text2.C (setCursor): do not anchor to cursor row for the time being
7751
7752 2003-04-02  John Levon  <levon@movementarian.org>
7753
7754         * LyXAction.C:
7755         * lfuns.h:
7756         * lyx_main.C:
7757         * lyxtext.h:
7758         * text.C:
7759         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7760
7761 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * paragraph.h: make ParagraphList and ParagraphList::iterator
7764         friends of Paragraph.
7765
7766         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7767
7768         * ParagraphList.C: Use the private next_ and previous_ from
7769         Paragraph.
7770
7771 2003-04-01  John Levon  <levon@movementarian.org>
7772
7773         * ToolbarBackend.h:
7774         * ToolbarBackend.C:
7775         * Makefile.am: rename, remove defaults gunk
7776
7777         * MenuBackend.h:
7778         * MenuBackend.C: remove defaults gunk
7779
7780         * Languages.h:
7781         * Languages.C: remove defaults gunk
7782
7783         * lyx_main.h:
7784         * lyx_main.C: error out if files couldn't be found.
7785
7786 2003-04-02  John Levon  <levon@movementarian.org>
7787
7788         * text2.C: make incDepth() use parlist
7789
7790 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7791
7792         * undo_funcs.C (firstUndoParagraph): adjust
7793
7794         * text3.C (gotoInset): adjust
7795         (dispatch): adjust, and rewrite loop.
7796
7797         * text2.C (init): adjust, and rewrite loop.
7798         (redoParagraphs): adjust
7799         (updateInset): adjust, and rewrite loop.
7800         (deleteEmptyParagraphMechanism): adjust
7801
7802         * tabular.C (LyXTabular): adjust
7803         (SetMultiColumn): adjust
7804         (TeXRow): adjust
7805
7806         * lyxtext.[Ch] (ownerParagraph): delete function
7807         (ownerParagraphs): new function returns a ParagraphList.
7808
7809         * BufferView.C (removeAutoInsets): adjust
7810         (insertErrors): adjust
7811         (setCursorFromRow): adjust
7812
7813 2003-04-01  Angus Leeming  <leeming@lyx.org>
7814
7815         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7816         in the frontends.
7817
7818 2003-04-02  John Levon  <levon@movementarian.org>
7819
7820         * lyxtext.h:
7821         * text.C:
7822         * Makefile.am:
7823         * text_funcs.h:
7824         * text_funcs.C: make transposeChars a free function
7825
7826         * lyxrow_funcs.C: remove wrong comment
7827
7828 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * lyxtext.h: adjust
7831         * rowpainter.C: adjust
7832         * text.C: adjust
7833         * text2.C: adjust
7834         * text3.C: adjust
7835
7836         * lyxrow_funcs. [Ch]: new files
7837
7838         * lyxrow.[Ch]: remove next and previous pointers
7839         (next,previous): remove accessor functions
7840         (isParEnd): move to lyxrow_funcs
7841         (lastPos): move to lyxrow_funcs
7842         (nextRowIsAllInset): move to lyxrow_funcs
7843         (lastPrintablePos): move to lyxrow_funcs
7844         (numberOfSeparators): move to lyxrow_funcs
7845         (numberOfHfills): move to lyxrow_funcs
7846         (numberOfLabelHfills): move to lyxrow_funcs
7847         (hfillExpansion): move to lyxrow_funcs
7848
7849         * lyxfunc.C: adjust
7850
7851         * bufferview_funcs.C (toggleAndShow): adjust
7852
7853         * RowList.h: Remove class RowList from file leave just a
7854         std::list<Row>.
7855
7856         * RowList.C: delete file
7857
7858         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7859         and lyxrow_funcs.h
7860
7861 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * text3.C (cursorPrevious): adjust
7864         (cursorNext): adjust
7865         (dispatch): adjust
7866
7867         * text2.C (redoHeightOfParagraph): adjust
7868         (redoDrawingOfParagraph): adjust
7869         (setCursor): adjust
7870
7871         * text.C (breakParagraph): adjust
7872         (insertChar): adjust
7873         (backspace): adjust
7874
7875         * rowpainter.C (RowPainter): adjust
7876         (leftMargin): simplify and adjust
7877         (most rowpainter functions): adjust.
7878
7879         * rowpainter.h: store the row as RowList::iterator not as Row*
7880
7881         * lyxcursor.C (row): taka RowList::iterator as arg
7882         (irow): ditto
7883
7884         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7885         of Row*.
7886
7887 2003-04-01  Angus Leeming  <leeming@lyx.org>
7888
7889         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7890         stuff like bool Bool.
7891
7892 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7893
7894         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7895         rewrite a loop
7896
7897 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7900         RowList::iterator.
7901
7902         * lyxtext.h (rows): drop one version and leve a const variant that
7903         returns a RowList::iterator.
7904
7905 2003-03-31  Angus Leeming  <leeming@lyx.org>
7906
7907         * text.C (fill): ensure that the signature is the same as that in the
7908         header file.
7909
7910 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * text2.C (redoParagraphs): adjust
7913         (updateCounters): adjust
7914         (checkParagraph): adjust
7915         (getColumnNearX): adjust and reformat a bit.
7916
7917         * text.C (top_y): adjust
7918         (workWidth): adjust
7919         (leftMargin): adjust
7920         (prepareToPrint): adjust
7921         (getRow): adjust
7922         (getRowNearY): adjust
7923
7924         * lyxtext.h: make rowlist_ mutable.
7925
7926         * RowList.h: add const_iterator
7927         * RowList.C: adjust for RowList::const_iterator.
7928
7929         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7930         adjust.
7931
7932 2003-03-31  John Levon  <levon@movementarian.org>
7933
7934         * lyxrc.h:
7935         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7936
7937         * lyx_main.C: set default fonts from using lyx_gui funcs
7938
7939         * exporter.C: pdf_mode moved from lyxrc
7940
7941         * lyx_cb.C:
7942         * lyxfunc.C: changes from above
7943
7944 2003-03-31  John Levon  <levon@movementarian.org>
7945
7946         * lyx_main.C: fix to the last fix
7947
7948 2003-03-31  John Levon  <levon@movementarian.org>
7949
7950         * bufferlist.C: "Load original" -> "Load Original"
7951
7952         * converter.C:
7953         * exporter.C:
7954         * importer.C:
7955         * lyx_main.C:
7956         * format.C: more Alert cleanups
7957
7958 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * text2.C (removeParagraph): make it take a RowList::iterator as
7961         arg, adjust.
7962         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7963         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7964
7965         * text.C (anchor_row): make it take a RowList::iterator as arg,
7966         adjust.
7967         (computeBidiTables): make it take a const reference to Row instead
7968         of Row pointer, adjust.
7969         (leftMargin): make it take a RowList::iterator as arg, adjust.
7970         (rowBreakPoint): adjust
7971         (breakAgainOneRow): make it take a RowList::iterator as arg,
7972         adjust.
7973         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7974
7975         * bufferview_funcs.C (toggleAndShow): adjust
7976
7977 2003-03-30  John Levon  <levon@movementarian.org>
7978
7979         * Makefile.am:
7980         * BoostFormat.h:
7981         * boost-inst.C: moved to support
7982
7983         * several files: changes as a result
7984
7985 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * text2.C (LyXText): adjust.
7988         (init): adjust
7989         (removeRow): make it take a RowList::iterator as arg, adjust.
7990         (fullRebreak): adjust
7991         (deleteEmptyParagraphMechanism): adjust
7992         (clearPaint): adjust
7993         (postPaint): adjust
7994
7995         * text.C (top_y): adjust
7996         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7997         (breakAgain): make it take a RowList::iterator as arg, adjust.
7998         (breakParagraph): adjust
7999         (insertChar): adjust
8000         (backspace): adjust
8001
8002         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8003         need_break_row, and refresh_row.
8004
8005         * text3.C (dispatch): adjust
8006
8007         * text2.C (checkParagraph): adjust
8008         (setCursor): adjust
8009         (setCursorFromCoordinates): adjust
8010
8011         * text.C (top_y): adjust
8012         (workWidth): adjust
8013         (getRow): make it return a RowList::iterator, adjust
8014         (getRowNearY): make it return a RowList::iterator, adjust
8015
8016         * text2.C (init): adjust
8017         (insertRow): remove function
8018         (insertParagraph): adjust
8019         (redoParagraphs): adjust
8020         (fullRebreak): adjust
8021         (updateCounters): adjust
8022
8023         * text.C (top_y): rewrite to use RowList iterators.
8024         (top_y): adjust
8025         (setHeightOfRow): rewrite to sue RowList iterators.
8026         (appendParagraph): adjust
8027         (breakAgain): adjust
8028         (breakAgainOneRow): adjust
8029         (breakParagraph): adjust
8030         (getRow): adjust
8031         (getRowNearY): adjust, and remove commented code.
8032
8033         * lyxtext.h (firstRow): delete function
8034         (lastRow): delete function
8035         (rows): new function (const and non-const versions.)
8036         (insertRow): delete function
8037
8038         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8039
8040 2003-03-29  John Levon  <levon@movementarian.org>
8041
8042         * BufferView_pimpl.C: always update scrollbar top
8043         because pasting text when we're anchored could mean we
8044         miss an update altogether
8045
8046 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * text2.C (init): use rowlist_.end() and not 0.
8049         (insertRow): change to take a RowList::iterator as arg, adjust
8050         for this.
8051         (insertParagraph): change to take a RowList::iterator as arg,
8052         adjust for this.
8053         (redoParagraphs): remove some debug msgs.
8054
8055         * text.C (appendParagraph): change to take a RowList::iterator
8056         arg, adjust for this.
8057         (breakAgain): add an assert
8058         (breakAgainOneRow): ditto
8059
8060 2003-03-29  John Levon  <levon@movementarian.org>
8061
8062         * text2.C: do not clear selection after inc/decDepth
8063         (bug 550)
8064
8065 2003-03-29  John Levon  <levon@movementarian.org>
8066
8067         * BufferView.C:
8068         * buffer.C: fix broken strerrors according to Lars
8069
8070 2003-03-29  John Levon  <levon@movementarian.org>
8071
8072         * converters.C: more Alert cleanups
8073
8074 2003-03-29  John Levon  <levon@movementarian.org>
8075
8076         * bufferview_funcs.C: remove pointless Alert
8077
8078         * buffer.C: fix confusing error message when
8079         a template is chmoded 000
8080
8081 2003-03-29  John Levon  <levon@movementarian.org>
8082
8083         * BufferView.C:
8084         * BufferView.h:
8085         * BufferView_pimpl.C: Alert fixes
8086
8087         * Makefile.am:
8088         * tabular.C:
8089         * tabular-old.C: remove unused table compat reading
8090
8091 2003-03-29  John Levon  <levon@movementarian.org>
8092
8093         * BufferView.C:
8094         * buffer.C:
8095         * lyx_cb.h:
8096         * lyx_cb.C: more Alert cleanups
8097
8098         * lyxfunc.C: don't allow chktex if not latex document
8099
8100 2003-03-29  John Levon  <levon@movementarian.org>
8101
8102         * lyx_cb.C:
8103         * BufferView.C:
8104         * buffer.C: warnings pushed down from support/,
8105         kill err_alert
8106
8107 2003-03-29  John Levon  <levon@movementarian.org>
8108
8109         * lyxfunc.C: safety check for C-r (revert)
8110
8111 2003-03-29  John Levon  <levon@movementarian.org>
8112
8113         * bufferlist.h:
8114         * bufferlist.C: several UI fixes using Alert::prompt.
8115         Fix the pointless looping quit code. Fix stupid revert
8116         behaviour (bug 938)
8117
8118         * lyxvc.h:
8119         * lyxvc.C:
8120         * lyx_cb.C: use Alert::prompt
8121
8122         * lyx_main.C: remove a silly question
8123
8124         * lyxfunc.C: remove a couple of silly questions,
8125         use Alert::prompt
8126
8127 2003-03-28  John Levon  <levon@movementarian.org>
8128
8129         * text2.C: fix bug 974 (End on empty par)
8130
8131 2003-03-28  John Levon  <levon@movementarian.org>
8132
8133         * BufferView_pimpl.C:
8134         * LyXAction.C:
8135         * lfuns.h: remove do-nothing math greek lfuns
8136
8137 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * lyxgluelength.h (isValidGlueLength): add default arg on
8140         parameter 2. Remove default arg from friend in class.
8141
8142         * lyxlength.h (isValidLength): add default arg on parameter 2.
8143         Remove default arg from friend in class.
8144
8145         * text2.C (LyXText): adjust, initialize refresh_row.
8146         (init): adjust
8147         (removeRow): adjust
8148         (insertRow): adjust
8149         (insertParagraph): adjst
8150         (redoParagraphs): adjust
8151         (fullRebreak): adjust
8152         (updateCounters): adjust
8153         (deleteEmptyParagraphMechanism): first attempt at fixing a
8154         crashing bug.
8155
8156         * text.C (top_y): adjust
8157         (setHeightOfRow): adjust
8158         (getRow): adjust
8159         (getRowNearY): adjust
8160
8161         * lyxtext.h: include RowList.h
8162         (~LyXText): not needed anymore, deleted.
8163         (firstRow): modify for RowList
8164         (lastRow): new function
8165         Delete firstrow and lastrow class variables, add a Rowlist
8166         rowlist_ class variable.
8167
8168         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8169         paragraph is empty.
8170
8171         * RowList.C (insert): fix case where it == begin().
8172
8173 2003-03-26  Angus Leeming  <leeming@lyx.org>
8174
8175         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8176         the thesaurus dialog.
8177
8178 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8181
8182         * RowList.[Ch]: new files
8183
8184         * ParagraphList.C (erase): handle the case where it == begin
8185         correctly.
8186
8187 2003-03-25  John Levon  <levon@movementarian.org>
8188
8189         * Makefile.am:
8190         * aspell_local.h:
8191         * aspell.C: add new aspell support
8192
8193         * lyxrc.h:
8194         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8195         have it accessible.
8196
8197 2003-03-25  Angus Leeming  <leeming@lyx.org>
8198
8199         * lfuns.h:
8200         * LyXAction.C (init): new LFUN_INSET_INSERT.
8201
8202         * BufferView_pimpl.C (dispatch): split out part of the
8203         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8204
8205         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8206         LFUN_INSET_APPLY.
8207
8208 2003-03-25  Angus Leeming  <leeming@lyx.org>
8209
8210         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8211
8212 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8213
8214         * text2.C:
8215         * text3.C: remove useless row->height(0)
8216
8217 2003-03-25  John Levon  <levon@movementarian.org>
8218
8219         * lyxtext.h:
8220         * text2.C:
8221         * text3.C: rename the refreshing stuff to better names
8222
8223 2003-03-24  John Levon  <levon@movementarian.org>
8224
8225         * BufferView_pimpl.h:
8226         * BufferView_pimpl.C: update layout choice on a mouse
8227         press/release
8228
8229 2003-03-23  John Levon  <levon@movementarian.org>
8230
8231         * Makefile.am: fix commandtags.h reference
8232
8233 2003-03-22  John Levon  <levon@movementarian.org>
8234
8235         * BufferView_pimpl.C:
8236         * lyxtext.h:
8237         * rowpainter.C:
8238         * rowpainter.h:
8239         * text.C:
8240         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8241
8242 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8243
8244         * lyxtext.h:
8245         * text.C: take the rtl methods out of line
8246
8247 2003-03-21 André Pönitz <poenitz@gmx.net>
8248
8249         * metricsinfo.[Ch]: new files containing structures to be passed around
8250         during the two-phase-drawing...
8251
8252 2003-03-21 André Pönitz <poenitz@gmx.net>
8253
8254         * lyxtextclass.C: read 'environment' tag.
8255
8256 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8257
8258         * text2.C (removeRow): fix bug 964
8259
8260 2003-03-20  John Levon  <levon@movementarian.org>
8261
8262         * rowpainter.C:
8263         * text.C:
8264         * text2.C: paint cleanups. Inset::update() dropped font
8265         parameter
8266
8267 2003-03-19  John Levon  <levon@movementarian.org>
8268
8269         * lyxfunc.C: only fitcursor/markDirty if available()
8270
8271 2003-03-19  John Levon  <levon@movementarian.org>
8272
8273         * commandtags.h: rename to ...
8274
8275         * lfuns.h: ... this, and renumber / cleanup
8276
8277 2003-03-19  John Levon  <levon@movementarian.org>
8278
8279         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8280         fit the cursor after an lfun
8281
8282         * BufferView.h:
8283         * BufferView.C:
8284         * BufferView_pimpl.h:
8285         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8286
8287         * LyXAction.C: layout-character should have ReadOnly
8288
8289         * ParagraphParameters.C:
8290         * buffer.C:
8291         * bufferview_funcs.C:
8292         * lyx_cb.C:
8293         * lyxfind.C:
8294         * lyxtext.h:
8295         * text.C:
8296         * text2.C:
8297         * text3.C:
8298         * undo_funcs.C: changes from above
8299
8300 2003-03-18  John Levon  <levon@movementarian.org>
8301
8302         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8303         remove it from update()
8304
8305         * lyxfunc.C: update layout choice after an lfun
8306
8307         * text3.C: remove extra updateLayoutChoice()s
8308
8309 2003-03-18  John Levon  <levon@movementarian.org>
8310
8311         * text.C: top_y change means full repaint, fix
8312         a drawing bug with cursor movement
8313
8314 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8315
8316         * lyxtext.h:
8317         * text.C:
8318         * text2.C: anchor row on setCursor
8319
8320 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8321
8322         * lyxtext.h: remove almost all mutable keywords
8323         * text.C:
8324         * text2.C:
8325         * text3.C: remove const keywords accordingly
8326
8327 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8330         anon namespace
8331         (TeXEnvironment): ditto
8332         (TeXOnePar): ditto
8333
8334 2003-03-17  John Levon  <levon@movementarian.org>
8335
8336         * text.C (rowBreakPoint): remove attempt to fix displayed
8337         math insets inside a manual label
8338
8339 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8340
8341         * lyxtext.h: remove BufferView* as first arg from almost all class
8342         functions.
8343         * other files: adjust.
8344
8345 2003-03-17  John Levon  <levon@movementarian.org>
8346
8347         * lyxtext.h:
8348         * undo_funcs.C:
8349         * text2.C: more paint cleanups
8350
8351         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8352
8353         * rowpainter.h:
8354         * rowpainter.C: remove "smart" background painting code
8355
8356 2003-03-16  John Levon  <levon@movementarian.org>
8357
8358         * lyxtext.h:
8359         * text.C:
8360         * text2.C:
8361         * text3.C: add helper functions for setting refresh_row/y
8362
8363 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8364
8365         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8366         newline inset which *can* get inserted in the pass_thru layouts.
8367         This is primarily for literate documents.
8368
8369 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8370
8371         * buffer.C: increment LYX_FORMAT to 223
8372
8373 2003-03-14 André Pönitz <poenitz@gmx.net>
8374
8375         * textclass.h: prepare for environment handling, ws changes
8376         * lyxlayout.C: read latexheader and latexfooter tags
8377
8378 2003-03-14  John Levon  <levon@movementarian.org>
8379
8380         * text2.C: rewrite ::status() a bit
8381
8382 2003-03-13  John Levon  <levon@movementarian.org>
8383
8384         * lyxtext.h: add some docs
8385
8386 2003-03-13  John Levon  <levon@movementarian.org>
8387
8388         * lyxtext.h:
8389         * text.C:
8390         * text2.C:
8391         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8392
8393 2003-03-13  John Levon  <levon@movementarian.org>
8394
8395         * text3.C: fix appendix redrawing
8396
8397 2003-03-13  John Levon  <levon@movementarian.org>
8398
8399         * text.C (setHeightOfRow):
8400         * rowpainter.h:
8401         * rowpainter.C: make appendix mark have the text
8402           "Appendix" so the user knows what it is
8403
8404         * LColor.h:
8405         * LColor.C: s/appendixline/appendix/ from above
8406
8407 2003-03-13  John Levon  <levon@movementarian.org>
8408
8409         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8410
8411         * text.C: fix a getChar(pos) bug properly
8412
8413 2003-03-13  Angus Leeming  <leeming@lyx.org>
8414
8415         * commandtags.h:
8416         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8417         Probably only temporary. Let's see how things pan out.
8418
8419         * BufferView.C (unlockInset):
8420         * BufferView_pimpl.C (fitCursor):
8421         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8422
8423         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8424         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8425
8426         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8427         new functions that convert ParagraphParameters to and from a string.
8428
8429         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8430         BufferView::Pimpl's dispatch.
8431         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8432
8433 2003-03-13 André Pönitz <poenitz@gmx.net>
8434
8435         * lyxfunc.C:
8436         * text3.C:
8437         * factory.C: make it aware of InsetEnv
8438
8439 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * text2.C (setCursor): never ask for one past last
8442         (setCursor): add some debugging messages.
8443
8444         * text.C (singleWidth): never ask for one past last
8445         (singleWidth): ditto
8446         (leftMargin): ditto
8447         (rightMargin): ditto
8448         (rowBreakPoint): ditto
8449         (setHeightOfRow): ditto
8450         (prepareToPrint): ditto
8451
8452         * rowpainter.C (paintBackground): never ask for one past last
8453         (paintText): never ask for one past last
8454
8455         * paragraph_pimpl.C (getChar): make the assert stricter, never
8456         allow the one past last pos to be taken
8457
8458         * paragraph.C (getChar): ws changes only
8459
8460         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8461         (numberOfSeparators): ditto
8462         (numberOfHfills): ditto
8463
8464 2003-03-12  John Levon  <levon@movementarian.org>
8465
8466         * author.h:
8467         * author.C:
8468         * bufferparams.h:
8469         * bufferparams.C:
8470         * paragraph_funcs.C: fix per-buffer authorlists
8471
8472 2003-03-12  John Levon  <levon@movementarian.org>
8473
8474         * text.C: fix newline in right address
8475
8476 2003-03-12  Angus Leeming  <leeming@lyx.org>
8477
8478         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8479         duplicate those in LyXFunc::dispatch.
8480
8481         * commandtags.h:
8482         * LyXAction.C:
8483         * ToolbarDefaults.C:
8484         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8485         Add LFUN_FONTFREE_UPDATE.
8486
8487         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8488         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8489
8490         * bufferview_func.[Ch]: several new functions to facilliate
8491         transfer of data to and from the character dialog.
8492
8493 2003-03-12  John Levon  <levon@movementarian.org>
8494
8495         * buffer.C:
8496         * paragraph.h:
8497         * paragraph.C:
8498         * paragraph_funcs.C:
8499         * paragraph_pimpl.C:
8500         * sgml.C:
8501         * tabular.C:
8502         * text.C:
8503         * text3.C: remove META_NEWLINE in favour of an inset
8504
8505         * rowpainter.h:
8506         * rowpainter.C: remove paintNewline (done by inset)
8507
8508 2003-03-12  John Levon  <levon@movementarian.org>
8509
8510         * paragraph_pimpl.C: complain about bad getChar()s
8511         for a while at least
8512
8513 2003-03-12  John Levon  <levon@movementarian.org>
8514
8515         * buffer.h:
8516         * buffer.C: move paragraph read into a separate function,
8517         a little renaming to reflect that.
8518
8519         * bufferparams.h:
8520         * bufferparams.C: remove the author_ids map, not necessary now
8521
8522         * factory.h:
8523         * factory.C: moved Buffer::readInset to here
8524
8525         * paragraph_funcs.h:
8526         * paragraph_funcs.C: readParagraph free function moved from
8527         buffer.C
8528
8529         * tabular.C: name change
8530
8531 2003-03-12  John Levon  <levon@movementarian.org>
8532
8533         * buffer.C:
8534         * ParagraphParameters.C: move par params input to
8535         a read() method
8536
8537         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8538         behave like a normal read from the stream wrt reading
8539         a line vs. a \\token
8540
8541 2003-03-12  John Levon  <levon@movementarian.org>
8542
8543         * paragraph.C:
8544         * ParagraphParameters.h:
8545         * ParagraphParameters.C: move output code to a
8546         ::write() method
8547
8548 2003-03-12  John Levon  <levon@movementarian.org>
8549
8550         * BufferView.C (insertLyXFile):
8551         * buffer.h:
8552         * buffer.C:
8553         * tabular.C: use a parlist iterator for creating the
8554           document.
8555
8556 2003-03-12  John Levon  <levon@movementarian.org>
8557
8558         * buffer.C: make current_change static local not
8559           static file-scope
8560
8561 2003-03-12  John Levon  <levon@movementarian.org>
8562
8563         * buffer.C: fix insertStringAsLines for change tracking
8564
8565 2003-03-12  John Levon  <levon@movementarian.org>
8566
8567         * BufferView.C:
8568         * tabular.C:
8569         * buffer.h:
8570         * buffer.C:
8571         * bufferparams.h:
8572         * bufferparams.C: move author list into params. Rename some
8573           functions. Move the header reading into a separate token
8574           loop. Move the header token reading into BufferParams.
8575
8576 2003-03-12  John Levon  <levon@movementarian.org>
8577
8578         * changes.C: put debug inside lyxerr.debugging() checks
8579
8580 2003-03-11 André Pönitz <poenitz@gmx.net>
8581
8582         * factory.C: make it aware of InsetHFill
8583
8584 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8585
8586         * buffer.C (latexParagraphs): move function from here...
8587         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8588         args.
8589
8590 2003-03-10  Angus Leeming  <leeming@lyx.org>
8591
8592         * LyXAction.C (init): fix bug in poplating array with multiple entries
8593         with the same LFUN (spotted by JMarc).
8594
8595 2003-03-10  John Levon  <levon@movementarian.org>
8596
8597         * text.C:
8598         * text2.C: move getColumnNearX() near its
8599         only call site
8600
8601 2003-03-10  John Levon  <levon@movementarian.org>
8602
8603         * text.C: fix break before a minipage
8604
8605 2003-03-10  John Levon  <levon@movementarian.org>
8606
8607         * text.C: fix the last commit
8608
8609 2003-03-09  John Levon  <levon@movementarian.org>
8610
8611         * lyxtext.h:
8612         * text.C:
8613         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8614         bug 365 (don't break before insets unless needed). Don't
8615         return a value > last under any circumstances.
8616
8617 2003-03-09  Angus Leeming  <leeming@lyx.org>
8618
8619         * BufferView_pimpl.C (trackChanges, dispatch): call
8620         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8621
8622 2003-03-09  Angus Leeming  <leeming@lyx.org>
8623
8624         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8625         than Dialogs::showAboutlyx().
8626
8627 2003-03-09  Angus Leeming  <leeming@lyx.org>
8628
8629         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8630         than Dialogs::showTabularCreate().
8631
8632 2003-03-09  John Levon  <levon@movementarian.org>
8633
8634         * lyxtext.h:
8635         * text.C:
8636         * text2.C: 3rd arg to nextBreakPoint was always the same.
8637           Use references.
8638
8639 2003-03-08  John Levon  <levon@movementarian.org>
8640
8641         * lyxrow.C:
8642         * paragraph.C:
8643         * paragraph.h:
8644         * rowpainter.C:
8645         * text.C:
8646         * text2.C: Remove the "main" bit from the "main body"
8647           notion.
8648
8649 2003-03-08  John Levon  <levon@movementarian.org>
8650
8651         * text.C (leftMargin): The left margin of an empty
8652         manual label paragraph should not include the label width
8653         string length.
8654
8655         * text.C (prepareToPrint): don't attempt to measure hfills
8656         for empty manual label paragraphs - the answer should be 0
8657
8658 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * CutAndPaste.C: remove commented code and reindent.
8661
8662 2003-03-08  John Levon  <levon@movementarian.org>
8663
8664         * lyxfunc.h:
8665         * lyxfunc.C: move reloadBuffer()
8666
8667         * BufferView.h:
8668         * BufferView.C: to here
8669
8670         * lyxvc.C: add comment
8671
8672         * vc-backend.h:
8673         * vc-backend.C: call bv->reload() to avoid
8674           getStatus() check on MENURELOAD
8675
8676 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8677
8678         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8679         to an old format .dep file.
8680
8681 2003-03-07  Angus Leeming  <leeming@lyx.org>
8682
8683         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8684         when the LFUN_MOUSE_RELEASE should have been handled by
8685         inset->localDispatch.
8686
8687 2003-03-07  Angus Leeming  <leeming@lyx.org>
8688
8689         * BufferView_pimpl.C (dispatch):
8690         * LyXAction.C (init):
8691         * ToolbarDefaults.C (init):
8692         * commandtags.h:
8693         * lyxfunc.C (getStatus):
8694         remove LFUN_INSET_GRAPHICS.
8695
8696         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8697
8698 2003-03-07  Angus Leeming  <leeming@lyx.org>
8699
8700         * commandtags.h:
8701         * LyXAction.C (init):
8702         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8703
8704         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8705
8706         * commandtags.h:
8707         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8708
8709         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8710         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8711
8712 2003-03-07  Angus Leeming  <leeming@lyx.org>
8713
8714         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8715         remove "ert".
8716
8717 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * ParagraphList.C (front): new function
8720         (back): implement
8721
8722 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8725         and top_row_offset_. removed var first_y.
8726         * text.C (top_y):
8727         * text2.C (LyXText, removeRow):
8728         * text3.C:
8729         * BufferView_pimpl.C:
8730         use these methods instead of using first_y
8731
8732 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * text2.C (pasteSelection): adjust for checkPastePossible
8735
8736         * CutAndPaste.C: remove Paragraph * buf and replace with
8737         ParagraphList paragraphs.
8738         (DeleteBuffer): delete
8739         (cutSelection): change the tc type to textclass_type
8740         (copySelection): change the tc type to textclass_type
8741         (copySelection): adjust for ParagraphList
8742         (pasteSelection): change the tc type to textclass_type
8743         (pasteSelection): adjust for Paragraphlist
8744         (nrOfParagraphs): simplify for ParagraphList
8745         (checkPastePossible): simplify for ParagraphList
8746         (checkPastePossible): remove unused arg
8747
8748         * ParagraphList.C (insert): handle the case where there are no
8749         paragraphs yet.
8750
8751         * CutAndPaste.h: make CutAndPaste a namespace.
8752
8753         * text3.C (dispatch): adjust
8754
8755         * text.C (breakParagraph): add a ParagraphList as arg
8756
8757         * paragraph_funcs.C (breakParagraph): change to take a
8758         BufferParams and a ParagraphList as args.
8759         (breakParagraphConservative): ditto
8760         (mergeParagraph): ditto
8761         (TeXDeeper): add a ParagraphList arg
8762         (TeXEnvironment): ditto
8763         (TeXOnePar): ditto
8764
8765         * buffer.C (readLyXformat2): adjust
8766         (insertStringAsLines): adjust
8767         (latexParagraphs): adjust
8768
8769         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8770         (cutSelection): adjust
8771         (pasteSelection): adjust
8772
8773         * BufferView_pimpl.C (insertInset): adjust
8774
8775 2003-03-05  Angus Leeming  <leeming@lyx.org>
8776
8777         * commandtags.h:
8778         * LyXAction.C (init):
8779         * BufferView_pimpl.C (dispatch):
8780         * lyxfunc.C (getStatus):
8781         remove LFUN_CHILD_INSERT.
8782
8783         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8784
8785 2003-03-05  Angus Leeming  <leeming@lyx.org>
8786
8787         * commandtags.h:
8788         * LyXAction.C (init):
8789         * src/factory.C (createInset):
8790         * lyxfunc.C (getStatus):
8791         * text3.C (dispatch):
8792         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8793
8794         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8795
8796 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8797
8798         * ParagraphList.C (insert): handle insert right before end()
8799         (erase): fix cases where it can be first or last paragraph.
8800
8801 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8802
8803         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8804         Paragraph::next and Paragraph::previous
8805         (TeXOnePar): ditto
8806
8807         * text.C (breakParagraph): adjust
8808
8809         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8810         BufferParams& as arg.
8811         (breakParagraph): use ParagraphList::insert
8812         (breakParagraphConservative): take a Buffer* instead of a
8813         BufferParams& as arg.
8814         (breakParagraphConservative): use ParagraphList::insert.
8815
8816         * buffer.C (insertStringAsLines): un-const it
8817         (insertStringAsLines): adjust
8818
8819         * ParagraphList.C (insert): new function
8820
8821         * CutAndPaste.C (pasteSelection): adjust
8822
8823         * text.C (backspace): adjust
8824
8825         * tabular.C (SetMultiColumn): adjust
8826
8827         * CutAndPaste.C (cutSelection): adjust
8828         (pasteSelection): adjust
8829
8830         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8831         Buffer const * as arg
8832
8833         * ParagraphList.C (erase): new function
8834         * paragraph_funcs.C (mergeParagraph): use it
8835         (mergeParagraph): make it take a Buffer* instead of a
8836         BufferParams* as arg
8837
8838         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8839         as arg
8840         (breakParagraphConservative): ditto
8841
8842         * paragraph.h: remove the breakParagraph friend
8843
8844         * paragraph.C (eraseIntern): new function
8845         (setChange): new function
8846
8847         * paragraph_funcs.C (mergeParagraph): make it take a
8848         ParagraphList::iterator instead of a Paragraph *, adjust
8849         accordingly.
8850
8851         * paragraph.h: move an #endif so that the change tracking stuff
8852         also works in the NO_NEXT case.
8853
8854 2003-03-04  Angus Leeming  <leeming@lyx.org>
8855
8856         * commandtags.h:
8857         * LyXAction.C: new LFUN_INSET_MODIFY.
8858
8859         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8860         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8861
8862 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8863
8864         * several files: ws changes only
8865
8866         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8867         (TeXEnvironment): ditto
8868         (TeXDeeper): ditto
8869
8870         * buffer.C (makeLaTeXFile): adjust
8871         (latexParagraphs): make it take ParagraphList::iterator as args
8872
8873 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * buffer.C (latexParagraphs): adjust
8876
8877         * paragraph.C (TeXOnePar): move function...
8878         (optArgInset): move function...
8879         (TeXEnvironment): move function...
8880         * paragraph_pimpl.C (TeXDeeper): move function...
8881         * paragraph_funcs.C: ...here
8882
8883         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8884
8885 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * buffer.C (readInset): remove compability code for old Figure and
8888         InsetInfo insets
8889
8890 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * buffer.C: ws changes
8893         (readInset):
8894
8895         * BufferView_pimpl.C: ditto
8896         * author.C: ditto
8897         * buffer.h: ditto
8898         * bufferlist.h: ditto
8899         * changes.h: ditto
8900         * lyxfunc.C: ditto
8901
8902 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8903
8904         * converter.[Ch]: split into itself +
8905         * graph.[Ch]
8906         * format.[Ch]
8907         * Makefile.am: += graph.[Ch] + format.[Ch]
8908         * MenuBackend.C
8909         * buffer.C
8910         * exporter.C
8911         * importer.C
8912         * lyx_main.C
8913         * lyxfunc.C
8914         * lyxrc.C: added #include "format.h"
8915
8916 2003-02-27  Angus Leeming  <leeming@lyx.org>
8917
8918         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8919           a label.
8920
8921         * factory.C (createInset): add "label" to the factory.
8922
8923         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8924           string and do no more.
8925
8926 2003-02-27  Angus Leeming  <leeming@lyx.org>
8927
8928         * commandtags.h:
8929         * LyXAction.C (init):
8930         * factory.C (createInset):
8931         * BufferView_pimpl.C (dispatch):
8932           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8933
8934         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8935
8936         * lyxfunc.C (dispatch):
8937         * text3.C (dispatch): pass name to params2string.
8938
8939 2003-02-26  Angus Leeming  <leeming@lyx.org>
8940
8941         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8942           blocks together.
8943           Rearrange the ~includes. Strip out the unnecessary ones.
8944
8945         * factory.C (createInset): reformat.
8946           create new insets for the various LFUN_XYZ_APPLY lfuns.
8947
8948 2003-02-26  John Levon  <levon@movementarian.org>
8949
8950         * lyxrow.h:
8951         * lyxrow.C: add isParStart,isParEnd helpers
8952
8953         * paragraph.h: make isInserted/DeletedText take refs
8954
8955         * paragraph_funcs.h:
8956         * paragraph_funcs.C: remove #if 0'd code
8957
8958         * lyxtext.h:
8959         * text3.C:
8960         * text2.C:
8961         * text.C: use lyxrow helpers above.
8962           Move draw and paint routines to RowPainter.
8963           Make several methods use refs not pointers.
8964           Make backgroundColor() const.
8965           Add markChangeInDraw(), isInInset().
8966           Merge changeRegionCase into changeCase.
8967           Make workWidth() shouldn't-happen code into an Assert.
8968
8969         * rowpainter.h:
8970         * rowpainter.C: new class for painting a row.
8971
8972         * vspace.h:
8973         * vspace.C: make inPixels take a ref
8974
8975 2003-02-26  Angus Leeming  <leeming@lyx.org>
8976
8977         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8978         LFUN_REF_APPLY.
8979
8980 2003-02-25  John Levon  <levon@movementarian.org>
8981
8982         * ispell.C: give the forked command a more accurate name
8983
8984 2003-02-22  John Levon  <levon@movementarian.org>
8985
8986         * toc.h:
8987         * toc.C: make TocItem store an id not a Paragraph *
8988           (bug #913)
8989
8990 2003-02-21  Angus Leeming  <leeming@lyx.org>
8991
8992         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8993           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8994           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8995           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8996           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8997           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8998
8999         * BufferView_pimpl.C (dispatch):
9000         * LyXAction.C (init):
9001         * factory.C (createInset):
9002         * lyxfunc.C (getStatus, dispatch):
9003         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9004
9005 2003-02-21  Angus Leeming  <leeming@lyx.org>
9006
9007         * BufferView_pimpl.C (MenuInsertLyXFile):
9008         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9009         * lyxfunc.C (menuNew, open, doImport):
9010           no longer pass a LyXView & to fileDlg.
9011
9012 2003-02-21  Angus Leeming  <leeming@lyx.org>
9013
9014         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9015         * LyXAction.C: change, BIBKEY to BIBITEM.
9016         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9017         Change InsetBibKey to InsetBibitem.
9018         Change BIBKEY_CODE to BIBITEM_CODE.
9019         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9020         * factory.C: replace insetbib.h with insetbibitem.h.
9021         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9022         * paragraph.C: replace insetbib.h with insetbibitem.h.
9023         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9024         Change bibkey() to bibitem().
9025         * text.C: remove insetbib.h.
9026         * text2.C: replace insetbib.h with insetbibitem.h.
9027         change bibkey() to bibitem().
9028         * text3.C: remove insetbib.h.
9029         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9030
9031 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9032
9033         * lyxrc.C (output): enclose user email in quotes (in case there are
9034         several words)
9035
9036 2003-02-18  John Levon  <levon@movementarian.org>
9037
9038         * buffer.h: add std::
9039
9040 2003-02-17  John Levon  <levon@movementarian.org>
9041
9042         * SpellBase.h:
9043         * ispell.h:
9044         * ispell.C:
9045         * pspell.h:
9046         * pspell.C: reworking. Especially in ispell, a large
9047           number of clean ups and bug fixes.
9048
9049         * lyxfunc.C: fix revert to behave sensibly
9050
9051 2003-02-17 André Pönitz <poenitz@gmx.net>
9052
9053         * LyXAction.C:
9054         * commandtags.h: new LFUN_INSERT_BIBKEY
9055
9056         * layout.h:
9057         * lyxlayout.C:
9058         * buffer.C:
9059         * factory.C:
9060         * text.C:
9061         * text2.C:
9062         * text3.C:
9063         * paragraph.[Ch]:
9064         * paragraph_func.C: remove special bibkey handling
9065
9066 2003-02-17  John Levon  <levon@movementarian.org>
9067
9068         * text.C (Delete): fix case where delete at the end of
9069           the very first paragraph would not merge the pars
9070
9071 2003-02-17  John Levon  <levon@movementarian.org>
9072
9073         * lyxrow.C: fix lastPrintablePos()
9074
9075 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * bufferparams.C (writeLaTeX): add a std:here
9078
9079         * buffer.C: and remove a using directive there
9080
9081 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * buffer.C (makeLaTeXFile): move the code that generates the
9084           preamble...
9085
9086         * bufferparams.C (writeLaTeX): ... in this new method
9087
9088         * LaTeXFeatures.C (getEncodingSet): make const
9089           (getLanguages): make const
9090
9091         * MenuBackend.C (binding): returns the binding associated to this
9092           action
9093           (add): sets the status of each item by calling getStatus. Adds
9094           some intelligence.
9095           (read): add support for OptSubMenu
9096           (expand): remove extra separator at the end of expanded menu
9097
9098 2003-02-15  John Levon  <levon@movementarian.org>
9099
9100         * BufferView.C:
9101         * BufferView_pimpl.C:
9102         * bufferlist.h:
9103         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9104           inset code that had no actual effect. Remove unneeded status
9105           code.
9106
9107 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9110           in preamble
9111
9112 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9113
9114         * text.C (drawLengthMarker): also draw an arrow marker for
9115           symbolic lengths (medskip...)
9116
9117 2003-02-14  John Levon  <levon@movementarian.org>
9118
9119         * tabular.h:
9120         * tabular.C: better method names
9121
9122 2003-02-14  John Levon  <levon@movementarian.org>
9123
9124         * BufferView_pimpl.C:
9125         * bufferlist.C:
9126         * buffer.C:
9127         * converter.C:
9128         * lyx_cb.C:
9129         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9130           it's a more accurate name. Remove some pointless uses.
9131
9132 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9133
9134         * text2.C (LyXText): change order of initilizers to shut off
9135           warnings
9136
9137 2003-02-14  John Levon  <levon@movementarian.org>
9138
9139         * buffer.C: use ParIterator for getParFromID()
9140
9141         * paragraph.h:
9142         * paragraph.C:
9143         * paragraph_pimpl.h:
9144         * paragraph_pimpl.C: remove unused getParFromID()
9145
9146 2003-02-14  John Levon  <levon@movementarian.org>
9147
9148         * buffer.C: remove some very old #if 0'd parse code
9149
9150 2003-02-13  John Levon  <levon@movementarian.org>
9151
9152         * text.h:
9153         * text.C:
9154         * text2.C: move hfillExpansion(), numberOfSeparators(),
9155           rowLast(), rowLastPrintable(), numberofHfills(),
9156           numberOfLabelHfills() ...
9157
9158         * lyxrow.h:
9159         * lyxrow.C: ... to member functions here.
9160
9161         * paragraph.h:
9162         * paragraph.C:
9163         * lyxtext.h:
9164         * text.C: remove LyXText::beginningOfMainBody(), and call
9165           p->beginningOfMainBody() directly. Move the check for
9166           LABEL_MANUAL into the latter.
9167
9168         * text.h:
9169         * text.C:
9170         * text2.C:
9171         * vspace.C:
9172         * BufferView.h:
9173         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9174
9175         * text.h:
9176         * text.C:
9177         * text2.C:
9178         * text3.C:
9179         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9180           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9181
9182 2003-02-13  John Levon  <levon@movementarian.org>
9183
9184         * CutAndPaste.C: remove debug
9185
9186 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * paragraph.C (asString): remove two unused variables
9189
9190         * lyxtextclass.C (readTitleType):
9191           (Read):
9192           (LyXTextClass): handle new members titletype_ and titlename_
9193
9194         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9195
9196 2003-02-09  John Levon  <levon@movementarian.org>
9197
9198         * buffer.h:
9199         * buffer.C: replace hand-coded list with a map for the dep clean
9200
9201 2003-02-08  John Levon  <levon@movementarian.org>
9202
9203         * LaTeX.C: consolidate code into showRunMessage() helper
9204
9205 2003-02-08  John Levon  <levon@movementarian.org>
9206
9207         * lyxfind.C:
9208         * lyxtext.h:
9209         * text2.C:
9210         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9211           and pass the size in explicitly
9212
9213         * BufferView_pimpl.h:
9214         * BufferView_pimpl.C:
9215         * BufferView.h:
9216         * BufferView.C: add getCurrentChange()
9217
9218         * BufferView_pimpl.h:
9219         * BufferView_pimpl.C: handle change lfuns
9220
9221         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9222           for changes. Mark pasted paragraphs as new.
9223
9224         * support/lyxtime.h:
9225         * support/lyxtime.C:
9226         * DepTable.C: abstract time_t as lyx::time_type
9227
9228         * LColor.h:
9229         * LColor.C: add colours for new text, deleted text, changebars
9230
9231         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9232           package use "usenames" option.
9233
9234         * commandtags.h:
9235         * lyxfunc.C:
9236         * LyXAction.C: add change lfuns
9237
9238         * Makefile.am:
9239         * author.h:
9240         * author.C: author handling
9241
9242         * buffer.h:
9243         * buffer.C: add a per-buffer author list, with first entry as
9244           current author. Handle new .lyx tokens for change tracking. Output
9245           author list to .lyx file. Output dvipost stuff to .tex preamble.
9246           Bump lyx format to 222.
9247
9248         * bufferlist.h:
9249         * bufferlist.C: add setCurrentAuthor() to reset current author details
9250           in all buffers.
9251
9252         * bufferparams.h:
9253         * bufferparams.C: add param for tracking
9254
9255         * bufferview_funcs.C: output change info in minibuffer
9256
9257         * Makefile.am:
9258         * changes.h:
9259         * changes.C: add change-tracking structure
9260
9261         * debug.h:
9262         * debug.C: add CHANGES debug flag
9263
9264         * lyxfind.h:
9265         * lyxfind.C: add code for finding the next change piece
9266
9267         * lyxrc.h:
9268         * lyxrc.C: add user_name and user_email
9269
9270         * lyxrow.h:
9271         * lyxrow.C: add a metric for the top of the text line
9272
9273         * lyxtext.h:
9274         * text.C: implement accept/rejectChange()
9275
9276         * lyxtext.h:
9277         * text.C: paint changebars. Paint new/deleted text in the chosen
9278         colours. Strike through deleted text.
9279
9280         * paragraph.h:
9281         * paragraph.C:
9282         * paragraph_pimpl.h:
9283         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9284           in the current change to the insert functions. Rework erase to
9285           mark text as deleted, adding an eraseIntern() and a range-based
9286           erase(). Implement per-paragraph change lookup and
9287           accept/reject.
9288
9289         * paragraph_funcs.C: Fixup paste for change tracking.
9290
9291         * tabular.C: mark added row/columns as new.
9292
9293         * text.C: fix rowLast() to never return -1. Don't allow
9294           spellchecking of deleted text. Track transpose changes. Don't
9295           allow paragraph break or merge where appropriate.
9296
9297         * text2.C: leave cursor at end of selection after a cut.
9298
9299 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9300
9301         * text.C (getLengthMarkerHeight):
9302         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9303         visible on screen too.
9304
9305 2003-02-07  John Levon  <levon@movementarian.org>
9306
9307         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9308
9309 2003-02-05  Angus Leeming  <leeming@lyx.org>
9310
9311         * lyxserver.C (read_ready): revert my patch of 11 September last year
9312         as it sends PC cpu through the roof. Presumably this means that
9313         the lyxserver will no longer run on an Alpha...
9314
9315 2003-01-30  Angus Leeming  <leeming@lyx.org>
9316
9317         * factory.C (createInset): create an InsetCommandParam of type "index"
9318         and use it to 'do the right thing'.
9319
9320         * text2.C (getStringToIndex): ensure that cursor position is always
9321         reset to the reset_cursor position.
9322
9323 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9324
9325         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9326         disabled.
9327
9328 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9329
9330         * bufferview.C:
9331         * lyxcb.C:
9332         * lyxfunc.C: Output messages with identical spelling, punctuation,
9333         and spaces
9334
9335 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9336
9337         * MenuBackend.C (expandFormats): List only viewable export formats
9338         in "View" menu
9339
9340         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9341         message
9342
9343         * lyxfunc.C (getStatus): Make sure that formats other than
9344         "fax" can also be disabled
9345
9346 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9347
9348         * text3.C (dispatch): put the lfuns that insert insets in 3
9349         groups, and call doInsertInset with appropriate arguments.
9350         (doInsertInset): new function, that creates an inset and inserts
9351         it according to some boolean parameters.
9352
9353 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9354
9355         * buffer.C (readFile): remember to pass on 'par' when calling
9356         readFile recursively.
9357
9358 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9359
9360         * MenuBackend.C (expandFormats): add "..." to import formats.
9361
9362 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * paragraph.C (asString): Remove XForms RTL hacks.
9365
9366 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9367         * buffer.C: fix typo
9368
9369 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * Makefile.am (LIBS): delete var
9372         (lyx_LDADD): add @LIBS@ here instead.
9373
9374 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9375
9376         * Clarify the meaning of "wheel mouse jump"
9377
9378 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9379
9380         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9381         tabular in a float
9382
9383 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9384
9385         * importer.C (Loaders): do not preallocate 3 elements in the
9386         vector, since one ends up with 6 elements otherwise
9387
9388 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9389
9390         * DepTable.C (write): write the file name as last element of the
9391         .dep file (because it may contain spaces)
9392         (read): read info in the right order
9393
9394 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9395
9396         * paragraph_pimpl.C (simpleTeXBlanks):
9397         (simpleTeXSpecialChars):
9398         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9399
9400         * tabular.C (latex): add some missing case statements. Reindent.
9401
9402         * MenuBackend.C (expandToc): remove unused variable.
9403
9404 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9405
9406         * LColor.C:
9407         * LaTeX.C:
9408         * LyXAction.C:
9409         * MenuBackend.C:
9410         * buffer.C:
9411         * exporter.C:
9412         * lyxfunc.C:
9413         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9414         and the like.
9415
9416 2003-01-05  John Levon  <levon@movementarian.org>
9417
9418         * BufferView.h:
9419         * BufferView.C: add getEncoding()
9420
9421         * kbsequence.h:
9422         * kbsequence.C: do not store last keypress
9423
9424         * lyxfunc.h:
9425         * lyxfunc.C: store last keypress here instead. Pass encoding
9426           to getISOEncoded()
9427
9428 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9429
9430         * lyx_main.C (init): remove annoying error message when following
9431         symbolic links (bug #780)
9432
9433 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9434
9435         * text.C (insertChar):
9436         * lyxrc.C (getDescription): remove extra spaces
9437
9438 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9439
9440         * lyxrc.C (getDescription): remove extra spaces
9441
9442 2002-12-20  John Levon  <levon@movementarian.org>
9443
9444         * text3.C: hack fix for page up/down across tall rows
9445
9446 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9447
9448         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9449         not been invoked
9450
9451 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9452
9453         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9454         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9455         thesaurus is not compiled in
9456
9457 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9458
9459         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9460
9461 2002-12-16  Angus Leeming  <leeming@lyx.org>
9462
9463         * lyxrc.[Ch]:
9464         * lyx_main.C (init): remove override_x_deadkeys stuff.
9465
9466 2002-12-12  John Levon  <levon@movementarian.org>
9467
9468         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9469           insert. Only remove shift modifier under strict
9470           circumstances.
9471
9472 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9473
9474         * MenuBackend.C (expandToc): fix crash.
9475
9476 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9477
9478         * MenuBackend.C (expandToc): gettext on float names.
9479
9480 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9481
9482         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9483         implement bool empty() [bug 490]
9484
9485 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9486
9487         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9488
9489 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9490
9491         * several files: ws changes
9492
9493 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9494
9495         * text2.C (setCounter): clean up a bit, use boost.format.
9496         (updateCounters): initialize par upon declaration.
9497
9498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9499         if the layout exists. We do not just store the layout any more.
9500         (SwitchLayoutsBetweenClasses): use boost.format
9501
9502 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9503
9504         * converter.C (convert): if from and to files are the same, use a
9505         temporary files as intermediary
9506
9507 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9508
9509         * commandtags.h:
9510         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9511
9512 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9513
9514         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9515
9516 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9517
9518         * tabular.C (asciiPrintCell): use string(size, char) instead of
9519         explicit loop.
9520
9521         * sgml.C (openTag): fix order of arguments to string constructor
9522         (closeTag): ditto
9523
9524         * lyxfunc.C (dispatch): use boost.format
9525
9526         * lots of files: change "c" -> 'c'
9527
9528 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9529
9530         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9531
9532 2002-11-25  Angus Leeming  <leeming@lyx.org>
9533
9534         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9535
9536         * lyx_main.C (init): compile fix.
9537
9538 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * lyx_cb.C (start): boost.formatify
9541         do not include <iostream>
9542
9543         * lengthcommon.C: ws only
9544
9545         * boost-inst.C,BoostFormat.h: add more explict instantations
9546
9547 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9548
9549         * lots of files: handle USE_BOOST_FORMAT
9550
9551 2002-11-21  John Levon  <levon@movementarian.org>
9552
9553         * pspell.C: fix compile
9554
9555 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9556
9557         * lyxfunc.C (dispatch): use boost::format
9558         (open): ditto
9559         (doImport): ditto
9560
9561         * lyxfont.C (stateText): use boost::format
9562
9563         * lyx_main.C (LyX): use boost::format
9564         (init): ditto
9565         (queryUserLyXDir): ditto
9566         (readRcFile): ditto
9567         (parse_dbg): ditto
9568         (typedef boost::function): use the recommened syntax.
9569
9570         * importer.C (Import): use boost::format
9571
9572         * debug.C (showLevel): use boost::format
9573
9574         * converter.C (view): use boost::format
9575         (convert): ditto
9576         (move): ditto
9577         (scanLog): ditto
9578
9579         * bufferview_funcs.C (currentState): use boost::format
9580
9581         * bufferlist.C (emergencyWrite): use boost::format
9582
9583         * buffer.C (readLyXformat2): use boost::format
9584         (parseSingleLyXformat2Token): ditto
9585
9586         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9587
9588         * LaTeX.C (run): use boost::format
9589
9590         * Chktex.C (scanLogFile): use boost::format
9591
9592         * BufferView_pimpl.C (savePosition): use boost::format
9593         (restorePosition): ditto
9594         (MenuInsertLyXFile): ditto
9595
9596         * BoostFormat.h: help file for explicit instation.
9597
9598 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9599
9600         * tabular.C (latex): Support for block alignment in fixed width
9601         columns.
9602
9603 2002-11-17  John Levon  <levon@movementarian.org>
9604
9605         * BufferView_pimpl.C:
9606         * lyx_cb.C:
9607         * lyxfunc.C: split filedialog into open/save
9608
9609 2002-11-08  Juergen Vigna  <jug@sad.it>
9610
9611         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9612         by my last patch (hopefully).
9613
9614 2002-11-08  John Levon  <levon@movementarian.org>
9615
9616         * iterators.h:
9617         * iterators.C:
9618         * buffer.h:
9619         * buffer.C:
9620         * paragraph.h:
9621         * paragraph.C:
9622         * toc.h:
9623         * toc.C: ParConstIterator, and use it (from Lars)
9624
9625 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9626
9627         * lyxtextclass.[Ch]: revise and add doxygen comments
9628
9629 2002-11-07  John Levon  <levon@movementarian.org>
9630
9631         * text.C: fix progress value for spellchecker
9632
9633         * toc.C: fix navigate menu for insetwrap inside minipage
9634
9635         * paragraph_funcs.C: added FIXME for suspect code
9636
9637 2002-11-07  John Levon  <levon@movementarian.org>
9638
9639         * BufferView_pimpl.C: fix redrawing of insets
9640           on buffer switch
9641
9642 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9643
9644         * text2.C (updateCounters): fix bug 668
9645
9646 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * text3.C (dispatch): Do not make the buffer dirty when moving the
9649         cursor.
9650
9651 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * vc-backend.C: STRCONV
9654         (scanMaster): ditto
9655
9656         * text2.C (setCounter): STRCONV
9657
9658         * paragraph.C (asString): STRCONV
9659
9660         * lyxlength.C (asString): STRCONV
9661         (asLatexString): ditto
9662
9663         * lyxgluelength.C (asString): STRCONV
9664         (asLatexString): ditto
9665
9666         * lyxfunc.C (dispatch): STRCONV
9667         (open): ditto
9668
9669         * lyxfont.C (stateText): STRCONV
9670
9671         * importer.C (Import): STRCONV
9672
9673         * counters.C (labelItem): STRCONV
9674         (numberLabel): ditto
9675         (numberLabel): remove unused ostringstream o
9676
9677         * chset.C: STRCONV
9678         (loadFile): ditto
9679
9680         * bufferview_funcs.C (currentState): STRCONV
9681
9682         * buffer.C (readFile): STRCONV
9683         (asciiParagraph): ditto
9684         (makeLaTeXFile): ditto
9685
9686         * Spacing.C (writeEnvirBegin): STRCONV
9687
9688         * LaTeXFeatures.C (getLanguages): STRCONV
9689         (getPackages): ditto
9690         (getMacros): ditto
9691         (getBabelOptions): ditto
9692         (getTClassPreamble): ditto
9693         (getLyXSGMLEntities): ditto
9694         (getIncludedFiles): ditto
9695
9696         * LaTeX.C: STRCONV
9697         (run): ditto
9698         (scanAuxFile): ditto
9699         (deplog): ditto
9700
9701         * LString.h: add the STRCONV macros
9702
9703         * BufferView_pimpl.C (savePosition): STRCONV
9704         (restorePosition): ditto
9705         (MenuInsertLyXFile): ditto
9706
9707         * vc-backend.C (scanMaster): change from submatch[...] to
9708         submatch.str(...)
9709
9710         * funcrequest.C: include config.h
9711
9712         * factory.C: include config.h
9713
9714         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9715
9716         * box.C: include config.h
9717
9718         * LaTeX.C (scanAuxFile): change from submatch[...] to
9719         submatch.str(...)
9720         (deplog): ditto
9721
9722 2002-10-25  Angus Leeming  <leeming@lyx.org>
9723
9724         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9725
9726         * ispell.[Ch] (setError): new method.
9727         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9728         Use setError() insetead of goto END.
9729
9730         * lyx_cb.C (AutoSave): move out child process into new class
9731         AutoSaveBuffer.
9732
9733 2002-10-30  John Levon  <levon@movementarian.org>
9734
9735         * text3.C: make start appendix undoable
9736
9737 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9738
9739         * lyxlength.C (inPixels): Fix returned value.
9740
9741         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9742         environment.
9743
9744 2002-10-24  Angus Leeming  <leeming@lyx.org>
9745
9746         * lyxgluelength.h: no need to forward declare BufferParams
9747         or BufferView, so don't.
9748
9749 2002-10-21  John Levon  <levon@movementarian.org>
9750
9751         * BufferView.C: menuUndo ->undo, redo
9752
9753         * BufferView.h: document, remove dead, make some methods private
9754
9755         * paragraph_funcs.h:
9756         * paragraph_funcs.C:
9757         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9758
9759         * buffer.h:
9760         * buffer.C:
9761         * sgml.h:
9762         * sgml.C: move sgml open/close tag into sgml.C
9763
9764         * bufferview_funcs.h: unused prototype
9765
9766         * lyxfunc.h:
9767         * lyxfunc.C: remove unused
9768
9769         * lyxtext.h:
9770         * text.C: remove unused
9771
9772 2002-10-21  John Levon  <levon@movementarian.org>
9773
9774         * BufferView.h:
9775         * BufferView.C:
9776         * BufferView_pimpl.h:
9777         * BufferView_pimpl.C: fix mouse wheel handling based on
9778           patch from Darren Freeman
9779
9780 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9783
9784 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9785
9786         * lyxlength.C (inPixels): Fix hanfling of negative length.
9787         Fix LyXLength::MU case.
9788
9789 2002-10-16  John Levon  <levon@movementarian.org>
9790
9791         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9792
9793 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9794
9795         * converter.C (view): add support for $$i (file name) and $$p
9796         (file path) for the viewer command. If $$i is not specified, then
9797         it is appended to the command (for compatibility with old syntax)
9798
9799 2002-10-14  Juergen Vigna  <jug@sad.it>
9800
9801         * undo_funcs.C (textHandleUndo): alter the order in which the
9802         new undopar is added to the LyXText, as we have to set first
9803         the right prev/next and then add it as otherwise the rebuild of
9804         LyXText is not correct. Also reset the cursor to the right paragraph,
9805         with this IMO we could remove the hack in "redoParagraphs()".
9806
9807 2002-10-09  Angus Leeming  <leeming@lyx.org>
9808
9809         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9810         to turn off an optimisation if a new inset is to be inserted.
9811
9812 2002-10-11 André Pönitz <poenitz@gmx.net>
9813
9814         * lyxtext.h: make some functions public to allow access
9815         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9816
9817 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9818
9819         * text3.C (dispatch): when changing layout, avoid an infinite loop
9820         [bug #652]
9821
9822 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9823
9824         * lyxrc.C (read): treat a viewer or converter command of "none" as
9825         if it were empty.
9826
9827         * MenuBackend.C (expandFormats): for an update, also allow the
9828         formats that are not viewable
9829
9830         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9831         script if it is newer than the lyxrc.defaults in user directory
9832
9833 2002-10-07 André Pönitz <poenitz@gmx.net>
9834
9835         * text.C: Vitaly Lipatov's small i18n fix
9836
9837 2002-09-25  Angus Leeming  <leeming@lyx.org>
9838
9839         * ispell.h: doxygen fix.
9840
9841 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9842
9843         * buffer.h (readFile): Add a new argument to the method, to allow
9844         reading of old-format templates.
9845
9846 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * toc.C (getTocList): Get TOC from InsetWrap.
9849
9850 2002-09-16  John Levon  <levon@movementarian.org>
9851
9852         * lyxfunc.C: check tabular for cut/copy too
9853
9854 2002-09-12  John Levon  <levon@movementarian.org>
9855
9856         * LyXAction.C: tidy
9857
9858         * factory.h:
9859         * factory.C: add header
9860
9861         * paragraph_funcs.h:
9862         * paragraph_funcs.C: cleanup
9863
9864 2002-09-11  John Levon  <levon@movementarian.org>
9865
9866         * PrinterParams.h: odd/even default to true
9867
9868 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9869
9870         * PrinterParams.h: update printer parameters for new xforms dialog
9871
9872 2002-09-11  Angus Leeming  <leeming@lyx.org>
9873
9874         * lyxserver.C (read_ready): re-write to make it more transparent
9875         and to make it work in coherent fashion under Tru64 Unix.
9876
9877 2002-09-11  André Pönitz <poenitz@gmx.net>
9878
9879         * commandtags.h:
9880         * LyXAction.C:
9881         * text3.C: implement LFUN_WORDSEL
9882
9883 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9886         make floatlist_ a boost::shared_ptr<FloatList>
9887
9888         * lyxtextclass.C: include FloatList.h
9889         (LyXTextClass): initialize floatlist_
9890         (TextClassTags): add TC_NOFLOAT
9891         (Read): match "nofloat" to TC_NOFLOAT and use it.
9892         (readFloat): modify call to floatlist_
9893         (floats): ditto
9894         (floats): ditto
9895
9896         * FloatList.[Ch] (FloatList): remove commented out float
9897         initialization.
9898         (erase): new function
9899
9900 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9901
9902         * MenuBackend.C (expandToc): fix crash when there is no document
9903         open
9904
9905 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9906
9907         * many files: Add insetwrap.
9908
9909 2002-09-09  John Levon  <levon@movementarian.org>
9910
9911         * text2.C: remove confusing and awkward depth wraparound
9912
9913 2002-09-09  John Levon  <levon@movementarian.org>
9914
9915         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9916
9917         * buffer.h:
9918         * buffer.C: remove getIncludeonlyList()
9919
9920         * paragraph.C:
9921         * lyxfunc.C: remove headers
9922
9923 2002-09-09  Juergen Vigna  <jug@sad.it>
9924
9925         * text.C (getColumnNearX): fix form Michael this is most
9926         probably a cut&paste bug.
9927
9928 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9929
9930         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9931
9932         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9933         references, ws changes.
9934
9935         * text2.C (init): update counters after init
9936         (insertParagraph): no need to set counter on idividual paragraphs.
9937         (setCounter): access the counters object in the textclass object
9938         on in the buffer object.
9939         (updateCounters): ditto
9940
9941         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9942         shared_ptr<Counters> to avoid loading counters.h in all
9943         compilation units.
9944         (LyXTextClass): initialize ctrs_
9945         (TextClassTags): add TC_COUNTER, and ...
9946         (Read): use it here.
9947         (CounterTags): new tags
9948         (readCounter): new function
9949         (counters): new funtion
9950         (defaultLayoutName): return a const reference
9951
9952         * counters.C (Counters): remove contructor
9953         (newCounter): remove a couple of unneeded statements.
9954         (newCounter): simplify a bit.
9955         (numberLabel): some small formatting changes.
9956
9957         * buffer.[Ch]: remove all traces of counters, move the Counters
9958         object to the LyXTextClass.
9959
9960 2002-09-06  Alain Castera  <castera@in2p3.fr>
9961
9962         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9963         package to set the horizontal alignment on fixed width columns.
9964
9965         * lyx_sty.C:
9966         * lyx_sty.h: added tabularnewline macro def.
9967
9968         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9969
9970 2002-09-06  John Levon  <levon@movementarian.org>
9971
9972         * LyXAction.C: tooltips for sub/superscript
9973
9974         * MenuBackend.C: a bit more verbose
9975
9976         * lyxfunc.C: tiny clean
9977
9978         * undo_funcs.C: document undo_frozen
9979
9980 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9981
9982         * counters.C (Counters): add missing algorithm counter.
9983
9984         * text2.C (setCounter): lookup the counter with layouts latexname
9985         instead of by section number.
9986         (setCounter): use a hackish way to lookup the correct enum
9987         counter.
9988         a float name->type change
9989         reset enum couners with counter name directly instead of depth value.
9990
9991         * counters.C (Counters): remove the push_backs, change to use the
9992         float type not the float name.
9993         (labelItem): remove unused string, float name->type change
9994
9995         * counters.h: don't include vector, loose the enums and sects vectors
9996
9997 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9998
9999         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10000         (Read): add float->TC_FLOAT to textclassTags
10001         (Read): and handle it in the switch
10002         (readFloat): new function
10003
10004         * FloatList.C (FloatList): comment out the hardcoded float
10005         definitions.
10006
10007         * lyxlayout.h: ws change.
10008
10009 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10012
10013 2002-09-03  Angus Leeming  <leeming@lyx.org>
10014
10015         * BufferView_pimpl.h: qualified name is not allowed in member
10016         declaration: WorkArea & Pimpl::workarea() const;
10017
10018         * factory.C: added using std::endl directive.
10019
10020         * text3.C: added using std::find and std::vector directives.
10021
10022 2002-08-29  André Pönitz <poenitz@gmx.net>
10023
10024         * lyxtext.h:
10025         * text2.C: remove unused member number_of_rows
10026
10027         * Makefile.am:
10028         * BufferView2.C: remove file, move contents to...
10029         * BufferView.C: ... here
10030
10031         * BufferView_pimpl.C:
10032         * factory.C: move more inset creation to factory
10033
10034         * vspace.C: avoid direct usage of LyXText, ws changes
10035
10036         * BufferView.[Ch]:
10037                 don't provide direct access to WorkArea, use two simple
10038                 acessors haveSelction() and workHeight() instead
10039
10040
10041 2002-08-29  John Levon  <levon@movementarian.org>
10042
10043         * BufferView_pimpl.C (dispatch): do not continue when
10044           no buffer
10045
10046 2002-08-28  André Pönitz <poenitz@gmx.net>
10047
10048         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10049
10050         * BufferView.h:
10051         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10052
10053 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10054
10055         * buffer.C: increment LYX_FORMAT to 221
10056
10057         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10058         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10059
10060         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10061
10062         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10063
10064 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * factory.C (createInset): use LyXTextClass::floats
10067
10068         * MenuBackend.C (expandFloatListInsert):
10069         (expandFloatInsert):
10070         (expandToc):
10071
10072         * text2.C (setCounter):
10073
10074         * LaTeXFeatures.C (useFloat):
10075         (getFloatDefinitions):
10076
10077         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10078
10079         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10080         floatlist_, with accessor floats().
10081
10082         * FloatList.h: remove global FloatList
10083
10084 2002-08-26  André Pönitz <poenitz@gmx.net>
10085
10086         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10087
10088         * BufferView.h:
10089         * BufferView2.C:
10090         * BufferView_pimpl.C:
10091         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10092
10093 2002-08-25  John Levon  <levon@movementarian.org>
10094
10095         * LyXAction.C: fix margin note description
10096
10097 2002-08-24  John Levon  <levon@movementarian.org>
10098
10099         * buffer.C:
10100         * bufferlist.C:
10101         * bufferview_funcs.C:
10102         * lyxfont.C:
10103         * undo_funcs.C: cleanups
10104
10105         * lyxfunc.C: disable CUT/COPY when no selection
10106
10107 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10108
10109         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10110         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10111
10112         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10113         Add backward compatibility to "mono", "gray" and "no".
10114
10115 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10116
10117         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10118         (and file_format >= 200).
10119
10120 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10121
10122         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10123
10124 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10125
10126         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10127
10128 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10129
10130         * BufferView_pimpl.C:
10131         * LyXAction.C:
10132         * buffer.C:
10133         * commandtags.h:
10134         * lyxfunc.C:
10135         * paragraph.[Ch]:
10136         * text2.C:
10137         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10138         inset and code to make it  work with the paragraph code. The inset
10139         can be anywhere in the paragraph, but will only do the expected
10140         thing in LaTeX if the layout file contains the parameter line
10141                         OptionalArgs    1
10142         (or more generally, a nonzero value) for that layout.
10143
10144 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10145
10146         * paragraph.h: remove the declaration of undefined counters class
10147         function.
10148
10149 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10150
10151         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10152         Dr. Richard Hawkins.
10153
10154 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10155
10156         * paragraph_funcs.h: remove some unneeded includes
10157
10158         * text.C (backspace): pasteParagraph now in global scipe
10159
10160         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10161         (pasteSelection): ditto
10162
10163         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10164         * paragraph_funcs.C (pasteParagraph): ... here
10165
10166 2002-08-20  André Pönitz <poenitz@gmx.net>
10167
10168         * commandtags.h: new LFUNs for swapping/copying table row/colums
10169
10170         * LyXAction.C:
10171         * lyxfunc.C: support for new lfuns
10172
10173 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10174
10175         * tabular.C:
10176         * buffer.[Ch]: remove NO_COMPABILITY stuff
10177
10178 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10179
10180         * boost.C (throw_exception): new file, with helper function for
10181         boost compiled without exceptions.
10182
10183         * paragraph.h:
10184         * lyxlength.C:
10185         * buffer.C:
10186         * ParameterStruct.h:
10187         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10188
10189         * bufferlist.C (emergencyWriteAll): use boost bind
10190
10191         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10192
10193         * text.C: include paragraph_funcs.h
10194         (breakParagraph): breakParagraph is now in global scope
10195
10196         * paragraph_funcs.[Ch]: new files
10197
10198         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10199         global scope
10200
10201         * buffer.C: include paragraph_funcs.h
10202         (insertStringAsLines): breakParagraph is now in global scope
10203
10204         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10205         paragraph_funcs.C
10206
10207         * CutAndPaste.C: include paragraph_funcs.h
10208         (cutSelection): breakParagraphConservative is now in global scope
10209         (pasteSelection): ditto
10210
10211         * buffer.h: declare oprator== and operator!= for
10212         Buffer::inset_iterator
10213
10214         * bufferlist.C (emergencyWrite): don't use fmt(...)
10215
10216         * text3.C: add using std::endl
10217
10218         * BufferView.C (moveCursorUpdate): remove default arg
10219
10220 2002-08-20  André Pönitz <poenitz@gmx.net>
10221
10222         * buffer.[Ch]: move inline functions to .C
10223
10224         * BufferView2.C:
10225         * BufferView_pimpl.C:
10226         * text.C:
10227         * buffer.[Ch]: use improved inset_iterator
10228
10229         * buffer.C:
10230         * paragraph.[Ch]: write one paragraph at a time
10231
10232 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10235         style if style is not specified.
10236
10237 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * text2.C (setCounter): when searching for right label for a
10240         caption, make sure to recurse to parent insets (so that a caption
10241         in a minipage in a figure float works) (bug #568)
10242
10243 2002-08-20  André Pönitz <poenitz@gmx.net>
10244
10245         * text3.C: new file for LyXText::dispatch() and helpers
10246
10247         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10248
10249         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10250
10251 2002-08-19  André Pönitz <poenitz@gmx.net>
10252
10253         * lyxtext.h:
10254         * text.C: new LyXText::dispatch()
10255
10256         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10257
10258 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10259
10260         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10261
10262         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10263         Hebrew text.
10264
10265 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * Makefile.am: use $(variables) instead of @substitutions@
10268
10269 2002-08-15  André Pönitz <poenitz@gmx.net>
10270
10271         * lyxfunc.C:
10272         * BufferView_pimpl.C: streamlining mathed <-> outer world
10273         interaction
10274
10275         * commandtags.h:
10276         * LyXAction.C: remove unused LFUN_MATH
10277
10278 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10279
10280         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10281
10282 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10283
10284         * paragraph.C (Paragraph): reformat a bit
10285         (cutIntoMinibuffer): use builtin InsetList function instad of
10286         doing it manually.
10287         (getInset): ditto
10288
10289         * buffer.C: include boost/bind.hpp, add using std::for_each
10290         (writeFileAscii): use ParagraphList iterators
10291         (validate): use for_each for validate traversal of paragraphs
10292         (getBibkeyList): use ParagraphList iterators
10293         (resizeInsets): use for_each to resizeInsetsLyXText for all
10294         paragraphs.
10295         (getParFromID): use ParagraphList iterators
10296
10297         * BufferView2.C (lockInset): use paragraph list and iterators
10298
10299 2002-08-14  John Levon  <levon@movementarian.org>
10300
10301         * lyxserver.C: remove spurious xforms include
10302
10303 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10306
10307 2002-08-13  André Pönitz <poenitz@gmx.net>
10308
10309         * LyXAction.[Ch]:
10310         * lyxfunc.C: further cleaning
10311
10312 2002-08-13  André Pönitz <poenitz@gmx.net>
10313
10314         * funcrequest.h: new constructor
10315
10316         * funcrequest.C: move stuff here from .h
10317
10318         * Makefile.am:
10319         * BufferView_pimpl.C:
10320         * LyXAction.C:
10321         * toc.C:
10322         * lyxfunc.C: subsequent changes
10323
10324         * lyxfunc.h: new view() member function
10325
10326         * lyxfunc.C: subsequent changes
10327
10328 2002-08-13  Angus Leeming  <leeming@lyx.org>
10329
10330         * BufferView2.C:
10331         * BufferView_pimpl.C:
10332         * buffer.C:
10333         * converter.C:
10334         * importer.C:
10335         * lyxfunc.C:
10336         * lyxvc.C:
10337         * toc.C:
10338         * vc-backend.C:
10339         changes due to the changed LyXView interface that now returns references
10340         to member variables not pointers.
10341
10342 2002-08-13  Angus Leeming  <leeming@lyx.org>
10343
10344         * WordLangTuple (word, lang_code): return references to strings,
10345         not strings.
10346
10347         * BufferView.h:
10348         * SpellBase.h:
10349         * lyxtext.h: forward-declare WordLangTuple.
10350
10351         * BufferView2.C:
10352         * ispell.C:
10353         * pspell.C:
10354         * text.C: #include "WordLangTuple.h".
10355
10356         * lyxtext.h:
10357         * text.C: (selectNextWordToSpellcheck): constify return type.
10358
10359 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10360
10361         * buffer.C:
10362         * buffer.h:
10363         * lyxtext.h:
10364         * paragraph.C:
10365         * paragraph_pimpl.h:
10366         * text.C:
10367         * text2.C:
10368         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10369         suggested by Angus.
10370         Made updateCounter always count from start of buffer, and removed
10371         second argument (par).
10372         Reverted floats number display to '#'. Perhaps I'll try again when the
10373         code base is sanitized a bit.
10374
10375 2002-08-12  Angus Leeming  <leeming@lyx.org>
10376
10377         * buffer.[Ch] (getLabelList): constify.
10378
10379 2002-08-07  André Pönitz <poenitz@gmx.net>
10380
10381         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10382
10383         * funcrequest.h: extension to keep mouse (x,y) position
10384
10385 2002-08-12  Juergen Vigna  <jug@sad.it>
10386
10387         * BufferView2.C (insertErrors): forbid undo when inserting error
10388         insets.
10389
10390         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10391
10392 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10393
10394         * ParagraphList.[Ch]: new files
10395
10396         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10397
10398         * BufferView2.C (lockInset): ParagraphList changes
10399         * toc.C: ditto
10400         * text2.C: ditto
10401         * bufferlist.C: ditto
10402         * buffer.h: ditto
10403         * buffer.C: ditto
10404
10405 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10406
10407         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10408         unused class variable counter_,
10409
10410         * paragraph.[Ch] (getFirstCounter): delete unused function
10411
10412         * counters.C: include LAssert.h
10413         (reset): add a new function with no arg, change other version to
10414         not have def. arg and to not allow empty arg.
10415
10416         * text2.C (setCounter): remove empty arg from call to Counters::reset
10417
10418 2002-08-11  John Levon  <levon@movementarian.org>
10419
10420         * Makefile.am: add WordLangTuple.h
10421
10422 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10423
10424         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10425         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10426
10427         * insets/insettext.C: InsetList changes
10428
10429         * graphics/GraphicsSupport.C (operator()): InsetList changes
10430
10431         * toc.C (getTocList): InsetList changes
10432
10433         * paragraph_pimpl.[Ch]: InsetList changes
10434
10435         * paragraph.[Ch]: InsetList changes
10436
10437         * buffer.C (inset_iterator): InsetList changes
10438         (setParagraph): ditto
10439         * buffer.h (inset_iterator): ditto
10440         * iterators.C (operator++): ditto
10441         * iterators.h: ditto
10442
10443         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10444
10445         * InsetList.[Ch]: new files, most InsetList handling moved out of
10446         paragraph.C.
10447
10448         * BufferView2.C (removeAutoInsets): InsetList changes
10449         (lockInset): ditto
10450         (ChangeInsets): ditto
10451
10452 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10453
10454         * paragraph_pimpl.h (empty): new function
10455
10456         * paragraph.[Ch] (empty): new function
10457
10458         * other files: use the new Paragraph::empty function
10459
10460 2002-08-09  John Levon  <levon@movementarian.org>
10461
10462         * lyxtext.h: remove unused refresh_height
10463
10464 2002-08-09  John Levon  <levon@movementarian.org>
10465
10466         * Makefile.am:
10467         * sgml.h:
10468         * sgml.C:
10469         * buffer.C:
10470         * paragraph.h:
10471         * paragraph.C: move sgml char escaping out of paragraph
10472
10473         * paragraph.h:
10474         * paragraph.C: remove id setter
10475
10476         * buffer.C:
10477         * paragraph.C:
10478         * paragraph_pimpl.C: remove dead tex_code_break_column
10479
10480         * bufferview_funcs.C: small cleanup
10481
10482         * lyxfunc.C: remove dead proto
10483
10484         * lyxtext.h: make some stuff private. Remove some dead stuff.
10485
10486         * lyxgluelength.C: make as[LyX]String() readable
10487
10488 2002-08-08  John Levon  <levon@movementarian.org>
10489
10490         * LyXAction.h:
10491         * LyXAction.C:
10492         * MenuBackend.C:
10493         * ToolbarDefaults.C:
10494         * lyxfunc.C:
10495         * lyxrc.C:
10496         * toc.C: lyxaction cleanup
10497
10498 2002-08-08  John Levon  <levon@movementarian.org>
10499
10500         * BufferView2.C: small cleanup
10501
10502         * lyxfind.h:
10503         * lyxfind.C: move unnecessary header into the .C
10504
10505 2002-08-08  John Levon  <levon@movementarian.org>
10506
10507         * funcrequest.h: just tedious nonsense
10508
10509         * lyx_main.h:
10510         * lyx_main.C: cleanups
10511
10512         * buffer.C:
10513         * vspace.C: remove dead header lyx_main.h
10514
10515 2002-08-07  Angus Leeming  <leeming@lyx.org>
10516
10517         * Paragraph.[Ch]:
10518         * paragraph_pimpl.h:
10519         Forward declare class Counters in paragraph.h by moving the ctrs member
10520         variable into Paragraph::Pimpl.
10521         (counters): new method, returning a reference to pimpl_->ctrs.
10522
10523         * text2.C: ensuing changes.
10524
10525 2002-08-07  John Levon  <levon@movementarian.org>
10526
10527         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10528
10529         * BufferView_pimpl.C: announce X selection on double/triple
10530           click
10531
10532         * lyx_main.C: use correct bool in batch dispatch
10533
10534         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10535
10536 2002-08-07  André Pönitz <poenitz@gmx.net>
10537
10538         * funcrequest.h: new class to wrap a kb_action and its argument
10539
10540         * BufferView.[Ch]:
10541         * BufferView_pimpl[Ch]:
10542         * LaTeX.C:
10543         * LyXAction.[Ch]:
10544         * lyxfunc.[Ch]:
10545         * lyxrc.C: subsequent changes
10546
10547
10548 2002-08-07  John Levon  <levon@movementarian.org>
10549
10550         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10551           document options change.
10552
10553 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10554
10555         * counters.[Ch]
10556         * text2.C
10557         * paragraph.[Ch]
10558         * makefile.am: move counters functionality over from
10559         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10560
10561 2002-08-06  John Levon  <levon@movementarian.org>
10562
10563         * WordLangTuple.h: new file for word + language code tuple
10564
10565         * SpellBase.h:
10566         * pspell.h:
10567         * pspell.C:
10568         * ispell.h:
10569         * ispell.C:
10570         * lyxtext.h:
10571         * text.C:
10572         * text2.C:
10573         * BufferView.h:
10574         * BufferView2.C: use WordLangTuple
10575
10576         * layout.h:
10577         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10578
10579 2002-08-06  John Levon  <levon@movementarian.org>
10580
10581         * lyx_main.C: fix cmdline batch handling
10582
10583 2002-08-06  André Pönitz <poenitz@gmx.net>
10584
10585         * lyxrc.C: set default for show_banner to true
10586
10587 2002-08-06  John Levon  <levon@movementarian.org>
10588
10589         * pspell.C: fix a crash, and allow new aspell to work
10590
10591 2002-08-06  John Levon  <levon@movementarian.org>
10592
10593         * lyxfunc.C:
10594         * kbmap.C: small cleanup
10595
10596         * vspace.h:
10597         * vspace.C: add const
10598
10599 2002-08-05  John Levon  <levon@movementarian.org>
10600
10601         * LyXAction.C: back to tabular-insert
10602
10603 2002-08-04  John Levon  <levon@movementarian.org>
10604
10605         * BufferView.h:
10606         * BufferView.C: cosmetic change
10607
10608         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10609
10610         * bufferlist.C:
10611         * buffer.h:
10612         * buffer.C:
10613         * lyxcb.h:
10614         * lyxcb.C:
10615         * lyxserver.C:
10616         * lyxvc.C:
10617         * vc-backend.C:
10618         * BufferView2.C: purge all "Lyx" not "LyX" strings
10619
10620         * lyxcursor.h:
10621         * lyxcursor.C: attempt to add some documentation
10622
10623         * lyxfunc.C:
10624         * commandtags.h:
10625         * LyXAction.C:
10626         * ToolbarDefaults.C:
10627         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10628           merge with LFUN_TABULAR_INSERT
10629
10630         * Makefile.am:
10631         * SpellBase.h:
10632         * ispell.h:
10633         * ispell.C:
10634         * pspell.h:
10635         * pspell.C: split up i/pspell implementations into separate
10636           files, many cleanups
10637
10638         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10639
10640         * text2.C: some cleanup
10641
10642         * lyxfunc.C: don't check for isp_command == "none" any more, it
10643           didn't make any sense
10644
10645 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10646
10647         * counters.[Ch]
10648         * text2.C
10649         * paragraph.[Ch]
10650         * makefile.am: move counters functionality over
10651         from text2.C/paragraph.[Ch] to counters.[Ch], and
10652         make proper C++.
10653 2002-08-02  John Levon  <levon@movementarian.org>
10654
10655         * buffer.C: s/lyxconvert/lyx2lyx/
10656
10657 2002-08-02  Angus Leeming  <leeming@lyx.org>
10658
10659         * lyxlex.C: revert John's change as it breaks reading of the user
10660         preamble.
10661
10662 2002-08-02  Angus Leeming  <leeming@lyx.org>
10663
10664         * importer.C (Import):
10665         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10666         changes due to LyXView::view() now returning a boost::shared_ptr.
10667
10668 2002-08-02  John Levon  <levon@movementarian.org>
10669
10670         * lyxlex.C: small cleanup
10671
10672 2002-08-02  John Levon  <levon@movementarian.org>
10673
10674         * text2.C (status): small cleanup, no logic change
10675
10676 2002-08-01  John Levon  <levon@movementarian.org>
10677
10678         * buffer.h:
10679         * buffer.C (writeFile): don't output alerts, caller
10680           handles this
10681
10682         * bufferlist.C:
10683         * lyx_cb.C: from above
10684
10685         * lyxfunc.C: allow to open non-existent files
10686
10687 2002-07-31  John Levon  <levon@movementarian.org>
10688
10689         * lyxserver.C: don't let incidental errors get
10690           in the way (errno)
10691
10692 2002-07-30  John Levon  <levon@movementarian.org>
10693
10694         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10695
10696 2002-07-30  John Levon  <levon@movementarian.org>
10697
10698         * lyxserver.h:
10699         * lyxserver.C: remove I/O callback too
10700
10701 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10702
10703         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10704         log.
10705
10706 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10707
10708         * many files: strip,frontStrip -> trim,ltrim,rtrim
10709
10710 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10711
10712         * PrinterParams.h: remove extern containsOnly, and include
10713         support/lstrings.h instead.
10714
10715         * LaTeX.C (scanAuxFile): modify because of strip changes
10716         (deplog): ditto
10717         * buffer.C (makeLaTeXFile): ditto
10718         * bufferparams.C (writeFile): ditt
10719         * lyxfont.C (stateText): ditto
10720         * lyxserver.C (read_ready): ditto
10721         * vc-backend.C (scanMaster): ditto
10722
10723         * BufferView_pimpl.h: ws changes
10724
10725         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10726
10727 2002-07-26  André Pönitz <poenitz@gmx.net>
10728
10729         * kb_sequence.C: remove unnedred usings
10730
10731 2002-07-26  Juergen Vigna  <jug@sad.it>
10732
10733         * lyxfind.C (LyXReplace): we have to check better if the returned
10734         text is not of theLockingInset()->getLockingInset().
10735
10736 2002-07-25  Juergen Vigna  <jug@sad.it>
10737
10738         * lyxfind.C (LyXReplace): don't replace if we don't get the
10739         right LyXText.
10740
10741         * undo_funcs.C (createUndo): remove debugging code.
10742
10743 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10744
10745         * buffer.C (parseSingleLyXformat2Token): Use default placement
10746         when reading old floats.
10747
10748         * FloatList.C (FloatList): Change the default placement of figure
10749         and tables to "tbp".
10750
10751 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * MenuBackend.C: using std::max
10754
10755 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10756
10757         * MenuBackend.C (expandToc):
10758         (expandToc2): code moved from xforms menu frontend. It is now
10759         generic and TOCs are transparent to menu frontends.
10760
10761 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10762
10763         * toc.C (getTocList): protect against buf=0
10764
10765         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10766         Menu as first parameter. Now, this calls itself recursively to
10767         expand a whole tree (this will be useful for TOC handling)
10768         (expandFloatInsert): remove 'wide' version of floats
10769
10770         * MenuBackend.h (submenuname): returns the name of the submenu.
10771         (submenu): returns the submenu itself, provided it has been
10772         created by MenuBackend::expand
10773
10774 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10777         insets which have noFontChange == true. (bug #172)
10778
10779 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * BufferView_pimpl.C: add connection objects and use them...
10782         (Pimpl): here.
10783
10784 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10785
10786         * MenuBackend.C (expandLastfiles):
10787         (expandDocuments):
10788         (expandFormats):
10789         (expandFloatListInsert):
10790         (expandFloatInsert):
10791         (expand): split expand in parts
10792
10793 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * lyx_gui.C: use lyx_gui::exit()
10796
10797 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * LyXAction.C: show the failing pseudo action
10800
10801 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10802
10803         * buffer.C (readFile): Run the lyxconvert script in order to read
10804         old files.
10805
10806 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * LyXAction.C:
10809         * commandtags.h:
10810         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10811
10812 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * LyXAction.C:
10815         * commandtags.h:
10816         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10817
10818 2002-07-22  Herbert Voss  <voss@lyx.org>
10819
10820         * lengthcommon.C:
10821         * lyxlength.[Ch]: add support for the vertical lengths
10822
10823 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * toc.[Ch]: std:: fixes
10826
10827 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * lyxrc.C: do not include lyx_main.h
10830
10831         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10832         for layouts
10833
10834         * lyxrc.C:
10835         * encoding.C:
10836         * bufferlist.C:
10837         * BufferView2.C: include "lyxlex.h"
10838
10839         * tabular.h:
10840         * bufferparams.h: do not #include "lyxlex.h"
10841
10842         * lyxtextclasslist.C (Add): remove method
10843         (classlist): renamed to classlist_
10844
10845         * paragraph_pimpl.C:
10846         * paragraph.C:
10847         * text2.C:
10848         * CutAndPaste.C:
10849         * bufferview_funcs.C:
10850         * bufferlist.C:
10851         * text.C:
10852         * LaTeXFeatures.C:
10853         * buffer.C:
10854         * toc.C (getTocList): use BufferParams::getLyXTextClass
10855
10856         * toc.C (getTocList): use InsetFloat::addToToc
10857
10858         * toc.[Ch]: new files, containing helper functions to handle table
10859         of contents
10860
10861         * lyxfunc.C (dispatch): no need to remove spaces around command
10862         given as a string
10863         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10864         first command of the sequence; it is not very clever, but I do not
10865         have a better idea, actually
10866
10867         * LyXAction.C (LookupFunc): make sure to remove space at the
10868         beginning and end of the command
10869
10870 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * MenuBackend.C (getMenubar): new method: return the menubar of
10873         this menu set
10874         (read): treat differently reading of menu and menubar (in
10875         particular, the menubar has no name now)
10876         (Menu::menubar): remove
10877
10878         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10879         saving is finished
10880
10881 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10882
10883         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10884         a bibitem inset in a RTL paragraph.
10885
10886 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * paragraph_pimpl.C: constify
10889
10890         * BufferView_pimpl.C:
10891         * LaTeX.C:
10892         * lyxfunc.C: fix dispatch in a nicer way
10893
10894 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * lyxfunc.C (dispatch):
10897         * BufferView_pimpl.C:
10898         * BufferView_pimpl.h:
10899         * BufferView.C:
10900         * BufferView.h: rename Dispatch() to dispatch()
10901
10902         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10903
10904         * lyxlayout.C (Read): honor DependsOn tag
10905
10906         * lyxlayout.[Ch] (depends_on): new method
10907
10908         * version.C.in: update lyx_docversion
10909
10910         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10911
10912         * paragraph.C (validate): remove from here...
10913         * paragraph_pimpl.C (validate): ... and move here
10914         (isTextAt): make it const
10915
10916         * buffer.C (getLists): ws cleanup
10917
10918 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * language.C (read): Use iso8859-1 encoding in latex_lang
10921         (this prevents LyX from crashing when using iso10646-1 encoding).
10922
10923 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * text2.C (toggleInset): if cursor is inside an inset, close the
10926         inset and leave cursor _after_ it
10927
10928 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * lyxfunc.C: move minibuffer completion handling out of here
10931
10932 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * BufferView_pimpl.C:
10935         * LaTeX.C: fix dispatch calls
10936
10937 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10938
10939         * text.C (drawChars): Fix Arabic text rendering.
10940
10941 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * LyXAction.C:
10944         * commandtags.h:
10945         * lyxfunc.C: remove message-push/pop
10946
10947         * lyxserver.C:
10948         * lyxfunc.h:
10949         * lyxfunc.C: rationalise some code by removing verboseDispatch
10950           in favour of a bool argument to dispatch()
10951
10952 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10953
10954         * lyx_main.C (init): make sure to read symlinks as absolute paths
10955
10956 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * lyxfunc.h:
10959         * lyxfunc.C: no need for commandshortcut to be a member
10960
10961 2002-07-15  André Pönitz <poenitz@gmx.net>
10962
10963         * converter.C: add support for $$s (scripts from lib/scripts dir)
10964         * lyx_main.C: white space
10965
10966 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * bufferlist.C:
10969         * lyxrc.h:
10970         * lyxrc.C: remove second exit confirmation
10971
10972 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * BufferView.h:
10975         * BufferView.C:
10976         * BufferView2.C:
10977         * BufferView_pimpl.h:
10978         * BufferView_pimpl.C:
10979         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10980
10981 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10982
10983         * MenuBackend.C (expand): add numeric shortcuts to document menu
10984
10985         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10986
10987 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10988
10989         * lyxfont.C (setLyXFamily):
10990         (setLyXSeries):
10991         (setLyXShape):
10992         (setLyXSize):
10993         (setLyXMisc):
10994         (lyxRead):
10995         * debug.C (value):
10996         * buffer.C (asciiParagraph): use ascii_lowercase
10997
10998 2002-07-15  Mike Fabian  <mfabian@suse.de>
10999
11000         * lyxlex_pimpl.C (search_kw):
11001         * lyxlex.C (getLongString):
11002         * converter.h (operator<):
11003         * converter.C (operator<):
11004         * buffer.C (parseSingleLyXformat2Token):
11005         (asciiParagraph):
11006         * ToolbarDefaults.C (read):
11007         * MenuBackend.C (checkShortcuts):
11008         (read):
11009         * LColor.C (getFromGUIName):
11010         (getFromLyXName): use the compare_ascii_no_case instead of
11011         compare_no_case, because in turkish, 'i' is not the lowercase
11012         version of 'I', and thus turkish locale breaks parsing of tags.
11013
11014 2002-07-16  Angus Leeming  <leeming@lyx.org>
11015
11016         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11017         now takes a Buffer const & argument.
11018
11019 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * BufferView.C (resize): check there's a buffer to resize
11022
11023 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * lyxfunc.C: remove dead code
11026
11027         * lyxserver.h:
11028         * lyxserver.C: use lyx_guii::set_read_callback
11029
11030 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11031
11032         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11033         an inset in a RTL paragraph.
11034
11035 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * lyxfunc.C: repaint after a font size update
11038
11039 2002-07-15  André Pönitz <poenitz@gmx.net>
11040
11041         * lyxlength.C: inBP should be able to return negative values
11042
11043 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * lyxfunc.C: use lyx_gui::update_fonts()
11046
11047 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * lyxfunc.C: use lyx_gui::update_color()
11050
11051 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * bufferlist.C:
11054         * lyxfunc.h:
11055         * lyxfunc.C:
11056         * lyxrc.h:
11057         * lyxrc.C: remove file->new asks for name option, and let
11058           buffer-new take an argument
11059
11060 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * BufferView_pimpl.C: remove unneeded extra repaint()
11063
11064 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * LyXAction.C: allow command-sequence with NoBuffer
11067
11068         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11069
11070 2002-07-10  Angus Leeming  <leeming@lyx.org>
11071
11072         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11073
11074 2002-07-09  Angus Leeming  <leeming@lyx.org>
11075
11076         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11077
11078 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * lengthcommon.h: whitespace
11081
11082         * lyxfunc.C: update scrollbar after goto paragraph
11083
11084         * lyxtext.h: factor out page break drawing, and fix it so
11085           page break/added space paints as selected nicely
11086
11087 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.C: add FIXMEs, clean up a little
11090
11091 2002-07-09  André Pönitz <poenitz@gmx.net>
11092
11093         * lyxfont.[Ch]: support for wasy symbols
11094
11095 2002-07-08  André Pönitz <poenitz@gmx.net>
11096
11097         * BufferView_pimpl.C: apply John's patch for #93.
11098
11099 2002-07-05  Angus Leeming  <leeming@lyx.org>
11100
11101         * BufferView_pimpl.C (buffer): generate previews if desired.
11102
11103         * LColor.h: add "preview" to the color enum.
11104
11105         * LColor.C (LColor): add a corresponding entry to the items array.
11106
11107         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11108         with this buffer.
11109
11110 2002-07-05  Angus Leeming  <leeming@lyx.org>
11111
11112         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11113         The body of the code is now in the method that is passed an ostream &
11114         rather than a file name.
11115         Pass an additional only_preamble parameter, useful for the forthcoming
11116         preview stuff.
11117
11118 2002-07-03  André Pönitz <poenitz@gmx.net>
11119
11120         * lyxfunc.C: simplify getStatus() a bit for math stuff
11121
11122 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11125
11126 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * text.C (changeRegionCase): do not change case of all the
11129         document when region ends at paragraph end (bug #461)
11130
11131 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * paragraph.C (startTeXParParams):
11134         (endTeXParParams): add \protect when necessary
11135
11136 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11137
11138         * BufferView_pimpl.C (workAreaExpose): remove warning
11139
11140 2002-06-27  Angus Leeming  <leeming@lyx.org>
11141
11142         * Makefile.am: add lyxlayout_ptr_fwd.h.
11143
11144 2002-06-26  André Pönitz <poenitz@gmx.net>
11145
11146         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11147
11148 2002-06-25  Angus Leeming  <leeming@lyx.org>
11149
11150         * lyxfunc.C (dispatch): Comment out the call to
11151         grfx::GCache::changeDisplay. The method no longer exists now that the
11152         pixmap generation part of the graphics loader has been moved into
11153         InsetGraphics.
11154
11155 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11156
11157         * text2.C: layout as layout
11158
11159         * text.C: layout as layout
11160
11161         * tabular.C (OldFormatRead): layout as layout
11162
11163         * paragraph_pimpl.C (TeXDeeper): layout as layout
11164         (realizeFont): layout as layout
11165
11166         * paragraph.C (writeFile): layout as layout
11167         (validate): layout as layout
11168         (getFont): layout as layout
11169         (getLabelFont): layout as layout
11170         (getLayoutFont): layout as layout
11171         (breakParagraph): layout as layout
11172         (stripLeadingSpaces): layout as layout
11173         (getEndLabel): layout as layout
11174         (getMaxDepthAfter): layout as layout
11175         (applyLayout): layout as layout
11176         (TeXOnePar): layout as layout
11177         (simpleTeXOnePar): layout as layout
11178         (TeXEnvironment): layout as layout
11179         (layout): layout as layout
11180         (layout): layout as layout
11181
11182         * lyxtextclass.C (compare_name): new functor to work with
11183         shared_ptr, layout as layout
11184         (Read): layout as layout
11185         (hasLayout): layout as layout
11186         (operator): layout as layout
11187         (delete_layout): layout as layout
11188         (defaultLayout): layout as layout
11189
11190         * lyxlayout_ptr_fwd.h: new file
11191
11192         * lyxlayout.C (Read): layout as layout
11193
11194         * lyx_cb.C (MenuInsertLabel): layout as layout
11195
11196         * bufferlist.C (newFile): layout as layout
11197
11198         * buffer.C (readLyXformat2): layout as layout
11199         (parseSingleLyXformat2Token): layout as layout
11200         (insertStringAsLines): layout as layout
11201         (asciiParagraph): layout as layout
11202         (latexParagraphs): layout as layout
11203         (makeLinuxDocFile): layout as layout
11204         (simpleLinuxDocOnePar): layout as layout
11205         (makeDocBookFile): layout as layout
11206         (simpleDocBookOnePar): layout as layout
11207         (getLists): layout as layout
11208
11209         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11210
11211         * CutAndPaste.C (cutSelection): layout as layout
11212         (pasteSelection): layout as layout
11213         (SwitchLayoutsBetweenClasses): layout as layout
11214
11215         * BufferView_pimpl.C (Dispatch): layout as layout
11216         (smartQuote): layout as layout
11217
11218         * BufferView2.C (unlockInset): layout as layout
11219
11220 2002-06-24  André Pönitz <poenitz@gmx.net>
11221
11222         * lyxfunc.C: fix #487
11223
11224 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * lyxrc.h:
11227         * lyxrc.C:
11228         * lyxfunc.C: remove display_shortcuts, show_banner
11229
11230 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11231
11232         * Buffer_pimpl.C: oops, update on resize
11233
11234 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * buffer.C:
11237         * converter.C:
11238         * exporter.C:
11239         * lyxfunc.C:
11240         * BufferView.h:
11241         * BufferView.C: use repaint()
11242
11243         * BufferView_pimpl.h:
11244         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11245           as it's a clearer description. Remove superfluous
11246           redraws.
11247
11248 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * text.C: fix bug 488. Not ideal, but getting
11251           getWord() to work properly for the insets that
11252           matter is more difficult ...
11253
11254 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * BufferView_pimpl.C:
11257         * LyXAction.C:
11258         * commandtags.h:
11259         * lyxfunc.C: remove the six million index lyxfuncs to just
11260           one, and DTRT (bug 458)
11261
11262 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * BufferView.h:
11265         * BufferView.C:
11266         * BufferView_pimpl.h:
11267         * BufferView_pimpl.C: clean up resize() stuff,
11268           and unnecessary updateScreen()s
11269
11270 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * BufferView.h:
11273         * BufferView.C:
11274         * BufferView_pimpl.h:
11275         * BufferView_pimpl.C:
11276         * lyxfind.h:
11277         * lyxfind.C:
11278         * minibuffer.C: remove focus management of workarea,
11279           not needed. Use screen's greyOut()
11280
11281 2002-06-17  Herbert Voss  <voss@lyx.org>
11282
11283         * converter.C: (convert) do not post a message, when converting
11284         fails, let the calling function decide what to do in this case
11285
11286 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11287
11288         * lyxfunc.C: tidy up a little
11289
11290 2002-06-16    <alstrup@diku.dk>
11291
11292         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11293         Got rid of FORMS_H_LOCATION include. Now we are
11294         GUII.
11295
11296 2002-06-15  LyX Development team  <lyx@rilke>
11297
11298         * buffer.[Ch] (sgmlOpenTag):
11299         (sgmlCloseTag): Added support for avoiding pernicious mixed
11300         content. Return number of lines written.
11301
11302         (makeLinuxDocFile):
11303         (makeDocBookFile): Fixed calls to sgml*Tag.
11304         Simple white space clean.
11305
11306         (simpleDocBookOnePar): Simple white space clean.
11307
11308         * tabular.[Ch] (docBook): Renamed to docbook and got another
11309         argument to related with the pernicious mixed content.
11310
11311         (docbookRow): Fixed calls for docbook inset method.
11312
11313 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11314
11315         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11316         so it's X11 independent.
11317
11318         * kb*.[Ch]: ditto.
11319
11320         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11321
11322 2002-06-15  Lyx Development team  <lyx@electronia>
11323
11324         * intl.h: Renamed getTrans to getTransManager.
11325
11326 2002-06-14  Angus Leeming  <leeming@lyx.org>
11327
11328         * Makefile.am: nuke forgotten stl_string_fwd.h.
11329
11330 2002-06-12  Angus Leeming  <leeming@lyx.org>
11331
11332         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11333
11334 2002-06-13  Angus Leeming  <leeming@lyx.org>
11335
11336         * LaTeX.C:
11337         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11338
11339 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11340
11341         * kbmap.C (getiso): add support for cyrillic and greek
11342
11343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * BufferView.h:
11346         * BufferView.C:
11347         * BufferView_pimpl.h:
11348         * BufferView_pimpl.C: move bogus scrolling logic
11349           to xforms
11350
11351 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * lyxfunc.C:
11354         * BufferView_pimpl.C: view->resize() change
11355
11356 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * BufferView_pimpl.C: topCursorVisible
11359           prototype change
11360
11361 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * Makefile.am:
11364         * lyx_gui.h:
11365         * lyx_gui.C: move to frontends/
11366
11367         * main.C:
11368         * lyx_main.h:
11369         * lyx_main.C: changes from above
11370
11371 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * intl.C:
11374         * intl.h:
11375         * kbmap.C:
11376         * kbsequence.C:
11377         * lyx_cb.C:
11378         * lyx_main.C: minor tidy
11379
11380 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * BufferView_pimpl.h:
11383         * BufferView_pimpl.C:
11384         * BufferView.h:
11385         * BufferView.C: make painter() const,
11386           remove dead code
11387
11388         * BufferView2.C: use screen() accessor
11389
11390         * lyx_main.h:
11391         * lyx_main.C: some minor cleanup
11392
11393 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * BufferView_pimpl.h:
11396         * BufferView_pimpl.C: remove enter/leaveView,
11397           use workHeight()
11398
11399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11400
11401         * BufferView.h:
11402         * BufferView.C:
11403         * BufferView2.C:
11404         * BufferView_pimpl.h:
11405         * BufferView_pimpl.C: only construct screen once,
11406           rename
11407
11408         * lyxrc.C: remove pointless comment
11409
11410 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * BufferView.h:
11413         * BufferView.C: remove active() and belowMouse()
11414
11415         * BufferView_pimpl.h:
11416         * BufferView_pimpl.C: use workarea() not workarea_,
11417           and make it use a scoped_ptr instead
11418
11419 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * lyx_gui.C: add debug message on BadWindow
11422
11423 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * sp_spell.C: fdopen is not part of the C++ standard.
11426
11427         * paragraph.C (InsetIterator): use >= instead of ==
11428
11429 2002-06-07  Angus Leeming  <leeming@lyx.org>
11430
11431         Fixes needed to compile with Compaq cxx 6.5.
11432         * BufferView_pimpl.C:
11433         * DepTable.C:
11434         * buffer.C:
11435         * converter.C:
11436         * encoding.C:
11437         * lyx_gui.C:
11438         * lyx_main.C:
11439         * lyxtextclasslist.C:
11440         * minibuffer.C:
11441         * sp_spell.C:
11442         * tabular_funcs.C:
11443         * vc-backend.C:
11444         all c-library variables have been moved into namespace std. Wrap
11445         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11446
11447         * lyxlength.C:
11448         * tabular-old.C:
11449         * tabular.C:
11450         Add a using std::abs declaration.
11451
11452         * kbmap.h (modifier_pair):
11453         * paragraph.h (InsetTable, InsetList):
11454         * lyxfont.h (FontBits):
11455         type definition made public.
11456
11457         * bufferlist.C (emergencyWriteAll): the compiler complains that
11458         there is more than one possible lyx::class_fun template to choose from.
11459         I re-named the void specialisation as lyx::void_class_fun.
11460
11461         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11462
11463         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11464         the compiler is is unable to find tostr in write_attribute.
11465
11466 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * buffer.C (sgmlError): hide #warning
11469
11470 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * xtl/*: get rid of xtl, which is not in use anyway
11473
11474         * LyXAction.C (init):
11475         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11476         were unimplemented xtl experimentation
11477
11478 2002-06-04  André Pönitz <poenitz@gmx.net>
11479
11480         * lyxfunc.C: disable array operation on simple formulae
11481
11482 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * converter.C: constify a bit
11485
11486 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * lyx_gui.C: check xforms version correctly
11489
11490 2002-04-30  Herbert Voss  <voss@lyx.org>
11491
11492         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11493         "keep" option
11494
11495 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11498           attempt to register it with a VCS)
11499
11500 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11501
11502         * lyx_main.C (init): honor variables LYX_DIR_13x and
11503         LYX_USERDIR_13x
11504
11505 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * buffer.h:
11508         * buffer.C:
11509         * lyx_main.C: fix a crash on bad command line,
11510           and give a useful exit status on error
11511
11512         * lyxfunc.C (doImport): allow -i lyx to work
11513
11514 2002-03-30  André Pönitz <poenitz@gmx.net>
11515
11516         * lyxfunc.C: mathed font changes
11517
11518 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * LaTeX.C:
11521         * importer.h:
11522         * importer.C:
11523         * lyx_sty.h:
11524         * lyx_sty.C:
11525         * lyxlex.C:
11526         * lyxrow.h:
11527         * lyxtext.h:
11528         * paragraph.h:
11529         * paragraph.C:
11530         * texrow.h:
11531         * texrow.C:
11532         * text.C:
11533         * trans_mgr.h: srcdocs, and some minor cleanups
11534
11535 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11536
11537         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11538         call getFont all the time)
11539
11540 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * switch from SigC signals to boost::signals
11543
11544 2002-05-29  André Pönitz <poenitz@gmx.net>
11545
11546         * paragraph_pimpl.C (getChar): don't call size() too often...
11547
11548 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * paragraph_pimpl.C (insertChar): do not try to update tables when
11551         appending (pos == size())
11552
11553         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11554         in order to reduce drastically the number of comparisons needed to
11555         parse a large document
11556
11557 2002-05-29  André Pönitz <poenitz@gmx.net>
11558
11559         * text.C:
11560         * text2.C:
11561         * lyxtextclass.C:
11562         * sp_pspell.h:
11563         * textclasslist.[Ch]:
11564         * sp_ispell.h: whitespace change
11565
11566 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11569         lyxaction directly now.
11570
11571 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * trans.C:
11574         * lyxfont.C:
11575         * lyxvc.C: remove unused headers
11576
11577 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * Makefile.am:
11580         * buffer.h:
11581         * undostack.h:
11582         * undostack.C:
11583         * undo_funcs.h:
11584         * undo_funcs.C: some cleanups. Use shared_ptr
11585           and a template for the undo stacks.
11586
11587 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * BufferView_pimpl.h:
11590         * BufferView_pimpl.C:
11591         * kbmap.h:
11592         * kbmap.C:
11593         * kbsequence.h:
11594         * kbsequence.C:
11595         * lyxfunc.h:
11596         * lyxfunc.C:
11597         * text2.C: use key_state/mouse_state
11598
11599 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11602         and LSubstring
11603
11604         * chset.C: change include order
11605         (loadFile): use boost regex and get rid of LRegex and LSubstring
11606
11607         * Makefile.am (BOOST_LIBS): new variable
11608         (lyx_LDADD): use it
11609
11610         * LaTeX.C: change include order.
11611         (scanAuxFile): use boost regex and get rid of LRegex and
11612         LSubstring
11613         (deplog): ditto
11614
11615 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * ColorHandler.h:
11618         * ColorHandler.C:
11619         * FontInfo.h:
11620         * FontInfo.C: moved to frontends/xforms/
11621
11622         * FontLoader.h:
11623         * FontLoader.C: moved into frontends for GUIIzation
11624
11625         * Makefile.am:
11626         * lyx_gui.C:
11627         * lyxfont.C:
11628         * lyxfunc.C: changes from above
11629
11630 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11631
11632         * LColor.C: remove spurious X include
11633
11634         * BufferView_pimpl.C:
11635         * Makefile.am:
11636         * font.h:
11637         * font.C:
11638         * text.C:
11639         * text2.C: move font metrics to frontends/
11640
11641 2002-05-24  Juergen Vigna  <jug@sad.it>
11642
11643         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11644         setting the undo_cursor.
11645
11646         * ParagraphParameters.h: include local includes first.
11647
11648 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * BufferView_pimpl.C:
11651         * BufferView_pimpl.h:
11652         * Makefile.am:
11653         * WorkArea.h:
11654         * WorkArea.C:
11655         * screen.C: move WorkArea into frontends/
11656
11657         * lyxscreen.h:
11658         * screen.C:
11659         * text.C:
11660         * BufferView.C:
11661         * BufferView2.C: move LyXScreen into frontends/
11662
11663         * lyxlookup.h:
11664         * lyxlookup.C:
11665         * lyx_gui.C: move lyxlookup into frontends/xforms/
11666
11667 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * BufferView2.C:
11670         * BufferView_pimpl.C:
11671         * FontLoader.C:
11672         * LyXView.h:
11673         * LyXView.C:
11674         * Makefile.am:
11675         * WorkArea.C:
11676         * XFormsView.h:
11677         * XFormsView.C:
11678         * buffer.C:
11679         * bufferlist.C:
11680         * bufferview_funcs.C:
11681         * converter.C:
11682         * importer.C:
11683         * lyx_cb.C:
11684         * lyx_gui.C:
11685         * lyx_main.C:
11686         * lyx_find.C:
11687         * lyxfunc.C:
11688         * lyxvc.C:
11689         * minibuffer.C:
11690         * text.C:
11691         * text2.C:
11692         * trans.C:
11693         * vc-backend.C: move LyX/XFormsView into frontends/
11694
11695 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * Makefile.am:
11698         * PainterBase.C:
11699         * PainterBase.h:
11700         * Painter.C:
11701         * Painter.h:
11702         * WorkArea.C:
11703         * WorkArea.h:
11704         * screen.C:
11705         * tabular.C:
11706         * text.C:
11707         * text2.C: move Painter to frontends/
11708
11709 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * buffer.C: comment out some some code that depend upon lyx_format
11712         < 220
11713
11714         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11715         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11716
11717         * buffer.h (NO_COMPABILITY): turn off compability
11718
11719         * ColorHandler.C: include scoped_array.hpp
11720
11721         * font.C: Use more specific smart_ptr header.
11722         * Painter.C: ditto
11723         * gettext.C: ditto
11724         * ShareContainer.h: ditto
11725         * lyx_main.h: ditto
11726         * kbmap.h: ditto
11727         * FontInfo.h: ditto
11728         * BufferView_pimpl.h: ditto
11729         * ColorHandler.h: ditto
11730
11731         * kbmap.C (defkey): change call to shared_ptr::reset
11732
11733 2002-05-21  Juergen Vigna  <jug@sad.it>
11734
11735         * buffer.C (insertErtContents): fix to insert ert asis if it is
11736         non empty. Skip it completely if it contains only whitespaces.
11737
11738 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * BufferView_pimpl.C:
11741         * BufferView2.C: clear selection on paste (bug 393)
11742
11743 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * DepTable.C: include ctime
11746
11747 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11748
11749         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11750
11751 2002-05-14  Juergen Vigna  <jug@sad.it>
11752
11753         * text.C (breakParagraph): fixed function to honor the keepempty
11754         layout in the right maner and also to permit the right breaking
11755         algorithm on empty or non empyt keepempty paragraphs.
11756
11757         * paragraph.C (breakParagraph): we have to check also if the par
11758         is really empty (!size()) for isempty otherwise we do the wrong
11759         paragraph break.
11760
11761 2002-05-10  Juergen Vigna  <jug@sad.it>
11762
11763         * buffer.[Ch] : The following are only changes to the ert
11764         compatibility read reading old LaTeX layout and font stuff and
11765         convert it to ERTInsets.
11766
11767         * buffer.h: added isErtInset().
11768
11769         * buffer.C (struct ErtComp): add a fromlayout bool to check
11770         if we're inside a LaTeX layout.
11771         (isErtInset): new helper function.
11772         (insertErtContents): look for other ert insets before this one
11773         and insert the contents there, so that we don't have subsequent
11774         ERT insets with nothing between them. This way we create only one
11775         inset with multiple paragraphs. Also check if we don't insert only
11776         spaces ' ' as they are ignored anyway afterwards in the .tex file
11777         so if we have only spaces we will ignore this latex part in the
11778         new file.
11779         (parseSingleLyXformat2Token \\layout): better compatibility when
11780         reading layout-latex stuff.
11781         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11782         language tag.
11783         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11784         stuff after reading the inset only get the information back from
11785         the stack.
11786
11787 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11790
11791         * LaTeXFeatures.C (getBabelOptions): New method.
11792
11793 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * BufferView_pimpl.C (Dispatch): work around missing argument for
11796         'layout'
11797
11798 2002-05-08  Juergen Vigna  <jug@sad.it>
11799
11800         * text.C (leftMargin): handle paragraph leftindent.
11801
11802         * paragraph.C (writeFile): write the new \\leftindent tag.
11803         (validate): handle leftindent code.
11804         (TeXEnvironment): handle paragraphleftindent code again.
11805
11806         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11807
11808         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11809         for paragrap_extra indent code and new token \\leftindent.
11810         (latexParagraphs): handle the leftindent as environment.
11811
11812         * ParameterStruct.h: added leftindent support.
11813
11814         * ParagraphParameters.C (leftIndent): added support functions for
11815         the paragraph left indent.
11816
11817         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11818         more appropriate.
11819
11820 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11821
11822         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11823         inside insetERT.
11824
11825         * text.C (computeBidiTables): No bidi in insetERT.
11826
11827         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11828         in RTL documents.
11829
11830 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * version.C.in: pre 5
11833
11834 2002-05-02  José Matos  <jamatos@fep.up.pt>
11835         * buffer.C (makeDocBookFile): white space changes, add newline to
11836         command styles.
11837         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11838
11839         * tabular.C (docBook): fix typo.
11840
11841 2002-05-03  Juergen Vigna  <jug@sad.it>
11842
11843         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11844         change in LyXText as we can not be sure it was not freed.
11845         (drawOneRow): remove unused code.
11846
11847         * text.C (drawInset): redo the calculation of the need_break_row as
11848         it could have a row which was already freed.
11849         (draw): look at the return value of drawInset and return false if
11850         it also returned false.
11851         (paintRowText): look at the return value of draw and return false if
11852         it also returned false.
11853
11854         * lyxtext.h: added bool return type to drawInset() and draw() so that
11855         if we have a change in the row so that the rowbreak has to be redone
11856         we abort drawing as it will be called again.
11857
11858 2002-05-02  Juergen Vigna  <jug@sad.it>
11859
11860         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11861         a change in the maintext also if we're inside an inset.
11862         (Dispatch): set the cursor again after a break line and after the
11863         screen has been updated as it could be we're in a different row.
11864
11865         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11866         to set the cursor behind the pargraph with > size().
11867         (setCursor): check also for the same paragraph when checking where
11868         to put the cursor if we have a NFR inset.
11869
11870         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11871         parts of layout read further up as it still was in the wrong
11872         position.
11873
11874 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11875
11876         * screen.C (drawFromTo): change sine fullRebreak always return
11877         true.
11878
11879         * buffer.C (parseSingleLyXformat2Token): reindent some
11880
11881         * BufferView_pimpl.C (update): change since fullRebreak always
11882         return true.
11883         (Dispatch): git rid of the last hardcoded "Standard"s.
11884
11885 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * text2.[Ch] (fullRebreak): make it return void now that we always
11888         returned true.
11889
11890 2002-04-30  Juergen Vigna  <jug@sad.it>
11891
11892         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11893         ert compatibility check for "latex" layout.
11894
11895 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11898         minipages: use col% instead of p%, and also use the current font.
11899         (makeLaTeXFile): Fix use babel condition.
11900         (parseSingleLyXformat2Token): Correct font when reading old floats.
11901
11902 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11903
11904         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11905         inserting list of floats.
11906
11907 2002-04-25  Herbert Voss  <voss@lyx.org>
11908
11909         * MenuBackend.C (expand): don't add the graphics extensions to the
11910         export menu
11911
11912 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11915         non-existing layout, do not complain if it was the default layout
11916         of the original class (bug #342)
11917
11918 2002-04-24  Juergen Vigna  <jug@sad.it>
11919
11920         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11921         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11922
11923 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11924
11925         * buffer.C (getBibkeyList): If using \bibliography, return the
11926         option field with the reference itself. Enables us to provide natbib
11927         support when using \bibliography.
11928
11929 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11930
11931         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11932
11933         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11934         natbib is provided by the LaTeX class.
11935
11936 2002-04-23  Juergen Vigna  <jug@sad.it>
11937
11938         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11939         Wakeup functions.
11940
11941         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11942
11943 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11944
11945         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11946
11947         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11948         ensuremath around textordmasculine, textordfeminine and
11949         textdegree.
11950
11951 2002-04-19  Juergen Vigna  <jug@sad.it>
11952
11953         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11954         reinitializing the buffer otherwise row-dimensions may be wrong.
11955         (update): reset also the selection cursors if they do exits otherwise
11956         their x/y positions may be wrong.
11957
11958         * text2.C (cursorDown): don't enter the inset if we came from a row
11959         above and are one row over the inset.
11960
11961         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11962         really leaving an inset.
11963
11964 2002-04-18  Juergen Vigna  <jug@sad.it>
11965
11966         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11967         of the selected paragraph does not have the selected layout also if
11968         the last one had!
11969
11970         * text2.C (setLayout): fixed bug which did not change last selected
11971         paragraph.
11972
11973         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11974         changed the read and substituted \\end_float with \\end_inset!
11975
11976         * BufferView_pimpl.C (cursorPrevious):
11977         (cursorNext): fixed to make it work with rows heigher than the work
11978         area without moving the cursor only the draw of the row.
11979         (workAreaMotionNotify): fix jumping over high rows.
11980
11981 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11984         Ressler.
11985
11986 2002-04-16  Juergen Vigna  <jug@sad.it>
11987
11988         * text2.C (setCursor): set also the irow().
11989         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11990         (cursorUp):
11991         (cursorDown): support for locking an inset if the x_fix value goes
11992         inside it. That way I can transverse insets too with cursor up/down.
11993
11994         * lyxrow.h: added irow helper function same as other (i) functions.
11995
11996         * BufferView_pimpl.C (cursorPrevious):
11997         (cursorNext): fixed for insets!
11998
11999 2002-04-15  Juergen Vigna  <jug@sad.it>
12000
12001         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12002         position otherwise it is wrong in some cases.
12003
12004         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12005         inside the inset before the call.
12006
12007 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * buffer.[Ch] (getBibkeyList): make it const.
12010
12011 2002-04-12  Juergen Vigna  <jug@sad.it>
12012
12013         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12014
12015         * text2.C (getCursorX): new helper function
12016         (setCursor): compute also ix_
12017         (setCursorFromCoordinates): set also ix.
12018
12019         * lyxcursor.h: added ix_ and helper functions.
12020
12021         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12022
12023         * buffer.C (insertStringAsLines): dont break paragraph if the this
12024         paragraph is inside an inset which does not permit it!
12025
12026         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12027         also with no chars on this paragraph.
12028         (paintRowText): only paint stuff if it's inside the workarea!
12029
12030         * paragraph.C (breakParagraph): honor keepempty flag and break the
12031         paragraph always below not above.
12032
12033         * BufferView2.C (unlockInset): update the paragraph layout on inset
12034         unlock as we changed paragraph in such a case.
12035
12036         * lyxfind.C (LyXFind): clear the former selection if not found!
12037
12038         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12039         again called in insertChar().
12040
12041         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12042         an inset which uses the whole row!
12043         (rightMargin): ditto.
12044         (insertChar): force a rebreak if we inserted an inset!
12045
12046 2002-03-28  Herbert Voss  <voss@lyx.org>
12047
12048         * lyxlength.[Ch]: add inBP() to get the right PS-point
12049         units (BigPoint). With inPixels we have rounding errors
12050
12051 2002-04-11  Juergen Vigna  <jug@sad.it>
12052
12053         * text2.C (setCursorFromCoordinates): set iy to the right value.
12054         (setCursor): add check if row->previous exists!
12055
12056         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12057         an old float_type as this was the case in the old code!
12058
12059         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12060
12061         * BufferView2.C (showLockedInsetCursor): use iy
12062         (fitLockedInsetCursor): ditto
12063
12064         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12065         locked insets as there we have the right value now.
12066
12067         * lyxcursor.C: added iy_ variable and iy functions to set to the
12068         baseline of cursor-y of the locked inset.
12069
12070         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12071         (setCursor): fixed for insets which need a full row.
12072
12073         * text.C (rowLastPrintable): don't ignore the last space when before
12074         an inset which needs a full row.
12075         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12076         as last character of a row when before a inset which needs a full row.
12077
12078 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * version.C.in: update date
12081
12082         * text2.C (fullRebreak): try to always return true and see what
12083         happens...
12084
12085 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12086
12087         * MenuBackend.C (expand): use Floating::listName
12088
12089         * FloatList.C (FloatList): add listName argument to the built-in
12090         floats
12091
12092         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12093         text associated with the float.
12094
12095 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12096
12097         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12098
12099 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * ShareContainer.h: add a couple of missing typenames.
12102
12103 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12104
12105         * lyxrc.C (getDescription): use _() correctly rather than N_().
12106
12107 2002-03-28  Herbert Voss  <voss@lyx.org>
12108
12109         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12110         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12111
12112 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12113
12114         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12115         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12116
12117 2002-03-29  Juergen Vigna  <jug@sad.it>
12118
12119         * lyxfunc.C (dispatch): add a missing fitCursor call.
12120
12121         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12122         it was scrolled by a cursor move, so return the bool status.
12123
12124         * BufferView.C (fitCursor): return the bool flag also to the outside
12125         world as this is needed.
12126
12127         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12128
12129         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12130         call the edit() as it is not needed (and wrong) IMO.
12131         (workAreaButtonPress): set the screen_first variable before evt.
12132         unlock the inset as this may change screen_first and then we have
12133         a wrong y position for the click!
12134
12135 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * MenuBackend.C (expand): another translation that I missed
12138
12139 2002-03-28  Juergen Vigna  <jug@sad.it>
12140
12141         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12142
12143         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12144
12145 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12148
12149         * MenuBackend.C (expand): fix export/view/update when there is no
12150         document open.
12151
12152 2002-03-27  Herbert Voss  <voss@lyx.org>
12153
12154         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12155         and text%
12156
12157 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * bufferview_funcs.C (currentState): only show paragraph number
12160         for is DEVEL_VERSION is set.
12161
12162         * lyxfunc.C (dispatch): put warning in INFO channel
12163
12164         * MenuBackend.C (expand): translate the name of floats
12165
12166         * FloatList.C (FloatList): mark the float names for translation
12167
12168         * converter.C (convert): use LibScriptSearch
12169
12170 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12171
12172         * MenuBackend.C (defaults): fix default menu (we might as well get
12173         rid of it...)
12174
12175 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12178         directory.
12179
12180 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * lyxvc.C: reorder includes.
12183
12184 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12187           properly
12188
12189 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * CutAndPaste.C: change layouts earlier on paste
12192           to avoid crashing when calling getFont()
12193
12194 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12195
12196         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12197         irritating #error.
12198
12199 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * WorkArea.C: remove 'Pending' debug message.
12202
12203         * most files: ws cleanup
12204
12205         * buffer.[Ch]: ws changes
12206
12207         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12208
12209 2002-03-21  Juergen Vigna  <jug@sad.it>
12210
12211         * tabular.C (SetMultiColumn): collapse also the contents of the
12212         cells and set the last border right. Added a Buffer const * param.
12213
12214 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12217         linking or not.
12218
12219 2002-03-19  Juergen Vigna  <jug@sad.it>
12220
12221         * text2.C (clearSelection): reset also xsel_cache.
12222
12223         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12224         where it needs to be called (John tells us to do so too :)
12225         (selectionLost): reset sel_cache.
12226
12227         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12228
12229 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12230
12231         * text2.C (setCursorIntern): put debuging code in INSETS channel
12232
12233 2002-03-19  André Pönitz <poenitz@gmx.net>
12234
12235         * lyxfunc.C: tiny whitespace change
12236
12237 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12238
12239         * ToolbarDefaults.C (init):
12240         * LyXAction.C (init):
12241         * commandtags.h:
12242         * BufferView_pimpl.C (Dispatch):
12243         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12244
12245 2002-03-19  Allan Rae  <rae@lyx.org>
12246
12247         * exporter.C (Export): removeAutoInsets before doing anything else.
12248         While I've just introduced a dependency on BufferView this really is
12249         the best place to clean the buffer otherwise you need to cleanup in
12250         a dozen places before calling export or cleanup in a dozen functions
12251         that export calls.
12252
12253         * converter.C (runLaTeX):
12254         (scanLog): Better handling of removeAutoInsets and screen updates.
12255
12256         * lyxfunc.C (dispatch): small whitespace changes
12257
12258 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * WorkArea.C (C_WorkAreaEvent): return a value.
12261         (event_cb): return 1 if we handled the event, 0 otherwise.
12262
12263         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12264
12265 2002-03-18  Juergen Vigna  <jug@sad.it>
12266
12267         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12268         (GetAdditionalWidth): ditto.
12269         (RightLine): ditto.
12270         (LeftLine): ditto.
12271
12272         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12273         inset if we're there actually (probably not used right now but this
12274         is the direction to go for unifying code).
12275         (paste): disable code to clear the selection.
12276
12277         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12278         inside an InsetText and move the check further up as it is in the
12279         wrong place.
12280
12281         * text2.C (pasteSelection): set a selection over the pasted text.
12282
12283 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12284
12285         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12286         and libgraphics to build on Cygwin.
12287
12288 2002-03-15  Juergen Vigna  <jug@sad.it>
12289
12290         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12291         inserting an Inset into the paragraph. I know this is not the best
12292         fix but we already use current_view in CutAndPaste so we will remove
12293         all of it's using at the same time.
12294
12295         * buffer.C (sgmlError): deactivated function till it is rewritten in
12296         the right mode, now it can create problems.
12297
12298         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12299         before accessing it.
12300
12301 2002-03-14  Juergen Vigna  <jug@sad.it>
12302
12303         * undo_funcs.C (textHandleUndo): do the right thing when updating
12304         the inset after the undo/redo.
12305
12306         * text2.C (setCursor): just some testcode for #44 not ready yet.
12307
12308         * undo_funcs.C (textHandleUndo): set the next() and previous()
12309         pointers of the paragraph to 0 before deleting otherwise we have
12310         problems with the Paragraph::[destructor].
12311
12312         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12313         on a paragraph insertion.
12314
12315 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * buffer.C (asciiParagraph): use += operator for char append to
12318         string.
12319
12320         * paragraph.C (getFontSettings): compare >= not just >
12321         (highestFontInRange): ditto
12322         (setFont): ditto
12323
12324 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * paragraph.C: change several algorithm to be more appripriate for
12327         the problem domain. This is lookip in FontList and in the InsetList.
12328
12329 2002-03-13  André Pönitz <poenitz@gmx.net>
12330
12331         * commandtags.h:
12332         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12333
12334 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * commandtags.h:
12337         * LyXAction.C:
12338         * lyxfunc.C:
12339         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12340
12341 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * Painter.C (display): anon helper function, adjust code for this
12344         change.
12345         (pixmap): remove function.
12346
12347         * Painter.h: remove private display variable.
12348
12349         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12350
12351 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12352
12353         * WorkArea.[Ch]: remove figinset_canvas cruft.
12354
12355 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * lyxtextclass.C (operator): add one item cache optimization.
12358
12359         * bufferlist.h: doxy changes
12360
12361         * bufferlist.C: ws changes
12362
12363         * DepTable.[Ch] (ext_exist): place const in the right spot.
12364
12365         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12366         call resizeInsets.
12367         (workAreaExpose): call resizeInsets when the with BufferView changes.
12368         (Dispatch): adjust for protectedBlank removal
12369         (specialChar): call updateInset if the insert went ok.
12370
12371         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12372         specialChar instead.
12373
12374         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12375
12376         * BufferView.h: doxy change
12377
12378         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12379
12380         * lyxtextclass.C (operator[]): remove non-const version
12381         (defaultLayout): remove non-const version
12382
12383 2002-03-12  Juergen Vigna  <jug@sad.it>
12384
12385         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12386         did resize the LyXText too.
12387
12388         * buffer.C (readLyXformat2): set layout information on newly allocated
12389         paragraphs.
12390
12391         * tabular.C (OldFormatRead): set layout information on the paragraph.
12392
12393 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12394
12395         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12396
12397 2002-03-11  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12400         plainly wrong.
12401         (resizeCurrentBuffer): force also the insets to resize themselfes.
12402         (moveCursorUpdate): fixed up for InsetText.
12403
12404 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * commandtags.h:
12407         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12408         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12409         value of Dialogs::tooltipsEnabled().
12410         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12411
12412 2002-03-08  Juergen Vigna  <jug@sad.it>
12413
12414         * BufferView_pimpl.C (updateInset): update inset inside inset also
12415         if it isn't inside theLockingInset().
12416
12417 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * buffer.C (asciiParagraph): redo some of the word and line length
12420         handling.
12421         (getLists): look for Caption instead of caption.
12422
12423 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * buffer.C (Buffer): initialize niceFile to true
12426         (makeLaTeXFile):
12427         (makeLinuxDocFile):
12428         (makeDocBookFile): make sure niceFile is true on exit
12429
12430 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12431
12432         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12433
12434 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * LyXSendto.C: remove.
12437         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12438         * lyx_gui.C: remove now-redundant comment.
12439         * ColorHandler.h: remove forward declaration of class WorkArea.
12440         * lyxfunc.C: remove #include "WorkArea.h".
12441
12442 2002-03-07  Juergen Vigna  <jug@sad.it>
12443
12444         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12445         got moved away with the DEPM and also set the inset_owner always
12446         right which before could have been omitted.
12447
12448 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12451         wanted layout is not found.
12452
12453 2002-03-07  Juergen Vigna  <jug@sad.it>
12454
12455         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12456
12457 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * paragraph.C (breakParagraph): use default layout not layout of
12460         prev paragraph.
12461         (Paragraph): clear ParagraphParameters.
12462
12463 2002-03-06  Juergen Vigna  <jug@sad.it>
12464
12465         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12466         otherwise it would not be a valid lenght. Fixed a special case in
12467         the minipage compatibility read where we end the document with a
12468         minipage.
12469
12470         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12471         was set as it could be 0 for InsetTexts first entry.
12472
12473 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * paragraph.C (writeFile): if layout is empty write out
12476         defaultLayoutName().
12477
12478         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12479         file without named layout we set layout to defaultLayoutName().
12480
12481 2002-03-06  Juergen Vigna  <jug@sad.it>
12482
12483         * CutAndPaste.C (copySelection): set layout for new paragraph.
12484
12485         * text.C (prepareToPrint): leave ERT inset left aligned
12486         (leftMargin): don't indent paragraphs inside ERT insets
12487
12488 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * paragraph.C (breakParagraph): dont call clear do the work manually
12491
12492         * paragraph.[Ch] (clear): remove function
12493
12494 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * paragraph.C (Paragraph): dont call clear, the work has already
12497         been done.
12498
12499         * lyxtextclass.C (operator): assert if n is empty
12500
12501         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12502         work manually instead.
12503
12504 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * BufferView_pimpl.C: protect selectionLost against text == 0
12507
12508 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * text.C (breakParagraph): fix a setting layout to '0' problem.
12511
12512 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12513
12514         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12515         final location of file, for the included files, and graphics.
12516
12517 2002-03-05  Juergen Vigna  <jug@sad.it>
12518
12519         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12520
12521 2002-03-04  Juergen Vigna  <jug@sad.it>
12522
12523         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12524
12525         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12526         last column of multicolumn cells.
12527         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12528
12529 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12530
12531         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12532         file if it doesn't go to a temporary file.
12533
12534         * buffer.C (sgmlOpenTag):
12535         (sgmlCloseTag):  remove extra newline insertion.
12536
12537 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * text.C (getRowNearY): comment out debug msg
12540
12541 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12542
12543         * text2.C: first -> first_y
12544
12545         * text.C (getRowNearY): add some attemts at a possible
12546         optimization, not working.
12547
12548         * tabular.[Ch]: add BufferParams to several function so that newly
12549         created paragraph can be initialized to he default layotu for the
12550         buffers textclass.
12551
12552         * tabular-old.C (ReadOld): add buf->params to call of Init
12553
12554         * screen.C: rename text->first to text->first_y
12555
12556         * paragraph.C (breakParagraph): always set layout in the broken
12557         paragraph
12558
12559         * lyxtextclass.C (Read): remove lowercase
12560         (hasLayout): ditto
12561         (operator): ditto
12562         (delete_layout): ditto
12563
12564         * lyxtext.h: rename first -> first_y
12565
12566         * lyxlayout.C (Read): remove lowercase
12567         (name): ditto
12568         (setName): ditto
12569         (obsoleted_by): ditto
12570
12571         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12572
12573         * buffer.C (insertErtContents): add params are to InsetERT
12574         (parseSingleLyXformat2Token): add code to check if a paragraphs
12575         layout really exist.
12576         (parseSingleLyXformat2Token): add params to several inset
12577         constructors
12578         (asciiParagraph): remove lowercase, do the layout comparisons with
12579         no_case
12580
12581         * BufferView_pimpl.C (cursorNext): first -> first_y
12582         (resizeCurrentBuffer): first -> first_y
12583         (updateScrollbar): first -> first_y
12584         (scrollCB): first -> first_y
12585         (workAreaMotionNotify): first -> first_y
12586         (workAreaButtonPress): first -> first_y
12587         (checkInsetHit): first -> first_y
12588         (cursorPrevious): first -> first_y
12589         (cursorNext): first -> first_y
12590         (Dispatch): add buffer_->params to severl inset contructors
12591
12592 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * lyxlayout.C (Read): remove some debug info that I forgot.
12595
12596         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12597         clean up the code slightly.
12598         (makeLinuxDocFile): ditto
12599         (makeDocBookFile): ditto
12600
12601         * text2.C: layout as string
12602
12603         * text.C: layout as string
12604
12605         * paragraph_pimpl.C: layout as string
12606
12607         * paragraph.[Ch]: layout as string
12608
12609         * lyxtextclasslist.[Ch]: layout as string
12610
12611         * lyxtextclass.[Ch]: layout as string
12612
12613         * lyxtext.h: layout as string
12614
12615         * lyxlayout.[Ch]: layout as string
12616
12617         * lyx_cb.C: layout as string
12618
12619         * bufferview_funcs.C: layout as string
12620
12621         * bufferparams.C: layout as string
12622
12623         * buffer.C: layout as string
12624
12625         * LyXView.[Ch]: layout as string
12626
12627         * LaTeXFeatures.[Ch]: layout as string
12628
12629         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12630
12631         * BufferView_pimpl.C: change current_layout to string, remove
12632         lyx::layout_type.
12633         (Dispatch):
12634         (smartQuote):
12635         (insertInset):
12636         (workAreaButtonRelease): layout as string
12637
12638         * BufferView2.C (unlockInset): adjust
12639
12640         * vspace.C (asLatexCommand): use an explict temp variable.
12641
12642 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * Makefile.am: use FRONTEND_*
12645
12646 2002-03-01  Juergen Vigna  <jug@sad.it>
12647
12648         * tabular.C (SetWidthOfMulticolCell): changed to something better
12649         I hope but still work in progress.
12650         (recalculateMulticolumnsOfColumn): renamed function from
12651         recalculateMulticolCells as it is more appropriate now.
12652         (SetWidthOfCell): calculate multicols better.
12653
12654 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12655
12656         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12657
12658         * lyxfunc.C (processKeySym): print sequence also if it is
12659         `deleted' (complete)
12660
12661         * kbsequence.C (print): print sequence even if it is deleted
12662         (complete would be a better word, actually).
12663
12664         * lyxfunc.C (dispatch): print complete options after a prefix key
12665
12666         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12667
12668 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12669
12670         * text2.C (setCharFont): eliminate setCharFont code duplication.
12671
12672 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12675         LFUN_TABULAR_FEATURE (bug #177)
12676
12677 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * Makefile.am: remove figure.h
12680
12681 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * Bufferview_pimpl.C:
12684         * CutAndPasteC:
12685         * LaTeX.C:
12686         * LyXSendto.C:
12687         * buffer.C:
12688         * bufferlist.C:
12689         * converter.C:
12690         * language.C:
12691         * lyxfunc.C:
12692         * lyxvc.C:
12693         * paragraph.C:
12694         * text.C:
12695         * text2.C: remove #include "lyx_gui_misc.h".
12696
12697         * LaTeX.C: added #include <cstdio>
12698
12699 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12702         that the paragraph following this one can have.
12703
12704         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12705
12706         * vspace.C (asLatexCommand): fix bogus gcc warning
12707
12708         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12709
12710 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12711
12712         * text2.C (setLayout): get rid of redundant code
12713
12714 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12715
12716         * text2.C (incDepth): make sure depth cannot be increased beyond
12717         reasonable values.
12718
12719 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12722         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12723
12724         * PainterBase.h (image):
12725         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12726         a LyXImage const *.
12727
12728 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * BufferView.C:
12731         * BufferView.h:
12732         * BufferView_pimpl.C:
12733         * BufferView_pimpl.h:
12734         * LaTeXFeatures.C:
12735         * LyXAction.C:
12736         * LyXView.C:
12737         * Makefile.am:
12738         * UpdateList.h:
12739         * UpdateList.C:
12740         * buffer.C:
12741         * figure.h:
12742         * figureForm.C:
12743         * figureForm.h:
12744         * figure_form.C:
12745         * figure_form.h:
12746         * lyx_cb.C:
12747         * lyx_gui.C:
12748         * lyx_gui_misc.C:
12749         * lyxfunc.C:
12750         * sp_base.h:
12751         * sp_ispell.h:
12752         * sp_pspell.h:
12753         * sp_spell.C: remove fig inset, and the crap house of
12754           cards that follows it
12755
12756 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12757
12758         * Makefile.am:
12759         * lyxserver.C:
12760         * os2_defines.h:
12761         * os2_errortable.h:
12762         * nt_defines.h: move .h into support/
12763
12764         * vms_defines.h: remove
12765
12766         * WorkArea.C: add space in debug output
12767
12768         * text2.C:
12769         * paragraph.C:
12770         * buffer.C: add WITH_WARNINGS
12771
12772         * vc-backend.h:
12773         * vc-backend.C:
12774         * bufferlist.C: s/retrive/retrieve/, add docs
12775
12776         * vspace.h:
12777         * vspace.C:
12778         * kbmap.h:
12779         * lyxlength.h:
12780         * lyxgluelength.h:
12781         * length_common.h:
12782         * chset.h:
12783         * chset.C: add docs
12784
12785         * lyxgui.C: add ID to X error handler
12786
12787         * lyxtestclass.c: fix typo
12788
12789 2002-02-26  Juergen Vigna  <jug@sad.it>
12790
12791         * tabular_funcs.C (write_attribute): changed so that some default
12792         attributes are not written at all.
12793         (getTokenValue): set default values before trying to read the
12794         value so we have the return value always set as default if we don't
12795         find the token we search for.
12796
12797         * tabular.C (Write): write bools as bools not as strings!
12798
12799 2002-02-22  Juergen Vigna  <jug@sad.it>
12800
12801         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12802         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12803
12804         * text.C (leftMargin): don't add an indent for paragraphs inside
12805         tabular cells (fix #208).
12806
12807 2002-02-21  José Matos  <jamatos@fep.up.pt>
12808
12809         * tabular.C (docBook): fixed support for long tables.
12810
12811 2002-02-20  Juergen Vigna  <jug@sad.it>
12812
12813         * text2.C (getFont): get the drawing font of the Inset if this
12814         paragraph is inside an inset (only important for InsetERT for now).
12815
12816         * buffer.C (insertErtContents): use new lanugage params in ERT
12817         constructor.
12818
12819         * CutAndPaste.C: commenting out seemingly uneeded code.
12820
12821 2002-02-19  Allan Rae  <rae@lyx.org>
12822
12823         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12824         Iterators might be simple to use but they also get invalidated.
12825         (removeAutoInsets): renamed saved cursor tracking variables and added
12826         some comments to clarify what everything does.
12827
12828 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12829
12830         * Chktex.C:
12831         * LaTeX.C:
12832         * LyXSendto.C:
12833         * converter.C:
12834         * lyx_cb.C:
12835         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12836         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12837
12838         * lyxfunc.C:
12839         * vc-backend.h: remove #include "support/syscall.h"
12840
12841         * LaTeX.C:
12842         * LyXSendto.C:
12843         * converter.C: rearrange #includes in Lars' approved fashion.
12844
12845         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12846         forward declare class Timeout in the header file.
12847
12848         * XFormsView.C: changes due to the above.
12849
12850         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12851         similar to LyXView.
12852
12853         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12854         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12855
12856 2002-02-18  José Matos  <jamatos@fep.up.pt>
12857
12858         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12859         insets contents.
12860
12861 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12862
12863         * a lot of small ws changes
12864         * add a lot of using std::XXX
12865         * use std construcs some places where approp.
12866         * use some exisint stuff from lyxfunctional where approp.
12867         * Make file changes to use partial linking (lets test this now...)
12868
12869 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * Chktex.C:
12872         * buffer.C:
12873         remove #include "support/syscontr.h" as it's redundant. Always has been.
12874
12875         * Chktex.C:
12876         * LaTeX.C:
12877         * LyXSendto.C:
12878         * converter.C:
12879         * lyx_cb.C:
12880         * vc-backend.C:
12881         change Systemcalls::System to Systemcalls::Wait and
12882         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12883         No change of functionality, just reflects the stripped down Systemcalls
12884         class.
12885
12886 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * debug.[Ch]: add a GRAPHICS type to the enum.
12889
12890 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12893
12894         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12895         there is an inset.
12896
12897 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12900         match the changes below.
12901
12902         * text2.C (toggleInset): if there is not editable inset at cursor
12903         position, try to see if cursor is _inside_ a collapsable inset
12904         and close it.
12905
12906 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12909         document menu has a nice checkbox
12910
12911 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12912
12913         * lyxlength.C (asLatexString): change PW to output as percent of
12914         \textwidth.
12915
12916         * lengthcommon.C: change '%' to 't%'
12917
12918         * lyxfunc.C (dispatch): a few comments from Martin
12919
12920 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * WorkArea.h:
12923         * WorkArea.C:
12924         * BufferView_pimpl.h:
12925         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12926           the X selection.
12927
12928 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12929
12930         * vspace.C (inPixels): fix compiler warning
12931
12932 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12933
12934         * lyxfunc.C (getStatus): fix status message for disabled commands.
12935
12936 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * BufferView_pimpl.C: fix crash on close buffer
12939         during selection (#227)
12940
12941 2002-01-27  Herbert Voss  <voss@lyx.org>
12942
12943         * buffer.C: link old Figure to new graphic inset
12944
12945 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12946
12947         * FontLoader.C (getFontinfo): Change the latex font names in order
12948         to match the names of type1inst.
12949
12950 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12953
12954         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12955         (extchanged): ditto
12956         (ext_exist): ditto
12957         (remove_files_with_extension): ditto
12958         (remove_file): ditto
12959         (write): ditto
12960
12961         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12962         document is smaller than the work area height. Do not initialize
12963         static variables to 0.
12964
12965 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12966
12967         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12968
12969         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12970         LFUN_LAYOUT_PARAGRAPHS.
12971
12972         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12973         tabular. It is possible to provide a possible cell, which will
12974         typically be the actcell from the corresponding insettabular
12975
12976         * lyxfunc.C (getStatus): small cleanup; disable
12977         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12978         true
12979
12980 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12983
12984         * paragraph.C (startTeXParParams):
12985         (endTeXParParams): new methods. The LaTeX code to
12986         start/end paragraph formatting
12987         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12988         empty (fixes bug #200)
12989
12990         * vspace.C (inPixels): adapt to the change below
12991         (inPixels): [later] more cleanups (remove unused variables)
12992
12993         * lyxlength.C (inPixels): change to use a width and a height as
12994         parameter.
12995
12996 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12999         Replaced with \paperwidth
13000
13001         * DepTable.C (insert): add std:: qualifier
13002
13003 2002-01-18  Allan Rae  <rae@lyx.org>
13004
13005         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13006         updated also?
13007
13008         * text.C (drawInset): Turned out I didn't know enough about how
13009         rebreaking worked.  This fixes most of the redraw problems.  I see
13010         an occasional cursor trail when a line is broken now and the cursor
13011         placement can seem out by a few pixels also after a rebreak.
13012
13013 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13014
13015         * buffer.C (parseSingleLyXformat2Token): update because minipage
13016         width is now a LyXLength
13017
13018         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13019
13020         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13021         math insets
13022
13023 2002-01-17  Juergen Vigna  <jug@sad.it>
13024
13025         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13026
13027         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13028         is set correctly and the inset is updated correctly.
13029
13030 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13031
13032         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13033         the beginning of the loop.
13034
13035 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13036
13037         * lyxrc.C: improve help for use_scalable_fonts
13038
13039 2002-01-17  Allan Rae  <rae@lyx.org>
13040
13041         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13042
13043 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13044
13045         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13046         make sure to set their inset_owner to the right value (bug #171)
13047
13048 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13049
13050         * DepTable.h
13051         * DepTable.C: Implement mtime checking to reduce time spent doing
13052         CRCs.
13053
13054 2002-01-16  Juergen Vigna  <jug@sad.it>
13055
13056         * tabular.C (GetAdditionalHeight): one of error fixed.
13057
13058         * lyxrc.C (output): small fix in writing use_pspell.
13059
13060 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13061
13062         * sp_base.h: #include LString.h
13063
13064 2002-01-16  Allan Rae  <rae@lyx.org>
13065
13066         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13067         Can someone check this please?
13068
13069         * text.C (drawInset): It was possible that p.row would be removed by
13070         breakAgainOneRow upsetting a few other settings.  There may be another
13071         small tweak possible by setting need_break_row = 0 when p.row has been
13072         removed but I don't know enough about the logic here.
13073
13074 2002-01-15  Allan Rae  <rae@lyx.org>
13075
13076         * text.C (insertChar): removed conditional truism.
13077
13078         * BufferView2.C (removeAutoInsets): More tweaks.
13079         cur_par_prev could be a stray pointer.  Check for trailing empty line
13080         in case last line was cur_par and only had an error inset on it.
13081
13082 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13085         absolute
13086
13087         * vc-backend.C (most methods):
13088         * exporter.C (Export):
13089         * converter.C (convert):
13090         (runLaTeX):
13091         * LyXSendto.C (SendtoApplyCB):
13092         * lyxfunc.C (dispatch):
13093         (menuNew):
13094         (open):
13095         (doImport):
13096         * lyx_cb.C (AutoSave):
13097         (InsertAsciiFile):
13098         * BufferView_pimpl.C (MenuInsertLyXFile):
13099         * buffer.C (runChktex): use Buffer::filePath().
13100
13101         * buffer.h: rename filename to filename_; rename filepath to
13102         filepath_ and make it private
13103         (filePath): new method
13104
13105         * buffer.C (writeFile): use fileName()
13106         (getLatexName):
13107
13108         * lyx_main.C (init): fix starting  of LyX when the binary is a
13109         link from so,ewhere else.
13110
13111         * minibuffer.C: include <cctype> for isprint
13112
13113 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13114
13115         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13116         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13117         name clash with InsetCollapsable's width function.
13118
13119 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * lastfiles.C: include <iterator>
13122
13123 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13124
13125         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13126         std::count.
13127
13128         * buffer.C (makeLaTeXFile): ditto.
13129         Also make loop operation more transparent.
13130
13131 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13132
13133         * ToolbarDefaults.C: remove trailing comma closing namespace.
13134
13135         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13136
13137         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13138         as in WorkArea.
13139
13140         * trans.C (Load): comment out unused variable, allowed.
13141
13142 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * minibuffer.[Ch] (append_char): new method to recieve input from the
13145         drop-down completion browser. If a key was pressed, then recieve this
13146         char and append it to the existing string.
13147         (peek_event): modify the positioning data passed to the completion
13148         browser so that it can be placed above the minibuffer rather than below.
13149 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * LyXAction.C (init): alloe error-next for readonly documents.
13152
13153         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13154         count.
13155
13156 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13157
13158         * bufferlist.C (readFile): create the buffer _after_ checking that
13159         the file exists.
13160
13161         * lyxfunc.C (verboseDispatch): fix handling of arguments
13162
13163         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13164
13165         * lyxrc.C: use string::erase() instead of initializing to "".
13166
13167
13168 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * BufferView_pimpl.h:
13171         * BufferView_pimpl.C:
13172         * WorkArea.h:
13173         * WorkArea.C:
13174         * text2.C: tell X when we have made a selection for copying
13175
13176 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * BufferView_pimpl.C (MenuInsertLyXFile):
13179         * lyxfunc.C (menuNew):
13180         (open):
13181         (doImport): add shortcuts to directory buttons
13182
13183         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13184         open a float)
13185
13186         * lyxfunc.C (setStatusMessage):
13187         (getStatusMessage): new methods
13188         (getStatus):use setStatusMessage instead of setErrorMessage
13189         (dispatch): when function is disabled, set error message here
13190         [instead of in getStatus previously]
13191
13192         * BufferView_pimpl.C (workAreaButtonRelease): update
13193         toolbar/menubar here too.
13194
13195 2002-01-13  Allan Rae  <rae@lyx.org>
13196
13197         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13198         Now seems indestructible.  Remaining task is to audit all other
13199         code affected by deleteEmptyParagraphMechanism.  One small quirk
13200         left is that an empty document with an error in the preamble can
13201         be made to report an error but no error box appears.  I don't know
13202         where it goes.
13203         (removeAutoInsets): Improved comments.
13204
13205 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * Thesaurus.h:
13208         * Thesaurus.C: update for Aiksaurus 0.14
13209
13210 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * text2.C (firstParagraph): removed member function, all uses
13213         replaces with ownerParagraph
13214         (redoParagraphs): here
13215         (updateInset): here
13216         (toggleAppendix): here
13217         * BufferView2.C (insertErrors): here
13218         (setCursorFromRow): here
13219
13220 2002-01-13  Allan Rae  <rae@lyx.org>
13221
13222         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13223         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13224         There is still a way to segfault this although you may have to do this
13225         multiple times: Have an InsetERT with an unknown command in it.
13226         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13227         <down-arrow>, <Enter> again, View->DVI, BANG!
13228
13229         * text2.C (setCursor):
13230         (deleteEmptyParagraphMechanism):
13231         * lyxtext.h (setCursor):
13232         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13233         Making use of the return value may help fix other bugs.
13234
13235 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13236
13237         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13238
13239         * LyXView.C (updateMenubar): call MenuBar::update here
13240         (updateToolbar): but not here
13241         (showState): do not update toolbar/menubar
13242
13243         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13244         should need to care about that.
13245
13246         * lyxfunc.C (verboseDispatch): simplify a bit
13247         (getStatus): have a version which takes a pseudoaction, and
13248         another which requires a (kb_action,string).
13249
13250         * LyXAction.C (retrieveActionArg): make it work also when action
13251         is not a pseudo-action.
13252         (getActionName): simplify a bit
13253         (helpText):
13254
13255 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13256
13257         * lyxfunc.C (verboseDispatch): new families of methods with
13258         several ways to specify a command and a bool to indicate whether
13259         the command name and shortcut should be displayed in minibuffer
13260         (eventually, we could extend that to a finer bitmask like
13261         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13262         (dispatch): the pristine dispatch command which just, well,
13263         dispatchs! Note it still sets its result to minibuffer; I'm not
13264         sure we want that.
13265
13266         * lyxfunc.h: remove setHintMessage
13267
13268         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13269
13270 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13271
13272         * BufferView_pimpl.C (specialChar): delete new inset if we have
13273         not been able to insert it.
13274
13275         * kbmap.C: revert to using int instead of kb_action, since all we
13276         are dealing with is pseudo-actions.
13277
13278         * LyXAction.C (searchActionArg): change to return int instead of
13279         kb_action, since the result is a pseudoaction.
13280
13281 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * buffer.C (insertErtContents): Fix (partially) the font bug.
13284
13285 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13286
13287         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13288         as the other one is broken on my machine!
13289
13290 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13291
13292         * commandtags.h:
13293         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13294
13295 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13298         reflect their actual use. Provide compatibility code for older lyxrc
13299         files.
13300
13301         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13302         FL_NORMAL_STYLE.
13303         change names of popup font variables in line with the changes to lyxrc.C
13304
13305 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * buffer.C (asciiParagraph): avoid outputing a word twice after
13308         an inset.
13309
13310         * lyxrc.C (getDescription): document that document_path and
13311         template_path can be empty.
13312
13313 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * LaTeXFeatures.C (getMacros):
13316         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13317
13318         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13319
13320         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13321         getPackages.
13322         (getPackages): rename feature "floats" to "float". Use an array to
13323         iterate over 'simple' features (i.e. just a \usepackage). Add
13324         handling of "amsmath" (renamed from "amsstyle").
13325
13326 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13327
13328         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13329         features list.
13330
13331 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13332
13333         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13334         FuncStaus::FuncStatus & FuncStaus::some_method().
13335
13336 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13337
13338         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13339         of the func_satus stuff. Edited and massaged in various ways by
13340         JMarc.
13341
13342         * lyxfunc.C (getStatus): use FuncStatus
13343
13344 2002-01-08  Juergen Vigna  <jug@sad.it>
13345
13346         * text.C (nextBreakPoint): use function Inset::isChar().
13347
13348         * paragraph.C (TeXOnePar): use function
13349         Inset::forceDefaultParagraphs.
13350
13351         * buffer.C (latexParagraphs): use function
13352         Inset::forceDefaultParagraphs.
13353
13354 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * lyx_gui.C (init): set the style of the menu popups to
13357         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13358
13359 2002-01-07  Juergen Vigna  <jug@sad.it>
13360
13361         * text.C (setHeightOfRow): small fix
13362         (prepareToPrint): don't look at alignment if we don't have the place
13363         for doing it.
13364
13365 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13366
13367         * box.C: New file. Move the Box methods and functions out of box.h,
13368         following Lars' suggestion.
13369
13370 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13371
13372         * box.h: #include "support/LOstream.h", needed for inlined function.
13373
13374         * lyxtextclass.C:
13375         * lyxtextclasslist.C: added some using std declarations.
13376
13377 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * box.h: make signed dimensions to allow insets wider than
13380           the screen (bug #162)
13381
13382         * BufferView_pimpl.C: add some insetHit debug
13383
13384 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * vc-backend.C: add FIXME
13387
13388 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * lyxfunc.C (getStatus): enable code for showing math font status
13391         in toolbar/menu.
13392
13393 2002-01-07  Juergen Vigna  <jug@sad.it>
13394
13395         * text.C (nextBreakPoint): removed debug output not needed anymore.
13396
13397 2002-01-06  Juergen Vigna  <jug@sad.it>
13398
13399         * text.C (nextBreakPoint): fixed up this function we had this bug
13400         since ever but now hopefully we break row better.
13401         (insertChar): we have to check if an inset is the next char as it
13402         could now happen that a large inset is causing a break.
13403
13404 2002-01-05  Juergen Vigna  <jug@sad.it>
13405
13406         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13407         if it doesn't like to be drawed.
13408
13409 2002-01-04  Juergen Vigna  <jug@sad.it>
13410
13411         * BufferView2.C (lockInset): forgot to set a cursor.
13412
13413         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13414
13415 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13416
13417         * FormMathsPanel.C:
13418         * FormMathsPanel.h
13419         * MathsSymbols.C:
13420         * form_maths_panel.C:
13421         * form_maths_panel.h:
13422         * form_maths_panel.fd: implemented sub- and super- buttons in math
13423         panel.
13424
13425         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13426         (or ^ space) to be used as in TeX (req'd by André).
13427
13428         * lyxfunc.C: Allow ^ and _ again to be used both as
13429         super/subscript (mathed) and as themselves (in text).
13430
13431 2002-01-03  Allan Rae  <rae@lyx.org>
13432
13433         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13434         "LyX" or the filename of the current buffer if it has one.  This is a
13435         modified form of John Levon's patch.
13436
13437         * XFormsView.C (setWindowTitle): also set icon title.
13438
13439         * LyXView.h (setWindowTitle): signature changed.
13440         * XFormsView.h (setWindowTitle): ditto.
13441
13442 2002-01-02  Juergen Vigna  <jug@sad.it>
13443
13444         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13445
13446 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * screen.C (topCursorVisible): introduce a temp var for
13449         text->cursor.row(), handle the case where this row is null. (kindo
13450         hachish)
13451
13452         * text2.C (setCursor): add a couple of asserts.
13453
13454         * paragraph.h (inset_iterator): add -> operator
13455
13456         * paragraph.[Ch] (autoDeleteInsets): remove member function
13457
13458         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13459         cursor pos correctly and handle inset deletion by itself.
13460         (insertErrors): move iterator declaration out of for expression
13461
13462         * lyxtextclass.C: add <algorithm>
13463
13464         * Makefile.am: added the new files to sources, removed layout.C
13465
13466         * layout.C: removed file
13467
13468         * layout.h: remove LYX_DUMMY_LAYOUT
13469
13470         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13471         layout.
13472
13473         * lyxlayout.[Ch]:
13474         * lyxtextclass.[Ch]:
13475         * lyxtextclasslist.[Ch]: new files
13476
13477         * include order changes to a lot of files, also changes because of
13478         the six new files.
13479
13480 2001-12-27  Juergen Vigna  <jug@sad.it>
13481
13482         * buffer.C (asciiParagraph): more fixes.
13483
13484         * tabular.C (ascii): make ascii export support export of only the
13485         data separated by a column-delimiter.
13486         (ascii): better support for ascii export.
13487
13488         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13489
13490 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * tabular_funcs.C: use a "using std::getline" instead of the
13493         previous fix from Angus (necessary for cxx + lyxstring)
13494
13495 2001-12-24  Juergen Vigna  <jug@sad.it>
13496
13497         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13498
13499         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13500         problems. First check a minipage also if we have some ert-contents
13501         (not only on par->size(), second set the right depth of the paragraph
13502         on the relink to the root-paragraph-list!
13503
13504         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13505         which then did not anymore update the main paragraphs on undo/redo!
13506
13507 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13508
13509         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13510         code. Support all font-changing funcs (even those which are not in
13511         menu currently). Support for reporting font settings in
13512         mathed (disabled until Andre provides a function on mathed's side).
13513
13514         * func_status.h (toggle): small helper function to set toggle
13515         state on a flag.
13516
13517 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * tabular_funcs.C: getline -> std::getline
13520
13521 2001-12-21  Juergen Vigna  <jug@sad.it>
13522
13523         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13524         accessed and could be 0 (I couldn't generate this but it seems
13525         Michael could!).
13526
13527 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13530         * tabular_funcs.h: here and include iosfwd
13531
13532 2001-12-20  Juergen Vigna  <jug@sad.it>
13533
13534         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13535         inside inset but undo_par was.
13536
13537 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13538
13539         * Thesaurus.C: always include <config.h> in sources.
13540
13541         * Painter.h:
13542         * lyxlookup.h:
13543         * box.h: do not include <config.h> in header files
13544
13545         * text.C (paintLastRow): remove unused variable
13546
13547         * text.C (transformChar):
13548         (insertChar):
13549         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13550
13551         * Painter.C (text):
13552         * font.C (width): rewrite to use uppercase() instead of
13553         islower/toupper.
13554
13555         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13556
13557 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13558
13559         * lyxfind.C: clean up of find failure position change
13560
13561 2001-12-20  Juergen Vigna  <jug@sad.it>
13562
13563         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13564
13565         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13566         (TeXRow): added to LaTeX a single tabular row.
13567         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13568         (Latex): simplified and finally good LT-h/f support.
13569         (various_functions): just small adaptions for LT-h/f support.
13570
13571         * tabular_funcs.[hC]: added and moved here all not classfunctions
13572         of LyXTabular.
13573
13574 2001-12-19  Juergen Vigna  <jug@sad.it>
13575
13576         * tabular.[Ch]: better support for longtabular options (not finished
13577         yet!)
13578
13579 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13580
13581         * text.C (paintLastRow): use the label font instead of the font of
13582         the last character to compute the size of *_BOX. This makes more
13583         sense and avoids a crash with empty paragraphs.
13584         Use Painter::rectangle to draw EMPTY_BOX.
13585
13586 2001-12-19  Juergen Vigna  <jug@sad.it>
13587
13588         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13589         the paragraphs if the replaced paragraph is not the first one!
13590         Tried to delete not used paragraphs but does not work yet so for
13591         now it's inside #ifdef's and by default off!
13592
13593 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * MenuBackend.C: include "lyx_main.h" instead of declaring
13596         lastfiles (actually was declared as LastFiles* instead of a
13597         scoped_ptr).
13598
13599 2001-12-17  Juergen Vigna  <jug@sad.it>
13600
13601         * tabular.C (AppendColumn): applied John's fix
13602
13603 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * BufferView.h:
13606         * BufferView.C:
13607         * BufferView_pimpl.h:
13608         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13609
13610         * Makefile.am:
13611         * box.h: new start of class for above
13612
13613         * lyxfunc.C: ignore space-only minibuffer dispatches.
13614           Show the command name when it doesn't exist
13615
13616         * minibuffer.C: don't add empty lines to the history
13617
13618         * minibuffer.C: add a space on dropdown completion
13619
13620 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * text.C: fix line above/below drawing in insets
13623
13624 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * lyxlength.C (LyXLength): Initialize private variables.
13627
13628 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13629
13630         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13631         when inserting error insets.
13632
13633 2001-12-13  Juergen Vigna  <jug@sad.it>
13634
13635         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13636         actually sometimes the before-paragraph.
13637         (setUndo): don't clear the redostack if we're not actually undoing!
13638
13639 2001-12-06  Juergen Vigna  <jug@sad.it>
13640
13641         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13642         and fixed redoing of main paragraph, so we can use it now ;)
13643
13644         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13645
13646 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13647
13648         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13649         Juergen's request
13650
13651 2001-12-13  André Pönitz <poenitz@gmx.net>
13652
13653         * undostack.[Ch]:
13654         * undo_func.C: minor cleanup
13655
13656 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13657
13658         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13659         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13660         font in urw-fonts package which is marked as -urw-fontspecific and
13661         does not work (incidentally, changing the encoding in the
13662         fonts.dir of this package to -adobe-fontspecific fixes the
13663         problem).
13664
13665         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13666         is a crash when undoing first paragraph (Juergen, please take a
13667         look). THis does not mean the undo fix is wrong, just that it
13668         uncovers problems.
13669
13670         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13671         the (Paragraph*) version when needed instead of duplicating the
13672         code.
13673
13674         * text.C (workWidth): use Inset::parOwner to find out where the
13675         inset has been inserted. This is a huge performance gain for large
13676         documents with lots of insets. If Inset::parOwner is not set, fall
13677         back on the brute force method
13678
13679         * paragraph_pimpl.C (insertInset):
13680         * paragraph.C (Paragraph):
13681         (cutIntoMinibuffer): set parOwner of insets when
13682         inserting/removing them
13683
13684         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13685
13686 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13687
13688         * commandtags.h:
13689         * LyXAction.C:
13690         * lyx_main.C:
13691         * lyxfunc.C:
13692         * mathed/formulabase.C:
13693         * mathed/math_cursor.[Ch]:
13694         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13695
13696
13697 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13698
13699         * lyxlength.[Ch] (operator!=): new function
13700
13701 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13702
13703         * text.C (workWidth): use Inset::parOwner to find out where the
13704         inset has been inserted. This is a huge performance gain for large
13705         documents with lots of insets. If Inset::parOwner is not set, fall
13706         back on the brute force method
13707
13708         * paragraph_pimpl.C (insertInset):
13709         * paragraph.C (Paragraph):
13710         (cutIntoMinibuffer): set parOwner of insets when
13711         inserting/removing them
13712
13713         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13714
13715 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13716
13717         * tabular-old.C (getTokenValue):
13718         * tabular.C (getTokenValue):
13719         (write_attribute): new versions for LyXLength
13720         (everywhere): adjust the use of widths
13721
13722         * tabular.h: change the type of widths from string to LyXLength
13723
13724 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13725
13726         * paragraph.C: fixed missing line number count when exporting
13727         Environments to LaTeX file
13728
13729         * buffer.C: added informational message for checking line numbers.
13730
13731 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13732
13733         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13734         paragraph, do the 'double space' part, but not the 'empty
13735         paragraph' one.
13736
13737         * text.C (workWidth): small optimization
13738         (getLengthMarkerHeight): use minimal size for negative lengths.
13739
13740 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13741
13742         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13743
13744         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13745
13746 2001-12-11  André Pönitz <poenitz@gmx.net>
13747
13748         * FontLoader.C:
13749         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13750
13751 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * text2.C: keep selection on a setFont()
13754
13755 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * lyx_cb.C: another bv->text misuse, from insert label
13758
13759 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * kbsequence.h:
13762         * kbsequence.C: re-instate nmodifier mask
13763
13764 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13765
13766         * lyx_main.h: make lyxGUI private.
13767
13768 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * lyxfind.C: place the cursor correctly on failed search
13771
13772 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13773
13774         * text.C (getLengthMarkerHeight): for small heights, the arrows
13775         are not always on top/bottom of the text
13776         (drawLengthMarker): smaller arrows; take the left margin in
13777         account; draw also vfills.
13778         (paintFirstRow):
13779         (paintLastRow): remove special code for vfill and standard spaces,
13780         since everything is handled in drawLengthMarker now.
13781
13782 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * buffer.C (insertErtContents): try to handle font and language
13785         interaction a bit better.g
13786
13787         * ColorHandler.C (updateColor): change the hash to cover the whole
13788         LColor enum, ws cleanup
13789         (getGCLinepars): ditto
13790         (getGCLinepars): only lookup in the linecache once.
13791
13792 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13793
13794         * iterators.C (operator++): Make the iterator more robust
13795
13796         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13797         (John's patch)
13798         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13799
13800 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * lyxtext.h:
13803         * text.C: better added space drawing
13804
13805 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13806
13807         * LyXView.C:
13808         * BufferView2.C: fix layout combo update on inset unlock
13809
13810 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * Makefile.am: don't compile unused files
13813
13814 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * lyxfunc.C:
13817         * commandtags.h:
13818         * LyXAction.C: remove old LFUN_LAYOUTNO
13819
13820 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * paragraph_pimpl.h:
13823         * paragraph_pimpl.C: isTextAt() doesn't need font param
13824
13825 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * lyxlex.h:
13828         * lyxlex.C: little cleanup
13829
13830 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * BufferView_pimpl.C: fix insertAscii for insets
13833
13834 2001-12-05  Juergen Vigna  <jug@sad.it>
13835
13836         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13837         set the right font on the "multi" paragraph paste!
13838
13839 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * trans_decl.h:
13842         * trans_mgr.[Ch]:
13843         * trans.[Ch]:
13844         * lyxgluelength.C:
13845         * lyxlength.C: remove out-commented code.
13846
13847         * BufferView_pimpl:
13848         * CutAndPaste.C:
13849         * DepTable.C:
13850         * buffer.C:
13851         * chset.C:
13852         * lastfiles.C:
13853         * lyxlex.C:
13854         * lyxlex_pimpl.C:
13855         * lyxserver.C:
13856         * screen.C:
13857         * tabular-old.C:
13858         * tabular.C:
13859         * text.C:
13860         * trans_mgr.C:
13861         * vc-backend.C: change "while(" to "while ("
13862
13863         * lyxlength.[Ch]: add zero function to check if length is zero or
13864         not
13865         * lyxgluelength.C: use it
13866
13867 2001-12-05  Allan Rae  <rae@lyx.org>
13868
13869         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13870         Works for 2.95.3, from what I understand of Garst's reports this should
13871         work for other g++ versions.  We're screwed if the abs(int) definition
13872         changed between bugfix releases of gcc.
13873
13874 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * text.C: fix chapter label offset !
13877
13878 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * lyxtext.h:
13881         * text.C: fix hfill at end of line, clean up
13882
13883 2001-12-04  Juergen Vigna  <jug@sad.it>
13884
13885         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13886         that we force an update of the inset and it's owners if neccessary.
13887
13888 2001-12-03  Juergen Vigna  <jug@sad.it>
13889
13890         * text.C (rowLast): simplified code
13891
13892 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * lyxfunc.C: fix show options on timeout
13895
13896 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13897
13898         * screen.C (topCursorVisible): scroll half a page when the cursor
13899         reached top of bottom of screen
13900
13901 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * minibuffer.C: deactivate on loss of focus
13904
13905 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * vspace.[Ch] (operator!=): add operator.
13908
13909 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13910
13911         * BufferView_pimpl.C: refuse to open an inset when
13912         there's a selection.
13913
13914 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * BufferView_pimpl.C: allow to click on RHS of full row insets
13917
13918 2001-11-30  Juergen Vigna  <jug@sad.it>
13919
13920         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13921         insets for undo reasons.
13922
13923 2001-11-28  André Pönitz <poenitz@gmx.net>
13924
13925         * vspace.[Ch]: cosmetical changes
13926
13927 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * LyXAction.h:
13930         * LyXAction.C:
13931         * lyxfunc.h:
13932         * lyxfunc.C:
13933         * kbmap.h:
13934         * kbmap.C:
13935         * lyxrc.C:
13936         * kbsequence.h:
13937         * kbsequence.C: part re-write of old kb code
13938
13939         * Painter.C:
13940         * WorkArea.C: remove Lgb_bug_find_hack
13941
13942 2001-11-30  José Matos <jamatos@fep.up.pt>
13943
13944         * buffer.C (makeDocBookFile): add a comment to point a hack.
13945         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13946         Fixed a double write of labels.
13947
13948 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13949
13950         * LaTeX.C:
13951         * LaTeX.h Fixed bug in LaTeX class where it would not
13952         re-run latex if no depfiles were changed, but the .dvi was removed.
13953
13954 2001-11-28  André Pönitz <poenitz@gmx.net>
13955
13956         * all the files from the change on 2001/11/26:
13957         use lyx::layout_type instead of LyXTextClass::size_type
13958         use lyx::textclass_type instead of LyXTextClassList::size_type
13959
13960 2001-11-29  Juergen Vigna  <jug@sad.it>
13961
13962         * text.C: added support for paragraph::isFreeSpacing()
13963
13964         * buffer.C: same as above
13965
13966         * paragraph.h: inserted isFreeSpacing() function to enable
13967         FreeSpacing inside InsetERT.
13968
13969         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13970         of the paragraph's in the cut/copy buffer to 0!
13971
13972         * text2.C (removeRow): remove the assert as it can!
13973
13974         * lyxtext.h: added helper function firstRow returning firstrow and
13975         made firstrow private again.
13976
13977         * BufferView2.C (lockInset): don't relock if we're already locked!
13978
13979         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13980         the only paragraph.
13981         (removeRow): added Assert::(firstrow)
13982
13983         * debug.C: forgot to add INSETTEXT here.
13984
13985 2001-11-28  Juergen Vigna  <jug@sad.it>
13986
13987         * sp_spell.C (initialize): changed error text to more general
13988         spellchecker command use (not only ispell!)
13989
13990         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13991
13992         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13993
13994 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13995
13996         * vspace.C: initialise lyxgluelength on failure
13997
13998 2001-11-28  Allan Rae  <rae@lyx.org>
13999
14000         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14001         declaration & definition that looks like a function declaration.
14002
14003 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * BufferView2.C (copy):
14006         (copyEnvironment): do not clear the selection when doing a copy.
14007
14008         * text.C (paintFirstRow): compilation fix
14009
14010 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14011
14012         * tabular.C (Latex): correct line count when writing latex.
14013
14014 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * paragraph_pimpl.h:
14017         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14018           bug a bit
14019
14020 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14021
14022         * text.C:
14023         * LColor.h:
14024         * LColor.C: change vfillline->added_space
14025
14026         * text.C: add markers and text for added space
14027
14028         * vspace.C: fix comment
14029
14030 2001-11-28  André Pönitz <poenitz@gmx.net>
14031
14032         * paragraph.C: whitespace changes
14033         * all the other files from the change on 2001/11/26:
14034         change *::pos_type into lyx::pos_type
14035
14036 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14037
14038         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14039         language of the document when inserting error insets.
14040
14041 2001-11-26  André Pönitz <poenitz@gmx.net>
14042
14043         * BufferView_pimpl.[Ch]:
14044         *       CutAndPaste.C:
14045         * buffer.[Ch]:
14046         * lyxcursor.[Ch]:
14047         * lyxfind.C:
14048         * lyxfunc.C:
14049         * lyxrow.[Ch]:
14050         * paragraph.[Ch]:
14051         * paragraph_pimpl.[Ch]:
14052         * sp_spell.C:
14053         * text.C:
14054         * text2.C: reduce header dependencies, introduce type for positions
14055
14056 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * <various>: change to use Alert.h
14059
14060 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14063         when encountering an unknown token.
14064         (readLyXformat2): Show an error message if there were unknown tokens.
14065
14066 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * BufferView2.C:
14069         * BufferView_pimpl.C:
14070         * buffer.C:
14071         * paragraph.h:
14072         * text.C:
14073         * text2.C: use par->isInset()
14074
14075 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * paragraph_pimpl.h:
14078         * paragraph_pimpl.C: cleanup
14079
14080 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * text2.C (removeRow):
14083         * text.C (setHeightOfRow): remove useless (and costly) call to
14084         getRow.
14085
14086 2001-11-20  Allan Rae  <rae@lyx.org>
14087
14088         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14089         Now need Inset*::checkInsertChar() to return true for appropriate
14090         cases so that the characters in the minibuffer will actually be
14091         inserted.
14092
14093 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * text.C: change the order of the includes.
14096         (workWidth): initialize it at once.
14097         (workWidth): make maxw unsigned
14098         (setHeightOfRow): remove unused variable (inset)
14099         (selectSelectedWord): remove unused variable (inset)
14100         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14101
14102 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14105         server is not running.
14106         (openConnection):
14107         (closeConnection): add debug info when server is disabled.
14108
14109         * ColorHandler.C (getGCForeground): send debug message to GUI
14110         channel.
14111
14112         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14113
14114         * kbmap.C (bind): modify because return conventions of
14115         kb_sequence::parse have changed.
14116
14117         * kbsequence.C (parse): only ignore spaces and not any stupid
14118         control character. This avoids tests like s[i] <= ' ', which are
14119         guaranteed to fail with 8bit characters and signed chars.
14120         Change return code to string::npos when there have been no error
14121         (0 was a bad idea when error is at first character)
14122
14123 2001-11-14  José Matos  <jamatos@fep.up.pt>
14124
14125         * buffer.h:
14126         * buffer.C (simpleDocBookOnePar): removed unused argument.
14127
14128 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14131         insets which are part of a word. Paragraph::isLetter takes care of
14132         that now. Use Paragraph::isInset to identify insets.
14133         (selectSelectedWord): do not test for hyphenation break.
14134
14135         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14136         that protected spaces are considered as spaces.
14137
14138         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14139         Inset::isLetter.
14140
14141 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * lyxserver.h:
14144         * lyxserver.C: fix it. and small cleanup.
14145
14146 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * BufferView_pimpl.C: use inline helpers
14149
14150         * LaTeXFeatures.h:
14151         * LaTeXFeatures.C: fix typos
14152
14153         * Spacing.h:
14154         * Spacing.C: move spacing_string into class
14155
14156         * ToolbarDefaults.C: move stuff into namespace anon
14157
14158         * layout.h: update enum
14159
14160         * lyxfunc.C: use better debug
14161
14162         * minibuffer.h: fix typo
14163
14164         * debug.h:
14165         * debug.C:
14166         * WorkArea.C: add and use Debug::WORKAREA
14167
14168         * lyxtext.h:
14169         * text.C:
14170         * text2.C: code re-organisation, inline helpers
14171
14172 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14173
14174         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14175         std::vector.empty().
14176
14177 2001-11-09  Allan Rae  <rae@lyx.org>
14178
14179         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14180         '\n's after tables.  Tabular and ERT inset work now makes this no
14181         longer necessary.
14182
14183 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * minibuffer.h:
14186         * minibuffer.C: fix crash, improve drop-down completion
14187
14188 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * lyxserver.h:
14191         * lyxserver.C: invalidate fd's when doing endPipe()
14192
14193 2001-11-08  José Matos  <jamatos@fep.up.pt>
14194
14195         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14196         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14197
14198         * paragraph.h:
14199         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14200
14201 2001-11-07  José Matos  <jamatos@fep.up.pt>
14202
14203         * buffer.h:
14204         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14205         const qualifier.
14206
14207         * buffer.C (sgmlOpenTag):
14208         * buffer.C (sgmlCloseTag): removed debug info.
14209
14210         * buffer.h (sgmlOpenTag):
14211         * buffer.h (sgmlCloseTag): made public.
14212
14213 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14214
14215         * buffer.C (saveParamsAsDefaults):
14216         * lyx_cb.C (MenuLayoutSave): remove
14217
14218         * LyXAction.C (init):
14219         * commandtags.h:
14220         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14221
14222 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14223
14224         * buffer.C (setPaperStuff): removed from here...
14225
14226         * bufferparams.C (setPaperStuff): ... and moved there.
14227
14228 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14229
14230         * minibuffer.h:
14231         * minibuffer.C:
14232         * XFormsView.C: add support for drop-down completion
14233
14234 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14235
14236         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14237         commands.
14238
14239 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14242         disabled.
14243
14244 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * lyx_main.C: change ref to known bugs
14247
14248 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14249
14250         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14251         to work around older babel problems.
14252
14253 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14254
14255         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14256
14257 2001-10-24  Juergen Vigna  <jug@sad.it>
14258
14259         * tabular-old.C (ReadOld): below variable changes reflected.
14260
14261         * tabular.[Ch]: added ltType struct for longtable header/footer
14262         defines and changed all instances where they are used. Added
14263         future support for double top/bottom rows.
14264
14265 2001-10-24  José Matos  <jamatos@fep.up.pt>
14266
14267         * buffer.h (docbookHandleCaption):
14268         * buffer.C (docbookHandleCaption): removed unused function.
14269         (makeDocBookFile): moved docbook supported version to v4.1.
14270
14271 2001-10-24  José Matos  <jamatos@fep.up.pt>
14272
14273         * tabular.h:
14274         * tabular.C (docbookRow): new function to export docbook code of a row.
14275         (DocBook): now honors the longtable flags.
14276
14277 2001-10-23  José Matos  <jamatos@fep.up.pt>
14278
14279         * LaTeXFeatures.h:
14280         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14281         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14282
14283         * buffer.C (makeLinuxDocFile):
14284         (makeDocBookFile): reworked the preamble, more clean, and with
14285         support for lyx defined entities. Changed the document declaration
14286         to be more XML friendly.
14287
14288         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14289         if we need to output XML that should be done with a filter.
14290
14291 2001-10-22  Juergen Vigna  <jug@sad.it>
14292
14293         * sp_pspell.h (class PSpell): add alive function needed in the
14294         controller to see if the spellchecker could be started.
14295
14296 2001-10-22  Juergen Vigna  <jug@sad.it>
14297
14298         * buffer.C (insertStringAsLines): modify the font for inserting
14299         chars in certain conditions by calling checkInsertChar(font).
14300
14301 2001-10-19  Juergen Vigna  <jug@sad.it>
14302
14303         * text.C (workWidth): use getRow instead of wrong algorithm.
14304         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14305
14306 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14307
14308         * lyxserver.h:
14309         * lyxserver.C:
14310         * lyx_main.h:
14311         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14312
14313 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * text.C (workWidth): do not search for the exact row when
14316         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14317         optimization for big documents.
14318
14319 2001-10-18  Juergen Vigna  <jug@sad.it>
14320
14321         * text.C (workWidth): new function with added Inset * parameter.
14322
14323 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14326
14327         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14328         change return type of getColumnNearX.
14329
14330
14331         * text.C (changeRegionCase): use uppercase/lowercase instead of
14332         toupper/tolower.
14333         (leftMargin):
14334         (rightMargin): simplify code by factoring out the uses of
14335         textclasslist.
14336         (labelFill):
14337         (numberOfHfills):
14338         (setHeightOfRow):
14339         (appendParagraph): use Paragraph::size_type
14340
14341 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * vspace.C (asLatexString): add a missing break
14344
14345 2001-10-15  Herbert Voss  <voss@perce.de>
14346
14347         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14348
14349 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14350
14351         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14352         is not available.
14353
14354 2001-10-10  André Pönitz <poenitz@gmx.net>
14355
14356         * lyxfunc.C: removed greek_kb_flag.
14357
14358 2001-10-10  Herbert Voss  <voss@perce.de>
14359
14360         * lyx_main.C: delete global string help_lyxdir.
14361
14362 2001-10-09  Herbert Voss  <voss@perce.de>
14363
14364         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14365
14366         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14367
14368         * lyx_main.C: added global string help_lyxdir.
14369
14370         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14371
14372 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14373
14374         * lyxrc.C (set_font_norm_type): support iso8859-4
14375
14376 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14377
14378         * LaTeX.C (deplog): add another regex for MikTeX
14379
14380 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14381
14382         * lyxrc.C (set_font_norm_type): support iso8859-3
14383
14384 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14387
14388         * LaTeXFeatures.C: remove special case of french and index
14389
14390         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14391         before \begin{document}). This solves several incompatibilities.
14392
14393 2001-10-03  Garst Reese  <reese@isn.net>
14394
14395         * lyx_cb.C: change CheckTex error msg.
14396
14397 2001-10-03  José Matos  <jamatos@fep.up.pt>
14398
14399         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14400
14401 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * .cvsignore: update
14404
14405         * lyx_main.C (commandLineVersionInfo): use new style version info.
14406
14407         * buffer.C (writeFile):
14408         (makeLaTeXFile):
14409         (makeLinuxDocFile):
14410         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14411
14412         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14413
14414         * version.h: update to use stuff in version.C
14415
14416         * version.C.in: new file. Contains version information determined
14417         at compile time. This is a merging of version.h and
14418         version_info.h.in.
14419
14420 2001-10-03  Juergen Vigna  <jug@sad.it>
14421
14422         * BufferView_pimpl.C (update): don't change "dirty" status in
14423         updateInset call.
14424
14425 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * WorkArea.C (c-tor): re-position version string slightly.
14428
14429 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14432         revert to previous code.
14433
14434         WorkArea.[Ch]: (show, destroySplash): methods removed.
14435
14436         WorkArea.C: rework code so that it's an amalgam of the codes before and
14437         after the splash screen was moved to WorkArea.
14438
14439 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * lyxrc.C (read):
14442         * vspace.C (inPixels):
14443         (lyx_advance):
14444         * kbmap.C (bind):
14445         * buffer.C (insertStringAsLines):
14446         (asciiParagraph): fix types to be large enough
14447
14448         * lyxlex_pimpl.h: change member status from short to int
14449
14450         * layout.h: fix type of endlabeltype
14451
14452         * kbmap.C (bind):
14453         * kbsequence.C (parse): change return type to string::size_type
14454
14455         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14456         variable
14457
14458         * Bullet.C (bulletSize):
14459         (bulletEntry): do not use short ints as parameters
14460
14461         * BufferView2.C (insertLyXFile): change a char to an int.
14462
14463         * WorkArea.C (WorkArea): remove unneeded floats in computation
14464
14465 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14468
14469         * paragraph.C (asString): Do not ignore newline/hfill chars when
14470         copying to the clipboard.
14471
14472 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14473
14474         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14475         after a multi-line inset.
14476
14477 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14478
14479         * paragraph.C (validate): Set NeedLyXFootnoteCode
14480
14481 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14482
14483         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14484         and decrease-error to decrease.
14485
14486 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14487
14488         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14489         it more readable (should be equivalent)
14490
14491 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14492
14493         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14494
14495 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14498         of a cursor (row, etc.) after a character has been deleted
14499         (deleteEmptyParagraphMechanism): call the method above on _all_
14500         cursors held by the LyXText when a double space has been
14501         detected/deleted.
14502
14503 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14504
14505         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14506         pixmap.
14507         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14508
14509         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14510         background. Use greyOut() and the new show() methods to toggle between
14511         the foreground and background. Add code to remove the splash after
14512         its initial showing.
14513
14514         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14515         (create_forms): no longer call Dialogs::showSplash.
14516
14517 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * .cvsignore: add version_info.h
14520
14521 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14522
14523         * version_info.h.in: new file
14524
14525         * Makefile.am: add version_info.h.in
14526
14527         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14528         version_info.h instead of VERSION_INFO
14529
14530 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14533         The ERT inset now returns string().
14534
14535 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14536
14537         * lyxtext.h, text.C (selectNextWord): renamed as
14538         selectNextWordToSpellcheck.
14539
14540         * text.C (selectNextWordToSpellcheck): Modified to not select
14541         words inside an ERT inset.
14542
14543 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14544
14545         * lyx_cb.C (MenuLayoutSave): change a bit the question
14546
14547         * sp_base.h: include <sys/types.h>
14548
14549 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14550
14551         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14552
14553 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14554
14555         * several files: fix typos in user-visible strings
14556
14557 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * text2.C (pasteSelection): do not set the selection, since it
14560         will be cleared later. Actually, the intent was to fix the way the
14561         selection was set, but I figured rmoving the code was just as good.
14562
14563 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14564
14565         * FontLoader.C (available): Check if font is available without
14566         loading the font.
14567
14568 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14569
14570         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14571
14572 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14573
14574         * lyxrc.[Ch]: added display_graphics variable and associated code.
14575
14576 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14577
14578         * bufferparams.C (hasClassDefaults): new method. Returns true if
14579         the buffer parameters correspond to known class defaults
14580
14581 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14582
14583         * XFormsView.C (show): set minimum size to the main window.
14584
14585 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * text2.C (copySelection):
14588         (cutSelection):
14589         * lyxfind.C (LyXReplace):
14590         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14591         LyXText::selectionAsString.
14592
14593         * paragraph.C (asString): add "label" argument to the second form
14594
14595         * text2.C (selectionAsString): add "label" argument and pass it to
14596         Paragraph::asString.
14597
14598 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14599
14600         * lyx_main.C (commandLineHelp): remove version information
14601
14602 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14603
14604         * lyx_main.C: add -version commandline option
14605
14606 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * paragraph.h: make the optional constructor arg required instead.
14609         some modifications to other files because of this.
14610
14611         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14612
14613         * lyxserver.C (C_LyXComm_callback): make it static
14614
14615         * lyx_main.C (error_handler): make it static
14616
14617         * lyx_gui.C (LyX_XErrHandler): make it static
14618
14619         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14620
14621         * WorkArea.C: make the extern "C" methods static.
14622
14623         * Makefile.am (lyx_LDADD): simplify
14624
14625 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14626
14627         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14628         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14629
14630         * LyXAction.C (init):
14631         * lyxfunc.C (dispatch): associated code removal.
14632
14633 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * lyxfont.h (isSymbolFont): shut off warning
14636
14637         * text.C (setHeightOfRow):
14638         (getVisibleRow): fix crash with empty paragraphs which have a
14639         bottom line
14640
14641 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14642
14643         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14644         code.
14645
14646 2001-09-04  José Matos  <jamatos@fep.up.pt>
14647         * buffer.C
14648         * buffer.h
14649         * tabular.C (docbook): rename docBook method to docbook.
14650
14651 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14652
14653         * Makefile.am: add dependencies to main.o.
14654
14655 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14656
14657         * FontLoader.C (available): Return false if !lyxrc.use_gui
14658
14659 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14660
14661         * FontInfo.C (query):
14662         * converter.C (view):
14663         * importer.C (Import):
14664         * exporter.C (Export): Can not -> cannot.
14665
14666 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * BufferView_pimpl.C: allow to create index inset even if
14669           string is empty
14670
14671 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14672
14673         * buffer.C (getLists): replace boost::tie code with an explicit pair
14674         as boost::tie can break some compilers.
14675
14676         * iterators.h: Added a std:: declaration to the return type of
14677         ParIterator::size.
14678
14679 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14682           case.
14683
14684 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14685
14686         * iterators.[Ch]: New files. Provide paragraph iterators.
14687
14688         * buffer.C (changeLanguage): Use paragraph iterators.
14689         (isMultiLingual): ditto
14690
14691         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14692
14693 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * FontLoader.C: Support for cmr font.
14696
14697 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14698
14699         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14700         (available): New method.
14701
14702         * FontInfo.C (getFontname): Use scalable fonts even when
14703         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14704         found.
14705
14706 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14707
14708         * converter.C (Formats::view): reverted! Incorrect fix.
14709
14710 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14711
14712         * converter.C (Formats::view): only output the -paper option
14713         if the dvi viewer is xdvi, thereby fixing bug #233429.
14714
14715 2001-08-23  Herbert Voss  <voss@perce>
14716
14717         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14718
14719 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * Spacing.h (Spacing): Set space to Default on in the default
14722         constructor.
14723
14724 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * vc-backend.h (RCS::versionString): add RCS to version
14727         (CVS::versionString): add CVS to version
14728
14729         * vc-backend.C (scanMaster): do not add CVS to version.
14730         (scanMaster): do not add RCS to version
14731
14732         * lyxvc.C (versionString): new method
14733
14734         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14735
14736 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * Spacing.C (set): initialize fval
14739
14740 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14741
14742         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14743         " or \.
14744
14745 2001-08-16  Juergen Vigna  <jug@sad.it>
14746
14747         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14748
14749 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14750
14751         * BufferView_pimpl.C:
14752         * figureForm.C:
14753         * lyxtext.h:
14754         * text2.C: setParagraph takes linespacing now
14755
14756 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * LyxAction.C: add internal LFUN_CITATION_INSERT
14759
14760         * LyXView.C: actually apply fix
14761
14762         * bufferlist.C: fix open non-existent file
14763
14764         * lyxfind.C: fix indentation
14765
14766         * lyxfunc.C: remove unneeded assert, fix typo
14767
14768 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * MenuBackend.C: use "Floatname List"
14771
14772 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14773
14774         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14775         when converting LaTeX layout to insetERT.
14776         Generate a non-collapsed float when reading old float
14777
14778 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14781         ERT insets.
14782
14783 2001-08-13  Juergen Vigna  <jug@sad.it>
14784
14785         * text.C (fill): return 0 instead of 20 as this seems to be the more
14786         correct value.
14787
14788 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14791         lyxrc.font_norm.
14792
14793 2001-08-13  Juergen Vigna  <jug@sad.it>
14794
14795         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14796         casesensitive off.
14797         (SearchBackward): comment out the unlocking of the inset_owner this
14798         should not be needed!
14799
14800 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14801
14802         * Many files: Remove inherit_language, and add latex_language
14803
14804         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14805         collapsible insets.
14806
14807 2001-08-10  Juergen Vigna  <jug@sad.it>
14808
14809         * text.C (prepareToPrint): fixed hfill-width in draw!
14810
14811         * BufferView2.C (selectLastWord): save the selection cursor as this
14812         now is cleared in the function LyXText::clearSelection!
14813
14814 2001-08-08  Juergen Vigna  <jug@sad.it>
14815
14816         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14817         BACKSPACE type functions.
14818
14819         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14820         is only cutted from the document but not put in the cut-buffer, where
14821         still the old stuff should be.
14822
14823         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14824
14825         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14826
14827         * tabular.C (SetWidthOfCell): fixed special case where the width
14828         was not updated!
14829         (LeftLine): handle '|' in align_special.
14830         (RightLine): ditto
14831         (LeftAlreadyDrawed): ditto
14832         (SetWidthOfCell): ditto
14833
14834 2001-08-07  Juergen Vigna  <jug@sad.it>
14835
14836         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14837
14838 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14841         * lyxlex.[hC]: ditto
14842
14843 2001-08-06  Juergen Vigna  <jug@sad.it>
14844
14845         * text.C (getVisibleRow): fix up row clearing a bit.
14846
14847 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * minibuffer.C: make sure the X server sees the changes in the input.
14850
14851 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * paragraph.C (getFont): split into...
14854         (getLabelFont): this
14855         (getLayoutFont): and this
14856         * paragraph_pimpl.C (realizeFont): calling this
14857
14858         * text2.C (getFont): split into...
14859         (getLayoutFont): this
14860         (getLabelFont): and this
14861         (realizeFont): all three calling this
14862
14863         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14864         files where used.
14865
14866 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14869
14870 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14871
14872         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14873         layouts from the Quote inset insertion.
14874
14875 2001-08-03  Juergen Vigna  <jug@sad.it>
14876
14877         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14878
14879         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14880         only if status not is already CHANGED_IN_DRAW (second level).
14881
14882         * text.C (draw): don't set the need_break_row when inside an
14883         InsetText LyXText.
14884
14885 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * buffer.C (parseSingleLyXformat2Token): handle more latex
14888         conversion cases.
14889
14890         * bufferview_funcs.[hC]: change function names to
14891         begin with small char, adjust other files.
14892
14893 2001-08-02  André Pönitz <poenitz@gmx.net>
14894
14895         * lyxfunc.C:
14896         BufferView_pimpl.C: remove broken special code for math-greek
14897
14898 2001-08-02  Juergen Vigna  <jug@sad.it>
14899
14900         * BufferView_pimpl.C (update): redone this function so that we
14901         update the text again if there was a CHANGE_IN_DRAW.
14902
14903         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14904         (drawFromTo): added a new internal bool which is used by draw() and
14905         redraw() function.
14906         (general): some cursor drawing problems fixed.
14907
14908 2001-08-01  Juergen Vigna  <jug@sad.it>
14909
14910         * lyxfind.C (LyXFind): fixed
14911         (SearchForward): ditto
14912         (SearchBackward): ditto
14913
14914         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14915         spurius drawing of the cursor in the main area.
14916
14917         * text2.C (status): small fix which could lead to a segfault!
14918         (clearSelection): remove unneeded BufferView param.
14919
14920 2001-08-01  André Pönitz <poenitz@gmx.net>
14921
14922         * lyxfunc.C: small change due to changed mathed interface
14923
14924 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14927
14928 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * lyxfunc.c: fail gracefully if file doesn't exist
14931
14932         * LyXSendto.C:
14933         * buffer.C:
14934         * lyxfunc.C:
14935         * BufferView_pimpl.C: IsDirWriteable() proto changed
14936
14937         * LyXView.C: fix updateWindowTitle() to store the last title
14938
14939 2001-07-31  Juergen Vigna  <jug@sad.it>
14940
14941         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14942         the font (wrong since using of Paragraph::highestFontInRange).
14943
14944         * paragraph.C (highestFontInRange): added a default_size parameter.
14945
14946         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14947         (setHeightOfRow): reformat
14948
14949 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * converter.[hC] + affected files: move to (inital-char)lowercase
14952         function names.
14953
14954         * ParagraphParameters.C (ParagraphParameters): remove commented code
14955
14956         * PainterBase.[Ch]: remove commented code
14957
14958         * LaTeXFeatures.h: add "bool floats" for float.sty
14959
14960         * LaTeXFeatures.C (LaTeXFeatures): init floats
14961         (require): handle float
14962         (getPackages): do it with floats
14963
14964 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * BufferView_pimpl.C (Dispatch): improve handling of
14967         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14968
14969         * commandtags.h: #include lyxfont.h here temporarily to avoid
14970         keybinding bug.
14971
14972         * bufferlist.h: include LString.h here.
14973
14974 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * text2.C (getStringToIndex): new method.
14977
14978 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14979
14980         * *: Reduced header file dependencies all over.
14981
14982 2001-07-30  Baruch Even  <baruch@lyx.org>
14983
14984         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14985
14986 2001-07-29  Baruch Even  <baruch@lyx.org>
14987
14988         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14989
14990 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * ParameterStruct.h (endif): add a default constructor to make
14993         sure that all variables is initialized.
14994
14995         * ParagraphParameters.C (ParagraphParameters): adjust
14996
14997 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15000         index; also, check that there is something to index, and that it
15001         does not span over several paragraphs.
15002         (doubleClick): use WHOLE_WORD_STRICT for double click.
15003
15004         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15005
15006         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15007         scheme.
15008
15009 2001-07-26  Baruch Even  <baruch@lyx.org>
15010
15011         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15012         an InsetFig figure, backwards compatible reading of old figure code.
15013
15014 2001-07-27  Juergen Vigna  <jug@sad.it>
15015
15016         * text2.C: font.realize function adaption.
15017
15018         * text.C (draw): add a warnings lyxerr text if needed.
15019
15020         * layout.C: font.realize function adaption.
15021
15022         * language.C: add inherit_language and implement it's handlings
15023
15024         * bufferview_funcs.C (StyleReset): remove language parameter from
15025         font creation (should be language_inherit now).
15026
15027         * bufferparams.C (writeFile): handle ignore_language.
15028
15029         * paragraph.C (getFontSettings): the language has to be resolved
15030         otherwise we have problems in LyXFont!
15031
15032         * lyxfont.C (lyxWriteChanges): added document_language parameter
15033         (update): removed unneeded language parameter
15034
15035         * paragraph.C (validate): fixed wrong output of color-package when
15036         using interface colors for certain fonts in certain environments,
15037         which should not seen as that on the final output.
15038
15039 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15040
15041         * BufferView_pimpl.C:
15042         * Thesaurus.h:
15043         * Thesaurus.C:
15044         * Makefile.am:
15045         * commandtags.h:
15046         * LyXAction.C: add thesaurus support
15047
15048         * lyxfind.h:
15049         * lyxfind.C: add "once" parameter, for thesaurus, to not
15050           move to the next match
15051
15052 2001-07-26  Juergen Vigna  <jug@sad.it>
15053
15054         * lyxfont.C (realize): honor ignore_language too!
15055         (resolved): ditto.
15056
15057         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15058
15059         * text.C (draw): one place more for ignore_language to not draw
15060         itself!
15061
15062 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15063
15064         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15065
15066 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15069         the minipage conversion problem.
15070
15071 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15074         insert an inset.
15075
15076 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15077
15078         * BufferView.h: don't forward declare WorkArea
15079
15080         * BufferView.C: don't include WorkArea.h
15081
15082 2001-07-25  André Pönitz <poenitz@gmx.net>
15083
15084         * commandtags.h:
15085         * LyXAction.C:
15086         * lyxfunc.C:  new LFUN 'math-space'
15087
15088         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15089
15090 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * text2.C (toggleInset): call open/close
15093
15094 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * lyxfunc.C (dispatch): add debug for the disabled case
15097
15098         * font.C (buttonText): make similar to rectText
15099
15100         * buffer.C (readInset): comment out parsing of insetlist and
15101         insttheorem
15102
15103         * PainterBase.C (rectText): small correction
15104
15105         * BufferView_pimpl.C: comment out insettheorem and insetlist
15106         * LyXAction.C: ditto
15107         * commandtags.h: ditto
15108
15109 2001-07-24  Juergen Vigna  <jug@sad.it>
15110
15111         * text.C (draw): honor the ignore_language.
15112
15113         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15114
15115 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15118         char inset.
15119
15120 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15121
15122         * lyxtext.h: remove unused (and unimplemented) methods
15123
15124 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15125
15126         * text.C (getVisibleRow): honor background color
15127
15128         * PainterBase.h:
15129         * Painter.h: remove default color argument for fillRectangle
15130
15131         * text.C (backgroundColor): new method
15132
15133 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * text.C (getVisibleRow): adjust
15136
15137         * font.[Ch] (rectText): new method, metrics
15138         (buttonText): new method, metrics
15139
15140         * PainterBase.[hC]: make rectText and buttonText always draw and take
15141         fewer paramteres.
15142
15143 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15144
15145         * ToolbarDefaults.C (read):
15146         * MenuBackend.C (read): allow escaping in all strings
15147
15148         * BufferView_pimpl.C (insertAndEditInset): new method.
15149         (Dispatch): use insertAndEditInset whenever appropriate.
15150
15151         * BufferView_pimpl.C (insertNote): removed
15152
15153         * BufferView_pimpl.C (smartQuote): new method, moved from
15154         BufferView; if an insetquote cannot be inserted, insert a '"'
15155         character instead.
15156
15157         * BufferView2.C: remove insertCorrectQuote();
15158
15159         * lyxfunc.C (getStatus): Add support for all remaingin
15160         inset-insert lfuns.
15161
15162         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15163
15164         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15165         command (necessary to pass " as parameter of self-insert.
15166
15167         * text.C (selectWordWhenUnderCursor):
15168         (selectWord): add word_location parameter
15169         (selectWordWhenUnderCursor): same + remove special code for word
15170         boundary.
15171         (selectNextWord): use kind() to guess type of insetspecialchar,
15172         not latex().
15173
15174         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15175         (insertErtContents): create ert insets as collapsed.
15176         (readInset): better compatibility code for Info inset.
15177
15178 2001-07-20  Juergen Vigna  <jug@sad.it>
15179
15180         * lyxfunc.C (dispatch): use always LyXFind now!
15181
15182         * text2.C (init): add a reinit flag so that the LyXText can be
15183         reinited instead of deleted and reallocated (used in InsetText).
15184
15185         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15186
15187         * text.C: ditto
15188
15189         * text2.C: ditto
15190
15191 2001-07-18  Juergen Vigna  <jug@sad.it>
15192
15193         * text.C (selectNextWord): handle insets inside inset by calling
15194         always the bv->text functions so that we can go up the_locking_inset!
15195
15196         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15197         in strange locations when inside an inset!
15198
15199         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15200         handling to include insets.
15201
15202         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15203
15204 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * LyXAction.C (init):
15207         * commandtags.h:
15208         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15209         LIGATURE_BREAK, since the name is so stupid.
15210
15211 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15212
15213         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15214         InsetInfos.
15215
15216         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15217
15218         * sp_form.[Ch]: remove.
15219
15220         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15221
15222         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15223         InsetInfo.
15224
15225         * src/buffer.C (readInset): ditto.
15226
15227 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15228
15229         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15230         menuSeparator(), endOfSentenceDot(), ldots() and
15231         hyphenationPoint(), which are therefore removed.
15232         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15233
15234         * LyXAction.C (init):
15235         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15236
15237         * paragraph.C (getWord): removed.
15238
15239         * BufferView_pimpl.C (Dispatch): use last word or selection for
15240         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15241
15242         * lyx_main.C (queryUserLyXDir): do not ask before creating
15243         user_dir, except if it has been named explicitely.
15244
15245 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15246
15247         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15248         a document of zero size.
15249
15250 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15253         approriately in the c-tor and in require().
15254         (getPackages): output the appropriate LaTeX for natbib support.
15255
15256         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15257         variables "use_natbib" and "use_numerical_citations" when reading the
15258         LyX file.
15259         (readInset): read the various natbib cite commands.
15260         (validate): white-space change.
15261
15262         * bufferparams.[Ch]: new variables "bool use_natbib" and
15263         "bool use_numerical_citations".
15264         (writeFile): output them in the LyX file.
15265
15266 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15267
15268         * lyxfunc.C (getStatus): add support for all the inset insertion
15269         commands.
15270
15271         * text2.C (insertInset):
15272         * paragraph.C (insetAllowed):
15273         * BufferView_pimpl.C (insertInset): update to take in account the
15274         renaming of insertInsetAllowed
15275
15276         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15277
15278         * text2.C (getInset): new method. returns inset at cursor position.
15279
15280         * BufferView_pimpl.C (Dispatch): changes because of this.
15281
15282         * LyXAction.C (init): rename open-stuff to inset-toggle.
15283
15284         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15285
15286         * text2.C (toggleInset): renamed from openStuff; use
15287         Inset::open().
15288
15289 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15290
15291         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15292
15293         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15294
15295 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * buffer.C (readLyXformat2): Add filename to the error dialog
15298
15299 2001-07-18  Juergen Vigna  <jug@sad.it>
15300
15301         * tabular.C (GetCellNumber): put an assert here instead of the check!
15302
15303 2001-07-17  Juergen Vigna  <jug@sad.it>
15304
15305         * BufferView_pimpl.C (toggleSelection): adapted too.
15306
15307         * text.C (selectNextWord): adapted for use with insets.
15308         (selectSelectedWord): ditto
15309
15310 2001-07-17  Juergen Vigna  <jug@sad.it>
15311
15312         * sp_spell.C (PSpell): fix initialitation order.
15313
15314 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * paragraph.C: spacing
15317
15318 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15319
15320         * sp_spell.C: repair language selection for pspell
15321
15322 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15323
15324         * lyxfunc.h: change more methods to begin with lower char.
15325
15326 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15327
15328         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15329         for unknown layouts.
15330
15331 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15332
15333         * buffer.C (readLyXformat2): Generate an error dialog if there are
15334         unknown layouts.
15335
15336 2001-07-16  Juergen Vigna  <jug@sad.it>
15337
15338         * sp_spell.C: always compile ISpell part.
15339
15340         * lyxrc.C: added use_pspell entry and it's handling.
15341
15342 2001-07-13  Juergen Vigna  <jug@sad.it>
15343
15344         * sp_spell.C: removed double includes.
15345
15346 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15347
15348         Consistent use of Lsstream.h:
15349         * Lsstream.h: added using std::stringstream for consistencies sake.
15350
15351         * buffer.C: removed using std::stringstream
15352
15353         * lyxfont.C (stateText):
15354         * paragraph.C (asString):
15355         * text.C (selectNextWord, selectSelectedWord):
15356         * text2.C (setCounter):
15357         * vspace.C (asString, asLatexString):
15358         std::ostringstream -> ostringstream.
15359
15360 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15361
15362         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15363         * commandtags.h: add LFUN_HELP_ABOUTLYX
15364         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15365
15366 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15367
15368         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15369         cursorToggle()
15370         * lyx_gui_misc.C: remove spellchecker
15371         * lyxfunc.C: showSpellchecker
15372         * sp_base.h: added
15373         * sp_ispell.h: added
15374         * sp_pspell.h: added
15375         * sp_spell.C: added
15376         * sp_form.[Ch]: removed
15377         * spellchecker.[Ch]: removed
15378
15379 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15380
15381         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15382         is set.
15383         (simpleTeXSpecialChars): Simply print the input character without
15384         any special translation if pass_thru is set.
15385
15386         * layout.h: Added bool pass_thru to layout class for being able to
15387         implement pass through of a paragraph for Literate Programming.
15388
15389         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15390         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15391         * layout.C (Read): add "passthru" to list of layout tags and add
15392         code to set the pass_thru boolean when it is read.
15393
15394 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * trans_decl.h: remove allowed from KmodInfo
15397
15398         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15399         remove allowed code
15400         (Load): adjust
15401
15402         * paragraph_pimpl.C (erase): use boost::prior
15403
15404         * Painter.C (text): use data() instead of c_str() when length is
15405         also provided.
15406         * WorkArea.C (putClipboard): ditto
15407         * font.h (width): ditto
15408
15409         * BufferView2.C: use it-> instead of (*it). for iterators
15410         * texrow.C: ditto
15411         * paragraph_pimpl.C: ditto
15412         * paragraph.C: ditto
15413         * minibuffer.C: ditto
15414         * language.C: ditto
15415         * kbmap.C: ditto
15416         * encoding.C: ditto
15417         * counters.C: ditto
15418         * converter.C: ditto
15419         * chset.C: ditto
15420         * Variables.C: ditto
15421         * TextCache.C: ditto
15422         * MenuBackend.C: ditto
15423         * LyXAction.C: ditto
15424         * LColor.C: ditto
15425         * FloatList.C: ditto
15426         * DepTable.C: ditto
15427         * ColorHandler.C (LyXColorHandler): ditto
15428
15429 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15432
15433         * text2.C (openStuff): reintroduce this method (which had been
15434         nuked in NEW_INSETS frenzy).
15435
15436         * lyxfunc.C (Dispatch): when an action has not been handled, use
15437         its name in the error message, not its number.
15438
15439         * paragraph.C (inInset): change method name to begin with lowercase.
15440
15441         * undo_funcs.C:
15442         * text2.C: updates because of this.
15443
15444 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * ToolbarDefaults.C (add): add spaces in error message
15447
15448 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15449
15450         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15451         (readLyXformat2): rename return_par to first_par, use lyxlex's
15452         pushToken and remove the manual push handling.
15453         (parseSingleLyXformat2Token): add another ert comp. variable:
15454         in_tabular, rename return_par to first_par. handle newlines better
15455
15456 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15459
15460 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15461
15462         * text2.C (getParFromID): removed
15463
15464         * buffer.C (getParFromID): new method moved form lyxtext.
15465         * BufferView2.C (insertErrors): adjust
15466         (setCursorFromRow): adjust
15467         * BufferView_pimpl.C (restorePosition): adjust
15468         * lyxfunc.C (Dispatch): adjust
15469         * undo_funcs.C (textUndo): adjust
15470         (textRedo): adjust
15471         (textHandleUndo): adjust
15472         (textHandleUndo): adjust
15473
15474 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * buffer.C: up' the LYX_FORMAT
15477
15478         * lyxfont.h: turn NO_LATEX on as default
15479
15480         * buffer.C (insertErtContents): new methods of tex style compability.
15481         (parseSingleLyXformat2Token): use it several places.
15482         * tabular.C (OldFormatRead): and here
15483
15484 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * text2.C: remove some commented code.
15487         reindent file.
15488
15489         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15490         * trans.C: changes because of the above.
15491
15492 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15493
15494         * text2.C (setCounter): Fix counters bug with bibliography layout.
15495
15496 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15497
15498         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15499         own member functions
15500         (simpleTeXSpecialChars): ditto
15501
15502 2001-07-06  Juergen Vigna  <jug@sad.it>
15503
15504         * a lot of files: changed the access to LyXText::status and the
15505         call of undo-functions.
15506
15507         * undo.[Ch]: added a inset_id to the undo informations.
15508
15509         * undo_funcs.[Ch]: added and moved here all undo functions.
15510
15511         * lyxtext.h: give the status enum a weight, made status_ a private
15512         variable and made accessor functions for it, removed the whole bunch
15513         of undo-functions as they are now in their own file, make some
15514         functions publically available. Added function ownerParagraph with
15515         int parameter.
15516
15517         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15518         made InInset() a const function, added getParFromID() function.
15519
15520         * buffer.[Ch]: added const version for inset_iterator functions,
15521         added getInsetFromID() function.
15522
15523         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15524         changed undo functions for new version.
15525
15526 2001-07-05  Juergen Vigna  <jug@sad.it>
15527
15528         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15529         unknow mechanism does not call the proper constructor but only this
15530         one also if I request the other!?
15531
15532 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15533
15534         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15535
15536         * text2.C (LyXText): use initialization lists.
15537
15538         * lyxtext.h (Selection): initialize set_ and mark_
15539         (init): remove method
15540
15541 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15544
15545 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * screen.[Ch]: change method names to begin with lowercase
15548
15549         * BufferView_pimpl.C (updateScrollbar): simplify further and
15550         hopefully make it a bit faster.
15551
15552 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15553
15554         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15555         calling directly xforms functions.
15556
15557         * Painter.C (Painter):
15558         * lyx_cb.C (MenuWrite):
15559         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15560         fl_display.
15561
15562         * lyx_gui.C: remove bogus guiruntime extern declaration.
15563
15564 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15567         in NEW_INSETS
15568         (redoDrawingOfParagraph): ditto
15569         (redoParagraphs): ditto
15570         (cutSelection): don't create a object for CutAndPaste use the
15571         static method directly
15572         (pasteSelection): ditto
15573
15574         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15575         LyXview (+ rename)
15576
15577 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15578
15579         * modifications to some other files because of this.
15580
15581         * Makefile.am (lyx_SOURCES): add XFormsView
15582
15583         * XFormsView.[Ch]: new files
15584
15585         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15586         the main window. Move the gui dependent stuff to XFormsView
15587
15588 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15589
15590         * tabular.C (GetCellInset): update cur_cell also in the row/col
15591         version of this function.
15592
15593         * lyxfunc.C: no need to include figure_form.h here.
15594
15595         * FontLoader.h:
15596         * lyxfunc.h:
15597         * lyxscreen.h:
15598         * text2.C:
15599         * lyxvc.C: no need to include forms.h here.
15600
15601 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15604
15605         * lyxfunc.C (Dispatch):
15606         * Spacing.C (set):
15607         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15608         constructor argument.
15609
15610 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15611
15612         * paragraph.C (Paragraph): dont't clear, and just set layout.
15613         (makeSameLayout): use params's copy contructor.
15614
15615         * ParagraphParameters.[Ch] (makeSame): delete method
15616
15617 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15618
15619         * Variables.[Ch]: fix indentation, rename set to isSet
15620
15621 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15622
15623         * lyxfunc.C (Dispatch): fix typo
15624
15625 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15628         upper_bound.
15629
15630         * bufferlist.C: include assert.h for emergencyWrite().
15631
15632 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15633
15634         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15635           give up at last (bug #425202) !
15636
15637 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15638
15639         * lyx_gui_misc.C:
15640         * sp_form.h:
15641         * sp_form.C:
15642         * spellchecker.h:
15643         * spellchecker.C: strip spellchecker options and bring up
15644           preferences tab instead
15645
15646 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15649         the istringstream constructor
15650
15651 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * paragraph.C (getLayout): fix return value
15654
15655         * paragraph.h: do not declare getLayout as inline.
15656
15657         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15658
15659 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15660
15661         * lyxcursor.h (operator<): new func
15662         (operator>): new func
15663         (operator>=): new func
15664         (operator<=): new func
15665
15666         * text.C (changeCase): use selection.start and selection.end
15667         (changeRegionCase): require from to be <= to. Require par to be a
15668         valid paragraph.
15669
15670         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15671
15672 2001-06-27  Juergen Vigna  <jug@sad.it>
15673
15674         * text.C (cursorLeftOneWord): changed to return the cursor and added
15675         overlay with BufferView * parameter which calls this one.
15676         (getWord): added
15677         (selectWord): use new getWord function.
15678         (changeCase): renamed from changeWordCase as and extended to work
15679         also on selections.
15680
15681         * lyxtext.h: added enum word_location
15682
15683         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15684         changeCase as this operates now also on selections.
15685
15686 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15687
15688         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15689
15690         * many files: send debug output to Debug::INFO instead of
15691         Debug::ANY.
15692
15693         * converter.C (View):
15694         (Convert):
15695         (Move): send debug output to Debug::FILES instead of console.
15696
15697 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15698
15699         * lyxfunc.C (getStatus): use func_status
15700
15701         * func_status.h: new header, describing the results of
15702         LyXFunc::getStatus;
15703
15704         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15705         LFUN_MATH_HALIGN.
15706
15707 2001-06-25  The LyX Project  <jug@sad.it>
15708
15709         * buffer.C (sgmlOpenTag):
15710         (sgmlCloseTag):
15711         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15712
15713 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15714
15715         * text2.C: remove some dead code
15716
15717         * tabular.C (GetCellInset): store the last cell checked (gotten)
15718
15719         * tabular.h: add the helper for the speedup
15720
15721         * lyxtext.h: remove some dead code
15722
15723 2001-06-26  The LyX Project  <Asger>
15724
15725         * paragraph.C: Change export to LaTeX of alignment to
15726         \begin{center} and family for better roundtrip work with reLyX.
15727
15728         * Tune the math drawing a bit.
15729
15730 2001-06-25  The LyX Project  <Asger>
15731
15732         * LColor.C (LColor): New color for math background. New color
15733         for buttons.
15734
15735 2001-06-25  The LyX Project  <jug@sad.it>
15736
15737         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15738
15739         * lyxfunc.C (Open):
15740         * bufferlist.C (newFile): do not restrict to files ending with
15741         .lyx
15742
15743         * BufferView_pimpl.C (MenuInsertLyXFile):
15744
15745 2001-06-24  The LyX Project  <jug@sad.it>
15746
15747         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15748         of compare_no_case
15749
15750 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * lyxtext.h: rename most methods to begin with a small char.
15753         Lots of changes because of this.
15754
15755         * paragraph.C (Paragraph): do not call fitToSize
15756         (erase): call Pimpl::erase
15757         (insertChar): call Pimpl::insertChar
15758         (insertInset): call Pipl::insertInset
15759         (breakParagraph): do not call fitToSize
15760         (breakParagraphConservative): do not call fitToSize
15761         (fitToSize): remove method
15762
15763         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15764
15765 2001-06-24  The LyX Project  <Asger>
15766
15767         * Fix Qt compilation^2
15768
15769 2001-06-24  The LyX Project  <jug@sad.it>
15770
15771         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15772         depthHook(getDepth()-1).
15773
15774         * paragraph.h:
15775         * ParagraphParameters.h:
15776         * ParameterStruct.h: change type of depth to unsigned int ==
15777         depth_type. Many adaptations to other files before of that.
15778
15779 2001-06-24  The LyX Project  <Asger>
15780
15781         * Fix Qt compilation.
15782
15783 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * paragraph.h: renamed several methods to begin with small letter.
15786         several changes to many parts of the code because of this.
15787
15788 2001-06-23  The LyX Project  <jug@sad.it>
15789
15790         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15791         rewritten to discard all double spaces when KeepEmpty is off
15792         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15793         to only handle newlines but not fiddle with spaces and friends.
15794
15795         * lyxfunc.C (MenuNew): when doing 'new from template', use
15796         template_path as default directory
15797
15798 2001-06-23  The LyX Project  <Asger>
15799
15800         * Clean-up of header file includes all over
15801         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15802
15803 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15804
15805         * paragraph.h: renamed from lyxparagraph.h
15806
15807 2001-06-23  Asger  <lyx@violet.home.sad.it>
15808
15809         * Buffer.h: Removed Buffer::resize
15810         * BufferList.h: Removed BufferList::resize
15811         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15812         the document lazily when we change the width, or the font settings.
15813
15814 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15815
15816         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15817
15818 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15819
15820         * buffer.h: remove out of date comment
15821
15822 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15823
15824         * lyxscreen.h:
15825         * screen.C: fix "theoretical" GC leak
15826
15827 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * LaTeX.C (scanAuxFile):
15830         (deplog): remove trailing \r when reading stream (useful under
15831         win32)
15832
15833 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15834
15835         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15836         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15837         and BufferView::theLockingInset(Inset*), so should use them and not
15838         access bv_->text->the_locking_inset directly.
15839
15840         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15841
15842 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15843
15844         * Makefile.am:
15845         * tex-defs.h: remove old unused file
15846
15847 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15848
15849         * BufferView_pimpl.C: fix typo, remove minibuffer message
15850           when buffer has loaded
15851
15852 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15853
15854         * lyxfunc.C (Dispatch): use stringstream
15855         (MenuNew): use stringstream
15856         (Open): use stringstream
15857
15858         * importer.C (Import): use stringstream
15859
15860         * bufferview_funcs.C (CurrentState): use stringstream
15861
15862         * LaTeX.C (run): use stringstream
15863
15864         * BufferView_pimpl.C (savePosition): use stringstream
15865         (restorePosition): use stringstream
15866         (MenuInsertLyXFile): use stringstream
15867
15868 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15869
15870         * BufferView.C:
15871         * Bullet.C:
15872         * ColorHandler.C:
15873         * FontInfo.C:
15874         * FontLoader.C:
15875         * LColor.C:
15876         * LaTeXFeatures.C:
15877         * Painter.C:
15878         * gettext.C:
15879         * lyx_gui_misc.C:
15880         * lyxserver.C:
15881         * vspace.C: removed // -*- C++ -*- as first line.
15882
15883         * lyxfind.h:
15884         * version.h: added // -*- C++ -*- as first line.
15885
15886 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15889
15890         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15891         of string
15892
15893 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15894
15895         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15896         of floats.
15897
15898 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * gettext.C: include LString.h even when --disable-nls is on.
15901
15902 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15903
15904         * converter.h (Get): changed argument type from int to
15905         FormatList::size_type to avoid unnecessary conversion.
15906
15907         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15908         before using it.
15909
15910 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * gettext.h: include LString.h even when --disable-nls is on.
15913
15914 2001-06-07  Juergen Vigna  <jug@sad.it>
15915
15916         * text.C (BreakAgain): subst spaces with tabs.
15917
15918         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15919         (resizeInsetsLyXText): set force on resizeLyXText.
15920
15921 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15922
15923         * gettext.h (gettext_init):
15924         (locale_init): use a real definition instead of a macro
15925
15926 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15927
15928         * Bufferview_pimpl.C:
15929         * LColor.h:
15930         * LColor.C: further lcolor tidies
15931
15932 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15933
15934         * BufferView_pimpl.C (updateScrollbar): simplify.
15935
15936         * BufferView2.C: don't include insets/insetinfo.h, change
15937         prototype for insertInset and call the Pimpl version. let
15938         updateInset call Pimpl version.
15939
15940         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15941         gotoInset to BufferView::Pimpl
15942
15943 2001-06-01  Juergen Vigna  <jug@sad.it>
15944
15945         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15946         inside a LockingInset (is the update needed at all?).
15947
15948 2001-05-31  Juergen Vigna  <jug@sad.it>
15949
15950         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15951         here not the old one otherwise how should we compare it afterwards
15952         if it's the same!
15953
15954 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * lyxfont.C:
15957         * tabular.C:
15958         * tabular-old.C:
15959         * FontInfo.C: bring C functions into global namespace when
15960         necessary
15961
15962 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * LString.h: make sure config.h has been loaded before LString.h.
15965
15966         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15967         (one for each char read by EatLine!).
15968
15969         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15970         variables.
15971
15972 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15973
15974         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15975         to the same as the par we break from
15976
15977 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15980
15981         * MenuBackend.C (expand): also create menu entries for wide
15982         versions of the floats.
15983
15984         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15985
15986         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15987
15988         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15989         frontends/Makefile.am
15990
15991         * text2.C: adjust
15992         * text.C: adjust
15993
15994
15995         * tabular.C (getTokenValue): add std::
15996
15997         * tabular-old.C (getTokenValue): add std::
15998         (getTokenValue): ditto
15999         (getTokenValue): ditto
16000
16001         * screen.C (ToggleSelection): adjust
16002
16003         * lyxtext.h: put selection cursors inside a Selection struct.
16004
16005         * lyxfunc.C (moveCursorUpdate): adjust
16006
16007         * lyxfont.C (latexWriteStartChanges): add std::
16008
16009         * lyxfind.C: adjust
16010
16011         * font.h: delete with(char const *, LyXFont const &)
16012
16013         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16014
16015         * FontInfo.C (getFontname): add std::
16016
16017         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16018         (workAreaButtonPress): adjust
16019         (tripleClick): adjust
16020         (update): adjust
16021         (moveCursorUpdate): adjust
16022         (Dispatch): adjust
16023
16024         * BufferView2.C (gotoInset): adjust
16025
16026 2001-05-30  Juergen Vigna  <jug@sad.it>
16027
16028         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16029         to check pspell I add this as default as I now have new pspell
16030         libraries and they seem to use this.
16031
16032 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * text2.C (CutSelection): make the cursor valid before the call to
16035         ClearSelection.
16036
16037 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16038
16039         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16040         relied on 0 terminated strings and other horrors. Bug found due to
16041         the new assert in lyxstring!
16042
16043         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16044         KP_ keys.
16045
16046 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16049         to latinkeys.bind.
16050
16051         * lyxfunc.C (processKeySym): change method of getting to the
16052         self-insert char.
16053
16054         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16055         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16056         * BufferView_pimpl.[Ch]: here as private methods.
16057
16058 2001-05-28  Juergen Vigna  <jug@sad.it>
16059
16060         * text.C (SetHeightOfRow): added the update() call again as it is
16061         needed to initialize inset dimensions!
16062
16063 2001-05-16  Juergen Vigna  <jug@sad.it>
16064
16065         * text2.C (SetCharFont): Add new function with BufferView * and
16066         bool toggleall parameters for setting insets internal fonts.
16067         (SetFont): Freeze the undo as we may change fonts in Insets and
16068         all this change should be inside only one Undo!
16069
16070         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16071         setting font's in insets as for them we have the SetFont function!
16072
16073 2001-05-15  Juergen Vigna  <jug@sad.it>
16074
16075         * text2.C (ClearSelection): to be sure we REALLY don't have any
16076         selection anymore!
16077
16078         * tabular.C (TeXCellPreamble): fixed the left border problem for
16079         multicolumn cells.
16080
16081 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16084         dependancy file
16085
16086 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16087
16088         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16089         LFUN_BREAKPARAGRAPH.
16090
16091         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16092         help test to "internal only", similar for LFUN_INSERT_URL
16093
16094         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16095         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16096         auto_region_delete and deadkeys.
16097
16098 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16099
16100         * LColor.h:
16101         * LColor.C: remove some dead entries, tidy a little
16102
16103 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16106         commented code.
16107         (Dispatch): implement LFUN_ESCAPE
16108
16109         * commandtags.h: add LFUN_ESCAPE
16110
16111         * LyXAction.C (init): add entry for LFUN_ESCAPE
16112
16113         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16114         Remove commented code.
16115         (insertNote): moved here
16116         (open_new_inset): moved here
16117
16118         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16119         BufferView_pimpl
16120
16121 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16122
16123         * kbmap.C (findbinding): clean it up and make it work correctly.
16124
16125         * lyx_main.C (init): do not pass argc and argv as parameters
16126
16127 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16128
16129         * buffer.C: fix path for OS/2 & Win32
16130
16131         * lyx_gui.C:
16132         * lyx_main:
16133         * lyx_main.C: Added os:: class.
16134
16135         * os2_defines.h: update
16136
16137 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16138
16139         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16140         better by trying again with reduced state.
16141
16142 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16143
16144         * lyxrc.C (read): print error about invalid key sequence only when
16145         debugging (because not all latinX keysyms are known to some X
16146         servers)
16147
16148         * kbsequence.C (getiso): add a few std:: qualifiers
16149         (getiso): comment out extra return statement.
16150
16151 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16152
16153         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16154         handling.
16155         (Dispatch): enhance the accent inset a bit. (not perfect)
16156
16157 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16158
16159         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16160
16161 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16162
16163         * bufferlist.C (emergencyWrite): fix assert() call
16164
16165 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16166
16167         * text.C (InsertChar): Added trivial patch to only send the "you
16168         can not do multiple spaces this way" message once during a
16169         session.
16170
16171 2001-05-08  Baruch Even  <baruch@lyx.org>
16172
16173         * Makefile.am: Changed order of libraries to get LyX to link properly
16174         with the gnome frontend.
16175
16176 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16177
16178         * LaTeXFeatures.h: add a std:: qualifier
16179
16180 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16181
16182         * paragraph.C (String): use stringstream
16183
16184 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16185
16186         * paragraph.C (writeFile): remove footflag arg
16187
16188         * buffer.C (makeLaTeXFile): use stringstream
16189         (latexParagraphs): remove footnot gurba
16190
16191         * LaTeXFeatures.C (getPackages): use stringstream
16192         (getMacros): likewise
16193         (getTClassPreamble): likewise
16194         (getFloatDefinitions): new method
16195
16196         * paragraph.C (writeFile): reindent
16197         (Erase): reindent
16198
16199         * WorkArea.h: revert the xpos + etc changes.
16200
16201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16202
16203         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16204
16205         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16206         (pasteSelection): likewise
16207         * text2.C (CreateUndo): likewise
16208
16209 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * minibuffer.C (peek_event): temporarily reduce the functionality
16212         of the minibuffer (to allow args on lfuns)
16213
16214         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16215         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16216
16217         * buffer.C (readInset): add compability reading of old float
16218         lists, add reading of new style float list.
16219         (readInset): avoid reevaluation of inscmd.getCmdName()
16220         (getLists): reindent
16221
16222         * MenuBackend.C (MenuItem): implement parsing of
16223         md_floatlistinsert and md_floatinsert.
16224         (expand::LastFiles): move initalizaton of iterators out of loop,
16225         avoid reevaluation.
16226         (expand::Documents): introduce typdedef vector<string> Strings,
16227         and use it.
16228         (expand::ExportFormats): introduce typedef vector<Format const *>
16229         Formats, and use it.
16230         (expand): implement FloatListInsert and FloatInsert.
16231
16232         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16233         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16234         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16235
16236         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16237         handling.
16238         (Dispatch::LFUN_FLOAT_LIST): implement
16239
16240 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16241
16242         * LaTeX.C (run): Fix problem with --export code.
16243
16244 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16245
16246         * BufferView.[Ch] (workarea): removed.
16247         (getClipboard) new method; wrapper for workarea()->getClipboard()
16248
16249         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16250         bug.
16251
16252         * WorkArea.h (width, height, xpos, ypos): These methods all
16253         returned the dimensions of the work_area sub-area of WorkArea,
16254         resulting in a position error if the WorkArea were resized. Now
16255         return the dimensions of the entire WorkArea.
16256
16257         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16258
16259 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16260
16261         * LaTeX.C (deplog): correct the syntax of regex reg1
16262
16263 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16264
16265         * undo.C: remove !NEW_INSETS cruft
16266
16267 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16268
16269         * text2.C: remove !NEW_INSETS cruft
16270
16271         * text.C: remove !NEW_INSETS cruft
16272
16273         * tabular.C: remove !NEW_INSETS cruft
16274
16275         * spellchecker.C: remove !NEW_INSETS cruft
16276
16277         * lyxtext.h: remove !NEW_INSETS cruft
16278
16279         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16280
16281         * lyxfunc.C: remove !NEW_INSETS cruft
16282
16283         * lyxfind.C: remove !NEW_INSETS cruft
16284
16285         * lyx_cb.C: remove !NEW_INSETS cruft
16286
16287         * figureForm.C: remove  !NEW_INSETS cruft
16288
16289         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16290
16291         * buffer.[Ch]: remove !NEW_INSETS cruft
16292
16293         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16294
16295         * CutAndPaste.C: remove !NEW_INSETS cruft
16296
16297         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16298
16299         * BufferView2.C: remove !NEW_INSETS cruft
16300
16301         * BufferView.h: remove !NEW_INSETS cruft
16302
16303 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16304
16305         * Lsstream.h: include LString.h before the sstream headers to
16306         fix problem with gcc 2.95.3 and lyxstring
16307
16308 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16309
16310         * lyx_main.C: add using directives when needed for C functions
16311         declared in std:: namespace.
16312
16313 2001-04-27  Juergen Vigna  <jug@sad.it>
16314
16315         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16316         (SetHeightOfRow): comment out the update call should not be needed!
16317
16318 2001-04-13  Juergen Vigna  <jug@sad.it>
16319
16320         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16321         (LyXTabular): tried to minimize operator= operations (and realized
16322         hopfully Lars wish).
16323
16324 2001-04-27  Juergen Vigna  <jug@sad.it>
16325
16326         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16327
16328 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16329
16330         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16331
16332         * buffer.C (readInset): hack to make listof algorithm work
16333
16334         * BufferView_pimpl.C: hack to make listof algorithm work
16335
16336 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16337
16338         * LyXAction.C: removed all !NEW_INSETS cruft
16339         (init): moved lfun_item in method
16340
16341         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16342
16343 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16344
16345         * BufferView2.C (theLockingInset): white space.
16346
16347 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16348
16349         * minibuffer.C: include <iostream>
16350
16351         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16352
16353         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16354
16355         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16356
16357         * text.[Ch] (TransposeChars): new method
16358
16359 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16360
16361         * call message directly through LyXView instead of through LyXFunc
16362         * BufferView2.C: adjust
16363         * BufferView_pimpl.C: adjust
16364         * FontLoader.C: adjust
16365         * buffer.C: adjust
16366         * bufferview_funcs.C: adjust
16367         * converter.C: adjust
16368         * figureForm.C: adjust
16369         * importer.C: adjust
16370         * lyx_cb.C: adjust
16371         * lyx_gui_misc.C: adjust
16372         * lyxfunc.C: adjust
16373         * lyxvc.C: adjust
16374         * text2.C: adjust
16375         + more files in subdirs
16376
16377         * lyxparagraph.h (size): move up int file
16378         (GetLayout): ditto
16379
16380         * adjust all uses of Assert to lyx::Assert.
16381
16382         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16383         lyxfunctional in namespace lyx
16384         * layout.C (hasLayout): ditto
16385         (GetLayout): ditto
16386         (GetLayout): ditto
16387         (delete_layout): ditto
16388         (NumberOfClass): ditto
16389         * converter.C (GetFormat): ditto
16390         (GetNumber): ditto
16391         (Add): ditto
16392         (Delete): ditto
16393         (SetViewer): ditto
16394         * bufferlist.C (getFileNames): ditto
16395         (emergencyWriteAll): ditto
16396         (exists): ditto
16397         (getBuffer): ditto
16398         * MenuBackend.C (hasSubmenu): ditto
16399         (hasMenu): ditto
16400         (getMenu): ditto
16401         * BufferView_pimpl.C (getInsetByCode): ditto
16402
16403 2001-04-18  Juergen Vigna  <jug@sad.it>
16404
16405         * vspace.C (asLatexString): fixed the 100% problem.
16406
16407 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16408
16409         * lyxfunc.C (Dispatch):
16410         * minibuffer.C:
16411         * minibuffer.h: add a few std:: qualifiers
16412
16413 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * minibuffer.[Ch]: reimplement so that commands is initiated and
16416         run from lyxfunc, simplified som handling, and made the completion
16417         and history code for complete. wip.
16418
16419         * lyxfunc.C (processKeySym): call message
16420         (miniDispatch): new temporary method
16421         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16422         (LFUN_MESSAGE): implement
16423         (LFUN_MESSAGE_PUSH): implement
16424         (LFUN_MESSAGE_POP): implement
16425         (initMiniBuffer): the initial/defualt minibuffer message.
16426
16427         * lyxfont.[Ch]: inline some more getters
16428
16429         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16430
16431         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16432
16433         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16434         (AutoSave): use LFUN_MESSAGE
16435         (Reconfigure): ditto
16436
16437         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16438
16439         * figureForm.C: use LFUN_MESSAGE
16440
16441         * converter.C (runLaTeX): use LFUN_MESSAGE
16442
16443         * bufferview_funcs.C: use LFUN_MESSAGE
16444         (Melt): ditto
16445         (changeDepth): ditto
16446
16447         * bufferparams.h: use boost::
16448
16449         * bufferlist.h: inherit privately from noncopyable
16450
16451         * bufferlist.C (loadLyXFile): remove some commented code.
16452
16453         * buffer.C (runChktex): use LFUN_MESSAGE
16454
16455         * ShareContainer.h: inherit privately from noncopyable
16456
16457         * ParagraphParameters.[hC] (depth): inline it.
16458
16459         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16460         methods.
16461         (message): new method
16462         (messagePush): ditto
16463         (messagePop): ditto
16464         (show): init minibuffer
16465         (showState): direct call
16466
16467         * LaTeX.[Ch]: inherit privately from noncopyable
16468         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16469         instead of WriteStatus.
16470
16471         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16472
16473         * BufferView_pimpl.C (buffer): don't init minibuffer
16474         (workAreaButtonPress): use LFUN_MESSAGE
16475         (workAreaButtonRelease): ditto
16476         (savePosition): ditto
16477         (restorePosition): ditto
16478         (MenuInsertLyXFile): ditto
16479         (workAreaExpose): don't init minibuffer
16480         (update): remove commented code, simplify
16481
16482         * BufferView2.C (openStuff): use LFUN_MESSAGE
16483         (toggleFloat): ditto
16484         (menuUndo): ditto
16485         (menuRedo): ditto
16486         (copyEnvironment): ditto
16487         (pasteEnvironment): ditto
16488         (copy): ditto
16489         (cut): ditto
16490         (paste): ditto
16491         (gotoInset): ditto
16492         (updateInset): remove some commented code
16493
16494         * lastfiles.h: inherit privately from noncopyable
16495         * layout.h: ditto
16496         * lyx_gui.h: ditto
16497         * lyx_main.h: ditto
16498         * lyxlex.h: ditto
16499         * lyxlex_pimpl.h: ditto
16500
16501         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16502         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16503         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16504
16505         * LyXAction.h: inherit privately from noncopyable, add methods
16506         func_begin, func_end, returning iterators to the func map.
16507
16508         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16509         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16510         (func_begin): new method
16511         (func_end): new method
16512
16513         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16514         and not)
16515         (copySelection): ditto
16516         (pasteSelection): ditto
16517
16518         * BufferView.C: whitespace change
16519         * BufferView.h: inherit privately from noncopyable
16520
16521 2001-04-16  Allan Rae  <rae@lyx.org>
16522
16523         * tabular-old.C (l_getline):
16524         * spellchecker.C (sc_check_word):
16525         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16526         an unrecognised preprocessor directive.  So ensure they're wrapped.
16527
16528 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16529
16530         * src/exporter.C (Export): Give an error message when path to file
16531         contains spaces.
16532
16533 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16534
16535         * LaTeX.C (deplog): Always check that foundfile exists.
16536
16537 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16538
16539         * lyx_main.h:
16540         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16541
16542 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * tabular.[Ch] (getLabelList): implement new method
16545
16546         * minibuffer.h: comment ouf setTiimer
16547
16548         * minibuffer.C (ExecutingCB): constify res
16549         (peek_event): constify s
16550         (Set): constify ntext
16551         (Init): constify nicename
16552
16553         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16554
16555         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16556         (savePosition): use two params to Minibuffer::Set
16557         (restorePosition): ditto
16558
16559 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * lyx_main.C: include language.h
16562
16563         * Makefile.am (lyx_main.o): add language.h
16564
16565 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16566
16567         * exporter.C:
16568         * paragraph.C:
16569         * screen.C:
16570         * tabular.C:
16571         * CutAndPaste.C: include gettext.h
16572
16573         * lyxfont.h: remove old hack with ON and OFF.
16574
16575         * lyxparagraph.h:
16576         * lyxfont.h: do not include language.h...
16577
16578         * BufferView2.C:
16579         * LaTeXFeatures.C:
16580         * Painter.C:
16581         * bufferview_funcs.C:
16582         * font.C:
16583         * lyxfont.C:
16584         * text.C:
16585         * text2.C:
16586         * trans_mgr.C:
16587         * paragraph.C: ... but do it here instead
16588
16589 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16590
16591         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16592
16593         * tabular.C: small reformat
16594
16595         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16596         NEW_INSETS version
16597         (GetChar): ditto
16598         (BreakParagraph): ditto
16599         (SetOnlyLayout): ditto
16600         (SetLayout): ditto
16601
16602         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16603         with one arg less.
16604
16605         * lastfiles.C: removed most using decl, add std:: where needed
16606
16607         * buffer.C: ws changes
16608
16609         * MenuBackend.C (class compare_format): put into anon namespace
16610         (expand): constify label, names, action, action2
16611         (expand):
16612
16613         * text.C (SingleWidth): constify font
16614         (IsBoundary): constify rtl2
16615         (GetVisibleRow): constify ww
16616
16617         * LaTeX.C (deplog): constify logfile
16618
16619         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16620         start_x, end_x
16621         (workAreaExpose): constify widthChange, heightChange
16622
16623         * lyxrow.C (par): moved
16624         (height): moved
16625         (next): moved
16626         * lyxrow.h: as inlines here
16627
16628         * lyxfont.h (shape): moved from lyxfont.C
16629         (emph): moved from lyxfont.C
16630
16631         * lyxfont.C (LyXFont): use initialization list for all
16632         constructors
16633         (shape): move to lyxfont.h as inline
16634         (emph): move to lyxfont.h as inline
16635
16636
16637 2001-04-04  Juergen Vigna  <jug@sad.it>
16638
16639         * vspace.C: had to include stdio.h for use of sscanf
16640
16641 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16642
16643         * BufferView.h:
16644         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16645         independent of xforms.
16646
16647 2001-04-02  Juergen Vigna  <jug@sad.it>
16648
16649         * spellchecker.C: fixed namespace placing!
16650
16651 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16652
16653         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16654         the LyXParagraph * is 0.
16655
16656 2001-03-29  Juergen Vigna  <jug@sad.it>
16657
16658         * vspace.C: added support for %, c%, p%, l%.
16659         (stringFromUnit): added helper function.
16660         (asLatexString): changed to give right results for the %-values.
16661
16662         * buffer.C: convert the widthp in a width%.
16663
16664 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16665
16666         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16667         figureForm.[Ch].
16668
16669         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16670         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16671
16672         * lyx_cb.[Ch]: see above.
16673
16674         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16675         form1.[Ch].
16676
16677         * form1.[Ch]:
16678         * lyx.[Ch]: replaced by figure_form.[Ch].
16679
16680         * lyx_gui.C:
16681         * lyx_gui_misc.C:
16682         * lyxfunc.C: changed headers associated with above changes.
16683
16684 2001-03-27  Juergen Vigna  <jug@sad.it>
16685
16686         * BufferView_pimpl.C: set the temporary cursor right!
16687
16688 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16689
16690         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16691
16692 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16693
16694         * LString.h: removed "using std::getline"!
16695
16696         * BufferView_pimpl.C (Dispatch): changes due to changes in
16697         InsetInclude::Params.
16698
16699         * buffer.C (tag_name): removed redundant break statements as they were
16700         producing lots of warnings with my compiler.
16701
16702 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * LString.h: add "using std::getline" when using the real <string>.
16705
16706 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16707
16708         * buffer.C: removed bitset usage.
16709         PAR_TAG moved to an anonymous name space.
16710         (tag_name): new funtion, also in the anonymous namespace.
16711         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16712         (makeDocBookFile): clean code. Completed transition from string arrays
16713         to string vectors.
16714         (SimpleDocBookOnePar): code clean.
16715
16716 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16717
16718         * tabular.C: add some comments.
16719
16720 2001-03-22  Juergen Vigna  <jug@sad.it>
16721
16722         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16723         compatibility read a bit and fixed bug with minipage in different
16724         depth.
16725
16726 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16727
16728         * buffer.C (pop_tag): removed.
16729         (push_tag): removed.
16730         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16731         array replaced with vector. Added support for CDATA sections.
16732         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16733         at any nest level.
16734         (makeDocBookFile): XML conformant declaration of CDATA section,
16735         fixed bug related to <emphasis> in the first paragraph char.
16736         (sgmlOpenTag): exclude empty tags.
16737         (sgmlCloseTag): ditto.
16738
16739         * buffer.h (pop_tag): removed.
16740         (push_tag): removed.
16741
16742 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16743
16744         * language.h (Languages): added size_type and size().
16745
16746 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16747
16748         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16749         response on compability reading of minipages. One probliem is that
16750         the old usage of minipages was «flertydig»
16751
16752         * several files here and in subdirs: don't use static at file
16753         scope use anon namespaces instead.
16754
16755 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16756
16757         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16758         LaTeX output. This is necessary for Literate document
16759         processing.
16760
16761 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16762
16763         * buffer.C: insert hfill when needed.
16764
16765         * tabular.C (l_getline): use string::erase, small whitespace change.
16766
16767         * BufferView_pimpl.C: try the anon namespace.
16768         * WorkArea.C: ditto
16769
16770 2001-03-16  Juergen Vigna  <jug@sad.it>
16771
16772         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16773         otherwise it won't open options-dialogs.
16774
16775         * buffer.C: honor pextraWidth(p) on converting minipages.
16776
16777         * tabular.C (l_getline): changed the functions to strip trailing \r.
16778
16779 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16780
16781         * BufferView_pimpl.C:
16782         * minibuffer..C: added "using SigC::slot" declaration.
16783
16784 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16785
16786         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16787
16788         * text2.C: ditto
16789
16790         * text.C: ditto
16791
16792         * paragraph.C: ditto
16793
16794         * lyxtext.h: NO_PEXTRA
16795
16796         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16797
16798         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16799         * ParameterStruct.h: ditto
16800         * ParagraphParameters.h: ditto
16801         * lyxparagraph.h: ditto
16802
16803 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16804
16805         * buffer.C: add compability for minipage alignment.
16806         (latexParagraphs): remove unwanted pextra check.
16807
16808         * several files: remove CXX_WORKING_NAMESPACES
16809
16810         * buffer.C (pop_tag): tie is in namespace boost
16811
16812         * BufferView.h: noncopyable is in namespace boost
16813         * lyxlex.h: ditto
16814         * lyx_main.h: ditto
16815         * lyx_gui.h: ditto
16816         * layout.h: ditto
16817         * lastfiles.h: ditto
16818         * bufferlist.h: ditto
16819         * ShareContainer.h: ditto
16820         * LyXView.h: ditto
16821         * LyXAction.h: ditto
16822         * LaTeX.h: ditto
16823
16824 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16825
16826         * Merging changes from BRANCH_MVC back into HEAD.
16827
16828         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16829
16830 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16831
16832         * BufferView_pimpl.C: change from intl.C
16833
16834         * combox.h:
16835         * combox.C:
16836         * Makefile.am: move combox.*
16837
16838         * form1.h:
16839         * form1.C:
16840         * lyx_gui.C:
16841         * intl.h:
16842         * intl.C: remove dialog (covered by prefs)
16843
16844 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16845
16846         * lyxfunc.C (Dispatch): removed redundant break statement.
16847
16848 2001-03-14  Juergen Vigna  <jug@sad.it>
16849
16850         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16851
16852 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16853
16854         * buffer.C: add hack to fix compability reading of minipages.
16855
16856 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16857
16858         * buffer.C (getLists): Cleanup.
16859
16860 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16861
16862         * lyxfont.C (update): don't honor toggleall on font size.
16863
16864 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16865
16866         * bmtable.c:
16867         * bmtable.h:
16868         * Makefile.am: moved to frontends/xforms/
16869
16870         * lyx_gui_misc.C:
16871         * lyxfunc.C:
16872         * BufferView_pimpl.C: changes for moved mathpanel
16873
16874 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16875
16876         * gettext.h: fix gettext_init() in --disable-nls
16877
16878 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16879
16880         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16881
16882 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16883
16884         * lyx.C:
16885         * lyx.h: strip external form
16886
16887 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16888
16889         * BufferView_pimpl.C: add comment, destroySplash()
16890
16891 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16892
16893         * BufferView_pimpl.C:
16894         * LyXAction.C:
16895         * buffer.C:
16896         * commandtags.h:
16897         * lyxfunc.C: use re-worked insetinclude
16898
16899 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16900
16901         * buffer.C: add using std::stringstream.
16902
16903         * lyx_cb.C: readd using std::ios.
16904
16905         * buffer.C: add using std::map.
16906
16907         * BufferView_pimpl.C: add using std::vector.
16908
16909         * ShareContainer.h: add std:: to swap.
16910
16911         * buffer.h: add some typedefs
16912         * buffer.C (getLists): use them
16913         (getLists): renamed from getTocList.
16914         add a counter for the different float types and use it in the
16915         generated string.
16916         (getLists): use the same counter for the NEW_INSETS and the "non"
16917         NEW_INSETS
16918
16919         * lyx_cb.h: remove unused items, includes, using etc.
16920
16921         * ShareContainer.h: remove some commented code, add more comments
16922         and "documentation".
16923
16924 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16925
16926         * buffer.C (getTocList): make the list also when NEW_INSETS is
16927         defined.
16928
16929         * buffer.h: remove TocType
16930
16931         * buffer.C (getTocList): change to return a map<string,
16932         vector<TocItem> >, implement for dynamic number of list.
16933
16934         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16935         * text2.C (PasteSelection): adjust
16936         * CutAndPaste.C (pasteSelection): adjust
16937
16938         * FloatList.C (FloatList): update from the new_insets branch.
16939         * Floating.[Ch]: ditto
16940         * LaTeXFeatures.C: ditto
16941         * buffer.C: ditto
16942         * lyxlex_pimpl.C: ditto
16943
16944         * paragraph.C (Last): remove when NEW_INSETS is defined.
16945
16946         * other file: changes because of the above.
16947
16948 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16949
16950         * lyxparagraph.h: rename next to next_, previous to previous_,
16951         make them private for NEW_INSETS. Rename Next() to next(),
16952         Previous() to previous().
16953
16954         * other files: changes because of the above.
16955
16956 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16957
16958         * BufferView.h:
16959         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16960         problem.
16961
16962 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * main.C (main): pass lyx_localedir to gettext_init().
16965
16966         * gettext.h: remove locale_init and gettext_init macros
16967
16968         * gettext.C (locale_init): new function
16969         (gettext_init): new function
16970
16971         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16972         setlocale().
16973
16974 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16975
16976         * Moved credits to frontends:
16977         * credits.[Ch]: removed
16978         * credits_form.[Ch]: removed
16979         * lyx_gui_misc.C: remove credits stuff
16980         * Makefile.am:
16981
16982 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16983
16984         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16985
16986         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16987         unneeded destructor.
16988
16989         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16990         a standalone pointer again.
16991
16992         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16993
16994 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16995
16996         * Makefile.am:
16997         * filedlg.h:
16998         * filedlg.C:
16999         * LyXAction.C:
17000         * ToolbarDefaults.C:
17001         * bufferlist.C:
17002         * commandtags.h:
17003         * form1.C:
17004         * form1.h:
17005         * lyx_cb.C:
17006         * lyx_cb.h:
17007         * lyxfunc.h:
17008         * lyxfunc.C:
17009         * BufferView_pimpl.C: use new file dialog in GUII
17010
17011         * lyx_cb.h:
17012         * lyx_cb.C: remove LayoutsCB to Toolbar
17013
17014 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17015
17016         * ShareContainer.h (get): add std:: qualifier
17017
17018 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * ShareContainer.h: define a proper ShareContainer::value_type
17021         type (and use typename to please compaq cxx)
17022
17023 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17024
17025         * lyxparagraph.h: move serveral local vars to
17026         ParameterStruct/ParagraphParameters., use ShareContainer in
17027         FontTable., make vars in FontTable private and add getter and
17028         setter.
17029
17030         * paragraph.C: changes because of the above.
17031
17032         * lyxfont.h: remove copy constructor and copy assignment. (the
17033         default ones is ok), move number inside FontBits. move inlines to
17034         lyxfont.C
17035
17036         * lyxfont.C: add number to initializaton of statics, move several
17037         inlines here. constify several local vars. some whitespace
17038         cleanup. Dont hide outerscope variables.
17039
17040         * Spacing.h: add two new constructors to match the set methods.
17041
17042         * ShareContainer.h: new file, will perhaps be moved to support
17043
17044         * ParameterStruct.h: new file
17045
17046         * ParagraphParameters.h: new file
17047
17048         * ParagraphParameters.C: new file
17049
17050         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17051         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17052
17053         * BufferView_pimpl.C: ParagraphParameter changes.
17054         * buffer.C: Likewise.
17055         * bufferview_funcs.C: Likewise.
17056         * text.C: Likewise.
17057         * text2.C: Likewise.
17058
17059 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17060
17061         * lyxfind.C (LyXReplace): do not redefine default argument in
17062         implementation.
17063         (IsStringInText): ditto
17064         (SearchForward): ditto
17065         (SearchBackward): ditto
17066
17067 2001-03-06  Juergen Vigna  <jug@sad.it>
17068
17069         * lyxfind.C (IsStringInText): put parentes around expressions.
17070
17071 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17072
17073         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17074
17075 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17076
17077         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17078
17079         * stl_string_fwd.h: add comment
17080
17081         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17082
17083         * tabular.h:
17084         * tabular.C: remove unused DocBook methods
17085
17086         * intl.C:
17087         * language.C:
17088         * paragraph.C:
17089         * buffer.C:
17090         killed DO_USE_DEFAULT_LANGUAGE
17091
17092 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * lyx_gui.C: do not include language.h.
17095
17096         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17097         arguments in function implementation.
17098
17099 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17100
17101         * BufferView_pimpl.C: add <ctime>
17102
17103 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17104
17105         * BufferView_pimpl.C: add using std::find_if
17106
17107 2001-02-27  José Matos  <jamatos@fep.up.pt>
17108
17109         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17110         by OnlyPath.
17111
17112 2001-02-11  José Matos  <jamatos@fep.up.pt>
17113
17114         * buffer.C (makeDocBookFile): command styles now have a parameter as
17115         "title" by default.
17116
17117 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17118
17119         * layout_forms.[Ch]: removed
17120         * lyx_cb.[Ch]: out character
17121         * lyx_gui.C: out character
17122         * lyx_gui_misc.C: out character
17123         * bufferview_funcs.C: : out character,
17124         added toggleall as parameter in ToggleAndShow
17125
17126 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17127
17128         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17129
17130         * text2.C (SetCurrentFont): Disable number property at boundary.
17131
17132 2001-02-26  Juergen Vigna  <jug@sad.it>
17133
17134         * lyxfunc.C (getStatus): added a string argument override function so
17135         that this is correctly called from LyXFunc::Dispatch if it contains a
17136         do_not_use_argument which is used!
17137         (Dispatch): added check for "custom" export and call appropriate func.
17138
17139 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17140
17141         * lyxrc.C: Add language_command_local, language_use_babel and
17142         language_global_options.
17143
17144         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17145
17146         * buffer.C (makeLaTeXFile): Use language_use_babel and
17147         language_global_options.
17148
17149 2001-02-23  Juergen Vigna  <jug@sad.it>
17150
17151         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17152         which works with LyXText and putted it inside BufferView. Here now we
17153         only call for that part the BufferView::Dispatch() function.
17154
17155         * BufferView.C (Dispatch): added.
17156
17157         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17158         functions which needs to use a LyXText over from LyXFunc.
17159         (MenuInsertLyXFile): added
17160         (getInsetByCode): added
17161         (moveCursorUpdate): added
17162         (static TEXT): added
17163
17164 2001-02-22  Juergen Vigna  <jug@sad.it>
17165
17166         * BufferView_pimpl.C (update): call a status update to see if LyXText
17167         needs it.
17168
17169 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17170
17171         * vc-backend.C (revert): implement for CVS
17172         (getLog): implement for CVS
17173
17174 2001-02-20  Juergen Vigna  <jug@sad.it>
17175
17176         * text2.C (ClearSelection): added BufferView param for inset_owner call
17177
17178         * lyxfunc.C (TEXT): added this function and use it instead of
17179         directly owner->view()-text of getLyXText().
17180
17181 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17182
17183         * src/layout_forms.C: out preamble
17184         * src/layout_forms.h: out preamble
17185         * src/lyx_cb.C: out preamble
17186         * src/lyx_cb.h: out preamble
17187         * src/lyx_gui.C: out preamble
17188         * src/lyx_gui_misc.C: out preamble
17189         * src/lyxfunc.C: connect with guii preamble
17190
17191 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17192
17193         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17194
17195 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17196
17197         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17198         whether to run bibtex.
17199
17200 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17201
17202         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17203
17204 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17205
17206         * Makefile.am (lyx_SOURCES): removed bibforms.h
17207
17208         * vspace.h: doxygen
17209
17210         * text.C (GetVisibleRow): make several local vars const
17211
17212         * tabular.C: small cleanup.
17213
17214         * lyxserver.C (callback): use compare instead of strncmp
17215
17216         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17217         inlines to after class or to paragraph.C
17218
17219         * lyxfont.h: remove friend operator!=
17220
17221         * converter.h: move friend bool operator< to non friend and after
17222         class def.
17223
17224         * combox.h: small cleanup
17225
17226         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17227         to inlines after class def.
17228
17229         * buffer.C (pop_tag): use string operations instead of strcmp
17230
17231         * bmtable.c: doxygen, small cleanup
17232
17233         * LaTeX.h: remove friend operator==
17234
17235 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17236
17237         * screen.C:
17238         * lyxrc.[Ch]:
17239         * lyxfunc.C:
17240         * lyxfont.[Ch]:
17241         * lyx_cb.C:
17242         * intl.[Ch]:
17243         * commandtags.h:
17244         * buffer.C:
17245         * WorkArea.[Ch]:
17246         * LyXAction.C:
17247         * BufferView_pimpl.C:
17248         * BufferView.[Ch]: remove cruft
17249
17250 2001-02-14  Juergen Vigna  <jug@sad.it>
17251
17252         * lyxfunc.C: removed #if 0 unused code
17253
17254         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17255
17256         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17257
17258         * text2.C (SetSelection): added a BufferView * parameter
17259
17260 2001-02-13  Juergen Vigna  <jug@sad.it>
17261
17262         * lyxfunc.C (Dispatch): fixed protected blank problem.
17263         * BufferView2.C (protectedBlank): added LyxText * parameter.
17264
17265         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17266         (AppendColumn): same as above for column_info.
17267
17268         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17269         (moveCursorUpdate): use a LyXText param for support of InsetText.
17270
17271         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17272         (tripleClick): ditto
17273
17274         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17275
17276         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17277
17278         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17279
17280         * text2.C (SetSelection): set correct update status if inset_owner
17281         (ToggleFree): ditto
17282
17283 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17284
17285         * tabular.C: remove some commented code.
17286
17287 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17288
17289         * BufferView_pimpl.C: call hideSplash()
17290
17291         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17292
17293         * include_form.h:
17294         * bibforms.h: remove
17295
17296         * lyxfunc.C:
17297         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17298           add LFUN_CHILD_CREATE
17299
17300         * counters.h: fix tiny typo
17301
17302         * lyx_cb.C:
17303         * lyx.h:
17304         * lyx_gui.C:
17305         * lyx.C: move splash to frontends/xforms/
17306
17307         * lyx_gui_misc.C: move Include and Bibform to frontends
17308
17309         * lyxvc.h: clarify comment
17310
17311         * vspace.C: tiny housekeeping
17312
17313 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17314
17315         * text.C (PrepareToPrint): RTL Fix.
17316
17317         * paragraph.C (GetUChar): New method.
17318         (String):  Use GetUChar.
17319
17320         * buffer.C (asciiParagraph): Use GetUChar.
17321
17322 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17323
17324         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17325
17326 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17327
17328         * buffer.h:
17329         * buffer.C: rename to getLogName(), handle
17330           build log / latex log nicely
17331
17332 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17333
17334         * MenuBackend.C:
17335         * MenuBackend.h: remove support for reference menuitem type.
17336
17337 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17338
17339         * BufferView_pimpl.C: housekeeping
17340         * BufferView_pimpl.h:
17341         * LyXView.h:
17342         * Makefile.am:
17343         * Timeout.C:
17344         * Timeout.h:
17345         * minibuffer.h: move Timeout GUI-I
17346
17347 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17348
17349         * lyxrc.C (read): Update converters data-structures.
17350
17351 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17352
17353         * LaTeX.h (operator!=): add operator != for Aux_Info
17354
17355 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17356
17357         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17358
17359         * LaTeXLog.C: deleted, useful code moved to Buffer
17360
17361         * buffer.h:
17362         * buffer.C: new function getLatexLogName()
17363
17364         * lyx_gui_misc.C:
17365         * lyx_gui.C:
17366         * lyxvc.C:
17367         * lyxvc.h:
17368         * lyxfunc.C: use frontends for LaTeX and VC logs
17369
17370 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17371
17372         * LaTeX.h: yet another std:: that Allan forgot.
17373
17374         * Variables.C (set): renamed from isset(), because this clashes
17375         with some HP-UX macros (grr).
17376
17377 2001-02-06  Allan Rae  <rae@lyx.org>
17378
17379         * LaTeX.h: Another bug fix.  Missing std:: this time.
17380
17381 2001-02-04  Allan Rae  <rae@lyx.org>
17382
17383         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17384         floats problem. I've left it commented out because it's not quite
17385         correct.  It should also test that the current object is a table or
17386         figure inset.  But I haven't gotten around to figuring out how to do
17387         that.  I *think* it'll be something like: "table" == inset.type()
17388
17389         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17390         bool.
17391
17392 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17393
17394         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17395         all the citation/databases/styles in the auxilary file.
17396         (run): Rerun latex if there was a babel language error.
17397
17398 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17399
17400         * text.C (Backspace): Preserve the font when changing newline char
17401         with a space.
17402         (BreakParagraph): If the cursor is before a space, delete the space.
17403
17404         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17405
17406 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17407
17408         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17409         new argument (code).
17410         (ChangeCitationsIfUnique): New method.
17411
17412         * paragraph.C (GetPositionOfInset): Handle bibkey.
17413
17414 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17415
17416         * BufferView_pimpl.h: change type of Position::par_pos to
17417         LyXParagraph::size_type.
17418
17419 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17420
17421         * BufferView_pimpl.C (savePosition, restorePosition): Write
17422         messages to minibuffer.
17423
17424 2001-01-28  José Matos  <jamatos@fep.up.pt>
17425
17426         * buffer.C (makeDocBookFile): adds support for document language.
17427         A silly restriction on the name of LatexCommand types where removed.
17428         Added support for CDATA sections, allows to chars unescaped, used
17429         among others in code, to avoid escape < and >.
17430
17431 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17432
17433         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17434         saved positions instrad of a stack. Furthermore, a position is
17435         stored using paragraph id/paragraph position.
17436
17437         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17438         Remove LFUN_REF_BACK.
17439
17440 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17441
17442         * converter.C (dvipdfm_options): New method.
17443
17444 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17445
17446         * vspace.C (isValidLength): Fix for empty input string.
17447
17448 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17449
17450         * LyXAction.C (init): change description of LFUN_FIGURE to
17451         "Insert Graphics"
17452
17453 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17454
17455         * LaTeX.C: add using directive
17456
17457 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17458
17459         * MenuBackend.C (expand): Fix the sorting of the formats.
17460
17461 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17462
17463         * lyx_main.C: tiny error message fix
17464
17465 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17466
17467         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17468         calling fl_initialize(). This fixes the problem with ',' as
17469         decimal separator in text files.
17470
17471 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17472
17473         * trans.C (process): Fix the keymap bug.
17474
17475 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17476
17477         * LaTeX.C (scanAuxFiles): New method. Provides support for
17478         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17479         (scanLogFile) Scan for "run BibTeX" messages.
17480
17481         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17482         OT1 font encoding. Also, load the aecompl package if the ae
17483         package is loaded.
17484
17485         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17486
17487 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17488
17489         * texrow.C (increasePos): turn two error messages into debug
17490         messages.
17491
17492 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17493
17494         * LaTeX.C (scanAux): Handle the \@input macro.
17495         (runBibTeX): Use scanAux().
17496
17497         * language.C (latex_options_): New field.
17498
17499         * LaTeXFeatures.C (getMacros): Add language macros.
17500
17501         * buffer.C (makeLaTeXFile): Small fix.
17502
17503 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17504
17505         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17506
17507         * text2.C: add a using directive.
17508
17509 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17510
17511         * BufferView2.C:
17512         * lyx_gui_misc.h:
17513         * lyxfr1.C:
17514         * lyxfunc.C: kill LyXBell.
17515
17516 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17517
17518         * text.C (IsBoundary): Remove the error message
17519
17520         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17521
17522         * lyxrc.C (setDefaults): Correct initialization value for
17523         font_norm_type.
17524
17525 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17526
17527         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17528         gotoError().
17529
17530         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17531         and GotoNextNote().
17532
17533         * src/LyXAction.C: Added reference-next.
17534
17535         * text.C (InsertChar): Use contains instead of strchr.
17536
17537         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17538
17539 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17540
17541         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17542         alignment commands (when needed).
17543
17544         * text.C (InsertChar): Add ':' to number separator chars.