]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix shortcut for Cross-reference
[lyx.git] / src / ChangeLog
1 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
2
3         * lfuns.h:
4         * LyXAction.C:
5         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
6
7 2005-05-07  André Pönitz  <poenitz@gmx.net>
8
9         * cursor.[Ch] (leaveInset): new function
10
11 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
14
15 2005-05-04  Angus Leeming  <leeming@lyx.org>
16
17         * lyxfunc.C (getStatus): disable the spell checker dialog if
18         none of USE_[AIP]SPELL are defined.
19
20 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * tabular.C (setWidthOfCell): remove obsolete comment
23
24 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * paragraph.C (bibitem):
27         * buffer_funcs.C (setCounter):
28         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
29
30 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * text3.C (getStatus): immediately return after setOnOff        
33
34         * rowpainter.C: fix drawing of appendix start
35
36 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
39         SwitchBetweenClasses and remove the unused return value.
40         Handle character styles, too
41
42 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * factory.C (createInset): handle undefined character styles
45
46 2005-05-02  Angus Leeming  <leeming@lyx.org>
47
48         * buffer.C: protect the #include of utime.h with a preprocessor
49         guard.
50
51 2005-05-02  Angus Leeming  <leeming@lyx.org>
52
53         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
54         function so that suto-saving works, albeit in a blocking manner.
55
56         * Makefile.am: make compilation of the client sub directory, of
57         apsellC, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
58         on conditionals set at configure time.
59
60         * SpellBase.[Ch]: no longer an abstract base class. Instead,
61         it can be compiled in its own right but has no-op functionality.
62
63         * aspell.C, pspell.C: remove preprocessor guards. The files should
64         be compiled only if the necessary functionality exists.
65
66         * lyxserver.C, lyxsocket.C: disable on Windows.
67
68 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * text.C (leftMargin): Fix the parindent use bug (1764)
71         by dirty trick
72
73 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
74
75         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
76         argument.
77
78 2005-04-25  Angus Leeming  <leeming@lyx.org>
79
80         * Bidi.[Ch]:
81         * coordcache.[Ch]:
82         * ispell.C:
83         * lyxserver.C:
84         * mover.C:
85         * pch.h:
86         include <config.h> in .C files, not .h ones.
87         add licence blurb.
88         protect headers inside preprocessor guards.
89
90 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
91
92         * FuncStatus.h (StatusCodes): document
93
94 2005-04-21  André Pönitz  <poenitz@gmx.net>
95
96         * FuncStatus.h (enabled, onoff): document
97
98 2005-04-19  Angus Leeming  <leeming@lyx.org>
99
100         * BufferView_pimpl.C (cursorToggle): no longer test whether
101         any child processes have been reaped before calling
102         handleCompletedProcesses().
103
104 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * text3.C (dispatch): fix, finally fix, the language problem in
107         new lyxtexts, without disabling on-the-fly font changes (Helge's
108         bug report)
109
110 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
111
112         * text3.C (dispatch): set cursor on double/triple click events
113         (bug 1811)
114
115 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
118         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
119
120         * rowpainter.C (paintFirst): simplify the code a little bit. In
121         particular, remove the test for secnumdepth.
122         * text.C (setHeightOfRow): only allocate space for chapter number
123         when updateCounters provided an actual label, instead of looking
124         at secnumdepth directly.
125
126         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
127
128         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
129         paragraphs when secnumdepth is large enough or, for environments,
130         when they are not the first in a sequence.
131
132 2005-04-17  Angus Leeming  <leeming@lyx.org>
133
134         * buffer.C (makeLaTeXFile): replace code to manipulate a path
135         containing space and '~' characters with a call to latex_path().
136
137 2005-04-17  Angus Leeming  <leeming@lyx.org>
138
139         * converter.C (convert): protect all args of convertDefault.sh
140         script with quotes.
141
142 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * text3.C (dispatch): change the layout to "Caption" after inserting
145         a float.
146
147 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
148
149         * text3.C (dispatch): fix language problem in newly created
150         textinsets (and main text) in non-english docs
151
152 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
153
154         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
155         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
156         * text3.C (getStatus): disable LFUN_INSET_MODIFY
157
158 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * lyxtext.h:
161         * text.C (metrics):
162         * text2.C (getFont):
163         * rowpainter.C (getFont): Fix metrics bug introduced by inset
164         fonts fix
165
166 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
169         output of \item arguments without trailing text.
170
171 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
172
173         * FontIterator.C (operator*): avoid a copy of the font.
174
175 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
176
177         * rowpainter.C (getFont): fix language bug from previous fix
178
179 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
180
181         * rowpainter.C (RowPainter, getFont): fix font inside inset
182         (bugs 1766, 1809)
183
184 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
185
186         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
187         preventing inserted font, deco, delim insets jumping to start of
188         surrounding inset.
189
190 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * lyxfunc.C (dispatch): translate message before sending it to the
193         minibuffer.
194
195 2005-03-29  Angus Leeming  <leeming@lyx.org>
196
197         * lyx_main.C (priv_exec): call os::internal_path on each file passed
198         to LyX on the command line.
199
200 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
201
202         * vc-backend.C: use QuoteName to protect file names wherever
203         necessary.
204
205 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * buffer.[Ch]:
208         * BranchList.h: fix bugs 1844,1845: document settings don't
209         stick
210
211 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * lyxrc.C (setDefaults, read, output, getDescription): add support
214         for tex_allows_spaces.
215
216         * exporter.C (Export): allows files in directory containing spaces
217         if tex_allows_spaces is true.
218
219         * buffer.C (makeLaTeXFile): if the document path contains spaces,
220         output it in double quotes.
221
222 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * rowpainter.C: use default text height for drawing change tracker
225         strikeout lines.
226
227 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
230
231 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
234         directory is missing.
235
236 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
237
238         * text2.C: fixed the fix, extended to other case.
239
240 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * text2.C: fix for cursor up/down stuck in math [bug 1792]
243
244 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
245
246         * text2.C (cursorUp): get rid of a crash
247         * text.C (x2pos): add an assert
248
249 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * lyxfunc.C (getStatus): fix warning when assertions are disabled
252
253         * text3.C:
254         * lyxfunc.C:
255         * dociterator.C: include <boost/current_function.hpp>, which is
256         needed when assertions are disabled.
257
258 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
259
260         * text2.C: fix for stuck cursor when traversing two
261         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
262
263 2005-02-25  Andreas Vox  <avox@arcor.de>
264
265         * output_docbook.C (makeParagraph): suppress trailing newline
266         after a run of paragraphs
267
268 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
269
270         * paragraph.C: fix for confused change tracker when pasting
271         text that begins with a lineseparator. [bug 1827]
272         (setChange(0, Change::INSERTED);)
273
274         * paragraph_funcs.C: fix for lost changes on triple-paste
275         in change tracking mode [bug 1827] (par.setChange()).
276
277 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * text2.C (updateCounters, setCounter, expandLabel): move to
280         buffer_funcs.
281
282         * buffer_funcs.C (updateCounters): turn into a free standing
283         function and add a buffer parameter. Remove dead code for tracking
284         labelstring change.
285         (setCounter): change into a free-standing function which gets a
286         dociterator as argument. Use this iterator to fix captions in a
287         simple way. When no float is found above the caption, use the
288         labelstring of the caption layout as default.
289
290         * text.C (breakParagraph, backspace):
291         * text2.C (init, setLayout, changeDepth):
292         * text3.C (dispatch):
293         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
294         updateCounters.
295
296         * dociterator.C (forwardPar): make it much faster by calling
297         forwardPos() only when really necessary.
298
299         * output_docbook.C (makeCommand): adapt to expandLabel move.
300
301         * cursor.C: remove unused variable
302
303 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
304
305         * paragraph_funcs.C: fix crash when pasting insets in change
306         tracking mode [bug 1277] (honour change type in moveItem).
307
308 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
309
310         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
311
312 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * BufferView.C (setCursor): change to use a DocIterator.
315         (gotoLabel): use BufferView::setCursor (other part of bug 781).
316         (putSelectionAt): adapt to BufferView::setCursor change.
317
318         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
319         moved here from LyXText and rewritten to use proper cursor
320         methods. Fixes bug 1787, 616 and 835.
321
322         * BufferView_pimpl.C (restorePosition): set the cursor correctly
323         when inside an inset (part of bug 781).
324         (dispatch): adapt to change of BufferView::setCursor.
325         (getStatus, dispatch): handle LFUN_GOTOERROR,
326         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
327
328         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
329         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
330         * text3.C (gotoNextInset, gotoInset): removed.
331
332 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
333
334         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
335
336 2005-02-15  Angus Leeming  <leeming@lyx.org>
337
338         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
339         can be used meaningfully in a comparison.
340
341 2005-02-13  André Pönitz  <poenitz@gmx.net>
342
343         * bufferview_funcs.C (coordOffset): improve cursor drawing
344
345 2005-02-13  André Pönitz  <poenitz@gmx.net>
346
347         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
348         * Cursor.C (dispatch): use fixIfBroken
349         * lyxfunc.C (getStatus): use fixIfBroken
350
351 2005-02-15  Angus Leeming  <leeming@lyx.org>
352
353         * lyx_main.C (error_handler):
354         * lyxfunc.C:
355         * lyxrc.C (setDefaults):
356         s/GetEnv/getEnv/.
357         #include "environment.h".
358
359         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
360
361 2005-02-15  Angus Leeming  <leeming@lyx.org>
362
363         * lyxserver.C (startPipe): squash MSVC warning "local variable
364         'fd' used without having been initialized".
365
366 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
367
368         * BufferView_pimpl.C: revert accidental commit.
369
370 2005-02-14  André Pönitz  <poenitz@gmx.net>
371
372         * dociterator.[Ch]: new member forwardPosNoDescent(),
373         which doesn't enter nested insets.
374         * text2.C (setFont): use forwardPosNoDescent() instead
375         of ForwardPos() (fixes crash on font change).
376
377 2005-02-13  Angus Leeming  <leeming@lyx.org>
378
379         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
380         only if lyxrc.path_prefix is not empty.
381
382 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * bufferparams.C (readGraphicsDriver): prevent crash
385
386 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * text2.C (setCounter): check for inInset() == 0
389
390 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
393         but use update() to get correct screen display; use convert
394         instead of istringstream.
395         (getStatus): handle LFUN_GOTO_PARAGRAPH
396
397         * lyxfunc.C (dispatch, getStatus): do not handle
398         LFUN_GOTO_PARAGRAPH here.
399
400 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
401
402         * text3.C (dispatch): size() -> depth()
403
404         * text2.C: remove some debug output
405
406         * paragraph.C: ws changes only
407
408         * lyxfunc.C (getStatus): size() -> depth()
409
410         * dociterator.h (clear, push_back, pop_back, internalData,
411         operator[], resize, empty): new functions
412         Make StableDocIterator and operator== be friends. Don't inherit
413         from std::vector use a privat class variable slices_ instead.
414         Modify to fit.
415
416         * dociterator.C: update because of not inheriting from std::vector
417         anymore. Call explictly to slices_ instead. Use depth() instead of
418         size() and top() instead of back()
419
420         * cursor.C: chagne size() -> depth and back() -> top(). Also
421         remove some direct operator[](i) calls in favour of foo[i]
422         (getFont): remove some dead code
423
424         * bufferview_funcs.C (coordOffset): size() -> depth()
425
426         * buffer.C: ws changes only
427
428         * CutAndPaste.C (eraseSelection): back() -> top()
429
430         * BufferView_pimpl.C (selectionRequested): back() -> top()
431
432         * BufferView.C (setCursor): size() -> depth()
433
434 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
435
436         * text3.C (cursorPrevious): return true if depm changed something
437         (cursorNext): ditto
438         (dispatch): rename sl to oldTopSlice, remove moving use the new
439         NoUpdate func attrib instead. Make sure that needsUpdate is set
440         for function that have NoUpdate, but where depm might have changed
441         the buffer anyway.
442
443         * text2.C (cursorLeft): make us return true if depm changed
444         something
445         (cursorRight): ditto
446         (cursorUpParagraph): ditto
447         (curosrDownParagraph): ditto
448         (cursorUp, cursorDown): ditto, make sure to read comments in code
449         (deleteEmptyParagraphMechanism): remove an assert, also return
450         true if just a single char was deleted.
451
452         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
453         cursor that we modify, to avoid modifying an active cursor before
454         we call setCursor. This allows depm to run. Also return true if
455         depm deleted something.
456
457         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
458         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
459         cursorDownParagraph, cursorPrevious and cursorNext, return true if
460         something was changed in the buffer because of them (ie. depm run)
461
462         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
463         debug messages. Make update by default be false. Make sure that
464         the result of update is retained throught several calls down to
465         dispatch.
466
467         * LyXAction.h: add a new func_attrib: NoUpdate
468
469         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
470         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
471         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
472         and LFUN_WORDLEFT
473         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
474
475 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
478         bv_->owner(), bv_->buffer() by direct references to the private
479         members.
480         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
481         (getStatus): isSavedPosition() is in BufferView::Pimpl.
482         (fitCursor): center() is in BufferView::Pimpl.
483         (getStatus, trackChanges, dispatch): no need for a temporary buf
484         variable
485         (fitCursor, workAreaDispatch): use workarea().workheight()
486
487 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
488
489         * CutAndPaste.C (pasteSelectionHelper): fix a crash
490
491 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * buffer.C: format up to 241.
494         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
495         break if pasting into ERT
496         * lyxfunc.C (getStatus): suppress mathpanel and
497         LFUN_DIALOG_SHOW_NEW_INSET in ERT
498
499 2005-02-01  Angus Leeming  <leeming@lyx.org>
500
501         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
502
503 2005-02-01  Angus Leeming  <leeming@lyx.org>
504
505         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
506         calling fs::is_directory().
507
508 2005-01-31  Angus Leeming  <leeming@lyx.org>
509
510         * lyx_main.C (priv_exec): specify explicitly the relative location
511         of the top level build directory when run in-place.
512
513 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
516         LyXText containing the cursor, not the top-level one.
517
518         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
519         true.
520         (insertStringAsLines): rename par to pit; use temporary variable
521         par to hold a Paragraph; do not store par.layout() in a variable,
522         since the pointer may die when breaking paragraphs; pass pars to
523         breakParagraph() instead of Buffer::paragraphs().
524
525 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
526
527         * lyxlex_pimpl.h: #include <fstream>.
528
529         * BufferView.[Ch] (getLyXText): add a const version.
530
531         * BufferView_pimpl.C: add debug aids.
532
533         * RowList_fwd.h:
534         * buffer.h:
535         * lyxrow.h:
536         * paragraph_funcs.h: add commentary explaining what the class does.
537
538
539         * coordcache.[Ch]: add lots of commentary.
540         (startUpdating, doneUpdating): debug aids.
541         (arrays, insets, parPos, getParPos): accessors to private data.
542
543         * cursor_slice.[Ch] (text): add a const version.
544         * dociterator.[Ch] (text, innerText): add const versions.
545
546         * lyxtext.h (breakParagraph): change the keep_layout arg to a
547         bool.
548
549         * paragraph.C (getRow, pos2ros): add asserts.
550
551         * paragraph.h: add commentary. Lots of.
552
553         * paragraph.[Ch] (metrucs, draw): removed.
554
555         * cursor.C:
556         * rowpainter.[Ch]: const-correct changes.
557
558         * text.C: various obvious clean-ups. Removal of ancient cruft.
559         Bug fixes, even.
560
561 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
562
563         * vc-backend.C (find_file): rewrite to use boost.filesystem
564         (scanMaster): ditto
565
566         * main.C (main): set default name check for boost.filesystem to
567         no check
568
569         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
570         (open): ditto
571         (doImport): ditto
572         (actOnUpdatedPrefs): ditto
573
574         * lyx_main.C (init): rewrite to use boost.filesystem
575         (queryUserLyXDir): ditto
576
577         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
578         (getContentsOfAsciiFile): ditto
579
580         * lastfiles.C (readFile): rewrite to use boost.filesystem
581
582         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
583
584         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
585         (loadLyXFile): ditto
586
587         * buffer.C (Buffer): adjust for destroydir
588         (getLogName): rewrite to use boost.filesystem
589         (setFileName): ditto
590         (save): use fs::copy_file (from fs_extras)
591
592         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
593
594         * LaTeX.C (run): rewrite to use boost.filesystem
595         (scanAuxFiles): ditto
596         (handleFoundFile): ditto
597
598 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
599
600         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
601
602         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
603
604 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * lyxlayout.[Ch]: change some vars from float to double
607
608         * buffer.C (readFile): make a local var const
609
610         * Several files: use convert<> instead of atoi,strToXXX and friends
611
612 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
613
614         * LaTeXFeatures.[Ch]: Add a static list packages_ that
615         holds the contents of packages.lst. New functions getAvailable
616         and isAvailable to parse and check that list, resp.
617
618         * LyXAction.C:
619         * lfuns.h:
620         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
621
622         * bufferparams.[Ch]: new param output_changes.
623
624         * Buffer.C: increase file format to 240.
625         Use output_changes and isVailable.
626
627         * changes.[Ch]:
628         * paragraph.C:
629         * paragraph_pimpl.C: Use output_changes and isVailable.
630
631 2005-01-23  Angus Leeming  <leeming@lyx.org>
632
633         * output_latex.C: #include "insetbibitem.h", rather than
634         forward declare function bibitemWidest.
635
636 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
637
638         * lyx_main.C (init): make it compile on the Mac.
639
640 2005-01-20  Angus Leeming  <leeming@lyx.org>
641
642         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
643         (setLyXMisc): (char string literal) != (char string literal) is
644         performing a comparison on the addresses. Convert one operand
645         explicitly to string to guarantee expected behaviour.
646         From MSVC warning.
647
648 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
649
650         * buffer.C:
651         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
652
653         * output_plaintext.C: remove unneeded #include gzstream.h.
654
655 2005-01-20  Angus Leeming  <leeming@lyx.org>
656
657         * SpellBase.h: rename some of the elements of the Result enum.
658
659         * aspell_local.h:
660         * ispell.h:
661         * pspell.h:
662         * aspell.C (check):
663         * ispell.C (check):
664         * pspell.C (check): ditto
665
666 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
667
668         * buffer.C: add #include <fstream>.
669
670         * lyx_main.C (init): Compile fix.
671
672         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
673
674 2005-01-20  Angus Leeming  <leeming@lyx.org>
675
676         * mover.h: change commentary to reflect the changed meaning of
677         the $$s placeholder.
678
679 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * output_linuxdoc.C (linuxdocParagraphs): silence warning
682
683         * lyxfind.C (MatchString::operator()): remove bogus semicolon
684
685 2005-01-20  Angus Leeming  <leeming@lyx.org>
686
687         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
688         printing diagnostic data by not dereferecing an iterator past the
689         end.
690
691 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
692
693         * buffer.C (readHeader): use "&&" rather than "and".
694
695         * lyxserver.h (inPipeName, outPipeName): make these const.
696
697 2005-01-19  Angus Leeming  <leeming@lyx.org>
698
699         * lyx_main.C (error_handler, init): protect SIGHUP with
700         #ifdef SIGHUP guards.
701
702 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
705
706 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * text.C (setHeightOfRow): add a margin at the top and bottom of
709         the document (bug 1761)
710
711 2005-01-17  Angus Leeming  <leeming@lyx.org>
712
713         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
714         with "python ". Workaround for a brain-dead Windows.
715
716 2005-01-16  Angus Leeming  <leeming@lyx.org>
717
718         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
719         for MacOSX and Windows to use prependEnvPath.
720         Strip out the hard-coded block to add elements to the PATH for
721         MacOSX and replace it with a call to prependEnvPath using the
722         contents of LyXRC::path_prefix.
723         (queryUserLyXDir): strip out the code to run reconfigure, instead
724         returning a boolean indicating the necessity to do so.
725         (reconfigureUserLyXDir): contains the code to reconfigure the
726         user support directory. Is now called after the various LyXRC data
727         files have been read.
728
729         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
730
731 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
732
733         * converter.[Ch] (convert): take a new parameter try_default. Use
734         a default converter (imagemagick) if try_default is true.
735
736 2005-01-13  Angus Leeming  <leeming@lyx.org>
737
738         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
739         os::cygwin_path_fix.
740         (write): output LyXRC::cygwin_path_fix as necessary.
741
742 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
743
744         * lyxrc.h:
745         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
746
747 2005-01-12  Angus Leeming  <leeming@lyx.org>
748
749         * lyx_main.C (init): set the PATH variable to include the
750         directory containing the LyX binary when running on Mac or Windows.
751
752 2005-01-12  Angus Leeming  <leeming@lyx.org>
753
754         * lyx_main.C (init): remove cruft that purports to set the locale
755         dir. It doesn't and is not needed anyway.
756
757 2005-01-10  Angus Leeming  <leeming@lyx.org>
758
759         * Makefile.am: remove the lyx_main.C special casing.
760
761         * BufferView_pimpl.C:
762         * bufferlist.C:
763         * exporter.C:
764         * lyx_cb.C:
765         * lyx_main.C:
766         * lyxfunc.C:
767         * messages.C: use support/package.h to provide the paths to the
768         various directories used by LyX.
769
770 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
771
772         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
773         layout if pasting into an empty paragraph)
774
775 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * tex-accent.C: add <string>
778
779 2005-01-06  José Matos  <jamatos@lyx.org>
780
781         * ParagraphParameters.C (write): put every parameter in its own line.
782         * paragraph.C (write): reduce number of consecutive empty lines exported.
783         * buffer.C (LYX_FORMAT): increase file format to 239.
784
785 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
786
787         * everywhere: change support/tostr.h -> support/convert.h
788
789         * tabular.C: make all write_attributes templates, tostr -> convert
790
791         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
792         (emptyTag): and -> &&, and fix type for ret from getChar
793         (getFirstWord): fix type for ret from getChar
794         (onlyText): and -> &&
795         (simpleDocBookOnePar): and not -> && !, fix type for ret from
796         getChar
797
798         * toc.C (goTo, action):
799         * text3.C (dispatch):
800         * text.C (currentState):
801         * tex-accent.C (DoAccent):
802         * sgml.C:
803         * lyxrc.C:
804         * lyxfunc.C (menuNew):
805         * lyxfinc.C (replace):
806         * counters.C (laberItem):
807         * bufferview_funcs.C (font2string):
808         * bufferparams.C (writeFile):
809         * buffer.C (readFile):
810         * Spacing.C (set):
811         * MenuBackend.C: tostr -> convert
812
813         * LaTeX.C (runMessage): fix format
814         (scanAuxFiles): tostr -> convert
815
816         * BufferView_pimpl.C (savePosition): fix format
817         (restorePosition): ditto
818         (dispatch): ditto
819
820 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
821
822         * Spacing.[Ch]: New method getValueAsString().
823
824         * Spacing.[Ch]:
825         * bufferparams.C:
826         * ParagraphParameters.C:
827         * lyxlayout.C:
828         * text.C:
829         * text3.C: store/read spacing value as string.
830
831         * rowpainter.C: change float value (spacing_val) to double.
832
833         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
834         broken custom document spacing).
835
836 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
837
838         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
839         namespace, also more use of temp references and const
840
841         * cursor.[Ch] (getStatus): move to lyxfunc.C
842
843         * bufferparams.C: reformat slightly
844
845         * bufferview_funcs.C (font2string): constify arg
846
847         * changes.C:
848         * converter.C:
849         * counters.C:
850         * bufferlist.C:
851         * buffer_funcs.C: (many funcs): constify arg on function
852         definitions, also make more local vars const, also add ASSERTS on
853         pointer args.
854
855         * buffer.C (LYX_FORMAT): put const in correct place
856         (many funcs): constify arg on function definitions, also make
857         more local vars const
858
859         * aspell_local.h: remove "struct" from typdef setup
860
861         * aspell.C (check): make word_ok const
862         (nextMiss): simplify slightly
863         (error): ditto
864
865 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
866
867         * lyxrc.[Ch]: store all float values as strings.
868         use int (not float) for lyxrc.dpi.
869
870 2005-01-04  Angus Leeming  <leeming@lyx.org>
871
872         * lyx_cb.C (Reconfigure):
873         * lyx_main.C (queryUserLyXDir):
874         to run the <system_lyxdir>/configure correctly on Windows, prefix
875         the path to the script with "sh " when generating the string that
876         is passed to system().
877
878 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
881
882 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * lyxlength.C (asLatexString): get rid of setprecision
885
886 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * text2.C (setLayout): remove unused variable endpit.
889         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
890
891         * paragraph.C (onlyText): remove unused variable style.
892
893         * cursor.C (bruteFind): remove unused variables beg and end.
894
895         * Makefile.am (dist_noinset_DATA): not needed anymore
896
897         * cheaders/*: remove.
898
899 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
900
901         * text3.C: fix LFUN_MATH_MODE.
902
903 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
904
905         * buffer_funcs.C (countWords): new function. Counts words between
906         two iterators.
907
908         * BufferView_pimpl.C (getStatus, dispatch): handle
909         LFUN_WORDS_COUNT.
910
911         * LyXAction.C (init):
912         * lfuns.h: add LFUN_WORDS_COUNT.
913
914 2004-12-19  Angus Leeming  <leeming@lyx.org>
915
916         * buffer.C (save): s/slashify_path/internal_path/.
917
918 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
919
920         * lyxfind.C (findChange): do not search for end of pars, because
921         the change tracker cannot handle this (fixes bug 1719).
922
923 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * paragraph.[Ch] (autoBreakRows): remove
926
927         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
928
929         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
930         avoid using the paragraph one
931
932         * text2.C (LyXText, insertStringAsLines): adjust
933
934 2004-12-16  Angus Leeming  <leeming@lyx.org>
935
936         * bufferlist.C:
937         * lyx_main.C:
938         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
939
940 2004-12-14  Angus Leeming  <leeming@lyx.org>
941
942         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
943
944         * bufferlist.C (emergencyWrite):
945         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
946         GetEnvPath("HOME").
947
948 2004-12-14  Angus Leeming  <leeming@lyx.org>
949
950         * main.C: (main): no longer pass pointers to os::init.
951
952 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * undo.C (textUndoOrRedo): simplify logic, fix a crash
955         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
956
957 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
958
959         * lyxfunc.C:
960         * text3.C: remove selection_possible global flag
961
962 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
963
964         * text2.C (getSelectionSpan): remove
965         (changeDepth, changeDepthAllowed): adjust
966
967 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
968
969         * Makefile.am (BOOST_LIBS): use boost variables
970
971 2004-12-03  José Matos  <jamatos@lyx.org>
972
973         * buffer.C: format up to 238.
974
975 2004-12-03  José Matos  <jamatos@lyx.org>
976
977         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
978
979 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
980
981         * cursor.C (goUpDown): remove call to idxUpDown2
982
983 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
984
985         * tabular.[Ch]: use size_t-like types for cell, row and column
986         indices
987
988 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * lyxfunc.C (getStatus): do not lose previous information when
991         calling BufferView::getStatus; do not set a default "Command
992         disabled" message at the beginning, but just before returning.
993
994 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
995
996         * cursor.h (getStatus): add better comment from src/cursor.C
997
998 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
999
1000         * text3.C (getStatus): return false when the lfun is not handled
1001
1002 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * broken_headers.h: remove
1005
1006         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1007
1008 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1011         offset_ref accessors
1012
1013         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1014         top_y_, merge fitcursor with update
1015         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1016         coord scheme
1017         (metrics): introduce
1018         (workAreaDispatch): adapt to new coord scheme
1019         (redoCurrentBuffer): remove
1020
1021         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1022
1023         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1024         CurStatus enum.
1025
1026         * coordcache.[Ch]: add paragraph cache and helpers
1027
1028         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1029         adjust everywhere
1030
1031         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1032         (targetX, setTargetX): introduce
1033
1034         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1035         baseline -> ascent, as the rest of lyx
1036
1037         * lyxtext.h: remove redoParagraphs, updateParPositions,
1038         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1039         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1040         have ascent/descent (ascent is ascent of first par)
1041
1042         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1043         step of BufferView
1044
1045         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1046
1047         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1048
1049         * pariterator.C: fix infinite loop introduced in par->pit renaming
1050
1051         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1052         in insets and LyXText, draw two off-screen paragraphs using
1053         NullPainter, and adapt to new coord scheme
1054
1055         * text.C:
1056         * text2.C:
1057         * text3.C: adapt lfun handlers to the new coord scheme, which
1058         means: there's only guaranteed coord information for onscreen pars
1059         plus one above and one below. This implies that one can do search
1060         from y coordinates in the range [-1,workHeight]
1061
1062 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1063
1064         * rename a lot of InsetOld to InsetBase
1065
1066 2004-11-25  Angus Leeming  <leeming@lyx.org>
1067
1068         * BufferView_pimpl.C:
1069         * lyx_cb.C:
1070         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1071
1072 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1075         call BufferView::getStatus if LCursor::getStatus did nothing
1076         (setStatusMessage, getStatusMessage): removed.
1077
1078         * FuncStatus.C (message): new methods. Used to provide an error
1079         message indicating why a command is disabled.
1080         (clear, |=, FuncStatus): update for message.
1081
1082 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1083
1084         * lyxfunc.C (dispatch): always call sendDispatchMessage
1085
1086 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1087
1088         * BufferView.C:
1089         * BufferView_pimpl.C:
1090         * CutAndPaste.C:
1091         * FontIterator.C:
1092         * buffer.C:
1093         * cursor.C:
1094         * cursor_slice.[Ch]:
1095         * dociterator.[Ch]:
1096         * lyxfind.C:
1097         * paragraph_funcs.C:
1098         * pariterator.C:
1099         * rowpainter.C:
1100         * text.C:
1101         * text2.C:
1102         * text3.C:
1103         * undo.C: par->pit renaming
1104
1105 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1106
1107         * tabular.C (cellstruct): use initialization, store a shared_ptr
1108         to insettext instead of the insettext directly, adjust to fit.
1109         (operator=):  new function
1110         (swap): new function
1111         (rowstruct): use initialization
1112         (columnstruct): use initialization
1113         (ltType): use initialization
1114
1115
1116         * lyxlength.h (swap): new function
1117
1118         * LColor.[Ch] (operator=): use the common semantics
1119
1120 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1121
1122         * lyxfind.C (findNextChange): update the bufferview after setting
1123         the selection.
1124
1125 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1128         number of InsetOptArgs has already been inserted.
1129
1130         * output_latex.C (latexOptArgInsets): new method. This outputs all
1131         the optarg insets, up to the limit defined in the layout file.
1132         (optArgInset): removed
1133         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1134
1135 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * paragraph.C (isLetter): remove special spellchecker-related
1138         code; return true also for digits
1139         (isWord, isKomma): remove
1140
1141         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1142         * lyxfind.C (MatchString()): use isLetter instead of isWord
1143
1144 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1145
1146         * pariterator.h (operatir=): comment out un-implemented member
1147         function.
1148
1149         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1150         static cast.
1151
1152 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1153
1154         * lyxfont.h: include LColor.h to satisfy concept checks.
1155
1156 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1157
1158         * pariterator.h: add typdefs for value_type, difference_type,
1159         pointer and reference to satisfy concept checks. Also add default
1160         constructor for same reason.
1161
1162         * pariterator.C (operator++): add post-increment operator to
1163         satisfy concept checks.
1164
1165         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1166         checks.
1167
1168         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1169
1170         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1171         checks. Also rename base_type to BaseType to follow naming
1172         standard better.
1173
1174         * FloatList.h: include Floating.h to satisfy concept checks.
1175
1176 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1177
1178         * lyxfunc.C (getStatus): when the origin of the request is menu or
1179         toolbar, and the LyXView does not have focus, do as if there was
1180         no buffer (bug 1720)
1181
1182         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1183         FuncRequest to individual entries of LFUN_SEQUENCE
1184
1185 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * output_latex.C (TeXOnePar): override runparams.moving_arg
1188         according to the needprotect value of the current paragraph (bug
1189         1739)
1190
1191         * paragraph.C (simpleTeXOnePar): no need to override
1192         runparams.moving_args here
1193
1194 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1195
1196         * vspace.C: fix off-by-one-error, related to fix #1682
1197
1198 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * lengthcommon.C: a more general fix for bug 1682
1201
1202 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1203
1204         * text.C (backspace): fix crash
1205
1206 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * format.[Ch] (getFormatFromFile): new method
1209         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1210
1211 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1214
1215 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1216
1217         * lyxfunc.C (dispatch): remove the verbose argument
1218         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1219         instead
1220
1221         * kbmap.C (defkey): set the origin of func to KEYBOARD
1222
1223         * MenuBackend.C (MenuItem):
1224         * ToolbarBackend.C (add): set the origin of func to UI
1225
1226         * funcrequest.[Ch]: add origin member, which indicates which part
1227         of LyX requests an action
1228
1229 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1230
1231         * converter.C (move): don't lie in the error message
1232         * converter.h (isReachable, move): document
1233
1234 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1235
1236         * buffer.C: remove unused using lyx::support::atoi
1237         * paragraph_funcs.C: ditto
1238
1239 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1240
1241         * bufferlist.C (exists): use bind and equal_to instead of
1242         compare_memfun
1243         (getBuffer): ditto
1244         * lyxtextclasslist.C (NumberOfClass): ditto
1245
1246         * cursor.C (insert): use for_each instead of explicit for loop
1247
1248         * bufferlist.C (getFileNames): use std::transform and
1249         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1250
1251         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1252         for loop
1253
1254         * buffer.C (changeLanguage): use for_each instead of explicit for
1255         loop
1256         (hasParWithID): implement using getParFromID
1257
1258         * LaTeXFeatures.C: ws change only
1259
1260         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1261         to cleanup a bit.
1262
1263         * BufferView_pimpl.C (trackChanges): use for_each instead of
1264         expilicit for loop
1265
1266 2004-11-04  André Pönitz  <poenitz@gmx.net>
1267
1268         * undo.h:
1269         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1270
1271         * dociterator.C (asDocIterator): use hard assert again.
1272
1273 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         * lyxlength.C (asLatexString): rewrite so that it does not use
1276         snprintf anymore
1277
1278 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * text3.C (specialChar, dispatch): make sure cursor moves to the
1281         right after inserting an inset
1282
1283 2004-11-02  José Matos  <jamatos@lyx.org>
1284
1285         * output_docbook.C (docbook):
1286         * paragraph.C (getID):
1287         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1288         garantee that the output is always legal.
1289
1290         * tabular.C (docbook):
1291         * outputprams.[Ch]: remove mixed contents.
1292
1293 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1294
1295         * text2.C (setCounter): prevent endless loop
1296
1297 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1298
1299         * exporter.C (copyFile): use the mover instead of support::copy()
1300         * exporter.C (Export): pass format and latex name to copyFile()
1301         * exporter.h (addExternalFile): document
1302         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1303
1304 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1305
1306         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1307
1308 2004-10-30  José Matos  <jamatos@lyx.org>
1309
1310         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1311         text and no inset or font change. This allows to use CDATA
1312         sections just for the whole paragraph.
1313
1314 2004-10-30  José Matos  <jamatos@lyx.org>
1315
1316         * paragraph.C (getFirstWord): remove unused variable.
1317
1318 2004-10-30  José Matos  <jamatos@lyx.org>
1319
1320         * paragraph.C (getFirstWord): the content should always be escaped
1321         there.
1322         (simpleDocBookOnePar):
1323         * output_docbook.C (makeEnvironment): replace reference to CDATA
1324         to style pass_thru.
1325
1326 2004-10-30  José Matos  <jamatos@lyx.org>
1327
1328         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1329
1330 2004-10-30  José Matos  <jamatos@lyx.org>
1331
1332         * output_docbook.C (makeParagraphs):
1333         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1334         standard paragraph has only a given type of content drop the wrapper.
1335
1336 2004-10-29  José Matos  <jamatos@lyx.org>
1337
1338         * output_docbook.C (makeEnvironment):
1339         * sgml.C (openTag):
1340         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1341
1342 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1343
1344         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1345         (cleanID): sanitize any id.
1346
1347 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1348
1349         * buffer.C, lyxlex_pimpl.C:
1350         * lyxlex_pimpl.C (setFile):
1351         s/getExtFromContents/getFormatFromContents/
1352
1353 2004-10-28  José Matos  <jamatos@lyx.org>
1354
1355         * output_docbook.C (makeEnvironment): move id to broadest possible
1356         scope.
1357
1358         * sgml.C (openTag): apply substitution of <> for all attributes.
1359
1360 2004-10-28  José Matos  <jamatos@lyx.org>
1361
1362         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1363         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1364         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1365
1366         * sgml.[Ch]: new version for open and closeTag for paragraph and
1367         for strings. Now they handle the ids of paragraphs.
1368
1369 2004-10-26  Angus Leeming  <leeming@lyx.org>
1370
1371         * Makefile.am: add mover.[Ch].
1372
1373         * converter.C (convert, move): use the new Movers to move external
1374         files to the temp directory.
1375
1376         * lyx_main.C (init): ensure that the global system_movers data
1377         is initialised.
1378
1379         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1380         preferences file.
1381
1382         * mover.[Ch]: new files, defining a Mover as a utility to move an
1383         external file between directories and, if necessary, manipulate this
1384         file using a helper script.
1385
1386 2004-10-25  José Matos  <jamatos@lyx.org>
1387
1388         * output_docbook.C (makeCommand): merge two if's that tested the
1389         same condition.
1390
1391 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * sgml.C (escapeString): fix warning in a better way
1394
1395 2004-10-25  José Matos  <jamatos@lyx.org>
1396
1397         * sgml.C (escapeString): import the require boosts header file for
1398         tie, and avoid a signed unsigned comparison.
1399
1400 2004-10-25  José Matos  <jamatos@lyx.org>
1401
1402         * sgml.h: add #include <string>
1403
1404 2004-10-25  José Matos  <jamatos@lyx.org>
1405
1406         * sgml.[Ch] (escapeString): new function to escape all the string.
1407
1408 2004-10-24  José Matos  <jamatos@lyx.org>
1409
1410         * paragraph.[Ch] (getFirstWord): new function to get the first
1411         word. Useful for description.
1412         (simpleDocBookOnePar): remove depth argument, add another that
1413         says where to start the paragraph.
1414
1415         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1416         use the new functions to fix cleanly the support for descriptions.
1417
1418 2004-10-24  José Matos  <jamatos@lyx.org>
1419
1420         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1421         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1422         * output_linuxdoc.C (linuxdocParagraphs):
1423         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1424         add buffer as argument.
1425
1426 2004-10-24  José Matos  <jamatos@lyx.org>
1427
1428         * output_docbook.C (makeEnvironment, searchEnvironment): place
1429         CDATA inside paragraphs and fix scope for listitems.
1430
1431 2004-10-24  José Matos  <jamatos@lyx.org>
1432
1433         * output_docbook.C: remove using statement for stack.
1434
1435 2004-10-23  José Matos  <jamatos@lyx.org>
1436
1437         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1438         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1439         docbook. The new scheme is recursive and makes use of iterators, the
1440         same as latex export works.
1441         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1442         directly with the paragraph contents. This code was moved up to
1443         output_docbook.C (docbookParagraphs).
1444         * sgml.C (openTag, closeTag): removed unneeded newlines.
1445         (closeEnvTags) removed.
1446
1447 2004-10-23  André Pönitz  <poenitz@gmx.net>
1448
1449         * undo.C (textUndoOrRedo):
1450         * dociterator.C (asDocIterator): work around crash
1451
1452         * cursor.C (getStatus): replace ASSERT by more verbose error message
1453           and manual correction of the problem. Should increase stability
1454           while providing more sensible information.
1455
1456 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1459
1460         * bufferlist.C (previous, next): new methods
1461
1462         * lfuns.h:
1463         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1464
1465 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1466
1467         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1468         entities to preamble.
1469
1470 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1471
1472         * messages.C (Pimpl): strip off translation context information
1473
1474 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1477         the cursor is correct (bug 1694)
1478
1479 2004-10-13  José Matos  <jamatos@lyx.org>
1480
1481         * output_docbook.C (docbookParagraphs): fix closing tags in the
1482         end of the document.
1483
1484 2004-10-09  José Matos  <jamatos@lyx.org>
1485
1486         * buffer.C: format up to 237.
1487         * bufferparams.C (write): use tostr to convert booleans to strings.
1488
1489 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1492
1493 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * LaTeX.C: implement use of babel language in xindy.
1496
1497 2004-10-05  José Matos  <jamatos@lyx.org>
1498
1499         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1500         Add new translators to help reading and writing the lyx file.
1501
1502 2004-10-05  José Matos  <jamatos@lyx.org>
1503
1504         * ParagraphParameters.C (read):
1505         * text.C (readParToken): replace nexToken by more appropriate lex
1506         methods.
1507
1508 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1509
1510         * LaTeX.C (runMakeIndex):
1511         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1512         (usually 'makeindex') configurable.
1513
1514         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1515         with a variable rather than with a number.
1516
1517 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * output_latex.C (TeXOnePar): make sure font setting is the first
1520         thing that gets output (and the last at the end). Should fix bug
1521         1404.
1522
1523 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * pch.h: use proper signal include
1526
1527         * LaTeX.h: Use preferred calling of Boost.Signal
1528         * buffer.h: ditto
1529
1530 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * pch.h: dont include <boost/function/function0.hpp>
1533
1534         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1535
1536         * paragraph_pimpl.h: remove usage of ShareContainer
1537
1538         * paragraph_pimpl.C: remove initialization of ShareContainer.
1539
1540 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         Fix bug #1666
1543
1544         * BufferView.C (putSelectionAt): change the semantics when
1545         backwards == true: now, this just swaps cursor and anchor wrt the
1546         forward case
1547
1548         * BufferView.h (putSelectionAt): add some documentation
1549
1550         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1551         make sure backwardChar is done at least once (to avoid getting
1552         stuck)
1553         (findNextChange): use putSelectionAt in the forward direction
1554         (operator()): use Paragraph::isWord
1555
1556 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1557
1558         * Spacing.C (set): c_str fix
1559
1560 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * lyx_cb.C (Reconfigure): quote the name of configure script in
1563         case it contains spaces
1564
1565 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1566
1567         * client: new dir
1568
1569         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1570         (BOOST_LIBS): use top_buildir when looking for the file
1571
1572 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1573
1574         * pch.h: do not use include boost/format.hpp, multiple symbols
1575                 will result (gcc bug)
1576
1577
1578 2004-08-23  José Matos  <jamatos@lyx.org>
1579
1580         * bufferparams.C (readToken): fix reading of the author field.
1581
1582 2004-08-20  José Matos  <jamatos@lyx.org>
1583
1584         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1585
1586 2004-08-20  José Matos  <jamatos@lyx.org>
1587
1588         * lyxlex.[Ch] (findToken): remove function.
1589
1590         * ParagraphParameters.C (findToken):
1591         * bufferparams.C (findToken): replace call for previous function
1592         with local copy. This local function has one more argument, the
1593         read string argument.
1594
1595 2004-08-16  José Matos  <jamatos@lyx.org>
1596
1597         * ParagraphParameters.C (write):
1598         * Spacing.C (writeFile):
1599         * bufferparams.C (writeLaTeX):
1600         * lyx_cb.C (Reconfigure):
1601         * paragraph.C (write):
1602         * tabular.C (write): remove unnecessary space at end of line.
1603
1604
1605 2004-08-16  José Matos  <jamatos@lyx.org>
1606
1607         * text.C (readParagraph): remove debug message.
1608
1609 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1612         crash
1613
1614         * output_plaintext.C (asciiParagraph): set depth correctly
1615
1616         * outputparams.h: add member depth
1617
1618         * paragraph_funcs.C (ownerPar): remove.
1619
1620         * text2.C (setCounter): remove first_pit; comment out some
1621         non-working code that uses ownerPar
1622
1623         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1624         uses ownerPar
1625
1626 2004-08-16  José Matos  <jamatos@lyx.org>
1627
1628         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1629         For the same level of importance use the same chanel to report problems.
1630         (read): add code to deal with \begin_body and \end_body.
1631
1632
1633 2004-08-15  José Matos  <jamatos@lyx.org>
1634
1635         * lyxlex.C (getString): fix comment, buffer::readBody is now
1636         buffer:readDocument.
1637
1638         * tex-strings.C (string_papersize): Default -> default,
1639         Custom -> custom, for consistency with other options.
1640
1641 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1642
1643         * pch.h: new file
1644
1645         * Makefile.am: support pch
1646
1647 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1648
1649         * text.C (readParToken): remove the static LyXFont variable and
1650         pass it as a parameter instead. This fixes a nasty bug where an
1651         inset will be inserted with a bad font in some situations
1652         (readParagraph): adapt
1653
1654         * text2.C (setCounter): reduce number of calls to pars_[pit]
1655
1656         * text.C (singleWidth): add an assert, fix a test
1657
1658         * rowpainter.C (paintText): reduce number of calls to singleWidth
1659
1660         * paragraph.C (isHfill):
1661         (isNewline): ws only
1662
1663 2004-08-14  André Pönitz  <poenitz@gmx.net>
1664
1665         * text.C:
1666         * text2.C:
1667         * rowpainter.C:
1668         * lyxtext.h (several functions): use a Paragraph & argument
1669         instead of par_type
1670
1671 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1674
1675         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1676
1677         * text.C (singleWidth): remove useless test
1678
1679 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1680
1681         * tabular.h: remove bogus comments
1682
1683         * tabular.C (getDescentOfRow):
1684         (isPartOfMultiColumn): add assertions
1685
1686         * lyxlength.C (inPixels): remove #warning
1687
1688 2004-08-14  André Pönitz  <poenitz@gmx.net>
1689
1690         * paragraph.h: inline getChar()
1691
1692         * BufferView.h: remove unused declarations
1693
1694 2004-08-14  José Matos  <jamatos@lyx.org>
1695
1696         * Buffer.[Ch] (readDocument): new name for old readBody.
1697         * Buffer.C: new file format, new keywords: \begin_document,
1698         \begin_header, \begin_body, \end_body.
1699
1700         * bufferparams.C (readToken): replace all calls to lex.nextToken
1701         by lex.next(). Do the same to eatLine except where really needed.
1702
1703         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1704         line when writing to the lyx file.
1705
1706         * output_plaintext.C (asciiParagraph): fix Bibliography style
1707         handling.
1708
1709         * text.C (read): fix end of file handling.
1710
1711 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * MenuBackend.C (Menu::operator[]): new method to access
1714         individual menu items
1715         (Menu::hasFunc): new method. search for an item that corresponds
1716         to a given func
1717         (MenuBackend::specialMenu): new method
1718         (MenuBackend::expand): if a special menu has been set, skip
1719         entries whose func() appears in this menu
1720
1721 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1722
1723         * text3.C: use Debug::DEBUG a bit more
1724
1725         * text.C (leftMargin): try to simplify a tiny bit change var x to
1726         l_margin. Dont output the wide margins always.
1727         (rightMargin): no margin in inner texts
1728
1729         * rowpainter.h (nestMargin): new func
1730         (changebarMargin): new func
1731         (rightMargin): new func
1732
1733         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1734         now functions.
1735         (paintLast): ditto
1736
1737         * factory.C (createInset): modify setDrawFrame
1738
1739         * cursor.C: use Debug::DEBUG a bit more
1740
1741 2004-08-14  André Pönitz  <poenitz@gmx.net>
1742
1743         * coordcache.[Ch]:
1744         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1745         cache for all insets in (at least partially) visible (top-level)
1746         paragraphs.
1747
1748         * BufferView_pimpl.C: reset external coord cache before every update.
1749         This means the coord cache only contains valid entries.
1750
1751 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1752
1753         bug 1096
1754         * BufferView_pimpl.C (getInsetByCode): move function out of class
1755         and change in to a template in anon namespace. Also fix to do what
1756         suits us better.
1757
1758 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1759
1760         bug 1305
1761         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1762         of char
1763         (breakParagraph): rename par to par_offset and use a local
1764         reference. Add code to keep the language over a rebreak.
1765         (breakParagraphConservative): rename par to par_offset, use a
1766         local reference
1767         (mergeParagraph): ditto
1768         (outerHook): ditto
1769         (isFirstInSequence): ditto
1770         (outerFont): rename pit to par_offset
1771
1772         * paragraph.C: ws change
1773         * paragraph.h: ditto
1774         * text3.C: ditto
1775         * text.C: ditto
1776
1777 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1780         treatment for ']'
1781
1782         * paragraph.C (simpleTeXOnePar): when we have a \item with
1783         optional argument, enclose the argument with curly brackets (in
1784         case it contains a closing square bracket)
1785
1786         * text2.C (editXY):
1787         * text2.C (editXY):
1788         * text3.C (checkInsetHit): constify
1789
1790 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1793         documents (bug 1629)
1794
1795 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         Fix toggling of collapsable insets with the mouse (bug 1558)
1798
1799         * lyxfunc.C (dispatch): adapt to LCursor changes
1800
1801         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1802         make sure that dispatch is not invoked twice
1803
1804         * cursor.C (needsUpdate): new method
1805         (dispatch): return void
1806         (result): new method, to access the DispatchResult of the cursor.
1807
1808 2004-08-13  José Matos  <jamatos@lyx.org>
1809
1810         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1811
1812 2004-08-13  André Pönitz  <poenitz@gmx.net>
1813
1814         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1815
1816         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1817           multiple cells
1818
1819 2004-08-12  André Pönitz  <poenitz@gmx.net>
1820
1821         * text3.C: take out the 'cursor right' form insertInset and only
1822         do it in those places when it is really needed. Fixes crash on
1823         C-m...
1824
1825 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1828
1829         * BufferView_pimpl.C (setBuffer): initialize the current font of
1830         the underlying LyXText
1831
1832 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * kbsequence.C (print): use UI native formatting for menu
1835         shortcuts
1836
1837         * text.C (insertChar): call Paragraph::insertChar with a font
1838         argument (cosmetic)
1839
1840         * paragraph.C (insertInset, insertChar): the version that takes a
1841         LyXFont argument is now a wrapper around the other one (the
1842         opposite used to be true).
1843
1844         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1845         argument. Font setting is done in Paragraph now.
1846
1847 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1848
1849         * outputparams.h: add new members intitle and lang.
1850
1851         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1852         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1853
1854 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1855
1856         * text3.C (dispatch): remove special handling of button 4 and 5,
1857         it is now taken care of in the frontend code.
1858
1859 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1860
1861         * Spacing.h: add <string> (STLPort compile fix)
1862
1863 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1864
1865         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1866
1867 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1868
1869         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1870         to bool.
1871
1872         * converter.C (showMessage): inherit from unary_function, make
1873         operator() const.
1874
1875         * buffer.C (writeFile): initialize retval
1876
1877         * InsetList.h: rename private variable list to list_
1878         * InsetList.[Ch]: adjust accordingly.
1879
1880 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1881
1882         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1883         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1884         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1885         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1886         * ParagraphParameters.C, LaTeXFeatures.C: replace
1887         "support/std_sstream.h" with <sstream>
1888
1889 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1892         * lyxsocket.C (LyXServerSocket): ditto
1893         (serverCallback): ditto
1894
1895 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1896
1897         * LaTeXFeatures.C: check release date when loading jurabib.
1898
1899 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1900
1901         * lyxserver.C (startPipe): call register_socket_callback
1902         (endPipe): call unregister_socket_callback
1903
1904 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1905
1906         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1907         (LyXServerSocket): register the callback
1908         (LyXServerSocket): unregister the callback
1909         (fd): delete function
1910         (serverCallback): improve error checking and setup the callbacks.
1911         (dataCallback): change arg to fd.
1912         (writeln): new func (copied fro the client socket) used for server
1913         write to client.
1914         (LyXDataSocket): simplify
1915         (~LyXDataSocket): close ann unregiser callback
1916         (server): delete function
1917         (fd): delete function
1918         (readln): small changes, improve some std::string usage
1919         (writeln): constify a bit
1920
1921 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1924         Qt frontend
1925
1926 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1927
1928         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1929         after it has been populated
1930
1931 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * text2.C (insertInset): move cursor when inserting inset.
1934
1935 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936
1937         * kbmap.C (findbindings): a couple of new methods. returns a
1938         container of kb_sequence objects. The real work is done by the
1939         private recursive version
1940         (printbindings): uses findbindings to print out a bracketed list
1941         of bindings (renamed from findbinding).
1942
1943         * MenuBackend.C (binding): use kb_keymap::findbindings
1944
1945         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1946
1947 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1948
1949         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1950
1951 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1952
1953         * paragraph.C (isWord): return true on insets that report
1954         isLetter().
1955
1956         * text.C (getWord): use Paragraph::isWord to decide what is in a
1957         word and what is not; fix bug 1609.
1958
1959 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1960
1961         * tex-strings.C: add "none" to string_paperpackages[], fixes
1962         off-by-one-error in the paperpackage selection.
1963
1964         * lyxlex.[Ch]:
1965         * tex-strings.[Ch]: char const * string[n]
1966         -> char const * const string[]
1967
1968 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1971         command, return early.
1972
1973 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1974
1975         * debug.h: add DEBUG to enum and fix size of ANY.
1976
1977         * debug.C: add support for Debug::DEBUG
1978         (showTags): cast errorTags.level to unsigned int
1979
1980         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1981         (redoCurrentBuffer): ditto
1982         (updateScrollbar): ditto
1983         * cursor.C (dispatch): ditto
1984         * text2.C (setLayout): ditto
1985         (setFont): ditto
1986         (updateCounters): ditto
1987         (editXY): ditto
1988         (deleteEmptyParagraphMechanism): ditto
1989
1990 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1991
1992         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1993         annotations to cleanup the Makefile slightly.
1994
1995 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * lyxrc.C: do not set user_email to a default value but use empty
1998         instead. The entry used to be translated, which does not work
1999         since at the point where lyxrc is constructed there is no
2000         translation service available
2001
2002         * messages.C (getLocaleDir): remove and use directly
2003         lyx_localedir() instead
2004
2005 2004-06-02  Angus Leeming  <leeming@lyx.org>
2006
2007         Fix crash caused by dereferencing null pointer 'exportdata' in
2008         OutputParams by creating a new ExportData variable on the heap,
2009         storing it in a boost::shared_ptr.
2010         The crash was triggered when generating an Instant Preview
2011         of an external inset.
2012
2013         * Makefile.am: add outputparams.C
2014
2015         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2016         (c-tor): allocate memory to it.
2017
2018         * exporter.C (c-tor): associated changes.
2019
2020 2004-06-01  Angus Leeming  <leeming@lyx.org>
2021
2022         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2023         contains data before calling isInset(0). (Bug 1513.)
2024
2025 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2026
2027         * exporter.C (checkOverwrite): new method
2028         * exporter.C (copyFile): new method
2029         * exporter.C (Export): copy referenced files to the document dir
2030         * exporter.[Ch]: new class ExportedFile
2031         * exporter.[Ch]: new class ExportData. Contains currently the
2032         names of referenced external files
2033         * outputparams.h: add exportdata member.
2034
2035 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2036
2037         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2038         version.C-tmp
2039
2040 2004-05-19  Angus Leeming  <leeming@lyx.org>
2041
2042         * LaTeXFeatures.C:
2043         * ToolbarBackend.C:
2044         * bufferparams.C:
2045         * lyxfunc.C: small changes due to the introduction of namespace
2046         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2047
2048 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * text3.C (dispatch): supress update when only moving the cursor
2051         * cursor.C (selHandle): remove commented code
2052
2053 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2054
2055         * paragraph.C (startTeXParParams): correct column count
2056         * CutAndPaste.C (pasteSelection): remove const_cast
2057         * output_docbook.C (docbookParagraphs): remove const_cast
2058         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2059         const_cast and return ParagraphList::const_iterator
2060         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2061         * output_plaintext.C (writeFileAscii): remove const_cast
2062         * paragraph.[Ch] (simpleTeXOnePar): make const
2063         * paragraph_funcs.C (outerPar): use const iterators
2064         * paragraph_pimpl.C (validate): use const iterators
2065         * text.C (setHeightOfRow): use const iterators
2066
2067 2004-05-17  Angus Leeming  <leeming@lyx.org>
2068
2069         * lfuns.h:
2070         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2071
2072         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2073         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2074         if the citation engine has changed.
2075
2076 2004-05-14  José Matos  <jamatos@lyx.org>
2077
2078         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2079         if the textclass does not provide it. Have it different for sgml and
2080         xml.
2081         support the language of document.
2082         * output_docbook.C (docbookParagraphs):
2083         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2084         first anchor as the id of the paragraph, remove special case code.
2085         * sgml.C (escapeChar): escape only < & >.
2086
2087 2004-05-14  Angus Leeming  <leeming@lyx.org>
2088
2089         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2090         dependencies on src/frontends/controllers/biblio.h. Define a
2091         CiteEngine_enum wrapper class to enable the enum to be forward
2092         declared.
2093
2094 2004-05-12  Angus Leeming  <leeming@lyx.org>
2095
2096         * buffer.C: up LYX_FORMAT to 234.
2097         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2098         use_numerical_citations with a single biblio::CiteEngine cite_engine
2099         variable.
2100         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2101
2102 2004-05-13  José Matos  <jamatos@lyx.org>
2103
2104         * converter.h:
2105         * converter.C (Converter, readFlags): add xml member.
2106         * outputparams.h: add XML flavor.
2107         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2108
2109 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * lyxfunc.C (dispatch):
2112         (getStatus): fix handling of LFUN_SEQUENCE
2113
2114 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * debug.C (showLevel): do not forget the end-of-line marker
2117
2118 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2119
2120         * kbmap.C (read): do not stop parsing a bind file when an error
2121         occurs (bug 1575)
2122
2123 2004-04-29  Angus Leeming  <leeming@lyx.org>
2124
2125         * cursor.C:
2126         * factory.C:
2127         * pariterator.C:
2128         * text2.C: wrap a bunch of #warning statements
2129         inside #ifdef WITH_WARNINGS blocks.
2130
2131 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2132
2133         * buffer.C: increment format to 233.
2134
2135 2004-04-28  Angus Leeming  <leeming@lyx.org>
2136
2137         * BufferView_pimpl.C:
2138         * lyxfunc.C:
2139         * text3.C:
2140         s/updateToolbar()/updateToolbars()/
2141         s/Toolbar.h/Toolbars.h/
2142
2143 2004-04-28  Angus Leeming  <leeming@lyx.org>
2144
2145         * BufferView.[Ch] (c-tor):
2146         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2147         No longer passes these data to the WorkArea generator.
2148
2149 2004-04-28  Angus Leeming  <leeming@lyx.org>
2150
2151         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2152
2153 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2154
2155         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2156
2157 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * output_latex.C (TeXEnvironment): make sure that there is a line
2160         break before \end{foo} for the last paragraph of a document
2161         (TeXOnePar): if the paragraph is at the end of the document (or
2162         inset) and the language has to be reset, then make sure that the
2163         line break is _before_ the language command, not after (fixes bug
2164         1225); also make sure that the language reset command is the first
2165         thing after the paragraph (to ensure proper nesting of
2166         environments and thus fix bug 1404)
2167
2168 2004-04-21  John Levon  <levon@movementarian.org>
2169
2170         * ToolbarBackend.h:
2171         * ToolbarBackend.C: make "name" be a programmatic name
2172         and a gui_name field.
2173
2174         * lyxfunc.C: display the minibuffer on M-x
2175
2176 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2177
2178         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2179         (bug 1526)
2180
2181 2004-04-19  Angus Leeming  <leeming@lyx.org>
2182
2183         * BufferView_pimpl.C (setBuffer): changed preview interface.
2184
2185         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2186         possible values.
2187
2188 2004-04-19  John Levon  <levon@movementarian.org>
2189
2190         * BufferView_pimpl.C:
2191         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2192
2193 2004-04-05  Angus Leeming  <leeming@lyx.org>
2194
2195         * text.C (redoParagraphs): add call to updateCounters(), thereby
2196         fixing the missing "Figure #:" label from the caption of a
2197         figure float.
2198
2199 2004-04-13  Angus Leeming  <leeming@lyx.org>
2200
2201         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2202         cursor is clicked out of an inset.
2203
2204 2004-04-13  Angus Leeming  <leeming@lyx.org>
2205
2206         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2207         than an InsetOld one.
2208
2209 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2210
2211         * format.[Ch]: add editor to Format
2212         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2213         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2214
2215 2004-04-08  André Pönitz  <poenitz@gmx.net>
2216
2217         * metricsinfo.h: remove PainterInfo::width member
2218
2219 2004-04-08  Angus Leeming  <leeming@lyx.org>
2220
2221         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2222         "\providecommand" rather than "\newcommand", thereby preventing
2223         clashes with packages that define "\boldsymbol" themselves.
2224         Eg, beamer.
2225
2226 2004-04-08  Angus Leeming  <leeming@lyx.org>
2227
2228         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2229         thereby squashing an unnecessary warning.
2230
2231 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2232
2233         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2234         setBuffer()
2235
2236 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * BufferView.C (setCursor): call redoParagraph (some insets could
2239         have been opened)
2240         (putSelectionAt): remove the 'double update' trick
2241
2242         * BufferView_pimpl.C (fitCursor): call refreshPar
2243         (workAreaDispatch): remove an uneeded update call
2244         (dispatch): remove some manual update calls
2245
2246         * cursor.[Ch]: remove cached_y_, updatePos
2247         (selHandle): set noUpdate when appropriate
2248
2249         * lyxfunc.C (dispatch): track if we need an update
2250
2251         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2252
2253         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2254         (paintSelection): cheap optimization, do not call cursorX when not
2255         needed
2256         (paintPars): change signature
2257         (refreshPar): add
2258         (paintText): adjust
2259         (paintTextInset): adjust
2260
2261         * text.C: adjust
2262
2263 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * lengthcommon.C: compilation fix: remove explicit array size from
2266         unit_name[] and friends
2267
2268 2004-04-05  Angus Leeming  <leeming@lyx.org>
2269
2270         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2271
2272         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2273         present only for the preferences dialog.
2274         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2275
2276 2004-04-05  Angus Leeming  <leeming@lyx.org>
2277
2278         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2279         to enable the frontends to export changes to lyxrc correctly.
2280
2281         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2282
2283 2004-04-07  André Pönitz  <poenitz@gmx.net>
2284
2285         * cursor.[Ch] (selClear, adjust): remove math
2286
2287         * cursor_slice.C: more agressive assert
2288
2289         * lyxfunc.C:
2290         * BufferView_pimpl.C: rework mouse event dispatch
2291
2292         * dociterator.C:
2293         * paragraph.C:
2294         * text2.C:
2295         * text3.C: adjust
2296
2297 2004-04-05  André Pönitz  <poenitz@gmx.net>
2298
2299         * cursor.[Ch] (valign, halign...): remove unneeded functions
2300
2301 2004-04-05  Angus Leeming  <leeming@lyx.org>
2302
2303         * lyxlength.[Ch] (unit_name et al.): const-correct.
2304
2305 2004-04-05  Angus Leeming  <leeming@lyx.org>
2306
2307         * BufferView_pimpl.C:
2308         * buffer.C:
2309         * counters.C:
2310         * cursor.C:
2311         * lyxfunc.C
2312         * paragraph.C:
2313         * pariterator.C:
2314         * text.C:
2315         * text2.C:
2316         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2317
2318 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2319
2320         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2321
2322 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2323
2324         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2325         * BufferView_pimpl.[Ch] (getStatus)
2326         * BufferView.[Ch] (getStatus): add
2327         * lyxfunc.C (getStatus): move lfuns handled in
2328         BufferView::dispatch to te function above
2329         * Cursor.C (setSelection): set selection() = true
2330
2331 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2332
2333         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2334
2335 2004-03-31  Angus Leeming  <leeming@lyx.org>
2336
2337         * lyxfunc.C (dispatch): Fall through to the generic
2338         Dialogs::show("preamble").
2339
2340 2004-03-31  Angus Leeming  <leeming@lyx.org>
2341
2342         * lyxfunc.C (dispatch): Fall through to the generic
2343         Dialogs::show("spellchecker").
2344
2345 2004-03-31  Angus Leeming  <leeming@lyx.org>
2346
2347         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2348         preferences dialog.
2349
2350 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * BufferView.C
2353         * cursor.[Ch]
2354         * dociterator.[Ch]:
2355         * insetiterator.[Ch]:
2356         * lyxfind.C:
2357         * lyxfunc.C:
2358         * pariterator.[Ch]:
2359         * text2.C:
2360         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2361
2362 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2365         insets where we are putting the cursor.
2366
2367 2004-03-31  Angus Leeming  <leeming@lyx.org>
2368
2369         * lfuns.h:
2370         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2371
2372         * lyxrc.[Ch] (read, write): overloaded member functions taking
2373         a std::[io]stream arguments.
2374
2375         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2376
2377 2004-03-31  Angus Leeming  <leeming@lyx.org>
2378
2379         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2380         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2381
2382         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2383         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2384
2385 2004-03-31  Angus Leeming  <leeming@lyx.org>
2386
2387         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2388         the LFUN_ALL_INSETS_TOGGLE code.
2389
2390 2004-03-30  Angus Leeming  <leeming@lyx.org>
2391
2392         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2393         has died. Fall through to the generic Dialogs::show("document").
2394
2395 2004-03-30  Angus Leeming  <leeming@lyx.org>
2396
2397         * lfuns.h:
2398         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2399         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2400
2401         * lyxfunc.C (getStatus, dispatch): define the actions for these
2402         lfuns. Little more than a cut and pste job from ControlDocument.C
2403
2404         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2405
2406 2004-03-30  Angus Leeming  <leeming@lyx.org>
2407
2408         * lfuns.h:
2409         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2410         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2411
2412         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2413         open/closed state of ollapsable insets. Usage:
2414
2415         all-inset-toggle <state> <name>, where
2416         <state> == "open" || "closed" || "toggle" and
2417         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2418
2419         * lyxtext.h, text2.C (toggleInset): removed.
2420
2421         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2422         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2423         now passes LFUN_INSET_TOGGLE to the found inset.
2424
2425         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2426         is now invoked as "all-insets-toggle toggle branch".
2427
2428 2004-03-30  Angus Leeming  <leeming@lyx.org>
2429
2430         * dociterator.C:
2431         * insetiterator.C:
2432         * pariterator.[Ch]: added/corrected header blurb.
2433
2434 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2435
2436         * dociterator.[Ch]: add an inset_ member
2437         (backwardPos): implemented
2438         (backwardPos, forwardPos): use inset_ when the stack is empty.
2439         (doc_iterator_begin, doc_iterator_end): implemented
2440         * pariterator.[Ch]: adjust, add begin, end
2441         * insetiterator.[Ch]: adjust, add begin, end
2442         * cursor.C:
2443         * document.C:
2444         * BufferView.C:
2445         * BufferView_pimpl.C:
2446         * CutAndPaste.C: adjust
2447
2448 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2449
2450         * buffer.C: increment file format to 232.
2451         * LaTeXFeatures.C: add bibtopic package.
2452         * bufferparams.[Ch]: param \use_bibtopic.
2453
2454         * lyxrc.[Ch]: add lyxrc bibtex_command
2455         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2456
2457         * buffer.C: increment file format to 231.
2458
2459 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * dociterator.C: implement forwardPar
2462         * iterators.[Ch]: remove, replaced by
2463         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2464         * BufferView.C:
2465         * BufferView_pimpl.C:
2466         * CutAndPaste.C:
2467         * buffer.C:
2468         * bufferview_funcs.C:
2469         * cursor.C:
2470         * lyxfind.C
2471         * lyxfunc.C
2472         * paragraph_funcs.C
2473         * toc.C:
2474         * Makefile.am: adjust
2475
2476 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * CutAndPaste.C (pasteSelection): fix 2 crashes
2479         (eraseSelection): fix a crash
2480         * paragraph_funcs.C: remove a warning
2481
2482 2004-03-28  Angus Leeming  <leeming@lyx.org>
2483
2484         * lfuns.h:
2485         * LyXAction.C (init): new LFUN_PRINT.
2486
2487         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2488
2489 2004-03-27  Angus Leeming  <leeming@lyx.org>
2490
2491         * lfuns.h:
2492         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2493
2494         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2495
2496 2004-03-27  Angus Leeming  <leeming@lyx.org>
2497
2498         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2499         insetlist always contains non-null pointers to insets.
2500
2501 2004-03-26  Angus Leeming  <leeming@lyx.org>
2502
2503         * src/BufferView_pimpl.C:
2504         * src/CutAndPaste.C:
2505         * src/buffer.C:
2506         * src/iterators.C:
2507         * src/output_plaintext.C:
2508         * src/outputparams.h:
2509         * src/paragraph_funcs.C:
2510         * src/rowpainter.C:
2511         * src/text.C:
2512         * src/text2.C:
2513         * src/frontends/controllers/ControlErrorList.C:
2514         * src/frontends/gtk/FileDialogPrivate.C:
2515         * src/frontends/gtk/GPainter.C:
2516         * src/frontends/gtk/GToolbar.C:
2517         * src/frontends/qt2/QRef.C:
2518         * src/mathed/math_scriptinset.C: squash compiler warnings.
2519
2520 2004-03-26  Angus Leeming  <leeming@lyx.org>
2521
2522         * ispell.C (LaunchIspell::start):
2523         * lyx_cb.C (AutoSaveBuffer::start):
2524         invoke run(DontWait) rather than runNonBlocking().
2525
2526 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2529
2530 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2531
2532         * kbsequence.C (print): adjust
2533
2534         * kbmap.C (printKeySym): rename and change signature
2535         (printKey): use LyXKeySym::print()
2536
2537 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2538
2539         * undo.C: add using std::advance to compile for stlport
2540
2541 2004-03-24  Angus Leeming  <leeming@lyx.org>
2542
2543         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2544         it leads to a crash when no buffer is present.
2545
2546 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2547             Martin Vermeer  <martin.vermeer@hut.fi>
2548
2549         * lyxfunc.C (dispatch):
2550         * bufferparams.C (readToken): use the new LColor::setColor
2551
2552         * LColor.[Ch] (setColor): new version that takes two strings as
2553         argument and creates a new color entry if necessary
2554
2555 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2556
2557         * buffer.C (makeLaTeXFile): if the main latex file that is
2558         processed is usually a subdocument of some master, then pretend
2559         for a while that it is actually the master
2560
2561 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2562
2563         * buffer.C (getLabelList):
2564         (getBibkeyList): use getMasterBuffer()
2565         (getMasterBuffer): new method. Returns the main document in the
2566         case where one is using included documents.
2567
2568 2004-03-25  André Pönitz  <poenitz@gmx.net>
2569
2570         * Makefile.am:
2571         * iterators.[Ch]:
2572         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2573
2574         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2575
2576         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2577         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2578
2579         * ParameterStruct.h: merge with ParagraphParameters
2580
2581         * lyxtext.h: remove LyXText::parOffset() and getPar()
2582
2583         * text3.C: Remove all 'manual' update calls. We do now one per user
2584         interaction which is completely sufficient.
2585
2586         * Bidi.C:
2587         * BufferView.[Ch]:
2588         * BufferView_pimpl.C:
2589         * FontIterator.[Ch]:
2590         * MenuBackend.C:
2591         * ParagraphParameters.[Ch]:
2592         * buffer.C:
2593         * buffer.h:
2594         * bufferlist.C:
2595         * cursor.[Ch]:
2596         * cursor_slice.[Ch]:
2597         * dociterator.[Ch]:
2598         * errorlist.[Ch]:
2599         * factory.C:
2600         * lfuns.h:
2601         * lyxfind.C:
2602         * lyxfunc.C:
2603         * output_docbook.[Ch]:
2604         * output_latex.[Ch]:
2605         * output_linuxdoc.[Ch]:
2606         * output_plaintext.[Ch]:
2607         * paragraph.[Ch]:
2608         * paragraph_funcs.[Ch]:
2609         * paragraph_pimpl.[Ch]:
2610         * rowpainter.C:
2611         * tabular.[Ch]:
2612         * text.C:
2613         * text2.C:
2614         * toc.C:
2615         * undo.[Ch]: adjust
2616
2617         * frontends/controllers/ControlDocument.C:
2618         * frontends/controllers/ControlErrorList.C:
2619         * frontends/controllers/ControlSpellchecker.C:
2620         * insets/inset.C:
2621         * insets/inset.h:
2622         * insets/insetbase.h:
2623         * insets/insetbibitem.C:
2624         * insets/insetbox.C:
2625         * insets/insetbranch.C:
2626         * insets/insetcaption.C:
2627         * insets/insetcharstyle.C:
2628         * insets/insetcharstyle.h:
2629         * insets/insetcollapsable.C:
2630         * insets/insetcollapsable.h:
2631         * insets/insetert.C:
2632         * insets/insetfloat.C:
2633         * insets/insetfoot.C:
2634         * insets/insetmarginal.C:
2635         * insets/insetnote.C:
2636         * insets/insetoptarg.C:
2637         * insets/insettabular.C:
2638         * insets/insettext.C:
2639         * insets/insettext.h:
2640         * insets/insetwrap.C:
2641         * mathed/math_mboxinset.C:
2642         * mathed/math_nestinset.C:
2643         * mathed/math_scriptinset.C:
2644         * mathed/math_scriptinset.h:
2645         * support/types.h:
2646
2647 2004-03-24  Angus Leeming  <leeming@lyx.org>
2648
2649         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2650         deal with any child processes that have finished but are waiting to
2651         communicate this fact to the rest of LyX.
2652
2653 2004-03-24  Angus Leeming  <leeming@lyx.org>
2654
2655         64-bit compile fixes.
2656
2657         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2658         (c-tor): pass lyx::pos_types rather than ints.
2659
2660         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2661         lyx::pos_type.
2662
2663         * text.C (Delete): compile fix.
2664         (getPar): ensure that function declaration is the same as that in
2665         the header file.
2666
2667 2004-03-23  Angus Leeming  <leeming@lyx.org>
2668
2669         * ispell.C (LaunchIspell):
2670         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2671         a boost::shred_ptr rather than a std::auto_ptr.
2672
2673 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2676         handle LFUN_FILE_INSERT_*
2677
2678         * lyxrc.C (setDefaults, getDescription, output, read):
2679         * lyxrc.h: remove ps_command
2680
2681 2004-03-22  Angus Leeming  <leeming@lyx.org>
2682
2683         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2684         Ensure that error_handler is processed once only and that all data
2685         is saved before attempting to output any warning messages.
2686
2687         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2688
2689 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2692
2693 2004-03-19  André Pönitz  <poenitz@gmx.net>
2694
2695         * cursor.[Ch] (reset): take main text inset as argument
2696
2697         * BufferView: adjust
2698         * BufferView_pimpl.C: adjust
2699
2700         * paragraph.[Ch]: fix completely broken operator=()
2701
2702 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2703
2704         * LColor.C (getFromLyXName): make sure that the color name is used
2705         as lowercase.
2706
2707 2004-03-17  Angus Leeming  <leeming@lyx.org>
2708
2709         * lfuns.h:
2710         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2711
2712         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2713         dialog and to kill a forked process.
2714
2715 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2716
2717         * text2.C (setCursorFromCoordinates): fix font problem
2718
2719 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2720
2721         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2722         bogus "rebuild cursor" code
2723
2724 2004-03-11  André Pönitz  <poenitz@gmx.net>
2725
2726         * buffer.[Ch]: use InsetText instead of LyXText as container for
2727         the main lyx text.
2728
2729         * dociterator.[Ch]: drop the BufferView * member which is not needed
2730         anymore after the change to buffer.C
2731
2732         * paragraph_funcs.C:
2733         * text.C:
2734         * text2.C:
2735         * BufferView.[Ch]:
2736         * BufferView_pimpl.[Ch]:
2737         * cursor.[Ch]:
2738         * cursor_slice.[Ch]: adjust
2739
2740         * text3.C: fix bug in mathDispatch
2741
2742 2004-03-08  André Pönitz  <poenitz@gmx.net>
2743
2744         * undo.[Ch]: use 'StableDocumentIterator' as base for
2745         the Undo struct.
2746
2747 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2748
2749         * LaTeXFeatures.C:
2750         * bufferparams.[Ch]: add jurabib support and param.
2751
2752         * LaTeX.C: add FIXME/comment.
2753
2754 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2755
2756         * buffer.C: increment file format to 230.
2757
2758 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2759
2760         * cursor.C (dispatch): avoid infinite loops
2761
2762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * rowpainter.C (paintSelection): fix x coordinates
2765
2766 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * text.C (rowBreakPoint): fix breaking before displayed insets
2769
2770 2004-03-01  André Pönitz  <poenitz@gmx.net>
2771
2772         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2773
2774         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2775
2776         * Makefile.am:
2777         * BufferView.C:
2778         * BufferView_pimpl.C:
2779         * buffer.C:
2780         * lyxfind.C:
2781         * lyxfunc.C:
2782         * text.C:
2783         * text2.C:
2784         * text3.C: adjust
2785
2786 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2787
2788         * lyxtext.h:
2789         * text.C:
2790         * text2.C:
2791         * rowpainter.C:
2792         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2793         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2794
2795 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2796
2797         * Bidi.[Ch] (computeTables): const correctness
2798         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2799         fill_hfill, fill_label_hfill and x from Row
2800         * lyxtext.h: prepareToPrint returns a RowMetrics
2801         * rowPainter.C: adjust
2802         * text.C (prepareToPrint): use width, not textWidth. adjust
2803         (redoParagraphInternal, cursorX): adjust
2804         * text2.C (getColumnNearX): adjust
2805         (init): put a default value to the top LyXText::width
2806
2807 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2808
2809         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2810
2811 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2812
2813         * lyxtext.h: add FontIterator class
2814
2815         * text.C (FontIterator, operator*, operator->, operator++): add
2816         (rowBreakPoint, setRowWidth): adjust (fixing a
2817         rebreaking bug)
2818
2819 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2820
2821         * BufferView_pimpl.C (workAreaDispatch): allow also
2822         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2823
2824 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2825
2826         * text.C (rowBreakPoint): fix a bug showing with very large insets
2827
2828 2004-02-25  André Pönitz  <poenitz@gmx.net>
2829
2830         * text3.C:
2831         * cursor.[Ch]: move some mathed specific code to mathed
2832
2833 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2834
2835         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2836         use_tempdir in preferences
2837         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2838         tempfile creation
2839         * lyx_main.C: ensure that tempdir is valid
2840         * lyxlex.h: correct typo
2841         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2842         * paragraph.[Ch] (isMultiLingual): make const
2843         * cursor.[Ch] (openable): make const
2844
2845 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2846
2847         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2848
2849 2004-02-20  André Pönitz  <poenitz@gmx.net>
2850
2851         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2852
2853         * cursor.[Ch]: prepare for localized getStatus()
2854
2855         * lyxtext.h:
2856         * tabular.C:
2857         * text.C:
2858         * text2.C:
2859         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2860
2861 2004-02-20  André Pönitz  <poenitz@gmx.net>
2862
2863         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2864
2865 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2866
2867         * text2.C (setCursorFromCoordinates): switch to absolute coords
2868         (cursorUp): adjust
2869         (cursorDown): adjust
2870         * text3.C (dispatch): adjust
2871
2872 2004-02-16  André Pönitz  <poenitz@gmx.net>
2873
2874         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2875           insets/ChangeLog)
2876
2877         * cursor_slice.[Ch]: remove unneeded acessor function
2878
2879         * lyxtext.h: rename rtl() to isRTL()
2880
2881         * rowpainter.C:
2882         * tabular.C:
2883         * text.C:
2884         * text2.C:
2885         * text3.C: adjust
2886
2887 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2888
2889         * rowpainter.C (paintSelection): coord fix
2890
2891 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2892
2893         * Spacing.C: compile fix
2894
2895 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2896
2897         * cursor.C (dispatch): restore current_ before returning
2898
2899 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2900
2901         * text2.C (cursorUp, cursorDown): fix coords
2902         (moveUp): fix crash
2903
2904 2004-02-12  André Pönitz  <poenitz@gmx.net>
2905
2906         * lyxtext.h:
2907         * text.C:
2908         * text2.C:
2909         * text3.C: add LCursor & parameter to most cursor movement functions
2910           remove usage of LyXText::cursorRow() and cursorPar()
2911
2912         * cursor.[Ch]: add textRow() needed members
2913
2914         * BufferView.C:
2915         * BufferView_pimpl.C:
2916         * paragraph.[Ch]:
2917         * BufferView.C:
2918         * BufferView_pimpl.C: adjust
2919
2920 2004-02-11  André Pönitz  <poenitz@gmx.net>
2921
2922         * lyxfunc.C:
2923         * BufferView.[Ch]:
2924         * BufferView_pimpl.C: shift undo/redo handling
2925
2926         * cursor.[Ch]: fix mathed crash
2927
2928         * lyxfind.C:
2929         * lyxtext.h: move selectionAsText to LCursor
2930
2931         * output_latex.C:
2932         * paragraph.C:
2933         * text.C:
2934         * text2.C:
2935         * text3.C: adjust
2936
2937         * rowpainter.C: fix excessive drawing
2938
2939 2004-02-06  André Pönitz  <poenitz@gmx.net>
2940
2941         * BufferView.[Ch]:
2942         * BufferView_pimpl.[Ch]:
2943         * text3.C: move some text specific LFUN handling
2944
2945 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2946
2947         * text3.C (checkInsetHit): adjust coords
2948         * text2.C (getColumnNearX): adjust coords
2949         (edit): adjust coords
2950         * text.C (getRowNearY): add two asserts
2951
2952 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2953
2954         * converter.C:
2955         * format.C: add using std::distance to compile on gcc 2.95/stlport
2956
2957 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2960
2961 2004-02-04  André Pönitz  <poenitz@gmx.net>
2962
2963         * BufferView.[Ch] (insertInset):
2964         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2965
2966         * text2.C:
2967         * text3.C: adjust
2968
2969 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2972         on the default clause of the switch
2973         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2974         wasn't catched by LCursor::dispatch
2975
2976 2004-02-03  André Pönitz  <poenitz@gmx.net>
2977
2978         * BufferView.C:
2979         * cursor.[Ch]: some additional asserts
2980
2981         * undo.[Ch]: remove LyXText dependency in interface
2982
2983         * lyxfunc.C: adjust
2984
2985         * lyxtext.h (firstPar, lastPar): remove dead functions
2986
2987         * text.C:
2988         * text2.C:
2989         * text3.C:
2990         * paragraph.[Ch]: adjust
2991
2992 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * lyxfind.C (find): fix argument order in call to ::find
2995
2996 2004-02-02  André Pönitz  <poenitz@gmx.net>
2997
2998         * cursor.[Ch]: remove direct access to anchor
2999
3000         * text.C: remove findText() hack
3001
3002 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * iterators.[Ch] (lockPath): remove in favour of...
3005         * BufferView.[Ch] (setCursor): this addition
3006         * BufferView.C (putSelectionAt): adjust
3007         * undo.C (performUndoOrRedo): adjust
3008         * lyxfunc.C (dispatch): adjust
3009
3010 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3011
3012         * iterators.C (lockPath): add a missing slice
3013         * undo.C (performUndoOrRedo): remove redundant positioning code
3014
3015 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3016
3017         * vc-backend.C (scanMaster): ";" -> ';'
3018
3019 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3020
3021         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3022         std::binary_function
3023
3024         * lyxtextclass.C (compare_name): rename to...
3025         (LayoutNamesEqual): ...this
3026
3027         * lyxlex_pimpl.C (compare_tags): inherit from
3028         std::binary_function, put back into anon namespace
3029
3030         * lyxfind.C (MatchString): inherig from std::binary_function
3031         (findChange): use empty() istead of !size()
3032
3033         * format.C (FormatNamesEqual): new functor
3034         (getFormat): use it
3035         (getNumber): use it
3036         (add): use it
3037         (erase): use it
3038         (setViewer): use it
3039
3040         * converter.C (compare_Converter): rename to...
3041         (ConverterEqual): ...this, and fixup a bit.
3042         (getConverter): use it, and make function const
3043         (getNumber): use it, and make function const
3044         (add): use it
3045         (erase): use it:
3046
3047         * bufferlist.C: add using boost::bind
3048
3049         * MenuBackend.C (MenuNamesEqual): new functor
3050         (hasMenu): use it, and make function const
3051         (hasSubmenu): use nested bind to get rid of compare_memfun.
3052
3053 2004-01-30  André Pönitz  <poenitz@gmx.net>
3054
3055         * BufferView_pimpl.C:
3056         * cursor.C:
3057         * cursor.h:
3058         * cursor_slice.[Ch]:
3059         * lyxfunc.C:
3060         * lyxtext.h:
3061         * paragraph_funcs.C:
3062         * paragraph_funcs.h:
3063         * rowpainter.C:
3064         * text.C:
3065         * text2.C:
3066         * text3.C: move some of the edit(x,y) handling to the insets
3067         some coordinate changes.
3068
3069 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3070
3071         * text.C: add using statements for std::advance and std::distance
3072
3073         * paragraph.C: add using statement for std::distance
3074
3075         * lyxfind.C: add using statement for std::advance
3076
3077         * cursor.C (region): remove std:: from swap
3078         (openable): use nucleus in stead of operator->
3079
3080         * BufferView.C: add using statements for std::distance and std::swap
3081
3082 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3083
3084         * iterators.C: Remove the pimple, move the needed structures to
3085         the header file. Create accessor for the positions stack.
3086         (asPosIterator): remove function
3087
3088         * PosIterator.C (PosIterator): move constructors to top of file
3089         (PosIterator): reimplement the constructor taking a ParIterator in
3090         terms of setFrom.
3091         (setFrom): new function
3092         (operator!=): inline it
3093
3094 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3095
3096         * lyxfind.C (replaceAll): use std::advance
3097
3098         * iterators.h: inherit from std::iterator.
3099
3100         * PosIterator.C (advance, distance): remove
3101         * PosIterator.h: interit from std::iterator.
3102
3103 2004-01-26  André Pönitz  <poenitz@gmx.net>
3104
3105         * BufferView.[Ch]:
3106         * BufferView_pimpl.[Ch]:
3107         * InsetList.[Ch]:
3108         * PosIterator.[Ch]:
3109         * buffer.h:
3110         * bufferview_funcs.C:
3111         * cursor.[Ch]:
3112         * cursor_slice.h:
3113         * factory.[Ch]:
3114         * iterators.[Ch]:
3115         * lyxfind.C:
3116         * lyxfunc.C:
3117         * lyxtext.h:
3118         * output_docbook.C:
3119         * output_latex.C:
3120         * output_linuxdoc.C:
3121         * output_plaintext.C:
3122         * paragraph.[Ch]:
3123         * paragraph_funcs.[Ch]:
3124         * paragraph_pimpl.[Ch]:
3125         * rowpainter.C:
3126         * tabular.C:
3127         * tabular.h:
3128         * text.C:
3129         * text2.C:
3130         * text3.C: more IU:  dumps most of the rest of the mathcursor
3131     implementation into cursor.[Ch]; "globalize" a bit of it.
3132
3133 2004-01-25  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3136
3137 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3138
3139         * LaTeXFeatures.h: add nice_ and nice() const
3140         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3141
3142 2004-01-20  André Pönitz  <poenitz@gmx.net>
3143
3144         * BufferView.[Ch]:
3145         * BufferView_pimpl.C:
3146         * PosIterator.C:
3147         * bufferview_funcs.C:
3148         * cursor.[Ch]:
3149         * cursor_slice.[Ch]:
3150         * factory.C:
3151         * iterators.C:
3152         * lyx_cb.C:
3153         * lyxfind.C:
3154         * lyxfunc.C:
3155         * lyxtext.h:
3156         * rowpainter.C:
3157         * text.C:
3158         * text2.C:
3159         * text3.C:
3160         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3161           LCursor and mathcursor parts to LCursor and InsetBase.
3162
3163 2004-01-15  André Pönitz  <poenitz@gmx.net>
3164
3165         * cursor_slice.[Ch]: add a few covienience functions
3166
3167         * funcrequest.[Ch]: remove BufferView * member
3168
3169         * BufferView_pimpl.C:
3170         * cursor.C:
3171         * factory.[Ch]:
3172         * lyxfind.[Ch]:
3173         * lyxfunc.C:
3174         * lyxtext.h:
3175         * text3.C:
3176         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3177
3178 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3181         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3182
3183 2004-01-13  André Pönitz  <poenitz@gmx.net>
3184
3185         * textcursor.[Ch]:
3186         * lyxtext.h: hide cursor and selection anchor behind accessor function
3187
3188         * BufferView.C:
3189         * BufferView_pimpl.[Ch]:
3190         * PosIterator.C:
3191         * bufferview_funcs.C:
3192         * cursor.h:
3193         * lyxfind.C:
3194         * lyxfunc.C:
3195         * text.C:
3196         * text2.C:
3197         * text3.C:
3198         * undo.C: adjust
3199
3200         * cursor.h:
3201         * cursor_slice.[Ch]: some integer type changes for inset unification
3202
3203         * lyxcursor.[hC]: remove, it's CursorSlice now.
3204
3205         * Makefile.am:
3206         * BufferView_pimpl.[Ch]:
3207         * bufferview_funcs.C:
3208         * cursor_slice.C:
3209         * lyxtext.h:
3210         * text.C:
3211         * text2.C:
3212         * text3.C:
3213         * textcursor.[Ch]: adjust
3214
3215 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3216
3217         * text2.C (undoSpan): add and use
3218         * text.C (breakParagraph): use undoSpan (fix bug 578)
3219         * lyxtext.h: adjust
3220
3221 2004-01-08  Angus Leeming  <leeming@lyx.org>
3222
3223         * BufferView_pimpl.C (MenuInsertLyXFile):
3224         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3225         * lyxfunc.C (menuNew, open, doImport):
3226         FileFilterList change to the FileDialog open and save functions.
3227
3228 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3229
3230         * ShareContainer.h: make isEqual and isUnique adaptable
3231
3232         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3233
3234 2004-01-07  Angus Leeming  <leeming@lyx.org>
3235
3236         * LyXAction.C:
3237         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3238
3239         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3240
3241         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3242         functions replacing find, replace and replaceAll.
3243
3244         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3245         LFUN_WORDFIND(FORWARD|BACKWARD).
3246
3247 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3248
3249         * text.C (breakParagraph): remove an outdated #warning
3250
3251 2004-01-07  André Pönitz  <poenitz@gmx.net>
3252
3253         * lyxfind.C: somewhat clearer logic
3254
3255         * text.C: prevent crash in cursorX on unitialized row cache
3256
3257 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * lyxcursor.[Ch] (operator>): add
3260         * textcursor.C (selStart, selEnd): use std::min and std::max
3261
3262 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3263
3264         * Chktex.C: include boost/format.hpp
3265
3266 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3267
3268         * InsetList.C: replace functor MathcIt with adaptable functor
3269         InsetTablePosLess
3270         (insetIterator): modify accordingly
3271
3272         * BranchList.h: move the BranchNamesEqual functor here from...
3273         * BranchList.C: ... to here
3274
3275         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3276         SameName and match.
3277         (add): replace a finding loop with std::find_if.
3278
3279 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3280
3281         * output_docbook.C: moving LatexParam functionality into
3282         .layout files
3283
3284 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3285
3286         * buffer.C: increment format to 229.
3287
3288 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3289
3290         * LaTeXFeatures.C:
3291         * lyx_sty.[Ch]: remove minipageindent_def
3292
3293         * LyXAction.C:
3294         * factory.C:
3295         * lfuns.h:
3296         * lyxfunc.C:
3297         * text3.C: remove LFUN_INSET_MINIPAGE
3298
3299 2003-12-28  Angus Leeming  <leeming@lyx.org>
3300
3301         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3302
3303 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * text2.C (setParagraph): fix off-by-one crash
3306
3307 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * output_docbook.C: header stuff for AGU
3310
3311 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * text2.C (redoCursor): remove
3314         * text.C:
3315         * text3.C:
3316         * BufferView_pimpl.C: remove calls to redoCursor and
3317         setCursor(cursor.par(), cursor.pos()) all around
3318
3319 2003-12-15  Angus Leeming  <leeming@lyx.org>
3320
3321         * buffer.C: up the format to 228.
3322
3323 2003-12-15  André Pönitz  <poenitz@gmx.net>
3324
3325         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3326         slices
3327
3328         * Makefile.am:
3329
3330         * BufferView_pimpl.C:
3331         * cursor.[Ch]:
3332         * lyxcursor.[Ch]:
3333         * rowpainter.[Ch]:
3334         * lyxtext.h:
3335         * text.C:
3336         * text2.C:
3337         * text3.C: adjust
3338
3339 2003-12-15  Angus Leeming  <leeming@lyx.org>
3340
3341         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3342         than getFromGUIName to manipulate the color.
3343
3344 2003-12-14  Angus Leeming  <leeming@lyx.org>
3345
3346         * BranchList.[Ch]: minimize the API.
3347         (Branch::getBranch, getColor): now return a 'const &'.
3348         (Branch::setSelected) now returns a bool set to true if the
3349         selection status changes.
3350         (BranchList::clear, size, getColor, setColor, setSelected,
3351         allBranches, allSelected, separator): removed.
3352         (BranchList::find): new functions, returning the Branch with
3353         the given name.
3354         (BranchList::add, remove): return a bool indicating that
3355         the operation was successful.
3356
3357         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3358         new InsetBranch::isBranchSlected member function.
3359
3360         * LColor.[Ch]: mimimize the API.
3361         (fill): renamed as addColor and made private.
3362         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3363         versions of these functions taking a string arg have been removed.
3364
3365         * bufferparams.C (readToken):
3366         * lyxfunc.C (dispatch):
3367         * lyxrc.C (read): changes due to the altered BranchList and
3368         LColor APIs.
3369
3370         * factory.C (createInset, readInset): changes due to altered
3371         InsetBranch c-tor.
3372
3373 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3374
3375         * factory.C:
3376         * lyxfunc.C: remove insetminipage. "minipage-insert"
3377         now produces a frameless minipage box inset.
3378
3379 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * textcursor.[Ch] (selStart,selEnd): add new methods
3382         remove selection::start, end, use LyXCursor::operator<
3383         * lyxcursor.[Ch] (operator<): add
3384         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3385         * BufferView.[Ch] (unsetXSel): add
3386         * text2.C (clearSelection): use unsetXSel,adjust
3387         * text.C: adjust
3388         * text3.C: adjust
3389         * rowpainter.C: adjust
3390         * bufferview_funcs.C (put_selection_at): adjust
3391
3392 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3393
3394         * BufferView_pimpl.C: small coord. correction
3395
3396 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3397
3398         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3399         dragging over the splash screen.
3400
3401 2003-12-11  Angus Leeming  <leeming@lyx.org>
3402
3403         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3404         as it is now handled in LyXText::dispatch.
3405
3406         * text3.C (doInsertInset): remove a level of nesting.
3407
3408 2003-12-11  Angus Leeming  <leeming@lyx.org>
3409
3410         * factory.C (createInset): changes due to the changed interface to
3411         InsetCommandMailer::string2params.
3412
3413 2003-12-10  Angus Leeming  <leeming@lyx.org>
3414
3415         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3416         'dialog-show-new-inset <inset name>'
3417
3418 2003-12-10  Angus Leeming  <leeming@lyx.org>
3419
3420         * buffer.C: up the format to 227.
3421
3422         * factory.C: the box inset is now identified simply by 'Box'.
3423
3424 2003-12-10  Angus Leeming  <leeming@lyx.org>
3425
3426         * buffer.C: up the format to 226.
3427
3428         * factory.C: the note inset is now identified simply by 'Note'.
3429
3430 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3433         when a pit is enough. Standarize a couple of loops.
3434
3435 2003-12-05  Angus Leeming  <leeming@lyx.org>
3436
3437         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3438         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3439         data to the re-worked "log" dialog.
3440
3441 2003-12-03  André Pönitz  <poenitz@gmx.net>
3442
3443         * PosIterator.C:
3444         * iterators.C:
3445         * lyxtext.h:
3446         * output_latex.C:
3447         * paragraph_funcs.C:
3448         * text.C:
3449         * text2.C: use Inset::getText instead of Inset::getParagraph
3450
3451 2003-12-03  André Pönitz  <poenitz@gmx.net>
3452
3453         * buffer.[Ch]:
3454         * lyxtext.h:
3455         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3456         InsetText::read() as LyXText::read()
3457
3458 2003-12-02  Angus Leeming  <leeming@lyx.org>
3459
3460         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3461         type. Add a comment in the implementation that the function uses
3462         the stream's bad() function rather than fail() as the std::streams
3463         would do.
3464
3465 2003-12-02  André Pönitz  <poenitz@gmx.net>
3466
3467         * lyxlex.[Ch]: make interface more similar to std::stream
3468
3469         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3470
3471 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3472
3473         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3474
3475 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3476
3477         * vspace.[Ch]: remove VSpace::NONE
3478
3479 2003-12-01  André Pönitz  <poenitz@gmx.net>
3480
3481         * buffer.[Ch]:
3482         * lyxtext.h: move ParagraphList member to LyXText
3483         rename LyXText::ownerParagraphs to LyXText::paragraph
3484
3485         * CutAndPaste.C:
3486         * bufferview_funcs.C:
3487         * iterators.[Ch]:
3488         * lyx_cb.C:
3489         * paragraph.C:
3490         * rowpainter.C:
3491         * tabular.C:
3492         * text.C:
3493         * text2.C:
3494         * text3.C: adjust
3495
3496         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3497
3498         * undo.C: fix cursor positioning
3499
3500 2003-12-01  John Levon  <levon@movementarian.org>
3501
3502         * BufferView_pimpl.C: fix a crash on exit with
3503         a buffer open
3504
3505 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3506
3507         * BranchList.C: fix setSelected() method.
3508
3509 2003-11-28  André Pönitz  <poenitz@gmx.net>
3510
3511         * ParagraphParameters.[Ch]:
3512         * ParameterStruct.h: remove space above/below from Paragraph to
3513          InsetVSpace
3514
3515         * BufferView_pimpl.C:
3516         * factory.C:
3517         * lyxfunc.C:
3518         * lyxtext.h:
3519         * output_latex.C:
3520         * paragraph.C:
3521         * paragraph_funcs.C:
3522         * rowpainter.[Ch]:
3523         * text.C:
3524         * text2.C:
3525         * text3.C: adjust
3526
3527 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3528
3529         * factory.C: Syntax change for CharStyles
3530
3531 2003-11-28  André Pönitz  <poenitz@gmx.net>
3532
3533         * BufferView.[Ch]:
3534         * BufferView.[Ch]:
3535         * buffer.[Ch]:
3536         * buffer.[Ch]: move LyXText member
3537
3538 2003-11-28  André Pönitz  <poenitz@gmx.net>
3539
3540         * BufferView.[Ch]: make LyXText * text a private member
3541
3542         * BufferView_pimpl.C:
3543         * cursor.C:
3544         * iterators.C:
3545         * lyx_cb.C:
3546         * lyxfind.C:
3547         * lyxtext.h:
3548         * rowpainter.[Ch]:
3549         * text.C:
3550         * text2.C:
3551         * undo.C: adjust
3552
3553         * output_plaintext.C: cleanup
3554
3555 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3556
3557         * buffer.C:
3558         * lyxtextclass.[Ch]: parametrize SGML document header
3559
3560 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3561
3562         * converter.[Ch]:
3563         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3564         getFlavor().
3565
3566 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3567
3568         * text2.C (setFont): rework using PosIterator (no more recursive)
3569         (setCharFont): no more needed
3570         (setLayout): no more selection cursors fiddling (done by redoCursor)
3571         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3572         destroy remaining ones)
3573
3574 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3575
3576         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3577         * lyxtext.h: ditto
3578         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3579         selection cursors
3580         * lyxfunc.C: adjust
3581         * text3.C: adjust + re-allow multi par depth changes
3582         * textcursor.C: simplify a bit
3583
3584 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3585
3586         * src/buffer.C:
3587         * src/lyxlayout.C:
3588         * src/lyxlayout.h:
3589         * src/lyxtext.h:
3590         * src/output_docbook.C:
3591         * src/output_latex.C:
3592         * src/paragraph.C:
3593         * src/paragraph.h:
3594         * src/sgml.C:
3595         * src/sgml.h:
3596         * src/text2.C: Introducing a number of tags parametrizing various
3597         XML formats that we may want to support
3598
3599 2003-11-25  André Pönitz  <poenitz@gmx.net>
3600
3601         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3602
3603         * lyxtext.h (leftMargin/rightMargin): simplify interface
3604
3605         * rowpainter.C:
3606         * text.C:
3607         * text2.C:
3608         * text3.C: adjust
3609
3610 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3611
3612         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3613         master file to any child files. Fixes bug 546.
3614
3615 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3616
3617         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3618
3619 2003-11-24  André Pönitz  <poenitz@gmx.net>
3620
3621         * rowpainter.C: simplification
3622
3623         * text2.C (updateCounters): remove call to redoParagraph on
3624         changed labels as this is far too expensive.
3625
3626 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3627
3628         * converter.C (convert): fix a crash: this function gets
3629         called with buffer == 0 from importer code.
3630
3631 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3632
3633         * text3.C (cursorPrevious): make sure that we do not compare
3634         iterators form different containers.
3635         (cursorNext): ditto
3636
3637         * rowpainter.C (paintSelection): make sure that we do not compare
3638         iterators from different containers.
3639
3640         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3641         iterators from different ParagraphList containers.
3642         [NEXT] ditto
3643
3644         * text2.C (LyXText): change order of initialization slightly
3645         (operator=): new function. copy all variables except cache_par_
3646         (moveUp): make sure that we do not compare iterators from
3647         different ParagraphList constainers.
3648         (moveDown): ditto
3649
3650         * text.C (firstPar): new function
3651         (lastPar): new function
3652         (endPar): new function
3653
3654         * lyxtext.h: move things around and group public functions, public
3655         variables, private functions, private variables
3656
3657 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3658
3659         * factory.C: change call to InsetERT constructor to avoid
3660         additional invocation of method status
3661         * text2.C (toggleInset): remove redundant update() call
3662         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3663         instead of a Bufferview pointer
3664
3665 2003-11-21  André Pönitz  <poenitz@gmx.net>
3666
3667         * rowpainter.C: simplification
3668
3669 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * text3.C (dispatch): make possible to extend a word/row selection
3672         with the mouse
3673
3674 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * lyxtext.h: x0_,y0_ -> xo_,yo_
3677         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3678         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3679         * rowpainter.C (paintRows): paint full paragraphs
3680
3681 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3682
3683         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3684         screen coordinates)
3685
3686 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * lyxtext.h: add x0_, y0_
3689         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3690         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3691
3692 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3693
3694         * text2.C (setCursorIntern): move the x_target update here *
3695         * text3.C: change some bv() to true/false in calls to
3696         cursorUp/Down/Right/Left
3697         * cursor.C: use helper function.
3698
3699 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3700
3701         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3702         * paragraph_funcs.[Ch]: correct comment
3703         * rowpainter.C: do not paint selections away from bv->cursor()
3704         Fix a long standing selection painting bug.
3705         * text3.C: generalize mouse-selection code to LyXTexts other that
3706         top one
3707         * textcursor.C: do not use y coords if we can use par offsets
3708
3709 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3712         cursor position after e.g. inset insert)
3713
3714 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * lyxfind.C (replace): adjust to locking removal + some
3717         code simplification
3718
3719 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3722         of the path
3723
3724 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3725
3726         * lyxlayout.[Ch]:
3727         * output_docbook.C: XML sanitation: new layout
3728         parameters InnerTag and CommandDepth
3729
3730 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3731
3732         * BufferView_pimpl.C:
3733         * factory.C:
3734         * text3.C: Fix the insertion and modification of button-style
3735         insets
3736
3737 2003-11-13  André Pönitz  <poenitz@gmx.net>
3738
3739         * InsetList.[Ch]: remove deleteLyXText
3740
3741         * paragraph.[Ch]: cache beginOfBody position
3742
3743         * Bidi.C:
3744         * text.C:
3745         * text2.C:
3746         * text3.C: remove superfluous update() calls
3747
3748         * vspace.C: cleanup
3749
3750 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3753         * BufferView.C (fitLockedInsetCursor): remove
3754         * cursor.[Ch] (getDim): add
3755         * text.C (getRowNearY): add faster version
3756         * text3.C: remove some update calls
3757
3758 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3759
3760         * LaTeXFeatures.C:
3761         * LyXAction.C:
3762         * MenuBackend.C:
3763         * MenuBackend.h:
3764         * dispatchresult.h:
3765         * factory.C:
3766         * lfuns.h:
3767         * lyxfunc.C:
3768         * lyxtextclass.C:
3769         * lyxtextclass.h:
3770         * text3.C: The Character Style /XML short element patch.
3771
3772 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3773
3774         * text3.C:
3775         * factory.C: Small step to solving 'unable to insert some insets'
3776         problem
3777
3778 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3779
3780         * cursor.[Ch] (updatePos): new function for updating the y
3781         position of the tip inset
3782         * bufferview_funcs.C (put_selection_at):
3783         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3784
3785 2003-11-11  André Pönitz  <poenitz@gmx.net>
3786
3787         * text.C: remove big comment on invalid Paragraph pointers as it is
3788         not valid anymore
3789
3790 2003-11-11  André Pönitz  <poenitz@gmx.net>
3791
3792         * text_funcs.[Ch]: merge with ...
3793
3794         * text.C: ... this
3795
3796         * lyxtext.h:
3797         * text2.C:
3798         * text3.C: adjust
3799
3800         * Makefile.am: remove text_funcs.[Ch]
3801
3802 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3803
3804         * cursor.C (getPos): return absolute cached y coord
3805
3806         * BufferView_pimpl.C (fitCursor): new simplistic code
3807         (workAreaDispatch): add a fitCursor call
3808
3809 2003-11-10  André Pönitz  <poenitz@gmx.net>
3810
3811         * BufferView.[Ch]:
3812         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3813
3814 2003-11-10  André Pönitz  <poenitz@gmx.net>
3815
3816         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3817         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3818         indicate that the cursor needs to leave an inset
3819
3820         * lyxtext.h: remove inset locking
3821
3822         * cursor.[Ch]: re-implement functionality provided by inset locking
3823
3824         * BufferView.[Ch]:
3825         * BufferView_pimpl.[Ch]:
3826         * LyXAction.C:
3827         * bufferview_funcs.[Ch]:
3828         * factory.C:
3829         * funcrequest.[Ch]:
3830         * iterators.C:
3831         * lyx_cb.C:
3832         * lyxfind.C:
3833         * lyxfunc.C:
3834         * text.C:
3835         * text2.C:
3836         * text3.C:
3837         * undo.C: adjust
3838
3839 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * PosIterator.[Ch]: replace the stack with a vector, add inset
3842         accesor
3843         * iterators.[C]: adjust
3844
3845 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3846
3847         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3848         replaced
3849         * paragraph_funcs.C (readParToken): put the correct id in the
3850         error item, not the id of the top paragraph
3851
3852 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3855         * bufferview_funcs.C (put_selection_at): use the above
3856
3857 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3858
3859         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3860
3861 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3862
3863         * output_linuxdoc.h:
3864         * output_plaintext.h:
3865         * output.h:
3866         * output_docbook.h: add #include statements
3867
3868 2003-11-05  José Matos  <jamatos@lyx.org>
3869
3870         * output_docbook.[Ch]:
3871         * output_latex.[Ch]:
3872         * output_linuxdoc.[Ch]:
3873         * output_plaintext.[Ch]: New files for output formats.
3874         * output.[Ch]: New file for helper functions.
3875
3876         * buffer.[Ch]:
3877         * paragraph_funcs.[Ch]: output functions moved to new files.
3878
3879         * outputparams.h: rename of latexrunparams.h
3880
3881         * LaTeX.[Ch]:
3882         * buffer.[Ch]:
3883         * bufferlist.[Ch]:
3884         * converter.[Ch]:
3885         * exporter.C:
3886         * paragraph.[Ch]:
3887         * paragraph_funcs.[Ch]:
3888         * paragraph_pimpl.[Ch]:
3889         * tabular.[Ch]: rename ascii to plaintext
3890         and LatexRunParams to OutputParams.
3891
3892 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3893
3894         * iterators.[Ch] (text): require bv argument
3895         * undo.C (recordUndo):
3896         * lyxfunc.C (dispatch):
3897         * bufferview_funcs.C (put_selection_at): adjust
3898
3899 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3900
3901         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3902
3903 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3906         nestings
3907
3908 2003-11-04  André Pönitz  <poenitz@gmx.net>
3909
3910         * cursor.[Ch]: restructure
3911
3912         * BufferView.[Ch]:
3913         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3914
3915         * iterators.[Ch] (asCursor): remove
3916
3917         * lfuns.h: remove LFUN_INSET_EDIT
3918
3919         * lyxfunc.C:
3920         * tabular.C:
3921         * text.C:
3922         * text2.C:
3923         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3924
3925 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * lyxfind.[Ch]: complete overhaul
3928         * BufferView_pimpl.C:
3929         * lyxfunc.C: adjust
3930         * paragraph.[Ch] (insert): add
3931
3932 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3933
3934         * BufferView.[Ch]:
3935         * lyxtext.h:
3936         * text.C: remove dead spellcheck code
3937
3938 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * dispatchresult.h: add a val setter
3941
3942         * cursor.C (dispatch): use a tempvar for data_[i]
3943
3944 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3945
3946         * PosIterator.[Ch]: compile fix
3947
3948 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * text.C (cursorPar): deactivate the cursor cache
3951
3952 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3953
3954         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3955
3956 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * text3.C (dispatch): adjust for new DisptchResult semantics.
3959
3960         * lyxfunc.C (dispatch): handle update when return from
3961         Cursor::dispatch, adjust for new DispatchResult semantics.
3962
3963         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3964         DispatchResult(true) mean to not update. Add class functions for
3965         setting dispatched and update, as well as reading.
3966
3967         * cursor.C (dispatch): don't handle update here
3968
3969 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3972         * trans_mgr.C: adjust
3973
3974         * paragraph_funcs.C (readParToken): exception safety
3975
3976         * lyxvc.h: store the vcs pointer in a scoped_ptr
3977         * lyxvc.C: adjust
3978
3979         * lyxsocket.C (serverCallback): exception safety
3980
3981         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3982
3983         * ispell.C (clone): make it return a auto_ptr
3984
3985         * factory.C (createInset): exception safety
3986         (readInset): exception safety
3987
3988         * bufferlist.C (newBuffer): exception safety
3989
3990         * Thesaurus.C (Thesaurus): use initialization for aik_
3991
3992         * MenuBackend.C (expandToc): exception safety.
3993
3994 2003-11-03  André Pönitz  <poenitz@gmx.net>
3995
3996         * buffer.C:
3997         * buffer.h:
3998         * bufferview_funcs.C: remove getInsetFromId()
3999
4000         * lyxcursor.[Ch]:
4001         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4002
4003         * lyxfunc.C:
4004         * text2.C:
4005         * text3.C: adjust
4006
4007 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * PosIterator.C (distance, advance): new
4010         * bufferview_funcs.[Ch] (put_selection_at): new
4011         * iterators.[Ch] (lockPath): new
4012
4013 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * iterators.[Ch] (asPosIterator): added
4016         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4017         * PosIterator.[Ch]: added
4018
4019 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * text3.C:
4022         * lyxfunc.C:
4023         * cursor.C (dispatch):
4024         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4025
4026         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4027         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4028         contructor, add a class function dispatched. Remove operator>=
4029
4030 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4031
4032         * debug.C: only use the default constructor for debugstream
4033         (lyxerr) here.
4034
4035         * main.C (main): include debug.h and setup the lyxerr streambuf
4036         here.
4037
4038 2003-10-31  José Matos  <jamatos@lyx.org>
4039
4040         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4041
4042         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4043         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4044         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4045         * paragraph_pimpl.C (simpleTeXSpecialC):
4046         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4047         add LatexRunParams argument.
4048
4049         * exporter.C (Export): change call accordingly.
4050
4051         * latexrunparams.h: add new member to take care of the other backends.
4052 2003-10-30  José Matos  <jamatos@lyx.org>
4053
4054         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4055         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4056         factorise code for paragraph output.
4057         * buffer.[Ch]:
4058         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4059         move functions.
4060
4061 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * text3.C (dispatch):
4064         * lyxfunc.C (dispatch):
4065         * cursor.C (dispatch):
4066         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4067
4068         * dispatchresult.h: make the dispatch_result_t ctor explicit
4069
4070 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4071
4072         * sgml.[Ch]:
4073         * buffer.C: small refactoring of docbook stuff
4074
4075 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4078         meaning.
4079
4080 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4083         operator dispatch_result_t, and operators for == != and >=
4084
4085         * cursor.C (dispatch): adjust for operator dispatch_result_t
4086         removal. comment out call to update
4087
4088         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4089
4090 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * text3.C:
4093         * text2.C:
4094         * text.C:
4095         * lyxtext.h:
4096         * lyxfunc.C:
4097         * cursor.C:
4098         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4099         (dispatch):
4100
4101         * dispatchresult.h: new file, DispatchResult broken out of
4102         insets/insetbase.h
4103
4104         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4105
4106 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * text.C (rowBreakPoint): put a hack inside #if 0
4109
4110 2003-10-28  André Pönitz  <poenitz@gmx.net>
4111
4112         * lyxtext.h:
4113         * metricsinfo.C:
4114         * paragraph_funcs.C:
4115         * rowpainter.C:
4116         * text.C:
4117         * text2.C: general cleanup (lots of small stuff)
4118
4119 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * text2.C (cursorEnd): simple fix to the "end key goes to one
4122         before the end on last row" bug
4123
4124 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * text.C (backspace): fix the "zombie characters"
4127
4128 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4131
4132 2003-10-27  André Pönitz  <poenitz@gmx.net>
4133
4134         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4135
4136         * factory.C: handle new InsetPagebreak, InsetLine
4137
4138         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4139         and move handling into new InsetPagebreak, InsetLine
4140
4141         * BufferView_pimpl.C:
4142         * LyXAction.C:
4143         * ParagraphParameters.C:
4144         * ParameterStruct.h:
4145         * lyxfunc.C:
4146         * lyxtext.h:
4147         * paragraph.C:
4148         * paragraph.h:
4149         * paragraph_funcs.C:
4150         * paragraph_pimpl.C:
4151         * rowpainter.C:
4152         * text.C:
4153         * text2.C:
4154         * text3.C: adjust
4155
4156 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4157
4158         * text.C:
4159         * lyxrow_funcs.[Ch]:
4160         * Bidi.C:
4161         * paragraph.C:
4162         * lyxtext.h:
4163         * rowpainter.C:
4164         * text2.C:
4165         * text3.C: remove lastPos uses in favour of Row::endpos
4166
4167 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * undo.C (performUndoOrRedo): fix two crashes by setting a
4170         cursor by hand and reordering some calls. Use bv->lockInset instead
4171         of inset->edit because the latter loses cursor information
4172
4173 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4176         by Martin
4177         (rowBreakPoint): fix width. change point to point + 1.
4178         Add a missing check.
4179
4180 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4181
4182         * MenuBackend.C:
4183         * lyxfunc.C: fix (at least partly) the problems
4184         with the Nav menu and headers inside branch insets
4185         reported by Kayvan
4186
4187 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * paragraph.C (getChar): add strong asserts
4190
4191         * lyxrow_funcs.C (lastPos): remove hideous hack
4192
4193         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4194         (fill): adjust to that (avoid an infinite loop)
4195
4196 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4197
4198         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4199
4200 2003-10-23  André Pönitz  <poenitz@gmx.net>
4201
4202         * RowList_fwd.h: change list<> to vector<> to gain speed
4203         after suggestion from Alfredo
4204
4205 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4206
4207         * lyxtext.h: move the bidi stuff from here...
4208         * text.C: and here
4209         * text2.C: and here
4210         * Bidi.[Ch]: ... to here
4211
4212 2003-10-23  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxtext.h:
4215         * text.C (isLastRow, isFirstRow): new functions
4216
4217         * paragraph.h: new width cache member
4218
4219         * rowpainter.C: replace RowList::iterator with Row & where possible
4220
4221         * lyxfunc.C: replace several view()->text with a single call
4222
4223         * toc.C: fix 'unused' warning
4224
4225 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4228         when woring with stream::pos_type
4229         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4230
4231 2003-10-22  André Pönitz  <poenitz@gmx.net>
4232
4233         * lyxtext.h:
4234         * text.C: use Row & instead of RowList::iterator
4235
4236         * lyxrow.h: rename end() to endpos()
4237
4238         * rowpainter.C:
4239         * text.C:
4240         * text2.C: adjust
4241
4242 2003-10-22  Angus Leeming  <leeming@lyx.org>
4243
4244         * buffer.[Ch] (fully_loaded): new member function, returning true
4245         only when the file has been loaded fully.
4246         Used to prevent the premature generation of previews and by the
4247         citation inset to prevent computation of the natbib-style label.
4248
4249         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4250         templates are all set up.
4251
4252         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4253
4254 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * text.C: fixed an "oops" in the "is a bit silly"
4257         bug fix
4258
4259 2003-10-21  André Pönitz  <poenitz@gmx.net>
4260
4261         * FuncStatus.[Ch]: small stuff, whitespace
4262
4263         * lyxfont.[Ch]: operator<<() for debug reasons
4264
4265         * lyxfunc.C:
4266         * lyxrow_funcs.C:
4267         * lyxtext.h: whitespace, spelling
4268
4269         * paragraph.C: naming of variables
4270
4271         * text.C:
4272         * text2.C: small stuff
4273
4274
4275 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4276
4277         * text.C: (1) finish off the inset display() work;
4278         (2) fix the "is a bit silly" bug (accessing char
4279         past end of par).
4280
4281 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * text.C: re-introduce display() for insets, fixing the
4284         various bugs (stretch of line above, math inset
4285         positioning, ...)
4286
4287 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4288
4289         * text.C (rightMargin): remove spurious semicolon
4290
4291         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4292         1415)
4293
4294 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * text3.C: fix one crash due to wrong cursor def
4297
4298 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * vc-backend.C (scanMaster): make the regex static
4301
4302         * LaTeX.C (scanAuxFile): make the regexs static
4303
4304         * text3.C (doInsertInset, dispatch, dispatch):
4305         * text2.C (cursorUp, cursorDown):
4306         * text.C (selectNextWordToSpellcheck):
4307         * BufferView_pimpl.C (dispatch):
4308         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4309
4310 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4311
4312         * lyxsocket.C: include <cerrno>
4313
4314 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * lyxfunc.C (dispatch): remove textcache stuff
4317
4318         * bufferlist.C (release): remove textcache stuff
4319         (closeAll): ditto
4320
4321         * TextCache.C: delete file
4322         * TextCache.h: delete file
4323
4324         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4325
4326         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4327         delete of the bv_->text.
4328         (resizeCurrentBuffer): remove texcache stuff
4329         (workAreaResize): ditto
4330
4331 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4334         action.
4335
4336 2003-10-16  André Pönitz  <poenitz@gmx.net>
4337
4338         * lyxrow.[Ch]:
4339         * paragraph.h:
4340         * rowpainter.C:
4341         * text.C:
4342         * text2.C:
4343         * text3.C: speed up by storing y positions per paragraph plus per-row
4344         offset instead of having a 'full' y position in the row.
4345
4346 2003-10-15  André Pönitz  <poenitz@gmx.net>
4347
4348         * iterators.[Ch]:
4349         * iterators.[Ch]:
4350         * undo.[Ch]: make undo aware of inner insets
4351
4352 2003-10-14  Angus Leeming  <leeming@lyx.org>
4353
4354         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4355         static member functions LyX::ref() and LyX::cref.
4356         (lastfiles): new accessor functions for the new lastfiles_ member var.
4357         (addLyXView, views_): add a new LyXView to the list of views_.
4358         (updateInset): loop over all LyXViews to call their own updateInset
4359         member function, returning a pointer to the Buffer owning the inset.
4360
4361         * BufferView_pimpl.C (loadLyXFile):
4362         * MenuBackend.C (expandLastfiles):
4363         * bufferlist.C (MenuWrite, QuitLyX):
4364         lastfiles is no longer a global variable.
4365         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4366
4367         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4368         static function. Access through LyX::cref().emergencyCleanup().
4369
4370 2003-10-14  André Pönitz  <poenitz@gmx.net>
4371
4372         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4373
4374         * undo.[Ch]: restoring part of 'undo in insets'
4375
4376         * Makefile.am:
4377         * undo_funcs.[Ch]: merge with undo.[Ch]
4378
4379         * tabular.C: small cleansing stuff
4380
4381 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * paragraph_funcs.C (readParToken): report unknown insets as error
4384         boxes. Use the outer paragraph as location (also for unknown
4385         tokens).
4386
4387         * factory.C (readInset): do not abort on reading an unknown inset.
4388         Eat it and return 0.
4389
4390 2003-10-13  Angus Leeming  <leeming@lyx.org>
4391
4392         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4393
4394         * lyxrc.C: displayTranslator is now a function,
4395         declared in GraphicsTypes.h.
4396
4397 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4398
4399         * format.C: new placeholder $$a to pass the socket address.
4400
4401         * bufferlist.[Ch]: new function getBufferFromTmp.
4402
4403         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4404           files in the temporary dir.
4405
4406 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4407
4408         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4409
4410         * Makefile.am: add lyxsocket.[Ch].
4411
4412         * lyx_main.C (error_handler): handle SIGPIPE.
4413
4414 2003-10-13  André Pönitz  <poenitz@gmx.net>
4415
4416         * BufferView_pimpl.C:
4417         * lyxtext.h:
4418         * text.C:
4419         * text2.C:
4420         * text3.C:
4421         * undo_funcs.[Ch]: use paroffset_type instead of
4422           ParagraphList::iterators to prevent multiple conversion
4423           (and get a more robust interface)
4424
4425 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4428         * lyxtext.h: ditto
4429         * text3.C (dispatch): ditto
4430
4431 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4434         move the onlyfile, use onlyfile instead of foundfile in a couple
4435         of places.
4436
4437         * DepTable.C (update): flush the error stream a bit more
4438
4439 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * lyxserver.C (callback): adjust
4442
4443         * lyxfunc.C (getStatus): add a missing brace in commented code
4444         (ensureBufferClean): reindent
4445         (dispatch): delete version taking a string
4446
4447 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * LaTeX.C (deplog): move found file handlig from here...
4450         (handleFoundFile): .. to new function here.
4451         (deplog): make sure to discover several files mentioned on the
4452         same log line.
4453
4454 2003-10-10  André Pönitz  <poenitz@gmx.net>
4455
4456         * lyxfunc.C:
4457         * lyxtext.h:
4458         * tabular.C:
4459         * text.C:
4460         * text2.C:
4461         * text3.C: fix some of the tabular crashes
4462
4463 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4464
4465         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4466
4467         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4468
4469 2003-10-09  André Pönitz  <poenitz@gmx.net>
4470
4471         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4472
4473         * BufferView.C:
4474         * BufferView_pimpl.C:
4475         * bufferview_funcs.C:
4476         * lyx_cb.C:
4477         * lyxcursor.C:
4478         * lyxfind.C:
4479         * lyxfunc.C:
4480         * lyxtext.h:
4481         * text.C:
4482         * text2.C:
4483         * text3.C:
4484         * text_funcs.[Ch]:
4485         * textcursor.[Ch]:
4486         * undo_funcs.C: adjust
4487
4488 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * text2.C (incrementItemDepth): new function, use a backtracking
4491         algorithm to discover the correct item depth.
4492         (resetEnumCounterIfNeeded): new function, use a backtracking
4493         algorithm to discover if counter reset is needed.
4494         (setCounter): use them. Simplify a bit. Add different labels for
4495         different item depths for itemize.
4496
4497         * paragraph.C (Paragraph): remove initialization of enumdepth
4498         (operator=): ditto
4499
4500         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4501         enumerate and itemize. Change the type of itemdepth to signed char.
4502
4503 2003-10-08  André Pönitz  <poenitz@gmx.net>
4504
4505         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4506           thing assignable.
4507         * text.C:
4508         * text2.C: adjust
4509
4510         * tabular.[Ch]: fix crash after 'row-insert'
4511
4512 2003-10-08  Angus Leeming  <leeming@lyx.org>
4513
4514         Fix doxygen warnings.
4515
4516         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4517         Remove CutAndPaste:: prefix from header file declaration.
4518
4519         * LColor.h (fill): remove LColor:: prefix from declaration.
4520
4521         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4522         use lyx::depth_type rather than Paragraph::depth_type so that
4523         header file and .C file match.
4524
4525         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4526
4527         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4528         * aspell.C: \file aspell_local.C -> \file aspell.C
4529         * gettext.C: \file gettext.C -> \file src/gettext.C
4530         * gettext.h: \file gettext.h -> \file src/gettext.h
4531         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4532         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4533         * text.C: \file text.C -> \file src/text.C
4534
4535         * toc.C: move comment so that doxygen is not confused.
4536
4537 2003-10-07  Angus Leeming  <leeming@lyx.org>
4538
4539         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4540
4541 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4542
4543         * aspell.C:
4544         * aspell_local.h: add forgotten std::string's.
4545
4546 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4547
4548         * LaTeXFeatures.C:
4549         * LyXAction.C:
4550         * factory.C:
4551         * lfuns.h:
4552         * lyxfunc.C:
4553         * text3.C: The Box patch. Fancybox support, minipage, parbox
4554
4555 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4556
4557         * CutAndPaste.h:
4558         * DepTable.h:
4559         * FloatList.h:
4560         * LaTeXFeatures.h:
4561         * ParagraphParameters.h:
4562         * TextCache.h:
4563         * Thesaurus.h:
4564         * bufferlist.h:
4565         * exporter.h:
4566         * importer.h:
4567         * lastfiles.h:
4568         * lyxfind.h:
4569         * lyxfont.h:
4570         * lyxlex.h:
4571         * lyxtextclasslist.h:
4572         * messages.h:
4573         * paragraph.h:
4574         * paragraph_pimpl.C:
4575         * textcursor.h: add <string> and other small fixes to make Lars'
4576         std::string patch compile with STLport.
4577
4578 2003-10-06  Angus Leeming  <leeming@lyx.org>
4579
4580         * LColor.h: Add missing #include <string>.
4581
4582 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * All most all file in all subdirs: Make <string> be the prefered
4585         way of getting to std::string, add using declarations.
4586
4587 2003-10-06  André Pönitz  <poenitz@gmx.net>
4588
4589         * metricsinfo.C: initialize LyXFont before changing attribute.
4590         (fixes the 'math in \emph is upright' bug)
4591
4592 2003-10-06  André Pönitz  <poenitz@gmx.net>
4593
4594         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4595
4596 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4597
4598         * graph.C:
4599         * paragraph_pimpl.C: Small fixes to build using STLport
4600
4601 2003-10-02  André Pönitz  <poenitz@gmx.net>
4602
4603         * lyxfunc.C:
4604         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4605
4606 2003-10-01  André Pönitz  <poenitz@gmx.net>
4607
4608         * factory.C: assert early
4609
4610 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * lyx_main.C: remove the global debug object
4613
4614         * debug.h: adjust for new debugstream
4615
4616         * debug.C: adjust for new debugstream and keep the global debug
4617         object here.
4618
4619 2003-09-22  Angus Leeming  <leeming@lyx.org>
4620
4621         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4622         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4623         an incomplete class LyXFont.
4624
4625 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4626
4627         * factory.C: bug fix in branches
4628
4629 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * lyxfunc.C (processKeySym): adjust
4632         (dispatch): adjust
4633         (dispatch): change arg name from ev to func, adjust
4634         (sendDispatchMessage): ditto
4635
4636         * lyx_main.C (defaultKeyBindings): adjust keybindings
4637         (deadKeyBindings): ditto
4638
4639         * kbsequence.C (addkey): return a FuncRequest
4640
4641         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4642
4643         * kbmap.C (bind): take a FuncRequest as arg, adjust
4644         (read): adjust
4645         (lookup): adjust
4646         (defkey): change to take a FuncRequest as arg, adjust
4647         (findbinding): take a FuncRequest as arg, adjust.
4648
4649         * funcrequest.h (operator=): added
4650
4651         * funcrequest.C (FuncRequest): default kb_action changed from
4652         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4653
4654         * buffer.C (dispatch): simplify
4655         (dispatch): adjust to take a FuncRequest as arg, adjust
4656
4657         * boost.C (assertion_failed): change assertion message slightly
4658
4659         * ToolbarBackend.C (read): simplify
4660
4661         * MenuBackend.C (binding): adjust call to findbinding, add a
4662         message if no binding is found.
4663         (read): simplify
4664         (expandToc): correct by adding a empty FuncRequest
4665
4666         * LyXAction.C: include <boost/assert.hpp>
4667         (isPseudoAction): delete function
4668         (LookupFunc): change name to...
4669         (lookupFunc): this. change return type to FuncRequest.
4670         (getActionName): take kb_action as arg, simplify
4671         (funcHasFlag): add an assert, simplify.
4672
4673 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * toc.C (action): return a FuncRequest, simplify
4676
4677         * lyxfunc.C (processKeySym): adjust
4678         (getStatus): delete version that takes an int.
4679         (getStatus): adjust
4680         (dispatch): delete version that takes action as int
4681         (dispatch): adjust
4682         (sendDispatchMessage): simplify and adjust
4683
4684         * funcrequest.C (getArg): take unsigned int as arg
4685
4686         * ToolbarBackend.C (read): adjust
4687         (add): delete version that takes func as a string.
4688         (getIton): take a FuncRequest as arg
4689
4690         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4691         action.
4692
4693         * MenuBackend.C (MenuItem): add a new construct that only takes a
4694         Kind, simplify the constructor use for submenus.
4695         (add): adjust
4696         (expandLastfiles): adjust
4697         (expandDocuments): adjust
4698         (expandFormats): adjust
4699         (expandFloatListInsert): adjust
4700         (expandFloatInsert): adjust
4701         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4702
4703         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4704         Remove class variables lyx_pseudo_map and lyx_arg_map
4705
4706         * LyXAction.C (searchActionArg): delete function
4707         (getPseudoAction): delete function
4708         (retrieveActionArg): delete function
4709         (LookupFunc): make it return kb_action, simplify.
4710         (getActionName): simplify
4711
4712         * factory.C (createInset): fix new bug
4713
4714 2003-09-19  Angus Leeming  <leeming@lyx.org>
4715
4716         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4717         masterFilename_ parameter in the include inset.
4718
4719         * factory.C (createInset): changes due to the changes to InsetInclude.
4720
4721 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4722
4723         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4724
4725 2003-09-18  Angus Leeming  <leeming@lyx.org>
4726
4727         * buffer.C:
4728         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4729         Inset::fillWithBibKeys.
4730         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4731
4732 2003-09-18  Angus Leeming  <leeming@lyx.org>
4733
4734         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4735         variables.
4736         (ctor): pass and store a 'Buffer const &'
4737         (buffer): new member function.
4738
4739         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4740         '*this' to the LaTeXFeatures ctor.
4741
4742 2003-09-18  Angus Leeming  <leeming@lyx.org>
4743
4744         * LColor.h:
4745         * lyxfont.C:
4746         * lyxfont.h:
4747         * lyxtext.h:
4748         * text.C: rename EnumLColor as LColor_color.
4749
4750 2003-09-18  Angus Leeming  <leeming@lyx.org>
4751
4752         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4753         remove #include "insets/insetbase.h" from cursor.h.
4754
4755 2003-09-18  Angus Leeming  <leeming@lyx.org>
4756
4757         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4758         InsetOld_code to remove #include "inset.h".
4759
4760         * iterators.C: add #include "insets/inset.h"
4761
4762 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * BufferView.C: remove more locking stuff that apparently doesn't
4765         do anything sensible.
4766
4767 2003-09-16  André Pönitz  <poenitz@gmx.net>
4768
4769         * paragraph.[Ch]:
4770         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4771           performance boost.
4772
4773 2003-09-16  Angus Leeming  <leeming@lyx.org>
4774
4775         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4776
4777         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4778         arg/return type.
4779
4780         * paragraph.h: remove #include "lyxfont.h". Forward declare
4781         LyXFont_size.
4782
4783 2003-09-16  Angus Leeming  <leeming@lyx.org>
4784
4785         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4786         of support/textutils.h.
4787         (isWord): move the contents of support/textutils.h's IsWordChar here.
4788
4789         * buffer.C:
4790         * lyxfind.C:
4791         * rowpainter.C:
4792         * text.C:
4793         * text2.C: add #include "paragraph.h".
4794
4795         * rowpainter.C:
4796         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4797
4798 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * main.C:
4801         * lyx_main.C:
4802         * lyx_cb.C:
4803         * buffer.C:
4804         * LaTeX.C: use namespace alias for lyx::support::os
4805
4806 2003-09-16  Angus Leeming  <leeming@lyx.org>
4807
4808         * bufferparams.C:
4809         * bufferview_funcs.C:
4810         * factory.C:
4811         * lyxfunc.C:
4812         * paragraph_pimpl.C:
4813         * rowpainter.C:
4814         * text.C: add #include "LColor.h".
4815
4816 2003-09-16  Angus Leeming  <leeming@lyx.org>
4817
4818         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4819         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4820         return LyXFont &.
4821         Store the FontBits::color variable as an int rather than as an
4822         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4823         file.
4824
4825         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4826         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4827         string calls together.
4828
4829         * lyxrc.C: add #include "LColor.h".
4830
4831 2003-09-15  Angus Leeming  <leeming@lyx.org>
4832
4833         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4834         a cow_ptr.
4835
4836 2003-09-15  Angus Leeming  <leeming@lyx.org>
4837
4838         * LColor.h: add an EnumLColor wrapper for LColor::color.
4839
4840         * lyxfont.[Ch] (color, setColor, realColor):
4841         * lyxtext.h, text.C (backgroundColor):
4842         pass EnumLColor args to/from the functions, rather than LColor::color
4843         ones.
4844
4845         * lyxfont.h:
4846         * lyxtext.h: forward declare EnumLColor.
4847
4848         * lyx_main.C: add #include "LColor.h".
4849
4850 2003-09-15  Angus Leeming  <leeming@lyx.org>
4851
4852         * .cvsignore: add lyx-gtk.
4853
4854 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * Chktex.C
4857         * LaTeX.C
4858         * LaTeXFeatures.C
4859         * ParagraphParameters.C
4860         * Spacing.C
4861         * buffer.C
4862         * bufferparams.C
4863         * bufferview_funcs.C
4864         * chset.C
4865         * counters.C
4866         * funcrequest.C
4867         * lyxfont.C
4868         * lyxgluelength.C
4869         * lyxlength.C
4870         * paragraph.C
4871         * paragraph_funcs.C
4872         * text3.C
4873         * vc-backend.C: remove usage of STRCONV
4874
4875 2003-09-15  Angus Leeming  <leeming@lyx.org>
4876
4877         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4878         explicitly define the color passed to the painter.
4879
4880 2003-09-15  Angus Leeming  <leeming@lyx.org>
4881
4882         * bufferparams.C (BufferParams): reorder member initializers to avoid
4883         compiler warning.
4884
4885 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4888         * text.C (updateRowPositions): remove an unusual nop
4889
4890 2003-09-12  André Pönitz  <poenitz@gmx.net>
4891
4892         * BufferView_pimpl.C:
4893         * Bullet.C:
4894         * layout.h:
4895         * lyxfunc.C:
4896         * lyxlayout.[Ch]:
4897         * lyxtextclass.C:
4898         * rowpainter.C:
4899         * text.C:
4900         * text2.C:
4901         * Counters.[Ch]: finish the 'automatic counters' job
4902
4903 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4904
4905         * aspell.C: include <boost/assert.cpp> (compile fix)
4906
4907 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4908
4909         * boost.C (assertion_failed): use lyx::support::abort instead of
4910         assert.
4911
4912 2003-09-10  Angus Leeming  <leeming@lyx.org>
4913
4914         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4915         with their _fwd progeny.
4916
4917 2003-09-09  Angus Leeming  <leeming@lyx.org>
4918
4919         134 files throughtout the source tree: replace 'using namespace abc;'
4920         directives with the appropriate 'using abc::xyz;' declarations.
4921
4922 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4923
4924         * boost.C (emergencyCleanup): moved here from LAssert.c
4925         (assertion_failed): new function, called by BOOST_ASSERT
4926
4927         * several files: change Assert to BOOST_ASSERT
4928
4929 2003-09-09  Angus Leeming  <leeming@lyx.org>
4930
4931         * buffer.[Ch]: Add an Impl class and move Buffer's member
4932         variables into it. As a result move several header files out of
4933         buffer.h.
4934
4935         Add header files to lots of .C files all over the tree as a result.
4936
4937 2003-09-09  Angus Leeming  <leeming@lyx.org>
4938
4939         * buffer.[Ch]: make Buffer's member variables private. Add
4940         accessor functions.
4941
4942         Lots of changes all over the tree as a result.
4943
4944 2003-09-08  Angus Leeming  <leeming@lyx.org>
4945
4946         * graph.C: #include <config.h>.
4947
4948 2003-09-08  Angus Leeming  <leeming@lyx.org>
4949
4950         * BranchList.C:
4951         * BufferView.C:
4952         * BufferView_pimpl.C:
4953         * CutAndPaste.C:
4954         * DepTable.C:
4955         * LaTeX.C:
4956         * LaTeXFeatures.C:
4957         * LyXAction.C:
4958         * MenuBackend.C:
4959         * TextCache.C:
4960         * aspell.C:
4961         * buffer.C:
4962         * bufferlist.C:
4963         * changes.C:
4964         * chset.C:
4965         * converter.C:
4966         * counters.C:
4967         * debug.C:
4968         * graph.C:
4969         * ispell.C:
4970         * lyx_cb.C:
4971         * lyxfind.C:
4972         * lyxfunc.C:
4973         * lyxlex_pimpl.C:
4974         * lyxrc.C:
4975         * lyxrow.C:
4976         * paragraph.C:
4977         * rowpainter.C:
4978         * texrow.C:
4979         * text.C:
4980         * text2.C:
4981         * toc.C: remove redundant using directives.
4982
4983 2003-09-07  Angus Leeming  <leeming@lyx.org>
4984
4985         * LaTeXFeatures.h: remove #include "support/types.h".
4986         * ToolbarBackend.h: remove #include <algorithm>.
4987         * changes.h: remove #include <ctime>.
4988         * debug.h: remove #include <iosfwd>.
4989         * graph.h: remove #include "support/std_string.h".
4990         * lyx_main.h: remove #include <csignal>.
4991         * lyxlex_pimpl.h: remove #include <fstream>.
4992         * sgml.h: remove #include <algorithm>, <utility>.
4993         * toc.h: remove #include "support/std_ostream.h".
4994         Add #include <iosfwd>.
4995
4996 2003-09-07  Angus Leeming  <leeming@lyx.org>
4997
4998         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4999
5000         * converter.h: forward declare LatexRunParams.
5001         * encoding.h: remove #include "lyxrc.h".
5002         * lyxtext.h: remove #include "LColor.h".
5003         * lyxtextclass.h: remove #include "support/types.h".
5004         * trans.h: remove #include "tex-accent.h".
5005         * trans_mgr.h: remove #include "tex-accent.h".
5006         * insets/inset.h: remove #include "support/types.h", <vector>.
5007         * insets/insetcollapsable.h: remove #include "LColor.h".
5008         * insets/insetinclude.h: remove #include "dimension.h".
5009         * insets/insetlatexaccent.h: remove #include "dimension.h".
5010         * insets/insetoptarg.h:: remove #include "insettext.h".
5011         * insets/insettext.h: remove #include "dimension.h",
5012         <boost/shared_ptr.hpp>
5013
5014         * insets/renderers.h: add #include "dimension.h".
5015         * insets/updatableinset.h: add #include "support/types.h".
5016
5017         * many .C files: Associated changes.
5018
5019 2003-09-06  Angus Leeming  <leeming@lyx.org>
5020
5021         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5022         one, inside testInvariant.
5023
5024         * PrinterParams.C: new file.
5025         * PrinterParams.[Ch]: move the function bodies out of line.
5026
5027 2003-09-06  Angus Leeming  <leeming@lyx.org>
5028
5029         * ParagraphParameters.h: forward declare ParameterStruct rather than
5030         including its header file.
5031         (depth): moved out-of-line.
5032
5033 2003-09-06  Angus Leeming  <leeming@lyx.org>
5034
5035         * BufferView_pimpl.h:
5036         * kbmap.h:
5037         * kbsequence.h:
5038         * lyxfunc.h: forward declare LyXKeySym rather than
5039         #include "frontends/LyXKeySym.h".
5040
5041         * BufferView_pimpl.C:
5042         * kbmap.C:
5043         * kbsequence.C:
5044         * lyxfunc.C: associated changes.
5045
5046 2003-09-06  Angus Leeming  <leeming@lyx.org>
5047
5048         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5049         As a result, can remove the #include "insets/inset.h" from BufferView.h
5050
5051 2003-09-06  Angus Leeming  <leeming@lyx.org>
5052
5053         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5054         As a result, can remove the #include "insets/inset.h" from BufferView.h
5055
5056 2003-09-06  Angus Leeming  <leeming@lyx.org>
5057
5058         * buffer_funcs.C:
5059         * buffer.h:
5060         * bufferlist.C:
5061         * BufferView.C:
5062         * bufferview_funcs.C:
5063         * BufferView_pimpl.C:
5064         * CutAndPaste.C:
5065         * lyx_cb.C:
5066         * lyxfunc.C:
5067         * paragraph.h:
5068         * ParagraphParameters.C:
5069         * tabular.C:
5070         * text3.C:
5071         * toc.C:
5072         * undo_funcs.C:
5073         * frontends/controllers/ControlDocument.C:
5074         * insets/insetcaption.C: rearrange the #includes into some sort of
5075         coherent order.
5076
5077         * buffer.h: remove #includes ErrorList.h, undo.h
5078
5079 2003-09-06  Angus Leeming  <leeming@lyx.org>
5080
5081         * support/types.h: add a 'depth_type' typedef, used to store the
5082         nesting depth of a paragraph.
5083
5084         * paragraph.h:
5085         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5086         defining explicitly.
5087
5088         * buffer.h:
5089         * paragraph_funcs.h:
5090         * ParagraphParameters.h:
5091         * sgml.h: use lyx::depth_type rather than Paragraph or
5092         ParameterStruct's depth_type.
5093
5094         * buffer.h
5095         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5096
5097         * BufferView.C:
5098         * BufferView_pimpl.C:
5099         * CutAndPaste.C:
5100         * ParagraphParameters.C:
5101         * buffer_funcs.C:
5102         * bufferlist.C:
5103         * bufferview_funcs.C:
5104         * lyx_cb.C:
5105         * lyxfunc.C:
5106         * tabular.C:
5107         * text3.C:
5108         * toc.C:
5109         * undo_funcs.C:
5110         * frontends/LyXView.C:
5111         * frontends/controllers/ControlDocument.C:
5112         * frontends/controllers/ControlErrorList.C:
5113         * insets/insetbibitem.C:
5114         * insets/insetbranch.C:
5115         * insets/insetcaption.C:
5116         * insets/insetcollapsable.C:
5117         * insets/insetenv.C:
5118         * insets/insetert.C:
5119         * insets/insetfloat.C:
5120         * insets/insetfoot.C:
5121         * insets/insetfootlike.C:
5122         * insets/insetnewline.C:
5123         * insets/insetquotes.C:
5124         * insets/insettabular.C:
5125         * insets/insettext.C:
5126         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5127
5128         * frontends/controllers/ControlChanges.C: #include "changes.h".
5129
5130 2003-09-06  Angus Leeming  <leeming@lyx.org>
5131
5132         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5133         than #including paragraph.h.
5134
5135         * ParagraphList.h:
5136         * RowList.h: deleted. Superfluous.
5137
5138         * CutAndPaste.h:
5139         * iterators.h:
5140         * lyxcursor.h:
5141         * lyxtext.h:
5142         * text_funcs.h:
5143         * undo.h:
5144         * undo_funcs.h:
5145         * insets/inset.h:
5146         * insets/insettext.h: use ParagraphList_fwd.h rather than
5147         ParagraphList.h.
5148
5149         * paragraph.h: don't forward declare ParagraphList.
5150
5151         * buffer.h:
5152         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5153         rather than ParagraphList.h. paragraph.h is still needed for the
5154         Paragraph::depth_type parameters.
5155
5156         * textcursor.h: enable it to compile stand-alone in light of the
5157         above changes.
5158
5159         * bufferview_funcs.C:
5160         * iterators.C:
5161         * lyxfunc.C:
5162         * lyxrow_funcs.C:
5163         * paragraph.C:
5164         * rowpainter.C:
5165         * text.C:
5166         * text2.C:
5167         * text3.C:
5168         * text_funcs.C:
5169         * textcursor.C:
5170         * undo.C:
5171         * frontends/controllers/ControlParagraph.C:
5172         * frontends/controllers/ControlTabular.C:
5173         * insets/insetmarginal.C:
5174         * insets/insetminipage.C:
5175         * insets/insetnote.C:
5176         * insets/insetoptarg.C: add header files needed to compile again.
5177
5178 2003-09-06  Angus Leeming  <leeming@lyx.org>
5179
5180         * RowList_fwd.h: new file, forward-declaring Row rather than
5181         #including lyxrow.h.
5182
5183         * lyxrow_funcs.h:
5184         * lyxtext.h:
5185         * paragraph.h:
5186         * insets/insettext.h: use it instead of RowList.h
5187
5188         * bufferview_funcs.C:
5189         * lyxfunc.C:
5190         * lyxrow_funcs.C:
5191         * paragraph.C:
5192         * rowpainter.C:
5193         * text.C:
5194         * text2.C:
5195         * text3.C: #include "RowList.h".
5196
5197 2003-09-05  Angus Leeming  <leeming@lyx.org>
5198
5199         * factory.C (createInset):
5200         * vspace.C (c-tor): replace sscanf call with an istringstream.
5201         * ispell.C: re-add missing HP/UX headers.
5202         * lyxserver.C: re-add missing  os2 headers.
5203
5204 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5205
5206         * BranchList.C:
5207         * graph.C:
5208         * ispell.C:
5209         * lastfiles.C:
5210         * lyx_cb.C:
5211         * lyxserver.C:
5212         * texrow.C:
5213         * text3.C: re-add missing system headers, needed for 2.95.2.
5214
5215 2003-09-05  Angus Leeming  <leeming@lyx.org>
5216
5217         Changes most place everywhere due to the removal of using directives
5218         from support/std_sstream.h.
5219
5220 2003-09-05  Angus Leeming  <leeming@lyx.org>
5221
5222         Replace LString.h with support/std_string.h,
5223         Lsstream.h with support/std_sstream.h,
5224         support/LIstream.h with support/std_istream.h,
5225         support/LOstream.h with support/std_ostream.h.
5226
5227         Changes resulting throughout the tree.
5228
5229 2003-09-05  Angus Leeming  <leeming@lyx.org>
5230
5231         * sgml.h: ensure that the header file can be compiled stand-alone.
5232         * *.C: strip out redundant #includes. (320 in total.)
5233
5234 2003-09-04  Angus Leeming  <leeming@lyx.org>
5235
5236         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5237         here (from getPackages).
5238
5239         * debug.[Ch]: add a new EXTERNAL tag.
5240
5241 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5242
5243         * text2.C (cursorEnd): simplify
5244         (setCursor): adjust
5245         (getColumnNearX): adjust
5246
5247         * text.C (computeBidiTables): adjust
5248         (fill): adjust
5249
5250         * rowpainter.C (paintChars): adjust
5251         (paintSelection): adjust
5252         (paintChangeBar): adjust
5253         (paintText): adjust
5254
5255         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5256         lastPos instead.
5257         (numberOfSeparators): adjust
5258
5259 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5260
5261         * LyXAction.C:
5262         * box.[Ch]:
5263         * lfuns.h:
5264         * lyxfunc.C:
5265         * text3.C: Restricts the mouse click functionality
5266         of insets like bibtex, include, toc and floatlist to the visible
5267         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5268         up the dialogs. Cursor has to be in front of the inset (i.e.
5269         start of row) for this to function.
5270
5271 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5272
5273         * bufferview_funcs.C (currentState): output row information
5274
5275 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5276
5277         * bufferview_funcs.C (currentState): output paragraph position
5278
5279 2003-09-04  Angus Leeming  <leeming@lyx.org>
5280
5281         * FloatList.h: move out #include "Floating.h".
5282         * LaTeX.h: move out #include "DepTable.h".
5283         * LyXAction.h: move out #include "funcrequest.h".
5284         * buffer.h: move out #include "author.h", "iterators.h".
5285         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5286         * lyx_main.h: move out #include "errorlist.h".
5287         * lyxfunc.h: move out #include "FuncStatus.h".
5288         * lyxtext: move out #include "lyxcursor.h".
5289         * paragraph_pimpl.h: move out #include "counters.h".
5290
5291 2003-09-03  Angus Leeming  <leeming@lyx.org>
5292
5293         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5294         preamble_snippets list, enabling us to add snippets to the preamble
5295         only if the snippet was not there already.
5296
5297 2003-09-04  Angus Leeming  <leeming@lyx.org>
5298
5299         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5300
5301 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5304         update
5305
5306 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5307
5308         * BranchList.C: point fix, earlier forgotten
5309
5310 2003-09-02  Angus Leeming  <leeming@lyx.org>
5311
5312         * box.C (contains): renamed from 'contained' after a fantastic
5313         amount of hot air.
5314
5315 2003-09-02  John Levon  <levon@movementarian.org>
5316
5317         * BufferView.C:
5318         * lyxcursor.h:
5319         * lyxcursor.C:
5320         * lyxfunc.C:
5321         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5322
5323 2003-09-02  John Levon  <levon@movementarian.org>
5324
5325         * text2.C: simplification of cursorEnd(), including partial
5326         fix for bug 1376
5327
5328 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * buffer.C (readFile): add a space
5331
5332 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5333
5334         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5335
5336 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * buffer.C (readFile): new function, take a filename and a
5339         ParagraphList::iterator
5340         (readFile): adjust
5341         (readFile): adjust, make it private. don't use setStream, make
5342         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5343         always contain the filename.
5344
5345         * BufferView.C (insertLyXFile): simplify and make it work for
5346         gzipped files.
5347
5348 2003-08-30  John Levon  <levon@movementarian.org>
5349
5350         * Makefile.am: fix dist (from Kayvan)
5351
5352 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * most files: change to use const Buffer refs
5355
5356 2003-08-27  André Pönitz  <poenitz@gmx.net>
5357
5358         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5359         on top of ownerPar().
5360
5361 2003-08-27  John Levon  <levon@movementarian.org>
5362
5363         * funcrequest.C: properly initialise POD members
5364
5365 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5366
5367         * lyxtext.h (top_y): move top_y from here
5368         * text.C:
5369         * text2.C:
5370         * text3.C:
5371         * BufferView.[Ch]:
5372         * BufferView_pimpl.[Ch]: to here
5373         * frontends/screen.C:
5374         * insets/insettabular.C:
5375         * insets/insettext.C: adjust
5376         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5377
5378 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * BufferView.[Ch]:
5381         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5382
5383 2003-08-26  André Pönitz  <poenitz@gmx.net>
5384
5385         * paragraph_func.[Ch] (outerPar): new function
5386
5387         * paragraph.C:
5388         * paragraph_funcs.C:
5389         * paragraph_funcs.h:
5390         * paragraph_pimpl.C:
5391         * text2.C: remove Inset::par_owner
5392
5393 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5394
5395         * lyxrow_funcs.C:
5396         * lyxtext.h:
5397         * text.C:
5398         * text2.C: eliminates the needFullRow/display() stuff
5399         altogether, putting the logic in metrics/draw in the insets.
5400
5401 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * text2.C (redoParagraphInternal, redoParagraphs):
5404         * text.C (redoParagraph): add a call to updateRowPositions at the
5405         end of each 'metrics-like' call. Remove all others.
5406         (getRow): remove the 'y-computing' version.
5407         (getRowNearY): do not compute nor return the real y. Solve the
5408         'y < 0' problem and simplify.
5409
5410 2003-08-22  Angus Leeming  <leeming@lyx.org>
5411
5412         * *.[Ch]: clean-up of licence and author blurbs.
5413         Also move config.h out of a few .h files and into a few .C files.
5414
5415 2003-08-22  André Pönitz  <poenitz@gmx.net>
5416
5417         * lyxrow.[Ch]: add x_ and *fill_ members
5418
5419         * lyxtext.h:
5420         * text.C:
5421         * rowpainter.C:
5422         * text2.C: adjust/remove prepareToPrint() calls
5423
5424 2003-08-22  André Pönitz  <poenitz@gmx.net>
5425
5426         * lyxrow.[Ch]: add  end_ member
5427
5428         * lyxrow_funcs.C: use LyXRow::end_
5429
5430         * lyxtext.h (singleWidth): add LyXFont parameter
5431
5432         * rowpainter.C:
5433         * text2.C: adjust LyXText::singleWidth() calls
5434
5435         * text.C (redoParagraph): simplify row breaking logic
5436
5437
5438 2003-08-19  André Pönitz  <poenitz@gmx.net>
5439
5440         * funcrequest.C: initialize button_ member
5441
5442         * text3.C:
5443         * rowpainter.[Ch]: interface consolidation
5444
5445 2003-08-18  André Pönitz  <poenitz@gmx.net>
5446
5447         * BufferView.C:
5448         * BufferView_pimpl.C:
5449         * lyxfind.C:
5450         * paragraph_funcs.C:
5451         * rowpainter.C:
5452         * text3.C: remove LyXScreen::draw() and fitCursor calls
5453
5454         * BranchList.h: remove spurious semicolons
5455
5456         * MenuBackend.C: fix branchlist related crash
5457
5458 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5459
5460         * BranchList.[Ch]:
5461         * InsetList.[Ch]:
5462         * LColor.[Ch]:
5463         * LyXAction.C:
5464         * Makefile.am:
5465         * MenuBackend.[Ch]:
5466         * bufferparams.[Ch]:
5467         * factory.C:
5468         * lfuns.h:
5469         * lyxfunc.C:
5470         * text3.C: implements the 'branch inset'
5471         idea. This allows the output of various versions of a document
5472         from a single source version, selectively outputing or suppressing
5473         output of parts of the text.
5474         This implementation contains a 'branch list editor' in a separate
5475         tab of the document settings dialog. Branches are user definable
5476         and have a "display colour" to distinguish them on-screen.
5477
5478         ColorHandler was somewhat cleaned up.
5479         (1) make possible a dynamically growing LColor list by allowing
5480         the graphic context cache to grow along (vector);
5481         (2) eliminate an IMHO unnecessary step in colour allocation.
5482
5483 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5484
5485         * BufferView_pimpl.C: compile fix
5486
5487 2003-08-15  André Pönitz  <poenitz@gmx.net>
5488
5489         * rowpainter.C: remove extra metrics calls
5490
5491         * lyxtext.h: merge the two constructors into a single one,
5492           pass reference to owner's par list
5493
5494         * BufferView_pimpl.C:
5495         * text.C:
5496         * text2.C: adjust
5497
5498 2003-08-15  André Pönitz  <poenitz@gmx.net>
5499
5500         * lyxrow_funcs.[Ch]:
5501         * lyxtext.h:
5502         * paragraph.h:
5503         * paragraph_funcs.C:
5504         * rowpainter.C:
5505         * text.C:
5506         * text2.C:
5507         * text3.C:
5508         * text_funcs.C: split LyXText::rowlist_ into individual
5509         Paragraph::rows_ chunks
5510
5511         * BufferView.[Ch]:
5512         * BufferView_pimpl.[Ch]:
5513         * lyxfind.C:
5514         * lyxtext.h:
5515         * text3.C: remove toggleSelection()
5516
5517 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5518
5519         * bufferlist.C: beautify two alerts (shorter text of buttons)
5520         * buffer.C: Remove redundant ' ' from message
5521         * tabular.h:
5522         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5523         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5524         rename VALIGN_CENTER to VALIGN_MIDDLE
5525
5526 2003-08-11  André Pönitz  <poenitz@gmx.net>
5527
5528         * lyxtext.h (getPar):
5529         * text.C: new function
5530
5531 2003-08-11  André Pönitz  <poenitz@gmx.net>
5532
5533         * Makefile.am:
5534         * tracer.[Ch]: remove unneeded files
5535
5536         * InsetList.[Ch]: remove resizeInsetsLyXText()
5537
5538         * lyxtext.h:
5539         * text.C:
5540         * text2.C:
5541         * text3.C: merge insertParagraphs() and appendParagraph()
5542         remove breakAgain(), update()
5543
5544         * BufferView_pimpl.[Ch]:
5545         * bufferview_funcs.[Ch]:
5546         * lyxfunc.C:
5547         * paragraph.[Ch]:
5548         * rowpainter.C:
5549         * tabular.C: adjust after text & InsetList changes.
5550
5551 2003-08-08  André Pönitz  <poenitz@gmx.net>
5552
5553         * text.C (insertChar, backspace): replace rowlist fiddling
5554         with rebreak of full par
5555
5556         * lyxtext.h:
5557         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5558         checkParagraph, updateInset): removed
5559
5560 2003-08-07  André Pönitz  <poenitz@gmx.net>
5561
5562         * paragraph.C:
5563         * text3.C: merge some LFUN handlers, remove dead code
5564
5565 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5566
5567         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5568
5569 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5570
5571         * text2.C (DEPM): fix part of bug 1255 and 1256
5572
5573 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5574
5575         * BufferView_pimpl.C (workAreaDispatch): change to use
5576         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5577         that are no mouse related.
5578
5579 2003-08-05  André Pönitz  <poenitz@gmx.net>
5580
5581         * BufferView.[Ch]:
5582         * BufferView_pimpl.[Ch]:
5583         * bufferview_funcs.C:
5584         * text2.C:
5585         * text3.C: rip out "deep update"
5586
5587         * textcursor.[Ch] (last_sel_cursor): remove unused member
5588
5589 2003-08-04  André Pönitz  <poenitz@gmx.net>
5590
5591         * BufferView.[Ch]:
5592         * BufferView_pimpl.[Ch]:
5593         * ParagraphParameters.C:
5594         * bufferview_funcs.C:
5595         * lyx_cb.C:
5596         * lyxfind.C:
5597         * lyxfunc.C:
5598         * text.C:
5599         * text2.C:
5600         * text3.C: replace "complicated" BufferView::update(...) calls with
5601         simpler ones.
5602
5603         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5604
5605 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5606
5607         * Makefile.am (lyx_SOURCES): add paper.h
5608
5609 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5610
5611         * Makefile.am: move things around so that both lyx-qt and
5612         lyx-xforms can be built (according to --with-frontend). Then lyx
5613         is a symbolic link to lyx-[firstfrontend]
5614
5615 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5616
5617         * Always use std::endl with lyxerr
5618
5619 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5620
5621         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5622
5623 2003-08-01  André Pönitz  <poenitz@gmx.net>
5624
5625         * BufferView.[Ch]:
5626         * BufferView_pimpl.[Ch]:
5627         * lyxfunc.C:
5628         * text3.C: merge BufferView::repaint() and BufferView::update()
5629
5630 2003-08-01  José Matos  <jamatos@lyx.org>
5631
5632         * buffer.[Ch]: file_format is no longer a buffer data element.
5633
5634 2003-08-01  André Pönitz  <poenitz@gmx.net>
5635
5636         * BufferView.C:
5637         * lyxtext.h:
5638         * text.C:
5639         * text2.C: make redoParagraph more independent of current cursor
5640
5641         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5642         * text.C:
5643         * text2.C: remove unneeded members
5644
5645 2003-07-30  André Pönitz  <poenitz@gmx.net>
5646
5647         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5648
5649         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5650           create a single function...
5651
5652         * paragraph_funcs.C (moveItem): ... here.
5653
5654         * text.C:
5655           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5656
5657 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5658
5659         * LColor.[Ch]: Add comment and greyedout logical colors.
5660
5661 2003-07-30  André Pönitz  <poenitz@gmx.net>
5662
5663         * tabular.C: don't use Assert too heavily. This crashes where it
5664           shouldn't
5665
5666 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5669         is disabled (bug 1232)
5670
5671 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5672
5673         * factory.C: limited 'arg' scope
5674
5675 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5676
5677         * factory.C: fixed Note submenu issues
5678
5679 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5680
5681         * factory.C: submenu for Note/Comment/Greyedout
5682
5683 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * lyx_main.C (LyX):
5686         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5687
5688 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5689
5690         * LaTeXFeatures.C:
5691         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5692         greyedout. Patch provided by Jürgen Spitzmüller.
5693
5694 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5695
5696         * kbmap.C (read): fix error message when reading bind files
5697
5698 2003-07-29  Angus Leeming  <leeming@lyx.org>
5699
5700         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5701         certainly does not do what it purports to do. I am doing it, and
5702         us, a favour by killing it.
5703
5704 2003-07-28  José Matos  <jamatos@lyx.org>
5705
5706         * buffer.C (readBody, do_writeFile):
5707         * paragraph.C(readParagraph): \end_document replaces \the_end.
5708
5709 2003-07-29  André Pönitz  <poenitz@gmx.net>
5710
5711         * BufferView.[Ch]:
5712         * BufferView_pimpl.[Ch]:
5713         * lyxfunc.C:
5714         * text2.C:
5715         * text3.C:
5716         * textcursor.[Ch]: remove toggleToggle & Co
5717
5718 2003-07-28  José Matos  <jamatos@fep.up.pt>
5719
5720         * buffer.C (readParagraph):
5721         * params_func (readParToken, readParagraph):
5722         * paragraph.C (write): \layout -> \begin_layout.
5723
5724 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * lyxlex_pimpl.C (setFile): clean up slightly.
5727
5728         * bufferparams.h: add compressed var
5729
5730         * buffer_funcs.C (readFile): adjust for LyXLex change
5731         (newFile): ditto + simplify
5732
5733         * buffer.C (writeFile): handle writing of compressed files
5734
5735         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5736         Check if the file is compressed and set a bufferparm if so.
5737
5738         * Makefile.am (lyx_LDADD): remove explicit -lz
5739
5740 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5741
5742         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5743         makeDocBookFile): put the real LyX version in the first line of
5744         the file
5745
5746         * version.h:
5747         * version.C.in: remove lyx_docversion
5748
5749         * tabular.C (write_attribute): add a template-based version to
5750         write enums properly
5751
5752 2003-07-28  André Pönitz  <poenitz@gmx.net>
5753
5754         * lyxtext.h:
5755         * text.C:
5756         * text2.C:
5757         * text3.C: use doubles again for x-coordinates. They are needed.
5758
5759 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * messages.C (getLocaleDir): use lyx_localedir()
5762
5763         * lyxlex_pimpl.C (setFile): compress stuff
5764
5765         * buffer.C (writeFile): add some compression stuff
5766         (do_writeFile): new func, dont call expliti close... will this
5767         breake anything?
5768
5769         * Makefile.am (lyx_LDADD): add -lz
5770
5771 2003-07-28  José Matos  <jamatos@fep.up.pt>
5772
5773         * buffer.C: increment file format.
5774         * paragraph_funcs (readParagraph, readParToken):
5775         * paragraph.C (readParagraph): add \end_layout.
5776
5777 2003-07-27  Angus Leeming  <leeming@lyx.org>
5778
5779         * Makefile.am: remove special casing for configure-time setting of
5780         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5781
5782         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5783         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5784
5785 2003-07-26  André Pönitz  <poenitz@gmx.net>
5786
5787         * paragraph_func.[Ch]:
5788         * paragraph.C (realizeFont): inline it whereever it is used
5789
5790         * rowpainter.C:
5791         * text.C:
5792         * text2.C:
5793         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5794
5795
5796 2003-07-26  André Pönitz  <poenitz@gmx.net>
5797
5798         *       lyxtext.h:
5799         * text.C:
5800         * text2.C: get rid of LyXText::need_break_row
5801
5802 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * toc.[Ch]: put namespace toc inside namespace lyx
5805
5806         * MenuBackend.C (expandToc2): adjust for lyx::toc
5807         (expandToc): ditto
5808
5809         * lyxfunc.C (dispatch): adjust for lyx::find
5810
5811         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5812         lyx::find instead. Reorganize a bit.
5813         (LyXReplace): rename to replace
5814         (LyXFind): rename to find
5815
5816         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5817         (dispatch): ditto
5818
5819 2003-07-26  André Pönitz  <poenitz@gmx.net>
5820
5821         * text.C (setHeightOfRow): restrict scope of temporary variable
5822
5823         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5824           code (never has been used?)
5825
5826 2003-07-27  Asger Alstrup  <alstrup@local>
5827
5828         * text.C (fill): Optimise algorithm to exploit that we can reuse
5829         the LyXFont for many characters.
5830         (setHeightOfRow): Same thing.
5831         (rowBreakPoint): Same thing.
5832
5833 2003-07-26  Asger Alstrup  <alstrup@local>
5834
5835         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5836
5837         * text.C (singleWidth): Spurious font copying in hot-spot
5838         singleWidth avoided. Reorder tests for arabic for efficiency.
5839
5840         * text.C (fill): handle empty paragraphs better.
5841
5842 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5843
5844         * ispell.C:
5845         * encoding.h: add includes
5846
5847         * lyxrc.C: remove reading of bind files
5848
5849         * lyx_main.C (init): setup bindings and menus only if we have a
5850         gui.
5851
5852         * kbmap.C (read): new method. Do the actual reading of bind
5853         files.
5854
5855         * converter.C (dvipdfm_options):
5856         * bufferparams.C:
5857         * lyxrc.C (read):
5858         (output): adapt PAPER_* enums.
5859
5860         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5861
5862         * bufferparams.h: remove paper-related enums from there
5863
5864         * paper.h: New file. A trivial header file to hold paper-related
5865         enums. It should later expand to contain many paper-related
5866         horrors access.
5867
5868         * lyxrc.C: declare extern displayTranslator
5869
5870 2003-07-27  José Matos  <jamatos@fep.up.pt>
5871
5872         * tabular.[Ch] (linuxdoc): add support for tables and figures
5873         (linuxdoc).
5874
5875 2003-07-27  José Matos  <jamatos@fep.up.pt>
5876
5877         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5878         consistency in both functions.
5879         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5880
5881 2003-07-26  Asger Alstrup  <alstrup@local>
5882
5883         * rowpainter.C (paintRows): Change algorithm to work directly on
5884         the insets rather than asking every character in the document
5885         whether its an inset.
5886
5887 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * buffer.C (openFileWrite): factorize some code
5890
5891 2003-07-26  Angus Leeming  <leeming@lyx.org>
5892
5893         * lyx_cb.C:
5894         * lyx_main.[Ch]: replace occurances of system_tempdir with
5895         os::getTmpDir().
5896
5897 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * rename Inset to InsetOld
5900
5901 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5902
5903         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5904         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5905         which I think is a bit clearer. EDIT is gone, since it was
5906         premature optimisation, and broken for mathed anyway.
5907         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5908         with cursor positioning in insets as well (math insets still do not
5909         work, but that's a different story anyway.) It mysteriously
5910         crashes sometimes with undo in the first paragraph, but I'm fairly
5911         confident that this is a compiler bug.
5912
5913 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * paragraph.C (Paragraph): adjust for new clone return type
5916         (operator==): ditto
5917         (copyIntoMinibuffer): ditto
5918
5919 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5920
5921         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5922         by not having a special case, and always doing a full rebreak of
5923         the document after undo.
5924
5925 2003-07-23  Angus Leeming  <leeming@lyx.org>
5926
5927         * factory.C (createInset): InsetExternal::setParams now takes a
5928         Buffer const * arg.
5929
5930 2003-07-23  Angus Leeming  <leeming@lyx.org>
5931
5932         * factory.C (createInset): changed interface to the external and
5933         graphics mailers' string2params functions.
5934
5935 2003-07-23  Angus Leeming  <leeming@lyx.org>
5936
5937         * factory.C (createInset): pass a
5938         Buffer const * parameter to InsetExternalMailer's string2params.
5939
5940 2003-07-22  John Levon  <levon@movementarian.org>
5941
5942         * Thesaurus.h: include the right aiksaurus header
5943
5944 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5945
5946         * MenuBackend.C (expand): check menu shortcuts unconditionally
5947
5948 2003-07-21  Angus Leeming  <leeming@lyx.org>
5949
5950         * factory.C (createInset): pass a
5951         buffer_path parameter to InsetGraphicsMailer's string2params.
5952
5953 2003-07-21  Angus Leeming  <leeming@lyx.org>
5954
5955         * BufferView_pimpl.C (buffer):
5956         * buffer.C (d-tor):
5957         * lyx_main.C (LyX):
5958         * lyxfunc.C (dispatch):
5959         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5960         rather than the grfx shortcut.
5961
5962 2003-07-21  André Pönitz  <poenitz@gmx.net>
5963
5964         * rowpainter.C: remove unused variables
5965
5966         * tabular_funcs.C:
5967         * tabular_funcs.h: move to tabular.C
5968         * Makefile.am: adjust
5969
5970         * tabular.[Ch]: basic optical cleaning
5971
5972         * author.h: pass references, not values
5973
5974 2003-07-18  André Pönitz  <poenitz@gmx.net>
5975
5976         * lyxtext.h:
5977         * metricsinfo.C:
5978         * metricsinfo.h:
5979         * rowpainter.C:
5980         * text.C:
5981         * text2.C:
5982         * text3.C: two-phase drawing for InsetText and InsetTabular
5983         some float -> int changes.
5984
5985 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5986
5987         * lyx_main.C: fix the fix
5988
5989 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * lyx_main.C: fix a crash in batch mode if no files specified
5992         * converter.C: ws
5993
5994 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * format.[Ch] (papersize): moved to BufferParams
5997         * converter.[Ch] (dvips_options): moved to BufferParams
5998         (dvipdfm_options): moved to anon namespace
5999         * bufferparams.[Ch]: added above functions.
6000
6001 2003-07-17  André Pönitz  <poenitz@gmx.net>
6002
6003         * lyxtext.h:
6004         * rowpainter.C:
6005         * text2.C: don't call inset->update() anymore
6006
6007         * metricsinfo.[Ch]: add convenience constructor
6008
6009 2003-07-16  André Pönitz  <poenitz@gmx.net>
6010
6011         * lyxcursor.[Ch]:
6012         * lyxfunc.[Ch]:
6013         * text.C:
6014         * text2.C: replace the LyXCursor::irow_ member with
6015          on-demand computation of the value
6016
6017 2003-07-16  John Levon  <levon@movementarian.org>
6018
6019         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6020
6021 2003-07-15  André Pönitz  <poenitz@gmx.net>
6022
6023         * text.C:
6024         * text2.C: remove no more needed refresh_row
6025
6026 2003-07-15  André Pönitz  <poenitz@gmx.net>
6027
6028         * lyxtext.h:
6029         * rowpainter.C:
6030         * text2.C:
6031         * text3.C: refresh_status tristate -> need_update bool
6032
6033 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6034
6035         * lyxtext.h (init): remove reinit argument (act as if always true)
6036         * text2.C: adjust to that
6037
6038 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6039
6040         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6041         * text3.C: use it to delete selections in some cases
6042         (bugs 441, 673, 702, 954).
6043
6044 2003-07-14  André Pönitz  <poenitz@gmx.net>
6045
6046         * rowpainter.[Ch]: reduce interface
6047
6048 2003-07-14  André Pönitz  <poenitz@gmx.net>
6049
6050         * BufferView_pimpl.C:
6051         * text2.C: adjust after removing unused BufferView * argument
6052
6053 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * text2.C (init): fix a crash fired on resize
6056
6057 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * buffer.[Ch]: added new closing signal
6060         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6061         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6062         BufferView::Pimpl via the closing the signal
6063
6064 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6065
6066         * buffer.[Ch]: take out all bv-related from buffer
6067         * BufferView.C:
6068         * BufferView_pimpl.[Ch]: connect to new signals
6069         * CutAndPaste.C: removed useless asserts
6070         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6071         * lyxvc.[Ch]:
6072         * vc-backend.[Ch]:
6073         * lyxfunc.C: moved view-related funciontality from vc here
6074         * paragraph.C: removed outdated comments
6075         * text.C: ws
6076
6077 2003-07-10  André Pönitz  <poenitz@gmx.net>
6078
6079         * BufferView_pimpl.C:
6080         * tabular.h:
6081         * tabular_funcs.C:
6082         * text.C:
6083         * text2.C: remove InsetText::InnerCache, clean up consequences
6084
6085 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6086
6087         * ispell.C: fix two typos in error messages
6088
6089 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6090
6091         * Extend Note inset to other forms of annotation like Comment
6092         and Greyedout. Right button click gives dialog.
6093
6094         Files modified or added (+):
6095
6096         * insetnote.[Ch]
6097         * FormNote.[Ch]      +
6098         * ControlNote.[Ch]   +
6099         * form_note.fd       +
6100         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6101         frontends/controllers
6102         * xforms/Dialogs.C
6103         * factory.C
6104
6105 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6106
6107         * aspell.C: add missing namespace lyx::support
6108
6109 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6110
6111         * BufferView.[Ch] (newFile): Add
6112         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6113         * LaTeX.[Ch] (message): added this signal and use it
6114         * buffer.[Ch] (busy, message): added these signals and use them
6115         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6116         * converter.C:
6117         * exporter.C:
6118         * format.C:
6119         * importer.C: use buffer signals instead of direct bv calling
6120         * lyx_cb.[Ch] (ShowMessage): removed
6121         * lyx_main.C:
6122         * lyxfunc.C:
6123         * paragraph_funcs.C:
6124         * text2.C: use buffer signals
6125
6126 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * introduce namespace lyx::graphics
6129
6130 2003-07-02  André Pönitz  <poenitz@gmx.net>
6131
6132         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6133
6134 2003-07-01  André Pönitz  <poenitz@gmx.net>
6135
6136         * text.C:
6137         * text2.C:
6138         * text3.C:
6139         * text_funcs.[Ch]:
6140         * textcursor.h:
6141         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6142           text*.C to text_func.C
6143
6144 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * introduce namespace lyx::support
6147
6148 2003-06-30  André Pönitz  <poenitz@gmx.net>
6149
6150         * Chktex.C:
6151         * funcrequest.C:
6152         * lyxtext.h:
6153         * text.C: re-enable --with-included-string
6154
6155 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * textcursor.C: add <config.h>
6158
6159         * text.C (getWord): remove const from word_location arg
6160
6161         * lyxvc.C (getLogFile): fix const type order
6162
6163         * lyxtext.h: remove const from word_location arg, add arg name
6164
6165         * lyxlayout.h: currect type on labeltype.
6166
6167         * importer.C: correct \file
6168
6169         * converter.C (intToFormat): use std:: on ret val, ws changes
6170
6171         * bufferlist.h: correct \file
6172
6173         * buffer.C (makeLinuxDocFile): fix const type order
6174         (makeDocBookFile): ditto
6175         (fillWithBibKeys): use std:: on stdlib args.
6176
6177         * CutAndPaste.C: fix authors.
6178         (availableSelections): use std:: on return vector
6179
6180 2003-06-27  André Pönitz  <poenitz@gmx.net>
6181
6182         * BufferView_pimpl.C:
6183         * bufferview_funcs.C:
6184         * lyxcursor.C:
6185         * lyxcursor.h:
6186         * lyxfunc.C:
6187         * lyxtext.h:
6188         * rowpainter.C:
6189         * text.C:
6190         * text2.C:
6191         * text3.C: remove LyXCursor::row_ member
6192
6193         * lyxtext.h:
6194         * text.C: rename fullRebreak() to partialRebreak() and implement
6195           a fullRebreak() that really bereks fully
6196
6197         * textcursor.h: new struct for cursor-related data
6198
6199 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6200
6201         * lyx_main.C (LyX): get full path of document loaded on the
6202         command line
6203
6204 2003-06-26  André Pönitz  <poenitz@gmx.net>
6205
6206         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6207           remove unused/broken operator>,<,>=.
6208
6209         *       text.C: remove only use of broken operator<= in an Assert().
6210
6211 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6212
6213         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6214         moved errorlist_.clear to showErrorList
6215
6216 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6217
6218         * converter.C (scanLog, runLaTeX):
6219         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6220         move the bv->showErrorList call to the callers
6221         * lyxfunc.C: i.e. here...
6222         * text2.C: and here
6223         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6224         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6225         namespace, the second to...
6226         * buffer_funcs (BufferFormat, parseErrors): added
6227         * errorlist.C (ErrorList(TeXErrors const &)): removed
6228
6229 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6230
6231         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6232
6233 2003-06-24  "Garst R. Reese" <reese@isn.net>
6234
6235         * debug.C: fix typo
6236
6237 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6238
6239         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6240
6241         * version.C.in: change docversion to 1.4
6242
6243 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * buffer.C: fix a bug just introduced
6246
6247 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * buffer.[Ch]: added the parseError signal and use it, removed
6250         sgmlError
6251         * BufferView.[Ch] (addError): moved to ...
6252         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6253         to the Buffer::parseError signal to catch (guess what) parse errors
6254         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6255
6256 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6257
6258         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6259         ability to create a buffer and to return an existing one from
6260         the list. Moved these functions to...
6261         * buffer_funcs.[Ch]: added
6262         * BufferView.[Ch] (loadLyXFile): added
6263         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6264         job removed from bufferlist::loadLyXFile.
6265         * buffer.C (setReadOnly): make it work without view
6266         (i.e added an if (users))
6267
6268 2003-06-19  Angus Leeming  <leeming@lyx.org>
6269
6270         * lfuns.h:
6271         * LyXAction.C (init):
6272         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6273         with LFUN_DIALOG_SHOW <name> <data>.
6274
6275 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6276
6277         * CutAndPaste.C (availableSelections): small compilation fix for
6278         ancient (gcc 2.9x) compilers
6279
6280 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * text3.C (cursorNext): add tmp var
6283
6284         * text2.C (updateCounters): for function calling out of for clause
6285         (replaceSelectionWithString): ditto
6286         (insertStringAsParagraphs): ditto
6287         (getColumnNearX): add tmp var
6288         (setCursorFromCoordinates): add tmp var
6289         (cursorDownParagraph): add tmp var
6290         (deleteEmptyParagraphMechanism): add tmp var
6291
6292         * text.C (insertChar): add tmp var
6293
6294         * rowpainter.C (paintDepthBar): add tmp var
6295
6296         * CutAndPaste.C (availableSelections): potentially check all
6297         paragraphs in a cut to fill the shown strings.
6298
6299 2003-06-18  André Pönitz  <poenitz@gmx.net>
6300
6301         * kbmap.[Ch]: use vector<> instead of list<>
6302
6303 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6304
6305         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6306         pasteSelection with index
6307
6308         * text2.C (pasteSelection): modify, call pasteSelection with index
6309
6310         * paragraph.C (asString): reimplement version with no interval to
6311         call the one with interval.
6312
6313         * lyxtext.h: add index arg to pasteSelection
6314
6315         * MenuBackend.C (MenuItem): handle PasteRecent
6316         (Menu::read::Menutags): add md_pasterecent
6317         (read): handle it
6318         (expandPasteRecent): new function
6319         (expand): use it
6320
6321         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6322
6323         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6324         the limited stack
6325         (availableSelections): new function
6326
6327 2003-06-17  Angus Leeming  <leeming@lyx.org>
6328
6329         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6330
6331 2003-06-17  Angus Leeming  <leeming@lyx.org>
6332
6333         * lfuns.h:
6334         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6335
6336         * lyxfunc.C (dispatch): invoke it.
6337
6338 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6339
6340         * iterators.C (operator++, ParPosition): reintroduce some
6341         const_cast for the benefit of older compilers.
6342
6343 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6344
6345         * text3.C (dispatch): do not modify clipboard when doing
6346         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6347         LFUN_DELETE_SKIP on a selection selection
6348
6349 2003-06-16  André Pönitz  <poenitz@gmx.net>
6350
6351         * BufferView.C:
6352         * buffer.C:
6353         * buffer.h:
6354         * paragraph.C:
6355         * tabular.[Ch]: IU of clone() and getLabelList();
6356
6357 2003-06-13  André Pönitz  <poenitz@gmx.net>
6358
6359         * tabular.h: compactification
6360
6361 2003-06-12  André Pönitz  <poenitz@gmx.net>
6362
6363         * tabular.C:
6364         * tabular.h:
6365         * tabular_funcs.h: some renaming plus whitespace
6366
6367 2003-06-12  André Pönitz  <poenitz@gmx.net>
6368
6369         * BufferView.C:
6370         * BufferView_pimpl.C:
6371         * CutAndPaste.C:
6372         * buffer.C:
6373         * iterators.[Ch]:
6374         * lyxfunc.C:
6375         * text.C:
6376         * toc.C: Return a Paragraph & for ParIterator::operator*()
6377
6378 2003-06-11  John Levon  <levon@movementarian.org>
6379
6380         * lyx_main.C:
6381         * ToolbarBackend.h:
6382         * ToolbarBackend.C: add "Toolbars" section and
6383         put the flags there
6384
6385 2003-06-10  Angus Leeming  <leeming@lyx.org>
6386
6387         * lfuns.h:
6388         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6389
6390         * lyxfunc.C (dispatch): invoke it.
6391
6392 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * main.C: protect <ios> with HAVE_IOS
6395         (main): protect sync_with_stdio with HAVE_IOS
6396
6397 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6398
6399         * text2.C (cutSelection): adjust
6400         (pasteSelection): adjust
6401
6402         * messages.C: handle get of empty string
6403
6404         * main.C (main): use sync_with_stdio(false)
6405
6406         * lyxfunc.C (dispatch): adjust
6407
6408         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6409         (WriteAs): remove unneeded BufferView arg.
6410
6411         * bufferparams.h: use correct types on papersize, papersize2 and
6412         paperpackage.
6413
6414         * bufferparams.C (readToken): adjust for type
6415         (writeLaTeX): add missing cases to switch.
6416
6417         * bufferlist.C (quitWriteBuffer): adjust
6418         (close): adjust
6419
6420         * buffer.C (asciiParagraph): remove some commented code.
6421
6422         * CutAndPaste.C: remove current_view extern variable.
6423         (cutSelection): add BufferParams arg.
6424         (eraseSelection): add BufferParams arg.
6425         (pasteSelection): add Buffer const & arg
6426
6427 2003-06-07  John Levon  <levon@movementarian.org>
6428
6429         * buffer.C:
6430         * paragraph_funcs.C:
6431         * paragraph_pimpl.C:
6432         * text.C:
6433         * text2.C:
6434         * paragraph.h:
6435         * paragraph.C: allow InsetERT to freely space lines,
6436         and some consolidation of code
6437
6438 2003-06-06  José Matos  <jamatos@fep.up.pt>
6439
6440         * buffer.C (makeDocBookFile): fix bug #821
6441
6442 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6443
6444         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6445
6446 2003-06-04  Angus Leeming  <leeming@lyx.org>
6447
6448         * buffer.C: bump format to 224.
6449
6450 2003-06-05  André Pönitz  <poenitz@gmx.net>
6451
6452         * text2.C (redoParagraphs): remove two const_cast<>
6453
6454 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6455
6456         * ParagraphList.h: remove last remnants of NO_STD_LIST
6457
6458 2003-06-03  Angus Leeming  <leeming@lyx.org>
6459
6460         * factory.C (createInset): small change to the way InsetExternal's params
6461         are set.
6462
6463 2003-06-04  André Pönitz  <poenitz@gmx.net>
6464
6465         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6466
6467         * paragraph_pimpl.h:
6468         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6469
6470         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6471
6472         * undo_funcs.C: make some simple cases of undo work again
6473
6474 2003-06-03  John Levon  <levon@movementarian.org>
6475
6476         * ispell.C: HPUX doesn't have sys/select.h
6477         (from Albert Chin)
6478
6479 2003-06-03  John Levon  <levon@movementarian.org>
6480
6481         * CutAndPaste.C: update tabular and include inset
6482         buffer references
6483
6484         * buffer.h:
6485         * paragraph.h:
6486         * paragraph.C: remove owningBuffer(), don't pass Buffer
6487         to clone()
6488
6489         * factory.C: insetGraphicsParams changed
6490
6491 2003-06-02  John Levon  <levon@movementarian.org>
6492
6493         * LyXAction.C:
6494         * factory.C:
6495         * lfuns.h:
6496         * lyxfunc.C:
6497         * text3.C: remove insetparent
6498
6499 2003-06-02  John Levon  <levon@movementarian.org>
6500
6501         * buffer.h:
6502         * buffer.C: fix inset_iterator.end(), move out of line
6503         (bug 1149)
6504
6505 2003-06-01  John Levon  <levon@movementarian.org>
6506
6507         * text3.C: use a proper cut/paste when doing inset
6508         insert (from Jürgen Spitzmüller)
6509
6510 2003-06-01  John Levon  <levon@movementarian.org>
6511
6512         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6513
6514 2003-05-30  André Pönitz  <poenitz@gmx.net>
6515
6516         * rowpainter.C: unify second drawing phase
6517
6518 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * trans_mgr.C: remove one case of current_view
6521
6522         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6523
6524         * paragraph_funcs.h: remove paragraph.h include
6525
6526         * paragraph.h: delete NO_STD_LIST stuff
6527
6528         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6529
6530         * buffer.h: remove paragraph.h include
6531
6532         * ParagraphList.C: delete file
6533
6534         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6535
6536         * toc.C (getTocList): adjust
6537
6538         * paragraph_pimpl.C (validate): adjust
6539
6540         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6541
6542         * paragraph.C (Paragraph): adjust
6543         (getPositionOfInset): use const_iterator, adjust
6544         (bibitem): use const_iterator, adjust
6545         (setInsetOwner): adjust
6546
6547         * iterators.C (operator++): adjust
6548
6549         * InsetList.[Ch]: Replace selfmade iterator with standard
6550         vector::iterator also introduce const_iterator. Remove getPos,
6551         getInset and setInset from InsetTable. Adjust accordingly.
6552
6553         * BufferView.C (lockInset): adjust
6554         (ChangeInsets): adjust
6555
6556         * tabular.[Ch]: delete commented same_id functions
6557
6558 2003-05-28  John Levon  <levon@movementarian.org>
6559
6560         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6561
6562 2003-05-28  André Pönitz  <poenitz@gmx.net>
6563
6564         * metricsinfo.[Ch]: remove 'fullredraw' member
6565
6566 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6567
6568         * lyxtextclass.C (operator): remove caching.
6569
6570 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text3.C: adjust
6573
6574         * text2.C (cursorBottom): adjust
6575         (setCounter): use ParagraphList::find, adjust
6576
6577         * text.C (workWidth): use ParagraphList::find, adjust
6578
6579         * lyxcursor.C (LyXCursor): adjust
6580
6581         * buffer.C (inset_iterator): adjust
6582
6583         * ParagraphList.h: make iterator(value_type) private, make
6584         ParagraphList a friend of iterator.
6585
6586         * ParagraphList.C (find): new function
6587
6588         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6589
6590 2003-05-27  André Pönitz  <poenitz@gmx.net>
6591
6592         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6593
6594 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6595
6596         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6597
6598 2003-05-26  John Levon  <levon@movementarian.org>
6599
6600         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6601
6602 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * remove same_id from function signatures, adjust.
6605
6606 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6609
6610         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6611
6612         * paragraph.C (Paragraph): get rid of same_ids parameter
6613
6614         * ParagraphList.C (insert): adjust
6615         (push_back): adjust
6616
6617 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * paragraph_funcs.C (breakParagraph): adjust
6620         (breakParagraphConservative): adjust
6621
6622         * buffer.C (readParagraph): adjust
6623
6624         * ParagraphList.C (insert): take a reference instead of a pointer
6625         (insert): adjust
6626
6627         * paragraph.[Ch] (id): new function
6628
6629         * bufferlist.C (newFile): adjust
6630
6631         * ParagraphList.C (ParagraphList): adjust
6632         (assign): adjust
6633         (push_back): take a reference instead of a pointer.
6634
6635         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6636
6637         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6638         instead.
6639
6640         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6641         set else use old code.
6642
6643         * ParagraphList.C: remove all NO_NEXT code and only compile this
6644         code of NO_STD_LIST is set.
6645
6646 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6647
6648         * BufferView_pimpl.C:
6649         * TextCache.C:
6650         * TextCache.h:
6651         * bufferlist.C:
6652         * errorlist.h:
6653         * format.C:
6654         * format.h:
6655         * graph.C:
6656         * lyxfunc.C:
6657         * lyxrc.C:
6658         * graphics/GraphicsConverter.C:
6659         * graphics/PreviewLoader.C: header adjustment
6660
6661 2003-05-23  Angus Leeming  <leeming@lyx.org>
6662
6663         * LaTeXFeatures.[Ch] (useBabel): new method.
6664         * bufferparams.C (writeLaTeX): use it.
6665
6666 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * ParagraphList.h (set): remove unused function.
6669
6670 2003-05-23  André Pönitz  <poenitz@gmx.net>
6671
6672         * BufferView.C:
6673         * BufferView_pimpl.C:
6674         * buffer.C:
6675         * buffer.h:
6676         * lyxfunc.C:
6677         * undo_funcs.C: setUndo reworked
6678
6679         * iterators.[Ch]: add access to topmost ParagraphList
6680
6681         * lyxtext.[Ch] (workWidth): add a const
6682
6683 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6684
6685         * texrow.[Ch] (increasePos): remove function
6686         * exporter.C (export): removed unused var and outdated comment
6687
6688 2003-05-23  Angus Leeming  <leeming@lyx.org>
6689
6690         * latexrunparams.h: rename fragile as moving_arg.
6691         * paragraph.C (simpleTeXOnePar): ditto.
6692         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6693
6694 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6697         (createUndo): ditto
6698         (textUndoOrRedo): comment out a currently unused var.
6699
6700         * paragraph.h (NO_NEXT): enable NO_NEXT
6701
6702         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6703
6704         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6705
6706         * exporter.C (Export): adjust for removeAutoInsets removal.
6707
6708         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6709
6710         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6711
6712         * BufferView.[Ch] (removeAutoInsets): delete function
6713
6714 2003-05-22  Angus Leeming  <leeming@lyx.org>
6715
6716         * latexrunparams.h: add a free_spacing variable.
6717
6718         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6719         to pass moving_arg, as the data is stored in runparams.fragile.
6720
6721         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6722         to Inset::latexOptional or to simpleTeXOnePar.
6723
6724         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6725         free_spacing arg to Inset::latexOptional.
6726
6727         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6728         free_spacing arg.
6729
6730 2003-05-22  Angus Leeming  <leeming@lyx.org>
6731
6732         * latexrunparams.h: add fragile and use_babel variables.
6733
6734         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6735         * buffer.C (makeLaTeXFile): store this returned value in
6736         runparams.use_babel, thus passing it to the inset::latex methods.
6737
6738         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6739         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6740
6741         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6742         longer has a fragile arg, as it is stored in runparams.fragile.
6743
6744         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6745         moving_arg parameter as the data is stored in runparams.fragile.
6746
6747         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6748         a fragile parameter as the data is stored in runparams.fragile.
6749
6750 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6753
6754 2003-05-22  Angus Leeming  <leeming@lyx.org>
6755
6756         * latexrunparams.h: add a 'bool nice' which defaults to false.
6757
6758         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6759         now encapsulated within runparams.
6760
6761         * bufferlist.C (updateIncludedTeXfiles):
6762         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6763
6764 2003-05-22  Angus Leeming  <leeming@lyx.org>
6765
6766         * latexrunparams.h: new file containing struct LatexRunParams.
6767         * Makefile.am: add new file.
6768
6769         * LaTeX.[Ch] (c-tor, run):
6770         * buffer.[Ch] (makeLaTeXFile):
6771         * bufferlist.[Ch] (updateIncludedTeXfiles):
6772         * converter.C (convert, scanLog):
6773         * converter.[Ch] (runLaTeX):
6774         * exporter.C (Export):
6775         * paragraph.[Ch] (simpleTeXOnePar):
6776         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6777         * paragraph_funcs.[Ch] (latexParagraphs):
6778         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6779         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6780         pass around a LatexRunParams parameter.
6781
6782 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * paragraph.[Ch]: remove unused constructor
6785
6786         * ParagraphList.C (erase): new function, taking two iterators
6787
6788 2003-05-22  André Pönitz  <poenitz@gmx.net>
6789
6790         * undo_funcs.C: remove duplicated code
6791
6792         * iterator.[Ch]: operator=
6793
6794 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * tabular.C (SetMultiColumn): ws changes
6797
6798         * rowpainter.C (paintFirst): get rid of a ->previous
6799
6800         * lyx_cb.C (getPossibleLabel): parlist simplification
6801
6802         * BufferView.C (ChangeInsets): simplify slightly.
6803
6804 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6805
6806         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6807         * lfuns.h: new LFUN_SPACE
6808         * lyxfunc.C: protected space has a new lfun
6809         * paragraph_funcs.C: read new space insets
6810         * text3.C:
6811         * factory.C: handle new space insets
6812
6813 2003-05-22  André Pönitz  <poenitz@gmx.net>
6814
6815         * BufferView.C:
6816         * BufferView_pimpl.C:
6817         * buffer.[Ch]:
6818         * lyxfunc.C:
6819         * undo_funcs.C: return a ParIterator from getParFromID.
6820
6821         * iterators.[Ch]: add two const's
6822
6823 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * toc.C (getTocList): adjust
6826
6827         * iterators.[Ch]: rework for parlist
6828
6829         * buffer.C (par_iterator_begin): adjust
6830         (par_iterator_end): adjust
6831
6832         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6833
6834         * BufferView.C (removeAutoInsets): adjust
6835         (ChangeInsets): adjust
6836
6837 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6838
6839         * text.C (top_y): fix bug 1110
6840
6841 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6842
6843         * errorlist.[Ch]: added
6844         * buffer.C:
6845         * BufferView.[Ch]:
6846         * BufferView_pimpl.C:
6847         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6848         instead
6849
6850 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * Makefile.am: ensure that lyx is relinked upon changes to the
6853         various "convenience" libs.
6854
6855 2003-05-20  Angus Leeming  <leeming@lyx.org>
6856
6857         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6858         files are compiled in alphabetical order again.
6859
6860         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6861
6862 2003-05-19  Angus Leeming  <leeming@lyx.org>
6863
6864         * gettext.[Ch]: remove "char const * _(char const *)".
6865
6866 2003-05-19  André Pönitz  <poenitz@gmx.net>
6867
6868         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6869
6870         * Makefile.am:
6871         * BufferView.C:
6872         * DepTable.h:
6873         * LaTeXFeatures.C:
6874         * buffer.C:
6875         * lyxfont.C:
6876         * lyxlex.h:
6877         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6878
6879 2003-05-19  André Pönitz  <poenitz@gmx.net>
6880
6881         * buffer.C:
6882         * lyxlayout.[Ch]:
6883         * lyxtextclass.[Ch]:
6884         * paragraph.C:
6885         * paragraph_funcs.[Ch]:
6886         * text2.C:
6887         * text3.C: more insetenv work
6888
6889 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6890
6891         * ParagraphParameters.C (params2string): small bug fixed
6892
6893 2003-05-16  André Pönitz  <poenitz@gmx.net>
6894
6895         * debug.C:
6896         * bufferview_funcs.C: patch from Kornel Benko to prevent
6897           crash when _(...) is called twice in a statement
6898
6899 2003-05-16  André Pönitz  <poenitz@gmx.net>
6900
6901         * BufferView.C:
6902         * lyxfunc.C:
6903         * text.C:
6904         * text2.C:
6905         * text3.C:
6906         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6907
6908 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6909
6910         * lyx_main.C (init): remove spurious static_cast
6911
6912 2003-05-14  André Pönitz  <poenitz@gmx.net>
6913
6914         * BufferView.C: fix format string
6915
6916 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6917
6918         * BufferView.[Ch] (insertErrors): removed
6919         * BufferView.[Ch] (showErrorList): added
6920         * buffer.C (runChkTeX):
6921         * converter.C (scanLog): call showErrorList instead of inserterrors
6922
6923 2003-05-13  André Pönitz  <poenitz@gmx.net>
6924
6925         * BufferView_pimpl.C:
6926         * buffer.C:
6927         * bufferview_func.C:
6928         * MenuBackend.C:
6929         * lyxfunc.C:
6930         * lyxrc.C:
6931         * tex-accent.C:
6932         * text3.C:
6933         * toc.C:
6934         * tabular_funcs.h: tostr() from its own header
6935
6936         * ParagraphParameters.C:
6937         * ToolbarBackend.C:
6938         * bufferparams.C:
6939         * format.C:
6940         * lyxlex_pimpl.C:
6941         * text3.C: STRCONV()
6942
6943 2003-05-12  André Pönitz  <poenitz@gmx.net>
6944
6945         * BufferView.C:
6946         * BufferView_pimpl.C:
6947         * CutAndPaste.C:
6948         * LaTeX.C:
6949         * LaTeXFeatures.C:
6950         * ParagraphParameters.C:
6951         * buffer.C:
6952         * bufferlist.C:
6953         * bufferparams.C:
6954         * bufferview_funcs.C:
6955         * converter.C:
6956         * counters.C:
6957         * debug.C:
6958         * exporter.C:
6959         * format.C:
6960         * importer.C:
6961         * lyx_cb.C:
6962         * lyx_main.C:
6963         * lyxfont.C:
6964         * lyxfunc.C:
6965         * lyxvc.C:
6966         * paragraph.C:
6967         * paragraph_funcs.C:
6968         * tabular.C:
6969         * tabular_funcs.C:
6970         * text2.C:
6971         * text3.C:  boost::format -> bformat  all over the place
6972
6973
6974 2003-05-09  André Pönitz  <poenitz@gmx.net>
6975
6976         * LColor.[Ch]: Pimpl the #include <map> away
6977
6978 2003-05-09  John Levon  <levon@movementarian.org>
6979
6980         * bufferlist.C: never remove emergency saves
6981
6982 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * Makefile.am: better lib building
6985
6986 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6989         instead.
6990         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6991         (simpleTeXSpecialChars): adjust
6992         (simpleTeXSpecialChars): adjust
6993         * paragraph.C (simpleTeXOnePar): adjust
6994         * buffer.C (makeLaTeXFile): adjust
6995
6996         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6997
6998         * text2.C (changeDepth): parlist cleanup
6999         (getColumnNearX): ditto
7000
7001         * rowpainter.C (getLabelFont): parlist cleanup
7002
7003         * bufferlist.C (newFile): parlist cleanup
7004
7005         * CutAndPaste.C (eraseSelection): parlist cleanup
7006
7007         * BufferView_pimpl.C (trackChanges): parlist cleanup
7008         (dispatch): ditto
7009
7010         * BufferView.C (lockInset): parlist cleanup.
7011         (ChangeInsets): ditto
7012
7013 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * CutAndPaste.h: Update file header.
7016
7017         * CutAndPaste.C: Update file header.
7018         Store the parts cut out of the Document in a limited_stack.
7019         (copySelection): adjust
7020         (pasteSelection): new function, takes the index in the limited stack.
7021         (nrOfParagraphs): adjust
7022         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7023         simplify error inset insertion.
7024         (checkPastePossible): adjust
7025
7026 2003-05-06  John Levon  <levon@movementarian.org>
7027
7028         * text2.C: don't cast wrap inset to float
7029
7030 2003-05-05  André Pönitz  <poenitz@gmx.net>
7031
7032         * iterator.C:
7033         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7034
7035         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7036           few naked Paragraph *.
7037
7038 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7039
7040         * bufferparams.C: Output warning if a document with missing
7041         TeX document class is loaded
7042         * exporter.C: Disable TeX exports if the document class is missing
7043         * lyxtextclass.C:
7044         * lyxtextclass.h:
7045         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7046         isTeXClassAvailable()
7047
7048 2003-05-03  John Levon  <levon@movementarian.org>
7049
7050         * BufferView.h:
7051         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7052         explicit cursor show/hide
7053
7054         * BufferView_pimpl.h:
7055         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7056         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7057
7058         * lyxfunc.C: hide cursor before dispatching.
7059
7060         * lyx_cb.C:
7061         * lyxfind.C:
7062         * text.C:
7063         * text3.C: remove explicit cursor hides
7064
7065 2003-05-02  André Pönitz  <poenitz@gmx.net>
7066
7067         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7068
7069         * undo_funcs.C:
7070         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7071           linked lists
7072
7073         * text2.C: tiny whitespace
7074
7075 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * undo_funcs.C: almost only ws changes.
7078
7079         * ParagraphList.C (splice): just return if pl is empty.
7080
7081 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * ParagraphList.C (splice): new function.
7084
7085         * CutAndPaste.C (pasteSelection): use it
7086
7087 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * CutAndPaste.C (pasteSelection): remove the last next and
7090         previous from this file.
7091
7092 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * CutAndPaste.C (pasteSelection): more clean up, user proper
7095         ParagraphList functions for pasteing.
7096
7097         * ParagraphList.C (insert): new function, three arg insert
7098
7099 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * ParagraphList.C (insert): new function, three arg insert
7102
7103         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7104         not on paragraphs.
7105
7106 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7109
7110 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7113
7114 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7117         (copySelection): clean up a bit.
7118         (pasteSelection): use make_pair
7119
7120         * ParagraphList.C (ParagraphList): implement copy constructor
7121         (operator=): implement, base on copy constructor.
7122         (assign): new func
7123
7124         * paragraph.C (erase): return a bool
7125
7126         * paragraph_pimpl.C (erasePos): remove function, move contents...
7127         (erase): ... here. Return a bool.
7128         (erase): call erase instead of erasePos.
7129
7130 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7131
7132         * ParagraphList.h: define PitPosPair
7133         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7134         ParagraphList, fix a bug on pasting multiple pars
7135         * text2.C: change interface to C&P
7136
7137 2003-04-30  André Pönitz  <poenitz@gmx.net>
7138
7139         * undo_func.C: revert part of yesterday's patch 2
7140
7141 2003-04-30  John Levon  <levon@movementarian.org>
7142
7143         * LColor.C: s/tabular/table/
7144
7145 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * text3.C (dispatch): do not convert iterator -> pointer
7148         * undo_funcs.C (setCursorParUndo): ditto
7149         * text_funcs.C (transposeChars): ditto
7150
7151         * text2.C (setLayout): ws changes only
7152
7153         * text.C (breakParagraph): do not convert iterator -> pointer
7154         (insertChar): ditto
7155         (acceptChange): ditto
7156         (rejectChange): ditto
7157         (changeCase): ditto
7158         (Delete): ditto
7159         (backspace): ditto
7160
7161         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7162         pointer
7163
7164 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7165
7166         * text3.C (gotoInset): YABG (yet another bad getChar)
7167
7168 2003-04-29  André Pönitz  <poenitz@gmx.net>
7169
7170         * paragraph.h: make operator= private unimplemented as long as
7171           it is unusable
7172
7173         * ParagraphList.C: whitespace
7174
7175         * paragraph.[Ch]:
7176         * paragraph_pimpl.[Ch]:
7177         * paragraph_funcs.C:
7178         * CutAndPaste.C:
7179         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7180
7181         * text2.C:
7182           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7183
7184 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7185
7186         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7187         * paragraph.[Ch] (erase):
7188         * paragraph_pimpl.[Ch] (erase): change return type and value
7189         * text2.C (cutSelection): some rework
7190
7191 2003-04-28  John Levon  <levon@movementarian.org>
7192
7193         * bufferlist.C: changes for unsaved changes dialog
7194
7195 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * bufferlist.C (newFile): set language (messages_) for new
7198         documents also.
7199
7200         * buffer.C (readFile): ws changes only.
7201
7202 2003-04-28  André Pönitz  <poenitz@gmx.net>
7203
7204         * undo_funcs.C:
7205         * lyxfunc.C:
7206         * buffer.[Ch]:
7207         * BufferView_pimpl.C:
7208         * BufferView.C: getParFromID related ParagraphList::iterator changes
7209
7210 2003-04-28  André Pönitz  <poenitz@gmx.net>
7211
7212         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7213           Changes
7214
7215 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * messages.C: remove one more localedir class variable.
7218
7219 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * messages.C (getLocaleDir): singleton generation function
7222         (Pimpl): use it.
7223         (Messages): add a default constructor.
7224
7225         * main.C (main): do not setup localedir here, do not call
7226         gettext_init.
7227
7228         * gettext.C (_): use it.
7229         (gettext_init): delete funciton
7230
7231 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * gettext.C (getLyXMessages): new singleton generating function.
7234
7235         * buffer.C (updateDocLang): adjust
7236
7237         * Makefile.am (messages.o): add target
7238         (main.o): remove target
7239
7240 2003-04-27  John Levon  <levon@movementarian.org>
7241
7242         * bufferlist.C:
7243         * lyx_cb.C:
7244         * lyxfunc.C:
7245         * lyxvc.C: specify cancel button in Alert::prompt
7246
7247 2003-04-26  John Levon  <levon@movementarian.org>
7248
7249         * text3.C:
7250         * lyxfunc.C:
7251         * lfuns.h:
7252         * LyXAction.C: add LFUN_INSET_SETTINGS
7253
7254         * lyxfunc.C: don't enable tabular-feature when there's
7255         just any locking inset
7256
7257 2003-04-26  John Levon  <levon@movementarian.org>
7258
7259         * bufferlist.C: re-add Cancel to buffer close question
7260
7261         * lyxfunc.C: fix import UI a bit
7262
7263 2003-04-25  John Levon  <levon@movementarian.org>
7264
7265         * gettext.C: remove the broken asserts for now
7266
7267 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * messages.C: make case where setlocale cannot comply work better.
7270
7271         * buffer.C (updateDocLang): new function
7272         (changeLanguage): use it
7273         (readFile): use it
7274
7275         * text2.C (setCounter): use B_ a bit.
7276
7277         * lyxlayout.C (Read): be sure to trim the label strings.
7278
7279         * messages.C (Messages): fix typo in comment
7280
7281         * buffer.C (readFile): set message_ after file is loaded.
7282         (makeDocBookFile): remove double return
7283         (changeLanguage): reset message_ upon language change.
7284         (B_): new func, use this to get translated buffer strings.
7285
7286         * main.C: add myself and Jean Marc as authors.
7287
7288 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * messages.[hC]: pimplify Messages, and three different pimpls to be
7291         used in different circumstances.
7292
7293         * gettext.[Ch]: change for use with new message code.
7294
7295 2003-04-24 André Pönitz <poenitz@gmx.net>
7296
7297         * factory.C: support for eqref
7298
7299 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * messages.[Ch]: add missing char
7302
7303         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7304
7305         * messages.[Ch]: New files
7306
7307 2003-04-18  John Levon  <levon@movementarian.org>
7308
7309         * BufferView.h:
7310         * BufferView.C:
7311         * BufferView_pimpl.C:
7312         * lfuns.h:
7313         * LyXAction.C:
7314         * lyxtext.h:
7315         * text2.C: remove layout-copy/paste (bug 778)
7316
7317 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7318
7319         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7320
7321 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7322
7323         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7324         if they succeed. Act accordingly.
7325
7326 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * text2.C (setCharFont): adjust
7329         (setCounter): adjust
7330         (insertStringAsLines): adjust
7331
7332         * text.C (leftMargin): adjust
7333         (setHeightOfRow): adjust
7334
7335         * rowpainter.C (paintFirst): adjust
7336         (paintLast): adjust
7337
7338         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7339         (outerHook): ditto
7340         (isFirstInSequence): ditto
7341         (getEndLabel): ditto
7342         (outerFont): adjust
7343
7344         * paragraph.C (getParLanguage): comment out some hard stuff.
7345
7346         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7347         (sgmlError): ditto
7348         (simpleDocBookOnePar): ditto
7349         (makeDocBookFile): use ParagraphList::iterator
7350
7351         * CutAndPaste.C (pasteSelection): adjust
7352
7353 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * text2.C (getFont): adjust
7356         (getLayoutFont): adjust
7357         (getLabelFont): adjust
7358
7359         * paragraph_funcs.C (TeXOnePar): adjust
7360
7361         * buffer.C (simpleLinuxDocOnePar): adjust
7362         (simpleDocBookOnePar): adjust
7363
7364         * CutAndPaste.C (pasteSelection): adjust
7365
7366         * BufferView.C (getEncoding): adjust
7367
7368         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7369
7370 2003-04-16  John Levon  <levon@movementarian.org>
7371
7372         * lyxfind.C: use parlist stuff for search/changes
7373
7374 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7377
7378         * text2.C (deleteEmptyParagraphMechanism): adjust
7379
7380         * text2.[Ch] (ownerParagraph): delete func (both of them
7381
7382 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7385
7386 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * ParagraphList.C: prepare for NO_NEXT
7389
7390 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * text2.C (getFont): adjust
7393         (getLayoutFont): adjust
7394         (getLabelFont): adjust
7395
7396         * paragraph.C (getFont): adjust
7397         (getLabelFont): adjust
7398         (getLayoutFont): adjust
7399
7400         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7401
7402 2003-04-15  John Levon  <levon@movementarian.org>
7403
7404         From Angus Leeming
7405
7406         * lyx_main.C: handle Include in .ui files
7407
7408 2003-04-15  John Levon  <levon@movementarian.org>
7409
7410         * MenuBackend.C: make the doc files length shorter
7411
7412         * ToolbarBackend.h:
7413         * ToolbarBackend.C: handle toolbar placement flags,
7414         Minibuffer
7415
7416 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7419         adjust
7420
7421         * paragraph_funcs.C (TeXOnePar): adjust
7422
7423         * paragraph.C (getLabelFont): add outerfont arg, adjust
7424         (getLayoutFont): ditto
7425         (simpleTeXOnePar): adjust
7426
7427         * paragraph_pimpl.C (realizeFont): delete func
7428
7429 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7430
7431         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7432         row argument, constify cur argument.
7433
7434 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * text2.C (getFont): adjust
7437         (getLayoutFont): adjust
7438         (getLabelFont): adjust
7439
7440         * paragraph_funcs.C (TeXOnePar): adjust
7441         (outerFont): new func...
7442         (realizeFont): ...moved out from here, changed this to facilitate
7443         transition
7444
7445         * paragraph.C (getFont): take outerfont as arg, adjust
7446         (simpleTeXOnePar): add outerfont arg, adjust
7447
7448         * buffer.C (simpleLinuxDocOnePar): adjust
7449         (simpleDocBookOnePar): adjust
7450
7451         * CutAndPaste.C (pasteSelection): adjust
7452
7453         * BufferView.C (getEncoding): adjust
7454
7455 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * text2.C (setCharFont): adjust
7458         (setCounter): adjust
7459
7460         * text.C (leftMargin): adjust
7461         (setHeightOfRow): adjust
7462
7463         * rowpainter.C (paintFirst): adjust
7464         (paintLast): adjust
7465
7466         * paragraph_pimpl.C (realizeFont): adjust
7467
7468         * paragraph.C (isFirstInSequence): move from here...
7469         * paragraph_funcs.C (isFirstInSequence): ...to here
7470
7471         * paragraph.C (outerHook): move from here...
7472         * paragraph_funcs.C (outerHook): ...to here
7473
7474         * paragraph.C (depthHook): move from here...
7475         * paragraph_funcs.C (depthHook): ...to here
7476
7477         * paragraph.C (getEndLabel): move from here...
7478         * paragraph_funcs.C (getEndLabel): ...to here
7479
7480         * text2.C (realizeFont): move from here...
7481         * paragraph_funcs.C (realizeFont): ...to here
7482
7483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7486
7487 2003-04-14  Angus Leeming  <leeming@lyx.org>
7488
7489         * LColor.[Ch]: scrap LColor mathcursor.
7490
7491 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * lyxlex.[Ch] (text): delete function
7494         * trans.C (Load): adjust
7495         * paragraph_funcs.C (readParToken): adjust
7496
7497 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7500         vector<char> instead of a char[].
7501
7502         * lyxlex_pimpl.C (getString): adjust
7503         (next): adjust
7504         (lex): use getString
7505         (eatLine): adjust
7506         (nextToken): adjust
7507
7508         * lyxlex.C (text): use pimpl_->getString()
7509         (getBool): ditto
7510         (findToken): ditto
7511
7512 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7515         (makeFontEntriesLayoutSpecific): temp var for par.size()
7516         (setLayout): temp var for ownerParagraphs().end()
7517         (fullRebreak): temp var for rows().end()
7518         (selectionAsString): temp var for boost::next(startpit), realize
7519         that the while really is a regular for loop.
7520         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7521         setCursor in one place.
7522         (setParagraph): temp vr for ownerParagraphs().end()
7523         (updateCounters): make the while loop a for loop
7524         (cutSelection): temp var for ownerParagraphs().end()
7525         (updateInset): make the do {} while() a regular for loop
7526         (getCursorX): use temp vars
7527         (setCurrentFont): use temp vars
7528         (getColumnNearX): use temp vars
7529
7530 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * text.C (transformChar): use temp var for getChar
7533         (computeBidiTables): use temp var for row->par()
7534         (fill): move temp vars for row->par() and pit->layout() earlier in
7535         the function.
7536         (labelFill): use temp var for row->par()
7537         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7538         asc and desc, realize that pit never changes and that firstpit is
7539         just a duplicate and not needed. Exchange rit->par() with pit in a
7540         lot of places.
7541         (breakAgain): use a temp var for boost::next(rit)
7542         (breakAgainOneRow): ditto
7543         (breakParagraph): use a temp var for rows().begin()
7544         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7545         (cursorRightOneWord): use temp var for cursor.par() and
7546         cursor.pos(), remove usage of tmpcursor.
7547         (cursorLeftOneWord): use temp var for cursor.par() and
7548         cursor.pos() only set cur at end of function.
7549
7550 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * text.C, text2.C: exchange all usage of Paragraph::next with
7553         boost::next(ParagraphList::iterator)
7554
7555         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7556
7557         * text2.C (cursorTop): simplify implementation
7558         (cursorBottom): ditto
7559         (setParagraph): use ParagraphList::iterator
7560         (setCurrentFont): adjust
7561         (getColumnNearX): adjust
7562         (cursorRight): adjust
7563         (cursorLeft): remove usage of Paragraph::previous
7564         (cursorUpParagraph): ditto
7565         (deleteEmptyParagraphMechanism): slight cleanup
7566
7567         * text.C (isBoundary): take a Paragraph const & instead of a
7568         pointer as arg.
7569         (addressBreakPoint): ditto
7570         (leftMargin): remove usage of Paragraph::previous.
7571         (setHeightOfRow): ditto
7572         (cursorLeftOneWord): ditto
7573         (selectNextWordToSpellcheck): ditto
7574         (Delete): ditto
7575         (backspace): ditto
7576         (breakParagraph): remove one usage of Paragraph::next
7577         (redoParagraph): ditto
7578         (acceptChange): ditto
7579         (insertChar): adjust
7580         (rowBreakPoint): adjust
7581
7582         * bufferview_funcs.C (toggleAndShow): adjust
7583
7584 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7585
7586         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7587         methods to access it.
7588         * lyxtext.h:
7589         * text.C: Added updateRowPositions to compute all row positions.
7590         Make top_y and getRowNearY() to use the cached y position
7591
7592 2003-04-11  John Levon  <levon@movementarian.org>
7593
7594         * text.C (rowBreakPoint): reintroduce the labelEnd
7595         checks, code copied from the row fill stuff. Deep voodoo.
7596
7597         * text.C (fill): add a comment and debugging for the
7598         next poor soul.
7599
7600 2003-04-11  John Levon  <levon@movementarian.org>
7601
7602         * text.C: make sure fullrow insets get wrapped to the next line,
7603         even when they're in a manual label
7604
7605 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * text2.C (insertParagraph): make it take ParagraphList::iterator
7608         as arg.
7609         (setLayout): make it return ParagraphList::iterator
7610         (redoParagraphs): ditto
7611         (setCounter): ditto
7612         (checkParagraph): ditto
7613
7614         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7615
7616         * text2.C: adjust several funcs.
7617         (realizeFont): take a ParagraphList::iterator as arg.
7618         (getLayoutFont): ditto
7619         (getLabelFont): ditto
7620         (setCharFont): ditto
7621
7622         * text.C: adjust several funcs.
7623
7624 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7625
7626         * text.C (selectNextWordToSpellcheck): don't accidentally
7627         skip insets
7628
7629 2003-04-10  John Levon  <levon@movementarian.org>
7630
7631         * ToolbarBackend.C (getIcon): special handling for
7632         LFUN_MATH_DELIM
7633
7634 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7635
7636         * text2.C (cursorRight): a getChar assert fixed
7637
7638 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * text2.C (getFont): change to take a ParagraphList::iterator
7641         instead of Paragraph*
7642         Adjust several functions.
7643
7644         * text.C (transformChar): change to take a ParagraphList::iterator
7645         instead of Paragraph*
7646         (singleWidth): ditto
7647         Adjust several functions.
7648
7649         * rowpainter.C: adjust several functions
7650         * rowpainter.h:store a ParagraphList::iterator and not a
7651         Paragraph&.
7652
7653
7654 2003-04-09  John Levon  <levon@movementarian.org>
7655
7656         * lyxfunc.C:
7657         * lfuns.h:
7658         * LyXAction.h:
7659         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7660         and the "help" bits as well
7661
7662 2003-04-09  John Levon  <levon@movementarian.org>
7663
7664         * ToolbarBackend.h:
7665         * ToolbarBackend.C: allow multiple toolbars
7666
7667 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * undo_funcs.C (setCursorParUndo): adjust
7670
7671         * text_funcs.C (transposeChars): adjust
7672
7673         * text3.C (gotoNextInset): adjust
7674         (dispatch): adjust
7675
7676         * text2.C (setLayout): adjust
7677         (changeDepth): adjust
7678         (setFont): adjust
7679         (redoParagraphs): adjust
7680         (selectionAsString): adjust
7681         (setParagraph): adjust
7682         (insertInset): adjust
7683         (cutSelection): adjust
7684         (copySelection): adjust
7685         (pasteSelection): adjust
7686         (insertStringAsLines): adjust
7687         (updateInset): adjust
7688         (setCursor): change to take a ParagraphList::iterator parameter
7689         (setCursorIntern): change to take a ParagraphList::iterator parameter
7690         (setCurrentFont): adjust
7691         (cursorLeft): adjust
7692         (cursorRight): adjust
7693         (deleteEmptyParagraphMechanism): adjust
7694
7695         * text.C (breakParagraph): adjust
7696         (insertChar): adjust
7697         (acceptChange): adjust
7698         (rejectChange): adjust
7699         (selectNextWordToSpellcheck): adjust
7700         (changeCase): adjust
7701         (Delete): adjust
7702         (backspace): adjust
7703
7704         * lyxfind.C (SearchForward): adjust
7705         (SearchBackward): adjust
7706         (nextChange): adjust
7707
7708         * lyxcursor.C (par): adjust
7709
7710         * lyxcursor.h: store a ParagraphList::iterator instead of a
7711         Paragraph*
7712
7713         * lyx_cb.C (getPossibleLabel): adjust
7714
7715         * bufferview_funcs.C (toggleAndShow): adjust
7716
7717         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7718         (dispatch): adjust
7719
7720         * BufferView.C (removeAutoInsets): adjust
7721         (lockedInsetStoreUndo): adjust
7722
7723 2003-04-09  John Levon  <levon@movementarian.org>
7724
7725         * ToolbarBackend.C: try icon without argument
7726         if with argument fails
7727
7728 2003-04-08  John Levon  <levon@movementarian.org>
7729
7730         * ToolbarBackend.h:
7731         * ToolbarBackend.C: add getIcon(), handle tooltip,
7732         and change from "Icon" to "Item".
7733
7734 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7735
7736         * BufferView.C (lockInset): another bad getchar crunched
7737
7738 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7739
7740         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7741         again)
7742
7743 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7744
7745         * lyxfind.C (searchForward, searchBackwards): bug 782
7746
7747 2003-04-07  John Levon  <levon@movementarian.org>
7748
7749         * paragraph.C: remove dead comment
7750
7751         * text.C: remove troublesome depth-fiddling code
7752         in leftMargin() and rightMargin() (bug 1017)
7753
7754         * text.C: fix breaking of rows in nested lists
7755         (bug 1004)
7756
7757         * text2.C (updateCounters): fix up depth values
7758         (bug 1013)
7759
7760 2003-04-07  John Levon  <levon@movementarian.org>
7761
7762         * BufferView_pimpl.C: clear message when doc finishes resizing,
7763         and after a mouse event
7764
7765         * lyxfunc.C: clear message after exiting inset
7766
7767 2003-04-07  John Levon  <levon@movementarian.org>
7768
7769         * bufferview_funcs.C: show math status not outside
7770         status in the statusbar
7771
7772 2003-04-07  John Levon  <levon@movementarian.org>
7773
7774         * lyxfunc.C: note status changed after a depth change
7775
7776 2003-04-04  Angus Leeming  <leeming@lyx.org>
7777
7778         * LaTeX.h: move AuxInfo operator==, != out of line.
7779         Remove LaTeX virtual destructor; nothing derives from it.
7780         Move operator()() out of public area and rename it startscript().
7781         Change protected for private.
7782
7783 2003-04-04  Angus Leeming  <leeming@lyx.org>
7784
7785         * lyxfunc.C:
7786         * text2.C: remove unneeded #includes.
7787
7788 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7789
7790         * text2.C (dEPM): fix the heigth of the next row
7791
7792 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7793
7794         * text.C: squashed an invalid getChar requester + some ws changes
7795
7796 2003-04-03  John Levon  <levon@movementarian.org>
7797
7798         * bufferview_funcs.h:
7799         * bufferview_funcs.C:
7800         * lyxfunc.C:
7801         * lyxtext.h:
7802         * text2.C: make getStatus work for the env depth lfuns
7803
7804 2003-04-03  John Levon  <levon@movementarian.org>
7805
7806         * bufferview_funcs.h:
7807         * bufferview_funcs.C:
7808         * lyxfunc.C:
7809         * lyxtext.h:
7810         * text2.C: parlistize decDepth(), by merging it with incDepth()
7811
7812 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * lyxrow.h: store a ParagraphList::iterator instead of a
7815         Paragraph* and adjust other class functions to suit.
7816
7817         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7818         above.
7819
7820 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7821
7822         * text2.C (setCursor): do not anchor to cursor row for the time being
7823
7824 2003-04-02  John Levon  <levon@movementarian.org>
7825
7826         * LyXAction.C:
7827         * lfuns.h:
7828         * lyx_main.C:
7829         * lyxtext.h:
7830         * text.C:
7831         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7832
7833 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * paragraph.h: make ParagraphList and ParagraphList::iterator
7836         friends of Paragraph.
7837
7838         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7839
7840         * ParagraphList.C: Use the private next_ and previous_ from
7841         Paragraph.
7842
7843 2003-04-01  John Levon  <levon@movementarian.org>
7844
7845         * ToolbarBackend.h:
7846         * ToolbarBackend.C:
7847         * Makefile.am: rename, remove defaults gunk
7848
7849         * MenuBackend.h:
7850         * MenuBackend.C: remove defaults gunk
7851
7852         * Languages.h:
7853         * Languages.C: remove defaults gunk
7854
7855         * lyx_main.h:
7856         * lyx_main.C: error out if files couldn't be found.
7857
7858 2003-04-02  John Levon  <levon@movementarian.org>
7859
7860         * text2.C: make incDepth() use parlist
7861
7862 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7863
7864         * undo_funcs.C (firstUndoParagraph): adjust
7865
7866         * text3.C (gotoInset): adjust
7867         (dispatch): adjust, and rewrite loop.
7868
7869         * text2.C (init): adjust, and rewrite loop.
7870         (redoParagraphs): adjust
7871         (updateInset): adjust, and rewrite loop.
7872         (deleteEmptyParagraphMechanism): adjust
7873
7874         * tabular.C (LyXTabular): adjust
7875         (SetMultiColumn): adjust
7876         (TeXRow): adjust
7877
7878         * lyxtext.[Ch] (ownerParagraph): delete function
7879         (ownerParagraphs): new function returns a ParagraphList.
7880
7881         * BufferView.C (removeAutoInsets): adjust
7882         (insertErrors): adjust
7883         (setCursorFromRow): adjust
7884
7885 2003-04-01  Angus Leeming  <leeming@lyx.org>
7886
7887         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7888         in the frontends.
7889
7890 2003-04-02  John Levon  <levon@movementarian.org>
7891
7892         * lyxtext.h:
7893         * text.C:
7894         * Makefile.am:
7895         * text_funcs.h:
7896         * text_funcs.C: make transposeChars a free function
7897
7898         * lyxrow_funcs.C: remove wrong comment
7899
7900 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * lyxtext.h: adjust
7903         * rowpainter.C: adjust
7904         * text.C: adjust
7905         * text2.C: adjust
7906         * text3.C: adjust
7907
7908         * lyxrow_funcs. [Ch]: new files
7909
7910         * lyxrow.[Ch]: remove next and previous pointers
7911         (next,previous): remove accessor functions
7912         (isParEnd): move to lyxrow_funcs
7913         (lastPos): move to lyxrow_funcs
7914         (nextRowIsAllInset): move to lyxrow_funcs
7915         (lastPrintablePos): move to lyxrow_funcs
7916         (numberOfSeparators): move to lyxrow_funcs
7917         (numberOfHfills): move to lyxrow_funcs
7918         (numberOfLabelHfills): move to lyxrow_funcs
7919         (hfillExpansion): move to lyxrow_funcs
7920
7921         * lyxfunc.C: adjust
7922
7923         * bufferview_funcs.C (toggleAndShow): adjust
7924
7925         * RowList.h: Remove class RowList from file leave just a
7926         std::list<Row>.
7927
7928         * RowList.C: delete file
7929
7930         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7931         and lyxrow_funcs.h
7932
7933 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * text3.C (cursorPrevious): adjust
7936         (cursorNext): adjust
7937         (dispatch): adjust
7938
7939         * text2.C (redoHeightOfParagraph): adjust
7940         (redoDrawingOfParagraph): adjust
7941         (setCursor): adjust
7942
7943         * text.C (breakParagraph): adjust
7944         (insertChar): adjust
7945         (backspace): adjust
7946
7947         * rowpainter.C (RowPainter): adjust
7948         (leftMargin): simplify and adjust
7949         (most rowpainter functions): adjust.
7950
7951         * rowpainter.h: store the row as RowList::iterator not as Row*
7952
7953         * lyxcursor.C (row): taka RowList::iterator as arg
7954         (irow): ditto
7955
7956         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7957         of Row*.
7958
7959 2003-04-01  Angus Leeming  <leeming@lyx.org>
7960
7961         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7962         stuff like bool Bool.
7963
7964 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7965
7966         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7967         rewrite a loop
7968
7969 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7972         RowList::iterator.
7973
7974         * lyxtext.h (rows): drop one version and leve a const variant that
7975         returns a RowList::iterator.
7976
7977 2003-03-31  Angus Leeming  <leeming@lyx.org>
7978
7979         * text.C (fill): ensure that the signature is the same as that in the
7980         header file.
7981
7982 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * text2.C (redoParagraphs): adjust
7985         (updateCounters): adjust
7986         (checkParagraph): adjust
7987         (getColumnNearX): adjust and reformat a bit.
7988
7989         * text.C (top_y): adjust
7990         (workWidth): adjust
7991         (leftMargin): adjust
7992         (prepareToPrint): adjust
7993         (getRow): adjust
7994         (getRowNearY): adjust
7995
7996         * lyxtext.h: make rowlist_ mutable.
7997
7998         * RowList.h: add const_iterator
7999         * RowList.C: adjust for RowList::const_iterator.
8000
8001         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8002         adjust.
8003
8004 2003-03-31  John Levon  <levon@movementarian.org>
8005
8006         * lyxrc.h:
8007         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8008
8009         * lyx_main.C: set default fonts from using lyx_gui funcs
8010
8011         * exporter.C: pdf_mode moved from lyxrc
8012
8013         * lyx_cb.C:
8014         * lyxfunc.C: changes from above
8015
8016 2003-03-31  John Levon  <levon@movementarian.org>
8017
8018         * lyx_main.C: fix to the last fix
8019
8020 2003-03-31  John Levon  <levon@movementarian.org>
8021
8022         * bufferlist.C: "Load original" -> "Load Original"
8023
8024         * converter.C:
8025         * exporter.C:
8026         * importer.C:
8027         * lyx_main.C:
8028         * format.C: more Alert cleanups
8029
8030 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * text2.C (removeParagraph): make it take a RowList::iterator as
8033         arg, adjust.
8034         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8035         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8036
8037         * text.C (anchor_row): make it take a RowList::iterator as arg,
8038         adjust.
8039         (computeBidiTables): make it take a const reference to Row instead
8040         of Row pointer, adjust.
8041         (leftMargin): make it take a RowList::iterator as arg, adjust.
8042         (rowBreakPoint): adjust
8043         (breakAgainOneRow): make it take a RowList::iterator as arg,
8044         adjust.
8045         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8046
8047         * bufferview_funcs.C (toggleAndShow): adjust
8048
8049 2003-03-30  John Levon  <levon@movementarian.org>
8050
8051         * Makefile.am:
8052         * BoostFormat.h:
8053         * boost-inst.C: moved to support
8054
8055         * several files: changes as a result
8056
8057 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8058
8059         * text2.C (LyXText): adjust.
8060         (init): adjust
8061         (removeRow): make it take a RowList::iterator as arg, adjust.
8062         (fullRebreak): adjust
8063         (deleteEmptyParagraphMechanism): adjust
8064         (clearPaint): adjust
8065         (postPaint): adjust
8066
8067         * text.C (top_y): adjust
8068         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8069         (breakAgain): make it take a RowList::iterator as arg, adjust.
8070         (breakParagraph): adjust
8071         (insertChar): adjust
8072         (backspace): adjust
8073
8074         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8075         need_break_row, and refresh_row.
8076
8077         * text3.C (dispatch): adjust
8078
8079         * text2.C (checkParagraph): adjust
8080         (setCursor): adjust
8081         (setCursorFromCoordinates): adjust
8082
8083         * text.C (top_y): adjust
8084         (workWidth): adjust
8085         (getRow): make it return a RowList::iterator, adjust
8086         (getRowNearY): make it return a RowList::iterator, adjust
8087
8088         * text2.C (init): adjust
8089         (insertRow): remove function
8090         (insertParagraph): adjust
8091         (redoParagraphs): adjust
8092         (fullRebreak): adjust
8093         (updateCounters): adjust
8094
8095         * text.C (top_y): rewrite to use RowList iterators.
8096         (top_y): adjust
8097         (setHeightOfRow): rewrite to sue RowList iterators.
8098         (appendParagraph): adjust
8099         (breakAgain): adjust
8100         (breakAgainOneRow): adjust
8101         (breakParagraph): adjust
8102         (getRow): adjust
8103         (getRowNearY): adjust, and remove commented code.
8104
8105         * lyxtext.h (firstRow): delete function
8106         (lastRow): delete function
8107         (rows): new function (const and non-const versions.)
8108         (insertRow): delete function
8109
8110         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8111
8112 2003-03-29  John Levon  <levon@movementarian.org>
8113
8114         * BufferView_pimpl.C: always update scrollbar top
8115         because pasting text when we're anchored could mean we
8116         miss an update altogether
8117
8118 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * text2.C (init): use rowlist_.end() and not 0.
8121         (insertRow): change to take a RowList::iterator as arg, adjust
8122         for this.
8123         (insertParagraph): change to take a RowList::iterator as arg,
8124         adjust for this.
8125         (redoParagraphs): remove some debug msgs.
8126
8127         * text.C (appendParagraph): change to take a RowList::iterator
8128         arg, adjust for this.
8129         (breakAgain): add an assert
8130         (breakAgainOneRow): ditto
8131
8132 2003-03-29  John Levon  <levon@movementarian.org>
8133
8134         * text2.C: do not clear selection after inc/decDepth
8135         (bug 550)
8136
8137 2003-03-29  John Levon  <levon@movementarian.org>
8138
8139         * BufferView.C:
8140         * buffer.C: fix broken strerrors according to Lars
8141
8142 2003-03-29  John Levon  <levon@movementarian.org>
8143
8144         * converters.C: more Alert cleanups
8145
8146 2003-03-29  John Levon  <levon@movementarian.org>
8147
8148         * bufferview_funcs.C: remove pointless Alert
8149
8150         * buffer.C: fix confusing error message when
8151         a template is chmoded 000
8152
8153 2003-03-29  John Levon  <levon@movementarian.org>
8154
8155         * BufferView.C:
8156         * BufferView.h:
8157         * BufferView_pimpl.C: Alert fixes
8158
8159         * Makefile.am:
8160         * tabular.C:
8161         * tabular-old.C: remove unused table compat reading
8162
8163 2003-03-29  John Levon  <levon@movementarian.org>
8164
8165         * BufferView.C:
8166         * buffer.C:
8167         * lyx_cb.h:
8168         * lyx_cb.C: more Alert cleanups
8169
8170         * lyxfunc.C: don't allow chktex if not latex document
8171
8172 2003-03-29  John Levon  <levon@movementarian.org>
8173
8174         * lyx_cb.C:
8175         * BufferView.C:
8176         * buffer.C: warnings pushed down from support/,
8177         kill err_alert
8178
8179 2003-03-29  John Levon  <levon@movementarian.org>
8180
8181         * lyxfunc.C: safety check for C-r (revert)
8182
8183 2003-03-29  John Levon  <levon@movementarian.org>
8184
8185         * bufferlist.h:
8186         * bufferlist.C: several UI fixes using Alert::prompt.
8187         Fix the pointless looping quit code. Fix stupid revert
8188         behaviour (bug 938)
8189
8190         * lyxvc.h:
8191         * lyxvc.C:
8192         * lyx_cb.C: use Alert::prompt
8193
8194         * lyx_main.C: remove a silly question
8195
8196         * lyxfunc.C: remove a couple of silly questions,
8197         use Alert::prompt
8198
8199 2003-03-28  John Levon  <levon@movementarian.org>
8200
8201         * text2.C: fix bug 974 (End on empty par)
8202
8203 2003-03-28  John Levon  <levon@movementarian.org>
8204
8205         * BufferView_pimpl.C:
8206         * LyXAction.C:
8207         * lfuns.h: remove do-nothing math greek lfuns
8208
8209 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * lyxgluelength.h (isValidGlueLength): add default arg on
8212         parameter 2. Remove default arg from friend in class.
8213
8214         * lyxlength.h (isValidLength): add default arg on parameter 2.
8215         Remove default arg from friend in class.
8216
8217         * text2.C (LyXText): adjust, initialize refresh_row.
8218         (init): adjust
8219         (removeRow): adjust
8220         (insertRow): adjust
8221         (insertParagraph): adjst
8222         (redoParagraphs): adjust
8223         (fullRebreak): adjust
8224         (updateCounters): adjust
8225         (deleteEmptyParagraphMechanism): first attempt at fixing a
8226         crashing bug.
8227
8228         * text.C (top_y): adjust
8229         (setHeightOfRow): adjust
8230         (getRow): adjust
8231         (getRowNearY): adjust
8232
8233         * lyxtext.h: include RowList.h
8234         (~LyXText): not needed anymore, deleted.
8235         (firstRow): modify for RowList
8236         (lastRow): new function
8237         Delete firstrow and lastrow class variables, add a Rowlist
8238         rowlist_ class variable.
8239
8240         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8241         paragraph is empty.
8242
8243         * RowList.C (insert): fix case where it == begin().
8244
8245 2003-03-26  Angus Leeming  <leeming@lyx.org>
8246
8247         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8248         the thesaurus dialog.
8249
8250 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8253
8254         * RowList.[Ch]: new files
8255
8256         * ParagraphList.C (erase): handle the case where it == begin
8257         correctly.
8258
8259 2003-03-25  John Levon  <levon@movementarian.org>
8260
8261         * Makefile.am:
8262         * aspell_local.h:
8263         * aspell.C: add new aspell support
8264
8265         * lyxrc.h:
8266         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8267         have it accessible.
8268
8269 2003-03-25  Angus Leeming  <leeming@lyx.org>
8270
8271         * lfuns.h:
8272         * LyXAction.C (init): new LFUN_INSET_INSERT.
8273
8274         * BufferView_pimpl.C (dispatch): split out part of the
8275         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8276
8277         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8278         LFUN_INSET_APPLY.
8279
8280 2003-03-25  Angus Leeming  <leeming@lyx.org>
8281
8282         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8283
8284 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8285
8286         * text2.C:
8287         * text3.C: remove useless row->height(0)
8288
8289 2003-03-25  John Levon  <levon@movementarian.org>
8290
8291         * lyxtext.h:
8292         * text2.C:
8293         * text3.C: rename the refreshing stuff to better names
8294
8295 2003-03-24  John Levon  <levon@movementarian.org>
8296
8297         * BufferView_pimpl.h:
8298         * BufferView_pimpl.C: update layout choice on a mouse
8299         press/release
8300
8301 2003-03-23  John Levon  <levon@movementarian.org>
8302
8303         * Makefile.am: fix commandtags.h reference
8304
8305 2003-03-22  John Levon  <levon@movementarian.org>
8306
8307         * BufferView_pimpl.C:
8308         * lyxtext.h:
8309         * rowpainter.C:
8310         * rowpainter.h:
8311         * text.C:
8312         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8313
8314 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8315
8316         * lyxtext.h:
8317         * text.C: take the rtl methods out of line
8318
8319 2003-03-21 André Pönitz <poenitz@gmx.net>
8320
8321         * metricsinfo.[Ch]: new files containing structures to be passed around
8322         during the two-phase-drawing...
8323
8324 2003-03-21 André Pönitz <poenitz@gmx.net>
8325
8326         * lyxtextclass.C: read 'environment' tag.
8327
8328 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8329
8330         * text2.C (removeRow): fix bug 964
8331
8332 2003-03-20  John Levon  <levon@movementarian.org>
8333
8334         * rowpainter.C:
8335         * text.C:
8336         * text2.C: paint cleanups. Inset::update() dropped font
8337         parameter
8338
8339 2003-03-19  John Levon  <levon@movementarian.org>
8340
8341         * lyxfunc.C: only fitcursor/markDirty if available()
8342
8343 2003-03-19  John Levon  <levon@movementarian.org>
8344
8345         * commandtags.h: rename to ...
8346
8347         * lfuns.h: ... this, and renumber / cleanup
8348
8349 2003-03-19  John Levon  <levon@movementarian.org>
8350
8351         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8352         fit the cursor after an lfun
8353
8354         * BufferView.h:
8355         * BufferView.C:
8356         * BufferView_pimpl.h:
8357         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8358
8359         * LyXAction.C: layout-character should have ReadOnly
8360
8361         * ParagraphParameters.C:
8362         * buffer.C:
8363         * bufferview_funcs.C:
8364         * lyx_cb.C:
8365         * lyxfind.C:
8366         * lyxtext.h:
8367         * text.C:
8368         * text2.C:
8369         * text3.C:
8370         * undo_funcs.C: changes from above
8371
8372 2003-03-18  John Levon  <levon@movementarian.org>
8373
8374         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8375         remove it from update()
8376
8377         * lyxfunc.C: update layout choice after an lfun
8378
8379         * text3.C: remove extra updateLayoutChoice()s
8380
8381 2003-03-18  John Levon  <levon@movementarian.org>
8382
8383         * text.C: top_y change means full repaint, fix
8384         a drawing bug with cursor movement
8385
8386 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8387
8388         * lyxtext.h:
8389         * text.C:
8390         * text2.C: anchor row on setCursor
8391
8392 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8393
8394         * lyxtext.h: remove almost all mutable keywords
8395         * text.C:
8396         * text2.C:
8397         * text3.C: remove const keywords accordingly
8398
8399 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8402         anon namespace
8403         (TeXEnvironment): ditto
8404         (TeXOnePar): ditto
8405
8406 2003-03-17  John Levon  <levon@movementarian.org>
8407
8408         * text.C (rowBreakPoint): remove attempt to fix displayed
8409         math insets inside a manual label
8410
8411 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8412
8413         * lyxtext.h: remove BufferView* as first arg from almost all class
8414         functions.
8415         * other files: adjust.
8416
8417 2003-03-17  John Levon  <levon@movementarian.org>
8418
8419         * lyxtext.h:
8420         * undo_funcs.C:
8421         * text2.C: more paint cleanups
8422
8423         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8424
8425         * rowpainter.h:
8426         * rowpainter.C: remove "smart" background painting code
8427
8428 2003-03-16  John Levon  <levon@movementarian.org>
8429
8430         * lyxtext.h:
8431         * text.C:
8432         * text2.C:
8433         * text3.C: add helper functions for setting refresh_row/y
8434
8435 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8436
8437         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8438         newline inset which *can* get inserted in the pass_thru layouts.
8439         This is primarily for literate documents.
8440
8441 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * buffer.C: increment LYX_FORMAT to 223
8444
8445 2003-03-14 André Pönitz <poenitz@gmx.net>
8446
8447         * textclass.h: prepare for environment handling, ws changes
8448         * lyxlayout.C: read latexheader and latexfooter tags
8449
8450 2003-03-14  John Levon  <levon@movementarian.org>
8451
8452         * text2.C: rewrite ::status() a bit
8453
8454 2003-03-13  John Levon  <levon@movementarian.org>
8455
8456         * lyxtext.h: add some docs
8457
8458 2003-03-13  John Levon  <levon@movementarian.org>
8459
8460         * lyxtext.h:
8461         * text.C:
8462         * text2.C:
8463         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8464
8465 2003-03-13  John Levon  <levon@movementarian.org>
8466
8467         * text3.C: fix appendix redrawing
8468
8469 2003-03-13  John Levon  <levon@movementarian.org>
8470
8471         * text.C (setHeightOfRow):
8472         * rowpainter.h:
8473         * rowpainter.C: make appendix mark have the text
8474           "Appendix" so the user knows what it is
8475
8476         * LColor.h:
8477         * LColor.C: s/appendixline/appendix/ from above
8478
8479 2003-03-13  John Levon  <levon@movementarian.org>
8480
8481         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8482
8483         * text.C: fix a getChar(pos) bug properly
8484
8485 2003-03-13  Angus Leeming  <leeming@lyx.org>
8486
8487         * commandtags.h:
8488         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8489         Probably only temporary. Let's see how things pan out.
8490
8491         * BufferView.C (unlockInset):
8492         * BufferView_pimpl.C (fitCursor):
8493         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8494
8495         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8496         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8497
8498         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8499         new functions that convert ParagraphParameters to and from a string.
8500
8501         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8502         BufferView::Pimpl's dispatch.
8503         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8504
8505 2003-03-13 André Pönitz <poenitz@gmx.net>
8506
8507         * lyxfunc.C:
8508         * text3.C:
8509         * factory.C: make it aware of InsetEnv
8510
8511 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8512
8513         * text2.C (setCursor): never ask for one past last
8514         (setCursor): add some debugging messages.
8515
8516         * text.C (singleWidth): never ask for one past last
8517         (singleWidth): ditto
8518         (leftMargin): ditto
8519         (rightMargin): ditto
8520         (rowBreakPoint): ditto
8521         (setHeightOfRow): ditto
8522         (prepareToPrint): ditto
8523
8524         * rowpainter.C (paintBackground): never ask for one past last
8525         (paintText): never ask for one past last
8526
8527         * paragraph_pimpl.C (getChar): make the assert stricter, never
8528         allow the one past last pos to be taken
8529
8530         * paragraph.C (getChar): ws changes only
8531
8532         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8533         (numberOfSeparators): ditto
8534         (numberOfHfills): ditto
8535
8536 2003-03-12  John Levon  <levon@movementarian.org>
8537
8538         * author.h:
8539         * author.C:
8540         * bufferparams.h:
8541         * bufferparams.C:
8542         * paragraph_funcs.C: fix per-buffer authorlists
8543
8544 2003-03-12  John Levon  <levon@movementarian.org>
8545
8546         * text.C: fix newline in right address
8547
8548 2003-03-12  Angus Leeming  <leeming@lyx.org>
8549
8550         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8551         duplicate those in LyXFunc::dispatch.
8552
8553         * commandtags.h:
8554         * LyXAction.C:
8555         * ToolbarDefaults.C:
8556         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8557         Add LFUN_FONTFREE_UPDATE.
8558
8559         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8560         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8561
8562         * bufferview_func.[Ch]: several new functions to facilliate
8563         transfer of data to and from the character dialog.
8564
8565 2003-03-12  John Levon  <levon@movementarian.org>
8566
8567         * buffer.C:
8568         * paragraph.h:
8569         * paragraph.C:
8570         * paragraph_funcs.C:
8571         * paragraph_pimpl.C:
8572         * sgml.C:
8573         * tabular.C:
8574         * text.C:
8575         * text3.C: remove META_NEWLINE in favour of an inset
8576
8577         * rowpainter.h:
8578         * rowpainter.C: remove paintNewline (done by inset)
8579
8580 2003-03-12  John Levon  <levon@movementarian.org>
8581
8582         * paragraph_pimpl.C: complain about bad getChar()s
8583         for a while at least
8584
8585 2003-03-12  John Levon  <levon@movementarian.org>
8586
8587         * buffer.h:
8588         * buffer.C: move paragraph read into a separate function,
8589         a little renaming to reflect that.
8590
8591         * bufferparams.h:
8592         * bufferparams.C: remove the author_ids map, not necessary now
8593
8594         * factory.h:
8595         * factory.C: moved Buffer::readInset to here
8596
8597         * paragraph_funcs.h:
8598         * paragraph_funcs.C: readParagraph free function moved from
8599         buffer.C
8600
8601         * tabular.C: name change
8602
8603 2003-03-12  John Levon  <levon@movementarian.org>
8604
8605         * buffer.C:
8606         * ParagraphParameters.C: move par params input to
8607         a read() method
8608
8609         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8610         behave like a normal read from the stream wrt reading
8611         a line vs. a \\token
8612
8613 2003-03-12  John Levon  <levon@movementarian.org>
8614
8615         * paragraph.C:
8616         * ParagraphParameters.h:
8617         * ParagraphParameters.C: move output code to a
8618         ::write() method
8619
8620 2003-03-12  John Levon  <levon@movementarian.org>
8621
8622         * BufferView.C (insertLyXFile):
8623         * buffer.h:
8624         * buffer.C:
8625         * tabular.C: use a parlist iterator for creating the
8626           document.
8627
8628 2003-03-12  John Levon  <levon@movementarian.org>
8629
8630         * buffer.C: make current_change static local not
8631           static file-scope
8632
8633 2003-03-12  John Levon  <levon@movementarian.org>
8634
8635         * buffer.C: fix insertStringAsLines for change tracking
8636
8637 2003-03-12  John Levon  <levon@movementarian.org>
8638
8639         * BufferView.C:
8640         * tabular.C:
8641         * buffer.h:
8642         * buffer.C:
8643         * bufferparams.h:
8644         * bufferparams.C: move author list into params. Rename some
8645           functions. Move the header reading into a separate token
8646           loop. Move the header token reading into BufferParams.
8647
8648 2003-03-12  John Levon  <levon@movementarian.org>
8649
8650         * changes.C: put debug inside lyxerr.debugging() checks
8651
8652 2003-03-11 André Pönitz <poenitz@gmx.net>
8653
8654         * factory.C: make it aware of InsetHFill
8655
8656 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8657
8658         * buffer.C (latexParagraphs): move function from here...
8659         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8660         args.
8661
8662 2003-03-10  Angus Leeming  <leeming@lyx.org>
8663
8664         * LyXAction.C (init): fix bug in poplating array with multiple entries
8665         with the same LFUN (spotted by JMarc).
8666
8667 2003-03-10  John Levon  <levon@movementarian.org>
8668
8669         * text.C:
8670         * text2.C: move getColumnNearX() near its
8671         only call site
8672
8673 2003-03-10  John Levon  <levon@movementarian.org>
8674
8675         * text.C: fix break before a minipage
8676
8677 2003-03-10  John Levon  <levon@movementarian.org>
8678
8679         * text.C: fix the last commit
8680
8681 2003-03-09  John Levon  <levon@movementarian.org>
8682
8683         * lyxtext.h:
8684         * text.C:
8685         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8686         bug 365 (don't break before insets unless needed). Don't
8687         return a value > last under any circumstances.
8688
8689 2003-03-09  Angus Leeming  <leeming@lyx.org>
8690
8691         * BufferView_pimpl.C (trackChanges, dispatch): call
8692         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8693
8694 2003-03-09  Angus Leeming  <leeming@lyx.org>
8695
8696         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8697         than Dialogs::showAboutlyx().
8698
8699 2003-03-09  Angus Leeming  <leeming@lyx.org>
8700
8701         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8702         than Dialogs::showTabularCreate().
8703
8704 2003-03-09  John Levon  <levon@movementarian.org>
8705
8706         * lyxtext.h:
8707         * text.C:
8708         * text2.C: 3rd arg to nextBreakPoint was always the same.
8709           Use references.
8710
8711 2003-03-08  John Levon  <levon@movementarian.org>
8712
8713         * lyxrow.C:
8714         * paragraph.C:
8715         * paragraph.h:
8716         * rowpainter.C:
8717         * text.C:
8718         * text2.C: Remove the "main" bit from the "main body"
8719           notion.
8720
8721 2003-03-08  John Levon  <levon@movementarian.org>
8722
8723         * text.C (leftMargin): The left margin of an empty
8724         manual label paragraph should not include the label width
8725         string length.
8726
8727         * text.C (prepareToPrint): don't attempt to measure hfills
8728         for empty manual label paragraphs - the answer should be 0
8729
8730 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8731
8732         * CutAndPaste.C: remove commented code and reindent.
8733
8734 2003-03-08  John Levon  <levon@movementarian.org>
8735
8736         * lyxfunc.h:
8737         * lyxfunc.C: move reloadBuffer()
8738
8739         * BufferView.h:
8740         * BufferView.C: to here
8741
8742         * lyxvc.C: add comment
8743
8744         * vc-backend.h:
8745         * vc-backend.C: call bv->reload() to avoid
8746           getStatus() check on MENURELOAD
8747
8748 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8749
8750         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8751         to an old format .dep file.
8752
8753 2003-03-07  Angus Leeming  <leeming@lyx.org>
8754
8755         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8756         when the LFUN_MOUSE_RELEASE should have been handled by
8757         inset->localDispatch.
8758
8759 2003-03-07  Angus Leeming  <leeming@lyx.org>
8760
8761         * BufferView_pimpl.C (dispatch):
8762         * LyXAction.C (init):
8763         * ToolbarDefaults.C (init):
8764         * commandtags.h:
8765         * lyxfunc.C (getStatus):
8766         remove LFUN_INSET_GRAPHICS.
8767
8768         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8769
8770 2003-03-07  Angus Leeming  <leeming@lyx.org>
8771
8772         * commandtags.h:
8773         * LyXAction.C (init):
8774         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8775
8776         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8777
8778         * commandtags.h:
8779         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8780
8781         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8782         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8783
8784 2003-03-07  Angus Leeming  <leeming@lyx.org>
8785
8786         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8787         remove "ert".
8788
8789 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8790
8791         * ParagraphList.C (front): new function
8792         (back): implement
8793
8794 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8795
8796         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8797         and top_row_offset_. removed var first_y.
8798         * text.C (top_y):
8799         * text2.C (LyXText, removeRow):
8800         * text3.C:
8801         * BufferView_pimpl.C:
8802         use these methods instead of using first_y
8803
8804 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * text2.C (pasteSelection): adjust for checkPastePossible
8807
8808         * CutAndPaste.C: remove Paragraph * buf and replace with
8809         ParagraphList paragraphs.
8810         (DeleteBuffer): delete
8811         (cutSelection): change the tc type to textclass_type
8812         (copySelection): change the tc type to textclass_type
8813         (copySelection): adjust for ParagraphList
8814         (pasteSelection): change the tc type to textclass_type
8815         (pasteSelection): adjust for Paragraphlist
8816         (nrOfParagraphs): simplify for ParagraphList
8817         (checkPastePossible): simplify for ParagraphList
8818         (checkPastePossible): remove unused arg
8819
8820         * ParagraphList.C (insert): handle the case where there are no
8821         paragraphs yet.
8822
8823         * CutAndPaste.h: make CutAndPaste a namespace.
8824
8825         * text3.C (dispatch): adjust
8826
8827         * text.C (breakParagraph): add a ParagraphList as arg
8828
8829         * paragraph_funcs.C (breakParagraph): change to take a
8830         BufferParams and a ParagraphList as args.
8831         (breakParagraphConservative): ditto
8832         (mergeParagraph): ditto
8833         (TeXDeeper): add a ParagraphList arg
8834         (TeXEnvironment): ditto
8835         (TeXOnePar): ditto
8836
8837         * buffer.C (readLyXformat2): adjust
8838         (insertStringAsLines): adjust
8839         (latexParagraphs): adjust
8840
8841         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8842         (cutSelection): adjust
8843         (pasteSelection): adjust
8844
8845         * BufferView_pimpl.C (insertInset): adjust
8846
8847 2003-03-05  Angus Leeming  <leeming@lyx.org>
8848
8849         * commandtags.h:
8850         * LyXAction.C (init):
8851         * BufferView_pimpl.C (dispatch):
8852         * lyxfunc.C (getStatus):
8853         remove LFUN_CHILD_INSERT.
8854
8855         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8856
8857 2003-03-05  Angus Leeming  <leeming@lyx.org>
8858
8859         * commandtags.h:
8860         * LyXAction.C (init):
8861         * src/factory.C (createInset):
8862         * lyxfunc.C (getStatus):
8863         * text3.C (dispatch):
8864         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8865
8866         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8867
8868 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8869
8870         * ParagraphList.C (insert): handle insert right before end()
8871         (erase): fix cases where it can be first or last paragraph.
8872
8873 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8876         Paragraph::next and Paragraph::previous
8877         (TeXOnePar): ditto
8878
8879         * text.C (breakParagraph): adjust
8880
8881         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8882         BufferParams& as arg.
8883         (breakParagraph): use ParagraphList::insert
8884         (breakParagraphConservative): take a Buffer* instead of a
8885         BufferParams& as arg.
8886         (breakParagraphConservative): use ParagraphList::insert.
8887
8888         * buffer.C (insertStringAsLines): un-const it
8889         (insertStringAsLines): adjust
8890
8891         * ParagraphList.C (insert): new function
8892
8893         * CutAndPaste.C (pasteSelection): adjust
8894
8895         * text.C (backspace): adjust
8896
8897         * tabular.C (SetMultiColumn): adjust
8898
8899         * CutAndPaste.C (cutSelection): adjust
8900         (pasteSelection): adjust
8901
8902         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8903         Buffer const * as arg
8904
8905         * ParagraphList.C (erase): new function
8906         * paragraph_funcs.C (mergeParagraph): use it
8907         (mergeParagraph): make it take a Buffer* instead of a
8908         BufferParams* as arg
8909
8910         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8911         as arg
8912         (breakParagraphConservative): ditto
8913
8914         * paragraph.h: remove the breakParagraph friend
8915
8916         * paragraph.C (eraseIntern): new function
8917         (setChange): new function
8918
8919         * paragraph_funcs.C (mergeParagraph): make it take a
8920         ParagraphList::iterator instead of a Paragraph *, adjust
8921         accordingly.
8922
8923         * paragraph.h: move an #endif so that the change tracking stuff
8924         also works in the NO_NEXT case.
8925
8926 2003-03-04  Angus Leeming  <leeming@lyx.org>
8927
8928         * commandtags.h:
8929         * LyXAction.C: new LFUN_INSET_MODIFY.
8930
8931         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8932         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8933
8934 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8935
8936         * several files: ws changes only
8937
8938         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8939         (TeXEnvironment): ditto
8940         (TeXDeeper): ditto
8941
8942         * buffer.C (makeLaTeXFile): adjust
8943         (latexParagraphs): make it take ParagraphList::iterator as args
8944
8945 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * buffer.C (latexParagraphs): adjust
8948
8949         * paragraph.C (TeXOnePar): move function...
8950         (optArgInset): move function...
8951         (TeXEnvironment): move function...
8952         * paragraph_pimpl.C (TeXDeeper): move function...
8953         * paragraph_funcs.C: ...here
8954
8955         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8956
8957 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8958
8959         * buffer.C (readInset): remove compability code for old Figure and
8960         InsetInfo insets
8961
8962 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8963
8964         * buffer.C: ws changes
8965         (readInset):
8966
8967         * BufferView_pimpl.C: ditto
8968         * author.C: ditto
8969         * buffer.h: ditto
8970         * bufferlist.h: ditto
8971         * changes.h: ditto
8972         * lyxfunc.C: ditto
8973
8974 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8975
8976         * converter.[Ch]: split into itself +
8977         * graph.[Ch]
8978         * format.[Ch]
8979         * Makefile.am: += graph.[Ch] + format.[Ch]
8980         * MenuBackend.C
8981         * buffer.C
8982         * exporter.C
8983         * importer.C
8984         * lyx_main.C
8985         * lyxfunc.C
8986         * lyxrc.C: added #include "format.h"
8987
8988 2003-02-27  Angus Leeming  <leeming@lyx.org>
8989
8990         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8991           a label.
8992
8993         * factory.C (createInset): add "label" to the factory.
8994
8995         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8996           string and do no more.
8997
8998 2003-02-27  Angus Leeming  <leeming@lyx.org>
8999
9000         * commandtags.h:
9001         * LyXAction.C (init):
9002         * factory.C (createInset):
9003         * BufferView_pimpl.C (dispatch):
9004           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9005
9006         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9007
9008         * lyxfunc.C (dispatch):
9009         * text3.C (dispatch): pass name to params2string.
9010
9011 2003-02-26  Angus Leeming  <leeming@lyx.org>
9012
9013         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9014           blocks together.
9015           Rearrange the ~includes. Strip out the unnecessary ones.
9016
9017         * factory.C (createInset): reformat.
9018           create new insets for the various LFUN_XYZ_APPLY lfuns.
9019
9020 2003-02-26  John Levon  <levon@movementarian.org>
9021
9022         * lyxrow.h:
9023         * lyxrow.C: add isParStart,isParEnd helpers
9024
9025         * paragraph.h: make isInserted/DeletedText take refs
9026
9027         * paragraph_funcs.h:
9028         * paragraph_funcs.C: remove #if 0'd code
9029
9030         * lyxtext.h:
9031         * text3.C:
9032         * text2.C:
9033         * text.C: use lyxrow helpers above.
9034           Move draw and paint routines to RowPainter.
9035           Make several methods use refs not pointers.
9036           Make backgroundColor() const.
9037           Add markChangeInDraw(), isInInset().
9038           Merge changeRegionCase into changeCase.
9039           Make workWidth() shouldn't-happen code into an Assert.
9040
9041         * rowpainter.h:
9042         * rowpainter.C: new class for painting a row.
9043
9044         * vspace.h:
9045         * vspace.C: make inPixels take a ref
9046
9047 2003-02-26  Angus Leeming  <leeming@lyx.org>
9048
9049         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9050         LFUN_REF_APPLY.
9051
9052 2003-02-25  John Levon  <levon@movementarian.org>
9053
9054         * ispell.C: give the forked command a more accurate name
9055
9056 2003-02-22  John Levon  <levon@movementarian.org>
9057
9058         * toc.h:
9059         * toc.C: make TocItem store an id not a Paragraph *
9060           (bug #913)
9061
9062 2003-02-21  Angus Leeming  <leeming@lyx.org>
9063
9064         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9065           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9066           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9067           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9068           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9069           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9070
9071         * BufferView_pimpl.C (dispatch):
9072         * LyXAction.C (init):
9073         * factory.C (createInset):
9074         * lyxfunc.C (getStatus, dispatch):
9075         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9076
9077 2003-02-21  Angus Leeming  <leeming@lyx.org>
9078
9079         * BufferView_pimpl.C (MenuInsertLyXFile):
9080         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9081         * lyxfunc.C (menuNew, open, doImport):
9082           no longer pass a LyXView & to fileDlg.
9083
9084 2003-02-21  Angus Leeming  <leeming@lyx.org>
9085
9086         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9087         * LyXAction.C: change, BIBKEY to BIBITEM.
9088         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9089         Change InsetBibKey to InsetBibitem.
9090         Change BIBKEY_CODE to BIBITEM_CODE.
9091         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9092         * factory.C: replace insetbib.h with insetbibitem.h.
9093         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9094         * paragraph.C: replace insetbib.h with insetbibitem.h.
9095         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9096         Change bibkey() to bibitem().
9097         * text.C: remove insetbib.h.
9098         * text2.C: replace insetbib.h with insetbibitem.h.
9099         change bibkey() to bibitem().
9100         * text3.C: remove insetbib.h.
9101         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9102
9103 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9104
9105         * lyxrc.C (output): enclose user email in quotes (in case there are
9106         several words)
9107
9108 2003-02-18  John Levon  <levon@movementarian.org>
9109
9110         * buffer.h: add std::
9111
9112 2003-02-17  John Levon  <levon@movementarian.org>
9113
9114         * SpellBase.h:
9115         * ispell.h:
9116         * ispell.C:
9117         * pspell.h:
9118         * pspell.C: reworking. Especially in ispell, a large
9119           number of clean ups and bug fixes.
9120
9121         * lyxfunc.C: fix revert to behave sensibly
9122
9123 2003-02-17 André Pönitz <poenitz@gmx.net>
9124
9125         * LyXAction.C:
9126         * commandtags.h: new LFUN_INSERT_BIBKEY
9127
9128         * layout.h:
9129         * lyxlayout.C:
9130         * buffer.C:
9131         * factory.C:
9132         * text.C:
9133         * text2.C:
9134         * text3.C:
9135         * paragraph.[Ch]:
9136         * paragraph_func.C: remove special bibkey handling
9137
9138 2003-02-17  John Levon  <levon@movementarian.org>
9139
9140         * text.C (Delete): fix case where delete at the end of
9141           the very first paragraph would not merge the pars
9142
9143 2003-02-17  John Levon  <levon@movementarian.org>
9144
9145         * lyxrow.C: fix lastPrintablePos()
9146
9147 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9148
9149         * bufferparams.C (writeLaTeX): add a std:here
9150
9151         * buffer.C: and remove a using directive there
9152
9153 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9154
9155         * buffer.C (makeLaTeXFile): move the code that generates the
9156           preamble...
9157
9158         * bufferparams.C (writeLaTeX): ... in this new method
9159
9160         * LaTeXFeatures.C (getEncodingSet): make const
9161           (getLanguages): make const
9162
9163         * MenuBackend.C (binding): returns the binding associated to this
9164           action
9165           (add): sets the status of each item by calling getStatus. Adds
9166           some intelligence.
9167           (read): add support for OptSubMenu
9168           (expand): remove extra separator at the end of expanded menu
9169
9170 2003-02-15  John Levon  <levon@movementarian.org>
9171
9172         * BufferView.C:
9173         * BufferView_pimpl.C:
9174         * bufferlist.h:
9175         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9176           inset code that had no actual effect. Remove unneeded status
9177           code.
9178
9179 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9182           in preamble
9183
9184 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9185
9186         * text.C (drawLengthMarker): also draw an arrow marker for
9187           symbolic lengths (medskip...)
9188
9189 2003-02-14  John Levon  <levon@movementarian.org>
9190
9191         * tabular.h:
9192         * tabular.C: better method names
9193
9194 2003-02-14  John Levon  <levon@movementarian.org>
9195
9196         * BufferView_pimpl.C:
9197         * bufferlist.C:
9198         * buffer.C:
9199         * converter.C:
9200         * lyx_cb.C:
9201         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9202           it's a more accurate name. Remove some pointless uses.
9203
9204 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9205
9206         * text2.C (LyXText): change order of initilizers to shut off
9207           warnings
9208
9209 2003-02-14  John Levon  <levon@movementarian.org>
9210
9211         * buffer.C: use ParIterator for getParFromID()
9212
9213         * paragraph.h:
9214         * paragraph.C:
9215         * paragraph_pimpl.h:
9216         * paragraph_pimpl.C: remove unused getParFromID()
9217
9218 2003-02-14  John Levon  <levon@movementarian.org>
9219
9220         * buffer.C: remove some very old #if 0'd parse code
9221
9222 2003-02-13  John Levon  <levon@movementarian.org>
9223
9224         * text.h:
9225         * text.C:
9226         * text2.C: move hfillExpansion(), numberOfSeparators(),
9227           rowLast(), rowLastPrintable(), numberofHfills(),
9228           numberOfLabelHfills() ...
9229
9230         * lyxrow.h:
9231         * lyxrow.C: ... to member functions here.
9232
9233         * paragraph.h:
9234         * paragraph.C:
9235         * lyxtext.h:
9236         * text.C: remove LyXText::beginningOfMainBody(), and call
9237           p->beginningOfMainBody() directly. Move the check for
9238           LABEL_MANUAL into the latter.
9239
9240         * text.h:
9241         * text.C:
9242         * text2.C:
9243         * vspace.C:
9244         * BufferView.h:
9245         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9246
9247         * text.h:
9248         * text.C:
9249         * text2.C:
9250         * text3.C:
9251         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9252           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9253
9254 2003-02-13  John Levon  <levon@movementarian.org>
9255
9256         * CutAndPaste.C: remove debug
9257
9258 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9259
9260         * paragraph.C (asString): remove two unused variables
9261
9262         * lyxtextclass.C (readTitleType):
9263           (Read):
9264           (LyXTextClass): handle new members titletype_ and titlename_
9265
9266         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9267
9268 2003-02-09  John Levon  <levon@movementarian.org>
9269
9270         * buffer.h:
9271         * buffer.C: replace hand-coded list with a map for the dep clean
9272
9273 2003-02-08  John Levon  <levon@movementarian.org>
9274
9275         * LaTeX.C: consolidate code into showRunMessage() helper
9276
9277 2003-02-08  John Levon  <levon@movementarian.org>
9278
9279         * lyxfind.C:
9280         * lyxtext.h:
9281         * text2.C:
9282         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9283           and pass the size in explicitly
9284
9285         * BufferView_pimpl.h:
9286         * BufferView_pimpl.C:
9287         * BufferView.h:
9288         * BufferView.C: add getCurrentChange()
9289
9290         * BufferView_pimpl.h:
9291         * BufferView_pimpl.C: handle change lfuns
9292
9293         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9294           for changes. Mark pasted paragraphs as new.
9295
9296         * support/lyxtime.h:
9297         * support/lyxtime.C:
9298         * DepTable.C: abstract time_t as lyx::time_type
9299
9300         * LColor.h:
9301         * LColor.C: add colours for new text, deleted text, changebars
9302
9303         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9304           package use "usenames" option.
9305
9306         * commandtags.h:
9307         * lyxfunc.C:
9308         * LyXAction.C: add change lfuns
9309
9310         * Makefile.am:
9311         * author.h:
9312         * author.C: author handling
9313
9314         * buffer.h:
9315         * buffer.C: add a per-buffer author list, with first entry as
9316           current author. Handle new .lyx tokens for change tracking. Output
9317           author list to .lyx file. Output dvipost stuff to .tex preamble.
9318           Bump lyx format to 222.
9319
9320         * bufferlist.h:
9321         * bufferlist.C: add setCurrentAuthor() to reset current author details
9322           in all buffers.
9323
9324         * bufferparams.h:
9325         * bufferparams.C: add param for tracking
9326
9327         * bufferview_funcs.C: output change info in minibuffer
9328
9329         * Makefile.am:
9330         * changes.h:
9331         * changes.C: add change-tracking structure
9332
9333         * debug.h:
9334         * debug.C: add CHANGES debug flag
9335
9336         * lyxfind.h:
9337         * lyxfind.C: add code for finding the next change piece
9338
9339         * lyxrc.h:
9340         * lyxrc.C: add user_name and user_email
9341
9342         * lyxrow.h:
9343         * lyxrow.C: add a metric for the top of the text line
9344
9345         * lyxtext.h:
9346         * text.C: implement accept/rejectChange()
9347
9348         * lyxtext.h:
9349         * text.C: paint changebars. Paint new/deleted text in the chosen
9350         colours. Strike through deleted text.
9351
9352         * paragraph.h:
9353         * paragraph.C:
9354         * paragraph_pimpl.h:
9355         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9356           in the current change to the insert functions. Rework erase to
9357           mark text as deleted, adding an eraseIntern() and a range-based
9358           erase(). Implement per-paragraph change lookup and
9359           accept/reject.
9360
9361         * paragraph_funcs.C: Fixup paste for change tracking.
9362
9363         * tabular.C: mark added row/columns as new.
9364
9365         * text.C: fix rowLast() to never return -1. Don't allow
9366           spellchecking of deleted text. Track transpose changes. Don't
9367           allow paragraph break or merge where appropriate.
9368
9369         * text2.C: leave cursor at end of selection after a cut.
9370
9371 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9372
9373         * text.C (getLengthMarkerHeight):
9374         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9375         visible on screen too.
9376
9377 2003-02-07  John Levon  <levon@movementarian.org>
9378
9379         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9380
9381 2003-02-05  Angus Leeming  <leeming@lyx.org>
9382
9383         * lyxserver.C (read_ready): revert my patch of 11 September last year
9384         as it sends PC cpu through the roof. Presumably this means that
9385         the lyxserver will no longer run on an Alpha...
9386
9387 2003-01-30  Angus Leeming  <leeming@lyx.org>
9388
9389         * factory.C (createInset): create an InsetCommandParam of type "index"
9390         and use it to 'do the right thing'.
9391
9392         * text2.C (getStringToIndex): ensure that cursor position is always
9393         reset to the reset_cursor position.
9394
9395 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9396
9397         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9398         disabled.
9399
9400 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9401
9402         * bufferview.C:
9403         * lyxcb.C:
9404         * lyxfunc.C: Output messages with identical spelling, punctuation,
9405         and spaces
9406
9407 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9408
9409         * MenuBackend.C (expandFormats): List only viewable export formats
9410         in "View" menu
9411
9412         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9413         message
9414
9415         * lyxfunc.C (getStatus): Make sure that formats other than
9416         "fax" can also be disabled
9417
9418 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9419
9420         * text3.C (dispatch): put the lfuns that insert insets in 3
9421         groups, and call doInsertInset with appropriate arguments.
9422         (doInsertInset): new function, that creates an inset and inserts
9423         it according to some boolean parameters.
9424
9425 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9426
9427         * buffer.C (readFile): remember to pass on 'par' when calling
9428         readFile recursively.
9429
9430 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9431
9432         * MenuBackend.C (expandFormats): add "..." to import formats.
9433
9434 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9435
9436         * paragraph.C (asString): Remove XForms RTL hacks.
9437
9438 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9439         * buffer.C: fix typo
9440
9441 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9442
9443         * Makefile.am (LIBS): delete var
9444         (lyx_LDADD): add @LIBS@ here instead.
9445
9446 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9447
9448         * Clarify the meaning of "wheel mouse jump"
9449
9450 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9451
9452         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9453         tabular in a float
9454
9455 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9456
9457         * importer.C (Loaders): do not preallocate 3 elements in the
9458         vector, since one ends up with 6 elements otherwise
9459
9460 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9461
9462         * DepTable.C (write): write the file name as last element of the
9463         .dep file (because it may contain spaces)
9464         (read): read info in the right order
9465
9466 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9467
9468         * paragraph_pimpl.C (simpleTeXBlanks):
9469         (simpleTeXSpecialChars):
9470         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9471
9472         * tabular.C (latex): add some missing case statements. Reindent.
9473
9474         * MenuBackend.C (expandToc): remove unused variable.
9475
9476 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9477
9478         * LColor.C:
9479         * LaTeX.C:
9480         * LyXAction.C:
9481         * MenuBackend.C:
9482         * buffer.C:
9483         * exporter.C:
9484         * lyxfunc.C:
9485         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9486         and the like.
9487
9488 2003-01-05  John Levon  <levon@movementarian.org>
9489
9490         * BufferView.h:
9491         * BufferView.C: add getEncoding()
9492
9493         * kbsequence.h:
9494         * kbsequence.C: do not store last keypress
9495
9496         * lyxfunc.h:
9497         * lyxfunc.C: store last keypress here instead. Pass encoding
9498           to getISOEncoded()
9499
9500 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * lyx_main.C (init): remove annoying error message when following
9503         symbolic links (bug #780)
9504
9505 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9506
9507         * text.C (insertChar):
9508         * lyxrc.C (getDescription): remove extra spaces
9509
9510 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9511
9512         * lyxrc.C (getDescription): remove extra spaces
9513
9514 2002-12-20  John Levon  <levon@movementarian.org>
9515
9516         * text3.C: hack fix for page up/down across tall rows
9517
9518 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9519
9520         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9521         not been invoked
9522
9523 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9524
9525         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9526         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9527         thesaurus is not compiled in
9528
9529 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9530
9531         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9532
9533 2002-12-16  Angus Leeming  <leeming@lyx.org>
9534
9535         * lyxrc.[Ch]:
9536         * lyx_main.C (init): remove override_x_deadkeys stuff.
9537
9538 2002-12-12  John Levon  <levon@movementarian.org>
9539
9540         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9541           insert. Only remove shift modifier under strict
9542           circumstances.
9543
9544 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9545
9546         * MenuBackend.C (expandToc): fix crash.
9547
9548 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9549
9550         * MenuBackend.C (expandToc): gettext on float names.
9551
9552 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9553
9554         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9555         implement bool empty() [bug 490]
9556
9557 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9558
9559         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9560
9561 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9562
9563         * several files: ws changes
9564
9565 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9566
9567         * text2.C (setCounter): clean up a bit, use boost.format.
9568         (updateCounters): initialize par upon declaration.
9569
9570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9571         if the layout exists. We do not just store the layout any more.
9572         (SwitchLayoutsBetweenClasses): use boost.format
9573
9574 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * converter.C (convert): if from and to files are the same, use a
9577         temporary files as intermediary
9578
9579 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9580
9581         * commandtags.h:
9582         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9583
9584 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9587
9588 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9589
9590         * tabular.C (asciiPrintCell): use string(size, char) instead of
9591         explicit loop.
9592
9593         * sgml.C (openTag): fix order of arguments to string constructor
9594         (closeTag): ditto
9595
9596         * lyxfunc.C (dispatch): use boost.format
9597
9598         * lots of files: change "c" -> 'c'
9599
9600 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9601
9602         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9603
9604 2002-11-25  Angus Leeming  <leeming@lyx.org>
9605
9606         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9607
9608         * lyx_main.C (init): compile fix.
9609
9610 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9611
9612         * lyx_cb.C (start): boost.formatify
9613         do not include <iostream>
9614
9615         * lengthcommon.C: ws only
9616
9617         * boost-inst.C,BoostFormat.h: add more explict instantations
9618
9619 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9620
9621         * lots of files: handle USE_BOOST_FORMAT
9622
9623 2002-11-21  John Levon  <levon@movementarian.org>
9624
9625         * pspell.C: fix compile
9626
9627 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9628
9629         * lyxfunc.C (dispatch): use boost::format
9630         (open): ditto
9631         (doImport): ditto
9632
9633         * lyxfont.C (stateText): use boost::format
9634
9635         * lyx_main.C (LyX): use boost::format
9636         (init): ditto
9637         (queryUserLyXDir): ditto
9638         (readRcFile): ditto
9639         (parse_dbg): ditto
9640         (typedef boost::function): use the recommened syntax.
9641
9642         * importer.C (Import): use boost::format
9643
9644         * debug.C (showLevel): use boost::format
9645
9646         * converter.C (view): use boost::format
9647         (convert): ditto
9648         (move): ditto
9649         (scanLog): ditto
9650
9651         * bufferview_funcs.C (currentState): use boost::format
9652
9653         * bufferlist.C (emergencyWrite): use boost::format
9654
9655         * buffer.C (readLyXformat2): use boost::format
9656         (parseSingleLyXformat2Token): ditto
9657
9658         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9659
9660         * LaTeX.C (run): use boost::format
9661
9662         * Chktex.C (scanLogFile): use boost::format
9663
9664         * BufferView_pimpl.C (savePosition): use boost::format
9665         (restorePosition): ditto
9666         (MenuInsertLyXFile): ditto
9667
9668         * BoostFormat.h: help file for explicit instation.
9669
9670 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * tabular.C (latex): Support for block alignment in fixed width
9673         columns.
9674
9675 2002-11-17  John Levon  <levon@movementarian.org>
9676
9677         * BufferView_pimpl.C:
9678         * lyx_cb.C:
9679         * lyxfunc.C: split filedialog into open/save
9680
9681 2002-11-08  Juergen Vigna  <jug@sad.it>
9682
9683         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9684         by my last patch (hopefully).
9685
9686 2002-11-08  John Levon  <levon@movementarian.org>
9687
9688         * iterators.h:
9689         * iterators.C:
9690         * buffer.h:
9691         * buffer.C:
9692         * paragraph.h:
9693         * paragraph.C:
9694         * toc.h:
9695         * toc.C: ParConstIterator, and use it (from Lars)
9696
9697 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9698
9699         * lyxtextclass.[Ch]: revise and add doxygen comments
9700
9701 2002-11-07  John Levon  <levon@movementarian.org>
9702
9703         * text.C: fix progress value for spellchecker
9704
9705         * toc.C: fix navigate menu for insetwrap inside minipage
9706
9707         * paragraph_funcs.C: added FIXME for suspect code
9708
9709 2002-11-07  John Levon  <levon@movementarian.org>
9710
9711         * BufferView_pimpl.C: fix redrawing of insets
9712           on buffer switch
9713
9714 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * text2.C (updateCounters): fix bug 668
9717
9718 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9719
9720         * text3.C (dispatch): Do not make the buffer dirty when moving the
9721         cursor.
9722
9723 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9724
9725         * vc-backend.C: STRCONV
9726         (scanMaster): ditto
9727
9728         * text2.C (setCounter): STRCONV
9729
9730         * paragraph.C (asString): STRCONV
9731
9732         * lyxlength.C (asString): STRCONV
9733         (asLatexString): ditto
9734
9735         * lyxgluelength.C (asString): STRCONV
9736         (asLatexString): ditto
9737
9738         * lyxfunc.C (dispatch): STRCONV
9739         (open): ditto
9740
9741         * lyxfont.C (stateText): STRCONV
9742
9743         * importer.C (Import): STRCONV
9744
9745         * counters.C (labelItem): STRCONV
9746         (numberLabel): ditto
9747         (numberLabel): remove unused ostringstream o
9748
9749         * chset.C: STRCONV
9750         (loadFile): ditto
9751
9752         * bufferview_funcs.C (currentState): STRCONV
9753
9754         * buffer.C (readFile): STRCONV
9755         (asciiParagraph): ditto
9756         (makeLaTeXFile): ditto
9757
9758         * Spacing.C (writeEnvirBegin): STRCONV
9759
9760         * LaTeXFeatures.C (getLanguages): STRCONV
9761         (getPackages): ditto
9762         (getMacros): ditto
9763         (getBabelOptions): ditto
9764         (getTClassPreamble): ditto
9765         (getLyXSGMLEntities): ditto
9766         (getIncludedFiles): ditto
9767
9768         * LaTeX.C: STRCONV
9769         (run): ditto
9770         (scanAuxFile): ditto
9771         (deplog): ditto
9772
9773         * LString.h: add the STRCONV macros
9774
9775         * BufferView_pimpl.C (savePosition): STRCONV
9776         (restorePosition): ditto
9777         (MenuInsertLyXFile): ditto
9778
9779         * vc-backend.C (scanMaster): change from submatch[...] to
9780         submatch.str(...)
9781
9782         * funcrequest.C: include config.h
9783
9784         * factory.C: include config.h
9785
9786         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9787
9788         * box.C: include config.h
9789
9790         * LaTeX.C (scanAuxFile): change from submatch[...] to
9791         submatch.str(...)
9792         (deplog): ditto
9793
9794 2002-10-25  Angus Leeming  <leeming@lyx.org>
9795
9796         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9797
9798         * ispell.[Ch] (setError): new method.
9799         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9800         Use setError() insetead of goto END.
9801
9802         * lyx_cb.C (AutoSave): move out child process into new class
9803         AutoSaveBuffer.
9804
9805 2002-10-30  John Levon  <levon@movementarian.org>
9806
9807         * text3.C: make start appendix undoable
9808
9809 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9810
9811         * lyxlength.C (inPixels): Fix returned value.
9812
9813         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9814         environment.
9815
9816 2002-10-24  Angus Leeming  <leeming@lyx.org>
9817
9818         * lyxgluelength.h: no need to forward declare BufferParams
9819         or BufferView, so don't.
9820
9821 2002-10-21  John Levon  <levon@movementarian.org>
9822
9823         * BufferView.C: menuUndo ->undo, redo
9824
9825         * BufferView.h: document, remove dead, make some methods private
9826
9827         * paragraph_funcs.h:
9828         * paragraph_funcs.C:
9829         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9830
9831         * buffer.h:
9832         * buffer.C:
9833         * sgml.h:
9834         * sgml.C: move sgml open/close tag into sgml.C
9835
9836         * bufferview_funcs.h: unused prototype
9837
9838         * lyxfunc.h:
9839         * lyxfunc.C: remove unused
9840
9841         * lyxtext.h:
9842         * text.C: remove unused
9843
9844 2002-10-21  John Levon  <levon@movementarian.org>
9845
9846         * BufferView.h:
9847         * BufferView.C:
9848         * BufferView_pimpl.h:
9849         * BufferView_pimpl.C: fix mouse wheel handling based on
9850           patch from Darren Freeman
9851
9852 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9853
9854         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9855
9856 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * lyxlength.C (inPixels): Fix hanfling of negative length.
9859         Fix LyXLength::MU case.
9860
9861 2002-10-16  John Levon  <levon@movementarian.org>
9862
9863         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9864
9865 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * converter.C (view): add support for $$i (file name) and $$p
9868         (file path) for the viewer command. If $$i is not specified, then
9869         it is appended to the command (for compatibility with old syntax)
9870
9871 2002-10-14  Juergen Vigna  <jug@sad.it>
9872
9873         * undo_funcs.C (textHandleUndo): alter the order in which the
9874         new undopar is added to the LyXText, as we have to set first
9875         the right prev/next and then add it as otherwise the rebuild of
9876         LyXText is not correct. Also reset the cursor to the right paragraph,
9877         with this IMO we could remove the hack in "redoParagraphs()".
9878
9879 2002-10-09  Angus Leeming  <leeming@lyx.org>
9880
9881         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9882         to turn off an optimisation if a new inset is to be inserted.
9883
9884 2002-10-11 André Pönitz <poenitz@gmx.net>
9885
9886         * lyxtext.h: make some functions public to allow access
9887         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9888
9889 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9890
9891         * text3.C (dispatch): when changing layout, avoid an infinite loop
9892         [bug #652]
9893
9894 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9895
9896         * lyxrc.C (read): treat a viewer or converter command of "none" as
9897         if it were empty.
9898
9899         * MenuBackend.C (expandFormats): for an update, also allow the
9900         formats that are not viewable
9901
9902         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9903         script if it is newer than the lyxrc.defaults in user directory
9904
9905 2002-10-07 André Pönitz <poenitz@gmx.net>
9906
9907         * text.C: Vitaly Lipatov's small i18n fix
9908
9909 2002-09-25  Angus Leeming  <leeming@lyx.org>
9910
9911         * ispell.h: doxygen fix.
9912
9913 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9914
9915         * buffer.h (readFile): Add a new argument to the method, to allow
9916         reading of old-format templates.
9917
9918 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9919
9920         * toc.C (getTocList): Get TOC from InsetWrap.
9921
9922 2002-09-16  John Levon  <levon@movementarian.org>
9923
9924         * lyxfunc.C: check tabular for cut/copy too
9925
9926 2002-09-12  John Levon  <levon@movementarian.org>
9927
9928         * LyXAction.C: tidy
9929
9930         * factory.h:
9931         * factory.C: add header
9932
9933         * paragraph_funcs.h:
9934         * paragraph_funcs.C: cleanup
9935
9936 2002-09-11  John Levon  <levon@movementarian.org>
9937
9938         * PrinterParams.h: odd/even default to true
9939
9940 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9941
9942         * PrinterParams.h: update printer parameters for new xforms dialog
9943
9944 2002-09-11  Angus Leeming  <leeming@lyx.org>
9945
9946         * lyxserver.C (read_ready): re-write to make it more transparent
9947         and to make it work in coherent fashion under Tru64 Unix.
9948
9949 2002-09-11  André Pönitz <poenitz@gmx.net>
9950
9951         * commandtags.h:
9952         * LyXAction.C:
9953         * text3.C: implement LFUN_WORDSEL
9954
9955 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9958         make floatlist_ a boost::shared_ptr<FloatList>
9959
9960         * lyxtextclass.C: include FloatList.h
9961         (LyXTextClass): initialize floatlist_
9962         (TextClassTags): add TC_NOFLOAT
9963         (Read): match "nofloat" to TC_NOFLOAT and use it.
9964         (readFloat): modify call to floatlist_
9965         (floats): ditto
9966         (floats): ditto
9967
9968         * FloatList.[Ch] (FloatList): remove commented out float
9969         initialization.
9970         (erase): new function
9971
9972 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9973
9974         * MenuBackend.C (expandToc): fix crash when there is no document
9975         open
9976
9977 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9978
9979         * many files: Add insetwrap.
9980
9981 2002-09-09  John Levon  <levon@movementarian.org>
9982
9983         * text2.C: remove confusing and awkward depth wraparound
9984
9985 2002-09-09  John Levon  <levon@movementarian.org>
9986
9987         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9988
9989         * buffer.h:
9990         * buffer.C: remove getIncludeonlyList()
9991
9992         * paragraph.C:
9993         * lyxfunc.C: remove headers
9994
9995 2002-09-09  Juergen Vigna  <jug@sad.it>
9996
9997         * text.C (getColumnNearX): fix form Michael this is most
9998         probably a cut&paste bug.
9999
10000 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10001
10002         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10003
10004         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10005         references, ws changes.
10006
10007         * text2.C (init): update counters after init
10008         (insertParagraph): no need to set counter on idividual paragraphs.
10009         (setCounter): access the counters object in the textclass object
10010         on in the buffer object.
10011         (updateCounters): ditto
10012
10013         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10014         shared_ptr<Counters> to avoid loading counters.h in all
10015         compilation units.
10016         (LyXTextClass): initialize ctrs_
10017         (TextClassTags): add TC_COUNTER, and ...
10018         (Read): use it here.
10019         (CounterTags): new tags
10020         (readCounter): new function
10021         (counters): new funtion
10022         (defaultLayoutName): return a const reference
10023
10024         * counters.C (Counters): remove contructor
10025         (newCounter): remove a couple of unneeded statements.
10026         (newCounter): simplify a bit.
10027         (numberLabel): some small formatting changes.
10028
10029         * buffer.[Ch]: remove all traces of counters, move the Counters
10030         object to the LyXTextClass.
10031
10032 2002-09-06  Alain Castera  <castera@in2p3.fr>
10033
10034         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10035         package to set the horizontal alignment on fixed width columns.
10036
10037         * lyx_sty.C:
10038         * lyx_sty.h: added tabularnewline macro def.
10039
10040         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10041
10042 2002-09-06  John Levon  <levon@movementarian.org>
10043
10044         * LyXAction.C: tooltips for sub/superscript
10045
10046         * MenuBackend.C: a bit more verbose
10047
10048         * lyxfunc.C: tiny clean
10049
10050         * undo_funcs.C: document undo_frozen
10051
10052 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * counters.C (Counters): add missing algorithm counter.
10055
10056         * text2.C (setCounter): lookup the counter with layouts latexname
10057         instead of by section number.
10058         (setCounter): use a hackish way to lookup the correct enum
10059         counter.
10060         a float name->type change
10061         reset enum couners with counter name directly instead of depth value.
10062
10063         * counters.C (Counters): remove the push_backs, change to use the
10064         float type not the float name.
10065         (labelItem): remove unused string, float name->type change
10066
10067         * counters.h: don't include vector, loose the enums and sects vectors
10068
10069 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10072         (Read): add float->TC_FLOAT to textclassTags
10073         (Read): and handle it in the switch
10074         (readFloat): new function
10075
10076         * FloatList.C (FloatList): comment out the hardcoded float
10077         definitions.
10078
10079         * lyxlayout.h: ws change.
10080
10081 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10084
10085 2002-09-03  Angus Leeming  <leeming@lyx.org>
10086
10087         * BufferView_pimpl.h: qualified name is not allowed in member
10088         declaration: WorkArea & Pimpl::workarea() const;
10089
10090         * factory.C: added using std::endl directive.
10091
10092         * text3.C: added using std::find and std::vector directives.
10093
10094 2002-08-29  André Pönitz <poenitz@gmx.net>
10095
10096         * lyxtext.h:
10097         * text2.C: remove unused member number_of_rows
10098
10099         * Makefile.am:
10100         * BufferView2.C: remove file, move contents to...
10101         * BufferView.C: ... here
10102
10103         * BufferView_pimpl.C:
10104         * factory.C: move more inset creation to factory
10105
10106         * vspace.C: avoid direct usage of LyXText, ws changes
10107
10108         * BufferView.[Ch]:
10109                 don't provide direct access to WorkArea, use two simple
10110                 acessors haveSelction() and workHeight() instead
10111
10112
10113 2002-08-29  John Levon  <levon@movementarian.org>
10114
10115         * BufferView_pimpl.C (dispatch): do not continue when
10116           no buffer
10117
10118 2002-08-28  André Pönitz <poenitz@gmx.net>
10119
10120         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10121
10122         * BufferView.h:
10123         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10124
10125 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10126
10127         * buffer.C: increment LYX_FORMAT to 221
10128
10129         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10130         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10131
10132         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10133
10134         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10135
10136 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * factory.C (createInset): use LyXTextClass::floats
10139
10140         * MenuBackend.C (expandFloatListInsert):
10141         (expandFloatInsert):
10142         (expandToc):
10143
10144         * text2.C (setCounter):
10145
10146         * LaTeXFeatures.C (useFloat):
10147         (getFloatDefinitions):
10148
10149         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10150
10151         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10152         floatlist_, with accessor floats().
10153
10154         * FloatList.h: remove global FloatList
10155
10156 2002-08-26  André Pönitz <poenitz@gmx.net>
10157
10158         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10159
10160         * BufferView.h:
10161         * BufferView2.C:
10162         * BufferView_pimpl.C:
10163         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10164
10165 2002-08-25  John Levon  <levon@movementarian.org>
10166
10167         * LyXAction.C: fix margin note description
10168
10169 2002-08-24  John Levon  <levon@movementarian.org>
10170
10171         * buffer.C:
10172         * bufferlist.C:
10173         * bufferview_funcs.C:
10174         * lyxfont.C:
10175         * undo_funcs.C: cleanups
10176
10177         * lyxfunc.C: disable CUT/COPY when no selection
10178
10179 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10180
10181         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10182         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10183
10184         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10185         Add backward compatibility to "mono", "gray" and "no".
10186
10187 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10188
10189         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10190         (and file_format >= 200).
10191
10192 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10195
10196 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10199
10200 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10201
10202         * BufferView_pimpl.C:
10203         * LyXAction.C:
10204         * buffer.C:
10205         * commandtags.h:
10206         * lyxfunc.C:
10207         * paragraph.[Ch]:
10208         * text2.C:
10209         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10210         inset and code to make it  work with the paragraph code. The inset
10211         can be anywhere in the paragraph, but will only do the expected
10212         thing in LaTeX if the layout file contains the parameter line
10213                         OptionalArgs    1
10214         (or more generally, a nonzero value) for that layout.
10215
10216 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10217
10218         * paragraph.h: remove the declaration of undefined counters class
10219         function.
10220
10221 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10222
10223         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10224         Dr. Richard Hawkins.
10225
10226 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * paragraph_funcs.h: remove some unneeded includes
10229
10230         * text.C (backspace): pasteParagraph now in global scipe
10231
10232         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10233         (pasteSelection): ditto
10234
10235         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10236         * paragraph_funcs.C (pasteParagraph): ... here
10237
10238 2002-08-20  André Pönitz <poenitz@gmx.net>
10239
10240         * commandtags.h: new LFUNs for swapping/copying table row/colums
10241
10242         * LyXAction.C:
10243         * lyxfunc.C: support for new lfuns
10244
10245 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10246
10247         * tabular.C:
10248         * buffer.[Ch]: remove NO_COMPABILITY stuff
10249
10250 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * boost.C (throw_exception): new file, with helper function for
10253         boost compiled without exceptions.
10254
10255         * paragraph.h:
10256         * lyxlength.C:
10257         * buffer.C:
10258         * ParameterStruct.h:
10259         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10260
10261         * bufferlist.C (emergencyWriteAll): use boost bind
10262
10263         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10264
10265         * text.C: include paragraph_funcs.h
10266         (breakParagraph): breakParagraph is now in global scope
10267
10268         * paragraph_funcs.[Ch]: new files
10269
10270         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10271         global scope
10272
10273         * buffer.C: include paragraph_funcs.h
10274         (insertStringAsLines): breakParagraph is now in global scope
10275
10276         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10277         paragraph_funcs.C
10278
10279         * CutAndPaste.C: include paragraph_funcs.h
10280         (cutSelection): breakParagraphConservative is now in global scope
10281         (pasteSelection): ditto
10282
10283         * buffer.h: declare oprator== and operator!= for
10284         Buffer::inset_iterator
10285
10286         * bufferlist.C (emergencyWrite): don't use fmt(...)
10287
10288         * text3.C: add using std::endl
10289
10290         * BufferView.C (moveCursorUpdate): remove default arg
10291
10292 2002-08-20  André Pönitz <poenitz@gmx.net>
10293
10294         * buffer.[Ch]: move inline functions to .C
10295
10296         * BufferView2.C:
10297         * BufferView_pimpl.C:
10298         * text.C:
10299         * buffer.[Ch]: use improved inset_iterator
10300
10301         * buffer.C:
10302         * paragraph.[Ch]: write one paragraph at a time
10303
10304 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10305
10306         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10307         style if style is not specified.
10308
10309 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10310
10311         * text2.C (setCounter): when searching for right label for a
10312         caption, make sure to recurse to parent insets (so that a caption
10313         in a minipage in a figure float works) (bug #568)
10314
10315 2002-08-20  André Pönitz <poenitz@gmx.net>
10316
10317         * text3.C: new file for LyXText::dispatch() and helpers
10318
10319         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10320
10321         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10322
10323 2002-08-19  André Pönitz <poenitz@gmx.net>
10324
10325         * lyxtext.h:
10326         * text.C: new LyXText::dispatch()
10327
10328         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10329
10330 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10331
10332         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10333
10334         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10335         Hebrew text.
10336
10337 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * Makefile.am: use $(variables) instead of @substitutions@
10340
10341 2002-08-15  André Pönitz <poenitz@gmx.net>
10342
10343         * lyxfunc.C:
10344         * BufferView_pimpl.C: streamlining mathed <-> outer world
10345         interaction
10346
10347         * commandtags.h:
10348         * LyXAction.C: remove unused LFUN_MATH
10349
10350 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10351
10352         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10353
10354 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10355
10356         * paragraph.C (Paragraph): reformat a bit
10357         (cutIntoMinibuffer): use builtin InsetList function instad of
10358         doing it manually.
10359         (getInset): ditto
10360
10361         * buffer.C: include boost/bind.hpp, add using std::for_each
10362         (writeFileAscii): use ParagraphList iterators
10363         (validate): use for_each for validate traversal of paragraphs
10364         (getBibkeyList): use ParagraphList iterators
10365         (resizeInsets): use for_each to resizeInsetsLyXText for all
10366         paragraphs.
10367         (getParFromID): use ParagraphList iterators
10368
10369         * BufferView2.C (lockInset): use paragraph list and iterators
10370
10371 2002-08-14  John Levon  <levon@movementarian.org>
10372
10373         * lyxserver.C: remove spurious xforms include
10374
10375 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10378
10379 2002-08-13  André Pönitz <poenitz@gmx.net>
10380
10381         * LyXAction.[Ch]:
10382         * lyxfunc.C: further cleaning
10383
10384 2002-08-13  André Pönitz <poenitz@gmx.net>
10385
10386         * funcrequest.h: new constructor
10387
10388         * funcrequest.C: move stuff here from .h
10389
10390         * Makefile.am:
10391         * BufferView_pimpl.C:
10392         * LyXAction.C:
10393         * toc.C:
10394         * lyxfunc.C: subsequent changes
10395
10396         * lyxfunc.h: new view() member function
10397
10398         * lyxfunc.C: subsequent changes
10399
10400 2002-08-13  Angus Leeming  <leeming@lyx.org>
10401
10402         * BufferView2.C:
10403         * BufferView_pimpl.C:
10404         * buffer.C:
10405         * converter.C:
10406         * importer.C:
10407         * lyxfunc.C:
10408         * lyxvc.C:
10409         * toc.C:
10410         * vc-backend.C:
10411         changes due to the changed LyXView interface that now returns references
10412         to member variables not pointers.
10413
10414 2002-08-13  Angus Leeming  <leeming@lyx.org>
10415
10416         * WordLangTuple (word, lang_code): return references to strings,
10417         not strings.
10418
10419         * BufferView.h:
10420         * SpellBase.h:
10421         * lyxtext.h: forward-declare WordLangTuple.
10422
10423         * BufferView2.C:
10424         * ispell.C:
10425         * pspell.C:
10426         * text.C: #include "WordLangTuple.h".
10427
10428         * lyxtext.h:
10429         * text.C: (selectNextWordToSpellcheck): constify return type.
10430
10431 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10432
10433         * buffer.C:
10434         * buffer.h:
10435         * lyxtext.h:
10436         * paragraph.C:
10437         * paragraph_pimpl.h:
10438         * text.C:
10439         * text2.C:
10440         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10441         suggested by Angus.
10442         Made updateCounter always count from start of buffer, and removed
10443         second argument (par).
10444         Reverted floats number display to '#'. Perhaps I'll try again when the
10445         code base is sanitized a bit.
10446
10447 2002-08-12  Angus Leeming  <leeming@lyx.org>
10448
10449         * buffer.[Ch] (getLabelList): constify.
10450
10451 2002-08-07  André Pönitz <poenitz@gmx.net>
10452
10453         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10454
10455         * funcrequest.h: extension to keep mouse (x,y) position
10456
10457 2002-08-12  Juergen Vigna  <jug@sad.it>
10458
10459         * BufferView2.C (insertErrors): forbid undo when inserting error
10460         insets.
10461
10462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10463
10464 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10465
10466         * ParagraphList.[Ch]: new files
10467
10468         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10469
10470         * BufferView2.C (lockInset): ParagraphList changes
10471         * toc.C: ditto
10472         * text2.C: ditto
10473         * bufferlist.C: ditto
10474         * buffer.h: ditto
10475         * buffer.C: ditto
10476
10477 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10478
10479         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10480         unused class variable counter_,
10481
10482         * paragraph.[Ch] (getFirstCounter): delete unused function
10483
10484         * counters.C: include LAssert.h
10485         (reset): add a new function with no arg, change other version to
10486         not have def. arg and to not allow empty arg.
10487
10488         * text2.C (setCounter): remove empty arg from call to Counters::reset
10489
10490 2002-08-11  John Levon  <levon@movementarian.org>
10491
10492         * Makefile.am: add WordLangTuple.h
10493
10494 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10495
10496         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10497         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10498
10499         * insets/insettext.C: InsetList changes
10500
10501         * graphics/GraphicsSupport.C (operator()): InsetList changes
10502
10503         * toc.C (getTocList): InsetList changes
10504
10505         * paragraph_pimpl.[Ch]: InsetList changes
10506
10507         * paragraph.[Ch]: InsetList changes
10508
10509         * buffer.C (inset_iterator): InsetList changes
10510         (setParagraph): ditto
10511         * buffer.h (inset_iterator): ditto
10512         * iterators.C (operator++): ditto
10513         * iterators.h: ditto
10514
10515         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10516
10517         * InsetList.[Ch]: new files, most InsetList handling moved out of
10518         paragraph.C.
10519
10520         * BufferView2.C (removeAutoInsets): InsetList changes
10521         (lockInset): ditto
10522         (ChangeInsets): ditto
10523
10524 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10525
10526         * paragraph_pimpl.h (empty): new function
10527
10528         * paragraph.[Ch] (empty): new function
10529
10530         * other files: use the new Paragraph::empty function
10531
10532 2002-08-09  John Levon  <levon@movementarian.org>
10533
10534         * lyxtext.h: remove unused refresh_height
10535
10536 2002-08-09  John Levon  <levon@movementarian.org>
10537
10538         * Makefile.am:
10539         * sgml.h:
10540         * sgml.C:
10541         * buffer.C:
10542         * paragraph.h:
10543         * paragraph.C: move sgml char escaping out of paragraph
10544
10545         * paragraph.h:
10546         * paragraph.C: remove id setter
10547
10548         * buffer.C:
10549         * paragraph.C:
10550         * paragraph_pimpl.C: remove dead tex_code_break_column
10551
10552         * bufferview_funcs.C: small cleanup
10553
10554         * lyxfunc.C: remove dead proto
10555
10556         * lyxtext.h: make some stuff private. Remove some dead stuff.
10557
10558         * lyxgluelength.C: make as[LyX]String() readable
10559
10560 2002-08-08  John Levon  <levon@movementarian.org>
10561
10562         * LyXAction.h:
10563         * LyXAction.C:
10564         * MenuBackend.C:
10565         * ToolbarDefaults.C:
10566         * lyxfunc.C:
10567         * lyxrc.C:
10568         * toc.C: lyxaction cleanup
10569
10570 2002-08-08  John Levon  <levon@movementarian.org>
10571
10572         * BufferView2.C: small cleanup
10573
10574         * lyxfind.h:
10575         * lyxfind.C: move unnecessary header into the .C
10576
10577 2002-08-08  John Levon  <levon@movementarian.org>
10578
10579         * funcrequest.h: just tedious nonsense
10580
10581         * lyx_main.h:
10582         * lyx_main.C: cleanups
10583
10584         * buffer.C:
10585         * vspace.C: remove dead header lyx_main.h
10586
10587 2002-08-07  Angus Leeming  <leeming@lyx.org>
10588
10589         * Paragraph.[Ch]:
10590         * paragraph_pimpl.h:
10591         Forward declare class Counters in paragraph.h by moving the ctrs member
10592         variable into Paragraph::Pimpl.
10593         (counters): new method, returning a reference to pimpl_->ctrs.
10594
10595         * text2.C: ensuing changes.
10596
10597 2002-08-07  John Levon  <levon@movementarian.org>
10598
10599         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10600
10601         * BufferView_pimpl.C: announce X selection on double/triple
10602           click
10603
10604         * lyx_main.C: use correct bool in batch dispatch
10605
10606         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10607
10608 2002-08-07  André Pönitz <poenitz@gmx.net>
10609
10610         * funcrequest.h: new class to wrap a kb_action and its argument
10611
10612         * BufferView.[Ch]:
10613         * BufferView_pimpl[Ch]:
10614         * LaTeX.C:
10615         * LyXAction.[Ch]:
10616         * lyxfunc.[Ch]:
10617         * lyxrc.C: subsequent changes
10618
10619
10620 2002-08-07  John Levon  <levon@movementarian.org>
10621
10622         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10623           document options change.
10624
10625 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10626
10627         * counters.[Ch]
10628         * text2.C
10629         * paragraph.[Ch]
10630         * makefile.am: move counters functionality over from
10631         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10632
10633 2002-08-06  John Levon  <levon@movementarian.org>
10634
10635         * WordLangTuple.h: new file for word + language code tuple
10636
10637         * SpellBase.h:
10638         * pspell.h:
10639         * pspell.C:
10640         * ispell.h:
10641         * ispell.C:
10642         * lyxtext.h:
10643         * text.C:
10644         * text2.C:
10645         * BufferView.h:
10646         * BufferView2.C: use WordLangTuple
10647
10648         * layout.h:
10649         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10650
10651 2002-08-06  John Levon  <levon@movementarian.org>
10652
10653         * lyx_main.C: fix cmdline batch handling
10654
10655 2002-08-06  André Pönitz <poenitz@gmx.net>
10656
10657         * lyxrc.C: set default for show_banner to true
10658
10659 2002-08-06  John Levon  <levon@movementarian.org>
10660
10661         * pspell.C: fix a crash, and allow new aspell to work
10662
10663 2002-08-06  John Levon  <levon@movementarian.org>
10664
10665         * lyxfunc.C:
10666         * kbmap.C: small cleanup
10667
10668         * vspace.h:
10669         * vspace.C: add const
10670
10671 2002-08-05  John Levon  <levon@movementarian.org>
10672
10673         * LyXAction.C: back to tabular-insert
10674
10675 2002-08-04  John Levon  <levon@movementarian.org>
10676
10677         * BufferView.h:
10678         * BufferView.C: cosmetic change
10679
10680         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10681
10682         * bufferlist.C:
10683         * buffer.h:
10684         * buffer.C:
10685         * lyxcb.h:
10686         * lyxcb.C:
10687         * lyxserver.C:
10688         * lyxvc.C:
10689         * vc-backend.C:
10690         * BufferView2.C: purge all "Lyx" not "LyX" strings
10691
10692         * lyxcursor.h:
10693         * lyxcursor.C: attempt to add some documentation
10694
10695         * lyxfunc.C:
10696         * commandtags.h:
10697         * LyXAction.C:
10698         * ToolbarDefaults.C:
10699         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10700           merge with LFUN_TABULAR_INSERT
10701
10702         * Makefile.am:
10703         * SpellBase.h:
10704         * ispell.h:
10705         * ispell.C:
10706         * pspell.h:
10707         * pspell.C: split up i/pspell implementations into separate
10708           files, many cleanups
10709
10710         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10711
10712         * text2.C: some cleanup
10713
10714         * lyxfunc.C: don't check for isp_command == "none" any more, it
10715           didn't make any sense
10716
10717 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10718
10719         * counters.[Ch]
10720         * text2.C
10721         * paragraph.[Ch]
10722         * makefile.am: move counters functionality over
10723         from text2.C/paragraph.[Ch] to counters.[Ch], and
10724         make proper C++.
10725 2002-08-02  John Levon  <levon@movementarian.org>
10726
10727         * buffer.C: s/lyxconvert/lyx2lyx/
10728
10729 2002-08-02  Angus Leeming  <leeming@lyx.org>
10730
10731         * lyxlex.C: revert John's change as it breaks reading of the user
10732         preamble.
10733
10734 2002-08-02  Angus Leeming  <leeming@lyx.org>
10735
10736         * importer.C (Import):
10737         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10738         changes due to LyXView::view() now returning a boost::shared_ptr.
10739
10740 2002-08-02  John Levon  <levon@movementarian.org>
10741
10742         * lyxlex.C: small cleanup
10743
10744 2002-08-02  John Levon  <levon@movementarian.org>
10745
10746         * text2.C (status): small cleanup, no logic change
10747
10748 2002-08-01  John Levon  <levon@movementarian.org>
10749
10750         * buffer.h:
10751         * buffer.C (writeFile): don't output alerts, caller
10752           handles this
10753
10754         * bufferlist.C:
10755         * lyx_cb.C: from above
10756
10757         * lyxfunc.C: allow to open non-existent files
10758
10759 2002-07-31  John Levon  <levon@movementarian.org>
10760
10761         * lyxserver.C: don't let incidental errors get
10762           in the way (errno)
10763
10764 2002-07-30  John Levon  <levon@movementarian.org>
10765
10766         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10767
10768 2002-07-30  John Levon  <levon@movementarian.org>
10769
10770         * lyxserver.h:
10771         * lyxserver.C: remove I/O callback too
10772
10773 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10776         log.
10777
10778 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * many files: strip,frontStrip -> trim,ltrim,rtrim
10781
10782 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10783
10784         * PrinterParams.h: remove extern containsOnly, and include
10785         support/lstrings.h instead.
10786
10787         * LaTeX.C (scanAuxFile): modify because of strip changes
10788         (deplog): ditto
10789         * buffer.C (makeLaTeXFile): ditto
10790         * bufferparams.C (writeFile): ditt
10791         * lyxfont.C (stateText): ditto
10792         * lyxserver.C (read_ready): ditto
10793         * vc-backend.C (scanMaster): ditto
10794
10795         * BufferView_pimpl.h: ws changes
10796
10797         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10798
10799 2002-07-26  André Pönitz <poenitz@gmx.net>
10800
10801         * kb_sequence.C: remove unnedred usings
10802
10803 2002-07-26  Juergen Vigna  <jug@sad.it>
10804
10805         * lyxfind.C (LyXReplace): we have to check better if the returned
10806         text is not of theLockingInset()->getLockingInset().
10807
10808 2002-07-25  Juergen Vigna  <jug@sad.it>
10809
10810         * lyxfind.C (LyXReplace): don't replace if we don't get the
10811         right LyXText.
10812
10813         * undo_funcs.C (createUndo): remove debugging code.
10814
10815 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10816
10817         * buffer.C (parseSingleLyXformat2Token): Use default placement
10818         when reading old floats.
10819
10820         * FloatList.C (FloatList): Change the default placement of figure
10821         and tables to "tbp".
10822
10823 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * MenuBackend.C: using std::max
10826
10827 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * MenuBackend.C (expandToc):
10830         (expandToc2): code moved from xforms menu frontend. It is now
10831         generic and TOCs are transparent to menu frontends.
10832
10833 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * toc.C (getTocList): protect against buf=0
10836
10837         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10838         Menu as first parameter. Now, this calls itself recursively to
10839         expand a whole tree (this will be useful for TOC handling)
10840         (expandFloatInsert): remove 'wide' version of floats
10841
10842         * MenuBackend.h (submenuname): returns the name of the submenu.
10843         (submenu): returns the submenu itself, provided it has been
10844         created by MenuBackend::expand
10845
10846 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10849         insets which have noFontChange == true. (bug #172)
10850
10851 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852
10853         * BufferView_pimpl.C: add connection objects and use them...
10854         (Pimpl): here.
10855
10856 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * MenuBackend.C (expandLastfiles):
10859         (expandDocuments):
10860         (expandFormats):
10861         (expandFloatListInsert):
10862         (expandFloatInsert):
10863         (expand): split expand in parts
10864
10865 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * lyx_gui.C: use lyx_gui::exit()
10868
10869 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * LyXAction.C: show the failing pseudo action
10872
10873 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10874
10875         * buffer.C (readFile): Run the lyxconvert script in order to read
10876         old files.
10877
10878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * LyXAction.C:
10881         * commandtags.h:
10882         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10883
10884 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10885
10886         * LyXAction.C:
10887         * commandtags.h:
10888         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10889
10890 2002-07-22  Herbert Voss  <voss@lyx.org>
10891
10892         * lengthcommon.C:
10893         * lyxlength.[Ch]: add support for the vertical lengths
10894
10895 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * toc.[Ch]: std:: fixes
10898
10899 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * lyxrc.C: do not include lyx_main.h
10902
10903         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10904         for layouts
10905
10906         * lyxrc.C:
10907         * encoding.C:
10908         * bufferlist.C:
10909         * BufferView2.C: include "lyxlex.h"
10910
10911         * tabular.h:
10912         * bufferparams.h: do not #include "lyxlex.h"
10913
10914         * lyxtextclasslist.C (Add): remove method
10915         (classlist): renamed to classlist_
10916
10917         * paragraph_pimpl.C:
10918         * paragraph.C:
10919         * text2.C:
10920         * CutAndPaste.C:
10921         * bufferview_funcs.C:
10922         * bufferlist.C:
10923         * text.C:
10924         * LaTeXFeatures.C:
10925         * buffer.C:
10926         * toc.C (getTocList): use BufferParams::getLyXTextClass
10927
10928         * toc.C (getTocList): use InsetFloat::addToToc
10929
10930         * toc.[Ch]: new files, containing helper functions to handle table
10931         of contents
10932
10933         * lyxfunc.C (dispatch): no need to remove spaces around command
10934         given as a string
10935         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10936         first command of the sequence; it is not very clever, but I do not
10937         have a better idea, actually
10938
10939         * LyXAction.C (LookupFunc): make sure to remove space at the
10940         beginning and end of the command
10941
10942 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * MenuBackend.C (getMenubar): new method: return the menubar of
10945         this menu set
10946         (read): treat differently reading of menu and menubar (in
10947         particular, the menubar has no name now)
10948         (Menu::menubar): remove
10949
10950         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10951         saving is finished
10952
10953 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10954
10955         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10956         a bibitem inset in a RTL paragraph.
10957
10958 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * paragraph_pimpl.C: constify
10961
10962         * BufferView_pimpl.C:
10963         * LaTeX.C:
10964         * lyxfunc.C: fix dispatch in a nicer way
10965
10966 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * lyxfunc.C (dispatch):
10969         * BufferView_pimpl.C:
10970         * BufferView_pimpl.h:
10971         * BufferView.C:
10972         * BufferView.h: rename Dispatch() to dispatch()
10973
10974         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10975
10976         * lyxlayout.C (Read): honor DependsOn tag
10977
10978         * lyxlayout.[Ch] (depends_on): new method
10979
10980         * version.C.in: update lyx_docversion
10981
10982         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10983
10984         * paragraph.C (validate): remove from here...
10985         * paragraph_pimpl.C (validate): ... and move here
10986         (isTextAt): make it const
10987
10988         * buffer.C (getLists): ws cleanup
10989
10990 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10991
10992         * language.C (read): Use iso8859-1 encoding in latex_lang
10993         (this prevents LyX from crashing when using iso10646-1 encoding).
10994
10995 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10996
10997         * text2.C (toggleInset): if cursor is inside an inset, close the
10998         inset and leave cursor _after_ it
10999
11000 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * lyxfunc.C: move minibuffer completion handling out of here
11003
11004 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * BufferView_pimpl.C:
11007         * LaTeX.C: fix dispatch calls
11008
11009 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11010
11011         * text.C (drawChars): Fix Arabic text rendering.
11012
11013 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * LyXAction.C:
11016         * commandtags.h:
11017         * lyxfunc.C: remove message-push/pop
11018
11019         * lyxserver.C:
11020         * lyxfunc.h:
11021         * lyxfunc.C: rationalise some code by removing verboseDispatch
11022           in favour of a bool argument to dispatch()
11023
11024 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyx_main.C (init): make sure to read symlinks as absolute paths
11027
11028 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * lyxfunc.h:
11031         * lyxfunc.C: no need for commandshortcut to be a member
11032
11033 2002-07-15  André Pönitz <poenitz@gmx.net>
11034
11035         * converter.C: add support for $$s (scripts from lib/scripts dir)
11036         * lyx_main.C: white space
11037
11038 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * bufferlist.C:
11041         * lyxrc.h:
11042         * lyxrc.C: remove second exit confirmation
11043
11044 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * BufferView.h:
11047         * BufferView.C:
11048         * BufferView2.C:
11049         * BufferView_pimpl.h:
11050         * BufferView_pimpl.C:
11051         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11052
11053 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * MenuBackend.C (expand): add numeric shortcuts to document menu
11056
11057         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11058
11059 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * lyxfont.C (setLyXFamily):
11062         (setLyXSeries):
11063         (setLyXShape):
11064         (setLyXSize):
11065         (setLyXMisc):
11066         (lyxRead):
11067         * debug.C (value):
11068         * buffer.C (asciiParagraph): use ascii_lowercase
11069
11070 2002-07-15  Mike Fabian  <mfabian@suse.de>
11071
11072         * lyxlex_pimpl.C (search_kw):
11073         * lyxlex.C (getLongString):
11074         * converter.h (operator<):
11075         * converter.C (operator<):
11076         * buffer.C (parseSingleLyXformat2Token):
11077         (asciiParagraph):
11078         * ToolbarDefaults.C (read):
11079         * MenuBackend.C (checkShortcuts):
11080         (read):
11081         * LColor.C (getFromGUIName):
11082         (getFromLyXName): use the compare_ascii_no_case instead of
11083         compare_no_case, because in turkish, 'i' is not the lowercase
11084         version of 'I', and thus turkish locale breaks parsing of tags.
11085
11086 2002-07-16  Angus Leeming  <leeming@lyx.org>
11087
11088         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11089         now takes a Buffer const & argument.
11090
11091 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * BufferView.C (resize): check there's a buffer to resize
11094
11095 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * lyxfunc.C: remove dead code
11098
11099         * lyxserver.h:
11100         * lyxserver.C: use lyx_guii::set_read_callback
11101
11102 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11103
11104         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11105         an inset in a RTL paragraph.
11106
11107 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * lyxfunc.C: repaint after a font size update
11110
11111 2002-07-15  André Pönitz <poenitz@gmx.net>
11112
11113         * lyxlength.C: inBP should be able to return negative values
11114
11115 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * lyxfunc.C: use lyx_gui::update_fonts()
11118
11119 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * lyxfunc.C: use lyx_gui::update_color()
11122
11123 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * bufferlist.C:
11126         * lyxfunc.h:
11127         * lyxfunc.C:
11128         * lyxrc.h:
11129         * lyxrc.C: remove file->new asks for name option, and let
11130           buffer-new take an argument
11131
11132 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * BufferView_pimpl.C: remove unneeded extra repaint()
11135
11136 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * LyXAction.C: allow command-sequence with NoBuffer
11139
11140         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11141
11142 2002-07-10  Angus Leeming  <leeming@lyx.org>
11143
11144         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11145
11146 2002-07-09  Angus Leeming  <leeming@lyx.org>
11147
11148         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11149
11150 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * lengthcommon.h: whitespace
11153
11154         * lyxfunc.C: update scrollbar after goto paragraph
11155
11156         * lyxtext.h: factor out page break drawing, and fix it so
11157           page break/added space paints as selected nicely
11158
11159 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * BufferView_pimpl.C: add FIXMEs, clean up a little
11162
11163 2002-07-09  André Pönitz <poenitz@gmx.net>
11164
11165         * lyxfont.[Ch]: support for wasy symbols
11166
11167 2002-07-08  André Pönitz <poenitz@gmx.net>
11168
11169         * BufferView_pimpl.C: apply John's patch for #93.
11170
11171 2002-07-05  Angus Leeming  <leeming@lyx.org>
11172
11173         * BufferView_pimpl.C (buffer): generate previews if desired.
11174
11175         * LColor.h: add "preview" to the color enum.
11176
11177         * LColor.C (LColor): add a corresponding entry to the items array.
11178
11179         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11180         with this buffer.
11181
11182 2002-07-05  Angus Leeming  <leeming@lyx.org>
11183
11184         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11185         The body of the code is now in the method that is passed an ostream &
11186         rather than a file name.
11187         Pass an additional only_preamble parameter, useful for the forthcoming
11188         preview stuff.
11189
11190 2002-07-03  André Pönitz <poenitz@gmx.net>
11191
11192         * lyxfunc.C: simplify getStatus() a bit for math stuff
11193
11194 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11197
11198 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * text.C (changeRegionCase): do not change case of all the
11201         document when region ends at paragraph end (bug #461)
11202
11203 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * paragraph.C (startTeXParParams):
11206         (endTeXParParams): add \protect when necessary
11207
11208 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * BufferView_pimpl.C (workAreaExpose): remove warning
11211
11212 2002-06-27  Angus Leeming  <leeming@lyx.org>
11213
11214         * Makefile.am: add lyxlayout_ptr_fwd.h.
11215
11216 2002-06-26  André Pönitz <poenitz@gmx.net>
11217
11218         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11219
11220 2002-06-25  Angus Leeming  <leeming@lyx.org>
11221
11222         * lyxfunc.C (dispatch): Comment out the call to
11223         grfx::GCache::changeDisplay. The method no longer exists now that the
11224         pixmap generation part of the graphics loader has been moved into
11225         InsetGraphics.
11226
11227 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * text2.C: layout as layout
11230
11231         * text.C: layout as layout
11232
11233         * tabular.C (OldFormatRead): layout as layout
11234
11235         * paragraph_pimpl.C (TeXDeeper): layout as layout
11236         (realizeFont): layout as layout
11237
11238         * paragraph.C (writeFile): layout as layout
11239         (validate): layout as layout
11240         (getFont): layout as layout
11241         (getLabelFont): layout as layout
11242         (getLayoutFont): layout as layout
11243         (breakParagraph): layout as layout
11244         (stripLeadingSpaces): layout as layout
11245         (getEndLabel): layout as layout
11246         (getMaxDepthAfter): layout as layout
11247         (applyLayout): layout as layout
11248         (TeXOnePar): layout as layout
11249         (simpleTeXOnePar): layout as layout
11250         (TeXEnvironment): layout as layout
11251         (layout): layout as layout
11252         (layout): layout as layout
11253
11254         * lyxtextclass.C (compare_name): new functor to work with
11255         shared_ptr, layout as layout
11256         (Read): layout as layout
11257         (hasLayout): layout as layout
11258         (operator): layout as layout
11259         (delete_layout): layout as layout
11260         (defaultLayout): layout as layout
11261
11262         * lyxlayout_ptr_fwd.h: new file
11263
11264         * lyxlayout.C (Read): layout as layout
11265
11266         * lyx_cb.C (MenuInsertLabel): layout as layout
11267
11268         * bufferlist.C (newFile): layout as layout
11269
11270         * buffer.C (readLyXformat2): layout as layout
11271         (parseSingleLyXformat2Token): layout as layout
11272         (insertStringAsLines): layout as layout
11273         (asciiParagraph): layout as layout
11274         (latexParagraphs): layout as layout
11275         (makeLinuxDocFile): layout as layout
11276         (simpleLinuxDocOnePar): layout as layout
11277         (makeDocBookFile): layout as layout
11278         (simpleDocBookOnePar): layout as layout
11279         (getLists): layout as layout
11280
11281         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11282
11283         * CutAndPaste.C (cutSelection): layout as layout
11284         (pasteSelection): layout as layout
11285         (SwitchLayoutsBetweenClasses): layout as layout
11286
11287         * BufferView_pimpl.C (Dispatch): layout as layout
11288         (smartQuote): layout as layout
11289
11290         * BufferView2.C (unlockInset): layout as layout
11291
11292 2002-06-24  André Pönitz <poenitz@gmx.net>
11293
11294         * lyxfunc.C: fix #487
11295
11296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * lyxrc.h:
11299         * lyxrc.C:
11300         * lyxfunc.C: remove display_shortcuts, show_banner
11301
11302 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * Buffer_pimpl.C: oops, update on resize
11305
11306 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * buffer.C:
11309         * converter.C:
11310         * exporter.C:
11311         * lyxfunc.C:
11312         * BufferView.h:
11313         * BufferView.C: use repaint()
11314
11315         * BufferView_pimpl.h:
11316         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11317           as it's a clearer description. Remove superfluous
11318           redraws.
11319
11320 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * text.C: fix bug 488. Not ideal, but getting
11323           getWord() to work properly for the insets that
11324           matter is more difficult ...
11325
11326 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * BufferView_pimpl.C:
11329         * LyXAction.C:
11330         * commandtags.h:
11331         * lyxfunc.C: remove the six million index lyxfuncs to just
11332           one, and DTRT (bug 458)
11333
11334 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * BufferView.h:
11337         * BufferView.C:
11338         * BufferView_pimpl.h:
11339         * BufferView_pimpl.C: clean up resize() stuff,
11340           and unnecessary updateScreen()s
11341
11342 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * BufferView.h:
11345         * BufferView.C:
11346         * BufferView_pimpl.h:
11347         * BufferView_pimpl.C:
11348         * lyxfind.h:
11349         * lyxfind.C:
11350         * minibuffer.C: remove focus management of workarea,
11351           not needed. Use screen's greyOut()
11352
11353 2002-06-17  Herbert Voss  <voss@lyx.org>
11354
11355         * converter.C: (convert) do not post a message, when converting
11356         fails, let the calling function decide what to do in this case
11357
11358 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * lyxfunc.C: tidy up a little
11361
11362 2002-06-16    <alstrup@diku.dk>
11363
11364         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11365         Got rid of FORMS_H_LOCATION include. Now we are
11366         GUII.
11367
11368 2002-06-15  LyX Development team  <lyx@rilke>
11369
11370         * buffer.[Ch] (sgmlOpenTag):
11371         (sgmlCloseTag): Added support for avoiding pernicious mixed
11372         content. Return number of lines written.
11373
11374         (makeLinuxDocFile):
11375         (makeDocBookFile): Fixed calls to sgml*Tag.
11376         Simple white space clean.
11377
11378         (simpleDocBookOnePar): Simple white space clean.
11379
11380         * tabular.[Ch] (docBook): Renamed to docbook and got another
11381         argument to related with the pernicious mixed content.
11382
11383         (docbookRow): Fixed calls for docbook inset method.
11384
11385 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11386
11387         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11388         so it's X11 independent.
11389
11390         * kb*.[Ch]: ditto.
11391
11392         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11393
11394 2002-06-15  Lyx Development team  <lyx@electronia>
11395
11396         * intl.h: Renamed getTrans to getTransManager.
11397
11398 2002-06-14  Angus Leeming  <leeming@lyx.org>
11399
11400         * Makefile.am: nuke forgotten stl_string_fwd.h.
11401
11402 2002-06-12  Angus Leeming  <leeming@lyx.org>
11403
11404         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11405
11406 2002-06-13  Angus Leeming  <leeming@lyx.org>
11407
11408         * LaTeX.C:
11409         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11410
11411 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11412
11413         * kbmap.C (getiso): add support for cyrillic and greek
11414
11415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * BufferView.h:
11418         * BufferView.C:
11419         * BufferView_pimpl.h:
11420         * BufferView_pimpl.C: move bogus scrolling logic
11421           to xforms
11422
11423 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * lyxfunc.C:
11426         * BufferView_pimpl.C: view->resize() change
11427
11428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * BufferView_pimpl.C: topCursorVisible
11431           prototype change
11432
11433 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * Makefile.am:
11436         * lyx_gui.h:
11437         * lyx_gui.C: move to frontends/
11438
11439         * main.C:
11440         * lyx_main.h:
11441         * lyx_main.C: changes from above
11442
11443 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11444
11445         * intl.C:
11446         * intl.h:
11447         * kbmap.C:
11448         * kbsequence.C:
11449         * lyx_cb.C:
11450         * lyx_main.C: minor tidy
11451
11452 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * BufferView_pimpl.h:
11455         * BufferView_pimpl.C:
11456         * BufferView.h:
11457         * BufferView.C: make painter() const,
11458           remove dead code
11459
11460         * BufferView2.C: use screen() accessor
11461
11462         * lyx_main.h:
11463         * lyx_main.C: some minor cleanup
11464
11465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * BufferView_pimpl.h:
11468         * BufferView_pimpl.C: remove enter/leaveView,
11469           use workHeight()
11470
11471 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * BufferView.h:
11474         * BufferView.C:
11475         * BufferView2.C:
11476         * BufferView_pimpl.h:
11477         * BufferView_pimpl.C: only construct screen once,
11478           rename
11479
11480         * lyxrc.C: remove pointless comment
11481
11482 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * BufferView.h:
11485         * BufferView.C: remove active() and belowMouse()
11486
11487         * BufferView_pimpl.h:
11488         * BufferView_pimpl.C: use workarea() not workarea_,
11489           and make it use a scoped_ptr instead
11490
11491 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * lyx_gui.C: add debug message on BadWindow
11494
11495 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * sp_spell.C: fdopen is not part of the C++ standard.
11498
11499         * paragraph.C (InsetIterator): use >= instead of ==
11500
11501 2002-06-07  Angus Leeming  <leeming@lyx.org>
11502
11503         Fixes needed to compile with Compaq cxx 6.5.
11504         * BufferView_pimpl.C:
11505         * DepTable.C:
11506         * buffer.C:
11507         * converter.C:
11508         * encoding.C:
11509         * lyx_gui.C:
11510         * lyx_main.C:
11511         * lyxtextclasslist.C:
11512         * minibuffer.C:
11513         * sp_spell.C:
11514         * tabular_funcs.C:
11515         * vc-backend.C:
11516         all c-library variables have been moved into namespace std. Wrap
11517         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11518
11519         * lyxlength.C:
11520         * tabular-old.C:
11521         * tabular.C:
11522         Add a using std::abs declaration.
11523
11524         * kbmap.h (modifier_pair):
11525         * paragraph.h (InsetTable, InsetList):
11526         * lyxfont.h (FontBits):
11527         type definition made public.
11528
11529         * bufferlist.C (emergencyWriteAll): the compiler complains that
11530         there is more than one possible lyx::class_fun template to choose from.
11531         I re-named the void specialisation as lyx::void_class_fun.
11532
11533         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11534
11535         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11536         the compiler is is unable to find tostr in write_attribute.
11537
11538 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * buffer.C (sgmlError): hide #warning
11541
11542 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * xtl/*: get rid of xtl, which is not in use anyway
11545
11546         * LyXAction.C (init):
11547         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11548         were unimplemented xtl experimentation
11549
11550 2002-06-04  André Pönitz <poenitz@gmx.net>
11551
11552         * lyxfunc.C: disable array operation on simple formulae
11553
11554 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * converter.C: constify a bit
11557
11558 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyx_gui.C: check xforms version correctly
11561
11562 2002-04-30  Herbert Voss  <voss@lyx.org>
11563
11564         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11565         "keep" option
11566
11567 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11570           attempt to register it with a VCS)
11571
11572 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * lyx_main.C (init): honor variables LYX_DIR_13x and
11575         LYX_USERDIR_13x
11576
11577 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * buffer.h:
11580         * buffer.C:
11581         * lyx_main.C: fix a crash on bad command line,
11582           and give a useful exit status on error
11583
11584         * lyxfunc.C (doImport): allow -i lyx to work
11585
11586 2002-03-30  André Pönitz <poenitz@gmx.net>
11587
11588         * lyxfunc.C: mathed font changes
11589
11590 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * LaTeX.C:
11593         * importer.h:
11594         * importer.C:
11595         * lyx_sty.h:
11596         * lyx_sty.C:
11597         * lyxlex.C:
11598         * lyxrow.h:
11599         * lyxtext.h:
11600         * paragraph.h:
11601         * paragraph.C:
11602         * texrow.h:
11603         * texrow.C:
11604         * text.C:
11605         * trans_mgr.h: srcdocs, and some minor cleanups
11606
11607 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11610         call getFont all the time)
11611
11612 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * switch from SigC signals to boost::signals
11615
11616 2002-05-29  André Pönitz <poenitz@gmx.net>
11617
11618         * paragraph_pimpl.C (getChar): don't call size() too often...
11619
11620 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * paragraph_pimpl.C (insertChar): do not try to update tables when
11623         appending (pos == size())
11624
11625         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11626         in order to reduce drastically the number of comparisons needed to
11627         parse a large document
11628
11629 2002-05-29  André Pönitz <poenitz@gmx.net>
11630
11631         * text.C:
11632         * text2.C:
11633         * lyxtextclass.C:
11634         * sp_pspell.h:
11635         * textclasslist.[Ch]:
11636         * sp_ispell.h: whitespace change
11637
11638 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11641         lyxaction directly now.
11642
11643 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * trans.C:
11646         * lyxfont.C:
11647         * lyxvc.C: remove unused headers
11648
11649 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * Makefile.am:
11652         * buffer.h:
11653         * undostack.h:
11654         * undostack.C:
11655         * undo_funcs.h:
11656         * undo_funcs.C: some cleanups. Use shared_ptr
11657           and a template for the undo stacks.
11658
11659 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView_pimpl.h:
11662         * BufferView_pimpl.C:
11663         * kbmap.h:
11664         * kbmap.C:
11665         * kbsequence.h:
11666         * kbsequence.C:
11667         * lyxfunc.h:
11668         * lyxfunc.C:
11669         * text2.C: use key_state/mouse_state
11670
11671 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11674         and LSubstring
11675
11676         * chset.C: change include order
11677         (loadFile): use boost regex and get rid of LRegex and LSubstring
11678
11679         * Makefile.am (BOOST_LIBS): new variable
11680         (lyx_LDADD): use it
11681
11682         * LaTeX.C: change include order.
11683         (scanAuxFile): use boost regex and get rid of LRegex and
11684         LSubstring
11685         (deplog): ditto
11686
11687 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * ColorHandler.h:
11690         * ColorHandler.C:
11691         * FontInfo.h:
11692         * FontInfo.C: moved to frontends/xforms/
11693
11694         * FontLoader.h:
11695         * FontLoader.C: moved into frontends for GUIIzation
11696
11697         * Makefile.am:
11698         * lyx_gui.C:
11699         * lyxfont.C:
11700         * lyxfunc.C: changes from above
11701
11702 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * LColor.C: remove spurious X include
11705
11706         * BufferView_pimpl.C:
11707         * Makefile.am:
11708         * font.h:
11709         * font.C:
11710         * text.C:
11711         * text2.C: move font metrics to frontends/
11712
11713 2002-05-24  Juergen Vigna  <jug@sad.it>
11714
11715         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11716         setting the undo_cursor.
11717
11718         * ParagraphParameters.h: include local includes first.
11719
11720 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * BufferView_pimpl.C:
11723         * BufferView_pimpl.h:
11724         * Makefile.am:
11725         * WorkArea.h:
11726         * WorkArea.C:
11727         * screen.C: move WorkArea into frontends/
11728
11729         * lyxscreen.h:
11730         * screen.C:
11731         * text.C:
11732         * BufferView.C:
11733         * BufferView2.C: move LyXScreen into frontends/
11734
11735         * lyxlookup.h:
11736         * lyxlookup.C:
11737         * lyx_gui.C: move lyxlookup into frontends/xforms/
11738
11739 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * BufferView2.C:
11742         * BufferView_pimpl.C:
11743         * FontLoader.C:
11744         * LyXView.h:
11745         * LyXView.C:
11746         * Makefile.am:
11747         * WorkArea.C:
11748         * XFormsView.h:
11749         * XFormsView.C:
11750         * buffer.C:
11751         * bufferlist.C:
11752         * bufferview_funcs.C:
11753         * converter.C:
11754         * importer.C:
11755         * lyx_cb.C:
11756         * lyx_gui.C:
11757         * lyx_main.C:
11758         * lyx_find.C:
11759         * lyxfunc.C:
11760         * lyxvc.C:
11761         * minibuffer.C:
11762         * text.C:
11763         * text2.C:
11764         * trans.C:
11765         * vc-backend.C: move LyX/XFormsView into frontends/
11766
11767 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * Makefile.am:
11770         * PainterBase.C:
11771         * PainterBase.h:
11772         * Painter.C:
11773         * Painter.h:
11774         * WorkArea.C:
11775         * WorkArea.h:
11776         * screen.C:
11777         * tabular.C:
11778         * text.C:
11779         * text2.C: move Painter to frontends/
11780
11781 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * buffer.C: comment out some some code that depend upon lyx_format
11784         < 220
11785
11786         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11787         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11788
11789         * buffer.h (NO_COMPABILITY): turn off compability
11790
11791         * ColorHandler.C: include scoped_array.hpp
11792
11793         * font.C: Use more specific smart_ptr header.
11794         * Painter.C: ditto
11795         * gettext.C: ditto
11796         * ShareContainer.h: ditto
11797         * lyx_main.h: ditto
11798         * kbmap.h: ditto
11799         * FontInfo.h: ditto
11800         * BufferView_pimpl.h: ditto
11801         * ColorHandler.h: ditto
11802
11803         * kbmap.C (defkey): change call to shared_ptr::reset
11804
11805 2002-05-21  Juergen Vigna  <jug@sad.it>
11806
11807         * buffer.C (insertErtContents): fix to insert ert asis if it is
11808         non empty. Skip it completely if it contains only whitespaces.
11809
11810 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * BufferView_pimpl.C:
11813         * BufferView2.C: clear selection on paste (bug 393)
11814
11815 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * DepTable.C: include ctime
11818
11819 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11820
11821         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11822
11823 2002-05-14  Juergen Vigna  <jug@sad.it>
11824
11825         * text.C (breakParagraph): fixed function to honor the keepempty
11826         layout in the right maner and also to permit the right breaking
11827         algorithm on empty or non empyt keepempty paragraphs.
11828
11829         * paragraph.C (breakParagraph): we have to check also if the par
11830         is really empty (!size()) for isempty otherwise we do the wrong
11831         paragraph break.
11832
11833 2002-05-10  Juergen Vigna  <jug@sad.it>
11834
11835         * buffer.[Ch] : The following are only changes to the ert
11836         compatibility read reading old LaTeX layout and font stuff and
11837         convert it to ERTInsets.
11838
11839         * buffer.h: added isErtInset().
11840
11841         * buffer.C (struct ErtComp): add a fromlayout bool to check
11842         if we're inside a LaTeX layout.
11843         (isErtInset): new helper function.
11844         (insertErtContents): look for other ert insets before this one
11845         and insert the contents there, so that we don't have subsequent
11846         ERT insets with nothing between them. This way we create only one
11847         inset with multiple paragraphs. Also check if we don't insert only
11848         spaces ' ' as they are ignored anyway afterwards in the .tex file
11849         so if we have only spaces we will ignore this latex part in the
11850         new file.
11851         (parseSingleLyXformat2Token \\layout): better compatibility when
11852         reading layout-latex stuff.
11853         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11854         language tag.
11855         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11856         stuff after reading the inset only get the information back from
11857         the stack.
11858
11859 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11860
11861         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11862
11863         * LaTeXFeatures.C (getBabelOptions): New method.
11864
11865 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * BufferView_pimpl.C (Dispatch): work around missing argument for
11868         'layout'
11869
11870 2002-05-08  Juergen Vigna  <jug@sad.it>
11871
11872         * text.C (leftMargin): handle paragraph leftindent.
11873
11874         * paragraph.C (writeFile): write the new \\leftindent tag.
11875         (validate): handle leftindent code.
11876         (TeXEnvironment): handle paragraphleftindent code again.
11877
11878         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11879
11880         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11881         for paragrap_extra indent code and new token \\leftindent.
11882         (latexParagraphs): handle the leftindent as environment.
11883
11884         * ParameterStruct.h: added leftindent support.
11885
11886         * ParagraphParameters.C (leftIndent): added support functions for
11887         the paragraph left indent.
11888
11889         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11890         more appropriate.
11891
11892 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11895         inside insetERT.
11896
11897         * text.C (computeBidiTables): No bidi in insetERT.
11898
11899         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11900         in RTL documents.
11901
11902 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * version.C.in: pre 5
11905
11906 2002-05-02  José Matos  <jamatos@fep.up.pt>
11907         * buffer.C (makeDocBookFile): white space changes, add newline to
11908         command styles.
11909         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11910
11911         * tabular.C (docBook): fix typo.
11912
11913 2002-05-03  Juergen Vigna  <jug@sad.it>
11914
11915         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11916         change in LyXText as we can not be sure it was not freed.
11917         (drawOneRow): remove unused code.
11918
11919         * text.C (drawInset): redo the calculation of the need_break_row as
11920         it could have a row which was already freed.
11921         (draw): look at the return value of drawInset and return false if
11922         it also returned false.
11923         (paintRowText): look at the return value of draw and return false if
11924         it also returned false.
11925
11926         * lyxtext.h: added bool return type to drawInset() and draw() so that
11927         if we have a change in the row so that the rowbreak has to be redone
11928         we abort drawing as it will be called again.
11929
11930 2002-05-02  Juergen Vigna  <jug@sad.it>
11931
11932         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11933         a change in the maintext also if we're inside an inset.
11934         (Dispatch): set the cursor again after a break line and after the
11935         screen has been updated as it could be we're in a different row.
11936
11937         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11938         to set the cursor behind the pargraph with > size().
11939         (setCursor): check also for the same paragraph when checking where
11940         to put the cursor if we have a NFR inset.
11941
11942         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11943         parts of layout read further up as it still was in the wrong
11944         position.
11945
11946 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11947
11948         * screen.C (drawFromTo): change sine fullRebreak always return
11949         true.
11950
11951         * buffer.C (parseSingleLyXformat2Token): reindent some
11952
11953         * BufferView_pimpl.C (update): change since fullRebreak always
11954         return true.
11955         (Dispatch): git rid of the last hardcoded "Standard"s.
11956
11957 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11958
11959         * text2.[Ch] (fullRebreak): make it return void now that we always
11960         returned true.
11961
11962 2002-04-30  Juergen Vigna  <jug@sad.it>
11963
11964         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11965         ert compatibility check for "latex" layout.
11966
11967 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11970         minipages: use col% instead of p%, and also use the current font.
11971         (makeLaTeXFile): Fix use babel condition.
11972         (parseSingleLyXformat2Token): Correct font when reading old floats.
11973
11974 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11977         inserting list of floats.
11978
11979 2002-04-25  Herbert Voss  <voss@lyx.org>
11980
11981         * MenuBackend.C (expand): don't add the graphics extensions to the
11982         export menu
11983
11984 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11987         non-existing layout, do not complain if it was the default layout
11988         of the original class (bug #342)
11989
11990 2002-04-24  Juergen Vigna  <jug@sad.it>
11991
11992         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11993         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11994
11995 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         * buffer.C (getBibkeyList): If using \bibliography, return the
11998         option field with the reference itself. Enables us to provide natbib
11999         support when using \bibliography.
12000
12001 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12002
12003         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12004
12005         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12006         natbib is provided by the LaTeX class.
12007
12008 2002-04-23  Juergen Vigna  <jug@sad.it>
12009
12010         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12011         Wakeup functions.
12012
12013         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12014
12015 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12018
12019         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12020         ensuremath around textordmasculine, textordfeminine and
12021         textdegree.
12022
12023 2002-04-19  Juergen Vigna  <jug@sad.it>
12024
12025         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12026         reinitializing the buffer otherwise row-dimensions may be wrong.
12027         (update): reset also the selection cursors if they do exits otherwise
12028         their x/y positions may be wrong.
12029
12030         * text2.C (cursorDown): don't enter the inset if we came from a row
12031         above and are one row over the inset.
12032
12033         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12034         really leaving an inset.
12035
12036 2002-04-18  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12039         of the selected paragraph does not have the selected layout also if
12040         the last one had!
12041
12042         * text2.C (setLayout): fixed bug which did not change last selected
12043         paragraph.
12044
12045         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12046         changed the read and substituted \\end_float with \\end_inset!
12047
12048         * BufferView_pimpl.C (cursorPrevious):
12049         (cursorNext): fixed to make it work with rows heigher than the work
12050         area without moving the cursor only the draw of the row.
12051         (workAreaMotionNotify): fix jumping over high rows.
12052
12053 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12056         Ressler.
12057
12058 2002-04-16  Juergen Vigna  <jug@sad.it>
12059
12060         * text2.C (setCursor): set also the irow().
12061         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12062         (cursorUp):
12063         (cursorDown): support for locking an inset if the x_fix value goes
12064         inside it. That way I can transverse insets too with cursor up/down.
12065
12066         * lyxrow.h: added irow helper function same as other (i) functions.
12067
12068         * BufferView_pimpl.C (cursorPrevious):
12069         (cursorNext): fixed for insets!
12070
12071 2002-04-15  Juergen Vigna  <jug@sad.it>
12072
12073         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12074         position otherwise it is wrong in some cases.
12075
12076         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12077         inside the inset before the call.
12078
12079 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12080
12081         * buffer.[Ch] (getBibkeyList): make it const.
12082
12083 2002-04-12  Juergen Vigna  <jug@sad.it>
12084
12085         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12086
12087         * text2.C (getCursorX): new helper function
12088         (setCursor): compute also ix_
12089         (setCursorFromCoordinates): set also ix.
12090
12091         * lyxcursor.h: added ix_ and helper functions.
12092
12093         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12094
12095         * buffer.C (insertStringAsLines): dont break paragraph if the this
12096         paragraph is inside an inset which does not permit it!
12097
12098         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12099         also with no chars on this paragraph.
12100         (paintRowText): only paint stuff if it's inside the workarea!
12101
12102         * paragraph.C (breakParagraph): honor keepempty flag and break the
12103         paragraph always below not above.
12104
12105         * BufferView2.C (unlockInset): update the paragraph layout on inset
12106         unlock as we changed paragraph in such a case.
12107
12108         * lyxfind.C (LyXFind): clear the former selection if not found!
12109
12110         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12111         again called in insertChar().
12112
12113         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12114         an inset which uses the whole row!
12115         (rightMargin): ditto.
12116         (insertChar): force a rebreak if we inserted an inset!
12117
12118 2002-03-28  Herbert Voss  <voss@lyx.org>
12119
12120         * lyxlength.[Ch]: add inBP() to get the right PS-point
12121         units (BigPoint). With inPixels we have rounding errors
12122
12123 2002-04-11  Juergen Vigna  <jug@sad.it>
12124
12125         * text2.C (setCursorFromCoordinates): set iy to the right value.
12126         (setCursor): add check if row->previous exists!
12127
12128         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12129         an old float_type as this was the case in the old code!
12130
12131         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12132
12133         * BufferView2.C (showLockedInsetCursor): use iy
12134         (fitLockedInsetCursor): ditto
12135
12136         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12137         locked insets as there we have the right value now.
12138
12139         * lyxcursor.C: added iy_ variable and iy functions to set to the
12140         baseline of cursor-y of the locked inset.
12141
12142         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12143         (setCursor): fixed for insets which need a full row.
12144
12145         * text.C (rowLastPrintable): don't ignore the last space when before
12146         an inset which needs a full row.
12147         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12148         as last character of a row when before a inset which needs a full row.
12149
12150 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * version.C.in: update date
12153
12154         * text2.C (fullRebreak): try to always return true and see what
12155         happens...
12156
12157 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * MenuBackend.C (expand): use Floating::listName
12160
12161         * FloatList.C (FloatList): add listName argument to the built-in
12162         floats
12163
12164         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12165         text associated with the float.
12166
12167 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12170
12171 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * ShareContainer.h: add a couple of missing typenames.
12174
12175 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * lyxrc.C (getDescription): use _() correctly rather than N_().
12178
12179 2002-03-28  Herbert Voss  <voss@lyx.org>
12180
12181         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12182         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12183
12184 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12187         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12188
12189 2002-03-29  Juergen Vigna  <jug@sad.it>
12190
12191         * lyxfunc.C (dispatch): add a missing fitCursor call.
12192
12193         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12194         it was scrolled by a cursor move, so return the bool status.
12195
12196         * BufferView.C (fitCursor): return the bool flag also to the outside
12197         world as this is needed.
12198
12199         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12200
12201         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12202         call the edit() as it is not needed (and wrong) IMO.
12203         (workAreaButtonPress): set the screen_first variable before evt.
12204         unlock the inset as this may change screen_first and then we have
12205         a wrong y position for the click!
12206
12207 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12208
12209         * MenuBackend.C (expand): another translation that I missed
12210
12211 2002-03-28  Juergen Vigna  <jug@sad.it>
12212
12213         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12214
12215         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12216
12217 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12220
12221         * MenuBackend.C (expand): fix export/view/update when there is no
12222         document open.
12223
12224 2002-03-27  Herbert Voss  <voss@lyx.org>
12225
12226         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12227         and text%
12228
12229 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12230
12231         * bufferview_funcs.C (currentState): only show paragraph number
12232         for is DEVEL_VERSION is set.
12233
12234         * lyxfunc.C (dispatch): put warning in INFO channel
12235
12236         * MenuBackend.C (expand): translate the name of floats
12237
12238         * FloatList.C (FloatList): mark the float names for translation
12239
12240         * converter.C (convert): use LibScriptSearch
12241
12242 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * MenuBackend.C (defaults): fix default menu (we might as well get
12245         rid of it...)
12246
12247 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12248
12249         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12250         directory.
12251
12252 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * lyxvc.C: reorder includes.
12255
12256 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12259           properly
12260
12261 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * CutAndPaste.C: change layouts earlier on paste
12264           to avoid crashing when calling getFont()
12265
12266 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12267
12268         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12269         irritating #error.
12270
12271 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * WorkArea.C: remove 'Pending' debug message.
12274
12275         * most files: ws cleanup
12276
12277         * buffer.[Ch]: ws changes
12278
12279         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12280
12281 2002-03-21  Juergen Vigna  <jug@sad.it>
12282
12283         * tabular.C (SetMultiColumn): collapse also the contents of the
12284         cells and set the last border right. Added a Buffer const * param.
12285
12286 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12289         linking or not.
12290
12291 2002-03-19  Juergen Vigna  <jug@sad.it>
12292
12293         * text2.C (clearSelection): reset also xsel_cache.
12294
12295         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12296         where it needs to be called (John tells us to do so too :)
12297         (selectionLost): reset sel_cache.
12298
12299         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12300
12301 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * text2.C (setCursorIntern): put debuging code in INSETS channel
12304
12305 2002-03-19  André Pönitz <poenitz@gmx.net>
12306
12307         * lyxfunc.C: tiny whitespace change
12308
12309 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12310
12311         * ToolbarDefaults.C (init):
12312         * LyXAction.C (init):
12313         * commandtags.h:
12314         * BufferView_pimpl.C (Dispatch):
12315         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12316
12317 2002-03-19  Allan Rae  <rae@lyx.org>
12318
12319         * exporter.C (Export): removeAutoInsets before doing anything else.
12320         While I've just introduced a dependency on BufferView this really is
12321         the best place to clean the buffer otherwise you need to cleanup in
12322         a dozen places before calling export or cleanup in a dozen functions
12323         that export calls.
12324
12325         * converter.C (runLaTeX):
12326         (scanLog): Better handling of removeAutoInsets and screen updates.
12327
12328         * lyxfunc.C (dispatch): small whitespace changes
12329
12330 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * WorkArea.C (C_WorkAreaEvent): return a value.
12333         (event_cb): return 1 if we handled the event, 0 otherwise.
12334
12335         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12336
12337 2002-03-18  Juergen Vigna  <jug@sad.it>
12338
12339         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12340         (GetAdditionalWidth): ditto.
12341         (RightLine): ditto.
12342         (LeftLine): ditto.
12343
12344         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12345         inset if we're there actually (probably not used right now but this
12346         is the direction to go for unifying code).
12347         (paste): disable code to clear the selection.
12348
12349         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12350         inside an InsetText and move the check further up as it is in the
12351         wrong place.
12352
12353         * text2.C (pasteSelection): set a selection over the pasted text.
12354
12355 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12356
12357         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12358         and libgraphics to build on Cygwin.
12359
12360 2002-03-15  Juergen Vigna  <jug@sad.it>
12361
12362         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12363         inserting an Inset into the paragraph. I know this is not the best
12364         fix but we already use current_view in CutAndPaste so we will remove
12365         all of it's using at the same time.
12366
12367         * buffer.C (sgmlError): deactivated function till it is rewritten in
12368         the right mode, now it can create problems.
12369
12370         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12371         before accessing it.
12372
12373 2002-03-14  Juergen Vigna  <jug@sad.it>
12374
12375         * undo_funcs.C (textHandleUndo): do the right thing when updating
12376         the inset after the undo/redo.
12377
12378         * text2.C (setCursor): just some testcode for #44 not ready yet.
12379
12380         * undo_funcs.C (textHandleUndo): set the next() and previous()
12381         pointers of the paragraph to 0 before deleting otherwise we have
12382         problems with the Paragraph::[destructor].
12383
12384         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12385         on a paragraph insertion.
12386
12387 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * buffer.C (asciiParagraph): use += operator for char append to
12390         string.
12391
12392         * paragraph.C (getFontSettings): compare >= not just >
12393         (highestFontInRange): ditto
12394         (setFont): ditto
12395
12396 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * paragraph.C: change several algorithm to be more appripriate for
12399         the problem domain. This is lookip in FontList and in the InsetList.
12400
12401 2002-03-13  André Pönitz <poenitz@gmx.net>
12402
12403         * commandtags.h:
12404         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12405
12406 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * commandtags.h:
12409         * LyXAction.C:
12410         * lyxfunc.C:
12411         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12412
12413 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * Painter.C (display): anon helper function, adjust code for this
12416         change.
12417         (pixmap): remove function.
12418
12419         * Painter.h: remove private display variable.
12420
12421         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12422
12423 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12424
12425         * WorkArea.[Ch]: remove figinset_canvas cruft.
12426
12427 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * lyxtextclass.C (operator): add one item cache optimization.
12430
12431         * bufferlist.h: doxy changes
12432
12433         * bufferlist.C: ws changes
12434
12435         * DepTable.[Ch] (ext_exist): place const in the right spot.
12436
12437         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12438         call resizeInsets.
12439         (workAreaExpose): call resizeInsets when the with BufferView changes.
12440         (Dispatch): adjust for protectedBlank removal
12441         (specialChar): call updateInset if the insert went ok.
12442
12443         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12444         specialChar instead.
12445
12446         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12447
12448         * BufferView.h: doxy change
12449
12450         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12451
12452         * lyxtextclass.C (operator[]): remove non-const version
12453         (defaultLayout): remove non-const version
12454
12455 2002-03-12  Juergen Vigna  <jug@sad.it>
12456
12457         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12458         did resize the LyXText too.
12459
12460         * buffer.C (readLyXformat2): set layout information on newly allocated
12461         paragraphs.
12462
12463         * tabular.C (OldFormatRead): set layout information on the paragraph.
12464
12465 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12466
12467         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12468
12469 2002-03-11  Juergen Vigna  <jug@sad.it>
12470
12471         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12472         plainly wrong.
12473         (resizeCurrentBuffer): force also the insets to resize themselfes.
12474         (moveCursorUpdate): fixed up for InsetText.
12475
12476 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * commandtags.h:
12479         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12480         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12481         value of Dialogs::tooltipsEnabled().
12482         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12483
12484 2002-03-08  Juergen Vigna  <jug@sad.it>
12485
12486         * BufferView_pimpl.C (updateInset): update inset inside inset also
12487         if it isn't inside theLockingInset().
12488
12489 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12490
12491         * buffer.C (asciiParagraph): redo some of the word and line length
12492         handling.
12493         (getLists): look for Caption instead of caption.
12494
12495 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * buffer.C (Buffer): initialize niceFile to true
12498         (makeLaTeXFile):
12499         (makeLinuxDocFile):
12500         (makeDocBookFile): make sure niceFile is true on exit
12501
12502 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12505
12506 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12507
12508         * LyXSendto.C: remove.
12509         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12510         * lyx_gui.C: remove now-redundant comment.
12511         * ColorHandler.h: remove forward declaration of class WorkArea.
12512         * lyxfunc.C: remove #include "WorkArea.h".
12513
12514 2002-03-07  Juergen Vigna  <jug@sad.it>
12515
12516         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12517         got moved away with the DEPM and also set the inset_owner always
12518         right which before could have been omitted.
12519
12520 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12523         wanted layout is not found.
12524
12525 2002-03-07  Juergen Vigna  <jug@sad.it>
12526
12527         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12528
12529 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12530
12531         * paragraph.C (breakParagraph): use default layout not layout of
12532         prev paragraph.
12533         (Paragraph): clear ParagraphParameters.
12534
12535 2002-03-06  Juergen Vigna  <jug@sad.it>
12536
12537         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12538         otherwise it would not be a valid lenght. Fixed a special case in
12539         the minipage compatibility read where we end the document with a
12540         minipage.
12541
12542         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12543         was set as it could be 0 for InsetTexts first entry.
12544
12545 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * paragraph.C (writeFile): if layout is empty write out
12548         defaultLayoutName().
12549
12550         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12551         file without named layout we set layout to defaultLayoutName().
12552
12553 2002-03-06  Juergen Vigna  <jug@sad.it>
12554
12555         * CutAndPaste.C (copySelection): set layout for new paragraph.
12556
12557         * text.C (prepareToPrint): leave ERT inset left aligned
12558         (leftMargin): don't indent paragraphs inside ERT insets
12559
12560 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * paragraph.C (breakParagraph): dont call clear do the work manually
12563
12564         * paragraph.[Ch] (clear): remove function
12565
12566 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * paragraph.C (Paragraph): dont call clear, the work has already
12569         been done.
12570
12571         * lyxtextclass.C (operator): assert if n is empty
12572
12573         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12574         work manually instead.
12575
12576 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * BufferView_pimpl.C: protect selectionLost against text == 0
12579
12580 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12581
12582         * text.C (breakParagraph): fix a setting layout to '0' problem.
12583
12584 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12585
12586         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12587         final location of file, for the included files, and graphics.
12588
12589 2002-03-05  Juergen Vigna  <jug@sad.it>
12590
12591         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12592
12593 2002-03-04  Juergen Vigna  <jug@sad.it>
12594
12595         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12596
12597         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12598         last column of multicolumn cells.
12599         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12600
12601 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12602
12603         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12604         file if it doesn't go to a temporary file.
12605
12606         * buffer.C (sgmlOpenTag):
12607         (sgmlCloseTag):  remove extra newline insertion.
12608
12609 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12610
12611         * text.C (getRowNearY): comment out debug msg
12612
12613 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * text2.C: first -> first_y
12616
12617         * text.C (getRowNearY): add some attemts at a possible
12618         optimization, not working.
12619
12620         * tabular.[Ch]: add BufferParams to several function so that newly
12621         created paragraph can be initialized to he default layotu for the
12622         buffers textclass.
12623
12624         * tabular-old.C (ReadOld): add buf->params to call of Init
12625
12626         * screen.C: rename text->first to text->first_y
12627
12628         * paragraph.C (breakParagraph): always set layout in the broken
12629         paragraph
12630
12631         * lyxtextclass.C (Read): remove lowercase
12632         (hasLayout): ditto
12633         (operator): ditto
12634         (delete_layout): ditto
12635
12636         * lyxtext.h: rename first -> first_y
12637
12638         * lyxlayout.C (Read): remove lowercase
12639         (name): ditto
12640         (setName): ditto
12641         (obsoleted_by): ditto
12642
12643         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12644
12645         * buffer.C (insertErtContents): add params are to InsetERT
12646         (parseSingleLyXformat2Token): add code to check if a paragraphs
12647         layout really exist.
12648         (parseSingleLyXformat2Token): add params to several inset
12649         constructors
12650         (asciiParagraph): remove lowercase, do the layout comparisons with
12651         no_case
12652
12653         * BufferView_pimpl.C (cursorNext): first -> first_y
12654         (resizeCurrentBuffer): first -> first_y
12655         (updateScrollbar): first -> first_y
12656         (scrollCB): first -> first_y
12657         (workAreaMotionNotify): first -> first_y
12658         (workAreaButtonPress): first -> first_y
12659         (checkInsetHit): first -> first_y
12660         (cursorPrevious): first -> first_y
12661         (cursorNext): first -> first_y
12662         (Dispatch): add buffer_->params to severl inset contructors
12663
12664 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12665
12666         * lyxlayout.C (Read): remove some debug info that I forgot.
12667
12668         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12669         clean up the code slightly.
12670         (makeLinuxDocFile): ditto
12671         (makeDocBookFile): ditto
12672
12673         * text2.C: layout as string
12674
12675         * text.C: layout as string
12676
12677         * paragraph_pimpl.C: layout as string
12678
12679         * paragraph.[Ch]: layout as string
12680
12681         * lyxtextclasslist.[Ch]: layout as string
12682
12683         * lyxtextclass.[Ch]: layout as string
12684
12685         * lyxtext.h: layout as string
12686
12687         * lyxlayout.[Ch]: layout as string
12688
12689         * lyx_cb.C: layout as string
12690
12691         * bufferview_funcs.C: layout as string
12692
12693         * bufferparams.C: layout as string
12694
12695         * buffer.C: layout as string
12696
12697         * LyXView.[Ch]: layout as string
12698
12699         * LaTeXFeatures.[Ch]: layout as string
12700
12701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12702
12703         * BufferView_pimpl.C: change current_layout to string, remove
12704         lyx::layout_type.
12705         (Dispatch):
12706         (smartQuote):
12707         (insertInset):
12708         (workAreaButtonRelease): layout as string
12709
12710         * BufferView2.C (unlockInset): adjust
12711
12712         * vspace.C (asLatexCommand): use an explict temp variable.
12713
12714 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * Makefile.am: use FRONTEND_*
12717
12718 2002-03-01  Juergen Vigna  <jug@sad.it>
12719
12720         * tabular.C (SetWidthOfMulticolCell): changed to something better
12721         I hope but still work in progress.
12722         (recalculateMulticolumnsOfColumn): renamed function from
12723         recalculateMulticolCells as it is more appropriate now.
12724         (SetWidthOfCell): calculate multicols better.
12725
12726 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12729
12730         * lyxfunc.C (processKeySym): print sequence also if it is
12731         `deleted' (complete)
12732
12733         * kbsequence.C (print): print sequence even if it is deleted
12734         (complete would be a better word, actually).
12735
12736         * lyxfunc.C (dispatch): print complete options after a prefix key
12737
12738         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12739
12740 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12741
12742         * text2.C (setCharFont): eliminate setCharFont code duplication.
12743
12744 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12747         LFUN_TABULAR_FEATURE (bug #177)
12748
12749 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12750
12751         * Makefile.am: remove figure.h
12752
12753 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12754
12755         * Bufferview_pimpl.C:
12756         * CutAndPasteC:
12757         * LaTeX.C:
12758         * LyXSendto.C:
12759         * buffer.C:
12760         * bufferlist.C:
12761         * converter.C:
12762         * language.C:
12763         * lyxfunc.C:
12764         * lyxvc.C:
12765         * paragraph.C:
12766         * text.C:
12767         * text2.C: remove #include "lyx_gui_misc.h".
12768
12769         * LaTeX.C: added #include <cstdio>
12770
12771 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12774         that the paragraph following this one can have.
12775
12776         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12777
12778         * vspace.C (asLatexCommand): fix bogus gcc warning
12779
12780         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12781
12782 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12783
12784         * text2.C (setLayout): get rid of redundant code
12785
12786 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12787
12788         * text2.C (incDepth): make sure depth cannot be increased beyond
12789         reasonable values.
12790
12791 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12794         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12795
12796         * PainterBase.h (image):
12797         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12798         a LyXImage const *.
12799
12800 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * BufferView.C:
12803         * BufferView.h:
12804         * BufferView_pimpl.C:
12805         * BufferView_pimpl.h:
12806         * LaTeXFeatures.C:
12807         * LyXAction.C:
12808         * LyXView.C:
12809         * Makefile.am:
12810         * UpdateList.h:
12811         * UpdateList.C:
12812         * buffer.C:
12813         * figure.h:
12814         * figureForm.C:
12815         * figureForm.h:
12816         * figure_form.C:
12817         * figure_form.h:
12818         * lyx_cb.C:
12819         * lyx_gui.C:
12820         * lyx_gui_misc.C:
12821         * lyxfunc.C:
12822         * sp_base.h:
12823         * sp_ispell.h:
12824         * sp_pspell.h:
12825         * sp_spell.C: remove fig inset, and the crap house of
12826           cards that follows it
12827
12828 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * Makefile.am:
12831         * lyxserver.C:
12832         * os2_defines.h:
12833         * os2_errortable.h:
12834         * nt_defines.h: move .h into support/
12835
12836         * vms_defines.h: remove
12837
12838         * WorkArea.C: add space in debug output
12839
12840         * text2.C:
12841         * paragraph.C:
12842         * buffer.C: add WITH_WARNINGS
12843
12844         * vc-backend.h:
12845         * vc-backend.C:
12846         * bufferlist.C: s/retrive/retrieve/, add docs
12847
12848         * vspace.h:
12849         * vspace.C:
12850         * kbmap.h:
12851         * lyxlength.h:
12852         * lyxgluelength.h:
12853         * length_common.h:
12854         * chset.h:
12855         * chset.C: add docs
12856
12857         * lyxgui.C: add ID to X error handler
12858
12859         * lyxtestclass.c: fix typo
12860
12861 2002-02-26  Juergen Vigna  <jug@sad.it>
12862
12863         * tabular_funcs.C (write_attribute): changed so that some default
12864         attributes are not written at all.
12865         (getTokenValue): set default values before trying to read the
12866         value so we have the return value always set as default if we don't
12867         find the token we search for.
12868
12869         * tabular.C (Write): write bools as bools not as strings!
12870
12871 2002-02-22  Juergen Vigna  <jug@sad.it>
12872
12873         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12874         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12875
12876         * text.C (leftMargin): don't add an indent for paragraphs inside
12877         tabular cells (fix #208).
12878
12879 2002-02-21  José Matos  <jamatos@fep.up.pt>
12880
12881         * tabular.C (docBook): fixed support for long tables.
12882
12883 2002-02-20  Juergen Vigna  <jug@sad.it>
12884
12885         * text2.C (getFont): get the drawing font of the Inset if this
12886         paragraph is inside an inset (only important for InsetERT for now).
12887
12888         * buffer.C (insertErtContents): use new lanugage params in ERT
12889         constructor.
12890
12891         * CutAndPaste.C: commenting out seemingly uneeded code.
12892
12893 2002-02-19  Allan Rae  <rae@lyx.org>
12894
12895         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12896         Iterators might be simple to use but they also get invalidated.
12897         (removeAutoInsets): renamed saved cursor tracking variables and added
12898         some comments to clarify what everything does.
12899
12900 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12901
12902         * Chktex.C:
12903         * LaTeX.C:
12904         * LyXSendto.C:
12905         * converter.C:
12906         * lyx_cb.C:
12907         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12908         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12909
12910         * lyxfunc.C:
12911         * vc-backend.h: remove #include "support/syscall.h"
12912
12913         * LaTeX.C:
12914         * LyXSendto.C:
12915         * converter.C: rearrange #includes in Lars' approved fashion.
12916
12917         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12918         forward declare class Timeout in the header file.
12919
12920         * XFormsView.C: changes due to the above.
12921
12922         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12923         similar to LyXView.
12924
12925         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12926         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12927
12928 2002-02-18  José Matos  <jamatos@fep.up.pt>
12929
12930         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12931         insets contents.
12932
12933 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12934
12935         * a lot of small ws changes
12936         * add a lot of using std::XXX
12937         * use std construcs some places where approp.
12938         * use some exisint stuff from lyxfunctional where approp.
12939         * Make file changes to use partial linking (lets test this now...)
12940
12941 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12942
12943         * Chktex.C:
12944         * buffer.C:
12945         remove #include "support/syscontr.h" as it's redundant. Always has been.
12946
12947         * Chktex.C:
12948         * LaTeX.C:
12949         * LyXSendto.C:
12950         * converter.C:
12951         * lyx_cb.C:
12952         * vc-backend.C:
12953         change Systemcalls::System to Systemcalls::Wait and
12954         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12955         No change of functionality, just reflects the stripped down Systemcalls
12956         class.
12957
12958 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * debug.[Ch]: add a GRAPHICS type to the enum.
12961
12962 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12963
12964         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12965
12966         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12967         there is an inset.
12968
12969 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12970
12971         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12972         match the changes below.
12973
12974         * text2.C (toggleInset): if there is not editable inset at cursor
12975         position, try to see if cursor is _inside_ a collapsable inset
12976         and close it.
12977
12978 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12979
12980         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12981         document menu has a nice checkbox
12982
12983 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12984
12985         * lyxlength.C (asLatexString): change PW to output as percent of
12986         \textwidth.
12987
12988         * lengthcommon.C: change '%' to 't%'
12989
12990         * lyxfunc.C (dispatch): a few comments from Martin
12991
12992 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * WorkArea.h:
12995         * WorkArea.C:
12996         * BufferView_pimpl.h:
12997         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12998           the X selection.
12999
13000 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * vspace.C (inPixels): fix compiler warning
13003
13004 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13005
13006         * lyxfunc.C (getStatus): fix status message for disabled commands.
13007
13008 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * BufferView_pimpl.C: fix crash on close buffer
13011         during selection (#227)
13012
13013 2002-01-27  Herbert Voss  <voss@lyx.org>
13014
13015         * buffer.C: link old Figure to new graphic inset
13016
13017 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13018
13019         * FontLoader.C (getFontinfo): Change the latex font names in order
13020         to match the names of type1inst.
13021
13022 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13023
13024         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13025
13026         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13027         (extchanged): ditto
13028         (ext_exist): ditto
13029         (remove_files_with_extension): ditto
13030         (remove_file): ditto
13031         (write): ditto
13032
13033         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13034         document is smaller than the work area height. Do not initialize
13035         static variables to 0.
13036
13037 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13038
13039         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13040
13041         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13042         LFUN_LAYOUT_PARAGRAPHS.
13043
13044         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13045         tabular. It is possible to provide a possible cell, which will
13046         typically be the actcell from the corresponding insettabular
13047
13048         * lyxfunc.C (getStatus): small cleanup; disable
13049         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13050         true
13051
13052 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13053
13054         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13055
13056         * paragraph.C (startTeXParParams):
13057         (endTeXParParams): new methods. The LaTeX code to
13058         start/end paragraph formatting
13059         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13060         empty (fixes bug #200)
13061
13062         * vspace.C (inPixels): adapt to the change below
13063         (inPixels): [later] more cleanups (remove unused variables)
13064
13065         * lyxlength.C (inPixels): change to use a width and a height as
13066         parameter.
13067
13068 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13071         Replaced with \paperwidth
13072
13073         * DepTable.C (insert): add std:: qualifier
13074
13075 2002-01-18  Allan Rae  <rae@lyx.org>
13076
13077         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13078         updated also?
13079
13080         * text.C (drawInset): Turned out I didn't know enough about how
13081         rebreaking worked.  This fixes most of the redraw problems.  I see
13082         an occasional cursor trail when a line is broken now and the cursor
13083         placement can seem out by a few pixels also after a rebreak.
13084
13085 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * buffer.C (parseSingleLyXformat2Token): update because minipage
13088         width is now a LyXLength
13089
13090         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13091
13092         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13093         math insets
13094
13095 2002-01-17  Juergen Vigna  <jug@sad.it>
13096
13097         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13098
13099         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13100         is set correctly and the inset is updated correctly.
13101
13102 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13103
13104         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13105         the beginning of the loop.
13106
13107 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13108
13109         * lyxrc.C: improve help for use_scalable_fonts
13110
13111 2002-01-17  Allan Rae  <rae@lyx.org>
13112
13113         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13114
13115 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13116
13117         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13118         make sure to set their inset_owner to the right value (bug #171)
13119
13120 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13121
13122         * DepTable.h
13123         * DepTable.C: Implement mtime checking to reduce time spent doing
13124         CRCs.
13125
13126 2002-01-16  Juergen Vigna  <jug@sad.it>
13127
13128         * tabular.C (GetAdditionalHeight): one of error fixed.
13129
13130         * lyxrc.C (output): small fix in writing use_pspell.
13131
13132 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13133
13134         * sp_base.h: #include LString.h
13135
13136 2002-01-16  Allan Rae  <rae@lyx.org>
13137
13138         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13139         Can someone check this please?
13140
13141         * text.C (drawInset): It was possible that p.row would be removed by
13142         breakAgainOneRow upsetting a few other settings.  There may be another
13143         small tweak possible by setting need_break_row = 0 when p.row has been
13144         removed but I don't know enough about the logic here.
13145
13146 2002-01-15  Allan Rae  <rae@lyx.org>
13147
13148         * text.C (insertChar): removed conditional truism.
13149
13150         * BufferView2.C (removeAutoInsets): More tweaks.
13151         cur_par_prev could be a stray pointer.  Check for trailing empty line
13152         in case last line was cur_par and only had an error inset on it.
13153
13154 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13155
13156         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13157         absolute
13158
13159         * vc-backend.C (most methods):
13160         * exporter.C (Export):
13161         * converter.C (convert):
13162         (runLaTeX):
13163         * LyXSendto.C (SendtoApplyCB):
13164         * lyxfunc.C (dispatch):
13165         (menuNew):
13166         (open):
13167         (doImport):
13168         * lyx_cb.C (AutoSave):
13169         (InsertAsciiFile):
13170         * BufferView_pimpl.C (MenuInsertLyXFile):
13171         * buffer.C (runChktex): use Buffer::filePath().
13172
13173         * buffer.h: rename filename to filename_; rename filepath to
13174         filepath_ and make it private
13175         (filePath): new method
13176
13177         * buffer.C (writeFile): use fileName()
13178         (getLatexName):
13179
13180         * lyx_main.C (init): fix starting  of LyX when the binary is a
13181         link from so,ewhere else.
13182
13183         * minibuffer.C: include <cctype> for isprint
13184
13185 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13186
13187         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13188         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13189         name clash with InsetCollapsable's width function.
13190
13191 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * lastfiles.C: include <iterator>
13194
13195 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13196
13197         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13198         std::count.
13199
13200         * buffer.C (makeLaTeXFile): ditto.
13201         Also make loop operation more transparent.
13202
13203 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13204
13205         * ToolbarDefaults.C: remove trailing comma closing namespace.
13206
13207         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13208
13209         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13210         as in WorkArea.
13211
13212         * trans.C (Load): comment out unused variable, allowed.
13213
13214 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * minibuffer.[Ch] (append_char): new method to recieve input from the
13217         drop-down completion browser. If a key was pressed, then recieve this
13218         char and append it to the existing string.
13219         (peek_event): modify the positioning data passed to the completion
13220         browser so that it can be placed above the minibuffer rather than below.
13221 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * LyXAction.C (init): alloe error-next for readonly documents.
13224
13225         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13226         count.
13227
13228 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * bufferlist.C (readFile): create the buffer _after_ checking that
13231         the file exists.
13232
13233         * lyxfunc.C (verboseDispatch): fix handling of arguments
13234
13235         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13236
13237         * lyxrc.C: use string::erase() instead of initializing to "".
13238
13239
13240 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.h:
13243         * BufferView_pimpl.C:
13244         * WorkArea.h:
13245         * WorkArea.C:
13246         * text2.C: tell X when we have made a selection for copying
13247
13248 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * BufferView_pimpl.C (MenuInsertLyXFile):
13251         * lyxfunc.C (menuNew):
13252         (open):
13253         (doImport): add shortcuts to directory buttons
13254
13255         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13256         open a float)
13257
13258         * lyxfunc.C (setStatusMessage):
13259         (getStatusMessage): new methods
13260         (getStatus):use setStatusMessage instead of setErrorMessage
13261         (dispatch): when function is disabled, set error message here
13262         [instead of in getStatus previously]
13263
13264         * BufferView_pimpl.C (workAreaButtonRelease): update
13265         toolbar/menubar here too.
13266
13267 2002-01-13  Allan Rae  <rae@lyx.org>
13268
13269         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13270         Now seems indestructible.  Remaining task is to audit all other
13271         code affected by deleteEmptyParagraphMechanism.  One small quirk
13272         left is that an empty document with an error in the preamble can
13273         be made to report an error but no error box appears.  I don't know
13274         where it goes.
13275         (removeAutoInsets): Improved comments.
13276
13277 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13278
13279         * Thesaurus.h:
13280         * Thesaurus.C: update for Aiksaurus 0.14
13281
13282 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13283
13284         * text2.C (firstParagraph): removed member function, all uses
13285         replaces with ownerParagraph
13286         (redoParagraphs): here
13287         (updateInset): here
13288         (toggleAppendix): here
13289         * BufferView2.C (insertErrors): here
13290         (setCursorFromRow): here
13291
13292 2002-01-13  Allan Rae  <rae@lyx.org>
13293
13294         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13295         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13296         There is still a way to segfault this although you may have to do this
13297         multiple times: Have an InsetERT with an unknown command in it.
13298         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13299         <down-arrow>, <Enter> again, View->DVI, BANG!
13300
13301         * text2.C (setCursor):
13302         (deleteEmptyParagraphMechanism):
13303         * lyxtext.h (setCursor):
13304         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13305         Making use of the return value may help fix other bugs.
13306
13307 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13310
13311         * LyXView.C (updateMenubar): call MenuBar::update here
13312         (updateToolbar): but not here
13313         (showState): do not update toolbar/menubar
13314
13315         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13316         should need to care about that.
13317
13318         * lyxfunc.C (verboseDispatch): simplify a bit
13319         (getStatus): have a version which takes a pseudoaction, and
13320         another which requires a (kb_action,string).
13321
13322         * LyXAction.C (retrieveActionArg): make it work also when action
13323         is not a pseudo-action.
13324         (getActionName): simplify a bit
13325         (helpText):
13326
13327 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * lyxfunc.C (verboseDispatch): new families of methods with
13330         several ways to specify a command and a bool to indicate whether
13331         the command name and shortcut should be displayed in minibuffer
13332         (eventually, we could extend that to a finer bitmask like
13333         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13334         (dispatch): the pristine dispatch command which just, well,
13335         dispatchs! Note it still sets its result to minibuffer; I'm not
13336         sure we want that.
13337
13338         * lyxfunc.h: remove setHintMessage
13339
13340         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13341
13342 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * BufferView_pimpl.C (specialChar): delete new inset if we have
13345         not been able to insert it.
13346
13347         * kbmap.C: revert to using int instead of kb_action, since all we
13348         are dealing with is pseudo-actions.
13349
13350         * LyXAction.C (searchActionArg): change to return int instead of
13351         kb_action, since the result is a pseudoaction.
13352
13353 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13354
13355         * buffer.C (insertErtContents): Fix (partially) the font bug.
13356
13357 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13360         as the other one is broken on my machine!
13361
13362 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13363
13364         * commandtags.h:
13365         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13366
13367 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13368
13369         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13370         reflect their actual use. Provide compatibility code for older lyxrc
13371         files.
13372
13373         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13374         FL_NORMAL_STYLE.
13375         change names of popup font variables in line with the changes to lyxrc.C
13376
13377 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13378
13379         * buffer.C (asciiParagraph): avoid outputing a word twice after
13380         an inset.
13381
13382         * lyxrc.C (getDescription): document that document_path and
13383         template_path can be empty.
13384
13385 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * LaTeXFeatures.C (getMacros):
13388         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13389
13390         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13391
13392         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13393         getPackages.
13394         (getPackages): rename feature "floats" to "float". Use an array to
13395         iterate over 'simple' features (i.e. just a \usepackage). Add
13396         handling of "amsmath" (renamed from "amsstyle").
13397
13398 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13399
13400         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13401         features list.
13402
13403 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13406         FuncStaus::FuncStatus & FuncStaus::some_method().
13407
13408 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13409
13410         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13411         of the func_satus stuff. Edited and massaged in various ways by
13412         JMarc.
13413
13414         * lyxfunc.C (getStatus): use FuncStatus
13415
13416 2002-01-08  Juergen Vigna  <jug@sad.it>
13417
13418         * text.C (nextBreakPoint): use function Inset::isChar().
13419
13420         * paragraph.C (TeXOnePar): use function
13421         Inset::forceDefaultParagraphs.
13422
13423         * buffer.C (latexParagraphs): use function
13424         Inset::forceDefaultParagraphs.
13425
13426 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * lyx_gui.C (init): set the style of the menu popups to
13429         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13430
13431 2002-01-07  Juergen Vigna  <jug@sad.it>
13432
13433         * text.C (setHeightOfRow): small fix
13434         (prepareToPrint): don't look at alignment if we don't have the place
13435         for doing it.
13436
13437 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * box.C: New file. Move the Box methods and functions out of box.h,
13440         following Lars' suggestion.
13441
13442 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * box.h: #include "support/LOstream.h", needed for inlined function.
13445
13446         * lyxtextclass.C:
13447         * lyxtextclasslist.C: added some using std declarations.
13448
13449 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13450
13451         * box.h: make signed dimensions to allow insets wider than
13452           the screen (bug #162)
13453
13454         * BufferView_pimpl.C: add some insetHit debug
13455
13456 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * vc-backend.C: add FIXME
13459
13460 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * lyxfunc.C (getStatus): enable code for showing math font status
13463         in toolbar/menu.
13464
13465 2002-01-07  Juergen Vigna  <jug@sad.it>
13466
13467         * text.C (nextBreakPoint): removed debug output not needed anymore.
13468
13469 2002-01-06  Juergen Vigna  <jug@sad.it>
13470
13471         * text.C (nextBreakPoint): fixed up this function we had this bug
13472         since ever but now hopefully we break row better.
13473         (insertChar): we have to check if an inset is the next char as it
13474         could now happen that a large inset is causing a break.
13475
13476 2002-01-05  Juergen Vigna  <jug@sad.it>
13477
13478         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13479         if it doesn't like to be drawed.
13480
13481 2002-01-04  Juergen Vigna  <jug@sad.it>
13482
13483         * BufferView2.C (lockInset): forgot to set a cursor.
13484
13485         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13486
13487 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13488
13489         * FormMathsPanel.C:
13490         * FormMathsPanel.h
13491         * MathsSymbols.C:
13492         * form_maths_panel.C:
13493         * form_maths_panel.h:
13494         * form_maths_panel.fd: implemented sub- and super- buttons in math
13495         panel.
13496
13497         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13498         (or ^ space) to be used as in TeX (req'd by André).
13499
13500         * lyxfunc.C: Allow ^ and _ again to be used both as
13501         super/subscript (mathed) and as themselves (in text).
13502
13503 2002-01-03  Allan Rae  <rae@lyx.org>
13504
13505         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13506         "LyX" or the filename of the current buffer if it has one.  This is a
13507         modified form of John Levon's patch.
13508
13509         * XFormsView.C (setWindowTitle): also set icon title.
13510
13511         * LyXView.h (setWindowTitle): signature changed.
13512         * XFormsView.h (setWindowTitle): ditto.
13513
13514 2002-01-02  Juergen Vigna  <jug@sad.it>
13515
13516         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13517
13518 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * screen.C (topCursorVisible): introduce a temp var for
13521         text->cursor.row(), handle the case where this row is null. (kindo
13522         hachish)
13523
13524         * text2.C (setCursor): add a couple of asserts.
13525
13526         * paragraph.h (inset_iterator): add -> operator
13527
13528         * paragraph.[Ch] (autoDeleteInsets): remove member function
13529
13530         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13531         cursor pos correctly and handle inset deletion by itself.
13532         (insertErrors): move iterator declaration out of for expression
13533
13534         * lyxtextclass.C: add <algorithm>
13535
13536         * Makefile.am: added the new files to sources, removed layout.C
13537
13538         * layout.C: removed file
13539
13540         * layout.h: remove LYX_DUMMY_LAYOUT
13541
13542         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13543         layout.
13544
13545         * lyxlayout.[Ch]:
13546         * lyxtextclass.[Ch]:
13547         * lyxtextclasslist.[Ch]: new files
13548
13549         * include order changes to a lot of files, also changes because of
13550         the six new files.
13551
13552 2001-12-27  Juergen Vigna  <jug@sad.it>
13553
13554         * buffer.C (asciiParagraph): more fixes.
13555
13556         * tabular.C (ascii): make ascii export support export of only the
13557         data separated by a column-delimiter.
13558         (ascii): better support for ascii export.
13559
13560         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13561
13562 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13563
13564         * tabular_funcs.C: use a "using std::getline" instead of the
13565         previous fix from Angus (necessary for cxx + lyxstring)
13566
13567 2001-12-24  Juergen Vigna  <jug@sad.it>
13568
13569         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13570
13571         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13572         problems. First check a minipage also if we have some ert-contents
13573         (not only on par->size(), second set the right depth of the paragraph
13574         on the relink to the root-paragraph-list!
13575
13576         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13577         which then did not anymore update the main paragraphs on undo/redo!
13578
13579 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13580
13581         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13582         code. Support all font-changing funcs (even those which are not in
13583         menu currently). Support for reporting font settings in
13584         mathed (disabled until Andre provides a function on mathed's side).
13585
13586         * func_status.h (toggle): small helper function to set toggle
13587         state on a flag.
13588
13589 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * tabular_funcs.C: getline -> std::getline
13592
13593 2001-12-21  Juergen Vigna  <jug@sad.it>
13594
13595         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13596         accessed and could be 0 (I couldn't generate this but it seems
13597         Michael could!).
13598
13599 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13602         * tabular_funcs.h: here and include iosfwd
13603
13604 2001-12-20  Juergen Vigna  <jug@sad.it>
13605
13606         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13607         inside inset but undo_par was.
13608
13609 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13610
13611         * Thesaurus.C: always include <config.h> in sources.
13612
13613         * Painter.h:
13614         * lyxlookup.h:
13615         * box.h: do not include <config.h> in header files
13616
13617         * text.C (paintLastRow): remove unused variable
13618
13619         * text.C (transformChar):
13620         (insertChar):
13621         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13622
13623         * Painter.C (text):
13624         * font.C (width): rewrite to use uppercase() instead of
13625         islower/toupper.
13626
13627         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13628
13629 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13630
13631         * lyxfind.C: clean up of find failure position change
13632
13633 2001-12-20  Juergen Vigna  <jug@sad.it>
13634
13635         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13636
13637         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13638         (TeXRow): added to LaTeX a single tabular row.
13639         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13640         (Latex): simplified and finally good LT-h/f support.
13641         (various_functions): just small adaptions for LT-h/f support.
13642
13643         * tabular_funcs.[hC]: added and moved here all not classfunctions
13644         of LyXTabular.
13645
13646 2001-12-19  Juergen Vigna  <jug@sad.it>
13647
13648         * tabular.[Ch]: better support for longtabular options (not finished
13649         yet!)
13650
13651 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13652
13653         * text.C (paintLastRow): use the label font instead of the font of
13654         the last character to compute the size of *_BOX. This makes more
13655         sense and avoids a crash with empty paragraphs.
13656         Use Painter::rectangle to draw EMPTY_BOX.
13657
13658 2001-12-19  Juergen Vigna  <jug@sad.it>
13659
13660         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13661         the paragraphs if the replaced paragraph is not the first one!
13662         Tried to delete not used paragraphs but does not work yet so for
13663         now it's inside #ifdef's and by default off!
13664
13665 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13666
13667         * MenuBackend.C: include "lyx_main.h" instead of declaring
13668         lastfiles (actually was declared as LastFiles* instead of a
13669         scoped_ptr).
13670
13671 2001-12-17  Juergen Vigna  <jug@sad.it>
13672
13673         * tabular.C (AppendColumn): applied John's fix
13674
13675 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * BufferView.h:
13678         * BufferView.C:
13679         * BufferView_pimpl.h:
13680         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13681
13682         * Makefile.am:
13683         * box.h: new start of class for above
13684
13685         * lyxfunc.C: ignore space-only minibuffer dispatches.
13686           Show the command name when it doesn't exist
13687
13688         * minibuffer.C: don't add empty lines to the history
13689
13690         * minibuffer.C: add a space on dropdown completion
13691
13692 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13693
13694         * text.C: fix line above/below drawing in insets
13695
13696 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13697
13698         * lyxlength.C (LyXLength): Initialize private variables.
13699
13700 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13701
13702         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13703         when inserting error insets.
13704
13705 2001-12-13  Juergen Vigna  <jug@sad.it>
13706
13707         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13708         actually sometimes the before-paragraph.
13709         (setUndo): don't clear the redostack if we're not actually undoing!
13710
13711 2001-12-06  Juergen Vigna  <jug@sad.it>
13712
13713         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13714         and fixed redoing of main paragraph, so we can use it now ;)
13715
13716         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13717
13718 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13721         Juergen's request
13722
13723 2001-12-13  André Pönitz <poenitz@gmx.net>
13724
13725         * undostack.[Ch]:
13726         * undo_func.C: minor cleanup
13727
13728 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13729
13730         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13731         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13732         font in urw-fonts package which is marked as -urw-fontspecific and
13733         does not work (incidentally, changing the encoding in the
13734         fonts.dir of this package to -adobe-fontspecific fixes the
13735         problem).
13736
13737         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13738         is a crash when undoing first paragraph (Juergen, please take a
13739         look). THis does not mean the undo fix is wrong, just that it
13740         uncovers problems.
13741
13742         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13743         the (Paragraph*) version when needed instead of duplicating the
13744         code.
13745
13746         * text.C (workWidth): use Inset::parOwner to find out where the
13747         inset has been inserted. This is a huge performance gain for large
13748         documents with lots of insets. If Inset::parOwner is not set, fall
13749         back on the brute force method
13750
13751         * paragraph_pimpl.C (insertInset):
13752         * paragraph.C (Paragraph):
13753         (cutIntoMinibuffer): set parOwner of insets when
13754         inserting/removing them
13755
13756         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13757
13758 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13759
13760         * commandtags.h:
13761         * LyXAction.C:
13762         * lyx_main.C:
13763         * lyxfunc.C:
13764         * mathed/formulabase.C:
13765         * mathed/math_cursor.[Ch]:
13766         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13767
13768
13769 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * lyxlength.[Ch] (operator!=): new function
13772
13773 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13774
13775         * text.C (workWidth): use Inset::parOwner to find out where the
13776         inset has been inserted. This is a huge performance gain for large
13777         documents with lots of insets. If Inset::parOwner is not set, fall
13778         back on the brute force method
13779
13780         * paragraph_pimpl.C (insertInset):
13781         * paragraph.C (Paragraph):
13782         (cutIntoMinibuffer): set parOwner of insets when
13783         inserting/removing them
13784
13785         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13786
13787 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13788
13789         * tabular-old.C (getTokenValue):
13790         * tabular.C (getTokenValue):
13791         (write_attribute): new versions for LyXLength
13792         (everywhere): adjust the use of widths
13793
13794         * tabular.h: change the type of widths from string to LyXLength
13795
13796 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13797
13798         * paragraph.C: fixed missing line number count when exporting
13799         Environments to LaTeX file
13800
13801         * buffer.C: added informational message for checking line numbers.
13802
13803 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13804
13805         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13806         paragraph, do the 'double space' part, but not the 'empty
13807         paragraph' one.
13808
13809         * text.C (workWidth): small optimization
13810         (getLengthMarkerHeight): use minimal size for negative lengths.
13811
13812 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13813
13814         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13815
13816         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13817
13818 2001-12-11  André Pönitz <poenitz@gmx.net>
13819
13820         * FontLoader.C:
13821         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13822
13823 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * text2.C: keep selection on a setFont()
13826
13827 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * lyx_cb.C: another bv->text misuse, from insert label
13830
13831 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * kbsequence.h:
13834         * kbsequence.C: re-instate nmodifier mask
13835
13836 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13837
13838         * lyx_main.h: make lyxGUI private.
13839
13840 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * lyxfind.C: place the cursor correctly on failed search
13843
13844 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13845
13846         * text.C (getLengthMarkerHeight): for small heights, the arrows
13847         are not always on top/bottom of the text
13848         (drawLengthMarker): smaller arrows; take the left margin in
13849         account; draw also vfills.
13850         (paintFirstRow):
13851         (paintLastRow): remove special code for vfill and standard spaces,
13852         since everything is handled in drawLengthMarker now.
13853
13854 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * buffer.C (insertErtContents): try to handle font and language
13857         interaction a bit better.g
13858
13859         * ColorHandler.C (updateColor): change the hash to cover the whole
13860         LColor enum, ws cleanup
13861         (getGCLinepars): ditto
13862         (getGCLinepars): only lookup in the linecache once.
13863
13864 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13865
13866         * iterators.C (operator++): Make the iterator more robust
13867
13868         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13869         (John's patch)
13870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13871
13872 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13873
13874         * lyxtext.h:
13875         * text.C: better added space drawing
13876
13877 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13878
13879         * LyXView.C:
13880         * BufferView2.C: fix layout combo update on inset unlock
13881
13882 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * Makefile.am: don't compile unused files
13885
13886 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * lyxfunc.C:
13889         * commandtags.h:
13890         * LyXAction.C: remove old LFUN_LAYOUTNO
13891
13892 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * paragraph_pimpl.h:
13895         * paragraph_pimpl.C: isTextAt() doesn't need font param
13896
13897 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13898
13899         * lyxlex.h:
13900         * lyxlex.C: little cleanup
13901
13902 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * BufferView_pimpl.C: fix insertAscii for insets
13905
13906 2001-12-05  Juergen Vigna  <jug@sad.it>
13907
13908         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13909         set the right font on the "multi" paragraph paste!
13910
13911 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13912
13913         * trans_decl.h:
13914         * trans_mgr.[Ch]:
13915         * trans.[Ch]:
13916         * lyxgluelength.C:
13917         * lyxlength.C: remove out-commented code.
13918
13919         * BufferView_pimpl:
13920         * CutAndPaste.C:
13921         * DepTable.C:
13922         * buffer.C:
13923         * chset.C:
13924         * lastfiles.C:
13925         * lyxlex.C:
13926         * lyxlex_pimpl.C:
13927         * lyxserver.C:
13928         * screen.C:
13929         * tabular-old.C:
13930         * tabular.C:
13931         * text.C:
13932         * trans_mgr.C:
13933         * vc-backend.C: change "while(" to "while ("
13934
13935         * lyxlength.[Ch]: add zero function to check if length is zero or
13936         not
13937         * lyxgluelength.C: use it
13938
13939 2001-12-05  Allan Rae  <rae@lyx.org>
13940
13941         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13942         Works for 2.95.3, from what I understand of Garst's reports this should
13943         work for other g++ versions.  We're screwed if the abs(int) definition
13944         changed between bugfix releases of gcc.
13945
13946 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * text.C: fix chapter label offset !
13949
13950 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * lyxtext.h:
13953         * text.C: fix hfill at end of line, clean up
13954
13955 2001-12-04  Juergen Vigna  <jug@sad.it>
13956
13957         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13958         that we force an update of the inset and it's owners if neccessary.
13959
13960 2001-12-03  Juergen Vigna  <jug@sad.it>
13961
13962         * text.C (rowLast): simplified code
13963
13964 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * lyxfunc.C: fix show options on timeout
13967
13968 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * screen.C (topCursorVisible): scroll half a page when the cursor
13971         reached top of bottom of screen
13972
13973 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * minibuffer.C: deactivate on loss of focus
13976
13977 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * vspace.[Ch] (operator!=): add operator.
13980
13981 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * BufferView_pimpl.C: refuse to open an inset when
13984         there's a selection.
13985
13986 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * BufferView_pimpl.C: allow to click on RHS of full row insets
13989
13990 2001-11-30  Juergen Vigna  <jug@sad.it>
13991
13992         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13993         insets for undo reasons.
13994
13995 2001-11-28  André Pönitz <poenitz@gmx.net>
13996
13997         * vspace.[Ch]: cosmetical changes
13998
13999 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * LyXAction.h:
14002         * LyXAction.C:
14003         * lyxfunc.h:
14004         * lyxfunc.C:
14005         * kbmap.h:
14006         * kbmap.C:
14007         * lyxrc.C:
14008         * kbsequence.h:
14009         * kbsequence.C: part re-write of old kb code
14010
14011         * Painter.C:
14012         * WorkArea.C: remove Lgb_bug_find_hack
14013
14014 2001-11-30  José Matos <jamatos@fep.up.pt>
14015
14016         * buffer.C (makeDocBookFile): add a comment to point a hack.
14017         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14018         Fixed a double write of labels.
14019
14020 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14021
14022         * LaTeX.C:
14023         * LaTeX.h Fixed bug in LaTeX class where it would not
14024         re-run latex if no depfiles were changed, but the .dvi was removed.
14025
14026 2001-11-28  André Pönitz <poenitz@gmx.net>
14027
14028         * all the files from the change on 2001/11/26:
14029         use lyx::layout_type instead of LyXTextClass::size_type
14030         use lyx::textclass_type instead of LyXTextClassList::size_type
14031
14032 2001-11-29  Juergen Vigna  <jug@sad.it>
14033
14034         * text.C: added support for paragraph::isFreeSpacing()
14035
14036         * buffer.C: same as above
14037
14038         * paragraph.h: inserted isFreeSpacing() function to enable
14039         FreeSpacing inside InsetERT.
14040
14041         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14042         of the paragraph's in the cut/copy buffer to 0!
14043
14044         * text2.C (removeRow): remove the assert as it can!
14045
14046         * lyxtext.h: added helper function firstRow returning firstrow and
14047         made firstrow private again.
14048
14049         * BufferView2.C (lockInset): don't relock if we're already locked!
14050
14051         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14052         the only paragraph.
14053         (removeRow): added Assert::(firstrow)
14054
14055         * debug.C: forgot to add INSETTEXT here.
14056
14057 2001-11-28  Juergen Vigna  <jug@sad.it>
14058
14059         * sp_spell.C (initialize): changed error text to more general
14060         spellchecker command use (not only ispell!)
14061
14062         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14063
14064         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14065
14066 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * vspace.C: initialise lyxgluelength on failure
14069
14070 2001-11-28  Allan Rae  <rae@lyx.org>
14071
14072         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14073         declaration & definition that looks like a function declaration.
14074
14075 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14076
14077         * BufferView2.C (copy):
14078         (copyEnvironment): do not clear the selection when doing a copy.
14079
14080         * text.C (paintFirstRow): compilation fix
14081
14082 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14083
14084         * tabular.C (Latex): correct line count when writing latex.
14085
14086 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * paragraph_pimpl.h:
14089         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14090           bug a bit
14091
14092 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14093
14094         * text.C:
14095         * LColor.h:
14096         * LColor.C: change vfillline->added_space
14097
14098         * text.C: add markers and text for added space
14099
14100         * vspace.C: fix comment
14101
14102 2001-11-28  André Pönitz <poenitz@gmx.net>
14103
14104         * paragraph.C: whitespace changes
14105         * all the other files from the change on 2001/11/26:
14106         change *::pos_type into lyx::pos_type
14107
14108 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14109
14110         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14111         language of the document when inserting error insets.
14112
14113 2001-11-26  André Pönitz <poenitz@gmx.net>
14114
14115         * BufferView_pimpl.[Ch]:
14116         *       CutAndPaste.C:
14117         * buffer.[Ch]:
14118         * lyxcursor.[Ch]:
14119         * lyxfind.C:
14120         * lyxfunc.C:
14121         * lyxrow.[Ch]:
14122         * paragraph.[Ch]:
14123         * paragraph_pimpl.[Ch]:
14124         * sp_spell.C:
14125         * text.C:
14126         * text2.C: reduce header dependencies, introduce type for positions
14127
14128 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14129
14130         * <various>: change to use Alert.h
14131
14132 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14133
14134         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14135         when encountering an unknown token.
14136         (readLyXformat2): Show an error message if there were unknown tokens.
14137
14138 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * BufferView2.C:
14141         * BufferView_pimpl.C:
14142         * buffer.C:
14143         * paragraph.h:
14144         * text.C:
14145         * text2.C: use par->isInset()
14146
14147 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14148
14149         * paragraph_pimpl.h:
14150         * paragraph_pimpl.C: cleanup
14151
14152 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * text2.C (removeRow):
14155         * text.C (setHeightOfRow): remove useless (and costly) call to
14156         getRow.
14157
14158 2001-11-20  Allan Rae  <rae@lyx.org>
14159
14160         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14161         Now need Inset*::checkInsertChar() to return true for appropriate
14162         cases so that the characters in the minibuffer will actually be
14163         inserted.
14164
14165 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * text.C: change the order of the includes.
14168         (workWidth): initialize it at once.
14169         (workWidth): make maxw unsigned
14170         (setHeightOfRow): remove unused variable (inset)
14171         (selectSelectedWord): remove unused variable (inset)
14172         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14173
14174 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14177         server is not running.
14178         (openConnection):
14179         (closeConnection): add debug info when server is disabled.
14180
14181         * ColorHandler.C (getGCForeground): send debug message to GUI
14182         channel.
14183
14184         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14185
14186         * kbmap.C (bind): modify because return conventions of
14187         kb_sequence::parse have changed.
14188
14189         * kbsequence.C (parse): only ignore spaces and not any stupid
14190         control character. This avoids tests like s[i] <= ' ', which are
14191         guaranteed to fail with 8bit characters and signed chars.
14192         Change return code to string::npos when there have been no error
14193         (0 was a bad idea when error is at first character)
14194
14195 2001-11-14  José Matos  <jamatos@fep.up.pt>
14196
14197         * buffer.h:
14198         * buffer.C (simpleDocBookOnePar): removed unused argument.
14199
14200 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14203         insets which are part of a word. Paragraph::isLetter takes care of
14204         that now. Use Paragraph::isInset to identify insets.
14205         (selectSelectedWord): do not test for hyphenation break.
14206
14207         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14208         that protected spaces are considered as spaces.
14209
14210         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14211         Inset::isLetter.
14212
14213 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * lyxserver.h:
14216         * lyxserver.C: fix it. and small cleanup.
14217
14218 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14219
14220         * BufferView_pimpl.C: use inline helpers
14221
14222         * LaTeXFeatures.h:
14223         * LaTeXFeatures.C: fix typos
14224
14225         * Spacing.h:
14226         * Spacing.C: move spacing_string into class
14227
14228         * ToolbarDefaults.C: move stuff into namespace anon
14229
14230         * layout.h: update enum
14231
14232         * lyxfunc.C: use better debug
14233
14234         * minibuffer.h: fix typo
14235
14236         * debug.h:
14237         * debug.C:
14238         * WorkArea.C: add and use Debug::WORKAREA
14239
14240         * lyxtext.h:
14241         * text.C:
14242         * text2.C: code re-organisation, inline helpers
14243
14244 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14245
14246         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14247         std::vector.empty().
14248
14249 2001-11-09  Allan Rae  <rae@lyx.org>
14250
14251         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14252         '\n's after tables.  Tabular and ERT inset work now makes this no
14253         longer necessary.
14254
14255 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * minibuffer.h:
14258         * minibuffer.C: fix crash, improve drop-down completion
14259
14260 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * lyxserver.h:
14263         * lyxserver.C: invalidate fd's when doing endPipe()
14264
14265 2001-11-08  José Matos  <jamatos@fep.up.pt>
14266
14267         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14268         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14269
14270         * paragraph.h:
14271         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14272
14273 2001-11-07  José Matos  <jamatos@fep.up.pt>
14274
14275         * buffer.h:
14276         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14277         const qualifier.
14278
14279         * buffer.C (sgmlOpenTag):
14280         * buffer.C (sgmlCloseTag): removed debug info.
14281
14282         * buffer.h (sgmlOpenTag):
14283         * buffer.h (sgmlCloseTag): made public.
14284
14285 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * buffer.C (saveParamsAsDefaults):
14288         * lyx_cb.C (MenuLayoutSave): remove
14289
14290         * LyXAction.C (init):
14291         * commandtags.h:
14292         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14293
14294 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * buffer.C (setPaperStuff): removed from here...
14297
14298         * bufferparams.C (setPaperStuff): ... and moved there.
14299
14300 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * minibuffer.h:
14303         * minibuffer.C:
14304         * XFormsView.C: add support for drop-down completion
14305
14306 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14309         commands.
14310
14311 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14314         disabled.
14315
14316 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * lyx_main.C: change ref to known bugs
14319
14320 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14321
14322         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14323         to work around older babel problems.
14324
14325 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14326
14327         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14328
14329 2001-10-24  Juergen Vigna  <jug@sad.it>
14330
14331         * tabular-old.C (ReadOld): below variable changes reflected.
14332
14333         * tabular.[Ch]: added ltType struct for longtable header/footer
14334         defines and changed all instances where they are used. Added
14335         future support for double top/bottom rows.
14336
14337 2001-10-24  José Matos  <jamatos@fep.up.pt>
14338
14339         * buffer.h (docbookHandleCaption):
14340         * buffer.C (docbookHandleCaption): removed unused function.
14341         (makeDocBookFile): moved docbook supported version to v4.1.
14342
14343 2001-10-24  José Matos  <jamatos@fep.up.pt>
14344
14345         * tabular.h:
14346         * tabular.C (docbookRow): new function to export docbook code of a row.
14347         (DocBook): now honors the longtable flags.
14348
14349 2001-10-23  José Matos  <jamatos@fep.up.pt>
14350
14351         * LaTeXFeatures.h:
14352         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14353         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14354
14355         * buffer.C (makeLinuxDocFile):
14356         (makeDocBookFile): reworked the preamble, more clean, and with
14357         support for lyx defined entities. Changed the document declaration
14358         to be more XML friendly.
14359
14360         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14361         if we need to output XML that should be done with a filter.
14362
14363 2001-10-22  Juergen Vigna  <jug@sad.it>
14364
14365         * sp_pspell.h (class PSpell): add alive function needed in the
14366         controller to see if the spellchecker could be started.
14367
14368 2001-10-22  Juergen Vigna  <jug@sad.it>
14369
14370         * buffer.C (insertStringAsLines): modify the font for inserting
14371         chars in certain conditions by calling checkInsertChar(font).
14372
14373 2001-10-19  Juergen Vigna  <jug@sad.it>
14374
14375         * text.C (workWidth): use getRow instead of wrong algorithm.
14376         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14377
14378 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * lyxserver.h:
14381         * lyxserver.C:
14382         * lyx_main.h:
14383         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14384
14385 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * text.C (workWidth): do not search for the exact row when
14388         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14389         optimization for big documents.
14390
14391 2001-10-18  Juergen Vigna  <jug@sad.it>
14392
14393         * text.C (workWidth): new function with added Inset * parameter.
14394
14395 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14398
14399         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14400         change return type of getColumnNearX.
14401
14402
14403         * text.C (changeRegionCase): use uppercase/lowercase instead of
14404         toupper/tolower.
14405         (leftMargin):
14406         (rightMargin): simplify code by factoring out the uses of
14407         textclasslist.
14408         (labelFill):
14409         (numberOfHfills):
14410         (setHeightOfRow):
14411         (appendParagraph): use Paragraph::size_type
14412
14413 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * vspace.C (asLatexString): add a missing break
14416
14417 2001-10-15  Herbert Voss  <voss@perce.de>
14418
14419         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14420
14421 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14422
14423         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14424         is not available.
14425
14426 2001-10-10  André Pönitz <poenitz@gmx.net>
14427
14428         * lyxfunc.C: removed greek_kb_flag.
14429
14430 2001-10-10  Herbert Voss  <voss@perce.de>
14431
14432         * lyx_main.C: delete global string help_lyxdir.
14433
14434 2001-10-09  Herbert Voss  <voss@perce.de>
14435
14436         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14437
14438         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14439
14440         * lyx_main.C: added global string help_lyxdir.
14441
14442         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14443
14444 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14445
14446         * lyxrc.C (set_font_norm_type): support iso8859-4
14447
14448 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14449
14450         * LaTeX.C (deplog): add another regex for MikTeX
14451
14452 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14453
14454         * lyxrc.C (set_font_norm_type): support iso8859-3
14455
14456 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14459
14460         * LaTeXFeatures.C: remove special case of french and index
14461
14462         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14463         before \begin{document}). This solves several incompatibilities.
14464
14465 2001-10-03  Garst Reese  <reese@isn.net>
14466
14467         * lyx_cb.C: change CheckTex error msg.
14468
14469 2001-10-03  José Matos  <jamatos@fep.up.pt>
14470
14471         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14472
14473 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * .cvsignore: update
14476
14477         * lyx_main.C (commandLineVersionInfo): use new style version info.
14478
14479         * buffer.C (writeFile):
14480         (makeLaTeXFile):
14481         (makeLinuxDocFile):
14482         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14483
14484         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14485
14486         * version.h: update to use stuff in version.C
14487
14488         * version.C.in: new file. Contains version information determined
14489         at compile time. This is a merging of version.h and
14490         version_info.h.in.
14491
14492 2001-10-03  Juergen Vigna  <jug@sad.it>
14493
14494         * BufferView_pimpl.C (update): don't change "dirty" status in
14495         updateInset call.
14496
14497 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14498
14499         * WorkArea.C (c-tor): re-position version string slightly.
14500
14501 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14504         revert to previous code.
14505
14506         WorkArea.[Ch]: (show, destroySplash): methods removed.
14507
14508         WorkArea.C: rework code so that it's an amalgam of the codes before and
14509         after the splash screen was moved to WorkArea.
14510
14511 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14512
14513         * lyxrc.C (read):
14514         * vspace.C (inPixels):
14515         (lyx_advance):
14516         * kbmap.C (bind):
14517         * buffer.C (insertStringAsLines):
14518         (asciiParagraph): fix types to be large enough
14519
14520         * lyxlex_pimpl.h: change member status from short to int
14521
14522         * layout.h: fix type of endlabeltype
14523
14524         * kbmap.C (bind):
14525         * kbsequence.C (parse): change return type to string::size_type
14526
14527         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14528         variable
14529
14530         * Bullet.C (bulletSize):
14531         (bulletEntry): do not use short ints as parameters
14532
14533         * BufferView2.C (insertLyXFile): change a char to an int.
14534
14535         * WorkArea.C (WorkArea): remove unneeded floats in computation
14536
14537 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14538
14539         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14540
14541         * paragraph.C (asString): Do not ignore newline/hfill chars when
14542         copying to the clipboard.
14543
14544 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14547         after a multi-line inset.
14548
14549 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * paragraph.C (validate): Set NeedLyXFootnoteCode
14552
14553 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14556         and decrease-error to decrease.
14557
14558 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14559
14560         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14561         it more readable (should be equivalent)
14562
14563 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14564
14565         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14566
14567 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14570         of a cursor (row, etc.) after a character has been deleted
14571         (deleteEmptyParagraphMechanism): call the method above on _all_
14572         cursors held by the LyXText when a double space has been
14573         detected/deleted.
14574
14575 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14576
14577         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14578         pixmap.
14579         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14580
14581         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14582         background. Use greyOut() and the new show() methods to toggle between
14583         the foreground and background. Add code to remove the splash after
14584         its initial showing.
14585
14586         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14587         (create_forms): no longer call Dialogs::showSplash.
14588
14589 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * .cvsignore: add version_info.h
14592
14593 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14594
14595         * version_info.h.in: new file
14596
14597         * Makefile.am: add version_info.h.in
14598
14599         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14600         version_info.h instead of VERSION_INFO
14601
14602 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14603
14604         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14605         The ERT inset now returns string().
14606
14607 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * lyxtext.h, text.C (selectNextWord): renamed as
14610         selectNextWordToSpellcheck.
14611
14612         * text.C (selectNextWordToSpellcheck): Modified to not select
14613         words inside an ERT inset.
14614
14615 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * lyx_cb.C (MenuLayoutSave): change a bit the question
14618
14619         * sp_base.h: include <sys/types.h>
14620
14621 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14622
14623         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14624
14625 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14626
14627         * several files: fix typos in user-visible strings
14628
14629 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14630
14631         * text2.C (pasteSelection): do not set the selection, since it
14632         will be cleared later. Actually, the intent was to fix the way the
14633         selection was set, but I figured rmoving the code was just as good.
14634
14635 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14636
14637         * FontLoader.C (available): Check if font is available without
14638         loading the font.
14639
14640 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14641
14642         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14643
14644 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * lyxrc.[Ch]: added display_graphics variable and associated code.
14647
14648 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * bufferparams.C (hasClassDefaults): new method. Returns true if
14651         the buffer parameters correspond to known class defaults
14652
14653 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14654
14655         * XFormsView.C (show): set minimum size to the main window.
14656
14657 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * text2.C (copySelection):
14660         (cutSelection):
14661         * lyxfind.C (LyXReplace):
14662         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14663         LyXText::selectionAsString.
14664
14665         * paragraph.C (asString): add "label" argument to the second form
14666
14667         * text2.C (selectionAsString): add "label" argument and pass it to
14668         Paragraph::asString.
14669
14670 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * lyx_main.C (commandLineHelp): remove version information
14673
14674 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14675
14676         * lyx_main.C: add -version commandline option
14677
14678 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14679
14680         * paragraph.h: make the optional constructor arg required instead.
14681         some modifications to other files because of this.
14682
14683         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14684
14685         * lyxserver.C (C_LyXComm_callback): make it static
14686
14687         * lyx_main.C (error_handler): make it static
14688
14689         * lyx_gui.C (LyX_XErrHandler): make it static
14690
14691         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14692
14693         * WorkArea.C: make the extern "C" methods static.
14694
14695         * Makefile.am (lyx_LDADD): simplify
14696
14697 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14698
14699         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14700         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14701
14702         * LyXAction.C (init):
14703         * lyxfunc.C (dispatch): associated code removal.
14704
14705 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * lyxfont.h (isSymbolFont): shut off warning
14708
14709         * text.C (setHeightOfRow):
14710         (getVisibleRow): fix crash with empty paragraphs which have a
14711         bottom line
14712
14713 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14714
14715         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14716         code.
14717
14718 2001-09-04  José Matos  <jamatos@fep.up.pt>
14719         * buffer.C
14720         * buffer.h
14721         * tabular.C (docbook): rename docBook method to docbook.
14722
14723 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14724
14725         * Makefile.am: add dependencies to main.o.
14726
14727 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14728
14729         * FontLoader.C (available): Return false if !lyxrc.use_gui
14730
14731 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14732
14733         * FontInfo.C (query):
14734         * converter.C (view):
14735         * importer.C (Import):
14736         * exporter.C (Export): Can not -> cannot.
14737
14738 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * BufferView_pimpl.C: allow to create index inset even if
14741           string is empty
14742
14743 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14744
14745         * buffer.C (getLists): replace boost::tie code with an explicit pair
14746         as boost::tie can break some compilers.
14747
14748         * iterators.h: Added a std:: declaration to the return type of
14749         ParIterator::size.
14750
14751 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14754           case.
14755
14756 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14757
14758         * iterators.[Ch]: New files. Provide paragraph iterators.
14759
14760         * buffer.C (changeLanguage): Use paragraph iterators.
14761         (isMultiLingual): ditto
14762
14763         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14764
14765 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14766
14767         * FontLoader.C: Support for cmr font.
14768
14769 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14772         (available): New method.
14773
14774         * FontInfo.C (getFontname): Use scalable fonts even when
14775         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14776         found.
14777
14778 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14779
14780         * converter.C (Formats::view): reverted! Incorrect fix.
14781
14782 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14783
14784         * converter.C (Formats::view): only output the -paper option
14785         if the dvi viewer is xdvi, thereby fixing bug #233429.
14786
14787 2001-08-23  Herbert Voss  <voss@perce>
14788
14789         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14790
14791 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * Spacing.h (Spacing): Set space to Default on in the default
14794         constructor.
14795
14796 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14797
14798         * vc-backend.h (RCS::versionString): add RCS to version
14799         (CVS::versionString): add CVS to version
14800
14801         * vc-backend.C (scanMaster): do not add CVS to version.
14802         (scanMaster): do not add RCS to version
14803
14804         * lyxvc.C (versionString): new method
14805
14806         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14807
14808 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * Spacing.C (set): initialize fval
14811
14812 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14815         " or \.
14816
14817 2001-08-16  Juergen Vigna  <jug@sad.it>
14818
14819         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14820
14821 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14822
14823         * BufferView_pimpl.C:
14824         * figureForm.C:
14825         * lyxtext.h:
14826         * text2.C: setParagraph takes linespacing now
14827
14828 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14829
14830         * LyxAction.C: add internal LFUN_CITATION_INSERT
14831
14832         * LyXView.C: actually apply fix
14833
14834         * bufferlist.C: fix open non-existent file
14835
14836         * lyxfind.C: fix indentation
14837
14838         * lyxfunc.C: remove unneeded assert, fix typo
14839
14840 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * MenuBackend.C: use "Floatname List"
14843
14844 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14845
14846         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14847         when converting LaTeX layout to insetERT.
14848         Generate a non-collapsed float when reading old float
14849
14850 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14853         ERT insets.
14854
14855 2001-08-13  Juergen Vigna  <jug@sad.it>
14856
14857         * text.C (fill): return 0 instead of 20 as this seems to be the more
14858         correct value.
14859
14860 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14861
14862         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14863         lyxrc.font_norm.
14864
14865 2001-08-13  Juergen Vigna  <jug@sad.it>
14866
14867         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14868         casesensitive off.
14869         (SearchBackward): comment out the unlocking of the inset_owner this
14870         should not be needed!
14871
14872 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14873
14874         * Many files: Remove inherit_language, and add latex_language
14875
14876         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14877         collapsible insets.
14878
14879 2001-08-10  Juergen Vigna  <jug@sad.it>
14880
14881         * text.C (prepareToPrint): fixed hfill-width in draw!
14882
14883         * BufferView2.C (selectLastWord): save the selection cursor as this
14884         now is cleared in the function LyXText::clearSelection!
14885
14886 2001-08-08  Juergen Vigna  <jug@sad.it>
14887
14888         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14889         BACKSPACE type functions.
14890
14891         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14892         is only cutted from the document but not put in the cut-buffer, where
14893         still the old stuff should be.
14894
14895         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14896
14897         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14898
14899         * tabular.C (SetWidthOfCell): fixed special case where the width
14900         was not updated!
14901         (LeftLine): handle '|' in align_special.
14902         (RightLine): ditto
14903         (LeftAlreadyDrawed): ditto
14904         (SetWidthOfCell): ditto
14905
14906 2001-08-07  Juergen Vigna  <jug@sad.it>
14907
14908         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14909
14910 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14913         * lyxlex.[hC]: ditto
14914
14915 2001-08-06  Juergen Vigna  <jug@sad.it>
14916
14917         * text.C (getVisibleRow): fix up row clearing a bit.
14918
14919 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14920
14921         * minibuffer.C: make sure the X server sees the changes in the input.
14922
14923 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * paragraph.C (getFont): split into...
14926         (getLabelFont): this
14927         (getLayoutFont): and this
14928         * paragraph_pimpl.C (realizeFont): calling this
14929
14930         * text2.C (getFont): split into...
14931         (getLayoutFont): this
14932         (getLabelFont): and this
14933         (realizeFont): all three calling this
14934
14935         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14936         files where used.
14937
14938 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14941
14942 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14943
14944         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14945         layouts from the Quote inset insertion.
14946
14947 2001-08-03  Juergen Vigna  <jug@sad.it>
14948
14949         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14950
14951         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14952         only if status not is already CHANGED_IN_DRAW (second level).
14953
14954         * text.C (draw): don't set the need_break_row when inside an
14955         InsetText LyXText.
14956
14957 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14958
14959         * buffer.C (parseSingleLyXformat2Token): handle more latex
14960         conversion cases.
14961
14962         * bufferview_funcs.[hC]: change function names to
14963         begin with small char, adjust other files.
14964
14965 2001-08-02  André Pönitz <poenitz@gmx.net>
14966
14967         * lyxfunc.C:
14968         BufferView_pimpl.C: remove broken special code for math-greek
14969
14970 2001-08-02  Juergen Vigna  <jug@sad.it>
14971
14972         * BufferView_pimpl.C (update): redone this function so that we
14973         update the text again if there was a CHANGE_IN_DRAW.
14974
14975         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14976         (drawFromTo): added a new internal bool which is used by draw() and
14977         redraw() function.
14978         (general): some cursor drawing problems fixed.
14979
14980 2001-08-01  Juergen Vigna  <jug@sad.it>
14981
14982         * lyxfind.C (LyXFind): fixed
14983         (SearchForward): ditto
14984         (SearchBackward): ditto
14985
14986         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14987         spurius drawing of the cursor in the main area.
14988
14989         * text2.C (status): small fix which could lead to a segfault!
14990         (clearSelection): remove unneeded BufferView param.
14991
14992 2001-08-01  André Pönitz <poenitz@gmx.net>
14993
14994         * lyxfunc.C: small change due to changed mathed interface
14995
14996 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14997
14998         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14999
15000 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * lyxfunc.c: fail gracefully if file doesn't exist
15003
15004         * LyXSendto.C:
15005         * buffer.C:
15006         * lyxfunc.C:
15007         * BufferView_pimpl.C: IsDirWriteable() proto changed
15008
15009         * LyXView.C: fix updateWindowTitle() to store the last title
15010
15011 2001-07-31  Juergen Vigna  <jug@sad.it>
15012
15013         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15014         the font (wrong since using of Paragraph::highestFontInRange).
15015
15016         * paragraph.C (highestFontInRange): added a default_size parameter.
15017
15018         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15019         (setHeightOfRow): reformat
15020
15021 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15022
15023         * converter.[hC] + affected files: move to (inital-char)lowercase
15024         function names.
15025
15026         * ParagraphParameters.C (ParagraphParameters): remove commented code
15027
15028         * PainterBase.[Ch]: remove commented code
15029
15030         * LaTeXFeatures.h: add "bool floats" for float.sty
15031
15032         * LaTeXFeatures.C (LaTeXFeatures): init floats
15033         (require): handle float
15034         (getPackages): do it with floats
15035
15036 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * BufferView_pimpl.C (Dispatch): improve handling of
15039         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15040
15041         * commandtags.h: #include lyxfont.h here temporarily to avoid
15042         keybinding bug.
15043
15044         * bufferlist.h: include LString.h here.
15045
15046 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * text2.C (getStringToIndex): new method.
15049
15050 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15051
15052         * *: Reduced header file dependencies all over.
15053
15054 2001-07-30  Baruch Even  <baruch@lyx.org>
15055
15056         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15057
15058 2001-07-29  Baruch Even  <baruch@lyx.org>
15059
15060         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15061
15062 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * ParameterStruct.h (endif): add a default constructor to make
15065         sure that all variables is initialized.
15066
15067         * ParagraphParameters.C (ParagraphParameters): adjust
15068
15069 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15072         index; also, check that there is something to index, and that it
15073         does not span over several paragraphs.
15074         (doubleClick): use WHOLE_WORD_STRICT for double click.
15075
15076         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15077
15078         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15079         scheme.
15080
15081 2001-07-26  Baruch Even  <baruch@lyx.org>
15082
15083         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15084         an InsetFig figure, backwards compatible reading of old figure code.
15085
15086 2001-07-27  Juergen Vigna  <jug@sad.it>
15087
15088         * text2.C: font.realize function adaption.
15089
15090         * text.C (draw): add a warnings lyxerr text if needed.
15091
15092         * layout.C: font.realize function adaption.
15093
15094         * language.C: add inherit_language and implement it's handlings
15095
15096         * bufferview_funcs.C (StyleReset): remove language parameter from
15097         font creation (should be language_inherit now).
15098
15099         * bufferparams.C (writeFile): handle ignore_language.
15100
15101         * paragraph.C (getFontSettings): the language has to be resolved
15102         otherwise we have problems in LyXFont!
15103
15104         * lyxfont.C (lyxWriteChanges): added document_language parameter
15105         (update): removed unneeded language parameter
15106
15107         * paragraph.C (validate): fixed wrong output of color-package when
15108         using interface colors for certain fonts in certain environments,
15109         which should not seen as that on the final output.
15110
15111 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * BufferView_pimpl.C:
15114         * Thesaurus.h:
15115         * Thesaurus.C:
15116         * Makefile.am:
15117         * commandtags.h:
15118         * LyXAction.C: add thesaurus support
15119
15120         * lyxfind.h:
15121         * lyxfind.C: add "once" parameter, for thesaurus, to not
15122           move to the next match
15123
15124 2001-07-26  Juergen Vigna  <jug@sad.it>
15125
15126         * lyxfont.C (realize): honor ignore_language too!
15127         (resolved): ditto.
15128
15129         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15130
15131         * text.C (draw): one place more for ignore_language to not draw
15132         itself!
15133
15134 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15135
15136         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15137
15138 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15141         the minipage conversion problem.
15142
15143 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15144
15145         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15146         insert an inset.
15147
15148 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * BufferView.h: don't forward declare WorkArea
15151
15152         * BufferView.C: don't include WorkArea.h
15153
15154 2001-07-25  André Pönitz <poenitz@gmx.net>
15155
15156         * commandtags.h:
15157         * LyXAction.C:
15158         * lyxfunc.C:  new LFUN 'math-space'
15159
15160         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15161
15162 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15163
15164         * text2.C (toggleInset): call open/close
15165
15166 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15167
15168         * lyxfunc.C (dispatch): add debug for the disabled case
15169
15170         * font.C (buttonText): make similar to rectText
15171
15172         * buffer.C (readInset): comment out parsing of insetlist and
15173         insttheorem
15174
15175         * PainterBase.C (rectText): small correction
15176
15177         * BufferView_pimpl.C: comment out insettheorem and insetlist
15178         * LyXAction.C: ditto
15179         * commandtags.h: ditto
15180
15181 2001-07-24  Juergen Vigna  <jug@sad.it>
15182
15183         * text.C (draw): honor the ignore_language.
15184
15185         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15186
15187 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15190         char inset.
15191
15192 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15193
15194         * lyxtext.h: remove unused (and unimplemented) methods
15195
15196 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15197
15198         * text.C (getVisibleRow): honor background color
15199
15200         * PainterBase.h:
15201         * Painter.h: remove default color argument for fillRectangle
15202
15203         * text.C (backgroundColor): new method
15204
15205 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * text.C (getVisibleRow): adjust
15208
15209         * font.[Ch] (rectText): new method, metrics
15210         (buttonText): new method, metrics
15211
15212         * PainterBase.[hC]: make rectText and buttonText always draw and take
15213         fewer paramteres.
15214
15215 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15216
15217         * ToolbarDefaults.C (read):
15218         * MenuBackend.C (read): allow escaping in all strings
15219
15220         * BufferView_pimpl.C (insertAndEditInset): new method.
15221         (Dispatch): use insertAndEditInset whenever appropriate.
15222
15223         * BufferView_pimpl.C (insertNote): removed
15224
15225         * BufferView_pimpl.C (smartQuote): new method, moved from
15226         BufferView; if an insetquote cannot be inserted, insert a '"'
15227         character instead.
15228
15229         * BufferView2.C: remove insertCorrectQuote();
15230
15231         * lyxfunc.C (getStatus): Add support for all remaingin
15232         inset-insert lfuns.
15233
15234         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15235
15236         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15237         command (necessary to pass " as parameter of self-insert.
15238
15239         * text.C (selectWordWhenUnderCursor):
15240         (selectWord): add word_location parameter
15241         (selectWordWhenUnderCursor): same + remove special code for word
15242         boundary.
15243         (selectNextWord): use kind() to guess type of insetspecialchar,
15244         not latex().
15245
15246         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15247         (insertErtContents): create ert insets as collapsed.
15248         (readInset): better compatibility code for Info inset.
15249
15250 2001-07-20  Juergen Vigna  <jug@sad.it>
15251
15252         * lyxfunc.C (dispatch): use always LyXFind now!
15253
15254         * text2.C (init): add a reinit flag so that the LyXText can be
15255         reinited instead of deleted and reallocated (used in InsetText).
15256
15257         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15258
15259         * text.C: ditto
15260
15261         * text2.C: ditto
15262
15263 2001-07-18  Juergen Vigna  <jug@sad.it>
15264
15265         * text.C (selectNextWord): handle insets inside inset by calling
15266         always the bv->text functions so that we can go up the_locking_inset!
15267
15268         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15269         in strange locations when inside an inset!
15270
15271         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15272         handling to include insets.
15273
15274         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15275
15276 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * LyXAction.C (init):
15279         * commandtags.h:
15280         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15281         LIGATURE_BREAK, since the name is so stupid.
15282
15283 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15284
15285         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15286         InsetInfos.
15287
15288         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15289
15290         * sp_form.[Ch]: remove.
15291
15292         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15293
15294         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15295         InsetInfo.
15296
15297         * src/buffer.C (readInset): ditto.
15298
15299 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15300
15301         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15302         menuSeparator(), endOfSentenceDot(), ldots() and
15303         hyphenationPoint(), which are therefore removed.
15304         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15305
15306         * LyXAction.C (init):
15307         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15308
15309         * paragraph.C (getWord): removed.
15310
15311         * BufferView_pimpl.C (Dispatch): use last word or selection for
15312         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15313
15314         * lyx_main.C (queryUserLyXDir): do not ask before creating
15315         user_dir, except if it has been named explicitely.
15316
15317 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15318
15319         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15320         a document of zero size.
15321
15322 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15323
15324         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15325         approriately in the c-tor and in require().
15326         (getPackages): output the appropriate LaTeX for natbib support.
15327
15328         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15329         variables "use_natbib" and "use_numerical_citations" when reading the
15330         LyX file.
15331         (readInset): read the various natbib cite commands.
15332         (validate): white-space change.
15333
15334         * bufferparams.[Ch]: new variables "bool use_natbib" and
15335         "bool use_numerical_citations".
15336         (writeFile): output them in the LyX file.
15337
15338 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15339
15340         * lyxfunc.C (getStatus): add support for all the inset insertion
15341         commands.
15342
15343         * text2.C (insertInset):
15344         * paragraph.C (insetAllowed):
15345         * BufferView_pimpl.C (insertInset): update to take in account the
15346         renaming of insertInsetAllowed
15347
15348         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15349
15350         * text2.C (getInset): new method. returns inset at cursor position.
15351
15352         * BufferView_pimpl.C (Dispatch): changes because of this.
15353
15354         * LyXAction.C (init): rename open-stuff to inset-toggle.
15355
15356         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15357
15358         * text2.C (toggleInset): renamed from openStuff; use
15359         Inset::open().
15360
15361 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15362
15363         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15364
15365         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15366
15367 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * buffer.C (readLyXformat2): Add filename to the error dialog
15370
15371 2001-07-18  Juergen Vigna  <jug@sad.it>
15372
15373         * tabular.C (GetCellNumber): put an assert here instead of the check!
15374
15375 2001-07-17  Juergen Vigna  <jug@sad.it>
15376
15377         * BufferView_pimpl.C (toggleSelection): adapted too.
15378
15379         * text.C (selectNextWord): adapted for use with insets.
15380         (selectSelectedWord): ditto
15381
15382 2001-07-17  Juergen Vigna  <jug@sad.it>
15383
15384         * sp_spell.C (PSpell): fix initialitation order.
15385
15386 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * paragraph.C: spacing
15389
15390 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15391
15392         * sp_spell.C: repair language selection for pspell
15393
15394 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * lyxfunc.h: change more methods to begin with lower char.
15397
15398 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15399
15400         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15401         for unknown layouts.
15402
15403 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * buffer.C (readLyXformat2): Generate an error dialog if there are
15406         unknown layouts.
15407
15408 2001-07-16  Juergen Vigna  <jug@sad.it>
15409
15410         * sp_spell.C: always compile ISpell part.
15411
15412         * lyxrc.C: added use_pspell entry and it's handling.
15413
15414 2001-07-13  Juergen Vigna  <jug@sad.it>
15415
15416         * sp_spell.C: removed double includes.
15417
15418 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15419
15420         Consistent use of Lsstream.h:
15421         * Lsstream.h: added using std::stringstream for consistencies sake.
15422
15423         * buffer.C: removed using std::stringstream
15424
15425         * lyxfont.C (stateText):
15426         * paragraph.C (asString):
15427         * text.C (selectNextWord, selectSelectedWord):
15428         * text2.C (setCounter):
15429         * vspace.C (asString, asLatexString):
15430         std::ostringstream -> ostringstream.
15431
15432 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15433
15434         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15435         * commandtags.h: add LFUN_HELP_ABOUTLYX
15436         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15437
15438 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15439
15440         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15441         cursorToggle()
15442         * lyx_gui_misc.C: remove spellchecker
15443         * lyxfunc.C: showSpellchecker
15444         * sp_base.h: added
15445         * sp_ispell.h: added
15446         * sp_pspell.h: added
15447         * sp_spell.C: added
15448         * sp_form.[Ch]: removed
15449         * spellchecker.[Ch]: removed
15450
15451 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15452
15453         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15454         is set.
15455         (simpleTeXSpecialChars): Simply print the input character without
15456         any special translation if pass_thru is set.
15457
15458         * layout.h: Added bool pass_thru to layout class for being able to
15459         implement pass through of a paragraph for Literate Programming.
15460
15461         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15462         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15463         * layout.C (Read): add "passthru" to list of layout tags and add
15464         code to set the pass_thru boolean when it is read.
15465
15466 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * trans_decl.h: remove allowed from KmodInfo
15469
15470         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15471         remove allowed code
15472         (Load): adjust
15473
15474         * paragraph_pimpl.C (erase): use boost::prior
15475
15476         * Painter.C (text): use data() instead of c_str() when length is
15477         also provided.
15478         * WorkArea.C (putClipboard): ditto
15479         * font.h (width): ditto
15480
15481         * BufferView2.C: use it-> instead of (*it). for iterators
15482         * texrow.C: ditto
15483         * paragraph_pimpl.C: ditto
15484         * paragraph.C: ditto
15485         * minibuffer.C: ditto
15486         * language.C: ditto
15487         * kbmap.C: ditto
15488         * encoding.C: ditto
15489         * counters.C: ditto
15490         * converter.C: ditto
15491         * chset.C: ditto
15492         * Variables.C: ditto
15493         * TextCache.C: ditto
15494         * MenuBackend.C: ditto
15495         * LyXAction.C: ditto
15496         * LColor.C: ditto
15497         * FloatList.C: ditto
15498         * DepTable.C: ditto
15499         * ColorHandler.C (LyXColorHandler): ditto
15500
15501 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15504
15505         * text2.C (openStuff): reintroduce this method (which had been
15506         nuked in NEW_INSETS frenzy).
15507
15508         * lyxfunc.C (Dispatch): when an action has not been handled, use
15509         its name in the error message, not its number.
15510
15511         * paragraph.C (inInset): change method name to begin with lowercase.
15512
15513         * undo_funcs.C:
15514         * text2.C: updates because of this.
15515
15516 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * ToolbarDefaults.C (add): add spaces in error message
15519
15520 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15523         (readLyXformat2): rename return_par to first_par, use lyxlex's
15524         pushToken and remove the manual push handling.
15525         (parseSingleLyXformat2Token): add another ert comp. variable:
15526         in_tabular, rename return_par to first_par. handle newlines better
15527
15528 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15531
15532 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15533
15534         * text2.C (getParFromID): removed
15535
15536         * buffer.C (getParFromID): new method moved form lyxtext.
15537         * BufferView2.C (insertErrors): adjust
15538         (setCursorFromRow): adjust
15539         * BufferView_pimpl.C (restorePosition): adjust
15540         * lyxfunc.C (Dispatch): adjust
15541         * undo_funcs.C (textUndo): adjust
15542         (textRedo): adjust
15543         (textHandleUndo): adjust
15544         (textHandleUndo): adjust
15545
15546 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * buffer.C: up' the LYX_FORMAT
15549
15550         * lyxfont.h: turn NO_LATEX on as default
15551
15552         * buffer.C (insertErtContents): new methods of tex style compability.
15553         (parseSingleLyXformat2Token): use it several places.
15554         * tabular.C (OldFormatRead): and here
15555
15556 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15557
15558         * text2.C: remove some commented code.
15559         reindent file.
15560
15561         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15562         * trans.C: changes because of the above.
15563
15564 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15565
15566         * text2.C (setCounter): Fix counters bug with bibliography layout.
15567
15568 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15571         own member functions
15572         (simpleTeXSpecialChars): ditto
15573
15574 2001-07-06  Juergen Vigna  <jug@sad.it>
15575
15576         * a lot of files: changed the access to LyXText::status and the
15577         call of undo-functions.
15578
15579         * undo.[Ch]: added a inset_id to the undo informations.
15580
15581         * undo_funcs.[Ch]: added and moved here all undo functions.
15582
15583         * lyxtext.h: give the status enum a weight, made status_ a private
15584         variable and made accessor functions for it, removed the whole bunch
15585         of undo-functions as they are now in their own file, make some
15586         functions publically available. Added function ownerParagraph with
15587         int parameter.
15588
15589         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15590         made InInset() a const function, added getParFromID() function.
15591
15592         * buffer.[Ch]: added const version for inset_iterator functions,
15593         added getInsetFromID() function.
15594
15595         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15596         changed undo functions for new version.
15597
15598 2001-07-05  Juergen Vigna  <jug@sad.it>
15599
15600         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15601         unknow mechanism does not call the proper constructor but only this
15602         one also if I request the other!?
15603
15604 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15605
15606         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15607
15608         * text2.C (LyXText): use initialization lists.
15609
15610         * lyxtext.h (Selection): initialize set_ and mark_
15611         (init): remove method
15612
15613 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15614
15615         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15616
15617 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * screen.[Ch]: change method names to begin with lowercase
15620
15621         * BufferView_pimpl.C (updateScrollbar): simplify further and
15622         hopefully make it a bit faster.
15623
15624 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15627         calling directly xforms functions.
15628
15629         * Painter.C (Painter):
15630         * lyx_cb.C (MenuWrite):
15631         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15632         fl_display.
15633
15634         * lyx_gui.C: remove bogus guiruntime extern declaration.
15635
15636 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15637
15638         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15639         in NEW_INSETS
15640         (redoDrawingOfParagraph): ditto
15641         (redoParagraphs): ditto
15642         (cutSelection): don't create a object for CutAndPaste use the
15643         static method directly
15644         (pasteSelection): ditto
15645
15646         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15647         LyXview (+ rename)
15648
15649 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * modifications to some other files because of this.
15652
15653         * Makefile.am (lyx_SOURCES): add XFormsView
15654
15655         * XFormsView.[Ch]: new files
15656
15657         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15658         the main window. Move the gui dependent stuff to XFormsView
15659
15660 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * tabular.C (GetCellInset): update cur_cell also in the row/col
15663         version of this function.
15664
15665         * lyxfunc.C: no need to include figure_form.h here.
15666
15667         * FontLoader.h:
15668         * lyxfunc.h:
15669         * lyxscreen.h:
15670         * text2.C:
15671         * lyxvc.C: no need to include forms.h here.
15672
15673 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15676
15677         * lyxfunc.C (Dispatch):
15678         * Spacing.C (set):
15679         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15680         constructor argument.
15681
15682 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * paragraph.C (Paragraph): dont't clear, and just set layout.
15685         (makeSameLayout): use params's copy contructor.
15686
15687         * ParagraphParameters.[Ch] (makeSame): delete method
15688
15689 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15690
15691         * Variables.[Ch]: fix indentation, rename set to isSet
15692
15693 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15694
15695         * lyxfunc.C (Dispatch): fix typo
15696
15697 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15700         upper_bound.
15701
15702         * bufferlist.C: include assert.h for emergencyWrite().
15703
15704 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15705
15706         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15707           give up at last (bug #425202) !
15708
15709 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15710
15711         * lyx_gui_misc.C:
15712         * sp_form.h:
15713         * sp_form.C:
15714         * spellchecker.h:
15715         * spellchecker.C: strip spellchecker options and bring up
15716           preferences tab instead
15717
15718 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15719
15720         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15721         the istringstream constructor
15722
15723 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15724
15725         * paragraph.C (getLayout): fix return value
15726
15727         * paragraph.h: do not declare getLayout as inline.
15728
15729         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15730
15731 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15732
15733         * lyxcursor.h (operator<): new func
15734         (operator>): new func
15735         (operator>=): new func
15736         (operator<=): new func
15737
15738         * text.C (changeCase): use selection.start and selection.end
15739         (changeRegionCase): require from to be <= to. Require par to be a
15740         valid paragraph.
15741
15742         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15743
15744 2001-06-27  Juergen Vigna  <jug@sad.it>
15745
15746         * text.C (cursorLeftOneWord): changed to return the cursor and added
15747         overlay with BufferView * parameter which calls this one.
15748         (getWord): added
15749         (selectWord): use new getWord function.
15750         (changeCase): renamed from changeWordCase as and extended to work
15751         also on selections.
15752
15753         * lyxtext.h: added enum word_location
15754
15755         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15756         changeCase as this operates now also on selections.
15757
15758 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15759
15760         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15761
15762         * many files: send debug output to Debug::INFO instead of
15763         Debug::ANY.
15764
15765         * converter.C (View):
15766         (Convert):
15767         (Move): send debug output to Debug::FILES instead of console.
15768
15769 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15770
15771         * lyxfunc.C (getStatus): use func_status
15772
15773         * func_status.h: new header, describing the results of
15774         LyXFunc::getStatus;
15775
15776         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15777         LFUN_MATH_HALIGN.
15778
15779 2001-06-25  The LyX Project  <jug@sad.it>
15780
15781         * buffer.C (sgmlOpenTag):
15782         (sgmlCloseTag):
15783         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15784
15785 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15786
15787         * text2.C: remove some dead code
15788
15789         * tabular.C (GetCellInset): store the last cell checked (gotten)
15790
15791         * tabular.h: add the helper for the speedup
15792
15793         * lyxtext.h: remove some dead code
15794
15795 2001-06-26  The LyX Project  <Asger>
15796
15797         * paragraph.C: Change export to LaTeX of alignment to
15798         \begin{center} and family for better roundtrip work with reLyX.
15799
15800         * Tune the math drawing a bit.
15801
15802 2001-06-25  The LyX Project  <Asger>
15803
15804         * LColor.C (LColor): New color for math background. New color
15805         for buttons.
15806
15807 2001-06-25  The LyX Project  <jug@sad.it>
15808
15809         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15810
15811         * lyxfunc.C (Open):
15812         * bufferlist.C (newFile): do not restrict to files ending with
15813         .lyx
15814
15815         * BufferView_pimpl.C (MenuInsertLyXFile):
15816
15817 2001-06-24  The LyX Project  <jug@sad.it>
15818
15819         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15820         of compare_no_case
15821
15822 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15823
15824         * lyxtext.h: rename most methods to begin with a small char.
15825         Lots of changes because of this.
15826
15827         * paragraph.C (Paragraph): do not call fitToSize
15828         (erase): call Pimpl::erase
15829         (insertChar): call Pimpl::insertChar
15830         (insertInset): call Pipl::insertInset
15831         (breakParagraph): do not call fitToSize
15832         (breakParagraphConservative): do not call fitToSize
15833         (fitToSize): remove method
15834
15835         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15836
15837 2001-06-24  The LyX Project  <Asger>
15838
15839         * Fix Qt compilation^2
15840
15841 2001-06-24  The LyX Project  <jug@sad.it>
15842
15843         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15844         depthHook(getDepth()-1).
15845
15846         * paragraph.h:
15847         * ParagraphParameters.h:
15848         * ParameterStruct.h: change type of depth to unsigned int ==
15849         depth_type. Many adaptations to other files before of that.
15850
15851 2001-06-24  The LyX Project  <Asger>
15852
15853         * Fix Qt compilation.
15854
15855 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * paragraph.h: renamed several methods to begin with small letter.
15858         several changes to many parts of the code because of this.
15859
15860 2001-06-23  The LyX Project  <jug@sad.it>
15861
15862         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15863         rewritten to discard all double spaces when KeepEmpty is off
15864         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15865         to only handle newlines but not fiddle with spaces and friends.
15866
15867         * lyxfunc.C (MenuNew): when doing 'new from template', use
15868         template_path as default directory
15869
15870 2001-06-23  The LyX Project  <Asger>
15871
15872         * Clean-up of header file includes all over
15873         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15874
15875 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * paragraph.h: renamed from lyxparagraph.h
15878
15879 2001-06-23  Asger  <lyx@violet.home.sad.it>
15880
15881         * Buffer.h: Removed Buffer::resize
15882         * BufferList.h: Removed BufferList::resize
15883         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15884         the document lazily when we change the width, or the font settings.
15885
15886 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15887
15888         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15889
15890 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15891
15892         * buffer.h: remove out of date comment
15893
15894 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * lyxscreen.h:
15897         * screen.C: fix "theoretical" GC leak
15898
15899 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15900
15901         * LaTeX.C (scanAuxFile):
15902         (deplog): remove trailing \r when reading stream (useful under
15903         win32)
15904
15905 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15906
15907         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15908         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15909         and BufferView::theLockingInset(Inset*), so should use them and not
15910         access bv_->text->the_locking_inset directly.
15911
15912         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15913
15914 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15915
15916         * Makefile.am:
15917         * tex-defs.h: remove old unused file
15918
15919 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15920
15921         * BufferView_pimpl.C: fix typo, remove minibuffer message
15922           when buffer has loaded
15923
15924 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15925
15926         * lyxfunc.C (Dispatch): use stringstream
15927         (MenuNew): use stringstream
15928         (Open): use stringstream
15929
15930         * importer.C (Import): use stringstream
15931
15932         * bufferview_funcs.C (CurrentState): use stringstream
15933
15934         * LaTeX.C (run): use stringstream
15935
15936         * BufferView_pimpl.C (savePosition): use stringstream
15937         (restorePosition): use stringstream
15938         (MenuInsertLyXFile): use stringstream
15939
15940 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15941
15942         * BufferView.C:
15943         * Bullet.C:
15944         * ColorHandler.C:
15945         * FontInfo.C:
15946         * FontLoader.C:
15947         * LColor.C:
15948         * LaTeXFeatures.C:
15949         * Painter.C:
15950         * gettext.C:
15951         * lyx_gui_misc.C:
15952         * lyxserver.C:
15953         * vspace.C: removed // -*- C++ -*- as first line.
15954
15955         * lyxfind.h:
15956         * version.h: added // -*- C++ -*- as first line.
15957
15958 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15959
15960         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15961
15962         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15963         of string
15964
15965 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15966
15967         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15968         of floats.
15969
15970 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * gettext.C: include LString.h even when --disable-nls is on.
15973
15974 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15975
15976         * converter.h (Get): changed argument type from int to
15977         FormatList::size_type to avoid unnecessary conversion.
15978
15979         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15980         before using it.
15981
15982 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * gettext.h: include LString.h even when --disable-nls is on.
15985
15986 2001-06-07  Juergen Vigna  <jug@sad.it>
15987
15988         * text.C (BreakAgain): subst spaces with tabs.
15989
15990         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15991         (resizeInsetsLyXText): set force on resizeLyXText.
15992
15993 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * gettext.h (gettext_init):
15996         (locale_init): use a real definition instead of a macro
15997
15998 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15999
16000         * Bufferview_pimpl.C:
16001         * LColor.h:
16002         * LColor.C: further lcolor tidies
16003
16004 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * BufferView_pimpl.C (updateScrollbar): simplify.
16007
16008         * BufferView2.C: don't include insets/insetinfo.h, change
16009         prototype for insertInset and call the Pimpl version. let
16010         updateInset call Pimpl version.
16011
16012         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16013         gotoInset to BufferView::Pimpl
16014
16015 2001-06-01  Juergen Vigna  <jug@sad.it>
16016
16017         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16018         inside a LockingInset (is the update needed at all?).
16019
16020 2001-05-31  Juergen Vigna  <jug@sad.it>
16021
16022         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16023         here not the old one otherwise how should we compare it afterwards
16024         if it's the same!
16025
16026 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16027
16028         * lyxfont.C:
16029         * tabular.C:
16030         * tabular-old.C:
16031         * FontInfo.C: bring C functions into global namespace when
16032         necessary
16033
16034 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16035
16036         * LString.h: make sure config.h has been loaded before LString.h.
16037
16038         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16039         (one for each char read by EatLine!).
16040
16041         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16042         variables.
16043
16044 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16047         to the same as the par we break from
16048
16049 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16052
16053         * MenuBackend.C (expand): also create menu entries for wide
16054         versions of the floats.
16055
16056         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16057
16058         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16059
16060         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16061         frontends/Makefile.am
16062
16063         * text2.C: adjust
16064         * text.C: adjust
16065
16066
16067         * tabular.C (getTokenValue): add std::
16068
16069         * tabular-old.C (getTokenValue): add std::
16070         (getTokenValue): ditto
16071         (getTokenValue): ditto
16072
16073         * screen.C (ToggleSelection): adjust
16074
16075         * lyxtext.h: put selection cursors inside a Selection struct.
16076
16077         * lyxfunc.C (moveCursorUpdate): adjust
16078
16079         * lyxfont.C (latexWriteStartChanges): add std::
16080
16081         * lyxfind.C: adjust
16082
16083         * font.h: delete with(char const *, LyXFont const &)
16084
16085         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16086
16087         * FontInfo.C (getFontname): add std::
16088
16089         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16090         (workAreaButtonPress): adjust
16091         (tripleClick): adjust
16092         (update): adjust
16093         (moveCursorUpdate): adjust
16094         (Dispatch): adjust
16095
16096         * BufferView2.C (gotoInset): adjust
16097
16098 2001-05-30  Juergen Vigna  <jug@sad.it>
16099
16100         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16101         to check pspell I add this as default as I now have new pspell
16102         libraries and they seem to use this.
16103
16104 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16105
16106         * text2.C (CutSelection): make the cursor valid before the call to
16107         ClearSelection.
16108
16109 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16110
16111         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16112         relied on 0 terminated strings and other horrors. Bug found due to
16113         the new assert in lyxstring!
16114
16115         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16116         KP_ keys.
16117
16118 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16119
16120         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16121         to latinkeys.bind.
16122
16123         * lyxfunc.C (processKeySym): change method of getting to the
16124         self-insert char.
16125
16126         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16127         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16128         * BufferView_pimpl.[Ch]: here as private methods.
16129
16130 2001-05-28  Juergen Vigna  <jug@sad.it>
16131
16132         * text.C (SetHeightOfRow): added the update() call again as it is
16133         needed to initialize inset dimensions!
16134
16135 2001-05-16  Juergen Vigna  <jug@sad.it>
16136
16137         * text2.C (SetCharFont): Add new function with BufferView * and
16138         bool toggleall parameters for setting insets internal fonts.
16139         (SetFont): Freeze the undo as we may change fonts in Insets and
16140         all this change should be inside only one Undo!
16141
16142         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16143         setting font's in insets as for them we have the SetFont function!
16144
16145 2001-05-15  Juergen Vigna  <jug@sad.it>
16146
16147         * text2.C (ClearSelection): to be sure we REALLY don't have any
16148         selection anymore!
16149
16150         * tabular.C (TeXCellPreamble): fixed the left border problem for
16151         multicolumn cells.
16152
16153 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16154
16155         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16156         dependancy file
16157
16158 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16161         LFUN_BREAKPARAGRAPH.
16162
16163         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16164         help test to "internal only", similar for LFUN_INSERT_URL
16165
16166         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16167         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16168         auto_region_delete and deadkeys.
16169
16170 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16171
16172         * LColor.h:
16173         * LColor.C: remove some dead entries, tidy a little
16174
16175 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16176
16177         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16178         commented code.
16179         (Dispatch): implement LFUN_ESCAPE
16180
16181         * commandtags.h: add LFUN_ESCAPE
16182
16183         * LyXAction.C (init): add entry for LFUN_ESCAPE
16184
16185         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16186         Remove commented code.
16187         (insertNote): moved here
16188         (open_new_inset): moved here
16189
16190         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16191         BufferView_pimpl
16192
16193 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16194
16195         * kbmap.C (findbinding): clean it up and make it work correctly.
16196
16197         * lyx_main.C (init): do not pass argc and argv as parameters
16198
16199 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16200
16201         * buffer.C: fix path for OS/2 & Win32
16202
16203         * lyx_gui.C:
16204         * lyx_main:
16205         * lyx_main.C: Added os:: class.
16206
16207         * os2_defines.h: update
16208
16209 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16212         better by trying again with reduced state.
16213
16214 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * lyxrc.C (read): print error about invalid key sequence only when
16217         debugging (because not all latinX keysyms are known to some X
16218         servers)
16219
16220         * kbsequence.C (getiso): add a few std:: qualifiers
16221         (getiso): comment out extra return statement.
16222
16223 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16224
16225         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16226         handling.
16227         (Dispatch): enhance the accent inset a bit. (not perfect)
16228
16229 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16232
16233 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16234
16235         * bufferlist.C (emergencyWrite): fix assert() call
16236
16237 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16238
16239         * text.C (InsertChar): Added trivial patch to only send the "you
16240         can not do multiple spaces this way" message once during a
16241         session.
16242
16243 2001-05-08  Baruch Even  <baruch@lyx.org>
16244
16245         * Makefile.am: Changed order of libraries to get LyX to link properly
16246         with the gnome frontend.
16247
16248 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * LaTeXFeatures.h: add a std:: qualifier
16251
16252 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16253
16254         * paragraph.C (String): use stringstream
16255
16256 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16257
16258         * paragraph.C (writeFile): remove footflag arg
16259
16260         * buffer.C (makeLaTeXFile): use stringstream
16261         (latexParagraphs): remove footnot gurba
16262
16263         * LaTeXFeatures.C (getPackages): use stringstream
16264         (getMacros): likewise
16265         (getTClassPreamble): likewise
16266         (getFloatDefinitions): new method
16267
16268         * paragraph.C (writeFile): reindent
16269         (Erase): reindent
16270
16271         * WorkArea.h: revert the xpos + etc changes.
16272
16273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16274
16275         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16276
16277         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16278         (pasteSelection): likewise
16279         * text2.C (CreateUndo): likewise
16280
16281 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16282
16283         * minibuffer.C (peek_event): temporarily reduce the functionality
16284         of the minibuffer (to allow args on lfuns)
16285
16286         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16287         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16288
16289         * buffer.C (readInset): add compability reading of old float
16290         lists, add reading of new style float list.
16291         (readInset): avoid reevaluation of inscmd.getCmdName()
16292         (getLists): reindent
16293
16294         * MenuBackend.C (MenuItem): implement parsing of
16295         md_floatlistinsert and md_floatinsert.
16296         (expand::LastFiles): move initalizaton of iterators out of loop,
16297         avoid reevaluation.
16298         (expand::Documents): introduce typdedef vector<string> Strings,
16299         and use it.
16300         (expand::ExportFormats): introduce typedef vector<Format const *>
16301         Formats, and use it.
16302         (expand): implement FloatListInsert and FloatInsert.
16303
16304         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16305         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16306         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16307
16308         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16309         handling.
16310         (Dispatch::LFUN_FLOAT_LIST): implement
16311
16312 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16313
16314         * LaTeX.C (run): Fix problem with --export code.
16315
16316 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16317
16318         * BufferView.[Ch] (workarea): removed.
16319         (getClipboard) new method; wrapper for workarea()->getClipboard()
16320
16321         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16322         bug.
16323
16324         * WorkArea.h (width, height, xpos, ypos): These methods all
16325         returned the dimensions of the work_area sub-area of WorkArea,
16326         resulting in a position error if the WorkArea were resized. Now
16327         return the dimensions of the entire WorkArea.
16328
16329         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16330
16331 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16332
16333         * LaTeX.C (deplog): correct the syntax of regex reg1
16334
16335 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16336
16337         * undo.C: remove !NEW_INSETS cruft
16338
16339 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * text2.C: remove !NEW_INSETS cruft
16342
16343         * text.C: remove !NEW_INSETS cruft
16344
16345         * tabular.C: remove !NEW_INSETS cruft
16346
16347         * spellchecker.C: remove !NEW_INSETS cruft
16348
16349         * lyxtext.h: remove !NEW_INSETS cruft
16350
16351         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16352
16353         * lyxfunc.C: remove !NEW_INSETS cruft
16354
16355         * lyxfind.C: remove !NEW_INSETS cruft
16356
16357         * lyx_cb.C: remove !NEW_INSETS cruft
16358
16359         * figureForm.C: remove  !NEW_INSETS cruft
16360
16361         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16362
16363         * buffer.[Ch]: remove !NEW_INSETS cruft
16364
16365         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16366
16367         * CutAndPaste.C: remove !NEW_INSETS cruft
16368
16369         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16370
16371         * BufferView2.C: remove !NEW_INSETS cruft
16372
16373         * BufferView.h: remove !NEW_INSETS cruft
16374
16375 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * Lsstream.h: include LString.h before the sstream headers to
16378         fix problem with gcc 2.95.3 and lyxstring
16379
16380 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * lyx_main.C: add using directives when needed for C functions
16383         declared in std:: namespace.
16384
16385 2001-04-27  Juergen Vigna  <jug@sad.it>
16386
16387         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16388         (SetHeightOfRow): comment out the update call should not be needed!
16389
16390 2001-04-13  Juergen Vigna  <jug@sad.it>
16391
16392         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16393         (LyXTabular): tried to minimize operator= operations (and realized
16394         hopfully Lars wish).
16395
16396 2001-04-27  Juergen Vigna  <jug@sad.it>
16397
16398         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16399
16400 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16401
16402         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16403
16404         * buffer.C (readInset): hack to make listof algorithm work
16405
16406         * BufferView_pimpl.C: hack to make listof algorithm work
16407
16408 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16409
16410         * LyXAction.C: removed all !NEW_INSETS cruft
16411         (init): moved lfun_item in method
16412
16413         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16414
16415 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16416
16417         * BufferView2.C (theLockingInset): white space.
16418
16419 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * minibuffer.C: include <iostream>
16422
16423         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16424
16425         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16426
16427         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16428
16429         * text.[Ch] (TransposeChars): new method
16430
16431 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16432
16433         * call message directly through LyXView instead of through LyXFunc
16434         * BufferView2.C: adjust
16435         * BufferView_pimpl.C: adjust
16436         * FontLoader.C: adjust
16437         * buffer.C: adjust
16438         * bufferview_funcs.C: adjust
16439         * converter.C: adjust
16440         * figureForm.C: adjust
16441         * importer.C: adjust
16442         * lyx_cb.C: adjust
16443         * lyx_gui_misc.C: adjust
16444         * lyxfunc.C: adjust
16445         * lyxvc.C: adjust
16446         * text2.C: adjust
16447         + more files in subdirs
16448
16449         * lyxparagraph.h (size): move up int file
16450         (GetLayout): ditto
16451
16452         * adjust all uses of Assert to lyx::Assert.
16453
16454         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16455         lyxfunctional in namespace lyx
16456         * layout.C (hasLayout): ditto
16457         (GetLayout): ditto
16458         (GetLayout): ditto
16459         (delete_layout): ditto
16460         (NumberOfClass): ditto
16461         * converter.C (GetFormat): ditto
16462         (GetNumber): ditto
16463         (Add): ditto
16464         (Delete): ditto
16465         (SetViewer): ditto
16466         * bufferlist.C (getFileNames): ditto
16467         (emergencyWriteAll): ditto
16468         (exists): ditto
16469         (getBuffer): ditto
16470         * MenuBackend.C (hasSubmenu): ditto
16471         (hasMenu): ditto
16472         (getMenu): ditto
16473         * BufferView_pimpl.C (getInsetByCode): ditto
16474
16475 2001-04-18  Juergen Vigna  <jug@sad.it>
16476
16477         * vspace.C (asLatexString): fixed the 100% problem.
16478
16479 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16480
16481         * lyxfunc.C (Dispatch):
16482         * minibuffer.C:
16483         * minibuffer.h: add a few std:: qualifiers
16484
16485 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16486
16487         * minibuffer.[Ch]: reimplement so that commands is initiated and
16488         run from lyxfunc, simplified som handling, and made the completion
16489         and history code for complete. wip.
16490
16491         * lyxfunc.C (processKeySym): call message
16492         (miniDispatch): new temporary method
16493         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16494         (LFUN_MESSAGE): implement
16495         (LFUN_MESSAGE_PUSH): implement
16496         (LFUN_MESSAGE_POP): implement
16497         (initMiniBuffer): the initial/defualt minibuffer message.
16498
16499         * lyxfont.[Ch]: inline some more getters
16500
16501         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16502
16503         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16504
16505         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16506         (AutoSave): use LFUN_MESSAGE
16507         (Reconfigure): ditto
16508
16509         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16510
16511         * figureForm.C: use LFUN_MESSAGE
16512
16513         * converter.C (runLaTeX): use LFUN_MESSAGE
16514
16515         * bufferview_funcs.C: use LFUN_MESSAGE
16516         (Melt): ditto
16517         (changeDepth): ditto
16518
16519         * bufferparams.h: use boost::
16520
16521         * bufferlist.h: inherit privately from noncopyable
16522
16523         * bufferlist.C (loadLyXFile): remove some commented code.
16524
16525         * buffer.C (runChktex): use LFUN_MESSAGE
16526
16527         * ShareContainer.h: inherit privately from noncopyable
16528
16529         * ParagraphParameters.[hC] (depth): inline it.
16530
16531         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16532         methods.
16533         (message): new method
16534         (messagePush): ditto
16535         (messagePop): ditto
16536         (show): init minibuffer
16537         (showState): direct call
16538
16539         * LaTeX.[Ch]: inherit privately from noncopyable
16540         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16541         instead of WriteStatus.
16542
16543         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16544
16545         * BufferView_pimpl.C (buffer): don't init minibuffer
16546         (workAreaButtonPress): use LFUN_MESSAGE
16547         (workAreaButtonRelease): ditto
16548         (savePosition): ditto
16549         (restorePosition): ditto
16550         (MenuInsertLyXFile): ditto
16551         (workAreaExpose): don't init minibuffer
16552         (update): remove commented code, simplify
16553
16554         * BufferView2.C (openStuff): use LFUN_MESSAGE
16555         (toggleFloat): ditto
16556         (menuUndo): ditto
16557         (menuRedo): ditto
16558         (copyEnvironment): ditto
16559         (pasteEnvironment): ditto
16560         (copy): ditto
16561         (cut): ditto
16562         (paste): ditto
16563         (gotoInset): ditto
16564         (updateInset): remove some commented code
16565
16566         * lastfiles.h: inherit privately from noncopyable
16567         * layout.h: ditto
16568         * lyx_gui.h: ditto
16569         * lyx_main.h: ditto
16570         * lyxlex.h: ditto
16571         * lyxlex_pimpl.h: ditto
16572
16573         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16574         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16575         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16576
16577         * LyXAction.h: inherit privately from noncopyable, add methods
16578         func_begin, func_end, returning iterators to the func map.
16579
16580         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16581         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16582         (func_begin): new method
16583         (func_end): new method
16584
16585         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16586         and not)
16587         (copySelection): ditto
16588         (pasteSelection): ditto
16589
16590         * BufferView.C: whitespace change
16591         * BufferView.h: inherit privately from noncopyable
16592
16593 2001-04-16  Allan Rae  <rae@lyx.org>
16594
16595         * tabular-old.C (l_getline):
16596         * spellchecker.C (sc_check_word):
16597         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16598         an unrecognised preprocessor directive.  So ensure they're wrapped.
16599
16600 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * src/exporter.C (Export): Give an error message when path to file
16603         contains spaces.
16604
16605 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16606
16607         * LaTeX.C (deplog): Always check that foundfile exists.
16608
16609 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * lyx_main.h:
16612         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16613
16614 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16615
16616         * tabular.[Ch] (getLabelList): implement new method
16617
16618         * minibuffer.h: comment ouf setTiimer
16619
16620         * minibuffer.C (ExecutingCB): constify res
16621         (peek_event): constify s
16622         (Set): constify ntext
16623         (Init): constify nicename
16624
16625         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16626
16627         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16628         (savePosition): use two params to Minibuffer::Set
16629         (restorePosition): ditto
16630
16631 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16632
16633         * lyx_main.C: include language.h
16634
16635         * Makefile.am (lyx_main.o): add language.h
16636
16637 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * exporter.C:
16640         * paragraph.C:
16641         * screen.C:
16642         * tabular.C:
16643         * CutAndPaste.C: include gettext.h
16644
16645         * lyxfont.h: remove old hack with ON and OFF.
16646
16647         * lyxparagraph.h:
16648         * lyxfont.h: do not include language.h...
16649
16650         * BufferView2.C:
16651         * LaTeXFeatures.C:
16652         * Painter.C:
16653         * bufferview_funcs.C:
16654         * font.C:
16655         * lyxfont.C:
16656         * text.C:
16657         * text2.C:
16658         * trans_mgr.C:
16659         * paragraph.C: ... but do it here instead
16660
16661 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16662
16663         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16664
16665         * tabular.C: small reformat
16666
16667         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16668         NEW_INSETS version
16669         (GetChar): ditto
16670         (BreakParagraph): ditto
16671         (SetOnlyLayout): ditto
16672         (SetLayout): ditto
16673
16674         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16675         with one arg less.
16676
16677         * lastfiles.C: removed most using decl, add std:: where needed
16678
16679         * buffer.C: ws changes
16680
16681         * MenuBackend.C (class compare_format): put into anon namespace
16682         (expand): constify label, names, action, action2
16683         (expand):
16684
16685         * text.C (SingleWidth): constify font
16686         (IsBoundary): constify rtl2
16687         (GetVisibleRow): constify ww
16688
16689         * LaTeX.C (deplog): constify logfile
16690
16691         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16692         start_x, end_x
16693         (workAreaExpose): constify widthChange, heightChange
16694
16695         * lyxrow.C (par): moved
16696         (height): moved
16697         (next): moved
16698         * lyxrow.h: as inlines here
16699
16700         * lyxfont.h (shape): moved from lyxfont.C
16701         (emph): moved from lyxfont.C
16702
16703         * lyxfont.C (LyXFont): use initialization list for all
16704         constructors
16705         (shape): move to lyxfont.h as inline
16706         (emph): move to lyxfont.h as inline
16707
16708
16709 2001-04-04  Juergen Vigna  <jug@sad.it>
16710
16711         * vspace.C: had to include stdio.h for use of sscanf
16712
16713 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16714
16715         * BufferView.h:
16716         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16717         independent of xforms.
16718
16719 2001-04-02  Juergen Vigna  <jug@sad.it>
16720
16721         * spellchecker.C: fixed namespace placing!
16722
16723 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16724
16725         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16726         the LyXParagraph * is 0.
16727
16728 2001-03-29  Juergen Vigna  <jug@sad.it>
16729
16730         * vspace.C: added support for %, c%, p%, l%.
16731         (stringFromUnit): added helper function.
16732         (asLatexString): changed to give right results for the %-values.
16733
16734         * buffer.C: convert the widthp in a width%.
16735
16736 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16737
16738         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16739         figureForm.[Ch].
16740
16741         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16742         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16743
16744         * lyx_cb.[Ch]: see above.
16745
16746         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16747         form1.[Ch].
16748
16749         * form1.[Ch]:
16750         * lyx.[Ch]: replaced by figure_form.[Ch].
16751
16752         * lyx_gui.C:
16753         * lyx_gui_misc.C:
16754         * lyxfunc.C: changed headers associated with above changes.
16755
16756 2001-03-27  Juergen Vigna  <jug@sad.it>
16757
16758         * BufferView_pimpl.C: set the temporary cursor right!
16759
16760 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16761
16762         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16763
16764 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16765
16766         * LString.h: removed "using std::getline"!
16767
16768         * BufferView_pimpl.C (Dispatch): changes due to changes in
16769         InsetInclude::Params.
16770
16771         * buffer.C (tag_name): removed redundant break statements as they were
16772         producing lots of warnings with my compiler.
16773
16774 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * LString.h: add "using std::getline" when using the real <string>.
16777
16778 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16779
16780         * buffer.C: removed bitset usage.
16781         PAR_TAG moved to an anonymous name space.
16782         (tag_name): new funtion, also in the anonymous namespace.
16783         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16784         (makeDocBookFile): clean code. Completed transition from string arrays
16785         to string vectors.
16786         (SimpleDocBookOnePar): code clean.
16787
16788 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16789
16790         * tabular.C: add some comments.
16791
16792 2001-03-22  Juergen Vigna  <jug@sad.it>
16793
16794         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16795         compatibility read a bit and fixed bug with minipage in different
16796         depth.
16797
16798 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16799
16800         * buffer.C (pop_tag): removed.
16801         (push_tag): removed.
16802         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16803         array replaced with vector. Added support for CDATA sections.
16804         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16805         at any nest level.
16806         (makeDocBookFile): XML conformant declaration of CDATA section,
16807         fixed bug related to <emphasis> in the first paragraph char.
16808         (sgmlOpenTag): exclude empty tags.
16809         (sgmlCloseTag): ditto.
16810
16811         * buffer.h (pop_tag): removed.
16812         (push_tag): removed.
16813
16814 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16815
16816         * language.h (Languages): added size_type and size().
16817
16818 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16819
16820         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16821         response on compability reading of minipages. One probliem is that
16822         the old usage of minipages was «flertydig»
16823
16824         * several files here and in subdirs: don't use static at file
16825         scope use anon namespaces instead.
16826
16827 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16828
16829         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16830         LaTeX output. This is necessary for Literate document
16831         processing.
16832
16833 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16834
16835         * buffer.C: insert hfill when needed.
16836
16837         * tabular.C (l_getline): use string::erase, small whitespace change.
16838
16839         * BufferView_pimpl.C: try the anon namespace.
16840         * WorkArea.C: ditto
16841
16842 2001-03-16  Juergen Vigna  <jug@sad.it>
16843
16844         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16845         otherwise it won't open options-dialogs.
16846
16847         * buffer.C: honor pextraWidth(p) on converting minipages.
16848
16849         * tabular.C (l_getline): changed the functions to strip trailing \r.
16850
16851 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16852
16853         * BufferView_pimpl.C:
16854         * minibuffer..C: added "using SigC::slot" declaration.
16855
16856 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16857
16858         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16859
16860         * text2.C: ditto
16861
16862         * text.C: ditto
16863
16864         * paragraph.C: ditto
16865
16866         * lyxtext.h: NO_PEXTRA
16867
16868         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16869
16870         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16871         * ParameterStruct.h: ditto
16872         * ParagraphParameters.h: ditto
16873         * lyxparagraph.h: ditto
16874
16875 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16876
16877         * buffer.C: add compability for minipage alignment.
16878         (latexParagraphs): remove unwanted pextra check.
16879
16880         * several files: remove CXX_WORKING_NAMESPACES
16881
16882         * buffer.C (pop_tag): tie is in namespace boost
16883
16884         * BufferView.h: noncopyable is in namespace boost
16885         * lyxlex.h: ditto
16886         * lyx_main.h: ditto
16887         * lyx_gui.h: ditto
16888         * layout.h: ditto
16889         * lastfiles.h: ditto
16890         * bufferlist.h: ditto
16891         * ShareContainer.h: ditto
16892         * LyXView.h: ditto
16893         * LyXAction.h: ditto
16894         * LaTeX.h: ditto
16895
16896 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16897
16898         * Merging changes from BRANCH_MVC back into HEAD.
16899
16900         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16901
16902 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16903
16904         * BufferView_pimpl.C: change from intl.C
16905
16906         * combox.h:
16907         * combox.C:
16908         * Makefile.am: move combox.*
16909
16910         * form1.h:
16911         * form1.C:
16912         * lyx_gui.C:
16913         * intl.h:
16914         * intl.C: remove dialog (covered by prefs)
16915
16916 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16917
16918         * lyxfunc.C (Dispatch): removed redundant break statement.
16919
16920 2001-03-14  Juergen Vigna  <jug@sad.it>
16921
16922         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16923
16924 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16925
16926         * buffer.C: add hack to fix compability reading of minipages.
16927
16928 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16929
16930         * buffer.C (getLists): Cleanup.
16931
16932 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * lyxfont.C (update): don't honor toggleall on font size.
16935
16936 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16937
16938         * bmtable.c:
16939         * bmtable.h:
16940         * Makefile.am: moved to frontends/xforms/
16941
16942         * lyx_gui_misc.C:
16943         * lyxfunc.C:
16944         * BufferView_pimpl.C: changes for moved mathpanel
16945
16946 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16947
16948         * gettext.h: fix gettext_init() in --disable-nls
16949
16950 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16953
16954 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16955
16956         * lyx.C:
16957         * lyx.h: strip external form
16958
16959 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16960
16961         * BufferView_pimpl.C: add comment, destroySplash()
16962
16963 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16964
16965         * BufferView_pimpl.C:
16966         * LyXAction.C:
16967         * buffer.C:
16968         * commandtags.h:
16969         * lyxfunc.C: use re-worked insetinclude
16970
16971 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16972
16973         * buffer.C: add using std::stringstream.
16974
16975         * lyx_cb.C: readd using std::ios.
16976
16977         * buffer.C: add using std::map.
16978
16979         * BufferView_pimpl.C: add using std::vector.
16980
16981         * ShareContainer.h: add std:: to swap.
16982
16983         * buffer.h: add some typedefs
16984         * buffer.C (getLists): use them
16985         (getLists): renamed from getTocList.
16986         add a counter for the different float types and use it in the
16987         generated string.
16988         (getLists): use the same counter for the NEW_INSETS and the "non"
16989         NEW_INSETS
16990
16991         * lyx_cb.h: remove unused items, includes, using etc.
16992
16993         * ShareContainer.h: remove some commented code, add more comments
16994         and "documentation".
16995
16996 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16997
16998         * buffer.C (getTocList): make the list also when NEW_INSETS is
16999         defined.
17000
17001         * buffer.h: remove TocType
17002
17003         * buffer.C (getTocList): change to return a map<string,
17004         vector<TocItem> >, implement for dynamic number of list.
17005
17006         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17007         * text2.C (PasteSelection): adjust
17008         * CutAndPaste.C (pasteSelection): adjust
17009
17010         * FloatList.C (FloatList): update from the new_insets branch.
17011         * Floating.[Ch]: ditto
17012         * LaTeXFeatures.C: ditto
17013         * buffer.C: ditto
17014         * lyxlex_pimpl.C: ditto
17015
17016         * paragraph.C (Last): remove when NEW_INSETS is defined.
17017
17018         * other file: changes because of the above.
17019
17020 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17021
17022         * lyxparagraph.h: rename next to next_, previous to previous_,
17023         make them private for NEW_INSETS. Rename Next() to next(),
17024         Previous() to previous().
17025
17026         * other files: changes because of the above.
17027
17028 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17029
17030         * BufferView.h:
17031         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17032         problem.
17033
17034 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * main.C (main): pass lyx_localedir to gettext_init().
17037
17038         * gettext.h: remove locale_init and gettext_init macros
17039
17040         * gettext.C (locale_init): new function
17041         (gettext_init): new function
17042
17043         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17044         setlocale().
17045
17046 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17047
17048         * Moved credits to frontends:
17049         * credits.[Ch]: removed
17050         * credits_form.[Ch]: removed
17051         * lyx_gui_misc.C: remove credits stuff
17052         * Makefile.am:
17053
17054 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17055
17056         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17057
17058         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17059         unneeded destructor.
17060
17061         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17062         a standalone pointer again.
17063
17064         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17065
17066 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17067
17068         * Makefile.am:
17069         * filedlg.h:
17070         * filedlg.C:
17071         * LyXAction.C:
17072         * ToolbarDefaults.C:
17073         * bufferlist.C:
17074         * commandtags.h:
17075         * form1.C:
17076         * form1.h:
17077         * lyx_cb.C:
17078         * lyx_cb.h:
17079         * lyxfunc.h:
17080         * lyxfunc.C:
17081         * BufferView_pimpl.C: use new file dialog in GUII
17082
17083         * lyx_cb.h:
17084         * lyx_cb.C: remove LayoutsCB to Toolbar
17085
17086 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17087
17088         * ShareContainer.h (get): add std:: qualifier
17089
17090 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17091
17092         * ShareContainer.h: define a proper ShareContainer::value_type
17093         type (and use typename to please compaq cxx)
17094
17095 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17096
17097         * lyxparagraph.h: move serveral local vars to
17098         ParameterStruct/ParagraphParameters., use ShareContainer in
17099         FontTable., make vars in FontTable private and add getter and
17100         setter.
17101
17102         * paragraph.C: changes because of the above.
17103
17104         * lyxfont.h: remove copy constructor and copy assignment. (the
17105         default ones is ok), move number inside FontBits. move inlines to
17106         lyxfont.C
17107
17108         * lyxfont.C: add number to initializaton of statics, move several
17109         inlines here. constify several local vars. some whitespace
17110         cleanup. Dont hide outerscope variables.
17111
17112         * Spacing.h: add two new constructors to match the set methods.
17113
17114         * ShareContainer.h: new file, will perhaps be moved to support
17115
17116         * ParameterStruct.h: new file
17117
17118         * ParagraphParameters.h: new file
17119
17120         * ParagraphParameters.C: new file
17121
17122         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17123         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17124
17125         * BufferView_pimpl.C: ParagraphParameter changes.
17126         * buffer.C: Likewise.
17127         * bufferview_funcs.C: Likewise.
17128         * text.C: Likewise.
17129         * text2.C: Likewise.
17130
17131 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * lyxfind.C (LyXReplace): do not redefine default argument in
17134         implementation.
17135         (IsStringInText): ditto
17136         (SearchForward): ditto
17137         (SearchBackward): ditto
17138
17139 2001-03-06  Juergen Vigna  <jug@sad.it>
17140
17141         * lyxfind.C (IsStringInText): put parentes around expressions.
17142
17143 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17144
17145         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17146
17147 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17148
17149         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17150
17151         * stl_string_fwd.h: add comment
17152
17153         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17154
17155         * tabular.h:
17156         * tabular.C: remove unused DocBook methods
17157
17158         * intl.C:
17159         * language.C:
17160         * paragraph.C:
17161         * buffer.C:
17162         killed DO_USE_DEFAULT_LANGUAGE
17163
17164 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17165
17166         * lyx_gui.C: do not include language.h.
17167
17168         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17169         arguments in function implementation.
17170
17171 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17172
17173         * BufferView_pimpl.C: add <ctime>
17174
17175 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17176
17177         * BufferView_pimpl.C: add using std::find_if
17178
17179 2001-02-27  José Matos  <jamatos@fep.up.pt>
17180
17181         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17182         by OnlyPath.
17183
17184 2001-02-11  José Matos  <jamatos@fep.up.pt>
17185
17186         * buffer.C (makeDocBookFile): command styles now have a parameter as
17187         "title" by default.
17188
17189 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17190
17191         * layout_forms.[Ch]: removed
17192         * lyx_cb.[Ch]: out character
17193         * lyx_gui.C: out character
17194         * lyx_gui_misc.C: out character
17195         * bufferview_funcs.C: : out character,
17196         added toggleall as parameter in ToggleAndShow
17197
17198 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17199
17200         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17201
17202         * text2.C (SetCurrentFont): Disable number property at boundary.
17203
17204 2001-02-26  Juergen Vigna  <jug@sad.it>
17205
17206         * lyxfunc.C (getStatus): added a string argument override function so
17207         that this is correctly called from LyXFunc::Dispatch if it contains a
17208         do_not_use_argument which is used!
17209         (Dispatch): added check for "custom" export and call appropriate func.
17210
17211 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17212
17213         * lyxrc.C: Add language_command_local, language_use_babel and
17214         language_global_options.
17215
17216         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17217
17218         * buffer.C (makeLaTeXFile): Use language_use_babel and
17219         language_global_options.
17220
17221 2001-02-23  Juergen Vigna  <jug@sad.it>
17222
17223         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17224         which works with LyXText and putted it inside BufferView. Here now we
17225         only call for that part the BufferView::Dispatch() function.
17226
17227         * BufferView.C (Dispatch): added.
17228
17229         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17230         functions which needs to use a LyXText over from LyXFunc.
17231         (MenuInsertLyXFile): added
17232         (getInsetByCode): added
17233         (moveCursorUpdate): added
17234         (static TEXT): added
17235
17236 2001-02-22  Juergen Vigna  <jug@sad.it>
17237
17238         * BufferView_pimpl.C (update): call a status update to see if LyXText
17239         needs it.
17240
17241 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17242
17243         * vc-backend.C (revert): implement for CVS
17244         (getLog): implement for CVS
17245
17246 2001-02-20  Juergen Vigna  <jug@sad.it>
17247
17248         * text2.C (ClearSelection): added BufferView param for inset_owner call
17249
17250         * lyxfunc.C (TEXT): added this function and use it instead of
17251         directly owner->view()-text of getLyXText().
17252
17253 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17254
17255         * src/layout_forms.C: out preamble
17256         * src/layout_forms.h: out preamble
17257         * src/lyx_cb.C: out preamble
17258         * src/lyx_cb.h: out preamble
17259         * src/lyx_gui.C: out preamble
17260         * src/lyx_gui_misc.C: out preamble
17261         * src/lyxfunc.C: connect with guii preamble
17262
17263 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17264
17265         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17266
17267 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17268
17269         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17270         whether to run bibtex.
17271
17272 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17273
17274         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17275
17276 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17277
17278         * Makefile.am (lyx_SOURCES): removed bibforms.h
17279
17280         * vspace.h: doxygen
17281
17282         * text.C (GetVisibleRow): make several local vars const
17283
17284         * tabular.C: small cleanup.
17285
17286         * lyxserver.C (callback): use compare instead of strncmp
17287
17288         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17289         inlines to after class or to paragraph.C
17290
17291         * lyxfont.h: remove friend operator!=
17292
17293         * converter.h: move friend bool operator< to non friend and after
17294         class def.
17295
17296         * combox.h: small cleanup
17297
17298         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17299         to inlines after class def.
17300
17301         * buffer.C (pop_tag): use string operations instead of strcmp
17302
17303         * bmtable.c: doxygen, small cleanup
17304
17305         * LaTeX.h: remove friend operator==
17306
17307 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17308
17309         * screen.C:
17310         * lyxrc.[Ch]:
17311         * lyxfunc.C:
17312         * lyxfont.[Ch]:
17313         * lyx_cb.C:
17314         * intl.[Ch]:
17315         * commandtags.h:
17316         * buffer.C:
17317         * WorkArea.[Ch]:
17318         * LyXAction.C:
17319         * BufferView_pimpl.C:
17320         * BufferView.[Ch]: remove cruft
17321
17322 2001-02-14  Juergen Vigna  <jug@sad.it>
17323
17324         * lyxfunc.C: removed #if 0 unused code
17325
17326         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17327
17328         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17329
17330         * text2.C (SetSelection): added a BufferView * parameter
17331
17332 2001-02-13  Juergen Vigna  <jug@sad.it>
17333
17334         * lyxfunc.C (Dispatch): fixed protected blank problem.
17335         * BufferView2.C (protectedBlank): added LyxText * parameter.
17336
17337         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17338         (AppendColumn): same as above for column_info.
17339
17340         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17341         (moveCursorUpdate): use a LyXText param for support of InsetText.
17342
17343         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17344         (tripleClick): ditto
17345
17346         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17347
17348         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17349
17350         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17351
17352         * text2.C (SetSelection): set correct update status if inset_owner
17353         (ToggleFree): ditto
17354
17355 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17356
17357         * tabular.C: remove some commented code.
17358
17359 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17360
17361         * BufferView_pimpl.C: call hideSplash()
17362
17363         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17364
17365         * include_form.h:
17366         * bibforms.h: remove
17367
17368         * lyxfunc.C:
17369         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17370           add LFUN_CHILD_CREATE
17371
17372         * counters.h: fix tiny typo
17373
17374         * lyx_cb.C:
17375         * lyx.h:
17376         * lyx_gui.C:
17377         * lyx.C: move splash to frontends/xforms/
17378
17379         * lyx_gui_misc.C: move Include and Bibform to frontends
17380
17381         * lyxvc.h: clarify comment
17382
17383         * vspace.C: tiny housekeeping
17384
17385 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17386
17387         * text.C (PrepareToPrint): RTL Fix.
17388
17389         * paragraph.C (GetUChar): New method.
17390         (String):  Use GetUChar.
17391
17392         * buffer.C (asciiParagraph): Use GetUChar.
17393
17394 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17395
17396         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17397
17398 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * buffer.h:
17401         * buffer.C: rename to getLogName(), handle
17402           build log / latex log nicely
17403
17404 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17405
17406         * MenuBackend.C:
17407         * MenuBackend.h: remove support for reference menuitem type.
17408
17409 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17410
17411         * BufferView_pimpl.C: housekeeping
17412         * BufferView_pimpl.h:
17413         * LyXView.h:
17414         * Makefile.am:
17415         * Timeout.C:
17416         * Timeout.h:
17417         * minibuffer.h: move Timeout GUI-I
17418
17419 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17420
17421         * lyxrc.C (read): Update converters data-structures.
17422
17423 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17424
17425         * LaTeX.h (operator!=): add operator != for Aux_Info
17426
17427 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17428
17429         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17430
17431         * LaTeXLog.C: deleted, useful code moved to Buffer
17432
17433         * buffer.h:
17434         * buffer.C: new function getLatexLogName()
17435
17436         * lyx_gui_misc.C:
17437         * lyx_gui.C:
17438         * lyxvc.C:
17439         * lyxvc.h:
17440         * lyxfunc.C: use frontends for LaTeX and VC logs
17441
17442 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17443
17444         * LaTeX.h: yet another std:: that Allan forgot.
17445
17446         * Variables.C (set): renamed from isset(), because this clashes
17447         with some HP-UX macros (grr).
17448
17449 2001-02-06  Allan Rae  <rae@lyx.org>
17450
17451         * LaTeX.h: Another bug fix.  Missing std:: this time.
17452
17453 2001-02-04  Allan Rae  <rae@lyx.org>
17454
17455         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17456         floats problem. I've left it commented out because it's not quite
17457         correct.  It should also test that the current object is a table or
17458         figure inset.  But I haven't gotten around to figuring out how to do
17459         that.  I *think* it'll be something like: "table" == inset.type()
17460
17461         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17462         bool.
17463
17464 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17465
17466         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17467         all the citation/databases/styles in the auxilary file.
17468         (run): Rerun latex if there was a babel language error.
17469
17470 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17471
17472         * text.C (Backspace): Preserve the font when changing newline char
17473         with a space.
17474         (BreakParagraph): If the cursor is before a space, delete the space.
17475
17476         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17477
17478 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17479
17480         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17481         new argument (code).
17482         (ChangeCitationsIfUnique): New method.
17483
17484         * paragraph.C (GetPositionOfInset): Handle bibkey.
17485
17486 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17487
17488         * BufferView_pimpl.h: change type of Position::par_pos to
17489         LyXParagraph::size_type.
17490
17491 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17492
17493         * BufferView_pimpl.C (savePosition, restorePosition): Write
17494         messages to minibuffer.
17495
17496 2001-01-28  José Matos  <jamatos@fep.up.pt>
17497
17498         * buffer.C (makeDocBookFile): adds support for document language.
17499         A silly restriction on the name of LatexCommand types where removed.
17500         Added support for CDATA sections, allows to chars unescaped, used
17501         among others in code, to avoid escape < and >.
17502
17503 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17504
17505         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17506         saved positions instrad of a stack. Furthermore, a position is
17507         stored using paragraph id/paragraph position.
17508
17509         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17510         Remove LFUN_REF_BACK.
17511
17512 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17513
17514         * converter.C (dvipdfm_options): New method.
17515
17516 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17517
17518         * vspace.C (isValidLength): Fix for empty input string.
17519
17520 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17521
17522         * LyXAction.C (init): change description of LFUN_FIGURE to
17523         "Insert Graphics"
17524
17525 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17526
17527         * LaTeX.C: add using directive
17528
17529 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17530
17531         * MenuBackend.C (expand): Fix the sorting of the formats.
17532
17533 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17534
17535         * lyx_main.C: tiny error message fix
17536
17537 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17538
17539         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17540         calling fl_initialize(). This fixes the problem with ',' as
17541         decimal separator in text files.
17542
17543 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17544
17545         * trans.C (process): Fix the keymap bug.
17546
17547 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17548
17549         * LaTeX.C (scanAuxFiles): New method. Provides support for
17550         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17551         (scanLogFile) Scan for "run BibTeX" messages.
17552
17553         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17554         OT1 font encoding. Also, load the aecompl package if the ae
17555         package is loaded.
17556
17557         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17558
17559 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17560
17561         * texrow.C (increasePos): turn two error messages into debug
17562         messages.
17563
17564 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17565
17566         * LaTeX.C (scanAux): Handle the \@input macro.
17567         (runBibTeX): Use scanAux().
17568
17569         * language.C (latex_options_): New field.
17570
17571         * LaTeXFeatures.C (getMacros): Add language macros.
17572
17573         * buffer.C (makeLaTeXFile): Small fix.
17574
17575 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17576
17577         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17578
17579         * text2.C: add a using directive.
17580
17581 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17582
17583         * BufferView2.C:
17584         * lyx_gui_misc.h:
17585         * lyxfr1.C:
17586         * lyxfunc.C: kill LyXBell.
17587
17588 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17589
17590         * text.C (IsBoundary): Remove the error message
17591
17592         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17593
17594         * lyxrc.C (setDefaults): Correct initialization value for
17595         font_norm_type.
17596
17597 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17598
17599         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17600         gotoError().
17601
17602         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17603         and GotoNextNote().
17604
17605         * src/LyXAction.C: Added reference-next.
17606
17607         * text.C (InsertChar): Use contains instead of strchr.
17608
17609         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17610
17611 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17612
17613         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17614         alignment commands (when needed).
17615
17616         * text.C (InsertChar): Add ':' to number separator chars.