]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7ada4a7a012543e391c1e2ac0d0fdab7d0824601
[lyx.git] / src / ChangeLog
1 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text2.C: fix for cursor up/down stuck in math [bug 1792]
4
5 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text2.C (cursorUp): get rid of a crash
8         * text.C (x2pos): add an assert
9
10 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (getStatus): fix warning when assertions are disabled
13
14         * text3.C: 
15         * lyxfunc.C: 
16         * dociterator.C: include <boost/current_function.hpp>, which is
17         needed when assertions are disabled.
18
19 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
20
21         * text2.C: fix for stuck cursor when traversing two 
22         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
23
24 2005-02-25  Andreas Vox  <avox@arcor.de>
25
26         * output_docbook.C (makeParagraph): suppress trailing newline
27         after a run of paragraphs
28
29 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
30
31         * paragraph.C: fix for confused change tracker when pasting
32         text that begins with a lineseparator. [bug 1827]
33         (setChange(0, Change::INSERTED);)
34
35         * paragraph_funcs.C: fix for lost changes on triple-paste
36         in change tracking mode [bug 1827] (par.setChange()).
37
38 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * text2.C (updateCounters, setCounter, expandLabel): move to
41         buffer_funcs.
42
43         * buffer_funcs.C (updateCounters): turn into a free standing
44         function and add a buffer parameter. Remove dead code for tracking
45         labelstring change.
46         (setCounter): change into a free-standing function which gets a
47         dociterator as argument. Use this iterator to fix captions in a
48         simple way. When no float is found above the caption, use the
49         labelstring of the caption layout as default.
50
51         * text.C (breakParagraph, backspace): 
52         * text2.C (init, setLayout, changeDepth):
53         * text3.C (dispatch): 
54         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
55         updateCounters.
56
57         * dociterator.C (forwardPar): make it much faster by calling
58         forwardPos() only when really necessary.
59
60         * output_docbook.C (makeCommand): adapt to expandLabel move.
61
62         * cursor.C: remove unused variable
63
64 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
65
66         * paragraph_funcs.C: fix crash when pasting insets in change 
67         tracking mode [bug 1277] (honour change type in moveItem).
68
69 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
70
71         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
72
73 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * BufferView.C (setCursor): change to use a DocIterator.
76         (gotoLabel): use BufferView::setCursor (other part of bug 781).
77         (putSelectionAt): adapt to BufferView::setCursor change.
78
79         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
80         moved here from LyXText and rewritten to use proper cursor
81         methods. Fixes bug 1787, 616 and 835.
82
83         * BufferView_pimpl.C (restorePosition): set the cursor correctly
84         when inside an inset (part of bug 781).
85         (dispatch): adapt to change of BufferView::setCursor.
86         (getStatus, dispatch): handle LFUN_GOTOERROR,
87         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
88
89         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
90         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
91         * text3.C (gotoNextInset, gotoInset): removed.
92
93 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
96
97 2005-02-15  Angus Leeming  <leeming@lyx.org>
98
99         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
100         can be used meaningfully in a comparison.
101
102 2005-02-13  André Pönitz  <poenitz@gmx.net>
103
104         * bufferview_funcs.C (coordOffset): improve cursor drawing
105
106 2005-02-13  André Pönitz  <poenitz@gmx.net>
107
108         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
109         * Cursor.C (dispatch): use fixIfBroken
110         * lyxfunc.C (getStatus): use fixIfBroken
111
112 2005-02-15  Angus Leeming  <leeming@lyx.org>
113
114         * lyx_main.C (error_handler):
115         * lyxfunc.C:
116         * lyxrc.C (setDefaults):
117         s/GetEnv/getEnv/.
118         #include "environment.h".
119
120         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
121
122 2005-02-15  Angus Leeming  <leeming@lyx.org>
123
124         * lyxserver.C (startPipe): squash MSVC warning "local variable
125         'fd' used without having been initialized".
126
127 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
128
129         * BufferView_pimpl.C: revert accidental commit.
130
131 2005-02-14  André Pönitz  <poenitz@gmx.net>
132
133         * dociterator.[Ch]: new member forwardPosNoDescent(),
134         which doesn't enter nested insets.
135         * text2.C (setFont): use forwardPosNoDescent() instead
136         of ForwardPos() (fixes crash on font change).
137
138 2005-02-13  Angus Leeming  <leeming@lyx.org>
139
140         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
141         only if lyxrc.path_prefix is not empty.
142
143 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * bufferparams.C (readGraphicsDriver): prevent crash
146
147 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * text2.C (setCounter): check for inInset() == 0
150
151 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
154         but use update() to get correct screen display; use convert
155         instead of istringstream. 
156         (getStatus): handle LFUN_GOTO_PARAGRAPH 
157
158         * lyxfunc.C (dispatch, getStatus): do not handle
159         LFUN_GOTO_PARAGRAPH here.
160
161 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
162
163         * text3.C (dispatch): size() -> depth()
164
165         * text2.C: remove some debug output
166
167         * paragraph.C: ws changes only
168
169         * lyxfunc.C (getStatus): size() -> depth()
170
171         * dociterator.h (clear, push_back, pop_back, internalData,
172         operator[], resize, empty): new functions
173         Make StableDocIterator and operator== be friends. Don't inherit
174         from std::vector use a privat class variable slices_ instead.
175         Modify to fit.
176
177         * dociterator.C: update because of not inheriting from std::vector
178         anymore. Call explictly to slices_ instead. Use depth() instead of
179         size() and top() instead of back()
180
181         * cursor.C: chagne size() -> depth and back() -> top(). Also
182         remove some direct operator[](i) calls in favour of foo[i]
183         (getFont): remove some dead code
184
185         * bufferview_funcs.C (coordOffset): size() -> depth()
186
187         * buffer.C: ws changes only
188
189         * CutAndPaste.C (eraseSelection): back() -> top()
190
191         * BufferView_pimpl.C (selectionRequested): back() -> top()
192
193         * BufferView.C (setCursor): size() -> depth()
194
195 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
196
197         * text3.C (cursorPrevious): return true if depm changed something
198         (cursorNext): ditto
199         (dispatch): rename sl to oldTopSlice, remove moving use the new
200         NoUpdate func attrib instead. Make sure that needsUpdate is set
201         for function that have NoUpdate, but where depm might have changed
202         the buffer anyway.
203
204         * text2.C (cursorLeft): make us return true if depm changed
205         something
206         (cursorRight): ditto
207         (cursorUpParagraph): ditto
208         (curosrDownParagraph): ditto
209         (cursorUp, cursorDown): ditto, make sure to read comments in code
210         (deleteEmptyParagraphMechanism): remove an assert, also return
211         true if just a single char was deleted.
212
213         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
214         cursor that we modify, to avoid modifying an active cursor before
215         we call setCursor. This allows depm to run. Also return true if
216         depm deleted something.
217
218         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
219         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
220         cursorDownParagraph, cursorPrevious and cursorNext, return true if
221         something was changed in the buffer because of them (ie. depm run)
222
223         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
224         debug messages. Make update by default be false. Make sure that
225         the result of update is retained throught several calls down to
226         dispatch.
227
228         * LyXAction.h: add a new func_attrib: NoUpdate
229
230         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
231         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
232         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
233         and LFUN_WORDLEFT
234         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
235
236 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
237
238         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
239         bv_->owner(), bv_->buffer() by direct references to the private
240         members.
241         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
242         (getStatus): isSavedPosition() is in BufferView::Pimpl.
243         (fitCursor): center() is in BufferView::Pimpl.
244         (getStatus, trackChanges, dispatch): no need for a temporary buf
245         variable
246         (fitCursor, workAreaDispatch): use workarea().workheight()
247
248 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
249
250         * CutAndPaste.C (pasteSelectionHelper): fix a crash
251
252 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
253
254         * buffer.C: format up to 241.
255         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
256         break if pasting into ERT
257         * lyxfunc.C (getStatus): suppress mathpanel and
258         LFUN_DIALOG_SHOW_NEW_INSET in ERT
259
260 2005-02-01  Angus Leeming  <leeming@lyx.org>
261
262         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
263
264 2005-02-01  Angus Leeming  <leeming@lyx.org>
265
266         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
267         calling fs::is_directory().
268
269 2005-01-31  Angus Leeming  <leeming@lyx.org>
270
271         * lyx_main.C (priv_exec): specify explicitly the relative location
272         of the top level build directory when run in-place.
273
274 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
277         LyXText containing the cursor, not the top-level one.
278
279         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
280         true.
281         (insertStringAsLines): rename par to pit; use temporary variable
282         par to hold a Paragraph; do not store par.layout() in a variable,
283         since the pointer may die when breaking paragraphs; pass pars to
284         breakParagraph() instead of Buffer::paragraphs().
285
286 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
287
288         * lyxlex_pimpl.h: #include <fstream>.
289
290         * BufferView.[Ch] (getLyXText): add a const version.
291
292         * BufferView_pimpl.C: add debug aids.
293
294         * RowList_fwd.h:
295         * buffer.h:
296         * lyxrow.h:
297         * paragraph_funcs.h: add commentary explaining what the class does.
298
299
300         * coordcache.[Ch]: add lots of commentary.
301         (startUpdating, doneUpdating): debug aids.
302         (arrays, insets, parPos, getParPos): accessors to private data.
303
304         * cursor_slice.[Ch] (text): add a const version.
305         * dociterator.[Ch] (text, innerText): add const versions.
306
307         * lyxtext.h (breakParagraph): change the keep_layout arg to a
308         bool.
309
310         * paragraph.C (getRow, pos2ros): add asserts.
311
312         * paragraph.h: add commentary. Lots of.
313
314         * paragraph.[Ch] (metrucs, draw): removed.
315
316         * cursor.C:
317         * rowpainter.[Ch]: const-correct changes.
318
319         * text.C: various obvious clean-ups. Removal of ancient cruft.
320         Bug fixes, even.
321
322 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
323
324         * vc-backend.C (find_file): rewrite to use boost.filesystem
325         (scanMaster): ditto
326
327         * main.C (main): set default name check for boost.filesystem to
328         no check
329
330         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
331         (open): ditto
332         (doImport): ditto
333         (actOnUpdatedPrefs): ditto
334
335         * lyx_main.C (init): rewrite to use boost.filesystem
336         (queryUserLyXDir): ditto
337
338         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
339         (getContentsOfAsciiFile): ditto
340
341         * lastfiles.C (readFile): rewrite to use boost.filesystem
342
343         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
344
345         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
346         (loadLyXFile): ditto
347
348         * buffer.C (Buffer): adjust for destroydir
349         (getLogName): rewrite to use boost.filesystem
350         (setFileName): ditto
351         (save): use fs::copy_file (from fs_extras)
352
353         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
354
355         * LaTeX.C (run): rewrite to use boost.filesystem
356         (scanAuxFiles): ditto
357         (handleFoundFile): ditto
358
359 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
362
363         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
364
365 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * lyxlayout.[Ch]: change some vars from float to double
368
369         * buffer.C (readFile): make a local var const
370
371         * Several files: use convert<> instead of atoi,strToXXX and friends
372
373 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
374
375         * LaTeXFeatures.[Ch]: Add a static list packages_ that
376         holds the contents of packages.lst. New functions getAvailable
377         and isAvailable to parse and check that list, resp.
378
379         * LyXAction.C:
380         * lfuns.h:
381         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
382
383         * bufferparams.[Ch]: new param output_changes.
384
385         * Buffer.C: increase file format to 240.
386         Use output_changes and isVailable.
387
388         * changes.[Ch]:
389         * paragraph.C:
390         * paragraph_pimpl.C: Use output_changes and isVailable.
391
392 2005-01-23  Angus Leeming  <leeming@lyx.org>
393
394         * output_latex.C: #include "insetbibitem.h", rather than
395         forward declare function bibitemWidest.
396
397 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
398
399         * lyx_main.C (init): make it compile on the Mac.
400
401 2005-01-20  Angus Leeming  <leeming@lyx.org>
402
403         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
404         (setLyXMisc): (char string literal) != (char string literal) is
405         performing a comparison on the addresses. Convert one operand
406         explicitly to string to guarantee expected behaviour.
407         From MSVC warning.
408
409 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
410
411         * buffer.C:
412         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
413
414         * output_plaintext.C: remove unneeded #include gzstream.h.
415
416 2005-01-20  Angus Leeming  <leeming@lyx.org>
417
418         * SpellBase.h: rename some of the elements of the Result enum.
419
420         * aspell_local.h:
421         * ispell.h:
422         * pspell.h:
423         * aspell.C (check):
424         * ispell.C (check):
425         * pspell.C (check): ditto
426
427 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
428
429         * buffer.C: add #include <fstream>.
430
431         * lyx_main.C (init): Compile fix.
432
433         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
434
435 2005-01-20  Angus Leeming  <leeming@lyx.org>
436
437         * mover.h: change commentary to reflect the changed meaning of
438         the $$s placeholder.
439
440 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * output_linuxdoc.C (linuxdocParagraphs): silence warning
443
444         * lyxfind.C (MatchString::operator()): remove bogus semicolon
445
446 2005-01-20  Angus Leeming  <leeming@lyx.org>
447
448         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
449         printing diagnostic data by not dereferecing an iterator past the
450         end.
451
452 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
453
454         * buffer.C (readHeader): use "&&" rather than "and".
455
456         * lyxserver.h (inPipeName, outPipeName): make these const.
457
458 2005-01-19  Angus Leeming  <leeming@lyx.org>
459
460         * lyx_main.C (error_handler, init): protect SIGHUP with
461         #ifdef SIGHUP guards.
462
463 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
466
467 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
468
469         * text.C (setHeightOfRow): add a margin at the top and bottom of
470         the document (bug 1761)
471
472 2005-01-17  Angus Leeming  <leeming@lyx.org>
473
474         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
475         with "python ". Workaround for a brain-dead Windows.
476
477 2005-01-16  Angus Leeming  <leeming@lyx.org>
478
479         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
480         for MacOSX and Windows to use prependEnvPath.
481         Strip out the hard-coded block to add elements to the PATH for
482         MacOSX and replace it with a call to prependEnvPath using the
483         contents of LyXRC::path_prefix.
484         (queryUserLyXDir): strip out the code to run reconfigure, instead
485         returning a boolean indicating the necessity to do so.
486         (reconfigureUserLyXDir): contains the code to reconfigure the
487         user support directory. Is now called after the various LyXRC data
488         files have been read.
489
490         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
491
492 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
493
494         * converter.[Ch] (convert): take a new parameter try_default. Use
495         a default converter (imagemagick) if try_default is true.
496
497 2005-01-13  Angus Leeming  <leeming@lyx.org>
498
499         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
500         os::cygwin_path_fix.
501         (write): output LyXRC::cygwin_path_fix as necessary.
502
503 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
504
505         * lyxrc.h:
506         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
507
508 2005-01-12  Angus Leeming  <leeming@lyx.org>
509
510         * lyx_main.C (init): set the PATH variable to include the
511         directory containing the LyX binary when running on Mac or Windows.
512
513 2005-01-12  Angus Leeming  <leeming@lyx.org>
514
515         * lyx_main.C (init): remove cruft that purports to set the locale
516         dir. It doesn't and is not needed anyway.
517
518 2005-01-10  Angus Leeming  <leeming@lyx.org>
519
520         * Makefile.am: remove the lyx_main.C special casing.
521
522         * BufferView_pimpl.C:
523         * bufferlist.C:
524         * exporter.C:
525         * lyx_cb.C:
526         * lyx_main.C:
527         * lyxfunc.C:
528         * messages.C: use support/package.h to provide the paths to the
529         various directories used by LyX.
530
531 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
532
533         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
534         layout if pasting into an empty paragraph)
535
536 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
537
538         * tex-accent.C: add <string>
539
540 2005-01-06  José Matos  <jamatos@lyx.org>
541
542         * ParagraphParameters.C (write): put every parameter in its own line.
543         * paragraph.C (write): reduce number of consecutive empty lines exported.
544         * buffer.C (LYX_FORMAT): increase file format to 239.
545
546 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
547
548         * everywhere: change support/tostr.h -> support/convert.h
549
550         * tabular.C: make all write_attributes templates, tostr -> convert
551
552         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
553         (emptyTag): and -> &&, and fix type for ret from getChar
554         (getFirstWord): fix type for ret from getChar
555         (onlyText): and -> &&
556         (simpleDocBookOnePar): and not -> && !, fix type for ret from
557         getChar
558
559         * toc.C (goTo, action):
560         * text3.C (dispatch):
561         * text.C (currentState):
562         * tex-accent.C (DoAccent):
563         * sgml.C:
564         * lyxrc.C:
565         * lyxfunc.C (menuNew):
566         * lyxfinc.C (replace):
567         * counters.C (laberItem):
568         * bufferview_funcs.C (font2string):
569         * bufferparams.C (writeFile):
570         * buffer.C (readFile):
571         * Spacing.C (set):
572         * MenuBackend.C: tostr -> convert
573
574         * LaTeX.C (runMessage): fix format
575         (scanAuxFiles): tostr -> convert
576
577         * BufferView_pimpl.C (savePosition): fix format
578         (restorePosition): ditto
579         (dispatch): ditto
580
581 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * Spacing.[Ch]: New method getValueAsString().
584
585         * Spacing.[Ch]:
586         * bufferparams.C:
587         * ParagraphParameters.C:
588         * lyxlayout.C:
589         * text.C:
590         * text3.C: store/read spacing value as string.
591
592         * rowpainter.C: change float value (spacing_val) to double.
593
594         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
595         broken custom document spacing).
596
597 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
598
599         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
600         namespace, also more use of temp references and const
601
602         * cursor.[Ch] (getStatus): move to lyxfunc.C
603
604         * bufferparams.C: reformat slightly
605
606         * bufferview_funcs.C (font2string): constify arg
607
608         * changes.C:
609         * converter.C:
610         * counters.C:
611         * bufferlist.C:
612         * buffer_funcs.C: (many funcs): constify arg on function
613         definitions, also make more local vars const, also add ASSERTS on
614         pointer args.
615
616         * buffer.C (LYX_FORMAT): put const in correct place
617         (many funcs): constify arg on function definitions, also make
618         more local vars const
619
620         * aspell_local.h: remove "struct" from typdef setup
621
622         * aspell.C (check): make word_ok const
623         (nextMiss): simplify slightly
624         (error): ditto
625
626 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
627
628         * lyxrc.[Ch]: store all float values as strings.
629         use int (not float) for lyxrc.dpi.
630
631 2005-01-04  Angus Leeming  <leeming@lyx.org>
632
633         * lyx_cb.C (Reconfigure):
634         * lyx_main.C (queryUserLyXDir):
635         to run the <system_lyxdir>/configure correctly on Windows, prefix
636         the path to the script with "sh " when generating the string that
637         is passed to system().
638
639 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
640
641         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
642
643 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * lyxlength.C (asLatexString): get rid of setprecision
646
647 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * text2.C (setLayout): remove unused variable endpit.
650         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
651
652         * paragraph.C (onlyText): remove unused variable style.
653
654         * cursor.C (bruteFind): remove unused variables beg and end.
655
656         * Makefile.am (dist_noinset_DATA): not needed anymore
657
658         * cheaders/*: remove.
659
660 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
661
662         * text3.C: fix LFUN_MATH_MODE.
663
664 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * buffer_funcs.C (countWords): new function. Counts words between
667         two iterators.
668
669         * BufferView_pimpl.C (getStatus, dispatch): handle
670         LFUN_WORDS_COUNT.
671
672         * LyXAction.C (init):
673         * lfuns.h: add LFUN_WORDS_COUNT.
674
675 2004-12-19  Angus Leeming  <leeming@lyx.org>
676
677         * buffer.C (save): s/slashify_path/internal_path/.
678
679 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
680
681         * lyxfind.C (findChange): do not search for end of pars, because
682         the change tracker cannot handle this (fixes bug 1719).
683
684 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
685
686         * paragraph.[Ch] (autoBreakRows): remove
687
688         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
689
690         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
691         avoid using the paragraph one
692
693         * text2.C (LyXText, insertStringAsLines): adjust
694
695 2004-12-16  Angus Leeming  <leeming@lyx.org>
696
697         * bufferlist.C:
698         * lyx_main.C:
699         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
700
701 2004-12-14  Angus Leeming  <leeming@lyx.org>
702
703         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
704
705         * bufferlist.C (emergencyWrite):
706         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
707         GetEnvPath("HOME").
708
709 2004-12-14  Angus Leeming  <leeming@lyx.org>
710
711         * main.C: (main): no longer pass pointers to os::init.
712
713 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
714
715         * undo.C (textUndoOrRedo): simplify logic, fix a crash
716         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
717
718 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
719
720         * lyxfunc.C:
721         * text3.C: remove selection_possible global flag
722
723 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
724
725         * text2.C (getSelectionSpan): remove
726         (changeDepth, changeDepthAllowed): adjust
727
728 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
729
730         * Makefile.am (BOOST_LIBS): use boost variables
731
732 2004-12-03  José Matos  <jamatos@lyx.org>
733
734         * buffer.C: format up to 238.
735
736 2004-12-03  José Matos  <jamatos@lyx.org>
737
738         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
739
740 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * cursor.C (goUpDown): remove call to idxUpDown2
743
744 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
745
746         * tabular.[Ch]: use size_t-like types for cell, row and column
747         indices
748
749 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * lyxfunc.C (getStatus): do not lose previous information when
752         calling BufferView::getStatus; do not set a default "Command
753         disabled" message at the beginning, but just before returning.
754
755 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
756
757         * cursor.h (getStatus): add better comment from src/cursor.C
758
759 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
760
761         * text3.C (getStatus): return false when the lfun is not handled
762
763 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
764
765         * broken_headers.h: remove
766
767         * Makefile.am (lyx_SOURCES): remove broken_headers.h
768
769 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
772         offset_ref accessors
773
774         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
775         top_y_, merge fitcursor with update
776         (updateScrollbar, scrollDocView, fitCursor, center, update): new
777         coord scheme
778         (metrics): introduce
779         (workAreaDispatch): adapt to new coord scheme
780         (redoCurrentBuffer): remove
781
782         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
783
784         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
785         CurStatus enum.
786
787         * coordcache.[Ch]: add paragraph cache and helpers
788
789         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
790         adjust everywhere
791
792         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
793         (targetX, setTargetX): introduce
794
795         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
796         baseline -> ascent, as the rest of lyx
797
798         * lyxtext.h: remove redoParagraphs, updateParPositions,
799         fullRebreak, redoParagraphInternal. move dist to anon namespace in
800         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
801         have ascent/descent (ascent is ascent of first par)
802
803         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
804         step of BufferView
805
806         * paragraph.[Ch]: unify dimension handling with the rest of lyx
807
808         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
809
810         * pariterator.C: fix infinite loop introduced in par->pit renaming
811
812         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
813         in insets and LyXText, draw two off-screen paragraphs using
814         NullPainter, and adapt to new coord scheme
815
816         * text.C:
817         * text2.C:
818         * text3.C: adapt lfun handlers to the new coord scheme, which
819         means: there's only guaranteed coord information for onscreen pars
820         plus one above and one below. This implies that one can do search
821         from y coordinates in the range [-1,workHeight]
822
823 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
824
825         * rename a lot of InsetOld to InsetBase
826
827 2004-11-25  Angus Leeming  <leeming@lyx.org>
828
829         * BufferView_pimpl.C:
830         * lyx_cb.C:
831         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
832
833 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
836         call BufferView::getStatus if LCursor::getStatus did nothing
837         (setStatusMessage, getStatusMessage): removed.
838
839         * FuncStatus.C (message): new methods. Used to provide an error
840         message indicating why a command is disabled.
841         (clear, |=, FuncStatus): update for message.
842
843 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
844
845         * lyxfunc.C (dispatch): always call sendDispatchMessage
846
847 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
848
849         * BufferView.C:
850         * BufferView_pimpl.C:
851         * CutAndPaste.C:
852         * FontIterator.C:
853         * buffer.C:
854         * cursor.C:
855         * cursor_slice.[Ch]:
856         * dociterator.[Ch]:
857         * lyxfind.C:
858         * paragraph_funcs.C:
859         * pariterator.C:
860         * rowpainter.C:
861         * text.C:
862         * text2.C:
863         * text3.C:
864         * undo.C: par->pit renaming
865
866 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * tabular.C (cellstruct): use initialization, store a shared_ptr
869         to insettext instead of the insettext directly, adjust to fit.
870         (operator=):  new function
871         (swap): new function
872         (rowstruct): use initialization
873         (columnstruct): use initialization
874         (ltType): use initialization
875
876
877         * lyxlength.h (swap): new function
878
879         * LColor.[Ch] (operator=): use the common semantics
880
881 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
882
883         * lyxfind.C (findNextChange): update the bufferview after setting
884         the selection.
885
886 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
889         number of InsetOptArgs has already been inserted.
890
891         * output_latex.C (latexOptArgInsets): new method. This outputs all
892         the optarg insets, up to the limit defined in the layout file.
893         (optArgInset): removed
894         (TeXOnePar): call latexOptArgInsets; correctly update texrow
895
896 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * paragraph.C (isLetter): remove special spellchecker-related
899         code; return true also for digits
900         (isWord, isKomma): remove
901
902         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
903         * lyxfind.C (MatchString()): use isLetter instead of isWord
904
905 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
906
907         * pariterator.h (operatir=): comment out un-implemented member
908         function.
909
910         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
911         static cast.
912
913 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
914
915         * lyxfont.h: include LColor.h to satisfy concept checks.
916
917 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * pariterator.h: add typdefs for value_type, difference_type,
920         pointer and reference to satisfy concept checks. Also add default
921         constructor for same reason.
922
923         * pariterator.C (operator++): add post-increment operator to
924         satisfy concept checks.
925
926         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
927         checks.
928
929         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
930
931         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
932         checks. Also rename base_type to BaseType to follow naming
933         standard better.
934
935         * FloatList.h: include Floating.h to satisfy concept checks.
936
937 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * lyxfunc.C (getStatus): when the origin of the request is menu or
940         toolbar, and the LyXView does not have focus, do as if there was
941         no buffer (bug 1720)
942
943         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
944         FuncRequest to individual entries of LFUN_SEQUENCE
945
946 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
947
948         * output_latex.C (TeXOnePar): override runparams.moving_arg
949         according to the needprotect value of the current paragraph (bug
950         1739)
951
952         * paragraph.C (simpleTeXOnePar): no need to override
953         runparams.moving_args here
954
955 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
956
957         * vspace.C: fix off-by-one-error, related to fix #1682
958
959 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
960
961         * lengthcommon.C: a more general fix for bug 1682
962
963 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * text.C (backspace): fix crash
966
967 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
968
969         * format.[Ch] (getFormatFromFile): new method
970         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
971
972 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
973
974         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
975
976 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * lyxfunc.C (dispatch): remove the verbose argument
979         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
980         instead
981
982         * kbmap.C (defkey): set the origin of func to KEYBOARD
983
984         * MenuBackend.C (MenuItem):
985         * ToolbarBackend.C (add): set the origin of func to UI
986
987         * funcrequest.[Ch]: add origin member, which indicates which part
988         of LyX requests an action
989
990 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
991
992         * converter.C (move): don't lie in the error message
993         * converter.h (isReachable, move): document
994
995 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
996
997         * buffer.C: remove unused using lyx::support::atoi
998         * paragraph_funcs.C: ditto
999
1000 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1001
1002         * bufferlist.C (exists): use bind and equal_to instead of
1003         compare_memfun
1004         (getBuffer): ditto
1005         * lyxtextclasslist.C (NumberOfClass): ditto
1006
1007         * cursor.C (insert): use for_each instead of explicit for loop
1008
1009         * bufferlist.C (getFileNames): use std::transform and
1010         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1011
1012         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1013         for loop
1014
1015         * buffer.C (changeLanguage): use for_each instead of explicit for
1016         loop
1017         (hasParWithID): implement using getParFromID
1018
1019         * LaTeXFeatures.C: ws change only
1020
1021         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1022         to cleanup a bit.
1023
1024         * BufferView_pimpl.C (trackChanges): use for_each instead of
1025         expilicit for loop
1026
1027 2004-11-04  André Pönitz  <poenitz@gmx.net>
1028
1029         * undo.h:
1030         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1031
1032         * dociterator.C (asDocIterator): use hard assert again.
1033
1034 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * lyxlength.C (asLatexString): rewrite so that it does not use
1037         snprintf anymore
1038
1039 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * text3.C (specialChar, dispatch): make sure cursor moves to the
1042         right after inserting an inset
1043
1044 2004-11-02  José Matos  <jamatos@lyx.org>
1045
1046         * output_docbook.C (docbook):
1047         * paragraph.C (getID):
1048         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1049         garantee that the output is always legal.
1050
1051         * tabular.C (docbook):
1052         * outputprams.[Ch]: remove mixed contents.
1053
1054 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1055
1056         * text2.C (setCounter): prevent endless loop
1057
1058 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * exporter.C (copyFile): use the mover instead of support::copy()
1061         * exporter.C (Export): pass format and latex name to copyFile()
1062         * exporter.h (addExternalFile): document
1063         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1064
1065 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1066
1067         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1068
1069 2004-10-30  José Matos  <jamatos@lyx.org>
1070
1071         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1072         text and no inset or font change. This allows to use CDATA
1073         sections just for the whole paragraph.
1074
1075 2004-10-30  José Matos  <jamatos@lyx.org>
1076
1077         * paragraph.C (getFirstWord): remove unused variable.
1078
1079 2004-10-30  José Matos  <jamatos@lyx.org>
1080
1081         * paragraph.C (getFirstWord): the content should always be escaped
1082         there.
1083         (simpleDocBookOnePar):
1084         * output_docbook.C (makeEnvironment): replace reference to CDATA
1085         to style pass_thru.
1086
1087 2004-10-30  José Matos  <jamatos@lyx.org>
1088
1089         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1090
1091 2004-10-30  José Matos  <jamatos@lyx.org>
1092
1093         * output_docbook.C (makeParagraphs):
1094         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1095         standard paragraph has only a given type of content drop the wrapper.
1096
1097 2004-10-29  José Matos  <jamatos@lyx.org>
1098
1099         * output_docbook.C (makeEnvironment):
1100         * sgml.C (openTag):
1101         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1102
1103 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1104
1105         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1106         (cleanID): sanitize any id.
1107
1108 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1109
1110         * buffer.C, lyxlex_pimpl.C:
1111         * lyxlex_pimpl.C (setFile):
1112         s/getExtFromContents/getFormatFromContents/
1113
1114 2004-10-28  José Matos  <jamatos@lyx.org>
1115
1116         * output_docbook.C (makeEnvironment): move id to broadest possible
1117         scope.
1118
1119         * sgml.C (openTag): apply substitution of <> for all attributes.
1120
1121 2004-10-28  José Matos  <jamatos@lyx.org>
1122
1123         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1124         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1125         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1126
1127         * sgml.[Ch]: new version for open and closeTag for paragraph and
1128         for strings. Now they handle the ids of paragraphs.
1129
1130 2004-10-26  Angus Leeming  <leeming@lyx.org>
1131
1132         * Makefile.am: add mover.[Ch].
1133
1134         * converter.C (convert, move): use the new Movers to move external
1135         files to the temp directory.
1136
1137         * lyx_main.C (init): ensure that the global system_movers data
1138         is initialised.
1139
1140         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1141         preferences file.
1142
1143         * mover.[Ch]: new files, defining a Mover as a utility to move an
1144         external file between directories and, if necessary, manipulate this
1145         file using a helper script.
1146
1147 2004-10-25  José Matos  <jamatos@lyx.org>
1148
1149         * output_docbook.C (makeCommand): merge two if's that tested the
1150         same condition.
1151
1152 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * sgml.C (escapeString): fix warning in a better way
1155
1156 2004-10-25  José Matos  <jamatos@lyx.org>
1157
1158         * sgml.C (escapeString): import the require boosts header file for
1159         tie, and avoid a signed unsigned comparison.
1160
1161 2004-10-25  José Matos  <jamatos@lyx.org>
1162
1163         * sgml.h: add #include <string>
1164
1165 2004-10-25  José Matos  <jamatos@lyx.org>
1166
1167         * sgml.[Ch] (escapeString): new function to escape all the string.
1168
1169 2004-10-24  José Matos  <jamatos@lyx.org>
1170
1171         * paragraph.[Ch] (getFirstWord): new function to get the first
1172         word. Useful for description.
1173         (simpleDocBookOnePar): remove depth argument, add another that
1174         says where to start the paragraph.
1175
1176         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1177         use the new functions to fix cleanly the support for descriptions.
1178
1179 2004-10-24  José Matos  <jamatos@lyx.org>
1180
1181         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1182         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1183         * output_linuxdoc.C (linuxdocParagraphs):
1184         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1185         add buffer as argument.
1186
1187 2004-10-24  José Matos  <jamatos@lyx.org>
1188
1189         * output_docbook.C (makeEnvironment, searchEnvironment): place
1190         CDATA inside paragraphs and fix scope for listitems.
1191
1192 2004-10-24  José Matos  <jamatos@lyx.org>
1193
1194         * output_docbook.C: remove using statement for stack.
1195
1196 2004-10-23  José Matos  <jamatos@lyx.org>
1197
1198         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1199         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1200         docbook. The new scheme is recursive and makes use of iterators, the
1201         same as latex export works.
1202         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1203         directly with the paragraph contents. This code was moved up to
1204         output_docbook.C (docbookParagraphs).
1205         * sgml.C (openTag, closeTag): removed unneeded newlines.
1206         (closeEnvTags) removed.
1207
1208 2004-10-23  André Pönitz  <poenitz@gmx.net>
1209
1210         * undo.C (textUndoOrRedo):
1211         * dociterator.C (asDocIterator): work around crash
1212
1213         * cursor.C (getStatus): replace ASSERT by more verbose error message
1214           and manual correction of the problem. Should increase stability
1215           while providing more sensible information.
1216
1217 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1220
1221         * bufferlist.C (previous, next): new methods
1222
1223         * lfuns.h:
1224         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1225
1226 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1227
1228         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1229         entities to preamble.
1230
1231 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1232
1233         * messages.C (Pimpl): strip off translation context information
1234
1235 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1238         the cursor is correct (bug 1694)
1239
1240 2004-10-13  José Matos  <jamatos@lyx.org>
1241
1242         * output_docbook.C (docbookParagraphs): fix closing tags in the
1243         end of the document.
1244
1245 2004-10-09  José Matos  <jamatos@lyx.org>
1246
1247         * buffer.C: format up to 237.
1248         * bufferparams.C (write): use tostr to convert booleans to strings.
1249
1250 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1251
1252         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1253
1254 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1255
1256         * LaTeX.C: implement use of babel language in xindy.
1257
1258 2004-10-05  José Matos  <jamatos@lyx.org>
1259
1260         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1261         Add new translators to help reading and writing the lyx file.
1262
1263 2004-10-05  José Matos  <jamatos@lyx.org>
1264
1265         * ParagraphParameters.C (read):
1266         * text.C (readParToken): replace nexToken by more appropriate lex
1267         methods.
1268
1269 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1270
1271         * LaTeX.C (runMakeIndex):
1272         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1273         (usually 'makeindex') configurable.
1274
1275         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1276         with a variable rather than with a number.
1277
1278 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * output_latex.C (TeXOnePar): make sure font setting is the first
1281         thing that gets output (and the last at the end). Should fix bug
1282         1404.
1283
1284 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1285
1286         * pch.h: use proper signal include
1287
1288         * LaTeX.h: Use preferred calling of Boost.Signal
1289         * buffer.h: ditto
1290
1291 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1292
1293         * pch.h: dont include <boost/function/function0.hpp>
1294
1295         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1296
1297         * paragraph_pimpl.h: remove usage of ShareContainer
1298
1299         * paragraph_pimpl.C: remove initialization of ShareContainer.
1300
1301 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302
1303         Fix bug #1666
1304
1305         * BufferView.C (putSelectionAt): change the semantics when
1306         backwards == true: now, this just swaps cursor and anchor wrt the
1307         forward case
1308
1309         * BufferView.h (putSelectionAt): add some documentation
1310
1311         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1312         make sure backwardChar is done at least once (to avoid getting
1313         stuck)
1314         (findNextChange): use putSelectionAt in the forward direction
1315         (operator()): use Paragraph::isWord
1316
1317 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1318
1319         * Spacing.C (set): c_str fix
1320
1321 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * lyx_cb.C (Reconfigure): quote the name of configure script in
1324         case it contains spaces
1325
1326 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1327
1328         * client: new dir
1329
1330         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1331         (BOOST_LIBS): use top_buildir when looking for the file
1332
1333 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1334
1335         * pch.h: do not use include boost/format.hpp, multiple symbols
1336                 will result (gcc bug)
1337
1338
1339 2004-08-23  José Matos  <jamatos@lyx.org>
1340
1341         * bufferparams.C (readToken): fix reading of the author field.
1342
1343 2004-08-20  José Matos  <jamatos@lyx.org>
1344
1345         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1346
1347 2004-08-20  José Matos  <jamatos@lyx.org>
1348
1349         * lyxlex.[Ch] (findToken): remove function.
1350
1351         * ParagraphParameters.C (findToken):
1352         * bufferparams.C (findToken): replace call for previous function
1353         with local copy. This local function has one more argument, the
1354         read string argument.
1355
1356 2004-08-16  José Matos  <jamatos@lyx.org>
1357
1358         * ParagraphParameters.C (write):
1359         * Spacing.C (writeFile):
1360         * bufferparams.C (writeLaTeX):
1361         * lyx_cb.C (Reconfigure):
1362         * paragraph.C (write):
1363         * tabular.C (write): remove unnecessary space at end of line.
1364
1365
1366 2004-08-16  José Matos  <jamatos@lyx.org>
1367
1368         * text.C (readParagraph): remove debug message.
1369
1370 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1373         crash
1374
1375         * output_plaintext.C (asciiParagraph): set depth correctly
1376
1377         * outputparams.h: add member depth
1378
1379         * paragraph_funcs.C (ownerPar): remove.
1380
1381         * text2.C (setCounter): remove first_pit; comment out some
1382         non-working code that uses ownerPar
1383
1384         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1385         uses ownerPar
1386
1387 2004-08-16  José Matos  <jamatos@lyx.org>
1388
1389         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1390         For the same level of importance use the same chanel to report problems.
1391         (read): add code to deal with \begin_body and \end_body.
1392
1393
1394 2004-08-15  José Matos  <jamatos@lyx.org>
1395
1396         * lyxlex.C (getString): fix comment, buffer::readBody is now
1397         buffer:readDocument.
1398
1399         * tex-strings.C (string_papersize): Default -> default,
1400         Custom -> custom, for consistency with other options.
1401
1402 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1403
1404         * pch.h: new file
1405
1406         * Makefile.am: support pch
1407
1408 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * text.C (readParToken): remove the static LyXFont variable and
1411         pass it as a parameter instead. This fixes a nasty bug where an
1412         inset will be inserted with a bad font in some situations
1413         (readParagraph): adapt
1414
1415         * text2.C (setCounter): reduce number of calls to pars_[pit]
1416
1417         * text.C (singleWidth): add an assert, fix a test
1418
1419         * rowpainter.C (paintText): reduce number of calls to singleWidth
1420
1421         * paragraph.C (isHfill):
1422         (isNewline): ws only
1423
1424 2004-08-14  André Pönitz  <poenitz@gmx.net>
1425
1426         * text.C:
1427         * text2.C:
1428         * rowpainter.C:
1429         * lyxtext.h (several functions): use a Paragraph & argument
1430         instead of par_type
1431
1432 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1433
1434         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1435
1436         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1437
1438         * text.C (singleWidth): remove useless test
1439
1440 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * tabular.h: remove bogus comments
1443
1444         * tabular.C (getDescentOfRow):
1445         (isPartOfMultiColumn): add assertions
1446
1447         * lyxlength.C (inPixels): remove #warning
1448
1449 2004-08-14  André Pönitz  <poenitz@gmx.net>
1450
1451         * paragraph.h: inline getChar()
1452
1453         * BufferView.h: remove unused declarations
1454
1455 2004-08-14  José Matos  <jamatos@lyx.org>
1456
1457         * Buffer.[Ch] (readDocument): new name for old readBody.
1458         * Buffer.C: new file format, new keywords: \begin_document,
1459         \begin_header, \begin_body, \end_body.
1460
1461         * bufferparams.C (readToken): replace all calls to lex.nextToken
1462         by lex.next(). Do the same to eatLine except where really needed.
1463
1464         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1465         line when writing to the lyx file.
1466
1467         * output_plaintext.C (asciiParagraph): fix Bibliography style
1468         handling.
1469
1470         * text.C (read): fix end of file handling.
1471
1472 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1473
1474         * MenuBackend.C (Menu::operator[]): new method to access
1475         individual menu items
1476         (Menu::hasFunc): new method. search for an item that corresponds
1477         to a given func
1478         (MenuBackend::specialMenu): new method
1479         (MenuBackend::expand): if a special menu has been set, skip
1480         entries whose func() appears in this menu
1481
1482 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1483
1484         * text3.C: use Debug::DEBUG a bit more
1485
1486         * text.C (leftMargin): try to simplify a tiny bit change var x to
1487         l_margin. Dont output the wide margins always.
1488         (rightMargin): no margin in inner texts
1489
1490         * rowpainter.h (nestMargin): new func
1491         (changebarMargin): new func
1492         (rightMargin): new func
1493
1494         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1495         now functions.
1496         (paintLast): ditto
1497
1498         * factory.C (createInset): modify setDrawFrame
1499
1500         * cursor.C: use Debug::DEBUG a bit more
1501
1502 2004-08-14  André Pönitz  <poenitz@gmx.net>
1503
1504         * coordcache.[Ch]:
1505         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1506         cache for all insets in (at least partially) visible (top-level)
1507         paragraphs.
1508
1509         * BufferView_pimpl.C: reset external coord cache before every update.
1510         This means the coord cache only contains valid entries.
1511
1512 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1513
1514         bug 1096
1515         * BufferView_pimpl.C (getInsetByCode): move function out of class
1516         and change in to a template in anon namespace. Also fix to do what
1517         suits us better.
1518
1519 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1520
1521         bug 1305
1522         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1523         of char
1524         (breakParagraph): rename par to par_offset and use a local
1525         reference. Add code to keep the language over a rebreak.
1526         (breakParagraphConservative): rename par to par_offset, use a
1527         local reference
1528         (mergeParagraph): ditto
1529         (outerHook): ditto
1530         (isFirstInSequence): ditto
1531         (outerFont): rename pit to par_offset
1532
1533         * paragraph.C: ws change
1534         * paragraph.h: ditto
1535         * text3.C: ditto
1536         * text.C: ditto
1537
1538 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1539
1540         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1541         treatment for ']'
1542
1543         * paragraph.C (simpleTeXOnePar): when we have a \item with
1544         optional argument, enclose the argument with curly brackets (in
1545         case it contains a closing square bracket)
1546
1547         * text2.C (editXY):
1548         * text2.C (editXY):
1549         * text3.C (checkInsetHit): constify
1550
1551 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1554         documents (bug 1629)
1555
1556 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         Fix toggling of collapsable insets with the mouse (bug 1558)
1559
1560         * lyxfunc.C (dispatch): adapt to LCursor changes
1561
1562         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1563         make sure that dispatch is not invoked twice
1564
1565         * cursor.C (needsUpdate): new method
1566         (dispatch): return void
1567         (result): new method, to access the DispatchResult of the cursor.
1568
1569 2004-08-13  José Matos  <jamatos@lyx.org>
1570
1571         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1572
1573 2004-08-13  André Pönitz  <poenitz@gmx.net>
1574
1575         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1576
1577         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1578           multiple cells
1579
1580 2004-08-12  André Pönitz  <poenitz@gmx.net>
1581
1582         * text3.C: take out the 'cursor right' form insertInset and only
1583         do it in those places when it is really needed. Fixes crash on
1584         C-m...
1585
1586 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1589
1590         * BufferView_pimpl.C (setBuffer): initialize the current font of
1591         the underlying LyXText
1592
1593 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1594
1595         * kbsequence.C (print): use UI native formatting for menu
1596         shortcuts
1597
1598         * text.C (insertChar): call Paragraph::insertChar with a font
1599         argument (cosmetic)
1600
1601         * paragraph.C (insertInset, insertChar): the version that takes a
1602         LyXFont argument is now a wrapper around the other one (the
1603         opposite used to be true).
1604
1605         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1606         argument. Font setting is done in Paragraph now.
1607
1608 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * outputparams.h: add new members intitle and lang.
1611
1612         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1613         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1614
1615 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1616
1617         * text3.C (dispatch): remove special handling of button 4 and 5,
1618         it is now taken care of in the frontend code.
1619
1620 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1621
1622         * Spacing.h: add <string> (STLPort compile fix)
1623
1624 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1625
1626         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1627
1628 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1629
1630         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1631         to bool.
1632
1633         * converter.C (showMessage): inherit from unary_function, make
1634         operator() const.
1635
1636         * buffer.C (writeFile): initialize retval
1637
1638         * InsetList.h: rename private variable list to list_
1639         * InsetList.[Ch]: adjust accordingly.
1640
1641 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1642
1643         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1644         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1645         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1646         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1647         * ParagraphParameters.C, LaTeXFeatures.C: replace
1648         "support/std_sstream.h" with <sstream>
1649
1650 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1651
1652         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1653         * lyxsocket.C (LyXServerSocket): ditto
1654         (serverCallback): ditto
1655
1656 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1657
1658         * LaTeXFeatures.C: check release date when loading jurabib.
1659
1660 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1661
1662         * lyxserver.C (startPipe): call register_socket_callback
1663         (endPipe): call unregister_socket_callback
1664
1665 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1666
1667         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1668         (LyXServerSocket): register the callback
1669         (LyXServerSocket): unregister the callback
1670         (fd): delete function
1671         (serverCallback): improve error checking and setup the callbacks.
1672         (dataCallback): change arg to fd.
1673         (writeln): new func (copied fro the client socket) used for server
1674         write to client.
1675         (LyXDataSocket): simplify
1676         (~LyXDataSocket): close ann unregiser callback
1677         (server): delete function
1678         (fd): delete function
1679         (readln): small changes, improve some std::string usage
1680         (writeln): constify a bit
1681
1682 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1685         Qt frontend
1686
1687 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1688
1689         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1690         after it has been populated
1691
1692 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1693
1694         * text2.C (insertInset): move cursor when inserting inset.
1695
1696 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1697
1698         * kbmap.C (findbindings): a couple of new methods. returns a
1699         container of kb_sequence objects. The real work is done by the
1700         private recursive version
1701         (printbindings): uses findbindings to print out a bracketed list
1702         of bindings (renamed from findbinding).
1703
1704         * MenuBackend.C (binding): use kb_keymap::findbindings
1705
1706         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1707
1708 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1709
1710         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1711
1712 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1713
1714         * paragraph.C (isWord): return true on insets that report
1715         isLetter().
1716
1717         * text.C (getWord): use Paragraph::isWord to decide what is in a
1718         word and what is not; fix bug 1609.
1719
1720 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1721
1722         * tex-strings.C: add "none" to string_paperpackages[], fixes
1723         off-by-one-error in the paperpackage selection.
1724
1725         * lyxlex.[Ch]:
1726         * tex-strings.[Ch]: char const * string[n]
1727         -> char const * const string[]
1728
1729 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1732         command, return early.
1733
1734 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * debug.h: add DEBUG to enum and fix size of ANY.
1737
1738         * debug.C: add support for Debug::DEBUG
1739         (showTags): cast errorTags.level to unsigned int
1740
1741         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1742         (redoCurrentBuffer): ditto
1743         (updateScrollbar): ditto
1744         * cursor.C (dispatch): ditto
1745         * text2.C (setLayout): ditto
1746         (setFont): ditto
1747         (updateCounters): ditto
1748         (editXY): ditto
1749         (deleteEmptyParagraphMechanism): ditto
1750
1751 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1752
1753         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1754         annotations to cleanup the Makefile slightly.
1755
1756 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * lyxrc.C: do not set user_email to a default value but use empty
1759         instead. The entry used to be translated, which does not work
1760         since at the point where lyxrc is constructed there is no
1761         translation service available
1762
1763         * messages.C (getLocaleDir): remove and use directly
1764         lyx_localedir() instead
1765
1766 2004-06-02  Angus Leeming  <leeming@lyx.org>
1767
1768         Fix crash caused by dereferencing null pointer 'exportdata' in
1769         OutputParams by creating a new ExportData variable on the heap,
1770         storing it in a boost::shared_ptr.
1771         The crash was triggered when generating an Instant Preview
1772         of an external inset.
1773
1774         * Makefile.am: add outputparams.C
1775
1776         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1777         (c-tor): allocate memory to it.
1778
1779         * exporter.C (c-tor): associated changes.
1780
1781 2004-06-01  Angus Leeming  <leeming@lyx.org>
1782
1783         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1784         contains data before calling isInset(0). (Bug 1513.)
1785
1786 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1787
1788         * exporter.C (checkOverwrite): new method
1789         * exporter.C (copyFile): new method
1790         * exporter.C (Export): copy referenced files to the document dir
1791         * exporter.[Ch]: new class ExportedFile
1792         * exporter.[Ch]: new class ExportData. Contains currently the
1793         names of referenced external files
1794         * outputparams.h: add exportdata member.
1795
1796 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1797
1798         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1799         version.C-tmp
1800
1801 2004-05-19  Angus Leeming  <leeming@lyx.org>
1802
1803         * LaTeXFeatures.C:
1804         * ToolbarBackend.C:
1805         * bufferparams.C:
1806         * lyxfunc.C: small changes due to the introduction of namespace
1807         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1808
1809 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1810
1811         * text3.C (dispatch): supress update when only moving the cursor
1812         * cursor.C (selHandle): remove commented code
1813
1814 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1815
1816         * paragraph.C (startTeXParParams): correct column count
1817         * CutAndPaste.C (pasteSelection): remove const_cast
1818         * output_docbook.C (docbookParagraphs): remove const_cast
1819         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1820         const_cast and return ParagraphList::const_iterator
1821         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1822         * output_plaintext.C (writeFileAscii): remove const_cast
1823         * paragraph.[Ch] (simpleTeXOnePar): make const
1824         * paragraph_funcs.C (outerPar): use const iterators
1825         * paragraph_pimpl.C (validate): use const iterators
1826         * text.C (setHeightOfRow): use const iterators
1827
1828 2004-05-17  Angus Leeming  <leeming@lyx.org>
1829
1830         * lfuns.h:
1831         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1832
1833         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1834         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1835         if the citation engine has changed.
1836
1837 2004-05-14  José Matos  <jamatos@lyx.org>
1838
1839         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1840         if the textclass does not provide it. Have it different for sgml and
1841         xml.
1842         support the language of document.
1843         * output_docbook.C (docbookParagraphs):
1844         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1845         first anchor as the id of the paragraph, remove special case code.
1846         * sgml.C (escapeChar): escape only < & >.
1847
1848 2004-05-14  Angus Leeming  <leeming@lyx.org>
1849
1850         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1851         dependencies on src/frontends/controllers/biblio.h. Define a
1852         CiteEngine_enum wrapper class to enable the enum to be forward
1853         declared.
1854
1855 2004-05-12  Angus Leeming  <leeming@lyx.org>
1856
1857         * buffer.C: up LYX_FORMAT to 234.
1858         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1859         use_numerical_citations with a single biblio::CiteEngine cite_engine
1860         variable.
1861         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1862
1863 2004-05-13  José Matos  <jamatos@lyx.org>
1864
1865         * converter.h:
1866         * converter.C (Converter, readFlags): add xml member.
1867         * outputparams.h: add XML flavor.
1868         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1869
1870 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * lyxfunc.C (dispatch):
1873         (getStatus): fix handling of LFUN_SEQUENCE
1874
1875 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1876
1877         * debug.C (showLevel): do not forget the end-of-line marker
1878
1879 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1880
1881         * kbmap.C (read): do not stop parsing a bind file when an error
1882         occurs (bug 1575)
1883
1884 2004-04-29  Angus Leeming  <leeming@lyx.org>
1885
1886         * cursor.C:
1887         * factory.C:
1888         * pariterator.C:
1889         * text2.C: wrap a bunch of #warning statements
1890         inside #ifdef WITH_WARNINGS blocks.
1891
1892 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1893
1894         * buffer.C: increment format to 233.
1895
1896 2004-04-28  Angus Leeming  <leeming@lyx.org>
1897
1898         * BufferView_pimpl.C:
1899         * lyxfunc.C:
1900         * text3.C:
1901         s/updateToolbar()/updateToolbars()/
1902         s/Toolbar.h/Toolbars.h/
1903
1904 2004-04-28  Angus Leeming  <leeming@lyx.org>
1905
1906         * BufferView.[Ch] (c-tor):
1907         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1908         No longer passes these data to the WorkArea generator.
1909
1910 2004-04-28  Angus Leeming  <leeming@lyx.org>
1911
1912         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1913
1914 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1915
1916         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1917
1918 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1919
1920         * output_latex.C (TeXEnvironment): make sure that there is a line
1921         break before \end{foo} for the last paragraph of a document
1922         (TeXOnePar): if the paragraph is at the end of the document (or
1923         inset) and the language has to be reset, then make sure that the
1924         line break is _before_ the language command, not after (fixes bug
1925         1225); also make sure that the language reset command is the first
1926         thing after the paragraph (to ensure proper nesting of
1927         environments and thus fix bug 1404)
1928
1929 2004-04-21  John Levon  <levon@movementarian.org>
1930
1931         * ToolbarBackend.h:
1932         * ToolbarBackend.C: make "name" be a programmatic name
1933         and a gui_name field.
1934
1935         * lyxfunc.C: display the minibuffer on M-x
1936
1937 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1940         (bug 1526)
1941
1942 2004-04-19  Angus Leeming  <leeming@lyx.org>
1943
1944         * BufferView_pimpl.C (setBuffer): changed preview interface.
1945
1946         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1947         possible values.
1948
1949 2004-04-19  John Levon  <levon@movementarian.org>
1950
1951         * BufferView_pimpl.C:
1952         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1953
1954 2004-04-05  Angus Leeming  <leeming@lyx.org>
1955
1956         * text.C (redoParagraphs): add call to updateCounters(), thereby
1957         fixing the missing "Figure #:" label from the caption of a
1958         figure float.
1959
1960 2004-04-13  Angus Leeming  <leeming@lyx.org>
1961
1962         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1963         cursor is clicked out of an inset.
1964
1965 2004-04-13  Angus Leeming  <leeming@lyx.org>
1966
1967         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1968         than an InsetOld one.
1969
1970 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * format.[Ch]: add editor to Format
1973         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1974         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1975
1976 2004-04-08  André Pönitz  <poenitz@gmx.net>
1977
1978         * metricsinfo.h: remove PainterInfo::width member
1979
1980 2004-04-08  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1983         "\providecommand" rather than "\newcommand", thereby preventing
1984         clashes with packages that define "\boldsymbol" themselves.
1985         Eg, beamer.
1986
1987 2004-04-08  Angus Leeming  <leeming@lyx.org>
1988
1989         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1990         thereby squashing an unnecessary warning.
1991
1992 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1993
1994         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1995         setBuffer()
1996
1997 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * BufferView.C (setCursor): call redoParagraph (some insets could
2000         have been opened)
2001         (putSelectionAt): remove the 'double update' trick
2002
2003         * BufferView_pimpl.C (fitCursor): call refreshPar
2004         (workAreaDispatch): remove an uneeded update call
2005         (dispatch): remove some manual update calls
2006
2007         * cursor.[Ch]: remove cached_y_, updatePos
2008         (selHandle): set noUpdate when appropriate
2009
2010         * lyxfunc.C (dispatch): track if we need an update
2011
2012         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2013
2014         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2015         (paintSelection): cheap optimization, do not call cursorX when not
2016         needed
2017         (paintPars): change signature
2018         (refreshPar): add
2019         (paintText): adjust
2020         (paintTextInset): adjust
2021
2022         * text.C: adjust
2023
2024 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2025
2026         * lengthcommon.C: compilation fix: remove explicit array size from
2027         unit_name[] and friends
2028
2029 2004-04-05  Angus Leeming  <leeming@lyx.org>
2030
2031         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2032
2033         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2034         present only for the preferences dialog.
2035         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2036
2037 2004-04-05  Angus Leeming  <leeming@lyx.org>
2038
2039         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2040         to enable the frontends to export changes to lyxrc correctly.
2041
2042         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2043
2044 2004-04-07  André Pönitz  <poenitz@gmx.net>
2045
2046         * cursor.[Ch] (selClear, adjust): remove math
2047
2048         * cursor_slice.C: more agressive assert
2049
2050         * lyxfunc.C:
2051         * BufferView_pimpl.C: rework mouse event dispatch
2052
2053         * dociterator.C:
2054         * paragraph.C:
2055         * text2.C:
2056         * text3.C: adjust
2057
2058 2004-04-05  André Pönitz  <poenitz@gmx.net>
2059
2060         * cursor.[Ch] (valign, halign...): remove unneeded functions
2061
2062 2004-04-05  Angus Leeming  <leeming@lyx.org>
2063
2064         * lyxlength.[Ch] (unit_name et al.): const-correct.
2065
2066 2004-04-05  Angus Leeming  <leeming@lyx.org>
2067
2068         * BufferView_pimpl.C:
2069         * buffer.C:
2070         * counters.C:
2071         * cursor.C:
2072         * lyxfunc.C
2073         * paragraph.C:
2074         * pariterator.C:
2075         * text.C:
2076         * text2.C:
2077         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2078
2079 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2080
2081         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2082
2083 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2086         * BufferView_pimpl.[Ch] (getStatus)
2087         * BufferView.[Ch] (getStatus): add
2088         * lyxfunc.C (getStatus): move lfuns handled in
2089         BufferView::dispatch to te function above
2090         * Cursor.C (setSelection): set selection() = true
2091
2092 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2095
2096 2004-03-31  Angus Leeming  <leeming@lyx.org>
2097
2098         * lyxfunc.C (dispatch): Fall through to the generic
2099         Dialogs::show("preamble").
2100
2101 2004-03-31  Angus Leeming  <leeming@lyx.org>
2102
2103         * lyxfunc.C (dispatch): Fall through to the generic
2104         Dialogs::show("spellchecker").
2105
2106 2004-03-31  Angus Leeming  <leeming@lyx.org>
2107
2108         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2109         preferences dialog.
2110
2111 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * BufferView.C
2114         * cursor.[Ch]
2115         * dociterator.[Ch]:
2116         * insetiterator.[Ch]:
2117         * lyxfind.C:
2118         * lyxfunc.C:
2119         * pariterator.[Ch]:
2120         * text2.C:
2121         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2122
2123 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2126         insets where we are putting the cursor.
2127
2128 2004-03-31  Angus Leeming  <leeming@lyx.org>
2129
2130         * lfuns.h:
2131         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2132
2133         * lyxrc.[Ch] (read, write): overloaded member functions taking
2134         a std::[io]stream arguments.
2135
2136         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2137
2138 2004-03-31  Angus Leeming  <leeming@lyx.org>
2139
2140         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2141         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2142
2143         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2144         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2145
2146 2004-03-31  Angus Leeming  <leeming@lyx.org>
2147
2148         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2149         the LFUN_ALL_INSETS_TOGGLE code.
2150
2151 2004-03-30  Angus Leeming  <leeming@lyx.org>
2152
2153         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2154         has died. Fall through to the generic Dialogs::show("document").
2155
2156 2004-03-30  Angus Leeming  <leeming@lyx.org>
2157
2158         * lfuns.h:
2159         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2160         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2161
2162         * lyxfunc.C (getStatus, dispatch): define the actions for these
2163         lfuns. Little more than a cut and pste job from ControlDocument.C
2164
2165         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2166
2167 2004-03-30  Angus Leeming  <leeming@lyx.org>
2168
2169         * lfuns.h:
2170         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2171         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2172
2173         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2174         open/closed state of ollapsable insets. Usage:
2175
2176         all-inset-toggle <state> <name>, where
2177         <state> == "open" || "closed" || "toggle" and
2178         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2179
2180         * lyxtext.h, text2.C (toggleInset): removed.
2181
2182         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2183         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2184         now passes LFUN_INSET_TOGGLE to the found inset.
2185
2186         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2187         is now invoked as "all-insets-toggle toggle branch".
2188
2189 2004-03-30  Angus Leeming  <leeming@lyx.org>
2190
2191         * dociterator.C:
2192         * insetiterator.C:
2193         * pariterator.[Ch]: added/corrected header blurb.
2194
2195 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2196
2197         * dociterator.[Ch]: add an inset_ member
2198         (backwardPos): implemented
2199         (backwardPos, forwardPos): use inset_ when the stack is empty.
2200         (doc_iterator_begin, doc_iterator_end): implemented
2201         * pariterator.[Ch]: adjust, add begin, end
2202         * insetiterator.[Ch]: adjust, add begin, end
2203         * cursor.C:
2204         * document.C:
2205         * BufferView.C:
2206         * BufferView_pimpl.C:
2207         * CutAndPaste.C: adjust
2208
2209 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2210
2211         * buffer.C: increment file format to 232.
2212         * LaTeXFeatures.C: add bibtopic package.
2213         * bufferparams.[Ch]: param \use_bibtopic.
2214
2215         * lyxrc.[Ch]: add lyxrc bibtex_command
2216         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2217
2218         * buffer.C: increment file format to 231.
2219
2220 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2221
2222         * dociterator.C: implement forwardPar
2223         * iterators.[Ch]: remove, replaced by
2224         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2225         * BufferView.C:
2226         * BufferView_pimpl.C:
2227         * CutAndPaste.C:
2228         * buffer.C:
2229         * bufferview_funcs.C:
2230         * cursor.C:
2231         * lyxfind.C
2232         * lyxfunc.C
2233         * paragraph_funcs.C
2234         * toc.C:
2235         * Makefile.am: adjust
2236
2237 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * CutAndPaste.C (pasteSelection): fix 2 crashes
2240         (eraseSelection): fix a crash
2241         * paragraph_funcs.C: remove a warning
2242
2243 2004-03-28  Angus Leeming  <leeming@lyx.org>
2244
2245         * lfuns.h:
2246         * LyXAction.C (init): new LFUN_PRINT.
2247
2248         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2249
2250 2004-03-27  Angus Leeming  <leeming@lyx.org>
2251
2252         * lfuns.h:
2253         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2254
2255         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2256
2257 2004-03-27  Angus Leeming  <leeming@lyx.org>
2258
2259         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2260         insetlist always contains non-null pointers to insets.
2261
2262 2004-03-26  Angus Leeming  <leeming@lyx.org>
2263
2264         * src/BufferView_pimpl.C:
2265         * src/CutAndPaste.C:
2266         * src/buffer.C:
2267         * src/iterators.C:
2268         * src/output_plaintext.C:
2269         * src/outputparams.h:
2270         * src/paragraph_funcs.C:
2271         * src/rowpainter.C:
2272         * src/text.C:
2273         * src/text2.C:
2274         * src/frontends/controllers/ControlErrorList.C:
2275         * src/frontends/gtk/FileDialogPrivate.C:
2276         * src/frontends/gtk/GPainter.C:
2277         * src/frontends/gtk/GToolbar.C:
2278         * src/frontends/qt2/QRef.C:
2279         * src/mathed/math_scriptinset.C: squash compiler warnings.
2280
2281 2004-03-26  Angus Leeming  <leeming@lyx.org>
2282
2283         * ispell.C (LaunchIspell::start):
2284         * lyx_cb.C (AutoSaveBuffer::start):
2285         invoke run(DontWait) rather than runNonBlocking().
2286
2287 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2290
2291 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * kbsequence.C (print): adjust
2294
2295         * kbmap.C (printKeySym): rename and change signature
2296         (printKey): use LyXKeySym::print()
2297
2298 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2299
2300         * undo.C: add using std::advance to compile for stlport
2301
2302 2004-03-24  Angus Leeming  <leeming@lyx.org>
2303
2304         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2305         it leads to a crash when no buffer is present.
2306
2307 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2308             Martin Vermeer  <martin.vermeer@hut.fi>
2309
2310         * lyxfunc.C (dispatch):
2311         * bufferparams.C (readToken): use the new LColor::setColor
2312
2313         * LColor.[Ch] (setColor): new version that takes two strings as
2314         argument and creates a new color entry if necessary
2315
2316 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2317
2318         * buffer.C (makeLaTeXFile): if the main latex file that is
2319         processed is usually a subdocument of some master, then pretend
2320         for a while that it is actually the master
2321
2322 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2323
2324         * buffer.C (getLabelList):
2325         (getBibkeyList): use getMasterBuffer()
2326         (getMasterBuffer): new method. Returns the main document in the
2327         case where one is using included documents.
2328
2329 2004-03-25  André Pönitz  <poenitz@gmx.net>
2330
2331         * Makefile.am:
2332         * iterators.[Ch]:
2333         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2334
2335         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2336
2337         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2338         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2339
2340         * ParameterStruct.h: merge with ParagraphParameters
2341
2342         * lyxtext.h: remove LyXText::parOffset() and getPar()
2343
2344         * text3.C: Remove all 'manual' update calls. We do now one per user
2345         interaction which is completely sufficient.
2346
2347         * Bidi.C:
2348         * BufferView.[Ch]:
2349         * BufferView_pimpl.C:
2350         * FontIterator.[Ch]:
2351         * MenuBackend.C:
2352         * ParagraphParameters.[Ch]:
2353         * buffer.C:
2354         * buffer.h:
2355         * bufferlist.C:
2356         * cursor.[Ch]:
2357         * cursor_slice.[Ch]:
2358         * dociterator.[Ch]:
2359         * errorlist.[Ch]:
2360         * factory.C:
2361         * lfuns.h:
2362         * lyxfind.C:
2363         * lyxfunc.C:
2364         * output_docbook.[Ch]:
2365         * output_latex.[Ch]:
2366         * output_linuxdoc.[Ch]:
2367         * output_plaintext.[Ch]:
2368         * paragraph.[Ch]:
2369         * paragraph_funcs.[Ch]:
2370         * paragraph_pimpl.[Ch]:
2371         * rowpainter.C:
2372         * tabular.[Ch]:
2373         * text.C:
2374         * text2.C:
2375         * toc.C:
2376         * undo.[Ch]: adjust
2377
2378         * frontends/controllers/ControlDocument.C:
2379         * frontends/controllers/ControlErrorList.C:
2380         * frontends/controllers/ControlSpellchecker.C:
2381         * insets/inset.C:
2382         * insets/inset.h:
2383         * insets/insetbase.h:
2384         * insets/insetbibitem.C:
2385         * insets/insetbox.C:
2386         * insets/insetbranch.C:
2387         * insets/insetcaption.C:
2388         * insets/insetcharstyle.C:
2389         * insets/insetcharstyle.h:
2390         * insets/insetcollapsable.C:
2391         * insets/insetcollapsable.h:
2392         * insets/insetert.C:
2393         * insets/insetfloat.C:
2394         * insets/insetfoot.C:
2395         * insets/insetmarginal.C:
2396         * insets/insetnote.C:
2397         * insets/insetoptarg.C:
2398         * insets/insettabular.C:
2399         * insets/insettext.C:
2400         * insets/insettext.h:
2401         * insets/insetwrap.C:
2402         * mathed/math_mboxinset.C:
2403         * mathed/math_nestinset.C:
2404         * mathed/math_scriptinset.C:
2405         * mathed/math_scriptinset.h:
2406         * support/types.h:
2407
2408 2004-03-24  Angus Leeming  <leeming@lyx.org>
2409
2410         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2411         deal with any child processes that have finished but are waiting to
2412         communicate this fact to the rest of LyX.
2413
2414 2004-03-24  Angus Leeming  <leeming@lyx.org>
2415
2416         64-bit compile fixes.
2417
2418         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2419         (c-tor): pass lyx::pos_types rather than ints.
2420
2421         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2422         lyx::pos_type.
2423
2424         * text.C (Delete): compile fix.
2425         (getPar): ensure that function declaration is the same as that in
2426         the header file.
2427
2428 2004-03-23  Angus Leeming  <leeming@lyx.org>
2429
2430         * ispell.C (LaunchIspell):
2431         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2432         a boost::shred_ptr rather than a std::auto_ptr.
2433
2434 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2437         handle LFUN_FILE_INSERT_*
2438
2439         * lyxrc.C (setDefaults, getDescription, output, read):
2440         * lyxrc.h: remove ps_command
2441
2442 2004-03-22  Angus Leeming  <leeming@lyx.org>
2443
2444         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2445         Ensure that error_handler is processed once only and that all data
2446         is saved before attempting to output any warning messages.
2447
2448         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2449
2450 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2451
2452         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2453
2454 2004-03-19  André Pönitz  <poenitz@gmx.net>
2455
2456         * cursor.[Ch] (reset): take main text inset as argument
2457
2458         * BufferView: adjust
2459         * BufferView_pimpl.C: adjust
2460
2461         * paragraph.[Ch]: fix completely broken operator=()
2462
2463 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * LColor.C (getFromLyXName): make sure that the color name is used
2466         as lowercase.
2467
2468 2004-03-17  Angus Leeming  <leeming@lyx.org>
2469
2470         * lfuns.h:
2471         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2472
2473         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2474         dialog and to kill a forked process.
2475
2476 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * text2.C (setCursorFromCoordinates): fix font problem
2479
2480 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2483         bogus "rebuild cursor" code
2484
2485 2004-03-11  André Pönitz  <poenitz@gmx.net>
2486
2487         * buffer.[Ch]: use InsetText instead of LyXText as container for
2488         the main lyx text.
2489
2490         * dociterator.[Ch]: drop the BufferView * member which is not needed
2491         anymore after the change to buffer.C
2492
2493         * paragraph_funcs.C:
2494         * text.C:
2495         * text2.C:
2496         * BufferView.[Ch]:
2497         * BufferView_pimpl.[Ch]:
2498         * cursor.[Ch]:
2499         * cursor_slice.[Ch]: adjust
2500
2501         * text3.C: fix bug in mathDispatch
2502
2503 2004-03-08  André Pönitz  <poenitz@gmx.net>
2504
2505         * undo.[Ch]: use 'StableDocumentIterator' as base for
2506         the Undo struct.
2507
2508 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2509
2510         * LaTeXFeatures.C:
2511         * bufferparams.[Ch]: add jurabib support and param.
2512
2513         * LaTeX.C: add FIXME/comment.
2514
2515 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2516
2517         * buffer.C: increment file format to 230.
2518
2519 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * cursor.C (dispatch): avoid infinite loops
2522
2523 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2524
2525         * rowpainter.C (paintSelection): fix x coordinates
2526
2527 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * text.C (rowBreakPoint): fix breaking before displayed insets
2530
2531 2004-03-01  André Pönitz  <poenitz@gmx.net>
2532
2533         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2534
2535         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2536
2537         * Makefile.am:
2538         * BufferView.C:
2539         * BufferView_pimpl.C:
2540         * buffer.C:
2541         * lyxfind.C:
2542         * lyxfunc.C:
2543         * text.C:
2544         * text2.C:
2545         * text3.C: adjust
2546
2547 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * lyxtext.h:
2550         * text.C:
2551         * text2.C:
2552         * rowpainter.C:
2553         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2554         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2555
2556 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * Bidi.[Ch] (computeTables): const correctness
2559         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2560         fill_hfill, fill_label_hfill and x from Row
2561         * lyxtext.h: prepareToPrint returns a RowMetrics
2562         * rowPainter.C: adjust
2563         * text.C (prepareToPrint): use width, not textWidth. adjust
2564         (redoParagraphInternal, cursorX): adjust
2565         * text2.C (getColumnNearX): adjust
2566         (init): put a default value to the top LyXText::width
2567
2568 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2571
2572 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2573
2574         * lyxtext.h: add FontIterator class
2575
2576         * text.C (FontIterator, operator*, operator->, operator++): add
2577         (rowBreakPoint, setRowWidth): adjust (fixing a
2578         rebreaking bug)
2579
2580 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2581
2582         * BufferView_pimpl.C (workAreaDispatch): allow also
2583         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2584
2585 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * text.C (rowBreakPoint): fix a bug showing with very large insets
2588
2589 2004-02-25  André Pönitz  <poenitz@gmx.net>
2590
2591         * text3.C:
2592         * cursor.[Ch]: move some mathed specific code to mathed
2593
2594 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2595
2596         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2597         use_tempdir in preferences
2598         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2599         tempfile creation
2600         * lyx_main.C: ensure that tempdir is valid
2601         * lyxlex.h: correct typo
2602         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2603         * paragraph.[Ch] (isMultiLingual): make const
2604         * cursor.[Ch] (openable): make const
2605
2606 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2607
2608         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2609
2610 2004-02-20  André Pönitz  <poenitz@gmx.net>
2611
2612         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2613
2614         * cursor.[Ch]: prepare for localized getStatus()
2615
2616         * lyxtext.h:
2617         * tabular.C:
2618         * text.C:
2619         * text2.C:
2620         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2621
2622 2004-02-20  André Pönitz  <poenitz@gmx.net>
2623
2624         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2625
2626 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * text2.C (setCursorFromCoordinates): switch to absolute coords
2629         (cursorUp): adjust
2630         (cursorDown): adjust
2631         * text3.C (dispatch): adjust
2632
2633 2004-02-16  André Pönitz  <poenitz@gmx.net>
2634
2635         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2636           insets/ChangeLog)
2637
2638         * cursor_slice.[Ch]: remove unneeded acessor function
2639
2640         * lyxtext.h: rename rtl() to isRTL()
2641
2642         * rowpainter.C:
2643         * tabular.C:
2644         * text.C:
2645         * text2.C:
2646         * text3.C: adjust
2647
2648 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2649
2650         * rowpainter.C (paintSelection): coord fix
2651
2652 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2653
2654         * Spacing.C: compile fix
2655
2656 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2657
2658         * cursor.C (dispatch): restore current_ before returning
2659
2660 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * text2.C (cursorUp, cursorDown): fix coords
2663         (moveUp): fix crash
2664
2665 2004-02-12  André Pönitz  <poenitz@gmx.net>
2666
2667         * lyxtext.h:
2668         * text.C:
2669         * text2.C:
2670         * text3.C: add LCursor & parameter to most cursor movement functions
2671           remove usage of LyXText::cursorRow() and cursorPar()
2672
2673         * cursor.[Ch]: add textRow() needed members
2674
2675         * BufferView.C:
2676         * BufferView_pimpl.C:
2677         * paragraph.[Ch]:
2678         * BufferView.C:
2679         * BufferView_pimpl.C: adjust
2680
2681 2004-02-11  André Pönitz  <poenitz@gmx.net>
2682
2683         * lyxfunc.C:
2684         * BufferView.[Ch]:
2685         * BufferView_pimpl.C: shift undo/redo handling
2686
2687         * cursor.[Ch]: fix mathed crash
2688
2689         * lyxfind.C:
2690         * lyxtext.h: move selectionAsText to LCursor
2691
2692         * output_latex.C:
2693         * paragraph.C:
2694         * text.C:
2695         * text2.C:
2696         * text3.C: adjust
2697
2698         * rowpainter.C: fix excessive drawing
2699
2700 2004-02-06  André Pönitz  <poenitz@gmx.net>
2701
2702         * BufferView.[Ch]:
2703         * BufferView_pimpl.[Ch]:
2704         * text3.C: move some text specific LFUN handling
2705
2706 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * text3.C (checkInsetHit): adjust coords
2709         * text2.C (getColumnNearX): adjust coords
2710         (edit): adjust coords
2711         * text.C (getRowNearY): add two asserts
2712
2713 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2714
2715         * converter.C:
2716         * format.C: add using std::distance to compile on gcc 2.95/stlport
2717
2718 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2719
2720         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2721
2722 2004-02-04  André Pönitz  <poenitz@gmx.net>
2723
2724         * BufferView.[Ch] (insertInset):
2725         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2726
2727         * text2.C:
2728         * text3.C: adjust
2729
2730 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2731
2732         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2733         on the default clause of the switch
2734         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2735         wasn't catched by LCursor::dispatch
2736
2737 2004-02-03  André Pönitz  <poenitz@gmx.net>
2738
2739         * BufferView.C:
2740         * cursor.[Ch]: some additional asserts
2741
2742         * undo.[Ch]: remove LyXText dependency in interface
2743
2744         * lyxfunc.C: adjust
2745
2746         * lyxtext.h (firstPar, lastPar): remove dead functions
2747
2748         * text.C:
2749         * text2.C:
2750         * text3.C:
2751         * paragraph.[Ch]: adjust
2752
2753 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * lyxfind.C (find): fix argument order in call to ::find
2756
2757 2004-02-02  André Pönitz  <poenitz@gmx.net>
2758
2759         * cursor.[Ch]: remove direct access to anchor
2760
2761         * text.C: remove findText() hack
2762
2763 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2764
2765         * iterators.[Ch] (lockPath): remove in favour of...
2766         * BufferView.[Ch] (setCursor): this addition
2767         * BufferView.C (putSelectionAt): adjust
2768         * undo.C (performUndoOrRedo): adjust
2769         * lyxfunc.C (dispatch): adjust
2770
2771 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2772
2773         * iterators.C (lockPath): add a missing slice
2774         * undo.C (performUndoOrRedo): remove redundant positioning code
2775
2776 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2777
2778         * vc-backend.C (scanMaster): ";" -> ';'
2779
2780 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2781
2782         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2783         std::binary_function
2784
2785         * lyxtextclass.C (compare_name): rename to...
2786         (LayoutNamesEqual): ...this
2787
2788         * lyxlex_pimpl.C (compare_tags): inherit from
2789         std::binary_function, put back into anon namespace
2790
2791         * lyxfind.C (MatchString): inherig from std::binary_function
2792         (findChange): use empty() istead of !size()
2793
2794         * format.C (FormatNamesEqual): new functor
2795         (getFormat): use it
2796         (getNumber): use it
2797         (add): use it
2798         (erase): use it
2799         (setViewer): use it
2800
2801         * converter.C (compare_Converter): rename to...
2802         (ConverterEqual): ...this, and fixup a bit.
2803         (getConverter): use it, and make function const
2804         (getNumber): use it, and make function const
2805         (add): use it
2806         (erase): use it:
2807
2808         * bufferlist.C: add using boost::bind
2809
2810         * MenuBackend.C (MenuNamesEqual): new functor
2811         (hasMenu): use it, and make function const
2812         (hasSubmenu): use nested bind to get rid of compare_memfun.
2813
2814 2004-01-30  André Pönitz  <poenitz@gmx.net>
2815
2816         * BufferView_pimpl.C:
2817         * cursor.C:
2818         * cursor.h:
2819         * cursor_slice.[Ch]:
2820         * lyxfunc.C:
2821         * lyxtext.h:
2822         * paragraph_funcs.C:
2823         * paragraph_funcs.h:
2824         * rowpainter.C:
2825         * text.C:
2826         * text2.C:
2827         * text3.C: move some of the edit(x,y) handling to the insets
2828         some coordinate changes.
2829
2830 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2831
2832         * text.C: add using statements for std::advance and std::distance
2833
2834         * paragraph.C: add using statement for std::distance
2835
2836         * lyxfind.C: add using statement for std::advance
2837
2838         * cursor.C (region): remove std:: from swap
2839         (openable): use nucleus in stead of operator->
2840
2841         * BufferView.C: add using statements for std::distance and std::swap
2842
2843 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2844
2845         * iterators.C: Remove the pimple, move the needed structures to
2846         the header file. Create accessor for the positions stack.
2847         (asPosIterator): remove function
2848
2849         * PosIterator.C (PosIterator): move constructors to top of file
2850         (PosIterator): reimplement the constructor taking a ParIterator in
2851         terms of setFrom.
2852         (setFrom): new function
2853         (operator!=): inline it
2854
2855 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2856
2857         * lyxfind.C (replaceAll): use std::advance
2858
2859         * iterators.h: inherit from std::iterator.
2860
2861         * PosIterator.C (advance, distance): remove
2862         * PosIterator.h: interit from std::iterator.
2863
2864 2004-01-26  André Pönitz  <poenitz@gmx.net>
2865
2866         * BufferView.[Ch]:
2867         * BufferView_pimpl.[Ch]:
2868         * InsetList.[Ch]:
2869         * PosIterator.[Ch]:
2870         * buffer.h:
2871         * bufferview_funcs.C:
2872         * cursor.[Ch]:
2873         * cursor_slice.h:
2874         * factory.[Ch]:
2875         * iterators.[Ch]:
2876         * lyxfind.C:
2877         * lyxfunc.C:
2878         * lyxtext.h:
2879         * output_docbook.C:
2880         * output_latex.C:
2881         * output_linuxdoc.C:
2882         * output_plaintext.C:
2883         * paragraph.[Ch]:
2884         * paragraph_funcs.[Ch]:
2885         * paragraph_pimpl.[Ch]:
2886         * rowpainter.C:
2887         * tabular.C:
2888         * tabular.h:
2889         * text.C:
2890         * text2.C:
2891         * text3.C: more IU:  dumps most of the rest of the mathcursor
2892     implementation into cursor.[Ch]; "globalize" a bit of it.
2893
2894 2004-01-25  Angus Leeming  <leeming@lyx.org>
2895
2896         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2897
2898 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2899
2900         * LaTeXFeatures.h: add nice_ and nice() const
2901         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2902
2903 2004-01-20  André Pönitz  <poenitz@gmx.net>
2904
2905         * BufferView.[Ch]:
2906         * BufferView_pimpl.C:
2907         * PosIterator.C:
2908         * bufferview_funcs.C:
2909         * cursor.[Ch]:
2910         * cursor_slice.[Ch]:
2911         * factory.C:
2912         * iterators.C:
2913         * lyx_cb.C:
2914         * lyxfind.C:
2915         * lyxfunc.C:
2916         * lyxtext.h:
2917         * rowpainter.C:
2918         * text.C:
2919         * text2.C:
2920         * text3.C:
2921         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2922           LCursor and mathcursor parts to LCursor and InsetBase.
2923
2924 2004-01-15  André Pönitz  <poenitz@gmx.net>
2925
2926         * cursor_slice.[Ch]: add a few covienience functions
2927
2928         * funcrequest.[Ch]: remove BufferView * member
2929
2930         * BufferView_pimpl.C:
2931         * cursor.C:
2932         * factory.[Ch]:
2933         * lyxfind.[Ch]:
2934         * lyxfunc.C:
2935         * lyxtext.h:
2936         * text3.C:
2937         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2938
2939 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2942         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2943
2944 2004-01-13  André Pönitz  <poenitz@gmx.net>
2945
2946         * textcursor.[Ch]:
2947         * lyxtext.h: hide cursor and selection anchor behind accessor function
2948
2949         * BufferView.C:
2950         * BufferView_pimpl.[Ch]:
2951         * PosIterator.C:
2952         * bufferview_funcs.C:
2953         * cursor.h:
2954         * lyxfind.C:
2955         * lyxfunc.C:
2956         * text.C:
2957         * text2.C:
2958         * text3.C:
2959         * undo.C: adjust
2960
2961         * cursor.h:
2962         * cursor_slice.[Ch]: some integer type changes for inset unification
2963
2964         * lyxcursor.[hC]: remove, it's CursorSlice now.
2965
2966         * Makefile.am:
2967         * BufferView_pimpl.[Ch]:
2968         * bufferview_funcs.C:
2969         * cursor_slice.C:
2970         * lyxtext.h:
2971         * text.C:
2972         * text2.C:
2973         * text3.C:
2974         * textcursor.[Ch]: adjust
2975
2976 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * text2.C (undoSpan): add and use
2979         * text.C (breakParagraph): use undoSpan (fix bug 578)
2980         * lyxtext.h: adjust
2981
2982 2004-01-08  Angus Leeming  <leeming@lyx.org>
2983
2984         * BufferView_pimpl.C (MenuInsertLyXFile):
2985         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2986         * lyxfunc.C (menuNew, open, doImport):
2987         FileFilterList change to the FileDialog open and save functions.
2988
2989 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2990
2991         * ShareContainer.h: make isEqual and isUnique adaptable
2992
2993         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2994
2995 2004-01-07  Angus Leeming  <leeming@lyx.org>
2996
2997         * LyXAction.C:
2998         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2999
3000         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3001
3002         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3003         functions replacing find, replace and replaceAll.
3004
3005         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3006         LFUN_WORDFIND(FORWARD|BACKWARD).
3007
3008 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3009
3010         * text.C (breakParagraph): remove an outdated #warning
3011
3012 2004-01-07  André Pönitz  <poenitz@gmx.net>
3013
3014         * lyxfind.C: somewhat clearer logic
3015
3016         * text.C: prevent crash in cursorX on unitialized row cache
3017
3018 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * lyxcursor.[Ch] (operator>): add
3021         * textcursor.C (selStart, selEnd): use std::min and std::max
3022
3023 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3024
3025         * Chktex.C: include boost/format.hpp
3026
3027 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3028
3029         * InsetList.C: replace functor MathcIt with adaptable functor
3030         InsetTablePosLess
3031         (insetIterator): modify accordingly
3032
3033         * BranchList.h: move the BranchNamesEqual functor here from...
3034         * BranchList.C: ... to here
3035
3036         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3037         SameName and match.
3038         (add): replace a finding loop with std::find_if.
3039
3040 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * output_docbook.C: moving LatexParam functionality into
3043         .layout files
3044
3045 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3046
3047         * buffer.C: increment format to 229.
3048
3049 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3050
3051         * LaTeXFeatures.C:
3052         * lyx_sty.[Ch]: remove minipageindent_def
3053
3054         * LyXAction.C:
3055         * factory.C:
3056         * lfuns.h:
3057         * lyxfunc.C:
3058         * text3.C: remove LFUN_INSET_MINIPAGE
3059
3060 2003-12-28  Angus Leeming  <leeming@lyx.org>
3061
3062         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3063
3064 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * text2.C (setParagraph): fix off-by-one crash
3067
3068 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3069
3070         * output_docbook.C: header stuff for AGU
3071
3072 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * text2.C (redoCursor): remove
3075         * text.C:
3076         * text3.C:
3077         * BufferView_pimpl.C: remove calls to redoCursor and
3078         setCursor(cursor.par(), cursor.pos()) all around
3079
3080 2003-12-15  Angus Leeming  <leeming@lyx.org>
3081
3082         * buffer.C: up the format to 228.
3083
3084 2003-12-15  André Pönitz  <poenitz@gmx.net>
3085
3086         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3087         slices
3088
3089         * Makefile.am:
3090
3091         * BufferView_pimpl.C:
3092         * cursor.[Ch]:
3093         * lyxcursor.[Ch]:
3094         * rowpainter.[Ch]:
3095         * lyxtext.h:
3096         * text.C:
3097         * text2.C:
3098         * text3.C: adjust
3099
3100 2003-12-15  Angus Leeming  <leeming@lyx.org>
3101
3102         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3103         than getFromGUIName to manipulate the color.
3104
3105 2003-12-14  Angus Leeming  <leeming@lyx.org>
3106
3107         * BranchList.[Ch]: minimize the API.
3108         (Branch::getBranch, getColor): now return a 'const &'.
3109         (Branch::setSelected) now returns a bool set to true if the
3110         selection status changes.
3111         (BranchList::clear, size, getColor, setColor, setSelected,
3112         allBranches, allSelected, separator): removed.
3113         (BranchList::find): new functions, returning the Branch with
3114         the given name.
3115         (BranchList::add, remove): return a bool indicating that
3116         the operation was successful.
3117
3118         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3119         new InsetBranch::isBranchSlected member function.
3120
3121         * LColor.[Ch]: mimimize the API.
3122         (fill): renamed as addColor and made private.
3123         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3124         versions of these functions taking a string arg have been removed.
3125
3126         * bufferparams.C (readToken):
3127         * lyxfunc.C (dispatch):
3128         * lyxrc.C (read): changes due to the altered BranchList and
3129         LColor APIs.
3130
3131         * factory.C (createInset, readInset): changes due to altered
3132         InsetBranch c-tor.
3133
3134 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3135
3136         * factory.C:
3137         * lyxfunc.C: remove insetminipage. "minipage-insert"
3138         now produces a frameless minipage box inset.
3139
3140 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * textcursor.[Ch] (selStart,selEnd): add new methods
3143         remove selection::start, end, use LyXCursor::operator<
3144         * lyxcursor.[Ch] (operator<): add
3145         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3146         * BufferView.[Ch] (unsetXSel): add
3147         * text2.C (clearSelection): use unsetXSel,adjust
3148         * text.C: adjust
3149         * text3.C: adjust
3150         * rowpainter.C: adjust
3151         * bufferview_funcs.C (put_selection_at): adjust
3152
3153 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * BufferView_pimpl.C: small coord. correction
3156
3157 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3160         dragging over the splash screen.
3161
3162 2003-12-11  Angus Leeming  <leeming@lyx.org>
3163
3164         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3165         as it is now handled in LyXText::dispatch.
3166
3167         * text3.C (doInsertInset): remove a level of nesting.
3168
3169 2003-12-11  Angus Leeming  <leeming@lyx.org>
3170
3171         * factory.C (createInset): changes due to the changed interface to
3172         InsetCommandMailer::string2params.
3173
3174 2003-12-10  Angus Leeming  <leeming@lyx.org>
3175
3176         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3177         'dialog-show-new-inset <inset name>'
3178
3179 2003-12-10  Angus Leeming  <leeming@lyx.org>
3180
3181         * buffer.C: up the format to 227.
3182
3183         * factory.C: the box inset is now identified simply by 'Box'.
3184
3185 2003-12-10  Angus Leeming  <leeming@lyx.org>
3186
3187         * buffer.C: up the format to 226.
3188
3189         * factory.C: the note inset is now identified simply by 'Note'.
3190
3191 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3194         when a pit is enough. Standarize a couple of loops.
3195
3196 2003-12-05  Angus Leeming  <leeming@lyx.org>
3197
3198         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3199         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3200         data to the re-worked "log" dialog.
3201
3202 2003-12-03  André Pönitz  <poenitz@gmx.net>
3203
3204         * PosIterator.C:
3205         * iterators.C:
3206         * lyxtext.h:
3207         * output_latex.C:
3208         * paragraph_funcs.C:
3209         * text.C:
3210         * text2.C: use Inset::getText instead of Inset::getParagraph
3211
3212 2003-12-03  André Pönitz  <poenitz@gmx.net>
3213
3214         * buffer.[Ch]:
3215         * lyxtext.h:
3216         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3217         InsetText::read() as LyXText::read()
3218
3219 2003-12-02  Angus Leeming  <leeming@lyx.org>
3220
3221         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3222         type. Add a comment in the implementation that the function uses
3223         the stream's bad() function rather than fail() as the std::streams
3224         would do.
3225
3226 2003-12-02  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxlex.[Ch]: make interface more similar to std::stream
3229
3230         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3231
3232 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3233
3234         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3235
3236 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3237
3238         * vspace.[Ch]: remove VSpace::NONE
3239
3240 2003-12-01  André Pönitz  <poenitz@gmx.net>
3241
3242         * buffer.[Ch]:
3243         * lyxtext.h: move ParagraphList member to LyXText
3244         rename LyXText::ownerParagraphs to LyXText::paragraph
3245
3246         * CutAndPaste.C:
3247         * bufferview_funcs.C:
3248         * iterators.[Ch]:
3249         * lyx_cb.C:
3250         * paragraph.C:
3251         * rowpainter.C:
3252         * tabular.C:
3253         * text.C:
3254         * text2.C:
3255         * text3.C: adjust
3256
3257         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3258
3259         * undo.C: fix cursor positioning
3260
3261 2003-12-01  John Levon  <levon@movementarian.org>
3262
3263         * BufferView_pimpl.C: fix a crash on exit with
3264         a buffer open
3265
3266 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3267
3268         * BranchList.C: fix setSelected() method.
3269
3270 2003-11-28  André Pönitz  <poenitz@gmx.net>
3271
3272         * ParagraphParameters.[Ch]:
3273         * ParameterStruct.h: remove space above/below from Paragraph to
3274          InsetVSpace
3275
3276         * BufferView_pimpl.C:
3277         * factory.C:
3278         * lyxfunc.C:
3279         * lyxtext.h:
3280         * output_latex.C:
3281         * paragraph.C:
3282         * paragraph_funcs.C:
3283         * rowpainter.[Ch]:
3284         * text.C:
3285         * text2.C:
3286         * text3.C: adjust
3287
3288 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * factory.C: Syntax change for CharStyles
3291
3292 2003-11-28  André Pönitz  <poenitz@gmx.net>
3293
3294         * BufferView.[Ch]:
3295         * BufferView.[Ch]:
3296         * buffer.[Ch]:
3297         * buffer.[Ch]: move LyXText member
3298
3299 2003-11-28  André Pönitz  <poenitz@gmx.net>
3300
3301         * BufferView.[Ch]: make LyXText * text a private member
3302
3303         * BufferView_pimpl.C:
3304         * cursor.C:
3305         * iterators.C:
3306         * lyx_cb.C:
3307         * lyxfind.C:
3308         * lyxtext.h:
3309         * rowpainter.[Ch]:
3310         * text.C:
3311         * text2.C:
3312         * undo.C: adjust
3313
3314         * output_plaintext.C: cleanup
3315
3316 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3317
3318         * buffer.C:
3319         * lyxtextclass.[Ch]: parametrize SGML document header
3320
3321 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3322
3323         * converter.[Ch]:
3324         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3325         getFlavor().
3326
3327 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3328
3329         * text2.C (setFont): rework using PosIterator (no more recursive)
3330         (setCharFont): no more needed
3331         (setLayout): no more selection cursors fiddling (done by redoCursor)
3332         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3333         destroy remaining ones)
3334
3335 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3336
3337         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3338         * lyxtext.h: ditto
3339         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3340         selection cursors
3341         * lyxfunc.C: adjust
3342         * text3.C: adjust + re-allow multi par depth changes
3343         * textcursor.C: simplify a bit
3344
3345 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * src/buffer.C:
3348         * src/lyxlayout.C:
3349         * src/lyxlayout.h:
3350         * src/lyxtext.h:
3351         * src/output_docbook.C:
3352         * src/output_latex.C:
3353         * src/paragraph.C:
3354         * src/paragraph.h:
3355         * src/sgml.C:
3356         * src/sgml.h:
3357         * src/text2.C: Introducing a number of tags parametrizing various
3358         XML formats that we may want to support
3359
3360 2003-11-25  André Pönitz  <poenitz@gmx.net>
3361
3362         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3363
3364         * lyxtext.h (leftMargin/rightMargin): simplify interface
3365
3366         * rowpainter.C:
3367         * text.C:
3368         * text2.C:
3369         * text3.C: adjust
3370
3371 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3372
3373         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3374         master file to any child files. Fixes bug 546.
3375
3376 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3377
3378         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3379
3380 2003-11-24  André Pönitz  <poenitz@gmx.net>
3381
3382         * rowpainter.C: simplification
3383
3384         * text2.C (updateCounters): remove call to redoParagraph on
3385         changed labels as this is far too expensive.
3386
3387 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3388
3389         * converter.C (convert): fix a crash: this function gets
3390         called with buffer == 0 from importer code.
3391
3392 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3393
3394         * text3.C (cursorPrevious): make sure that we do not compare
3395         iterators form different containers.
3396         (cursorNext): ditto
3397
3398         * rowpainter.C (paintSelection): make sure that we do not compare
3399         iterators from different containers.
3400
3401         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3402         iterators from different ParagraphList containers.
3403         [NEXT] ditto
3404
3405         * text2.C (LyXText): change order of initialization slightly
3406         (operator=): new function. copy all variables except cache_par_
3407         (moveUp): make sure that we do not compare iterators from
3408         different ParagraphList constainers.
3409         (moveDown): ditto
3410
3411         * text.C (firstPar): new function
3412         (lastPar): new function
3413         (endPar): new function
3414
3415         * lyxtext.h: move things around and group public functions, public
3416         variables, private functions, private variables
3417
3418 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3419
3420         * factory.C: change call to InsetERT constructor to avoid
3421         additional invocation of method status
3422         * text2.C (toggleInset): remove redundant update() call
3423         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3424         instead of a Bufferview pointer
3425
3426 2003-11-21  André Pönitz  <poenitz@gmx.net>
3427
3428         * rowpainter.C: simplification
3429
3430 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3431
3432         * text3.C (dispatch): make possible to extend a word/row selection
3433         with the mouse
3434
3435 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3436
3437         * lyxtext.h: x0_,y0_ -> xo_,yo_
3438         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3439         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3440         * rowpainter.C (paintRows): paint full paragraphs
3441
3442 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3445         screen coordinates)
3446
3447 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3448
3449         * lyxtext.h: add x0_, y0_
3450         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3451         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3452
3453 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * text2.C (setCursorIntern): move the x_target update here *
3456         * text3.C: change some bv() to true/false in calls to
3457         cursorUp/Down/Right/Left
3458         * cursor.C: use helper function.
3459
3460 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3463         * paragraph_funcs.[Ch]: correct comment
3464         * rowpainter.C: do not paint selections away from bv->cursor()
3465         Fix a long standing selection painting bug.
3466         * text3.C: generalize mouse-selection code to LyXTexts other that
3467         top one
3468         * textcursor.C: do not use y coords if we can use par offsets
3469
3470 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3471
3472         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3473         cursor position after e.g. inset insert)
3474
3475 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3476
3477         * lyxfind.C (replace): adjust to locking removal + some
3478         code simplification
3479
3480 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3483         of the path
3484
3485 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3486
3487         * lyxlayout.[Ch]:
3488         * output_docbook.C: XML sanitation: new layout
3489         parameters InnerTag and CommandDepth
3490
3491 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * BufferView_pimpl.C:
3494         * factory.C:
3495         * text3.C: Fix the insertion and modification of button-style
3496         insets
3497
3498 2003-11-13  André Pönitz  <poenitz@gmx.net>
3499
3500         * InsetList.[Ch]: remove deleteLyXText
3501
3502         * paragraph.[Ch]: cache beginOfBody position
3503
3504         * Bidi.C:
3505         * text.C:
3506         * text2.C:
3507         * text3.C: remove superfluous update() calls
3508
3509         * vspace.C: cleanup
3510
3511 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3514         * BufferView.C (fitLockedInsetCursor): remove
3515         * cursor.[Ch] (getDim): add
3516         * text.C (getRowNearY): add faster version
3517         * text3.C: remove some update calls
3518
3519 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3520
3521         * LaTeXFeatures.C:
3522         * LyXAction.C:
3523         * MenuBackend.C:
3524         * MenuBackend.h:
3525         * dispatchresult.h:
3526         * factory.C:
3527         * lfuns.h:
3528         * lyxfunc.C:
3529         * lyxtextclass.C:
3530         * lyxtextclass.h:
3531         * text3.C: The Character Style /XML short element patch.
3532
3533 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3534
3535         * text3.C:
3536         * factory.C: Small step to solving 'unable to insert some insets'
3537         problem
3538
3539 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3540
3541         * cursor.[Ch] (updatePos): new function for updating the y
3542         position of the tip inset
3543         * bufferview_funcs.C (put_selection_at):
3544         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3545
3546 2003-11-11  André Pönitz  <poenitz@gmx.net>
3547
3548         * text.C: remove big comment on invalid Paragraph pointers as it is
3549         not valid anymore
3550
3551 2003-11-11  André Pönitz  <poenitz@gmx.net>
3552
3553         * text_funcs.[Ch]: merge with ...
3554
3555         * text.C: ... this
3556
3557         * lyxtext.h:
3558         * text2.C:
3559         * text3.C: adjust
3560
3561         * Makefile.am: remove text_funcs.[Ch]
3562
3563 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * cursor.C (getPos): return absolute cached y coord
3566
3567         * BufferView_pimpl.C (fitCursor): new simplistic code
3568         (workAreaDispatch): add a fitCursor call
3569
3570 2003-11-10  André Pönitz  <poenitz@gmx.net>
3571
3572         * BufferView.[Ch]:
3573         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3574
3575 2003-11-10  André Pönitz  <poenitz@gmx.net>
3576
3577         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3578         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3579         indicate that the cursor needs to leave an inset
3580
3581         * lyxtext.h: remove inset locking
3582
3583         * cursor.[Ch]: re-implement functionality provided by inset locking
3584
3585         * BufferView.[Ch]:
3586         * BufferView_pimpl.[Ch]:
3587         * LyXAction.C:
3588         * bufferview_funcs.[Ch]:
3589         * factory.C:
3590         * funcrequest.[Ch]:
3591         * iterators.C:
3592         * lyx_cb.C:
3593         * lyxfind.C:
3594         * lyxfunc.C:
3595         * text.C:
3596         * text2.C:
3597         * text3.C:
3598         * undo.C: adjust
3599
3600 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * PosIterator.[Ch]: replace the stack with a vector, add inset
3603         accesor
3604         * iterators.[C]: adjust
3605
3606 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3609         replaced
3610         * paragraph_funcs.C (readParToken): put the correct id in the
3611         error item, not the id of the top paragraph
3612
3613 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3616         * bufferview_funcs.C (put_selection_at): use the above
3617
3618 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3621
3622 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3623
3624         * output_linuxdoc.h:
3625         * output_plaintext.h:
3626         * output.h:
3627         * output_docbook.h: add #include statements
3628
3629 2003-11-05  José Matos  <jamatos@lyx.org>
3630
3631         * output_docbook.[Ch]:
3632         * output_latex.[Ch]:
3633         * output_linuxdoc.[Ch]:
3634         * output_plaintext.[Ch]: New files for output formats.
3635         * output.[Ch]: New file for helper functions.
3636
3637         * buffer.[Ch]:
3638         * paragraph_funcs.[Ch]: output functions moved to new files.
3639
3640         * outputparams.h: rename of latexrunparams.h
3641
3642         * LaTeX.[Ch]:
3643         * buffer.[Ch]:
3644         * bufferlist.[Ch]:
3645         * converter.[Ch]:
3646         * exporter.C:
3647         * paragraph.[Ch]:
3648         * paragraph_funcs.[Ch]:
3649         * paragraph_pimpl.[Ch]:
3650         * tabular.[Ch]: rename ascii to plaintext
3651         and LatexRunParams to OutputParams.
3652
3653 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * iterators.[Ch] (text): require bv argument
3656         * undo.C (recordUndo):
3657         * lyxfunc.C (dispatch):
3658         * bufferview_funcs.C (put_selection_at): adjust
3659
3660 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3661
3662         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3663
3664 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3665
3666         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3667         nestings
3668
3669 2003-11-04  André Pönitz  <poenitz@gmx.net>
3670
3671         * cursor.[Ch]: restructure
3672
3673         * BufferView.[Ch]:
3674         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3675
3676         * iterators.[Ch] (asCursor): remove
3677
3678         * lfuns.h: remove LFUN_INSET_EDIT
3679
3680         * lyxfunc.C:
3681         * tabular.C:
3682         * text.C:
3683         * text2.C:
3684         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3685
3686 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3687
3688         * lyxfind.[Ch]: complete overhaul
3689         * BufferView_pimpl.C:
3690         * lyxfunc.C: adjust
3691         * paragraph.[Ch] (insert): add
3692
3693 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * BufferView.[Ch]:
3696         * lyxtext.h:
3697         * text.C: remove dead spellcheck code
3698
3699 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * dispatchresult.h: add a val setter
3702
3703         * cursor.C (dispatch): use a tempvar for data_[i]
3704
3705 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * PosIterator.[Ch]: compile fix
3708
3709 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * text.C (cursorPar): deactivate the cursor cache
3712
3713 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3716
3717 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * text3.C (dispatch): adjust for new DisptchResult semantics.
3720
3721         * lyxfunc.C (dispatch): handle update when return from
3722         Cursor::dispatch, adjust for new DispatchResult semantics.
3723
3724         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3725         DispatchResult(true) mean to not update. Add class functions for
3726         setting dispatched and update, as well as reading.
3727
3728         * cursor.C (dispatch): don't handle update here
3729
3730 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3733         * trans_mgr.C: adjust
3734
3735         * paragraph_funcs.C (readParToken): exception safety
3736
3737         * lyxvc.h: store the vcs pointer in a scoped_ptr
3738         * lyxvc.C: adjust
3739
3740         * lyxsocket.C (serverCallback): exception safety
3741
3742         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3743
3744         * ispell.C (clone): make it return a auto_ptr
3745
3746         * factory.C (createInset): exception safety
3747         (readInset): exception safety
3748
3749         * bufferlist.C (newBuffer): exception safety
3750
3751         * Thesaurus.C (Thesaurus): use initialization for aik_
3752
3753         * MenuBackend.C (expandToc): exception safety.
3754
3755 2003-11-03  André Pönitz  <poenitz@gmx.net>
3756
3757         * buffer.C:
3758         * buffer.h:
3759         * bufferview_funcs.C: remove getInsetFromId()
3760
3761         * lyxcursor.[Ch]:
3762         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3763
3764         * lyxfunc.C:
3765         * text2.C:
3766         * text3.C: adjust
3767
3768 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * PosIterator.C (distance, advance): new
3771         * bufferview_funcs.[Ch] (put_selection_at): new
3772         * iterators.[Ch] (lockPath): new
3773
3774 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * iterators.[Ch] (asPosIterator): added
3777         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3778         * PosIterator.[Ch]: added
3779
3780 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * text3.C:
3783         * lyxfunc.C:
3784         * cursor.C (dispatch):
3785         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3786
3787         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3788         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3789         contructor, add a class function dispatched. Remove operator>=
3790
3791 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * debug.C: only use the default constructor for debugstream
3794         (lyxerr) here.
3795
3796         * main.C (main): include debug.h and setup the lyxerr streambuf
3797         here.
3798
3799 2003-10-31  José Matos  <jamatos@lyx.org>
3800
3801         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3802
3803         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3804         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3805         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3806         * paragraph_pimpl.C (simpleTeXSpecialC):
3807         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3808         add LatexRunParams argument.
3809
3810         * exporter.C (Export): change call accordingly.
3811
3812         * latexrunparams.h: add new member to take care of the other backends.
3813 2003-10-30  José Matos  <jamatos@lyx.org>
3814
3815         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3816         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3817         factorise code for paragraph output.
3818         * buffer.[Ch]:
3819         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3820         move functions.
3821
3822 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * text3.C (dispatch):
3825         * lyxfunc.C (dispatch):
3826         * cursor.C (dispatch):
3827         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3828
3829         * dispatchresult.h: make the dispatch_result_t ctor explicit
3830
3831 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3832
3833         * sgml.[Ch]:
3834         * buffer.C: small refactoring of docbook stuff
3835
3836 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3839         meaning.
3840
3841 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3844         operator dispatch_result_t, and operators for == != and >=
3845
3846         * cursor.C (dispatch): adjust for operator dispatch_result_t
3847         removal. comment out call to update
3848
3849         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3850
3851 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * text3.C:
3854         * text2.C:
3855         * text.C:
3856         * lyxtext.h:
3857         * lyxfunc.C:
3858         * cursor.C:
3859         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3860         (dispatch):
3861
3862         * dispatchresult.h: new file, DispatchResult broken out of
3863         insets/insetbase.h
3864
3865         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3866
3867 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * text.C (rowBreakPoint): put a hack inside #if 0
3870
3871 2003-10-28  André Pönitz  <poenitz@gmx.net>
3872
3873         * lyxtext.h:
3874         * metricsinfo.C:
3875         * paragraph_funcs.C:
3876         * rowpainter.C:
3877         * text.C:
3878         * text2.C: general cleanup (lots of small stuff)
3879
3880 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * text2.C (cursorEnd): simple fix to the "end key goes to one
3883         before the end on last row" bug
3884
3885 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * text.C (backspace): fix the "zombie characters"
3888
3889 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3892
3893 2003-10-27  André Pönitz  <poenitz@gmx.net>
3894
3895         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3896
3897         * factory.C: handle new InsetPagebreak, InsetLine
3898
3899         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3900         and move handling into new InsetPagebreak, InsetLine
3901
3902         * BufferView_pimpl.C:
3903         * LyXAction.C:
3904         * ParagraphParameters.C:
3905         * ParameterStruct.h:
3906         * lyxfunc.C:
3907         * lyxtext.h:
3908         * paragraph.C:
3909         * paragraph.h:
3910         * paragraph_funcs.C:
3911         * paragraph_pimpl.C:
3912         * rowpainter.C:
3913         * text.C:
3914         * text2.C:
3915         * text3.C: adjust
3916
3917 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3918
3919         * text.C:
3920         * lyxrow_funcs.[Ch]:
3921         * Bidi.C:
3922         * paragraph.C:
3923         * lyxtext.h:
3924         * rowpainter.C:
3925         * text2.C:
3926         * text3.C: remove lastPos uses in favour of Row::endpos
3927
3928 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3929
3930         * undo.C (performUndoOrRedo): fix two crashes by setting a
3931         cursor by hand and reordering some calls. Use bv->lockInset instead
3932         of inset->edit because the latter loses cursor information
3933
3934 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3937         by Martin
3938         (rowBreakPoint): fix width. change point to point + 1.
3939         Add a missing check.
3940
3941 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3942
3943         * MenuBackend.C:
3944         * lyxfunc.C: fix (at least partly) the problems
3945         with the Nav menu and headers inside branch insets
3946         reported by Kayvan
3947
3948 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * paragraph.C (getChar): add strong asserts
3951
3952         * lyxrow_funcs.C (lastPos): remove hideous hack
3953
3954         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3955         (fill): adjust to that (avoid an infinite loop)
3956
3957 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3960
3961 2003-10-23  André Pönitz  <poenitz@gmx.net>
3962
3963         * RowList_fwd.h: change list<> to vector<> to gain speed
3964         after suggestion from Alfredo
3965
3966 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * lyxtext.h: move the bidi stuff from here...
3969         * text.C: and here
3970         * text2.C: and here
3971         * Bidi.[Ch]: ... to here
3972
3973 2003-10-23  André Pönitz  <poenitz@gmx.net>
3974
3975         * lyxtext.h:
3976         * text.C (isLastRow, isFirstRow): new functions
3977
3978         * paragraph.h: new width cache member
3979
3980         * rowpainter.C: replace RowList::iterator with Row & where possible
3981
3982         * lyxfunc.C: replace several view()->text with a single call
3983
3984         * toc.C: fix 'unused' warning
3985
3986 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3989         when woring with stream::pos_type
3990         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3991
3992 2003-10-22  André Pönitz  <poenitz@gmx.net>
3993
3994         * lyxtext.h:
3995         * text.C: use Row & instead of RowList::iterator
3996
3997         * lyxrow.h: rename end() to endpos()
3998
3999         * rowpainter.C:
4000         * text.C:
4001         * text2.C: adjust
4002
4003 2003-10-22  Angus Leeming  <leeming@lyx.org>
4004
4005         * buffer.[Ch] (fully_loaded): new member function, returning true
4006         only when the file has been loaded fully.
4007         Used to prevent the premature generation of previews and by the
4008         citation inset to prevent computation of the natbib-style label.
4009
4010         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4011         templates are all set up.
4012
4013         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4014
4015 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4016
4017         * text.C: fixed an "oops" in the "is a bit silly"
4018         bug fix
4019
4020 2003-10-21  André Pönitz  <poenitz@gmx.net>
4021
4022         * FuncStatus.[Ch]: small stuff, whitespace
4023
4024         * lyxfont.[Ch]: operator<<() for debug reasons
4025
4026         * lyxfunc.C:
4027         * lyxrow_funcs.C:
4028         * lyxtext.h: whitespace, spelling
4029
4030         * paragraph.C: naming of variables
4031
4032         * text.C:
4033         * text2.C: small stuff
4034
4035
4036 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4037
4038         * text.C: (1) finish off the inset display() work;
4039         (2) fix the "is a bit silly" bug (accessing char
4040         past end of par).
4041
4042 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4043
4044         * text.C: re-introduce display() for insets, fixing the
4045         various bugs (stretch of line above, math inset
4046         positioning, ...)
4047
4048 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4049
4050         * text.C (rightMargin): remove spurious semicolon
4051
4052         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4053         1415)
4054
4055 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4056
4057         * text3.C: fix one crash due to wrong cursor def
4058
4059 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4060
4061         * vc-backend.C (scanMaster): make the regex static
4062
4063         * LaTeX.C (scanAuxFile): make the regexs static
4064
4065         * text3.C (doInsertInset, dispatch, dispatch):
4066         * text2.C (cursorUp, cursorDown):
4067         * text.C (selectNextWordToSpellcheck):
4068         * BufferView_pimpl.C (dispatch):
4069         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4070
4071 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4072
4073         * lyxsocket.C: include <cerrno>
4074
4075 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * lyxfunc.C (dispatch): remove textcache stuff
4078
4079         * bufferlist.C (release): remove textcache stuff
4080         (closeAll): ditto
4081
4082         * TextCache.C: delete file
4083         * TextCache.h: delete file
4084
4085         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4086
4087         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4088         delete of the bv_->text.
4089         (resizeCurrentBuffer): remove texcache stuff
4090         (workAreaResize): ditto
4091
4092 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4095         action.
4096
4097 2003-10-16  André Pönitz  <poenitz@gmx.net>
4098
4099         * lyxrow.[Ch]:
4100         * paragraph.h:
4101         * rowpainter.C:
4102         * text.C:
4103         * text2.C:
4104         * text3.C: speed up by storing y positions per paragraph plus per-row
4105         offset instead of having a 'full' y position in the row.
4106
4107 2003-10-15  André Pönitz  <poenitz@gmx.net>
4108
4109         * iterators.[Ch]:
4110         * iterators.[Ch]:
4111         * undo.[Ch]: make undo aware of inner insets
4112
4113 2003-10-14  Angus Leeming  <leeming@lyx.org>
4114
4115         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4116         static member functions LyX::ref() and LyX::cref.
4117         (lastfiles): new accessor functions for the new lastfiles_ member var.
4118         (addLyXView, views_): add a new LyXView to the list of views_.
4119         (updateInset): loop over all LyXViews to call their own updateInset
4120         member function, returning a pointer to the Buffer owning the inset.
4121
4122         * BufferView_pimpl.C (loadLyXFile):
4123         * MenuBackend.C (expandLastfiles):
4124         * bufferlist.C (MenuWrite, QuitLyX):
4125         lastfiles is no longer a global variable.
4126         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4127
4128         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4129         static function. Access through LyX::cref().emergencyCleanup().
4130
4131 2003-10-14  André Pönitz  <poenitz@gmx.net>
4132
4133         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4134
4135         * undo.[Ch]: restoring part of 'undo in insets'
4136
4137         * Makefile.am:
4138         * undo_funcs.[Ch]: merge with undo.[Ch]
4139
4140         * tabular.C: small cleansing stuff
4141
4142 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * paragraph_funcs.C (readParToken): report unknown insets as error
4145         boxes. Use the outer paragraph as location (also for unknown
4146         tokens).
4147
4148         * factory.C (readInset): do not abort on reading an unknown inset.
4149         Eat it and return 0.
4150
4151 2003-10-13  Angus Leeming  <leeming@lyx.org>
4152
4153         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4154
4155         * lyxrc.C: displayTranslator is now a function,
4156         declared in GraphicsTypes.h.
4157
4158 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4159
4160         * format.C: new placeholder $$a to pass the socket address.
4161
4162         * bufferlist.[Ch]: new function getBufferFromTmp.
4163
4164         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4165           files in the temporary dir.
4166
4167 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4168
4169         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4170
4171         * Makefile.am: add lyxsocket.[Ch].
4172
4173         * lyx_main.C (error_handler): handle SIGPIPE.
4174
4175 2003-10-13  André Pönitz  <poenitz@gmx.net>
4176
4177         * BufferView_pimpl.C:
4178         * lyxtext.h:
4179         * text.C:
4180         * text2.C:
4181         * text3.C:
4182         * undo_funcs.[Ch]: use paroffset_type instead of
4183           ParagraphList::iterators to prevent multiple conversion
4184           (and get a more robust interface)
4185
4186 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4189         * lyxtext.h: ditto
4190         * text3.C (dispatch): ditto
4191
4192 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4195         move the onlyfile, use onlyfile instead of foundfile in a couple
4196         of places.
4197
4198         * DepTable.C (update): flush the error stream a bit more
4199
4200 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * lyxserver.C (callback): adjust
4203
4204         * lyxfunc.C (getStatus): add a missing brace in commented code
4205         (ensureBufferClean): reindent
4206         (dispatch): delete version taking a string
4207
4208 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4209
4210         * LaTeX.C (deplog): move found file handlig from here...
4211         (handleFoundFile): .. to new function here.
4212         (deplog): make sure to discover several files mentioned on the
4213         same log line.
4214
4215 2003-10-10  André Pönitz  <poenitz@gmx.net>
4216
4217         * lyxfunc.C:
4218         * lyxtext.h:
4219         * tabular.C:
4220         * text.C:
4221         * text2.C:
4222         * text3.C: fix some of the tabular crashes
4223
4224 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4225
4226         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4227
4228         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4229
4230 2003-10-09  André Pönitz  <poenitz@gmx.net>
4231
4232         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4233
4234         * BufferView.C:
4235         * BufferView_pimpl.C:
4236         * bufferview_funcs.C:
4237         * lyx_cb.C:
4238         * lyxcursor.C:
4239         * lyxfind.C:
4240         * lyxfunc.C:
4241         * lyxtext.h:
4242         * text.C:
4243         * text2.C:
4244         * text3.C:
4245         * text_funcs.[Ch]:
4246         * textcursor.[Ch]:
4247         * undo_funcs.C: adjust
4248
4249 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * text2.C (incrementItemDepth): new function, use a backtracking
4252         algorithm to discover the correct item depth.
4253         (resetEnumCounterIfNeeded): new function, use a backtracking
4254         algorithm to discover if counter reset is needed.
4255         (setCounter): use them. Simplify a bit. Add different labels for
4256         different item depths for itemize.
4257
4258         * paragraph.C (Paragraph): remove initialization of enumdepth
4259         (operator=): ditto
4260
4261         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4262         enumerate and itemize. Change the type of itemdepth to signed char.
4263
4264 2003-10-08  André Pönitz  <poenitz@gmx.net>
4265
4266         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4267           thing assignable.
4268         * text.C:
4269         * text2.C: adjust
4270
4271         * tabular.[Ch]: fix crash after 'row-insert'
4272
4273 2003-10-08  Angus Leeming  <leeming@lyx.org>
4274
4275         Fix doxygen warnings.
4276
4277         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4278         Remove CutAndPaste:: prefix from header file declaration.
4279
4280         * LColor.h (fill): remove LColor:: prefix from declaration.
4281
4282         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4283         use lyx::depth_type rather than Paragraph::depth_type so that
4284         header file and .C file match.
4285
4286         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4287
4288         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4289         * aspell.C: \file aspell_local.C -> \file aspell.C
4290         * gettext.C: \file gettext.C -> \file src/gettext.C
4291         * gettext.h: \file gettext.h -> \file src/gettext.h
4292         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4293         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4294         * text.C: \file text.C -> \file src/text.C
4295
4296         * toc.C: move comment so that doxygen is not confused.
4297
4298 2003-10-07  Angus Leeming  <leeming@lyx.org>
4299
4300         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4301
4302 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4303
4304         * aspell.C:
4305         * aspell_local.h: add forgotten std::string's.
4306
4307 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4308
4309         * LaTeXFeatures.C:
4310         * LyXAction.C:
4311         * factory.C:
4312         * lfuns.h:
4313         * lyxfunc.C:
4314         * text3.C: The Box patch. Fancybox support, minipage, parbox
4315
4316 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4317
4318         * CutAndPaste.h:
4319         * DepTable.h:
4320         * FloatList.h:
4321         * LaTeXFeatures.h:
4322         * ParagraphParameters.h:
4323         * TextCache.h:
4324         * Thesaurus.h:
4325         * bufferlist.h:
4326         * exporter.h:
4327         * importer.h:
4328         * lastfiles.h:
4329         * lyxfind.h:
4330         * lyxfont.h:
4331         * lyxlex.h:
4332         * lyxtextclasslist.h:
4333         * messages.h:
4334         * paragraph.h:
4335         * paragraph_pimpl.C:
4336         * textcursor.h: add <string> and other small fixes to make Lars'
4337         std::string patch compile with STLport.
4338
4339 2003-10-06  Angus Leeming  <leeming@lyx.org>
4340
4341         * LColor.h: Add missing #include <string>.
4342
4343 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * All most all file in all subdirs: Make <string> be the prefered
4346         way of getting to std::string, add using declarations.
4347
4348 2003-10-06  André Pönitz  <poenitz@gmx.net>
4349
4350         * metricsinfo.C: initialize LyXFont before changing attribute.
4351         (fixes the 'math in \emph is upright' bug)
4352
4353 2003-10-06  André Pönitz  <poenitz@gmx.net>
4354
4355         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4356
4357 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4358
4359         * graph.C:
4360         * paragraph_pimpl.C: Small fixes to build using STLport
4361
4362 2003-10-02  André Pönitz  <poenitz@gmx.net>
4363
4364         * lyxfunc.C:
4365         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4366
4367 2003-10-01  André Pönitz  <poenitz@gmx.net>
4368
4369         * factory.C: assert early
4370
4371 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * lyx_main.C: remove the global debug object
4374
4375         * debug.h: adjust for new debugstream
4376
4377         * debug.C: adjust for new debugstream and keep the global debug
4378         object here.
4379
4380 2003-09-22  Angus Leeming  <leeming@lyx.org>
4381
4382         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4383         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4384         an incomplete class LyXFont.
4385
4386 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4387
4388         * factory.C: bug fix in branches
4389
4390 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * lyxfunc.C (processKeySym): adjust
4393         (dispatch): adjust
4394         (dispatch): change arg name from ev to func, adjust
4395         (sendDispatchMessage): ditto
4396
4397         * lyx_main.C (defaultKeyBindings): adjust keybindings
4398         (deadKeyBindings): ditto
4399
4400         * kbsequence.C (addkey): return a FuncRequest
4401
4402         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4403
4404         * kbmap.C (bind): take a FuncRequest as arg, adjust
4405         (read): adjust
4406         (lookup): adjust
4407         (defkey): change to take a FuncRequest as arg, adjust
4408         (findbinding): take a FuncRequest as arg, adjust.
4409
4410         * funcrequest.h (operator=): added
4411
4412         * funcrequest.C (FuncRequest): default kb_action changed from
4413         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4414
4415         * buffer.C (dispatch): simplify
4416         (dispatch): adjust to take a FuncRequest as arg, adjust
4417
4418         * boost.C (assertion_failed): change assertion message slightly
4419
4420         * ToolbarBackend.C (read): simplify
4421
4422         * MenuBackend.C (binding): adjust call to findbinding, add a
4423         message if no binding is found.
4424         (read): simplify
4425         (expandToc): correct by adding a empty FuncRequest
4426
4427         * LyXAction.C: include <boost/assert.hpp>
4428         (isPseudoAction): delete function
4429         (LookupFunc): change name to...
4430         (lookupFunc): this. change return type to FuncRequest.
4431         (getActionName): take kb_action as arg, simplify
4432         (funcHasFlag): add an assert, simplify.
4433
4434 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * toc.C (action): return a FuncRequest, simplify
4437
4438         * lyxfunc.C (processKeySym): adjust
4439         (getStatus): delete version that takes an int.
4440         (getStatus): adjust
4441         (dispatch): delete version that takes action as int
4442         (dispatch): adjust
4443         (sendDispatchMessage): simplify and adjust
4444
4445         * funcrequest.C (getArg): take unsigned int as arg
4446
4447         * ToolbarBackend.C (read): adjust
4448         (add): delete version that takes func as a string.
4449         (getIton): take a FuncRequest as arg
4450
4451         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4452         action.
4453
4454         * MenuBackend.C (MenuItem): add a new construct that only takes a
4455         Kind, simplify the constructor use for submenus.
4456         (add): adjust
4457         (expandLastfiles): adjust
4458         (expandDocuments): adjust
4459         (expandFormats): adjust
4460         (expandFloatListInsert): adjust
4461         (expandFloatInsert): adjust
4462         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4463
4464         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4465         Remove class variables lyx_pseudo_map and lyx_arg_map
4466
4467         * LyXAction.C (searchActionArg): delete function
4468         (getPseudoAction): delete function
4469         (retrieveActionArg): delete function
4470         (LookupFunc): make it return kb_action, simplify.
4471         (getActionName): simplify
4472
4473         * factory.C (createInset): fix new bug
4474
4475 2003-09-19  Angus Leeming  <leeming@lyx.org>
4476
4477         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4478         masterFilename_ parameter in the include inset.
4479
4480         * factory.C (createInset): changes due to the changes to InsetInclude.
4481
4482 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4483
4484         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4485
4486 2003-09-18  Angus Leeming  <leeming@lyx.org>
4487
4488         * buffer.C:
4489         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4490         Inset::fillWithBibKeys.
4491         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4492
4493 2003-09-18  Angus Leeming  <leeming@lyx.org>
4494
4495         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4496         variables.
4497         (ctor): pass and store a 'Buffer const &'
4498         (buffer): new member function.
4499
4500         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4501         '*this' to the LaTeXFeatures ctor.
4502
4503 2003-09-18  Angus Leeming  <leeming@lyx.org>
4504
4505         * LColor.h:
4506         * lyxfont.C:
4507         * lyxfont.h:
4508         * lyxtext.h:
4509         * text.C: rename EnumLColor as LColor_color.
4510
4511 2003-09-18  Angus Leeming  <leeming@lyx.org>
4512
4513         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4514         remove #include "insets/insetbase.h" from cursor.h.
4515
4516 2003-09-18  Angus Leeming  <leeming@lyx.org>
4517
4518         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4519         InsetOld_code to remove #include "inset.h".
4520
4521         * iterators.C: add #include "insets/inset.h"
4522
4523 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4524
4525         * BufferView.C: remove more locking stuff that apparently doesn't
4526         do anything sensible.
4527
4528 2003-09-16  André Pönitz  <poenitz@gmx.net>
4529
4530         * paragraph.[Ch]:
4531         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4532           performance boost.
4533
4534 2003-09-16  Angus Leeming  <leeming@lyx.org>
4535
4536         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4537
4538         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4539         arg/return type.
4540
4541         * paragraph.h: remove #include "lyxfont.h". Forward declare
4542         LyXFont_size.
4543
4544 2003-09-16  Angus Leeming  <leeming@lyx.org>
4545
4546         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4547         of support/textutils.h.
4548         (isWord): move the contents of support/textutils.h's IsWordChar here.
4549
4550         * buffer.C:
4551         * lyxfind.C:
4552         * rowpainter.C:
4553         * text.C:
4554         * text2.C: add #include "paragraph.h".
4555
4556         * rowpainter.C:
4557         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4558
4559 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * main.C:
4562         * lyx_main.C:
4563         * lyx_cb.C:
4564         * buffer.C:
4565         * LaTeX.C: use namespace alias for lyx::support::os
4566
4567 2003-09-16  Angus Leeming  <leeming@lyx.org>
4568
4569         * bufferparams.C:
4570         * bufferview_funcs.C:
4571         * factory.C:
4572         * lyxfunc.C:
4573         * paragraph_pimpl.C:
4574         * rowpainter.C:
4575         * text.C: add #include "LColor.h".
4576
4577 2003-09-16  Angus Leeming  <leeming@lyx.org>
4578
4579         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4580         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4581         return LyXFont &.
4582         Store the FontBits::color variable as an int rather than as an
4583         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4584         file.
4585
4586         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4587         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4588         string calls together.
4589
4590         * lyxrc.C: add #include "LColor.h".
4591
4592 2003-09-15  Angus Leeming  <leeming@lyx.org>
4593
4594         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4595         a cow_ptr.
4596
4597 2003-09-15  Angus Leeming  <leeming@lyx.org>
4598
4599         * LColor.h: add an EnumLColor wrapper for LColor::color.
4600
4601         * lyxfont.[Ch] (color, setColor, realColor):
4602         * lyxtext.h, text.C (backgroundColor):
4603         pass EnumLColor args to/from the functions, rather than LColor::color
4604         ones.
4605
4606         * lyxfont.h:
4607         * lyxtext.h: forward declare EnumLColor.
4608
4609         * lyx_main.C: add #include "LColor.h".
4610
4611 2003-09-15  Angus Leeming  <leeming@lyx.org>
4612
4613         * .cvsignore: add lyx-gtk.
4614
4615 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * Chktex.C
4618         * LaTeX.C
4619         * LaTeXFeatures.C
4620         * ParagraphParameters.C
4621         * Spacing.C
4622         * buffer.C
4623         * bufferparams.C
4624         * bufferview_funcs.C
4625         * chset.C
4626         * counters.C
4627         * funcrequest.C
4628         * lyxfont.C
4629         * lyxgluelength.C
4630         * lyxlength.C
4631         * paragraph.C
4632         * paragraph_funcs.C
4633         * text3.C
4634         * vc-backend.C: remove usage of STRCONV
4635
4636 2003-09-15  Angus Leeming  <leeming@lyx.org>
4637
4638         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4639         explicitly define the color passed to the painter.
4640
4641 2003-09-15  Angus Leeming  <leeming@lyx.org>
4642
4643         * bufferparams.C (BufferParams): reorder member initializers to avoid
4644         compiler warning.
4645
4646 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4647
4648         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4649         * text.C (updateRowPositions): remove an unusual nop
4650
4651 2003-09-12  André Pönitz  <poenitz@gmx.net>
4652
4653         * BufferView_pimpl.C:
4654         * Bullet.C:
4655         * layout.h:
4656         * lyxfunc.C:
4657         * lyxlayout.[Ch]:
4658         * lyxtextclass.C:
4659         * rowpainter.C:
4660         * text.C:
4661         * text2.C:
4662         * Counters.[Ch]: finish the 'automatic counters' job
4663
4664 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4665
4666         * aspell.C: include <boost/assert.cpp> (compile fix)
4667
4668 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4669
4670         * boost.C (assertion_failed): use lyx::support::abort instead of
4671         assert.
4672
4673 2003-09-10  Angus Leeming  <leeming@lyx.org>
4674
4675         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4676         with their _fwd progeny.
4677
4678 2003-09-09  Angus Leeming  <leeming@lyx.org>
4679
4680         134 files throughtout the source tree: replace 'using namespace abc;'
4681         directives with the appropriate 'using abc::xyz;' declarations.
4682
4683 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4684
4685         * boost.C (emergencyCleanup): moved here from LAssert.c
4686         (assertion_failed): new function, called by BOOST_ASSERT
4687
4688         * several files: change Assert to BOOST_ASSERT
4689
4690 2003-09-09  Angus Leeming  <leeming@lyx.org>
4691
4692         * buffer.[Ch]: Add an Impl class and move Buffer's member
4693         variables into it. As a result move several header files out of
4694         buffer.h.
4695
4696         Add header files to lots of .C files all over the tree as a result.
4697
4698 2003-09-09  Angus Leeming  <leeming@lyx.org>
4699
4700         * buffer.[Ch]: make Buffer's member variables private. Add
4701         accessor functions.
4702
4703         Lots of changes all over the tree as a result.
4704
4705 2003-09-08  Angus Leeming  <leeming@lyx.org>
4706
4707         * graph.C: #include <config.h>.
4708
4709 2003-09-08  Angus Leeming  <leeming@lyx.org>
4710
4711         * BranchList.C:
4712         * BufferView.C:
4713         * BufferView_pimpl.C:
4714         * CutAndPaste.C:
4715         * DepTable.C:
4716         * LaTeX.C:
4717         * LaTeXFeatures.C:
4718         * LyXAction.C:
4719         * MenuBackend.C:
4720         * TextCache.C:
4721         * aspell.C:
4722         * buffer.C:
4723         * bufferlist.C:
4724         * changes.C:
4725         * chset.C:
4726         * converter.C:
4727         * counters.C:
4728         * debug.C:
4729         * graph.C:
4730         * ispell.C:
4731         * lyx_cb.C:
4732         * lyxfind.C:
4733         * lyxfunc.C:
4734         * lyxlex_pimpl.C:
4735         * lyxrc.C:
4736         * lyxrow.C:
4737         * paragraph.C:
4738         * rowpainter.C:
4739         * texrow.C:
4740         * text.C:
4741         * text2.C:
4742         * toc.C: remove redundant using directives.
4743
4744 2003-09-07  Angus Leeming  <leeming@lyx.org>
4745
4746         * LaTeXFeatures.h: remove #include "support/types.h".
4747         * ToolbarBackend.h: remove #include <algorithm>.
4748         * changes.h: remove #include <ctime>.
4749         * debug.h: remove #include <iosfwd>.
4750         * graph.h: remove #include "support/std_string.h".
4751         * lyx_main.h: remove #include <csignal>.
4752         * lyxlex_pimpl.h: remove #include <fstream>.
4753         * sgml.h: remove #include <algorithm>, <utility>.
4754         * toc.h: remove #include "support/std_ostream.h".
4755         Add #include <iosfwd>.
4756
4757 2003-09-07  Angus Leeming  <leeming@lyx.org>
4758
4759         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4760
4761         * converter.h: forward declare LatexRunParams.
4762         * encoding.h: remove #include "lyxrc.h".
4763         * lyxtext.h: remove #include "LColor.h".
4764         * lyxtextclass.h: remove #include "support/types.h".
4765         * trans.h: remove #include "tex-accent.h".
4766         * trans_mgr.h: remove #include "tex-accent.h".
4767         * insets/inset.h: remove #include "support/types.h", <vector>.
4768         * insets/insetcollapsable.h: remove #include "LColor.h".
4769         * insets/insetinclude.h: remove #include "dimension.h".
4770         * insets/insetlatexaccent.h: remove #include "dimension.h".
4771         * insets/insetoptarg.h:: remove #include "insettext.h".
4772         * insets/insettext.h: remove #include "dimension.h",
4773         <boost/shared_ptr.hpp>
4774
4775         * insets/renderers.h: add #include "dimension.h".
4776         * insets/updatableinset.h: add #include "support/types.h".
4777
4778         * many .C files: Associated changes.
4779
4780 2003-09-06  Angus Leeming  <leeming@lyx.org>
4781
4782         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4783         one, inside testInvariant.
4784
4785         * PrinterParams.C: new file.
4786         * PrinterParams.[Ch]: move the function bodies out of line.
4787
4788 2003-09-06  Angus Leeming  <leeming@lyx.org>
4789
4790         * ParagraphParameters.h: forward declare ParameterStruct rather than
4791         including its header file.
4792         (depth): moved out-of-line.
4793
4794 2003-09-06  Angus Leeming  <leeming@lyx.org>
4795
4796         * BufferView_pimpl.h:
4797         * kbmap.h:
4798         * kbsequence.h:
4799         * lyxfunc.h: forward declare LyXKeySym rather than
4800         #include "frontends/LyXKeySym.h".
4801
4802         * BufferView_pimpl.C:
4803         * kbmap.C:
4804         * kbsequence.C:
4805         * lyxfunc.C: associated changes.
4806
4807 2003-09-06  Angus Leeming  <leeming@lyx.org>
4808
4809         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4810         As a result, can remove the #include "insets/inset.h" from BufferView.h
4811
4812 2003-09-06  Angus Leeming  <leeming@lyx.org>
4813
4814         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4815         As a result, can remove the #include "insets/inset.h" from BufferView.h
4816
4817 2003-09-06  Angus Leeming  <leeming@lyx.org>
4818
4819         * buffer_funcs.C:
4820         * buffer.h:
4821         * bufferlist.C:
4822         * BufferView.C:
4823         * bufferview_funcs.C:
4824         * BufferView_pimpl.C:
4825         * CutAndPaste.C:
4826         * lyx_cb.C:
4827         * lyxfunc.C:
4828         * paragraph.h:
4829         * ParagraphParameters.C:
4830         * tabular.C:
4831         * text3.C:
4832         * toc.C:
4833         * undo_funcs.C:
4834         * frontends/controllers/ControlDocument.C:
4835         * insets/insetcaption.C: rearrange the #includes into some sort of
4836         coherent order.
4837
4838         * buffer.h: remove #includes ErrorList.h, undo.h
4839
4840 2003-09-06  Angus Leeming  <leeming@lyx.org>
4841
4842         * support/types.h: add a 'depth_type' typedef, used to store the
4843         nesting depth of a paragraph.
4844
4845         * paragraph.h:
4846         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4847         defining explicitly.
4848
4849         * buffer.h:
4850         * paragraph_funcs.h:
4851         * ParagraphParameters.h:
4852         * sgml.h: use lyx::depth_type rather than Paragraph or
4853         ParameterStruct's depth_type.
4854
4855         * buffer.h
4856         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4857
4858         * BufferView.C:
4859         * BufferView_pimpl.C:
4860         * CutAndPaste.C:
4861         * ParagraphParameters.C:
4862         * buffer_funcs.C:
4863         * bufferlist.C:
4864         * bufferview_funcs.C:
4865         * lyx_cb.C:
4866         * lyxfunc.C:
4867         * tabular.C:
4868         * text3.C:
4869         * toc.C:
4870         * undo_funcs.C:
4871         * frontends/LyXView.C:
4872         * frontends/controllers/ControlDocument.C:
4873         * frontends/controllers/ControlErrorList.C:
4874         * insets/insetbibitem.C:
4875         * insets/insetbranch.C:
4876         * insets/insetcaption.C:
4877         * insets/insetcollapsable.C:
4878         * insets/insetenv.C:
4879         * insets/insetert.C:
4880         * insets/insetfloat.C:
4881         * insets/insetfoot.C:
4882         * insets/insetfootlike.C:
4883         * insets/insetnewline.C:
4884         * insets/insetquotes.C:
4885         * insets/insettabular.C:
4886         * insets/insettext.C:
4887         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4888
4889         * frontends/controllers/ControlChanges.C: #include "changes.h".
4890
4891 2003-09-06  Angus Leeming  <leeming@lyx.org>
4892
4893         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4894         than #including paragraph.h.
4895
4896         * ParagraphList.h:
4897         * RowList.h: deleted. Superfluous.
4898
4899         * CutAndPaste.h:
4900         * iterators.h:
4901         * lyxcursor.h:
4902         * lyxtext.h:
4903         * text_funcs.h:
4904         * undo.h:
4905         * undo_funcs.h:
4906         * insets/inset.h:
4907         * insets/insettext.h: use ParagraphList_fwd.h rather than
4908         ParagraphList.h.
4909
4910         * paragraph.h: don't forward declare ParagraphList.
4911
4912         * buffer.h:
4913         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4914         rather than ParagraphList.h. paragraph.h is still needed for the
4915         Paragraph::depth_type parameters.
4916
4917         * textcursor.h: enable it to compile stand-alone in light of the
4918         above changes.
4919
4920         * bufferview_funcs.C:
4921         * iterators.C:
4922         * lyxfunc.C:
4923         * lyxrow_funcs.C:
4924         * paragraph.C:
4925         * rowpainter.C:
4926         * text.C:
4927         * text2.C:
4928         * text3.C:
4929         * text_funcs.C:
4930         * textcursor.C:
4931         * undo.C:
4932         * frontends/controllers/ControlParagraph.C:
4933         * frontends/controllers/ControlTabular.C:
4934         * insets/insetmarginal.C:
4935         * insets/insetminipage.C:
4936         * insets/insetnote.C:
4937         * insets/insetoptarg.C: add header files needed to compile again.
4938
4939 2003-09-06  Angus Leeming  <leeming@lyx.org>
4940
4941         * RowList_fwd.h: new file, forward-declaring Row rather than
4942         #including lyxrow.h.
4943
4944         * lyxrow_funcs.h:
4945         * lyxtext.h:
4946         * paragraph.h:
4947         * insets/insettext.h: use it instead of RowList.h
4948
4949         * bufferview_funcs.C:
4950         * lyxfunc.C:
4951         * lyxrow_funcs.C:
4952         * paragraph.C:
4953         * rowpainter.C:
4954         * text.C:
4955         * text2.C:
4956         * text3.C: #include "RowList.h".
4957
4958 2003-09-05  Angus Leeming  <leeming@lyx.org>
4959
4960         * factory.C (createInset):
4961         * vspace.C (c-tor): replace sscanf call with an istringstream.
4962         * ispell.C: re-add missing HP/UX headers.
4963         * lyxserver.C: re-add missing  os2 headers.
4964
4965 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4966
4967         * BranchList.C:
4968         * graph.C:
4969         * ispell.C:
4970         * lastfiles.C:
4971         * lyx_cb.C:
4972         * lyxserver.C:
4973         * texrow.C:
4974         * text3.C: re-add missing system headers, needed for 2.95.2.
4975
4976 2003-09-05  Angus Leeming  <leeming@lyx.org>
4977
4978         Changes most place everywhere due to the removal of using directives
4979         from support/std_sstream.h.
4980
4981 2003-09-05  Angus Leeming  <leeming@lyx.org>
4982
4983         Replace LString.h with support/std_string.h,
4984         Lsstream.h with support/std_sstream.h,
4985         support/LIstream.h with support/std_istream.h,
4986         support/LOstream.h with support/std_ostream.h.
4987
4988         Changes resulting throughout the tree.
4989
4990 2003-09-05  Angus Leeming  <leeming@lyx.org>
4991
4992         * sgml.h: ensure that the header file can be compiled stand-alone.
4993         * *.C: strip out redundant #includes. (320 in total.)
4994
4995 2003-09-04  Angus Leeming  <leeming@lyx.org>
4996
4997         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4998         here (from getPackages).
4999
5000         * debug.[Ch]: add a new EXTERNAL tag.
5001
5002 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5003
5004         * text2.C (cursorEnd): simplify
5005         (setCursor): adjust
5006         (getColumnNearX): adjust
5007
5008         * text.C (computeBidiTables): adjust
5009         (fill): adjust
5010
5011         * rowpainter.C (paintChars): adjust
5012         (paintSelection): adjust
5013         (paintChangeBar): adjust
5014         (paintText): adjust
5015
5016         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5017         lastPos instead.
5018         (numberOfSeparators): adjust
5019
5020 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5021
5022         * LyXAction.C:
5023         * box.[Ch]:
5024         * lfuns.h:
5025         * lyxfunc.C:
5026         * text3.C: Restricts the mouse click functionality
5027         of insets like bibtex, include, toc and floatlist to the visible
5028         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5029         up the dialogs. Cursor has to be in front of the inset (i.e.
5030         start of row) for this to function.
5031
5032 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5033
5034         * bufferview_funcs.C (currentState): output row information
5035
5036 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5037
5038         * bufferview_funcs.C (currentState): output paragraph position
5039
5040 2003-09-04  Angus Leeming  <leeming@lyx.org>
5041
5042         * FloatList.h: move out #include "Floating.h".
5043         * LaTeX.h: move out #include "DepTable.h".
5044         * LyXAction.h: move out #include "funcrequest.h".
5045         * buffer.h: move out #include "author.h", "iterators.h".
5046         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5047         * lyx_main.h: move out #include "errorlist.h".
5048         * lyxfunc.h: move out #include "FuncStatus.h".
5049         * lyxtext: move out #include "lyxcursor.h".
5050         * paragraph_pimpl.h: move out #include "counters.h".
5051
5052 2003-09-03  Angus Leeming  <leeming@lyx.org>
5053
5054         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5055         preamble_snippets list, enabling us to add snippets to the preamble
5056         only if the snippet was not there already.
5057
5058 2003-09-04  Angus Leeming  <leeming@lyx.org>
5059
5060         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5061
5062 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5065         update
5066
5067 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5068
5069         * BranchList.C: point fix, earlier forgotten
5070
5071 2003-09-02  Angus Leeming  <leeming@lyx.org>
5072
5073         * box.C (contains): renamed from 'contained' after a fantastic
5074         amount of hot air.
5075
5076 2003-09-02  John Levon  <levon@movementarian.org>
5077
5078         * BufferView.C:
5079         * lyxcursor.h:
5080         * lyxcursor.C:
5081         * lyxfunc.C:
5082         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5083
5084 2003-09-02  John Levon  <levon@movementarian.org>
5085
5086         * text2.C: simplification of cursorEnd(), including partial
5087         fix for bug 1376
5088
5089 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * buffer.C (readFile): add a space
5092
5093 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5096
5097 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * buffer.C (readFile): new function, take a filename and a
5100         ParagraphList::iterator
5101         (readFile): adjust
5102         (readFile): adjust, make it private. don't use setStream, make
5103         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5104         always contain the filename.
5105
5106         * BufferView.C (insertLyXFile): simplify and make it work for
5107         gzipped files.
5108
5109 2003-08-30  John Levon  <levon@movementarian.org>
5110
5111         * Makefile.am: fix dist (from Kayvan)
5112
5113 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * most files: change to use const Buffer refs
5116
5117 2003-08-27  André Pönitz  <poenitz@gmx.net>
5118
5119         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5120         on top of ownerPar().
5121
5122 2003-08-27  John Levon  <levon@movementarian.org>
5123
5124         * funcrequest.C: properly initialise POD members
5125
5126 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * lyxtext.h (top_y): move top_y from here
5129         * text.C:
5130         * text2.C:
5131         * text3.C:
5132         * BufferView.[Ch]:
5133         * BufferView_pimpl.[Ch]: to here
5134         * frontends/screen.C:
5135         * insets/insettabular.C:
5136         * insets/insettext.C: adjust
5137         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5138
5139 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * BufferView.[Ch]:
5142         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5143
5144 2003-08-26  André Pönitz  <poenitz@gmx.net>
5145
5146         * paragraph_func.[Ch] (outerPar): new function
5147
5148         * paragraph.C:
5149         * paragraph_funcs.C:
5150         * paragraph_funcs.h:
5151         * paragraph_pimpl.C:
5152         * text2.C: remove Inset::par_owner
5153
5154 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5155
5156         * lyxrow_funcs.C:
5157         * lyxtext.h:
5158         * text.C:
5159         * text2.C: eliminates the needFullRow/display() stuff
5160         altogether, putting the logic in metrics/draw in the insets.
5161
5162 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * text2.C (redoParagraphInternal, redoParagraphs):
5165         * text.C (redoParagraph): add a call to updateRowPositions at the
5166         end of each 'metrics-like' call. Remove all others.
5167         (getRow): remove the 'y-computing' version.
5168         (getRowNearY): do not compute nor return the real y. Solve the
5169         'y < 0' problem and simplify.
5170
5171 2003-08-22  Angus Leeming  <leeming@lyx.org>
5172
5173         * *.[Ch]: clean-up of licence and author blurbs.
5174         Also move config.h out of a few .h files and into a few .C files.
5175
5176 2003-08-22  André Pönitz  <poenitz@gmx.net>
5177
5178         * lyxrow.[Ch]: add x_ and *fill_ members
5179
5180         * lyxtext.h:
5181         * text.C:
5182         * rowpainter.C:
5183         * text2.C: adjust/remove prepareToPrint() calls
5184
5185 2003-08-22  André Pönitz  <poenitz@gmx.net>
5186
5187         * lyxrow.[Ch]: add  end_ member
5188
5189         * lyxrow_funcs.C: use LyXRow::end_
5190
5191         * lyxtext.h (singleWidth): add LyXFont parameter
5192
5193         * rowpainter.C:
5194         * text2.C: adjust LyXText::singleWidth() calls
5195
5196         * text.C (redoParagraph): simplify row breaking logic
5197
5198
5199 2003-08-19  André Pönitz  <poenitz@gmx.net>
5200
5201         * funcrequest.C: initialize button_ member
5202
5203         * text3.C:
5204         * rowpainter.[Ch]: interface consolidation
5205
5206 2003-08-18  André Pönitz  <poenitz@gmx.net>
5207
5208         * BufferView.C:
5209         * BufferView_pimpl.C:
5210         * lyxfind.C:
5211         * paragraph_funcs.C:
5212         * rowpainter.C:
5213         * text3.C: remove LyXScreen::draw() and fitCursor calls
5214
5215         * BranchList.h: remove spurious semicolons
5216
5217         * MenuBackend.C: fix branchlist related crash
5218
5219 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5220
5221         * BranchList.[Ch]:
5222         * InsetList.[Ch]:
5223         * LColor.[Ch]:
5224         * LyXAction.C:
5225         * Makefile.am:
5226         * MenuBackend.[Ch]:
5227         * bufferparams.[Ch]:
5228         * factory.C:
5229         * lfuns.h:
5230         * lyxfunc.C:
5231         * text3.C: implements the 'branch inset'
5232         idea. This allows the output of various versions of a document
5233         from a single source version, selectively outputing or suppressing
5234         output of parts of the text.
5235         This implementation contains a 'branch list editor' in a separate
5236         tab of the document settings dialog. Branches are user definable
5237         and have a "display colour" to distinguish them on-screen.
5238
5239         ColorHandler was somewhat cleaned up.
5240         (1) make possible a dynamically growing LColor list by allowing
5241         the graphic context cache to grow along (vector);
5242         (2) eliminate an IMHO unnecessary step in colour allocation.
5243
5244 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5245
5246         * BufferView_pimpl.C: compile fix
5247
5248 2003-08-15  André Pönitz  <poenitz@gmx.net>
5249
5250         * rowpainter.C: remove extra metrics calls
5251
5252         * lyxtext.h: merge the two constructors into a single one,
5253           pass reference to owner's par list
5254
5255         * BufferView_pimpl.C:
5256         * text.C:
5257         * text2.C: adjust
5258
5259 2003-08-15  André Pönitz  <poenitz@gmx.net>
5260
5261         * lyxrow_funcs.[Ch]:
5262         * lyxtext.h:
5263         * paragraph.h:
5264         * paragraph_funcs.C:
5265         * rowpainter.C:
5266         * text.C:
5267         * text2.C:
5268         * text3.C:
5269         * text_funcs.C: split LyXText::rowlist_ into individual
5270         Paragraph::rows_ chunks
5271
5272         * BufferView.[Ch]:
5273         * BufferView_pimpl.[Ch]:
5274         * lyxfind.C:
5275         * lyxtext.h:
5276         * text3.C: remove toggleSelection()
5277
5278 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5279
5280         * bufferlist.C: beautify two alerts (shorter text of buttons)
5281         * buffer.C: Remove redundant ' ' from message
5282         * tabular.h:
5283         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5284         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5285         rename VALIGN_CENTER to VALIGN_MIDDLE
5286
5287 2003-08-11  André Pönitz  <poenitz@gmx.net>
5288
5289         * lyxtext.h (getPar):
5290         * text.C: new function
5291
5292 2003-08-11  André Pönitz  <poenitz@gmx.net>
5293
5294         * Makefile.am:
5295         * tracer.[Ch]: remove unneeded files
5296
5297         * InsetList.[Ch]: remove resizeInsetsLyXText()
5298
5299         * lyxtext.h:
5300         * text.C:
5301         * text2.C:
5302         * text3.C: merge insertParagraphs() and appendParagraph()
5303         remove breakAgain(), update()
5304
5305         * BufferView_pimpl.[Ch]:
5306         * bufferview_funcs.[Ch]:
5307         * lyxfunc.C:
5308         * paragraph.[Ch]:
5309         * rowpainter.C:
5310         * tabular.C: adjust after text & InsetList changes.
5311
5312 2003-08-08  André Pönitz  <poenitz@gmx.net>
5313
5314         * text.C (insertChar, backspace): replace rowlist fiddling
5315         with rebreak of full par
5316
5317         * lyxtext.h:
5318         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5319         checkParagraph, updateInset): removed
5320
5321 2003-08-07  André Pönitz  <poenitz@gmx.net>
5322
5323         * paragraph.C:
5324         * text3.C: merge some LFUN handlers, remove dead code
5325
5326 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5327
5328         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5329
5330 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5331
5332         * text2.C (DEPM): fix part of bug 1255 and 1256
5333
5334 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5335
5336         * BufferView_pimpl.C (workAreaDispatch): change to use
5337         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5338         that are no mouse related.
5339
5340 2003-08-05  André Pönitz  <poenitz@gmx.net>
5341
5342         * BufferView.[Ch]:
5343         * BufferView_pimpl.[Ch]:
5344         * bufferview_funcs.C:
5345         * text2.C:
5346         * text3.C: rip out "deep update"
5347
5348         * textcursor.[Ch] (last_sel_cursor): remove unused member
5349
5350 2003-08-04  André Pönitz  <poenitz@gmx.net>
5351
5352         * BufferView.[Ch]:
5353         * BufferView_pimpl.[Ch]:
5354         * ParagraphParameters.C:
5355         * bufferview_funcs.C:
5356         * lyx_cb.C:
5357         * lyxfind.C:
5358         * lyxfunc.C:
5359         * text.C:
5360         * text2.C:
5361         * text3.C: replace "complicated" BufferView::update(...) calls with
5362         simpler ones.
5363
5364         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5365
5366 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5367
5368         * Makefile.am (lyx_SOURCES): add paper.h
5369
5370 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5371
5372         * Makefile.am: move things around so that both lyx-qt and
5373         lyx-xforms can be built (according to --with-frontend). Then lyx
5374         is a symbolic link to lyx-[firstfrontend]
5375
5376 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5377
5378         * Always use std::endl with lyxerr
5379
5380 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5381
5382         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5383
5384 2003-08-01  André Pönitz  <poenitz@gmx.net>
5385
5386         * BufferView.[Ch]:
5387         * BufferView_pimpl.[Ch]:
5388         * lyxfunc.C:
5389         * text3.C: merge BufferView::repaint() and BufferView::update()
5390
5391 2003-08-01  José Matos  <jamatos@lyx.org>
5392
5393         * buffer.[Ch]: file_format is no longer a buffer data element.
5394
5395 2003-08-01  André Pönitz  <poenitz@gmx.net>
5396
5397         * BufferView.C:
5398         * lyxtext.h:
5399         * text.C:
5400         * text2.C: make redoParagraph more independent of current cursor
5401
5402         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5403         * text.C:
5404         * text2.C: remove unneeded members
5405
5406 2003-07-30  André Pönitz  <poenitz@gmx.net>
5407
5408         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5409
5410         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5411           create a single function...
5412
5413         * paragraph_funcs.C (moveItem): ... here.
5414
5415         * text.C:
5416           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5417
5418 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5419
5420         * LColor.[Ch]: Add comment and greyedout logical colors.
5421
5422 2003-07-30  André Pönitz  <poenitz@gmx.net>
5423
5424         * tabular.C: don't use Assert too heavily. This crashes where it
5425           shouldn't
5426
5427 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5428
5429         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5430         is disabled (bug 1232)
5431
5432 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5433
5434         * factory.C: limited 'arg' scope
5435
5436 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5437
5438         * factory.C: fixed Note submenu issues
5439
5440 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5441
5442         * factory.C: submenu for Note/Comment/Greyedout
5443
5444 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * lyx_main.C (LyX):
5447         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5448
5449 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5450
5451         * LaTeXFeatures.C:
5452         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5453         greyedout. Patch provided by Jürgen Spitzmüller.
5454
5455 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5456
5457         * kbmap.C (read): fix error message when reading bind files
5458
5459 2003-07-29  Angus Leeming  <leeming@lyx.org>
5460
5461         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5462         certainly does not do what it purports to do. I am doing it, and
5463         us, a favour by killing it.
5464
5465 2003-07-28  José Matos  <jamatos@lyx.org>
5466
5467         * buffer.C (readBody, do_writeFile):
5468         * paragraph.C(readParagraph): \end_document replaces \the_end.
5469
5470 2003-07-29  André Pönitz  <poenitz@gmx.net>
5471
5472         * BufferView.[Ch]:
5473         * BufferView_pimpl.[Ch]:
5474         * lyxfunc.C:
5475         * text2.C:
5476         * text3.C:
5477         * textcursor.[Ch]: remove toggleToggle & Co
5478
5479 2003-07-28  José Matos  <jamatos@fep.up.pt>
5480
5481         * buffer.C (readParagraph):
5482         * params_func (readParToken, readParagraph):
5483         * paragraph.C (write): \layout -> \begin_layout.
5484
5485 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * lyxlex_pimpl.C (setFile): clean up slightly.
5488
5489         * bufferparams.h: add compressed var
5490
5491         * buffer_funcs.C (readFile): adjust for LyXLex change
5492         (newFile): ditto + simplify
5493
5494         * buffer.C (writeFile): handle writing of compressed files
5495
5496         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5497         Check if the file is compressed and set a bufferparm if so.
5498
5499         * Makefile.am (lyx_LDADD): remove explicit -lz
5500
5501 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5502
5503         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5504         makeDocBookFile): put the real LyX version in the first line of
5505         the file
5506
5507         * version.h:
5508         * version.C.in: remove lyx_docversion
5509
5510         * tabular.C (write_attribute): add a template-based version to
5511         write enums properly
5512
5513 2003-07-28  André Pönitz  <poenitz@gmx.net>
5514
5515         * lyxtext.h:
5516         * text.C:
5517         * text2.C:
5518         * text3.C: use doubles again for x-coordinates. They are needed.
5519
5520 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * messages.C (getLocaleDir): use lyx_localedir()
5523
5524         * lyxlex_pimpl.C (setFile): compress stuff
5525
5526         * buffer.C (writeFile): add some compression stuff
5527         (do_writeFile): new func, dont call expliti close... will this
5528         breake anything?
5529
5530         * Makefile.am (lyx_LDADD): add -lz
5531
5532 2003-07-28  José Matos  <jamatos@fep.up.pt>
5533
5534         * buffer.C: increment file format.
5535         * paragraph_funcs (readParagraph, readParToken):
5536         * paragraph.C (readParagraph): add \end_layout.
5537
5538 2003-07-27  Angus Leeming  <leeming@lyx.org>
5539
5540         * Makefile.am: remove special casing for configure-time setting of
5541         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5542
5543         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5544         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5545
5546 2003-07-26  André Pönitz  <poenitz@gmx.net>
5547
5548         * paragraph_func.[Ch]:
5549         * paragraph.C (realizeFont): inline it whereever it is used
5550
5551         * rowpainter.C:
5552         * text.C:
5553         * text2.C:
5554         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5555
5556
5557 2003-07-26  André Pönitz  <poenitz@gmx.net>
5558
5559         *       lyxtext.h:
5560         * text.C:
5561         * text2.C: get rid of LyXText::need_break_row
5562
5563 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * toc.[Ch]: put namespace toc inside namespace lyx
5566
5567         * MenuBackend.C (expandToc2): adjust for lyx::toc
5568         (expandToc): ditto
5569
5570         * lyxfunc.C (dispatch): adjust for lyx::find
5571
5572         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5573         lyx::find instead. Reorganize a bit.
5574         (LyXReplace): rename to replace
5575         (LyXFind): rename to find
5576
5577         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5578         (dispatch): ditto
5579
5580 2003-07-26  André Pönitz  <poenitz@gmx.net>
5581
5582         * text.C (setHeightOfRow): restrict scope of temporary variable
5583
5584         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5585           code (never has been used?)
5586
5587 2003-07-27  Asger Alstrup  <alstrup@local>
5588
5589         * text.C (fill): Optimise algorithm to exploit that we can reuse
5590         the LyXFont for many characters.
5591         (setHeightOfRow): Same thing.
5592         (rowBreakPoint): Same thing.
5593
5594 2003-07-26  Asger Alstrup  <alstrup@local>
5595
5596         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5597
5598         * text.C (singleWidth): Spurious font copying in hot-spot
5599         singleWidth avoided. Reorder tests for arabic for efficiency.
5600
5601         * text.C (fill): handle empty paragraphs better.
5602
5603 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5604
5605         * ispell.C:
5606         * encoding.h: add includes
5607
5608         * lyxrc.C: remove reading of bind files
5609
5610         * lyx_main.C (init): setup bindings and menus only if we have a
5611         gui.
5612
5613         * kbmap.C (read): new method. Do the actual reading of bind
5614         files.
5615
5616         * converter.C (dvipdfm_options):
5617         * bufferparams.C:
5618         * lyxrc.C (read):
5619         (output): adapt PAPER_* enums.
5620
5621         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5622
5623         * bufferparams.h: remove paper-related enums from there
5624
5625         * paper.h: New file. A trivial header file to hold paper-related
5626         enums. It should later expand to contain many paper-related
5627         horrors access.
5628
5629         * lyxrc.C: declare extern displayTranslator
5630
5631 2003-07-27  José Matos  <jamatos@fep.up.pt>
5632
5633         * tabular.[Ch] (linuxdoc): add support for tables and figures
5634         (linuxdoc).
5635
5636 2003-07-27  José Matos  <jamatos@fep.up.pt>
5637
5638         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5639         consistency in both functions.
5640         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5641
5642 2003-07-26  Asger Alstrup  <alstrup@local>
5643
5644         * rowpainter.C (paintRows): Change algorithm to work directly on
5645         the insets rather than asking every character in the document
5646         whether its an inset.
5647
5648 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * buffer.C (openFileWrite): factorize some code
5651
5652 2003-07-26  Angus Leeming  <leeming@lyx.org>
5653
5654         * lyx_cb.C:
5655         * lyx_main.[Ch]: replace occurances of system_tempdir with
5656         os::getTmpDir().
5657
5658 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * rename Inset to InsetOld
5661
5662 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5663
5664         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5665         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5666         which I think is a bit clearer. EDIT is gone, since it was
5667         premature optimisation, and broken for mathed anyway.
5668         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5669         with cursor positioning in insets as well (math insets still do not
5670         work, but that's a different story anyway.) It mysteriously
5671         crashes sometimes with undo in the first paragraph, but I'm fairly
5672         confident that this is a compiler bug.
5673
5674 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5675
5676         * paragraph.C (Paragraph): adjust for new clone return type
5677         (operator==): ditto
5678         (copyIntoMinibuffer): ditto
5679
5680 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5681
5682         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5683         by not having a special case, and always doing a full rebreak of
5684         the document after undo.
5685
5686 2003-07-23  Angus Leeming  <leeming@lyx.org>
5687
5688         * factory.C (createInset): InsetExternal::setParams now takes a
5689         Buffer const * arg.
5690
5691 2003-07-23  Angus Leeming  <leeming@lyx.org>
5692
5693         * factory.C (createInset): changed interface to the external and
5694         graphics mailers' string2params functions.
5695
5696 2003-07-23  Angus Leeming  <leeming@lyx.org>
5697
5698         * factory.C (createInset): pass a
5699         Buffer const * parameter to InsetExternalMailer's string2params.
5700
5701 2003-07-22  John Levon  <levon@movementarian.org>
5702
5703         * Thesaurus.h: include the right aiksaurus header
5704
5705 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5706
5707         * MenuBackend.C (expand): check menu shortcuts unconditionally
5708
5709 2003-07-21  Angus Leeming  <leeming@lyx.org>
5710
5711         * factory.C (createInset): pass a
5712         buffer_path parameter to InsetGraphicsMailer's string2params.
5713
5714 2003-07-21  Angus Leeming  <leeming@lyx.org>
5715
5716         * BufferView_pimpl.C (buffer):
5717         * buffer.C (d-tor):
5718         * lyx_main.C (LyX):
5719         * lyxfunc.C (dispatch):
5720         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5721         rather than the grfx shortcut.
5722
5723 2003-07-21  André Pönitz  <poenitz@gmx.net>
5724
5725         * rowpainter.C: remove unused variables
5726
5727         * tabular_funcs.C:
5728         * tabular_funcs.h: move to tabular.C
5729         * Makefile.am: adjust
5730
5731         * tabular.[Ch]: basic optical cleaning
5732
5733         * author.h: pass references, not values
5734
5735 2003-07-18  André Pönitz  <poenitz@gmx.net>
5736
5737         * lyxtext.h:
5738         * metricsinfo.C:
5739         * metricsinfo.h:
5740         * rowpainter.C:
5741         * text.C:
5742         * text2.C:
5743         * text3.C: two-phase drawing for InsetText and InsetTabular
5744         some float -> int changes.
5745
5746 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * lyx_main.C: fix the fix
5749
5750 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5751
5752         * lyx_main.C: fix a crash in batch mode if no files specified
5753         * converter.C: ws
5754
5755 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * format.[Ch] (papersize): moved to BufferParams
5758         * converter.[Ch] (dvips_options): moved to BufferParams
5759         (dvipdfm_options): moved to anon namespace
5760         * bufferparams.[Ch]: added above functions.
5761
5762 2003-07-17  André Pönitz  <poenitz@gmx.net>
5763
5764         * lyxtext.h:
5765         * rowpainter.C:
5766         * text2.C: don't call inset->update() anymore
5767
5768         * metricsinfo.[Ch]: add convenience constructor
5769
5770 2003-07-16  André Pönitz  <poenitz@gmx.net>
5771
5772         * lyxcursor.[Ch]:
5773         * lyxfunc.[Ch]:
5774         * text.C:
5775         * text2.C: replace the LyXCursor::irow_ member with
5776          on-demand computation of the value
5777
5778 2003-07-16  John Levon  <levon@movementarian.org>
5779
5780         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5781
5782 2003-07-15  André Pönitz  <poenitz@gmx.net>
5783
5784         * text.C:
5785         * text2.C: remove no more needed refresh_row
5786
5787 2003-07-15  André Pönitz  <poenitz@gmx.net>
5788
5789         * lyxtext.h:
5790         * rowpainter.C:
5791         * text2.C:
5792         * text3.C: refresh_status tristate -> need_update bool
5793
5794 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5795
5796         * lyxtext.h (init): remove reinit argument (act as if always true)
5797         * text2.C: adjust to that
5798
5799 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5800
5801         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5802         * text3.C: use it to delete selections in some cases
5803         (bugs 441, 673, 702, 954).
5804
5805 2003-07-14  André Pönitz  <poenitz@gmx.net>
5806
5807         * rowpainter.[Ch]: reduce interface
5808
5809 2003-07-14  André Pönitz  <poenitz@gmx.net>
5810
5811         * BufferView_pimpl.C:
5812         * text2.C: adjust after removing unused BufferView * argument
5813
5814 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5815
5816         * text2.C (init): fix a crash fired on resize
5817
5818 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5819
5820         * buffer.[Ch]: added new closing signal
5821         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5822         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5823         BufferView::Pimpl via the closing the signal
5824
5825 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5826
5827         * buffer.[Ch]: take out all bv-related from buffer
5828         * BufferView.C:
5829         * BufferView_pimpl.[Ch]: connect to new signals
5830         * CutAndPaste.C: removed useless asserts
5831         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5832         * lyxvc.[Ch]:
5833         * vc-backend.[Ch]:
5834         * lyxfunc.C: moved view-related funciontality from vc here
5835         * paragraph.C: removed outdated comments
5836         * text.C: ws
5837
5838 2003-07-10  André Pönitz  <poenitz@gmx.net>
5839
5840         * BufferView_pimpl.C:
5841         * tabular.h:
5842         * tabular_funcs.C:
5843         * text.C:
5844         * text2.C: remove InsetText::InnerCache, clean up consequences
5845
5846 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5847
5848         * ispell.C: fix two typos in error messages
5849
5850 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5851
5852         * Extend Note inset to other forms of annotation like Comment
5853         and Greyedout. Right button click gives dialog.
5854
5855         Files modified or added (+):
5856
5857         * insetnote.[Ch]
5858         * FormNote.[Ch]      +
5859         * ControlNote.[Ch]   +
5860         * form_note.fd       +
5861         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5862         frontends/controllers
5863         * xforms/Dialogs.C
5864         * factory.C
5865
5866 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5867
5868         * aspell.C: add missing namespace lyx::support
5869
5870 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5871
5872         * BufferView.[Ch] (newFile): Add
5873         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5874         * LaTeX.[Ch] (message): added this signal and use it
5875         * buffer.[Ch] (busy, message): added these signals and use them
5876         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5877         * converter.C:
5878         * exporter.C:
5879         * format.C:
5880         * importer.C: use buffer signals instead of direct bv calling
5881         * lyx_cb.[Ch] (ShowMessage): removed
5882         * lyx_main.C:
5883         * lyxfunc.C:
5884         * paragraph_funcs.C:
5885         * text2.C: use buffer signals
5886
5887 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * introduce namespace lyx::graphics
5890
5891 2003-07-02  André Pönitz  <poenitz@gmx.net>
5892
5893         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5894
5895 2003-07-01  André Pönitz  <poenitz@gmx.net>
5896
5897         * text.C:
5898         * text2.C:
5899         * text3.C:
5900         * text_funcs.[Ch]:
5901         * textcursor.h:
5902         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5903           text*.C to text_func.C
5904
5905 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * introduce namespace lyx::support
5908
5909 2003-06-30  André Pönitz  <poenitz@gmx.net>
5910
5911         * Chktex.C:
5912         * funcrequest.C:
5913         * lyxtext.h:
5914         * text.C: re-enable --with-included-string
5915
5916 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * textcursor.C: add <config.h>
5919
5920         * text.C (getWord): remove const from word_location arg
5921
5922         * lyxvc.C (getLogFile): fix const type order
5923
5924         * lyxtext.h: remove const from word_location arg, add arg name
5925
5926         * lyxlayout.h: currect type on labeltype.
5927
5928         * importer.C: correct \file
5929
5930         * converter.C (intToFormat): use std:: on ret val, ws changes
5931
5932         * bufferlist.h: correct \file
5933
5934         * buffer.C (makeLinuxDocFile): fix const type order
5935         (makeDocBookFile): ditto
5936         (fillWithBibKeys): use std:: on stdlib args.
5937
5938         * CutAndPaste.C: fix authors.
5939         (availableSelections): use std:: on return vector
5940
5941 2003-06-27  André Pönitz  <poenitz@gmx.net>
5942
5943         * BufferView_pimpl.C:
5944         * bufferview_funcs.C:
5945         * lyxcursor.C:
5946         * lyxcursor.h:
5947         * lyxfunc.C:
5948         * lyxtext.h:
5949         * rowpainter.C:
5950         * text.C:
5951         * text2.C:
5952         * text3.C: remove LyXCursor::row_ member
5953
5954         * lyxtext.h:
5955         * text.C: rename fullRebreak() to partialRebreak() and implement
5956           a fullRebreak() that really bereks fully
5957
5958         * textcursor.h: new struct for cursor-related data
5959
5960 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5961
5962         * lyx_main.C (LyX): get full path of document loaded on the
5963         command line
5964
5965 2003-06-26  André Pönitz  <poenitz@gmx.net>
5966
5967         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5968           remove unused/broken operator>,<,>=.
5969
5970         *       text.C: remove only use of broken operator<= in an Assert().
5971
5972 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5973
5974         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5975         moved errorlist_.clear to showErrorList
5976
5977 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5978
5979         * converter.C (scanLog, runLaTeX):
5980         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5981         move the bv->showErrorList call to the callers
5982         * lyxfunc.C: i.e. here...
5983         * text2.C: and here
5984         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5985         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5986         namespace, the second to...
5987         * buffer_funcs (BufferFormat, parseErrors): added
5988         * errorlist.C (ErrorList(TeXErrors const &)): removed
5989
5990 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5991
5992         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5993
5994 2003-06-24  "Garst R. Reese" <reese@isn.net>
5995
5996         * debug.C: fix typo
5997
5998 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5999
6000         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6001
6002         * version.C.in: change docversion to 1.4
6003
6004 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * buffer.C: fix a bug just introduced
6007
6008 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * buffer.[Ch]: added the parseError signal and use it, removed
6011         sgmlError
6012         * BufferView.[Ch] (addError): moved to ...
6013         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6014         to the Buffer::parseError signal to catch (guess what) parse errors
6015         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6016
6017 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6018
6019         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6020         ability to create a buffer and to return an existing one from
6021         the list. Moved these functions to...
6022         * buffer_funcs.[Ch]: added
6023         * BufferView.[Ch] (loadLyXFile): added
6024         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6025         job removed from bufferlist::loadLyXFile.
6026         * buffer.C (setReadOnly): make it work without view
6027         (i.e added an if (users))
6028
6029 2003-06-19  Angus Leeming  <leeming@lyx.org>
6030
6031         * lfuns.h:
6032         * LyXAction.C (init):
6033         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6034         with LFUN_DIALOG_SHOW <name> <data>.
6035
6036 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6037
6038         * CutAndPaste.C (availableSelections): small compilation fix for
6039         ancient (gcc 2.9x) compilers
6040
6041 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * text3.C (cursorNext): add tmp var
6044
6045         * text2.C (updateCounters): for function calling out of for clause
6046         (replaceSelectionWithString): ditto
6047         (insertStringAsParagraphs): ditto
6048         (getColumnNearX): add tmp var
6049         (setCursorFromCoordinates): add tmp var
6050         (cursorDownParagraph): add tmp var
6051         (deleteEmptyParagraphMechanism): add tmp var
6052
6053         * text.C (insertChar): add tmp var
6054
6055         * rowpainter.C (paintDepthBar): add tmp var
6056
6057         * CutAndPaste.C (availableSelections): potentially check all
6058         paragraphs in a cut to fill the shown strings.
6059
6060 2003-06-18  André Pönitz  <poenitz@gmx.net>
6061
6062         * kbmap.[Ch]: use vector<> instead of list<>
6063
6064 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6065
6066         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6067         pasteSelection with index
6068
6069         * text2.C (pasteSelection): modify, call pasteSelection with index
6070
6071         * paragraph.C (asString): reimplement version with no interval to
6072         call the one with interval.
6073
6074         * lyxtext.h: add index arg to pasteSelection
6075
6076         * MenuBackend.C (MenuItem): handle PasteRecent
6077         (Menu::read::Menutags): add md_pasterecent
6078         (read): handle it
6079         (expandPasteRecent): new function
6080         (expand): use it
6081
6082         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6083
6084         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6085         the limited stack
6086         (availableSelections): new function
6087
6088 2003-06-17  Angus Leeming  <leeming@lyx.org>
6089
6090         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6091
6092 2003-06-17  Angus Leeming  <leeming@lyx.org>
6093
6094         * lfuns.h:
6095         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6096
6097         * lyxfunc.C (dispatch): invoke it.
6098
6099 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6100
6101         * iterators.C (operator++, ParPosition): reintroduce some
6102         const_cast for the benefit of older compilers.
6103
6104 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6105
6106         * text3.C (dispatch): do not modify clipboard when doing
6107         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6108         LFUN_DELETE_SKIP on a selection selection
6109
6110 2003-06-16  André Pönitz  <poenitz@gmx.net>
6111
6112         * BufferView.C:
6113         * buffer.C:
6114         * buffer.h:
6115         * paragraph.C:
6116         * tabular.[Ch]: IU of clone() and getLabelList();
6117
6118 2003-06-13  André Pönitz  <poenitz@gmx.net>
6119
6120         * tabular.h: compactification
6121
6122 2003-06-12  André Pönitz  <poenitz@gmx.net>
6123
6124         * tabular.C:
6125         * tabular.h:
6126         * tabular_funcs.h: some renaming plus whitespace
6127
6128 2003-06-12  André Pönitz  <poenitz@gmx.net>
6129
6130         * BufferView.C:
6131         * BufferView_pimpl.C:
6132         * CutAndPaste.C:
6133         * buffer.C:
6134         * iterators.[Ch]:
6135         * lyxfunc.C:
6136         * text.C:
6137         * toc.C: Return a Paragraph & for ParIterator::operator*()
6138
6139 2003-06-11  John Levon  <levon@movementarian.org>
6140
6141         * lyx_main.C:
6142         * ToolbarBackend.h:
6143         * ToolbarBackend.C: add "Toolbars" section and
6144         put the flags there
6145
6146 2003-06-10  Angus Leeming  <leeming@lyx.org>
6147
6148         * lfuns.h:
6149         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6150
6151         * lyxfunc.C (dispatch): invoke it.
6152
6153 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * main.C: protect <ios> with HAVE_IOS
6156         (main): protect sync_with_stdio with HAVE_IOS
6157
6158 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6159
6160         * text2.C (cutSelection): adjust
6161         (pasteSelection): adjust
6162
6163         * messages.C: handle get of empty string
6164
6165         * main.C (main): use sync_with_stdio(false)
6166
6167         * lyxfunc.C (dispatch): adjust
6168
6169         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6170         (WriteAs): remove unneeded BufferView arg.
6171
6172         * bufferparams.h: use correct types on papersize, papersize2 and
6173         paperpackage.
6174
6175         * bufferparams.C (readToken): adjust for type
6176         (writeLaTeX): add missing cases to switch.
6177
6178         * bufferlist.C (quitWriteBuffer): adjust
6179         (close): adjust
6180
6181         * buffer.C (asciiParagraph): remove some commented code.
6182
6183         * CutAndPaste.C: remove current_view extern variable.
6184         (cutSelection): add BufferParams arg.
6185         (eraseSelection): add BufferParams arg.
6186         (pasteSelection): add Buffer const & arg
6187
6188 2003-06-07  John Levon  <levon@movementarian.org>
6189
6190         * buffer.C:
6191         * paragraph_funcs.C:
6192         * paragraph_pimpl.C:
6193         * text.C:
6194         * text2.C:
6195         * paragraph.h:
6196         * paragraph.C: allow InsetERT to freely space lines,
6197         and some consolidation of code
6198
6199 2003-06-06  José Matos  <jamatos@fep.up.pt>
6200
6201         * buffer.C (makeDocBookFile): fix bug #821
6202
6203 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6204
6205         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6206
6207 2003-06-04  Angus Leeming  <leeming@lyx.org>
6208
6209         * buffer.C: bump format to 224.
6210
6211 2003-06-05  André Pönitz  <poenitz@gmx.net>
6212
6213         * text2.C (redoParagraphs): remove two const_cast<>
6214
6215 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6216
6217         * ParagraphList.h: remove last remnants of NO_STD_LIST
6218
6219 2003-06-03  Angus Leeming  <leeming@lyx.org>
6220
6221         * factory.C (createInset): small change to the way InsetExternal's params
6222         are set.
6223
6224 2003-06-04  André Pönitz  <poenitz@gmx.net>
6225
6226         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6227
6228         * paragraph_pimpl.h:
6229         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6230
6231         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6232
6233         * undo_funcs.C: make some simple cases of undo work again
6234
6235 2003-06-03  John Levon  <levon@movementarian.org>
6236
6237         * ispell.C: HPUX doesn't have sys/select.h
6238         (from Albert Chin)
6239
6240 2003-06-03  John Levon  <levon@movementarian.org>
6241
6242         * CutAndPaste.C: update tabular and include inset
6243         buffer references
6244
6245         * buffer.h:
6246         * paragraph.h:
6247         * paragraph.C: remove owningBuffer(), don't pass Buffer
6248         to clone()
6249
6250         * factory.C: insetGraphicsParams changed
6251
6252 2003-06-02  John Levon  <levon@movementarian.org>
6253
6254         * LyXAction.C:
6255         * factory.C:
6256         * lfuns.h:
6257         * lyxfunc.C:
6258         * text3.C: remove insetparent
6259
6260 2003-06-02  John Levon  <levon@movementarian.org>
6261
6262         * buffer.h:
6263         * buffer.C: fix inset_iterator.end(), move out of line
6264         (bug 1149)
6265
6266 2003-06-01  John Levon  <levon@movementarian.org>
6267
6268         * text3.C: use a proper cut/paste when doing inset
6269         insert (from Jürgen Spitzmüller)
6270
6271 2003-06-01  John Levon  <levon@movementarian.org>
6272
6273         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6274
6275 2003-05-30  André Pönitz  <poenitz@gmx.net>
6276
6277         * rowpainter.C: unify second drawing phase
6278
6279 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * trans_mgr.C: remove one case of current_view
6282
6283         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6284
6285         * paragraph_funcs.h: remove paragraph.h include
6286
6287         * paragraph.h: delete NO_STD_LIST stuff
6288
6289         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6290
6291         * buffer.h: remove paragraph.h include
6292
6293         * ParagraphList.C: delete file
6294
6295         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6296
6297         * toc.C (getTocList): adjust
6298
6299         * paragraph_pimpl.C (validate): adjust
6300
6301         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6302
6303         * paragraph.C (Paragraph): adjust
6304         (getPositionOfInset): use const_iterator, adjust
6305         (bibitem): use const_iterator, adjust
6306         (setInsetOwner): adjust
6307
6308         * iterators.C (operator++): adjust
6309
6310         * InsetList.[Ch]: Replace selfmade iterator with standard
6311         vector::iterator also introduce const_iterator. Remove getPos,
6312         getInset and setInset from InsetTable. Adjust accordingly.
6313
6314         * BufferView.C (lockInset): adjust
6315         (ChangeInsets): adjust
6316
6317         * tabular.[Ch]: delete commented same_id functions
6318
6319 2003-05-28  John Levon  <levon@movementarian.org>
6320
6321         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6322
6323 2003-05-28  André Pönitz  <poenitz@gmx.net>
6324
6325         * metricsinfo.[Ch]: remove 'fullredraw' member
6326
6327 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6328
6329         * lyxtextclass.C (operator): remove caching.
6330
6331 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * text3.C: adjust
6334
6335         * text2.C (cursorBottom): adjust
6336         (setCounter): use ParagraphList::find, adjust
6337
6338         * text.C (workWidth): use ParagraphList::find, adjust
6339
6340         * lyxcursor.C (LyXCursor): adjust
6341
6342         * buffer.C (inset_iterator): adjust
6343
6344         * ParagraphList.h: make iterator(value_type) private, make
6345         ParagraphList a friend of iterator.
6346
6347         * ParagraphList.C (find): new function
6348
6349         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6350
6351 2003-05-27  André Pönitz  <poenitz@gmx.net>
6352
6353         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6354
6355 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6356
6357         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6358
6359 2003-05-26  John Levon  <levon@movementarian.org>
6360
6361         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6362
6363 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * remove same_id from function signatures, adjust.
6366
6367 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6370
6371         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6372
6373         * paragraph.C (Paragraph): get rid of same_ids parameter
6374
6375         * ParagraphList.C (insert): adjust
6376         (push_back): adjust
6377
6378 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * paragraph_funcs.C (breakParagraph): adjust
6381         (breakParagraphConservative): adjust
6382
6383         * buffer.C (readParagraph): adjust
6384
6385         * ParagraphList.C (insert): take a reference instead of a pointer
6386         (insert): adjust
6387
6388         * paragraph.[Ch] (id): new function
6389
6390         * bufferlist.C (newFile): adjust
6391
6392         * ParagraphList.C (ParagraphList): adjust
6393         (assign): adjust
6394         (push_back): take a reference instead of a pointer.
6395
6396         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6397
6398         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6399         instead.
6400
6401         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6402         set else use old code.
6403
6404         * ParagraphList.C: remove all NO_NEXT code and only compile this
6405         code of NO_STD_LIST is set.
6406
6407 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6408
6409         * BufferView_pimpl.C:
6410         * TextCache.C:
6411         * TextCache.h:
6412         * bufferlist.C:
6413         * errorlist.h:
6414         * format.C:
6415         * format.h:
6416         * graph.C:
6417         * lyxfunc.C:
6418         * lyxrc.C:
6419         * graphics/GraphicsConverter.C:
6420         * graphics/PreviewLoader.C: header adjustment
6421
6422 2003-05-23  Angus Leeming  <leeming@lyx.org>
6423
6424         * LaTeXFeatures.[Ch] (useBabel): new method.
6425         * bufferparams.C (writeLaTeX): use it.
6426
6427 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * ParagraphList.h (set): remove unused function.
6430
6431 2003-05-23  André Pönitz  <poenitz@gmx.net>
6432
6433         * BufferView.C:
6434         * BufferView_pimpl.C:
6435         * buffer.C:
6436         * buffer.h:
6437         * lyxfunc.C:
6438         * undo_funcs.C: setUndo reworked
6439
6440         * iterators.[Ch]: add access to topmost ParagraphList
6441
6442         * lyxtext.[Ch] (workWidth): add a const
6443
6444 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6445
6446         * texrow.[Ch] (increasePos): remove function
6447         * exporter.C (export): removed unused var and outdated comment
6448
6449 2003-05-23  Angus Leeming  <leeming@lyx.org>
6450
6451         * latexrunparams.h: rename fragile as moving_arg.
6452         * paragraph.C (simpleTeXOnePar): ditto.
6453         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6454
6455 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6458         (createUndo): ditto
6459         (textUndoOrRedo): comment out a currently unused var.
6460
6461         * paragraph.h (NO_NEXT): enable NO_NEXT
6462
6463         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6464
6465         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6466
6467         * exporter.C (Export): adjust for removeAutoInsets removal.
6468
6469         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6470
6471         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6472
6473         * BufferView.[Ch] (removeAutoInsets): delete function
6474
6475 2003-05-22  Angus Leeming  <leeming@lyx.org>
6476
6477         * latexrunparams.h: add a free_spacing variable.
6478
6479         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6480         to pass moving_arg, as the data is stored in runparams.fragile.
6481
6482         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6483         to Inset::latexOptional or to simpleTeXOnePar.
6484
6485         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6486         free_spacing arg to Inset::latexOptional.
6487
6488         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6489         free_spacing arg.
6490
6491 2003-05-22  Angus Leeming  <leeming@lyx.org>
6492
6493         * latexrunparams.h: add fragile and use_babel variables.
6494
6495         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6496         * buffer.C (makeLaTeXFile): store this returned value in
6497         runparams.use_babel, thus passing it to the inset::latex methods.
6498
6499         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6500         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6501
6502         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6503         longer has a fragile arg, as it is stored in runparams.fragile.
6504
6505         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6506         moving_arg parameter as the data is stored in runparams.fragile.
6507
6508         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6509         a fragile parameter as the data is stored in runparams.fragile.
6510
6511 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6514
6515 2003-05-22  Angus Leeming  <leeming@lyx.org>
6516
6517         * latexrunparams.h: add a 'bool nice' which defaults to false.
6518
6519         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6520         now encapsulated within runparams.
6521
6522         * bufferlist.C (updateIncludedTeXfiles):
6523         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6524
6525 2003-05-22  Angus Leeming  <leeming@lyx.org>
6526
6527         * latexrunparams.h: new file containing struct LatexRunParams.
6528         * Makefile.am: add new file.
6529
6530         * LaTeX.[Ch] (c-tor, run):
6531         * buffer.[Ch] (makeLaTeXFile):
6532         * bufferlist.[Ch] (updateIncludedTeXfiles):
6533         * converter.C (convert, scanLog):
6534         * converter.[Ch] (runLaTeX):
6535         * exporter.C (Export):
6536         * paragraph.[Ch] (simpleTeXOnePar):
6537         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6538         * paragraph_funcs.[Ch] (latexParagraphs):
6539         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6540         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6541         pass around a LatexRunParams parameter.
6542
6543 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * paragraph.[Ch]: remove unused constructor
6546
6547         * ParagraphList.C (erase): new function, taking two iterators
6548
6549 2003-05-22  André Pönitz  <poenitz@gmx.net>
6550
6551         * undo_funcs.C: remove duplicated code
6552
6553         * iterator.[Ch]: operator=
6554
6555 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * tabular.C (SetMultiColumn): ws changes
6558
6559         * rowpainter.C (paintFirst): get rid of a ->previous
6560
6561         * lyx_cb.C (getPossibleLabel): parlist simplification
6562
6563         * BufferView.C (ChangeInsets): simplify slightly.
6564
6565 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6566
6567         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6568         * lfuns.h: new LFUN_SPACE
6569         * lyxfunc.C: protected space has a new lfun
6570         * paragraph_funcs.C: read new space insets
6571         * text3.C:
6572         * factory.C: handle new space insets
6573
6574 2003-05-22  André Pönitz  <poenitz@gmx.net>
6575
6576         * BufferView.C:
6577         * BufferView_pimpl.C:
6578         * buffer.[Ch]:
6579         * lyxfunc.C:
6580         * undo_funcs.C: return a ParIterator from getParFromID.
6581
6582         * iterators.[Ch]: add two const's
6583
6584 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * toc.C (getTocList): adjust
6587
6588         * iterators.[Ch]: rework for parlist
6589
6590         * buffer.C (par_iterator_begin): adjust
6591         (par_iterator_end): adjust
6592
6593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6594
6595         * BufferView.C (removeAutoInsets): adjust
6596         (ChangeInsets): adjust
6597
6598 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6599
6600         * text.C (top_y): fix bug 1110
6601
6602 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6603
6604         * errorlist.[Ch]: added
6605         * buffer.C:
6606         * BufferView.[Ch]:
6607         * BufferView_pimpl.C:
6608         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6609         instead
6610
6611 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * Makefile.am: ensure that lyx is relinked upon changes to the
6614         various "convenience" libs.
6615
6616 2003-05-20  Angus Leeming  <leeming@lyx.org>
6617
6618         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6619         files are compiled in alphabetical order again.
6620
6621         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6622
6623 2003-05-19  Angus Leeming  <leeming@lyx.org>
6624
6625         * gettext.[Ch]: remove "char const * _(char const *)".
6626
6627 2003-05-19  André Pönitz  <poenitz@gmx.net>
6628
6629         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6630
6631         * Makefile.am:
6632         * BufferView.C:
6633         * DepTable.h:
6634         * LaTeXFeatures.C:
6635         * buffer.C:
6636         * lyxfont.C:
6637         * lyxlex.h:
6638         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6639
6640 2003-05-19  André Pönitz  <poenitz@gmx.net>
6641
6642         * buffer.C:
6643         * lyxlayout.[Ch]:
6644         * lyxtextclass.[Ch]:
6645         * paragraph.C:
6646         * paragraph_funcs.[Ch]:
6647         * text2.C:
6648         * text3.C: more insetenv work
6649
6650 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6651
6652         * ParagraphParameters.C (params2string): small bug fixed
6653
6654 2003-05-16  André Pönitz  <poenitz@gmx.net>
6655
6656         * debug.C:
6657         * bufferview_funcs.C: patch from Kornel Benko to prevent
6658           crash when _(...) is called twice in a statement
6659
6660 2003-05-16  André Pönitz  <poenitz@gmx.net>
6661
6662         * BufferView.C:
6663         * lyxfunc.C:
6664         * text.C:
6665         * text2.C:
6666         * text3.C:
6667         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6668
6669 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6670
6671         * lyx_main.C (init): remove spurious static_cast
6672
6673 2003-05-14  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView.C: fix format string
6676
6677 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6678
6679         * BufferView.[Ch] (insertErrors): removed
6680         * BufferView.[Ch] (showErrorList): added
6681         * buffer.C (runChkTeX):
6682         * converter.C (scanLog): call showErrorList instead of inserterrors
6683
6684 2003-05-13  André Pönitz  <poenitz@gmx.net>
6685
6686         * BufferView_pimpl.C:
6687         * buffer.C:
6688         * bufferview_func.C:
6689         * MenuBackend.C:
6690         * lyxfunc.C:
6691         * lyxrc.C:
6692         * tex-accent.C:
6693         * text3.C:
6694         * toc.C:
6695         * tabular_funcs.h: tostr() from its own header
6696
6697         * ParagraphParameters.C:
6698         * ToolbarBackend.C:
6699         * bufferparams.C:
6700         * format.C:
6701         * lyxlex_pimpl.C:
6702         * text3.C: STRCONV()
6703
6704 2003-05-12  André Pönitz  <poenitz@gmx.net>
6705
6706         * BufferView.C:
6707         * BufferView_pimpl.C:
6708         * CutAndPaste.C:
6709         * LaTeX.C:
6710         * LaTeXFeatures.C:
6711         * ParagraphParameters.C:
6712         * buffer.C:
6713         * bufferlist.C:
6714         * bufferparams.C:
6715         * bufferview_funcs.C:
6716         * converter.C:
6717         * counters.C:
6718         * debug.C:
6719         * exporter.C:
6720         * format.C:
6721         * importer.C:
6722         * lyx_cb.C:
6723         * lyx_main.C:
6724         * lyxfont.C:
6725         * lyxfunc.C:
6726         * lyxvc.C:
6727         * paragraph.C:
6728         * paragraph_funcs.C:
6729         * tabular.C:
6730         * tabular_funcs.C:
6731         * text2.C:
6732         * text3.C:  boost::format -> bformat  all over the place
6733
6734
6735 2003-05-09  André Pönitz  <poenitz@gmx.net>
6736
6737         * LColor.[Ch]: Pimpl the #include <map> away
6738
6739 2003-05-09  John Levon  <levon@movementarian.org>
6740
6741         * bufferlist.C: never remove emergency saves
6742
6743 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * Makefile.am: better lib building
6746
6747 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6750         instead.
6751         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6752         (simpleTeXSpecialChars): adjust
6753         (simpleTeXSpecialChars): adjust
6754         * paragraph.C (simpleTeXOnePar): adjust
6755         * buffer.C (makeLaTeXFile): adjust
6756
6757         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6758
6759         * text2.C (changeDepth): parlist cleanup
6760         (getColumnNearX): ditto
6761
6762         * rowpainter.C (getLabelFont): parlist cleanup
6763
6764         * bufferlist.C (newFile): parlist cleanup
6765
6766         * CutAndPaste.C (eraseSelection): parlist cleanup
6767
6768         * BufferView_pimpl.C (trackChanges): parlist cleanup
6769         (dispatch): ditto
6770
6771         * BufferView.C (lockInset): parlist cleanup.
6772         (ChangeInsets): ditto
6773
6774 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6775
6776         * CutAndPaste.h: Update file header.
6777
6778         * CutAndPaste.C: Update file header.
6779         Store the parts cut out of the Document in a limited_stack.
6780         (copySelection): adjust
6781         (pasteSelection): new function, takes the index in the limited stack.
6782         (nrOfParagraphs): adjust
6783         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6784         simplify error inset insertion.
6785         (checkPastePossible): adjust
6786
6787 2003-05-06  John Levon  <levon@movementarian.org>
6788
6789         * text2.C: don't cast wrap inset to float
6790
6791 2003-05-05  André Pönitz  <poenitz@gmx.net>
6792
6793         * iterator.C:
6794         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6795
6796         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6797           few naked Paragraph *.
6798
6799 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6800
6801         * bufferparams.C: Output warning if a document with missing
6802         TeX document class is loaded
6803         * exporter.C: Disable TeX exports if the document class is missing
6804         * lyxtextclass.C:
6805         * lyxtextclass.h:
6806         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6807         isTeXClassAvailable()
6808
6809 2003-05-03  John Levon  <levon@movementarian.org>
6810
6811         * BufferView.h:
6812         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6813         explicit cursor show/hide
6814
6815         * BufferView_pimpl.h:
6816         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6817         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6818
6819         * lyxfunc.C: hide cursor before dispatching.
6820
6821         * lyx_cb.C:
6822         * lyxfind.C:
6823         * text.C:
6824         * text3.C: remove explicit cursor hides
6825
6826 2003-05-02  André Pönitz  <poenitz@gmx.net>
6827
6828         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6829
6830         * undo_funcs.C:
6831         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6832           linked lists
6833
6834         * text2.C: tiny whitespace
6835
6836 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * undo_funcs.C: almost only ws changes.
6839
6840         * ParagraphList.C (splice): just return if pl is empty.
6841
6842 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * ParagraphList.C (splice): new function.
6845
6846         * CutAndPaste.C (pasteSelection): use it
6847
6848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * CutAndPaste.C (pasteSelection): remove the last next and
6851         previous from this file.
6852
6853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * CutAndPaste.C (pasteSelection): more clean up, user proper
6856         ParagraphList functions for pasteing.
6857
6858         * ParagraphList.C (insert): new function, three arg insert
6859
6860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * ParagraphList.C (insert): new function, three arg insert
6863
6864         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6865         not on paragraphs.
6866
6867 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6870
6871 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6874
6875 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6878         (copySelection): clean up a bit.
6879         (pasteSelection): use make_pair
6880
6881         * ParagraphList.C (ParagraphList): implement copy constructor
6882         (operator=): implement, base on copy constructor.
6883         (assign): new func
6884
6885         * paragraph.C (erase): return a bool
6886
6887         * paragraph_pimpl.C (erasePos): remove function, move contents...
6888         (erase): ... here. Return a bool.
6889         (erase): call erase instead of erasePos.
6890
6891 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6892
6893         * ParagraphList.h: define PitPosPair
6894         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6895         ParagraphList, fix a bug on pasting multiple pars
6896         * text2.C: change interface to C&P
6897
6898 2003-04-30  André Pönitz  <poenitz@gmx.net>
6899
6900         * undo_func.C: revert part of yesterday's patch 2
6901
6902 2003-04-30  John Levon  <levon@movementarian.org>
6903
6904         * LColor.C: s/tabular/table/
6905
6906 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * text3.C (dispatch): do not convert iterator -> pointer
6909         * undo_funcs.C (setCursorParUndo): ditto
6910         * text_funcs.C (transposeChars): ditto
6911
6912         * text2.C (setLayout): ws changes only
6913
6914         * text.C (breakParagraph): do not convert iterator -> pointer
6915         (insertChar): ditto
6916         (acceptChange): ditto
6917         (rejectChange): ditto
6918         (changeCase): ditto
6919         (Delete): ditto
6920         (backspace): ditto
6921
6922         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6923         pointer
6924
6925 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6926
6927         * text3.C (gotoInset): YABG (yet another bad getChar)
6928
6929 2003-04-29  André Pönitz  <poenitz@gmx.net>
6930
6931         * paragraph.h: make operator= private unimplemented as long as
6932           it is unusable
6933
6934         * ParagraphList.C: whitespace
6935
6936         * paragraph.[Ch]:
6937         * paragraph_pimpl.[Ch]:
6938         * paragraph_funcs.C:
6939         * CutAndPaste.C:
6940         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6941
6942         * text2.C:
6943           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6944
6945 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6946
6947         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6948         * paragraph.[Ch] (erase):
6949         * paragraph_pimpl.[Ch] (erase): change return type and value
6950         * text2.C (cutSelection): some rework
6951
6952 2003-04-28  John Levon  <levon@movementarian.org>
6953
6954         * bufferlist.C: changes for unsaved changes dialog
6955
6956 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * bufferlist.C (newFile): set language (messages_) for new
6959         documents also.
6960
6961         * buffer.C (readFile): ws changes only.
6962
6963 2003-04-28  André Pönitz  <poenitz@gmx.net>
6964
6965         * undo_funcs.C:
6966         * lyxfunc.C:
6967         * buffer.[Ch]:
6968         * BufferView_pimpl.C:
6969         * BufferView.C: getParFromID related ParagraphList::iterator changes
6970
6971 2003-04-28  André Pönitz  <poenitz@gmx.net>
6972
6973         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6974           Changes
6975
6976 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * messages.C: remove one more localedir class variable.
6979
6980 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * messages.C (getLocaleDir): singleton generation function
6983         (Pimpl): use it.
6984         (Messages): add a default constructor.
6985
6986         * main.C (main): do not setup localedir here, do not call
6987         gettext_init.
6988
6989         * gettext.C (_): use it.
6990         (gettext_init): delete funciton
6991
6992 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * gettext.C (getLyXMessages): new singleton generating function.
6995
6996         * buffer.C (updateDocLang): adjust
6997
6998         * Makefile.am (messages.o): add target
6999         (main.o): remove target
7000
7001 2003-04-27  John Levon  <levon@movementarian.org>
7002
7003         * bufferlist.C:
7004         * lyx_cb.C:
7005         * lyxfunc.C:
7006         * lyxvc.C: specify cancel button in Alert::prompt
7007
7008 2003-04-26  John Levon  <levon@movementarian.org>
7009
7010         * text3.C:
7011         * lyxfunc.C:
7012         * lfuns.h:
7013         * LyXAction.C: add LFUN_INSET_SETTINGS
7014
7015         * lyxfunc.C: don't enable tabular-feature when there's
7016         just any locking inset
7017
7018 2003-04-26  John Levon  <levon@movementarian.org>
7019
7020         * bufferlist.C: re-add Cancel to buffer close question
7021
7022         * lyxfunc.C: fix import UI a bit
7023
7024 2003-04-25  John Levon  <levon@movementarian.org>
7025
7026         * gettext.C: remove the broken asserts for now
7027
7028 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * messages.C: make case where setlocale cannot comply work better.
7031
7032         * buffer.C (updateDocLang): new function
7033         (changeLanguage): use it
7034         (readFile): use it
7035
7036         * text2.C (setCounter): use B_ a bit.
7037
7038         * lyxlayout.C (Read): be sure to trim the label strings.
7039
7040         * messages.C (Messages): fix typo in comment
7041
7042         * buffer.C (readFile): set message_ after file is loaded.
7043         (makeDocBookFile): remove double return
7044         (changeLanguage): reset message_ upon language change.
7045         (B_): new func, use this to get translated buffer strings.
7046
7047         * main.C: add myself and Jean Marc as authors.
7048
7049 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * messages.[hC]: pimplify Messages, and three different pimpls to be
7052         used in different circumstances.
7053
7054         * gettext.[Ch]: change for use with new message code.
7055
7056 2003-04-24 André Pönitz <poenitz@gmx.net>
7057
7058         * factory.C: support for eqref
7059
7060 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * messages.[Ch]: add missing char
7063
7064         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7065
7066         * messages.[Ch]: New files
7067
7068 2003-04-18  John Levon  <levon@movementarian.org>
7069
7070         * BufferView.h:
7071         * BufferView.C:
7072         * BufferView_pimpl.C:
7073         * lfuns.h:
7074         * LyXAction.C:
7075         * lyxtext.h:
7076         * text2.C: remove layout-copy/paste (bug 778)
7077
7078 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7081
7082 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7085         if they succeed. Act accordingly.
7086
7087 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * text2.C (setCharFont): adjust
7090         (setCounter): adjust
7091         (insertStringAsLines): adjust
7092
7093         * text.C (leftMargin): adjust
7094         (setHeightOfRow): adjust
7095
7096         * rowpainter.C (paintFirst): adjust
7097         (paintLast): adjust
7098
7099         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7100         (outerHook): ditto
7101         (isFirstInSequence): ditto
7102         (getEndLabel): ditto
7103         (outerFont): adjust
7104
7105         * paragraph.C (getParLanguage): comment out some hard stuff.
7106
7107         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7108         (sgmlError): ditto
7109         (simpleDocBookOnePar): ditto
7110         (makeDocBookFile): use ParagraphList::iterator
7111
7112         * CutAndPaste.C (pasteSelection): adjust
7113
7114 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * text2.C (getFont): adjust
7117         (getLayoutFont): adjust
7118         (getLabelFont): adjust
7119
7120         * paragraph_funcs.C (TeXOnePar): adjust
7121
7122         * buffer.C (simpleLinuxDocOnePar): adjust
7123         (simpleDocBookOnePar): adjust
7124
7125         * CutAndPaste.C (pasteSelection): adjust
7126
7127         * BufferView.C (getEncoding): adjust
7128
7129         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7130
7131 2003-04-16  John Levon  <levon@movementarian.org>
7132
7133         * lyxfind.C: use parlist stuff for search/changes
7134
7135 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7136
7137         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7138
7139         * text2.C (deleteEmptyParagraphMechanism): adjust
7140
7141         * text2.[Ch] (ownerParagraph): delete func (both of them
7142
7143 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7146
7147 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * ParagraphList.C: prepare for NO_NEXT
7150
7151 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * text2.C (getFont): adjust
7154         (getLayoutFont): adjust
7155         (getLabelFont): adjust
7156
7157         * paragraph.C (getFont): adjust
7158         (getLabelFont): adjust
7159         (getLayoutFont): adjust
7160
7161         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7162
7163 2003-04-15  John Levon  <levon@movementarian.org>
7164
7165         From Angus Leeming
7166
7167         * lyx_main.C: handle Include in .ui files
7168
7169 2003-04-15  John Levon  <levon@movementarian.org>
7170
7171         * MenuBackend.C: make the doc files length shorter
7172
7173         * ToolbarBackend.h:
7174         * ToolbarBackend.C: handle toolbar placement flags,
7175         Minibuffer
7176
7177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7180         adjust
7181
7182         * paragraph_funcs.C (TeXOnePar): adjust
7183
7184         * paragraph.C (getLabelFont): add outerfont arg, adjust
7185         (getLayoutFont): ditto
7186         (simpleTeXOnePar): adjust
7187
7188         * paragraph_pimpl.C (realizeFont): delete func
7189
7190 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7193         row argument, constify cur argument.
7194
7195 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * text2.C (getFont): adjust
7198         (getLayoutFont): adjust
7199         (getLabelFont): adjust
7200
7201         * paragraph_funcs.C (TeXOnePar): adjust
7202         (outerFont): new func...
7203         (realizeFont): ...moved out from here, changed this to facilitate
7204         transition
7205
7206         * paragraph.C (getFont): take outerfont as arg, adjust
7207         (simpleTeXOnePar): add outerfont arg, adjust
7208
7209         * buffer.C (simpleLinuxDocOnePar): adjust
7210         (simpleDocBookOnePar): adjust
7211
7212         * CutAndPaste.C (pasteSelection): adjust
7213
7214         * BufferView.C (getEncoding): adjust
7215
7216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * text2.C (setCharFont): adjust
7219         (setCounter): adjust
7220
7221         * text.C (leftMargin): adjust
7222         (setHeightOfRow): adjust
7223
7224         * rowpainter.C (paintFirst): adjust
7225         (paintLast): adjust
7226
7227         * paragraph_pimpl.C (realizeFont): adjust
7228
7229         * paragraph.C (isFirstInSequence): move from here...
7230         * paragraph_funcs.C (isFirstInSequence): ...to here
7231
7232         * paragraph.C (outerHook): move from here...
7233         * paragraph_funcs.C (outerHook): ...to here
7234
7235         * paragraph.C (depthHook): move from here...
7236         * paragraph_funcs.C (depthHook): ...to here
7237
7238         * paragraph.C (getEndLabel): move from here...
7239         * paragraph_funcs.C (getEndLabel): ...to here
7240
7241         * text2.C (realizeFont): move from here...
7242         * paragraph_funcs.C (realizeFont): ...to here
7243
7244 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7247
7248 2003-04-14  Angus Leeming  <leeming@lyx.org>
7249
7250         * LColor.[Ch]: scrap LColor mathcursor.
7251
7252 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * lyxlex.[Ch] (text): delete function
7255         * trans.C (Load): adjust
7256         * paragraph_funcs.C (readParToken): adjust
7257
7258 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7259
7260         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7261         vector<char> instead of a char[].
7262
7263         * lyxlex_pimpl.C (getString): adjust
7264         (next): adjust
7265         (lex): use getString
7266         (eatLine): adjust
7267         (nextToken): adjust
7268
7269         * lyxlex.C (text): use pimpl_->getString()
7270         (getBool): ditto
7271         (findToken): ditto
7272
7273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7276         (makeFontEntriesLayoutSpecific): temp var for par.size()
7277         (setLayout): temp var for ownerParagraphs().end()
7278         (fullRebreak): temp var for rows().end()
7279         (selectionAsString): temp var for boost::next(startpit), realize
7280         that the while really is a regular for loop.
7281         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7282         setCursor in one place.
7283         (setParagraph): temp vr for ownerParagraphs().end()
7284         (updateCounters): make the while loop a for loop
7285         (cutSelection): temp var for ownerParagraphs().end()
7286         (updateInset): make the do {} while() a regular for loop
7287         (getCursorX): use temp vars
7288         (setCurrentFont): use temp vars
7289         (getColumnNearX): use temp vars
7290
7291 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * text.C (transformChar): use temp var for getChar
7294         (computeBidiTables): use temp var for row->par()
7295         (fill): move temp vars for row->par() and pit->layout() earlier in
7296         the function.
7297         (labelFill): use temp var for row->par()
7298         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7299         asc and desc, realize that pit never changes and that firstpit is
7300         just a duplicate and not needed. Exchange rit->par() with pit in a
7301         lot of places.
7302         (breakAgain): use a temp var for boost::next(rit)
7303         (breakAgainOneRow): ditto
7304         (breakParagraph): use a temp var for rows().begin()
7305         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7306         (cursorRightOneWord): use temp var for cursor.par() and
7307         cursor.pos(), remove usage of tmpcursor.
7308         (cursorLeftOneWord): use temp var for cursor.par() and
7309         cursor.pos() only set cur at end of function.
7310
7311 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * text.C, text2.C: exchange all usage of Paragraph::next with
7314         boost::next(ParagraphList::iterator)
7315
7316         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7317
7318         * text2.C (cursorTop): simplify implementation
7319         (cursorBottom): ditto
7320         (setParagraph): use ParagraphList::iterator
7321         (setCurrentFont): adjust
7322         (getColumnNearX): adjust
7323         (cursorRight): adjust
7324         (cursorLeft): remove usage of Paragraph::previous
7325         (cursorUpParagraph): ditto
7326         (deleteEmptyParagraphMechanism): slight cleanup
7327
7328         * text.C (isBoundary): take a Paragraph const & instead of a
7329         pointer as arg.
7330         (addressBreakPoint): ditto
7331         (leftMargin): remove usage of Paragraph::previous.
7332         (setHeightOfRow): ditto
7333         (cursorLeftOneWord): ditto
7334         (selectNextWordToSpellcheck): ditto
7335         (Delete): ditto
7336         (backspace): ditto
7337         (breakParagraph): remove one usage of Paragraph::next
7338         (redoParagraph): ditto
7339         (acceptChange): ditto
7340         (insertChar): adjust
7341         (rowBreakPoint): adjust
7342
7343         * bufferview_funcs.C (toggleAndShow): adjust
7344
7345 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7348         methods to access it.
7349         * lyxtext.h:
7350         * text.C: Added updateRowPositions to compute all row positions.
7351         Make top_y and getRowNearY() to use the cached y position
7352
7353 2003-04-11  John Levon  <levon@movementarian.org>
7354
7355         * text.C (rowBreakPoint): reintroduce the labelEnd
7356         checks, code copied from the row fill stuff. Deep voodoo.
7357
7358         * text.C (fill): add a comment and debugging for the
7359         next poor soul.
7360
7361 2003-04-11  John Levon  <levon@movementarian.org>
7362
7363         * text.C: make sure fullrow insets get wrapped to the next line,
7364         even when they're in a manual label
7365
7366 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * text2.C (insertParagraph): make it take ParagraphList::iterator
7369         as arg.
7370         (setLayout): make it return ParagraphList::iterator
7371         (redoParagraphs): ditto
7372         (setCounter): ditto
7373         (checkParagraph): ditto
7374
7375         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7376
7377         * text2.C: adjust several funcs.
7378         (realizeFont): take a ParagraphList::iterator as arg.
7379         (getLayoutFont): ditto
7380         (getLabelFont): ditto
7381         (setCharFont): ditto
7382
7383         * text.C: adjust several funcs.
7384
7385 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7386
7387         * text.C (selectNextWordToSpellcheck): don't accidentally
7388         skip insets
7389
7390 2003-04-10  John Levon  <levon@movementarian.org>
7391
7392         * ToolbarBackend.C (getIcon): special handling for
7393         LFUN_MATH_DELIM
7394
7395 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7396
7397         * text2.C (cursorRight): a getChar assert fixed
7398
7399 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * text2.C (getFont): change to take a ParagraphList::iterator
7402         instead of Paragraph*
7403         Adjust several functions.
7404
7405         * text.C (transformChar): change to take a ParagraphList::iterator
7406         instead of Paragraph*
7407         (singleWidth): ditto
7408         Adjust several functions.
7409
7410         * rowpainter.C: adjust several functions
7411         * rowpainter.h:store a ParagraphList::iterator and not a
7412         Paragraph&.
7413
7414
7415 2003-04-09  John Levon  <levon@movementarian.org>
7416
7417         * lyxfunc.C:
7418         * lfuns.h:
7419         * LyXAction.h:
7420         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7421         and the "help" bits as well
7422
7423 2003-04-09  John Levon  <levon@movementarian.org>
7424
7425         * ToolbarBackend.h:
7426         * ToolbarBackend.C: allow multiple toolbars
7427
7428 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * undo_funcs.C (setCursorParUndo): adjust
7431
7432         * text_funcs.C (transposeChars): adjust
7433
7434         * text3.C (gotoNextInset): adjust
7435         (dispatch): adjust
7436
7437         * text2.C (setLayout): adjust
7438         (changeDepth): adjust
7439         (setFont): adjust
7440         (redoParagraphs): adjust
7441         (selectionAsString): adjust
7442         (setParagraph): adjust
7443         (insertInset): adjust
7444         (cutSelection): adjust
7445         (copySelection): adjust
7446         (pasteSelection): adjust
7447         (insertStringAsLines): adjust
7448         (updateInset): adjust
7449         (setCursor): change to take a ParagraphList::iterator parameter
7450         (setCursorIntern): change to take a ParagraphList::iterator parameter
7451         (setCurrentFont): adjust
7452         (cursorLeft): adjust
7453         (cursorRight): adjust
7454         (deleteEmptyParagraphMechanism): adjust
7455
7456         * text.C (breakParagraph): adjust
7457         (insertChar): adjust
7458         (acceptChange): adjust
7459         (rejectChange): adjust
7460         (selectNextWordToSpellcheck): adjust
7461         (changeCase): adjust
7462         (Delete): adjust
7463         (backspace): adjust
7464
7465         * lyxfind.C (SearchForward): adjust
7466         (SearchBackward): adjust
7467         (nextChange): adjust
7468
7469         * lyxcursor.C (par): adjust
7470
7471         * lyxcursor.h: store a ParagraphList::iterator instead of a
7472         Paragraph*
7473
7474         * lyx_cb.C (getPossibleLabel): adjust
7475
7476         * bufferview_funcs.C (toggleAndShow): adjust
7477
7478         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7479         (dispatch): adjust
7480
7481         * BufferView.C (removeAutoInsets): adjust
7482         (lockedInsetStoreUndo): adjust
7483
7484 2003-04-09  John Levon  <levon@movementarian.org>
7485
7486         * ToolbarBackend.C: try icon without argument
7487         if with argument fails
7488
7489 2003-04-08  John Levon  <levon@movementarian.org>
7490
7491         * ToolbarBackend.h:
7492         * ToolbarBackend.C: add getIcon(), handle tooltip,
7493         and change from "Icon" to "Item".
7494
7495 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * BufferView.C (lockInset): another bad getchar crunched
7498
7499 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7500
7501         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7502         again)
7503
7504 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7505
7506         * lyxfind.C (searchForward, searchBackwards): bug 782
7507
7508 2003-04-07  John Levon  <levon@movementarian.org>
7509
7510         * paragraph.C: remove dead comment
7511
7512         * text.C: remove troublesome depth-fiddling code
7513         in leftMargin() and rightMargin() (bug 1017)
7514
7515         * text.C: fix breaking of rows in nested lists
7516         (bug 1004)
7517
7518         * text2.C (updateCounters): fix up depth values
7519         (bug 1013)
7520
7521 2003-04-07  John Levon  <levon@movementarian.org>
7522
7523         * BufferView_pimpl.C: clear message when doc finishes resizing,
7524         and after a mouse event
7525
7526         * lyxfunc.C: clear message after exiting inset
7527
7528 2003-04-07  John Levon  <levon@movementarian.org>
7529
7530         * bufferview_funcs.C: show math status not outside
7531         status in the statusbar
7532
7533 2003-04-07  John Levon  <levon@movementarian.org>
7534
7535         * lyxfunc.C: note status changed after a depth change
7536
7537 2003-04-04  Angus Leeming  <leeming@lyx.org>
7538
7539         * LaTeX.h: move AuxInfo operator==, != out of line.
7540         Remove LaTeX virtual destructor; nothing derives from it.
7541         Move operator()() out of public area and rename it startscript().
7542         Change protected for private.
7543
7544 2003-04-04  Angus Leeming  <leeming@lyx.org>
7545
7546         * lyxfunc.C:
7547         * text2.C: remove unneeded #includes.
7548
7549 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * text2.C (dEPM): fix the heigth of the next row
7552
7553 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7554
7555         * text.C: squashed an invalid getChar requester + some ws changes
7556
7557 2003-04-03  John Levon  <levon@movementarian.org>
7558
7559         * bufferview_funcs.h:
7560         * bufferview_funcs.C:
7561         * lyxfunc.C:
7562         * lyxtext.h:
7563         * text2.C: make getStatus work for the env depth lfuns
7564
7565 2003-04-03  John Levon  <levon@movementarian.org>
7566
7567         * bufferview_funcs.h:
7568         * bufferview_funcs.C:
7569         * lyxfunc.C:
7570         * lyxtext.h:
7571         * text2.C: parlistize decDepth(), by merging it with incDepth()
7572
7573 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * lyxrow.h: store a ParagraphList::iterator instead of a
7576         Paragraph* and adjust other class functions to suit.
7577
7578         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7579         above.
7580
7581 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7582
7583         * text2.C (setCursor): do not anchor to cursor row for the time being
7584
7585 2003-04-02  John Levon  <levon@movementarian.org>
7586
7587         * LyXAction.C:
7588         * lfuns.h:
7589         * lyx_main.C:
7590         * lyxtext.h:
7591         * text.C:
7592         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7593
7594 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * paragraph.h: make ParagraphList and ParagraphList::iterator
7597         friends of Paragraph.
7598
7599         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7600
7601         * ParagraphList.C: Use the private next_ and previous_ from
7602         Paragraph.
7603
7604 2003-04-01  John Levon  <levon@movementarian.org>
7605
7606         * ToolbarBackend.h:
7607         * ToolbarBackend.C:
7608         * Makefile.am: rename, remove defaults gunk
7609
7610         * MenuBackend.h:
7611         * MenuBackend.C: remove defaults gunk
7612
7613         * Languages.h:
7614         * Languages.C: remove defaults gunk
7615
7616         * lyx_main.h:
7617         * lyx_main.C: error out if files couldn't be found.
7618
7619 2003-04-02  John Levon  <levon@movementarian.org>
7620
7621         * text2.C: make incDepth() use parlist
7622
7623 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * undo_funcs.C (firstUndoParagraph): adjust
7626
7627         * text3.C (gotoInset): adjust
7628         (dispatch): adjust, and rewrite loop.
7629
7630         * text2.C (init): adjust, and rewrite loop.
7631         (redoParagraphs): adjust
7632         (updateInset): adjust, and rewrite loop.
7633         (deleteEmptyParagraphMechanism): adjust
7634
7635         * tabular.C (LyXTabular): adjust
7636         (SetMultiColumn): adjust
7637         (TeXRow): adjust
7638
7639         * lyxtext.[Ch] (ownerParagraph): delete function
7640         (ownerParagraphs): new function returns a ParagraphList.
7641
7642         * BufferView.C (removeAutoInsets): adjust
7643         (insertErrors): adjust
7644         (setCursorFromRow): adjust
7645
7646 2003-04-01  Angus Leeming  <leeming@lyx.org>
7647
7648         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7649         in the frontends.
7650
7651 2003-04-02  John Levon  <levon@movementarian.org>
7652
7653         * lyxtext.h:
7654         * text.C:
7655         * Makefile.am:
7656         * text_funcs.h:
7657         * text_funcs.C: make transposeChars a free function
7658
7659         * lyxrow_funcs.C: remove wrong comment
7660
7661 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * lyxtext.h: adjust
7664         * rowpainter.C: adjust
7665         * text.C: adjust
7666         * text2.C: adjust
7667         * text3.C: adjust
7668
7669         * lyxrow_funcs. [Ch]: new files
7670
7671         * lyxrow.[Ch]: remove next and previous pointers
7672         (next,previous): remove accessor functions
7673         (isParEnd): move to lyxrow_funcs
7674         (lastPos): move to lyxrow_funcs
7675         (nextRowIsAllInset): move to lyxrow_funcs
7676         (lastPrintablePos): move to lyxrow_funcs
7677         (numberOfSeparators): move to lyxrow_funcs
7678         (numberOfHfills): move to lyxrow_funcs
7679         (numberOfLabelHfills): move to lyxrow_funcs
7680         (hfillExpansion): move to lyxrow_funcs
7681
7682         * lyxfunc.C: adjust
7683
7684         * bufferview_funcs.C (toggleAndShow): adjust
7685
7686         * RowList.h: Remove class RowList from file leave just a
7687         std::list<Row>.
7688
7689         * RowList.C: delete file
7690
7691         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7692         and lyxrow_funcs.h
7693
7694 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * text3.C (cursorPrevious): adjust
7697         (cursorNext): adjust
7698         (dispatch): adjust
7699
7700         * text2.C (redoHeightOfParagraph): adjust
7701         (redoDrawingOfParagraph): adjust
7702         (setCursor): adjust
7703
7704         * text.C (breakParagraph): adjust
7705         (insertChar): adjust
7706         (backspace): adjust
7707
7708         * rowpainter.C (RowPainter): adjust
7709         (leftMargin): simplify and adjust
7710         (most rowpainter functions): adjust.
7711
7712         * rowpainter.h: store the row as RowList::iterator not as Row*
7713
7714         * lyxcursor.C (row): taka RowList::iterator as arg
7715         (irow): ditto
7716
7717         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7718         of Row*.
7719
7720 2003-04-01  Angus Leeming  <leeming@lyx.org>
7721
7722         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7723         stuff like bool Bool.
7724
7725 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7726
7727         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7728         rewrite a loop
7729
7730 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7733         RowList::iterator.
7734
7735         * lyxtext.h (rows): drop one version and leve a const variant that
7736         returns a RowList::iterator.
7737
7738 2003-03-31  Angus Leeming  <leeming@lyx.org>
7739
7740         * text.C (fill): ensure that the signature is the same as that in the
7741         header file.
7742
7743 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * text2.C (redoParagraphs): adjust
7746         (updateCounters): adjust
7747         (checkParagraph): adjust
7748         (getColumnNearX): adjust and reformat a bit.
7749
7750         * text.C (top_y): adjust
7751         (workWidth): adjust
7752         (leftMargin): adjust
7753         (prepareToPrint): adjust
7754         (getRow): adjust
7755         (getRowNearY): adjust
7756
7757         * lyxtext.h: make rowlist_ mutable.
7758
7759         * RowList.h: add const_iterator
7760         * RowList.C: adjust for RowList::const_iterator.
7761
7762         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7763         adjust.
7764
7765 2003-03-31  John Levon  <levon@movementarian.org>
7766
7767         * lyxrc.h:
7768         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7769
7770         * lyx_main.C: set default fonts from using lyx_gui funcs
7771
7772         * exporter.C: pdf_mode moved from lyxrc
7773
7774         * lyx_cb.C:
7775         * lyxfunc.C: changes from above
7776
7777 2003-03-31  John Levon  <levon@movementarian.org>
7778
7779         * lyx_main.C: fix to the last fix
7780
7781 2003-03-31  John Levon  <levon@movementarian.org>
7782
7783         * bufferlist.C: "Load original" -> "Load Original"
7784
7785         * converter.C:
7786         * exporter.C:
7787         * importer.C:
7788         * lyx_main.C:
7789         * format.C: more Alert cleanups
7790
7791 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * text2.C (removeParagraph): make it take a RowList::iterator as
7794         arg, adjust.
7795         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7796         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7797
7798         * text.C (anchor_row): make it take a RowList::iterator as arg,
7799         adjust.
7800         (computeBidiTables): make it take a const reference to Row instead
7801         of Row pointer, adjust.
7802         (leftMargin): make it take a RowList::iterator as arg, adjust.
7803         (rowBreakPoint): adjust
7804         (breakAgainOneRow): make it take a RowList::iterator as arg,
7805         adjust.
7806         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7807
7808         * bufferview_funcs.C (toggleAndShow): adjust
7809
7810 2003-03-30  John Levon  <levon@movementarian.org>
7811
7812         * Makefile.am:
7813         * BoostFormat.h:
7814         * boost-inst.C: moved to support
7815
7816         * several files: changes as a result
7817
7818 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text2.C (LyXText): adjust.
7821         (init): adjust
7822         (removeRow): make it take a RowList::iterator as arg, adjust.
7823         (fullRebreak): adjust
7824         (deleteEmptyParagraphMechanism): adjust
7825         (clearPaint): adjust
7826         (postPaint): adjust
7827
7828         * text.C (top_y): adjust
7829         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7830         (breakAgain): make it take a RowList::iterator as arg, adjust.
7831         (breakParagraph): adjust
7832         (insertChar): adjust
7833         (backspace): adjust
7834
7835         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7836         need_break_row, and refresh_row.
7837
7838         * text3.C (dispatch): adjust
7839
7840         * text2.C (checkParagraph): adjust
7841         (setCursor): adjust
7842         (setCursorFromCoordinates): adjust
7843
7844         * text.C (top_y): adjust
7845         (workWidth): adjust
7846         (getRow): make it return a RowList::iterator, adjust
7847         (getRowNearY): make it return a RowList::iterator, adjust
7848
7849         * text2.C (init): adjust
7850         (insertRow): remove function
7851         (insertParagraph): adjust
7852         (redoParagraphs): adjust
7853         (fullRebreak): adjust
7854         (updateCounters): adjust
7855
7856         * text.C (top_y): rewrite to use RowList iterators.
7857         (top_y): adjust
7858         (setHeightOfRow): rewrite to sue RowList iterators.
7859         (appendParagraph): adjust
7860         (breakAgain): adjust
7861         (breakAgainOneRow): adjust
7862         (breakParagraph): adjust
7863         (getRow): adjust
7864         (getRowNearY): adjust, and remove commented code.
7865
7866         * lyxtext.h (firstRow): delete function
7867         (lastRow): delete function
7868         (rows): new function (const and non-const versions.)
7869         (insertRow): delete function
7870
7871         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7872
7873 2003-03-29  John Levon  <levon@movementarian.org>
7874
7875         * BufferView_pimpl.C: always update scrollbar top
7876         because pasting text when we're anchored could mean we
7877         miss an update altogether
7878
7879 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text2.C (init): use rowlist_.end() and not 0.
7882         (insertRow): change to take a RowList::iterator as arg, adjust
7883         for this.
7884         (insertParagraph): change to take a RowList::iterator as arg,
7885         adjust for this.
7886         (redoParagraphs): remove some debug msgs.
7887
7888         * text.C (appendParagraph): change to take a RowList::iterator
7889         arg, adjust for this.
7890         (breakAgain): add an assert
7891         (breakAgainOneRow): ditto
7892
7893 2003-03-29  John Levon  <levon@movementarian.org>
7894
7895         * text2.C: do not clear selection after inc/decDepth
7896         (bug 550)
7897
7898 2003-03-29  John Levon  <levon@movementarian.org>
7899
7900         * BufferView.C:
7901         * buffer.C: fix broken strerrors according to Lars
7902
7903 2003-03-29  John Levon  <levon@movementarian.org>
7904
7905         * converters.C: more Alert cleanups
7906
7907 2003-03-29  John Levon  <levon@movementarian.org>
7908
7909         * bufferview_funcs.C: remove pointless Alert
7910
7911         * buffer.C: fix confusing error message when
7912         a template is chmoded 000
7913
7914 2003-03-29  John Levon  <levon@movementarian.org>
7915
7916         * BufferView.C:
7917         * BufferView.h:
7918         * BufferView_pimpl.C: Alert fixes
7919
7920         * Makefile.am:
7921         * tabular.C:
7922         * tabular-old.C: remove unused table compat reading
7923
7924 2003-03-29  John Levon  <levon@movementarian.org>
7925
7926         * BufferView.C:
7927         * buffer.C:
7928         * lyx_cb.h:
7929         * lyx_cb.C: more Alert cleanups
7930
7931         * lyxfunc.C: don't allow chktex if not latex document
7932
7933 2003-03-29  John Levon  <levon@movementarian.org>
7934
7935         * lyx_cb.C:
7936         * BufferView.C:
7937         * buffer.C: warnings pushed down from support/,
7938         kill err_alert
7939
7940 2003-03-29  John Levon  <levon@movementarian.org>
7941
7942         * lyxfunc.C: safety check for C-r (revert)
7943
7944 2003-03-29  John Levon  <levon@movementarian.org>
7945
7946         * bufferlist.h:
7947         * bufferlist.C: several UI fixes using Alert::prompt.
7948         Fix the pointless looping quit code. Fix stupid revert
7949         behaviour (bug 938)
7950
7951         * lyxvc.h:
7952         * lyxvc.C:
7953         * lyx_cb.C: use Alert::prompt
7954
7955         * lyx_main.C: remove a silly question
7956
7957         * lyxfunc.C: remove a couple of silly questions,
7958         use Alert::prompt
7959
7960 2003-03-28  John Levon  <levon@movementarian.org>
7961
7962         * text2.C: fix bug 974 (End on empty par)
7963
7964 2003-03-28  John Levon  <levon@movementarian.org>
7965
7966         * BufferView_pimpl.C:
7967         * LyXAction.C:
7968         * lfuns.h: remove do-nothing math greek lfuns
7969
7970 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * lyxgluelength.h (isValidGlueLength): add default arg on
7973         parameter 2. Remove default arg from friend in class.
7974
7975         * lyxlength.h (isValidLength): add default arg on parameter 2.
7976         Remove default arg from friend in class.
7977
7978         * text2.C (LyXText): adjust, initialize refresh_row.
7979         (init): adjust
7980         (removeRow): adjust
7981         (insertRow): adjust
7982         (insertParagraph): adjst
7983         (redoParagraphs): adjust
7984         (fullRebreak): adjust
7985         (updateCounters): adjust
7986         (deleteEmptyParagraphMechanism): first attempt at fixing a
7987         crashing bug.
7988
7989         * text.C (top_y): adjust
7990         (setHeightOfRow): adjust
7991         (getRow): adjust
7992         (getRowNearY): adjust
7993
7994         * lyxtext.h: include RowList.h
7995         (~LyXText): not needed anymore, deleted.
7996         (firstRow): modify for RowList
7997         (lastRow): new function
7998         Delete firstrow and lastrow class variables, add a Rowlist
7999         rowlist_ class variable.
8000
8001         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8002         paragraph is empty.
8003
8004         * RowList.C (insert): fix case where it == begin().
8005
8006 2003-03-26  Angus Leeming  <leeming@lyx.org>
8007
8008         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8009         the thesaurus dialog.
8010
8011 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8014
8015         * RowList.[Ch]: new files
8016
8017         * ParagraphList.C (erase): handle the case where it == begin
8018         correctly.
8019
8020 2003-03-25  John Levon  <levon@movementarian.org>
8021
8022         * Makefile.am:
8023         * aspell_local.h:
8024         * aspell.C: add new aspell support
8025
8026         * lyxrc.h:
8027         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8028         have it accessible.
8029
8030 2003-03-25  Angus Leeming  <leeming@lyx.org>
8031
8032         * lfuns.h:
8033         * LyXAction.C (init): new LFUN_INSET_INSERT.
8034
8035         * BufferView_pimpl.C (dispatch): split out part of the
8036         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8037
8038         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8039         LFUN_INSET_APPLY.
8040
8041 2003-03-25  Angus Leeming  <leeming@lyx.org>
8042
8043         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8044
8045 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8046
8047         * text2.C:
8048         * text3.C: remove useless row->height(0)
8049
8050 2003-03-25  John Levon  <levon@movementarian.org>
8051
8052         * lyxtext.h:
8053         * text2.C:
8054         * text3.C: rename the refreshing stuff to better names
8055
8056 2003-03-24  John Levon  <levon@movementarian.org>
8057
8058         * BufferView_pimpl.h:
8059         * BufferView_pimpl.C: update layout choice on a mouse
8060         press/release
8061
8062 2003-03-23  John Levon  <levon@movementarian.org>
8063
8064         * Makefile.am: fix commandtags.h reference
8065
8066 2003-03-22  John Levon  <levon@movementarian.org>
8067
8068         * BufferView_pimpl.C:
8069         * lyxtext.h:
8070         * rowpainter.C:
8071         * rowpainter.h:
8072         * text.C:
8073         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8074
8075 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8076
8077         * lyxtext.h:
8078         * text.C: take the rtl methods out of line
8079
8080 2003-03-21 André Pönitz <poenitz@gmx.net>
8081
8082         * metricsinfo.[Ch]: new files containing structures to be passed around
8083         during the two-phase-drawing...
8084
8085 2003-03-21 André Pönitz <poenitz@gmx.net>
8086
8087         * lyxtextclass.C: read 'environment' tag.
8088
8089 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8090
8091         * text2.C (removeRow): fix bug 964
8092
8093 2003-03-20  John Levon  <levon@movementarian.org>
8094
8095         * rowpainter.C:
8096         * text.C:
8097         * text2.C: paint cleanups. Inset::update() dropped font
8098         parameter
8099
8100 2003-03-19  John Levon  <levon@movementarian.org>
8101
8102         * lyxfunc.C: only fitcursor/markDirty if available()
8103
8104 2003-03-19  John Levon  <levon@movementarian.org>
8105
8106         * commandtags.h: rename to ...
8107
8108         * lfuns.h: ... this, and renumber / cleanup
8109
8110 2003-03-19  John Levon  <levon@movementarian.org>
8111
8112         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8113         fit the cursor after an lfun
8114
8115         * BufferView.h:
8116         * BufferView.C:
8117         * BufferView_pimpl.h:
8118         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8119
8120         * LyXAction.C: layout-character should have ReadOnly
8121
8122         * ParagraphParameters.C:
8123         * buffer.C:
8124         * bufferview_funcs.C:
8125         * lyx_cb.C:
8126         * lyxfind.C:
8127         * lyxtext.h:
8128         * text.C:
8129         * text2.C:
8130         * text3.C:
8131         * undo_funcs.C: changes from above
8132
8133 2003-03-18  John Levon  <levon@movementarian.org>
8134
8135         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8136         remove it from update()
8137
8138         * lyxfunc.C: update layout choice after an lfun
8139
8140         * text3.C: remove extra updateLayoutChoice()s
8141
8142 2003-03-18  John Levon  <levon@movementarian.org>
8143
8144         * text.C: top_y change means full repaint, fix
8145         a drawing bug with cursor movement
8146
8147 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8148
8149         * lyxtext.h:
8150         * text.C:
8151         * text2.C: anchor row on setCursor
8152
8153 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8154
8155         * lyxtext.h: remove almost all mutable keywords
8156         * text.C:
8157         * text2.C:
8158         * text3.C: remove const keywords accordingly
8159
8160 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8161
8162         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8163         anon namespace
8164         (TeXEnvironment): ditto
8165         (TeXOnePar): ditto
8166
8167 2003-03-17  John Levon  <levon@movementarian.org>
8168
8169         * text.C (rowBreakPoint): remove attempt to fix displayed
8170         math insets inside a manual label
8171
8172 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * lyxtext.h: remove BufferView* as first arg from almost all class
8175         functions.
8176         * other files: adjust.
8177
8178 2003-03-17  John Levon  <levon@movementarian.org>
8179
8180         * lyxtext.h:
8181         * undo_funcs.C:
8182         * text2.C: more paint cleanups
8183
8184         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8185
8186         * rowpainter.h:
8187         * rowpainter.C: remove "smart" background painting code
8188
8189 2003-03-16  John Levon  <levon@movementarian.org>
8190
8191         * lyxtext.h:
8192         * text.C:
8193         * text2.C:
8194         * text3.C: add helper functions for setting refresh_row/y
8195
8196 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8197
8198         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8199         newline inset which *can* get inserted in the pass_thru layouts.
8200         This is primarily for literate documents.
8201
8202 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8203
8204         * buffer.C: increment LYX_FORMAT to 223
8205
8206 2003-03-14 André Pönitz <poenitz@gmx.net>
8207
8208         * textclass.h: prepare for environment handling, ws changes
8209         * lyxlayout.C: read latexheader and latexfooter tags
8210
8211 2003-03-14  John Levon  <levon@movementarian.org>
8212
8213         * text2.C: rewrite ::status() a bit
8214
8215 2003-03-13  John Levon  <levon@movementarian.org>
8216
8217         * lyxtext.h: add some docs
8218
8219 2003-03-13  John Levon  <levon@movementarian.org>
8220
8221         * lyxtext.h:
8222         * text.C:
8223         * text2.C:
8224         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8225
8226 2003-03-13  John Levon  <levon@movementarian.org>
8227
8228         * text3.C: fix appendix redrawing
8229
8230 2003-03-13  John Levon  <levon@movementarian.org>
8231
8232         * text.C (setHeightOfRow):
8233         * rowpainter.h:
8234         * rowpainter.C: make appendix mark have the text
8235           "Appendix" so the user knows what it is
8236
8237         * LColor.h:
8238         * LColor.C: s/appendixline/appendix/ from above
8239
8240 2003-03-13  John Levon  <levon@movementarian.org>
8241
8242         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8243
8244         * text.C: fix a getChar(pos) bug properly
8245
8246 2003-03-13  Angus Leeming  <leeming@lyx.org>
8247
8248         * commandtags.h:
8249         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8250         Probably only temporary. Let's see how things pan out.
8251
8252         * BufferView.C (unlockInset):
8253         * BufferView_pimpl.C (fitCursor):
8254         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8255
8256         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8257         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8258
8259         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8260         new functions that convert ParagraphParameters to and from a string.
8261
8262         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8263         BufferView::Pimpl's dispatch.
8264         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8265
8266 2003-03-13 André Pönitz <poenitz@gmx.net>
8267
8268         * lyxfunc.C:
8269         * text3.C:
8270         * factory.C: make it aware of InsetEnv
8271
8272 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8273
8274         * text2.C (setCursor): never ask for one past last
8275         (setCursor): add some debugging messages.
8276
8277         * text.C (singleWidth): never ask for one past last
8278         (singleWidth): ditto
8279         (leftMargin): ditto
8280         (rightMargin): ditto
8281         (rowBreakPoint): ditto
8282         (setHeightOfRow): ditto
8283         (prepareToPrint): ditto
8284
8285         * rowpainter.C (paintBackground): never ask for one past last
8286         (paintText): never ask for one past last
8287
8288         * paragraph_pimpl.C (getChar): make the assert stricter, never
8289         allow the one past last pos to be taken
8290
8291         * paragraph.C (getChar): ws changes only
8292
8293         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8294         (numberOfSeparators): ditto
8295         (numberOfHfills): ditto
8296
8297 2003-03-12  John Levon  <levon@movementarian.org>
8298
8299         * author.h:
8300         * author.C:
8301         * bufferparams.h:
8302         * bufferparams.C:
8303         * paragraph_funcs.C: fix per-buffer authorlists
8304
8305 2003-03-12  John Levon  <levon@movementarian.org>
8306
8307         * text.C: fix newline in right address
8308
8309 2003-03-12  Angus Leeming  <leeming@lyx.org>
8310
8311         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8312         duplicate those in LyXFunc::dispatch.
8313
8314         * commandtags.h:
8315         * LyXAction.C:
8316         * ToolbarDefaults.C:
8317         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8318         Add LFUN_FONTFREE_UPDATE.
8319
8320         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8321         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8322
8323         * bufferview_func.[Ch]: several new functions to facilliate
8324         transfer of data to and from the character dialog.
8325
8326 2003-03-12  John Levon  <levon@movementarian.org>
8327
8328         * buffer.C:
8329         * paragraph.h:
8330         * paragraph.C:
8331         * paragraph_funcs.C:
8332         * paragraph_pimpl.C:
8333         * sgml.C:
8334         * tabular.C:
8335         * text.C:
8336         * text3.C: remove META_NEWLINE in favour of an inset
8337
8338         * rowpainter.h:
8339         * rowpainter.C: remove paintNewline (done by inset)
8340
8341 2003-03-12  John Levon  <levon@movementarian.org>
8342
8343         * paragraph_pimpl.C: complain about bad getChar()s
8344         for a while at least
8345
8346 2003-03-12  John Levon  <levon@movementarian.org>
8347
8348         * buffer.h:
8349         * buffer.C: move paragraph read into a separate function,
8350         a little renaming to reflect that.
8351
8352         * bufferparams.h:
8353         * bufferparams.C: remove the author_ids map, not necessary now
8354
8355         * factory.h:
8356         * factory.C: moved Buffer::readInset to here
8357
8358         * paragraph_funcs.h:
8359         * paragraph_funcs.C: readParagraph free function moved from
8360         buffer.C
8361
8362         * tabular.C: name change
8363
8364 2003-03-12  John Levon  <levon@movementarian.org>
8365
8366         * buffer.C:
8367         * ParagraphParameters.C: move par params input to
8368         a read() method
8369
8370         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8371         behave like a normal read from the stream wrt reading
8372         a line vs. a \\token
8373
8374 2003-03-12  John Levon  <levon@movementarian.org>
8375
8376         * paragraph.C:
8377         * ParagraphParameters.h:
8378         * ParagraphParameters.C: move output code to a
8379         ::write() method
8380
8381 2003-03-12  John Levon  <levon@movementarian.org>
8382
8383         * BufferView.C (insertLyXFile):
8384         * buffer.h:
8385         * buffer.C:
8386         * tabular.C: use a parlist iterator for creating the
8387           document.
8388
8389 2003-03-12  John Levon  <levon@movementarian.org>
8390
8391         * buffer.C: make current_change static local not
8392           static file-scope
8393
8394 2003-03-12  John Levon  <levon@movementarian.org>
8395
8396         * buffer.C: fix insertStringAsLines for change tracking
8397
8398 2003-03-12  John Levon  <levon@movementarian.org>
8399
8400         * BufferView.C:
8401         * tabular.C:
8402         * buffer.h:
8403         * buffer.C:
8404         * bufferparams.h:
8405         * bufferparams.C: move author list into params. Rename some
8406           functions. Move the header reading into a separate token
8407           loop. Move the header token reading into BufferParams.
8408
8409 2003-03-12  John Levon  <levon@movementarian.org>
8410
8411         * changes.C: put debug inside lyxerr.debugging() checks
8412
8413 2003-03-11 André Pönitz <poenitz@gmx.net>
8414
8415         * factory.C: make it aware of InsetHFill
8416
8417 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8418
8419         * buffer.C (latexParagraphs): move function from here...
8420         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8421         args.
8422
8423 2003-03-10  Angus Leeming  <leeming@lyx.org>
8424
8425         * LyXAction.C (init): fix bug in poplating array with multiple entries
8426         with the same LFUN (spotted by JMarc).
8427
8428 2003-03-10  John Levon  <levon@movementarian.org>
8429
8430         * text.C:
8431         * text2.C: move getColumnNearX() near its
8432         only call site
8433
8434 2003-03-10  John Levon  <levon@movementarian.org>
8435
8436         * text.C: fix break before a minipage
8437
8438 2003-03-10  John Levon  <levon@movementarian.org>
8439
8440         * text.C: fix the last commit
8441
8442 2003-03-09  John Levon  <levon@movementarian.org>
8443
8444         * lyxtext.h:
8445         * text.C:
8446         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8447         bug 365 (don't break before insets unless needed). Don't
8448         return a value > last under any circumstances.
8449
8450 2003-03-09  Angus Leeming  <leeming@lyx.org>
8451
8452         * BufferView_pimpl.C (trackChanges, dispatch): call
8453         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8454
8455 2003-03-09  Angus Leeming  <leeming@lyx.org>
8456
8457         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8458         than Dialogs::showAboutlyx().
8459
8460 2003-03-09  Angus Leeming  <leeming@lyx.org>
8461
8462         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8463         than Dialogs::showTabularCreate().
8464
8465 2003-03-09  John Levon  <levon@movementarian.org>
8466
8467         * lyxtext.h:
8468         * text.C:
8469         * text2.C: 3rd arg to nextBreakPoint was always the same.
8470           Use references.
8471
8472 2003-03-08  John Levon  <levon@movementarian.org>
8473
8474         * lyxrow.C:
8475         * paragraph.C:
8476         * paragraph.h:
8477         * rowpainter.C:
8478         * text.C:
8479         * text2.C: Remove the "main" bit from the "main body"
8480           notion.
8481
8482 2003-03-08  John Levon  <levon@movementarian.org>
8483
8484         * text.C (leftMargin): The left margin of an empty
8485         manual label paragraph should not include the label width
8486         string length.
8487
8488         * text.C (prepareToPrint): don't attempt to measure hfills
8489         for empty manual label paragraphs - the answer should be 0
8490
8491 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * CutAndPaste.C: remove commented code and reindent.
8494
8495 2003-03-08  John Levon  <levon@movementarian.org>
8496
8497         * lyxfunc.h:
8498         * lyxfunc.C: move reloadBuffer()
8499
8500         * BufferView.h:
8501         * BufferView.C: to here
8502
8503         * lyxvc.C: add comment
8504
8505         * vc-backend.h:
8506         * vc-backend.C: call bv->reload() to avoid
8507           getStatus() check on MENURELOAD
8508
8509 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8512         to an old format .dep file.
8513
8514 2003-03-07  Angus Leeming  <leeming@lyx.org>
8515
8516         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8517         when the LFUN_MOUSE_RELEASE should have been handled by
8518         inset->localDispatch.
8519
8520 2003-03-07  Angus Leeming  <leeming@lyx.org>
8521
8522         * BufferView_pimpl.C (dispatch):
8523         * LyXAction.C (init):
8524         * ToolbarDefaults.C (init):
8525         * commandtags.h:
8526         * lyxfunc.C (getStatus):
8527         remove LFUN_INSET_GRAPHICS.
8528
8529         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8530
8531 2003-03-07  Angus Leeming  <leeming@lyx.org>
8532
8533         * commandtags.h:
8534         * LyXAction.C (init):
8535         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8536
8537         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8538
8539         * commandtags.h:
8540         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8541
8542         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8543         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8544
8545 2003-03-07  Angus Leeming  <leeming@lyx.org>
8546
8547         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8548         remove "ert".
8549
8550 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * ParagraphList.C (front): new function
8553         (back): implement
8554
8555 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8556
8557         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8558         and top_row_offset_. removed var first_y.
8559         * text.C (top_y):
8560         * text2.C (LyXText, removeRow):
8561         * text3.C:
8562         * BufferView_pimpl.C:
8563         use these methods instead of using first_y
8564
8565 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * text2.C (pasteSelection): adjust for checkPastePossible
8568
8569         * CutAndPaste.C: remove Paragraph * buf and replace with
8570         ParagraphList paragraphs.
8571         (DeleteBuffer): delete
8572         (cutSelection): change the tc type to textclass_type
8573         (copySelection): change the tc type to textclass_type
8574         (copySelection): adjust for ParagraphList
8575         (pasteSelection): change the tc type to textclass_type
8576         (pasteSelection): adjust for Paragraphlist
8577         (nrOfParagraphs): simplify for ParagraphList
8578         (checkPastePossible): simplify for ParagraphList
8579         (checkPastePossible): remove unused arg
8580
8581         * ParagraphList.C (insert): handle the case where there are no
8582         paragraphs yet.
8583
8584         * CutAndPaste.h: make CutAndPaste a namespace.
8585
8586         * text3.C (dispatch): adjust
8587
8588         * text.C (breakParagraph): add a ParagraphList as arg
8589
8590         * paragraph_funcs.C (breakParagraph): change to take a
8591         BufferParams and a ParagraphList as args.
8592         (breakParagraphConservative): ditto
8593         (mergeParagraph): ditto
8594         (TeXDeeper): add a ParagraphList arg
8595         (TeXEnvironment): ditto
8596         (TeXOnePar): ditto
8597
8598         * buffer.C (readLyXformat2): adjust
8599         (insertStringAsLines): adjust
8600         (latexParagraphs): adjust
8601
8602         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8603         (cutSelection): adjust
8604         (pasteSelection): adjust
8605
8606         * BufferView_pimpl.C (insertInset): adjust
8607
8608 2003-03-05  Angus Leeming  <leeming@lyx.org>
8609
8610         * commandtags.h:
8611         * LyXAction.C (init):
8612         * BufferView_pimpl.C (dispatch):
8613         * lyxfunc.C (getStatus):
8614         remove LFUN_CHILD_INSERT.
8615
8616         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8617
8618 2003-03-05  Angus Leeming  <leeming@lyx.org>
8619
8620         * commandtags.h:
8621         * LyXAction.C (init):
8622         * src/factory.C (createInset):
8623         * lyxfunc.C (getStatus):
8624         * text3.C (dispatch):
8625         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8626
8627         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8628
8629 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8630
8631         * ParagraphList.C (insert): handle insert right before end()
8632         (erase): fix cases where it can be first or last paragraph.
8633
8634 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8637         Paragraph::next and Paragraph::previous
8638         (TeXOnePar): ditto
8639
8640         * text.C (breakParagraph): adjust
8641
8642         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8643         BufferParams& as arg.
8644         (breakParagraph): use ParagraphList::insert
8645         (breakParagraphConservative): take a Buffer* instead of a
8646         BufferParams& as arg.
8647         (breakParagraphConservative): use ParagraphList::insert.
8648
8649         * buffer.C (insertStringAsLines): un-const it
8650         (insertStringAsLines): adjust
8651
8652         * ParagraphList.C (insert): new function
8653
8654         * CutAndPaste.C (pasteSelection): adjust
8655
8656         * text.C (backspace): adjust
8657
8658         * tabular.C (SetMultiColumn): adjust
8659
8660         * CutAndPaste.C (cutSelection): adjust
8661         (pasteSelection): adjust
8662
8663         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8664         Buffer const * as arg
8665
8666         * ParagraphList.C (erase): new function
8667         * paragraph_funcs.C (mergeParagraph): use it
8668         (mergeParagraph): make it take a Buffer* instead of a
8669         BufferParams* as arg
8670
8671         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8672         as arg
8673         (breakParagraphConservative): ditto
8674
8675         * paragraph.h: remove the breakParagraph friend
8676
8677         * paragraph.C (eraseIntern): new function
8678         (setChange): new function
8679
8680         * paragraph_funcs.C (mergeParagraph): make it take a
8681         ParagraphList::iterator instead of a Paragraph *, adjust
8682         accordingly.
8683
8684         * paragraph.h: move an #endif so that the change tracking stuff
8685         also works in the NO_NEXT case.
8686
8687 2003-03-04  Angus Leeming  <leeming@lyx.org>
8688
8689         * commandtags.h:
8690         * LyXAction.C: new LFUN_INSET_MODIFY.
8691
8692         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8693         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8694
8695 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * several files: ws changes only
8698
8699         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8700         (TeXEnvironment): ditto
8701         (TeXDeeper): ditto
8702
8703         * buffer.C (makeLaTeXFile): adjust
8704         (latexParagraphs): make it take ParagraphList::iterator as args
8705
8706 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * buffer.C (latexParagraphs): adjust
8709
8710         * paragraph.C (TeXOnePar): move function...
8711         (optArgInset): move function...
8712         (TeXEnvironment): move function...
8713         * paragraph_pimpl.C (TeXDeeper): move function...
8714         * paragraph_funcs.C: ...here
8715
8716         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8717
8718 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8719
8720         * buffer.C (readInset): remove compability code for old Figure and
8721         InsetInfo insets
8722
8723 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8724
8725         * buffer.C: ws changes
8726         (readInset):
8727
8728         * BufferView_pimpl.C: ditto
8729         * author.C: ditto
8730         * buffer.h: ditto
8731         * bufferlist.h: ditto
8732         * changes.h: ditto
8733         * lyxfunc.C: ditto
8734
8735 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8736
8737         * converter.[Ch]: split into itself +
8738         * graph.[Ch]
8739         * format.[Ch]
8740         * Makefile.am: += graph.[Ch] + format.[Ch]
8741         * MenuBackend.C
8742         * buffer.C
8743         * exporter.C
8744         * importer.C
8745         * lyx_main.C
8746         * lyxfunc.C
8747         * lyxrc.C: added #include "format.h"
8748
8749 2003-02-27  Angus Leeming  <leeming@lyx.org>
8750
8751         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8752           a label.
8753
8754         * factory.C (createInset): add "label" to the factory.
8755
8756         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8757           string and do no more.
8758
8759 2003-02-27  Angus Leeming  <leeming@lyx.org>
8760
8761         * commandtags.h:
8762         * LyXAction.C (init):
8763         * factory.C (createInset):
8764         * BufferView_pimpl.C (dispatch):
8765           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8766
8767         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8768
8769         * lyxfunc.C (dispatch):
8770         * text3.C (dispatch): pass name to params2string.
8771
8772 2003-02-26  Angus Leeming  <leeming@lyx.org>
8773
8774         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8775           blocks together.
8776           Rearrange the ~includes. Strip out the unnecessary ones.
8777
8778         * factory.C (createInset): reformat.
8779           create new insets for the various LFUN_XYZ_APPLY lfuns.
8780
8781 2003-02-26  John Levon  <levon@movementarian.org>
8782
8783         * lyxrow.h:
8784         * lyxrow.C: add isParStart,isParEnd helpers
8785
8786         * paragraph.h: make isInserted/DeletedText take refs
8787
8788         * paragraph_funcs.h:
8789         * paragraph_funcs.C: remove #if 0'd code
8790
8791         * lyxtext.h:
8792         * text3.C:
8793         * text2.C:
8794         * text.C: use lyxrow helpers above.
8795           Move draw and paint routines to RowPainter.
8796           Make several methods use refs not pointers.
8797           Make backgroundColor() const.
8798           Add markChangeInDraw(), isInInset().
8799           Merge changeRegionCase into changeCase.
8800           Make workWidth() shouldn't-happen code into an Assert.
8801
8802         * rowpainter.h:
8803         * rowpainter.C: new class for painting a row.
8804
8805         * vspace.h:
8806         * vspace.C: make inPixels take a ref
8807
8808 2003-02-26  Angus Leeming  <leeming@lyx.org>
8809
8810         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8811         LFUN_REF_APPLY.
8812
8813 2003-02-25  John Levon  <levon@movementarian.org>
8814
8815         * ispell.C: give the forked command a more accurate name
8816
8817 2003-02-22  John Levon  <levon@movementarian.org>
8818
8819         * toc.h:
8820         * toc.C: make TocItem store an id not a Paragraph *
8821           (bug #913)
8822
8823 2003-02-21  Angus Leeming  <leeming@lyx.org>
8824
8825         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8826           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8827           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8828           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8829           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8830           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8831
8832         * BufferView_pimpl.C (dispatch):
8833         * LyXAction.C (init):
8834         * factory.C (createInset):
8835         * lyxfunc.C (getStatus, dispatch):
8836         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8837
8838 2003-02-21  Angus Leeming  <leeming@lyx.org>
8839
8840         * BufferView_pimpl.C (MenuInsertLyXFile):
8841         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8842         * lyxfunc.C (menuNew, open, doImport):
8843           no longer pass a LyXView & to fileDlg.
8844
8845 2003-02-21  Angus Leeming  <leeming@lyx.org>
8846
8847         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8848         * LyXAction.C: change, BIBKEY to BIBITEM.
8849         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8850         Change InsetBibKey to InsetBibitem.
8851         Change BIBKEY_CODE to BIBITEM_CODE.
8852         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8853         * factory.C: replace insetbib.h with insetbibitem.h.
8854         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8855         * paragraph.C: replace insetbib.h with insetbibitem.h.
8856         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8857         Change bibkey() to bibitem().
8858         * text.C: remove insetbib.h.
8859         * text2.C: replace insetbib.h with insetbibitem.h.
8860         change bibkey() to bibitem().
8861         * text3.C: remove insetbib.h.
8862         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8863
8864 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8865
8866         * lyxrc.C (output): enclose user email in quotes (in case there are
8867         several words)
8868
8869 2003-02-18  John Levon  <levon@movementarian.org>
8870
8871         * buffer.h: add std::
8872
8873 2003-02-17  John Levon  <levon@movementarian.org>
8874
8875         * SpellBase.h:
8876         * ispell.h:
8877         * ispell.C:
8878         * pspell.h:
8879         * pspell.C: reworking. Especially in ispell, a large
8880           number of clean ups and bug fixes.
8881
8882         * lyxfunc.C: fix revert to behave sensibly
8883
8884 2003-02-17 André Pönitz <poenitz@gmx.net>
8885
8886         * LyXAction.C:
8887         * commandtags.h: new LFUN_INSERT_BIBKEY
8888
8889         * layout.h:
8890         * lyxlayout.C:
8891         * buffer.C:
8892         * factory.C:
8893         * text.C:
8894         * text2.C:
8895         * text3.C:
8896         * paragraph.[Ch]:
8897         * paragraph_func.C: remove special bibkey handling
8898
8899 2003-02-17  John Levon  <levon@movementarian.org>
8900
8901         * text.C (Delete): fix case where delete at the end of
8902           the very first paragraph would not merge the pars
8903
8904 2003-02-17  John Levon  <levon@movementarian.org>
8905
8906         * lyxrow.C: fix lastPrintablePos()
8907
8908 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8909
8910         * bufferparams.C (writeLaTeX): add a std:here
8911
8912         * buffer.C: and remove a using directive there
8913
8914 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * buffer.C (makeLaTeXFile): move the code that generates the
8917           preamble...
8918
8919         * bufferparams.C (writeLaTeX): ... in this new method
8920
8921         * LaTeXFeatures.C (getEncodingSet): make const
8922           (getLanguages): make const
8923
8924         * MenuBackend.C (binding): returns the binding associated to this
8925           action
8926           (add): sets the status of each item by calling getStatus. Adds
8927           some intelligence.
8928           (read): add support for OptSubMenu
8929           (expand): remove extra separator at the end of expanded menu
8930
8931 2003-02-15  John Levon  <levon@movementarian.org>
8932
8933         * BufferView.C:
8934         * BufferView_pimpl.C:
8935         * bufferlist.h:
8936         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8937           inset code that had no actual effect. Remove unneeded status
8938           code.
8939
8940 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8943           in preamble
8944
8945 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8946
8947         * text.C (drawLengthMarker): also draw an arrow marker for
8948           symbolic lengths (medskip...)
8949
8950 2003-02-14  John Levon  <levon@movementarian.org>
8951
8952         * tabular.h:
8953         * tabular.C: better method names
8954
8955 2003-02-14  John Levon  <levon@movementarian.org>
8956
8957         * BufferView_pimpl.C:
8958         * bufferlist.C:
8959         * buffer.C:
8960         * converter.C:
8961         * lyx_cb.C:
8962         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8963           it's a more accurate name. Remove some pointless uses.
8964
8965 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8966
8967         * text2.C (LyXText): change order of initilizers to shut off
8968           warnings
8969
8970 2003-02-14  John Levon  <levon@movementarian.org>
8971
8972         * buffer.C: use ParIterator for getParFromID()
8973
8974         * paragraph.h:
8975         * paragraph.C:
8976         * paragraph_pimpl.h:
8977         * paragraph_pimpl.C: remove unused getParFromID()
8978
8979 2003-02-14  John Levon  <levon@movementarian.org>
8980
8981         * buffer.C: remove some very old #if 0'd parse code
8982
8983 2003-02-13  John Levon  <levon@movementarian.org>
8984
8985         * text.h:
8986         * text.C:
8987         * text2.C: move hfillExpansion(), numberOfSeparators(),
8988           rowLast(), rowLastPrintable(), numberofHfills(),
8989           numberOfLabelHfills() ...
8990
8991         * lyxrow.h:
8992         * lyxrow.C: ... to member functions here.
8993
8994         * paragraph.h:
8995         * paragraph.C:
8996         * lyxtext.h:
8997         * text.C: remove LyXText::beginningOfMainBody(), and call
8998           p->beginningOfMainBody() directly. Move the check for
8999           LABEL_MANUAL into the latter.
9000
9001         * text.h:
9002         * text.C:
9003         * text2.C:
9004         * vspace.C:
9005         * BufferView.h:
9006         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9007
9008         * text.h:
9009         * text.C:
9010         * text2.C:
9011         * text3.C:
9012         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9013           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9014
9015 2003-02-13  John Levon  <levon@movementarian.org>
9016
9017         * CutAndPaste.C: remove debug
9018
9019 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9020
9021         * paragraph.C (asString): remove two unused variables
9022
9023         * lyxtextclass.C (readTitleType):
9024           (Read):
9025           (LyXTextClass): handle new members titletype_ and titlename_
9026
9027         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9028
9029 2003-02-09  John Levon  <levon@movementarian.org>
9030
9031         * buffer.h:
9032         * buffer.C: replace hand-coded list with a map for the dep clean
9033
9034 2003-02-08  John Levon  <levon@movementarian.org>
9035
9036         * LaTeX.C: consolidate code into showRunMessage() helper
9037
9038 2003-02-08  John Levon  <levon@movementarian.org>
9039
9040         * lyxfind.C:
9041         * lyxtext.h:
9042         * text2.C:
9043         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9044           and pass the size in explicitly
9045
9046         * BufferView_pimpl.h:
9047         * BufferView_pimpl.C:
9048         * BufferView.h:
9049         * BufferView.C: add getCurrentChange()
9050
9051         * BufferView_pimpl.h:
9052         * BufferView_pimpl.C: handle change lfuns
9053
9054         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9055           for changes. Mark pasted paragraphs as new.
9056
9057         * support/lyxtime.h:
9058         * support/lyxtime.C:
9059         * DepTable.C: abstract time_t as lyx::time_type
9060
9061         * LColor.h:
9062         * LColor.C: add colours for new text, deleted text, changebars
9063
9064         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9065           package use "usenames" option.
9066
9067         * commandtags.h:
9068         * lyxfunc.C:
9069         * LyXAction.C: add change lfuns
9070
9071         * Makefile.am:
9072         * author.h:
9073         * author.C: author handling
9074
9075         * buffer.h:
9076         * buffer.C: add a per-buffer author list, with first entry as
9077           current author. Handle new .lyx tokens for change tracking. Output
9078           author list to .lyx file. Output dvipost stuff to .tex preamble.
9079           Bump lyx format to 222.
9080
9081         * bufferlist.h:
9082         * bufferlist.C: add setCurrentAuthor() to reset current author details
9083           in all buffers.
9084
9085         * bufferparams.h:
9086         * bufferparams.C: add param for tracking
9087
9088         * bufferview_funcs.C: output change info in minibuffer
9089
9090         * Makefile.am:
9091         * changes.h:
9092         * changes.C: add change-tracking structure
9093
9094         * debug.h:
9095         * debug.C: add CHANGES debug flag
9096
9097         * lyxfind.h:
9098         * lyxfind.C: add code for finding the next change piece
9099
9100         * lyxrc.h:
9101         * lyxrc.C: add user_name and user_email
9102
9103         * lyxrow.h:
9104         * lyxrow.C: add a metric for the top of the text line
9105
9106         * lyxtext.h:
9107         * text.C: implement accept/rejectChange()
9108
9109         * lyxtext.h:
9110         * text.C: paint changebars. Paint new/deleted text in the chosen
9111         colours. Strike through deleted text.
9112
9113         * paragraph.h:
9114         * paragraph.C:
9115         * paragraph_pimpl.h:
9116         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9117           in the current change to the insert functions. Rework erase to
9118           mark text as deleted, adding an eraseIntern() and a range-based
9119           erase(). Implement per-paragraph change lookup and
9120           accept/reject.
9121
9122         * paragraph_funcs.C: Fixup paste for change tracking.
9123
9124         * tabular.C: mark added row/columns as new.
9125
9126         * text.C: fix rowLast() to never return -1. Don't allow
9127           spellchecking of deleted text. Track transpose changes. Don't
9128           allow paragraph break or merge where appropriate.
9129
9130         * text2.C: leave cursor at end of selection after a cut.
9131
9132 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9133
9134         * text.C (getLengthMarkerHeight):
9135         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9136         visible on screen too.
9137
9138 2003-02-07  John Levon  <levon@movementarian.org>
9139
9140         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9141
9142 2003-02-05  Angus Leeming  <leeming@lyx.org>
9143
9144         * lyxserver.C (read_ready): revert my patch of 11 September last year
9145         as it sends PC cpu through the roof. Presumably this means that
9146         the lyxserver will no longer run on an Alpha...
9147
9148 2003-01-30  Angus Leeming  <leeming@lyx.org>
9149
9150         * factory.C (createInset): create an InsetCommandParam of type "index"
9151         and use it to 'do the right thing'.
9152
9153         * text2.C (getStringToIndex): ensure that cursor position is always
9154         reset to the reset_cursor position.
9155
9156 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9157
9158         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9159         disabled.
9160
9161 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9162
9163         * bufferview.C:
9164         * lyxcb.C:
9165         * lyxfunc.C: Output messages with identical spelling, punctuation,
9166         and spaces
9167
9168 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9169
9170         * MenuBackend.C (expandFormats): List only viewable export formats
9171         in "View" menu
9172
9173         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9174         message
9175
9176         * lyxfunc.C (getStatus): Make sure that formats other than
9177         "fax" can also be disabled
9178
9179 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * text3.C (dispatch): put the lfuns that insert insets in 3
9182         groups, and call doInsertInset with appropriate arguments.
9183         (doInsertInset): new function, that creates an inset and inserts
9184         it according to some boolean parameters.
9185
9186 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9187
9188         * buffer.C (readFile): remember to pass on 'par' when calling
9189         readFile recursively.
9190
9191 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9192
9193         * MenuBackend.C (expandFormats): add "..." to import formats.
9194
9195 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9196
9197         * paragraph.C (asString): Remove XForms RTL hacks.
9198
9199 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9200         * buffer.C: fix typo
9201
9202 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9203
9204         * Makefile.am (LIBS): delete var
9205         (lyx_LDADD): add @LIBS@ here instead.
9206
9207 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9208
9209         * Clarify the meaning of "wheel mouse jump"
9210
9211 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9212
9213         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9214         tabular in a float
9215
9216 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9217
9218         * importer.C (Loaders): do not preallocate 3 elements in the
9219         vector, since one ends up with 6 elements otherwise
9220
9221 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9222
9223         * DepTable.C (write): write the file name as last element of the
9224         .dep file (because it may contain spaces)
9225         (read): read info in the right order
9226
9227 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9228
9229         * paragraph_pimpl.C (simpleTeXBlanks):
9230         (simpleTeXSpecialChars):
9231         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9232
9233         * tabular.C (latex): add some missing case statements. Reindent.
9234
9235         * MenuBackend.C (expandToc): remove unused variable.
9236
9237 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9238
9239         * LColor.C:
9240         * LaTeX.C:
9241         * LyXAction.C:
9242         * MenuBackend.C:
9243         * buffer.C:
9244         * exporter.C:
9245         * lyxfunc.C:
9246         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9247         and the like.
9248
9249 2003-01-05  John Levon  <levon@movementarian.org>
9250
9251         * BufferView.h:
9252         * BufferView.C: add getEncoding()
9253
9254         * kbsequence.h:
9255         * kbsequence.C: do not store last keypress
9256
9257         * lyxfunc.h:
9258         * lyxfunc.C: store last keypress here instead. Pass encoding
9259           to getISOEncoded()
9260
9261 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9262
9263         * lyx_main.C (init): remove annoying error message when following
9264         symbolic links (bug #780)
9265
9266 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9267
9268         * text.C (insertChar):
9269         * lyxrc.C (getDescription): remove extra spaces
9270
9271 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9272
9273         * lyxrc.C (getDescription): remove extra spaces
9274
9275 2002-12-20  John Levon  <levon@movementarian.org>
9276
9277         * text3.C: hack fix for page up/down across tall rows
9278
9279 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9280
9281         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9282         not been invoked
9283
9284 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9285
9286         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9287         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9288         thesaurus is not compiled in
9289
9290 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9291
9292         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9293
9294 2002-12-16  Angus Leeming  <leeming@lyx.org>
9295
9296         * lyxrc.[Ch]:
9297         * lyx_main.C (init): remove override_x_deadkeys stuff.
9298
9299 2002-12-12  John Levon  <levon@movementarian.org>
9300
9301         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9302           insert. Only remove shift modifier under strict
9303           circumstances.
9304
9305 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9306
9307         * MenuBackend.C (expandToc): fix crash.
9308
9309 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * MenuBackend.C (expandToc): gettext on float names.
9312
9313 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9314
9315         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9316         implement bool empty() [bug 490]
9317
9318 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9319
9320         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9321
9322 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * several files: ws changes
9325
9326 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9327
9328         * text2.C (setCounter): clean up a bit, use boost.format.
9329         (updateCounters): initialize par upon declaration.
9330
9331         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9332         if the layout exists. We do not just store the layout any more.
9333         (SwitchLayoutsBetweenClasses): use boost.format
9334
9335 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * converter.C (convert): if from and to files are the same, use a
9338         temporary files as intermediary
9339
9340 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9341
9342         * commandtags.h:
9343         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9344
9345 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9346
9347         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9348
9349 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9350
9351         * tabular.C (asciiPrintCell): use string(size, char) instead of
9352         explicit loop.
9353
9354         * sgml.C (openTag): fix order of arguments to string constructor
9355         (closeTag): ditto
9356
9357         * lyxfunc.C (dispatch): use boost.format
9358
9359         * lots of files: change "c" -> 'c'
9360
9361 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9362
9363         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9364
9365 2002-11-25  Angus Leeming  <leeming@lyx.org>
9366
9367         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9368
9369         * lyx_main.C (init): compile fix.
9370
9371 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9372
9373         * lyx_cb.C (start): boost.formatify
9374         do not include <iostream>
9375
9376         * lengthcommon.C: ws only
9377
9378         * boost-inst.C,BoostFormat.h: add more explict instantations
9379
9380 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * lots of files: handle USE_BOOST_FORMAT
9383
9384 2002-11-21  John Levon  <levon@movementarian.org>
9385
9386         * pspell.C: fix compile
9387
9388 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9389
9390         * lyxfunc.C (dispatch): use boost::format
9391         (open): ditto
9392         (doImport): ditto
9393
9394         * lyxfont.C (stateText): use boost::format
9395
9396         * lyx_main.C (LyX): use boost::format
9397         (init): ditto
9398         (queryUserLyXDir): ditto
9399         (readRcFile): ditto
9400         (parse_dbg): ditto
9401         (typedef boost::function): use the recommened syntax.
9402
9403         * importer.C (Import): use boost::format
9404
9405         * debug.C (showLevel): use boost::format
9406
9407         * converter.C (view): use boost::format
9408         (convert): ditto
9409         (move): ditto
9410         (scanLog): ditto
9411
9412         * bufferview_funcs.C (currentState): use boost::format
9413
9414         * bufferlist.C (emergencyWrite): use boost::format
9415
9416         * buffer.C (readLyXformat2): use boost::format
9417         (parseSingleLyXformat2Token): ditto
9418
9419         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9420
9421         * LaTeX.C (run): use boost::format
9422
9423         * Chktex.C (scanLogFile): use boost::format
9424
9425         * BufferView_pimpl.C (savePosition): use boost::format
9426         (restorePosition): ditto
9427         (MenuInsertLyXFile): ditto
9428
9429         * BoostFormat.h: help file for explicit instation.
9430
9431 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9432
9433         * tabular.C (latex): Support for block alignment in fixed width
9434         columns.
9435
9436 2002-11-17  John Levon  <levon@movementarian.org>
9437
9438         * BufferView_pimpl.C:
9439         * lyx_cb.C:
9440         * lyxfunc.C: split filedialog into open/save
9441
9442 2002-11-08  Juergen Vigna  <jug@sad.it>
9443
9444         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9445         by my last patch (hopefully).
9446
9447 2002-11-08  John Levon  <levon@movementarian.org>
9448
9449         * iterators.h:
9450         * iterators.C:
9451         * buffer.h:
9452         * buffer.C:
9453         * paragraph.h:
9454         * paragraph.C:
9455         * toc.h:
9456         * toc.C: ParConstIterator, and use it (from Lars)
9457
9458 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9459
9460         * lyxtextclass.[Ch]: revise and add doxygen comments
9461
9462 2002-11-07  John Levon  <levon@movementarian.org>
9463
9464         * text.C: fix progress value for spellchecker
9465
9466         * toc.C: fix navigate menu for insetwrap inside minipage
9467
9468         * paragraph_funcs.C: added FIXME for suspect code
9469
9470 2002-11-07  John Levon  <levon@movementarian.org>
9471
9472         * BufferView_pimpl.C: fix redrawing of insets
9473           on buffer switch
9474
9475 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9476
9477         * text2.C (updateCounters): fix bug 668
9478
9479 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9480
9481         * text3.C (dispatch): Do not make the buffer dirty when moving the
9482         cursor.
9483
9484 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9485
9486         * vc-backend.C: STRCONV
9487         (scanMaster): ditto
9488
9489         * text2.C (setCounter): STRCONV
9490
9491         * paragraph.C (asString): STRCONV
9492
9493         * lyxlength.C (asString): STRCONV
9494         (asLatexString): ditto
9495
9496         * lyxgluelength.C (asString): STRCONV
9497         (asLatexString): ditto
9498
9499         * lyxfunc.C (dispatch): STRCONV
9500         (open): ditto
9501
9502         * lyxfont.C (stateText): STRCONV
9503
9504         * importer.C (Import): STRCONV
9505
9506         * counters.C (labelItem): STRCONV
9507         (numberLabel): ditto
9508         (numberLabel): remove unused ostringstream o
9509
9510         * chset.C: STRCONV
9511         (loadFile): ditto
9512
9513         * bufferview_funcs.C (currentState): STRCONV
9514
9515         * buffer.C (readFile): STRCONV
9516         (asciiParagraph): ditto
9517         (makeLaTeXFile): ditto
9518
9519         * Spacing.C (writeEnvirBegin): STRCONV
9520
9521         * LaTeXFeatures.C (getLanguages): STRCONV
9522         (getPackages): ditto
9523         (getMacros): ditto
9524         (getBabelOptions): ditto
9525         (getTClassPreamble): ditto
9526         (getLyXSGMLEntities): ditto
9527         (getIncludedFiles): ditto
9528
9529         * LaTeX.C: STRCONV
9530         (run): ditto
9531         (scanAuxFile): ditto
9532         (deplog): ditto
9533
9534         * LString.h: add the STRCONV macros
9535
9536         * BufferView_pimpl.C (savePosition): STRCONV
9537         (restorePosition): ditto
9538         (MenuInsertLyXFile): ditto
9539
9540         * vc-backend.C (scanMaster): change from submatch[...] to
9541         submatch.str(...)
9542
9543         * funcrequest.C: include config.h
9544
9545         * factory.C: include config.h
9546
9547         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9548
9549         * box.C: include config.h
9550
9551         * LaTeX.C (scanAuxFile): change from submatch[...] to
9552         submatch.str(...)
9553         (deplog): ditto
9554
9555 2002-10-25  Angus Leeming  <leeming@lyx.org>
9556
9557         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9558
9559         * ispell.[Ch] (setError): new method.
9560         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9561         Use setError() insetead of goto END.
9562
9563         * lyx_cb.C (AutoSave): move out child process into new class
9564         AutoSaveBuffer.
9565
9566 2002-10-30  John Levon  <levon@movementarian.org>
9567
9568         * text3.C: make start appendix undoable
9569
9570 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9571
9572         * lyxlength.C (inPixels): Fix returned value.
9573
9574         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9575         environment.
9576
9577 2002-10-24  Angus Leeming  <leeming@lyx.org>
9578
9579         * lyxgluelength.h: no need to forward declare BufferParams
9580         or BufferView, so don't.
9581
9582 2002-10-21  John Levon  <levon@movementarian.org>
9583
9584         * BufferView.C: menuUndo ->undo, redo
9585
9586         * BufferView.h: document, remove dead, make some methods private
9587
9588         * paragraph_funcs.h:
9589         * paragraph_funcs.C:
9590         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9591
9592         * buffer.h:
9593         * buffer.C:
9594         * sgml.h:
9595         * sgml.C: move sgml open/close tag into sgml.C
9596
9597         * bufferview_funcs.h: unused prototype
9598
9599         * lyxfunc.h:
9600         * lyxfunc.C: remove unused
9601
9602         * lyxtext.h:
9603         * text.C: remove unused
9604
9605 2002-10-21  John Levon  <levon@movementarian.org>
9606
9607         * BufferView.h:
9608         * BufferView.C:
9609         * BufferView_pimpl.h:
9610         * BufferView_pimpl.C: fix mouse wheel handling based on
9611           patch from Darren Freeman
9612
9613 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9614
9615         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9616
9617 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9618
9619         * lyxlength.C (inPixels): Fix hanfling of negative length.
9620         Fix LyXLength::MU case.
9621
9622 2002-10-16  John Levon  <levon@movementarian.org>
9623
9624         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9625
9626 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9627
9628         * converter.C (view): add support for $$i (file name) and $$p
9629         (file path) for the viewer command. If $$i is not specified, then
9630         it is appended to the command (for compatibility with old syntax)
9631
9632 2002-10-14  Juergen Vigna  <jug@sad.it>
9633
9634         * undo_funcs.C (textHandleUndo): alter the order in which the
9635         new undopar is added to the LyXText, as we have to set first
9636         the right prev/next and then add it as otherwise the rebuild of
9637         LyXText is not correct. Also reset the cursor to the right paragraph,
9638         with this IMO we could remove the hack in "redoParagraphs()".
9639
9640 2002-10-09  Angus Leeming  <leeming@lyx.org>
9641
9642         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9643         to turn off an optimisation if a new inset is to be inserted.
9644
9645 2002-10-11 André Pönitz <poenitz@gmx.net>
9646
9647         * lyxtext.h: make some functions public to allow access
9648         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9649
9650 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9651
9652         * text3.C (dispatch): when changing layout, avoid an infinite loop
9653         [bug #652]
9654
9655 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9656
9657         * lyxrc.C (read): treat a viewer or converter command of "none" as
9658         if it were empty.
9659
9660         * MenuBackend.C (expandFormats): for an update, also allow the
9661         formats that are not viewable
9662
9663         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9664         script if it is newer than the lyxrc.defaults in user directory
9665
9666 2002-10-07 André Pönitz <poenitz@gmx.net>
9667
9668         * text.C: Vitaly Lipatov's small i18n fix
9669
9670 2002-09-25  Angus Leeming  <leeming@lyx.org>
9671
9672         * ispell.h: doxygen fix.
9673
9674 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9675
9676         * buffer.h (readFile): Add a new argument to the method, to allow
9677         reading of old-format templates.
9678
9679 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9680
9681         * toc.C (getTocList): Get TOC from InsetWrap.
9682
9683 2002-09-16  John Levon  <levon@movementarian.org>
9684
9685         * lyxfunc.C: check tabular for cut/copy too
9686
9687 2002-09-12  John Levon  <levon@movementarian.org>
9688
9689         * LyXAction.C: tidy
9690
9691         * factory.h:
9692         * factory.C: add header
9693
9694         * paragraph_funcs.h:
9695         * paragraph_funcs.C: cleanup
9696
9697 2002-09-11  John Levon  <levon@movementarian.org>
9698
9699         * PrinterParams.h: odd/even default to true
9700
9701 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9702
9703         * PrinterParams.h: update printer parameters for new xforms dialog
9704
9705 2002-09-11  Angus Leeming  <leeming@lyx.org>
9706
9707         * lyxserver.C (read_ready): re-write to make it more transparent
9708         and to make it work in coherent fashion under Tru64 Unix.
9709
9710 2002-09-11  André Pönitz <poenitz@gmx.net>
9711
9712         * commandtags.h:
9713         * LyXAction.C:
9714         * text3.C: implement LFUN_WORDSEL
9715
9716 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9717
9718         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9719         make floatlist_ a boost::shared_ptr<FloatList>
9720
9721         * lyxtextclass.C: include FloatList.h
9722         (LyXTextClass): initialize floatlist_
9723         (TextClassTags): add TC_NOFLOAT
9724         (Read): match "nofloat" to TC_NOFLOAT and use it.
9725         (readFloat): modify call to floatlist_
9726         (floats): ditto
9727         (floats): ditto
9728
9729         * FloatList.[Ch] (FloatList): remove commented out float
9730         initialization.
9731         (erase): new function
9732
9733 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9734
9735         * MenuBackend.C (expandToc): fix crash when there is no document
9736         open
9737
9738 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9739
9740         * many files: Add insetwrap.
9741
9742 2002-09-09  John Levon  <levon@movementarian.org>
9743
9744         * text2.C: remove confusing and awkward depth wraparound
9745
9746 2002-09-09  John Levon  <levon@movementarian.org>
9747
9748         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9749
9750         * buffer.h:
9751         * buffer.C: remove getIncludeonlyList()
9752
9753         * paragraph.C:
9754         * lyxfunc.C: remove headers
9755
9756 2002-09-09  Juergen Vigna  <jug@sad.it>
9757
9758         * text.C (getColumnNearX): fix form Michael this is most
9759         probably a cut&paste bug.
9760
9761 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9762
9763         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9764
9765         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9766         references, ws changes.
9767
9768         * text2.C (init): update counters after init
9769         (insertParagraph): no need to set counter on idividual paragraphs.
9770         (setCounter): access the counters object in the textclass object
9771         on in the buffer object.
9772         (updateCounters): ditto
9773
9774         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9775         shared_ptr<Counters> to avoid loading counters.h in all
9776         compilation units.
9777         (LyXTextClass): initialize ctrs_
9778         (TextClassTags): add TC_COUNTER, and ...
9779         (Read): use it here.
9780         (CounterTags): new tags
9781         (readCounter): new function
9782         (counters): new funtion
9783         (defaultLayoutName): return a const reference
9784
9785         * counters.C (Counters): remove contructor
9786         (newCounter): remove a couple of unneeded statements.
9787         (newCounter): simplify a bit.
9788         (numberLabel): some small formatting changes.
9789
9790         * buffer.[Ch]: remove all traces of counters, move the Counters
9791         object to the LyXTextClass.
9792
9793 2002-09-06  Alain Castera  <castera@in2p3.fr>
9794
9795         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9796         package to set the horizontal alignment on fixed width columns.
9797
9798         * lyx_sty.C:
9799         * lyx_sty.h: added tabularnewline macro def.
9800
9801         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9802
9803 2002-09-06  John Levon  <levon@movementarian.org>
9804
9805         * LyXAction.C: tooltips for sub/superscript
9806
9807         * MenuBackend.C: a bit more verbose
9808
9809         * lyxfunc.C: tiny clean
9810
9811         * undo_funcs.C: document undo_frozen
9812
9813 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9814
9815         * counters.C (Counters): add missing algorithm counter.
9816
9817         * text2.C (setCounter): lookup the counter with layouts latexname
9818         instead of by section number.
9819         (setCounter): use a hackish way to lookup the correct enum
9820         counter.
9821         a float name->type change
9822         reset enum couners with counter name directly instead of depth value.
9823
9824         * counters.C (Counters): remove the push_backs, change to use the
9825         float type not the float name.
9826         (labelItem): remove unused string, float name->type change
9827
9828         * counters.h: don't include vector, loose the enums and sects vectors
9829
9830 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9831
9832         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9833         (Read): add float->TC_FLOAT to textclassTags
9834         (Read): and handle it in the switch
9835         (readFloat): new function
9836
9837         * FloatList.C (FloatList): comment out the hardcoded float
9838         definitions.
9839
9840         * lyxlayout.h: ws change.
9841
9842 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9843
9844         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9845
9846 2002-09-03  Angus Leeming  <leeming@lyx.org>
9847
9848         * BufferView_pimpl.h: qualified name is not allowed in member
9849         declaration: WorkArea & Pimpl::workarea() const;
9850
9851         * factory.C: added using std::endl directive.
9852
9853         * text3.C: added using std::find and std::vector directives.
9854
9855 2002-08-29  André Pönitz <poenitz@gmx.net>
9856
9857         * lyxtext.h:
9858         * text2.C: remove unused member number_of_rows
9859
9860         * Makefile.am:
9861         * BufferView2.C: remove file, move contents to...
9862         * BufferView.C: ... here
9863
9864         * BufferView_pimpl.C:
9865         * factory.C: move more inset creation to factory
9866
9867         * vspace.C: avoid direct usage of LyXText, ws changes
9868
9869         * BufferView.[Ch]:
9870                 don't provide direct access to WorkArea, use two simple
9871                 acessors haveSelction() and workHeight() instead
9872
9873
9874 2002-08-29  John Levon  <levon@movementarian.org>
9875
9876         * BufferView_pimpl.C (dispatch): do not continue when
9877           no buffer
9878
9879 2002-08-28  André Pönitz <poenitz@gmx.net>
9880
9881         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9882
9883         * BufferView.h:
9884         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9885
9886 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9887
9888         * buffer.C: increment LYX_FORMAT to 221
9889
9890         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9891         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9892
9893         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9894
9895         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9896
9897 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9898
9899         * factory.C (createInset): use LyXTextClass::floats
9900
9901         * MenuBackend.C (expandFloatListInsert):
9902         (expandFloatInsert):
9903         (expandToc):
9904
9905         * text2.C (setCounter):
9906
9907         * LaTeXFeatures.C (useFloat):
9908         (getFloatDefinitions):
9909
9910         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9911
9912         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9913         floatlist_, with accessor floats().
9914
9915         * FloatList.h: remove global FloatList
9916
9917 2002-08-26  André Pönitz <poenitz@gmx.net>
9918
9919         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9920
9921         * BufferView.h:
9922         * BufferView2.C:
9923         * BufferView_pimpl.C:
9924         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9925
9926 2002-08-25  John Levon  <levon@movementarian.org>
9927
9928         * LyXAction.C: fix margin note description
9929
9930 2002-08-24  John Levon  <levon@movementarian.org>
9931
9932         * buffer.C:
9933         * bufferlist.C:
9934         * bufferview_funcs.C:
9935         * lyxfont.C:
9936         * undo_funcs.C: cleanups
9937
9938         * lyxfunc.C: disable CUT/COPY when no selection
9939
9940 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9941
9942         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9943         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9944
9945         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9946         Add backward compatibility to "mono", "gray" and "no".
9947
9948 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9949
9950         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9951         (and file_format >= 200).
9952
9953 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9956
9957 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9958
9959         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9960
9961 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9962
9963         * BufferView_pimpl.C:
9964         * LyXAction.C:
9965         * buffer.C:
9966         * commandtags.h:
9967         * lyxfunc.C:
9968         * paragraph.[Ch]:
9969         * text2.C:
9970         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9971         inset and code to make it  work with the paragraph code. The inset
9972         can be anywhere in the paragraph, but will only do the expected
9973         thing in LaTeX if the layout file contains the parameter line
9974                         OptionalArgs    1
9975         (or more generally, a nonzero value) for that layout.
9976
9977 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9978
9979         * paragraph.h: remove the declaration of undefined counters class
9980         function.
9981
9982 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9983
9984         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9985         Dr. Richard Hawkins.
9986
9987 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9988
9989         * paragraph_funcs.h: remove some unneeded includes
9990
9991         * text.C (backspace): pasteParagraph now in global scipe
9992
9993         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9994         (pasteSelection): ditto
9995
9996         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9997         * paragraph_funcs.C (pasteParagraph): ... here
9998
9999 2002-08-20  André Pönitz <poenitz@gmx.net>
10000
10001         * commandtags.h: new LFUNs for swapping/copying table row/colums
10002
10003         * LyXAction.C:
10004         * lyxfunc.C: support for new lfuns
10005
10006 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * tabular.C:
10009         * buffer.[Ch]: remove NO_COMPABILITY stuff
10010
10011 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10012
10013         * boost.C (throw_exception): new file, with helper function for
10014         boost compiled without exceptions.
10015
10016         * paragraph.h:
10017         * lyxlength.C:
10018         * buffer.C:
10019         * ParameterStruct.h:
10020         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10021
10022         * bufferlist.C (emergencyWriteAll): use boost bind
10023
10024         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10025
10026         * text.C: include paragraph_funcs.h
10027         (breakParagraph): breakParagraph is now in global scope
10028
10029         * paragraph_funcs.[Ch]: new files
10030
10031         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10032         global scope
10033
10034         * buffer.C: include paragraph_funcs.h
10035         (insertStringAsLines): breakParagraph is now in global scope
10036
10037         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10038         paragraph_funcs.C
10039
10040         * CutAndPaste.C: include paragraph_funcs.h
10041         (cutSelection): breakParagraphConservative is now in global scope
10042         (pasteSelection): ditto
10043
10044         * buffer.h: declare oprator== and operator!= for
10045         Buffer::inset_iterator
10046
10047         * bufferlist.C (emergencyWrite): don't use fmt(...)
10048
10049         * text3.C: add using std::endl
10050
10051         * BufferView.C (moveCursorUpdate): remove default arg
10052
10053 2002-08-20  André Pönitz <poenitz@gmx.net>
10054
10055         * buffer.[Ch]: move inline functions to .C
10056
10057         * BufferView2.C:
10058         * BufferView_pimpl.C:
10059         * text.C:
10060         * buffer.[Ch]: use improved inset_iterator
10061
10062         * buffer.C:
10063         * paragraph.[Ch]: write one paragraph at a time
10064
10065 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10066
10067         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10068         style if style is not specified.
10069
10070 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10071
10072         * text2.C (setCounter): when searching for right label for a
10073         caption, make sure to recurse to parent insets (so that a caption
10074         in a minipage in a figure float works) (bug #568)
10075
10076 2002-08-20  André Pönitz <poenitz@gmx.net>
10077
10078         * text3.C: new file for LyXText::dispatch() and helpers
10079
10080         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10081
10082         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10083
10084 2002-08-19  André Pönitz <poenitz@gmx.net>
10085
10086         * lyxtext.h:
10087         * text.C: new LyXText::dispatch()
10088
10089         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10090
10091 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10092
10093         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10094
10095         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10096         Hebrew text.
10097
10098 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * Makefile.am: use $(variables) instead of @substitutions@
10101
10102 2002-08-15  André Pönitz <poenitz@gmx.net>
10103
10104         * lyxfunc.C:
10105         * BufferView_pimpl.C: streamlining mathed <-> outer world
10106         interaction
10107
10108         * commandtags.h:
10109         * LyXAction.C: remove unused LFUN_MATH
10110
10111 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10112
10113         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10114
10115 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10116
10117         * paragraph.C (Paragraph): reformat a bit
10118         (cutIntoMinibuffer): use builtin InsetList function instad of
10119         doing it manually.
10120         (getInset): ditto
10121
10122         * buffer.C: include boost/bind.hpp, add using std::for_each
10123         (writeFileAscii): use ParagraphList iterators
10124         (validate): use for_each for validate traversal of paragraphs
10125         (getBibkeyList): use ParagraphList iterators
10126         (resizeInsets): use for_each to resizeInsetsLyXText for all
10127         paragraphs.
10128         (getParFromID): use ParagraphList iterators
10129
10130         * BufferView2.C (lockInset): use paragraph list and iterators
10131
10132 2002-08-14  John Levon  <levon@movementarian.org>
10133
10134         * lyxserver.C: remove spurious xforms include
10135
10136 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10139
10140 2002-08-13  André Pönitz <poenitz@gmx.net>
10141
10142         * LyXAction.[Ch]:
10143         * lyxfunc.C: further cleaning
10144
10145 2002-08-13  André Pönitz <poenitz@gmx.net>
10146
10147         * funcrequest.h: new constructor
10148
10149         * funcrequest.C: move stuff here from .h
10150
10151         * Makefile.am:
10152         * BufferView_pimpl.C:
10153         * LyXAction.C:
10154         * toc.C:
10155         * lyxfunc.C: subsequent changes
10156
10157         * lyxfunc.h: new view() member function
10158
10159         * lyxfunc.C: subsequent changes
10160
10161 2002-08-13  Angus Leeming  <leeming@lyx.org>
10162
10163         * BufferView2.C:
10164         * BufferView_pimpl.C:
10165         * buffer.C:
10166         * converter.C:
10167         * importer.C:
10168         * lyxfunc.C:
10169         * lyxvc.C:
10170         * toc.C:
10171         * vc-backend.C:
10172         changes due to the changed LyXView interface that now returns references
10173         to member variables not pointers.
10174
10175 2002-08-13  Angus Leeming  <leeming@lyx.org>
10176
10177         * WordLangTuple (word, lang_code): return references to strings,
10178         not strings.
10179
10180         * BufferView.h:
10181         * SpellBase.h:
10182         * lyxtext.h: forward-declare WordLangTuple.
10183
10184         * BufferView2.C:
10185         * ispell.C:
10186         * pspell.C:
10187         * text.C: #include "WordLangTuple.h".
10188
10189         * lyxtext.h:
10190         * text.C: (selectNextWordToSpellcheck): constify return type.
10191
10192 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10193
10194         * buffer.C:
10195         * buffer.h:
10196         * lyxtext.h:
10197         * paragraph.C:
10198         * paragraph_pimpl.h:
10199         * text.C:
10200         * text2.C:
10201         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10202         suggested by Angus.
10203         Made updateCounter always count from start of buffer, and removed
10204         second argument (par).
10205         Reverted floats number display to '#'. Perhaps I'll try again when the
10206         code base is sanitized a bit.
10207
10208 2002-08-12  Angus Leeming  <leeming@lyx.org>
10209
10210         * buffer.[Ch] (getLabelList): constify.
10211
10212 2002-08-07  André Pönitz <poenitz@gmx.net>
10213
10214         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10215
10216         * funcrequest.h: extension to keep mouse (x,y) position
10217
10218 2002-08-12  Juergen Vigna  <jug@sad.it>
10219
10220         * BufferView2.C (insertErrors): forbid undo when inserting error
10221         insets.
10222
10223         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10224
10225 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10226
10227         * ParagraphList.[Ch]: new files
10228
10229         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10230
10231         * BufferView2.C (lockInset): ParagraphList changes
10232         * toc.C: ditto
10233         * text2.C: ditto
10234         * bufferlist.C: ditto
10235         * buffer.h: ditto
10236         * buffer.C: ditto
10237
10238 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10239
10240         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10241         unused class variable counter_,
10242
10243         * paragraph.[Ch] (getFirstCounter): delete unused function
10244
10245         * counters.C: include LAssert.h
10246         (reset): add a new function with no arg, change other version to
10247         not have def. arg and to not allow empty arg.
10248
10249         * text2.C (setCounter): remove empty arg from call to Counters::reset
10250
10251 2002-08-11  John Levon  <levon@movementarian.org>
10252
10253         * Makefile.am: add WordLangTuple.h
10254
10255 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10256
10257         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10258         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10259
10260         * insets/insettext.C: InsetList changes
10261
10262         * graphics/GraphicsSupport.C (operator()): InsetList changes
10263
10264         * toc.C (getTocList): InsetList changes
10265
10266         * paragraph_pimpl.[Ch]: InsetList changes
10267
10268         * paragraph.[Ch]: InsetList changes
10269
10270         * buffer.C (inset_iterator): InsetList changes
10271         (setParagraph): ditto
10272         * buffer.h (inset_iterator): ditto
10273         * iterators.C (operator++): ditto
10274         * iterators.h: ditto
10275
10276         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10277
10278         * InsetList.[Ch]: new files, most InsetList handling moved out of
10279         paragraph.C.
10280
10281         * BufferView2.C (removeAutoInsets): InsetList changes
10282         (lockInset): ditto
10283         (ChangeInsets): ditto
10284
10285 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10286
10287         * paragraph_pimpl.h (empty): new function
10288
10289         * paragraph.[Ch] (empty): new function
10290
10291         * other files: use the new Paragraph::empty function
10292
10293 2002-08-09  John Levon  <levon@movementarian.org>
10294
10295         * lyxtext.h: remove unused refresh_height
10296
10297 2002-08-09  John Levon  <levon@movementarian.org>
10298
10299         * Makefile.am:
10300         * sgml.h:
10301         * sgml.C:
10302         * buffer.C:
10303         * paragraph.h:
10304         * paragraph.C: move sgml char escaping out of paragraph
10305
10306         * paragraph.h:
10307         * paragraph.C: remove id setter
10308
10309         * buffer.C:
10310         * paragraph.C:
10311         * paragraph_pimpl.C: remove dead tex_code_break_column
10312
10313         * bufferview_funcs.C: small cleanup
10314
10315         * lyxfunc.C: remove dead proto
10316
10317         * lyxtext.h: make some stuff private. Remove some dead stuff.
10318
10319         * lyxgluelength.C: make as[LyX]String() readable
10320
10321 2002-08-08  John Levon  <levon@movementarian.org>
10322
10323         * LyXAction.h:
10324         * LyXAction.C:
10325         * MenuBackend.C:
10326         * ToolbarDefaults.C:
10327         * lyxfunc.C:
10328         * lyxrc.C:
10329         * toc.C: lyxaction cleanup
10330
10331 2002-08-08  John Levon  <levon@movementarian.org>
10332
10333         * BufferView2.C: small cleanup
10334
10335         * lyxfind.h:
10336         * lyxfind.C: move unnecessary header into the .C
10337
10338 2002-08-08  John Levon  <levon@movementarian.org>
10339
10340         * funcrequest.h: just tedious nonsense
10341
10342         * lyx_main.h:
10343         * lyx_main.C: cleanups
10344
10345         * buffer.C:
10346         * vspace.C: remove dead header lyx_main.h
10347
10348 2002-08-07  Angus Leeming  <leeming@lyx.org>
10349
10350         * Paragraph.[Ch]:
10351         * paragraph_pimpl.h:
10352         Forward declare class Counters in paragraph.h by moving the ctrs member
10353         variable into Paragraph::Pimpl.
10354         (counters): new method, returning a reference to pimpl_->ctrs.
10355
10356         * text2.C: ensuing changes.
10357
10358 2002-08-07  John Levon  <levon@movementarian.org>
10359
10360         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10361
10362         * BufferView_pimpl.C: announce X selection on double/triple
10363           click
10364
10365         * lyx_main.C: use correct bool in batch dispatch
10366
10367         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10368
10369 2002-08-07  André Pönitz <poenitz@gmx.net>
10370
10371         * funcrequest.h: new class to wrap a kb_action and its argument
10372
10373         * BufferView.[Ch]:
10374         * BufferView_pimpl[Ch]:
10375         * LaTeX.C:
10376         * LyXAction.[Ch]:
10377         * lyxfunc.[Ch]:
10378         * lyxrc.C: subsequent changes
10379
10380
10381 2002-08-07  John Levon  <levon@movementarian.org>
10382
10383         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10384           document options change.
10385
10386 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10387
10388         * counters.[Ch]
10389         * text2.C
10390         * paragraph.[Ch]
10391         * makefile.am: move counters functionality over from
10392         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10393
10394 2002-08-06  John Levon  <levon@movementarian.org>
10395
10396         * WordLangTuple.h: new file for word + language code tuple
10397
10398         * SpellBase.h:
10399         * pspell.h:
10400         * pspell.C:
10401         * ispell.h:
10402         * ispell.C:
10403         * lyxtext.h:
10404         * text.C:
10405         * text2.C:
10406         * BufferView.h:
10407         * BufferView2.C: use WordLangTuple
10408
10409         * layout.h:
10410         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10411
10412 2002-08-06  John Levon  <levon@movementarian.org>
10413
10414         * lyx_main.C: fix cmdline batch handling
10415
10416 2002-08-06  André Pönitz <poenitz@gmx.net>
10417
10418         * lyxrc.C: set default for show_banner to true
10419
10420 2002-08-06  John Levon  <levon@movementarian.org>
10421
10422         * pspell.C: fix a crash, and allow new aspell to work
10423
10424 2002-08-06  John Levon  <levon@movementarian.org>
10425
10426         * lyxfunc.C:
10427         * kbmap.C: small cleanup
10428
10429         * vspace.h:
10430         * vspace.C: add const
10431
10432 2002-08-05  John Levon  <levon@movementarian.org>
10433
10434         * LyXAction.C: back to tabular-insert
10435
10436 2002-08-04  John Levon  <levon@movementarian.org>
10437
10438         * BufferView.h:
10439         * BufferView.C: cosmetic change
10440
10441         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10442
10443         * bufferlist.C:
10444         * buffer.h:
10445         * buffer.C:
10446         * lyxcb.h:
10447         * lyxcb.C:
10448         * lyxserver.C:
10449         * lyxvc.C:
10450         * vc-backend.C:
10451         * BufferView2.C: purge all "Lyx" not "LyX" strings
10452
10453         * lyxcursor.h:
10454         * lyxcursor.C: attempt to add some documentation
10455
10456         * lyxfunc.C:
10457         * commandtags.h:
10458         * LyXAction.C:
10459         * ToolbarDefaults.C:
10460         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10461           merge with LFUN_TABULAR_INSERT
10462
10463         * Makefile.am:
10464         * SpellBase.h:
10465         * ispell.h:
10466         * ispell.C:
10467         * pspell.h:
10468         * pspell.C: split up i/pspell implementations into separate
10469           files, many cleanups
10470
10471         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10472
10473         * text2.C: some cleanup
10474
10475         * lyxfunc.C: don't check for isp_command == "none" any more, it
10476           didn't make any sense
10477
10478 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10479
10480         * counters.[Ch]
10481         * text2.C
10482         * paragraph.[Ch]
10483         * makefile.am: move counters functionality over
10484         from text2.C/paragraph.[Ch] to counters.[Ch], and
10485         make proper C++.
10486 2002-08-02  John Levon  <levon@movementarian.org>
10487
10488         * buffer.C: s/lyxconvert/lyx2lyx/
10489
10490 2002-08-02  Angus Leeming  <leeming@lyx.org>
10491
10492         * lyxlex.C: revert John's change as it breaks reading of the user
10493         preamble.
10494
10495 2002-08-02  Angus Leeming  <leeming@lyx.org>
10496
10497         * importer.C (Import):
10498         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10499         changes due to LyXView::view() now returning a boost::shared_ptr.
10500
10501 2002-08-02  John Levon  <levon@movementarian.org>
10502
10503         * lyxlex.C: small cleanup
10504
10505 2002-08-02  John Levon  <levon@movementarian.org>
10506
10507         * text2.C (status): small cleanup, no logic change
10508
10509 2002-08-01  John Levon  <levon@movementarian.org>
10510
10511         * buffer.h:
10512         * buffer.C (writeFile): don't output alerts, caller
10513           handles this
10514
10515         * bufferlist.C:
10516         * lyx_cb.C: from above
10517
10518         * lyxfunc.C: allow to open non-existent files
10519
10520 2002-07-31  John Levon  <levon@movementarian.org>
10521
10522         * lyxserver.C: don't let incidental errors get
10523           in the way (errno)
10524
10525 2002-07-30  John Levon  <levon@movementarian.org>
10526
10527         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10528
10529 2002-07-30  John Levon  <levon@movementarian.org>
10530
10531         * lyxserver.h:
10532         * lyxserver.C: remove I/O callback too
10533
10534 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10537         log.
10538
10539 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10540
10541         * many files: strip,frontStrip -> trim,ltrim,rtrim
10542
10543 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10544
10545         * PrinterParams.h: remove extern containsOnly, and include
10546         support/lstrings.h instead.
10547
10548         * LaTeX.C (scanAuxFile): modify because of strip changes
10549         (deplog): ditto
10550         * buffer.C (makeLaTeXFile): ditto
10551         * bufferparams.C (writeFile): ditt
10552         * lyxfont.C (stateText): ditto
10553         * lyxserver.C (read_ready): ditto
10554         * vc-backend.C (scanMaster): ditto
10555
10556         * BufferView_pimpl.h: ws changes
10557
10558         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10559
10560 2002-07-26  André Pönitz <poenitz@gmx.net>
10561
10562         * kb_sequence.C: remove unnedred usings
10563
10564 2002-07-26  Juergen Vigna  <jug@sad.it>
10565
10566         * lyxfind.C (LyXReplace): we have to check better if the returned
10567         text is not of theLockingInset()->getLockingInset().
10568
10569 2002-07-25  Juergen Vigna  <jug@sad.it>
10570
10571         * lyxfind.C (LyXReplace): don't replace if we don't get the
10572         right LyXText.
10573
10574         * undo_funcs.C (createUndo): remove debugging code.
10575
10576 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * buffer.C (parseSingleLyXformat2Token): Use default placement
10579         when reading old floats.
10580
10581         * FloatList.C (FloatList): Change the default placement of figure
10582         and tables to "tbp".
10583
10584 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * MenuBackend.C: using std::max
10587
10588 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10589
10590         * MenuBackend.C (expandToc):
10591         (expandToc2): code moved from xforms menu frontend. It is now
10592         generic and TOCs are transparent to menu frontends.
10593
10594 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * toc.C (getTocList): protect against buf=0
10597
10598         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10599         Menu as first parameter. Now, this calls itself recursively to
10600         expand a whole tree (this will be useful for TOC handling)
10601         (expandFloatInsert): remove 'wide' version of floats
10602
10603         * MenuBackend.h (submenuname): returns the name of the submenu.
10604         (submenu): returns the submenu itself, provided it has been
10605         created by MenuBackend::expand
10606
10607 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10610         insets which have noFontChange == true. (bug #172)
10611
10612 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10613
10614         * BufferView_pimpl.C: add connection objects and use them...
10615         (Pimpl): here.
10616
10617 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10618
10619         * MenuBackend.C (expandLastfiles):
10620         (expandDocuments):
10621         (expandFormats):
10622         (expandFloatListInsert):
10623         (expandFloatInsert):
10624         (expand): split expand in parts
10625
10626 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * lyx_gui.C: use lyx_gui::exit()
10629
10630 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * LyXAction.C: show the failing pseudo action
10633
10634 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * buffer.C (readFile): Run the lyxconvert script in order to read
10637         old files.
10638
10639 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * LyXAction.C:
10642         * commandtags.h:
10643         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10644
10645 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * LyXAction.C:
10648         * commandtags.h:
10649         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10650
10651 2002-07-22  Herbert Voss  <voss@lyx.org>
10652
10653         * lengthcommon.C:
10654         * lyxlength.[Ch]: add support for the vertical lengths
10655
10656 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * toc.[Ch]: std:: fixes
10659
10660 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * lyxrc.C: do not include lyx_main.h
10663
10664         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10665         for layouts
10666
10667         * lyxrc.C:
10668         * encoding.C:
10669         * bufferlist.C:
10670         * BufferView2.C: include "lyxlex.h"
10671
10672         * tabular.h:
10673         * bufferparams.h: do not #include "lyxlex.h"
10674
10675         * lyxtextclasslist.C (Add): remove method
10676         (classlist): renamed to classlist_
10677
10678         * paragraph_pimpl.C:
10679         * paragraph.C:
10680         * text2.C:
10681         * CutAndPaste.C:
10682         * bufferview_funcs.C:
10683         * bufferlist.C:
10684         * text.C:
10685         * LaTeXFeatures.C:
10686         * buffer.C:
10687         * toc.C (getTocList): use BufferParams::getLyXTextClass
10688
10689         * toc.C (getTocList): use InsetFloat::addToToc
10690
10691         * toc.[Ch]: new files, containing helper functions to handle table
10692         of contents
10693
10694         * lyxfunc.C (dispatch): no need to remove spaces around command
10695         given as a string
10696         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10697         first command of the sequence; it is not very clever, but I do not
10698         have a better idea, actually
10699
10700         * LyXAction.C (LookupFunc): make sure to remove space at the
10701         beginning and end of the command
10702
10703 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * MenuBackend.C (getMenubar): new method: return the menubar of
10706         this menu set
10707         (read): treat differently reading of menu and menubar (in
10708         particular, the menubar has no name now)
10709         (Menu::menubar): remove
10710
10711         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10712         saving is finished
10713
10714 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10717         a bibitem inset in a RTL paragraph.
10718
10719 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * paragraph_pimpl.C: constify
10722
10723         * BufferView_pimpl.C:
10724         * LaTeX.C:
10725         * lyxfunc.C: fix dispatch in a nicer way
10726
10727 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * lyxfunc.C (dispatch):
10730         * BufferView_pimpl.C:
10731         * BufferView_pimpl.h:
10732         * BufferView.C:
10733         * BufferView.h: rename Dispatch() to dispatch()
10734
10735         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10736
10737         * lyxlayout.C (Read): honor DependsOn tag
10738
10739         * lyxlayout.[Ch] (depends_on): new method
10740
10741         * version.C.in: update lyx_docversion
10742
10743         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10744
10745         * paragraph.C (validate): remove from here...
10746         * paragraph_pimpl.C (validate): ... and move here
10747         (isTextAt): make it const
10748
10749         * buffer.C (getLists): ws cleanup
10750
10751 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10752
10753         * language.C (read): Use iso8859-1 encoding in latex_lang
10754         (this prevents LyX from crashing when using iso10646-1 encoding).
10755
10756 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * text2.C (toggleInset): if cursor is inside an inset, close the
10759         inset and leave cursor _after_ it
10760
10761 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lyxfunc.C: move minibuffer completion handling out of here
10764
10765 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * BufferView_pimpl.C:
10768         * LaTeX.C: fix dispatch calls
10769
10770 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * text.C (drawChars): Fix Arabic text rendering.
10773
10774 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * LyXAction.C:
10777         * commandtags.h:
10778         * lyxfunc.C: remove message-push/pop
10779
10780         * lyxserver.C:
10781         * lyxfunc.h:
10782         * lyxfunc.C: rationalise some code by removing verboseDispatch
10783           in favour of a bool argument to dispatch()
10784
10785 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * lyx_main.C (init): make sure to read symlinks as absolute paths
10788
10789 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * lyxfunc.h:
10792         * lyxfunc.C: no need for commandshortcut to be a member
10793
10794 2002-07-15  André Pönitz <poenitz@gmx.net>
10795
10796         * converter.C: add support for $$s (scripts from lib/scripts dir)
10797         * lyx_main.C: white space
10798
10799 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * bufferlist.C:
10802         * lyxrc.h:
10803         * lyxrc.C: remove second exit confirmation
10804
10805 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * BufferView.h:
10808         * BufferView.C:
10809         * BufferView2.C:
10810         * BufferView_pimpl.h:
10811         * BufferView_pimpl.C:
10812         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10813
10814 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * MenuBackend.C (expand): add numeric shortcuts to document menu
10817
10818         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10819
10820 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * lyxfont.C (setLyXFamily):
10823         (setLyXSeries):
10824         (setLyXShape):
10825         (setLyXSize):
10826         (setLyXMisc):
10827         (lyxRead):
10828         * debug.C (value):
10829         * buffer.C (asciiParagraph): use ascii_lowercase
10830
10831 2002-07-15  Mike Fabian  <mfabian@suse.de>
10832
10833         * lyxlex_pimpl.C (search_kw):
10834         * lyxlex.C (getLongString):
10835         * converter.h (operator<):
10836         * converter.C (operator<):
10837         * buffer.C (parseSingleLyXformat2Token):
10838         (asciiParagraph):
10839         * ToolbarDefaults.C (read):
10840         * MenuBackend.C (checkShortcuts):
10841         (read):
10842         * LColor.C (getFromGUIName):
10843         (getFromLyXName): use the compare_ascii_no_case instead of
10844         compare_no_case, because in turkish, 'i' is not the lowercase
10845         version of 'I', and thus turkish locale breaks parsing of tags.
10846
10847 2002-07-16  Angus Leeming  <leeming@lyx.org>
10848
10849         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10850         now takes a Buffer const & argument.
10851
10852 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView.C (resize): check there's a buffer to resize
10855
10856 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * lyxfunc.C: remove dead code
10859
10860         * lyxserver.h:
10861         * lyxserver.C: use lyx_guii::set_read_callback
10862
10863 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10864
10865         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10866         an inset in a RTL paragraph.
10867
10868 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyxfunc.C: repaint after a font size update
10871
10872 2002-07-15  André Pönitz <poenitz@gmx.net>
10873
10874         * lyxlength.C: inBP should be able to return negative values
10875
10876 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * lyxfunc.C: use lyx_gui::update_fonts()
10879
10880 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10881
10882         * lyxfunc.C: use lyx_gui::update_color()
10883
10884 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10885
10886         * bufferlist.C:
10887         * lyxfunc.h:
10888         * lyxfunc.C:
10889         * lyxrc.h:
10890         * lyxrc.C: remove file->new asks for name option, and let
10891           buffer-new take an argument
10892
10893 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * BufferView_pimpl.C: remove unneeded extra repaint()
10896
10897 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * LyXAction.C: allow command-sequence with NoBuffer
10900
10901         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10902
10903 2002-07-10  Angus Leeming  <leeming@lyx.org>
10904
10905         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10906
10907 2002-07-09  Angus Leeming  <leeming@lyx.org>
10908
10909         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10910
10911 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * lengthcommon.h: whitespace
10914
10915         * lyxfunc.C: update scrollbar after goto paragraph
10916
10917         * lyxtext.h: factor out page break drawing, and fix it so
10918           page break/added space paints as selected nicely
10919
10920 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * BufferView_pimpl.C: add FIXMEs, clean up a little
10923
10924 2002-07-09  André Pönitz <poenitz@gmx.net>
10925
10926         * lyxfont.[Ch]: support for wasy symbols
10927
10928 2002-07-08  André Pönitz <poenitz@gmx.net>
10929
10930         * BufferView_pimpl.C: apply John's patch for #93.
10931
10932 2002-07-05  Angus Leeming  <leeming@lyx.org>
10933
10934         * BufferView_pimpl.C (buffer): generate previews if desired.
10935
10936         * LColor.h: add "preview" to the color enum.
10937
10938         * LColor.C (LColor): add a corresponding entry to the items array.
10939
10940         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10941         with this buffer.
10942
10943 2002-07-05  Angus Leeming  <leeming@lyx.org>
10944
10945         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10946         The body of the code is now in the method that is passed an ostream &
10947         rather than a file name.
10948         Pass an additional only_preamble parameter, useful for the forthcoming
10949         preview stuff.
10950
10951 2002-07-03  André Pönitz <poenitz@gmx.net>
10952
10953         * lyxfunc.C: simplify getStatus() a bit for math stuff
10954
10955 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10958
10959 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10960
10961         * text.C (changeRegionCase): do not change case of all the
10962         document when region ends at paragraph end (bug #461)
10963
10964 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * paragraph.C (startTeXParParams):
10967         (endTeXParParams): add \protect when necessary
10968
10969 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * BufferView_pimpl.C (workAreaExpose): remove warning
10972
10973 2002-06-27  Angus Leeming  <leeming@lyx.org>
10974
10975         * Makefile.am: add lyxlayout_ptr_fwd.h.
10976
10977 2002-06-26  André Pönitz <poenitz@gmx.net>
10978
10979         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10980
10981 2002-06-25  Angus Leeming  <leeming@lyx.org>
10982
10983         * lyxfunc.C (dispatch): Comment out the call to
10984         grfx::GCache::changeDisplay. The method no longer exists now that the
10985         pixmap generation part of the graphics loader has been moved into
10986         InsetGraphics.
10987
10988 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * text2.C: layout as layout
10991
10992         * text.C: layout as layout
10993
10994         * tabular.C (OldFormatRead): layout as layout
10995
10996         * paragraph_pimpl.C (TeXDeeper): layout as layout
10997         (realizeFont): layout as layout
10998
10999         * paragraph.C (writeFile): layout as layout
11000         (validate): layout as layout
11001         (getFont): layout as layout
11002         (getLabelFont): layout as layout
11003         (getLayoutFont): layout as layout
11004         (breakParagraph): layout as layout
11005         (stripLeadingSpaces): layout as layout
11006         (getEndLabel): layout as layout
11007         (getMaxDepthAfter): layout as layout
11008         (applyLayout): layout as layout
11009         (TeXOnePar): layout as layout
11010         (simpleTeXOnePar): layout as layout
11011         (TeXEnvironment): layout as layout
11012         (layout): layout as layout
11013         (layout): layout as layout
11014
11015         * lyxtextclass.C (compare_name): new functor to work with
11016         shared_ptr, layout as layout
11017         (Read): layout as layout
11018         (hasLayout): layout as layout
11019         (operator): layout as layout
11020         (delete_layout): layout as layout
11021         (defaultLayout): layout as layout
11022
11023         * lyxlayout_ptr_fwd.h: new file
11024
11025         * lyxlayout.C (Read): layout as layout
11026
11027         * lyx_cb.C (MenuInsertLabel): layout as layout
11028
11029         * bufferlist.C (newFile): layout as layout
11030
11031         * buffer.C (readLyXformat2): layout as layout
11032         (parseSingleLyXformat2Token): layout as layout
11033         (insertStringAsLines): layout as layout
11034         (asciiParagraph): layout as layout
11035         (latexParagraphs): layout as layout
11036         (makeLinuxDocFile): layout as layout
11037         (simpleLinuxDocOnePar): layout as layout
11038         (makeDocBookFile): layout as layout
11039         (simpleDocBookOnePar): layout as layout
11040         (getLists): layout as layout
11041
11042         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11043
11044         * CutAndPaste.C (cutSelection): layout as layout
11045         (pasteSelection): layout as layout
11046         (SwitchLayoutsBetweenClasses): layout as layout
11047
11048         * BufferView_pimpl.C (Dispatch): layout as layout
11049         (smartQuote): layout as layout
11050
11051         * BufferView2.C (unlockInset): layout as layout
11052
11053 2002-06-24  André Pönitz <poenitz@gmx.net>
11054
11055         * lyxfunc.C: fix #487
11056
11057 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * lyxrc.h:
11060         * lyxrc.C:
11061         * lyxfunc.C: remove display_shortcuts, show_banner
11062
11063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * Buffer_pimpl.C: oops, update on resize
11066
11067 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * buffer.C:
11070         * converter.C:
11071         * exporter.C:
11072         * lyxfunc.C:
11073         * BufferView.h:
11074         * BufferView.C: use repaint()
11075
11076         * BufferView_pimpl.h:
11077         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11078           as it's a clearer description. Remove superfluous
11079           redraws.
11080
11081 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * text.C: fix bug 488. Not ideal, but getting
11084           getWord() to work properly for the insets that
11085           matter is more difficult ...
11086
11087 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.C:
11090         * LyXAction.C:
11091         * commandtags.h:
11092         * lyxfunc.C: remove the six million index lyxfuncs to just
11093           one, and DTRT (bug 458)
11094
11095 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * BufferView.h:
11098         * BufferView.C:
11099         * BufferView_pimpl.h:
11100         * BufferView_pimpl.C: clean up resize() stuff,
11101           and unnecessary updateScreen()s
11102
11103 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * BufferView.h:
11106         * BufferView.C:
11107         * BufferView_pimpl.h:
11108         * BufferView_pimpl.C:
11109         * lyxfind.h:
11110         * lyxfind.C:
11111         * minibuffer.C: remove focus management of workarea,
11112           not needed. Use screen's greyOut()
11113
11114 2002-06-17  Herbert Voss  <voss@lyx.org>
11115
11116         * converter.C: (convert) do not post a message, when converting
11117         fails, let the calling function decide what to do in this case
11118
11119 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * lyxfunc.C: tidy up a little
11122
11123 2002-06-16    <alstrup@diku.dk>
11124
11125         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11126         Got rid of FORMS_H_LOCATION include. Now we are
11127         GUII.
11128
11129 2002-06-15  LyX Development team  <lyx@rilke>
11130
11131         * buffer.[Ch] (sgmlOpenTag):
11132         (sgmlCloseTag): Added support for avoiding pernicious mixed
11133         content. Return number of lines written.
11134
11135         (makeLinuxDocFile):
11136         (makeDocBookFile): Fixed calls to sgml*Tag.
11137         Simple white space clean.
11138
11139         (simpleDocBookOnePar): Simple white space clean.
11140
11141         * tabular.[Ch] (docBook): Renamed to docbook and got another
11142         argument to related with the pernicious mixed content.
11143
11144         (docbookRow): Fixed calls for docbook inset method.
11145
11146 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11147
11148         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11149         so it's X11 independent.
11150
11151         * kb*.[Ch]: ditto.
11152
11153         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11154
11155 2002-06-15  Lyx Development team  <lyx@electronia>
11156
11157         * intl.h: Renamed getTrans to getTransManager.
11158
11159 2002-06-14  Angus Leeming  <leeming@lyx.org>
11160
11161         * Makefile.am: nuke forgotten stl_string_fwd.h.
11162
11163 2002-06-12  Angus Leeming  <leeming@lyx.org>
11164
11165         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11166
11167 2002-06-13  Angus Leeming  <leeming@lyx.org>
11168
11169         * LaTeX.C:
11170         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11171
11172 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11173
11174         * kbmap.C (getiso): add support for cyrillic and greek
11175
11176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * BufferView.h:
11179         * BufferView.C:
11180         * BufferView_pimpl.h:
11181         * BufferView_pimpl.C: move bogus scrolling logic
11182           to xforms
11183
11184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * lyxfunc.C:
11187         * BufferView_pimpl.C: view->resize() change
11188
11189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * BufferView_pimpl.C: topCursorVisible
11192           prototype change
11193
11194 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * Makefile.am:
11197         * lyx_gui.h:
11198         * lyx_gui.C: move to frontends/
11199
11200         * main.C:
11201         * lyx_main.h:
11202         * lyx_main.C: changes from above
11203
11204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * intl.C:
11207         * intl.h:
11208         * kbmap.C:
11209         * kbsequence.C:
11210         * lyx_cb.C:
11211         * lyx_main.C: minor tidy
11212
11213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * BufferView_pimpl.h:
11216         * BufferView_pimpl.C:
11217         * BufferView.h:
11218         * BufferView.C: make painter() const,
11219           remove dead code
11220
11221         * BufferView2.C: use screen() accessor
11222
11223         * lyx_main.h:
11224         * lyx_main.C: some minor cleanup
11225
11226 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11227
11228         * BufferView_pimpl.h:
11229         * BufferView_pimpl.C: remove enter/leaveView,
11230           use workHeight()
11231
11232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * BufferView.h:
11235         * BufferView.C:
11236         * BufferView2.C:
11237         * BufferView_pimpl.h:
11238         * BufferView_pimpl.C: only construct screen once,
11239           rename
11240
11241         * lyxrc.C: remove pointless comment
11242
11243 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * BufferView.h:
11246         * BufferView.C: remove active() and belowMouse()
11247
11248         * BufferView_pimpl.h:
11249         * BufferView_pimpl.C: use workarea() not workarea_,
11250           and make it use a scoped_ptr instead
11251
11252 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * lyx_gui.C: add debug message on BadWindow
11255
11256 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11257
11258         * sp_spell.C: fdopen is not part of the C++ standard.
11259
11260         * paragraph.C (InsetIterator): use >= instead of ==
11261
11262 2002-06-07  Angus Leeming  <leeming@lyx.org>
11263
11264         Fixes needed to compile with Compaq cxx 6.5.
11265         * BufferView_pimpl.C:
11266         * DepTable.C:
11267         * buffer.C:
11268         * converter.C:
11269         * encoding.C:
11270         * lyx_gui.C:
11271         * lyx_main.C:
11272         * lyxtextclasslist.C:
11273         * minibuffer.C:
11274         * sp_spell.C:
11275         * tabular_funcs.C:
11276         * vc-backend.C:
11277         all c-library variables have been moved into namespace std. Wrap
11278         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11279
11280         * lyxlength.C:
11281         * tabular-old.C:
11282         * tabular.C:
11283         Add a using std::abs declaration.
11284
11285         * kbmap.h (modifier_pair):
11286         * paragraph.h (InsetTable, InsetList):
11287         * lyxfont.h (FontBits):
11288         type definition made public.
11289
11290         * bufferlist.C (emergencyWriteAll): the compiler complains that
11291         there is more than one possible lyx::class_fun template to choose from.
11292         I re-named the void specialisation as lyx::void_class_fun.
11293
11294         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11295
11296         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11297         the compiler is is unable to find tostr in write_attribute.
11298
11299 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * buffer.C (sgmlError): hide #warning
11302
11303 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * xtl/*: get rid of xtl, which is not in use anyway
11306
11307         * LyXAction.C (init):
11308         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11309         were unimplemented xtl experimentation
11310
11311 2002-06-04  André Pönitz <poenitz@gmx.net>
11312
11313         * lyxfunc.C: disable array operation on simple formulae
11314
11315 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * converter.C: constify a bit
11318
11319 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * lyx_gui.C: check xforms version correctly
11322
11323 2002-04-30  Herbert Voss  <voss@lyx.org>
11324
11325         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11326         "keep" option
11327
11328 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11331           attempt to register it with a VCS)
11332
11333 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * lyx_main.C (init): honor variables LYX_DIR_13x and
11336         LYX_USERDIR_13x
11337
11338 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * buffer.h:
11341         * buffer.C:
11342         * lyx_main.C: fix a crash on bad command line,
11343           and give a useful exit status on error
11344
11345         * lyxfunc.C (doImport): allow -i lyx to work
11346
11347 2002-03-30  André Pönitz <poenitz@gmx.net>
11348
11349         * lyxfunc.C: mathed font changes
11350
11351 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * LaTeX.C:
11354         * importer.h:
11355         * importer.C:
11356         * lyx_sty.h:
11357         * lyx_sty.C:
11358         * lyxlex.C:
11359         * lyxrow.h:
11360         * lyxtext.h:
11361         * paragraph.h:
11362         * paragraph.C:
11363         * texrow.h:
11364         * texrow.C:
11365         * text.C:
11366         * trans_mgr.h: srcdocs, and some minor cleanups
11367
11368 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11371         call getFont all the time)
11372
11373 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * switch from SigC signals to boost::signals
11376
11377 2002-05-29  André Pönitz <poenitz@gmx.net>
11378
11379         * paragraph_pimpl.C (getChar): don't call size() too often...
11380
11381 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * paragraph_pimpl.C (insertChar): do not try to update tables when
11384         appending (pos == size())
11385
11386         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11387         in order to reduce drastically the number of comparisons needed to
11388         parse a large document
11389
11390 2002-05-29  André Pönitz <poenitz@gmx.net>
11391
11392         * text.C:
11393         * text2.C:
11394         * lyxtextclass.C:
11395         * sp_pspell.h:
11396         * textclasslist.[Ch]:
11397         * sp_ispell.h: whitespace change
11398
11399 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11402         lyxaction directly now.
11403
11404 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * trans.C:
11407         * lyxfont.C:
11408         * lyxvc.C: remove unused headers
11409
11410 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * Makefile.am:
11413         * buffer.h:
11414         * undostack.h:
11415         * undostack.C:
11416         * undo_funcs.h:
11417         * undo_funcs.C: some cleanups. Use shared_ptr
11418           and a template for the undo stacks.
11419
11420 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11421
11422         * BufferView_pimpl.h:
11423         * BufferView_pimpl.C:
11424         * kbmap.h:
11425         * kbmap.C:
11426         * kbsequence.h:
11427         * kbsequence.C:
11428         * lyxfunc.h:
11429         * lyxfunc.C:
11430         * text2.C: use key_state/mouse_state
11431
11432 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11435         and LSubstring
11436
11437         * chset.C: change include order
11438         (loadFile): use boost regex and get rid of LRegex and LSubstring
11439
11440         * Makefile.am (BOOST_LIBS): new variable
11441         (lyx_LDADD): use it
11442
11443         * LaTeX.C: change include order.
11444         (scanAuxFile): use boost regex and get rid of LRegex and
11445         LSubstring
11446         (deplog): ditto
11447
11448 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * ColorHandler.h:
11451         * ColorHandler.C:
11452         * FontInfo.h:
11453         * FontInfo.C: moved to frontends/xforms/
11454
11455         * FontLoader.h:
11456         * FontLoader.C: moved into frontends for GUIIzation
11457
11458         * Makefile.am:
11459         * lyx_gui.C:
11460         * lyxfont.C:
11461         * lyxfunc.C: changes from above
11462
11463 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * LColor.C: remove spurious X include
11466
11467         * BufferView_pimpl.C:
11468         * Makefile.am:
11469         * font.h:
11470         * font.C:
11471         * text.C:
11472         * text2.C: move font metrics to frontends/
11473
11474 2002-05-24  Juergen Vigna  <jug@sad.it>
11475
11476         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11477         setting the undo_cursor.
11478
11479         * ParagraphParameters.h: include local includes first.
11480
11481 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * BufferView_pimpl.C:
11484         * BufferView_pimpl.h:
11485         * Makefile.am:
11486         * WorkArea.h:
11487         * WorkArea.C:
11488         * screen.C: move WorkArea into frontends/
11489
11490         * lyxscreen.h:
11491         * screen.C:
11492         * text.C:
11493         * BufferView.C:
11494         * BufferView2.C: move LyXScreen into frontends/
11495
11496         * lyxlookup.h:
11497         * lyxlookup.C:
11498         * lyx_gui.C: move lyxlookup into frontends/xforms/
11499
11500 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView2.C:
11503         * BufferView_pimpl.C:
11504         * FontLoader.C:
11505         * LyXView.h:
11506         * LyXView.C:
11507         * Makefile.am:
11508         * WorkArea.C:
11509         * XFormsView.h:
11510         * XFormsView.C:
11511         * buffer.C:
11512         * bufferlist.C:
11513         * bufferview_funcs.C:
11514         * converter.C:
11515         * importer.C:
11516         * lyx_cb.C:
11517         * lyx_gui.C:
11518         * lyx_main.C:
11519         * lyx_find.C:
11520         * lyxfunc.C:
11521         * lyxvc.C:
11522         * minibuffer.C:
11523         * text.C:
11524         * text2.C:
11525         * trans.C:
11526         * vc-backend.C: move LyX/XFormsView into frontends/
11527
11528 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * Makefile.am:
11531         * PainterBase.C:
11532         * PainterBase.h:
11533         * Painter.C:
11534         * Painter.h:
11535         * WorkArea.C:
11536         * WorkArea.h:
11537         * screen.C:
11538         * tabular.C:
11539         * text.C:
11540         * text2.C: move Painter to frontends/
11541
11542 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * buffer.C: comment out some some code that depend upon lyx_format
11545         < 220
11546
11547         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11548         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11549
11550         * buffer.h (NO_COMPABILITY): turn off compability
11551
11552         * ColorHandler.C: include scoped_array.hpp
11553
11554         * font.C: Use more specific smart_ptr header.
11555         * Painter.C: ditto
11556         * gettext.C: ditto
11557         * ShareContainer.h: ditto
11558         * lyx_main.h: ditto
11559         * kbmap.h: ditto
11560         * FontInfo.h: ditto
11561         * BufferView_pimpl.h: ditto
11562         * ColorHandler.h: ditto
11563
11564         * kbmap.C (defkey): change call to shared_ptr::reset
11565
11566 2002-05-21  Juergen Vigna  <jug@sad.it>
11567
11568         * buffer.C (insertErtContents): fix to insert ert asis if it is
11569         non empty. Skip it completely if it contains only whitespaces.
11570
11571 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * BufferView_pimpl.C:
11574         * BufferView2.C: clear selection on paste (bug 393)
11575
11576 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * DepTable.C: include ctime
11579
11580 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11581
11582         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11583
11584 2002-05-14  Juergen Vigna  <jug@sad.it>
11585
11586         * text.C (breakParagraph): fixed function to honor the keepempty
11587         layout in the right maner and also to permit the right breaking
11588         algorithm on empty or non empyt keepempty paragraphs.
11589
11590         * paragraph.C (breakParagraph): we have to check also if the par
11591         is really empty (!size()) for isempty otherwise we do the wrong
11592         paragraph break.
11593
11594 2002-05-10  Juergen Vigna  <jug@sad.it>
11595
11596         * buffer.[Ch] : The following are only changes to the ert
11597         compatibility read reading old LaTeX layout and font stuff and
11598         convert it to ERTInsets.
11599
11600         * buffer.h: added isErtInset().
11601
11602         * buffer.C (struct ErtComp): add a fromlayout bool to check
11603         if we're inside a LaTeX layout.
11604         (isErtInset): new helper function.
11605         (insertErtContents): look for other ert insets before this one
11606         and insert the contents there, so that we don't have subsequent
11607         ERT insets with nothing between them. This way we create only one
11608         inset with multiple paragraphs. Also check if we don't insert only
11609         spaces ' ' as they are ignored anyway afterwards in the .tex file
11610         so if we have only spaces we will ignore this latex part in the
11611         new file.
11612         (parseSingleLyXformat2Token \\layout): better compatibility when
11613         reading layout-latex stuff.
11614         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11615         language tag.
11616         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11617         stuff after reading the inset only get the information back from
11618         the stack.
11619
11620 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11621
11622         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11623
11624         * LaTeXFeatures.C (getBabelOptions): New method.
11625
11626 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * BufferView_pimpl.C (Dispatch): work around missing argument for
11629         'layout'
11630
11631 2002-05-08  Juergen Vigna  <jug@sad.it>
11632
11633         * text.C (leftMargin): handle paragraph leftindent.
11634
11635         * paragraph.C (writeFile): write the new \\leftindent tag.
11636         (validate): handle leftindent code.
11637         (TeXEnvironment): handle paragraphleftindent code again.
11638
11639         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11640
11641         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11642         for paragrap_extra indent code and new token \\leftindent.
11643         (latexParagraphs): handle the leftindent as environment.
11644
11645         * ParameterStruct.h: added leftindent support.
11646
11647         * ParagraphParameters.C (leftIndent): added support functions for
11648         the paragraph left indent.
11649
11650         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11651         more appropriate.
11652
11653 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11654
11655         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11656         inside insetERT.
11657
11658         * text.C (computeBidiTables): No bidi in insetERT.
11659
11660         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11661         in RTL documents.
11662
11663 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * version.C.in: pre 5
11666
11667 2002-05-02  José Matos  <jamatos@fep.up.pt>
11668         * buffer.C (makeDocBookFile): white space changes, add newline to
11669         command styles.
11670         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11671
11672         * tabular.C (docBook): fix typo.
11673
11674 2002-05-03  Juergen Vigna  <jug@sad.it>
11675
11676         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11677         change in LyXText as we can not be sure it was not freed.
11678         (drawOneRow): remove unused code.
11679
11680         * text.C (drawInset): redo the calculation of the need_break_row as
11681         it could have a row which was already freed.
11682         (draw): look at the return value of drawInset and return false if
11683         it also returned false.
11684         (paintRowText): look at the return value of draw and return false if
11685         it also returned false.
11686
11687         * lyxtext.h: added bool return type to drawInset() and draw() so that
11688         if we have a change in the row so that the rowbreak has to be redone
11689         we abort drawing as it will be called again.
11690
11691 2002-05-02  Juergen Vigna  <jug@sad.it>
11692
11693         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11694         a change in the maintext also if we're inside an inset.
11695         (Dispatch): set the cursor again after a break line and after the
11696         screen has been updated as it could be we're in a different row.
11697
11698         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11699         to set the cursor behind the pargraph with > size().
11700         (setCursor): check also for the same paragraph when checking where
11701         to put the cursor if we have a NFR inset.
11702
11703         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11704         parts of layout read further up as it still was in the wrong
11705         position.
11706
11707 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11708
11709         * screen.C (drawFromTo): change sine fullRebreak always return
11710         true.
11711
11712         * buffer.C (parseSingleLyXformat2Token): reindent some
11713
11714         * BufferView_pimpl.C (update): change since fullRebreak always
11715         return true.
11716         (Dispatch): git rid of the last hardcoded "Standard"s.
11717
11718 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * text2.[Ch] (fullRebreak): make it return void now that we always
11721         returned true.
11722
11723 2002-04-30  Juergen Vigna  <jug@sad.it>
11724
11725         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11726         ert compatibility check for "latex" layout.
11727
11728 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11731         minipages: use col% instead of p%, and also use the current font.
11732         (makeLaTeXFile): Fix use babel condition.
11733         (parseSingleLyXformat2Token): Correct font when reading old floats.
11734
11735 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11736
11737         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11738         inserting list of floats.
11739
11740 2002-04-25  Herbert Voss  <voss@lyx.org>
11741
11742         * MenuBackend.C (expand): don't add the graphics extensions to the
11743         export menu
11744
11745 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11748         non-existing layout, do not complain if it was the default layout
11749         of the original class (bug #342)
11750
11751 2002-04-24  Juergen Vigna  <jug@sad.it>
11752
11753         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11754         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11755
11756 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11757
11758         * buffer.C (getBibkeyList): If using \bibliography, return the
11759         option field with the reference itself. Enables us to provide natbib
11760         support when using \bibliography.
11761
11762 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11763
11764         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11765
11766         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11767         natbib is provided by the LaTeX class.
11768
11769 2002-04-23  Juergen Vigna  <jug@sad.it>
11770
11771         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11772         Wakeup functions.
11773
11774         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11775
11776 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11779
11780         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11781         ensuremath around textordmasculine, textordfeminine and
11782         textdegree.
11783
11784 2002-04-19  Juergen Vigna  <jug@sad.it>
11785
11786         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11787         reinitializing the buffer otherwise row-dimensions may be wrong.
11788         (update): reset also the selection cursors if they do exits otherwise
11789         their x/y positions may be wrong.
11790
11791         * text2.C (cursorDown): don't enter the inset if we came from a row
11792         above and are one row over the inset.
11793
11794         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11795         really leaving an inset.
11796
11797 2002-04-18  Juergen Vigna  <jug@sad.it>
11798
11799         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11800         of the selected paragraph does not have the selected layout also if
11801         the last one had!
11802
11803         * text2.C (setLayout): fixed bug which did not change last selected
11804         paragraph.
11805
11806         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11807         changed the read and substituted \\end_float with \\end_inset!
11808
11809         * BufferView_pimpl.C (cursorPrevious):
11810         (cursorNext): fixed to make it work with rows heigher than the work
11811         area without moving the cursor only the draw of the row.
11812         (workAreaMotionNotify): fix jumping over high rows.
11813
11814 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11817         Ressler.
11818
11819 2002-04-16  Juergen Vigna  <jug@sad.it>
11820
11821         * text2.C (setCursor): set also the irow().
11822         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11823         (cursorUp):
11824         (cursorDown): support for locking an inset if the x_fix value goes
11825         inside it. That way I can transverse insets too with cursor up/down.
11826
11827         * lyxrow.h: added irow helper function same as other (i) functions.
11828
11829         * BufferView_pimpl.C (cursorPrevious):
11830         (cursorNext): fixed for insets!
11831
11832 2002-04-15  Juergen Vigna  <jug@sad.it>
11833
11834         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11835         position otherwise it is wrong in some cases.
11836
11837         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11838         inside the inset before the call.
11839
11840 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11841
11842         * buffer.[Ch] (getBibkeyList): make it const.
11843
11844 2002-04-12  Juergen Vigna  <jug@sad.it>
11845
11846         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11847
11848         * text2.C (getCursorX): new helper function
11849         (setCursor): compute also ix_
11850         (setCursorFromCoordinates): set also ix.
11851
11852         * lyxcursor.h: added ix_ and helper functions.
11853
11854         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11855
11856         * buffer.C (insertStringAsLines): dont break paragraph if the this
11857         paragraph is inside an inset which does not permit it!
11858
11859         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11860         also with no chars on this paragraph.
11861         (paintRowText): only paint stuff if it's inside the workarea!
11862
11863         * paragraph.C (breakParagraph): honor keepempty flag and break the
11864         paragraph always below not above.
11865
11866         * BufferView2.C (unlockInset): update the paragraph layout on inset
11867         unlock as we changed paragraph in such a case.
11868
11869         * lyxfind.C (LyXFind): clear the former selection if not found!
11870
11871         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11872         again called in insertChar().
11873
11874         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11875         an inset which uses the whole row!
11876         (rightMargin): ditto.
11877         (insertChar): force a rebreak if we inserted an inset!
11878
11879 2002-03-28  Herbert Voss  <voss@lyx.org>
11880
11881         * lyxlength.[Ch]: add inBP() to get the right PS-point
11882         units (BigPoint). With inPixels we have rounding errors
11883
11884 2002-04-11  Juergen Vigna  <jug@sad.it>
11885
11886         * text2.C (setCursorFromCoordinates): set iy to the right value.
11887         (setCursor): add check if row->previous exists!
11888
11889         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11890         an old float_type as this was the case in the old code!
11891
11892         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11893
11894         * BufferView2.C (showLockedInsetCursor): use iy
11895         (fitLockedInsetCursor): ditto
11896
11897         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11898         locked insets as there we have the right value now.
11899
11900         * lyxcursor.C: added iy_ variable and iy functions to set to the
11901         baseline of cursor-y of the locked inset.
11902
11903         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11904         (setCursor): fixed for insets which need a full row.
11905
11906         * text.C (rowLastPrintable): don't ignore the last space when before
11907         an inset which needs a full row.
11908         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11909         as last character of a row when before a inset which needs a full row.
11910
11911 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * version.C.in: update date
11914
11915         * text2.C (fullRebreak): try to always return true and see what
11916         happens...
11917
11918 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * MenuBackend.C (expand): use Floating::listName
11921
11922         * FloatList.C (FloatList): add listName argument to the built-in
11923         floats
11924
11925         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11926         text associated with the float.
11927
11928 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11929
11930         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11931
11932 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * ShareContainer.h: add a couple of missing typenames.
11935
11936 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11937
11938         * lyxrc.C (getDescription): use _() correctly rather than N_().
11939
11940 2002-03-28  Herbert Voss  <voss@lyx.org>
11941
11942         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11943         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11944
11945 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11946
11947         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11948         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11949
11950 2002-03-29  Juergen Vigna  <jug@sad.it>
11951
11952         * lyxfunc.C (dispatch): add a missing fitCursor call.
11953
11954         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11955         it was scrolled by a cursor move, so return the bool status.
11956
11957         * BufferView.C (fitCursor): return the bool flag also to the outside
11958         world as this is needed.
11959
11960         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11961
11962         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11963         call the edit() as it is not needed (and wrong) IMO.
11964         (workAreaButtonPress): set the screen_first variable before evt.
11965         unlock the inset as this may change screen_first and then we have
11966         a wrong y position for the click!
11967
11968 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11969
11970         * MenuBackend.C (expand): another translation that I missed
11971
11972 2002-03-28  Juergen Vigna  <jug@sad.it>
11973
11974         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11975
11976         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11977
11978 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11981
11982         * MenuBackend.C (expand): fix export/view/update when there is no
11983         document open.
11984
11985 2002-03-27  Herbert Voss  <voss@lyx.org>
11986
11987         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11988         and text%
11989
11990 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * bufferview_funcs.C (currentState): only show paragraph number
11993         for is DEVEL_VERSION is set.
11994
11995         * lyxfunc.C (dispatch): put warning in INFO channel
11996
11997         * MenuBackend.C (expand): translate the name of floats
11998
11999         * FloatList.C (FloatList): mark the float names for translation
12000
12001         * converter.C (convert): use LibScriptSearch
12002
12003 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * MenuBackend.C (defaults): fix default menu (we might as well get
12006         rid of it...)
12007
12008 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12011         directory.
12012
12013 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * lyxvc.C: reorder includes.
12016
12017 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12020           properly
12021
12022 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * CutAndPaste.C: change layouts earlier on paste
12025           to avoid crashing when calling getFont()
12026
12027 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12028
12029         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12030         irritating #error.
12031
12032 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * WorkArea.C: remove 'Pending' debug message.
12035
12036         * most files: ws cleanup
12037
12038         * buffer.[Ch]: ws changes
12039
12040         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12041
12042 2002-03-21  Juergen Vigna  <jug@sad.it>
12043
12044         * tabular.C (SetMultiColumn): collapse also the contents of the
12045         cells and set the last border right. Added a Buffer const * param.
12046
12047 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12050         linking or not.
12051
12052 2002-03-19  Juergen Vigna  <jug@sad.it>
12053
12054         * text2.C (clearSelection): reset also xsel_cache.
12055
12056         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12057         where it needs to be called (John tells us to do so too :)
12058         (selectionLost): reset sel_cache.
12059
12060         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12061
12062 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * text2.C (setCursorIntern): put debuging code in INSETS channel
12065
12066 2002-03-19  André Pönitz <poenitz@gmx.net>
12067
12068         * lyxfunc.C: tiny whitespace change
12069
12070 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * ToolbarDefaults.C (init):
12073         * LyXAction.C (init):
12074         * commandtags.h:
12075         * BufferView_pimpl.C (Dispatch):
12076         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12077
12078 2002-03-19  Allan Rae  <rae@lyx.org>
12079
12080         * exporter.C (Export): removeAutoInsets before doing anything else.
12081         While I've just introduced a dependency on BufferView this really is
12082         the best place to clean the buffer otherwise you need to cleanup in
12083         a dozen places before calling export or cleanup in a dozen functions
12084         that export calls.
12085
12086         * converter.C (runLaTeX):
12087         (scanLog): Better handling of removeAutoInsets and screen updates.
12088
12089         * lyxfunc.C (dispatch): small whitespace changes
12090
12091 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * WorkArea.C (C_WorkAreaEvent): return a value.
12094         (event_cb): return 1 if we handled the event, 0 otherwise.
12095
12096         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12097
12098 2002-03-18  Juergen Vigna  <jug@sad.it>
12099
12100         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12101         (GetAdditionalWidth): ditto.
12102         (RightLine): ditto.
12103         (LeftLine): ditto.
12104
12105         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12106         inset if we're there actually (probably not used right now but this
12107         is the direction to go for unifying code).
12108         (paste): disable code to clear the selection.
12109
12110         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12111         inside an InsetText and move the check further up as it is in the
12112         wrong place.
12113
12114         * text2.C (pasteSelection): set a selection over the pasted text.
12115
12116 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12117
12118         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12119         and libgraphics to build on Cygwin.
12120
12121 2002-03-15  Juergen Vigna  <jug@sad.it>
12122
12123         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12124         inserting an Inset into the paragraph. I know this is not the best
12125         fix but we already use current_view in CutAndPaste so we will remove
12126         all of it's using at the same time.
12127
12128         * buffer.C (sgmlError): deactivated function till it is rewritten in
12129         the right mode, now it can create problems.
12130
12131         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12132         before accessing it.
12133
12134 2002-03-14  Juergen Vigna  <jug@sad.it>
12135
12136         * undo_funcs.C (textHandleUndo): do the right thing when updating
12137         the inset after the undo/redo.
12138
12139         * text2.C (setCursor): just some testcode for #44 not ready yet.
12140
12141         * undo_funcs.C (textHandleUndo): set the next() and previous()
12142         pointers of the paragraph to 0 before deleting otherwise we have
12143         problems with the Paragraph::[destructor].
12144
12145         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12146         on a paragraph insertion.
12147
12148 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * buffer.C (asciiParagraph): use += operator for char append to
12151         string.
12152
12153         * paragraph.C (getFontSettings): compare >= not just >
12154         (highestFontInRange): ditto
12155         (setFont): ditto
12156
12157 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * paragraph.C: change several algorithm to be more appripriate for
12160         the problem domain. This is lookip in FontList and in the InsetList.
12161
12162 2002-03-13  André Pönitz <poenitz@gmx.net>
12163
12164         * commandtags.h:
12165         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12166
12167 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * commandtags.h:
12170         * LyXAction.C:
12171         * lyxfunc.C:
12172         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12173
12174 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * Painter.C (display): anon helper function, adjust code for this
12177         change.
12178         (pixmap): remove function.
12179
12180         * Painter.h: remove private display variable.
12181
12182         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12183
12184 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12185
12186         * WorkArea.[Ch]: remove figinset_canvas cruft.
12187
12188 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * lyxtextclass.C (operator): add one item cache optimization.
12191
12192         * bufferlist.h: doxy changes
12193
12194         * bufferlist.C: ws changes
12195
12196         * DepTable.[Ch] (ext_exist): place const in the right spot.
12197
12198         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12199         call resizeInsets.
12200         (workAreaExpose): call resizeInsets when the with BufferView changes.
12201         (Dispatch): adjust for protectedBlank removal
12202         (specialChar): call updateInset if the insert went ok.
12203
12204         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12205         specialChar instead.
12206
12207         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12208
12209         * BufferView.h: doxy change
12210
12211         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12212
12213         * lyxtextclass.C (operator[]): remove non-const version
12214         (defaultLayout): remove non-const version
12215
12216 2002-03-12  Juergen Vigna  <jug@sad.it>
12217
12218         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12219         did resize the LyXText too.
12220
12221         * buffer.C (readLyXformat2): set layout information on newly allocated
12222         paragraphs.
12223
12224         * tabular.C (OldFormatRead): set layout information on the paragraph.
12225
12226 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12227
12228         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12229
12230 2002-03-11  Juergen Vigna  <jug@sad.it>
12231
12232         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12233         plainly wrong.
12234         (resizeCurrentBuffer): force also the insets to resize themselfes.
12235         (moveCursorUpdate): fixed up for InsetText.
12236
12237 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * commandtags.h:
12240         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12241         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12242         value of Dialogs::tooltipsEnabled().
12243         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12244
12245 2002-03-08  Juergen Vigna  <jug@sad.it>
12246
12247         * BufferView_pimpl.C (updateInset): update inset inside inset also
12248         if it isn't inside theLockingInset().
12249
12250 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12251
12252         * buffer.C (asciiParagraph): redo some of the word and line length
12253         handling.
12254         (getLists): look for Caption instead of caption.
12255
12256 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12257
12258         * buffer.C (Buffer): initialize niceFile to true
12259         (makeLaTeXFile):
12260         (makeLinuxDocFile):
12261         (makeDocBookFile): make sure niceFile is true on exit
12262
12263 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12266
12267 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * LyXSendto.C: remove.
12270         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12271         * lyx_gui.C: remove now-redundant comment.
12272         * ColorHandler.h: remove forward declaration of class WorkArea.
12273         * lyxfunc.C: remove #include "WorkArea.h".
12274
12275 2002-03-07  Juergen Vigna  <jug@sad.it>
12276
12277         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12278         got moved away with the DEPM and also set the inset_owner always
12279         right which before could have been omitted.
12280
12281 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12284         wanted layout is not found.
12285
12286 2002-03-07  Juergen Vigna  <jug@sad.it>
12287
12288         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12289
12290 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * paragraph.C (breakParagraph): use default layout not layout of
12293         prev paragraph.
12294         (Paragraph): clear ParagraphParameters.
12295
12296 2002-03-06  Juergen Vigna  <jug@sad.it>
12297
12298         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12299         otherwise it would not be a valid lenght. Fixed a special case in
12300         the minipage compatibility read where we end the document with a
12301         minipage.
12302
12303         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12304         was set as it could be 0 for InsetTexts first entry.
12305
12306 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * paragraph.C (writeFile): if layout is empty write out
12309         defaultLayoutName().
12310
12311         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12312         file without named layout we set layout to defaultLayoutName().
12313
12314 2002-03-06  Juergen Vigna  <jug@sad.it>
12315
12316         * CutAndPaste.C (copySelection): set layout for new paragraph.
12317
12318         * text.C (prepareToPrint): leave ERT inset left aligned
12319         (leftMargin): don't indent paragraphs inside ERT insets
12320
12321 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12322
12323         * paragraph.C (breakParagraph): dont call clear do the work manually
12324
12325         * paragraph.[Ch] (clear): remove function
12326
12327 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * paragraph.C (Paragraph): dont call clear, the work has already
12330         been done.
12331
12332         * lyxtextclass.C (operator): assert if n is empty
12333
12334         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12335         work manually instead.
12336
12337 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12338
12339         * BufferView_pimpl.C: protect selectionLost against text == 0
12340
12341 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * text.C (breakParagraph): fix a setting layout to '0' problem.
12344
12345 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12346
12347         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12348         final location of file, for the included files, and graphics.
12349
12350 2002-03-05  Juergen Vigna  <jug@sad.it>
12351
12352         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12353
12354 2002-03-04  Juergen Vigna  <jug@sad.it>
12355
12356         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12357
12358         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12359         last column of multicolumn cells.
12360         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12361
12362 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12363
12364         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12365         file if it doesn't go to a temporary file.
12366
12367         * buffer.C (sgmlOpenTag):
12368         (sgmlCloseTag):  remove extra newline insertion.
12369
12370 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12371
12372         * text.C (getRowNearY): comment out debug msg
12373
12374 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12375
12376         * text2.C: first -> first_y
12377
12378         * text.C (getRowNearY): add some attemts at a possible
12379         optimization, not working.
12380
12381         * tabular.[Ch]: add BufferParams to several function so that newly
12382         created paragraph can be initialized to he default layotu for the
12383         buffers textclass.
12384
12385         * tabular-old.C (ReadOld): add buf->params to call of Init
12386
12387         * screen.C: rename text->first to text->first_y
12388
12389         * paragraph.C (breakParagraph): always set layout in the broken
12390         paragraph
12391
12392         * lyxtextclass.C (Read): remove lowercase
12393         (hasLayout): ditto
12394         (operator): ditto
12395         (delete_layout): ditto
12396
12397         * lyxtext.h: rename first -> first_y
12398
12399         * lyxlayout.C (Read): remove lowercase
12400         (name): ditto
12401         (setName): ditto
12402         (obsoleted_by): ditto
12403
12404         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12405
12406         * buffer.C (insertErtContents): add params are to InsetERT
12407         (parseSingleLyXformat2Token): add code to check if a paragraphs
12408         layout really exist.
12409         (parseSingleLyXformat2Token): add params to several inset
12410         constructors
12411         (asciiParagraph): remove lowercase, do the layout comparisons with
12412         no_case
12413
12414         * BufferView_pimpl.C (cursorNext): first -> first_y
12415         (resizeCurrentBuffer): first -> first_y
12416         (updateScrollbar): first -> first_y
12417         (scrollCB): first -> first_y
12418         (workAreaMotionNotify): first -> first_y
12419         (workAreaButtonPress): first -> first_y
12420         (checkInsetHit): first -> first_y
12421         (cursorPrevious): first -> first_y
12422         (cursorNext): first -> first_y
12423         (Dispatch): add buffer_->params to severl inset contructors
12424
12425 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * lyxlayout.C (Read): remove some debug info that I forgot.
12428
12429         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12430         clean up the code slightly.
12431         (makeLinuxDocFile): ditto
12432         (makeDocBookFile): ditto
12433
12434         * text2.C: layout as string
12435
12436         * text.C: layout as string
12437
12438         * paragraph_pimpl.C: layout as string
12439
12440         * paragraph.[Ch]: layout as string
12441
12442         * lyxtextclasslist.[Ch]: layout as string
12443
12444         * lyxtextclass.[Ch]: layout as string
12445
12446         * lyxtext.h: layout as string
12447
12448         * lyxlayout.[Ch]: layout as string
12449
12450         * lyx_cb.C: layout as string
12451
12452         * bufferview_funcs.C: layout as string
12453
12454         * bufferparams.C: layout as string
12455
12456         * buffer.C: layout as string
12457
12458         * LyXView.[Ch]: layout as string
12459
12460         * LaTeXFeatures.[Ch]: layout as string
12461
12462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12463
12464         * BufferView_pimpl.C: change current_layout to string, remove
12465         lyx::layout_type.
12466         (Dispatch):
12467         (smartQuote):
12468         (insertInset):
12469         (workAreaButtonRelease): layout as string
12470
12471         * BufferView2.C (unlockInset): adjust
12472
12473         * vspace.C (asLatexCommand): use an explict temp variable.
12474
12475 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * Makefile.am: use FRONTEND_*
12478
12479 2002-03-01  Juergen Vigna  <jug@sad.it>
12480
12481         * tabular.C (SetWidthOfMulticolCell): changed to something better
12482         I hope but still work in progress.
12483         (recalculateMulticolumnsOfColumn): renamed function from
12484         recalculateMulticolCells as it is more appropriate now.
12485         (SetWidthOfCell): calculate multicols better.
12486
12487 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12490
12491         * lyxfunc.C (processKeySym): print sequence also if it is
12492         `deleted' (complete)
12493
12494         * kbsequence.C (print): print sequence even if it is deleted
12495         (complete would be a better word, actually).
12496
12497         * lyxfunc.C (dispatch): print complete options after a prefix key
12498
12499         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12500
12501 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12502
12503         * text2.C (setCharFont): eliminate setCharFont code duplication.
12504
12505 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12508         LFUN_TABULAR_FEATURE (bug #177)
12509
12510 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12511
12512         * Makefile.am: remove figure.h
12513
12514 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * Bufferview_pimpl.C:
12517         * CutAndPasteC:
12518         * LaTeX.C:
12519         * LyXSendto.C:
12520         * buffer.C:
12521         * bufferlist.C:
12522         * converter.C:
12523         * language.C:
12524         * lyxfunc.C:
12525         * lyxvc.C:
12526         * paragraph.C:
12527         * text.C:
12528         * text2.C: remove #include "lyx_gui_misc.h".
12529
12530         * LaTeX.C: added #include <cstdio>
12531
12532 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12533
12534         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12535         that the paragraph following this one can have.
12536
12537         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12538
12539         * vspace.C (asLatexCommand): fix bogus gcc warning
12540
12541         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12542
12543 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12544
12545         * text2.C (setLayout): get rid of redundant code
12546
12547 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12548
12549         * text2.C (incDepth): make sure depth cannot be increased beyond
12550         reasonable values.
12551
12552 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12555         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12556
12557         * PainterBase.h (image):
12558         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12559         a LyXImage const *.
12560
12561 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * BufferView.C:
12564         * BufferView.h:
12565         * BufferView_pimpl.C:
12566         * BufferView_pimpl.h:
12567         * LaTeXFeatures.C:
12568         * LyXAction.C:
12569         * LyXView.C:
12570         * Makefile.am:
12571         * UpdateList.h:
12572         * UpdateList.C:
12573         * buffer.C:
12574         * figure.h:
12575         * figureForm.C:
12576         * figureForm.h:
12577         * figure_form.C:
12578         * figure_form.h:
12579         * lyx_cb.C:
12580         * lyx_gui.C:
12581         * lyx_gui_misc.C:
12582         * lyxfunc.C:
12583         * sp_base.h:
12584         * sp_ispell.h:
12585         * sp_pspell.h:
12586         * sp_spell.C: remove fig inset, and the crap house of
12587           cards that follows it
12588
12589 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * Makefile.am:
12592         * lyxserver.C:
12593         * os2_defines.h:
12594         * os2_errortable.h:
12595         * nt_defines.h: move .h into support/
12596
12597         * vms_defines.h: remove
12598
12599         * WorkArea.C: add space in debug output
12600
12601         * text2.C:
12602         * paragraph.C:
12603         * buffer.C: add WITH_WARNINGS
12604
12605         * vc-backend.h:
12606         * vc-backend.C:
12607         * bufferlist.C: s/retrive/retrieve/, add docs
12608
12609         * vspace.h:
12610         * vspace.C:
12611         * kbmap.h:
12612         * lyxlength.h:
12613         * lyxgluelength.h:
12614         * length_common.h:
12615         * chset.h:
12616         * chset.C: add docs
12617
12618         * lyxgui.C: add ID to X error handler
12619
12620         * lyxtestclass.c: fix typo
12621
12622 2002-02-26  Juergen Vigna  <jug@sad.it>
12623
12624         * tabular_funcs.C (write_attribute): changed so that some default
12625         attributes are not written at all.
12626         (getTokenValue): set default values before trying to read the
12627         value so we have the return value always set as default if we don't
12628         find the token we search for.
12629
12630         * tabular.C (Write): write bools as bools not as strings!
12631
12632 2002-02-22  Juergen Vigna  <jug@sad.it>
12633
12634         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12635         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12636
12637         * text.C (leftMargin): don't add an indent for paragraphs inside
12638         tabular cells (fix #208).
12639
12640 2002-02-21  José Matos  <jamatos@fep.up.pt>
12641
12642         * tabular.C (docBook): fixed support for long tables.
12643
12644 2002-02-20  Juergen Vigna  <jug@sad.it>
12645
12646         * text2.C (getFont): get the drawing font of the Inset if this
12647         paragraph is inside an inset (only important for InsetERT for now).
12648
12649         * buffer.C (insertErtContents): use new lanugage params in ERT
12650         constructor.
12651
12652         * CutAndPaste.C: commenting out seemingly uneeded code.
12653
12654 2002-02-19  Allan Rae  <rae@lyx.org>
12655
12656         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12657         Iterators might be simple to use but they also get invalidated.
12658         (removeAutoInsets): renamed saved cursor tracking variables and added
12659         some comments to clarify what everything does.
12660
12661 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * Chktex.C:
12664         * LaTeX.C:
12665         * LyXSendto.C:
12666         * converter.C:
12667         * lyx_cb.C:
12668         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12669         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12670
12671         * lyxfunc.C:
12672         * vc-backend.h: remove #include "support/syscall.h"
12673
12674         * LaTeX.C:
12675         * LyXSendto.C:
12676         * converter.C: rearrange #includes in Lars' approved fashion.
12677
12678         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12679         forward declare class Timeout in the header file.
12680
12681         * XFormsView.C: changes due to the above.
12682
12683         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12684         similar to LyXView.
12685
12686         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12687         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12688
12689 2002-02-18  José Matos  <jamatos@fep.up.pt>
12690
12691         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12692         insets contents.
12693
12694 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12695
12696         * a lot of small ws changes
12697         * add a lot of using std::XXX
12698         * use std construcs some places where approp.
12699         * use some exisint stuff from lyxfunctional where approp.
12700         * Make file changes to use partial linking (lets test this now...)
12701
12702 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * Chktex.C:
12705         * buffer.C:
12706         remove #include "support/syscontr.h" as it's redundant. Always has been.
12707
12708         * Chktex.C:
12709         * LaTeX.C:
12710         * LyXSendto.C:
12711         * converter.C:
12712         * lyx_cb.C:
12713         * vc-backend.C:
12714         change Systemcalls::System to Systemcalls::Wait and
12715         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12716         No change of functionality, just reflects the stripped down Systemcalls
12717         class.
12718
12719 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * debug.[Ch]: add a GRAPHICS type to the enum.
12722
12723 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12724
12725         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12726
12727         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12728         there is an inset.
12729
12730 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12733         match the changes below.
12734
12735         * text2.C (toggleInset): if there is not editable inset at cursor
12736         position, try to see if cursor is _inside_ a collapsable inset
12737         and close it.
12738
12739 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12742         document menu has a nice checkbox
12743
12744 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * lyxlength.C (asLatexString): change PW to output as percent of
12747         \textwidth.
12748
12749         * lengthcommon.C: change '%' to 't%'
12750
12751         * lyxfunc.C (dispatch): a few comments from Martin
12752
12753 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * WorkArea.h:
12756         * WorkArea.C:
12757         * BufferView_pimpl.h:
12758         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12759           the X selection.
12760
12761 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12762
12763         * vspace.C (inPixels): fix compiler warning
12764
12765 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12766
12767         * lyxfunc.C (getStatus): fix status message for disabled commands.
12768
12769 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView_pimpl.C: fix crash on close buffer
12772         during selection (#227)
12773
12774 2002-01-27  Herbert Voss  <voss@lyx.org>
12775
12776         * buffer.C: link old Figure to new graphic inset
12777
12778 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12779
12780         * FontLoader.C (getFontinfo): Change the latex font names in order
12781         to match the names of type1inst.
12782
12783 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12786
12787         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12788         (extchanged): ditto
12789         (ext_exist): ditto
12790         (remove_files_with_extension): ditto
12791         (remove_file): ditto
12792         (write): ditto
12793
12794         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12795         document is smaller than the work area height. Do not initialize
12796         static variables to 0.
12797
12798 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12799
12800         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12801
12802         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12803         LFUN_LAYOUT_PARAGRAPHS.
12804
12805         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12806         tabular. It is possible to provide a possible cell, which will
12807         typically be the actcell from the corresponding insettabular
12808
12809         * lyxfunc.C (getStatus): small cleanup; disable
12810         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12811         true
12812
12813 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12816
12817         * paragraph.C (startTeXParParams):
12818         (endTeXParParams): new methods. The LaTeX code to
12819         start/end paragraph formatting
12820         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12821         empty (fixes bug #200)
12822
12823         * vspace.C (inPixels): adapt to the change below
12824         (inPixels): [later] more cleanups (remove unused variables)
12825
12826         * lyxlength.C (inPixels): change to use a width and a height as
12827         parameter.
12828
12829 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12830
12831         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12832         Replaced with \paperwidth
12833
12834         * DepTable.C (insert): add std:: qualifier
12835
12836 2002-01-18  Allan Rae  <rae@lyx.org>
12837
12838         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12839         updated also?
12840
12841         * text.C (drawInset): Turned out I didn't know enough about how
12842         rebreaking worked.  This fixes most of the redraw problems.  I see
12843         an occasional cursor trail when a line is broken now and the cursor
12844         placement can seem out by a few pixels also after a rebreak.
12845
12846 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12847
12848         * buffer.C (parseSingleLyXformat2Token): update because minipage
12849         width is now a LyXLength
12850
12851         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12852
12853         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12854         math insets
12855
12856 2002-01-17  Juergen Vigna  <jug@sad.it>
12857
12858         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12859
12860         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12861         is set correctly and the inset is updated correctly.
12862
12863 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12866         the beginning of the loop.
12867
12868 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12869
12870         * lyxrc.C: improve help for use_scalable_fonts
12871
12872 2002-01-17  Allan Rae  <rae@lyx.org>
12873
12874         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12875
12876 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12877
12878         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12879         make sure to set their inset_owner to the right value (bug #171)
12880
12881 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12882
12883         * DepTable.h
12884         * DepTable.C: Implement mtime checking to reduce time spent doing
12885         CRCs.
12886
12887 2002-01-16  Juergen Vigna  <jug@sad.it>
12888
12889         * tabular.C (GetAdditionalHeight): one of error fixed.
12890
12891         * lyxrc.C (output): small fix in writing use_pspell.
12892
12893 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * sp_base.h: #include LString.h
12896
12897 2002-01-16  Allan Rae  <rae@lyx.org>
12898
12899         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12900         Can someone check this please?
12901
12902         * text.C (drawInset): It was possible that p.row would be removed by
12903         breakAgainOneRow upsetting a few other settings.  There may be another
12904         small tweak possible by setting need_break_row = 0 when p.row has been
12905         removed but I don't know enough about the logic here.
12906
12907 2002-01-15  Allan Rae  <rae@lyx.org>
12908
12909         * text.C (insertChar): removed conditional truism.
12910
12911         * BufferView2.C (removeAutoInsets): More tweaks.
12912         cur_par_prev could be a stray pointer.  Check for trailing empty line
12913         in case last line was cur_par and only had an error inset on it.
12914
12915 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12916
12917         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12918         absolute
12919
12920         * vc-backend.C (most methods):
12921         * exporter.C (Export):
12922         * converter.C (convert):
12923         (runLaTeX):
12924         * LyXSendto.C (SendtoApplyCB):
12925         * lyxfunc.C (dispatch):
12926         (menuNew):
12927         (open):
12928         (doImport):
12929         * lyx_cb.C (AutoSave):
12930         (InsertAsciiFile):
12931         * BufferView_pimpl.C (MenuInsertLyXFile):
12932         * buffer.C (runChktex): use Buffer::filePath().
12933
12934         * buffer.h: rename filename to filename_; rename filepath to
12935         filepath_ and make it private
12936         (filePath): new method
12937
12938         * buffer.C (writeFile): use fileName()
12939         (getLatexName):
12940
12941         * lyx_main.C (init): fix starting  of LyX when the binary is a
12942         link from so,ewhere else.
12943
12944         * minibuffer.C: include <cctype> for isprint
12945
12946 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12949         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12950         name clash with InsetCollapsable's width function.
12951
12952 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * lastfiles.C: include <iterator>
12955
12956 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12957
12958         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12959         std::count.
12960
12961         * buffer.C (makeLaTeXFile): ditto.
12962         Also make loop operation more transparent.
12963
12964 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         * ToolbarDefaults.C: remove trailing comma closing namespace.
12967
12968         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12969
12970         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12971         as in WorkArea.
12972
12973         * trans.C (Load): comment out unused variable, allowed.
12974
12975 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12976
12977         * minibuffer.[Ch] (append_char): new method to recieve input from the
12978         drop-down completion browser. If a key was pressed, then recieve this
12979         char and append it to the existing string.
12980         (peek_event): modify the positioning data passed to the completion
12981         browser so that it can be placed above the minibuffer rather than below.
12982 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * LyXAction.C (init): alloe error-next for readonly documents.
12985
12986         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12987         count.
12988
12989 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12990
12991         * bufferlist.C (readFile): create the buffer _after_ checking that
12992         the file exists.
12993
12994         * lyxfunc.C (verboseDispatch): fix handling of arguments
12995
12996         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12997
12998         * lyxrc.C: use string::erase() instead of initializing to "".
12999
13000
13001 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * BufferView_pimpl.h:
13004         * BufferView_pimpl.C:
13005         * WorkArea.h:
13006         * WorkArea.C:
13007         * text2.C: tell X when we have made a selection for copying
13008
13009 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13010
13011         * BufferView_pimpl.C (MenuInsertLyXFile):
13012         * lyxfunc.C (menuNew):
13013         (open):
13014         (doImport): add shortcuts to directory buttons
13015
13016         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13017         open a float)
13018
13019         * lyxfunc.C (setStatusMessage):
13020         (getStatusMessage): new methods
13021         (getStatus):use setStatusMessage instead of setErrorMessage
13022         (dispatch): when function is disabled, set error message here
13023         [instead of in getStatus previously]
13024
13025         * BufferView_pimpl.C (workAreaButtonRelease): update
13026         toolbar/menubar here too.
13027
13028 2002-01-13  Allan Rae  <rae@lyx.org>
13029
13030         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13031         Now seems indestructible.  Remaining task is to audit all other
13032         code affected by deleteEmptyParagraphMechanism.  One small quirk
13033         left is that an empty document with an error in the preamble can
13034         be made to report an error but no error box appears.  I don't know
13035         where it goes.
13036         (removeAutoInsets): Improved comments.
13037
13038 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * Thesaurus.h:
13041         * Thesaurus.C: update for Aiksaurus 0.14
13042
13043 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * text2.C (firstParagraph): removed member function, all uses
13046         replaces with ownerParagraph
13047         (redoParagraphs): here
13048         (updateInset): here
13049         (toggleAppendix): here
13050         * BufferView2.C (insertErrors): here
13051         (setCursorFromRow): here
13052
13053 2002-01-13  Allan Rae  <rae@lyx.org>
13054
13055         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13056         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13057         There is still a way to segfault this although you may have to do this
13058         multiple times: Have an InsetERT with an unknown command in it.
13059         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13060         <down-arrow>, <Enter> again, View->DVI, BANG!
13061
13062         * text2.C (setCursor):
13063         (deleteEmptyParagraphMechanism):
13064         * lyxtext.h (setCursor):
13065         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13066         Making use of the return value may help fix other bugs.
13067
13068 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13071
13072         * LyXView.C (updateMenubar): call MenuBar::update here
13073         (updateToolbar): but not here
13074         (showState): do not update toolbar/menubar
13075
13076         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13077         should need to care about that.
13078
13079         * lyxfunc.C (verboseDispatch): simplify a bit
13080         (getStatus): have a version which takes a pseudoaction, and
13081         another which requires a (kb_action,string).
13082
13083         * LyXAction.C (retrieveActionArg): make it work also when action
13084         is not a pseudo-action.
13085         (getActionName): simplify a bit
13086         (helpText):
13087
13088 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13089
13090         * lyxfunc.C (verboseDispatch): new families of methods with
13091         several ways to specify a command and a bool to indicate whether
13092         the command name and shortcut should be displayed in minibuffer
13093         (eventually, we could extend that to a finer bitmask like
13094         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13095         (dispatch): the pristine dispatch command which just, well,
13096         dispatchs! Note it still sets its result to minibuffer; I'm not
13097         sure we want that.
13098
13099         * lyxfunc.h: remove setHintMessage
13100
13101         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13102
13103 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * BufferView_pimpl.C (specialChar): delete new inset if we have
13106         not been able to insert it.
13107
13108         * kbmap.C: revert to using int instead of kb_action, since all we
13109         are dealing with is pseudo-actions.
13110
13111         * LyXAction.C (searchActionArg): change to return int instead of
13112         kb_action, since the result is a pseudoaction.
13113
13114 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13115
13116         * buffer.C (insertErtContents): Fix (partially) the font bug.
13117
13118 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13119
13120         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13121         as the other one is broken on my machine!
13122
13123 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13124
13125         * commandtags.h:
13126         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13127
13128 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13131         reflect their actual use. Provide compatibility code for older lyxrc
13132         files.
13133
13134         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13135         FL_NORMAL_STYLE.
13136         change names of popup font variables in line with the changes to lyxrc.C
13137
13138 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13139
13140         * buffer.C (asciiParagraph): avoid outputing a word twice after
13141         an inset.
13142
13143         * lyxrc.C (getDescription): document that document_path and
13144         template_path can be empty.
13145
13146 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13147
13148         * LaTeXFeatures.C (getMacros):
13149         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13150
13151         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13152
13153         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13154         getPackages.
13155         (getPackages): rename feature "floats" to "float". Use an array to
13156         iterate over 'simple' features (i.e. just a \usepackage). Add
13157         handling of "amsmath" (renamed from "amsstyle").
13158
13159 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13160
13161         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13162         features list.
13163
13164 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13165
13166         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13167         FuncStaus::FuncStatus & FuncStaus::some_method().
13168
13169 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13170
13171         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13172         of the func_satus stuff. Edited and massaged in various ways by
13173         JMarc.
13174
13175         * lyxfunc.C (getStatus): use FuncStatus
13176
13177 2002-01-08  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (nextBreakPoint): use function Inset::isChar().
13180
13181         * paragraph.C (TeXOnePar): use function
13182         Inset::forceDefaultParagraphs.
13183
13184         * buffer.C (latexParagraphs): use function
13185         Inset::forceDefaultParagraphs.
13186
13187 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * lyx_gui.C (init): set the style of the menu popups to
13190         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13191
13192 2002-01-07  Juergen Vigna  <jug@sad.it>
13193
13194         * text.C (setHeightOfRow): small fix
13195         (prepareToPrint): don't look at alignment if we don't have the place
13196         for doing it.
13197
13198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13199
13200         * box.C: New file. Move the Box methods and functions out of box.h,
13201         following Lars' suggestion.
13202
13203 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13204
13205         * box.h: #include "support/LOstream.h", needed for inlined function.
13206
13207         * lyxtextclass.C:
13208         * lyxtextclasslist.C: added some using std declarations.
13209
13210 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * box.h: make signed dimensions to allow insets wider than
13213           the screen (bug #162)
13214
13215         * BufferView_pimpl.C: add some insetHit debug
13216
13217 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * vc-backend.C: add FIXME
13220
13221 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * lyxfunc.C (getStatus): enable code for showing math font status
13224         in toolbar/menu.
13225
13226 2002-01-07  Juergen Vigna  <jug@sad.it>
13227
13228         * text.C (nextBreakPoint): removed debug output not needed anymore.
13229
13230 2002-01-06  Juergen Vigna  <jug@sad.it>
13231
13232         * text.C (nextBreakPoint): fixed up this function we had this bug
13233         since ever but now hopefully we break row better.
13234         (insertChar): we have to check if an inset is the next char as it
13235         could now happen that a large inset is causing a break.
13236
13237 2002-01-05  Juergen Vigna  <jug@sad.it>
13238
13239         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13240         if it doesn't like to be drawed.
13241
13242 2002-01-04  Juergen Vigna  <jug@sad.it>
13243
13244         * BufferView2.C (lockInset): forgot to set a cursor.
13245
13246         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13247
13248 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13249
13250         * FormMathsPanel.C:
13251         * FormMathsPanel.h
13252         * MathsSymbols.C:
13253         * form_maths_panel.C:
13254         * form_maths_panel.h:
13255         * form_maths_panel.fd: implemented sub- and super- buttons in math
13256         panel.
13257
13258         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13259         (or ^ space) to be used as in TeX (req'd by André).
13260
13261         * lyxfunc.C: Allow ^ and _ again to be used both as
13262         super/subscript (mathed) and as themselves (in text).
13263
13264 2002-01-03  Allan Rae  <rae@lyx.org>
13265
13266         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13267         "LyX" or the filename of the current buffer if it has one.  This is a
13268         modified form of John Levon's patch.
13269
13270         * XFormsView.C (setWindowTitle): also set icon title.
13271
13272         * LyXView.h (setWindowTitle): signature changed.
13273         * XFormsView.h (setWindowTitle): ditto.
13274
13275 2002-01-02  Juergen Vigna  <jug@sad.it>
13276
13277         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13278
13279 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * screen.C (topCursorVisible): introduce a temp var for
13282         text->cursor.row(), handle the case where this row is null. (kindo
13283         hachish)
13284
13285         * text2.C (setCursor): add a couple of asserts.
13286
13287         * paragraph.h (inset_iterator): add -> operator
13288
13289         * paragraph.[Ch] (autoDeleteInsets): remove member function
13290
13291         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13292         cursor pos correctly and handle inset deletion by itself.
13293         (insertErrors): move iterator declaration out of for expression
13294
13295         * lyxtextclass.C: add <algorithm>
13296
13297         * Makefile.am: added the new files to sources, removed layout.C
13298
13299         * layout.C: removed file
13300
13301         * layout.h: remove LYX_DUMMY_LAYOUT
13302
13303         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13304         layout.
13305
13306         * lyxlayout.[Ch]:
13307         * lyxtextclass.[Ch]:
13308         * lyxtextclasslist.[Ch]: new files
13309
13310         * include order changes to a lot of files, also changes because of
13311         the six new files.
13312
13313 2001-12-27  Juergen Vigna  <jug@sad.it>
13314
13315         * buffer.C (asciiParagraph): more fixes.
13316
13317         * tabular.C (ascii): make ascii export support export of only the
13318         data separated by a column-delimiter.
13319         (ascii): better support for ascii export.
13320
13321         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13322
13323 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13324
13325         * tabular_funcs.C: use a "using std::getline" instead of the
13326         previous fix from Angus (necessary for cxx + lyxstring)
13327
13328 2001-12-24  Juergen Vigna  <jug@sad.it>
13329
13330         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13331
13332         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13333         problems. First check a minipage also if we have some ert-contents
13334         (not only on par->size(), second set the right depth of the paragraph
13335         on the relink to the root-paragraph-list!
13336
13337         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13338         which then did not anymore update the main paragraphs on undo/redo!
13339
13340 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13343         code. Support all font-changing funcs (even those which are not in
13344         menu currently). Support for reporting font settings in
13345         mathed (disabled until Andre provides a function on mathed's side).
13346
13347         * func_status.h (toggle): small helper function to set toggle
13348         state on a flag.
13349
13350 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * tabular_funcs.C: getline -> std::getline
13353
13354 2001-12-21  Juergen Vigna  <jug@sad.it>
13355
13356         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13357         accessed and could be 0 (I couldn't generate this but it seems
13358         Michael could!).
13359
13360 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13363         * tabular_funcs.h: here and include iosfwd
13364
13365 2001-12-20  Juergen Vigna  <jug@sad.it>
13366
13367         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13368         inside inset but undo_par was.
13369
13370 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * Thesaurus.C: always include <config.h> in sources.
13373
13374         * Painter.h:
13375         * lyxlookup.h:
13376         * box.h: do not include <config.h> in header files
13377
13378         * text.C (paintLastRow): remove unused variable
13379
13380         * text.C (transformChar):
13381         (insertChar):
13382         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13383
13384         * Painter.C (text):
13385         * font.C (width): rewrite to use uppercase() instead of
13386         islower/toupper.
13387
13388         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13389
13390 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * lyxfind.C: clean up of find failure position change
13393
13394 2001-12-20  Juergen Vigna  <jug@sad.it>
13395
13396         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13397
13398         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13399         (TeXRow): added to LaTeX a single tabular row.
13400         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13401         (Latex): simplified and finally good LT-h/f support.
13402         (various_functions): just small adaptions for LT-h/f support.
13403
13404         * tabular_funcs.[hC]: added and moved here all not classfunctions
13405         of LyXTabular.
13406
13407 2001-12-19  Juergen Vigna  <jug@sad.it>
13408
13409         * tabular.[Ch]: better support for longtabular options (not finished
13410         yet!)
13411
13412 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13413
13414         * text.C (paintLastRow): use the label font instead of the font of
13415         the last character to compute the size of *_BOX. This makes more
13416         sense and avoids a crash with empty paragraphs.
13417         Use Painter::rectangle to draw EMPTY_BOX.
13418
13419 2001-12-19  Juergen Vigna  <jug@sad.it>
13420
13421         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13422         the paragraphs if the replaced paragraph is not the first one!
13423         Tried to delete not used paragraphs but does not work yet so for
13424         now it's inside #ifdef's and by default off!
13425
13426 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13427
13428         * MenuBackend.C: include "lyx_main.h" instead of declaring
13429         lastfiles (actually was declared as LastFiles* instead of a
13430         scoped_ptr).
13431
13432 2001-12-17  Juergen Vigna  <jug@sad.it>
13433
13434         * tabular.C (AppendColumn): applied John's fix
13435
13436 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * BufferView.h:
13439         * BufferView.C:
13440         * BufferView_pimpl.h:
13441         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13442
13443         * Makefile.am:
13444         * box.h: new start of class for above
13445
13446         * lyxfunc.C: ignore space-only minibuffer dispatches.
13447           Show the command name when it doesn't exist
13448
13449         * minibuffer.C: don't add empty lines to the history
13450
13451         * minibuffer.C: add a space on dropdown completion
13452
13453 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * text.C: fix line above/below drawing in insets
13456
13457 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * lyxlength.C (LyXLength): Initialize private variables.
13460
13461 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13462
13463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13464         when inserting error insets.
13465
13466 2001-12-13  Juergen Vigna  <jug@sad.it>
13467
13468         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13469         actually sometimes the before-paragraph.
13470         (setUndo): don't clear the redostack if we're not actually undoing!
13471
13472 2001-12-06  Juergen Vigna  <jug@sad.it>
13473
13474         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13475         and fixed redoing of main paragraph, so we can use it now ;)
13476
13477         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13478
13479 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13480
13481         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13482         Juergen's request
13483
13484 2001-12-13  André Pönitz <poenitz@gmx.net>
13485
13486         * undostack.[Ch]:
13487         * undo_func.C: minor cleanup
13488
13489 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13490
13491         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13492         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13493         font in urw-fonts package which is marked as -urw-fontspecific and
13494         does not work (incidentally, changing the encoding in the
13495         fonts.dir of this package to -adobe-fontspecific fixes the
13496         problem).
13497
13498         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13499         is a crash when undoing first paragraph (Juergen, please take a
13500         look). THis does not mean the undo fix is wrong, just that it
13501         uncovers problems.
13502
13503         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13504         the (Paragraph*) version when needed instead of duplicating the
13505         code.
13506
13507         * text.C (workWidth): use Inset::parOwner to find out where the
13508         inset has been inserted. This is a huge performance gain for large
13509         documents with lots of insets. If Inset::parOwner is not set, fall
13510         back on the brute force method
13511
13512         * paragraph_pimpl.C (insertInset):
13513         * paragraph.C (Paragraph):
13514         (cutIntoMinibuffer): set parOwner of insets when
13515         inserting/removing them
13516
13517         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13518
13519 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13520
13521         * commandtags.h:
13522         * LyXAction.C:
13523         * lyx_main.C:
13524         * lyxfunc.C:
13525         * mathed/formulabase.C:
13526         * mathed/math_cursor.[Ch]:
13527         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13528
13529
13530 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * lyxlength.[Ch] (operator!=): new function
13533
13534 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13535
13536         * text.C (workWidth): use Inset::parOwner to find out where the
13537         inset has been inserted. This is a huge performance gain for large
13538         documents with lots of insets. If Inset::parOwner is not set, fall
13539         back on the brute force method
13540
13541         * paragraph_pimpl.C (insertInset):
13542         * paragraph.C (Paragraph):
13543         (cutIntoMinibuffer): set parOwner of insets when
13544         inserting/removing them
13545
13546         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13547
13548 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13549
13550         * tabular-old.C (getTokenValue):
13551         * tabular.C (getTokenValue):
13552         (write_attribute): new versions for LyXLength
13553         (everywhere): adjust the use of widths
13554
13555         * tabular.h: change the type of widths from string to LyXLength
13556
13557 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13558
13559         * paragraph.C: fixed missing line number count when exporting
13560         Environments to LaTeX file
13561
13562         * buffer.C: added informational message for checking line numbers.
13563
13564 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13567         paragraph, do the 'double space' part, but not the 'empty
13568         paragraph' one.
13569
13570         * text.C (workWidth): small optimization
13571         (getLengthMarkerHeight): use minimal size for negative lengths.
13572
13573 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13574
13575         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13576
13577         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13578
13579 2001-12-11  André Pönitz <poenitz@gmx.net>
13580
13581         * FontLoader.C:
13582         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13583
13584 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * text2.C: keep selection on a setFont()
13587
13588 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * lyx_cb.C: another bv->text misuse, from insert label
13591
13592 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * kbsequence.h:
13595         * kbsequence.C: re-instate nmodifier mask
13596
13597 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13598
13599         * lyx_main.h: make lyxGUI private.
13600
13601 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * lyxfind.C: place the cursor correctly on failed search
13604
13605 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13606
13607         * text.C (getLengthMarkerHeight): for small heights, the arrows
13608         are not always on top/bottom of the text
13609         (drawLengthMarker): smaller arrows; take the left margin in
13610         account; draw also vfills.
13611         (paintFirstRow):
13612         (paintLastRow): remove special code for vfill and standard spaces,
13613         since everything is handled in drawLengthMarker now.
13614
13615 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * buffer.C (insertErtContents): try to handle font and language
13618         interaction a bit better.g
13619
13620         * ColorHandler.C (updateColor): change the hash to cover the whole
13621         LColor enum, ws cleanup
13622         (getGCLinepars): ditto
13623         (getGCLinepars): only lookup in the linecache once.
13624
13625 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13626
13627         * iterators.C (operator++): Make the iterator more robust
13628
13629         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13630         (John's patch)
13631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13632
13633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * lyxtext.h:
13636         * text.C: better added space drawing
13637
13638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * LyXView.C:
13641         * BufferView2.C: fix layout combo update on inset unlock
13642
13643 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * Makefile.am: don't compile unused files
13646
13647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * lyxfunc.C:
13650         * commandtags.h:
13651         * LyXAction.C: remove old LFUN_LAYOUTNO
13652
13653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * paragraph_pimpl.h:
13656         * paragraph_pimpl.C: isTextAt() doesn't need font param
13657
13658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * lyxlex.h:
13661         * lyxlex.C: little cleanup
13662
13663 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * BufferView_pimpl.C: fix insertAscii for insets
13666
13667 2001-12-05  Juergen Vigna  <jug@sad.it>
13668
13669         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13670         set the right font on the "multi" paragraph paste!
13671
13672 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * trans_decl.h:
13675         * trans_mgr.[Ch]:
13676         * trans.[Ch]:
13677         * lyxgluelength.C:
13678         * lyxlength.C: remove out-commented code.
13679
13680         * BufferView_pimpl:
13681         * CutAndPaste.C:
13682         * DepTable.C:
13683         * buffer.C:
13684         * chset.C:
13685         * lastfiles.C:
13686         * lyxlex.C:
13687         * lyxlex_pimpl.C:
13688         * lyxserver.C:
13689         * screen.C:
13690         * tabular-old.C:
13691         * tabular.C:
13692         * text.C:
13693         * trans_mgr.C:
13694         * vc-backend.C: change "while(" to "while ("
13695
13696         * lyxlength.[Ch]: add zero function to check if length is zero or
13697         not
13698         * lyxgluelength.C: use it
13699
13700 2001-12-05  Allan Rae  <rae@lyx.org>
13701
13702         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13703         Works for 2.95.3, from what I understand of Garst's reports this should
13704         work for other g++ versions.  We're screwed if the abs(int) definition
13705         changed between bugfix releases of gcc.
13706
13707 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * text.C: fix chapter label offset !
13710
13711 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * lyxtext.h:
13714         * text.C: fix hfill at end of line, clean up
13715
13716 2001-12-04  Juergen Vigna  <jug@sad.it>
13717
13718         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13719         that we force an update of the inset and it's owners if neccessary.
13720
13721 2001-12-03  Juergen Vigna  <jug@sad.it>
13722
13723         * text.C (rowLast): simplified code
13724
13725 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * lyxfunc.C: fix show options on timeout
13728
13729 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * screen.C (topCursorVisible): scroll half a page when the cursor
13732         reached top of bottom of screen
13733
13734 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13735
13736         * minibuffer.C: deactivate on loss of focus
13737
13738 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * vspace.[Ch] (operator!=): add operator.
13741
13742 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * BufferView_pimpl.C: refuse to open an inset when
13745         there's a selection.
13746
13747 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13748
13749         * BufferView_pimpl.C: allow to click on RHS of full row insets
13750
13751 2001-11-30  Juergen Vigna  <jug@sad.it>
13752
13753         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13754         insets for undo reasons.
13755
13756 2001-11-28  André Pönitz <poenitz@gmx.net>
13757
13758         * vspace.[Ch]: cosmetical changes
13759
13760 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * LyXAction.h:
13763         * LyXAction.C:
13764         * lyxfunc.h:
13765         * lyxfunc.C:
13766         * kbmap.h:
13767         * kbmap.C:
13768         * lyxrc.C:
13769         * kbsequence.h:
13770         * kbsequence.C: part re-write of old kb code
13771
13772         * Painter.C:
13773         * WorkArea.C: remove Lgb_bug_find_hack
13774
13775 2001-11-30  José Matos <jamatos@fep.up.pt>
13776
13777         * buffer.C (makeDocBookFile): add a comment to point a hack.
13778         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13779         Fixed a double write of labels.
13780
13781 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13782
13783         * LaTeX.C:
13784         * LaTeX.h Fixed bug in LaTeX class where it would not
13785         re-run latex if no depfiles were changed, but the .dvi was removed.
13786
13787 2001-11-28  André Pönitz <poenitz@gmx.net>
13788
13789         * all the files from the change on 2001/11/26:
13790         use lyx::layout_type instead of LyXTextClass::size_type
13791         use lyx::textclass_type instead of LyXTextClassList::size_type
13792
13793 2001-11-29  Juergen Vigna  <jug@sad.it>
13794
13795         * text.C: added support for paragraph::isFreeSpacing()
13796
13797         * buffer.C: same as above
13798
13799         * paragraph.h: inserted isFreeSpacing() function to enable
13800         FreeSpacing inside InsetERT.
13801
13802         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13803         of the paragraph's in the cut/copy buffer to 0!
13804
13805         * text2.C (removeRow): remove the assert as it can!
13806
13807         * lyxtext.h: added helper function firstRow returning firstrow and
13808         made firstrow private again.
13809
13810         * BufferView2.C (lockInset): don't relock if we're already locked!
13811
13812         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13813         the only paragraph.
13814         (removeRow): added Assert::(firstrow)
13815
13816         * debug.C: forgot to add INSETTEXT here.
13817
13818 2001-11-28  Juergen Vigna  <jug@sad.it>
13819
13820         * sp_spell.C (initialize): changed error text to more general
13821         spellchecker command use (not only ispell!)
13822
13823         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13824
13825         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13826
13827 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * vspace.C: initialise lyxgluelength on failure
13830
13831 2001-11-28  Allan Rae  <rae@lyx.org>
13832
13833         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13834         declaration & definition that looks like a function declaration.
13835
13836 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * BufferView2.C (copy):
13839         (copyEnvironment): do not clear the selection when doing a copy.
13840
13841         * text.C (paintFirstRow): compilation fix
13842
13843 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13844
13845         * tabular.C (Latex): correct line count when writing latex.
13846
13847 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * paragraph_pimpl.h:
13850         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13851           bug a bit
13852
13853 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * text.C:
13856         * LColor.h:
13857         * LColor.C: change vfillline->added_space
13858
13859         * text.C: add markers and text for added space
13860
13861         * vspace.C: fix comment
13862
13863 2001-11-28  André Pönitz <poenitz@gmx.net>
13864
13865         * paragraph.C: whitespace changes
13866         * all the other files from the change on 2001/11/26:
13867         change *::pos_type into lyx::pos_type
13868
13869 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13870
13871         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13872         language of the document when inserting error insets.
13873
13874 2001-11-26  André Pönitz <poenitz@gmx.net>
13875
13876         * BufferView_pimpl.[Ch]:
13877         *       CutAndPaste.C:
13878         * buffer.[Ch]:
13879         * lyxcursor.[Ch]:
13880         * lyxfind.C:
13881         * lyxfunc.C:
13882         * lyxrow.[Ch]:
13883         * paragraph.[Ch]:
13884         * paragraph_pimpl.[Ch]:
13885         * sp_spell.C:
13886         * text.C:
13887         * text2.C: reduce header dependencies, introduce type for positions
13888
13889 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13890
13891         * <various>: change to use Alert.h
13892
13893 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13894
13895         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13896         when encountering an unknown token.
13897         (readLyXformat2): Show an error message if there were unknown tokens.
13898
13899 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13900
13901         * BufferView2.C:
13902         * BufferView_pimpl.C:
13903         * buffer.C:
13904         * paragraph.h:
13905         * text.C:
13906         * text2.C: use par->isInset()
13907
13908 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13909
13910         * paragraph_pimpl.h:
13911         * paragraph_pimpl.C: cleanup
13912
13913 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * text2.C (removeRow):
13916         * text.C (setHeightOfRow): remove useless (and costly) call to
13917         getRow.
13918
13919 2001-11-20  Allan Rae  <rae@lyx.org>
13920
13921         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13922         Now need Inset*::checkInsertChar() to return true for appropriate
13923         cases so that the characters in the minibuffer will actually be
13924         inserted.
13925
13926 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13927
13928         * text.C: change the order of the includes.
13929         (workWidth): initialize it at once.
13930         (workWidth): make maxw unsigned
13931         (setHeightOfRow): remove unused variable (inset)
13932         (selectSelectedWord): remove unused variable (inset)
13933         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13934
13935 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13938         server is not running.
13939         (openConnection):
13940         (closeConnection): add debug info when server is disabled.
13941
13942         * ColorHandler.C (getGCForeground): send debug message to GUI
13943         channel.
13944
13945         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13946
13947         * kbmap.C (bind): modify because return conventions of
13948         kb_sequence::parse have changed.
13949
13950         * kbsequence.C (parse): only ignore spaces and not any stupid
13951         control character. This avoids tests like s[i] <= ' ', which are
13952         guaranteed to fail with 8bit characters and signed chars.
13953         Change return code to string::npos when there have been no error
13954         (0 was a bad idea when error is at first character)
13955
13956 2001-11-14  José Matos  <jamatos@fep.up.pt>
13957
13958         * buffer.h:
13959         * buffer.C (simpleDocBookOnePar): removed unused argument.
13960
13961 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13964         insets which are part of a word. Paragraph::isLetter takes care of
13965         that now. Use Paragraph::isInset to identify insets.
13966         (selectSelectedWord): do not test for hyphenation break.
13967
13968         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13969         that protected spaces are considered as spaces.
13970
13971         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13972         Inset::isLetter.
13973
13974 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * lyxserver.h:
13977         * lyxserver.C: fix it. and small cleanup.
13978
13979 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13980
13981         * BufferView_pimpl.C: use inline helpers
13982
13983         * LaTeXFeatures.h:
13984         * LaTeXFeatures.C: fix typos
13985
13986         * Spacing.h:
13987         * Spacing.C: move spacing_string into class
13988
13989         * ToolbarDefaults.C: move stuff into namespace anon
13990
13991         * layout.h: update enum
13992
13993         * lyxfunc.C: use better debug
13994
13995         * minibuffer.h: fix typo
13996
13997         * debug.h:
13998         * debug.C:
13999         * WorkArea.C: add and use Debug::WORKAREA
14000
14001         * lyxtext.h:
14002         * text.C:
14003         * text2.C: code re-organisation, inline helpers
14004
14005 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14006
14007         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14008         std::vector.empty().
14009
14010 2001-11-09  Allan Rae  <rae@lyx.org>
14011
14012         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14013         '\n's after tables.  Tabular and ERT inset work now makes this no
14014         longer necessary.
14015
14016 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * minibuffer.h:
14019         * minibuffer.C: fix crash, improve drop-down completion
14020
14021 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * lyxserver.h:
14024         * lyxserver.C: invalidate fd's when doing endPipe()
14025
14026 2001-11-08  José Matos  <jamatos@fep.up.pt>
14027
14028         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14029         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14030
14031         * paragraph.h:
14032         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14033
14034 2001-11-07  José Matos  <jamatos@fep.up.pt>
14035
14036         * buffer.h:
14037         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14038         const qualifier.
14039
14040         * buffer.C (sgmlOpenTag):
14041         * buffer.C (sgmlCloseTag): removed debug info.
14042
14043         * buffer.h (sgmlOpenTag):
14044         * buffer.h (sgmlCloseTag): made public.
14045
14046 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * buffer.C (saveParamsAsDefaults):
14049         * lyx_cb.C (MenuLayoutSave): remove
14050
14051         * LyXAction.C (init):
14052         * commandtags.h:
14053         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14054
14055 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * buffer.C (setPaperStuff): removed from here...
14058
14059         * bufferparams.C (setPaperStuff): ... and moved there.
14060
14061 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * minibuffer.h:
14064         * minibuffer.C:
14065         * XFormsView.C: add support for drop-down completion
14066
14067 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14068
14069         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14070         commands.
14071
14072 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14075         disabled.
14076
14077 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * lyx_main.C: change ref to known bugs
14080
14081 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14082
14083         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14084         to work around older babel problems.
14085
14086 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14087
14088         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14089
14090 2001-10-24  Juergen Vigna  <jug@sad.it>
14091
14092         * tabular-old.C (ReadOld): below variable changes reflected.
14093
14094         * tabular.[Ch]: added ltType struct for longtable header/footer
14095         defines and changed all instances where they are used. Added
14096         future support for double top/bottom rows.
14097
14098 2001-10-24  José Matos  <jamatos@fep.up.pt>
14099
14100         * buffer.h (docbookHandleCaption):
14101         * buffer.C (docbookHandleCaption): removed unused function.
14102         (makeDocBookFile): moved docbook supported version to v4.1.
14103
14104 2001-10-24  José Matos  <jamatos@fep.up.pt>
14105
14106         * tabular.h:
14107         * tabular.C (docbookRow): new function to export docbook code of a row.
14108         (DocBook): now honors the longtable flags.
14109
14110 2001-10-23  José Matos  <jamatos@fep.up.pt>
14111
14112         * LaTeXFeatures.h:
14113         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14114         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14115
14116         * buffer.C (makeLinuxDocFile):
14117         (makeDocBookFile): reworked the preamble, more clean, and with
14118         support for lyx defined entities. Changed the document declaration
14119         to be more XML friendly.
14120
14121         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14122         if we need to output XML that should be done with a filter.
14123
14124 2001-10-22  Juergen Vigna  <jug@sad.it>
14125
14126         * sp_pspell.h (class PSpell): add alive function needed in the
14127         controller to see if the spellchecker could be started.
14128
14129 2001-10-22  Juergen Vigna  <jug@sad.it>
14130
14131         * buffer.C (insertStringAsLines): modify the font for inserting
14132         chars in certain conditions by calling checkInsertChar(font).
14133
14134 2001-10-19  Juergen Vigna  <jug@sad.it>
14135
14136         * text.C (workWidth): use getRow instead of wrong algorithm.
14137         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14138
14139 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14140
14141         * lyxserver.h:
14142         * lyxserver.C:
14143         * lyx_main.h:
14144         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14145
14146 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * text.C (workWidth): do not search for the exact row when
14149         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14150         optimization for big documents.
14151
14152 2001-10-18  Juergen Vigna  <jug@sad.it>
14153
14154         * text.C (workWidth): new function with added Inset * parameter.
14155
14156 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14159
14160         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14161         change return type of getColumnNearX.
14162
14163
14164         * text.C (changeRegionCase): use uppercase/lowercase instead of
14165         toupper/tolower.
14166         (leftMargin):
14167         (rightMargin): simplify code by factoring out the uses of
14168         textclasslist.
14169         (labelFill):
14170         (numberOfHfills):
14171         (setHeightOfRow):
14172         (appendParagraph): use Paragraph::size_type
14173
14174 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * vspace.C (asLatexString): add a missing break
14177
14178 2001-10-15  Herbert Voss  <voss@perce.de>
14179
14180         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14181
14182 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14185         is not available.
14186
14187 2001-10-10  André Pönitz <poenitz@gmx.net>
14188
14189         * lyxfunc.C: removed greek_kb_flag.
14190
14191 2001-10-10  Herbert Voss  <voss@perce.de>
14192
14193         * lyx_main.C: delete global string help_lyxdir.
14194
14195 2001-10-09  Herbert Voss  <voss@perce.de>
14196
14197         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14198
14199         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14200
14201         * lyx_main.C: added global string help_lyxdir.
14202
14203         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14204
14205 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14206
14207         * lyxrc.C (set_font_norm_type): support iso8859-4
14208
14209 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14210
14211         * LaTeX.C (deplog): add another regex for MikTeX
14212
14213 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14214
14215         * lyxrc.C (set_font_norm_type): support iso8859-3
14216
14217 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14220
14221         * LaTeXFeatures.C: remove special case of french and index
14222
14223         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14224         before \begin{document}). This solves several incompatibilities.
14225
14226 2001-10-03  Garst Reese  <reese@isn.net>
14227
14228         * lyx_cb.C: change CheckTex error msg.
14229
14230 2001-10-03  José Matos  <jamatos@fep.up.pt>
14231
14232         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14233
14234 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14235
14236         * .cvsignore: update
14237
14238         * lyx_main.C (commandLineVersionInfo): use new style version info.
14239
14240         * buffer.C (writeFile):
14241         (makeLaTeXFile):
14242         (makeLinuxDocFile):
14243         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14244
14245         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14246
14247         * version.h: update to use stuff in version.C
14248
14249         * version.C.in: new file. Contains version information determined
14250         at compile time. This is a merging of version.h and
14251         version_info.h.in.
14252
14253 2001-10-03  Juergen Vigna  <jug@sad.it>
14254
14255         * BufferView_pimpl.C (update): don't change "dirty" status in
14256         updateInset call.
14257
14258 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14259
14260         * WorkArea.C (c-tor): re-position version string slightly.
14261
14262 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14265         revert to previous code.
14266
14267         WorkArea.[Ch]: (show, destroySplash): methods removed.
14268
14269         WorkArea.C: rework code so that it's an amalgam of the codes before and
14270         after the splash screen was moved to WorkArea.
14271
14272 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * lyxrc.C (read):
14275         * vspace.C (inPixels):
14276         (lyx_advance):
14277         * kbmap.C (bind):
14278         * buffer.C (insertStringAsLines):
14279         (asciiParagraph): fix types to be large enough
14280
14281         * lyxlex_pimpl.h: change member status from short to int
14282
14283         * layout.h: fix type of endlabeltype
14284
14285         * kbmap.C (bind):
14286         * kbsequence.C (parse): change return type to string::size_type
14287
14288         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14289         variable
14290
14291         * Bullet.C (bulletSize):
14292         (bulletEntry): do not use short ints as parameters
14293
14294         * BufferView2.C (insertLyXFile): change a char to an int.
14295
14296         * WorkArea.C (WorkArea): remove unneeded floats in computation
14297
14298 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14299
14300         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14301
14302         * paragraph.C (asString): Do not ignore newline/hfill chars when
14303         copying to the clipboard.
14304
14305 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14306
14307         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14308         after a multi-line inset.
14309
14310 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * paragraph.C (validate): Set NeedLyXFootnoteCode
14313
14314 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14317         and decrease-error to decrease.
14318
14319 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14320
14321         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14322         it more readable (should be equivalent)
14323
14324 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14325
14326         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14327
14328 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14331         of a cursor (row, etc.) after a character has been deleted
14332         (deleteEmptyParagraphMechanism): call the method above on _all_
14333         cursors held by the LyXText when a double space has been
14334         detected/deleted.
14335
14336 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14339         pixmap.
14340         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14341
14342         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14343         background. Use greyOut() and the new show() methods to toggle between
14344         the foreground and background. Add code to remove the splash after
14345         its initial showing.
14346
14347         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14348         (create_forms): no longer call Dialogs::showSplash.
14349
14350 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * .cvsignore: add version_info.h
14353
14354 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * version_info.h.in: new file
14357
14358         * Makefile.am: add version_info.h.in
14359
14360         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14361         version_info.h instead of VERSION_INFO
14362
14363 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14364
14365         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14366         The ERT inset now returns string().
14367
14368 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14369
14370         * lyxtext.h, text.C (selectNextWord): renamed as
14371         selectNextWordToSpellcheck.
14372
14373         * text.C (selectNextWordToSpellcheck): Modified to not select
14374         words inside an ERT inset.
14375
14376 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * lyx_cb.C (MenuLayoutSave): change a bit the question
14379
14380         * sp_base.h: include <sys/types.h>
14381
14382 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14383
14384         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14385
14386 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14387
14388         * several files: fix typos in user-visible strings
14389
14390 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * text2.C (pasteSelection): do not set the selection, since it
14393         will be cleared later. Actually, the intent was to fix the way the
14394         selection was set, but I figured rmoving the code was just as good.
14395
14396 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14397
14398         * FontLoader.C (available): Check if font is available without
14399         loading the font.
14400
14401 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14402
14403         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14404
14405 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14406
14407         * lyxrc.[Ch]: added display_graphics variable and associated code.
14408
14409 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * bufferparams.C (hasClassDefaults): new method. Returns true if
14412         the buffer parameters correspond to known class defaults
14413
14414 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14415
14416         * XFormsView.C (show): set minimum size to the main window.
14417
14418 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * text2.C (copySelection):
14421         (cutSelection):
14422         * lyxfind.C (LyXReplace):
14423         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14424         LyXText::selectionAsString.
14425
14426         * paragraph.C (asString): add "label" argument to the second form
14427
14428         * text2.C (selectionAsString): add "label" argument and pass it to
14429         Paragraph::asString.
14430
14431 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * lyx_main.C (commandLineHelp): remove version information
14434
14435 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14436
14437         * lyx_main.C: add -version commandline option
14438
14439 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * paragraph.h: make the optional constructor arg required instead.
14442         some modifications to other files because of this.
14443
14444         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14445
14446         * lyxserver.C (C_LyXComm_callback): make it static
14447
14448         * lyx_main.C (error_handler): make it static
14449
14450         * lyx_gui.C (LyX_XErrHandler): make it static
14451
14452         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14453
14454         * WorkArea.C: make the extern "C" methods static.
14455
14456         * Makefile.am (lyx_LDADD): simplify
14457
14458 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14461         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14462
14463         * LyXAction.C (init):
14464         * lyxfunc.C (dispatch): associated code removal.
14465
14466 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * lyxfont.h (isSymbolFont): shut off warning
14469
14470         * text.C (setHeightOfRow):
14471         (getVisibleRow): fix crash with empty paragraphs which have a
14472         bottom line
14473
14474 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14475
14476         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14477         code.
14478
14479 2001-09-04  José Matos  <jamatos@fep.up.pt>
14480         * buffer.C
14481         * buffer.h
14482         * tabular.C (docbook): rename docBook method to docbook.
14483
14484 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14485
14486         * Makefile.am: add dependencies to main.o.
14487
14488 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14489
14490         * FontLoader.C (available): Return false if !lyxrc.use_gui
14491
14492 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14493
14494         * FontInfo.C (query):
14495         * converter.C (view):
14496         * importer.C (Import):
14497         * exporter.C (Export): Can not -> cannot.
14498
14499 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * BufferView_pimpl.C: allow to create index inset even if
14502           string is empty
14503
14504 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14505
14506         * buffer.C (getLists): replace boost::tie code with an explicit pair
14507         as boost::tie can break some compilers.
14508
14509         * iterators.h: Added a std:: declaration to the return type of
14510         ParIterator::size.
14511
14512 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14515           case.
14516
14517 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14518
14519         * iterators.[Ch]: New files. Provide paragraph iterators.
14520
14521         * buffer.C (changeLanguage): Use paragraph iterators.
14522         (isMultiLingual): ditto
14523
14524         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14525
14526 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14527
14528         * FontLoader.C: Support for cmr font.
14529
14530 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14531
14532         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14533         (available): New method.
14534
14535         * FontInfo.C (getFontname): Use scalable fonts even when
14536         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14537         found.
14538
14539 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14540
14541         * converter.C (Formats::view): reverted! Incorrect fix.
14542
14543 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14544
14545         * converter.C (Formats::view): only output the -paper option
14546         if the dvi viewer is xdvi, thereby fixing bug #233429.
14547
14548 2001-08-23  Herbert Voss  <voss@perce>
14549
14550         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14551
14552 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14553
14554         * Spacing.h (Spacing): Set space to Default on in the default
14555         constructor.
14556
14557 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14558
14559         * vc-backend.h (RCS::versionString): add RCS to version
14560         (CVS::versionString): add CVS to version
14561
14562         * vc-backend.C (scanMaster): do not add CVS to version.
14563         (scanMaster): do not add RCS to version
14564
14565         * lyxvc.C (versionString): new method
14566
14567         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14568
14569 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * Spacing.C (set): initialize fval
14572
14573 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14574
14575         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14576         " or \.
14577
14578 2001-08-16  Juergen Vigna  <jug@sad.it>
14579
14580         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14581
14582 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * BufferView_pimpl.C:
14585         * figureForm.C:
14586         * lyxtext.h:
14587         * text2.C: setParagraph takes linespacing now
14588
14589 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * LyxAction.C: add internal LFUN_CITATION_INSERT
14592
14593         * LyXView.C: actually apply fix
14594
14595         * bufferlist.C: fix open non-existent file
14596
14597         * lyxfind.C: fix indentation
14598
14599         * lyxfunc.C: remove unneeded assert, fix typo
14600
14601 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * MenuBackend.C: use "Floatname List"
14604
14605 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14606
14607         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14608         when converting LaTeX layout to insetERT.
14609         Generate a non-collapsed float when reading old float
14610
14611 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14612
14613         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14614         ERT insets.
14615
14616 2001-08-13  Juergen Vigna  <jug@sad.it>
14617
14618         * text.C (fill): return 0 instead of 20 as this seems to be the more
14619         correct value.
14620
14621 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14622
14623         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14624         lyxrc.font_norm.
14625
14626 2001-08-13  Juergen Vigna  <jug@sad.it>
14627
14628         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14629         casesensitive off.
14630         (SearchBackward): comment out the unlocking of the inset_owner this
14631         should not be needed!
14632
14633 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * Many files: Remove inherit_language, and add latex_language
14636
14637         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14638         collapsible insets.
14639
14640 2001-08-10  Juergen Vigna  <jug@sad.it>
14641
14642         * text.C (prepareToPrint): fixed hfill-width in draw!
14643
14644         * BufferView2.C (selectLastWord): save the selection cursor as this
14645         now is cleared in the function LyXText::clearSelection!
14646
14647 2001-08-08  Juergen Vigna  <jug@sad.it>
14648
14649         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14650         BACKSPACE type functions.
14651
14652         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14653         is only cutted from the document but not put in the cut-buffer, where
14654         still the old stuff should be.
14655
14656         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14657
14658         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14659
14660         * tabular.C (SetWidthOfCell): fixed special case where the width
14661         was not updated!
14662         (LeftLine): handle '|' in align_special.
14663         (RightLine): ditto
14664         (LeftAlreadyDrawed): ditto
14665         (SetWidthOfCell): ditto
14666
14667 2001-08-07  Juergen Vigna  <jug@sad.it>
14668
14669         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14670
14671 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14674         * lyxlex.[hC]: ditto
14675
14676 2001-08-06  Juergen Vigna  <jug@sad.it>
14677
14678         * text.C (getVisibleRow): fix up row clearing a bit.
14679
14680 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * minibuffer.C: make sure the X server sees the changes in the input.
14683
14684 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * paragraph.C (getFont): split into...
14687         (getLabelFont): this
14688         (getLayoutFont): and this
14689         * paragraph_pimpl.C (realizeFont): calling this
14690
14691         * text2.C (getFont): split into...
14692         (getLayoutFont): this
14693         (getLabelFont): and this
14694         (realizeFont): all three calling this
14695
14696         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14697         files where used.
14698
14699 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14702
14703 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14704
14705         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14706         layouts from the Quote inset insertion.
14707
14708 2001-08-03  Juergen Vigna  <jug@sad.it>
14709
14710         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14711
14712         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14713         only if status not is already CHANGED_IN_DRAW (second level).
14714
14715         * text.C (draw): don't set the need_break_row when inside an
14716         InsetText LyXText.
14717
14718 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * buffer.C (parseSingleLyXformat2Token): handle more latex
14721         conversion cases.
14722
14723         * bufferview_funcs.[hC]: change function names to
14724         begin with small char, adjust other files.
14725
14726 2001-08-02  André Pönitz <poenitz@gmx.net>
14727
14728         * lyxfunc.C:
14729         BufferView_pimpl.C: remove broken special code for math-greek
14730
14731 2001-08-02  Juergen Vigna  <jug@sad.it>
14732
14733         * BufferView_pimpl.C (update): redone this function so that we
14734         update the text again if there was a CHANGE_IN_DRAW.
14735
14736         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14737         (drawFromTo): added a new internal bool which is used by draw() and
14738         redraw() function.
14739         (general): some cursor drawing problems fixed.
14740
14741 2001-08-01  Juergen Vigna  <jug@sad.it>
14742
14743         * lyxfind.C (LyXFind): fixed
14744         (SearchForward): ditto
14745         (SearchBackward): ditto
14746
14747         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14748         spurius drawing of the cursor in the main area.
14749
14750         * text2.C (status): small fix which could lead to a segfault!
14751         (clearSelection): remove unneeded BufferView param.
14752
14753 2001-08-01  André Pönitz <poenitz@gmx.net>
14754
14755         * lyxfunc.C: small change due to changed mathed interface
14756
14757 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14760
14761 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14762
14763         * lyxfunc.c: fail gracefully if file doesn't exist
14764
14765         * LyXSendto.C:
14766         * buffer.C:
14767         * lyxfunc.C:
14768         * BufferView_pimpl.C: IsDirWriteable() proto changed
14769
14770         * LyXView.C: fix updateWindowTitle() to store the last title
14771
14772 2001-07-31  Juergen Vigna  <jug@sad.it>
14773
14774         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14775         the font (wrong since using of Paragraph::highestFontInRange).
14776
14777         * paragraph.C (highestFontInRange): added a default_size parameter.
14778
14779         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14780         (setHeightOfRow): reformat
14781
14782 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * converter.[hC] + affected files: move to (inital-char)lowercase
14785         function names.
14786
14787         * ParagraphParameters.C (ParagraphParameters): remove commented code
14788
14789         * PainterBase.[Ch]: remove commented code
14790
14791         * LaTeXFeatures.h: add "bool floats" for float.sty
14792
14793         * LaTeXFeatures.C (LaTeXFeatures): init floats
14794         (require): handle float
14795         (getPackages): do it with floats
14796
14797 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * BufferView_pimpl.C (Dispatch): improve handling of
14800         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14801
14802         * commandtags.h: #include lyxfont.h here temporarily to avoid
14803         keybinding bug.
14804
14805         * bufferlist.h: include LString.h here.
14806
14807 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * text2.C (getStringToIndex): new method.
14810
14811 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14812
14813         * *: Reduced header file dependencies all over.
14814
14815 2001-07-30  Baruch Even  <baruch@lyx.org>
14816
14817         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14818
14819 2001-07-29  Baruch Even  <baruch@lyx.org>
14820
14821         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14822
14823 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * ParameterStruct.h (endif): add a default constructor to make
14826         sure that all variables is initialized.
14827
14828         * ParagraphParameters.C (ParagraphParameters): adjust
14829
14830 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14831
14832         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14833         index; also, check that there is something to index, and that it
14834         does not span over several paragraphs.
14835         (doubleClick): use WHOLE_WORD_STRICT for double click.
14836
14837         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14838
14839         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14840         scheme.
14841
14842 2001-07-26  Baruch Even  <baruch@lyx.org>
14843
14844         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14845         an InsetFig figure, backwards compatible reading of old figure code.
14846
14847 2001-07-27  Juergen Vigna  <jug@sad.it>
14848
14849         * text2.C: font.realize function adaption.
14850
14851         * text.C (draw): add a warnings lyxerr text if needed.
14852
14853         * layout.C: font.realize function adaption.
14854
14855         * language.C: add inherit_language and implement it's handlings
14856
14857         * bufferview_funcs.C (StyleReset): remove language parameter from
14858         font creation (should be language_inherit now).
14859
14860         * bufferparams.C (writeFile): handle ignore_language.
14861
14862         * paragraph.C (getFontSettings): the language has to be resolved
14863         otherwise we have problems in LyXFont!
14864
14865         * lyxfont.C (lyxWriteChanges): added document_language parameter
14866         (update): removed unneeded language parameter
14867
14868         * paragraph.C (validate): fixed wrong output of color-package when
14869         using interface colors for certain fonts in certain environments,
14870         which should not seen as that on the final output.
14871
14872 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14873
14874         * BufferView_pimpl.C:
14875         * Thesaurus.h:
14876         * Thesaurus.C:
14877         * Makefile.am:
14878         * commandtags.h:
14879         * LyXAction.C: add thesaurus support
14880
14881         * lyxfind.h:
14882         * lyxfind.C: add "once" parameter, for thesaurus, to not
14883           move to the next match
14884
14885 2001-07-26  Juergen Vigna  <jug@sad.it>
14886
14887         * lyxfont.C (realize): honor ignore_language too!
14888         (resolved): ditto.
14889
14890         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14891
14892         * text.C (draw): one place more for ignore_language to not draw
14893         itself!
14894
14895 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14896
14897         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14898
14899 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14900
14901         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14902         the minipage conversion problem.
14903
14904 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14907         insert an inset.
14908
14909 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * BufferView.h: don't forward declare WorkArea
14912
14913         * BufferView.C: don't include WorkArea.h
14914
14915 2001-07-25  André Pönitz <poenitz@gmx.net>
14916
14917         * commandtags.h:
14918         * LyXAction.C:
14919         * lyxfunc.C:  new LFUN 'math-space'
14920
14921         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14922
14923 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * text2.C (toggleInset): call open/close
14926
14927 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * lyxfunc.C (dispatch): add debug for the disabled case
14930
14931         * font.C (buttonText): make similar to rectText
14932
14933         * buffer.C (readInset): comment out parsing of insetlist and
14934         insttheorem
14935
14936         * PainterBase.C (rectText): small correction
14937
14938         * BufferView_pimpl.C: comment out insettheorem and insetlist
14939         * LyXAction.C: ditto
14940         * commandtags.h: ditto
14941
14942 2001-07-24  Juergen Vigna  <jug@sad.it>
14943
14944         * text.C (draw): honor the ignore_language.
14945
14946         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14947
14948 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14949
14950         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14951         char inset.
14952
14953 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14954
14955         * lyxtext.h: remove unused (and unimplemented) methods
14956
14957 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14958
14959         * text.C (getVisibleRow): honor background color
14960
14961         * PainterBase.h:
14962         * Painter.h: remove default color argument for fillRectangle
14963
14964         * text.C (backgroundColor): new method
14965
14966 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * text.C (getVisibleRow): adjust
14969
14970         * font.[Ch] (rectText): new method, metrics
14971         (buttonText): new method, metrics
14972
14973         * PainterBase.[hC]: make rectText and buttonText always draw and take
14974         fewer paramteres.
14975
14976 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14977
14978         * ToolbarDefaults.C (read):
14979         * MenuBackend.C (read): allow escaping in all strings
14980
14981         * BufferView_pimpl.C (insertAndEditInset): new method.
14982         (Dispatch): use insertAndEditInset whenever appropriate.
14983
14984         * BufferView_pimpl.C (insertNote): removed
14985
14986         * BufferView_pimpl.C (smartQuote): new method, moved from
14987         BufferView; if an insetquote cannot be inserted, insert a '"'
14988         character instead.
14989
14990         * BufferView2.C: remove insertCorrectQuote();
14991
14992         * lyxfunc.C (getStatus): Add support for all remaingin
14993         inset-insert lfuns.
14994
14995         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14996
14997         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14998         command (necessary to pass " as parameter of self-insert.
14999
15000         * text.C (selectWordWhenUnderCursor):
15001         (selectWord): add word_location parameter
15002         (selectWordWhenUnderCursor): same + remove special code for word
15003         boundary.
15004         (selectNextWord): use kind() to guess type of insetspecialchar,
15005         not latex().
15006
15007         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15008         (insertErtContents): create ert insets as collapsed.
15009         (readInset): better compatibility code for Info inset.
15010
15011 2001-07-20  Juergen Vigna  <jug@sad.it>
15012
15013         * lyxfunc.C (dispatch): use always LyXFind now!
15014
15015         * text2.C (init): add a reinit flag so that the LyXText can be
15016         reinited instead of deleted and reallocated (used in InsetText).
15017
15018         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15019
15020         * text.C: ditto
15021
15022         * text2.C: ditto
15023
15024 2001-07-18  Juergen Vigna  <jug@sad.it>
15025
15026         * text.C (selectNextWord): handle insets inside inset by calling
15027         always the bv->text functions so that we can go up the_locking_inset!
15028
15029         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15030         in strange locations when inside an inset!
15031
15032         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15033         handling to include insets.
15034
15035         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15036
15037 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * LyXAction.C (init):
15040         * commandtags.h:
15041         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15042         LIGATURE_BREAK, since the name is so stupid.
15043
15044 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15045
15046         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15047         InsetInfos.
15048
15049         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15050
15051         * sp_form.[Ch]: remove.
15052
15053         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15054
15055         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15056         InsetInfo.
15057
15058         * src/buffer.C (readInset): ditto.
15059
15060 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15061
15062         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15063         menuSeparator(), endOfSentenceDot(), ldots() and
15064         hyphenationPoint(), which are therefore removed.
15065         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15066
15067         * LyXAction.C (init):
15068         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15069
15070         * paragraph.C (getWord): removed.
15071
15072         * BufferView_pimpl.C (Dispatch): use last word or selection for
15073         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15074
15075         * lyx_main.C (queryUserLyXDir): do not ask before creating
15076         user_dir, except if it has been named explicitely.
15077
15078 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15081         a document of zero size.
15082
15083 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15086         approriately in the c-tor and in require().
15087         (getPackages): output the appropriate LaTeX for natbib support.
15088
15089         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15090         variables "use_natbib" and "use_numerical_citations" when reading the
15091         LyX file.
15092         (readInset): read the various natbib cite commands.
15093         (validate): white-space change.
15094
15095         * bufferparams.[Ch]: new variables "bool use_natbib" and
15096         "bool use_numerical_citations".
15097         (writeFile): output them in the LyX file.
15098
15099 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15100
15101         * lyxfunc.C (getStatus): add support for all the inset insertion
15102         commands.
15103
15104         * text2.C (insertInset):
15105         * paragraph.C (insetAllowed):
15106         * BufferView_pimpl.C (insertInset): update to take in account the
15107         renaming of insertInsetAllowed
15108
15109         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15110
15111         * text2.C (getInset): new method. returns inset at cursor position.
15112
15113         * BufferView_pimpl.C (Dispatch): changes because of this.
15114
15115         * LyXAction.C (init): rename open-stuff to inset-toggle.
15116
15117         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15118
15119         * text2.C (toggleInset): renamed from openStuff; use
15120         Inset::open().
15121
15122 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15123
15124         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15125
15126         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15127
15128 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15129
15130         * buffer.C (readLyXformat2): Add filename to the error dialog
15131
15132 2001-07-18  Juergen Vigna  <jug@sad.it>
15133
15134         * tabular.C (GetCellNumber): put an assert here instead of the check!
15135
15136 2001-07-17  Juergen Vigna  <jug@sad.it>
15137
15138         * BufferView_pimpl.C (toggleSelection): adapted too.
15139
15140         * text.C (selectNextWord): adapted for use with insets.
15141         (selectSelectedWord): ditto
15142
15143 2001-07-17  Juergen Vigna  <jug@sad.it>
15144
15145         * sp_spell.C (PSpell): fix initialitation order.
15146
15147 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * paragraph.C: spacing
15150
15151 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15152
15153         * sp_spell.C: repair language selection for pspell
15154
15155 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * lyxfunc.h: change more methods to begin with lower char.
15158
15159 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15162         for unknown layouts.
15163
15164 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15165
15166         * buffer.C (readLyXformat2): Generate an error dialog if there are
15167         unknown layouts.
15168
15169 2001-07-16  Juergen Vigna  <jug@sad.it>
15170
15171         * sp_spell.C: always compile ISpell part.
15172
15173         * lyxrc.C: added use_pspell entry and it's handling.
15174
15175 2001-07-13  Juergen Vigna  <jug@sad.it>
15176
15177         * sp_spell.C: removed double includes.
15178
15179 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15180
15181         Consistent use of Lsstream.h:
15182         * Lsstream.h: added using std::stringstream for consistencies sake.
15183
15184         * buffer.C: removed using std::stringstream
15185
15186         * lyxfont.C (stateText):
15187         * paragraph.C (asString):
15188         * text.C (selectNextWord, selectSelectedWord):
15189         * text2.C (setCounter):
15190         * vspace.C (asString, asLatexString):
15191         std::ostringstream -> ostringstream.
15192
15193 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15194
15195         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15196         * commandtags.h: add LFUN_HELP_ABOUTLYX
15197         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15198
15199 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15200
15201         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15202         cursorToggle()
15203         * lyx_gui_misc.C: remove spellchecker
15204         * lyxfunc.C: showSpellchecker
15205         * sp_base.h: added
15206         * sp_ispell.h: added
15207         * sp_pspell.h: added
15208         * sp_spell.C: added
15209         * sp_form.[Ch]: removed
15210         * spellchecker.[Ch]: removed
15211
15212 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15213
15214         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15215         is set.
15216         (simpleTeXSpecialChars): Simply print the input character without
15217         any special translation if pass_thru is set.
15218
15219         * layout.h: Added bool pass_thru to layout class for being able to
15220         implement pass through of a paragraph for Literate Programming.
15221
15222         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15223         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15224         * layout.C (Read): add "passthru" to list of layout tags and add
15225         code to set the pass_thru boolean when it is read.
15226
15227 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15228
15229         * trans_decl.h: remove allowed from KmodInfo
15230
15231         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15232         remove allowed code
15233         (Load): adjust
15234
15235         * paragraph_pimpl.C (erase): use boost::prior
15236
15237         * Painter.C (text): use data() instead of c_str() when length is
15238         also provided.
15239         * WorkArea.C (putClipboard): ditto
15240         * font.h (width): ditto
15241
15242         * BufferView2.C: use it-> instead of (*it). for iterators
15243         * texrow.C: ditto
15244         * paragraph_pimpl.C: ditto
15245         * paragraph.C: ditto
15246         * minibuffer.C: ditto
15247         * language.C: ditto
15248         * kbmap.C: ditto
15249         * encoding.C: ditto
15250         * counters.C: ditto
15251         * converter.C: ditto
15252         * chset.C: ditto
15253         * Variables.C: ditto
15254         * TextCache.C: ditto
15255         * MenuBackend.C: ditto
15256         * LyXAction.C: ditto
15257         * LColor.C: ditto
15258         * FloatList.C: ditto
15259         * DepTable.C: ditto
15260         * ColorHandler.C (LyXColorHandler): ditto
15261
15262 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15265
15266         * text2.C (openStuff): reintroduce this method (which had been
15267         nuked in NEW_INSETS frenzy).
15268
15269         * lyxfunc.C (Dispatch): when an action has not been handled, use
15270         its name in the error message, not its number.
15271
15272         * paragraph.C (inInset): change method name to begin with lowercase.
15273
15274         * undo_funcs.C:
15275         * text2.C: updates because of this.
15276
15277 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * ToolbarDefaults.C (add): add spaces in error message
15280
15281 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15282
15283         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15284         (readLyXformat2): rename return_par to first_par, use lyxlex's
15285         pushToken and remove the manual push handling.
15286         (parseSingleLyXformat2Token): add another ert comp. variable:
15287         in_tabular, rename return_par to first_par. handle newlines better
15288
15289 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15292
15293 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * text2.C (getParFromID): removed
15296
15297         * buffer.C (getParFromID): new method moved form lyxtext.
15298         * BufferView2.C (insertErrors): adjust
15299         (setCursorFromRow): adjust
15300         * BufferView_pimpl.C (restorePosition): adjust
15301         * lyxfunc.C (Dispatch): adjust
15302         * undo_funcs.C (textUndo): adjust
15303         (textRedo): adjust
15304         (textHandleUndo): adjust
15305         (textHandleUndo): adjust
15306
15307 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * buffer.C: up' the LYX_FORMAT
15310
15311         * lyxfont.h: turn NO_LATEX on as default
15312
15313         * buffer.C (insertErtContents): new methods of tex style compability.
15314         (parseSingleLyXformat2Token): use it several places.
15315         * tabular.C (OldFormatRead): and here
15316
15317 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15318
15319         * text2.C: remove some commented code.
15320         reindent file.
15321
15322         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15323         * trans.C: changes because of the above.
15324
15325 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15326
15327         * text2.C (setCounter): Fix counters bug with bibliography layout.
15328
15329 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15330
15331         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15332         own member functions
15333         (simpleTeXSpecialChars): ditto
15334
15335 2001-07-06  Juergen Vigna  <jug@sad.it>
15336
15337         * a lot of files: changed the access to LyXText::status and the
15338         call of undo-functions.
15339
15340         * undo.[Ch]: added a inset_id to the undo informations.
15341
15342         * undo_funcs.[Ch]: added and moved here all undo functions.
15343
15344         * lyxtext.h: give the status enum a weight, made status_ a private
15345         variable and made accessor functions for it, removed the whole bunch
15346         of undo-functions as they are now in their own file, make some
15347         functions publically available. Added function ownerParagraph with
15348         int parameter.
15349
15350         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15351         made InInset() a const function, added getParFromID() function.
15352
15353         * buffer.[Ch]: added const version for inset_iterator functions,
15354         added getInsetFromID() function.
15355
15356         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15357         changed undo functions for new version.
15358
15359 2001-07-05  Juergen Vigna  <jug@sad.it>
15360
15361         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15362         unknow mechanism does not call the proper constructor but only this
15363         one also if I request the other!?
15364
15365 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15368
15369         * text2.C (LyXText): use initialization lists.
15370
15371         * lyxtext.h (Selection): initialize set_ and mark_
15372         (init): remove method
15373
15374 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15375
15376         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15377
15378 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15379
15380         * screen.[Ch]: change method names to begin with lowercase
15381
15382         * BufferView_pimpl.C (updateScrollbar): simplify further and
15383         hopefully make it a bit faster.
15384
15385 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15388         calling directly xforms functions.
15389
15390         * Painter.C (Painter):
15391         * lyx_cb.C (MenuWrite):
15392         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15393         fl_display.
15394
15395         * lyx_gui.C: remove bogus guiruntime extern declaration.
15396
15397 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15398
15399         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15400         in NEW_INSETS
15401         (redoDrawingOfParagraph): ditto
15402         (redoParagraphs): ditto
15403         (cutSelection): don't create a object for CutAndPaste use the
15404         static method directly
15405         (pasteSelection): ditto
15406
15407         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15408         LyXview (+ rename)
15409
15410 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * modifications to some other files because of this.
15413
15414         * Makefile.am (lyx_SOURCES): add XFormsView
15415
15416         * XFormsView.[Ch]: new files
15417
15418         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15419         the main window. Move the gui dependent stuff to XFormsView
15420
15421 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * tabular.C (GetCellInset): update cur_cell also in the row/col
15424         version of this function.
15425
15426         * lyxfunc.C: no need to include figure_form.h here.
15427
15428         * FontLoader.h:
15429         * lyxfunc.h:
15430         * lyxscreen.h:
15431         * text2.C:
15432         * lyxvc.C: no need to include forms.h here.
15433
15434 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15437
15438         * lyxfunc.C (Dispatch):
15439         * Spacing.C (set):
15440         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15441         constructor argument.
15442
15443 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * paragraph.C (Paragraph): dont't clear, and just set layout.
15446         (makeSameLayout): use params's copy contructor.
15447
15448         * ParagraphParameters.[Ch] (makeSame): delete method
15449
15450 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15451
15452         * Variables.[Ch]: fix indentation, rename set to isSet
15453
15454 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * lyxfunc.C (Dispatch): fix typo
15457
15458 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15461         upper_bound.
15462
15463         * bufferlist.C: include assert.h for emergencyWrite().
15464
15465 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15466
15467         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15468           give up at last (bug #425202) !
15469
15470 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15471
15472         * lyx_gui_misc.C:
15473         * sp_form.h:
15474         * sp_form.C:
15475         * spellchecker.h:
15476         * spellchecker.C: strip spellchecker options and bring up
15477           preferences tab instead
15478
15479 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15482         the istringstream constructor
15483
15484 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * paragraph.C (getLayout): fix return value
15487
15488         * paragraph.h: do not declare getLayout as inline.
15489
15490         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15491
15492 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15493
15494         * lyxcursor.h (operator<): new func
15495         (operator>): new func
15496         (operator>=): new func
15497         (operator<=): new func
15498
15499         * text.C (changeCase): use selection.start and selection.end
15500         (changeRegionCase): require from to be <= to. Require par to be a
15501         valid paragraph.
15502
15503         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15504
15505 2001-06-27  Juergen Vigna  <jug@sad.it>
15506
15507         * text.C (cursorLeftOneWord): changed to return the cursor and added
15508         overlay with BufferView * parameter which calls this one.
15509         (getWord): added
15510         (selectWord): use new getWord function.
15511         (changeCase): renamed from changeWordCase as and extended to work
15512         also on selections.
15513
15514         * lyxtext.h: added enum word_location
15515
15516         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15517         changeCase as this operates now also on selections.
15518
15519 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15520
15521         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15522
15523         * many files: send debug output to Debug::INFO instead of
15524         Debug::ANY.
15525
15526         * converter.C (View):
15527         (Convert):
15528         (Move): send debug output to Debug::FILES instead of console.
15529
15530 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15531
15532         * lyxfunc.C (getStatus): use func_status
15533
15534         * func_status.h: new header, describing the results of
15535         LyXFunc::getStatus;
15536
15537         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15538         LFUN_MATH_HALIGN.
15539
15540 2001-06-25  The LyX Project  <jug@sad.it>
15541
15542         * buffer.C (sgmlOpenTag):
15543         (sgmlCloseTag):
15544         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15545
15546 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * text2.C: remove some dead code
15549
15550         * tabular.C (GetCellInset): store the last cell checked (gotten)
15551
15552         * tabular.h: add the helper for the speedup
15553
15554         * lyxtext.h: remove some dead code
15555
15556 2001-06-26  The LyX Project  <Asger>
15557
15558         * paragraph.C: Change export to LaTeX of alignment to
15559         \begin{center} and family for better roundtrip work with reLyX.
15560
15561         * Tune the math drawing a bit.
15562
15563 2001-06-25  The LyX Project  <Asger>
15564
15565         * LColor.C (LColor): New color for math background. New color
15566         for buttons.
15567
15568 2001-06-25  The LyX Project  <jug@sad.it>
15569
15570         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15571
15572         * lyxfunc.C (Open):
15573         * bufferlist.C (newFile): do not restrict to files ending with
15574         .lyx
15575
15576         * BufferView_pimpl.C (MenuInsertLyXFile):
15577
15578 2001-06-24  The LyX Project  <jug@sad.it>
15579
15580         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15581         of compare_no_case
15582
15583 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15584
15585         * lyxtext.h: rename most methods to begin with a small char.
15586         Lots of changes because of this.
15587
15588         * paragraph.C (Paragraph): do not call fitToSize
15589         (erase): call Pimpl::erase
15590         (insertChar): call Pimpl::insertChar
15591         (insertInset): call Pipl::insertInset
15592         (breakParagraph): do not call fitToSize
15593         (breakParagraphConservative): do not call fitToSize
15594         (fitToSize): remove method
15595
15596         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15597
15598 2001-06-24  The LyX Project  <Asger>
15599
15600         * Fix Qt compilation^2
15601
15602 2001-06-24  The LyX Project  <jug@sad.it>
15603
15604         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15605         depthHook(getDepth()-1).
15606
15607         * paragraph.h:
15608         * ParagraphParameters.h:
15609         * ParameterStruct.h: change type of depth to unsigned int ==
15610         depth_type. Many adaptations to other files before of that.
15611
15612 2001-06-24  The LyX Project  <Asger>
15613
15614         * Fix Qt compilation.
15615
15616 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * paragraph.h: renamed several methods to begin with small letter.
15619         several changes to many parts of the code because of this.
15620
15621 2001-06-23  The LyX Project  <jug@sad.it>
15622
15623         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15624         rewritten to discard all double spaces when KeepEmpty is off
15625         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15626         to only handle newlines but not fiddle with spaces and friends.
15627
15628         * lyxfunc.C (MenuNew): when doing 'new from template', use
15629         template_path as default directory
15630
15631 2001-06-23  The LyX Project  <Asger>
15632
15633         * Clean-up of header file includes all over
15634         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15635
15636 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15637
15638         * paragraph.h: renamed from lyxparagraph.h
15639
15640 2001-06-23  Asger  <lyx@violet.home.sad.it>
15641
15642         * Buffer.h: Removed Buffer::resize
15643         * BufferList.h: Removed BufferList::resize
15644         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15645         the document lazily when we change the width, or the font settings.
15646
15647 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15648
15649         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15650
15651 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15652
15653         * buffer.h: remove out of date comment
15654
15655 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15656
15657         * lyxscreen.h:
15658         * screen.C: fix "theoretical" GC leak
15659
15660 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * LaTeX.C (scanAuxFile):
15663         (deplog): remove trailing \r when reading stream (useful under
15664         win32)
15665
15666 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15667
15668         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15669         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15670         and BufferView::theLockingInset(Inset*), so should use them and not
15671         access bv_->text->the_locking_inset directly.
15672
15673         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15674
15675 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15676
15677         * Makefile.am:
15678         * tex-defs.h: remove old unused file
15679
15680 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * BufferView_pimpl.C: fix typo, remove minibuffer message
15683           when buffer has loaded
15684
15685 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * lyxfunc.C (Dispatch): use stringstream
15688         (MenuNew): use stringstream
15689         (Open): use stringstream
15690
15691         * importer.C (Import): use stringstream
15692
15693         * bufferview_funcs.C (CurrentState): use stringstream
15694
15695         * LaTeX.C (run): use stringstream
15696
15697         * BufferView_pimpl.C (savePosition): use stringstream
15698         (restorePosition): use stringstream
15699         (MenuInsertLyXFile): use stringstream
15700
15701 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15702
15703         * BufferView.C:
15704         * Bullet.C:
15705         * ColorHandler.C:
15706         * FontInfo.C:
15707         * FontLoader.C:
15708         * LColor.C:
15709         * LaTeXFeatures.C:
15710         * Painter.C:
15711         * gettext.C:
15712         * lyx_gui_misc.C:
15713         * lyxserver.C:
15714         * vspace.C: removed // -*- C++ -*- as first line.
15715
15716         * lyxfind.h:
15717         * version.h: added // -*- C++ -*- as first line.
15718
15719 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15722
15723         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15724         of string
15725
15726 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15727
15728         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15729         of floats.
15730
15731 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * gettext.C: include LString.h even when --disable-nls is on.
15734
15735 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * converter.h (Get): changed argument type from int to
15738         FormatList::size_type to avoid unnecessary conversion.
15739
15740         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15741         before using it.
15742
15743 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * gettext.h: include LString.h even when --disable-nls is on.
15746
15747 2001-06-07  Juergen Vigna  <jug@sad.it>
15748
15749         * text.C (BreakAgain): subst spaces with tabs.
15750
15751         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15752         (resizeInsetsLyXText): set force on resizeLyXText.
15753
15754 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15755
15756         * gettext.h (gettext_init):
15757         (locale_init): use a real definition instead of a macro
15758
15759 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15760
15761         * Bufferview_pimpl.C:
15762         * LColor.h:
15763         * LColor.C: further lcolor tidies
15764
15765 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15766
15767         * BufferView_pimpl.C (updateScrollbar): simplify.
15768
15769         * BufferView2.C: don't include insets/insetinfo.h, change
15770         prototype for insertInset and call the Pimpl version. let
15771         updateInset call Pimpl version.
15772
15773         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15774         gotoInset to BufferView::Pimpl
15775
15776 2001-06-01  Juergen Vigna  <jug@sad.it>
15777
15778         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15779         inside a LockingInset (is the update needed at all?).
15780
15781 2001-05-31  Juergen Vigna  <jug@sad.it>
15782
15783         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15784         here not the old one otherwise how should we compare it afterwards
15785         if it's the same!
15786
15787 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15788
15789         * lyxfont.C:
15790         * tabular.C:
15791         * tabular-old.C:
15792         * FontInfo.C: bring C functions into global namespace when
15793         necessary
15794
15795 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * LString.h: make sure config.h has been loaded before LString.h.
15798
15799         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15800         (one for each char read by EatLine!).
15801
15802         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15803         variables.
15804
15805 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15808         to the same as the par we break from
15809
15810 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15813
15814         * MenuBackend.C (expand): also create menu entries for wide
15815         versions of the floats.
15816
15817         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15818
15819         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15820
15821         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15822         frontends/Makefile.am
15823
15824         * text2.C: adjust
15825         * text.C: adjust
15826
15827
15828         * tabular.C (getTokenValue): add std::
15829
15830         * tabular-old.C (getTokenValue): add std::
15831         (getTokenValue): ditto
15832         (getTokenValue): ditto
15833
15834         * screen.C (ToggleSelection): adjust
15835
15836         * lyxtext.h: put selection cursors inside a Selection struct.
15837
15838         * lyxfunc.C (moveCursorUpdate): adjust
15839
15840         * lyxfont.C (latexWriteStartChanges): add std::
15841
15842         * lyxfind.C: adjust
15843
15844         * font.h: delete with(char const *, LyXFont const &)
15845
15846         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15847
15848         * FontInfo.C (getFontname): add std::
15849
15850         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15851         (workAreaButtonPress): adjust
15852         (tripleClick): adjust
15853         (update): adjust
15854         (moveCursorUpdate): adjust
15855         (Dispatch): adjust
15856
15857         * BufferView2.C (gotoInset): adjust
15858
15859 2001-05-30  Juergen Vigna  <jug@sad.it>
15860
15861         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15862         to check pspell I add this as default as I now have new pspell
15863         libraries and they seem to use this.
15864
15865 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * text2.C (CutSelection): make the cursor valid before the call to
15868         ClearSelection.
15869
15870 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15871
15872         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15873         relied on 0 terminated strings and other horrors. Bug found due to
15874         the new assert in lyxstring!
15875
15876         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15877         KP_ keys.
15878
15879 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15882         to latinkeys.bind.
15883
15884         * lyxfunc.C (processKeySym): change method of getting to the
15885         self-insert char.
15886
15887         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15888         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15889         * BufferView_pimpl.[Ch]: here as private methods.
15890
15891 2001-05-28  Juergen Vigna  <jug@sad.it>
15892
15893         * text.C (SetHeightOfRow): added the update() call again as it is
15894         needed to initialize inset dimensions!
15895
15896 2001-05-16  Juergen Vigna  <jug@sad.it>
15897
15898         * text2.C (SetCharFont): Add new function with BufferView * and
15899         bool toggleall parameters for setting insets internal fonts.
15900         (SetFont): Freeze the undo as we may change fonts in Insets and
15901         all this change should be inside only one Undo!
15902
15903         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15904         setting font's in insets as for them we have the SetFont function!
15905
15906 2001-05-15  Juergen Vigna  <jug@sad.it>
15907
15908         * text2.C (ClearSelection): to be sure we REALLY don't have any
15909         selection anymore!
15910
15911         * tabular.C (TeXCellPreamble): fixed the left border problem for
15912         multicolumn cells.
15913
15914 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15915
15916         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15917         dependancy file
15918
15919 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15922         LFUN_BREAKPARAGRAPH.
15923
15924         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15925         help test to "internal only", similar for LFUN_INSERT_URL
15926
15927         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15928         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15929         auto_region_delete and deadkeys.
15930
15931 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15932
15933         * LColor.h:
15934         * LColor.C: remove some dead entries, tidy a little
15935
15936 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15939         commented code.
15940         (Dispatch): implement LFUN_ESCAPE
15941
15942         * commandtags.h: add LFUN_ESCAPE
15943
15944         * LyXAction.C (init): add entry for LFUN_ESCAPE
15945
15946         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15947         Remove commented code.
15948         (insertNote): moved here
15949         (open_new_inset): moved here
15950
15951         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15952         BufferView_pimpl
15953
15954 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * kbmap.C (findbinding): clean it up and make it work correctly.
15957
15958         * lyx_main.C (init): do not pass argc and argv as parameters
15959
15960 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15961
15962         * buffer.C: fix path for OS/2 & Win32
15963
15964         * lyx_gui.C:
15965         * lyx_main:
15966         * lyx_main.C: Added os:: class.
15967
15968         * os2_defines.h: update
15969
15970 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15973         better by trying again with reduced state.
15974
15975 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15976
15977         * lyxrc.C (read): print error about invalid key sequence only when
15978         debugging (because not all latinX keysyms are known to some X
15979         servers)
15980
15981         * kbsequence.C (getiso): add a few std:: qualifiers
15982         (getiso): comment out extra return statement.
15983
15984 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15987         handling.
15988         (Dispatch): enhance the accent inset a bit. (not perfect)
15989
15990 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15993
15994 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15995
15996         * bufferlist.C (emergencyWrite): fix assert() call
15997
15998 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15999
16000         * text.C (InsertChar): Added trivial patch to only send the "you
16001         can not do multiple spaces this way" message once during a
16002         session.
16003
16004 2001-05-08  Baruch Even  <baruch@lyx.org>
16005
16006         * Makefile.am: Changed order of libraries to get LyX to link properly
16007         with the gnome frontend.
16008
16009 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * LaTeXFeatures.h: add a std:: qualifier
16012
16013 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16014
16015         * paragraph.C (String): use stringstream
16016
16017 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * paragraph.C (writeFile): remove footflag arg
16020
16021         * buffer.C (makeLaTeXFile): use stringstream
16022         (latexParagraphs): remove footnot gurba
16023
16024         * LaTeXFeatures.C (getPackages): use stringstream
16025         (getMacros): likewise
16026         (getTClassPreamble): likewise
16027         (getFloatDefinitions): new method
16028
16029         * paragraph.C (writeFile): reindent
16030         (Erase): reindent
16031
16032         * WorkArea.h: revert the xpos + etc changes.
16033
16034         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16035
16036         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16037
16038         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16039         (pasteSelection): likewise
16040         * text2.C (CreateUndo): likewise
16041
16042 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * minibuffer.C (peek_event): temporarily reduce the functionality
16045         of the minibuffer (to allow args on lfuns)
16046
16047         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16048         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16049
16050         * buffer.C (readInset): add compability reading of old float
16051         lists, add reading of new style float list.
16052         (readInset): avoid reevaluation of inscmd.getCmdName()
16053         (getLists): reindent
16054
16055         * MenuBackend.C (MenuItem): implement parsing of
16056         md_floatlistinsert and md_floatinsert.
16057         (expand::LastFiles): move initalizaton of iterators out of loop,
16058         avoid reevaluation.
16059         (expand::Documents): introduce typdedef vector<string> Strings,
16060         and use it.
16061         (expand::ExportFormats): introduce typedef vector<Format const *>
16062         Formats, and use it.
16063         (expand): implement FloatListInsert and FloatInsert.
16064
16065         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16066         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16067         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16068
16069         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16070         handling.
16071         (Dispatch::LFUN_FLOAT_LIST): implement
16072
16073 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16074
16075         * LaTeX.C (run): Fix problem with --export code.
16076
16077 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16078
16079         * BufferView.[Ch] (workarea): removed.
16080         (getClipboard) new method; wrapper for workarea()->getClipboard()
16081
16082         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16083         bug.
16084
16085         * WorkArea.h (width, height, xpos, ypos): These methods all
16086         returned the dimensions of the work_area sub-area of WorkArea,
16087         resulting in a position error if the WorkArea were resized. Now
16088         return the dimensions of the entire WorkArea.
16089
16090         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16091
16092 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * LaTeX.C (deplog): correct the syntax of regex reg1
16095
16096 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * undo.C: remove !NEW_INSETS cruft
16099
16100 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * text2.C: remove !NEW_INSETS cruft
16103
16104         * text.C: remove !NEW_INSETS cruft
16105
16106         * tabular.C: remove !NEW_INSETS cruft
16107
16108         * spellchecker.C: remove !NEW_INSETS cruft
16109
16110         * lyxtext.h: remove !NEW_INSETS cruft
16111
16112         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16113
16114         * lyxfunc.C: remove !NEW_INSETS cruft
16115
16116         * lyxfind.C: remove !NEW_INSETS cruft
16117
16118         * lyx_cb.C: remove !NEW_INSETS cruft
16119
16120         * figureForm.C: remove  !NEW_INSETS cruft
16121
16122         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16123
16124         * buffer.[Ch]: remove !NEW_INSETS cruft
16125
16126         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16127
16128         * CutAndPaste.C: remove !NEW_INSETS cruft
16129
16130         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16131
16132         * BufferView2.C: remove !NEW_INSETS cruft
16133
16134         * BufferView.h: remove !NEW_INSETS cruft
16135
16136 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16137
16138         * Lsstream.h: include LString.h before the sstream headers to
16139         fix problem with gcc 2.95.3 and lyxstring
16140
16141 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16142
16143         * lyx_main.C: add using directives when needed for C functions
16144         declared in std:: namespace.
16145
16146 2001-04-27  Juergen Vigna  <jug@sad.it>
16147
16148         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16149         (SetHeightOfRow): comment out the update call should not be needed!
16150
16151 2001-04-13  Juergen Vigna  <jug@sad.it>
16152
16153         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16154         (LyXTabular): tried to minimize operator= operations (and realized
16155         hopfully Lars wish).
16156
16157 2001-04-27  Juergen Vigna  <jug@sad.it>
16158
16159         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16160
16161 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16164
16165         * buffer.C (readInset): hack to make listof algorithm work
16166
16167         * BufferView_pimpl.C: hack to make listof algorithm work
16168
16169 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * LyXAction.C: removed all !NEW_INSETS cruft
16172         (init): moved lfun_item in method
16173
16174         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16175
16176 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16177
16178         * BufferView2.C (theLockingInset): white space.
16179
16180 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16181
16182         * minibuffer.C: include <iostream>
16183
16184         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16185
16186         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16187
16188         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16189
16190         * text.[Ch] (TransposeChars): new method
16191
16192 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16193
16194         * call message directly through LyXView instead of through LyXFunc
16195         * BufferView2.C: adjust
16196         * BufferView_pimpl.C: adjust
16197         * FontLoader.C: adjust
16198         * buffer.C: adjust
16199         * bufferview_funcs.C: adjust
16200         * converter.C: adjust
16201         * figureForm.C: adjust
16202         * importer.C: adjust
16203         * lyx_cb.C: adjust
16204         * lyx_gui_misc.C: adjust
16205         * lyxfunc.C: adjust
16206         * lyxvc.C: adjust
16207         * text2.C: adjust
16208         + more files in subdirs
16209
16210         * lyxparagraph.h (size): move up int file
16211         (GetLayout): ditto
16212
16213         * adjust all uses of Assert to lyx::Assert.
16214
16215         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16216         lyxfunctional in namespace lyx
16217         * layout.C (hasLayout): ditto
16218         (GetLayout): ditto
16219         (GetLayout): ditto
16220         (delete_layout): ditto
16221         (NumberOfClass): ditto
16222         * converter.C (GetFormat): ditto
16223         (GetNumber): ditto
16224         (Add): ditto
16225         (Delete): ditto
16226         (SetViewer): ditto
16227         * bufferlist.C (getFileNames): ditto
16228         (emergencyWriteAll): ditto
16229         (exists): ditto
16230         (getBuffer): ditto
16231         * MenuBackend.C (hasSubmenu): ditto
16232         (hasMenu): ditto
16233         (getMenu): ditto
16234         * BufferView_pimpl.C (getInsetByCode): ditto
16235
16236 2001-04-18  Juergen Vigna  <jug@sad.it>
16237
16238         * vspace.C (asLatexString): fixed the 100% problem.
16239
16240 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16241
16242         * lyxfunc.C (Dispatch):
16243         * minibuffer.C:
16244         * minibuffer.h: add a few std:: qualifiers
16245
16246 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * minibuffer.[Ch]: reimplement so that commands is initiated and
16249         run from lyxfunc, simplified som handling, and made the completion
16250         and history code for complete. wip.
16251
16252         * lyxfunc.C (processKeySym): call message
16253         (miniDispatch): new temporary method
16254         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16255         (LFUN_MESSAGE): implement
16256         (LFUN_MESSAGE_PUSH): implement
16257         (LFUN_MESSAGE_POP): implement
16258         (initMiniBuffer): the initial/defualt minibuffer message.
16259
16260         * lyxfont.[Ch]: inline some more getters
16261
16262         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16263
16264         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16265
16266         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16267         (AutoSave): use LFUN_MESSAGE
16268         (Reconfigure): ditto
16269
16270         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16271
16272         * figureForm.C: use LFUN_MESSAGE
16273
16274         * converter.C (runLaTeX): use LFUN_MESSAGE
16275
16276         * bufferview_funcs.C: use LFUN_MESSAGE
16277         (Melt): ditto
16278         (changeDepth): ditto
16279
16280         * bufferparams.h: use boost::
16281
16282         * bufferlist.h: inherit privately from noncopyable
16283
16284         * bufferlist.C (loadLyXFile): remove some commented code.
16285
16286         * buffer.C (runChktex): use LFUN_MESSAGE
16287
16288         * ShareContainer.h: inherit privately from noncopyable
16289
16290         * ParagraphParameters.[hC] (depth): inline it.
16291
16292         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16293         methods.
16294         (message): new method
16295         (messagePush): ditto
16296         (messagePop): ditto
16297         (show): init minibuffer
16298         (showState): direct call
16299
16300         * LaTeX.[Ch]: inherit privately from noncopyable
16301         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16302         instead of WriteStatus.
16303
16304         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16305
16306         * BufferView_pimpl.C (buffer): don't init minibuffer
16307         (workAreaButtonPress): use LFUN_MESSAGE
16308         (workAreaButtonRelease): ditto
16309         (savePosition): ditto
16310         (restorePosition): ditto
16311         (MenuInsertLyXFile): ditto
16312         (workAreaExpose): don't init minibuffer
16313         (update): remove commented code, simplify
16314
16315         * BufferView2.C (openStuff): use LFUN_MESSAGE
16316         (toggleFloat): ditto
16317         (menuUndo): ditto
16318         (menuRedo): ditto
16319         (copyEnvironment): ditto
16320         (pasteEnvironment): ditto
16321         (copy): ditto
16322         (cut): ditto
16323         (paste): ditto
16324         (gotoInset): ditto
16325         (updateInset): remove some commented code
16326
16327         * lastfiles.h: inherit privately from noncopyable
16328         * layout.h: ditto
16329         * lyx_gui.h: ditto
16330         * lyx_main.h: ditto
16331         * lyxlex.h: ditto
16332         * lyxlex_pimpl.h: ditto
16333
16334         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16335         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16336         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16337
16338         * LyXAction.h: inherit privately from noncopyable, add methods
16339         func_begin, func_end, returning iterators to the func map.
16340
16341         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16342         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16343         (func_begin): new method
16344         (func_end): new method
16345
16346         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16347         and not)
16348         (copySelection): ditto
16349         (pasteSelection): ditto
16350
16351         * BufferView.C: whitespace change
16352         * BufferView.h: inherit privately from noncopyable
16353
16354 2001-04-16  Allan Rae  <rae@lyx.org>
16355
16356         * tabular-old.C (l_getline):
16357         * spellchecker.C (sc_check_word):
16358         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16359         an unrecognised preprocessor directive.  So ensure they're wrapped.
16360
16361 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16362
16363         * src/exporter.C (Export): Give an error message when path to file
16364         contains spaces.
16365
16366 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16367
16368         * LaTeX.C (deplog): Always check that foundfile exists.
16369
16370 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * lyx_main.h:
16373         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16374
16375 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16376
16377         * tabular.[Ch] (getLabelList): implement new method
16378
16379         * minibuffer.h: comment ouf setTiimer
16380
16381         * minibuffer.C (ExecutingCB): constify res
16382         (peek_event): constify s
16383         (Set): constify ntext
16384         (Init): constify nicename
16385
16386         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16387
16388         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16389         (savePosition): use two params to Minibuffer::Set
16390         (restorePosition): ditto
16391
16392 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16393
16394         * lyx_main.C: include language.h
16395
16396         * Makefile.am (lyx_main.o): add language.h
16397
16398 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * exporter.C:
16401         * paragraph.C:
16402         * screen.C:
16403         * tabular.C:
16404         * CutAndPaste.C: include gettext.h
16405
16406         * lyxfont.h: remove old hack with ON and OFF.
16407
16408         * lyxparagraph.h:
16409         * lyxfont.h: do not include language.h...
16410
16411         * BufferView2.C:
16412         * LaTeXFeatures.C:
16413         * Painter.C:
16414         * bufferview_funcs.C:
16415         * font.C:
16416         * lyxfont.C:
16417         * text.C:
16418         * text2.C:
16419         * trans_mgr.C:
16420         * paragraph.C: ... but do it here instead
16421
16422 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16423
16424         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16425
16426         * tabular.C: small reformat
16427
16428         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16429         NEW_INSETS version
16430         (GetChar): ditto
16431         (BreakParagraph): ditto
16432         (SetOnlyLayout): ditto
16433         (SetLayout): ditto
16434
16435         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16436         with one arg less.
16437
16438         * lastfiles.C: removed most using decl, add std:: where needed
16439
16440         * buffer.C: ws changes
16441
16442         * MenuBackend.C (class compare_format): put into anon namespace
16443         (expand): constify label, names, action, action2
16444         (expand):
16445
16446         * text.C (SingleWidth): constify font
16447         (IsBoundary): constify rtl2
16448         (GetVisibleRow): constify ww
16449
16450         * LaTeX.C (deplog): constify logfile
16451
16452         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16453         start_x, end_x
16454         (workAreaExpose): constify widthChange, heightChange
16455
16456         * lyxrow.C (par): moved
16457         (height): moved
16458         (next): moved
16459         * lyxrow.h: as inlines here
16460
16461         * lyxfont.h (shape): moved from lyxfont.C
16462         (emph): moved from lyxfont.C
16463
16464         * lyxfont.C (LyXFont): use initialization list for all
16465         constructors
16466         (shape): move to lyxfont.h as inline
16467         (emph): move to lyxfont.h as inline
16468
16469
16470 2001-04-04  Juergen Vigna  <jug@sad.it>
16471
16472         * vspace.C: had to include stdio.h for use of sscanf
16473
16474 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16475
16476         * BufferView.h:
16477         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16478         independent of xforms.
16479
16480 2001-04-02  Juergen Vigna  <jug@sad.it>
16481
16482         * spellchecker.C: fixed namespace placing!
16483
16484 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16485
16486         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16487         the LyXParagraph * is 0.
16488
16489 2001-03-29  Juergen Vigna  <jug@sad.it>
16490
16491         * vspace.C: added support for %, c%, p%, l%.
16492         (stringFromUnit): added helper function.
16493         (asLatexString): changed to give right results for the %-values.
16494
16495         * buffer.C: convert the widthp in a width%.
16496
16497 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16498
16499         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16500         figureForm.[Ch].
16501
16502         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16503         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16504
16505         * lyx_cb.[Ch]: see above.
16506
16507         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16508         form1.[Ch].
16509
16510         * form1.[Ch]:
16511         * lyx.[Ch]: replaced by figure_form.[Ch].
16512
16513         * lyx_gui.C:
16514         * lyx_gui_misc.C:
16515         * lyxfunc.C: changed headers associated with above changes.
16516
16517 2001-03-27  Juergen Vigna  <jug@sad.it>
16518
16519         * BufferView_pimpl.C: set the temporary cursor right!
16520
16521 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16522
16523         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16524
16525 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16526
16527         * LString.h: removed "using std::getline"!
16528
16529         * BufferView_pimpl.C (Dispatch): changes due to changes in
16530         InsetInclude::Params.
16531
16532         * buffer.C (tag_name): removed redundant break statements as they were
16533         producing lots of warnings with my compiler.
16534
16535 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16536
16537         * LString.h: add "using std::getline" when using the real <string>.
16538
16539 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16540
16541         * buffer.C: removed bitset usage.
16542         PAR_TAG moved to an anonymous name space.
16543         (tag_name): new funtion, also in the anonymous namespace.
16544         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16545         (makeDocBookFile): clean code. Completed transition from string arrays
16546         to string vectors.
16547         (SimpleDocBookOnePar): code clean.
16548
16549 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16550
16551         * tabular.C: add some comments.
16552
16553 2001-03-22  Juergen Vigna  <jug@sad.it>
16554
16555         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16556         compatibility read a bit and fixed bug with minipage in different
16557         depth.
16558
16559 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16560
16561         * buffer.C (pop_tag): removed.
16562         (push_tag): removed.
16563         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16564         array replaced with vector. Added support for CDATA sections.
16565         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16566         at any nest level.
16567         (makeDocBookFile): XML conformant declaration of CDATA section,
16568         fixed bug related to <emphasis> in the first paragraph char.
16569         (sgmlOpenTag): exclude empty tags.
16570         (sgmlCloseTag): ditto.
16571
16572         * buffer.h (pop_tag): removed.
16573         (push_tag): removed.
16574
16575 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16576
16577         * language.h (Languages): added size_type and size().
16578
16579 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16580
16581         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16582         response on compability reading of minipages. One probliem is that
16583         the old usage of minipages was «flertydig»
16584
16585         * several files here and in subdirs: don't use static at file
16586         scope use anon namespaces instead.
16587
16588 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16589
16590         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16591         LaTeX output. This is necessary for Literate document
16592         processing.
16593
16594 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16595
16596         * buffer.C: insert hfill when needed.
16597
16598         * tabular.C (l_getline): use string::erase, small whitespace change.
16599
16600         * BufferView_pimpl.C: try the anon namespace.
16601         * WorkArea.C: ditto
16602
16603 2001-03-16  Juergen Vigna  <jug@sad.it>
16604
16605         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16606         otherwise it won't open options-dialogs.
16607
16608         * buffer.C: honor pextraWidth(p) on converting minipages.
16609
16610         * tabular.C (l_getline): changed the functions to strip trailing \r.
16611
16612 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16613
16614         * BufferView_pimpl.C:
16615         * minibuffer..C: added "using SigC::slot" declaration.
16616
16617 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16618
16619         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16620
16621         * text2.C: ditto
16622
16623         * text.C: ditto
16624
16625         * paragraph.C: ditto
16626
16627         * lyxtext.h: NO_PEXTRA
16628
16629         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16630
16631         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16632         * ParameterStruct.h: ditto
16633         * ParagraphParameters.h: ditto
16634         * lyxparagraph.h: ditto
16635
16636 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16637
16638         * buffer.C: add compability for minipage alignment.
16639         (latexParagraphs): remove unwanted pextra check.
16640
16641         * several files: remove CXX_WORKING_NAMESPACES
16642
16643         * buffer.C (pop_tag): tie is in namespace boost
16644
16645         * BufferView.h: noncopyable is in namespace boost
16646         * lyxlex.h: ditto
16647         * lyx_main.h: ditto
16648         * lyx_gui.h: ditto
16649         * layout.h: ditto
16650         * lastfiles.h: ditto
16651         * bufferlist.h: ditto
16652         * ShareContainer.h: ditto
16653         * LyXView.h: ditto
16654         * LyXAction.h: ditto
16655         * LaTeX.h: ditto
16656
16657 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16658
16659         * Merging changes from BRANCH_MVC back into HEAD.
16660
16661         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16662
16663 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16664
16665         * BufferView_pimpl.C: change from intl.C
16666
16667         * combox.h:
16668         * combox.C:
16669         * Makefile.am: move combox.*
16670
16671         * form1.h:
16672         * form1.C:
16673         * lyx_gui.C:
16674         * intl.h:
16675         * intl.C: remove dialog (covered by prefs)
16676
16677 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16678
16679         * lyxfunc.C (Dispatch): removed redundant break statement.
16680
16681 2001-03-14  Juergen Vigna  <jug@sad.it>
16682
16683         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16684
16685 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * buffer.C: add hack to fix compability reading of minipages.
16688
16689 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * buffer.C (getLists): Cleanup.
16692
16693 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16694
16695         * lyxfont.C (update): don't honor toggleall on font size.
16696
16697 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16698
16699         * bmtable.c:
16700         * bmtable.h:
16701         * Makefile.am: moved to frontends/xforms/
16702
16703         * lyx_gui_misc.C:
16704         * lyxfunc.C:
16705         * BufferView_pimpl.C: changes for moved mathpanel
16706
16707 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16708
16709         * gettext.h: fix gettext_init() in --disable-nls
16710
16711 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16714
16715 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16716
16717         * lyx.C:
16718         * lyx.h: strip external form
16719
16720 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * BufferView_pimpl.C: add comment, destroySplash()
16723
16724 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16725
16726         * BufferView_pimpl.C:
16727         * LyXAction.C:
16728         * buffer.C:
16729         * commandtags.h:
16730         * lyxfunc.C: use re-worked insetinclude
16731
16732 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16733
16734         * buffer.C: add using std::stringstream.
16735
16736         * lyx_cb.C: readd using std::ios.
16737
16738         * buffer.C: add using std::map.
16739
16740         * BufferView_pimpl.C: add using std::vector.
16741
16742         * ShareContainer.h: add std:: to swap.
16743
16744         * buffer.h: add some typedefs
16745         * buffer.C (getLists): use them
16746         (getLists): renamed from getTocList.
16747         add a counter for the different float types and use it in the
16748         generated string.
16749         (getLists): use the same counter for the NEW_INSETS and the "non"
16750         NEW_INSETS
16751
16752         * lyx_cb.h: remove unused items, includes, using etc.
16753
16754         * ShareContainer.h: remove some commented code, add more comments
16755         and "documentation".
16756
16757 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16758
16759         * buffer.C (getTocList): make the list also when NEW_INSETS is
16760         defined.
16761
16762         * buffer.h: remove TocType
16763
16764         * buffer.C (getTocList): change to return a map<string,
16765         vector<TocItem> >, implement for dynamic number of list.
16766
16767         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16768         * text2.C (PasteSelection): adjust
16769         * CutAndPaste.C (pasteSelection): adjust
16770
16771         * FloatList.C (FloatList): update from the new_insets branch.
16772         * Floating.[Ch]: ditto
16773         * LaTeXFeatures.C: ditto
16774         * buffer.C: ditto
16775         * lyxlex_pimpl.C: ditto
16776
16777         * paragraph.C (Last): remove when NEW_INSETS is defined.
16778
16779         * other file: changes because of the above.
16780
16781 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16782
16783         * lyxparagraph.h: rename next to next_, previous to previous_,
16784         make them private for NEW_INSETS. Rename Next() to next(),
16785         Previous() to previous().
16786
16787         * other files: changes because of the above.
16788
16789 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16790
16791         * BufferView.h:
16792         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16793         problem.
16794
16795 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * main.C (main): pass lyx_localedir to gettext_init().
16798
16799         * gettext.h: remove locale_init and gettext_init macros
16800
16801         * gettext.C (locale_init): new function
16802         (gettext_init): new function
16803
16804         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16805         setlocale().
16806
16807 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16808
16809         * Moved credits to frontends:
16810         * credits.[Ch]: removed
16811         * credits_form.[Ch]: removed
16812         * lyx_gui_misc.C: remove credits stuff
16813         * Makefile.am:
16814
16815 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16816
16817         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16818
16819         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16820         unneeded destructor.
16821
16822         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16823         a standalone pointer again.
16824
16825         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16826
16827 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16828
16829         * Makefile.am:
16830         * filedlg.h:
16831         * filedlg.C:
16832         * LyXAction.C:
16833         * ToolbarDefaults.C:
16834         * bufferlist.C:
16835         * commandtags.h:
16836         * form1.C:
16837         * form1.h:
16838         * lyx_cb.C:
16839         * lyx_cb.h:
16840         * lyxfunc.h:
16841         * lyxfunc.C:
16842         * BufferView_pimpl.C: use new file dialog in GUII
16843
16844         * lyx_cb.h:
16845         * lyx_cb.C: remove LayoutsCB to Toolbar
16846
16847 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * ShareContainer.h (get): add std:: qualifier
16850
16851 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16852
16853         * ShareContainer.h: define a proper ShareContainer::value_type
16854         type (and use typename to please compaq cxx)
16855
16856 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16857
16858         * lyxparagraph.h: move serveral local vars to
16859         ParameterStruct/ParagraphParameters., use ShareContainer in
16860         FontTable., make vars in FontTable private and add getter and
16861         setter.
16862
16863         * paragraph.C: changes because of the above.
16864
16865         * lyxfont.h: remove copy constructor and copy assignment. (the
16866         default ones is ok), move number inside FontBits. move inlines to
16867         lyxfont.C
16868
16869         * lyxfont.C: add number to initializaton of statics, move several
16870         inlines here. constify several local vars. some whitespace
16871         cleanup. Dont hide outerscope variables.
16872
16873         * Spacing.h: add two new constructors to match the set methods.
16874
16875         * ShareContainer.h: new file, will perhaps be moved to support
16876
16877         * ParameterStruct.h: new file
16878
16879         * ParagraphParameters.h: new file
16880
16881         * ParagraphParameters.C: new file
16882
16883         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16884         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16885
16886         * BufferView_pimpl.C: ParagraphParameter changes.
16887         * buffer.C: Likewise.
16888         * bufferview_funcs.C: Likewise.
16889         * text.C: Likewise.
16890         * text2.C: Likewise.
16891
16892 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * lyxfind.C (LyXReplace): do not redefine default argument in
16895         implementation.
16896         (IsStringInText): ditto
16897         (SearchForward): ditto
16898         (SearchBackward): ditto
16899
16900 2001-03-06  Juergen Vigna  <jug@sad.it>
16901
16902         * lyxfind.C (IsStringInText): put parentes around expressions.
16903
16904 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16905
16906         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16907
16908 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16911
16912         * stl_string_fwd.h: add comment
16913
16914         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16915
16916         * tabular.h:
16917         * tabular.C: remove unused DocBook methods
16918
16919         * intl.C:
16920         * language.C:
16921         * paragraph.C:
16922         * buffer.C:
16923         killed DO_USE_DEFAULT_LANGUAGE
16924
16925 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * lyx_gui.C: do not include language.h.
16928
16929         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16930         arguments in function implementation.
16931
16932 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16933
16934         * BufferView_pimpl.C: add <ctime>
16935
16936 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16937
16938         * BufferView_pimpl.C: add using std::find_if
16939
16940 2001-02-27  José Matos  <jamatos@fep.up.pt>
16941
16942         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16943         by OnlyPath.
16944
16945 2001-02-11  José Matos  <jamatos@fep.up.pt>
16946
16947         * buffer.C (makeDocBookFile): command styles now have a parameter as
16948         "title" by default.
16949
16950 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16951
16952         * layout_forms.[Ch]: removed
16953         * lyx_cb.[Ch]: out character
16954         * lyx_gui.C: out character
16955         * lyx_gui_misc.C: out character
16956         * bufferview_funcs.C: : out character,
16957         added toggleall as parameter in ToggleAndShow
16958
16959 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16960
16961         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16962
16963         * text2.C (SetCurrentFont): Disable number property at boundary.
16964
16965 2001-02-26  Juergen Vigna  <jug@sad.it>
16966
16967         * lyxfunc.C (getStatus): added a string argument override function so
16968         that this is correctly called from LyXFunc::Dispatch if it contains a
16969         do_not_use_argument which is used!
16970         (Dispatch): added check for "custom" export and call appropriate func.
16971
16972 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16973
16974         * lyxrc.C: Add language_command_local, language_use_babel and
16975         language_global_options.
16976
16977         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16978
16979         * buffer.C (makeLaTeXFile): Use language_use_babel and
16980         language_global_options.
16981
16982 2001-02-23  Juergen Vigna  <jug@sad.it>
16983
16984         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16985         which works with LyXText and putted it inside BufferView. Here now we
16986         only call for that part the BufferView::Dispatch() function.
16987
16988         * BufferView.C (Dispatch): added.
16989
16990         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16991         functions which needs to use a LyXText over from LyXFunc.
16992         (MenuInsertLyXFile): added
16993         (getInsetByCode): added
16994         (moveCursorUpdate): added
16995         (static TEXT): added
16996
16997 2001-02-22  Juergen Vigna  <jug@sad.it>
16998
16999         * BufferView_pimpl.C (update): call a status update to see if LyXText
17000         needs it.
17001
17002 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17003
17004         * vc-backend.C (revert): implement for CVS
17005         (getLog): implement for CVS
17006
17007 2001-02-20  Juergen Vigna  <jug@sad.it>
17008
17009         * text2.C (ClearSelection): added BufferView param for inset_owner call
17010
17011         * lyxfunc.C (TEXT): added this function and use it instead of
17012         directly owner->view()-text of getLyXText().
17013
17014 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17015
17016         * src/layout_forms.C: out preamble
17017         * src/layout_forms.h: out preamble
17018         * src/lyx_cb.C: out preamble
17019         * src/lyx_cb.h: out preamble
17020         * src/lyx_gui.C: out preamble
17021         * src/lyx_gui_misc.C: out preamble
17022         * src/lyxfunc.C: connect with guii preamble
17023
17024 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17025
17026         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17027
17028 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17029
17030         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17031         whether to run bibtex.
17032
17033 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17034
17035         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17036
17037 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17038
17039         * Makefile.am (lyx_SOURCES): removed bibforms.h
17040
17041         * vspace.h: doxygen
17042
17043         * text.C (GetVisibleRow): make several local vars const
17044
17045         * tabular.C: small cleanup.
17046
17047         * lyxserver.C (callback): use compare instead of strncmp
17048
17049         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17050         inlines to after class or to paragraph.C
17051
17052         * lyxfont.h: remove friend operator!=
17053
17054         * converter.h: move friend bool operator< to non friend and after
17055         class def.
17056
17057         * combox.h: small cleanup
17058
17059         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17060         to inlines after class def.
17061
17062         * buffer.C (pop_tag): use string operations instead of strcmp
17063
17064         * bmtable.c: doxygen, small cleanup
17065
17066         * LaTeX.h: remove friend operator==
17067
17068 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17069
17070         * screen.C:
17071         * lyxrc.[Ch]:
17072         * lyxfunc.C:
17073         * lyxfont.[Ch]:
17074         * lyx_cb.C:
17075         * intl.[Ch]:
17076         * commandtags.h:
17077         * buffer.C:
17078         * WorkArea.[Ch]:
17079         * LyXAction.C:
17080         * BufferView_pimpl.C:
17081         * BufferView.[Ch]: remove cruft
17082
17083 2001-02-14  Juergen Vigna  <jug@sad.it>
17084
17085         * lyxfunc.C: removed #if 0 unused code
17086
17087         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17088
17089         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17090
17091         * text2.C (SetSelection): added a BufferView * parameter
17092
17093 2001-02-13  Juergen Vigna  <jug@sad.it>
17094
17095         * lyxfunc.C (Dispatch): fixed protected blank problem.
17096         * BufferView2.C (protectedBlank): added LyxText * parameter.
17097
17098         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17099         (AppendColumn): same as above for column_info.
17100
17101         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17102         (moveCursorUpdate): use a LyXText param for support of InsetText.
17103
17104         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17105         (tripleClick): ditto
17106
17107         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17108
17109         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17110
17111         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17112
17113         * text2.C (SetSelection): set correct update status if inset_owner
17114         (ToggleFree): ditto
17115
17116 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17117
17118         * tabular.C: remove some commented code.
17119
17120 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17121
17122         * BufferView_pimpl.C: call hideSplash()
17123
17124         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17125
17126         * include_form.h:
17127         * bibforms.h: remove
17128
17129         * lyxfunc.C:
17130         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17131           add LFUN_CHILD_CREATE
17132
17133         * counters.h: fix tiny typo
17134
17135         * lyx_cb.C:
17136         * lyx.h:
17137         * lyx_gui.C:
17138         * lyx.C: move splash to frontends/xforms/
17139
17140         * lyx_gui_misc.C: move Include and Bibform to frontends
17141
17142         * lyxvc.h: clarify comment
17143
17144         * vspace.C: tiny housekeeping
17145
17146 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17147
17148         * text.C (PrepareToPrint): RTL Fix.
17149
17150         * paragraph.C (GetUChar): New method.
17151         (String):  Use GetUChar.
17152
17153         * buffer.C (asciiParagraph): Use GetUChar.
17154
17155 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17156
17157         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17158
17159 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17160
17161         * buffer.h:
17162         * buffer.C: rename to getLogName(), handle
17163           build log / latex log nicely
17164
17165 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17166
17167         * MenuBackend.C:
17168         * MenuBackend.h: remove support for reference menuitem type.
17169
17170 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17171
17172         * BufferView_pimpl.C: housekeeping
17173         * BufferView_pimpl.h:
17174         * LyXView.h:
17175         * Makefile.am:
17176         * Timeout.C:
17177         * Timeout.h:
17178         * minibuffer.h: move Timeout GUI-I
17179
17180 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17181
17182         * lyxrc.C (read): Update converters data-structures.
17183
17184 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17185
17186         * LaTeX.h (operator!=): add operator != for Aux_Info
17187
17188 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17189
17190         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17191
17192         * LaTeXLog.C: deleted, useful code moved to Buffer
17193
17194         * buffer.h:
17195         * buffer.C: new function getLatexLogName()
17196
17197         * lyx_gui_misc.C:
17198         * lyx_gui.C:
17199         * lyxvc.C:
17200         * lyxvc.h:
17201         * lyxfunc.C: use frontends for LaTeX and VC logs
17202
17203 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17204
17205         * LaTeX.h: yet another std:: that Allan forgot.
17206
17207         * Variables.C (set): renamed from isset(), because this clashes
17208         with some HP-UX macros (grr).
17209
17210 2001-02-06  Allan Rae  <rae@lyx.org>
17211
17212         * LaTeX.h: Another bug fix.  Missing std:: this time.
17213
17214 2001-02-04  Allan Rae  <rae@lyx.org>
17215
17216         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17217         floats problem. I've left it commented out because it's not quite
17218         correct.  It should also test that the current object is a table or
17219         figure inset.  But I haven't gotten around to figuring out how to do
17220         that.  I *think* it'll be something like: "table" == inset.type()
17221
17222         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17223         bool.
17224
17225 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17226
17227         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17228         all the citation/databases/styles in the auxilary file.
17229         (run): Rerun latex if there was a babel language error.
17230
17231 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17232
17233         * text.C (Backspace): Preserve the font when changing newline char
17234         with a space.
17235         (BreakParagraph): If the cursor is before a space, delete the space.
17236
17237         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17238
17239 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17240
17241         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17242         new argument (code).
17243         (ChangeCitationsIfUnique): New method.
17244
17245         * paragraph.C (GetPositionOfInset): Handle bibkey.
17246
17247 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17248
17249         * BufferView_pimpl.h: change type of Position::par_pos to
17250         LyXParagraph::size_type.
17251
17252 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17253
17254         * BufferView_pimpl.C (savePosition, restorePosition): Write
17255         messages to minibuffer.
17256
17257 2001-01-28  José Matos  <jamatos@fep.up.pt>
17258
17259         * buffer.C (makeDocBookFile): adds support for document language.
17260         A silly restriction on the name of LatexCommand types where removed.
17261         Added support for CDATA sections, allows to chars unescaped, used
17262         among others in code, to avoid escape < and >.
17263
17264 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17265
17266         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17267         saved positions instrad of a stack. Furthermore, a position is
17268         stored using paragraph id/paragraph position.
17269
17270         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17271         Remove LFUN_REF_BACK.
17272
17273 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17274
17275         * converter.C (dvipdfm_options): New method.
17276
17277 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * vspace.C (isValidLength): Fix for empty input string.
17280
17281 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17282
17283         * LyXAction.C (init): change description of LFUN_FIGURE to
17284         "Insert Graphics"
17285
17286 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * LaTeX.C: add using directive
17289
17290 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17291
17292         * MenuBackend.C (expand): Fix the sorting of the formats.
17293
17294 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17295
17296         * lyx_main.C: tiny error message fix
17297
17298 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17299
17300         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17301         calling fl_initialize(). This fixes the problem with ',' as
17302         decimal separator in text files.
17303
17304 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17305
17306         * trans.C (process): Fix the keymap bug.
17307
17308 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17309
17310         * LaTeX.C (scanAuxFiles): New method. Provides support for
17311         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17312         (scanLogFile) Scan for "run BibTeX" messages.
17313
17314         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17315         OT1 font encoding. Also, load the aecompl package if the ae
17316         package is loaded.
17317
17318         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17319
17320 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17321
17322         * texrow.C (increasePos): turn two error messages into debug
17323         messages.
17324
17325 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17326
17327         * LaTeX.C (scanAux): Handle the \@input macro.
17328         (runBibTeX): Use scanAux().
17329
17330         * language.C (latex_options_): New field.
17331
17332         * LaTeXFeatures.C (getMacros): Add language macros.
17333
17334         * buffer.C (makeLaTeXFile): Small fix.
17335
17336 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17337
17338         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17339
17340         * text2.C: add a using directive.
17341
17342 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17343
17344         * BufferView2.C:
17345         * lyx_gui_misc.h:
17346         * lyxfr1.C:
17347         * lyxfunc.C: kill LyXBell.
17348
17349 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17350
17351         * text.C (IsBoundary): Remove the error message
17352
17353         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17354
17355         * lyxrc.C (setDefaults): Correct initialization value for
17356         font_norm_type.
17357
17358 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17359
17360         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17361         gotoError().
17362
17363         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17364         and GotoNextNote().
17365
17366         * src/LyXAction.C: Added reference-next.
17367
17368         * text.C (InsertChar): Use contains instead of strchr.
17369
17370         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17371
17372 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17373
17374         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17375         alignment commands (when needed).
17376
17377         * text.C (InsertChar): Add ':' to number separator chars.