]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f0684241066e0cd34de8511d6e213c37ea2b3308
[lyx.git] / src / ChangeLog
1 2005-02-14  André Pönitz  <poenitz@gmx.net>
2
3         * dociterator.[Ch]: new member forwardPosNoDescent(),
4         which doesn't enter nested insets.
5         * text2.C (setFont): use forwardPosNoDescent() instead
6         of ForwardPos() (fixes crash on font change).
7
8 2005-02-13  Angus Leeming  <leeming@lyx.org>
9
10         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
11         only if lyxrc.path_prefix is not empty.
12
13 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * bufferparams.C (readGraphicsDriver): prevent crash
16
17 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * text2.C (setCounter): check for inInset() == 0
20
21 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
24         but use update() to get correct screen display; use convert
25         instead of istringstream. 
26         (getStatus): handle LFUN_GOTO_PARAGRAPH 
27
28         * lyxfunc.C (dispatch, getStatus): do not handle
29         LFUN_GOTO_PARAGRAPH here.
30
31 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
32
33         * text3.C (dispatch): size() -> depth()
34
35         * text2.C: remove some debug output
36
37         * paragraph.C: ws changes only
38
39         * lyxfunc.C (getStatus): size() -> depth()
40
41         * dociterator.h (clear, push_back, pop_back, internalData,
42         operator[], resize, empty): new functions
43         Make StableDocIterator and operator== be friends. Don't inherit
44         from std::vector use a privat class variable slices_ instead.
45         Modify to fit.
46
47         * dociterator.C: update because of not inheriting from std::vector
48         anymore. Call explictly to slices_ instead. Use depth() instead of
49         size() and top() instead of back()
50
51         * cursor.C: chagne size() -> depth and back() -> top(). Also
52         remove some direct operator[](i) calls in favour of foo[i]
53         (getFont): remove some dead code
54
55         * bufferview_funcs.C (coordOffset): size() -> depth()
56
57         * buffer.C: ws changes only
58
59         * CutAndPaste.C (eraseSelection): back() -> top()
60
61         * BufferView_pimpl.C (selectionRequested): back() -> top()
62
63         * BufferView.C (setCursor): size() -> depth()
64
65 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
66
67         * text3.C (cursorPrevious): return true if depm changed something
68         (cursorNext): ditto
69         (dispatch): rename sl to oldTopSlice, remove moving use the new
70         NoUpdate func attrib instead. Make sure that needsUpdate is set
71         for function that have NoUpdate, but where depm might have changed
72         the buffer anyway.
73
74         * text2.C (cursorLeft): make us return true if depm changed
75         something
76         (cursorRight): ditto
77         (cursorUpParagraph): ditto
78         (curosrDownParagraph): ditto
79         (cursorUp, cursorDown): ditto, make sure to read comments in code
80         (deleteEmptyParagraphMechanism): remove an assert, also return
81         true if just a single char was deleted.
82
83         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
84         cursor that we modify, to avoid modifying an active cursor before
85         we call setCursor. This allows depm to run. Also return true if
86         depm deleted something.
87
88         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
89         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
90         cursorDownParagraph, cursorPrevious and cursorNext, return true if
91         something was changed in the buffer because of them (ie. depm run)
92
93         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
94         debug messages. Make update by default be false. Make sure that
95         the result of update is retained throught several calls down to
96         dispatch.
97
98         * LyXAction.h: add a new func_attrib: NoUpdate
99
100         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
101         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
102         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
103         and LFUN_WORDLEFT
104         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
105
106 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
109         bv_->owner(), bv_->buffer() by direct references to the private
110         members.
111         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
112         (getStatus): isSavedPosition() is in BufferView::Pimpl.
113         (fitCursor): center() is in BufferView::Pimpl.
114         (getStatus, trackChanges, dispatch): no need for a temporary buf
115         variable
116         (fitCursor, workAreaDispatch): use workarea().workheight()
117
118 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * CutAndPaste.C (pasteSelectionHelper): fix a crash
121
122 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * buffer.C: format up to 241.
125         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
126         break if pasting into ERT
127         * lyxfunc.C (getStatus): suppress mathpanel and
128         LFUN_DIALOG_SHOW_NEW_INSET in ERT
129
130 2005-02-01  Angus Leeming  <leeming@lyx.org>
131
132         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
133
134 2005-02-01  Angus Leeming  <leeming@lyx.org>
135
136         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
137         calling fs::is_directory().
138
139 2005-01-31  Angus Leeming  <leeming@lyx.org>
140
141         * lyx_main.C (priv_exec): specify explicitly the relative location
142         of the top level build directory when run in-place.
143
144 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
147         LyXText containing the cursor, not the top-level one.
148
149         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
150         true.
151         (insertStringAsLines): rename par to pit; use temporary variable
152         par to hold a Paragraph; do not store par.layout() in a variable,
153         since the pointer may die when breaking paragraphs; pass pars to
154         breakParagraph() instead of Buffer::paragraphs().
155
156 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
157
158         * lyxlex_pimpl.h: #include <fstream>.
159
160         * BufferView.[Ch] (getLyXText): add a const version.
161
162         * BufferView_pimpl.C: add debug aids.
163
164         * RowList_fwd.h:
165         * buffer.h:
166         * lyxrow.h:
167         * paragraph_funcs.h: add commentary explaining what the class does.
168
169
170         * coordcache.[Ch]: add lots of commentary.
171         (startUpdating, doneUpdating): debug aids.
172         (arrays, insets, parPos, getParPos): accessors to private data.
173
174         * cursor_slice.[Ch] (text): add a const version.
175         * dociterator.[Ch] (text, innerText): add const versions.
176
177         * lyxtext.h (breakParagraph): change the keep_layout arg to a
178         bool.
179
180         * paragraph.C (getRow, pos2ros): add asserts.
181
182         * paragraph.h: add commentary. Lots of.
183
184         * paragraph.[Ch] (metrucs, draw): removed.
185
186         * cursor.C:
187         * rowpainter.[Ch]: const-correct changes.
188
189         * text.C: various obvious clean-ups. Removal of ancient cruft.
190         Bug fixes, even.
191
192 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * vc-backend.C (find_file): rewrite to use boost.filesystem
195         (scanMaster): ditto
196
197         * main.C (main): set default name check for boost.filesystem to
198         no check
199
200         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
201         (open): ditto
202         (doImport): ditto
203         (actOnUpdatedPrefs): ditto
204
205         * lyx_main.C (init): rewrite to use boost.filesystem
206         (queryUserLyXDir): ditto
207
208         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
209         (getContentsOfAsciiFile): ditto
210
211         * lastfiles.C (readFile): rewrite to use boost.filesystem
212
213         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
214
215         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
216         (loadLyXFile): ditto
217
218         * buffer.C (Buffer): adjust for destroydir
219         (getLogName): rewrite to use boost.filesystem
220         (setFileName): ditto
221         (save): use fs::copy_file (from fs_extras)
222
223         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
224
225         * LaTeX.C (run): rewrite to use boost.filesystem
226         (scanAuxFiles): ditto
227         (handleFoundFile): ditto
228
229 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
230
231         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
232
233         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
234
235 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * lyxlayout.[Ch]: change some vars from float to double
238
239         * buffer.C (readFile): make a local var const
240
241         * Several files: use convert<> instead of atoi,strToXXX and friends
242
243 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * LaTeXFeatures.[Ch]: Add a static list packages_ that
246         holds the contents of packages.lst. New functions getAvailable
247         and isAvailable to parse and check that list, resp.
248
249         * LyXAction.C:
250         * lfuns.h:
251         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
252
253         * bufferparams.[Ch]: new param output_changes.
254
255         * Buffer.C: increase file format to 240.
256         Use output_changes and isVailable.
257
258         * changes.[Ch]:
259         * paragraph.C:
260         * paragraph_pimpl.C: Use output_changes and isVailable.
261
262 2005-01-23  Angus Leeming  <leeming@lyx.org>
263
264         * output_latex.C: #include "insetbibitem.h", rather than
265         forward declare function bibitemWidest.
266
267 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
268
269         * lyx_main.C (init): make it compile on the Mac.
270
271 2005-01-20  Angus Leeming  <leeming@lyx.org>
272
273         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
274         (setLyXMisc): (char string literal) != (char string literal) is
275         performing a comparison on the addresses. Convert one operand
276         explicitly to string to guarantee expected behaviour.
277         From MSVC warning.
278
279 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
280
281         * buffer.C:
282         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
283
284         * output_plaintext.C: remove unneeded #include gzstream.h.
285
286 2005-01-20  Angus Leeming  <leeming@lyx.org>
287
288         * SpellBase.h: rename some of the elements of the Result enum.
289
290         * aspell_local.h:
291         * ispell.h:
292         * pspell.h:
293         * aspell.C (check):
294         * ispell.C (check):
295         * pspell.C (check): ditto
296
297 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
298
299         * buffer.C: add #include <fstream>.
300
301         * lyx_main.C (init): Compile fix.
302
303         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
304
305 2005-01-20  Angus Leeming  <leeming@lyx.org>
306
307         * mover.h: change commentary to reflect the changed meaning of
308         the $$s placeholder.
309
310 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * output_linuxdoc.C (linuxdocParagraphs): silence warning
313
314         * lyxfind.C (MatchString::operator()): remove bogus semicolon
315
316 2005-01-20  Angus Leeming  <leeming@lyx.org>
317
318         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
319         printing diagnostic data by not dereferecing an iterator past the
320         end.
321
322 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
323
324         * buffer.C (readHeader): use "&&" rather than "and".
325
326         * lyxserver.h (inPipeName, outPipeName): make these const.
327
328 2005-01-19  Angus Leeming  <leeming@lyx.org>
329
330         * lyx_main.C (error_handler, init): protect SIGHUP with
331         #ifdef SIGHUP guards.
332
333 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
336
337 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * text.C (setHeightOfRow): add a margin at the top and bottom of
340         the document (bug 1761)
341
342 2005-01-17  Angus Leeming  <leeming@lyx.org>
343
344         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
345         with "python ". Workaround for a brain-dead Windows.
346
347 2005-01-16  Angus Leeming  <leeming@lyx.org>
348
349         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
350         for MacOSX and Windows to use prependEnvPath.
351         Strip out the hard-coded block to add elements to the PATH for
352         MacOSX and replace it with a call to prependEnvPath using the
353         contents of LyXRC::path_prefix.
354         (queryUserLyXDir): strip out the code to run reconfigure, instead
355         returning a boolean indicating the necessity to do so.
356         (reconfigureUserLyXDir): contains the code to reconfigure the
357         user support directory. Is now called after the various LyXRC data
358         files have been read.
359
360         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
361
362 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
363
364         * converter.[Ch] (convert): take a new parameter try_default. Use
365         a default converter (imagemagick) if try_default is true.
366
367 2005-01-13  Angus Leeming  <leeming@lyx.org>
368
369         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
370         os::cygwin_path_fix.
371         (write): output LyXRC::cygwin_path_fix as necessary.
372
373 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
374
375         * lyxrc.h:
376         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
377
378 2005-01-12  Angus Leeming  <leeming@lyx.org>
379
380         * lyx_main.C (init): set the PATH variable to include the
381         directory containing the LyX binary when running on Mac or Windows.
382
383 2005-01-12  Angus Leeming  <leeming@lyx.org>
384
385         * lyx_main.C (init): remove cruft that purports to set the locale
386         dir. It doesn't and is not needed anyway.
387
388 2005-01-10  Angus Leeming  <leeming@lyx.org>
389
390         * Makefile.am: remove the lyx_main.C special casing.
391
392         * BufferView_pimpl.C:
393         * bufferlist.C:
394         * exporter.C:
395         * lyx_cb.C:
396         * lyx_main.C:
397         * lyxfunc.C:
398         * messages.C: use support/package.h to provide the paths to the
399         various directories used by LyX.
400
401 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
402
403         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
404         layout if pasting into an empty paragraph)
405
406 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
407
408         * tex-accent.C: add <string>
409
410 2005-01-06  José Matos  <jamatos@lyx.org>
411
412         * ParagraphParameters.C (write): put every parameter in its own line.
413         * paragraph.C (write): reduce number of consecutive empty lines exported.
414         * buffer.C (LYX_FORMAT): increase file format to 239.
415
416 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
417
418         * everywhere: change support/tostr.h -> support/convert.h
419
420         * tabular.C: make all write_attributes templates, tostr -> convert
421
422         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
423         (emptyTag): and -> &&, and fix type for ret from getChar
424         (getFirstWord): fix type for ret from getChar
425         (onlyText): and -> &&
426         (simpleDocBookOnePar): and not -> && !, fix type for ret from
427         getChar
428
429         * toc.C (goTo, action):
430         * text3.C (dispatch):
431         * text.C (currentState):
432         * tex-accent.C (DoAccent):
433         * sgml.C:
434         * lyxrc.C:
435         * lyxfunc.C (menuNew):
436         * lyxfinc.C (replace):
437         * counters.C (laberItem):
438         * bufferview_funcs.C (font2string):
439         * bufferparams.C (writeFile):
440         * buffer.C (readFile):
441         * Spacing.C (set):
442         * MenuBackend.C: tostr -> convert
443
444         * LaTeX.C (runMessage): fix format
445         (scanAuxFiles): tostr -> convert
446
447         * BufferView_pimpl.C (savePosition): fix format
448         (restorePosition): ditto
449         (dispatch): ditto
450
451 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
452
453         * Spacing.[Ch]: New method getValueAsString().
454
455         * Spacing.[Ch]:
456         * bufferparams.C:
457         * ParagraphParameters.C:
458         * lyxlayout.C:
459         * text.C:
460         * text3.C: store/read spacing value as string.
461
462         * rowpainter.C: change float value (spacing_val) to double.
463
464         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
465         broken custom document spacing).
466
467 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
468
469         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
470         namespace, also more use of temp references and const
471
472         * cursor.[Ch] (getStatus): move to lyxfunc.C
473
474         * bufferparams.C: reformat slightly
475
476         * bufferview_funcs.C (font2string): constify arg
477
478         * changes.C:
479         * converter.C:
480         * counters.C:
481         * bufferlist.C:
482         * buffer_funcs.C: (many funcs): constify arg on function
483         definitions, also make more local vars const, also add ASSERTS on
484         pointer args.
485
486         * buffer.C (LYX_FORMAT): put const in correct place
487         (many funcs): constify arg on function definitions, also make
488         more local vars const
489
490         * aspell_local.h: remove "struct" from typdef setup
491
492         * aspell.C (check): make word_ok const
493         (nextMiss): simplify slightly
494         (error): ditto
495
496 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
497
498         * lyxrc.[Ch]: store all float values as strings.
499         use int (not float) for lyxrc.dpi.
500
501 2005-01-04  Angus Leeming  <leeming@lyx.org>
502
503         * lyx_cb.C (Reconfigure):
504         * lyx_main.C (queryUserLyXDir):
505         to run the <system_lyxdir>/configure correctly on Windows, prefix
506         the path to the script with "sh " when generating the string that
507         is passed to system().
508
509 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
510
511         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
512
513 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
514
515         * lyxlength.C (asLatexString): get rid of setprecision
516
517 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * text2.C (setLayout): remove unused variable endpit.
520         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
521
522         * paragraph.C (onlyText): remove unused variable style.
523
524         * cursor.C (bruteFind): remove unused variables beg and end.
525
526         * Makefile.am (dist_noinset_DATA): not needed anymore
527
528         * cheaders/*: remove.
529
530 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
531
532         * text3.C: fix LFUN_MATH_MODE.
533
534 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * buffer_funcs.C (countWords): new function. Counts words between
537         two iterators.
538
539         * BufferView_pimpl.C (getStatus, dispatch): handle
540         LFUN_WORDS_COUNT.
541
542         * LyXAction.C (init):
543         * lfuns.h: add LFUN_WORDS_COUNT.
544
545 2004-12-19  Angus Leeming  <leeming@lyx.org>
546
547         * buffer.C (save): s/slashify_path/internal_path/.
548
549 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * lyxfind.C (findChange): do not search for end of pars, because
552         the change tracker cannot handle this (fixes bug 1719).
553
554 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * paragraph.[Ch] (autoBreakRows): remove
557
558         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
559
560         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
561         avoid using the paragraph one
562
563         * text2.C (LyXText, insertStringAsLines): adjust
564
565 2004-12-16  Angus Leeming  <leeming@lyx.org>
566
567         * bufferlist.C:
568         * lyx_main.C:
569         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
570
571 2004-12-14  Angus Leeming  <leeming@lyx.org>
572
573         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
574
575         * bufferlist.C (emergencyWrite):
576         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
577         GetEnvPath("HOME").
578
579 2004-12-14  Angus Leeming  <leeming@lyx.org>
580
581         * main.C: (main): no longer pass pointers to os::init.
582
583 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * undo.C (textUndoOrRedo): simplify logic, fix a crash
586         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
587
588 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * lyxfunc.C:
591         * text3.C: remove selection_possible global flag
592
593 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * text2.C (getSelectionSpan): remove
596         (changeDepth, changeDepthAllowed): adjust
597
598 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
599
600         * Makefile.am (BOOST_LIBS): use boost variables
601
602 2004-12-03  José Matos  <jamatos@lyx.org>
603
604         * buffer.C: format up to 238.
605
606 2004-12-03  José Matos  <jamatos@lyx.org>
607
608         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
609
610 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * cursor.C (goUpDown): remove call to idxUpDown2
613
614 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * tabular.[Ch]: use size_t-like types for cell, row and column
617         indices
618
619 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * lyxfunc.C (getStatus): do not lose previous information when
622         calling BufferView::getStatus; do not set a default "Command
623         disabled" message at the beginning, but just before returning.
624
625 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
626
627         * cursor.h (getStatus): add better comment from src/cursor.C
628
629 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * text3.C (getStatus): return false when the lfun is not handled
632
633 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * broken_headers.h: remove
636
637         * Makefile.am (lyx_SOURCES): remove broken_headers.h
638
639 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
640
641         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
642         offset_ref accessors
643
644         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
645         top_y_, merge fitcursor with update
646         (updateScrollbar, scrollDocView, fitCursor, center, update): new
647         coord scheme
648         (metrics): introduce
649         (workAreaDispatch): adapt to new coord scheme
650         (redoCurrentBuffer): remove
651
652         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
653
654         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
655         CurStatus enum.
656
657         * coordcache.[Ch]: add paragraph cache and helpers
658
659         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
660         adjust everywhere
661
662         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
663         (targetX, setTargetX): introduce
664
665         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
666         baseline -> ascent, as the rest of lyx
667
668         * lyxtext.h: remove redoParagraphs, updateParPositions,
669         fullRebreak, redoParagraphInternal. move dist to anon namespace in
670         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
671         have ascent/descent (ascent is ascent of first par)
672
673         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
674         step of BufferView
675
676         * paragraph.[Ch]: unify dimension handling with the rest of lyx
677
678         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
679
680         * pariterator.C: fix infinite loop introduced in par->pit renaming
681
682         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
683         in insets and LyXText, draw two off-screen paragraphs using
684         NullPainter, and adapt to new coord scheme
685
686         * text.C:
687         * text2.C:
688         * text3.C: adapt lfun handlers to the new coord scheme, which
689         means: there's only guaranteed coord information for onscreen pars
690         plus one above and one below. This implies that one can do search
691         from y coordinates in the range [-1,workHeight]
692
693 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
694
695         * rename a lot of InsetOld to InsetBase
696
697 2004-11-25  Angus Leeming  <leeming@lyx.org>
698
699         * BufferView_pimpl.C:
700         * lyx_cb.C:
701         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
702
703 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
706         call BufferView::getStatus if LCursor::getStatus did nothing
707         (setStatusMessage, getStatusMessage): removed.
708
709         * FuncStatus.C (message): new methods. Used to provide an error
710         message indicating why a command is disabled.
711         (clear, |=, FuncStatus): update for message.
712
713 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
714
715         * lyxfunc.C (dispatch): always call sendDispatchMessage
716
717 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
718
719         * BufferView.C:
720         * BufferView_pimpl.C:
721         * CutAndPaste.C:
722         * FontIterator.C:
723         * buffer.C:
724         * cursor.C:
725         * cursor_slice.[Ch]:
726         * dociterator.[Ch]:
727         * lyxfind.C:
728         * paragraph_funcs.C:
729         * pariterator.C:
730         * rowpainter.C:
731         * text.C:
732         * text2.C:
733         * text3.C:
734         * undo.C: par->pit renaming
735
736 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
737
738         * tabular.C (cellstruct): use initialization, store a shared_ptr
739         to insettext instead of the insettext directly, adjust to fit.
740         (operator=):  new function
741         (swap): new function
742         (rowstruct): use initialization
743         (columnstruct): use initialization
744         (ltType): use initialization
745
746
747         * lyxlength.h (swap): new function
748
749         * LColor.[Ch] (operator=): use the common semantics
750
751 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * lyxfind.C (findNextChange): update the bufferview after setting
754         the selection.
755
756 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
759         number of InsetOptArgs has already been inserted.
760
761         * output_latex.C (latexOptArgInsets): new method. This outputs all
762         the optarg insets, up to the limit defined in the layout file.
763         (optArgInset): removed
764         (TeXOnePar): call latexOptArgInsets; correctly update texrow
765
766 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * paragraph.C (isLetter): remove special spellchecker-related
769         code; return true also for digits
770         (isWord, isKomma): remove
771
772         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
773         * lyxfind.C (MatchString()): use isLetter instead of isWord
774
775 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
776
777         * pariterator.h (operatir=): comment out un-implemented member
778         function.
779
780         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
781         static cast.
782
783 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
784
785         * lyxfont.h: include LColor.h to satisfy concept checks.
786
787 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
788
789         * pariterator.h: add typdefs for value_type, difference_type,
790         pointer and reference to satisfy concept checks. Also add default
791         constructor for same reason.
792
793         * pariterator.C (operator++): add post-increment operator to
794         satisfy concept checks.
795
796         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
797         checks.
798
799         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
800
801         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
802         checks. Also rename base_type to BaseType to follow naming
803         standard better.
804
805         * FloatList.h: include Floating.h to satisfy concept checks.
806
807 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * lyxfunc.C (getStatus): when the origin of the request is menu or
810         toolbar, and the LyXView does not have focus, do as if there was
811         no buffer (bug 1720)
812
813         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
814         FuncRequest to individual entries of LFUN_SEQUENCE
815
816 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * output_latex.C (TeXOnePar): override runparams.moving_arg
819         according to the needprotect value of the current paragraph (bug
820         1739)
821
822         * paragraph.C (simpleTeXOnePar): no need to override
823         runparams.moving_args here
824
825 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
826
827         * vspace.C: fix off-by-one-error, related to fix #1682
828
829 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
830
831         * lengthcommon.C: a more general fix for bug 1682
832
833 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
834
835         * text.C (backspace): fix crash
836
837 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
838
839         * format.[Ch] (getFormatFromFile): new method
840         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
841
842 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
845
846 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * lyxfunc.C (dispatch): remove the verbose argument
849         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
850         instead
851
852         * kbmap.C (defkey): set the origin of func to KEYBOARD
853
854         * MenuBackend.C (MenuItem):
855         * ToolbarBackend.C (add): set the origin of func to UI
856
857         * funcrequest.[Ch]: add origin member, which indicates which part
858         of LyX requests an action
859
860 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * converter.C (move): don't lie in the error message
863         * converter.h (isReachable, move): document
864
865 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
866
867         * buffer.C: remove unused using lyx::support::atoi
868         * paragraph_funcs.C: ditto
869
870 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
871
872         * bufferlist.C (exists): use bind and equal_to instead of
873         compare_memfun
874         (getBuffer): ditto
875         * lyxtextclasslist.C (NumberOfClass): ditto
876
877         * cursor.C (insert): use for_each instead of explicit for loop
878
879         * bufferlist.C (getFileNames): use std::transform and
880         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
881
882         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
883         for loop
884
885         * buffer.C (changeLanguage): use for_each instead of explicit for
886         loop
887         (hasParWithID): implement using getParFromID
888
889         * LaTeXFeatures.C: ws change only
890
891         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
892         to cleanup a bit.
893
894         * BufferView_pimpl.C (trackChanges): use for_each instead of
895         expilicit for loop
896
897 2004-11-04  André Pönitz  <poenitz@gmx.net>
898
899         * undo.h:
900         * undo.C (textUndoOrRedo): fix crash when creating undo information.
901
902         * dociterator.C (asDocIterator): use hard assert again.
903
904 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lyxlength.C (asLatexString): rewrite so that it does not use
907         snprintf anymore
908
909 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * text3.C (specialChar, dispatch): make sure cursor moves to the
912         right after inserting an inset
913
914 2004-11-02  José Matos  <jamatos@lyx.org>
915
916         * output_docbook.C (docbook):
917         * paragraph.C (getID):
918         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
919         garantee that the output is always legal.
920
921         * tabular.C (docbook):
922         * outputprams.[Ch]: remove mixed contents.
923
924 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
925
926         * text2.C (setCounter): prevent endless loop
927
928 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
929
930         * exporter.C (copyFile): use the mover instead of support::copy()
931         * exporter.C (Export): pass format and latex name to copyFile()
932         * exporter.h (addExternalFile): document
933         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
934
935 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
936
937         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
938
939 2004-10-30  José Matos  <jamatos@lyx.org>
940
941         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
942         text and no inset or font change. This allows to use CDATA
943         sections just for the whole paragraph.
944
945 2004-10-30  José Matos  <jamatos@lyx.org>
946
947         * paragraph.C (getFirstWord): remove unused variable.
948
949 2004-10-30  José Matos  <jamatos@lyx.org>
950
951         * paragraph.C (getFirstWord): the content should always be escaped
952         there.
953         (simpleDocBookOnePar):
954         * output_docbook.C (makeEnvironment): replace reference to CDATA
955         to style pass_thru.
956
957 2004-10-30  José Matos  <jamatos@lyx.org>
958
959         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
960
961 2004-10-30  José Matos  <jamatos@lyx.org>
962
963         * output_docbook.C (makeParagraphs):
964         * paragraph.[Ch] (emptyTag): for docbook and company, if the
965         standard paragraph has only a given type of content drop the wrapper.
966
967 2004-10-29  José Matos  <jamatos@lyx.org>
968
969         * output_docbook.C (makeEnvironment):
970         * sgml.C (openTag):
971         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
972
973 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
974
975         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
976         (cleanID): sanitize any id.
977
978 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
979
980         * buffer.C, lyxlex_pimpl.C:
981         * lyxlex_pimpl.C (setFile):
982         s/getExtFromContents/getFormatFromContents/
983
984 2004-10-28  José Matos  <jamatos@lyx.org>
985
986         * output_docbook.C (makeEnvironment): move id to broadest possible
987         scope.
988
989         * sgml.C (openTag): apply substitution of <> for all attributes.
990
991 2004-10-28  José Matos  <jamatos@lyx.org>
992
993         * buffer.C (makeLinuxDocFile, makeDocBookFile):
994         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
995         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
996
997         * sgml.[Ch]: new version for open and closeTag for paragraph and
998         for strings. Now they handle the ids of paragraphs.
999
1000 2004-10-26  Angus Leeming  <leeming@lyx.org>
1001
1002         * Makefile.am: add mover.[Ch].
1003
1004         * converter.C (convert, move): use the new Movers to move external
1005         files to the temp directory.
1006
1007         * lyx_main.C (init): ensure that the global system_movers data
1008         is initialised.
1009
1010         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1011         preferences file.
1012
1013         * mover.[Ch]: new files, defining a Mover as a utility to move an
1014         external file between directories and, if necessary, manipulate this
1015         file using a helper script.
1016
1017 2004-10-25  José Matos  <jamatos@lyx.org>
1018
1019         * output_docbook.C (makeCommand): merge two if's that tested the
1020         same condition.
1021
1022 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * sgml.C (escapeString): fix warning in a better way
1025
1026 2004-10-25  José Matos  <jamatos@lyx.org>
1027
1028         * sgml.C (escapeString): import the require boosts header file for
1029         tie, and avoid a signed unsigned comparison.
1030
1031 2004-10-25  José Matos  <jamatos@lyx.org>
1032
1033         * sgml.h: add #include <string>
1034
1035 2004-10-25  José Matos  <jamatos@lyx.org>
1036
1037         * sgml.[Ch] (escapeString): new function to escape all the string.
1038
1039 2004-10-24  José Matos  <jamatos@lyx.org>
1040
1041         * paragraph.[Ch] (getFirstWord): new function to get the first
1042         word. Useful for description.
1043         (simpleDocBookOnePar): remove depth argument, add another that
1044         says where to start the paragraph.
1045
1046         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1047         use the new functions to fix cleanly the support for descriptions.
1048
1049 2004-10-24  José Matos  <jamatos@lyx.org>
1050
1051         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1052         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1053         * output_linuxdoc.C (linuxdocParagraphs):
1054         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1055         add buffer as argument.
1056
1057 2004-10-24  José Matos  <jamatos@lyx.org>
1058
1059         * output_docbook.C (makeEnvironment, searchEnvironment): place
1060         CDATA inside paragraphs and fix scope for listitems.
1061
1062 2004-10-24  José Matos  <jamatos@lyx.org>
1063
1064         * output_docbook.C: remove using statement for stack.
1065
1066 2004-10-23  José Matos  <jamatos@lyx.org>
1067
1068         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1069         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1070         docbook. The new scheme is recursive and makes use of iterators, the
1071         same as latex export works.
1072         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1073         directly with the paragraph contents. This code was moved up to
1074         output_docbook.C (docbookParagraphs).
1075         * sgml.C (openTag, closeTag): removed unneeded newlines.
1076         (closeEnvTags) removed.
1077
1078 2004-10-23  André Pönitz  <poenitz@gmx.net>
1079
1080         * undo.C (textUndoOrRedo):
1081         * dociterator.C (asDocIterator): work around crash
1082
1083         * cursor.C (getStatus): replace ASSERT by more verbose error message
1084           and manual correction of the problem. Should increase stability
1085           while providing more sensible information.
1086
1087 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1090
1091         * bufferlist.C (previous, next): new methods
1092
1093         * lfuns.h:
1094         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1095
1096 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1097
1098         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1099         entities to preamble.
1100
1101 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1102
1103         * messages.C (Pimpl): strip off translation context information
1104
1105 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1108         the cursor is correct (bug 1694)
1109
1110 2004-10-13  José Matos  <jamatos@lyx.org>
1111
1112         * output_docbook.C (docbookParagraphs): fix closing tags in the
1113         end of the document.
1114
1115 2004-10-09  José Matos  <jamatos@lyx.org>
1116
1117         * buffer.C: format up to 237.
1118         * bufferparams.C (write): use tostr to convert booleans to strings.
1119
1120 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1121
1122         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1123
1124 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1125
1126         * LaTeX.C: implement use of babel language in xindy.
1127
1128 2004-10-05  José Matos  <jamatos@lyx.org>
1129
1130         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1131         Add new translators to help reading and writing the lyx file.
1132
1133 2004-10-05  José Matos  <jamatos@lyx.org>
1134
1135         * ParagraphParameters.C (read):
1136         * text.C (readParToken): replace nexToken by more appropriate lex
1137         methods.
1138
1139 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1140
1141         * LaTeX.C (runMakeIndex):
1142         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1143         (usually 'makeindex') configurable.
1144
1145         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1146         with a variable rather than with a number.
1147
1148 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * output_latex.C (TeXOnePar): make sure font setting is the first
1151         thing that gets output (and the last at the end). Should fix bug
1152         1404.
1153
1154 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * pch.h: use proper signal include
1157
1158         * LaTeX.h: Use preferred calling of Boost.Signal
1159         * buffer.h: ditto
1160
1161 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1162
1163         * pch.h: dont include <boost/function/function0.hpp>
1164
1165         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1166
1167         * paragraph_pimpl.h: remove usage of ShareContainer
1168
1169         * paragraph_pimpl.C: remove initialization of ShareContainer.
1170
1171 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         Fix bug #1666
1174
1175         * BufferView.C (putSelectionAt): change the semantics when
1176         backwards == true: now, this just swaps cursor and anchor wrt the
1177         forward case
1178
1179         * BufferView.h (putSelectionAt): add some documentation
1180
1181         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1182         make sure backwardChar is done at least once (to avoid getting
1183         stuck)
1184         (findNextChange): use putSelectionAt in the forward direction
1185         (operator()): use Paragraph::isWord
1186
1187 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1188
1189         * Spacing.C (set): c_str fix
1190
1191 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * lyx_cb.C (Reconfigure): quote the name of configure script in
1194         case it contains spaces
1195
1196 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * client: new dir
1199
1200         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1201         (BOOST_LIBS): use top_buildir when looking for the file
1202
1203 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1204
1205         * pch.h: do not use include boost/format.hpp, multiple symbols
1206                 will result (gcc bug)
1207
1208
1209 2004-08-23  José Matos  <jamatos@lyx.org>
1210
1211         * bufferparams.C (readToken): fix reading of the author field.
1212
1213 2004-08-20  José Matos  <jamatos@lyx.org>
1214
1215         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1216
1217 2004-08-20  José Matos  <jamatos@lyx.org>
1218
1219         * lyxlex.[Ch] (findToken): remove function.
1220
1221         * ParagraphParameters.C (findToken):
1222         * bufferparams.C (findToken): replace call for previous function
1223         with local copy. This local function has one more argument, the
1224         read string argument.
1225
1226 2004-08-16  José Matos  <jamatos@lyx.org>
1227
1228         * ParagraphParameters.C (write):
1229         * Spacing.C (writeFile):
1230         * bufferparams.C (writeLaTeX):
1231         * lyx_cb.C (Reconfigure):
1232         * paragraph.C (write):
1233         * tabular.C (write): remove unnecessary space at end of line.
1234
1235
1236 2004-08-16  José Matos  <jamatos@lyx.org>
1237
1238         * text.C (readParagraph): remove debug message.
1239
1240 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1243         crash
1244
1245         * output_plaintext.C (asciiParagraph): set depth correctly
1246
1247         * outputparams.h: add member depth
1248
1249         * paragraph_funcs.C (ownerPar): remove.
1250
1251         * text2.C (setCounter): remove first_pit; comment out some
1252         non-working code that uses ownerPar
1253
1254         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1255         uses ownerPar
1256
1257 2004-08-16  José Matos  <jamatos@lyx.org>
1258
1259         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1260         For the same level of importance use the same chanel to report problems.
1261         (read): add code to deal with \begin_body and \end_body.
1262
1263
1264 2004-08-15  José Matos  <jamatos@lyx.org>
1265
1266         * lyxlex.C (getString): fix comment, buffer::readBody is now
1267         buffer:readDocument.
1268
1269         * tex-strings.C (string_papersize): Default -> default,
1270         Custom -> custom, for consistency with other options.
1271
1272 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1273
1274         * pch.h: new file
1275
1276         * Makefile.am: support pch
1277
1278 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * text.C (readParToken): remove the static LyXFont variable and
1281         pass it as a parameter instead. This fixes a nasty bug where an
1282         inset will be inserted with a bad font in some situations
1283         (readParagraph): adapt
1284
1285         * text2.C (setCounter): reduce number of calls to pars_[pit]
1286
1287         * text.C (singleWidth): add an assert, fix a test
1288
1289         * rowpainter.C (paintText): reduce number of calls to singleWidth
1290
1291         * paragraph.C (isHfill):
1292         (isNewline): ws only
1293
1294 2004-08-14  André Pönitz  <poenitz@gmx.net>
1295
1296         * text.C:
1297         * text2.C:
1298         * rowpainter.C:
1299         * lyxtext.h (several functions): use a Paragraph & argument
1300         instead of par_type
1301
1302 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1305
1306         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1307
1308         * text.C (singleWidth): remove useless test
1309
1310 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * tabular.h: remove bogus comments
1313
1314         * tabular.C (getDescentOfRow):
1315         (isPartOfMultiColumn): add assertions
1316
1317         * lyxlength.C (inPixels): remove #warning
1318
1319 2004-08-14  André Pönitz  <poenitz@gmx.net>
1320
1321         * paragraph.h: inline getChar()
1322
1323         * BufferView.h: remove unused declarations
1324
1325 2004-08-14  José Matos  <jamatos@lyx.org>
1326
1327         * Buffer.[Ch] (readDocument): new name for old readBody.
1328         * Buffer.C: new file format, new keywords: \begin_document,
1329         \begin_header, \begin_body, \end_body.
1330
1331         * bufferparams.C (readToken): replace all calls to lex.nextToken
1332         by lex.next(). Do the same to eatLine except where really needed.
1333
1334         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1335         line when writing to the lyx file.
1336
1337         * output_plaintext.C (asciiParagraph): fix Bibliography style
1338         handling.
1339
1340         * text.C (read): fix end of file handling.
1341
1342 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * MenuBackend.C (Menu::operator[]): new method to access
1345         individual menu items
1346         (Menu::hasFunc): new method. search for an item that corresponds
1347         to a given func
1348         (MenuBackend::specialMenu): new method
1349         (MenuBackend::expand): if a special menu has been set, skip
1350         entries whose func() appears in this menu
1351
1352 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1353
1354         * text3.C: use Debug::DEBUG a bit more
1355
1356         * text.C (leftMargin): try to simplify a tiny bit change var x to
1357         l_margin. Dont output the wide margins always.
1358         (rightMargin): no margin in inner texts
1359
1360         * rowpainter.h (nestMargin): new func
1361         (changebarMargin): new func
1362         (rightMargin): new func
1363
1364         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1365         now functions.
1366         (paintLast): ditto
1367
1368         * factory.C (createInset): modify setDrawFrame
1369
1370         * cursor.C: use Debug::DEBUG a bit more
1371
1372 2004-08-14  André Pönitz  <poenitz@gmx.net>
1373
1374         * coordcache.[Ch]:
1375         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1376         cache for all insets in (at least partially) visible (top-level)
1377         paragraphs.
1378
1379         * BufferView_pimpl.C: reset external coord cache before every update.
1380         This means the coord cache only contains valid entries.
1381
1382 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1383
1384         bug 1096
1385         * BufferView_pimpl.C (getInsetByCode): move function out of class
1386         and change in to a template in anon namespace. Also fix to do what
1387         suits us better.
1388
1389 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1390
1391         bug 1305
1392         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1393         of char
1394         (breakParagraph): rename par to par_offset and use a local
1395         reference. Add code to keep the language over a rebreak.
1396         (breakParagraphConservative): rename par to par_offset, use a
1397         local reference
1398         (mergeParagraph): ditto
1399         (outerHook): ditto
1400         (isFirstInSequence): ditto
1401         (outerFont): rename pit to par_offset
1402
1403         * paragraph.C: ws change
1404         * paragraph.h: ditto
1405         * text3.C: ditto
1406         * text.C: ditto
1407
1408 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1411         treatment for ']'
1412
1413         * paragraph.C (simpleTeXOnePar): when we have a \item with
1414         optional argument, enclose the argument with curly brackets (in
1415         case it contains a closing square bracket)
1416
1417         * text2.C (editXY):
1418         * text2.C (editXY):
1419         * text3.C (checkInsetHit): constify
1420
1421 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1422
1423         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1424         documents (bug 1629)
1425
1426 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         Fix toggling of collapsable insets with the mouse (bug 1558)
1429
1430         * lyxfunc.C (dispatch): adapt to LCursor changes
1431
1432         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1433         make sure that dispatch is not invoked twice
1434
1435         * cursor.C (needsUpdate): new method
1436         (dispatch): return void
1437         (result): new method, to access the DispatchResult of the cursor.
1438
1439 2004-08-13  José Matos  <jamatos@lyx.org>
1440
1441         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1442
1443 2004-08-13  André Pönitz  <poenitz@gmx.net>
1444
1445         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1446
1447         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1448           multiple cells
1449
1450 2004-08-12  André Pönitz  <poenitz@gmx.net>
1451
1452         * text3.C: take out the 'cursor right' form insertInset and only
1453         do it in those places when it is really needed. Fixes crash on
1454         C-m...
1455
1456 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1459
1460         * BufferView_pimpl.C (setBuffer): initialize the current font of
1461         the underlying LyXText
1462
1463 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * kbsequence.C (print): use UI native formatting for menu
1466         shortcuts
1467
1468         * text.C (insertChar): call Paragraph::insertChar with a font
1469         argument (cosmetic)
1470
1471         * paragraph.C (insertInset, insertChar): the version that takes a
1472         LyXFont argument is now a wrapper around the other one (the
1473         opposite used to be true).
1474
1475         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1476         argument. Font setting is done in Paragraph now.
1477
1478 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * outputparams.h: add new members intitle and lang.
1481
1482         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1483         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1484
1485 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1486
1487         * text3.C (dispatch): remove special handling of button 4 and 5,
1488         it is now taken care of in the frontend code.
1489
1490 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1491
1492         * Spacing.h: add <string> (STLPort compile fix)
1493
1494 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1495
1496         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1497
1498 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1499
1500         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1501         to bool.
1502
1503         * converter.C (showMessage): inherit from unary_function, make
1504         operator() const.
1505
1506         * buffer.C (writeFile): initialize retval
1507
1508         * InsetList.h: rename private variable list to list_
1509         * InsetList.[Ch]: adjust accordingly.
1510
1511 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1512
1513         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1514         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1515         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1516         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1517         * ParagraphParameters.C, LaTeXFeatures.C: replace
1518         "support/std_sstream.h" with <sstream>
1519
1520 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1521
1522         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1523         * lyxsocket.C (LyXServerSocket): ditto
1524         (serverCallback): ditto
1525
1526 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1527
1528         * LaTeXFeatures.C: check release date when loading jurabib.
1529
1530 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * lyxserver.C (startPipe): call register_socket_callback
1533         (endPipe): call unregister_socket_callback
1534
1535 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1536
1537         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1538         (LyXServerSocket): register the callback
1539         (LyXServerSocket): unregister the callback
1540         (fd): delete function
1541         (serverCallback): improve error checking and setup the callbacks.
1542         (dataCallback): change arg to fd.
1543         (writeln): new func (copied fro the client socket) used for server
1544         write to client.
1545         (LyXDataSocket): simplify
1546         (~LyXDataSocket): close ann unregiser callback
1547         (server): delete function
1548         (fd): delete function
1549         (readln): small changes, improve some std::string usage
1550         (writeln): constify a bit
1551
1552 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1555         Qt frontend
1556
1557 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1560         after it has been populated
1561
1562 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * text2.C (insertInset): move cursor when inserting inset.
1565
1566 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * kbmap.C (findbindings): a couple of new methods. returns a
1569         container of kb_sequence objects. The real work is done by the
1570         private recursive version
1571         (printbindings): uses findbindings to print out a bracketed list
1572         of bindings (renamed from findbinding).
1573
1574         * MenuBackend.C (binding): use kb_keymap::findbindings
1575
1576         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1577
1578 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1579
1580         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1581
1582 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1583
1584         * paragraph.C (isWord): return true on insets that report
1585         isLetter().
1586
1587         * text.C (getWord): use Paragraph::isWord to decide what is in a
1588         word and what is not; fix bug 1609.
1589
1590 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1591
1592         * tex-strings.C: add "none" to string_paperpackages[], fixes
1593         off-by-one-error in the paperpackage selection.
1594
1595         * lyxlex.[Ch]:
1596         * tex-strings.[Ch]: char const * string[n]
1597         -> char const * const string[]
1598
1599 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1602         command, return early.
1603
1604 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1605
1606         * debug.h: add DEBUG to enum and fix size of ANY.
1607
1608         * debug.C: add support for Debug::DEBUG
1609         (showTags): cast errorTags.level to unsigned int
1610
1611         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1612         (redoCurrentBuffer): ditto
1613         (updateScrollbar): ditto
1614         * cursor.C (dispatch): ditto
1615         * text2.C (setLayout): ditto
1616         (setFont): ditto
1617         (updateCounters): ditto
1618         (editXY): ditto
1619         (deleteEmptyParagraphMechanism): ditto
1620
1621 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1622
1623         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1624         annotations to cleanup the Makefile slightly.
1625
1626 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * lyxrc.C: do not set user_email to a default value but use empty
1629         instead. The entry used to be translated, which does not work
1630         since at the point where lyxrc is constructed there is no
1631         translation service available
1632
1633         * messages.C (getLocaleDir): remove and use directly
1634         lyx_localedir() instead
1635
1636 2004-06-02  Angus Leeming  <leeming@lyx.org>
1637
1638         Fix crash caused by dereferencing null pointer 'exportdata' in
1639         OutputParams by creating a new ExportData variable on the heap,
1640         storing it in a boost::shared_ptr.
1641         The crash was triggered when generating an Instant Preview
1642         of an external inset.
1643
1644         * Makefile.am: add outputparams.C
1645
1646         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1647         (c-tor): allocate memory to it.
1648
1649         * exporter.C (c-tor): associated changes.
1650
1651 2004-06-01  Angus Leeming  <leeming@lyx.org>
1652
1653         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1654         contains data before calling isInset(0). (Bug 1513.)
1655
1656 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1657
1658         * exporter.C (checkOverwrite): new method
1659         * exporter.C (copyFile): new method
1660         * exporter.C (Export): copy referenced files to the document dir
1661         * exporter.[Ch]: new class ExportedFile
1662         * exporter.[Ch]: new class ExportData. Contains currently the
1663         names of referenced external files
1664         * outputparams.h: add exportdata member.
1665
1666 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1667
1668         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1669         version.C-tmp
1670
1671 2004-05-19  Angus Leeming  <leeming@lyx.org>
1672
1673         * LaTeXFeatures.C:
1674         * ToolbarBackend.C:
1675         * bufferparams.C:
1676         * lyxfunc.C: small changes due to the introduction of namespace
1677         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1678
1679 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * text3.C (dispatch): supress update when only moving the cursor
1682         * cursor.C (selHandle): remove commented code
1683
1684 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1685
1686         * paragraph.C (startTeXParParams): correct column count
1687         * CutAndPaste.C (pasteSelection): remove const_cast
1688         * output_docbook.C (docbookParagraphs): remove const_cast
1689         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1690         const_cast and return ParagraphList::const_iterator
1691         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1692         * output_plaintext.C (writeFileAscii): remove const_cast
1693         * paragraph.[Ch] (simpleTeXOnePar): make const
1694         * paragraph_funcs.C (outerPar): use const iterators
1695         * paragraph_pimpl.C (validate): use const iterators
1696         * text.C (setHeightOfRow): use const iterators
1697
1698 2004-05-17  Angus Leeming  <leeming@lyx.org>
1699
1700         * lfuns.h:
1701         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1702
1703         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1704         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1705         if the citation engine has changed.
1706
1707 2004-05-14  José Matos  <jamatos@lyx.org>
1708
1709         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1710         if the textclass does not provide it. Have it different for sgml and
1711         xml.
1712         support the language of document.
1713         * output_docbook.C (docbookParagraphs):
1714         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1715         first anchor as the id of the paragraph, remove special case code.
1716         * sgml.C (escapeChar): escape only < & >.
1717
1718 2004-05-14  Angus Leeming  <leeming@lyx.org>
1719
1720         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1721         dependencies on src/frontends/controllers/biblio.h. Define a
1722         CiteEngine_enum wrapper class to enable the enum to be forward
1723         declared.
1724
1725 2004-05-12  Angus Leeming  <leeming@lyx.org>
1726
1727         * buffer.C: up LYX_FORMAT to 234.
1728         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1729         use_numerical_citations with a single biblio::CiteEngine cite_engine
1730         variable.
1731         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1732
1733 2004-05-13  José Matos  <jamatos@lyx.org>
1734
1735         * converter.h:
1736         * converter.C (Converter, readFlags): add xml member.
1737         * outputparams.h: add XML flavor.
1738         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1739
1740 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * lyxfunc.C (dispatch):
1743         (getStatus): fix handling of LFUN_SEQUENCE
1744
1745 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1746
1747         * debug.C (showLevel): do not forget the end-of-line marker
1748
1749 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * kbmap.C (read): do not stop parsing a bind file when an error
1752         occurs (bug 1575)
1753
1754 2004-04-29  Angus Leeming  <leeming@lyx.org>
1755
1756         * cursor.C:
1757         * factory.C:
1758         * pariterator.C:
1759         * text2.C: wrap a bunch of #warning statements
1760         inside #ifdef WITH_WARNINGS blocks.
1761
1762 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * buffer.C: increment format to 233.
1765
1766 2004-04-28  Angus Leeming  <leeming@lyx.org>
1767
1768         * BufferView_pimpl.C:
1769         * lyxfunc.C:
1770         * text3.C:
1771         s/updateToolbar()/updateToolbars()/
1772         s/Toolbar.h/Toolbars.h/
1773
1774 2004-04-28  Angus Leeming  <leeming@lyx.org>
1775
1776         * BufferView.[Ch] (c-tor):
1777         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1778         No longer passes these data to the WorkArea generator.
1779
1780 2004-04-28  Angus Leeming  <leeming@lyx.org>
1781
1782         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1783
1784 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1785
1786         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1787
1788 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * output_latex.C (TeXEnvironment): make sure that there is a line
1791         break before \end{foo} for the last paragraph of a document
1792         (TeXOnePar): if the paragraph is at the end of the document (or
1793         inset) and the language has to be reset, then make sure that the
1794         line break is _before_ the language command, not after (fixes bug
1795         1225); also make sure that the language reset command is the first
1796         thing after the paragraph (to ensure proper nesting of
1797         environments and thus fix bug 1404)
1798
1799 2004-04-21  John Levon  <levon@movementarian.org>
1800
1801         * ToolbarBackend.h:
1802         * ToolbarBackend.C: make "name" be a programmatic name
1803         and a gui_name field.
1804
1805         * lyxfunc.C: display the minibuffer on M-x
1806
1807 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1810         (bug 1526)
1811
1812 2004-04-19  Angus Leeming  <leeming@lyx.org>
1813
1814         * BufferView_pimpl.C (setBuffer): changed preview interface.
1815
1816         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1817         possible values.
1818
1819 2004-04-19  John Levon  <levon@movementarian.org>
1820
1821         * BufferView_pimpl.C:
1822         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1823
1824 2004-04-05  Angus Leeming  <leeming@lyx.org>
1825
1826         * text.C (redoParagraphs): add call to updateCounters(), thereby
1827         fixing the missing "Figure #:" label from the caption of a
1828         figure float.
1829
1830 2004-04-13  Angus Leeming  <leeming@lyx.org>
1831
1832         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1833         cursor is clicked out of an inset.
1834
1835 2004-04-13  Angus Leeming  <leeming@lyx.org>
1836
1837         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1838         than an InsetOld one.
1839
1840 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1841
1842         * format.[Ch]: add editor to Format
1843         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1844         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1845
1846 2004-04-08  André Pönitz  <poenitz@gmx.net>
1847
1848         * metricsinfo.h: remove PainterInfo::width member
1849
1850 2004-04-08  Angus Leeming  <leeming@lyx.org>
1851
1852         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1853         "\providecommand" rather than "\newcommand", thereby preventing
1854         clashes with packages that define "\boldsymbol" themselves.
1855         Eg, beamer.
1856
1857 2004-04-08  Angus Leeming  <leeming@lyx.org>
1858
1859         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1860         thereby squashing an unnecessary warning.
1861
1862 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1863
1864         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1865         setBuffer()
1866
1867 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * BufferView.C (setCursor): call redoParagraph (some insets could
1870         have been opened)
1871         (putSelectionAt): remove the 'double update' trick
1872
1873         * BufferView_pimpl.C (fitCursor): call refreshPar
1874         (workAreaDispatch): remove an uneeded update call
1875         (dispatch): remove some manual update calls
1876
1877         * cursor.[Ch]: remove cached_y_, updatePos
1878         (selHandle): set noUpdate when appropriate
1879
1880         * lyxfunc.C (dispatch): track if we need an update
1881
1882         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1883
1884         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1885         (paintSelection): cheap optimization, do not call cursorX when not
1886         needed
1887         (paintPars): change signature
1888         (refreshPar): add
1889         (paintText): adjust
1890         (paintTextInset): adjust
1891
1892         * text.C: adjust
1893
1894 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1895
1896         * lengthcommon.C: compilation fix: remove explicit array size from
1897         unit_name[] and friends
1898
1899 2004-04-05  Angus Leeming  <leeming@lyx.org>
1900
1901         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1902
1903         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1904         present only for the preferences dialog.
1905         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1906
1907 2004-04-05  Angus Leeming  <leeming@lyx.org>
1908
1909         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1910         to enable the frontends to export changes to lyxrc correctly.
1911
1912         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1913
1914 2004-04-07  André Pönitz  <poenitz@gmx.net>
1915
1916         * cursor.[Ch] (selClear, adjust): remove math
1917
1918         * cursor_slice.C: more agressive assert
1919
1920         * lyxfunc.C:
1921         * BufferView_pimpl.C: rework mouse event dispatch
1922
1923         * dociterator.C:
1924         * paragraph.C:
1925         * text2.C:
1926         * text3.C: adjust
1927
1928 2004-04-05  André Pönitz  <poenitz@gmx.net>
1929
1930         * cursor.[Ch] (valign, halign...): remove unneeded functions
1931
1932 2004-04-05  Angus Leeming  <leeming@lyx.org>
1933
1934         * lyxlength.[Ch] (unit_name et al.): const-correct.
1935
1936 2004-04-05  Angus Leeming  <leeming@lyx.org>
1937
1938         * BufferView_pimpl.C:
1939         * buffer.C:
1940         * counters.C:
1941         * cursor.C:
1942         * lyxfunc.C
1943         * paragraph.C:
1944         * pariterator.C:
1945         * text.C:
1946         * text2.C:
1947         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1948
1949 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1952
1953 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1954
1955         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1956         * BufferView_pimpl.[Ch] (getStatus)
1957         * BufferView.[Ch] (getStatus): add
1958         * lyxfunc.C (getStatus): move lfuns handled in
1959         BufferView::dispatch to te function above
1960         * Cursor.C (setSelection): set selection() = true
1961
1962 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1965
1966 2004-03-31  Angus Leeming  <leeming@lyx.org>
1967
1968         * lyxfunc.C (dispatch): Fall through to the generic
1969         Dialogs::show("preamble").
1970
1971 2004-03-31  Angus Leeming  <leeming@lyx.org>
1972
1973         * lyxfunc.C (dispatch): Fall through to the generic
1974         Dialogs::show("spellchecker").
1975
1976 2004-03-31  Angus Leeming  <leeming@lyx.org>
1977
1978         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1979         preferences dialog.
1980
1981 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1982
1983         * BufferView.C
1984         * cursor.[Ch]
1985         * dociterator.[Ch]:
1986         * insetiterator.[Ch]:
1987         * lyxfind.C:
1988         * lyxfunc.C:
1989         * pariterator.[Ch]:
1990         * text2.C:
1991         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1992
1993 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1996         insets where we are putting the cursor.
1997
1998 2004-03-31  Angus Leeming  <leeming@lyx.org>
1999
2000         * lfuns.h:
2001         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2002
2003         * lyxrc.[Ch] (read, write): overloaded member functions taking
2004         a std::[io]stream arguments.
2005
2006         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2007
2008 2004-03-31  Angus Leeming  <leeming@lyx.org>
2009
2010         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2011         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2012
2013         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2014         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2015
2016 2004-03-31  Angus Leeming  <leeming@lyx.org>
2017
2018         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2019         the LFUN_ALL_INSETS_TOGGLE code.
2020
2021 2004-03-30  Angus Leeming  <leeming@lyx.org>
2022
2023         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2024         has died. Fall through to the generic Dialogs::show("document").
2025
2026 2004-03-30  Angus Leeming  <leeming@lyx.org>
2027
2028         * lfuns.h:
2029         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2030         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2031
2032         * lyxfunc.C (getStatus, dispatch): define the actions for these
2033         lfuns. Little more than a cut and pste job from ControlDocument.C
2034
2035         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2036
2037 2004-03-30  Angus Leeming  <leeming@lyx.org>
2038
2039         * lfuns.h:
2040         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2041         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2042
2043         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2044         open/closed state of ollapsable insets. Usage:
2045
2046         all-inset-toggle <state> <name>, where
2047         <state> == "open" || "closed" || "toggle" and
2048         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2049
2050         * lyxtext.h, text2.C (toggleInset): removed.
2051
2052         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2053         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2054         now passes LFUN_INSET_TOGGLE to the found inset.
2055
2056         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2057         is now invoked as "all-insets-toggle toggle branch".
2058
2059 2004-03-30  Angus Leeming  <leeming@lyx.org>
2060
2061         * dociterator.C:
2062         * insetiterator.C:
2063         * pariterator.[Ch]: added/corrected header blurb.
2064
2065 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * dociterator.[Ch]: add an inset_ member
2068         (backwardPos): implemented
2069         (backwardPos, forwardPos): use inset_ when the stack is empty.
2070         (doc_iterator_begin, doc_iterator_end): implemented
2071         * pariterator.[Ch]: adjust, add begin, end
2072         * insetiterator.[Ch]: adjust, add begin, end
2073         * cursor.C:
2074         * document.C:
2075         * BufferView.C:
2076         * BufferView_pimpl.C:
2077         * CutAndPaste.C: adjust
2078
2079 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2080
2081         * buffer.C: increment file format to 232.
2082         * LaTeXFeatures.C: add bibtopic package.
2083         * bufferparams.[Ch]: param \use_bibtopic.
2084
2085         * lyxrc.[Ch]: add lyxrc bibtex_command
2086         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2087
2088         * buffer.C: increment file format to 231.
2089
2090 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * dociterator.C: implement forwardPar
2093         * iterators.[Ch]: remove, replaced by
2094         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2095         * BufferView.C:
2096         * BufferView_pimpl.C:
2097         * CutAndPaste.C:
2098         * buffer.C:
2099         * bufferview_funcs.C:
2100         * cursor.C:
2101         * lyxfind.C
2102         * lyxfunc.C
2103         * paragraph_funcs.C
2104         * toc.C:
2105         * Makefile.am: adjust
2106
2107 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2108
2109         * CutAndPaste.C (pasteSelection): fix 2 crashes
2110         (eraseSelection): fix a crash
2111         * paragraph_funcs.C: remove a warning
2112
2113 2004-03-28  Angus Leeming  <leeming@lyx.org>
2114
2115         * lfuns.h:
2116         * LyXAction.C (init): new LFUN_PRINT.
2117
2118         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2119
2120 2004-03-27  Angus Leeming  <leeming@lyx.org>
2121
2122         * lfuns.h:
2123         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2124
2125         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2126
2127 2004-03-27  Angus Leeming  <leeming@lyx.org>
2128
2129         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2130         insetlist always contains non-null pointers to insets.
2131
2132 2004-03-26  Angus Leeming  <leeming@lyx.org>
2133
2134         * src/BufferView_pimpl.C:
2135         * src/CutAndPaste.C:
2136         * src/buffer.C:
2137         * src/iterators.C:
2138         * src/output_plaintext.C:
2139         * src/outputparams.h:
2140         * src/paragraph_funcs.C:
2141         * src/rowpainter.C:
2142         * src/text.C:
2143         * src/text2.C:
2144         * src/frontends/controllers/ControlErrorList.C:
2145         * src/frontends/gtk/FileDialogPrivate.C:
2146         * src/frontends/gtk/GPainter.C:
2147         * src/frontends/gtk/GToolbar.C:
2148         * src/frontends/qt2/QRef.C:
2149         * src/mathed/math_scriptinset.C: squash compiler warnings.
2150
2151 2004-03-26  Angus Leeming  <leeming@lyx.org>
2152
2153         * ispell.C (LaunchIspell::start):
2154         * lyx_cb.C (AutoSaveBuffer::start):
2155         invoke run(DontWait) rather than runNonBlocking().
2156
2157 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2160
2161 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * kbsequence.C (print): adjust
2164
2165         * kbmap.C (printKeySym): rename and change signature
2166         (printKey): use LyXKeySym::print()
2167
2168 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * undo.C: add using std::advance to compile for stlport
2171
2172 2004-03-24  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2175         it leads to a crash when no buffer is present.
2176
2177 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2178             Martin Vermeer  <martin.vermeer@hut.fi>
2179
2180         * lyxfunc.C (dispatch):
2181         * bufferparams.C (readToken): use the new LColor::setColor
2182
2183         * LColor.[Ch] (setColor): new version that takes two strings as
2184         argument and creates a new color entry if necessary
2185
2186 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2187
2188         * buffer.C (makeLaTeXFile): if the main latex file that is
2189         processed is usually a subdocument of some master, then pretend
2190         for a while that it is actually the master
2191
2192 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2193
2194         * buffer.C (getLabelList):
2195         (getBibkeyList): use getMasterBuffer()
2196         (getMasterBuffer): new method. Returns the main document in the
2197         case where one is using included documents.
2198
2199 2004-03-25  André Pönitz  <poenitz@gmx.net>
2200
2201         * Makefile.am:
2202         * iterators.[Ch]:
2203         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2204
2205         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2206
2207         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2208         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2209
2210         * ParameterStruct.h: merge with ParagraphParameters
2211
2212         * lyxtext.h: remove LyXText::parOffset() and getPar()
2213
2214         * text3.C: Remove all 'manual' update calls. We do now one per user
2215         interaction which is completely sufficient.
2216
2217         * Bidi.C:
2218         * BufferView.[Ch]:
2219         * BufferView_pimpl.C:
2220         * FontIterator.[Ch]:
2221         * MenuBackend.C:
2222         * ParagraphParameters.[Ch]:
2223         * buffer.C:
2224         * buffer.h:
2225         * bufferlist.C:
2226         * cursor.[Ch]:
2227         * cursor_slice.[Ch]:
2228         * dociterator.[Ch]:
2229         * errorlist.[Ch]:
2230         * factory.C:
2231         * lfuns.h:
2232         * lyxfind.C:
2233         * lyxfunc.C:
2234         * output_docbook.[Ch]:
2235         * output_latex.[Ch]:
2236         * output_linuxdoc.[Ch]:
2237         * output_plaintext.[Ch]:
2238         * paragraph.[Ch]:
2239         * paragraph_funcs.[Ch]:
2240         * paragraph_pimpl.[Ch]:
2241         * rowpainter.C:
2242         * tabular.[Ch]:
2243         * text.C:
2244         * text2.C:
2245         * toc.C:
2246         * undo.[Ch]: adjust
2247
2248         * frontends/controllers/ControlDocument.C:
2249         * frontends/controllers/ControlErrorList.C:
2250         * frontends/controllers/ControlSpellchecker.C:
2251         * insets/inset.C:
2252         * insets/inset.h:
2253         * insets/insetbase.h:
2254         * insets/insetbibitem.C:
2255         * insets/insetbox.C:
2256         * insets/insetbranch.C:
2257         * insets/insetcaption.C:
2258         * insets/insetcharstyle.C:
2259         * insets/insetcharstyle.h:
2260         * insets/insetcollapsable.C:
2261         * insets/insetcollapsable.h:
2262         * insets/insetert.C:
2263         * insets/insetfloat.C:
2264         * insets/insetfoot.C:
2265         * insets/insetmarginal.C:
2266         * insets/insetnote.C:
2267         * insets/insetoptarg.C:
2268         * insets/insettabular.C:
2269         * insets/insettext.C:
2270         * insets/insettext.h:
2271         * insets/insetwrap.C:
2272         * mathed/math_mboxinset.C:
2273         * mathed/math_nestinset.C:
2274         * mathed/math_scriptinset.C:
2275         * mathed/math_scriptinset.h:
2276         * support/types.h:
2277
2278 2004-03-24  Angus Leeming  <leeming@lyx.org>
2279
2280         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2281         deal with any child processes that have finished but are waiting to
2282         communicate this fact to the rest of LyX.
2283
2284 2004-03-24  Angus Leeming  <leeming@lyx.org>
2285
2286         64-bit compile fixes.
2287
2288         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2289         (c-tor): pass lyx::pos_types rather than ints.
2290
2291         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2292         lyx::pos_type.
2293
2294         * text.C (Delete): compile fix.
2295         (getPar): ensure that function declaration is the same as that in
2296         the header file.
2297
2298 2004-03-23  Angus Leeming  <leeming@lyx.org>
2299
2300         * ispell.C (LaunchIspell):
2301         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2302         a boost::shred_ptr rather than a std::auto_ptr.
2303
2304 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2307         handle LFUN_FILE_INSERT_*
2308
2309         * lyxrc.C (setDefaults, getDescription, output, read):
2310         * lyxrc.h: remove ps_command
2311
2312 2004-03-22  Angus Leeming  <leeming@lyx.org>
2313
2314         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2315         Ensure that error_handler is processed once only and that all data
2316         is saved before attempting to output any warning messages.
2317
2318         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2319
2320 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2323
2324 2004-03-19  André Pönitz  <poenitz@gmx.net>
2325
2326         * cursor.[Ch] (reset): take main text inset as argument
2327
2328         * BufferView: adjust
2329         * BufferView_pimpl.C: adjust
2330
2331         * paragraph.[Ch]: fix completely broken operator=()
2332
2333 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2334
2335         * LColor.C (getFromLyXName): make sure that the color name is used
2336         as lowercase.
2337
2338 2004-03-17  Angus Leeming  <leeming@lyx.org>
2339
2340         * lfuns.h:
2341         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2342
2343         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2344         dialog and to kill a forked process.
2345
2346 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2347
2348         * text2.C (setCursorFromCoordinates): fix font problem
2349
2350 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2353         bogus "rebuild cursor" code
2354
2355 2004-03-11  André Pönitz  <poenitz@gmx.net>
2356
2357         * buffer.[Ch]: use InsetText instead of LyXText as container for
2358         the main lyx text.
2359
2360         * dociterator.[Ch]: drop the BufferView * member which is not needed
2361         anymore after the change to buffer.C
2362
2363         * paragraph_funcs.C:
2364         * text.C:
2365         * text2.C:
2366         * BufferView.[Ch]:
2367         * BufferView_pimpl.[Ch]:
2368         * cursor.[Ch]:
2369         * cursor_slice.[Ch]: adjust
2370
2371         * text3.C: fix bug in mathDispatch
2372
2373 2004-03-08  André Pönitz  <poenitz@gmx.net>
2374
2375         * undo.[Ch]: use 'StableDocumentIterator' as base for
2376         the Undo struct.
2377
2378 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2379
2380         * LaTeXFeatures.C:
2381         * bufferparams.[Ch]: add jurabib support and param.
2382
2383         * LaTeX.C: add FIXME/comment.
2384
2385 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2386
2387         * buffer.C: increment file format to 230.
2388
2389 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * cursor.C (dispatch): avoid infinite loops
2392
2393 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * rowpainter.C (paintSelection): fix x coordinates
2396
2397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * text.C (rowBreakPoint): fix breaking before displayed insets
2400
2401 2004-03-01  André Pönitz  <poenitz@gmx.net>
2402
2403         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2404
2405         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2406
2407         * Makefile.am:
2408         * BufferView.C:
2409         * BufferView_pimpl.C:
2410         * buffer.C:
2411         * lyxfind.C:
2412         * lyxfunc.C:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: adjust
2416
2417 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2418
2419         * lyxtext.h:
2420         * text.C:
2421         * text2.C:
2422         * rowpainter.C:
2423         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2424         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2425
2426 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * Bidi.[Ch] (computeTables): const correctness
2429         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2430         fill_hfill, fill_label_hfill and x from Row
2431         * lyxtext.h: prepareToPrint returns a RowMetrics
2432         * rowPainter.C: adjust
2433         * text.C (prepareToPrint): use width, not textWidth. adjust
2434         (redoParagraphInternal, cursorX): adjust
2435         * text2.C (getColumnNearX): adjust
2436         (init): put a default value to the top LyXText::width
2437
2438 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2439
2440         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2441
2442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * lyxtext.h: add FontIterator class
2445
2446         * text.C (FontIterator, operator*, operator->, operator++): add
2447         (rowBreakPoint, setRowWidth): adjust (fixing a
2448         rebreaking bug)
2449
2450 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * BufferView_pimpl.C (workAreaDispatch): allow also
2453         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2454
2455 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * text.C (rowBreakPoint): fix a bug showing with very large insets
2458
2459 2004-02-25  André Pönitz  <poenitz@gmx.net>
2460
2461         * text3.C:
2462         * cursor.[Ch]: move some mathed specific code to mathed
2463
2464 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2465
2466         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2467         use_tempdir in preferences
2468         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2469         tempfile creation
2470         * lyx_main.C: ensure that tempdir is valid
2471         * lyxlex.h: correct typo
2472         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2473         * paragraph.[Ch] (isMultiLingual): make const
2474         * cursor.[Ch] (openable): make const
2475
2476 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2477
2478         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2479
2480 2004-02-20  André Pönitz  <poenitz@gmx.net>
2481
2482         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2483
2484         * cursor.[Ch]: prepare for localized getStatus()
2485
2486         * lyxtext.h:
2487         * tabular.C:
2488         * text.C:
2489         * text2.C:
2490         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2491
2492 2004-02-20  André Pönitz  <poenitz@gmx.net>
2493
2494         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2495
2496 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * text2.C (setCursorFromCoordinates): switch to absolute coords
2499         (cursorUp): adjust
2500         (cursorDown): adjust
2501         * text3.C (dispatch): adjust
2502
2503 2004-02-16  André Pönitz  <poenitz@gmx.net>
2504
2505         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2506           insets/ChangeLog)
2507
2508         * cursor_slice.[Ch]: remove unneeded acessor function
2509
2510         * lyxtext.h: rename rtl() to isRTL()
2511
2512         * rowpainter.C:
2513         * tabular.C:
2514         * text.C:
2515         * text2.C:
2516         * text3.C: adjust
2517
2518 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * rowpainter.C (paintSelection): coord fix
2521
2522 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2523
2524         * Spacing.C: compile fix
2525
2526 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * cursor.C (dispatch): restore current_ before returning
2529
2530 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2531
2532         * text2.C (cursorUp, cursorDown): fix coords
2533         (moveUp): fix crash
2534
2535 2004-02-12  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxtext.h:
2538         * text.C:
2539         * text2.C:
2540         * text3.C: add LCursor & parameter to most cursor movement functions
2541           remove usage of LyXText::cursorRow() and cursorPar()
2542
2543         * cursor.[Ch]: add textRow() needed members
2544
2545         * BufferView.C:
2546         * BufferView_pimpl.C:
2547         * paragraph.[Ch]:
2548         * BufferView.C:
2549         * BufferView_pimpl.C: adjust
2550
2551 2004-02-11  André Pönitz  <poenitz@gmx.net>
2552
2553         * lyxfunc.C:
2554         * BufferView.[Ch]:
2555         * BufferView_pimpl.C: shift undo/redo handling
2556
2557         * cursor.[Ch]: fix mathed crash
2558
2559         * lyxfind.C:
2560         * lyxtext.h: move selectionAsText to LCursor
2561
2562         * output_latex.C:
2563         * paragraph.C:
2564         * text.C:
2565         * text2.C:
2566         * text3.C: adjust
2567
2568         * rowpainter.C: fix excessive drawing
2569
2570 2004-02-06  André Pönitz  <poenitz@gmx.net>
2571
2572         * BufferView.[Ch]:
2573         * BufferView_pimpl.[Ch]:
2574         * text3.C: move some text specific LFUN handling
2575
2576 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * text3.C (checkInsetHit): adjust coords
2579         * text2.C (getColumnNearX): adjust coords
2580         (edit): adjust coords
2581         * text.C (getRowNearY): add two asserts
2582
2583 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2584
2585         * converter.C:
2586         * format.C: add using std::distance to compile on gcc 2.95/stlport
2587
2588 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2589
2590         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2591
2592 2004-02-04  André Pönitz  <poenitz@gmx.net>
2593
2594         * BufferView.[Ch] (insertInset):
2595         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2596
2597         * text2.C:
2598         * text3.C: adjust
2599
2600 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2601
2602         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2603         on the default clause of the switch
2604         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2605         wasn't catched by LCursor::dispatch
2606
2607 2004-02-03  André Pönitz  <poenitz@gmx.net>
2608
2609         * BufferView.C:
2610         * cursor.[Ch]: some additional asserts
2611
2612         * undo.[Ch]: remove LyXText dependency in interface
2613
2614         * lyxfunc.C: adjust
2615
2616         * lyxtext.h (firstPar, lastPar): remove dead functions
2617
2618         * text.C:
2619         * text2.C:
2620         * text3.C:
2621         * paragraph.[Ch]: adjust
2622
2623 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2624
2625         * lyxfind.C (find): fix argument order in call to ::find
2626
2627 2004-02-02  André Pönitz  <poenitz@gmx.net>
2628
2629         * cursor.[Ch]: remove direct access to anchor
2630
2631         * text.C: remove findText() hack
2632
2633 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2634
2635         * iterators.[Ch] (lockPath): remove in favour of...
2636         * BufferView.[Ch] (setCursor): this addition
2637         * BufferView.C (putSelectionAt): adjust
2638         * undo.C (performUndoOrRedo): adjust
2639         * lyxfunc.C (dispatch): adjust
2640
2641 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2642
2643         * iterators.C (lockPath): add a missing slice
2644         * undo.C (performUndoOrRedo): remove redundant positioning code
2645
2646 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2647
2648         * vc-backend.C (scanMaster): ";" -> ';'
2649
2650 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2651
2652         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2653         std::binary_function
2654
2655         * lyxtextclass.C (compare_name): rename to...
2656         (LayoutNamesEqual): ...this
2657
2658         * lyxlex_pimpl.C (compare_tags): inherit from
2659         std::binary_function, put back into anon namespace
2660
2661         * lyxfind.C (MatchString): inherig from std::binary_function
2662         (findChange): use empty() istead of !size()
2663
2664         * format.C (FormatNamesEqual): new functor
2665         (getFormat): use it
2666         (getNumber): use it
2667         (add): use it
2668         (erase): use it
2669         (setViewer): use it
2670
2671         * converter.C (compare_Converter): rename to...
2672         (ConverterEqual): ...this, and fixup a bit.
2673         (getConverter): use it, and make function const
2674         (getNumber): use it, and make function const
2675         (add): use it
2676         (erase): use it:
2677
2678         * bufferlist.C: add using boost::bind
2679
2680         * MenuBackend.C (MenuNamesEqual): new functor
2681         (hasMenu): use it, and make function const
2682         (hasSubmenu): use nested bind to get rid of compare_memfun.
2683
2684 2004-01-30  André Pönitz  <poenitz@gmx.net>
2685
2686         * BufferView_pimpl.C:
2687         * cursor.C:
2688         * cursor.h:
2689         * cursor_slice.[Ch]:
2690         * lyxfunc.C:
2691         * lyxtext.h:
2692         * paragraph_funcs.C:
2693         * paragraph_funcs.h:
2694         * rowpainter.C:
2695         * text.C:
2696         * text2.C:
2697         * text3.C: move some of the edit(x,y) handling to the insets
2698         some coordinate changes.
2699
2700 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2701
2702         * text.C: add using statements for std::advance and std::distance
2703
2704         * paragraph.C: add using statement for std::distance
2705
2706         * lyxfind.C: add using statement for std::advance
2707
2708         * cursor.C (region): remove std:: from swap
2709         (openable): use nucleus in stead of operator->
2710
2711         * BufferView.C: add using statements for std::distance and std::swap
2712
2713 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2714
2715         * iterators.C: Remove the pimple, move the needed structures to
2716         the header file. Create accessor for the positions stack.
2717         (asPosIterator): remove function
2718
2719         * PosIterator.C (PosIterator): move constructors to top of file
2720         (PosIterator): reimplement the constructor taking a ParIterator in
2721         terms of setFrom.
2722         (setFrom): new function
2723         (operator!=): inline it
2724
2725 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2726
2727         * lyxfind.C (replaceAll): use std::advance
2728
2729         * iterators.h: inherit from std::iterator.
2730
2731         * PosIterator.C (advance, distance): remove
2732         * PosIterator.h: interit from std::iterator.
2733
2734 2004-01-26  André Pönitz  <poenitz@gmx.net>
2735
2736         * BufferView.[Ch]:
2737         * BufferView_pimpl.[Ch]:
2738         * InsetList.[Ch]:
2739         * PosIterator.[Ch]:
2740         * buffer.h:
2741         * bufferview_funcs.C:
2742         * cursor.[Ch]:
2743         * cursor_slice.h:
2744         * factory.[Ch]:
2745         * iterators.[Ch]:
2746         * lyxfind.C:
2747         * lyxfunc.C:
2748         * lyxtext.h:
2749         * output_docbook.C:
2750         * output_latex.C:
2751         * output_linuxdoc.C:
2752         * output_plaintext.C:
2753         * paragraph.[Ch]:
2754         * paragraph_funcs.[Ch]:
2755         * paragraph_pimpl.[Ch]:
2756         * rowpainter.C:
2757         * tabular.C:
2758         * tabular.h:
2759         * text.C:
2760         * text2.C:
2761         * text3.C: more IU:  dumps most of the rest of the mathcursor
2762     implementation into cursor.[Ch]; "globalize" a bit of it.
2763
2764 2004-01-25  Angus Leeming  <leeming@lyx.org>
2765
2766         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2767
2768 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2769
2770         * LaTeXFeatures.h: add nice_ and nice() const
2771         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2772
2773 2004-01-20  André Pönitz  <poenitz@gmx.net>
2774
2775         * BufferView.[Ch]:
2776         * BufferView_pimpl.C:
2777         * PosIterator.C:
2778         * bufferview_funcs.C:
2779         * cursor.[Ch]:
2780         * cursor_slice.[Ch]:
2781         * factory.C:
2782         * iterators.C:
2783         * lyx_cb.C:
2784         * lyxfind.C:
2785         * lyxfunc.C:
2786         * lyxtext.h:
2787         * rowpainter.C:
2788         * text.C:
2789         * text2.C:
2790         * text3.C:
2791         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2792           LCursor and mathcursor parts to LCursor and InsetBase.
2793
2794 2004-01-15  André Pönitz  <poenitz@gmx.net>
2795
2796         * cursor_slice.[Ch]: add a few covienience functions
2797
2798         * funcrequest.[Ch]: remove BufferView * member
2799
2800         * BufferView_pimpl.C:
2801         * cursor.C:
2802         * factory.[Ch]:
2803         * lyxfind.[Ch]:
2804         * lyxfunc.C:
2805         * lyxtext.h:
2806         * text3.C:
2807         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2808
2809 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2810
2811         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2812         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2813
2814 2004-01-13  André Pönitz  <poenitz@gmx.net>
2815
2816         * textcursor.[Ch]:
2817         * lyxtext.h: hide cursor and selection anchor behind accessor function
2818
2819         * BufferView.C:
2820         * BufferView_pimpl.[Ch]:
2821         * PosIterator.C:
2822         * bufferview_funcs.C:
2823         * cursor.h:
2824         * lyxfind.C:
2825         * lyxfunc.C:
2826         * text.C:
2827         * text2.C:
2828         * text3.C:
2829         * undo.C: adjust
2830
2831         * cursor.h:
2832         * cursor_slice.[Ch]: some integer type changes for inset unification
2833
2834         * lyxcursor.[hC]: remove, it's CursorSlice now.
2835
2836         * Makefile.am:
2837         * BufferView_pimpl.[Ch]:
2838         * bufferview_funcs.C:
2839         * cursor_slice.C:
2840         * lyxtext.h:
2841         * text.C:
2842         * text2.C:
2843         * text3.C:
2844         * textcursor.[Ch]: adjust
2845
2846 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * text2.C (undoSpan): add and use
2849         * text.C (breakParagraph): use undoSpan (fix bug 578)
2850         * lyxtext.h: adjust
2851
2852 2004-01-08  Angus Leeming  <leeming@lyx.org>
2853
2854         * BufferView_pimpl.C (MenuInsertLyXFile):
2855         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2856         * lyxfunc.C (menuNew, open, doImport):
2857         FileFilterList change to the FileDialog open and save functions.
2858
2859 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2860
2861         * ShareContainer.h: make isEqual and isUnique adaptable
2862
2863         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2864
2865 2004-01-07  Angus Leeming  <leeming@lyx.org>
2866
2867         * LyXAction.C:
2868         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2869
2870         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2871
2872         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2873         functions replacing find, replace and replaceAll.
2874
2875         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2876         LFUN_WORDFIND(FORWARD|BACKWARD).
2877
2878 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2879
2880         * text.C (breakParagraph): remove an outdated #warning
2881
2882 2004-01-07  André Pönitz  <poenitz@gmx.net>
2883
2884         * lyxfind.C: somewhat clearer logic
2885
2886         * text.C: prevent crash in cursorX on unitialized row cache
2887
2888 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2889
2890         * lyxcursor.[Ch] (operator>): add
2891         * textcursor.C (selStart, selEnd): use std::min and std::max
2892
2893 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2894
2895         * Chktex.C: include boost/format.hpp
2896
2897 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2898
2899         * InsetList.C: replace functor MathcIt with adaptable functor
2900         InsetTablePosLess
2901         (insetIterator): modify accordingly
2902
2903         * BranchList.h: move the BranchNamesEqual functor here from...
2904         * BranchList.C: ... to here
2905
2906         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2907         SameName and match.
2908         (add): replace a finding loop with std::find_if.
2909
2910 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2911
2912         * output_docbook.C: moving LatexParam functionality into
2913         .layout files
2914
2915 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2916
2917         * buffer.C: increment format to 229.
2918
2919 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2920
2921         * LaTeXFeatures.C:
2922         * lyx_sty.[Ch]: remove minipageindent_def
2923
2924         * LyXAction.C:
2925         * factory.C:
2926         * lfuns.h:
2927         * lyxfunc.C:
2928         * text3.C: remove LFUN_INSET_MINIPAGE
2929
2930 2003-12-28  Angus Leeming  <leeming@lyx.org>
2931
2932         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2933
2934 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * text2.C (setParagraph): fix off-by-one crash
2937
2938 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2939
2940         * output_docbook.C: header stuff for AGU
2941
2942 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * text2.C (redoCursor): remove
2945         * text.C:
2946         * text3.C:
2947         * BufferView_pimpl.C: remove calls to redoCursor and
2948         setCursor(cursor.par(), cursor.pos()) all around
2949
2950 2003-12-15  Angus Leeming  <leeming@lyx.org>
2951
2952         * buffer.C: up the format to 228.
2953
2954 2003-12-15  André Pönitz  <poenitz@gmx.net>
2955
2956         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2957         slices
2958
2959         * Makefile.am:
2960
2961         * BufferView_pimpl.C:
2962         * cursor.[Ch]:
2963         * lyxcursor.[Ch]:
2964         * rowpainter.[Ch]:
2965         * lyxtext.h:
2966         * text.C:
2967         * text2.C:
2968         * text3.C: adjust
2969
2970 2003-12-15  Angus Leeming  <leeming@lyx.org>
2971
2972         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2973         than getFromGUIName to manipulate the color.
2974
2975 2003-12-14  Angus Leeming  <leeming@lyx.org>
2976
2977         * BranchList.[Ch]: minimize the API.
2978         (Branch::getBranch, getColor): now return a 'const &'.
2979         (Branch::setSelected) now returns a bool set to true if the
2980         selection status changes.
2981         (BranchList::clear, size, getColor, setColor, setSelected,
2982         allBranches, allSelected, separator): removed.
2983         (BranchList::find): new functions, returning the Branch with
2984         the given name.
2985         (BranchList::add, remove): return a bool indicating that
2986         the operation was successful.
2987
2988         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2989         new InsetBranch::isBranchSlected member function.
2990
2991         * LColor.[Ch]: mimimize the API.
2992         (fill): renamed as addColor and made private.
2993         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2994         versions of these functions taking a string arg have been removed.
2995
2996         * bufferparams.C (readToken):
2997         * lyxfunc.C (dispatch):
2998         * lyxrc.C (read): changes due to the altered BranchList and
2999         LColor APIs.
3000
3001         * factory.C (createInset, readInset): changes due to altered
3002         InsetBranch c-tor.
3003
3004 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3005
3006         * factory.C:
3007         * lyxfunc.C: remove insetminipage. "minipage-insert"
3008         now produces a frameless minipage box inset.
3009
3010 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3011
3012         * textcursor.[Ch] (selStart,selEnd): add new methods
3013         remove selection::start, end, use LyXCursor::operator<
3014         * lyxcursor.[Ch] (operator<): add
3015         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3016         * BufferView.[Ch] (unsetXSel): add
3017         * text2.C (clearSelection): use unsetXSel,adjust
3018         * text.C: adjust
3019         * text3.C: adjust
3020         * rowpainter.C: adjust
3021         * bufferview_funcs.C (put_selection_at): adjust
3022
3023 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * BufferView_pimpl.C: small coord. correction
3026
3027 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3030         dragging over the splash screen.
3031
3032 2003-12-11  Angus Leeming  <leeming@lyx.org>
3033
3034         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3035         as it is now handled in LyXText::dispatch.
3036
3037         * text3.C (doInsertInset): remove a level of nesting.
3038
3039 2003-12-11  Angus Leeming  <leeming@lyx.org>
3040
3041         * factory.C (createInset): changes due to the changed interface to
3042         InsetCommandMailer::string2params.
3043
3044 2003-12-10  Angus Leeming  <leeming@lyx.org>
3045
3046         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3047         'dialog-show-new-inset <inset name>'
3048
3049 2003-12-10  Angus Leeming  <leeming@lyx.org>
3050
3051         * buffer.C: up the format to 227.
3052
3053         * factory.C: the box inset is now identified simply by 'Box'.
3054
3055 2003-12-10  Angus Leeming  <leeming@lyx.org>
3056
3057         * buffer.C: up the format to 226.
3058
3059         * factory.C: the note inset is now identified simply by 'Note'.
3060
3061 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3064         when a pit is enough. Standarize a couple of loops.
3065
3066 2003-12-05  Angus Leeming  <leeming@lyx.org>
3067
3068         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3069         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3070         data to the re-worked "log" dialog.
3071
3072 2003-12-03  André Pönitz  <poenitz@gmx.net>
3073
3074         * PosIterator.C:
3075         * iterators.C:
3076         * lyxtext.h:
3077         * output_latex.C:
3078         * paragraph_funcs.C:
3079         * text.C:
3080         * text2.C: use Inset::getText instead of Inset::getParagraph
3081
3082 2003-12-03  André Pönitz  <poenitz@gmx.net>
3083
3084         * buffer.[Ch]:
3085         * lyxtext.h:
3086         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3087         InsetText::read() as LyXText::read()
3088
3089 2003-12-02  Angus Leeming  <leeming@lyx.org>
3090
3091         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3092         type. Add a comment in the implementation that the function uses
3093         the stream's bad() function rather than fail() as the std::streams
3094         would do.
3095
3096 2003-12-02  André Pönitz  <poenitz@gmx.net>
3097
3098         * lyxlex.[Ch]: make interface more similar to std::stream
3099
3100         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3101
3102 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3103
3104         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3105
3106 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3107
3108         * vspace.[Ch]: remove VSpace::NONE
3109
3110 2003-12-01  André Pönitz  <poenitz@gmx.net>
3111
3112         * buffer.[Ch]:
3113         * lyxtext.h: move ParagraphList member to LyXText
3114         rename LyXText::ownerParagraphs to LyXText::paragraph
3115
3116         * CutAndPaste.C:
3117         * bufferview_funcs.C:
3118         * iterators.[Ch]:
3119         * lyx_cb.C:
3120         * paragraph.C:
3121         * rowpainter.C:
3122         * tabular.C:
3123         * text.C:
3124         * text2.C:
3125         * text3.C: adjust
3126
3127         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3128
3129         * undo.C: fix cursor positioning
3130
3131 2003-12-01  John Levon  <levon@movementarian.org>
3132
3133         * BufferView_pimpl.C: fix a crash on exit with
3134         a buffer open
3135
3136 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3137
3138         * BranchList.C: fix setSelected() method.
3139
3140 2003-11-28  André Pönitz  <poenitz@gmx.net>
3141
3142         * ParagraphParameters.[Ch]:
3143         * ParameterStruct.h: remove space above/below from Paragraph to
3144          InsetVSpace
3145
3146         * BufferView_pimpl.C:
3147         * factory.C:
3148         * lyxfunc.C:
3149         * lyxtext.h:
3150         * output_latex.C:
3151         * paragraph.C:
3152         * paragraph_funcs.C:
3153         * rowpainter.[Ch]:
3154         * text.C:
3155         * text2.C:
3156         * text3.C: adjust
3157
3158 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3159
3160         * factory.C: Syntax change for CharStyles
3161
3162 2003-11-28  André Pönitz  <poenitz@gmx.net>
3163
3164         * BufferView.[Ch]:
3165         * BufferView.[Ch]:
3166         * buffer.[Ch]:
3167         * buffer.[Ch]: move LyXText member
3168
3169 2003-11-28  André Pönitz  <poenitz@gmx.net>
3170
3171         * BufferView.[Ch]: make LyXText * text a private member
3172
3173         * BufferView_pimpl.C:
3174         * cursor.C:
3175         * iterators.C:
3176         * lyx_cb.C:
3177         * lyxfind.C:
3178         * lyxtext.h:
3179         * rowpainter.[Ch]:
3180         * text.C:
3181         * text2.C:
3182         * undo.C: adjust
3183
3184         * output_plaintext.C: cleanup
3185
3186 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3187
3188         * buffer.C:
3189         * lyxtextclass.[Ch]: parametrize SGML document header
3190
3191 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3192
3193         * converter.[Ch]:
3194         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3195         getFlavor().
3196
3197 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * text2.C (setFont): rework using PosIterator (no more recursive)
3200         (setCharFont): no more needed
3201         (setLayout): no more selection cursors fiddling (done by redoCursor)
3202         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3203         destroy remaining ones)
3204
3205 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3206
3207         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3208         * lyxtext.h: ditto
3209         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3210         selection cursors
3211         * lyxfunc.C: adjust
3212         * text3.C: adjust + re-allow multi par depth changes
3213         * textcursor.C: simplify a bit
3214
3215 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3216
3217         * src/buffer.C:
3218         * src/lyxlayout.C:
3219         * src/lyxlayout.h:
3220         * src/lyxtext.h:
3221         * src/output_docbook.C:
3222         * src/output_latex.C:
3223         * src/paragraph.C:
3224         * src/paragraph.h:
3225         * src/sgml.C:
3226         * src/sgml.h:
3227         * src/text2.C: Introducing a number of tags parametrizing various
3228         XML formats that we may want to support
3229
3230 2003-11-25  André Pönitz  <poenitz@gmx.net>
3231
3232         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3233
3234         * lyxtext.h (leftMargin/rightMargin): simplify interface
3235
3236         * rowpainter.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: adjust
3240
3241 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3242
3243         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3244         master file to any child files. Fixes bug 546.
3245
3246 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3249
3250 2003-11-24  André Pönitz  <poenitz@gmx.net>
3251
3252         * rowpainter.C: simplification
3253
3254         * text2.C (updateCounters): remove call to redoParagraph on
3255         changed labels as this is far too expensive.
3256
3257 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3258
3259         * converter.C (convert): fix a crash: this function gets
3260         called with buffer == 0 from importer code.
3261
3262 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3263
3264         * text3.C (cursorPrevious): make sure that we do not compare
3265         iterators form different containers.
3266         (cursorNext): ditto
3267
3268         * rowpainter.C (paintSelection): make sure that we do not compare
3269         iterators from different containers.
3270
3271         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3272         iterators from different ParagraphList containers.
3273         [NEXT] ditto
3274
3275         * text2.C (LyXText): change order of initialization slightly
3276         (operator=): new function. copy all variables except cache_par_
3277         (moveUp): make sure that we do not compare iterators from
3278         different ParagraphList constainers.
3279         (moveDown): ditto
3280
3281         * text.C (firstPar): new function
3282         (lastPar): new function
3283         (endPar): new function
3284
3285         * lyxtext.h: move things around and group public functions, public
3286         variables, private functions, private variables
3287
3288 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3289
3290         * factory.C: change call to InsetERT constructor to avoid
3291         additional invocation of method status
3292         * text2.C (toggleInset): remove redundant update() call
3293         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3294         instead of a Bufferview pointer
3295
3296 2003-11-21  André Pönitz  <poenitz@gmx.net>
3297
3298         * rowpainter.C: simplification
3299
3300 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * text3.C (dispatch): make possible to extend a word/row selection
3303         with the mouse
3304
3305 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * lyxtext.h: x0_,y0_ -> xo_,yo_
3308         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3309         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3310         * rowpainter.C (paintRows): paint full paragraphs
3311
3312 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3315         screen coordinates)
3316
3317 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * lyxtext.h: add x0_, y0_
3320         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3321         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3322
3323 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3324
3325         * text2.C (setCursorIntern): move the x_target update here *
3326         * text3.C: change some bv() to true/false in calls to
3327         cursorUp/Down/Right/Left
3328         * cursor.C: use helper function.
3329
3330 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3333         * paragraph_funcs.[Ch]: correct comment
3334         * rowpainter.C: do not paint selections away from bv->cursor()
3335         Fix a long standing selection painting bug.
3336         * text3.C: generalize mouse-selection code to LyXTexts other that
3337         top one
3338         * textcursor.C: do not use y coords if we can use par offsets
3339
3340 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3341
3342         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3343         cursor position after e.g. inset insert)
3344
3345 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3346
3347         * lyxfind.C (replace): adjust to locking removal + some
3348         code simplification
3349
3350 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3353         of the path
3354
3355 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * lyxlayout.[Ch]:
3358         * output_docbook.C: XML sanitation: new layout
3359         parameters InnerTag and CommandDepth
3360
3361 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3362
3363         * BufferView_pimpl.C:
3364         * factory.C:
3365         * text3.C: Fix the insertion and modification of button-style
3366         insets
3367
3368 2003-11-13  André Pönitz  <poenitz@gmx.net>
3369
3370         * InsetList.[Ch]: remove deleteLyXText
3371
3372         * paragraph.[Ch]: cache beginOfBody position
3373
3374         * Bidi.C:
3375         * text.C:
3376         * text2.C:
3377         * text3.C: remove superfluous update() calls
3378
3379         * vspace.C: cleanup
3380
3381 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3382
3383         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3384         * BufferView.C (fitLockedInsetCursor): remove
3385         * cursor.[Ch] (getDim): add
3386         * text.C (getRowNearY): add faster version
3387         * text3.C: remove some update calls
3388
3389 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3390
3391         * LaTeXFeatures.C:
3392         * LyXAction.C:
3393         * MenuBackend.C:
3394         * MenuBackend.h:
3395         * dispatchresult.h:
3396         * factory.C:
3397         * lfuns.h:
3398         * lyxfunc.C:
3399         * lyxtextclass.C:
3400         * lyxtextclass.h:
3401         * text3.C: The Character Style /XML short element patch.
3402
3403 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3404
3405         * text3.C:
3406         * factory.C: Small step to solving 'unable to insert some insets'
3407         problem
3408
3409 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3410
3411         * cursor.[Ch] (updatePos): new function for updating the y
3412         position of the tip inset
3413         * bufferview_funcs.C (put_selection_at):
3414         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3415
3416 2003-11-11  André Pönitz  <poenitz@gmx.net>
3417
3418         * text.C: remove big comment on invalid Paragraph pointers as it is
3419         not valid anymore
3420
3421 2003-11-11  André Pönitz  <poenitz@gmx.net>
3422
3423         * text_funcs.[Ch]: merge with ...
3424
3425         * text.C: ... this
3426
3427         * lyxtext.h:
3428         * text2.C:
3429         * text3.C: adjust
3430
3431         * Makefile.am: remove text_funcs.[Ch]
3432
3433 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3434
3435         * cursor.C (getPos): return absolute cached y coord
3436
3437         * BufferView_pimpl.C (fitCursor): new simplistic code
3438         (workAreaDispatch): add a fitCursor call
3439
3440 2003-11-10  André Pönitz  <poenitz@gmx.net>
3441
3442         * BufferView.[Ch]:
3443         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3444
3445 2003-11-10  André Pönitz  <poenitz@gmx.net>
3446
3447         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3448         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3449         indicate that the cursor needs to leave an inset
3450
3451         * lyxtext.h: remove inset locking
3452
3453         * cursor.[Ch]: re-implement functionality provided by inset locking
3454
3455         * BufferView.[Ch]:
3456         * BufferView_pimpl.[Ch]:
3457         * LyXAction.C:
3458         * bufferview_funcs.[Ch]:
3459         * factory.C:
3460         * funcrequest.[Ch]:
3461         * iterators.C:
3462         * lyx_cb.C:
3463         * lyxfind.C:
3464         * lyxfunc.C:
3465         * text.C:
3466         * text2.C:
3467         * text3.C:
3468         * undo.C: adjust
3469
3470 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * PosIterator.[Ch]: replace the stack with a vector, add inset
3473         accesor
3474         * iterators.[C]: adjust
3475
3476 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3479         replaced
3480         * paragraph_funcs.C (readParToken): put the correct id in the
3481         error item, not the id of the top paragraph
3482
3483 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3486         * bufferview_funcs.C (put_selection_at): use the above
3487
3488 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3489
3490         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3491
3492 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3493
3494         * output_linuxdoc.h:
3495         * output_plaintext.h:
3496         * output.h:
3497         * output_docbook.h: add #include statements
3498
3499 2003-11-05  José Matos  <jamatos@lyx.org>
3500
3501         * output_docbook.[Ch]:
3502         * output_latex.[Ch]:
3503         * output_linuxdoc.[Ch]:
3504         * output_plaintext.[Ch]: New files for output formats.
3505         * output.[Ch]: New file for helper functions.
3506
3507         * buffer.[Ch]:
3508         * paragraph_funcs.[Ch]: output functions moved to new files.
3509
3510         * outputparams.h: rename of latexrunparams.h
3511
3512         * LaTeX.[Ch]:
3513         * buffer.[Ch]:
3514         * bufferlist.[Ch]:
3515         * converter.[Ch]:
3516         * exporter.C:
3517         * paragraph.[Ch]:
3518         * paragraph_funcs.[Ch]:
3519         * paragraph_pimpl.[Ch]:
3520         * tabular.[Ch]: rename ascii to plaintext
3521         and LatexRunParams to OutputParams.
3522
3523 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3524
3525         * iterators.[Ch] (text): require bv argument
3526         * undo.C (recordUndo):
3527         * lyxfunc.C (dispatch):
3528         * bufferview_funcs.C (put_selection_at): adjust
3529
3530 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3531
3532         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3533
3534 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3537         nestings
3538
3539 2003-11-04  André Pönitz  <poenitz@gmx.net>
3540
3541         * cursor.[Ch]: restructure
3542
3543         * BufferView.[Ch]:
3544         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3545
3546         * iterators.[Ch] (asCursor): remove
3547
3548         * lfuns.h: remove LFUN_INSET_EDIT
3549
3550         * lyxfunc.C:
3551         * tabular.C:
3552         * text.C:
3553         * text2.C:
3554         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3555
3556 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3557
3558         * lyxfind.[Ch]: complete overhaul
3559         * BufferView_pimpl.C:
3560         * lyxfunc.C: adjust
3561         * paragraph.[Ch] (insert): add
3562
3563 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * BufferView.[Ch]:
3566         * lyxtext.h:
3567         * text.C: remove dead spellcheck code
3568
3569 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * dispatchresult.h: add a val setter
3572
3573         * cursor.C (dispatch): use a tempvar for data_[i]
3574
3575 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3576
3577         * PosIterator.[Ch]: compile fix
3578
3579 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * text.C (cursorPar): deactivate the cursor cache
3582
3583 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3586
3587 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * text3.C (dispatch): adjust for new DisptchResult semantics.
3590
3591         * lyxfunc.C (dispatch): handle update when return from
3592         Cursor::dispatch, adjust for new DispatchResult semantics.
3593
3594         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3595         DispatchResult(true) mean to not update. Add class functions for
3596         setting dispatched and update, as well as reading.
3597
3598         * cursor.C (dispatch): don't handle update here
3599
3600 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3603         * trans_mgr.C: adjust
3604
3605         * paragraph_funcs.C (readParToken): exception safety
3606
3607         * lyxvc.h: store the vcs pointer in a scoped_ptr
3608         * lyxvc.C: adjust
3609
3610         * lyxsocket.C (serverCallback): exception safety
3611
3612         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3613
3614         * ispell.C (clone): make it return a auto_ptr
3615
3616         * factory.C (createInset): exception safety
3617         (readInset): exception safety
3618
3619         * bufferlist.C (newBuffer): exception safety
3620
3621         * Thesaurus.C (Thesaurus): use initialization for aik_
3622
3623         * MenuBackend.C (expandToc): exception safety.
3624
3625 2003-11-03  André Pönitz  <poenitz@gmx.net>
3626
3627         * buffer.C:
3628         * buffer.h:
3629         * bufferview_funcs.C: remove getInsetFromId()
3630
3631         * lyxcursor.[Ch]:
3632         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3633
3634         * lyxfunc.C:
3635         * text2.C:
3636         * text3.C: adjust
3637
3638 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * PosIterator.C (distance, advance): new
3641         * bufferview_funcs.[Ch] (put_selection_at): new
3642         * iterators.[Ch] (lockPath): new
3643
3644 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * iterators.[Ch] (asPosIterator): added
3647         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3648         * PosIterator.[Ch]: added
3649
3650 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * text3.C:
3653         * lyxfunc.C:
3654         * cursor.C (dispatch):
3655         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3656
3657         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3658         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3659         contructor, add a class function dispatched. Remove operator>=
3660
3661 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * debug.C: only use the default constructor for debugstream
3664         (lyxerr) here.
3665
3666         * main.C (main): include debug.h and setup the lyxerr streambuf
3667         here.
3668
3669 2003-10-31  José Matos  <jamatos@lyx.org>
3670
3671         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3672
3673         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3674         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3675         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3676         * paragraph_pimpl.C (simpleTeXSpecialC):
3677         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3678         add LatexRunParams argument.
3679
3680         * exporter.C (Export): change call accordingly.
3681
3682         * latexrunparams.h: add new member to take care of the other backends.
3683 2003-10-30  José Matos  <jamatos@lyx.org>
3684
3685         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3686         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3687         factorise code for paragraph output.
3688         * buffer.[Ch]:
3689         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3690         move functions.
3691
3692 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * text3.C (dispatch):
3695         * lyxfunc.C (dispatch):
3696         * cursor.C (dispatch):
3697         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3698
3699         * dispatchresult.h: make the dispatch_result_t ctor explicit
3700
3701 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3702
3703         * sgml.[Ch]:
3704         * buffer.C: small refactoring of docbook stuff
3705
3706 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3709         meaning.
3710
3711 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3714         operator dispatch_result_t, and operators for == != and >=
3715
3716         * cursor.C (dispatch): adjust for operator dispatch_result_t
3717         removal. comment out call to update
3718
3719         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3720
3721 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * text3.C:
3724         * text2.C:
3725         * text.C:
3726         * lyxtext.h:
3727         * lyxfunc.C:
3728         * cursor.C:
3729         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3730         (dispatch):
3731
3732         * dispatchresult.h: new file, DispatchResult broken out of
3733         insets/insetbase.h
3734
3735         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3736
3737 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * text.C (rowBreakPoint): put a hack inside #if 0
3740
3741 2003-10-28  André Pönitz  <poenitz@gmx.net>
3742
3743         * lyxtext.h:
3744         * metricsinfo.C:
3745         * paragraph_funcs.C:
3746         * rowpainter.C:
3747         * text.C:
3748         * text2.C: general cleanup (lots of small stuff)
3749
3750 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3751
3752         * text2.C (cursorEnd): simple fix to the "end key goes to one
3753         before the end on last row" bug
3754
3755 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * text.C (backspace): fix the "zombie characters"
3758
3759 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3760
3761         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3762
3763 2003-10-27  André Pönitz  <poenitz@gmx.net>
3764
3765         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3766
3767         * factory.C: handle new InsetPagebreak, InsetLine
3768
3769         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3770         and move handling into new InsetPagebreak, InsetLine
3771
3772         * BufferView_pimpl.C:
3773         * LyXAction.C:
3774         * ParagraphParameters.C:
3775         * ParameterStruct.h:
3776         * lyxfunc.C:
3777         * lyxtext.h:
3778         * paragraph.C:
3779         * paragraph.h:
3780         * paragraph_funcs.C:
3781         * paragraph_pimpl.C:
3782         * rowpainter.C:
3783         * text.C:
3784         * text2.C:
3785         * text3.C: adjust
3786
3787 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * text.C:
3790         * lyxrow_funcs.[Ch]:
3791         * Bidi.C:
3792         * paragraph.C:
3793         * lyxtext.h:
3794         * rowpainter.C:
3795         * text2.C:
3796         * text3.C: remove lastPos uses in favour of Row::endpos
3797
3798 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3799
3800         * undo.C (performUndoOrRedo): fix two crashes by setting a
3801         cursor by hand and reordering some calls. Use bv->lockInset instead
3802         of inset->edit because the latter loses cursor information
3803
3804 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3807         by Martin
3808         (rowBreakPoint): fix width. change point to point + 1.
3809         Add a missing check.
3810
3811 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3812
3813         * MenuBackend.C:
3814         * lyxfunc.C: fix (at least partly) the problems
3815         with the Nav menu and headers inside branch insets
3816         reported by Kayvan
3817
3818 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3819
3820         * paragraph.C (getChar): add strong asserts
3821
3822         * lyxrow_funcs.C (lastPos): remove hideous hack
3823
3824         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3825         (fill): adjust to that (avoid an infinite loop)
3826
3827 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3828
3829         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3830
3831 2003-10-23  André Pönitz  <poenitz@gmx.net>
3832
3833         * RowList_fwd.h: change list<> to vector<> to gain speed
3834         after suggestion from Alfredo
3835
3836 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3837
3838         * lyxtext.h: move the bidi stuff from here...
3839         * text.C: and here
3840         * text2.C: and here
3841         * Bidi.[Ch]: ... to here
3842
3843 2003-10-23  André Pönitz  <poenitz@gmx.net>
3844
3845         * lyxtext.h:
3846         * text.C (isLastRow, isFirstRow): new functions
3847
3848         * paragraph.h: new width cache member
3849
3850         * rowpainter.C: replace RowList::iterator with Row & where possible
3851
3852         * lyxfunc.C: replace several view()->text with a single call
3853
3854         * toc.C: fix 'unused' warning
3855
3856 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3859         when woring with stream::pos_type
3860         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3861
3862 2003-10-22  André Pönitz  <poenitz@gmx.net>
3863
3864         * lyxtext.h:
3865         * text.C: use Row & instead of RowList::iterator
3866
3867         * lyxrow.h: rename end() to endpos()
3868
3869         * rowpainter.C:
3870         * text.C:
3871         * text2.C: adjust
3872
3873 2003-10-22  Angus Leeming  <leeming@lyx.org>
3874
3875         * buffer.[Ch] (fully_loaded): new member function, returning true
3876         only when the file has been loaded fully.
3877         Used to prevent the premature generation of previews and by the
3878         citation inset to prevent computation of the natbib-style label.
3879
3880         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3881         templates are all set up.
3882
3883         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3884
3885 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3886
3887         * text.C: fixed an "oops" in the "is a bit silly"
3888         bug fix
3889
3890 2003-10-21  André Pönitz  <poenitz@gmx.net>
3891
3892         * FuncStatus.[Ch]: small stuff, whitespace
3893
3894         * lyxfont.[Ch]: operator<<() for debug reasons
3895
3896         * lyxfunc.C:
3897         * lyxrow_funcs.C:
3898         * lyxtext.h: whitespace, spelling
3899
3900         * paragraph.C: naming of variables
3901
3902         * text.C:
3903         * text2.C: small stuff
3904
3905
3906 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * text.C: (1) finish off the inset display() work;
3909         (2) fix the "is a bit silly" bug (accessing char
3910         past end of par).
3911
3912 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3913
3914         * text.C: re-introduce display() for insets, fixing the
3915         various bugs (stretch of line above, math inset
3916         positioning, ...)
3917
3918 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3919
3920         * text.C (rightMargin): remove spurious semicolon
3921
3922         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3923         1415)
3924
3925 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3926
3927         * text3.C: fix one crash due to wrong cursor def
3928
3929 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * vc-backend.C (scanMaster): make the regex static
3932
3933         * LaTeX.C (scanAuxFile): make the regexs static
3934
3935         * text3.C (doInsertInset, dispatch, dispatch):
3936         * text2.C (cursorUp, cursorDown):
3937         * text.C (selectNextWordToSpellcheck):
3938         * BufferView_pimpl.C (dispatch):
3939         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3940
3941 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3942
3943         * lyxsocket.C: include <cerrno>
3944
3945 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * lyxfunc.C (dispatch): remove textcache stuff
3948
3949         * bufferlist.C (release): remove textcache stuff
3950         (closeAll): ditto
3951
3952         * TextCache.C: delete file
3953         * TextCache.h: delete file
3954
3955         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3956
3957         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3958         delete of the bv_->text.
3959         (resizeCurrentBuffer): remove texcache stuff
3960         (workAreaResize): ditto
3961
3962 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3965         action.
3966
3967 2003-10-16  André Pönitz  <poenitz@gmx.net>
3968
3969         * lyxrow.[Ch]:
3970         * paragraph.h:
3971         * rowpainter.C:
3972         * text.C:
3973         * text2.C:
3974         * text3.C: speed up by storing y positions per paragraph plus per-row
3975         offset instead of having a 'full' y position in the row.
3976
3977 2003-10-15  André Pönitz  <poenitz@gmx.net>
3978
3979         * iterators.[Ch]:
3980         * iterators.[Ch]:
3981         * undo.[Ch]: make undo aware of inner insets
3982
3983 2003-10-14  Angus Leeming  <leeming@lyx.org>
3984
3985         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3986         static member functions LyX::ref() and LyX::cref.
3987         (lastfiles): new accessor functions for the new lastfiles_ member var.
3988         (addLyXView, views_): add a new LyXView to the list of views_.
3989         (updateInset): loop over all LyXViews to call their own updateInset
3990         member function, returning a pointer to the Buffer owning the inset.
3991
3992         * BufferView_pimpl.C (loadLyXFile):
3993         * MenuBackend.C (expandLastfiles):
3994         * bufferlist.C (MenuWrite, QuitLyX):
3995         lastfiles is no longer a global variable.
3996         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3997
3998         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3999         static function. Access through LyX::cref().emergencyCleanup().
4000
4001 2003-10-14  André Pönitz  <poenitz@gmx.net>
4002
4003         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4004
4005         * undo.[Ch]: restoring part of 'undo in insets'
4006
4007         * Makefile.am:
4008         * undo_funcs.[Ch]: merge with undo.[Ch]
4009
4010         * tabular.C: small cleansing stuff
4011
4012 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4013
4014         * paragraph_funcs.C (readParToken): report unknown insets as error
4015         boxes. Use the outer paragraph as location (also for unknown
4016         tokens).
4017
4018         * factory.C (readInset): do not abort on reading an unknown inset.
4019         Eat it and return 0.
4020
4021 2003-10-13  Angus Leeming  <leeming@lyx.org>
4022
4023         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4024
4025         * lyxrc.C: displayTranslator is now a function,
4026         declared in GraphicsTypes.h.
4027
4028 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4029
4030         * format.C: new placeholder $$a to pass the socket address.
4031
4032         * bufferlist.[Ch]: new function getBufferFromTmp.
4033
4034         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4035           files in the temporary dir.
4036
4037 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4038
4039         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4040
4041         * Makefile.am: add lyxsocket.[Ch].
4042
4043         * lyx_main.C (error_handler): handle SIGPIPE.
4044
4045 2003-10-13  André Pönitz  <poenitz@gmx.net>
4046
4047         * BufferView_pimpl.C:
4048         * lyxtext.h:
4049         * text.C:
4050         * text2.C:
4051         * text3.C:
4052         * undo_funcs.[Ch]: use paroffset_type instead of
4053           ParagraphList::iterators to prevent multiple conversion
4054           (and get a more robust interface)
4055
4056 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4059         * lyxtext.h: ditto
4060         * text3.C (dispatch): ditto
4061
4062 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4065         move the onlyfile, use onlyfile instead of foundfile in a couple
4066         of places.
4067
4068         * DepTable.C (update): flush the error stream a bit more
4069
4070 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * lyxserver.C (callback): adjust
4073
4074         * lyxfunc.C (getStatus): add a missing brace in commented code
4075         (ensureBufferClean): reindent
4076         (dispatch): delete version taking a string
4077
4078 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4079
4080         * LaTeX.C (deplog): move found file handlig from here...
4081         (handleFoundFile): .. to new function here.
4082         (deplog): make sure to discover several files mentioned on the
4083         same log line.
4084
4085 2003-10-10  André Pönitz  <poenitz@gmx.net>
4086
4087         * lyxfunc.C:
4088         * lyxtext.h:
4089         * tabular.C:
4090         * text.C:
4091         * text2.C:
4092         * text3.C: fix some of the tabular crashes
4093
4094 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4095
4096         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4097
4098         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4099
4100 2003-10-09  André Pönitz  <poenitz@gmx.net>
4101
4102         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4103
4104         * BufferView.C:
4105         * BufferView_pimpl.C:
4106         * bufferview_funcs.C:
4107         * lyx_cb.C:
4108         * lyxcursor.C:
4109         * lyxfind.C:
4110         * lyxfunc.C:
4111         * lyxtext.h:
4112         * text.C:
4113         * text2.C:
4114         * text3.C:
4115         * text_funcs.[Ch]:
4116         * textcursor.[Ch]:
4117         * undo_funcs.C: adjust
4118
4119 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * text2.C (incrementItemDepth): new function, use a backtracking
4122         algorithm to discover the correct item depth.
4123         (resetEnumCounterIfNeeded): new function, use a backtracking
4124         algorithm to discover if counter reset is needed.
4125         (setCounter): use them. Simplify a bit. Add different labels for
4126         different item depths for itemize.
4127
4128         * paragraph.C (Paragraph): remove initialization of enumdepth
4129         (operator=): ditto
4130
4131         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4132         enumerate and itemize. Change the type of itemdepth to signed char.
4133
4134 2003-10-08  André Pönitz  <poenitz@gmx.net>
4135
4136         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4137           thing assignable.
4138         * text.C:
4139         * text2.C: adjust
4140
4141         * tabular.[Ch]: fix crash after 'row-insert'
4142
4143 2003-10-08  Angus Leeming  <leeming@lyx.org>
4144
4145         Fix doxygen warnings.
4146
4147         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4148         Remove CutAndPaste:: prefix from header file declaration.
4149
4150         * LColor.h (fill): remove LColor:: prefix from declaration.
4151
4152         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4153         use lyx::depth_type rather than Paragraph::depth_type so that
4154         header file and .C file match.
4155
4156         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4157
4158         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4159         * aspell.C: \file aspell_local.C -> \file aspell.C
4160         * gettext.C: \file gettext.C -> \file src/gettext.C
4161         * gettext.h: \file gettext.h -> \file src/gettext.h
4162         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4163         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4164         * text.C: \file text.C -> \file src/text.C
4165
4166         * toc.C: move comment so that doxygen is not confused.
4167
4168 2003-10-07  Angus Leeming  <leeming@lyx.org>
4169
4170         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4171
4172 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4173
4174         * aspell.C:
4175         * aspell_local.h: add forgotten std::string's.
4176
4177 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4178
4179         * LaTeXFeatures.C:
4180         * LyXAction.C:
4181         * factory.C:
4182         * lfuns.h:
4183         * lyxfunc.C:
4184         * text3.C: The Box patch. Fancybox support, minipage, parbox
4185
4186 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4187
4188         * CutAndPaste.h:
4189         * DepTable.h:
4190         * FloatList.h:
4191         * LaTeXFeatures.h:
4192         * ParagraphParameters.h:
4193         * TextCache.h:
4194         * Thesaurus.h:
4195         * bufferlist.h:
4196         * exporter.h:
4197         * importer.h:
4198         * lastfiles.h:
4199         * lyxfind.h:
4200         * lyxfont.h:
4201         * lyxlex.h:
4202         * lyxtextclasslist.h:
4203         * messages.h:
4204         * paragraph.h:
4205         * paragraph_pimpl.C:
4206         * textcursor.h: add <string> and other small fixes to make Lars'
4207         std::string patch compile with STLport.
4208
4209 2003-10-06  Angus Leeming  <leeming@lyx.org>
4210
4211         * LColor.h: Add missing #include <string>.
4212
4213 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * All most all file in all subdirs: Make <string> be the prefered
4216         way of getting to std::string, add using declarations.
4217
4218 2003-10-06  André Pönitz  <poenitz@gmx.net>
4219
4220         * metricsinfo.C: initialize LyXFont before changing attribute.
4221         (fixes the 'math in \emph is upright' bug)
4222
4223 2003-10-06  André Pönitz  <poenitz@gmx.net>
4224
4225         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4226
4227 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * graph.C:
4230         * paragraph_pimpl.C: Small fixes to build using STLport
4231
4232 2003-10-02  André Pönitz  <poenitz@gmx.net>
4233
4234         * lyxfunc.C:
4235         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4236
4237 2003-10-01  André Pönitz  <poenitz@gmx.net>
4238
4239         * factory.C: assert early
4240
4241 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * lyx_main.C: remove the global debug object
4244
4245         * debug.h: adjust for new debugstream
4246
4247         * debug.C: adjust for new debugstream and keep the global debug
4248         object here.
4249
4250 2003-09-22  Angus Leeming  <leeming@lyx.org>
4251
4252         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4253         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4254         an incomplete class LyXFont.
4255
4256 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4257
4258         * factory.C: bug fix in branches
4259
4260 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * lyxfunc.C (processKeySym): adjust
4263         (dispatch): adjust
4264         (dispatch): change arg name from ev to func, adjust
4265         (sendDispatchMessage): ditto
4266
4267         * lyx_main.C (defaultKeyBindings): adjust keybindings
4268         (deadKeyBindings): ditto
4269
4270         * kbsequence.C (addkey): return a FuncRequest
4271
4272         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4273
4274         * kbmap.C (bind): take a FuncRequest as arg, adjust
4275         (read): adjust
4276         (lookup): adjust
4277         (defkey): change to take a FuncRequest as arg, adjust
4278         (findbinding): take a FuncRequest as arg, adjust.
4279
4280         * funcrequest.h (operator=): added
4281
4282         * funcrequest.C (FuncRequest): default kb_action changed from
4283         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4284
4285         * buffer.C (dispatch): simplify
4286         (dispatch): adjust to take a FuncRequest as arg, adjust
4287
4288         * boost.C (assertion_failed): change assertion message slightly
4289
4290         * ToolbarBackend.C (read): simplify
4291
4292         * MenuBackend.C (binding): adjust call to findbinding, add a
4293         message if no binding is found.
4294         (read): simplify
4295         (expandToc): correct by adding a empty FuncRequest
4296
4297         * LyXAction.C: include <boost/assert.hpp>
4298         (isPseudoAction): delete function
4299         (LookupFunc): change name to...
4300         (lookupFunc): this. change return type to FuncRequest.
4301         (getActionName): take kb_action as arg, simplify
4302         (funcHasFlag): add an assert, simplify.
4303
4304 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * toc.C (action): return a FuncRequest, simplify
4307
4308         * lyxfunc.C (processKeySym): adjust
4309         (getStatus): delete version that takes an int.
4310         (getStatus): adjust
4311         (dispatch): delete version that takes action as int
4312         (dispatch): adjust
4313         (sendDispatchMessage): simplify and adjust
4314
4315         * funcrequest.C (getArg): take unsigned int as arg
4316
4317         * ToolbarBackend.C (read): adjust
4318         (add): delete version that takes func as a string.
4319         (getIton): take a FuncRequest as arg
4320
4321         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4322         action.
4323
4324         * MenuBackend.C (MenuItem): add a new construct that only takes a
4325         Kind, simplify the constructor use for submenus.
4326         (add): adjust
4327         (expandLastfiles): adjust
4328         (expandDocuments): adjust
4329         (expandFormats): adjust
4330         (expandFloatListInsert): adjust
4331         (expandFloatInsert): adjust
4332         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4333
4334         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4335         Remove class variables lyx_pseudo_map and lyx_arg_map
4336
4337         * LyXAction.C (searchActionArg): delete function
4338         (getPseudoAction): delete function
4339         (retrieveActionArg): delete function
4340         (LookupFunc): make it return kb_action, simplify.
4341         (getActionName): simplify
4342
4343         * factory.C (createInset): fix new bug
4344
4345 2003-09-19  Angus Leeming  <leeming@lyx.org>
4346
4347         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4348         masterFilename_ parameter in the include inset.
4349
4350         * factory.C (createInset): changes due to the changes to InsetInclude.
4351
4352 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4353
4354         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4355
4356 2003-09-18  Angus Leeming  <leeming@lyx.org>
4357
4358         * buffer.C:
4359         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4360         Inset::fillWithBibKeys.
4361         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4362
4363 2003-09-18  Angus Leeming  <leeming@lyx.org>
4364
4365         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4366         variables.
4367         (ctor): pass and store a 'Buffer const &'
4368         (buffer): new member function.
4369
4370         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4371         '*this' to the LaTeXFeatures ctor.
4372
4373 2003-09-18  Angus Leeming  <leeming@lyx.org>
4374
4375         * LColor.h:
4376         * lyxfont.C:
4377         * lyxfont.h:
4378         * lyxtext.h:
4379         * text.C: rename EnumLColor as LColor_color.
4380
4381 2003-09-18  Angus Leeming  <leeming@lyx.org>
4382
4383         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4384         remove #include "insets/insetbase.h" from cursor.h.
4385
4386 2003-09-18  Angus Leeming  <leeming@lyx.org>
4387
4388         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4389         InsetOld_code to remove #include "inset.h".
4390
4391         * iterators.C: add #include "insets/inset.h"
4392
4393 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4394
4395         * BufferView.C: remove more locking stuff that apparently doesn't
4396         do anything sensible.
4397
4398 2003-09-16  André Pönitz  <poenitz@gmx.net>
4399
4400         * paragraph.[Ch]:
4401         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4402           performance boost.
4403
4404 2003-09-16  Angus Leeming  <leeming@lyx.org>
4405
4406         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4407
4408         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4409         arg/return type.
4410
4411         * paragraph.h: remove #include "lyxfont.h". Forward declare
4412         LyXFont_size.
4413
4414 2003-09-16  Angus Leeming  <leeming@lyx.org>
4415
4416         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4417         of support/textutils.h.
4418         (isWord): move the contents of support/textutils.h's IsWordChar here.
4419
4420         * buffer.C:
4421         * lyxfind.C:
4422         * rowpainter.C:
4423         * text.C:
4424         * text2.C: add #include "paragraph.h".
4425
4426         * rowpainter.C:
4427         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4428
4429 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * main.C:
4432         * lyx_main.C:
4433         * lyx_cb.C:
4434         * buffer.C:
4435         * LaTeX.C: use namespace alias for lyx::support::os
4436
4437 2003-09-16  Angus Leeming  <leeming@lyx.org>
4438
4439         * bufferparams.C:
4440         * bufferview_funcs.C:
4441         * factory.C:
4442         * lyxfunc.C:
4443         * paragraph_pimpl.C:
4444         * rowpainter.C:
4445         * text.C: add #include "LColor.h".
4446
4447 2003-09-16  Angus Leeming  <leeming@lyx.org>
4448
4449         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4450         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4451         return LyXFont &.
4452         Store the FontBits::color variable as an int rather than as an
4453         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4454         file.
4455
4456         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4457         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4458         string calls together.
4459
4460         * lyxrc.C: add #include "LColor.h".
4461
4462 2003-09-15  Angus Leeming  <leeming@lyx.org>
4463
4464         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4465         a cow_ptr.
4466
4467 2003-09-15  Angus Leeming  <leeming@lyx.org>
4468
4469         * LColor.h: add an EnumLColor wrapper for LColor::color.
4470
4471         * lyxfont.[Ch] (color, setColor, realColor):
4472         * lyxtext.h, text.C (backgroundColor):
4473         pass EnumLColor args to/from the functions, rather than LColor::color
4474         ones.
4475
4476         * lyxfont.h:
4477         * lyxtext.h: forward declare EnumLColor.
4478
4479         * lyx_main.C: add #include "LColor.h".
4480
4481 2003-09-15  Angus Leeming  <leeming@lyx.org>
4482
4483         * .cvsignore: add lyx-gtk.
4484
4485 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4486
4487         * Chktex.C
4488         * LaTeX.C
4489         * LaTeXFeatures.C
4490         * ParagraphParameters.C
4491         * Spacing.C
4492         * buffer.C
4493         * bufferparams.C
4494         * bufferview_funcs.C
4495         * chset.C
4496         * counters.C
4497         * funcrequest.C
4498         * lyxfont.C
4499         * lyxgluelength.C
4500         * lyxlength.C
4501         * paragraph.C
4502         * paragraph_funcs.C
4503         * text3.C
4504         * vc-backend.C: remove usage of STRCONV
4505
4506 2003-09-15  Angus Leeming  <leeming@lyx.org>
4507
4508         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4509         explicitly define the color passed to the painter.
4510
4511 2003-09-15  Angus Leeming  <leeming@lyx.org>
4512
4513         * bufferparams.C (BufferParams): reorder member initializers to avoid
4514         compiler warning.
4515
4516 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4519         * text.C (updateRowPositions): remove an unusual nop
4520
4521 2003-09-12  André Pönitz  <poenitz@gmx.net>
4522
4523         * BufferView_pimpl.C:
4524         * Bullet.C:
4525         * layout.h:
4526         * lyxfunc.C:
4527         * lyxlayout.[Ch]:
4528         * lyxtextclass.C:
4529         * rowpainter.C:
4530         * text.C:
4531         * text2.C:
4532         * Counters.[Ch]: finish the 'automatic counters' job
4533
4534 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4535
4536         * aspell.C: include <boost/assert.cpp> (compile fix)
4537
4538 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4539
4540         * boost.C (assertion_failed): use lyx::support::abort instead of
4541         assert.
4542
4543 2003-09-10  Angus Leeming  <leeming@lyx.org>
4544
4545         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4546         with their _fwd progeny.
4547
4548 2003-09-09  Angus Leeming  <leeming@lyx.org>
4549
4550         134 files throughtout the source tree: replace 'using namespace abc;'
4551         directives with the appropriate 'using abc::xyz;' declarations.
4552
4553 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4554
4555         * boost.C (emergencyCleanup): moved here from LAssert.c
4556         (assertion_failed): new function, called by BOOST_ASSERT
4557
4558         * several files: change Assert to BOOST_ASSERT
4559
4560 2003-09-09  Angus Leeming  <leeming@lyx.org>
4561
4562         * buffer.[Ch]: Add an Impl class and move Buffer's member
4563         variables into it. As a result move several header files out of
4564         buffer.h.
4565
4566         Add header files to lots of .C files all over the tree as a result.
4567
4568 2003-09-09  Angus Leeming  <leeming@lyx.org>
4569
4570         * buffer.[Ch]: make Buffer's member variables private. Add
4571         accessor functions.
4572
4573         Lots of changes all over the tree as a result.
4574
4575 2003-09-08  Angus Leeming  <leeming@lyx.org>
4576
4577         * graph.C: #include <config.h>.
4578
4579 2003-09-08  Angus Leeming  <leeming@lyx.org>
4580
4581         * BranchList.C:
4582         * BufferView.C:
4583         * BufferView_pimpl.C:
4584         * CutAndPaste.C:
4585         * DepTable.C:
4586         * LaTeX.C:
4587         * LaTeXFeatures.C:
4588         * LyXAction.C:
4589         * MenuBackend.C:
4590         * TextCache.C:
4591         * aspell.C:
4592         * buffer.C:
4593         * bufferlist.C:
4594         * changes.C:
4595         * chset.C:
4596         * converter.C:
4597         * counters.C:
4598         * debug.C:
4599         * graph.C:
4600         * ispell.C:
4601         * lyx_cb.C:
4602         * lyxfind.C:
4603         * lyxfunc.C:
4604         * lyxlex_pimpl.C:
4605         * lyxrc.C:
4606         * lyxrow.C:
4607         * paragraph.C:
4608         * rowpainter.C:
4609         * texrow.C:
4610         * text.C:
4611         * text2.C:
4612         * toc.C: remove redundant using directives.
4613
4614 2003-09-07  Angus Leeming  <leeming@lyx.org>
4615
4616         * LaTeXFeatures.h: remove #include "support/types.h".
4617         * ToolbarBackend.h: remove #include <algorithm>.
4618         * changes.h: remove #include <ctime>.
4619         * debug.h: remove #include <iosfwd>.
4620         * graph.h: remove #include "support/std_string.h".
4621         * lyx_main.h: remove #include <csignal>.
4622         * lyxlex_pimpl.h: remove #include <fstream>.
4623         * sgml.h: remove #include <algorithm>, <utility>.
4624         * toc.h: remove #include "support/std_ostream.h".
4625         Add #include <iosfwd>.
4626
4627 2003-09-07  Angus Leeming  <leeming@lyx.org>
4628
4629         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4630
4631         * converter.h: forward declare LatexRunParams.
4632         * encoding.h: remove #include "lyxrc.h".
4633         * lyxtext.h: remove #include "LColor.h".
4634         * lyxtextclass.h: remove #include "support/types.h".
4635         * trans.h: remove #include "tex-accent.h".
4636         * trans_mgr.h: remove #include "tex-accent.h".
4637         * insets/inset.h: remove #include "support/types.h", <vector>.
4638         * insets/insetcollapsable.h: remove #include "LColor.h".
4639         * insets/insetinclude.h: remove #include "dimension.h".
4640         * insets/insetlatexaccent.h: remove #include "dimension.h".
4641         * insets/insetoptarg.h:: remove #include "insettext.h".
4642         * insets/insettext.h: remove #include "dimension.h",
4643         <boost/shared_ptr.hpp>
4644
4645         * insets/renderers.h: add #include "dimension.h".
4646         * insets/updatableinset.h: add #include "support/types.h".
4647
4648         * many .C files: Associated changes.
4649
4650 2003-09-06  Angus Leeming  <leeming@lyx.org>
4651
4652         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4653         one, inside testInvariant.
4654
4655         * PrinterParams.C: new file.
4656         * PrinterParams.[Ch]: move the function bodies out of line.
4657
4658 2003-09-06  Angus Leeming  <leeming@lyx.org>
4659
4660         * ParagraphParameters.h: forward declare ParameterStruct rather than
4661         including its header file.
4662         (depth): moved out-of-line.
4663
4664 2003-09-06  Angus Leeming  <leeming@lyx.org>
4665
4666         * BufferView_pimpl.h:
4667         * kbmap.h:
4668         * kbsequence.h:
4669         * lyxfunc.h: forward declare LyXKeySym rather than
4670         #include "frontends/LyXKeySym.h".
4671
4672         * BufferView_pimpl.C:
4673         * kbmap.C:
4674         * kbsequence.C:
4675         * lyxfunc.C: associated changes.
4676
4677 2003-09-06  Angus Leeming  <leeming@lyx.org>
4678
4679         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4680         As a result, can remove the #include "insets/inset.h" from BufferView.h
4681
4682 2003-09-06  Angus Leeming  <leeming@lyx.org>
4683
4684         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4685         As a result, can remove the #include "insets/inset.h" from BufferView.h
4686
4687 2003-09-06  Angus Leeming  <leeming@lyx.org>
4688
4689         * buffer_funcs.C:
4690         * buffer.h:
4691         * bufferlist.C:
4692         * BufferView.C:
4693         * bufferview_funcs.C:
4694         * BufferView_pimpl.C:
4695         * CutAndPaste.C:
4696         * lyx_cb.C:
4697         * lyxfunc.C:
4698         * paragraph.h:
4699         * ParagraphParameters.C:
4700         * tabular.C:
4701         * text3.C:
4702         * toc.C:
4703         * undo_funcs.C:
4704         * frontends/controllers/ControlDocument.C:
4705         * insets/insetcaption.C: rearrange the #includes into some sort of
4706         coherent order.
4707
4708         * buffer.h: remove #includes ErrorList.h, undo.h
4709
4710 2003-09-06  Angus Leeming  <leeming@lyx.org>
4711
4712         * support/types.h: add a 'depth_type' typedef, used to store the
4713         nesting depth of a paragraph.
4714
4715         * paragraph.h:
4716         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4717         defining explicitly.
4718
4719         * buffer.h:
4720         * paragraph_funcs.h:
4721         * ParagraphParameters.h:
4722         * sgml.h: use lyx::depth_type rather than Paragraph or
4723         ParameterStruct's depth_type.
4724
4725         * buffer.h
4726         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4727
4728         * BufferView.C:
4729         * BufferView_pimpl.C:
4730         * CutAndPaste.C:
4731         * ParagraphParameters.C:
4732         * buffer_funcs.C:
4733         * bufferlist.C:
4734         * bufferview_funcs.C:
4735         * lyx_cb.C:
4736         * lyxfunc.C:
4737         * tabular.C:
4738         * text3.C:
4739         * toc.C:
4740         * undo_funcs.C:
4741         * frontends/LyXView.C:
4742         * frontends/controllers/ControlDocument.C:
4743         * frontends/controllers/ControlErrorList.C:
4744         * insets/insetbibitem.C:
4745         * insets/insetbranch.C:
4746         * insets/insetcaption.C:
4747         * insets/insetcollapsable.C:
4748         * insets/insetenv.C:
4749         * insets/insetert.C:
4750         * insets/insetfloat.C:
4751         * insets/insetfoot.C:
4752         * insets/insetfootlike.C:
4753         * insets/insetnewline.C:
4754         * insets/insetquotes.C:
4755         * insets/insettabular.C:
4756         * insets/insettext.C:
4757         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4758
4759         * frontends/controllers/ControlChanges.C: #include "changes.h".
4760
4761 2003-09-06  Angus Leeming  <leeming@lyx.org>
4762
4763         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4764         than #including paragraph.h.
4765
4766         * ParagraphList.h:
4767         * RowList.h: deleted. Superfluous.
4768
4769         * CutAndPaste.h:
4770         * iterators.h:
4771         * lyxcursor.h:
4772         * lyxtext.h:
4773         * text_funcs.h:
4774         * undo.h:
4775         * undo_funcs.h:
4776         * insets/inset.h:
4777         * insets/insettext.h: use ParagraphList_fwd.h rather than
4778         ParagraphList.h.
4779
4780         * paragraph.h: don't forward declare ParagraphList.
4781
4782         * buffer.h:
4783         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4784         rather than ParagraphList.h. paragraph.h is still needed for the
4785         Paragraph::depth_type parameters.
4786
4787         * textcursor.h: enable it to compile stand-alone in light of the
4788         above changes.
4789
4790         * bufferview_funcs.C:
4791         * iterators.C:
4792         * lyxfunc.C:
4793         * lyxrow_funcs.C:
4794         * paragraph.C:
4795         * rowpainter.C:
4796         * text.C:
4797         * text2.C:
4798         * text3.C:
4799         * text_funcs.C:
4800         * textcursor.C:
4801         * undo.C:
4802         * frontends/controllers/ControlParagraph.C:
4803         * frontends/controllers/ControlTabular.C:
4804         * insets/insetmarginal.C:
4805         * insets/insetminipage.C:
4806         * insets/insetnote.C:
4807         * insets/insetoptarg.C: add header files needed to compile again.
4808
4809 2003-09-06  Angus Leeming  <leeming@lyx.org>
4810
4811         * RowList_fwd.h: new file, forward-declaring Row rather than
4812         #including lyxrow.h.
4813
4814         * lyxrow_funcs.h:
4815         * lyxtext.h:
4816         * paragraph.h:
4817         * insets/insettext.h: use it instead of RowList.h
4818
4819         * bufferview_funcs.C:
4820         * lyxfunc.C:
4821         * lyxrow_funcs.C:
4822         * paragraph.C:
4823         * rowpainter.C:
4824         * text.C:
4825         * text2.C:
4826         * text3.C: #include "RowList.h".
4827
4828 2003-09-05  Angus Leeming  <leeming@lyx.org>
4829
4830         * factory.C (createInset):
4831         * vspace.C (c-tor): replace sscanf call with an istringstream.
4832         * ispell.C: re-add missing HP/UX headers.
4833         * lyxserver.C: re-add missing  os2 headers.
4834
4835 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4836
4837         * BranchList.C:
4838         * graph.C:
4839         * ispell.C:
4840         * lastfiles.C:
4841         * lyx_cb.C:
4842         * lyxserver.C:
4843         * texrow.C:
4844         * text3.C: re-add missing system headers, needed for 2.95.2.
4845
4846 2003-09-05  Angus Leeming  <leeming@lyx.org>
4847
4848         Changes most place everywhere due to the removal of using directives
4849         from support/std_sstream.h.
4850
4851 2003-09-05  Angus Leeming  <leeming@lyx.org>
4852
4853         Replace LString.h with support/std_string.h,
4854         Lsstream.h with support/std_sstream.h,
4855         support/LIstream.h with support/std_istream.h,
4856         support/LOstream.h with support/std_ostream.h.
4857
4858         Changes resulting throughout the tree.
4859
4860 2003-09-05  Angus Leeming  <leeming@lyx.org>
4861
4862         * sgml.h: ensure that the header file can be compiled stand-alone.
4863         * *.C: strip out redundant #includes. (320 in total.)
4864
4865 2003-09-04  Angus Leeming  <leeming@lyx.org>
4866
4867         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4868         here (from getPackages).
4869
4870         * debug.[Ch]: add a new EXTERNAL tag.
4871
4872 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4873
4874         * text2.C (cursorEnd): simplify
4875         (setCursor): adjust
4876         (getColumnNearX): adjust
4877
4878         * text.C (computeBidiTables): adjust
4879         (fill): adjust
4880
4881         * rowpainter.C (paintChars): adjust
4882         (paintSelection): adjust
4883         (paintChangeBar): adjust
4884         (paintText): adjust
4885
4886         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4887         lastPos instead.
4888         (numberOfSeparators): adjust
4889
4890 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4891
4892         * LyXAction.C:
4893         * box.[Ch]:
4894         * lfuns.h:
4895         * lyxfunc.C:
4896         * text3.C: Restricts the mouse click functionality
4897         of insets like bibtex, include, toc and floatlist to the visible
4898         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4899         up the dialogs. Cursor has to be in front of the inset (i.e.
4900         start of row) for this to function.
4901
4902 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4903
4904         * bufferview_funcs.C (currentState): output row information
4905
4906 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4907
4908         * bufferview_funcs.C (currentState): output paragraph position
4909
4910 2003-09-04  Angus Leeming  <leeming@lyx.org>
4911
4912         * FloatList.h: move out #include "Floating.h".
4913         * LaTeX.h: move out #include "DepTable.h".
4914         * LyXAction.h: move out #include "funcrequest.h".
4915         * buffer.h: move out #include "author.h", "iterators.h".
4916         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4917         * lyx_main.h: move out #include "errorlist.h".
4918         * lyxfunc.h: move out #include "FuncStatus.h".
4919         * lyxtext: move out #include "lyxcursor.h".
4920         * paragraph_pimpl.h: move out #include "counters.h".
4921
4922 2003-09-03  Angus Leeming  <leeming@lyx.org>
4923
4924         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4925         preamble_snippets list, enabling us to add snippets to the preamble
4926         only if the snippet was not there already.
4927
4928 2003-09-04  Angus Leeming  <leeming@lyx.org>
4929
4930         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4931
4932 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4935         update
4936
4937 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4938
4939         * BranchList.C: point fix, earlier forgotten
4940
4941 2003-09-02  Angus Leeming  <leeming@lyx.org>
4942
4943         * box.C (contains): renamed from 'contained' after a fantastic
4944         amount of hot air.
4945
4946 2003-09-02  John Levon  <levon@movementarian.org>
4947
4948         * BufferView.C:
4949         * lyxcursor.h:
4950         * lyxcursor.C:
4951         * lyxfunc.C:
4952         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4953
4954 2003-09-02  John Levon  <levon@movementarian.org>
4955
4956         * text2.C: simplification of cursorEnd(), including partial
4957         fix for bug 1376
4958
4959 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * buffer.C (readFile): add a space
4962
4963 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4966
4967 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * buffer.C (readFile): new function, take a filename and a
4970         ParagraphList::iterator
4971         (readFile): adjust
4972         (readFile): adjust, make it private. don't use setStream, make
4973         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4974         always contain the filename.
4975
4976         * BufferView.C (insertLyXFile): simplify and make it work for
4977         gzipped files.
4978
4979 2003-08-30  John Levon  <levon@movementarian.org>
4980
4981         * Makefile.am: fix dist (from Kayvan)
4982
4983 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * most files: change to use const Buffer refs
4986
4987 2003-08-27  André Pönitz  <poenitz@gmx.net>
4988
4989         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4990         on top of ownerPar().
4991
4992 2003-08-27  John Levon  <levon@movementarian.org>
4993
4994         * funcrequest.C: properly initialise POD members
4995
4996 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * lyxtext.h (top_y): move top_y from here
4999         * text.C:
5000         * text2.C:
5001         * text3.C:
5002         * BufferView.[Ch]:
5003         * BufferView_pimpl.[Ch]: to here
5004         * frontends/screen.C:
5005         * insets/insettabular.C:
5006         * insets/insettext.C: adjust
5007         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5008
5009 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * BufferView.[Ch]:
5012         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5013
5014 2003-08-26  André Pönitz  <poenitz@gmx.net>
5015
5016         * paragraph_func.[Ch] (outerPar): new function
5017
5018         * paragraph.C:
5019         * paragraph_funcs.C:
5020         * paragraph_funcs.h:
5021         * paragraph_pimpl.C:
5022         * text2.C: remove Inset::par_owner
5023
5024 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5025
5026         * lyxrow_funcs.C:
5027         * lyxtext.h:
5028         * text.C:
5029         * text2.C: eliminates the needFullRow/display() stuff
5030         altogether, putting the logic in metrics/draw in the insets.
5031
5032 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * text2.C (redoParagraphInternal, redoParagraphs):
5035         * text.C (redoParagraph): add a call to updateRowPositions at the
5036         end of each 'metrics-like' call. Remove all others.
5037         (getRow): remove the 'y-computing' version.
5038         (getRowNearY): do not compute nor return the real y. Solve the
5039         'y < 0' problem and simplify.
5040
5041 2003-08-22  Angus Leeming  <leeming@lyx.org>
5042
5043         * *.[Ch]: clean-up of licence and author blurbs.
5044         Also move config.h out of a few .h files and into a few .C files.
5045
5046 2003-08-22  André Pönitz  <poenitz@gmx.net>
5047
5048         * lyxrow.[Ch]: add x_ and *fill_ members
5049
5050         * lyxtext.h:
5051         * text.C:
5052         * rowpainter.C:
5053         * text2.C: adjust/remove prepareToPrint() calls
5054
5055 2003-08-22  André Pönitz  <poenitz@gmx.net>
5056
5057         * lyxrow.[Ch]: add  end_ member
5058
5059         * lyxrow_funcs.C: use LyXRow::end_
5060
5061         * lyxtext.h (singleWidth): add LyXFont parameter
5062
5063         * rowpainter.C:
5064         * text2.C: adjust LyXText::singleWidth() calls
5065
5066         * text.C (redoParagraph): simplify row breaking logic
5067
5068
5069 2003-08-19  André Pönitz  <poenitz@gmx.net>
5070
5071         * funcrequest.C: initialize button_ member
5072
5073         * text3.C:
5074         * rowpainter.[Ch]: interface consolidation
5075
5076 2003-08-18  André Pönitz  <poenitz@gmx.net>
5077
5078         * BufferView.C:
5079         * BufferView_pimpl.C:
5080         * lyxfind.C:
5081         * paragraph_funcs.C:
5082         * rowpainter.C:
5083         * text3.C: remove LyXScreen::draw() and fitCursor calls
5084
5085         * BranchList.h: remove spurious semicolons
5086
5087         * MenuBackend.C: fix branchlist related crash
5088
5089 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5090
5091         * BranchList.[Ch]:
5092         * InsetList.[Ch]:
5093         * LColor.[Ch]:
5094         * LyXAction.C:
5095         * Makefile.am:
5096         * MenuBackend.[Ch]:
5097         * bufferparams.[Ch]:
5098         * factory.C:
5099         * lfuns.h:
5100         * lyxfunc.C:
5101         * text3.C: implements the 'branch inset'
5102         idea. This allows the output of various versions of a document
5103         from a single source version, selectively outputing or suppressing
5104         output of parts of the text.
5105         This implementation contains a 'branch list editor' in a separate
5106         tab of the document settings dialog. Branches are user definable
5107         and have a "display colour" to distinguish them on-screen.
5108
5109         ColorHandler was somewhat cleaned up.
5110         (1) make possible a dynamically growing LColor list by allowing
5111         the graphic context cache to grow along (vector);
5112         (2) eliminate an IMHO unnecessary step in colour allocation.
5113
5114 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5115
5116         * BufferView_pimpl.C: compile fix
5117
5118 2003-08-15  André Pönitz  <poenitz@gmx.net>
5119
5120         * rowpainter.C: remove extra metrics calls
5121
5122         * lyxtext.h: merge the two constructors into a single one,
5123           pass reference to owner's par list
5124
5125         * BufferView_pimpl.C:
5126         * text.C:
5127         * text2.C: adjust
5128
5129 2003-08-15  André Pönitz  <poenitz@gmx.net>
5130
5131         * lyxrow_funcs.[Ch]:
5132         * lyxtext.h:
5133         * paragraph.h:
5134         * paragraph_funcs.C:
5135         * rowpainter.C:
5136         * text.C:
5137         * text2.C:
5138         * text3.C:
5139         * text_funcs.C: split LyXText::rowlist_ into individual
5140         Paragraph::rows_ chunks
5141
5142         * BufferView.[Ch]:
5143         * BufferView_pimpl.[Ch]:
5144         * lyxfind.C:
5145         * lyxtext.h:
5146         * text3.C: remove toggleSelection()
5147
5148 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5149
5150         * bufferlist.C: beautify two alerts (shorter text of buttons)
5151         * buffer.C: Remove redundant ' ' from message
5152         * tabular.h:
5153         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5154         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5155         rename VALIGN_CENTER to VALIGN_MIDDLE
5156
5157 2003-08-11  André Pönitz  <poenitz@gmx.net>
5158
5159         * lyxtext.h (getPar):
5160         * text.C: new function
5161
5162 2003-08-11  André Pönitz  <poenitz@gmx.net>
5163
5164         * Makefile.am:
5165         * tracer.[Ch]: remove unneeded files
5166
5167         * InsetList.[Ch]: remove resizeInsetsLyXText()
5168
5169         * lyxtext.h:
5170         * text.C:
5171         * text2.C:
5172         * text3.C: merge insertParagraphs() and appendParagraph()
5173         remove breakAgain(), update()
5174
5175         * BufferView_pimpl.[Ch]:
5176         * bufferview_funcs.[Ch]:
5177         * lyxfunc.C:
5178         * paragraph.[Ch]:
5179         * rowpainter.C:
5180         * tabular.C: adjust after text & InsetList changes.
5181
5182 2003-08-08  André Pönitz  <poenitz@gmx.net>
5183
5184         * text.C (insertChar, backspace): replace rowlist fiddling
5185         with rebreak of full par
5186
5187         * lyxtext.h:
5188         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5189         checkParagraph, updateInset): removed
5190
5191 2003-08-07  André Pönitz  <poenitz@gmx.net>
5192
5193         * paragraph.C:
5194         * text3.C: merge some LFUN handlers, remove dead code
5195
5196 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5197
5198         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5199
5200 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * text2.C (DEPM): fix part of bug 1255 and 1256
5203
5204 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5205
5206         * BufferView_pimpl.C (workAreaDispatch): change to use
5207         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5208         that are no mouse related.
5209
5210 2003-08-05  André Pönitz  <poenitz@gmx.net>
5211
5212         * BufferView.[Ch]:
5213         * BufferView_pimpl.[Ch]:
5214         * bufferview_funcs.C:
5215         * text2.C:
5216         * text3.C: rip out "deep update"
5217
5218         * textcursor.[Ch] (last_sel_cursor): remove unused member
5219
5220 2003-08-04  André Pönitz  <poenitz@gmx.net>
5221
5222         * BufferView.[Ch]:
5223         * BufferView_pimpl.[Ch]:
5224         * ParagraphParameters.C:
5225         * bufferview_funcs.C:
5226         * lyx_cb.C:
5227         * lyxfind.C:
5228         * lyxfunc.C:
5229         * text.C:
5230         * text2.C:
5231         * text3.C: replace "complicated" BufferView::update(...) calls with
5232         simpler ones.
5233
5234         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5235
5236 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5237
5238         * Makefile.am (lyx_SOURCES): add paper.h
5239
5240 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5241
5242         * Makefile.am: move things around so that both lyx-qt and
5243         lyx-xforms can be built (according to --with-frontend). Then lyx
5244         is a symbolic link to lyx-[firstfrontend]
5245
5246 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5247
5248         * Always use std::endl with lyxerr
5249
5250 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5251
5252         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5253
5254 2003-08-01  André Pönitz  <poenitz@gmx.net>
5255
5256         * BufferView.[Ch]:
5257         * BufferView_pimpl.[Ch]:
5258         * lyxfunc.C:
5259         * text3.C: merge BufferView::repaint() and BufferView::update()
5260
5261 2003-08-01  José Matos  <jamatos@lyx.org>
5262
5263         * buffer.[Ch]: file_format is no longer a buffer data element.
5264
5265 2003-08-01  André Pönitz  <poenitz@gmx.net>
5266
5267         * BufferView.C:
5268         * lyxtext.h:
5269         * text.C:
5270         * text2.C: make redoParagraph more independent of current cursor
5271
5272         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5273         * text.C:
5274         * text2.C: remove unneeded members
5275
5276 2003-07-30  André Pönitz  <poenitz@gmx.net>
5277
5278         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5279
5280         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5281           create a single function...
5282
5283         * paragraph_funcs.C (moveItem): ... here.
5284
5285         * text.C:
5286           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5287
5288 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5289
5290         * LColor.[Ch]: Add comment and greyedout logical colors.
5291
5292 2003-07-30  André Pönitz  <poenitz@gmx.net>
5293
5294         * tabular.C: don't use Assert too heavily. This crashes where it
5295           shouldn't
5296
5297 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5300         is disabled (bug 1232)
5301
5302 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5303
5304         * factory.C: limited 'arg' scope
5305
5306 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5307
5308         * factory.C: fixed Note submenu issues
5309
5310 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5311
5312         * factory.C: submenu for Note/Comment/Greyedout
5313
5314 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * lyx_main.C (LyX):
5317         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5318
5319 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5320
5321         * LaTeXFeatures.C:
5322         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5323         greyedout. Patch provided by Jürgen Spitzmüller.
5324
5325 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5326
5327         * kbmap.C (read): fix error message when reading bind files
5328
5329 2003-07-29  Angus Leeming  <leeming@lyx.org>
5330
5331         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5332         certainly does not do what it purports to do. I am doing it, and
5333         us, a favour by killing it.
5334
5335 2003-07-28  José Matos  <jamatos@lyx.org>
5336
5337         * buffer.C (readBody, do_writeFile):
5338         * paragraph.C(readParagraph): \end_document replaces \the_end.
5339
5340 2003-07-29  André Pönitz  <poenitz@gmx.net>
5341
5342         * BufferView.[Ch]:
5343         * BufferView_pimpl.[Ch]:
5344         * lyxfunc.C:
5345         * text2.C:
5346         * text3.C:
5347         * textcursor.[Ch]: remove toggleToggle & Co
5348
5349 2003-07-28  José Matos  <jamatos@fep.up.pt>
5350
5351         * buffer.C (readParagraph):
5352         * params_func (readParToken, readParagraph):
5353         * paragraph.C (write): \layout -> \begin_layout.
5354
5355 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * lyxlex_pimpl.C (setFile): clean up slightly.
5358
5359         * bufferparams.h: add compressed var
5360
5361         * buffer_funcs.C (readFile): adjust for LyXLex change
5362         (newFile): ditto + simplify
5363
5364         * buffer.C (writeFile): handle writing of compressed files
5365
5366         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5367         Check if the file is compressed and set a bufferparm if so.
5368
5369         * Makefile.am (lyx_LDADD): remove explicit -lz
5370
5371 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5372
5373         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5374         makeDocBookFile): put the real LyX version in the first line of
5375         the file
5376
5377         * version.h:
5378         * version.C.in: remove lyx_docversion
5379
5380         * tabular.C (write_attribute): add a template-based version to
5381         write enums properly
5382
5383 2003-07-28  André Pönitz  <poenitz@gmx.net>
5384
5385         * lyxtext.h:
5386         * text.C:
5387         * text2.C:
5388         * text3.C: use doubles again for x-coordinates. They are needed.
5389
5390 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * messages.C (getLocaleDir): use lyx_localedir()
5393
5394         * lyxlex_pimpl.C (setFile): compress stuff
5395
5396         * buffer.C (writeFile): add some compression stuff
5397         (do_writeFile): new func, dont call expliti close... will this
5398         breake anything?
5399
5400         * Makefile.am (lyx_LDADD): add -lz
5401
5402 2003-07-28  José Matos  <jamatos@fep.up.pt>
5403
5404         * buffer.C: increment file format.
5405         * paragraph_funcs (readParagraph, readParToken):
5406         * paragraph.C (readParagraph): add \end_layout.
5407
5408 2003-07-27  Angus Leeming  <leeming@lyx.org>
5409
5410         * Makefile.am: remove special casing for configure-time setting of
5411         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5412
5413         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5414         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5415
5416 2003-07-26  André Pönitz  <poenitz@gmx.net>
5417
5418         * paragraph_func.[Ch]:
5419         * paragraph.C (realizeFont): inline it whereever it is used
5420
5421         * rowpainter.C:
5422         * text.C:
5423         * text2.C:
5424         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5425
5426
5427 2003-07-26  André Pönitz  <poenitz@gmx.net>
5428
5429         *       lyxtext.h:
5430         * text.C:
5431         * text2.C: get rid of LyXText::need_break_row
5432
5433 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * toc.[Ch]: put namespace toc inside namespace lyx
5436
5437         * MenuBackend.C (expandToc2): adjust for lyx::toc
5438         (expandToc): ditto
5439
5440         * lyxfunc.C (dispatch): adjust for lyx::find
5441
5442         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5443         lyx::find instead. Reorganize a bit.
5444         (LyXReplace): rename to replace
5445         (LyXFind): rename to find
5446
5447         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5448         (dispatch): ditto
5449
5450 2003-07-26  André Pönitz  <poenitz@gmx.net>
5451
5452         * text.C (setHeightOfRow): restrict scope of temporary variable
5453
5454         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5455           code (never has been used?)
5456
5457 2003-07-27  Asger Alstrup  <alstrup@local>
5458
5459         * text.C (fill): Optimise algorithm to exploit that we can reuse
5460         the LyXFont for many characters.
5461         (setHeightOfRow): Same thing.
5462         (rowBreakPoint): Same thing.
5463
5464 2003-07-26  Asger Alstrup  <alstrup@local>
5465
5466         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5467
5468         * text.C (singleWidth): Spurious font copying in hot-spot
5469         singleWidth avoided. Reorder tests for arabic for efficiency.
5470
5471         * text.C (fill): handle empty paragraphs better.
5472
5473 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5474
5475         * ispell.C:
5476         * encoding.h: add includes
5477
5478         * lyxrc.C: remove reading of bind files
5479
5480         * lyx_main.C (init): setup bindings and menus only if we have a
5481         gui.
5482
5483         * kbmap.C (read): new method. Do the actual reading of bind
5484         files.
5485
5486         * converter.C (dvipdfm_options):
5487         * bufferparams.C:
5488         * lyxrc.C (read):
5489         (output): adapt PAPER_* enums.
5490
5491         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5492
5493         * bufferparams.h: remove paper-related enums from there
5494
5495         * paper.h: New file. A trivial header file to hold paper-related
5496         enums. It should later expand to contain many paper-related
5497         horrors access.
5498
5499         * lyxrc.C: declare extern displayTranslator
5500
5501 2003-07-27  José Matos  <jamatos@fep.up.pt>
5502
5503         * tabular.[Ch] (linuxdoc): add support for tables and figures
5504         (linuxdoc).
5505
5506 2003-07-27  José Matos  <jamatos@fep.up.pt>
5507
5508         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5509         consistency in both functions.
5510         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5511
5512 2003-07-26  Asger Alstrup  <alstrup@local>
5513
5514         * rowpainter.C (paintRows): Change algorithm to work directly on
5515         the insets rather than asking every character in the document
5516         whether its an inset.
5517
5518 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5519
5520         * buffer.C (openFileWrite): factorize some code
5521
5522 2003-07-26  Angus Leeming  <leeming@lyx.org>
5523
5524         * lyx_cb.C:
5525         * lyx_main.[Ch]: replace occurances of system_tempdir with
5526         os::getTmpDir().
5527
5528 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * rename Inset to InsetOld
5531
5532 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5533
5534         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5535         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5536         which I think is a bit clearer. EDIT is gone, since it was
5537         premature optimisation, and broken for mathed anyway.
5538         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5539         with cursor positioning in insets as well (math insets still do not
5540         work, but that's a different story anyway.) It mysteriously
5541         crashes sometimes with undo in the first paragraph, but I'm fairly
5542         confident that this is a compiler bug.
5543
5544 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * paragraph.C (Paragraph): adjust for new clone return type
5547         (operator==): ditto
5548         (copyIntoMinibuffer): ditto
5549
5550 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5551
5552         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5553         by not having a special case, and always doing a full rebreak of
5554         the document after undo.
5555
5556 2003-07-23  Angus Leeming  <leeming@lyx.org>
5557
5558         * factory.C (createInset): InsetExternal::setParams now takes a
5559         Buffer const * arg.
5560
5561 2003-07-23  Angus Leeming  <leeming@lyx.org>
5562
5563         * factory.C (createInset): changed interface to the external and
5564         graphics mailers' string2params functions.
5565
5566 2003-07-23  Angus Leeming  <leeming@lyx.org>
5567
5568         * factory.C (createInset): pass a
5569         Buffer const * parameter to InsetExternalMailer's string2params.
5570
5571 2003-07-22  John Levon  <levon@movementarian.org>
5572
5573         * Thesaurus.h: include the right aiksaurus header
5574
5575 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5576
5577         * MenuBackend.C (expand): check menu shortcuts unconditionally
5578
5579 2003-07-21  Angus Leeming  <leeming@lyx.org>
5580
5581         * factory.C (createInset): pass a
5582         buffer_path parameter to InsetGraphicsMailer's string2params.
5583
5584 2003-07-21  Angus Leeming  <leeming@lyx.org>
5585
5586         * BufferView_pimpl.C (buffer):
5587         * buffer.C (d-tor):
5588         * lyx_main.C (LyX):
5589         * lyxfunc.C (dispatch):
5590         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5591         rather than the grfx shortcut.
5592
5593 2003-07-21  André Pönitz  <poenitz@gmx.net>
5594
5595         * rowpainter.C: remove unused variables
5596
5597         * tabular_funcs.C:
5598         * tabular_funcs.h: move to tabular.C
5599         * Makefile.am: adjust
5600
5601         * tabular.[Ch]: basic optical cleaning
5602
5603         * author.h: pass references, not values
5604
5605 2003-07-18  André Pönitz  <poenitz@gmx.net>
5606
5607         * lyxtext.h:
5608         * metricsinfo.C:
5609         * metricsinfo.h:
5610         * rowpainter.C:
5611         * text.C:
5612         * text2.C:
5613         * text3.C: two-phase drawing for InsetText and InsetTabular
5614         some float -> int changes.
5615
5616 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5617
5618         * lyx_main.C: fix the fix
5619
5620 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * lyx_main.C: fix a crash in batch mode if no files specified
5623         * converter.C: ws
5624
5625 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * format.[Ch] (papersize): moved to BufferParams
5628         * converter.[Ch] (dvips_options): moved to BufferParams
5629         (dvipdfm_options): moved to anon namespace
5630         * bufferparams.[Ch]: added above functions.
5631
5632 2003-07-17  André Pönitz  <poenitz@gmx.net>
5633
5634         * lyxtext.h:
5635         * rowpainter.C:
5636         * text2.C: don't call inset->update() anymore
5637
5638         * metricsinfo.[Ch]: add convenience constructor
5639
5640 2003-07-16  André Pönitz  <poenitz@gmx.net>
5641
5642         * lyxcursor.[Ch]:
5643         * lyxfunc.[Ch]:
5644         * text.C:
5645         * text2.C: replace the LyXCursor::irow_ member with
5646          on-demand computation of the value
5647
5648 2003-07-16  John Levon  <levon@movementarian.org>
5649
5650         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5651
5652 2003-07-15  André Pönitz  <poenitz@gmx.net>
5653
5654         * text.C:
5655         * text2.C: remove no more needed refresh_row
5656
5657 2003-07-15  André Pönitz  <poenitz@gmx.net>
5658
5659         * lyxtext.h:
5660         * rowpainter.C:
5661         * text2.C:
5662         * text3.C: refresh_status tristate -> need_update bool
5663
5664 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * lyxtext.h (init): remove reinit argument (act as if always true)
5667         * text2.C: adjust to that
5668
5669 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5670
5671         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5672         * text3.C: use it to delete selections in some cases
5673         (bugs 441, 673, 702, 954).
5674
5675 2003-07-14  André Pönitz  <poenitz@gmx.net>
5676
5677         * rowpainter.[Ch]: reduce interface
5678
5679 2003-07-14  André Pönitz  <poenitz@gmx.net>
5680
5681         * BufferView_pimpl.C:
5682         * text2.C: adjust after removing unused BufferView * argument
5683
5684 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5685
5686         * text2.C (init): fix a crash fired on resize
5687
5688 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * buffer.[Ch]: added new closing signal
5691         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5692         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5693         BufferView::Pimpl via the closing the signal
5694
5695 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5696
5697         * buffer.[Ch]: take out all bv-related from buffer
5698         * BufferView.C:
5699         * BufferView_pimpl.[Ch]: connect to new signals
5700         * CutAndPaste.C: removed useless asserts
5701         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5702         * lyxvc.[Ch]:
5703         * vc-backend.[Ch]:
5704         * lyxfunc.C: moved view-related funciontality from vc here
5705         * paragraph.C: removed outdated comments
5706         * text.C: ws
5707
5708 2003-07-10  André Pönitz  <poenitz@gmx.net>
5709
5710         * BufferView_pimpl.C:
5711         * tabular.h:
5712         * tabular_funcs.C:
5713         * text.C:
5714         * text2.C: remove InsetText::InnerCache, clean up consequences
5715
5716 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5717
5718         * ispell.C: fix two typos in error messages
5719
5720 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5721
5722         * Extend Note inset to other forms of annotation like Comment
5723         and Greyedout. Right button click gives dialog.
5724
5725         Files modified or added (+):
5726
5727         * insetnote.[Ch]
5728         * FormNote.[Ch]      +
5729         * ControlNote.[Ch]   +
5730         * form_note.fd       +
5731         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5732         frontends/controllers
5733         * xforms/Dialogs.C
5734         * factory.C
5735
5736 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5737
5738         * aspell.C: add missing namespace lyx::support
5739
5740 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * BufferView.[Ch] (newFile): Add
5743         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5744         * LaTeX.[Ch] (message): added this signal and use it
5745         * buffer.[Ch] (busy, message): added these signals and use them
5746         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5747         * converter.C:
5748         * exporter.C:
5749         * format.C:
5750         * importer.C: use buffer signals instead of direct bv calling
5751         * lyx_cb.[Ch] (ShowMessage): removed
5752         * lyx_main.C:
5753         * lyxfunc.C:
5754         * paragraph_funcs.C:
5755         * text2.C: use buffer signals
5756
5757 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * introduce namespace lyx::graphics
5760
5761 2003-07-02  André Pönitz  <poenitz@gmx.net>
5762
5763         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5764
5765 2003-07-01  André Pönitz  <poenitz@gmx.net>
5766
5767         * text.C:
5768         * text2.C:
5769         * text3.C:
5770         * text_funcs.[Ch]:
5771         * textcursor.h:
5772         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5773           text*.C to text_func.C
5774
5775 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5776
5777         * introduce namespace lyx::support
5778
5779 2003-06-30  André Pönitz  <poenitz@gmx.net>
5780
5781         * Chktex.C:
5782         * funcrequest.C:
5783         * lyxtext.h:
5784         * text.C: re-enable --with-included-string
5785
5786 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * textcursor.C: add <config.h>
5789
5790         * text.C (getWord): remove const from word_location arg
5791
5792         * lyxvc.C (getLogFile): fix const type order
5793
5794         * lyxtext.h: remove const from word_location arg, add arg name
5795
5796         * lyxlayout.h: currect type on labeltype.
5797
5798         * importer.C: correct \file
5799
5800         * converter.C (intToFormat): use std:: on ret val, ws changes
5801
5802         * bufferlist.h: correct \file
5803
5804         * buffer.C (makeLinuxDocFile): fix const type order
5805         (makeDocBookFile): ditto
5806         (fillWithBibKeys): use std:: on stdlib args.
5807
5808         * CutAndPaste.C: fix authors.
5809         (availableSelections): use std:: on return vector
5810
5811 2003-06-27  André Pönitz  <poenitz@gmx.net>
5812
5813         * BufferView_pimpl.C:
5814         * bufferview_funcs.C:
5815         * lyxcursor.C:
5816         * lyxcursor.h:
5817         * lyxfunc.C:
5818         * lyxtext.h:
5819         * rowpainter.C:
5820         * text.C:
5821         * text2.C:
5822         * text3.C: remove LyXCursor::row_ member
5823
5824         * lyxtext.h:
5825         * text.C: rename fullRebreak() to partialRebreak() and implement
5826           a fullRebreak() that really bereks fully
5827
5828         * textcursor.h: new struct for cursor-related data
5829
5830 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5831
5832         * lyx_main.C (LyX): get full path of document loaded on the
5833         command line
5834
5835 2003-06-26  André Pönitz  <poenitz@gmx.net>
5836
5837         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5838           remove unused/broken operator>,<,>=.
5839
5840         *       text.C: remove only use of broken operator<= in an Assert().
5841
5842 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5843
5844         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5845         moved errorlist_.clear to showErrorList
5846
5847 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5848
5849         * converter.C (scanLog, runLaTeX):
5850         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5851         move the bv->showErrorList call to the callers
5852         * lyxfunc.C: i.e. here...
5853         * text2.C: and here
5854         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5855         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5856         namespace, the second to...
5857         * buffer_funcs (BufferFormat, parseErrors): added
5858         * errorlist.C (ErrorList(TeXErrors const &)): removed
5859
5860 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5861
5862         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5863
5864 2003-06-24  "Garst R. Reese" <reese@isn.net>
5865
5866         * debug.C: fix typo
5867
5868 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5869
5870         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5871
5872         * version.C.in: change docversion to 1.4
5873
5874 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5875
5876         * buffer.C: fix a bug just introduced
5877
5878 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5879
5880         * buffer.[Ch]: added the parseError signal and use it, removed
5881         sgmlError
5882         * BufferView.[Ch] (addError): moved to ...
5883         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5884         to the Buffer::parseError signal to catch (guess what) parse errors
5885         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5886
5887 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5890         ability to create a buffer and to return an existing one from
5891         the list. Moved these functions to...
5892         * buffer_funcs.[Ch]: added
5893         * BufferView.[Ch] (loadLyXFile): added
5894         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5895         job removed from bufferlist::loadLyXFile.
5896         * buffer.C (setReadOnly): make it work without view
5897         (i.e added an if (users))
5898
5899 2003-06-19  Angus Leeming  <leeming@lyx.org>
5900
5901         * lfuns.h:
5902         * LyXAction.C (init):
5903         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5904         with LFUN_DIALOG_SHOW <name> <data>.
5905
5906 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5907
5908         * CutAndPaste.C (availableSelections): small compilation fix for
5909         ancient (gcc 2.9x) compilers
5910
5911 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5912
5913         * text3.C (cursorNext): add tmp var
5914
5915         * text2.C (updateCounters): for function calling out of for clause
5916         (replaceSelectionWithString): ditto
5917         (insertStringAsParagraphs): ditto
5918         (getColumnNearX): add tmp var
5919         (setCursorFromCoordinates): add tmp var
5920         (cursorDownParagraph): add tmp var
5921         (deleteEmptyParagraphMechanism): add tmp var
5922
5923         * text.C (insertChar): add tmp var
5924
5925         * rowpainter.C (paintDepthBar): add tmp var
5926
5927         * CutAndPaste.C (availableSelections): potentially check all
5928         paragraphs in a cut to fill the shown strings.
5929
5930 2003-06-18  André Pönitz  <poenitz@gmx.net>
5931
5932         * kbmap.[Ch]: use vector<> instead of list<>
5933
5934 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5935
5936         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5937         pasteSelection with index
5938
5939         * text2.C (pasteSelection): modify, call pasteSelection with index
5940
5941         * paragraph.C (asString): reimplement version with no interval to
5942         call the one with interval.
5943
5944         * lyxtext.h: add index arg to pasteSelection
5945
5946         * MenuBackend.C (MenuItem): handle PasteRecent
5947         (Menu::read::Menutags): add md_pasterecent
5948         (read): handle it
5949         (expandPasteRecent): new function
5950         (expand): use it
5951
5952         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5953
5954         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5955         the limited stack
5956         (availableSelections): new function
5957
5958 2003-06-17  Angus Leeming  <leeming@lyx.org>
5959
5960         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5961
5962 2003-06-17  Angus Leeming  <leeming@lyx.org>
5963
5964         * lfuns.h:
5965         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5966
5967         * lyxfunc.C (dispatch): invoke it.
5968
5969 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5970
5971         * iterators.C (operator++, ParPosition): reintroduce some
5972         const_cast for the benefit of older compilers.
5973
5974 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5975
5976         * text3.C (dispatch): do not modify clipboard when doing
5977         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5978         LFUN_DELETE_SKIP on a selection selection
5979
5980 2003-06-16  André Pönitz  <poenitz@gmx.net>
5981
5982         * BufferView.C:
5983         * buffer.C:
5984         * buffer.h:
5985         * paragraph.C:
5986         * tabular.[Ch]: IU of clone() and getLabelList();
5987
5988 2003-06-13  André Pönitz  <poenitz@gmx.net>
5989
5990         * tabular.h: compactification
5991
5992 2003-06-12  André Pönitz  <poenitz@gmx.net>
5993
5994         * tabular.C:
5995         * tabular.h:
5996         * tabular_funcs.h: some renaming plus whitespace
5997
5998 2003-06-12  André Pönitz  <poenitz@gmx.net>
5999
6000         * BufferView.C:
6001         * BufferView_pimpl.C:
6002         * CutAndPaste.C:
6003         * buffer.C:
6004         * iterators.[Ch]:
6005         * lyxfunc.C:
6006         * text.C:
6007         * toc.C: Return a Paragraph & for ParIterator::operator*()
6008
6009 2003-06-11  John Levon  <levon@movementarian.org>
6010
6011         * lyx_main.C:
6012         * ToolbarBackend.h:
6013         * ToolbarBackend.C: add "Toolbars" section and
6014         put the flags there
6015
6016 2003-06-10  Angus Leeming  <leeming@lyx.org>
6017
6018         * lfuns.h:
6019         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6020
6021         * lyxfunc.C (dispatch): invoke it.
6022
6023 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * main.C: protect <ios> with HAVE_IOS
6026         (main): protect sync_with_stdio with HAVE_IOS
6027
6028 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6029
6030         * text2.C (cutSelection): adjust
6031         (pasteSelection): adjust
6032
6033         * messages.C: handle get of empty string
6034
6035         * main.C (main): use sync_with_stdio(false)
6036
6037         * lyxfunc.C (dispatch): adjust
6038
6039         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6040         (WriteAs): remove unneeded BufferView arg.
6041
6042         * bufferparams.h: use correct types on papersize, papersize2 and
6043         paperpackage.
6044
6045         * bufferparams.C (readToken): adjust for type
6046         (writeLaTeX): add missing cases to switch.
6047
6048         * bufferlist.C (quitWriteBuffer): adjust
6049         (close): adjust
6050
6051         * buffer.C (asciiParagraph): remove some commented code.
6052
6053         * CutAndPaste.C: remove current_view extern variable.
6054         (cutSelection): add BufferParams arg.
6055         (eraseSelection): add BufferParams arg.
6056         (pasteSelection): add Buffer const & arg
6057
6058 2003-06-07  John Levon  <levon@movementarian.org>
6059
6060         * buffer.C:
6061         * paragraph_funcs.C:
6062         * paragraph_pimpl.C:
6063         * text.C:
6064         * text2.C:
6065         * paragraph.h:
6066         * paragraph.C: allow InsetERT to freely space lines,
6067         and some consolidation of code
6068
6069 2003-06-06  José Matos  <jamatos@fep.up.pt>
6070
6071         * buffer.C (makeDocBookFile): fix bug #821
6072
6073 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6074
6075         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6076
6077 2003-06-04  Angus Leeming  <leeming@lyx.org>
6078
6079         * buffer.C: bump format to 224.
6080
6081 2003-06-05  André Pönitz  <poenitz@gmx.net>
6082
6083         * text2.C (redoParagraphs): remove two const_cast<>
6084
6085 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6086
6087         * ParagraphList.h: remove last remnants of NO_STD_LIST
6088
6089 2003-06-03  Angus Leeming  <leeming@lyx.org>
6090
6091         * factory.C (createInset): small change to the way InsetExternal's params
6092         are set.
6093
6094 2003-06-04  André Pönitz  <poenitz@gmx.net>
6095
6096         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6097
6098         * paragraph_pimpl.h:
6099         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6100
6101         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6102
6103         * undo_funcs.C: make some simple cases of undo work again
6104
6105 2003-06-03  John Levon  <levon@movementarian.org>
6106
6107         * ispell.C: HPUX doesn't have sys/select.h
6108         (from Albert Chin)
6109
6110 2003-06-03  John Levon  <levon@movementarian.org>
6111
6112         * CutAndPaste.C: update tabular and include inset
6113         buffer references
6114
6115         * buffer.h:
6116         * paragraph.h:
6117         * paragraph.C: remove owningBuffer(), don't pass Buffer
6118         to clone()
6119
6120         * factory.C: insetGraphicsParams changed
6121
6122 2003-06-02  John Levon  <levon@movementarian.org>
6123
6124         * LyXAction.C:
6125         * factory.C:
6126         * lfuns.h:
6127         * lyxfunc.C:
6128         * text3.C: remove insetparent
6129
6130 2003-06-02  John Levon  <levon@movementarian.org>
6131
6132         * buffer.h:
6133         * buffer.C: fix inset_iterator.end(), move out of line
6134         (bug 1149)
6135
6136 2003-06-01  John Levon  <levon@movementarian.org>
6137
6138         * text3.C: use a proper cut/paste when doing inset
6139         insert (from Jürgen Spitzmüller)
6140
6141 2003-06-01  John Levon  <levon@movementarian.org>
6142
6143         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6144
6145 2003-05-30  André Pönitz  <poenitz@gmx.net>
6146
6147         * rowpainter.C: unify second drawing phase
6148
6149 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * trans_mgr.C: remove one case of current_view
6152
6153         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6154
6155         * paragraph_funcs.h: remove paragraph.h include
6156
6157         * paragraph.h: delete NO_STD_LIST stuff
6158
6159         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6160
6161         * buffer.h: remove paragraph.h include
6162
6163         * ParagraphList.C: delete file
6164
6165         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6166
6167         * toc.C (getTocList): adjust
6168
6169         * paragraph_pimpl.C (validate): adjust
6170
6171         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6172
6173         * paragraph.C (Paragraph): adjust
6174         (getPositionOfInset): use const_iterator, adjust
6175         (bibitem): use const_iterator, adjust
6176         (setInsetOwner): adjust
6177
6178         * iterators.C (operator++): adjust
6179
6180         * InsetList.[Ch]: Replace selfmade iterator with standard
6181         vector::iterator also introduce const_iterator. Remove getPos,
6182         getInset and setInset from InsetTable. Adjust accordingly.
6183
6184         * BufferView.C (lockInset): adjust
6185         (ChangeInsets): adjust
6186
6187         * tabular.[Ch]: delete commented same_id functions
6188
6189 2003-05-28  John Levon  <levon@movementarian.org>
6190
6191         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6192
6193 2003-05-28  André Pönitz  <poenitz@gmx.net>
6194
6195         * metricsinfo.[Ch]: remove 'fullredraw' member
6196
6197 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6198
6199         * lyxtextclass.C (operator): remove caching.
6200
6201 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * text3.C: adjust
6204
6205         * text2.C (cursorBottom): adjust
6206         (setCounter): use ParagraphList::find, adjust
6207
6208         * text.C (workWidth): use ParagraphList::find, adjust
6209
6210         * lyxcursor.C (LyXCursor): adjust
6211
6212         * buffer.C (inset_iterator): adjust
6213
6214         * ParagraphList.h: make iterator(value_type) private, make
6215         ParagraphList a friend of iterator.
6216
6217         * ParagraphList.C (find): new function
6218
6219         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6220
6221 2003-05-27  André Pönitz  <poenitz@gmx.net>
6222
6223         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6224
6225 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6226
6227         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6228
6229 2003-05-26  John Levon  <levon@movementarian.org>
6230
6231         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6232
6233 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * remove same_id from function signatures, adjust.
6236
6237 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6240
6241         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6242
6243         * paragraph.C (Paragraph): get rid of same_ids parameter
6244
6245         * ParagraphList.C (insert): adjust
6246         (push_back): adjust
6247
6248 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * paragraph_funcs.C (breakParagraph): adjust
6251         (breakParagraphConservative): adjust
6252
6253         * buffer.C (readParagraph): adjust
6254
6255         * ParagraphList.C (insert): take a reference instead of a pointer
6256         (insert): adjust
6257
6258         * paragraph.[Ch] (id): new function
6259
6260         * bufferlist.C (newFile): adjust
6261
6262         * ParagraphList.C (ParagraphList): adjust
6263         (assign): adjust
6264         (push_back): take a reference instead of a pointer.
6265
6266         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6267
6268         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6269         instead.
6270
6271         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6272         set else use old code.
6273
6274         * ParagraphList.C: remove all NO_NEXT code and only compile this
6275         code of NO_STD_LIST is set.
6276
6277 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * BufferView_pimpl.C:
6280         * TextCache.C:
6281         * TextCache.h:
6282         * bufferlist.C:
6283         * errorlist.h:
6284         * format.C:
6285         * format.h:
6286         * graph.C:
6287         * lyxfunc.C:
6288         * lyxrc.C:
6289         * graphics/GraphicsConverter.C:
6290         * graphics/PreviewLoader.C: header adjustment
6291
6292 2003-05-23  Angus Leeming  <leeming@lyx.org>
6293
6294         * LaTeXFeatures.[Ch] (useBabel): new method.
6295         * bufferparams.C (writeLaTeX): use it.
6296
6297 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * ParagraphList.h (set): remove unused function.
6300
6301 2003-05-23  André Pönitz  <poenitz@gmx.net>
6302
6303         * BufferView.C:
6304         * BufferView_pimpl.C:
6305         * buffer.C:
6306         * buffer.h:
6307         * lyxfunc.C:
6308         * undo_funcs.C: setUndo reworked
6309
6310         * iterators.[Ch]: add access to topmost ParagraphList
6311
6312         * lyxtext.[Ch] (workWidth): add a const
6313
6314 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6315
6316         * texrow.[Ch] (increasePos): remove function
6317         * exporter.C (export): removed unused var and outdated comment
6318
6319 2003-05-23  Angus Leeming  <leeming@lyx.org>
6320
6321         * latexrunparams.h: rename fragile as moving_arg.
6322         * paragraph.C (simpleTeXOnePar): ditto.
6323         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6324
6325 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6328         (createUndo): ditto
6329         (textUndoOrRedo): comment out a currently unused var.
6330
6331         * paragraph.h (NO_NEXT): enable NO_NEXT
6332
6333         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6334
6335         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6336
6337         * exporter.C (Export): adjust for removeAutoInsets removal.
6338
6339         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6340
6341         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6342
6343         * BufferView.[Ch] (removeAutoInsets): delete function
6344
6345 2003-05-22  Angus Leeming  <leeming@lyx.org>
6346
6347         * latexrunparams.h: add a free_spacing variable.
6348
6349         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6350         to pass moving_arg, as the data is stored in runparams.fragile.
6351
6352         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6353         to Inset::latexOptional or to simpleTeXOnePar.
6354
6355         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6356         free_spacing arg to Inset::latexOptional.
6357
6358         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6359         free_spacing arg.
6360
6361 2003-05-22  Angus Leeming  <leeming@lyx.org>
6362
6363         * latexrunparams.h: add fragile and use_babel variables.
6364
6365         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6366         * buffer.C (makeLaTeXFile): store this returned value in
6367         runparams.use_babel, thus passing it to the inset::latex methods.
6368
6369         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6370         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6371
6372         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6373         longer has a fragile arg, as it is stored in runparams.fragile.
6374
6375         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6376         moving_arg parameter as the data is stored in runparams.fragile.
6377
6378         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6379         a fragile parameter as the data is stored in runparams.fragile.
6380
6381 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6384
6385 2003-05-22  Angus Leeming  <leeming@lyx.org>
6386
6387         * latexrunparams.h: add a 'bool nice' which defaults to false.
6388
6389         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6390         now encapsulated within runparams.
6391
6392         * bufferlist.C (updateIncludedTeXfiles):
6393         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6394
6395 2003-05-22  Angus Leeming  <leeming@lyx.org>
6396
6397         * latexrunparams.h: new file containing struct LatexRunParams.
6398         * Makefile.am: add new file.
6399
6400         * LaTeX.[Ch] (c-tor, run):
6401         * buffer.[Ch] (makeLaTeXFile):
6402         * bufferlist.[Ch] (updateIncludedTeXfiles):
6403         * converter.C (convert, scanLog):
6404         * converter.[Ch] (runLaTeX):
6405         * exporter.C (Export):
6406         * paragraph.[Ch] (simpleTeXOnePar):
6407         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6408         * paragraph_funcs.[Ch] (latexParagraphs):
6409         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6410         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6411         pass around a LatexRunParams parameter.
6412
6413 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * paragraph.[Ch]: remove unused constructor
6416
6417         * ParagraphList.C (erase): new function, taking two iterators
6418
6419 2003-05-22  André Pönitz  <poenitz@gmx.net>
6420
6421         * undo_funcs.C: remove duplicated code
6422
6423         * iterator.[Ch]: operator=
6424
6425 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * tabular.C (SetMultiColumn): ws changes
6428
6429         * rowpainter.C (paintFirst): get rid of a ->previous
6430
6431         * lyx_cb.C (getPossibleLabel): parlist simplification
6432
6433         * BufferView.C (ChangeInsets): simplify slightly.
6434
6435 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6436
6437         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6438         * lfuns.h: new LFUN_SPACE
6439         * lyxfunc.C: protected space has a new lfun
6440         * paragraph_funcs.C: read new space insets
6441         * text3.C:
6442         * factory.C: handle new space insets
6443
6444 2003-05-22  André Pönitz  <poenitz@gmx.net>
6445
6446         * BufferView.C:
6447         * BufferView_pimpl.C:
6448         * buffer.[Ch]:
6449         * lyxfunc.C:
6450         * undo_funcs.C: return a ParIterator from getParFromID.
6451
6452         * iterators.[Ch]: add two const's
6453
6454 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6455
6456         * toc.C (getTocList): adjust
6457
6458         * iterators.[Ch]: rework for parlist
6459
6460         * buffer.C (par_iterator_begin): adjust
6461         (par_iterator_end): adjust
6462
6463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6464
6465         * BufferView.C (removeAutoInsets): adjust
6466         (ChangeInsets): adjust
6467
6468 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * text.C (top_y): fix bug 1110
6471
6472 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * errorlist.[Ch]: added
6475         * buffer.C:
6476         * BufferView.[Ch]:
6477         * BufferView_pimpl.C:
6478         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6479         instead
6480
6481 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * Makefile.am: ensure that lyx is relinked upon changes to the
6484         various "convenience" libs.
6485
6486 2003-05-20  Angus Leeming  <leeming@lyx.org>
6487
6488         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6489         files are compiled in alphabetical order again.
6490
6491         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6492
6493 2003-05-19  Angus Leeming  <leeming@lyx.org>
6494
6495         * gettext.[Ch]: remove "char const * _(char const *)".
6496
6497 2003-05-19  André Pönitz  <poenitz@gmx.net>
6498
6499         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6500
6501         * Makefile.am:
6502         * BufferView.C:
6503         * DepTable.h:
6504         * LaTeXFeatures.C:
6505         * buffer.C:
6506         * lyxfont.C:
6507         * lyxlex.h:
6508         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6509
6510 2003-05-19  André Pönitz  <poenitz@gmx.net>
6511
6512         * buffer.C:
6513         * lyxlayout.[Ch]:
6514         * lyxtextclass.[Ch]:
6515         * paragraph.C:
6516         * paragraph_funcs.[Ch]:
6517         * text2.C:
6518         * text3.C: more insetenv work
6519
6520 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * ParagraphParameters.C (params2string): small bug fixed
6523
6524 2003-05-16  André Pönitz  <poenitz@gmx.net>
6525
6526         * debug.C:
6527         * bufferview_funcs.C: patch from Kornel Benko to prevent
6528           crash when _(...) is called twice in a statement
6529
6530 2003-05-16  André Pönitz  <poenitz@gmx.net>
6531
6532         * BufferView.C:
6533         * lyxfunc.C:
6534         * text.C:
6535         * text2.C:
6536         * text3.C:
6537         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6538
6539 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * lyx_main.C (init): remove spurious static_cast
6542
6543 2003-05-14  André Pönitz  <poenitz@gmx.net>
6544
6545         * BufferView.C: fix format string
6546
6547 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6548
6549         * BufferView.[Ch] (insertErrors): removed
6550         * BufferView.[Ch] (showErrorList): added
6551         * buffer.C (runChkTeX):
6552         * converter.C (scanLog): call showErrorList instead of inserterrors
6553
6554 2003-05-13  André Pönitz  <poenitz@gmx.net>
6555
6556         * BufferView_pimpl.C:
6557         * buffer.C:
6558         * bufferview_func.C:
6559         * MenuBackend.C:
6560         * lyxfunc.C:
6561         * lyxrc.C:
6562         * tex-accent.C:
6563         * text3.C:
6564         * toc.C:
6565         * tabular_funcs.h: tostr() from its own header
6566
6567         * ParagraphParameters.C:
6568         * ToolbarBackend.C:
6569         * bufferparams.C:
6570         * format.C:
6571         * lyxlex_pimpl.C:
6572         * text3.C: STRCONV()
6573
6574 2003-05-12  André Pönitz  <poenitz@gmx.net>
6575
6576         * BufferView.C:
6577         * BufferView_pimpl.C:
6578         * CutAndPaste.C:
6579         * LaTeX.C:
6580         * LaTeXFeatures.C:
6581         * ParagraphParameters.C:
6582         * buffer.C:
6583         * bufferlist.C:
6584         * bufferparams.C:
6585         * bufferview_funcs.C:
6586         * converter.C:
6587         * counters.C:
6588         * debug.C:
6589         * exporter.C:
6590         * format.C:
6591         * importer.C:
6592         * lyx_cb.C:
6593         * lyx_main.C:
6594         * lyxfont.C:
6595         * lyxfunc.C:
6596         * lyxvc.C:
6597         * paragraph.C:
6598         * paragraph_funcs.C:
6599         * tabular.C:
6600         * tabular_funcs.C:
6601         * text2.C:
6602         * text3.C:  boost::format -> bformat  all over the place
6603
6604
6605 2003-05-09  André Pönitz  <poenitz@gmx.net>
6606
6607         * LColor.[Ch]: Pimpl the #include <map> away
6608
6609 2003-05-09  John Levon  <levon@movementarian.org>
6610
6611         * bufferlist.C: never remove emergency saves
6612
6613 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * Makefile.am: better lib building
6616
6617 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6620         instead.
6621         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6622         (simpleTeXSpecialChars): adjust
6623         (simpleTeXSpecialChars): adjust
6624         * paragraph.C (simpleTeXOnePar): adjust
6625         * buffer.C (makeLaTeXFile): adjust
6626
6627         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6628
6629         * text2.C (changeDepth): parlist cleanup
6630         (getColumnNearX): ditto
6631
6632         * rowpainter.C (getLabelFont): parlist cleanup
6633
6634         * bufferlist.C (newFile): parlist cleanup
6635
6636         * CutAndPaste.C (eraseSelection): parlist cleanup
6637
6638         * BufferView_pimpl.C (trackChanges): parlist cleanup
6639         (dispatch): ditto
6640
6641         * BufferView.C (lockInset): parlist cleanup.
6642         (ChangeInsets): ditto
6643
6644 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * CutAndPaste.h: Update file header.
6647
6648         * CutAndPaste.C: Update file header.
6649         Store the parts cut out of the Document in a limited_stack.
6650         (copySelection): adjust
6651         (pasteSelection): new function, takes the index in the limited stack.
6652         (nrOfParagraphs): adjust
6653         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6654         simplify error inset insertion.
6655         (checkPastePossible): adjust
6656
6657 2003-05-06  John Levon  <levon@movementarian.org>
6658
6659         * text2.C: don't cast wrap inset to float
6660
6661 2003-05-05  André Pönitz  <poenitz@gmx.net>
6662
6663         * iterator.C:
6664         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6665
6666         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6667           few naked Paragraph *.
6668
6669 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6670
6671         * bufferparams.C: Output warning if a document with missing
6672         TeX document class is loaded
6673         * exporter.C: Disable TeX exports if the document class is missing
6674         * lyxtextclass.C:
6675         * lyxtextclass.h:
6676         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6677         isTeXClassAvailable()
6678
6679 2003-05-03  John Levon  <levon@movementarian.org>
6680
6681         * BufferView.h:
6682         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6683         explicit cursor show/hide
6684
6685         * BufferView_pimpl.h:
6686         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6687         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6688
6689         * lyxfunc.C: hide cursor before dispatching.
6690
6691         * lyx_cb.C:
6692         * lyxfind.C:
6693         * text.C:
6694         * text3.C: remove explicit cursor hides
6695
6696 2003-05-02  André Pönitz  <poenitz@gmx.net>
6697
6698         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6699
6700         * undo_funcs.C:
6701         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6702           linked lists
6703
6704         * text2.C: tiny whitespace
6705
6706 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * undo_funcs.C: almost only ws changes.
6709
6710         * ParagraphList.C (splice): just return if pl is empty.
6711
6712 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6713
6714         * ParagraphList.C (splice): new function.
6715
6716         * CutAndPaste.C (pasteSelection): use it
6717
6718 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * CutAndPaste.C (pasteSelection): remove the last next and
6721         previous from this file.
6722
6723 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * CutAndPaste.C (pasteSelection): more clean up, user proper
6726         ParagraphList functions for pasteing.
6727
6728         * ParagraphList.C (insert): new function, three arg insert
6729
6730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6731
6732         * ParagraphList.C (insert): new function, three arg insert
6733
6734         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6735         not on paragraphs.
6736
6737 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6740
6741 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6744
6745 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6748         (copySelection): clean up a bit.
6749         (pasteSelection): use make_pair
6750
6751         * ParagraphList.C (ParagraphList): implement copy constructor
6752         (operator=): implement, base on copy constructor.
6753         (assign): new func
6754
6755         * paragraph.C (erase): return a bool
6756
6757         * paragraph_pimpl.C (erasePos): remove function, move contents...
6758         (erase): ... here. Return a bool.
6759         (erase): call erase instead of erasePos.
6760
6761 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6762
6763         * ParagraphList.h: define PitPosPair
6764         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6765         ParagraphList, fix a bug on pasting multiple pars
6766         * text2.C: change interface to C&P
6767
6768 2003-04-30  André Pönitz  <poenitz@gmx.net>
6769
6770         * undo_func.C: revert part of yesterday's patch 2
6771
6772 2003-04-30  John Levon  <levon@movementarian.org>
6773
6774         * LColor.C: s/tabular/table/
6775
6776 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * text3.C (dispatch): do not convert iterator -> pointer
6779         * undo_funcs.C (setCursorParUndo): ditto
6780         * text_funcs.C (transposeChars): ditto
6781
6782         * text2.C (setLayout): ws changes only
6783
6784         * text.C (breakParagraph): do not convert iterator -> pointer
6785         (insertChar): ditto
6786         (acceptChange): ditto
6787         (rejectChange): ditto
6788         (changeCase): ditto
6789         (Delete): ditto
6790         (backspace): ditto
6791
6792         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6793         pointer
6794
6795 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6796
6797         * text3.C (gotoInset): YABG (yet another bad getChar)
6798
6799 2003-04-29  André Pönitz  <poenitz@gmx.net>
6800
6801         * paragraph.h: make operator= private unimplemented as long as
6802           it is unusable
6803
6804         * ParagraphList.C: whitespace
6805
6806         * paragraph.[Ch]:
6807         * paragraph_pimpl.[Ch]:
6808         * paragraph_funcs.C:
6809         * CutAndPaste.C:
6810         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6811
6812         * text2.C:
6813           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6814
6815 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6818         * paragraph.[Ch] (erase):
6819         * paragraph_pimpl.[Ch] (erase): change return type and value
6820         * text2.C (cutSelection): some rework
6821
6822 2003-04-28  John Levon  <levon@movementarian.org>
6823
6824         * bufferlist.C: changes for unsaved changes dialog
6825
6826 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * bufferlist.C (newFile): set language (messages_) for new
6829         documents also.
6830
6831         * buffer.C (readFile): ws changes only.
6832
6833 2003-04-28  André Pönitz  <poenitz@gmx.net>
6834
6835         * undo_funcs.C:
6836         * lyxfunc.C:
6837         * buffer.[Ch]:
6838         * BufferView_pimpl.C:
6839         * BufferView.C: getParFromID related ParagraphList::iterator changes
6840
6841 2003-04-28  André Pönitz  <poenitz@gmx.net>
6842
6843         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6844           Changes
6845
6846 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * messages.C: remove one more localedir class variable.
6849
6850 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * messages.C (getLocaleDir): singleton generation function
6853         (Pimpl): use it.
6854         (Messages): add a default constructor.
6855
6856         * main.C (main): do not setup localedir here, do not call
6857         gettext_init.
6858
6859         * gettext.C (_): use it.
6860         (gettext_init): delete funciton
6861
6862 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * gettext.C (getLyXMessages): new singleton generating function.
6865
6866         * buffer.C (updateDocLang): adjust
6867
6868         * Makefile.am (messages.o): add target
6869         (main.o): remove target
6870
6871 2003-04-27  John Levon  <levon@movementarian.org>
6872
6873         * bufferlist.C:
6874         * lyx_cb.C:
6875         * lyxfunc.C:
6876         * lyxvc.C: specify cancel button in Alert::prompt
6877
6878 2003-04-26  John Levon  <levon@movementarian.org>
6879
6880         * text3.C:
6881         * lyxfunc.C:
6882         * lfuns.h:
6883         * LyXAction.C: add LFUN_INSET_SETTINGS
6884
6885         * lyxfunc.C: don't enable tabular-feature when there's
6886         just any locking inset
6887
6888 2003-04-26  John Levon  <levon@movementarian.org>
6889
6890         * bufferlist.C: re-add Cancel to buffer close question
6891
6892         * lyxfunc.C: fix import UI a bit
6893
6894 2003-04-25  John Levon  <levon@movementarian.org>
6895
6896         * gettext.C: remove the broken asserts for now
6897
6898 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6899
6900         * messages.C: make case where setlocale cannot comply work better.
6901
6902         * buffer.C (updateDocLang): new function
6903         (changeLanguage): use it
6904         (readFile): use it
6905
6906         * text2.C (setCounter): use B_ a bit.
6907
6908         * lyxlayout.C (Read): be sure to trim the label strings.
6909
6910         * messages.C (Messages): fix typo in comment
6911
6912         * buffer.C (readFile): set message_ after file is loaded.
6913         (makeDocBookFile): remove double return
6914         (changeLanguage): reset message_ upon language change.
6915         (B_): new func, use this to get translated buffer strings.
6916
6917         * main.C: add myself and Jean Marc as authors.
6918
6919 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * messages.[hC]: pimplify Messages, and three different pimpls to be
6922         used in different circumstances.
6923
6924         * gettext.[Ch]: change for use with new message code.
6925
6926 2003-04-24 André Pönitz <poenitz@gmx.net>
6927
6928         * factory.C: support for eqref
6929
6930 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * messages.[Ch]: add missing char
6933
6934         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6935
6936         * messages.[Ch]: New files
6937
6938 2003-04-18  John Levon  <levon@movementarian.org>
6939
6940         * BufferView.h:
6941         * BufferView.C:
6942         * BufferView_pimpl.C:
6943         * lfuns.h:
6944         * LyXAction.C:
6945         * lyxtext.h:
6946         * text2.C: remove layout-copy/paste (bug 778)
6947
6948 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6949
6950         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6951
6952 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6953
6954         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6955         if they succeed. Act accordingly.
6956
6957 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * text2.C (setCharFont): adjust
6960         (setCounter): adjust
6961         (insertStringAsLines): adjust
6962
6963         * text.C (leftMargin): adjust
6964         (setHeightOfRow): adjust
6965
6966         * rowpainter.C (paintFirst): adjust
6967         (paintLast): adjust
6968
6969         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6970         (outerHook): ditto
6971         (isFirstInSequence): ditto
6972         (getEndLabel): ditto
6973         (outerFont): adjust
6974
6975         * paragraph.C (getParLanguage): comment out some hard stuff.
6976
6977         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6978         (sgmlError): ditto
6979         (simpleDocBookOnePar): ditto
6980         (makeDocBookFile): use ParagraphList::iterator
6981
6982         * CutAndPaste.C (pasteSelection): adjust
6983
6984 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * text2.C (getFont): adjust
6987         (getLayoutFont): adjust
6988         (getLabelFont): adjust
6989
6990         * paragraph_funcs.C (TeXOnePar): adjust
6991
6992         * buffer.C (simpleLinuxDocOnePar): adjust
6993         (simpleDocBookOnePar): adjust
6994
6995         * CutAndPaste.C (pasteSelection): adjust
6996
6997         * BufferView.C (getEncoding): adjust
6998
6999         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7000
7001 2003-04-16  John Levon  <levon@movementarian.org>
7002
7003         * lyxfind.C: use parlist stuff for search/changes
7004
7005 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7008
7009         * text2.C (deleteEmptyParagraphMechanism): adjust
7010
7011         * text2.[Ch] (ownerParagraph): delete func (both of them
7012
7013 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7016
7017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * ParagraphList.C: prepare for NO_NEXT
7020
7021 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * text2.C (getFont): adjust
7024         (getLayoutFont): adjust
7025         (getLabelFont): adjust
7026
7027         * paragraph.C (getFont): adjust
7028         (getLabelFont): adjust
7029         (getLayoutFont): adjust
7030
7031         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7032
7033 2003-04-15  John Levon  <levon@movementarian.org>
7034
7035         From Angus Leeming
7036
7037         * lyx_main.C: handle Include in .ui files
7038
7039 2003-04-15  John Levon  <levon@movementarian.org>
7040
7041         * MenuBackend.C: make the doc files length shorter
7042
7043         * ToolbarBackend.h:
7044         * ToolbarBackend.C: handle toolbar placement flags,
7045         Minibuffer
7046
7047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7050         adjust
7051
7052         * paragraph_funcs.C (TeXOnePar): adjust
7053
7054         * paragraph.C (getLabelFont): add outerfont arg, adjust
7055         (getLayoutFont): ditto
7056         (simpleTeXOnePar): adjust
7057
7058         * paragraph_pimpl.C (realizeFont): delete func
7059
7060 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7063         row argument, constify cur argument.
7064
7065 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * text2.C (getFont): adjust
7068         (getLayoutFont): adjust
7069         (getLabelFont): adjust
7070
7071         * paragraph_funcs.C (TeXOnePar): adjust
7072         (outerFont): new func...
7073         (realizeFont): ...moved out from here, changed this to facilitate
7074         transition
7075
7076         * paragraph.C (getFont): take outerfont as arg, adjust
7077         (simpleTeXOnePar): add outerfont arg, adjust
7078
7079         * buffer.C (simpleLinuxDocOnePar): adjust
7080         (simpleDocBookOnePar): adjust
7081
7082         * CutAndPaste.C (pasteSelection): adjust
7083
7084         * BufferView.C (getEncoding): adjust
7085
7086 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * text2.C (setCharFont): adjust
7089         (setCounter): adjust
7090
7091         * text.C (leftMargin): adjust
7092         (setHeightOfRow): adjust
7093
7094         * rowpainter.C (paintFirst): adjust
7095         (paintLast): adjust
7096
7097         * paragraph_pimpl.C (realizeFont): adjust
7098
7099         * paragraph.C (isFirstInSequence): move from here...
7100         * paragraph_funcs.C (isFirstInSequence): ...to here
7101
7102         * paragraph.C (outerHook): move from here...
7103         * paragraph_funcs.C (outerHook): ...to here
7104
7105         * paragraph.C (depthHook): move from here...
7106         * paragraph_funcs.C (depthHook): ...to here
7107
7108         * paragraph.C (getEndLabel): move from here...
7109         * paragraph_funcs.C (getEndLabel): ...to here
7110
7111         * text2.C (realizeFont): move from here...
7112         * paragraph_funcs.C (realizeFont): ...to here
7113
7114 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7117
7118 2003-04-14  Angus Leeming  <leeming@lyx.org>
7119
7120         * LColor.[Ch]: scrap LColor mathcursor.
7121
7122 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * lyxlex.[Ch] (text): delete function
7125         * trans.C (Load): adjust
7126         * paragraph_funcs.C (readParToken): adjust
7127
7128 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7129
7130         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7131         vector<char> instead of a char[].
7132
7133         * lyxlex_pimpl.C (getString): adjust
7134         (next): adjust
7135         (lex): use getString
7136         (eatLine): adjust
7137         (nextToken): adjust
7138
7139         * lyxlex.C (text): use pimpl_->getString()
7140         (getBool): ditto
7141         (findToken): ditto
7142
7143 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7146         (makeFontEntriesLayoutSpecific): temp var for par.size()
7147         (setLayout): temp var for ownerParagraphs().end()
7148         (fullRebreak): temp var for rows().end()
7149         (selectionAsString): temp var for boost::next(startpit), realize
7150         that the while really is a regular for loop.
7151         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7152         setCursor in one place.
7153         (setParagraph): temp vr for ownerParagraphs().end()
7154         (updateCounters): make the while loop a for loop
7155         (cutSelection): temp var for ownerParagraphs().end()
7156         (updateInset): make the do {} while() a regular for loop
7157         (getCursorX): use temp vars
7158         (setCurrentFont): use temp vars
7159         (getColumnNearX): use temp vars
7160
7161 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text.C (transformChar): use temp var for getChar
7164         (computeBidiTables): use temp var for row->par()
7165         (fill): move temp vars for row->par() and pit->layout() earlier in
7166         the function.
7167         (labelFill): use temp var for row->par()
7168         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7169         asc and desc, realize that pit never changes and that firstpit is
7170         just a duplicate and not needed. Exchange rit->par() with pit in a
7171         lot of places.
7172         (breakAgain): use a temp var for boost::next(rit)
7173         (breakAgainOneRow): ditto
7174         (breakParagraph): use a temp var for rows().begin()
7175         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7176         (cursorRightOneWord): use temp var for cursor.par() and
7177         cursor.pos(), remove usage of tmpcursor.
7178         (cursorLeftOneWord): use temp var for cursor.par() and
7179         cursor.pos() only set cur at end of function.
7180
7181 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * text.C, text2.C: exchange all usage of Paragraph::next with
7184         boost::next(ParagraphList::iterator)
7185
7186         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7187
7188         * text2.C (cursorTop): simplify implementation
7189         (cursorBottom): ditto
7190         (setParagraph): use ParagraphList::iterator
7191         (setCurrentFont): adjust
7192         (getColumnNearX): adjust
7193         (cursorRight): adjust
7194         (cursorLeft): remove usage of Paragraph::previous
7195         (cursorUpParagraph): ditto
7196         (deleteEmptyParagraphMechanism): slight cleanup
7197
7198         * text.C (isBoundary): take a Paragraph const & instead of a
7199         pointer as arg.
7200         (addressBreakPoint): ditto
7201         (leftMargin): remove usage of Paragraph::previous.
7202         (setHeightOfRow): ditto
7203         (cursorLeftOneWord): ditto
7204         (selectNextWordToSpellcheck): ditto
7205         (Delete): ditto
7206         (backspace): ditto
7207         (breakParagraph): remove one usage of Paragraph::next
7208         (redoParagraph): ditto
7209         (acceptChange): ditto
7210         (insertChar): adjust
7211         (rowBreakPoint): adjust
7212
7213         * bufferview_funcs.C (toggleAndShow): adjust
7214
7215 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7216
7217         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7218         methods to access it.
7219         * lyxtext.h:
7220         * text.C: Added updateRowPositions to compute all row positions.
7221         Make top_y and getRowNearY() to use the cached y position
7222
7223 2003-04-11  John Levon  <levon@movementarian.org>
7224
7225         * text.C (rowBreakPoint): reintroduce the labelEnd
7226         checks, code copied from the row fill stuff. Deep voodoo.
7227
7228         * text.C (fill): add a comment and debugging for the
7229         next poor soul.
7230
7231 2003-04-11  John Levon  <levon@movementarian.org>
7232
7233         * text.C: make sure fullrow insets get wrapped to the next line,
7234         even when they're in a manual label
7235
7236 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * text2.C (insertParagraph): make it take ParagraphList::iterator
7239         as arg.
7240         (setLayout): make it return ParagraphList::iterator
7241         (redoParagraphs): ditto
7242         (setCounter): ditto
7243         (checkParagraph): ditto
7244
7245         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7246
7247         * text2.C: adjust several funcs.
7248         (realizeFont): take a ParagraphList::iterator as arg.
7249         (getLayoutFont): ditto
7250         (getLabelFont): ditto
7251         (setCharFont): ditto
7252
7253         * text.C: adjust several funcs.
7254
7255 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7256
7257         * text.C (selectNextWordToSpellcheck): don't accidentally
7258         skip insets
7259
7260 2003-04-10  John Levon  <levon@movementarian.org>
7261
7262         * ToolbarBackend.C (getIcon): special handling for
7263         LFUN_MATH_DELIM
7264
7265 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7266
7267         * text2.C (cursorRight): a getChar assert fixed
7268
7269 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * text2.C (getFont): change to take a ParagraphList::iterator
7272         instead of Paragraph*
7273         Adjust several functions.
7274
7275         * text.C (transformChar): change to take a ParagraphList::iterator
7276         instead of Paragraph*
7277         (singleWidth): ditto
7278         Adjust several functions.
7279
7280         * rowpainter.C: adjust several functions
7281         * rowpainter.h:store a ParagraphList::iterator and not a
7282         Paragraph&.
7283
7284
7285 2003-04-09  John Levon  <levon@movementarian.org>
7286
7287         * lyxfunc.C:
7288         * lfuns.h:
7289         * LyXAction.h:
7290         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7291         and the "help" bits as well
7292
7293 2003-04-09  John Levon  <levon@movementarian.org>
7294
7295         * ToolbarBackend.h:
7296         * ToolbarBackend.C: allow multiple toolbars
7297
7298 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * undo_funcs.C (setCursorParUndo): adjust
7301
7302         * text_funcs.C (transposeChars): adjust
7303
7304         * text3.C (gotoNextInset): adjust
7305         (dispatch): adjust
7306
7307         * text2.C (setLayout): adjust
7308         (changeDepth): adjust
7309         (setFont): adjust
7310         (redoParagraphs): adjust
7311         (selectionAsString): adjust
7312         (setParagraph): adjust
7313         (insertInset): adjust
7314         (cutSelection): adjust
7315         (copySelection): adjust
7316         (pasteSelection): adjust
7317         (insertStringAsLines): adjust
7318         (updateInset): adjust
7319         (setCursor): change to take a ParagraphList::iterator parameter
7320         (setCursorIntern): change to take a ParagraphList::iterator parameter
7321         (setCurrentFont): adjust
7322         (cursorLeft): adjust
7323         (cursorRight): adjust
7324         (deleteEmptyParagraphMechanism): adjust
7325
7326         * text.C (breakParagraph): adjust
7327         (insertChar): adjust
7328         (acceptChange): adjust
7329         (rejectChange): adjust
7330         (selectNextWordToSpellcheck): adjust
7331         (changeCase): adjust
7332         (Delete): adjust
7333         (backspace): adjust
7334
7335         * lyxfind.C (SearchForward): adjust
7336         (SearchBackward): adjust
7337         (nextChange): adjust
7338
7339         * lyxcursor.C (par): adjust
7340
7341         * lyxcursor.h: store a ParagraphList::iterator instead of a
7342         Paragraph*
7343
7344         * lyx_cb.C (getPossibleLabel): adjust
7345
7346         * bufferview_funcs.C (toggleAndShow): adjust
7347
7348         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7349         (dispatch): adjust
7350
7351         * BufferView.C (removeAutoInsets): adjust
7352         (lockedInsetStoreUndo): adjust
7353
7354 2003-04-09  John Levon  <levon@movementarian.org>
7355
7356         * ToolbarBackend.C: try icon without argument
7357         if with argument fails
7358
7359 2003-04-08  John Levon  <levon@movementarian.org>
7360
7361         * ToolbarBackend.h:
7362         * ToolbarBackend.C: add getIcon(), handle tooltip,
7363         and change from "Icon" to "Item".
7364
7365 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7366
7367         * BufferView.C (lockInset): another bad getchar crunched
7368
7369 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7370
7371         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7372         again)
7373
7374 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7375
7376         * lyxfind.C (searchForward, searchBackwards): bug 782
7377
7378 2003-04-07  John Levon  <levon@movementarian.org>
7379
7380         * paragraph.C: remove dead comment
7381
7382         * text.C: remove troublesome depth-fiddling code
7383         in leftMargin() and rightMargin() (bug 1017)
7384
7385         * text.C: fix breaking of rows in nested lists
7386         (bug 1004)
7387
7388         * text2.C (updateCounters): fix up depth values
7389         (bug 1013)
7390
7391 2003-04-07  John Levon  <levon@movementarian.org>
7392
7393         * BufferView_pimpl.C: clear message when doc finishes resizing,
7394         and after a mouse event
7395
7396         * lyxfunc.C: clear message after exiting inset
7397
7398 2003-04-07  John Levon  <levon@movementarian.org>
7399
7400         * bufferview_funcs.C: show math status not outside
7401         status in the statusbar
7402
7403 2003-04-07  John Levon  <levon@movementarian.org>
7404
7405         * lyxfunc.C: note status changed after a depth change
7406
7407 2003-04-04  Angus Leeming  <leeming@lyx.org>
7408
7409         * LaTeX.h: move AuxInfo operator==, != out of line.
7410         Remove LaTeX virtual destructor; nothing derives from it.
7411         Move operator()() out of public area and rename it startscript().
7412         Change protected for private.
7413
7414 2003-04-04  Angus Leeming  <leeming@lyx.org>
7415
7416         * lyxfunc.C:
7417         * text2.C: remove unneeded #includes.
7418
7419 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7420
7421         * text2.C (dEPM): fix the heigth of the next row
7422
7423 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7424
7425         * text.C: squashed an invalid getChar requester + some ws changes
7426
7427 2003-04-03  John Levon  <levon@movementarian.org>
7428
7429         * bufferview_funcs.h:
7430         * bufferview_funcs.C:
7431         * lyxfunc.C:
7432         * lyxtext.h:
7433         * text2.C: make getStatus work for the env depth lfuns
7434
7435 2003-04-03  John Levon  <levon@movementarian.org>
7436
7437         * bufferview_funcs.h:
7438         * bufferview_funcs.C:
7439         * lyxfunc.C:
7440         * lyxtext.h:
7441         * text2.C: parlistize decDepth(), by merging it with incDepth()
7442
7443 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * lyxrow.h: store a ParagraphList::iterator instead of a
7446         Paragraph* and adjust other class functions to suit.
7447
7448         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7449         above.
7450
7451 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7452
7453         * text2.C (setCursor): do not anchor to cursor row for the time being
7454
7455 2003-04-02  John Levon  <levon@movementarian.org>
7456
7457         * LyXAction.C:
7458         * lfuns.h:
7459         * lyx_main.C:
7460         * lyxtext.h:
7461         * text.C:
7462         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7463
7464 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * paragraph.h: make ParagraphList and ParagraphList::iterator
7467         friends of Paragraph.
7468
7469         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7470
7471         * ParagraphList.C: Use the private next_ and previous_ from
7472         Paragraph.
7473
7474 2003-04-01  John Levon  <levon@movementarian.org>
7475
7476         * ToolbarBackend.h:
7477         * ToolbarBackend.C:
7478         * Makefile.am: rename, remove defaults gunk
7479
7480         * MenuBackend.h:
7481         * MenuBackend.C: remove defaults gunk
7482
7483         * Languages.h:
7484         * Languages.C: remove defaults gunk
7485
7486         * lyx_main.h:
7487         * lyx_main.C: error out if files couldn't be found.
7488
7489 2003-04-02  John Levon  <levon@movementarian.org>
7490
7491         * text2.C: make incDepth() use parlist
7492
7493 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7494
7495         * undo_funcs.C (firstUndoParagraph): adjust
7496
7497         * text3.C (gotoInset): adjust
7498         (dispatch): adjust, and rewrite loop.
7499
7500         * text2.C (init): adjust, and rewrite loop.
7501         (redoParagraphs): adjust
7502         (updateInset): adjust, and rewrite loop.
7503         (deleteEmptyParagraphMechanism): adjust
7504
7505         * tabular.C (LyXTabular): adjust
7506         (SetMultiColumn): adjust
7507         (TeXRow): adjust
7508
7509         * lyxtext.[Ch] (ownerParagraph): delete function
7510         (ownerParagraphs): new function returns a ParagraphList.
7511
7512         * BufferView.C (removeAutoInsets): adjust
7513         (insertErrors): adjust
7514         (setCursorFromRow): adjust
7515
7516 2003-04-01  Angus Leeming  <leeming@lyx.org>
7517
7518         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7519         in the frontends.
7520
7521 2003-04-02  John Levon  <levon@movementarian.org>
7522
7523         * lyxtext.h:
7524         * text.C:
7525         * Makefile.am:
7526         * text_funcs.h:
7527         * text_funcs.C: make transposeChars a free function
7528
7529         * lyxrow_funcs.C: remove wrong comment
7530
7531 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * lyxtext.h: adjust
7534         * rowpainter.C: adjust
7535         * text.C: adjust
7536         * text2.C: adjust
7537         * text3.C: adjust
7538
7539         * lyxrow_funcs. [Ch]: new files
7540
7541         * lyxrow.[Ch]: remove next and previous pointers
7542         (next,previous): remove accessor functions
7543         (isParEnd): move to lyxrow_funcs
7544         (lastPos): move to lyxrow_funcs
7545         (nextRowIsAllInset): move to lyxrow_funcs
7546         (lastPrintablePos): move to lyxrow_funcs
7547         (numberOfSeparators): move to lyxrow_funcs
7548         (numberOfHfills): move to lyxrow_funcs
7549         (numberOfLabelHfills): move to lyxrow_funcs
7550         (hfillExpansion): move to lyxrow_funcs
7551
7552         * lyxfunc.C: adjust
7553
7554         * bufferview_funcs.C (toggleAndShow): adjust
7555
7556         * RowList.h: Remove class RowList from file leave just a
7557         std::list<Row>.
7558
7559         * RowList.C: delete file
7560
7561         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7562         and lyxrow_funcs.h
7563
7564 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * text3.C (cursorPrevious): adjust
7567         (cursorNext): adjust
7568         (dispatch): adjust
7569
7570         * text2.C (redoHeightOfParagraph): adjust
7571         (redoDrawingOfParagraph): adjust
7572         (setCursor): adjust
7573
7574         * text.C (breakParagraph): adjust
7575         (insertChar): adjust
7576         (backspace): adjust
7577
7578         * rowpainter.C (RowPainter): adjust
7579         (leftMargin): simplify and adjust
7580         (most rowpainter functions): adjust.
7581
7582         * rowpainter.h: store the row as RowList::iterator not as Row*
7583
7584         * lyxcursor.C (row): taka RowList::iterator as arg
7585         (irow): ditto
7586
7587         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7588         of Row*.
7589
7590 2003-04-01  Angus Leeming  <leeming@lyx.org>
7591
7592         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7593         stuff like bool Bool.
7594
7595 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7596
7597         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7598         rewrite a loop
7599
7600 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7603         RowList::iterator.
7604
7605         * lyxtext.h (rows): drop one version and leve a const variant that
7606         returns a RowList::iterator.
7607
7608 2003-03-31  Angus Leeming  <leeming@lyx.org>
7609
7610         * text.C (fill): ensure that the signature is the same as that in the
7611         header file.
7612
7613 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * text2.C (redoParagraphs): adjust
7616         (updateCounters): adjust
7617         (checkParagraph): adjust
7618         (getColumnNearX): adjust and reformat a bit.
7619
7620         * text.C (top_y): adjust
7621         (workWidth): adjust
7622         (leftMargin): adjust
7623         (prepareToPrint): adjust
7624         (getRow): adjust
7625         (getRowNearY): adjust
7626
7627         * lyxtext.h: make rowlist_ mutable.
7628
7629         * RowList.h: add const_iterator
7630         * RowList.C: adjust for RowList::const_iterator.
7631
7632         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7633         adjust.
7634
7635 2003-03-31  John Levon  <levon@movementarian.org>
7636
7637         * lyxrc.h:
7638         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7639
7640         * lyx_main.C: set default fonts from using lyx_gui funcs
7641
7642         * exporter.C: pdf_mode moved from lyxrc
7643
7644         * lyx_cb.C:
7645         * lyxfunc.C: changes from above
7646
7647 2003-03-31  John Levon  <levon@movementarian.org>
7648
7649         * lyx_main.C: fix to the last fix
7650
7651 2003-03-31  John Levon  <levon@movementarian.org>
7652
7653         * bufferlist.C: "Load original" -> "Load Original"
7654
7655         * converter.C:
7656         * exporter.C:
7657         * importer.C:
7658         * lyx_main.C:
7659         * format.C: more Alert cleanups
7660
7661 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * text2.C (removeParagraph): make it take a RowList::iterator as
7664         arg, adjust.
7665         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7666         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7667
7668         * text.C (anchor_row): make it take a RowList::iterator as arg,
7669         adjust.
7670         (computeBidiTables): make it take a const reference to Row instead
7671         of Row pointer, adjust.
7672         (leftMargin): make it take a RowList::iterator as arg, adjust.
7673         (rowBreakPoint): adjust
7674         (breakAgainOneRow): make it take a RowList::iterator as arg,
7675         adjust.
7676         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7677
7678         * bufferview_funcs.C (toggleAndShow): adjust
7679
7680 2003-03-30  John Levon  <levon@movementarian.org>
7681
7682         * Makefile.am:
7683         * BoostFormat.h:
7684         * boost-inst.C: moved to support
7685
7686         * several files: changes as a result
7687
7688 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * text2.C (LyXText): adjust.
7691         (init): adjust
7692         (removeRow): make it take a RowList::iterator as arg, adjust.
7693         (fullRebreak): adjust
7694         (deleteEmptyParagraphMechanism): adjust
7695         (clearPaint): adjust
7696         (postPaint): adjust
7697
7698         * text.C (top_y): adjust
7699         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7700         (breakAgain): make it take a RowList::iterator as arg, adjust.
7701         (breakParagraph): adjust
7702         (insertChar): adjust
7703         (backspace): adjust
7704
7705         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7706         need_break_row, and refresh_row.
7707
7708         * text3.C (dispatch): adjust
7709
7710         * text2.C (checkParagraph): adjust
7711         (setCursor): adjust
7712         (setCursorFromCoordinates): adjust
7713
7714         * text.C (top_y): adjust
7715         (workWidth): adjust
7716         (getRow): make it return a RowList::iterator, adjust
7717         (getRowNearY): make it return a RowList::iterator, adjust
7718
7719         * text2.C (init): adjust
7720         (insertRow): remove function
7721         (insertParagraph): adjust
7722         (redoParagraphs): adjust
7723         (fullRebreak): adjust
7724         (updateCounters): adjust
7725
7726         * text.C (top_y): rewrite to use RowList iterators.
7727         (top_y): adjust
7728         (setHeightOfRow): rewrite to sue RowList iterators.
7729         (appendParagraph): adjust
7730         (breakAgain): adjust
7731         (breakAgainOneRow): adjust
7732         (breakParagraph): adjust
7733         (getRow): adjust
7734         (getRowNearY): adjust, and remove commented code.
7735
7736         * lyxtext.h (firstRow): delete function
7737         (lastRow): delete function
7738         (rows): new function (const and non-const versions.)
7739         (insertRow): delete function
7740
7741         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7742
7743 2003-03-29  John Levon  <levon@movementarian.org>
7744
7745         * BufferView_pimpl.C: always update scrollbar top
7746         because pasting text when we're anchored could mean we
7747         miss an update altogether
7748
7749 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * text2.C (init): use rowlist_.end() and not 0.
7752         (insertRow): change to take a RowList::iterator as arg, adjust
7753         for this.
7754         (insertParagraph): change to take a RowList::iterator as arg,
7755         adjust for this.
7756         (redoParagraphs): remove some debug msgs.
7757
7758         * text.C (appendParagraph): change to take a RowList::iterator
7759         arg, adjust for this.
7760         (breakAgain): add an assert
7761         (breakAgainOneRow): ditto
7762
7763 2003-03-29  John Levon  <levon@movementarian.org>
7764
7765         * text2.C: do not clear selection after inc/decDepth
7766         (bug 550)
7767
7768 2003-03-29  John Levon  <levon@movementarian.org>
7769
7770         * BufferView.C:
7771         * buffer.C: fix broken strerrors according to Lars
7772
7773 2003-03-29  John Levon  <levon@movementarian.org>
7774
7775         * converters.C: more Alert cleanups
7776
7777 2003-03-29  John Levon  <levon@movementarian.org>
7778
7779         * bufferview_funcs.C: remove pointless Alert
7780
7781         * buffer.C: fix confusing error message when
7782         a template is chmoded 000
7783
7784 2003-03-29  John Levon  <levon@movementarian.org>
7785
7786         * BufferView.C:
7787         * BufferView.h:
7788         * BufferView_pimpl.C: Alert fixes
7789
7790         * Makefile.am:
7791         * tabular.C:
7792         * tabular-old.C: remove unused table compat reading
7793
7794 2003-03-29  John Levon  <levon@movementarian.org>
7795
7796         * BufferView.C:
7797         * buffer.C:
7798         * lyx_cb.h:
7799         * lyx_cb.C: more Alert cleanups
7800
7801         * lyxfunc.C: don't allow chktex if not latex document
7802
7803 2003-03-29  John Levon  <levon@movementarian.org>
7804
7805         * lyx_cb.C:
7806         * BufferView.C:
7807         * buffer.C: warnings pushed down from support/,
7808         kill err_alert
7809
7810 2003-03-29  John Levon  <levon@movementarian.org>
7811
7812         * lyxfunc.C: safety check for C-r (revert)
7813
7814 2003-03-29  John Levon  <levon@movementarian.org>
7815
7816         * bufferlist.h:
7817         * bufferlist.C: several UI fixes using Alert::prompt.
7818         Fix the pointless looping quit code. Fix stupid revert
7819         behaviour (bug 938)
7820
7821         * lyxvc.h:
7822         * lyxvc.C:
7823         * lyx_cb.C: use Alert::prompt
7824
7825         * lyx_main.C: remove a silly question
7826
7827         * lyxfunc.C: remove a couple of silly questions,
7828         use Alert::prompt
7829
7830 2003-03-28  John Levon  <levon@movementarian.org>
7831
7832         * text2.C: fix bug 974 (End on empty par)
7833
7834 2003-03-28  John Levon  <levon@movementarian.org>
7835
7836         * BufferView_pimpl.C:
7837         * LyXAction.C:
7838         * lfuns.h: remove do-nothing math greek lfuns
7839
7840 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7841
7842         * lyxgluelength.h (isValidGlueLength): add default arg on
7843         parameter 2. Remove default arg from friend in class.
7844
7845         * lyxlength.h (isValidLength): add default arg on parameter 2.
7846         Remove default arg from friend in class.
7847
7848         * text2.C (LyXText): adjust, initialize refresh_row.
7849         (init): adjust
7850         (removeRow): adjust
7851         (insertRow): adjust
7852         (insertParagraph): adjst
7853         (redoParagraphs): adjust
7854         (fullRebreak): adjust
7855         (updateCounters): adjust
7856         (deleteEmptyParagraphMechanism): first attempt at fixing a
7857         crashing bug.
7858
7859         * text.C (top_y): adjust
7860         (setHeightOfRow): adjust
7861         (getRow): adjust
7862         (getRowNearY): adjust
7863
7864         * lyxtext.h: include RowList.h
7865         (~LyXText): not needed anymore, deleted.
7866         (firstRow): modify for RowList
7867         (lastRow): new function
7868         Delete firstrow and lastrow class variables, add a Rowlist
7869         rowlist_ class variable.
7870
7871         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7872         paragraph is empty.
7873
7874         * RowList.C (insert): fix case where it == begin().
7875
7876 2003-03-26  Angus Leeming  <leeming@lyx.org>
7877
7878         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7879         the thesaurus dialog.
7880
7881 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7884
7885         * RowList.[Ch]: new files
7886
7887         * ParagraphList.C (erase): handle the case where it == begin
7888         correctly.
7889
7890 2003-03-25  John Levon  <levon@movementarian.org>
7891
7892         * Makefile.am:
7893         * aspell_local.h:
7894         * aspell.C: add new aspell support
7895
7896         * lyxrc.h:
7897         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7898         have it accessible.
7899
7900 2003-03-25  Angus Leeming  <leeming@lyx.org>
7901
7902         * lfuns.h:
7903         * LyXAction.C (init): new LFUN_INSET_INSERT.
7904
7905         * BufferView_pimpl.C (dispatch): split out part of the
7906         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7907
7908         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7909         LFUN_INSET_APPLY.
7910
7911 2003-03-25  Angus Leeming  <leeming@lyx.org>
7912
7913         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7914
7915 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7916
7917         * text2.C:
7918         * text3.C: remove useless row->height(0)
7919
7920 2003-03-25  John Levon  <levon@movementarian.org>
7921
7922         * lyxtext.h:
7923         * text2.C:
7924         * text3.C: rename the refreshing stuff to better names
7925
7926 2003-03-24  John Levon  <levon@movementarian.org>
7927
7928         * BufferView_pimpl.h:
7929         * BufferView_pimpl.C: update layout choice on a mouse
7930         press/release
7931
7932 2003-03-23  John Levon  <levon@movementarian.org>
7933
7934         * Makefile.am: fix commandtags.h reference
7935
7936 2003-03-22  John Levon  <levon@movementarian.org>
7937
7938         * BufferView_pimpl.C:
7939         * lyxtext.h:
7940         * rowpainter.C:
7941         * rowpainter.h:
7942         * text.C:
7943         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7944
7945 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7946
7947         * lyxtext.h:
7948         * text.C: take the rtl methods out of line
7949
7950 2003-03-21 André Pönitz <poenitz@gmx.net>
7951
7952         * metricsinfo.[Ch]: new files containing structures to be passed around
7953         during the two-phase-drawing...
7954
7955 2003-03-21 André Pönitz <poenitz@gmx.net>
7956
7957         * lyxtextclass.C: read 'environment' tag.
7958
7959 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7960
7961         * text2.C (removeRow): fix bug 964
7962
7963 2003-03-20  John Levon  <levon@movementarian.org>
7964
7965         * rowpainter.C:
7966         * text.C:
7967         * text2.C: paint cleanups. Inset::update() dropped font
7968         parameter
7969
7970 2003-03-19  John Levon  <levon@movementarian.org>
7971
7972         * lyxfunc.C: only fitcursor/markDirty if available()
7973
7974 2003-03-19  John Levon  <levon@movementarian.org>
7975
7976         * commandtags.h: rename to ...
7977
7978         * lfuns.h: ... this, and renumber / cleanup
7979
7980 2003-03-19  John Levon  <levon@movementarian.org>
7981
7982         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7983         fit the cursor after an lfun
7984
7985         * BufferView.h:
7986         * BufferView.C:
7987         * BufferView_pimpl.h:
7988         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7989
7990         * LyXAction.C: layout-character should have ReadOnly
7991
7992         * ParagraphParameters.C:
7993         * buffer.C:
7994         * bufferview_funcs.C:
7995         * lyx_cb.C:
7996         * lyxfind.C:
7997         * lyxtext.h:
7998         * text.C:
7999         * text2.C:
8000         * text3.C:
8001         * undo_funcs.C: changes from above
8002
8003 2003-03-18  John Levon  <levon@movementarian.org>
8004
8005         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8006         remove it from update()
8007
8008         * lyxfunc.C: update layout choice after an lfun
8009
8010         * text3.C: remove extra updateLayoutChoice()s
8011
8012 2003-03-18  John Levon  <levon@movementarian.org>
8013
8014         * text.C: top_y change means full repaint, fix
8015         a drawing bug with cursor movement
8016
8017 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * lyxtext.h:
8020         * text.C:
8021         * text2.C: anchor row on setCursor
8022
8023 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8024
8025         * lyxtext.h: remove almost all mutable keywords
8026         * text.C:
8027         * text2.C:
8028         * text3.C: remove const keywords accordingly
8029
8030 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8033         anon namespace
8034         (TeXEnvironment): ditto
8035         (TeXOnePar): ditto
8036
8037 2003-03-17  John Levon  <levon@movementarian.org>
8038
8039         * text.C (rowBreakPoint): remove attempt to fix displayed
8040         math insets inside a manual label
8041
8042 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * lyxtext.h: remove BufferView* as first arg from almost all class
8045         functions.
8046         * other files: adjust.
8047
8048 2003-03-17  John Levon  <levon@movementarian.org>
8049
8050         * lyxtext.h:
8051         * undo_funcs.C:
8052         * text2.C: more paint cleanups
8053
8054         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8055
8056         * rowpainter.h:
8057         * rowpainter.C: remove "smart" background painting code
8058
8059 2003-03-16  John Levon  <levon@movementarian.org>
8060
8061         * lyxtext.h:
8062         * text.C:
8063         * text2.C:
8064         * text3.C: add helper functions for setting refresh_row/y
8065
8066 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8067
8068         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8069         newline inset which *can* get inserted in the pass_thru layouts.
8070         This is primarily for literate documents.
8071
8072 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8073
8074         * buffer.C: increment LYX_FORMAT to 223
8075
8076 2003-03-14 André Pönitz <poenitz@gmx.net>
8077
8078         * textclass.h: prepare for environment handling, ws changes
8079         * lyxlayout.C: read latexheader and latexfooter tags
8080
8081 2003-03-14  John Levon  <levon@movementarian.org>
8082
8083         * text2.C: rewrite ::status() a bit
8084
8085 2003-03-13  John Levon  <levon@movementarian.org>
8086
8087         * lyxtext.h: add some docs
8088
8089 2003-03-13  John Levon  <levon@movementarian.org>
8090
8091         * lyxtext.h:
8092         * text.C:
8093         * text2.C:
8094         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8095
8096 2003-03-13  John Levon  <levon@movementarian.org>
8097
8098         * text3.C: fix appendix redrawing
8099
8100 2003-03-13  John Levon  <levon@movementarian.org>
8101
8102         * text.C (setHeightOfRow):
8103         * rowpainter.h:
8104         * rowpainter.C: make appendix mark have the text
8105           "Appendix" so the user knows what it is
8106
8107         * LColor.h:
8108         * LColor.C: s/appendixline/appendix/ from above
8109
8110 2003-03-13  John Levon  <levon@movementarian.org>
8111
8112         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8113
8114         * text.C: fix a getChar(pos) bug properly
8115
8116 2003-03-13  Angus Leeming  <leeming@lyx.org>
8117
8118         * commandtags.h:
8119         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8120         Probably only temporary. Let's see how things pan out.
8121
8122         * BufferView.C (unlockInset):
8123         * BufferView_pimpl.C (fitCursor):
8124         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8125
8126         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8127         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8128
8129         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8130         new functions that convert ParagraphParameters to and from a string.
8131
8132         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8133         BufferView::Pimpl's dispatch.
8134         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8135
8136 2003-03-13 André Pönitz <poenitz@gmx.net>
8137
8138         * lyxfunc.C:
8139         * text3.C:
8140         * factory.C: make it aware of InsetEnv
8141
8142 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * text2.C (setCursor): never ask for one past last
8145         (setCursor): add some debugging messages.
8146
8147         * text.C (singleWidth): never ask for one past last
8148         (singleWidth): ditto
8149         (leftMargin): ditto
8150         (rightMargin): ditto
8151         (rowBreakPoint): ditto
8152         (setHeightOfRow): ditto
8153         (prepareToPrint): ditto
8154
8155         * rowpainter.C (paintBackground): never ask for one past last
8156         (paintText): never ask for one past last
8157
8158         * paragraph_pimpl.C (getChar): make the assert stricter, never
8159         allow the one past last pos to be taken
8160
8161         * paragraph.C (getChar): ws changes only
8162
8163         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8164         (numberOfSeparators): ditto
8165         (numberOfHfills): ditto
8166
8167 2003-03-12  John Levon  <levon@movementarian.org>
8168
8169         * author.h:
8170         * author.C:
8171         * bufferparams.h:
8172         * bufferparams.C:
8173         * paragraph_funcs.C: fix per-buffer authorlists
8174
8175 2003-03-12  John Levon  <levon@movementarian.org>
8176
8177         * text.C: fix newline in right address
8178
8179 2003-03-12  Angus Leeming  <leeming@lyx.org>
8180
8181         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8182         duplicate those in LyXFunc::dispatch.
8183
8184         * commandtags.h:
8185         * LyXAction.C:
8186         * ToolbarDefaults.C:
8187         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8188         Add LFUN_FONTFREE_UPDATE.
8189
8190         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8191         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8192
8193         * bufferview_func.[Ch]: several new functions to facilliate
8194         transfer of data to and from the character dialog.
8195
8196 2003-03-12  John Levon  <levon@movementarian.org>
8197
8198         * buffer.C:
8199         * paragraph.h:
8200         * paragraph.C:
8201         * paragraph_funcs.C:
8202         * paragraph_pimpl.C:
8203         * sgml.C:
8204         * tabular.C:
8205         * text.C:
8206         * text3.C: remove META_NEWLINE in favour of an inset
8207
8208         * rowpainter.h:
8209         * rowpainter.C: remove paintNewline (done by inset)
8210
8211 2003-03-12  John Levon  <levon@movementarian.org>
8212
8213         * paragraph_pimpl.C: complain about bad getChar()s
8214         for a while at least
8215
8216 2003-03-12  John Levon  <levon@movementarian.org>
8217
8218         * buffer.h:
8219         * buffer.C: move paragraph read into a separate function,
8220         a little renaming to reflect that.
8221
8222         * bufferparams.h:
8223         * bufferparams.C: remove the author_ids map, not necessary now
8224
8225         * factory.h:
8226         * factory.C: moved Buffer::readInset to here
8227
8228         * paragraph_funcs.h:
8229         * paragraph_funcs.C: readParagraph free function moved from
8230         buffer.C
8231
8232         * tabular.C: name change
8233
8234 2003-03-12  John Levon  <levon@movementarian.org>
8235
8236         * buffer.C:
8237         * ParagraphParameters.C: move par params input to
8238         a read() method
8239
8240         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8241         behave like a normal read from the stream wrt reading
8242         a line vs. a \\token
8243
8244 2003-03-12  John Levon  <levon@movementarian.org>
8245
8246         * paragraph.C:
8247         * ParagraphParameters.h:
8248         * ParagraphParameters.C: move output code to a
8249         ::write() method
8250
8251 2003-03-12  John Levon  <levon@movementarian.org>
8252
8253         * BufferView.C (insertLyXFile):
8254         * buffer.h:
8255         * buffer.C:
8256         * tabular.C: use a parlist iterator for creating the
8257           document.
8258
8259 2003-03-12  John Levon  <levon@movementarian.org>
8260
8261         * buffer.C: make current_change static local not
8262           static file-scope
8263
8264 2003-03-12  John Levon  <levon@movementarian.org>
8265
8266         * buffer.C: fix insertStringAsLines for change tracking
8267
8268 2003-03-12  John Levon  <levon@movementarian.org>
8269
8270         * BufferView.C:
8271         * tabular.C:
8272         * buffer.h:
8273         * buffer.C:
8274         * bufferparams.h:
8275         * bufferparams.C: move author list into params. Rename some
8276           functions. Move the header reading into a separate token
8277           loop. Move the header token reading into BufferParams.
8278
8279 2003-03-12  John Levon  <levon@movementarian.org>
8280
8281         * changes.C: put debug inside lyxerr.debugging() checks
8282
8283 2003-03-11 André Pönitz <poenitz@gmx.net>
8284
8285         * factory.C: make it aware of InsetHFill
8286
8287 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8288
8289         * buffer.C (latexParagraphs): move function from here...
8290         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8291         args.
8292
8293 2003-03-10  Angus Leeming  <leeming@lyx.org>
8294
8295         * LyXAction.C (init): fix bug in poplating array with multiple entries
8296         with the same LFUN (spotted by JMarc).
8297
8298 2003-03-10  John Levon  <levon@movementarian.org>
8299
8300         * text.C:
8301         * text2.C: move getColumnNearX() near its
8302         only call site
8303
8304 2003-03-10  John Levon  <levon@movementarian.org>
8305
8306         * text.C: fix break before a minipage
8307
8308 2003-03-10  John Levon  <levon@movementarian.org>
8309
8310         * text.C: fix the last commit
8311
8312 2003-03-09  John Levon  <levon@movementarian.org>
8313
8314         * lyxtext.h:
8315         * text.C:
8316         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8317         bug 365 (don't break before insets unless needed). Don't
8318         return a value > last under any circumstances.
8319
8320 2003-03-09  Angus Leeming  <leeming@lyx.org>
8321
8322         * BufferView_pimpl.C (trackChanges, dispatch): call
8323         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8324
8325 2003-03-09  Angus Leeming  <leeming@lyx.org>
8326
8327         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8328         than Dialogs::showAboutlyx().
8329
8330 2003-03-09  Angus Leeming  <leeming@lyx.org>
8331
8332         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8333         than Dialogs::showTabularCreate().
8334
8335 2003-03-09  John Levon  <levon@movementarian.org>
8336
8337         * lyxtext.h:
8338         * text.C:
8339         * text2.C: 3rd arg to nextBreakPoint was always the same.
8340           Use references.
8341
8342 2003-03-08  John Levon  <levon@movementarian.org>
8343
8344         * lyxrow.C:
8345         * paragraph.C:
8346         * paragraph.h:
8347         * rowpainter.C:
8348         * text.C:
8349         * text2.C: Remove the "main" bit from the "main body"
8350           notion.
8351
8352 2003-03-08  John Levon  <levon@movementarian.org>
8353
8354         * text.C (leftMargin): The left margin of an empty
8355         manual label paragraph should not include the label width
8356         string length.
8357
8358         * text.C (prepareToPrint): don't attempt to measure hfills
8359         for empty manual label paragraphs - the answer should be 0
8360
8361 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * CutAndPaste.C: remove commented code and reindent.
8364
8365 2003-03-08  John Levon  <levon@movementarian.org>
8366
8367         * lyxfunc.h:
8368         * lyxfunc.C: move reloadBuffer()
8369
8370         * BufferView.h:
8371         * BufferView.C: to here
8372
8373         * lyxvc.C: add comment
8374
8375         * vc-backend.h:
8376         * vc-backend.C: call bv->reload() to avoid
8377           getStatus() check on MENURELOAD
8378
8379 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8380
8381         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8382         to an old format .dep file.
8383
8384 2003-03-07  Angus Leeming  <leeming@lyx.org>
8385
8386         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8387         when the LFUN_MOUSE_RELEASE should have been handled by
8388         inset->localDispatch.
8389
8390 2003-03-07  Angus Leeming  <leeming@lyx.org>
8391
8392         * BufferView_pimpl.C (dispatch):
8393         * LyXAction.C (init):
8394         * ToolbarDefaults.C (init):
8395         * commandtags.h:
8396         * lyxfunc.C (getStatus):
8397         remove LFUN_INSET_GRAPHICS.
8398
8399         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8400
8401 2003-03-07  Angus Leeming  <leeming@lyx.org>
8402
8403         * commandtags.h:
8404         * LyXAction.C (init):
8405         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8406
8407         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8408
8409         * commandtags.h:
8410         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8411
8412         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8413         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8414
8415 2003-03-07  Angus Leeming  <leeming@lyx.org>
8416
8417         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8418         remove "ert".
8419
8420 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * ParagraphList.C (front): new function
8423         (back): implement
8424
8425 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8426
8427         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8428         and top_row_offset_. removed var first_y.
8429         * text.C (top_y):
8430         * text2.C (LyXText, removeRow):
8431         * text3.C:
8432         * BufferView_pimpl.C:
8433         use these methods instead of using first_y
8434
8435 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * text2.C (pasteSelection): adjust for checkPastePossible
8438
8439         * CutAndPaste.C: remove Paragraph * buf and replace with
8440         ParagraphList paragraphs.
8441         (DeleteBuffer): delete
8442         (cutSelection): change the tc type to textclass_type
8443         (copySelection): change the tc type to textclass_type
8444         (copySelection): adjust for ParagraphList
8445         (pasteSelection): change the tc type to textclass_type
8446         (pasteSelection): adjust for Paragraphlist
8447         (nrOfParagraphs): simplify for ParagraphList
8448         (checkPastePossible): simplify for ParagraphList
8449         (checkPastePossible): remove unused arg
8450
8451         * ParagraphList.C (insert): handle the case where there are no
8452         paragraphs yet.
8453
8454         * CutAndPaste.h: make CutAndPaste a namespace.
8455
8456         * text3.C (dispatch): adjust
8457
8458         * text.C (breakParagraph): add a ParagraphList as arg
8459
8460         * paragraph_funcs.C (breakParagraph): change to take a
8461         BufferParams and a ParagraphList as args.
8462         (breakParagraphConservative): ditto
8463         (mergeParagraph): ditto
8464         (TeXDeeper): add a ParagraphList arg
8465         (TeXEnvironment): ditto
8466         (TeXOnePar): ditto
8467
8468         * buffer.C (readLyXformat2): adjust
8469         (insertStringAsLines): adjust
8470         (latexParagraphs): adjust
8471
8472         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8473         (cutSelection): adjust
8474         (pasteSelection): adjust
8475
8476         * BufferView_pimpl.C (insertInset): adjust
8477
8478 2003-03-05  Angus Leeming  <leeming@lyx.org>
8479
8480         * commandtags.h:
8481         * LyXAction.C (init):
8482         * BufferView_pimpl.C (dispatch):
8483         * lyxfunc.C (getStatus):
8484         remove LFUN_CHILD_INSERT.
8485
8486         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8487
8488 2003-03-05  Angus Leeming  <leeming@lyx.org>
8489
8490         * commandtags.h:
8491         * LyXAction.C (init):
8492         * src/factory.C (createInset):
8493         * lyxfunc.C (getStatus):
8494         * text3.C (dispatch):
8495         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8496
8497         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8498
8499 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * ParagraphList.C (insert): handle insert right before end()
8502         (erase): fix cases where it can be first or last paragraph.
8503
8504 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8507         Paragraph::next and Paragraph::previous
8508         (TeXOnePar): ditto
8509
8510         * text.C (breakParagraph): adjust
8511
8512         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8513         BufferParams& as arg.
8514         (breakParagraph): use ParagraphList::insert
8515         (breakParagraphConservative): take a Buffer* instead of a
8516         BufferParams& as arg.
8517         (breakParagraphConservative): use ParagraphList::insert.
8518
8519         * buffer.C (insertStringAsLines): un-const it
8520         (insertStringAsLines): adjust
8521
8522         * ParagraphList.C (insert): new function
8523
8524         * CutAndPaste.C (pasteSelection): adjust
8525
8526         * text.C (backspace): adjust
8527
8528         * tabular.C (SetMultiColumn): adjust
8529
8530         * CutAndPaste.C (cutSelection): adjust
8531         (pasteSelection): adjust
8532
8533         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8534         Buffer const * as arg
8535
8536         * ParagraphList.C (erase): new function
8537         * paragraph_funcs.C (mergeParagraph): use it
8538         (mergeParagraph): make it take a Buffer* instead of a
8539         BufferParams* as arg
8540
8541         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8542         as arg
8543         (breakParagraphConservative): ditto
8544
8545         * paragraph.h: remove the breakParagraph friend
8546
8547         * paragraph.C (eraseIntern): new function
8548         (setChange): new function
8549
8550         * paragraph_funcs.C (mergeParagraph): make it take a
8551         ParagraphList::iterator instead of a Paragraph *, adjust
8552         accordingly.
8553
8554         * paragraph.h: move an #endif so that the change tracking stuff
8555         also works in the NO_NEXT case.
8556
8557 2003-03-04  Angus Leeming  <leeming@lyx.org>
8558
8559         * commandtags.h:
8560         * LyXAction.C: new LFUN_INSET_MODIFY.
8561
8562         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8563         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8564
8565 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * several files: ws changes only
8568
8569         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8570         (TeXEnvironment): ditto
8571         (TeXDeeper): ditto
8572
8573         * buffer.C (makeLaTeXFile): adjust
8574         (latexParagraphs): make it take ParagraphList::iterator as args
8575
8576 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * buffer.C (latexParagraphs): adjust
8579
8580         * paragraph.C (TeXOnePar): move function...
8581         (optArgInset): move function...
8582         (TeXEnvironment): move function...
8583         * paragraph_pimpl.C (TeXDeeper): move function...
8584         * paragraph_funcs.C: ...here
8585
8586         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8587
8588 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8589
8590         * buffer.C (readInset): remove compability code for old Figure and
8591         InsetInfo insets
8592
8593 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * buffer.C: ws changes
8596         (readInset):
8597
8598         * BufferView_pimpl.C: ditto
8599         * author.C: ditto
8600         * buffer.h: ditto
8601         * bufferlist.h: ditto
8602         * changes.h: ditto
8603         * lyxfunc.C: ditto
8604
8605 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8606
8607         * converter.[Ch]: split into itself +
8608         * graph.[Ch]
8609         * format.[Ch]
8610         * Makefile.am: += graph.[Ch] + format.[Ch]
8611         * MenuBackend.C
8612         * buffer.C
8613         * exporter.C
8614         * importer.C
8615         * lyx_main.C
8616         * lyxfunc.C
8617         * lyxrc.C: added #include "format.h"
8618
8619 2003-02-27  Angus Leeming  <leeming@lyx.org>
8620
8621         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8622           a label.
8623
8624         * factory.C (createInset): add "label" to the factory.
8625
8626         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8627           string and do no more.
8628
8629 2003-02-27  Angus Leeming  <leeming@lyx.org>
8630
8631         * commandtags.h:
8632         * LyXAction.C (init):
8633         * factory.C (createInset):
8634         * BufferView_pimpl.C (dispatch):
8635           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8636
8637         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8638
8639         * lyxfunc.C (dispatch):
8640         * text3.C (dispatch): pass name to params2string.
8641
8642 2003-02-26  Angus Leeming  <leeming@lyx.org>
8643
8644         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8645           blocks together.
8646           Rearrange the ~includes. Strip out the unnecessary ones.
8647
8648         * factory.C (createInset): reformat.
8649           create new insets for the various LFUN_XYZ_APPLY lfuns.
8650
8651 2003-02-26  John Levon  <levon@movementarian.org>
8652
8653         * lyxrow.h:
8654         * lyxrow.C: add isParStart,isParEnd helpers
8655
8656         * paragraph.h: make isInserted/DeletedText take refs
8657
8658         * paragraph_funcs.h:
8659         * paragraph_funcs.C: remove #if 0'd code
8660
8661         * lyxtext.h:
8662         * text3.C:
8663         * text2.C:
8664         * text.C: use lyxrow helpers above.
8665           Move draw and paint routines to RowPainter.
8666           Make several methods use refs not pointers.
8667           Make backgroundColor() const.
8668           Add markChangeInDraw(), isInInset().
8669           Merge changeRegionCase into changeCase.
8670           Make workWidth() shouldn't-happen code into an Assert.
8671
8672         * rowpainter.h:
8673         * rowpainter.C: new class for painting a row.
8674
8675         * vspace.h:
8676         * vspace.C: make inPixels take a ref
8677
8678 2003-02-26  Angus Leeming  <leeming@lyx.org>
8679
8680         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8681         LFUN_REF_APPLY.
8682
8683 2003-02-25  John Levon  <levon@movementarian.org>
8684
8685         * ispell.C: give the forked command a more accurate name
8686
8687 2003-02-22  John Levon  <levon@movementarian.org>
8688
8689         * toc.h:
8690         * toc.C: make TocItem store an id not a Paragraph *
8691           (bug #913)
8692
8693 2003-02-21  Angus Leeming  <leeming@lyx.org>
8694
8695         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8696           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8697           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8698           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8699           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8700           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8701
8702         * BufferView_pimpl.C (dispatch):
8703         * LyXAction.C (init):
8704         * factory.C (createInset):
8705         * lyxfunc.C (getStatus, dispatch):
8706         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8707
8708 2003-02-21  Angus Leeming  <leeming@lyx.org>
8709
8710         * BufferView_pimpl.C (MenuInsertLyXFile):
8711         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8712         * lyxfunc.C (menuNew, open, doImport):
8713           no longer pass a LyXView & to fileDlg.
8714
8715 2003-02-21  Angus Leeming  <leeming@lyx.org>
8716
8717         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8718         * LyXAction.C: change, BIBKEY to BIBITEM.
8719         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8720         Change InsetBibKey to InsetBibitem.
8721         Change BIBKEY_CODE to BIBITEM_CODE.
8722         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8723         * factory.C: replace insetbib.h with insetbibitem.h.
8724         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8725         * paragraph.C: replace insetbib.h with insetbibitem.h.
8726         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8727         Change bibkey() to bibitem().
8728         * text.C: remove insetbib.h.
8729         * text2.C: replace insetbib.h with insetbibitem.h.
8730         change bibkey() to bibitem().
8731         * text3.C: remove insetbib.h.
8732         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8733
8734 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * lyxrc.C (output): enclose user email in quotes (in case there are
8737         several words)
8738
8739 2003-02-18  John Levon  <levon@movementarian.org>
8740
8741         * buffer.h: add std::
8742
8743 2003-02-17  John Levon  <levon@movementarian.org>
8744
8745         * SpellBase.h:
8746         * ispell.h:
8747         * ispell.C:
8748         * pspell.h:
8749         * pspell.C: reworking. Especially in ispell, a large
8750           number of clean ups and bug fixes.
8751
8752         * lyxfunc.C: fix revert to behave sensibly
8753
8754 2003-02-17 André Pönitz <poenitz@gmx.net>
8755
8756         * LyXAction.C:
8757         * commandtags.h: new LFUN_INSERT_BIBKEY
8758
8759         * layout.h:
8760         * lyxlayout.C:
8761         * buffer.C:
8762         * factory.C:
8763         * text.C:
8764         * text2.C:
8765         * text3.C:
8766         * paragraph.[Ch]:
8767         * paragraph_func.C: remove special bibkey handling
8768
8769 2003-02-17  John Levon  <levon@movementarian.org>
8770
8771         * text.C (Delete): fix case where delete at the end of
8772           the very first paragraph would not merge the pars
8773
8774 2003-02-17  John Levon  <levon@movementarian.org>
8775
8776         * lyxrow.C: fix lastPrintablePos()
8777
8778 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8779
8780         * bufferparams.C (writeLaTeX): add a std:here
8781
8782         * buffer.C: and remove a using directive there
8783
8784 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * buffer.C (makeLaTeXFile): move the code that generates the
8787           preamble...
8788
8789         * bufferparams.C (writeLaTeX): ... in this new method
8790
8791         * LaTeXFeatures.C (getEncodingSet): make const
8792           (getLanguages): make const
8793
8794         * MenuBackend.C (binding): returns the binding associated to this
8795           action
8796           (add): sets the status of each item by calling getStatus. Adds
8797           some intelligence.
8798           (read): add support for OptSubMenu
8799           (expand): remove extra separator at the end of expanded menu
8800
8801 2003-02-15  John Levon  <levon@movementarian.org>
8802
8803         * BufferView.C:
8804         * BufferView_pimpl.C:
8805         * bufferlist.h:
8806         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8807           inset code that had no actual effect. Remove unneeded status
8808           code.
8809
8810 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8813           in preamble
8814
8815 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8816
8817         * text.C (drawLengthMarker): also draw an arrow marker for
8818           symbolic lengths (medskip...)
8819
8820 2003-02-14  John Levon  <levon@movementarian.org>
8821
8822         * tabular.h:
8823         * tabular.C: better method names
8824
8825 2003-02-14  John Levon  <levon@movementarian.org>
8826
8827         * BufferView_pimpl.C:
8828         * bufferlist.C:
8829         * buffer.C:
8830         * converter.C:
8831         * lyx_cb.C:
8832         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8833           it's a more accurate name. Remove some pointless uses.
8834
8835 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8836
8837         * text2.C (LyXText): change order of initilizers to shut off
8838           warnings
8839
8840 2003-02-14  John Levon  <levon@movementarian.org>
8841
8842         * buffer.C: use ParIterator for getParFromID()
8843
8844         * paragraph.h:
8845         * paragraph.C:
8846         * paragraph_pimpl.h:
8847         * paragraph_pimpl.C: remove unused getParFromID()
8848
8849 2003-02-14  John Levon  <levon@movementarian.org>
8850
8851         * buffer.C: remove some very old #if 0'd parse code
8852
8853 2003-02-13  John Levon  <levon@movementarian.org>
8854
8855         * text.h:
8856         * text.C:
8857         * text2.C: move hfillExpansion(), numberOfSeparators(),
8858           rowLast(), rowLastPrintable(), numberofHfills(),
8859           numberOfLabelHfills() ...
8860
8861         * lyxrow.h:
8862         * lyxrow.C: ... to member functions here.
8863
8864         * paragraph.h:
8865         * paragraph.C:
8866         * lyxtext.h:
8867         * text.C: remove LyXText::beginningOfMainBody(), and call
8868           p->beginningOfMainBody() directly. Move the check for
8869           LABEL_MANUAL into the latter.
8870
8871         * text.h:
8872         * text.C:
8873         * text2.C:
8874         * vspace.C:
8875         * BufferView.h:
8876         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8877
8878         * text.h:
8879         * text.C:
8880         * text2.C:
8881         * text3.C:
8882         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8883           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8884
8885 2003-02-13  John Levon  <levon@movementarian.org>
8886
8887         * CutAndPaste.C: remove debug
8888
8889 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * paragraph.C (asString): remove two unused variables
8892
8893         * lyxtextclass.C (readTitleType):
8894           (Read):
8895           (LyXTextClass): handle new members titletype_ and titlename_
8896
8897         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8898
8899 2003-02-09  John Levon  <levon@movementarian.org>
8900
8901         * buffer.h:
8902         * buffer.C: replace hand-coded list with a map for the dep clean
8903
8904 2003-02-08  John Levon  <levon@movementarian.org>
8905
8906         * LaTeX.C: consolidate code into showRunMessage() helper
8907
8908 2003-02-08  John Levon  <levon@movementarian.org>
8909
8910         * lyxfind.C:
8911         * lyxtext.h:
8912         * text2.C:
8913         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8914           and pass the size in explicitly
8915
8916         * BufferView_pimpl.h:
8917         * BufferView_pimpl.C:
8918         * BufferView.h:
8919         * BufferView.C: add getCurrentChange()
8920
8921         * BufferView_pimpl.h:
8922         * BufferView_pimpl.C: handle change lfuns
8923
8924         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8925           for changes. Mark pasted paragraphs as new.
8926
8927         * support/lyxtime.h:
8928         * support/lyxtime.C:
8929         * DepTable.C: abstract time_t as lyx::time_type
8930
8931         * LColor.h:
8932         * LColor.C: add colours for new text, deleted text, changebars
8933
8934         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8935           package use "usenames" option.
8936
8937         * commandtags.h:
8938         * lyxfunc.C:
8939         * LyXAction.C: add change lfuns
8940
8941         * Makefile.am:
8942         * author.h:
8943         * author.C: author handling
8944
8945         * buffer.h:
8946         * buffer.C: add a per-buffer author list, with first entry as
8947           current author. Handle new .lyx tokens for change tracking. Output
8948           author list to .lyx file. Output dvipost stuff to .tex preamble.
8949           Bump lyx format to 222.
8950
8951         * bufferlist.h:
8952         * bufferlist.C: add setCurrentAuthor() to reset current author details
8953           in all buffers.
8954
8955         * bufferparams.h:
8956         * bufferparams.C: add param for tracking
8957
8958         * bufferview_funcs.C: output change info in minibuffer
8959
8960         * Makefile.am:
8961         * changes.h:
8962         * changes.C: add change-tracking structure
8963
8964         * debug.h:
8965         * debug.C: add CHANGES debug flag
8966
8967         * lyxfind.h:
8968         * lyxfind.C: add code for finding the next change piece
8969
8970         * lyxrc.h:
8971         * lyxrc.C: add user_name and user_email
8972
8973         * lyxrow.h:
8974         * lyxrow.C: add a metric for the top of the text line
8975
8976         * lyxtext.h:
8977         * text.C: implement accept/rejectChange()
8978
8979         * lyxtext.h:
8980         * text.C: paint changebars. Paint new/deleted text in the chosen
8981         colours. Strike through deleted text.
8982
8983         * paragraph.h:
8984         * paragraph.C:
8985         * paragraph_pimpl.h:
8986         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8987           in the current change to the insert functions. Rework erase to
8988           mark text as deleted, adding an eraseIntern() and a range-based
8989           erase(). Implement per-paragraph change lookup and
8990           accept/reject.
8991
8992         * paragraph_funcs.C: Fixup paste for change tracking.
8993
8994         * tabular.C: mark added row/columns as new.
8995
8996         * text.C: fix rowLast() to never return -1. Don't allow
8997           spellchecking of deleted text. Track transpose changes. Don't
8998           allow paragraph break or merge where appropriate.
8999
9000         * text2.C: leave cursor at end of selection after a cut.
9001
9002 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9003
9004         * text.C (getLengthMarkerHeight):
9005         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9006         visible on screen too.
9007
9008 2003-02-07  John Levon  <levon@movementarian.org>
9009
9010         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9011
9012 2003-02-05  Angus Leeming  <leeming@lyx.org>
9013
9014         * lyxserver.C (read_ready): revert my patch of 11 September last year
9015         as it sends PC cpu through the roof. Presumably this means that
9016         the lyxserver will no longer run on an Alpha...
9017
9018 2003-01-30  Angus Leeming  <leeming@lyx.org>
9019
9020         * factory.C (createInset): create an InsetCommandParam of type "index"
9021         and use it to 'do the right thing'.
9022
9023         * text2.C (getStringToIndex): ensure that cursor position is always
9024         reset to the reset_cursor position.
9025
9026 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9027
9028         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9029         disabled.
9030
9031 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9032
9033         * bufferview.C:
9034         * lyxcb.C:
9035         * lyxfunc.C: Output messages with identical spelling, punctuation,
9036         and spaces
9037
9038 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9039
9040         * MenuBackend.C (expandFormats): List only viewable export formats
9041         in "View" menu
9042
9043         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9044         message
9045
9046         * lyxfunc.C (getStatus): Make sure that formats other than
9047         "fax" can also be disabled
9048
9049 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9050
9051         * text3.C (dispatch): put the lfuns that insert insets in 3
9052         groups, and call doInsertInset with appropriate arguments.
9053         (doInsertInset): new function, that creates an inset and inserts
9054         it according to some boolean parameters.
9055
9056 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9057
9058         * buffer.C (readFile): remember to pass on 'par' when calling
9059         readFile recursively.
9060
9061 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9062
9063         * MenuBackend.C (expandFormats): add "..." to import formats.
9064
9065 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9066
9067         * paragraph.C (asString): Remove XForms RTL hacks.
9068
9069 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9070         * buffer.C: fix typo
9071
9072 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9073
9074         * Makefile.am (LIBS): delete var
9075         (lyx_LDADD): add @LIBS@ here instead.
9076
9077 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9078
9079         * Clarify the meaning of "wheel mouse jump"
9080
9081 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9082
9083         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9084         tabular in a float
9085
9086 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9087
9088         * importer.C (Loaders): do not preallocate 3 elements in the
9089         vector, since one ends up with 6 elements otherwise
9090
9091 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9092
9093         * DepTable.C (write): write the file name as last element of the
9094         .dep file (because it may contain spaces)
9095         (read): read info in the right order
9096
9097 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9098
9099         * paragraph_pimpl.C (simpleTeXBlanks):
9100         (simpleTeXSpecialChars):
9101         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9102
9103         * tabular.C (latex): add some missing case statements. Reindent.
9104
9105         * MenuBackend.C (expandToc): remove unused variable.
9106
9107 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9108
9109         * LColor.C:
9110         * LaTeX.C:
9111         * LyXAction.C:
9112         * MenuBackend.C:
9113         * buffer.C:
9114         * exporter.C:
9115         * lyxfunc.C:
9116         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9117         and the like.
9118
9119 2003-01-05  John Levon  <levon@movementarian.org>
9120
9121         * BufferView.h:
9122         * BufferView.C: add getEncoding()
9123
9124         * kbsequence.h:
9125         * kbsequence.C: do not store last keypress
9126
9127         * lyxfunc.h:
9128         * lyxfunc.C: store last keypress here instead. Pass encoding
9129           to getISOEncoded()
9130
9131 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9132
9133         * lyx_main.C (init): remove annoying error message when following
9134         symbolic links (bug #780)
9135
9136 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9137
9138         * text.C (insertChar):
9139         * lyxrc.C (getDescription): remove extra spaces
9140
9141 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9142
9143         * lyxrc.C (getDescription): remove extra spaces
9144
9145 2002-12-20  John Levon  <levon@movementarian.org>
9146
9147         * text3.C: hack fix for page up/down across tall rows
9148
9149 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9150
9151         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9152         not been invoked
9153
9154 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9155
9156         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9157         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9158         thesaurus is not compiled in
9159
9160 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9161
9162         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9163
9164 2002-12-16  Angus Leeming  <leeming@lyx.org>
9165
9166         * lyxrc.[Ch]:
9167         * lyx_main.C (init): remove override_x_deadkeys stuff.
9168
9169 2002-12-12  John Levon  <levon@movementarian.org>
9170
9171         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9172           insert. Only remove shift modifier under strict
9173           circumstances.
9174
9175 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9176
9177         * MenuBackend.C (expandToc): fix crash.
9178
9179 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9180
9181         * MenuBackend.C (expandToc): gettext on float names.
9182
9183 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9184
9185         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9186         implement bool empty() [bug 490]
9187
9188 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9191
9192 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9193
9194         * several files: ws changes
9195
9196 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9197
9198         * text2.C (setCounter): clean up a bit, use boost.format.
9199         (updateCounters): initialize par upon declaration.
9200
9201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9202         if the layout exists. We do not just store the layout any more.
9203         (SwitchLayoutsBetweenClasses): use boost.format
9204
9205 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9206
9207         * converter.C (convert): if from and to files are the same, use a
9208         temporary files as intermediary
9209
9210 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9211
9212         * commandtags.h:
9213         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9214
9215 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9216
9217         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9218
9219 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9220
9221         * tabular.C (asciiPrintCell): use string(size, char) instead of
9222         explicit loop.
9223
9224         * sgml.C (openTag): fix order of arguments to string constructor
9225         (closeTag): ditto
9226
9227         * lyxfunc.C (dispatch): use boost.format
9228
9229         * lots of files: change "c" -> 'c'
9230
9231 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9232
9233         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9234
9235 2002-11-25  Angus Leeming  <leeming@lyx.org>
9236
9237         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9238
9239         * lyx_main.C (init): compile fix.
9240
9241 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9242
9243         * lyx_cb.C (start): boost.formatify
9244         do not include <iostream>
9245
9246         * lengthcommon.C: ws only
9247
9248         * boost-inst.C,BoostFormat.h: add more explict instantations
9249
9250 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * lots of files: handle USE_BOOST_FORMAT
9253
9254 2002-11-21  John Levon  <levon@movementarian.org>
9255
9256         * pspell.C: fix compile
9257
9258 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * lyxfunc.C (dispatch): use boost::format
9261         (open): ditto
9262         (doImport): ditto
9263
9264         * lyxfont.C (stateText): use boost::format
9265
9266         * lyx_main.C (LyX): use boost::format
9267         (init): ditto
9268         (queryUserLyXDir): ditto
9269         (readRcFile): ditto
9270         (parse_dbg): ditto
9271         (typedef boost::function): use the recommened syntax.
9272
9273         * importer.C (Import): use boost::format
9274
9275         * debug.C (showLevel): use boost::format
9276
9277         * converter.C (view): use boost::format
9278         (convert): ditto
9279         (move): ditto
9280         (scanLog): ditto
9281
9282         * bufferview_funcs.C (currentState): use boost::format
9283
9284         * bufferlist.C (emergencyWrite): use boost::format
9285
9286         * buffer.C (readLyXformat2): use boost::format
9287         (parseSingleLyXformat2Token): ditto
9288
9289         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9290
9291         * LaTeX.C (run): use boost::format
9292
9293         * Chktex.C (scanLogFile): use boost::format
9294
9295         * BufferView_pimpl.C (savePosition): use boost::format
9296         (restorePosition): ditto
9297         (MenuInsertLyXFile): ditto
9298
9299         * BoostFormat.h: help file for explicit instation.
9300
9301 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9302
9303         * tabular.C (latex): Support for block alignment in fixed width
9304         columns.
9305
9306 2002-11-17  John Levon  <levon@movementarian.org>
9307
9308         * BufferView_pimpl.C:
9309         * lyx_cb.C:
9310         * lyxfunc.C: split filedialog into open/save
9311
9312 2002-11-08  Juergen Vigna  <jug@sad.it>
9313
9314         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9315         by my last patch (hopefully).
9316
9317 2002-11-08  John Levon  <levon@movementarian.org>
9318
9319         * iterators.h:
9320         * iterators.C:
9321         * buffer.h:
9322         * buffer.C:
9323         * paragraph.h:
9324         * paragraph.C:
9325         * toc.h:
9326         * toc.C: ParConstIterator, and use it (from Lars)
9327
9328 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9329
9330         * lyxtextclass.[Ch]: revise and add doxygen comments
9331
9332 2002-11-07  John Levon  <levon@movementarian.org>
9333
9334         * text.C: fix progress value for spellchecker
9335
9336         * toc.C: fix navigate menu for insetwrap inside minipage
9337
9338         * paragraph_funcs.C: added FIXME for suspect code
9339
9340 2002-11-07  John Levon  <levon@movementarian.org>
9341
9342         * BufferView_pimpl.C: fix redrawing of insets
9343           on buffer switch
9344
9345 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9346
9347         * text2.C (updateCounters): fix bug 668
9348
9349 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9350
9351         * text3.C (dispatch): Do not make the buffer dirty when moving the
9352         cursor.
9353
9354 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9355
9356         * vc-backend.C: STRCONV
9357         (scanMaster): ditto
9358
9359         * text2.C (setCounter): STRCONV
9360
9361         * paragraph.C (asString): STRCONV
9362
9363         * lyxlength.C (asString): STRCONV
9364         (asLatexString): ditto
9365
9366         * lyxgluelength.C (asString): STRCONV
9367         (asLatexString): ditto
9368
9369         * lyxfunc.C (dispatch): STRCONV
9370         (open): ditto
9371
9372         * lyxfont.C (stateText): STRCONV
9373
9374         * importer.C (Import): STRCONV
9375
9376         * counters.C (labelItem): STRCONV
9377         (numberLabel): ditto
9378         (numberLabel): remove unused ostringstream o
9379
9380         * chset.C: STRCONV
9381         (loadFile): ditto
9382
9383         * bufferview_funcs.C (currentState): STRCONV
9384
9385         * buffer.C (readFile): STRCONV
9386         (asciiParagraph): ditto
9387         (makeLaTeXFile): ditto
9388
9389         * Spacing.C (writeEnvirBegin): STRCONV
9390
9391         * LaTeXFeatures.C (getLanguages): STRCONV
9392         (getPackages): ditto
9393         (getMacros): ditto
9394         (getBabelOptions): ditto
9395         (getTClassPreamble): ditto
9396         (getLyXSGMLEntities): ditto
9397         (getIncludedFiles): ditto
9398
9399         * LaTeX.C: STRCONV
9400         (run): ditto
9401         (scanAuxFile): ditto
9402         (deplog): ditto
9403
9404         * LString.h: add the STRCONV macros
9405
9406         * BufferView_pimpl.C (savePosition): STRCONV
9407         (restorePosition): ditto
9408         (MenuInsertLyXFile): ditto
9409
9410         * vc-backend.C (scanMaster): change from submatch[...] to
9411         submatch.str(...)
9412
9413         * funcrequest.C: include config.h
9414
9415         * factory.C: include config.h
9416
9417         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9418
9419         * box.C: include config.h
9420
9421         * LaTeX.C (scanAuxFile): change from submatch[...] to
9422         submatch.str(...)
9423         (deplog): ditto
9424
9425 2002-10-25  Angus Leeming  <leeming@lyx.org>
9426
9427         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9428
9429         * ispell.[Ch] (setError): new method.
9430         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9431         Use setError() insetead of goto END.
9432
9433         * lyx_cb.C (AutoSave): move out child process into new class
9434         AutoSaveBuffer.
9435
9436 2002-10-30  John Levon  <levon@movementarian.org>
9437
9438         * text3.C: make start appendix undoable
9439
9440 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9441
9442         * lyxlength.C (inPixels): Fix returned value.
9443
9444         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9445         environment.
9446
9447 2002-10-24  Angus Leeming  <leeming@lyx.org>
9448
9449         * lyxgluelength.h: no need to forward declare BufferParams
9450         or BufferView, so don't.
9451
9452 2002-10-21  John Levon  <levon@movementarian.org>
9453
9454         * BufferView.C: menuUndo ->undo, redo
9455
9456         * BufferView.h: document, remove dead, make some methods private
9457
9458         * paragraph_funcs.h:
9459         * paragraph_funcs.C:
9460         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9461
9462         * buffer.h:
9463         * buffer.C:
9464         * sgml.h:
9465         * sgml.C: move sgml open/close tag into sgml.C
9466
9467         * bufferview_funcs.h: unused prototype
9468
9469         * lyxfunc.h:
9470         * lyxfunc.C: remove unused
9471
9472         * lyxtext.h:
9473         * text.C: remove unused
9474
9475 2002-10-21  John Levon  <levon@movementarian.org>
9476
9477         * BufferView.h:
9478         * BufferView.C:
9479         * BufferView_pimpl.h:
9480         * BufferView_pimpl.C: fix mouse wheel handling based on
9481           patch from Darren Freeman
9482
9483 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9484
9485         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9486
9487 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * lyxlength.C (inPixels): Fix hanfling of negative length.
9490         Fix LyXLength::MU case.
9491
9492 2002-10-16  John Levon  <levon@movementarian.org>
9493
9494         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9495
9496 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9497
9498         * converter.C (view): add support for $$i (file name) and $$p
9499         (file path) for the viewer command. If $$i is not specified, then
9500         it is appended to the command (for compatibility with old syntax)
9501
9502 2002-10-14  Juergen Vigna  <jug@sad.it>
9503
9504         * undo_funcs.C (textHandleUndo): alter the order in which the
9505         new undopar is added to the LyXText, as we have to set first
9506         the right prev/next and then add it as otherwise the rebuild of
9507         LyXText is not correct. Also reset the cursor to the right paragraph,
9508         with this IMO we could remove the hack in "redoParagraphs()".
9509
9510 2002-10-09  Angus Leeming  <leeming@lyx.org>
9511
9512         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9513         to turn off an optimisation if a new inset is to be inserted.
9514
9515 2002-10-11 André Pönitz <poenitz@gmx.net>
9516
9517         * lyxtext.h: make some functions public to allow access
9518         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9519
9520 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9521
9522         * text3.C (dispatch): when changing layout, avoid an infinite loop
9523         [bug #652]
9524
9525 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9526
9527         * lyxrc.C (read): treat a viewer or converter command of "none" as
9528         if it were empty.
9529
9530         * MenuBackend.C (expandFormats): for an update, also allow the
9531         formats that are not viewable
9532
9533         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9534         script if it is newer than the lyxrc.defaults in user directory
9535
9536 2002-10-07 André Pönitz <poenitz@gmx.net>
9537
9538         * text.C: Vitaly Lipatov's small i18n fix
9539
9540 2002-09-25  Angus Leeming  <leeming@lyx.org>
9541
9542         * ispell.h: doxygen fix.
9543
9544 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9545
9546         * buffer.h (readFile): Add a new argument to the method, to allow
9547         reading of old-format templates.
9548
9549 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9550
9551         * toc.C (getTocList): Get TOC from InsetWrap.
9552
9553 2002-09-16  John Levon  <levon@movementarian.org>
9554
9555         * lyxfunc.C: check tabular for cut/copy too
9556
9557 2002-09-12  John Levon  <levon@movementarian.org>
9558
9559         * LyXAction.C: tidy
9560
9561         * factory.h:
9562         * factory.C: add header
9563
9564         * paragraph_funcs.h:
9565         * paragraph_funcs.C: cleanup
9566
9567 2002-09-11  John Levon  <levon@movementarian.org>
9568
9569         * PrinterParams.h: odd/even default to true
9570
9571 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9572
9573         * PrinterParams.h: update printer parameters for new xforms dialog
9574
9575 2002-09-11  Angus Leeming  <leeming@lyx.org>
9576
9577         * lyxserver.C (read_ready): re-write to make it more transparent
9578         and to make it work in coherent fashion under Tru64 Unix.
9579
9580 2002-09-11  André Pönitz <poenitz@gmx.net>
9581
9582         * commandtags.h:
9583         * LyXAction.C:
9584         * text3.C: implement LFUN_WORDSEL
9585
9586 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9587
9588         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9589         make floatlist_ a boost::shared_ptr<FloatList>
9590
9591         * lyxtextclass.C: include FloatList.h
9592         (LyXTextClass): initialize floatlist_
9593         (TextClassTags): add TC_NOFLOAT
9594         (Read): match "nofloat" to TC_NOFLOAT and use it.
9595         (readFloat): modify call to floatlist_
9596         (floats): ditto
9597         (floats): ditto
9598
9599         * FloatList.[Ch] (FloatList): remove commented out float
9600         initialization.
9601         (erase): new function
9602
9603 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9604
9605         * MenuBackend.C (expandToc): fix crash when there is no document
9606         open
9607
9608 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9609
9610         * many files: Add insetwrap.
9611
9612 2002-09-09  John Levon  <levon@movementarian.org>
9613
9614         * text2.C: remove confusing and awkward depth wraparound
9615
9616 2002-09-09  John Levon  <levon@movementarian.org>
9617
9618         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9619
9620         * buffer.h:
9621         * buffer.C: remove getIncludeonlyList()
9622
9623         * paragraph.C:
9624         * lyxfunc.C: remove headers
9625
9626 2002-09-09  Juergen Vigna  <jug@sad.it>
9627
9628         * text.C (getColumnNearX): fix form Michael this is most
9629         probably a cut&paste bug.
9630
9631 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9632
9633         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9634
9635         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9636         references, ws changes.
9637
9638         * text2.C (init): update counters after init
9639         (insertParagraph): no need to set counter on idividual paragraphs.
9640         (setCounter): access the counters object in the textclass object
9641         on in the buffer object.
9642         (updateCounters): ditto
9643
9644         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9645         shared_ptr<Counters> to avoid loading counters.h in all
9646         compilation units.
9647         (LyXTextClass): initialize ctrs_
9648         (TextClassTags): add TC_COUNTER, and ...
9649         (Read): use it here.
9650         (CounterTags): new tags
9651         (readCounter): new function
9652         (counters): new funtion
9653         (defaultLayoutName): return a const reference
9654
9655         * counters.C (Counters): remove contructor
9656         (newCounter): remove a couple of unneeded statements.
9657         (newCounter): simplify a bit.
9658         (numberLabel): some small formatting changes.
9659
9660         * buffer.[Ch]: remove all traces of counters, move the Counters
9661         object to the LyXTextClass.
9662
9663 2002-09-06  Alain Castera  <castera@in2p3.fr>
9664
9665         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9666         package to set the horizontal alignment on fixed width columns.
9667
9668         * lyx_sty.C:
9669         * lyx_sty.h: added tabularnewline macro def.
9670
9671         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9672
9673 2002-09-06  John Levon  <levon@movementarian.org>
9674
9675         * LyXAction.C: tooltips for sub/superscript
9676
9677         * MenuBackend.C: a bit more verbose
9678
9679         * lyxfunc.C: tiny clean
9680
9681         * undo_funcs.C: document undo_frozen
9682
9683 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9684
9685         * counters.C (Counters): add missing algorithm counter.
9686
9687         * text2.C (setCounter): lookup the counter with layouts latexname
9688         instead of by section number.
9689         (setCounter): use a hackish way to lookup the correct enum
9690         counter.
9691         a float name->type change
9692         reset enum couners with counter name directly instead of depth value.
9693
9694         * counters.C (Counters): remove the push_backs, change to use the
9695         float type not the float name.
9696         (labelItem): remove unused string, float name->type change
9697
9698         * counters.h: don't include vector, loose the enums and sects vectors
9699
9700 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9703         (Read): add float->TC_FLOAT to textclassTags
9704         (Read): and handle it in the switch
9705         (readFloat): new function
9706
9707         * FloatList.C (FloatList): comment out the hardcoded float
9708         definitions.
9709
9710         * lyxlayout.h: ws change.
9711
9712 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9713
9714         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9715
9716 2002-09-03  Angus Leeming  <leeming@lyx.org>
9717
9718         * BufferView_pimpl.h: qualified name is not allowed in member
9719         declaration: WorkArea & Pimpl::workarea() const;
9720
9721         * factory.C: added using std::endl directive.
9722
9723         * text3.C: added using std::find and std::vector directives.
9724
9725 2002-08-29  André Pönitz <poenitz@gmx.net>
9726
9727         * lyxtext.h:
9728         * text2.C: remove unused member number_of_rows
9729
9730         * Makefile.am:
9731         * BufferView2.C: remove file, move contents to...
9732         * BufferView.C: ... here
9733
9734         * BufferView_pimpl.C:
9735         * factory.C: move more inset creation to factory
9736
9737         * vspace.C: avoid direct usage of LyXText, ws changes
9738
9739         * BufferView.[Ch]:
9740                 don't provide direct access to WorkArea, use two simple
9741                 acessors haveSelction() and workHeight() instead
9742
9743
9744 2002-08-29  John Levon  <levon@movementarian.org>
9745
9746         * BufferView_pimpl.C (dispatch): do not continue when
9747           no buffer
9748
9749 2002-08-28  André Pönitz <poenitz@gmx.net>
9750
9751         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9752
9753         * BufferView.h:
9754         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9755
9756 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9757
9758         * buffer.C: increment LYX_FORMAT to 221
9759
9760         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9761         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9762
9763         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9764
9765         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9766
9767 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * factory.C (createInset): use LyXTextClass::floats
9770
9771         * MenuBackend.C (expandFloatListInsert):
9772         (expandFloatInsert):
9773         (expandToc):
9774
9775         * text2.C (setCounter):
9776
9777         * LaTeXFeatures.C (useFloat):
9778         (getFloatDefinitions):
9779
9780         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9781
9782         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9783         floatlist_, with accessor floats().
9784
9785         * FloatList.h: remove global FloatList
9786
9787 2002-08-26  André Pönitz <poenitz@gmx.net>
9788
9789         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9790
9791         * BufferView.h:
9792         * BufferView2.C:
9793         * BufferView_pimpl.C:
9794         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9795
9796 2002-08-25  John Levon  <levon@movementarian.org>
9797
9798         * LyXAction.C: fix margin note description
9799
9800 2002-08-24  John Levon  <levon@movementarian.org>
9801
9802         * buffer.C:
9803         * bufferlist.C:
9804         * bufferview_funcs.C:
9805         * lyxfont.C:
9806         * undo_funcs.C: cleanups
9807
9808         * lyxfunc.C: disable CUT/COPY when no selection
9809
9810 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9811
9812         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9813         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9814
9815         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9816         Add backward compatibility to "mono", "gray" and "no".
9817
9818 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9819
9820         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9821         (and file_format >= 200).
9822
9823 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9826
9827 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9830
9831 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9832
9833         * BufferView_pimpl.C:
9834         * LyXAction.C:
9835         * buffer.C:
9836         * commandtags.h:
9837         * lyxfunc.C:
9838         * paragraph.[Ch]:
9839         * text2.C:
9840         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9841         inset and code to make it  work with the paragraph code. The inset
9842         can be anywhere in the paragraph, but will only do the expected
9843         thing in LaTeX if the layout file contains the parameter line
9844                         OptionalArgs    1
9845         (or more generally, a nonzero value) for that layout.
9846
9847 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9848
9849         * paragraph.h: remove the declaration of undefined counters class
9850         function.
9851
9852 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9853
9854         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9855         Dr. Richard Hawkins.
9856
9857 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9858
9859         * paragraph_funcs.h: remove some unneeded includes
9860
9861         * text.C (backspace): pasteParagraph now in global scipe
9862
9863         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9864         (pasteSelection): ditto
9865
9866         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9867         * paragraph_funcs.C (pasteParagraph): ... here
9868
9869 2002-08-20  André Pönitz <poenitz@gmx.net>
9870
9871         * commandtags.h: new LFUNs for swapping/copying table row/colums
9872
9873         * LyXAction.C:
9874         * lyxfunc.C: support for new lfuns
9875
9876 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * tabular.C:
9879         * buffer.[Ch]: remove NO_COMPABILITY stuff
9880
9881 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9882
9883         * boost.C (throw_exception): new file, with helper function for
9884         boost compiled without exceptions.
9885
9886         * paragraph.h:
9887         * lyxlength.C:
9888         * buffer.C:
9889         * ParameterStruct.h:
9890         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9891
9892         * bufferlist.C (emergencyWriteAll): use boost bind
9893
9894         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9895
9896         * text.C: include paragraph_funcs.h
9897         (breakParagraph): breakParagraph is now in global scope
9898
9899         * paragraph_funcs.[Ch]: new files
9900
9901         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9902         global scope
9903
9904         * buffer.C: include paragraph_funcs.h
9905         (insertStringAsLines): breakParagraph is now in global scope
9906
9907         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9908         paragraph_funcs.C
9909
9910         * CutAndPaste.C: include paragraph_funcs.h
9911         (cutSelection): breakParagraphConservative is now in global scope
9912         (pasteSelection): ditto
9913
9914         * buffer.h: declare oprator== and operator!= for
9915         Buffer::inset_iterator
9916
9917         * bufferlist.C (emergencyWrite): don't use fmt(...)
9918
9919         * text3.C: add using std::endl
9920
9921         * BufferView.C (moveCursorUpdate): remove default arg
9922
9923 2002-08-20  André Pönitz <poenitz@gmx.net>
9924
9925         * buffer.[Ch]: move inline functions to .C
9926
9927         * BufferView2.C:
9928         * BufferView_pimpl.C:
9929         * text.C:
9930         * buffer.[Ch]: use improved inset_iterator
9931
9932         * buffer.C:
9933         * paragraph.[Ch]: write one paragraph at a time
9934
9935 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9938         style if style is not specified.
9939
9940 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * text2.C (setCounter): when searching for right label for a
9943         caption, make sure to recurse to parent insets (so that a caption
9944         in a minipage in a figure float works) (bug #568)
9945
9946 2002-08-20  André Pönitz <poenitz@gmx.net>
9947
9948         * text3.C: new file for LyXText::dispatch() and helpers
9949
9950         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9951
9952         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9953
9954 2002-08-19  André Pönitz <poenitz@gmx.net>
9955
9956         * lyxtext.h:
9957         * text.C: new LyXText::dispatch()
9958
9959         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9960
9961 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9962
9963         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9964
9965         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9966         Hebrew text.
9967
9968 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * Makefile.am: use $(variables) instead of @substitutions@
9971
9972 2002-08-15  André Pönitz <poenitz@gmx.net>
9973
9974         * lyxfunc.C:
9975         * BufferView_pimpl.C: streamlining mathed <-> outer world
9976         interaction
9977
9978         * commandtags.h:
9979         * LyXAction.C: remove unused LFUN_MATH
9980
9981 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9982
9983         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9984
9985 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9986
9987         * paragraph.C (Paragraph): reformat a bit
9988         (cutIntoMinibuffer): use builtin InsetList function instad of
9989         doing it manually.
9990         (getInset): ditto
9991
9992         * buffer.C: include boost/bind.hpp, add using std::for_each
9993         (writeFileAscii): use ParagraphList iterators
9994         (validate): use for_each for validate traversal of paragraphs
9995         (getBibkeyList): use ParagraphList iterators
9996         (resizeInsets): use for_each to resizeInsetsLyXText for all
9997         paragraphs.
9998         (getParFromID): use ParagraphList iterators
9999
10000         * BufferView2.C (lockInset): use paragraph list and iterators
10001
10002 2002-08-14  John Levon  <levon@movementarian.org>
10003
10004         * lyxserver.C: remove spurious xforms include
10005
10006 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10009
10010 2002-08-13  André Pönitz <poenitz@gmx.net>
10011
10012         * LyXAction.[Ch]:
10013         * lyxfunc.C: further cleaning
10014
10015 2002-08-13  André Pönitz <poenitz@gmx.net>
10016
10017         * funcrequest.h: new constructor
10018
10019         * funcrequest.C: move stuff here from .h
10020
10021         * Makefile.am:
10022         * BufferView_pimpl.C:
10023         * LyXAction.C:
10024         * toc.C:
10025         * lyxfunc.C: subsequent changes
10026
10027         * lyxfunc.h: new view() member function
10028
10029         * lyxfunc.C: subsequent changes
10030
10031 2002-08-13  Angus Leeming  <leeming@lyx.org>
10032
10033         * BufferView2.C:
10034         * BufferView_pimpl.C:
10035         * buffer.C:
10036         * converter.C:
10037         * importer.C:
10038         * lyxfunc.C:
10039         * lyxvc.C:
10040         * toc.C:
10041         * vc-backend.C:
10042         changes due to the changed LyXView interface that now returns references
10043         to member variables not pointers.
10044
10045 2002-08-13  Angus Leeming  <leeming@lyx.org>
10046
10047         * WordLangTuple (word, lang_code): return references to strings,
10048         not strings.
10049
10050         * BufferView.h:
10051         * SpellBase.h:
10052         * lyxtext.h: forward-declare WordLangTuple.
10053
10054         * BufferView2.C:
10055         * ispell.C:
10056         * pspell.C:
10057         * text.C: #include "WordLangTuple.h".
10058
10059         * lyxtext.h:
10060         * text.C: (selectNextWordToSpellcheck): constify return type.
10061
10062 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10063
10064         * buffer.C:
10065         * buffer.h:
10066         * lyxtext.h:
10067         * paragraph.C:
10068         * paragraph_pimpl.h:
10069         * text.C:
10070         * text2.C:
10071         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10072         suggested by Angus.
10073         Made updateCounter always count from start of buffer, and removed
10074         second argument (par).
10075         Reverted floats number display to '#'. Perhaps I'll try again when the
10076         code base is sanitized a bit.
10077
10078 2002-08-12  Angus Leeming  <leeming@lyx.org>
10079
10080         * buffer.[Ch] (getLabelList): constify.
10081
10082 2002-08-07  André Pönitz <poenitz@gmx.net>
10083
10084         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10085
10086         * funcrequest.h: extension to keep mouse (x,y) position
10087
10088 2002-08-12  Juergen Vigna  <jug@sad.it>
10089
10090         * BufferView2.C (insertErrors): forbid undo when inserting error
10091         insets.
10092
10093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10094
10095 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10096
10097         * ParagraphList.[Ch]: new files
10098
10099         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10100
10101         * BufferView2.C (lockInset): ParagraphList changes
10102         * toc.C: ditto
10103         * text2.C: ditto
10104         * bufferlist.C: ditto
10105         * buffer.h: ditto
10106         * buffer.C: ditto
10107
10108 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10109
10110         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10111         unused class variable counter_,
10112
10113         * paragraph.[Ch] (getFirstCounter): delete unused function
10114
10115         * counters.C: include LAssert.h
10116         (reset): add a new function with no arg, change other version to
10117         not have def. arg and to not allow empty arg.
10118
10119         * text2.C (setCounter): remove empty arg from call to Counters::reset
10120
10121 2002-08-11  John Levon  <levon@movementarian.org>
10122
10123         * Makefile.am: add WordLangTuple.h
10124
10125 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10128         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10129
10130         * insets/insettext.C: InsetList changes
10131
10132         * graphics/GraphicsSupport.C (operator()): InsetList changes
10133
10134         * toc.C (getTocList): InsetList changes
10135
10136         * paragraph_pimpl.[Ch]: InsetList changes
10137
10138         * paragraph.[Ch]: InsetList changes
10139
10140         * buffer.C (inset_iterator): InsetList changes
10141         (setParagraph): ditto
10142         * buffer.h (inset_iterator): ditto
10143         * iterators.C (operator++): ditto
10144         * iterators.h: ditto
10145
10146         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10147
10148         * InsetList.[Ch]: new files, most InsetList handling moved out of
10149         paragraph.C.
10150
10151         * BufferView2.C (removeAutoInsets): InsetList changes
10152         (lockInset): ditto
10153         (ChangeInsets): ditto
10154
10155 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10156
10157         * paragraph_pimpl.h (empty): new function
10158
10159         * paragraph.[Ch] (empty): new function
10160
10161         * other files: use the new Paragraph::empty function
10162
10163 2002-08-09  John Levon  <levon@movementarian.org>
10164
10165         * lyxtext.h: remove unused refresh_height
10166
10167 2002-08-09  John Levon  <levon@movementarian.org>
10168
10169         * Makefile.am:
10170         * sgml.h:
10171         * sgml.C:
10172         * buffer.C:
10173         * paragraph.h:
10174         * paragraph.C: move sgml char escaping out of paragraph
10175
10176         * paragraph.h:
10177         * paragraph.C: remove id setter
10178
10179         * buffer.C:
10180         * paragraph.C:
10181         * paragraph_pimpl.C: remove dead tex_code_break_column
10182
10183         * bufferview_funcs.C: small cleanup
10184
10185         * lyxfunc.C: remove dead proto
10186
10187         * lyxtext.h: make some stuff private. Remove some dead stuff.
10188
10189         * lyxgluelength.C: make as[LyX]String() readable
10190
10191 2002-08-08  John Levon  <levon@movementarian.org>
10192
10193         * LyXAction.h:
10194         * LyXAction.C:
10195         * MenuBackend.C:
10196         * ToolbarDefaults.C:
10197         * lyxfunc.C:
10198         * lyxrc.C:
10199         * toc.C: lyxaction cleanup
10200
10201 2002-08-08  John Levon  <levon@movementarian.org>
10202
10203         * BufferView2.C: small cleanup
10204
10205         * lyxfind.h:
10206         * lyxfind.C: move unnecessary header into the .C
10207
10208 2002-08-08  John Levon  <levon@movementarian.org>
10209
10210         * funcrequest.h: just tedious nonsense
10211
10212         * lyx_main.h:
10213         * lyx_main.C: cleanups
10214
10215         * buffer.C:
10216         * vspace.C: remove dead header lyx_main.h
10217
10218 2002-08-07  Angus Leeming  <leeming@lyx.org>
10219
10220         * Paragraph.[Ch]:
10221         * paragraph_pimpl.h:
10222         Forward declare class Counters in paragraph.h by moving the ctrs member
10223         variable into Paragraph::Pimpl.
10224         (counters): new method, returning a reference to pimpl_->ctrs.
10225
10226         * text2.C: ensuing changes.
10227
10228 2002-08-07  John Levon  <levon@movementarian.org>
10229
10230         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10231
10232         * BufferView_pimpl.C: announce X selection on double/triple
10233           click
10234
10235         * lyx_main.C: use correct bool in batch dispatch
10236
10237         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10238
10239 2002-08-07  André Pönitz <poenitz@gmx.net>
10240
10241         * funcrequest.h: new class to wrap a kb_action and its argument
10242
10243         * BufferView.[Ch]:
10244         * BufferView_pimpl[Ch]:
10245         * LaTeX.C:
10246         * LyXAction.[Ch]:
10247         * lyxfunc.[Ch]:
10248         * lyxrc.C: subsequent changes
10249
10250
10251 2002-08-07  John Levon  <levon@movementarian.org>
10252
10253         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10254           document options change.
10255
10256 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10257
10258         * counters.[Ch]
10259         * text2.C
10260         * paragraph.[Ch]
10261         * makefile.am: move counters functionality over from
10262         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10263
10264 2002-08-06  John Levon  <levon@movementarian.org>
10265
10266         * WordLangTuple.h: new file for word + language code tuple
10267
10268         * SpellBase.h:
10269         * pspell.h:
10270         * pspell.C:
10271         * ispell.h:
10272         * ispell.C:
10273         * lyxtext.h:
10274         * text.C:
10275         * text2.C:
10276         * BufferView.h:
10277         * BufferView2.C: use WordLangTuple
10278
10279         * layout.h:
10280         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10281
10282 2002-08-06  John Levon  <levon@movementarian.org>
10283
10284         * lyx_main.C: fix cmdline batch handling
10285
10286 2002-08-06  André Pönitz <poenitz@gmx.net>
10287
10288         * lyxrc.C: set default for show_banner to true
10289
10290 2002-08-06  John Levon  <levon@movementarian.org>
10291
10292         * pspell.C: fix a crash, and allow new aspell to work
10293
10294 2002-08-06  John Levon  <levon@movementarian.org>
10295
10296         * lyxfunc.C:
10297         * kbmap.C: small cleanup
10298
10299         * vspace.h:
10300         * vspace.C: add const
10301
10302 2002-08-05  John Levon  <levon@movementarian.org>
10303
10304         * LyXAction.C: back to tabular-insert
10305
10306 2002-08-04  John Levon  <levon@movementarian.org>
10307
10308         * BufferView.h:
10309         * BufferView.C: cosmetic change
10310
10311         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10312
10313         * bufferlist.C:
10314         * buffer.h:
10315         * buffer.C:
10316         * lyxcb.h:
10317         * lyxcb.C:
10318         * lyxserver.C:
10319         * lyxvc.C:
10320         * vc-backend.C:
10321         * BufferView2.C: purge all "Lyx" not "LyX" strings
10322
10323         * lyxcursor.h:
10324         * lyxcursor.C: attempt to add some documentation
10325
10326         * lyxfunc.C:
10327         * commandtags.h:
10328         * LyXAction.C:
10329         * ToolbarDefaults.C:
10330         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10331           merge with LFUN_TABULAR_INSERT
10332
10333         * Makefile.am:
10334         * SpellBase.h:
10335         * ispell.h:
10336         * ispell.C:
10337         * pspell.h:
10338         * pspell.C: split up i/pspell implementations into separate
10339           files, many cleanups
10340
10341         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10342
10343         * text2.C: some cleanup
10344
10345         * lyxfunc.C: don't check for isp_command == "none" any more, it
10346           didn't make any sense
10347
10348 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10349
10350         * counters.[Ch]
10351         * text2.C
10352         * paragraph.[Ch]
10353         * makefile.am: move counters functionality over
10354         from text2.C/paragraph.[Ch] to counters.[Ch], and
10355         make proper C++.
10356 2002-08-02  John Levon  <levon@movementarian.org>
10357
10358         * buffer.C: s/lyxconvert/lyx2lyx/
10359
10360 2002-08-02  Angus Leeming  <leeming@lyx.org>
10361
10362         * lyxlex.C: revert John's change as it breaks reading of the user
10363         preamble.
10364
10365 2002-08-02  Angus Leeming  <leeming@lyx.org>
10366
10367         * importer.C (Import):
10368         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10369         changes due to LyXView::view() now returning a boost::shared_ptr.
10370
10371 2002-08-02  John Levon  <levon@movementarian.org>
10372
10373         * lyxlex.C: small cleanup
10374
10375 2002-08-02  John Levon  <levon@movementarian.org>
10376
10377         * text2.C (status): small cleanup, no logic change
10378
10379 2002-08-01  John Levon  <levon@movementarian.org>
10380
10381         * buffer.h:
10382         * buffer.C (writeFile): don't output alerts, caller
10383           handles this
10384
10385         * bufferlist.C:
10386         * lyx_cb.C: from above
10387
10388         * lyxfunc.C: allow to open non-existent files
10389
10390 2002-07-31  John Levon  <levon@movementarian.org>
10391
10392         * lyxserver.C: don't let incidental errors get
10393           in the way (errno)
10394
10395 2002-07-30  John Levon  <levon@movementarian.org>
10396
10397         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10398
10399 2002-07-30  John Levon  <levon@movementarian.org>
10400
10401         * lyxserver.h:
10402         * lyxserver.C: remove I/O callback too
10403
10404 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10405
10406         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10407         log.
10408
10409 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10410
10411         * many files: strip,frontStrip -> trim,ltrim,rtrim
10412
10413 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10414
10415         * PrinterParams.h: remove extern containsOnly, and include
10416         support/lstrings.h instead.
10417
10418         * LaTeX.C (scanAuxFile): modify because of strip changes
10419         (deplog): ditto
10420         * buffer.C (makeLaTeXFile): ditto
10421         * bufferparams.C (writeFile): ditt
10422         * lyxfont.C (stateText): ditto
10423         * lyxserver.C (read_ready): ditto
10424         * vc-backend.C (scanMaster): ditto
10425
10426         * BufferView_pimpl.h: ws changes
10427
10428         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10429
10430 2002-07-26  André Pönitz <poenitz@gmx.net>
10431
10432         * kb_sequence.C: remove unnedred usings
10433
10434 2002-07-26  Juergen Vigna  <jug@sad.it>
10435
10436         * lyxfind.C (LyXReplace): we have to check better if the returned
10437         text is not of theLockingInset()->getLockingInset().
10438
10439 2002-07-25  Juergen Vigna  <jug@sad.it>
10440
10441         * lyxfind.C (LyXReplace): don't replace if we don't get the
10442         right LyXText.
10443
10444         * undo_funcs.C (createUndo): remove debugging code.
10445
10446 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10447
10448         * buffer.C (parseSingleLyXformat2Token): Use default placement
10449         when reading old floats.
10450
10451         * FloatList.C (FloatList): Change the default placement of figure
10452         and tables to "tbp".
10453
10454 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * MenuBackend.C: using std::max
10457
10458 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * MenuBackend.C (expandToc):
10461         (expandToc2): code moved from xforms menu frontend. It is now
10462         generic and TOCs are transparent to menu frontends.
10463
10464 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * toc.C (getTocList): protect against buf=0
10467
10468         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10469         Menu as first parameter. Now, this calls itself recursively to
10470         expand a whole tree (this will be useful for TOC handling)
10471         (expandFloatInsert): remove 'wide' version of floats
10472
10473         * MenuBackend.h (submenuname): returns the name of the submenu.
10474         (submenu): returns the submenu itself, provided it has been
10475         created by MenuBackend::expand
10476
10477 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10480         insets which have noFontChange == true. (bug #172)
10481
10482 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * BufferView_pimpl.C: add connection objects and use them...
10485         (Pimpl): here.
10486
10487 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * MenuBackend.C (expandLastfiles):
10490         (expandDocuments):
10491         (expandFormats):
10492         (expandFloatListInsert):
10493         (expandFloatInsert):
10494         (expand): split expand in parts
10495
10496 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * lyx_gui.C: use lyx_gui::exit()
10499
10500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * LyXAction.C: show the failing pseudo action
10503
10504 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * buffer.C (readFile): Run the lyxconvert script in order to read
10507         old files.
10508
10509 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * LyXAction.C:
10512         * commandtags.h:
10513         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10514
10515 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * LyXAction.C:
10518         * commandtags.h:
10519         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10520
10521 2002-07-22  Herbert Voss  <voss@lyx.org>
10522
10523         * lengthcommon.C:
10524         * lyxlength.[Ch]: add support for the vertical lengths
10525
10526 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * toc.[Ch]: std:: fixes
10529
10530 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10531
10532         * lyxrc.C: do not include lyx_main.h
10533
10534         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10535         for layouts
10536
10537         * lyxrc.C:
10538         * encoding.C:
10539         * bufferlist.C:
10540         * BufferView2.C: include "lyxlex.h"
10541
10542         * tabular.h:
10543         * bufferparams.h: do not #include "lyxlex.h"
10544
10545         * lyxtextclasslist.C (Add): remove method
10546         (classlist): renamed to classlist_
10547
10548         * paragraph_pimpl.C:
10549         * paragraph.C:
10550         * text2.C:
10551         * CutAndPaste.C:
10552         * bufferview_funcs.C:
10553         * bufferlist.C:
10554         * text.C:
10555         * LaTeXFeatures.C:
10556         * buffer.C:
10557         * toc.C (getTocList): use BufferParams::getLyXTextClass
10558
10559         * toc.C (getTocList): use InsetFloat::addToToc
10560
10561         * toc.[Ch]: new files, containing helper functions to handle table
10562         of contents
10563
10564         * lyxfunc.C (dispatch): no need to remove spaces around command
10565         given as a string
10566         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10567         first command of the sequence; it is not very clever, but I do not
10568         have a better idea, actually
10569
10570         * LyXAction.C (LookupFunc): make sure to remove space at the
10571         beginning and end of the command
10572
10573 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * MenuBackend.C (getMenubar): new method: return the menubar of
10576         this menu set
10577         (read): treat differently reading of menu and menubar (in
10578         particular, the menubar has no name now)
10579         (Menu::menubar): remove
10580
10581         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10582         saving is finished
10583
10584 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10585
10586         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10587         a bibitem inset in a RTL paragraph.
10588
10589 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * paragraph_pimpl.C: constify
10592
10593         * BufferView_pimpl.C:
10594         * LaTeX.C:
10595         * lyxfunc.C: fix dispatch in a nicer way
10596
10597 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10598
10599         * lyxfunc.C (dispatch):
10600         * BufferView_pimpl.C:
10601         * BufferView_pimpl.h:
10602         * BufferView.C:
10603         * BufferView.h: rename Dispatch() to dispatch()
10604
10605         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10606
10607         * lyxlayout.C (Read): honor DependsOn tag
10608
10609         * lyxlayout.[Ch] (depends_on): new method
10610
10611         * version.C.in: update lyx_docversion
10612
10613         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10614
10615         * paragraph.C (validate): remove from here...
10616         * paragraph_pimpl.C (validate): ... and move here
10617         (isTextAt): make it const
10618
10619         * buffer.C (getLists): ws cleanup
10620
10621 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10622
10623         * language.C (read): Use iso8859-1 encoding in latex_lang
10624         (this prevents LyX from crashing when using iso10646-1 encoding).
10625
10626 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10627
10628         * text2.C (toggleInset): if cursor is inside an inset, close the
10629         inset and leave cursor _after_ it
10630
10631 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * lyxfunc.C: move minibuffer completion handling out of here
10634
10635 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * BufferView_pimpl.C:
10638         * LaTeX.C: fix dispatch calls
10639
10640 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10641
10642         * text.C (drawChars): Fix Arabic text rendering.
10643
10644 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * LyXAction.C:
10647         * commandtags.h:
10648         * lyxfunc.C: remove message-push/pop
10649
10650         * lyxserver.C:
10651         * lyxfunc.h:
10652         * lyxfunc.C: rationalise some code by removing verboseDispatch
10653           in favour of a bool argument to dispatch()
10654
10655 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * lyx_main.C (init): make sure to read symlinks as absolute paths
10658
10659 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * lyxfunc.h:
10662         * lyxfunc.C: no need for commandshortcut to be a member
10663
10664 2002-07-15  André Pönitz <poenitz@gmx.net>
10665
10666         * converter.C: add support for $$s (scripts from lib/scripts dir)
10667         * lyx_main.C: white space
10668
10669 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * bufferlist.C:
10672         * lyxrc.h:
10673         * lyxrc.C: remove second exit confirmation
10674
10675 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * BufferView.h:
10678         * BufferView.C:
10679         * BufferView2.C:
10680         * BufferView_pimpl.h:
10681         * BufferView_pimpl.C:
10682         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10683
10684 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * MenuBackend.C (expand): add numeric shortcuts to document menu
10687
10688         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10689
10690 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10691
10692         * lyxfont.C (setLyXFamily):
10693         (setLyXSeries):
10694         (setLyXShape):
10695         (setLyXSize):
10696         (setLyXMisc):
10697         (lyxRead):
10698         * debug.C (value):
10699         * buffer.C (asciiParagraph): use ascii_lowercase
10700
10701 2002-07-15  Mike Fabian  <mfabian@suse.de>
10702
10703         * lyxlex_pimpl.C (search_kw):
10704         * lyxlex.C (getLongString):
10705         * converter.h (operator<):
10706         * converter.C (operator<):
10707         * buffer.C (parseSingleLyXformat2Token):
10708         (asciiParagraph):
10709         * ToolbarDefaults.C (read):
10710         * MenuBackend.C (checkShortcuts):
10711         (read):
10712         * LColor.C (getFromGUIName):
10713         (getFromLyXName): use the compare_ascii_no_case instead of
10714         compare_no_case, because in turkish, 'i' is not the lowercase
10715         version of 'I', and thus turkish locale breaks parsing of tags.
10716
10717 2002-07-16  Angus Leeming  <leeming@lyx.org>
10718
10719         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10720         now takes a Buffer const & argument.
10721
10722 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10723
10724         * BufferView.C (resize): check there's a buffer to resize
10725
10726 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * lyxfunc.C: remove dead code
10729
10730         * lyxserver.h:
10731         * lyxserver.C: use lyx_guii::set_read_callback
10732
10733 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10734
10735         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10736         an inset in a RTL paragraph.
10737
10738 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * lyxfunc.C: repaint after a font size update
10741
10742 2002-07-15  André Pönitz <poenitz@gmx.net>
10743
10744         * lyxlength.C: inBP should be able to return negative values
10745
10746 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * lyxfunc.C: use lyx_gui::update_fonts()
10749
10750 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * lyxfunc.C: use lyx_gui::update_color()
10753
10754 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * bufferlist.C:
10757         * lyxfunc.h:
10758         * lyxfunc.C:
10759         * lyxrc.h:
10760         * lyxrc.C: remove file->new asks for name option, and let
10761           buffer-new take an argument
10762
10763 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * BufferView_pimpl.C: remove unneeded extra repaint()
10766
10767 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * LyXAction.C: allow command-sequence with NoBuffer
10770
10771         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10772
10773 2002-07-10  Angus Leeming  <leeming@lyx.org>
10774
10775         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10776
10777 2002-07-09  Angus Leeming  <leeming@lyx.org>
10778
10779         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10780
10781 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * lengthcommon.h: whitespace
10784
10785         * lyxfunc.C: update scrollbar after goto paragraph
10786
10787         * lyxtext.h: factor out page break drawing, and fix it so
10788           page break/added space paints as selected nicely
10789
10790 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * BufferView_pimpl.C: add FIXMEs, clean up a little
10793
10794 2002-07-09  André Pönitz <poenitz@gmx.net>
10795
10796         * lyxfont.[Ch]: support for wasy symbols
10797
10798 2002-07-08  André Pönitz <poenitz@gmx.net>
10799
10800         * BufferView_pimpl.C: apply John's patch for #93.
10801
10802 2002-07-05  Angus Leeming  <leeming@lyx.org>
10803
10804         * BufferView_pimpl.C (buffer): generate previews if desired.
10805
10806         * LColor.h: add "preview" to the color enum.
10807
10808         * LColor.C (LColor): add a corresponding entry to the items array.
10809
10810         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10811         with this buffer.
10812
10813 2002-07-05  Angus Leeming  <leeming@lyx.org>
10814
10815         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10816         The body of the code is now in the method that is passed an ostream &
10817         rather than a file name.
10818         Pass an additional only_preamble parameter, useful for the forthcoming
10819         preview stuff.
10820
10821 2002-07-03  André Pönitz <poenitz@gmx.net>
10822
10823         * lyxfunc.C: simplify getStatus() a bit for math stuff
10824
10825 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10828
10829 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * text.C (changeRegionCase): do not change case of all the
10832         document when region ends at paragraph end (bug #461)
10833
10834 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * paragraph.C (startTeXParParams):
10837         (endTeXParParams): add \protect when necessary
10838
10839 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10840
10841         * BufferView_pimpl.C (workAreaExpose): remove warning
10842
10843 2002-06-27  Angus Leeming  <leeming@lyx.org>
10844
10845         * Makefile.am: add lyxlayout_ptr_fwd.h.
10846
10847 2002-06-26  André Pönitz <poenitz@gmx.net>
10848
10849         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10850
10851 2002-06-25  Angus Leeming  <leeming@lyx.org>
10852
10853         * lyxfunc.C (dispatch): Comment out the call to
10854         grfx::GCache::changeDisplay. The method no longer exists now that the
10855         pixmap generation part of the graphics loader has been moved into
10856         InsetGraphics.
10857
10858 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10859
10860         * text2.C: layout as layout
10861
10862         * text.C: layout as layout
10863
10864         * tabular.C (OldFormatRead): layout as layout
10865
10866         * paragraph_pimpl.C (TeXDeeper): layout as layout
10867         (realizeFont): layout as layout
10868
10869         * paragraph.C (writeFile): layout as layout
10870         (validate): layout as layout
10871         (getFont): layout as layout
10872         (getLabelFont): layout as layout
10873         (getLayoutFont): layout as layout
10874         (breakParagraph): layout as layout
10875         (stripLeadingSpaces): layout as layout
10876         (getEndLabel): layout as layout
10877         (getMaxDepthAfter): layout as layout
10878         (applyLayout): layout as layout
10879         (TeXOnePar): layout as layout
10880         (simpleTeXOnePar): layout as layout
10881         (TeXEnvironment): layout as layout
10882         (layout): layout as layout
10883         (layout): layout as layout
10884
10885         * lyxtextclass.C (compare_name): new functor to work with
10886         shared_ptr, layout as layout
10887         (Read): layout as layout
10888         (hasLayout): layout as layout
10889         (operator): layout as layout
10890         (delete_layout): layout as layout
10891         (defaultLayout): layout as layout
10892
10893         * lyxlayout_ptr_fwd.h: new file
10894
10895         * lyxlayout.C (Read): layout as layout
10896
10897         * lyx_cb.C (MenuInsertLabel): layout as layout
10898
10899         * bufferlist.C (newFile): layout as layout
10900
10901         * buffer.C (readLyXformat2): layout as layout
10902         (parseSingleLyXformat2Token): layout as layout
10903         (insertStringAsLines): layout as layout
10904         (asciiParagraph): layout as layout
10905         (latexParagraphs): layout as layout
10906         (makeLinuxDocFile): layout as layout
10907         (simpleLinuxDocOnePar): layout as layout
10908         (makeDocBookFile): layout as layout
10909         (simpleDocBookOnePar): layout as layout
10910         (getLists): layout as layout
10911
10912         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10913
10914         * CutAndPaste.C (cutSelection): layout as layout
10915         (pasteSelection): layout as layout
10916         (SwitchLayoutsBetweenClasses): layout as layout
10917
10918         * BufferView_pimpl.C (Dispatch): layout as layout
10919         (smartQuote): layout as layout
10920
10921         * BufferView2.C (unlockInset): layout as layout
10922
10923 2002-06-24  André Pönitz <poenitz@gmx.net>
10924
10925         * lyxfunc.C: fix #487
10926
10927 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * lyxrc.h:
10930         * lyxrc.C:
10931         * lyxfunc.C: remove display_shortcuts, show_banner
10932
10933 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * Buffer_pimpl.C: oops, update on resize
10936
10937 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * buffer.C:
10940         * converter.C:
10941         * exporter.C:
10942         * lyxfunc.C:
10943         * BufferView.h:
10944         * BufferView.C: use repaint()
10945
10946         * BufferView_pimpl.h:
10947         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10948           as it's a clearer description. Remove superfluous
10949           redraws.
10950
10951 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * text.C: fix bug 488. Not ideal, but getting
10954           getWord() to work properly for the insets that
10955           matter is more difficult ...
10956
10957 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * BufferView_pimpl.C:
10960         * LyXAction.C:
10961         * commandtags.h:
10962         * lyxfunc.C: remove the six million index lyxfuncs to just
10963           one, and DTRT (bug 458)
10964
10965 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * BufferView.h:
10968         * BufferView.C:
10969         * BufferView_pimpl.h:
10970         * BufferView_pimpl.C: clean up resize() stuff,
10971           and unnecessary updateScreen()s
10972
10973 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * BufferView.h:
10976         * BufferView.C:
10977         * BufferView_pimpl.h:
10978         * BufferView_pimpl.C:
10979         * lyxfind.h:
10980         * lyxfind.C:
10981         * minibuffer.C: remove focus management of workarea,
10982           not needed. Use screen's greyOut()
10983
10984 2002-06-17  Herbert Voss  <voss@lyx.org>
10985
10986         * converter.C: (convert) do not post a message, when converting
10987         fails, let the calling function decide what to do in this case
10988
10989 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * lyxfunc.C: tidy up a little
10992
10993 2002-06-16    <alstrup@diku.dk>
10994
10995         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10996         Got rid of FORMS_H_LOCATION include. Now we are
10997         GUII.
10998
10999 2002-06-15  LyX Development team  <lyx@rilke>
11000
11001         * buffer.[Ch] (sgmlOpenTag):
11002         (sgmlCloseTag): Added support for avoiding pernicious mixed
11003         content. Return number of lines written.
11004
11005         (makeLinuxDocFile):
11006         (makeDocBookFile): Fixed calls to sgml*Tag.
11007         Simple white space clean.
11008
11009         (simpleDocBookOnePar): Simple white space clean.
11010
11011         * tabular.[Ch] (docBook): Renamed to docbook and got another
11012         argument to related with the pernicious mixed content.
11013
11014         (docbookRow): Fixed calls for docbook inset method.
11015
11016 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11017
11018         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11019         so it's X11 independent.
11020
11021         * kb*.[Ch]: ditto.
11022
11023         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11024
11025 2002-06-15  Lyx Development team  <lyx@electronia>
11026
11027         * intl.h: Renamed getTrans to getTransManager.
11028
11029 2002-06-14  Angus Leeming  <leeming@lyx.org>
11030
11031         * Makefile.am: nuke forgotten stl_string_fwd.h.
11032
11033 2002-06-12  Angus Leeming  <leeming@lyx.org>
11034
11035         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11036
11037 2002-06-13  Angus Leeming  <leeming@lyx.org>
11038
11039         * LaTeX.C:
11040         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11041
11042 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11043
11044         * kbmap.C (getiso): add support for cyrillic and greek
11045
11046 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * BufferView.h:
11049         * BufferView.C:
11050         * BufferView_pimpl.h:
11051         * BufferView_pimpl.C: move bogus scrolling logic
11052           to xforms
11053
11054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * lyxfunc.C:
11057         * BufferView_pimpl.C: view->resize() change
11058
11059 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * BufferView_pimpl.C: topCursorVisible
11062           prototype change
11063
11064 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * Makefile.am:
11067         * lyx_gui.h:
11068         * lyx_gui.C: move to frontends/
11069
11070         * main.C:
11071         * lyx_main.h:
11072         * lyx_main.C: changes from above
11073
11074 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * intl.C:
11077         * intl.h:
11078         * kbmap.C:
11079         * kbsequence.C:
11080         * lyx_cb.C:
11081         * lyx_main.C: minor tidy
11082
11083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * BufferView_pimpl.h:
11086         * BufferView_pimpl.C:
11087         * BufferView.h:
11088         * BufferView.C: make painter() const,
11089           remove dead code
11090
11091         * BufferView2.C: use screen() accessor
11092
11093         * lyx_main.h:
11094         * lyx_main.C: some minor cleanup
11095
11096 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11097
11098         * BufferView_pimpl.h:
11099         * BufferView_pimpl.C: remove enter/leaveView,
11100           use workHeight()
11101
11102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * BufferView.h:
11105         * BufferView.C:
11106         * BufferView2.C:
11107         * BufferView_pimpl.h:
11108         * BufferView_pimpl.C: only construct screen once,
11109           rename
11110
11111         * lyxrc.C: remove pointless comment
11112
11113 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView.h:
11116         * BufferView.C: remove active() and belowMouse()
11117
11118         * BufferView_pimpl.h:
11119         * BufferView_pimpl.C: use workarea() not workarea_,
11120           and make it use a scoped_ptr instead
11121
11122 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * lyx_gui.C: add debug message on BadWindow
11125
11126 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * sp_spell.C: fdopen is not part of the C++ standard.
11129
11130         * paragraph.C (InsetIterator): use >= instead of ==
11131
11132 2002-06-07  Angus Leeming  <leeming@lyx.org>
11133
11134         Fixes needed to compile with Compaq cxx 6.5.
11135         * BufferView_pimpl.C:
11136         * DepTable.C:
11137         * buffer.C:
11138         * converter.C:
11139         * encoding.C:
11140         * lyx_gui.C:
11141         * lyx_main.C:
11142         * lyxtextclasslist.C:
11143         * minibuffer.C:
11144         * sp_spell.C:
11145         * tabular_funcs.C:
11146         * vc-backend.C:
11147         all c-library variables have been moved into namespace std. Wrap
11148         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11149
11150         * lyxlength.C:
11151         * tabular-old.C:
11152         * tabular.C:
11153         Add a using std::abs declaration.
11154
11155         * kbmap.h (modifier_pair):
11156         * paragraph.h (InsetTable, InsetList):
11157         * lyxfont.h (FontBits):
11158         type definition made public.
11159
11160         * bufferlist.C (emergencyWriteAll): the compiler complains that
11161         there is more than one possible lyx::class_fun template to choose from.
11162         I re-named the void specialisation as lyx::void_class_fun.
11163
11164         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11165
11166         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11167         the compiler is is unable to find tostr in write_attribute.
11168
11169 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * buffer.C (sgmlError): hide #warning
11172
11173 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * xtl/*: get rid of xtl, which is not in use anyway
11176
11177         * LyXAction.C (init):
11178         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11179         were unimplemented xtl experimentation
11180
11181 2002-06-04  André Pönitz <poenitz@gmx.net>
11182
11183         * lyxfunc.C: disable array operation on simple formulae
11184
11185 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * converter.C: constify a bit
11188
11189 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * lyx_gui.C: check xforms version correctly
11192
11193 2002-04-30  Herbert Voss  <voss@lyx.org>
11194
11195         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11196         "keep" option
11197
11198 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11201           attempt to register it with a VCS)
11202
11203 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * lyx_main.C (init): honor variables LYX_DIR_13x and
11206         LYX_USERDIR_13x
11207
11208 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * buffer.h:
11211         * buffer.C:
11212         * lyx_main.C: fix a crash on bad command line,
11213           and give a useful exit status on error
11214
11215         * lyxfunc.C (doImport): allow -i lyx to work
11216
11217 2002-03-30  André Pönitz <poenitz@gmx.net>
11218
11219         * lyxfunc.C: mathed font changes
11220
11221 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * LaTeX.C:
11224         * importer.h:
11225         * importer.C:
11226         * lyx_sty.h:
11227         * lyx_sty.C:
11228         * lyxlex.C:
11229         * lyxrow.h:
11230         * lyxtext.h:
11231         * paragraph.h:
11232         * paragraph.C:
11233         * texrow.h:
11234         * texrow.C:
11235         * text.C:
11236         * trans_mgr.h: srcdocs, and some minor cleanups
11237
11238 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11241         call getFont all the time)
11242
11243 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * switch from SigC signals to boost::signals
11246
11247 2002-05-29  André Pönitz <poenitz@gmx.net>
11248
11249         * paragraph_pimpl.C (getChar): don't call size() too often...
11250
11251 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * paragraph_pimpl.C (insertChar): do not try to update tables when
11254         appending (pos == size())
11255
11256         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11257         in order to reduce drastically the number of comparisons needed to
11258         parse a large document
11259
11260 2002-05-29  André Pönitz <poenitz@gmx.net>
11261
11262         * text.C:
11263         * text2.C:
11264         * lyxtextclass.C:
11265         * sp_pspell.h:
11266         * textclasslist.[Ch]:
11267         * sp_ispell.h: whitespace change
11268
11269 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11272         lyxaction directly now.
11273
11274 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * trans.C:
11277         * lyxfont.C:
11278         * lyxvc.C: remove unused headers
11279
11280 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * Makefile.am:
11283         * buffer.h:
11284         * undostack.h:
11285         * undostack.C:
11286         * undo_funcs.h:
11287         * undo_funcs.C: some cleanups. Use shared_ptr
11288           and a template for the undo stacks.
11289
11290 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * BufferView_pimpl.h:
11293         * BufferView_pimpl.C:
11294         * kbmap.h:
11295         * kbmap.C:
11296         * kbsequence.h:
11297         * kbsequence.C:
11298         * lyxfunc.h:
11299         * lyxfunc.C:
11300         * text2.C: use key_state/mouse_state
11301
11302 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11305         and LSubstring
11306
11307         * chset.C: change include order
11308         (loadFile): use boost regex and get rid of LRegex and LSubstring
11309
11310         * Makefile.am (BOOST_LIBS): new variable
11311         (lyx_LDADD): use it
11312
11313         * LaTeX.C: change include order.
11314         (scanAuxFile): use boost regex and get rid of LRegex and
11315         LSubstring
11316         (deplog): ditto
11317
11318 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * ColorHandler.h:
11321         * ColorHandler.C:
11322         * FontInfo.h:
11323         * FontInfo.C: moved to frontends/xforms/
11324
11325         * FontLoader.h:
11326         * FontLoader.C: moved into frontends for GUIIzation
11327
11328         * Makefile.am:
11329         * lyx_gui.C:
11330         * lyxfont.C:
11331         * lyxfunc.C: changes from above
11332
11333 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * LColor.C: remove spurious X include
11336
11337         * BufferView_pimpl.C:
11338         * Makefile.am:
11339         * font.h:
11340         * font.C:
11341         * text.C:
11342         * text2.C: move font metrics to frontends/
11343
11344 2002-05-24  Juergen Vigna  <jug@sad.it>
11345
11346         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11347         setting the undo_cursor.
11348
11349         * ParagraphParameters.h: include local includes first.
11350
11351 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * BufferView_pimpl.C:
11354         * BufferView_pimpl.h:
11355         * Makefile.am:
11356         * WorkArea.h:
11357         * WorkArea.C:
11358         * screen.C: move WorkArea into frontends/
11359
11360         * lyxscreen.h:
11361         * screen.C:
11362         * text.C:
11363         * BufferView.C:
11364         * BufferView2.C: move LyXScreen into frontends/
11365
11366         * lyxlookup.h:
11367         * lyxlookup.C:
11368         * lyx_gui.C: move lyxlookup into frontends/xforms/
11369
11370 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * BufferView2.C:
11373         * BufferView_pimpl.C:
11374         * FontLoader.C:
11375         * LyXView.h:
11376         * LyXView.C:
11377         * Makefile.am:
11378         * WorkArea.C:
11379         * XFormsView.h:
11380         * XFormsView.C:
11381         * buffer.C:
11382         * bufferlist.C:
11383         * bufferview_funcs.C:
11384         * converter.C:
11385         * importer.C:
11386         * lyx_cb.C:
11387         * lyx_gui.C:
11388         * lyx_main.C:
11389         * lyx_find.C:
11390         * lyxfunc.C:
11391         * lyxvc.C:
11392         * minibuffer.C:
11393         * text.C:
11394         * text2.C:
11395         * trans.C:
11396         * vc-backend.C: move LyX/XFormsView into frontends/
11397
11398 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * Makefile.am:
11401         * PainterBase.C:
11402         * PainterBase.h:
11403         * Painter.C:
11404         * Painter.h:
11405         * WorkArea.C:
11406         * WorkArea.h:
11407         * screen.C:
11408         * tabular.C:
11409         * text.C:
11410         * text2.C: move Painter to frontends/
11411
11412 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * buffer.C: comment out some some code that depend upon lyx_format
11415         < 220
11416
11417         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11418         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11419
11420         * buffer.h (NO_COMPABILITY): turn off compability
11421
11422         * ColorHandler.C: include scoped_array.hpp
11423
11424         * font.C: Use more specific smart_ptr header.
11425         * Painter.C: ditto
11426         * gettext.C: ditto
11427         * ShareContainer.h: ditto
11428         * lyx_main.h: ditto
11429         * kbmap.h: ditto
11430         * FontInfo.h: ditto
11431         * BufferView_pimpl.h: ditto
11432         * ColorHandler.h: ditto
11433
11434         * kbmap.C (defkey): change call to shared_ptr::reset
11435
11436 2002-05-21  Juergen Vigna  <jug@sad.it>
11437
11438         * buffer.C (insertErtContents): fix to insert ert asis if it is
11439         non empty. Skip it completely if it contains only whitespaces.
11440
11441 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * BufferView_pimpl.C:
11444         * BufferView2.C: clear selection on paste (bug 393)
11445
11446 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447
11448         * DepTable.C: include ctime
11449
11450 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11451
11452         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11453
11454 2002-05-14  Juergen Vigna  <jug@sad.it>
11455
11456         * text.C (breakParagraph): fixed function to honor the keepempty
11457         layout in the right maner and also to permit the right breaking
11458         algorithm on empty or non empyt keepempty paragraphs.
11459
11460         * paragraph.C (breakParagraph): we have to check also if the par
11461         is really empty (!size()) for isempty otherwise we do the wrong
11462         paragraph break.
11463
11464 2002-05-10  Juergen Vigna  <jug@sad.it>
11465
11466         * buffer.[Ch] : The following are only changes to the ert
11467         compatibility read reading old LaTeX layout and font stuff and
11468         convert it to ERTInsets.
11469
11470         * buffer.h: added isErtInset().
11471
11472         * buffer.C (struct ErtComp): add a fromlayout bool to check
11473         if we're inside a LaTeX layout.
11474         (isErtInset): new helper function.
11475         (insertErtContents): look for other ert insets before this one
11476         and insert the contents there, so that we don't have subsequent
11477         ERT insets with nothing between them. This way we create only one
11478         inset with multiple paragraphs. Also check if we don't insert only
11479         spaces ' ' as they are ignored anyway afterwards in the .tex file
11480         so if we have only spaces we will ignore this latex part in the
11481         new file.
11482         (parseSingleLyXformat2Token \\layout): better compatibility when
11483         reading layout-latex stuff.
11484         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11485         language tag.
11486         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11487         stuff after reading the inset only get the information back from
11488         the stack.
11489
11490 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11493
11494         * LaTeXFeatures.C (getBabelOptions): New method.
11495
11496 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * BufferView_pimpl.C (Dispatch): work around missing argument for
11499         'layout'
11500
11501 2002-05-08  Juergen Vigna  <jug@sad.it>
11502
11503         * text.C (leftMargin): handle paragraph leftindent.
11504
11505         * paragraph.C (writeFile): write the new \\leftindent tag.
11506         (validate): handle leftindent code.
11507         (TeXEnvironment): handle paragraphleftindent code again.
11508
11509         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11510
11511         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11512         for paragrap_extra indent code and new token \\leftindent.
11513         (latexParagraphs): handle the leftindent as environment.
11514
11515         * ParameterStruct.h: added leftindent support.
11516
11517         * ParagraphParameters.C (leftIndent): added support functions for
11518         the paragraph left indent.
11519
11520         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11521         more appropriate.
11522
11523 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11526         inside insetERT.
11527
11528         * text.C (computeBidiTables): No bidi in insetERT.
11529
11530         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11531         in RTL documents.
11532
11533 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * version.C.in: pre 5
11536
11537 2002-05-02  José Matos  <jamatos@fep.up.pt>
11538         * buffer.C (makeDocBookFile): white space changes, add newline to
11539         command styles.
11540         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11541
11542         * tabular.C (docBook): fix typo.
11543
11544 2002-05-03  Juergen Vigna  <jug@sad.it>
11545
11546         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11547         change in LyXText as we can not be sure it was not freed.
11548         (drawOneRow): remove unused code.
11549
11550         * text.C (drawInset): redo the calculation of the need_break_row as
11551         it could have a row which was already freed.
11552         (draw): look at the return value of drawInset and return false if
11553         it also returned false.
11554         (paintRowText): look at the return value of draw and return false if
11555         it also returned false.
11556
11557         * lyxtext.h: added bool return type to drawInset() and draw() so that
11558         if we have a change in the row so that the rowbreak has to be redone
11559         we abort drawing as it will be called again.
11560
11561 2002-05-02  Juergen Vigna  <jug@sad.it>
11562
11563         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11564         a change in the maintext also if we're inside an inset.
11565         (Dispatch): set the cursor again after a break line and after the
11566         screen has been updated as it could be we're in a different row.
11567
11568         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11569         to set the cursor behind the pargraph with > size().
11570         (setCursor): check also for the same paragraph when checking where
11571         to put the cursor if we have a NFR inset.
11572
11573         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11574         parts of layout read further up as it still was in the wrong
11575         position.
11576
11577 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * screen.C (drawFromTo): change sine fullRebreak always return
11580         true.
11581
11582         * buffer.C (parseSingleLyXformat2Token): reindent some
11583
11584         * BufferView_pimpl.C (update): change since fullRebreak always
11585         return true.
11586         (Dispatch): git rid of the last hardcoded "Standard"s.
11587
11588 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * text2.[Ch] (fullRebreak): make it return void now that we always
11591         returned true.
11592
11593 2002-04-30  Juergen Vigna  <jug@sad.it>
11594
11595         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11596         ert compatibility check for "latex" layout.
11597
11598 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11601         minipages: use col% instead of p%, and also use the current font.
11602         (makeLaTeXFile): Fix use babel condition.
11603         (parseSingleLyXformat2Token): Correct font when reading old floats.
11604
11605 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11608         inserting list of floats.
11609
11610 2002-04-25  Herbert Voss  <voss@lyx.org>
11611
11612         * MenuBackend.C (expand): don't add the graphics extensions to the
11613         export menu
11614
11615 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11618         non-existing layout, do not complain if it was the default layout
11619         of the original class (bug #342)
11620
11621 2002-04-24  Juergen Vigna  <jug@sad.it>
11622
11623         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11624         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11625
11626 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11627
11628         * buffer.C (getBibkeyList): If using \bibliography, return the
11629         option field with the reference itself. Enables us to provide natbib
11630         support when using \bibliography.
11631
11632 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11633
11634         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11635
11636         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11637         natbib is provided by the LaTeX class.
11638
11639 2002-04-23  Juergen Vigna  <jug@sad.it>
11640
11641         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11642         Wakeup functions.
11643
11644         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11645
11646 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11647
11648         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11649
11650         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11651         ensuremath around textordmasculine, textordfeminine and
11652         textdegree.
11653
11654 2002-04-19  Juergen Vigna  <jug@sad.it>
11655
11656         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11657         reinitializing the buffer otherwise row-dimensions may be wrong.
11658         (update): reset also the selection cursors if they do exits otherwise
11659         their x/y positions may be wrong.
11660
11661         * text2.C (cursorDown): don't enter the inset if we came from a row
11662         above and are one row over the inset.
11663
11664         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11665         really leaving an inset.
11666
11667 2002-04-18  Juergen Vigna  <jug@sad.it>
11668
11669         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11670         of the selected paragraph does not have the selected layout also if
11671         the last one had!
11672
11673         * text2.C (setLayout): fixed bug which did not change last selected
11674         paragraph.
11675
11676         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11677         changed the read and substituted \\end_float with \\end_inset!
11678
11679         * BufferView_pimpl.C (cursorPrevious):
11680         (cursorNext): fixed to make it work with rows heigher than the work
11681         area without moving the cursor only the draw of the row.
11682         (workAreaMotionNotify): fix jumping over high rows.
11683
11684 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11685
11686         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11687         Ressler.
11688
11689 2002-04-16  Juergen Vigna  <jug@sad.it>
11690
11691         * text2.C (setCursor): set also the irow().
11692         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11693         (cursorUp):
11694         (cursorDown): support for locking an inset if the x_fix value goes
11695         inside it. That way I can transverse insets too with cursor up/down.
11696
11697         * lyxrow.h: added irow helper function same as other (i) functions.
11698
11699         * BufferView_pimpl.C (cursorPrevious):
11700         (cursorNext): fixed for insets!
11701
11702 2002-04-15  Juergen Vigna  <jug@sad.it>
11703
11704         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11705         position otherwise it is wrong in some cases.
11706
11707         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11708         inside the inset before the call.
11709
11710 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11711
11712         * buffer.[Ch] (getBibkeyList): make it const.
11713
11714 2002-04-12  Juergen Vigna  <jug@sad.it>
11715
11716         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11717
11718         * text2.C (getCursorX): new helper function
11719         (setCursor): compute also ix_
11720         (setCursorFromCoordinates): set also ix.
11721
11722         * lyxcursor.h: added ix_ and helper functions.
11723
11724         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11725
11726         * buffer.C (insertStringAsLines): dont break paragraph if the this
11727         paragraph is inside an inset which does not permit it!
11728
11729         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11730         also with no chars on this paragraph.
11731         (paintRowText): only paint stuff if it's inside the workarea!
11732
11733         * paragraph.C (breakParagraph): honor keepempty flag and break the
11734         paragraph always below not above.
11735
11736         * BufferView2.C (unlockInset): update the paragraph layout on inset
11737         unlock as we changed paragraph in such a case.
11738
11739         * lyxfind.C (LyXFind): clear the former selection if not found!
11740
11741         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11742         again called in insertChar().
11743
11744         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11745         an inset which uses the whole row!
11746         (rightMargin): ditto.
11747         (insertChar): force a rebreak if we inserted an inset!
11748
11749 2002-03-28  Herbert Voss  <voss@lyx.org>
11750
11751         * lyxlength.[Ch]: add inBP() to get the right PS-point
11752         units (BigPoint). With inPixels we have rounding errors
11753
11754 2002-04-11  Juergen Vigna  <jug@sad.it>
11755
11756         * text2.C (setCursorFromCoordinates): set iy to the right value.
11757         (setCursor): add check if row->previous exists!
11758
11759         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11760         an old float_type as this was the case in the old code!
11761
11762         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11763
11764         * BufferView2.C (showLockedInsetCursor): use iy
11765         (fitLockedInsetCursor): ditto
11766
11767         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11768         locked insets as there we have the right value now.
11769
11770         * lyxcursor.C: added iy_ variable and iy functions to set to the
11771         baseline of cursor-y of the locked inset.
11772
11773         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11774         (setCursor): fixed for insets which need a full row.
11775
11776         * text.C (rowLastPrintable): don't ignore the last space when before
11777         an inset which needs a full row.
11778         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11779         as last character of a row when before a inset which needs a full row.
11780
11781 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * version.C.in: update date
11784
11785         * text2.C (fullRebreak): try to always return true and see what
11786         happens...
11787
11788 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * MenuBackend.C (expand): use Floating::listName
11791
11792         * FloatList.C (FloatList): add listName argument to the built-in
11793         floats
11794
11795         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11796         text associated with the float.
11797
11798 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11801
11802 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * ShareContainer.h: add a couple of missing typenames.
11805
11806 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11807
11808         * lyxrc.C (getDescription): use _() correctly rather than N_().
11809
11810 2002-03-28  Herbert Voss  <voss@lyx.org>
11811
11812         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11813         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11814
11815 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11818         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11819
11820 2002-03-29  Juergen Vigna  <jug@sad.it>
11821
11822         * lyxfunc.C (dispatch): add a missing fitCursor call.
11823
11824         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11825         it was scrolled by a cursor move, so return the bool status.
11826
11827         * BufferView.C (fitCursor): return the bool flag also to the outside
11828         world as this is needed.
11829
11830         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11831
11832         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11833         call the edit() as it is not needed (and wrong) IMO.
11834         (workAreaButtonPress): set the screen_first variable before evt.
11835         unlock the inset as this may change screen_first and then we have
11836         a wrong y position for the click!
11837
11838 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * MenuBackend.C (expand): another translation that I missed
11841
11842 2002-03-28  Juergen Vigna  <jug@sad.it>
11843
11844         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11845
11846         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11847
11848 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11851
11852         * MenuBackend.C (expand): fix export/view/update when there is no
11853         document open.
11854
11855 2002-03-27  Herbert Voss  <voss@lyx.org>
11856
11857         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11858         and text%
11859
11860 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * bufferview_funcs.C (currentState): only show paragraph number
11863         for is DEVEL_VERSION is set.
11864
11865         * lyxfunc.C (dispatch): put warning in INFO channel
11866
11867         * MenuBackend.C (expand): translate the name of floats
11868
11869         * FloatList.C (FloatList): mark the float names for translation
11870
11871         * converter.C (convert): use LibScriptSearch
11872
11873 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * MenuBackend.C (defaults): fix default menu (we might as well get
11876         rid of it...)
11877
11878 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11881         directory.
11882
11883 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * lyxvc.C: reorder includes.
11886
11887 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11890           properly
11891
11892 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * CutAndPaste.C: change layouts earlier on paste
11895           to avoid crashing when calling getFont()
11896
11897 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11898
11899         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11900         irritating #error.
11901
11902 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * WorkArea.C: remove 'Pending' debug message.
11905
11906         * most files: ws cleanup
11907
11908         * buffer.[Ch]: ws changes
11909
11910         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11911
11912 2002-03-21  Juergen Vigna  <jug@sad.it>
11913
11914         * tabular.C (SetMultiColumn): collapse also the contents of the
11915         cells and set the last border right. Added a Buffer const * param.
11916
11917 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11920         linking or not.
11921
11922 2002-03-19  Juergen Vigna  <jug@sad.it>
11923
11924         * text2.C (clearSelection): reset also xsel_cache.
11925
11926         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11927         where it needs to be called (John tells us to do so too :)
11928         (selectionLost): reset sel_cache.
11929
11930         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11931
11932 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11933
11934         * text2.C (setCursorIntern): put debuging code in INSETS channel
11935
11936 2002-03-19  André Pönitz <poenitz@gmx.net>
11937
11938         * lyxfunc.C: tiny whitespace change
11939
11940 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * ToolbarDefaults.C (init):
11943         * LyXAction.C (init):
11944         * commandtags.h:
11945         * BufferView_pimpl.C (Dispatch):
11946         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11947
11948 2002-03-19  Allan Rae  <rae@lyx.org>
11949
11950         * exporter.C (Export): removeAutoInsets before doing anything else.
11951         While I've just introduced a dependency on BufferView this really is
11952         the best place to clean the buffer otherwise you need to cleanup in
11953         a dozen places before calling export or cleanup in a dozen functions
11954         that export calls.
11955
11956         * converter.C (runLaTeX):
11957         (scanLog): Better handling of removeAutoInsets and screen updates.
11958
11959         * lyxfunc.C (dispatch): small whitespace changes
11960
11961 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * WorkArea.C (C_WorkAreaEvent): return a value.
11964         (event_cb): return 1 if we handled the event, 0 otherwise.
11965
11966         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11967
11968 2002-03-18  Juergen Vigna  <jug@sad.it>
11969
11970         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11971         (GetAdditionalWidth): ditto.
11972         (RightLine): ditto.
11973         (LeftLine): ditto.
11974
11975         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11976         inset if we're there actually (probably not used right now but this
11977         is the direction to go for unifying code).
11978         (paste): disable code to clear the selection.
11979
11980         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11981         inside an InsetText and move the check further up as it is in the
11982         wrong place.
11983
11984         * text2.C (pasteSelection): set a selection over the pasted text.
11985
11986 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11987
11988         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11989         and libgraphics to build on Cygwin.
11990
11991 2002-03-15  Juergen Vigna  <jug@sad.it>
11992
11993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11994         inserting an Inset into the paragraph. I know this is not the best
11995         fix but we already use current_view in CutAndPaste so we will remove
11996         all of it's using at the same time.
11997
11998         * buffer.C (sgmlError): deactivated function till it is rewritten in
11999         the right mode, now it can create problems.
12000
12001         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12002         before accessing it.
12003
12004 2002-03-14  Juergen Vigna  <jug@sad.it>
12005
12006         * undo_funcs.C (textHandleUndo): do the right thing when updating
12007         the inset after the undo/redo.
12008
12009         * text2.C (setCursor): just some testcode for #44 not ready yet.
12010
12011         * undo_funcs.C (textHandleUndo): set the next() and previous()
12012         pointers of the paragraph to 0 before deleting otherwise we have
12013         problems with the Paragraph::[destructor].
12014
12015         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12016         on a paragraph insertion.
12017
12018 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * buffer.C (asciiParagraph): use += operator for char append to
12021         string.
12022
12023         * paragraph.C (getFontSettings): compare >= not just >
12024         (highestFontInRange): ditto
12025         (setFont): ditto
12026
12027 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * paragraph.C: change several algorithm to be more appripriate for
12030         the problem domain. This is lookip in FontList and in the InsetList.
12031
12032 2002-03-13  André Pönitz <poenitz@gmx.net>
12033
12034         * commandtags.h:
12035         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12036
12037 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * commandtags.h:
12040         * LyXAction.C:
12041         * lyxfunc.C:
12042         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12043
12044 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * Painter.C (display): anon helper function, adjust code for this
12047         change.
12048         (pixmap): remove function.
12049
12050         * Painter.h: remove private display variable.
12051
12052         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12053
12054 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12055
12056         * WorkArea.[Ch]: remove figinset_canvas cruft.
12057
12058 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * lyxtextclass.C (operator): add one item cache optimization.
12061
12062         * bufferlist.h: doxy changes
12063
12064         * bufferlist.C: ws changes
12065
12066         * DepTable.[Ch] (ext_exist): place const in the right spot.
12067
12068         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12069         call resizeInsets.
12070         (workAreaExpose): call resizeInsets when the with BufferView changes.
12071         (Dispatch): adjust for protectedBlank removal
12072         (specialChar): call updateInset if the insert went ok.
12073
12074         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12075         specialChar instead.
12076
12077         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12078
12079         * BufferView.h: doxy change
12080
12081         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12082
12083         * lyxtextclass.C (operator[]): remove non-const version
12084         (defaultLayout): remove non-const version
12085
12086 2002-03-12  Juergen Vigna  <jug@sad.it>
12087
12088         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12089         did resize the LyXText too.
12090
12091         * buffer.C (readLyXformat2): set layout information on newly allocated
12092         paragraphs.
12093
12094         * tabular.C (OldFormatRead): set layout information on the paragraph.
12095
12096 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12097
12098         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12099
12100 2002-03-11  Juergen Vigna  <jug@sad.it>
12101
12102         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12103         plainly wrong.
12104         (resizeCurrentBuffer): force also the insets to resize themselfes.
12105         (moveCursorUpdate): fixed up for InsetText.
12106
12107 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * commandtags.h:
12110         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12111         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12112         value of Dialogs::tooltipsEnabled().
12113         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12114
12115 2002-03-08  Juergen Vigna  <jug@sad.it>
12116
12117         * BufferView_pimpl.C (updateInset): update inset inside inset also
12118         if it isn't inside theLockingInset().
12119
12120 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * buffer.C (asciiParagraph): redo some of the word and line length
12123         handling.
12124         (getLists): look for Caption instead of caption.
12125
12126 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * buffer.C (Buffer): initialize niceFile to true
12129         (makeLaTeXFile):
12130         (makeLinuxDocFile):
12131         (makeDocBookFile): make sure niceFile is true on exit
12132
12133 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12136
12137 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12138
12139         * LyXSendto.C: remove.
12140         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12141         * lyx_gui.C: remove now-redundant comment.
12142         * ColorHandler.h: remove forward declaration of class WorkArea.
12143         * lyxfunc.C: remove #include "WorkArea.h".
12144
12145 2002-03-07  Juergen Vigna  <jug@sad.it>
12146
12147         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12148         got moved away with the DEPM and also set the inset_owner always
12149         right which before could have been omitted.
12150
12151 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12154         wanted layout is not found.
12155
12156 2002-03-07  Juergen Vigna  <jug@sad.it>
12157
12158         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12159
12160 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * paragraph.C (breakParagraph): use default layout not layout of
12163         prev paragraph.
12164         (Paragraph): clear ParagraphParameters.
12165
12166 2002-03-06  Juergen Vigna  <jug@sad.it>
12167
12168         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12169         otherwise it would not be a valid lenght. Fixed a special case in
12170         the minipage compatibility read where we end the document with a
12171         minipage.
12172
12173         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12174         was set as it could be 0 for InsetTexts first entry.
12175
12176 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * paragraph.C (writeFile): if layout is empty write out
12179         defaultLayoutName().
12180
12181         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12182         file without named layout we set layout to defaultLayoutName().
12183
12184 2002-03-06  Juergen Vigna  <jug@sad.it>
12185
12186         * CutAndPaste.C (copySelection): set layout for new paragraph.
12187
12188         * text.C (prepareToPrint): leave ERT inset left aligned
12189         (leftMargin): don't indent paragraphs inside ERT insets
12190
12191 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12192
12193         * paragraph.C (breakParagraph): dont call clear do the work manually
12194
12195         * paragraph.[Ch] (clear): remove function
12196
12197 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * paragraph.C (Paragraph): dont call clear, the work has already
12200         been done.
12201
12202         * lyxtextclass.C (operator): assert if n is empty
12203
12204         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12205         work manually instead.
12206
12207 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * BufferView_pimpl.C: protect selectionLost against text == 0
12210
12211 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * text.C (breakParagraph): fix a setting layout to '0' problem.
12214
12215 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12216
12217         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12218         final location of file, for the included files, and graphics.
12219
12220 2002-03-05  Juergen Vigna  <jug@sad.it>
12221
12222         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12223
12224 2002-03-04  Juergen Vigna  <jug@sad.it>
12225
12226         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12227
12228         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12229         last column of multicolumn cells.
12230         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12231
12232 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12233
12234         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12235         file if it doesn't go to a temporary file.
12236
12237         * buffer.C (sgmlOpenTag):
12238         (sgmlCloseTag):  remove extra newline insertion.
12239
12240 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * text.C (getRowNearY): comment out debug msg
12243
12244 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * text2.C: first -> first_y
12247
12248         * text.C (getRowNearY): add some attemts at a possible
12249         optimization, not working.
12250
12251         * tabular.[Ch]: add BufferParams to several function so that newly
12252         created paragraph can be initialized to he default layotu for the
12253         buffers textclass.
12254
12255         * tabular-old.C (ReadOld): add buf->params to call of Init
12256
12257         * screen.C: rename text->first to text->first_y
12258
12259         * paragraph.C (breakParagraph): always set layout in the broken
12260         paragraph
12261
12262         * lyxtextclass.C (Read): remove lowercase
12263         (hasLayout): ditto
12264         (operator): ditto
12265         (delete_layout): ditto
12266
12267         * lyxtext.h: rename first -> first_y
12268
12269         * lyxlayout.C (Read): remove lowercase
12270         (name): ditto
12271         (setName): ditto
12272         (obsoleted_by): ditto
12273
12274         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12275
12276         * buffer.C (insertErtContents): add params are to InsetERT
12277         (parseSingleLyXformat2Token): add code to check if a paragraphs
12278         layout really exist.
12279         (parseSingleLyXformat2Token): add params to several inset
12280         constructors
12281         (asciiParagraph): remove lowercase, do the layout comparisons with
12282         no_case
12283
12284         * BufferView_pimpl.C (cursorNext): first -> first_y
12285         (resizeCurrentBuffer): first -> first_y
12286         (updateScrollbar): first -> first_y
12287         (scrollCB): first -> first_y
12288         (workAreaMotionNotify): first -> first_y
12289         (workAreaButtonPress): first -> first_y
12290         (checkInsetHit): first -> first_y
12291         (cursorPrevious): first -> first_y
12292         (cursorNext): first -> first_y
12293         (Dispatch): add buffer_->params to severl inset contructors
12294
12295 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * lyxlayout.C (Read): remove some debug info that I forgot.
12298
12299         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12300         clean up the code slightly.
12301         (makeLinuxDocFile): ditto
12302         (makeDocBookFile): ditto
12303
12304         * text2.C: layout as string
12305
12306         * text.C: layout as string
12307
12308         * paragraph_pimpl.C: layout as string
12309
12310         * paragraph.[Ch]: layout as string
12311
12312         * lyxtextclasslist.[Ch]: layout as string
12313
12314         * lyxtextclass.[Ch]: layout as string
12315
12316         * lyxtext.h: layout as string
12317
12318         * lyxlayout.[Ch]: layout as string
12319
12320         * lyx_cb.C: layout as string
12321
12322         * bufferview_funcs.C: layout as string
12323
12324         * bufferparams.C: layout as string
12325
12326         * buffer.C: layout as string
12327
12328         * LyXView.[Ch]: layout as string
12329
12330         * LaTeXFeatures.[Ch]: layout as string
12331
12332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12333
12334         * BufferView_pimpl.C: change current_layout to string, remove
12335         lyx::layout_type.
12336         (Dispatch):
12337         (smartQuote):
12338         (insertInset):
12339         (workAreaButtonRelease): layout as string
12340
12341         * BufferView2.C (unlockInset): adjust
12342
12343         * vspace.C (asLatexCommand): use an explict temp variable.
12344
12345 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * Makefile.am: use FRONTEND_*
12348
12349 2002-03-01  Juergen Vigna  <jug@sad.it>
12350
12351         * tabular.C (SetWidthOfMulticolCell): changed to something better
12352         I hope but still work in progress.
12353         (recalculateMulticolumnsOfColumn): renamed function from
12354         recalculateMulticolCells as it is more appropriate now.
12355         (SetWidthOfCell): calculate multicols better.
12356
12357 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12360
12361         * lyxfunc.C (processKeySym): print sequence also if it is
12362         `deleted' (complete)
12363
12364         * kbsequence.C (print): print sequence even if it is deleted
12365         (complete would be a better word, actually).
12366
12367         * lyxfunc.C (dispatch): print complete options after a prefix key
12368
12369         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12370
12371 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12372
12373         * text2.C (setCharFont): eliminate setCharFont code duplication.
12374
12375 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12376
12377         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12378         LFUN_TABULAR_FEATURE (bug #177)
12379
12380 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * Makefile.am: remove figure.h
12383
12384 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * Bufferview_pimpl.C:
12387         * CutAndPasteC:
12388         * LaTeX.C:
12389         * LyXSendto.C:
12390         * buffer.C:
12391         * bufferlist.C:
12392         * converter.C:
12393         * language.C:
12394         * lyxfunc.C:
12395         * lyxvc.C:
12396         * paragraph.C:
12397         * text.C:
12398         * text2.C: remove #include "lyx_gui_misc.h".
12399
12400         * LaTeX.C: added #include <cstdio>
12401
12402 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12403
12404         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12405         that the paragraph following this one can have.
12406
12407         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12408
12409         * vspace.C (asLatexCommand): fix bogus gcc warning
12410
12411         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12412
12413 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12414
12415         * text2.C (setLayout): get rid of redundant code
12416
12417 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12418
12419         * text2.C (incDepth): make sure depth cannot be increased beyond
12420         reasonable values.
12421
12422 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12423
12424         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12425         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12426
12427         * PainterBase.h (image):
12428         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12429         a LyXImage const *.
12430
12431 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * BufferView.C:
12434         * BufferView.h:
12435         * BufferView_pimpl.C:
12436         * BufferView_pimpl.h:
12437         * LaTeXFeatures.C:
12438         * LyXAction.C:
12439         * LyXView.C:
12440         * Makefile.am:
12441         * UpdateList.h:
12442         * UpdateList.C:
12443         * buffer.C:
12444         * figure.h:
12445         * figureForm.C:
12446         * figureForm.h:
12447         * figure_form.C:
12448         * figure_form.h:
12449         * lyx_cb.C:
12450         * lyx_gui.C:
12451         * lyx_gui_misc.C:
12452         * lyxfunc.C:
12453         * sp_base.h:
12454         * sp_ispell.h:
12455         * sp_pspell.h:
12456         * sp_spell.C: remove fig inset, and the crap house of
12457           cards that follows it
12458
12459 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12460
12461         * Makefile.am:
12462         * lyxserver.C:
12463         * os2_defines.h:
12464         * os2_errortable.h:
12465         * nt_defines.h: move .h into support/
12466
12467         * vms_defines.h: remove
12468
12469         * WorkArea.C: add space in debug output
12470
12471         * text2.C:
12472         * paragraph.C:
12473         * buffer.C: add WITH_WARNINGS
12474
12475         * vc-backend.h:
12476         * vc-backend.C:
12477         * bufferlist.C: s/retrive/retrieve/, add docs
12478
12479         * vspace.h:
12480         * vspace.C:
12481         * kbmap.h:
12482         * lyxlength.h:
12483         * lyxgluelength.h:
12484         * length_common.h:
12485         * chset.h:
12486         * chset.C: add docs
12487
12488         * lyxgui.C: add ID to X error handler
12489
12490         * lyxtestclass.c: fix typo
12491
12492 2002-02-26  Juergen Vigna  <jug@sad.it>
12493
12494         * tabular_funcs.C (write_attribute): changed so that some default
12495         attributes are not written at all.
12496         (getTokenValue): set default values before trying to read the
12497         value so we have the return value always set as default if we don't
12498         find the token we search for.
12499
12500         * tabular.C (Write): write bools as bools not as strings!
12501
12502 2002-02-22  Juergen Vigna  <jug@sad.it>
12503
12504         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12505         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12506
12507         * text.C (leftMargin): don't add an indent for paragraphs inside
12508         tabular cells (fix #208).
12509
12510 2002-02-21  José Matos  <jamatos@fep.up.pt>
12511
12512         * tabular.C (docBook): fixed support for long tables.
12513
12514 2002-02-20  Juergen Vigna  <jug@sad.it>
12515
12516         * text2.C (getFont): get the drawing font of the Inset if this
12517         paragraph is inside an inset (only important for InsetERT for now).
12518
12519         * buffer.C (insertErtContents): use new lanugage params in ERT
12520         constructor.
12521
12522         * CutAndPaste.C: commenting out seemingly uneeded code.
12523
12524 2002-02-19  Allan Rae  <rae@lyx.org>
12525
12526         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12527         Iterators might be simple to use but they also get invalidated.
12528         (removeAutoInsets): renamed saved cursor tracking variables and added
12529         some comments to clarify what everything does.
12530
12531 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12532
12533         * Chktex.C:
12534         * LaTeX.C:
12535         * LyXSendto.C:
12536         * converter.C:
12537         * lyx_cb.C:
12538         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12539         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12540
12541         * lyxfunc.C:
12542         * vc-backend.h: remove #include "support/syscall.h"
12543
12544         * LaTeX.C:
12545         * LyXSendto.C:
12546         * converter.C: rearrange #includes in Lars' approved fashion.
12547
12548         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12549         forward declare class Timeout in the header file.
12550
12551         * XFormsView.C: changes due to the above.
12552
12553         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12554         similar to LyXView.
12555
12556         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12557         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12558
12559 2002-02-18  José Matos  <jamatos@fep.up.pt>
12560
12561         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12562         insets contents.
12563
12564 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12565
12566         * a lot of small ws changes
12567         * add a lot of using std::XXX
12568         * use std construcs some places where approp.
12569         * use some exisint stuff from lyxfunctional where approp.
12570         * Make file changes to use partial linking (lets test this now...)
12571
12572 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12573
12574         * Chktex.C:
12575         * buffer.C:
12576         remove #include "support/syscontr.h" as it's redundant. Always has been.
12577
12578         * Chktex.C:
12579         * LaTeX.C:
12580         * LyXSendto.C:
12581         * converter.C:
12582         * lyx_cb.C:
12583         * vc-backend.C:
12584         change Systemcalls::System to Systemcalls::Wait and
12585         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12586         No change of functionality, just reflects the stripped down Systemcalls
12587         class.
12588
12589 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12590
12591         * debug.[Ch]: add a GRAPHICS type to the enum.
12592
12593 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12596
12597         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12598         there is an inset.
12599
12600 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12601
12602         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12603         match the changes below.
12604
12605         * text2.C (toggleInset): if there is not editable inset at cursor
12606         position, try to see if cursor is _inside_ a collapsable inset
12607         and close it.
12608
12609 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12612         document menu has a nice checkbox
12613
12614 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12615
12616         * lyxlength.C (asLatexString): change PW to output as percent of
12617         \textwidth.
12618
12619         * lengthcommon.C: change '%' to 't%'
12620
12621         * lyxfunc.C (dispatch): a few comments from Martin
12622
12623 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * WorkArea.h:
12626         * WorkArea.C:
12627         * BufferView_pimpl.h:
12628         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12629           the X selection.
12630
12631 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * vspace.C (inPixels): fix compiler warning
12634
12635 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * lyxfunc.C (getStatus): fix status message for disabled commands.
12638
12639 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * BufferView_pimpl.C: fix crash on close buffer
12642         during selection (#227)
12643
12644 2002-01-27  Herbert Voss  <voss@lyx.org>
12645
12646         * buffer.C: link old Figure to new graphic inset
12647
12648 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12649
12650         * FontLoader.C (getFontinfo): Change the latex font names in order
12651         to match the names of type1inst.
12652
12653 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12656
12657         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12658         (extchanged): ditto
12659         (ext_exist): ditto
12660         (remove_files_with_extension): ditto
12661         (remove_file): ditto
12662         (write): ditto
12663
12664         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12665         document is smaller than the work area height. Do not initialize
12666         static variables to 0.
12667
12668 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12671
12672         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12673         LFUN_LAYOUT_PARAGRAPHS.
12674
12675         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12676         tabular. It is possible to provide a possible cell, which will
12677         typically be the actcell from the corresponding insettabular
12678
12679         * lyxfunc.C (getStatus): small cleanup; disable
12680         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12681         true
12682
12683 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12684
12685         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12686
12687         * paragraph.C (startTeXParParams):
12688         (endTeXParParams): new methods. The LaTeX code to
12689         start/end paragraph formatting
12690         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12691         empty (fixes bug #200)
12692
12693         * vspace.C (inPixels): adapt to the change below
12694         (inPixels): [later] more cleanups (remove unused variables)
12695
12696         * lyxlength.C (inPixels): change to use a width and a height as
12697         parameter.
12698
12699 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12702         Replaced with \paperwidth
12703
12704         * DepTable.C (insert): add std:: qualifier
12705
12706 2002-01-18  Allan Rae  <rae@lyx.org>
12707
12708         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12709         updated also?
12710
12711         * text.C (drawInset): Turned out I didn't know enough about how
12712         rebreaking worked.  This fixes most of the redraw problems.  I see
12713         an occasional cursor trail when a line is broken now and the cursor
12714         placement can seem out by a few pixels also after a rebreak.
12715
12716 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * buffer.C (parseSingleLyXformat2Token): update because minipage
12719         width is now a LyXLength
12720
12721         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12722
12723         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12724         math insets
12725
12726 2002-01-17  Juergen Vigna  <jug@sad.it>
12727
12728         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12729
12730         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12731         is set correctly and the inset is updated correctly.
12732
12733 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12736         the beginning of the loop.
12737
12738 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * lyxrc.C: improve help for use_scalable_fonts
12741
12742 2002-01-17  Allan Rae  <rae@lyx.org>
12743
12744         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12745
12746 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12749         make sure to set their inset_owner to the right value (bug #171)
12750
12751 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12752
12753         * DepTable.h
12754         * DepTable.C: Implement mtime checking to reduce time spent doing
12755         CRCs.
12756
12757 2002-01-16  Juergen Vigna  <jug@sad.it>
12758
12759         * tabular.C (GetAdditionalHeight): one of error fixed.
12760
12761         * lyxrc.C (output): small fix in writing use_pspell.
12762
12763 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * sp_base.h: #include LString.h
12766
12767 2002-01-16  Allan Rae  <rae@lyx.org>
12768
12769         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12770         Can someone check this please?
12771
12772         * text.C (drawInset): It was possible that p.row would be removed by
12773         breakAgainOneRow upsetting a few other settings.  There may be another
12774         small tweak possible by setting need_break_row = 0 when p.row has been
12775         removed but I don't know enough about the logic here.
12776
12777 2002-01-15  Allan Rae  <rae@lyx.org>
12778
12779         * text.C (insertChar): removed conditional truism.
12780
12781         * BufferView2.C (removeAutoInsets): More tweaks.
12782         cur_par_prev could be a stray pointer.  Check for trailing empty line
12783         in case last line was cur_par and only had an error inset on it.
12784
12785 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12786
12787         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12788         absolute
12789
12790         * vc-backend.C (most methods):
12791         * exporter.C (Export):
12792         * converter.C (convert):
12793         (runLaTeX):
12794         * LyXSendto.C (SendtoApplyCB):
12795         * lyxfunc.C (dispatch):
12796         (menuNew):
12797         (open):
12798         (doImport):
12799         * lyx_cb.C (AutoSave):
12800         (InsertAsciiFile):
12801         * BufferView_pimpl.C (MenuInsertLyXFile):
12802         * buffer.C (runChktex): use Buffer::filePath().
12803
12804         * buffer.h: rename filename to filename_; rename filepath to
12805         filepath_ and make it private
12806         (filePath): new method
12807
12808         * buffer.C (writeFile): use fileName()
12809         (getLatexName):
12810
12811         * lyx_main.C (init): fix starting  of LyX when the binary is a
12812         link from so,ewhere else.
12813
12814         * minibuffer.C: include <cctype> for isprint
12815
12816 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12817
12818         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12819         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12820         name clash with InsetCollapsable's width function.
12821
12822 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * lastfiles.C: include <iterator>
12825
12826 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12829         std::count.
12830
12831         * buffer.C (makeLaTeXFile): ditto.
12832         Also make loop operation more transparent.
12833
12834 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * ToolbarDefaults.C: remove trailing comma closing namespace.
12837
12838         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12839
12840         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12841         as in WorkArea.
12842
12843         * trans.C (Load): comment out unused variable, allowed.
12844
12845 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * minibuffer.[Ch] (append_char): new method to recieve input from the
12848         drop-down completion browser. If a key was pressed, then recieve this
12849         char and append it to the existing string.
12850         (peek_event): modify the positioning data passed to the completion
12851         browser so that it can be placed above the minibuffer rather than below.
12852 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * LyXAction.C (init): alloe error-next for readonly documents.
12855
12856         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12857         count.
12858
12859 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12860
12861         * bufferlist.C (readFile): create the buffer _after_ checking that
12862         the file exists.
12863
12864         * lyxfunc.C (verboseDispatch): fix handling of arguments
12865
12866         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12867
12868         * lyxrc.C: use string::erase() instead of initializing to "".
12869
12870
12871 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * BufferView_pimpl.h:
12874         * BufferView_pimpl.C:
12875         * WorkArea.h:
12876         * WorkArea.C:
12877         * text2.C: tell X when we have made a selection for copying
12878
12879 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * BufferView_pimpl.C (MenuInsertLyXFile):
12882         * lyxfunc.C (menuNew):
12883         (open):
12884         (doImport): add shortcuts to directory buttons
12885
12886         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12887         open a float)
12888
12889         * lyxfunc.C (setStatusMessage):
12890         (getStatusMessage): new methods
12891         (getStatus):use setStatusMessage instead of setErrorMessage
12892         (dispatch): when function is disabled, set error message here
12893         [instead of in getStatus previously]
12894
12895         * BufferView_pimpl.C (workAreaButtonRelease): update
12896         toolbar/menubar here too.
12897
12898 2002-01-13  Allan Rae  <rae@lyx.org>
12899
12900         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12901         Now seems indestructible.  Remaining task is to audit all other
12902         code affected by deleteEmptyParagraphMechanism.  One small quirk
12903         left is that an empty document with an error in the preamble can
12904         be made to report an error but no error box appears.  I don't know
12905         where it goes.
12906         (removeAutoInsets): Improved comments.
12907
12908 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * Thesaurus.h:
12911         * Thesaurus.C: update for Aiksaurus 0.14
12912
12913 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * text2.C (firstParagraph): removed member function, all uses
12916         replaces with ownerParagraph
12917         (redoParagraphs): here
12918         (updateInset): here
12919         (toggleAppendix): here
12920         * BufferView2.C (insertErrors): here
12921         (setCursorFromRow): here
12922
12923 2002-01-13  Allan Rae  <rae@lyx.org>
12924
12925         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12926         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12927         There is still a way to segfault this although you may have to do this
12928         multiple times: Have an InsetERT with an unknown command in it.
12929         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12930         <down-arrow>, <Enter> again, View->DVI, BANG!
12931
12932         * text2.C (setCursor):
12933         (deleteEmptyParagraphMechanism):
12934         * lyxtext.h (setCursor):
12935         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12936         Making use of the return value may help fix other bugs.
12937
12938 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12939
12940         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12941
12942         * LyXView.C (updateMenubar): call MenuBar::update here
12943         (updateToolbar): but not here
12944         (showState): do not update toolbar/menubar
12945
12946         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12947         should need to care about that.
12948
12949         * lyxfunc.C (verboseDispatch): simplify a bit
12950         (getStatus): have a version which takes a pseudoaction, and
12951         another which requires a (kb_action,string).
12952
12953         * LyXAction.C (retrieveActionArg): make it work also when action
12954         is not a pseudo-action.
12955         (getActionName): simplify a bit
12956         (helpText):
12957
12958 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12959
12960         * lyxfunc.C (verboseDispatch): new families of methods with
12961         several ways to specify a command and a bool to indicate whether
12962         the command name and shortcut should be displayed in minibuffer
12963         (eventually, we could extend that to a finer bitmask like
12964         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12965         (dispatch): the pristine dispatch command which just, well,
12966         dispatchs! Note it still sets its result to minibuffer; I'm not
12967         sure we want that.
12968
12969         * lyxfunc.h: remove setHintMessage
12970
12971         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12972
12973 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12974
12975         * BufferView_pimpl.C (specialChar): delete new inset if we have
12976         not been able to insert it.
12977
12978         * kbmap.C: revert to using int instead of kb_action, since all we
12979         are dealing with is pseudo-actions.
12980
12981         * LyXAction.C (searchActionArg): change to return int instead of
12982         kb_action, since the result is a pseudoaction.
12983
12984 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12985
12986         * buffer.C (insertErtContents): Fix (partially) the font bug.
12987
12988 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12991         as the other one is broken on my machine!
12992
12993 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12994
12995         * commandtags.h:
12996         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12997
12998 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13001         reflect their actual use. Provide compatibility code for older lyxrc
13002         files.
13003
13004         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13005         FL_NORMAL_STYLE.
13006         change names of popup font variables in line with the changes to lyxrc.C
13007
13008 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13009
13010         * buffer.C (asciiParagraph): avoid outputing a word twice after
13011         an inset.
13012
13013         * lyxrc.C (getDescription): document that document_path and
13014         template_path can be empty.
13015
13016 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13017
13018         * LaTeXFeatures.C (getMacros):
13019         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13020
13021         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13022
13023         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13024         getPackages.
13025         (getPackages): rename feature "floats" to "float". Use an array to
13026         iterate over 'simple' features (i.e. just a \usepackage). Add
13027         handling of "amsmath" (renamed from "amsstyle").
13028
13029 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13030
13031         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13032         features list.
13033
13034 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13037         FuncStaus::FuncStatus & FuncStaus::some_method().
13038
13039 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13040
13041         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13042         of the func_satus stuff. Edited and massaged in various ways by
13043         JMarc.
13044
13045         * lyxfunc.C (getStatus): use FuncStatus
13046
13047 2002-01-08  Juergen Vigna  <jug@sad.it>
13048
13049         * text.C (nextBreakPoint): use function Inset::isChar().
13050
13051         * paragraph.C (TeXOnePar): use function
13052         Inset::forceDefaultParagraphs.
13053
13054         * buffer.C (latexParagraphs): use function
13055         Inset::forceDefaultParagraphs.
13056
13057 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * lyx_gui.C (init): set the style of the menu popups to
13060         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13061
13062 2002-01-07  Juergen Vigna  <jug@sad.it>
13063
13064         * text.C (setHeightOfRow): small fix
13065         (prepareToPrint): don't look at alignment if we don't have the place
13066         for doing it.
13067
13068 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * box.C: New file. Move the Box methods and functions out of box.h,
13071         following Lars' suggestion.
13072
13073 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13074
13075         * box.h: #include "support/LOstream.h", needed for inlined function.
13076
13077         * lyxtextclass.C:
13078         * lyxtextclasslist.C: added some using std declarations.
13079
13080 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * box.h: make signed dimensions to allow insets wider than
13083           the screen (bug #162)
13084
13085         * BufferView_pimpl.C: add some insetHit debug
13086
13087 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13088
13089         * vc-backend.C: add FIXME
13090
13091 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * lyxfunc.C (getStatus): enable code for showing math font status
13094         in toolbar/menu.
13095
13096 2002-01-07  Juergen Vigna  <jug@sad.it>
13097
13098         * text.C (nextBreakPoint): removed debug output not needed anymore.
13099
13100 2002-01-06  Juergen Vigna  <jug@sad.it>
13101
13102         * text.C (nextBreakPoint): fixed up this function we had this bug
13103         since ever but now hopefully we break row better.
13104         (insertChar): we have to check if an inset is the next char as it
13105         could now happen that a large inset is causing a break.
13106
13107 2002-01-05  Juergen Vigna  <jug@sad.it>
13108
13109         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13110         if it doesn't like to be drawed.
13111
13112 2002-01-04  Juergen Vigna  <jug@sad.it>
13113
13114         * BufferView2.C (lockInset): forgot to set a cursor.
13115
13116         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13117
13118 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13119
13120         * FormMathsPanel.C:
13121         * FormMathsPanel.h
13122         * MathsSymbols.C:
13123         * form_maths_panel.C:
13124         * form_maths_panel.h:
13125         * form_maths_panel.fd: implemented sub- and super- buttons in math
13126         panel.
13127
13128         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13129         (or ^ space) to be used as in TeX (req'd by André).
13130
13131         * lyxfunc.C: Allow ^ and _ again to be used both as
13132         super/subscript (mathed) and as themselves (in text).
13133
13134 2002-01-03  Allan Rae  <rae@lyx.org>
13135
13136         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13137         "LyX" or the filename of the current buffer if it has one.  This is a
13138         modified form of John Levon's patch.
13139
13140         * XFormsView.C (setWindowTitle): also set icon title.
13141
13142         * LyXView.h (setWindowTitle): signature changed.
13143         * XFormsView.h (setWindowTitle): ditto.
13144
13145 2002-01-02  Juergen Vigna  <jug@sad.it>
13146
13147         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13148
13149 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * screen.C (topCursorVisible): introduce a temp var for
13152         text->cursor.row(), handle the case where this row is null. (kindo
13153         hachish)
13154
13155         * text2.C (setCursor): add a couple of asserts.
13156
13157         * paragraph.h (inset_iterator): add -> operator
13158
13159         * paragraph.[Ch] (autoDeleteInsets): remove member function
13160
13161         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13162         cursor pos correctly and handle inset deletion by itself.
13163         (insertErrors): move iterator declaration out of for expression
13164
13165         * lyxtextclass.C: add <algorithm>
13166
13167         * Makefile.am: added the new files to sources, removed layout.C
13168
13169         * layout.C: removed file
13170
13171         * layout.h: remove LYX_DUMMY_LAYOUT
13172
13173         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13174         layout.
13175
13176         * lyxlayout.[Ch]:
13177         * lyxtextclass.[Ch]:
13178         * lyxtextclasslist.[Ch]: new files
13179
13180         * include order changes to a lot of files, also changes because of
13181         the six new files.
13182
13183 2001-12-27  Juergen Vigna  <jug@sad.it>
13184
13185         * buffer.C (asciiParagraph): more fixes.
13186
13187         * tabular.C (ascii): make ascii export support export of only the
13188         data separated by a column-delimiter.
13189         (ascii): better support for ascii export.
13190
13191         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13192
13193 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * tabular_funcs.C: use a "using std::getline" instead of the
13196         previous fix from Angus (necessary for cxx + lyxstring)
13197
13198 2001-12-24  Juergen Vigna  <jug@sad.it>
13199
13200         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13201
13202         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13203         problems. First check a minipage also if we have some ert-contents
13204         (not only on par->size(), second set the right depth of the paragraph
13205         on the relink to the root-paragraph-list!
13206
13207         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13208         which then did not anymore update the main paragraphs on undo/redo!
13209
13210 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13211
13212         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13213         code. Support all font-changing funcs (even those which are not in
13214         menu currently). Support for reporting font settings in
13215         mathed (disabled until Andre provides a function on mathed's side).
13216
13217         * func_status.h (toggle): small helper function to set toggle
13218         state on a flag.
13219
13220 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13221
13222         * tabular_funcs.C: getline -> std::getline
13223
13224 2001-12-21  Juergen Vigna  <jug@sad.it>
13225
13226         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13227         accessed and could be 0 (I couldn't generate this but it seems
13228         Michael could!).
13229
13230 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13231
13232         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13233         * tabular_funcs.h: here and include iosfwd
13234
13235 2001-12-20  Juergen Vigna  <jug@sad.it>
13236
13237         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13238         inside inset but undo_par was.
13239
13240 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * Thesaurus.C: always include <config.h> in sources.
13243
13244         * Painter.h:
13245         * lyxlookup.h:
13246         * box.h: do not include <config.h> in header files
13247
13248         * text.C (paintLastRow): remove unused variable
13249
13250         * text.C (transformChar):
13251         (insertChar):
13252         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13253
13254         * Painter.C (text):
13255         * font.C (width): rewrite to use uppercase() instead of
13256         islower/toupper.
13257
13258         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13259
13260 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13261
13262         * lyxfind.C: clean up of find failure position change
13263
13264 2001-12-20  Juergen Vigna  <jug@sad.it>
13265
13266         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13267
13268         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13269         (TeXRow): added to LaTeX a single tabular row.
13270         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13271         (Latex): simplified and finally good LT-h/f support.
13272         (various_functions): just small adaptions for LT-h/f support.
13273
13274         * tabular_funcs.[hC]: added and moved here all not classfunctions
13275         of LyXTabular.
13276
13277 2001-12-19  Juergen Vigna  <jug@sad.it>
13278
13279         * tabular.[Ch]: better support for longtabular options (not finished
13280         yet!)
13281
13282 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13283
13284         * text.C (paintLastRow): use the label font instead of the font of
13285         the last character to compute the size of *_BOX. This makes more
13286         sense and avoids a crash with empty paragraphs.
13287         Use Painter::rectangle to draw EMPTY_BOX.
13288
13289 2001-12-19  Juergen Vigna  <jug@sad.it>
13290
13291         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13292         the paragraphs if the replaced paragraph is not the first one!
13293         Tried to delete not used paragraphs but does not work yet so for
13294         now it's inside #ifdef's and by default off!
13295
13296 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * MenuBackend.C: include "lyx_main.h" instead of declaring
13299         lastfiles (actually was declared as LastFiles* instead of a
13300         scoped_ptr).
13301
13302 2001-12-17  Juergen Vigna  <jug@sad.it>
13303
13304         * tabular.C (AppendColumn): applied John's fix
13305
13306 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * BufferView.h:
13309         * BufferView.C:
13310         * BufferView_pimpl.h:
13311         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13312
13313         * Makefile.am:
13314         * box.h: new start of class for above
13315
13316         * lyxfunc.C: ignore space-only minibuffer dispatches.
13317           Show the command name when it doesn't exist
13318
13319         * minibuffer.C: don't add empty lines to the history
13320
13321         * minibuffer.C: add a space on dropdown completion
13322
13323 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * text.C: fix line above/below drawing in insets
13326
13327 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * lyxlength.C (LyXLength): Initialize private variables.
13330
13331 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13334         when inserting error insets.
13335
13336 2001-12-13  Juergen Vigna  <jug@sad.it>
13337
13338         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13339         actually sometimes the before-paragraph.
13340         (setUndo): don't clear the redostack if we're not actually undoing!
13341
13342 2001-12-06  Juergen Vigna  <jug@sad.it>
13343
13344         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13345         and fixed redoing of main paragraph, so we can use it now ;)
13346
13347         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13348
13349 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13350
13351         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13352         Juergen's request
13353
13354 2001-12-13  André Pönitz <poenitz@gmx.net>
13355
13356         * undostack.[Ch]:
13357         * undo_func.C: minor cleanup
13358
13359 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13360
13361         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13362         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13363         font in urw-fonts package which is marked as -urw-fontspecific and
13364         does not work (incidentally, changing the encoding in the
13365         fonts.dir of this package to -adobe-fontspecific fixes the
13366         problem).
13367
13368         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13369         is a crash when undoing first paragraph (Juergen, please take a
13370         look). THis does not mean the undo fix is wrong, just that it
13371         uncovers problems.
13372
13373         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13374         the (Paragraph*) version when needed instead of duplicating the
13375         code.
13376
13377         * text.C (workWidth): use Inset::parOwner to find out where the
13378         inset has been inserted. This is a huge performance gain for large
13379         documents with lots of insets. If Inset::parOwner is not set, fall
13380         back on the brute force method
13381
13382         * paragraph_pimpl.C (insertInset):
13383         * paragraph.C (Paragraph):
13384         (cutIntoMinibuffer): set parOwner of insets when
13385         inserting/removing them
13386
13387         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13388
13389 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13390
13391         * commandtags.h:
13392         * LyXAction.C:
13393         * lyx_main.C:
13394         * lyxfunc.C:
13395         * mathed/formulabase.C:
13396         * mathed/math_cursor.[Ch]:
13397         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13398
13399
13400 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * lyxlength.[Ch] (operator!=): new function
13403
13404 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13405
13406         * text.C (workWidth): use Inset::parOwner to find out where the
13407         inset has been inserted. This is a huge performance gain for large
13408         documents with lots of insets. If Inset::parOwner is not set, fall
13409         back on the brute force method
13410
13411         * paragraph_pimpl.C (insertInset):
13412         * paragraph.C (Paragraph):
13413         (cutIntoMinibuffer): set parOwner of insets when
13414         inserting/removing them
13415
13416         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13417
13418 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13419
13420         * tabular-old.C (getTokenValue):
13421         * tabular.C (getTokenValue):
13422         (write_attribute): new versions for LyXLength
13423         (everywhere): adjust the use of widths
13424
13425         * tabular.h: change the type of widths from string to LyXLength
13426
13427 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13428
13429         * paragraph.C: fixed missing line number count when exporting
13430         Environments to LaTeX file
13431
13432         * buffer.C: added informational message for checking line numbers.
13433
13434 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13435
13436         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13437         paragraph, do the 'double space' part, but not the 'empty
13438         paragraph' one.
13439
13440         * text.C (workWidth): small optimization
13441         (getLengthMarkerHeight): use minimal size for negative lengths.
13442
13443 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13446
13447         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13448
13449 2001-12-11  André Pönitz <poenitz@gmx.net>
13450
13451         * FontLoader.C:
13452         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13453
13454 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * text2.C: keep selection on a setFont()
13457
13458 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13459
13460         * lyx_cb.C: another bv->text misuse, from insert label
13461
13462 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * kbsequence.h:
13465         * kbsequence.C: re-instate nmodifier mask
13466
13467 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13468
13469         * lyx_main.h: make lyxGUI private.
13470
13471 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * lyxfind.C: place the cursor correctly on failed search
13474
13475 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13476
13477         * text.C (getLengthMarkerHeight): for small heights, the arrows
13478         are not always on top/bottom of the text
13479         (drawLengthMarker): smaller arrows; take the left margin in
13480         account; draw also vfills.
13481         (paintFirstRow):
13482         (paintLastRow): remove special code for vfill and standard spaces,
13483         since everything is handled in drawLengthMarker now.
13484
13485 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * buffer.C (insertErtContents): try to handle font and language
13488         interaction a bit better.g
13489
13490         * ColorHandler.C (updateColor): change the hash to cover the whole
13491         LColor enum, ws cleanup
13492         (getGCLinepars): ditto
13493         (getGCLinepars): only lookup in the linecache once.
13494
13495 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13496
13497         * iterators.C (operator++): Make the iterator more robust
13498
13499         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13500         (John's patch)
13501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13502
13503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * lyxtext.h:
13506         * text.C: better added space drawing
13507
13508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * LyXView.C:
13511         * BufferView2.C: fix layout combo update on inset unlock
13512
13513 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * Makefile.am: don't compile unused files
13516
13517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * lyxfunc.C:
13520         * commandtags.h:
13521         * LyXAction.C: remove old LFUN_LAYOUTNO
13522
13523 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13524
13525         * paragraph_pimpl.h:
13526         * paragraph_pimpl.C: isTextAt() doesn't need font param
13527
13528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * lyxlex.h:
13531         * lyxlex.C: little cleanup
13532
13533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * BufferView_pimpl.C: fix insertAscii for insets
13536
13537 2001-12-05  Juergen Vigna  <jug@sad.it>
13538
13539         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13540         set the right font on the "multi" paragraph paste!
13541
13542 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * trans_decl.h:
13545         * trans_mgr.[Ch]:
13546         * trans.[Ch]:
13547         * lyxgluelength.C:
13548         * lyxlength.C: remove out-commented code.
13549
13550         * BufferView_pimpl:
13551         * CutAndPaste.C:
13552         * DepTable.C:
13553         * buffer.C:
13554         * chset.C:
13555         * lastfiles.C:
13556         * lyxlex.C:
13557         * lyxlex_pimpl.C:
13558         * lyxserver.C:
13559         * screen.C:
13560         * tabular-old.C:
13561         * tabular.C:
13562         * text.C:
13563         * trans_mgr.C:
13564         * vc-backend.C: change "while(" to "while ("
13565
13566         * lyxlength.[Ch]: add zero function to check if length is zero or
13567         not
13568         * lyxgluelength.C: use it
13569
13570 2001-12-05  Allan Rae  <rae@lyx.org>
13571
13572         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13573         Works for 2.95.3, from what I understand of Garst's reports this should
13574         work for other g++ versions.  We're screwed if the abs(int) definition
13575         changed between bugfix releases of gcc.
13576
13577 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13578
13579         * text.C: fix chapter label offset !
13580
13581 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * lyxtext.h:
13584         * text.C: fix hfill at end of line, clean up
13585
13586 2001-12-04  Juergen Vigna  <jug@sad.it>
13587
13588         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13589         that we force an update of the inset and it's owners if neccessary.
13590
13591 2001-12-03  Juergen Vigna  <jug@sad.it>
13592
13593         * text.C (rowLast): simplified code
13594
13595 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * lyxfunc.C: fix show options on timeout
13598
13599 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * screen.C (topCursorVisible): scroll half a page when the cursor
13602         reached top of bottom of screen
13603
13604 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * minibuffer.C: deactivate on loss of focus
13607
13608 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * vspace.[Ch] (operator!=): add operator.
13611
13612 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * BufferView_pimpl.C: refuse to open an inset when
13615         there's a selection.
13616
13617 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13618
13619         * BufferView_pimpl.C: allow to click on RHS of full row insets
13620
13621 2001-11-30  Juergen Vigna  <jug@sad.it>
13622
13623         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13624         insets for undo reasons.
13625
13626 2001-11-28  André Pönitz <poenitz@gmx.net>
13627
13628         * vspace.[Ch]: cosmetical changes
13629
13630 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * LyXAction.h:
13633         * LyXAction.C:
13634         * lyxfunc.h:
13635         * lyxfunc.C:
13636         * kbmap.h:
13637         * kbmap.C:
13638         * lyxrc.C:
13639         * kbsequence.h:
13640         * kbsequence.C: part re-write of old kb code
13641
13642         * Painter.C:
13643         * WorkArea.C: remove Lgb_bug_find_hack
13644
13645 2001-11-30  José Matos <jamatos@fep.up.pt>
13646
13647         * buffer.C (makeDocBookFile): add a comment to point a hack.
13648         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13649         Fixed a double write of labels.
13650
13651 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13652
13653         * LaTeX.C:
13654         * LaTeX.h Fixed bug in LaTeX class where it would not
13655         re-run latex if no depfiles were changed, but the .dvi was removed.
13656
13657 2001-11-28  André Pönitz <poenitz@gmx.net>
13658
13659         * all the files from the change on 2001/11/26:
13660         use lyx::layout_type instead of LyXTextClass::size_type
13661         use lyx::textclass_type instead of LyXTextClassList::size_type
13662
13663 2001-11-29  Juergen Vigna  <jug@sad.it>
13664
13665         * text.C: added support for paragraph::isFreeSpacing()
13666
13667         * buffer.C: same as above
13668
13669         * paragraph.h: inserted isFreeSpacing() function to enable
13670         FreeSpacing inside InsetERT.
13671
13672         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13673         of the paragraph's in the cut/copy buffer to 0!
13674
13675         * text2.C (removeRow): remove the assert as it can!
13676
13677         * lyxtext.h: added helper function firstRow returning firstrow and
13678         made firstrow private again.
13679
13680         * BufferView2.C (lockInset): don't relock if we're already locked!
13681
13682         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13683         the only paragraph.
13684         (removeRow): added Assert::(firstrow)
13685
13686         * debug.C: forgot to add INSETTEXT here.
13687
13688 2001-11-28  Juergen Vigna  <jug@sad.it>
13689
13690         * sp_spell.C (initialize): changed error text to more general
13691         spellchecker command use (not only ispell!)
13692
13693         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13694
13695         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13696
13697 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * vspace.C: initialise lyxgluelength on failure
13700
13701 2001-11-28  Allan Rae  <rae@lyx.org>
13702
13703         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13704         declaration & definition that looks like a function declaration.
13705
13706 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13707
13708         * BufferView2.C (copy):
13709         (copyEnvironment): do not clear the selection when doing a copy.
13710
13711         * text.C (paintFirstRow): compilation fix
13712
13713 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13714
13715         * tabular.C (Latex): correct line count when writing latex.
13716
13717 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * paragraph_pimpl.h:
13720         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13721           bug a bit
13722
13723 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * text.C:
13726         * LColor.h:
13727         * LColor.C: change vfillline->added_space
13728
13729         * text.C: add markers and text for added space
13730
13731         * vspace.C: fix comment
13732
13733 2001-11-28  André Pönitz <poenitz@gmx.net>
13734
13735         * paragraph.C: whitespace changes
13736         * all the other files from the change on 2001/11/26:
13737         change *::pos_type into lyx::pos_type
13738
13739 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13740
13741         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13742         language of the document when inserting error insets.
13743
13744 2001-11-26  André Pönitz <poenitz@gmx.net>
13745
13746         * BufferView_pimpl.[Ch]:
13747         *       CutAndPaste.C:
13748         * buffer.[Ch]:
13749         * lyxcursor.[Ch]:
13750         * lyxfind.C:
13751         * lyxfunc.C:
13752         * lyxrow.[Ch]:
13753         * paragraph.[Ch]:
13754         * paragraph_pimpl.[Ch]:
13755         * sp_spell.C:
13756         * text.C:
13757         * text2.C: reduce header dependencies, introduce type for positions
13758
13759 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * <various>: change to use Alert.h
13762
13763 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13766         when encountering an unknown token.
13767         (readLyXformat2): Show an error message if there were unknown tokens.
13768
13769 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13770
13771         * BufferView2.C:
13772         * BufferView_pimpl.C:
13773         * buffer.C:
13774         * paragraph.h:
13775         * text.C:
13776         * text2.C: use par->isInset()
13777
13778 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * paragraph_pimpl.h:
13781         * paragraph_pimpl.C: cleanup
13782
13783 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * text2.C (removeRow):
13786         * text.C (setHeightOfRow): remove useless (and costly) call to
13787         getRow.
13788
13789 2001-11-20  Allan Rae  <rae@lyx.org>
13790
13791         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13792         Now need Inset*::checkInsertChar() to return true for appropriate
13793         cases so that the characters in the minibuffer will actually be
13794         inserted.
13795
13796 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * text.C: change the order of the includes.
13799         (workWidth): initialize it at once.
13800         (workWidth): make maxw unsigned
13801         (setHeightOfRow): remove unused variable (inset)
13802         (selectSelectedWord): remove unused variable (inset)
13803         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13804
13805 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13806
13807         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13808         server is not running.
13809         (openConnection):
13810         (closeConnection): add debug info when server is disabled.
13811
13812         * ColorHandler.C (getGCForeground): send debug message to GUI
13813         channel.
13814
13815         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13816
13817         * kbmap.C (bind): modify because return conventions of
13818         kb_sequence::parse have changed.
13819
13820         * kbsequence.C (parse): only ignore spaces and not any stupid
13821         control character. This avoids tests like s[i] <= ' ', which are
13822         guaranteed to fail with 8bit characters and signed chars.
13823         Change return code to string::npos when there have been no error
13824         (0 was a bad idea when error is at first character)
13825
13826 2001-11-14  José Matos  <jamatos@fep.up.pt>
13827
13828         * buffer.h:
13829         * buffer.C (simpleDocBookOnePar): removed unused argument.
13830
13831 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13834         insets which are part of a word. Paragraph::isLetter takes care of
13835         that now. Use Paragraph::isInset to identify insets.
13836         (selectSelectedWord): do not test for hyphenation break.
13837
13838         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13839         that protected spaces are considered as spaces.
13840
13841         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13842         Inset::isLetter.
13843
13844 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * lyxserver.h:
13847         * lyxserver.C: fix it. and small cleanup.
13848
13849 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * BufferView_pimpl.C: use inline helpers
13852
13853         * LaTeXFeatures.h:
13854         * LaTeXFeatures.C: fix typos
13855
13856         * Spacing.h:
13857         * Spacing.C: move spacing_string into class
13858
13859         * ToolbarDefaults.C: move stuff into namespace anon
13860
13861         * layout.h: update enum
13862
13863         * lyxfunc.C: use better debug
13864
13865         * minibuffer.h: fix typo
13866
13867         * debug.h:
13868         * debug.C:
13869         * WorkArea.C: add and use Debug::WORKAREA
13870
13871         * lyxtext.h:
13872         * text.C:
13873         * text2.C: code re-organisation, inline helpers
13874
13875 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13876
13877         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13878         std::vector.empty().
13879
13880 2001-11-09  Allan Rae  <rae@lyx.org>
13881
13882         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13883         '\n's after tables.  Tabular and ERT inset work now makes this no
13884         longer necessary.
13885
13886 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * minibuffer.h:
13889         * minibuffer.C: fix crash, improve drop-down completion
13890
13891 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * lyxserver.h:
13894         * lyxserver.C: invalidate fd's when doing endPipe()
13895
13896 2001-11-08  José Matos  <jamatos@fep.up.pt>
13897
13898         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13899         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13900
13901         * paragraph.h:
13902         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13903
13904 2001-11-07  José Matos  <jamatos@fep.up.pt>
13905
13906         * buffer.h:
13907         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13908         const qualifier.
13909
13910         * buffer.C (sgmlOpenTag):
13911         * buffer.C (sgmlCloseTag): removed debug info.
13912
13913         * buffer.h (sgmlOpenTag):
13914         * buffer.h (sgmlCloseTag): made public.
13915
13916 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13917
13918         * buffer.C (saveParamsAsDefaults):
13919         * lyx_cb.C (MenuLayoutSave): remove
13920
13921         * LyXAction.C (init):
13922         * commandtags.h:
13923         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13924
13925 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * buffer.C (setPaperStuff): removed from here...
13928
13929         * bufferparams.C (setPaperStuff): ... and moved there.
13930
13931 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13932
13933         * minibuffer.h:
13934         * minibuffer.C:
13935         * XFormsView.C: add support for drop-down completion
13936
13937 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13940         commands.
13941
13942 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13943
13944         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13945         disabled.
13946
13947 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * lyx_main.C: change ref to known bugs
13950
13951 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13952
13953         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13954         to work around older babel problems.
13955
13956 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13957
13958         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13959
13960 2001-10-24  Juergen Vigna  <jug@sad.it>
13961
13962         * tabular-old.C (ReadOld): below variable changes reflected.
13963
13964         * tabular.[Ch]: added ltType struct for longtable header/footer
13965         defines and changed all instances where they are used. Added
13966         future support for double top/bottom rows.
13967
13968 2001-10-24  José Matos  <jamatos@fep.up.pt>
13969
13970         * buffer.h (docbookHandleCaption):
13971         * buffer.C (docbookHandleCaption): removed unused function.
13972         (makeDocBookFile): moved docbook supported version to v4.1.
13973
13974 2001-10-24  José Matos  <jamatos@fep.up.pt>
13975
13976         * tabular.h:
13977         * tabular.C (docbookRow): new function to export docbook code of a row.
13978         (DocBook): now honors the longtable flags.
13979
13980 2001-10-23  José Matos  <jamatos@fep.up.pt>
13981
13982         * LaTeXFeatures.h:
13983         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13984         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13985
13986         * buffer.C (makeLinuxDocFile):
13987         (makeDocBookFile): reworked the preamble, more clean, and with
13988         support for lyx defined entities. Changed the document declaration
13989         to be more XML friendly.
13990
13991         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13992         if we need to output XML that should be done with a filter.
13993
13994 2001-10-22  Juergen Vigna  <jug@sad.it>
13995
13996         * sp_pspell.h (class PSpell): add alive function needed in the
13997         controller to see if the spellchecker could be started.
13998
13999 2001-10-22  Juergen Vigna  <jug@sad.it>
14000
14001         * buffer.C (insertStringAsLines): modify the font for inserting
14002         chars in certain conditions by calling checkInsertChar(font).
14003
14004 2001-10-19  Juergen Vigna  <jug@sad.it>
14005
14006         * text.C (workWidth): use getRow instead of wrong algorithm.
14007         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14008
14009 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * lyxserver.h:
14012         * lyxserver.C:
14013         * lyx_main.h:
14014         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14015
14016 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14017
14018         * text.C (workWidth): do not search for the exact row when
14019         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14020         optimization for big documents.
14021
14022 2001-10-18  Juergen Vigna  <jug@sad.it>
14023
14024         * text.C (workWidth): new function with added Inset * parameter.
14025
14026 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14029
14030         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14031         change return type of getColumnNearX.
14032
14033
14034         * text.C (changeRegionCase): use uppercase/lowercase instead of
14035         toupper/tolower.
14036         (leftMargin):
14037         (rightMargin): simplify code by factoring out the uses of
14038         textclasslist.
14039         (labelFill):
14040         (numberOfHfills):
14041         (setHeightOfRow):
14042         (appendParagraph): use Paragraph::size_type
14043
14044 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14045
14046         * vspace.C (asLatexString): add a missing break
14047
14048 2001-10-15  Herbert Voss  <voss@perce.de>
14049
14050         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14051
14052 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14055         is not available.
14056
14057 2001-10-10  André Pönitz <poenitz@gmx.net>
14058
14059         * lyxfunc.C: removed greek_kb_flag.
14060
14061 2001-10-10  Herbert Voss  <voss@perce.de>
14062
14063         * lyx_main.C: delete global string help_lyxdir.
14064
14065 2001-10-09  Herbert Voss  <voss@perce.de>
14066
14067         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14068
14069         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14070
14071         * lyx_main.C: added global string help_lyxdir.
14072
14073         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14074
14075 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14076
14077         * lyxrc.C (set_font_norm_type): support iso8859-4
14078
14079 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14080
14081         * LaTeX.C (deplog): add another regex for MikTeX
14082
14083 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14084
14085         * lyxrc.C (set_font_norm_type): support iso8859-3
14086
14087 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14088
14089         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14090
14091         * LaTeXFeatures.C: remove special case of french and index
14092
14093         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14094         before \begin{document}). This solves several incompatibilities.
14095
14096 2001-10-03  Garst Reese  <reese@isn.net>
14097
14098         * lyx_cb.C: change CheckTex error msg.
14099
14100 2001-10-03  José Matos  <jamatos@fep.up.pt>
14101
14102         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14103
14104 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14105
14106         * .cvsignore: update
14107
14108         * lyx_main.C (commandLineVersionInfo): use new style version info.
14109
14110         * buffer.C (writeFile):
14111         (makeLaTeXFile):
14112         (makeLinuxDocFile):
14113         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14114
14115         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14116
14117         * version.h: update to use stuff in version.C
14118
14119         * version.C.in: new file. Contains version information determined
14120         at compile time. This is a merging of version.h and
14121         version_info.h.in.
14122
14123 2001-10-03  Juergen Vigna  <jug@sad.it>
14124
14125         * BufferView_pimpl.C (update): don't change "dirty" status in
14126         updateInset call.
14127
14128 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * WorkArea.C (c-tor): re-position version string slightly.
14131
14132 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14135         revert to previous code.
14136
14137         WorkArea.[Ch]: (show, destroySplash): methods removed.
14138
14139         WorkArea.C: rework code so that it's an amalgam of the codes before and
14140         after the splash screen was moved to WorkArea.
14141
14142 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * lyxrc.C (read):
14145         * vspace.C (inPixels):
14146         (lyx_advance):
14147         * kbmap.C (bind):
14148         * buffer.C (insertStringAsLines):
14149         (asciiParagraph): fix types to be large enough
14150
14151         * lyxlex_pimpl.h: change member status from short to int
14152
14153         * layout.h: fix type of endlabeltype
14154
14155         * kbmap.C (bind):
14156         * kbsequence.C (parse): change return type to string::size_type
14157
14158         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14159         variable
14160
14161         * Bullet.C (bulletSize):
14162         (bulletEntry): do not use short ints as parameters
14163
14164         * BufferView2.C (insertLyXFile): change a char to an int.
14165
14166         * WorkArea.C (WorkArea): remove unneeded floats in computation
14167
14168 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14171
14172         * paragraph.C (asString): Do not ignore newline/hfill chars when
14173         copying to the clipboard.
14174
14175 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14178         after a multi-line inset.
14179
14180 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14181
14182         * paragraph.C (validate): Set NeedLyXFootnoteCode
14183
14184 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14185
14186         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14187         and decrease-error to decrease.
14188
14189 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14190
14191         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14192         it more readable (should be equivalent)
14193
14194 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14195
14196         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14197
14198 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14199
14200         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14201         of a cursor (row, etc.) after a character has been deleted
14202         (deleteEmptyParagraphMechanism): call the method above on _all_
14203         cursors held by the LyXText when a double space has been
14204         detected/deleted.
14205
14206 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14209         pixmap.
14210         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14211
14212         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14213         background. Use greyOut() and the new show() methods to toggle between
14214         the foreground and background. Add code to remove the splash after
14215         its initial showing.
14216
14217         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14218         (create_forms): no longer call Dialogs::showSplash.
14219
14220 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * .cvsignore: add version_info.h
14223
14224 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * version_info.h.in: new file
14227
14228         * Makefile.am: add version_info.h.in
14229
14230         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14231         version_info.h instead of VERSION_INFO
14232
14233 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14234
14235         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14236         The ERT inset now returns string().
14237
14238 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14239
14240         * lyxtext.h, text.C (selectNextWord): renamed as
14241         selectNextWordToSpellcheck.
14242
14243         * text.C (selectNextWordToSpellcheck): Modified to not select
14244         words inside an ERT inset.
14245
14246 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14247
14248         * lyx_cb.C (MenuLayoutSave): change a bit the question
14249
14250         * sp_base.h: include <sys/types.h>
14251
14252 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14255
14256 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14257
14258         * several files: fix typos in user-visible strings
14259
14260 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14261
14262         * text2.C (pasteSelection): do not set the selection, since it
14263         will be cleared later. Actually, the intent was to fix the way the
14264         selection was set, but I figured rmoving the code was just as good.
14265
14266 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * FontLoader.C (available): Check if font is available without
14269         loading the font.
14270
14271 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14272
14273         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14274
14275 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14276
14277         * lyxrc.[Ch]: added display_graphics variable and associated code.
14278
14279 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * bufferparams.C (hasClassDefaults): new method. Returns true if
14282         the buffer parameters correspond to known class defaults
14283
14284 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14285
14286         * XFormsView.C (show): set minimum size to the main window.
14287
14288 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * text2.C (copySelection):
14291         (cutSelection):
14292         * lyxfind.C (LyXReplace):
14293         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14294         LyXText::selectionAsString.
14295
14296         * paragraph.C (asString): add "label" argument to the second form
14297
14298         * text2.C (selectionAsString): add "label" argument and pass it to
14299         Paragraph::asString.
14300
14301 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * lyx_main.C (commandLineHelp): remove version information
14304
14305 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14306
14307         * lyx_main.C: add -version commandline option
14308
14309 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14310
14311         * paragraph.h: make the optional constructor arg required instead.
14312         some modifications to other files because of this.
14313
14314         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14315
14316         * lyxserver.C (C_LyXComm_callback): make it static
14317
14318         * lyx_main.C (error_handler): make it static
14319
14320         * lyx_gui.C (LyX_XErrHandler): make it static
14321
14322         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14323
14324         * WorkArea.C: make the extern "C" methods static.
14325
14326         * Makefile.am (lyx_LDADD): simplify
14327
14328 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14329
14330         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14331         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14332
14333         * LyXAction.C (init):
14334         * lyxfunc.C (dispatch): associated code removal.
14335
14336 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * lyxfont.h (isSymbolFont): shut off warning
14339
14340         * text.C (setHeightOfRow):
14341         (getVisibleRow): fix crash with empty paragraphs which have a
14342         bottom line
14343
14344 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14345
14346         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14347         code.
14348
14349 2001-09-04  José Matos  <jamatos@fep.up.pt>
14350         * buffer.C
14351         * buffer.h
14352         * tabular.C (docbook): rename docBook method to docbook.
14353
14354 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * Makefile.am: add dependencies to main.o.
14357
14358 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14359
14360         * FontLoader.C (available): Return false if !lyxrc.use_gui
14361
14362 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14363
14364         * FontInfo.C (query):
14365         * converter.C (view):
14366         * importer.C (Import):
14367         * exporter.C (Export): Can not -> cannot.
14368
14369 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14370
14371         * BufferView_pimpl.C: allow to create index inset even if
14372           string is empty
14373
14374 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14375
14376         * buffer.C (getLists): replace boost::tie code with an explicit pair
14377         as boost::tie can break some compilers.
14378
14379         * iterators.h: Added a std:: declaration to the return type of
14380         ParIterator::size.
14381
14382 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14385           case.
14386
14387 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * iterators.[Ch]: New files. Provide paragraph iterators.
14390
14391         * buffer.C (changeLanguage): Use paragraph iterators.
14392         (isMultiLingual): ditto
14393
14394         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14395
14396 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14397
14398         * FontLoader.C: Support for cmr font.
14399
14400 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14401
14402         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14403         (available): New method.
14404
14405         * FontInfo.C (getFontname): Use scalable fonts even when
14406         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14407         found.
14408
14409 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14410
14411         * converter.C (Formats::view): reverted! Incorrect fix.
14412
14413 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * converter.C (Formats::view): only output the -paper option
14416         if the dvi viewer is xdvi, thereby fixing bug #233429.
14417
14418 2001-08-23  Herbert Voss  <voss@perce>
14419
14420         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14421
14422 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14423
14424         * Spacing.h (Spacing): Set space to Default on in the default
14425         constructor.
14426
14427 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * vc-backend.h (RCS::versionString): add RCS to version
14430         (CVS::versionString): add CVS to version
14431
14432         * vc-backend.C (scanMaster): do not add CVS to version.
14433         (scanMaster): do not add RCS to version
14434
14435         * lyxvc.C (versionString): new method
14436
14437         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14438
14439 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * Spacing.C (set): initialize fval
14442
14443 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14444
14445         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14446         " or \.
14447
14448 2001-08-16  Juergen Vigna  <jug@sad.it>
14449
14450         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14451
14452 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * BufferView_pimpl.C:
14455         * figureForm.C:
14456         * lyxtext.h:
14457         * text2.C: setParagraph takes linespacing now
14458
14459 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * LyxAction.C: add internal LFUN_CITATION_INSERT
14462
14463         * LyXView.C: actually apply fix
14464
14465         * bufferlist.C: fix open non-existent file
14466
14467         * lyxfind.C: fix indentation
14468
14469         * lyxfunc.C: remove unneeded assert, fix typo
14470
14471 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * MenuBackend.C: use "Floatname List"
14474
14475 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14478         when converting LaTeX layout to insetERT.
14479         Generate a non-collapsed float when reading old float
14480
14481 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14484         ERT insets.
14485
14486 2001-08-13  Juergen Vigna  <jug@sad.it>
14487
14488         * text.C (fill): return 0 instead of 20 as this seems to be the more
14489         correct value.
14490
14491 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14492
14493         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14494         lyxrc.font_norm.
14495
14496 2001-08-13  Juergen Vigna  <jug@sad.it>
14497
14498         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14499         casesensitive off.
14500         (SearchBackward): comment out the unlocking of the inset_owner this
14501         should not be needed!
14502
14503 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14504
14505         * Many files: Remove inherit_language, and add latex_language
14506
14507         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14508         collapsible insets.
14509
14510 2001-08-10  Juergen Vigna  <jug@sad.it>
14511
14512         * text.C (prepareToPrint): fixed hfill-width in draw!
14513
14514         * BufferView2.C (selectLastWord): save the selection cursor as this
14515         now is cleared in the function LyXText::clearSelection!
14516
14517 2001-08-08  Juergen Vigna  <jug@sad.it>
14518
14519         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14520         BACKSPACE type functions.
14521
14522         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14523         is only cutted from the document but not put in the cut-buffer, where
14524         still the old stuff should be.
14525
14526         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14527
14528         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14529
14530         * tabular.C (SetWidthOfCell): fixed special case where the width
14531         was not updated!
14532         (LeftLine): handle '|' in align_special.
14533         (RightLine): ditto
14534         (LeftAlreadyDrawed): ditto
14535         (SetWidthOfCell): ditto
14536
14537 2001-08-07  Juergen Vigna  <jug@sad.it>
14538
14539         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14540
14541 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14544         * lyxlex.[hC]: ditto
14545
14546 2001-08-06  Juergen Vigna  <jug@sad.it>
14547
14548         * text.C (getVisibleRow): fix up row clearing a bit.
14549
14550 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * minibuffer.C: make sure the X server sees the changes in the input.
14553
14554 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * paragraph.C (getFont): split into...
14557         (getLabelFont): this
14558         (getLayoutFont): and this
14559         * paragraph_pimpl.C (realizeFont): calling this
14560
14561         * text2.C (getFont): split into...
14562         (getLayoutFont): this
14563         (getLabelFont): and this
14564         (realizeFont): all three calling this
14565
14566         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14567         files where used.
14568
14569 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14572
14573 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14574
14575         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14576         layouts from the Quote inset insertion.
14577
14578 2001-08-03  Juergen Vigna  <jug@sad.it>
14579
14580         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14581
14582         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14583         only if status not is already CHANGED_IN_DRAW (second level).
14584
14585         * text.C (draw): don't set the need_break_row when inside an
14586         InsetText LyXText.
14587
14588 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * buffer.C (parseSingleLyXformat2Token): handle more latex
14591         conversion cases.
14592
14593         * bufferview_funcs.[hC]: change function names to
14594         begin with small char, adjust other files.
14595
14596 2001-08-02  André Pönitz <poenitz@gmx.net>
14597
14598         * lyxfunc.C:
14599         BufferView_pimpl.C: remove broken special code for math-greek
14600
14601 2001-08-02  Juergen Vigna  <jug@sad.it>
14602
14603         * BufferView_pimpl.C (update): redone this function so that we
14604         update the text again if there was a CHANGE_IN_DRAW.
14605
14606         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14607         (drawFromTo): added a new internal bool which is used by draw() and
14608         redraw() function.
14609         (general): some cursor drawing problems fixed.
14610
14611 2001-08-01  Juergen Vigna  <jug@sad.it>
14612
14613         * lyxfind.C (LyXFind): fixed
14614         (SearchForward): ditto
14615         (SearchBackward): ditto
14616
14617         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14618         spurius drawing of the cursor in the main area.
14619
14620         * text2.C (status): small fix which could lead to a segfault!
14621         (clearSelection): remove unneeded BufferView param.
14622
14623 2001-08-01  André Pönitz <poenitz@gmx.net>
14624
14625         * lyxfunc.C: small change due to changed mathed interface
14626
14627 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14630
14631 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14632
14633         * lyxfunc.c: fail gracefully if file doesn't exist
14634
14635         * LyXSendto.C:
14636         * buffer.C:
14637         * lyxfunc.C:
14638         * BufferView_pimpl.C: IsDirWriteable() proto changed
14639
14640         * LyXView.C: fix updateWindowTitle() to store the last title
14641
14642 2001-07-31  Juergen Vigna  <jug@sad.it>
14643
14644         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14645         the font (wrong since using of Paragraph::highestFontInRange).
14646
14647         * paragraph.C (highestFontInRange): added a default_size parameter.
14648
14649         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14650         (setHeightOfRow): reformat
14651
14652 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * converter.[hC] + affected files: move to (inital-char)lowercase
14655         function names.
14656
14657         * ParagraphParameters.C (ParagraphParameters): remove commented code
14658
14659         * PainterBase.[Ch]: remove commented code
14660
14661         * LaTeXFeatures.h: add "bool floats" for float.sty
14662
14663         * LaTeXFeatures.C (LaTeXFeatures): init floats
14664         (require): handle float
14665         (getPackages): do it with floats
14666
14667 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * BufferView_pimpl.C (Dispatch): improve handling of
14670         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14671
14672         * commandtags.h: #include lyxfont.h here temporarily to avoid
14673         keybinding bug.
14674
14675         * bufferlist.h: include LString.h here.
14676
14677 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * text2.C (getStringToIndex): new method.
14680
14681 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14682
14683         * *: Reduced header file dependencies all over.
14684
14685 2001-07-30  Baruch Even  <baruch@lyx.org>
14686
14687         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14688
14689 2001-07-29  Baruch Even  <baruch@lyx.org>
14690
14691         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14692
14693 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14694
14695         * ParameterStruct.h (endif): add a default constructor to make
14696         sure that all variables is initialized.
14697
14698         * ParagraphParameters.C (ParagraphParameters): adjust
14699
14700 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14703         index; also, check that there is something to index, and that it
14704         does not span over several paragraphs.
14705         (doubleClick): use WHOLE_WORD_STRICT for double click.
14706
14707         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14708
14709         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14710         scheme.
14711
14712 2001-07-26  Baruch Even  <baruch@lyx.org>
14713
14714         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14715         an InsetFig figure, backwards compatible reading of old figure code.
14716
14717 2001-07-27  Juergen Vigna  <jug@sad.it>
14718
14719         * text2.C: font.realize function adaption.
14720
14721         * text.C (draw): add a warnings lyxerr text if needed.
14722
14723         * layout.C: font.realize function adaption.
14724
14725         * language.C: add inherit_language and implement it's handlings
14726
14727         * bufferview_funcs.C (StyleReset): remove language parameter from
14728         font creation (should be language_inherit now).
14729
14730         * bufferparams.C (writeFile): handle ignore_language.
14731
14732         * paragraph.C (getFontSettings): the language has to be resolved
14733         otherwise we have problems in LyXFont!
14734
14735         * lyxfont.C (lyxWriteChanges): added document_language parameter
14736         (update): removed unneeded language parameter
14737
14738         * paragraph.C (validate): fixed wrong output of color-package when
14739         using interface colors for certain fonts in certain environments,
14740         which should not seen as that on the final output.
14741
14742 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * BufferView_pimpl.C:
14745         * Thesaurus.h:
14746         * Thesaurus.C:
14747         * Makefile.am:
14748         * commandtags.h:
14749         * LyXAction.C: add thesaurus support
14750
14751         * lyxfind.h:
14752         * lyxfind.C: add "once" parameter, for thesaurus, to not
14753           move to the next match
14754
14755 2001-07-26  Juergen Vigna  <jug@sad.it>
14756
14757         * lyxfont.C (realize): honor ignore_language too!
14758         (resolved): ditto.
14759
14760         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14761
14762         * text.C (draw): one place more for ignore_language to not draw
14763         itself!
14764
14765 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14766
14767         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14768
14769 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14770
14771         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14772         the minipage conversion problem.
14773
14774 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14775
14776         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14777         insert an inset.
14778
14779 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * BufferView.h: don't forward declare WorkArea
14782
14783         * BufferView.C: don't include WorkArea.h
14784
14785 2001-07-25  André Pönitz <poenitz@gmx.net>
14786
14787         * commandtags.h:
14788         * LyXAction.C:
14789         * lyxfunc.C:  new LFUN 'math-space'
14790
14791         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14792
14793 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * text2.C (toggleInset): call open/close
14796
14797 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * lyxfunc.C (dispatch): add debug for the disabled case
14800
14801         * font.C (buttonText): make similar to rectText
14802
14803         * buffer.C (readInset): comment out parsing of insetlist and
14804         insttheorem
14805
14806         * PainterBase.C (rectText): small correction
14807
14808         * BufferView_pimpl.C: comment out insettheorem and insetlist
14809         * LyXAction.C: ditto
14810         * commandtags.h: ditto
14811
14812 2001-07-24  Juergen Vigna  <jug@sad.it>
14813
14814         * text.C (draw): honor the ignore_language.
14815
14816         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14817
14818 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14821         char inset.
14822
14823 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14824
14825         * lyxtext.h: remove unused (and unimplemented) methods
14826
14827 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14828
14829         * text.C (getVisibleRow): honor background color
14830
14831         * PainterBase.h:
14832         * Painter.h: remove default color argument for fillRectangle
14833
14834         * text.C (backgroundColor): new method
14835
14836 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * text.C (getVisibleRow): adjust
14839
14840         * font.[Ch] (rectText): new method, metrics
14841         (buttonText): new method, metrics
14842
14843         * PainterBase.[hC]: make rectText and buttonText always draw and take
14844         fewer paramteres.
14845
14846 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14847
14848         * ToolbarDefaults.C (read):
14849         * MenuBackend.C (read): allow escaping in all strings
14850
14851         * BufferView_pimpl.C (insertAndEditInset): new method.
14852         (Dispatch): use insertAndEditInset whenever appropriate.
14853
14854         * BufferView_pimpl.C (insertNote): removed
14855
14856         * BufferView_pimpl.C (smartQuote): new method, moved from
14857         BufferView; if an insetquote cannot be inserted, insert a '"'
14858         character instead.
14859
14860         * BufferView2.C: remove insertCorrectQuote();
14861
14862         * lyxfunc.C (getStatus): Add support for all remaingin
14863         inset-insert lfuns.
14864
14865         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14866
14867         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14868         command (necessary to pass " as parameter of self-insert.
14869
14870         * text.C (selectWordWhenUnderCursor):
14871         (selectWord): add word_location parameter
14872         (selectWordWhenUnderCursor): same + remove special code for word
14873         boundary.
14874         (selectNextWord): use kind() to guess type of insetspecialchar,
14875         not latex().
14876
14877         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14878         (insertErtContents): create ert insets as collapsed.
14879         (readInset): better compatibility code for Info inset.
14880
14881 2001-07-20  Juergen Vigna  <jug@sad.it>
14882
14883         * lyxfunc.C (dispatch): use always LyXFind now!
14884
14885         * text2.C (init): add a reinit flag so that the LyXText can be
14886         reinited instead of deleted and reallocated (used in InsetText).
14887
14888         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14889
14890         * text.C: ditto
14891
14892         * text2.C: ditto
14893
14894 2001-07-18  Juergen Vigna  <jug@sad.it>
14895
14896         * text.C (selectNextWord): handle insets inside inset by calling
14897         always the bv->text functions so that we can go up the_locking_inset!
14898
14899         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14900         in strange locations when inside an inset!
14901
14902         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14903         handling to include insets.
14904
14905         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14906
14907 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * LyXAction.C (init):
14910         * commandtags.h:
14911         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14912         LIGATURE_BREAK, since the name is so stupid.
14913
14914 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14915
14916         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14917         InsetInfos.
14918
14919         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14920
14921         * sp_form.[Ch]: remove.
14922
14923         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14924
14925         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14926         InsetInfo.
14927
14928         * src/buffer.C (readInset): ditto.
14929
14930 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14931
14932         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14933         menuSeparator(), endOfSentenceDot(), ldots() and
14934         hyphenationPoint(), which are therefore removed.
14935         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14936
14937         * LyXAction.C (init):
14938         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14939
14940         * paragraph.C (getWord): removed.
14941
14942         * BufferView_pimpl.C (Dispatch): use last word or selection for
14943         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14944
14945         * lyx_main.C (queryUserLyXDir): do not ask before creating
14946         user_dir, except if it has been named explicitely.
14947
14948 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14949
14950         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14951         a document of zero size.
14952
14953 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14954
14955         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14956         approriately in the c-tor and in require().
14957         (getPackages): output the appropriate LaTeX for natbib support.
14958
14959         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14960         variables "use_natbib" and "use_numerical_citations" when reading the
14961         LyX file.
14962         (readInset): read the various natbib cite commands.
14963         (validate): white-space change.
14964
14965         * bufferparams.[Ch]: new variables "bool use_natbib" and
14966         "bool use_numerical_citations".
14967         (writeFile): output them in the LyX file.
14968
14969 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14970
14971         * lyxfunc.C (getStatus): add support for all the inset insertion
14972         commands.
14973
14974         * text2.C (insertInset):
14975         * paragraph.C (insetAllowed):
14976         * BufferView_pimpl.C (insertInset): update to take in account the
14977         renaming of insertInsetAllowed
14978
14979         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14980
14981         * text2.C (getInset): new method. returns inset at cursor position.
14982
14983         * BufferView_pimpl.C (Dispatch): changes because of this.
14984
14985         * LyXAction.C (init): rename open-stuff to inset-toggle.
14986
14987         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14988
14989         * text2.C (toggleInset): renamed from openStuff; use
14990         Inset::open().
14991
14992 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14993
14994         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14995
14996         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14997
14998 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * buffer.C (readLyXformat2): Add filename to the error dialog
15001
15002 2001-07-18  Juergen Vigna  <jug@sad.it>
15003
15004         * tabular.C (GetCellNumber): put an assert here instead of the check!
15005
15006 2001-07-17  Juergen Vigna  <jug@sad.it>
15007
15008         * BufferView_pimpl.C (toggleSelection): adapted too.
15009
15010         * text.C (selectNextWord): adapted for use with insets.
15011         (selectSelectedWord): ditto
15012
15013 2001-07-17  Juergen Vigna  <jug@sad.it>
15014
15015         * sp_spell.C (PSpell): fix initialitation order.
15016
15017 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * paragraph.C: spacing
15020
15021 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15022
15023         * sp_spell.C: repair language selection for pspell
15024
15025 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15026
15027         * lyxfunc.h: change more methods to begin with lower char.
15028
15029 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15032         for unknown layouts.
15033
15034 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * buffer.C (readLyXformat2): Generate an error dialog if there are
15037         unknown layouts.
15038
15039 2001-07-16  Juergen Vigna  <jug@sad.it>
15040
15041         * sp_spell.C: always compile ISpell part.
15042
15043         * lyxrc.C: added use_pspell entry and it's handling.
15044
15045 2001-07-13  Juergen Vigna  <jug@sad.it>
15046
15047         * sp_spell.C: removed double includes.
15048
15049 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15050
15051         Consistent use of Lsstream.h:
15052         * Lsstream.h: added using std::stringstream for consistencies sake.
15053
15054         * buffer.C: removed using std::stringstream
15055
15056         * lyxfont.C (stateText):
15057         * paragraph.C (asString):
15058         * text.C (selectNextWord, selectSelectedWord):
15059         * text2.C (setCounter):
15060         * vspace.C (asString, asLatexString):
15061         std::ostringstream -> ostringstream.
15062
15063 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15064
15065         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15066         * commandtags.h: add LFUN_HELP_ABOUTLYX
15067         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15068
15069 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15070
15071         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15072         cursorToggle()
15073         * lyx_gui_misc.C: remove spellchecker
15074         * lyxfunc.C: showSpellchecker
15075         * sp_base.h: added
15076         * sp_ispell.h: added
15077         * sp_pspell.h: added
15078         * sp_spell.C: added
15079         * sp_form.[Ch]: removed
15080         * spellchecker.[Ch]: removed
15081
15082 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15083
15084         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15085         is set.
15086         (simpleTeXSpecialChars): Simply print the input character without
15087         any special translation if pass_thru is set.
15088
15089         * layout.h: Added bool pass_thru to layout class for being able to
15090         implement pass through of a paragraph for Literate Programming.
15091
15092         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15093         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15094         * layout.C (Read): add "passthru" to list of layout tags and add
15095         code to set the pass_thru boolean when it is read.
15096
15097 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * trans_decl.h: remove allowed from KmodInfo
15100
15101         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15102         remove allowed code
15103         (Load): adjust
15104
15105         * paragraph_pimpl.C (erase): use boost::prior
15106
15107         * Painter.C (text): use data() instead of c_str() when length is
15108         also provided.
15109         * WorkArea.C (putClipboard): ditto
15110         * font.h (width): ditto
15111
15112         * BufferView2.C: use it-> instead of (*it). for iterators
15113         * texrow.C: ditto
15114         * paragraph_pimpl.C: ditto
15115         * paragraph.C: ditto
15116         * minibuffer.C: ditto
15117         * language.C: ditto
15118         * kbmap.C: ditto
15119         * encoding.C: ditto
15120         * counters.C: ditto
15121         * converter.C: ditto
15122         * chset.C: ditto
15123         * Variables.C: ditto
15124         * TextCache.C: ditto
15125         * MenuBackend.C: ditto
15126         * LyXAction.C: ditto
15127         * LColor.C: ditto
15128         * FloatList.C: ditto
15129         * DepTable.C: ditto
15130         * ColorHandler.C (LyXColorHandler): ditto
15131
15132 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15135
15136         * text2.C (openStuff): reintroduce this method (which had been
15137         nuked in NEW_INSETS frenzy).
15138
15139         * lyxfunc.C (Dispatch): when an action has not been handled, use
15140         its name in the error message, not its number.
15141
15142         * paragraph.C (inInset): change method name to begin with lowercase.
15143
15144         * undo_funcs.C:
15145         * text2.C: updates because of this.
15146
15147 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * ToolbarDefaults.C (add): add spaces in error message
15150
15151 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15152
15153         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15154         (readLyXformat2): rename return_par to first_par, use lyxlex's
15155         pushToken and remove the manual push handling.
15156         (parseSingleLyXformat2Token): add another ert comp. variable:
15157         in_tabular, rename return_par to first_par. handle newlines better
15158
15159 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15162
15163 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * text2.C (getParFromID): removed
15166
15167         * buffer.C (getParFromID): new method moved form lyxtext.
15168         * BufferView2.C (insertErrors): adjust
15169         (setCursorFromRow): adjust
15170         * BufferView_pimpl.C (restorePosition): adjust
15171         * lyxfunc.C (Dispatch): adjust
15172         * undo_funcs.C (textUndo): adjust
15173         (textRedo): adjust
15174         (textHandleUndo): adjust
15175         (textHandleUndo): adjust
15176
15177 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15178
15179         * buffer.C: up' the LYX_FORMAT
15180
15181         * lyxfont.h: turn NO_LATEX on as default
15182
15183         * buffer.C (insertErtContents): new methods of tex style compability.
15184         (parseSingleLyXformat2Token): use it several places.
15185         * tabular.C (OldFormatRead): and here
15186
15187 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * text2.C: remove some commented code.
15190         reindent file.
15191
15192         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15193         * trans.C: changes because of the above.
15194
15195 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15196
15197         * text2.C (setCounter): Fix counters bug with bibliography layout.
15198
15199 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15200
15201         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15202         own member functions
15203         (simpleTeXSpecialChars): ditto
15204
15205 2001-07-06  Juergen Vigna  <jug@sad.it>
15206
15207         * a lot of files: changed the access to LyXText::status and the
15208         call of undo-functions.
15209
15210         * undo.[Ch]: added a inset_id to the undo informations.
15211
15212         * undo_funcs.[Ch]: added and moved here all undo functions.
15213
15214         * lyxtext.h: give the status enum a weight, made status_ a private
15215         variable and made accessor functions for it, removed the whole bunch
15216         of undo-functions as they are now in their own file, make some
15217         functions publically available. Added function ownerParagraph with
15218         int parameter.
15219
15220         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15221         made InInset() a const function, added getParFromID() function.
15222
15223         * buffer.[Ch]: added const version for inset_iterator functions,
15224         added getInsetFromID() function.
15225
15226         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15227         changed undo functions for new version.
15228
15229 2001-07-05  Juergen Vigna  <jug@sad.it>
15230
15231         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15232         unknow mechanism does not call the proper constructor but only this
15233         one also if I request the other!?
15234
15235 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15238
15239         * text2.C (LyXText): use initialization lists.
15240
15241         * lyxtext.h (Selection): initialize set_ and mark_
15242         (init): remove method
15243
15244 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15247
15248 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15249
15250         * screen.[Ch]: change method names to begin with lowercase
15251
15252         * BufferView_pimpl.C (updateScrollbar): simplify further and
15253         hopefully make it a bit faster.
15254
15255 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15258         calling directly xforms functions.
15259
15260         * Painter.C (Painter):
15261         * lyx_cb.C (MenuWrite):
15262         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15263         fl_display.
15264
15265         * lyx_gui.C: remove bogus guiruntime extern declaration.
15266
15267 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15268
15269         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15270         in NEW_INSETS
15271         (redoDrawingOfParagraph): ditto
15272         (redoParagraphs): ditto
15273         (cutSelection): don't create a object for CutAndPaste use the
15274         static method directly
15275         (pasteSelection): ditto
15276
15277         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15278         LyXview (+ rename)
15279
15280 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * modifications to some other files because of this.
15283
15284         * Makefile.am (lyx_SOURCES): add XFormsView
15285
15286         * XFormsView.[Ch]: new files
15287
15288         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15289         the main window. Move the gui dependent stuff to XFormsView
15290
15291 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * tabular.C (GetCellInset): update cur_cell also in the row/col
15294         version of this function.
15295
15296         * lyxfunc.C: no need to include figure_form.h here.
15297
15298         * FontLoader.h:
15299         * lyxfunc.h:
15300         * lyxscreen.h:
15301         * text2.C:
15302         * lyxvc.C: no need to include forms.h here.
15303
15304 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15305
15306         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15307
15308         * lyxfunc.C (Dispatch):
15309         * Spacing.C (set):
15310         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15311         constructor argument.
15312
15313 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * paragraph.C (Paragraph): dont't clear, and just set layout.
15316         (makeSameLayout): use params's copy contructor.
15317
15318         * ParagraphParameters.[Ch] (makeSame): delete method
15319
15320 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * Variables.[Ch]: fix indentation, rename set to isSet
15323
15324 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * lyxfunc.C (Dispatch): fix typo
15327
15328 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15331         upper_bound.
15332
15333         * bufferlist.C: include assert.h for emergencyWrite().
15334
15335 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15336
15337         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15338           give up at last (bug #425202) !
15339
15340 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15341
15342         * lyx_gui_misc.C:
15343         * sp_form.h:
15344         * sp_form.C:
15345         * spellchecker.h:
15346         * spellchecker.C: strip spellchecker options and bring up
15347           preferences tab instead
15348
15349 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15350
15351         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15352         the istringstream constructor
15353
15354 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * paragraph.C (getLayout): fix return value
15357
15358         * paragraph.h: do not declare getLayout as inline.
15359
15360         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15361
15362 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * lyxcursor.h (operator<): new func
15365         (operator>): new func
15366         (operator>=): new func
15367         (operator<=): new func
15368
15369         * text.C (changeCase): use selection.start and selection.end
15370         (changeRegionCase): require from to be <= to. Require par to be a
15371         valid paragraph.
15372
15373         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15374
15375 2001-06-27  Juergen Vigna  <jug@sad.it>
15376
15377         * text.C (cursorLeftOneWord): changed to return the cursor and added
15378         overlay with BufferView * parameter which calls this one.
15379         (getWord): added
15380         (selectWord): use new getWord function.
15381         (changeCase): renamed from changeWordCase as and extended to work
15382         also on selections.
15383
15384         * lyxtext.h: added enum word_location
15385
15386         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15387         changeCase as this operates now also on selections.
15388
15389 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15390
15391         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15392
15393         * many files: send debug output to Debug::INFO instead of
15394         Debug::ANY.
15395
15396         * converter.C (View):
15397         (Convert):
15398         (Move): send debug output to Debug::FILES instead of console.
15399
15400 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15401
15402         * lyxfunc.C (getStatus): use func_status
15403
15404         * func_status.h: new header, describing the results of
15405         LyXFunc::getStatus;
15406
15407         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15408         LFUN_MATH_HALIGN.
15409
15410 2001-06-25  The LyX Project  <jug@sad.it>
15411
15412         * buffer.C (sgmlOpenTag):
15413         (sgmlCloseTag):
15414         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15415
15416 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15417
15418         * text2.C: remove some dead code
15419
15420         * tabular.C (GetCellInset): store the last cell checked (gotten)
15421
15422         * tabular.h: add the helper for the speedup
15423
15424         * lyxtext.h: remove some dead code
15425
15426 2001-06-26  The LyX Project  <Asger>
15427
15428         * paragraph.C: Change export to LaTeX of alignment to
15429         \begin{center} and family for better roundtrip work with reLyX.
15430
15431         * Tune the math drawing a bit.
15432
15433 2001-06-25  The LyX Project  <Asger>
15434
15435         * LColor.C (LColor): New color for math background. New color
15436         for buttons.
15437
15438 2001-06-25  The LyX Project  <jug@sad.it>
15439
15440         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15441
15442         * lyxfunc.C (Open):
15443         * bufferlist.C (newFile): do not restrict to files ending with
15444         .lyx
15445
15446         * BufferView_pimpl.C (MenuInsertLyXFile):
15447
15448 2001-06-24  The LyX Project  <jug@sad.it>
15449
15450         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15451         of compare_no_case
15452
15453 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * lyxtext.h: rename most methods to begin with a small char.
15456         Lots of changes because of this.
15457
15458         * paragraph.C (Paragraph): do not call fitToSize
15459         (erase): call Pimpl::erase
15460         (insertChar): call Pimpl::insertChar
15461         (insertInset): call Pipl::insertInset
15462         (breakParagraph): do not call fitToSize
15463         (breakParagraphConservative): do not call fitToSize
15464         (fitToSize): remove method
15465
15466         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15467
15468 2001-06-24  The LyX Project  <Asger>
15469
15470         * Fix Qt compilation^2
15471
15472 2001-06-24  The LyX Project  <jug@sad.it>
15473
15474         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15475         depthHook(getDepth()-1).
15476
15477         * paragraph.h:
15478         * ParagraphParameters.h:
15479         * ParameterStruct.h: change type of depth to unsigned int ==
15480         depth_type. Many adaptations to other files before of that.
15481
15482 2001-06-24  The LyX Project  <Asger>
15483
15484         * Fix Qt compilation.
15485
15486 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * paragraph.h: renamed several methods to begin with small letter.
15489         several changes to many parts of the code because of this.
15490
15491 2001-06-23  The LyX Project  <jug@sad.it>
15492
15493         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15494         rewritten to discard all double spaces when KeepEmpty is off
15495         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15496         to only handle newlines but not fiddle with spaces and friends.
15497
15498         * lyxfunc.C (MenuNew): when doing 'new from template', use
15499         template_path as default directory
15500
15501 2001-06-23  The LyX Project  <Asger>
15502
15503         * Clean-up of header file includes all over
15504         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15505
15506 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * paragraph.h: renamed from lyxparagraph.h
15509
15510 2001-06-23  Asger  <lyx@violet.home.sad.it>
15511
15512         * Buffer.h: Removed Buffer::resize
15513         * BufferList.h: Removed BufferList::resize
15514         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15515         the document lazily when we change the width, or the font settings.
15516
15517 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15518
15519         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15520
15521 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * buffer.h: remove out of date comment
15524
15525 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15526
15527         * lyxscreen.h:
15528         * screen.C: fix "theoretical" GC leak
15529
15530 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15531
15532         * LaTeX.C (scanAuxFile):
15533         (deplog): remove trailing \r when reading stream (useful under
15534         win32)
15535
15536 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15537
15538         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15539         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15540         and BufferView::theLockingInset(Inset*), so should use them and not
15541         access bv_->text->the_locking_inset directly.
15542
15543         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15544
15545 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15546
15547         * Makefile.am:
15548         * tex-defs.h: remove old unused file
15549
15550 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15551
15552         * BufferView_pimpl.C: fix typo, remove minibuffer message
15553           when buffer has loaded
15554
15555 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * lyxfunc.C (Dispatch): use stringstream
15558         (MenuNew): use stringstream
15559         (Open): use stringstream
15560
15561         * importer.C (Import): use stringstream
15562
15563         * bufferview_funcs.C (CurrentState): use stringstream
15564
15565         * LaTeX.C (run): use stringstream
15566
15567         * BufferView_pimpl.C (savePosition): use stringstream
15568         (restorePosition): use stringstream
15569         (MenuInsertLyXFile): use stringstream
15570
15571 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * BufferView.C:
15574         * Bullet.C:
15575         * ColorHandler.C:
15576         * FontInfo.C:
15577         * FontLoader.C:
15578         * LColor.C:
15579         * LaTeXFeatures.C:
15580         * Painter.C:
15581         * gettext.C:
15582         * lyx_gui_misc.C:
15583         * lyxserver.C:
15584         * vspace.C: removed // -*- C++ -*- as first line.
15585
15586         * lyxfind.h:
15587         * version.h: added // -*- C++ -*- as first line.
15588
15589 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15592
15593         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15594         of string
15595
15596 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15597
15598         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15599         of floats.
15600
15601 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * gettext.C: include LString.h even when --disable-nls is on.
15604
15605 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * converter.h (Get): changed argument type from int to
15608         FormatList::size_type to avoid unnecessary conversion.
15609
15610         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15611         before using it.
15612
15613 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * gettext.h: include LString.h even when --disable-nls is on.
15616
15617 2001-06-07  Juergen Vigna  <jug@sad.it>
15618
15619         * text.C (BreakAgain): subst spaces with tabs.
15620
15621         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15622         (resizeInsetsLyXText): set force on resizeLyXText.
15623
15624 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * gettext.h (gettext_init):
15627         (locale_init): use a real definition instead of a macro
15628
15629 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15630
15631         * Bufferview_pimpl.C:
15632         * LColor.h:
15633         * LColor.C: further lcolor tidies
15634
15635 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15636
15637         * BufferView_pimpl.C (updateScrollbar): simplify.
15638
15639         * BufferView2.C: don't include insets/insetinfo.h, change
15640         prototype for insertInset and call the Pimpl version. let
15641         updateInset call Pimpl version.
15642
15643         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15644         gotoInset to BufferView::Pimpl
15645
15646 2001-06-01  Juergen Vigna  <jug@sad.it>
15647
15648         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15649         inside a LockingInset (is the update needed at all?).
15650
15651 2001-05-31  Juergen Vigna  <jug@sad.it>
15652
15653         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15654         here not the old one otherwise how should we compare it afterwards
15655         if it's the same!
15656
15657 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * lyxfont.C:
15660         * tabular.C:
15661         * tabular-old.C:
15662         * FontInfo.C: bring C functions into global namespace when
15663         necessary
15664
15665 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * LString.h: make sure config.h has been loaded before LString.h.
15668
15669         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15670         (one for each char read by EatLine!).
15671
15672         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15673         variables.
15674
15675 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15678         to the same as the par we break from
15679
15680 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15681
15682         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15683
15684         * MenuBackend.C (expand): also create menu entries for wide
15685         versions of the floats.
15686
15687         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15688
15689         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15690
15691         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15692         frontends/Makefile.am
15693
15694         * text2.C: adjust
15695         * text.C: adjust
15696
15697
15698         * tabular.C (getTokenValue): add std::
15699
15700         * tabular-old.C (getTokenValue): add std::
15701         (getTokenValue): ditto
15702         (getTokenValue): ditto
15703
15704         * screen.C (ToggleSelection): adjust
15705
15706         * lyxtext.h: put selection cursors inside a Selection struct.
15707
15708         * lyxfunc.C (moveCursorUpdate): adjust
15709
15710         * lyxfont.C (latexWriteStartChanges): add std::
15711
15712         * lyxfind.C: adjust
15713
15714         * font.h: delete with(char const *, LyXFont const &)
15715
15716         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15717
15718         * FontInfo.C (getFontname): add std::
15719
15720         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15721         (workAreaButtonPress): adjust
15722         (tripleClick): adjust
15723         (update): adjust
15724         (moveCursorUpdate): adjust
15725         (Dispatch): adjust
15726
15727         * BufferView2.C (gotoInset): adjust
15728
15729 2001-05-30  Juergen Vigna  <jug@sad.it>
15730
15731         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15732         to check pspell I add this as default as I now have new pspell
15733         libraries and they seem to use this.
15734
15735 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * text2.C (CutSelection): make the cursor valid before the call to
15738         ClearSelection.
15739
15740 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15743         relied on 0 terminated strings and other horrors. Bug found due to
15744         the new assert in lyxstring!
15745
15746         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15747         KP_ keys.
15748
15749 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15750
15751         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15752         to latinkeys.bind.
15753
15754         * lyxfunc.C (processKeySym): change method of getting to the
15755         self-insert char.
15756
15757         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15758         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15759         * BufferView_pimpl.[Ch]: here as private methods.
15760
15761 2001-05-28  Juergen Vigna  <jug@sad.it>
15762
15763         * text.C (SetHeightOfRow): added the update() call again as it is
15764         needed to initialize inset dimensions!
15765
15766 2001-05-16  Juergen Vigna  <jug@sad.it>
15767
15768         * text2.C (SetCharFont): Add new function with BufferView * and
15769         bool toggleall parameters for setting insets internal fonts.
15770         (SetFont): Freeze the undo as we may change fonts in Insets and
15771         all this change should be inside only one Undo!
15772
15773         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15774         setting font's in insets as for them we have the SetFont function!
15775
15776 2001-05-15  Juergen Vigna  <jug@sad.it>
15777
15778         * text2.C (ClearSelection): to be sure we REALLY don't have any
15779         selection anymore!
15780
15781         * tabular.C (TeXCellPreamble): fixed the left border problem for
15782         multicolumn cells.
15783
15784 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15785
15786         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15787         dependancy file
15788
15789 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15792         LFUN_BREAKPARAGRAPH.
15793
15794         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15795         help test to "internal only", similar for LFUN_INSERT_URL
15796
15797         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15798         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15799         auto_region_delete and deadkeys.
15800
15801 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15802
15803         * LColor.h:
15804         * LColor.C: remove some dead entries, tidy a little
15805
15806 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15807
15808         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15809         commented code.
15810         (Dispatch): implement LFUN_ESCAPE
15811
15812         * commandtags.h: add LFUN_ESCAPE
15813
15814         * LyXAction.C (init): add entry for LFUN_ESCAPE
15815
15816         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15817         Remove commented code.
15818         (insertNote): moved here
15819         (open_new_inset): moved here
15820
15821         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15822         BufferView_pimpl
15823
15824 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * kbmap.C (findbinding): clean it up and make it work correctly.
15827
15828         * lyx_main.C (init): do not pass argc and argv as parameters
15829
15830 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15831
15832         * buffer.C: fix path for OS/2 & Win32
15833
15834         * lyx_gui.C:
15835         * lyx_main:
15836         * lyx_main.C: Added os:: class.
15837
15838         * os2_defines.h: update
15839
15840 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15843         better by trying again with reduced state.
15844
15845 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * lyxrc.C (read): print error about invalid key sequence only when
15848         debugging (because not all latinX keysyms are known to some X
15849         servers)
15850
15851         * kbsequence.C (getiso): add a few std:: qualifiers
15852         (getiso): comment out extra return statement.
15853
15854 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15855
15856         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15857         handling.
15858         (Dispatch): enhance the accent inset a bit. (not perfect)
15859
15860 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15861
15862         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15863
15864 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * bufferlist.C (emergencyWrite): fix assert() call
15867
15868 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15869
15870         * text.C (InsertChar): Added trivial patch to only send the "you
15871         can not do multiple spaces this way" message once during a
15872         session.
15873
15874 2001-05-08  Baruch Even  <baruch@lyx.org>
15875
15876         * Makefile.am: Changed order of libraries to get LyX to link properly
15877         with the gnome frontend.
15878
15879 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * LaTeXFeatures.h: add a std:: qualifier
15882
15883 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * paragraph.C (String): use stringstream
15886
15887 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15888
15889         * paragraph.C (writeFile): remove footflag arg
15890
15891         * buffer.C (makeLaTeXFile): use stringstream
15892         (latexParagraphs): remove footnot gurba
15893
15894         * LaTeXFeatures.C (getPackages): use stringstream
15895         (getMacros): likewise
15896         (getTClassPreamble): likewise
15897         (getFloatDefinitions): new method
15898
15899         * paragraph.C (writeFile): reindent
15900         (Erase): reindent
15901
15902         * WorkArea.h: revert the xpos + etc changes.
15903
15904         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15905
15906         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15907
15908         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15909         (pasteSelection): likewise
15910         * text2.C (CreateUndo): likewise
15911
15912 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * minibuffer.C (peek_event): temporarily reduce the functionality
15915         of the minibuffer (to allow args on lfuns)
15916
15917         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15918         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15919
15920         * buffer.C (readInset): add compability reading of old float
15921         lists, add reading of new style float list.
15922         (readInset): avoid reevaluation of inscmd.getCmdName()
15923         (getLists): reindent
15924
15925         * MenuBackend.C (MenuItem): implement parsing of
15926         md_floatlistinsert and md_floatinsert.
15927         (expand::LastFiles): move initalizaton of iterators out of loop,
15928         avoid reevaluation.
15929         (expand::Documents): introduce typdedef vector<string> Strings,
15930         and use it.
15931         (expand::ExportFormats): introduce typedef vector<Format const *>
15932         Formats, and use it.
15933         (expand): implement FloatListInsert and FloatInsert.
15934
15935         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15936         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15937         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15938
15939         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15940         handling.
15941         (Dispatch::LFUN_FLOAT_LIST): implement
15942
15943 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15944
15945         * LaTeX.C (run): Fix problem with --export code.
15946
15947 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15948
15949         * BufferView.[Ch] (workarea): removed.
15950         (getClipboard) new method; wrapper for workarea()->getClipboard()
15951
15952         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15953         bug.
15954
15955         * WorkArea.h (width, height, xpos, ypos): These methods all
15956         returned the dimensions of the work_area sub-area of WorkArea,
15957         resulting in a position error if the WorkArea were resized. Now
15958         return the dimensions of the entire WorkArea.
15959
15960         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15961
15962 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15963
15964         * LaTeX.C (deplog): correct the syntax of regex reg1
15965
15966 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15967
15968         * undo.C: remove !NEW_INSETS cruft
15969
15970 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * text2.C: remove !NEW_INSETS cruft
15973
15974         * text.C: remove !NEW_INSETS cruft
15975
15976         * tabular.C: remove !NEW_INSETS cruft
15977
15978         * spellchecker.C: remove !NEW_INSETS cruft
15979
15980         * lyxtext.h: remove !NEW_INSETS cruft
15981
15982         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15983
15984         * lyxfunc.C: remove !NEW_INSETS cruft
15985
15986         * lyxfind.C: remove !NEW_INSETS cruft
15987
15988         * lyx_cb.C: remove !NEW_INSETS cruft
15989
15990         * figureForm.C: remove  !NEW_INSETS cruft
15991
15992         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15993
15994         * buffer.[Ch]: remove !NEW_INSETS cruft
15995
15996         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15997
15998         * CutAndPaste.C: remove !NEW_INSETS cruft
15999
16000         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16001
16002         * BufferView2.C: remove !NEW_INSETS cruft
16003
16004         * BufferView.h: remove !NEW_INSETS cruft
16005
16006 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16007
16008         * Lsstream.h: include LString.h before the sstream headers to
16009         fix problem with gcc 2.95.3 and lyxstring
16010
16011 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * lyx_main.C: add using directives when needed for C functions
16014         declared in std:: namespace.
16015
16016 2001-04-27  Juergen Vigna  <jug@sad.it>
16017
16018         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16019         (SetHeightOfRow): comment out the update call should not be needed!
16020
16021 2001-04-13  Juergen Vigna  <jug@sad.it>
16022
16023         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16024         (LyXTabular): tried to minimize operator= operations (and realized
16025         hopfully Lars wish).
16026
16027 2001-04-27  Juergen Vigna  <jug@sad.it>
16028
16029         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16030
16031 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16034
16035         * buffer.C (readInset): hack to make listof algorithm work
16036
16037         * BufferView_pimpl.C: hack to make listof algorithm work
16038
16039 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * LyXAction.C: removed all !NEW_INSETS cruft
16042         (init): moved lfun_item in method
16043
16044         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16045
16046 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16047
16048         * BufferView2.C (theLockingInset): white space.
16049
16050 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * minibuffer.C: include <iostream>
16053
16054         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16055
16056         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16057
16058         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16059
16060         * text.[Ch] (TransposeChars): new method
16061
16062 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16063
16064         * call message directly through LyXView instead of through LyXFunc
16065         * BufferView2.C: adjust
16066         * BufferView_pimpl.C: adjust
16067         * FontLoader.C: adjust
16068         * buffer.C: adjust
16069         * bufferview_funcs.C: adjust
16070         * converter.C: adjust
16071         * figureForm.C: adjust
16072         * importer.C: adjust
16073         * lyx_cb.C: adjust
16074         * lyx_gui_misc.C: adjust
16075         * lyxfunc.C: adjust
16076         * lyxvc.C: adjust
16077         * text2.C: adjust
16078         + more files in subdirs
16079
16080         * lyxparagraph.h (size): move up int file
16081         (GetLayout): ditto
16082
16083         * adjust all uses of Assert to lyx::Assert.
16084
16085         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16086         lyxfunctional in namespace lyx
16087         * layout.C (hasLayout): ditto
16088         (GetLayout): ditto
16089         (GetLayout): ditto
16090         (delete_layout): ditto
16091         (NumberOfClass): ditto
16092         * converter.C (GetFormat): ditto
16093         (GetNumber): ditto
16094         (Add): ditto
16095         (Delete): ditto
16096         (SetViewer): ditto
16097         * bufferlist.C (getFileNames): ditto
16098         (emergencyWriteAll): ditto
16099         (exists): ditto
16100         (getBuffer): ditto
16101         * MenuBackend.C (hasSubmenu): ditto
16102         (hasMenu): ditto
16103         (getMenu): ditto
16104         * BufferView_pimpl.C (getInsetByCode): ditto
16105
16106 2001-04-18  Juergen Vigna  <jug@sad.it>
16107
16108         * vspace.C (asLatexString): fixed the 100% problem.
16109
16110 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16111
16112         * lyxfunc.C (Dispatch):
16113         * minibuffer.C:
16114         * minibuffer.h: add a few std:: qualifiers
16115
16116 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * minibuffer.[Ch]: reimplement so that commands is initiated and
16119         run from lyxfunc, simplified som handling, and made the completion
16120         and history code for complete. wip.
16121
16122         * lyxfunc.C (processKeySym): call message
16123         (miniDispatch): new temporary method
16124         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16125         (LFUN_MESSAGE): implement
16126         (LFUN_MESSAGE_PUSH): implement
16127         (LFUN_MESSAGE_POP): implement
16128         (initMiniBuffer): the initial/defualt minibuffer message.
16129
16130         * lyxfont.[Ch]: inline some more getters
16131
16132         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16133
16134         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16135
16136         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16137         (AutoSave): use LFUN_MESSAGE
16138         (Reconfigure): ditto
16139
16140         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16141
16142         * figureForm.C: use LFUN_MESSAGE
16143
16144         * converter.C (runLaTeX): use LFUN_MESSAGE
16145
16146         * bufferview_funcs.C: use LFUN_MESSAGE
16147         (Melt): ditto
16148         (changeDepth): ditto
16149
16150         * bufferparams.h: use boost::
16151
16152         * bufferlist.h: inherit privately from noncopyable
16153
16154         * bufferlist.C (loadLyXFile): remove some commented code.
16155
16156         * buffer.C (runChktex): use LFUN_MESSAGE
16157
16158         * ShareContainer.h: inherit privately from noncopyable
16159
16160         * ParagraphParameters.[hC] (depth): inline it.
16161
16162         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16163         methods.
16164         (message): new method
16165         (messagePush): ditto
16166         (messagePop): ditto
16167         (show): init minibuffer
16168         (showState): direct call
16169
16170         * LaTeX.[Ch]: inherit privately from noncopyable
16171         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16172         instead of WriteStatus.
16173
16174         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16175
16176         * BufferView_pimpl.C (buffer): don't init minibuffer
16177         (workAreaButtonPress): use LFUN_MESSAGE
16178         (workAreaButtonRelease): ditto
16179         (savePosition): ditto
16180         (restorePosition): ditto
16181         (MenuInsertLyXFile): ditto
16182         (workAreaExpose): don't init minibuffer
16183         (update): remove commented code, simplify
16184
16185         * BufferView2.C (openStuff): use LFUN_MESSAGE
16186         (toggleFloat): ditto
16187         (menuUndo): ditto
16188         (menuRedo): ditto
16189         (copyEnvironment): ditto
16190         (pasteEnvironment): ditto
16191         (copy): ditto
16192         (cut): ditto
16193         (paste): ditto
16194         (gotoInset): ditto
16195         (updateInset): remove some commented code
16196
16197         * lastfiles.h: inherit privately from noncopyable
16198         * layout.h: ditto
16199         * lyx_gui.h: ditto
16200         * lyx_main.h: ditto
16201         * lyxlex.h: ditto
16202         * lyxlex_pimpl.h: ditto
16203
16204         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16205         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16206         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16207
16208         * LyXAction.h: inherit privately from noncopyable, add methods
16209         func_begin, func_end, returning iterators to the func map.
16210
16211         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16212         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16213         (func_begin): new method
16214         (func_end): new method
16215
16216         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16217         and not)
16218         (copySelection): ditto
16219         (pasteSelection): ditto
16220
16221         * BufferView.C: whitespace change
16222         * BufferView.h: inherit privately from noncopyable
16223
16224 2001-04-16  Allan Rae  <rae@lyx.org>
16225
16226         * tabular-old.C (l_getline):
16227         * spellchecker.C (sc_check_word):
16228         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16229         an unrecognised preprocessor directive.  So ensure they're wrapped.
16230
16231 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16232
16233         * src/exporter.C (Export): Give an error message when path to file
16234         contains spaces.
16235
16236 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16237
16238         * LaTeX.C (deplog): Always check that foundfile exists.
16239
16240 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16241
16242         * lyx_main.h:
16243         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16244
16245 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16246
16247         * tabular.[Ch] (getLabelList): implement new method
16248
16249         * minibuffer.h: comment ouf setTiimer
16250
16251         * minibuffer.C (ExecutingCB): constify res
16252         (peek_event): constify s
16253         (Set): constify ntext
16254         (Init): constify nicename
16255
16256         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16257
16258         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16259         (savePosition): use two params to Minibuffer::Set
16260         (restorePosition): ditto
16261
16262 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * lyx_main.C: include language.h
16265
16266         * Makefile.am (lyx_main.o): add language.h
16267
16268 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16269
16270         * exporter.C:
16271         * paragraph.C:
16272         * screen.C:
16273         * tabular.C:
16274         * CutAndPaste.C: include gettext.h
16275
16276         * lyxfont.h: remove old hack with ON and OFF.
16277
16278         * lyxparagraph.h:
16279         * lyxfont.h: do not include language.h...
16280
16281         * BufferView2.C:
16282         * LaTeXFeatures.C:
16283         * Painter.C:
16284         * bufferview_funcs.C:
16285         * font.C:
16286         * lyxfont.C:
16287         * text.C:
16288         * text2.C:
16289         * trans_mgr.C:
16290         * paragraph.C: ... but do it here instead
16291
16292 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16295
16296         * tabular.C: small reformat
16297
16298         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16299         NEW_INSETS version
16300         (GetChar): ditto
16301         (BreakParagraph): ditto
16302         (SetOnlyLayout): ditto
16303         (SetLayout): ditto
16304
16305         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16306         with one arg less.
16307
16308         * lastfiles.C: removed most using decl, add std:: where needed
16309
16310         * buffer.C: ws changes
16311
16312         * MenuBackend.C (class compare_format): put into anon namespace
16313         (expand): constify label, names, action, action2
16314         (expand):
16315
16316         * text.C (SingleWidth): constify font
16317         (IsBoundary): constify rtl2
16318         (GetVisibleRow): constify ww
16319
16320         * LaTeX.C (deplog): constify logfile
16321
16322         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16323         start_x, end_x
16324         (workAreaExpose): constify widthChange, heightChange
16325
16326         * lyxrow.C (par): moved
16327         (height): moved
16328         (next): moved
16329         * lyxrow.h: as inlines here
16330
16331         * lyxfont.h (shape): moved from lyxfont.C
16332         (emph): moved from lyxfont.C
16333
16334         * lyxfont.C (LyXFont): use initialization list for all
16335         constructors
16336         (shape): move to lyxfont.h as inline
16337         (emph): move to lyxfont.h as inline
16338
16339
16340 2001-04-04  Juergen Vigna  <jug@sad.it>
16341
16342         * vspace.C: had to include stdio.h for use of sscanf
16343
16344 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16345
16346         * BufferView.h:
16347         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16348         independent of xforms.
16349
16350 2001-04-02  Juergen Vigna  <jug@sad.it>
16351
16352         * spellchecker.C: fixed namespace placing!
16353
16354 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16355
16356         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16357         the LyXParagraph * is 0.
16358
16359 2001-03-29  Juergen Vigna  <jug@sad.it>
16360
16361         * vspace.C: added support for %, c%, p%, l%.
16362         (stringFromUnit): added helper function.
16363         (asLatexString): changed to give right results for the %-values.
16364
16365         * buffer.C: convert the widthp in a width%.
16366
16367 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16368
16369         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16370         figureForm.[Ch].
16371
16372         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16373         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16374
16375         * lyx_cb.[Ch]: see above.
16376
16377         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16378         form1.[Ch].
16379
16380         * form1.[Ch]:
16381         * lyx.[Ch]: replaced by figure_form.[Ch].
16382
16383         * lyx_gui.C:
16384         * lyx_gui_misc.C:
16385         * lyxfunc.C: changed headers associated with above changes.
16386
16387 2001-03-27  Juergen Vigna  <jug@sad.it>
16388
16389         * BufferView_pimpl.C: set the temporary cursor right!
16390
16391 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16392
16393         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16394
16395 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16396
16397         * LString.h: removed "using std::getline"!
16398
16399         * BufferView_pimpl.C (Dispatch): changes due to changes in
16400         InsetInclude::Params.
16401
16402         * buffer.C (tag_name): removed redundant break statements as they were
16403         producing lots of warnings with my compiler.
16404
16405 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16406
16407         * LString.h: add "using std::getline" when using the real <string>.
16408
16409 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16410
16411         * buffer.C: removed bitset usage.
16412         PAR_TAG moved to an anonymous name space.
16413         (tag_name): new funtion, also in the anonymous namespace.
16414         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16415         (makeDocBookFile): clean code. Completed transition from string arrays
16416         to string vectors.
16417         (SimpleDocBookOnePar): code clean.
16418
16419 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16420
16421         * tabular.C: add some comments.
16422
16423 2001-03-22  Juergen Vigna  <jug@sad.it>
16424
16425         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16426         compatibility read a bit and fixed bug with minipage in different
16427         depth.
16428
16429 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16430
16431         * buffer.C (pop_tag): removed.
16432         (push_tag): removed.
16433         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16434         array replaced with vector. Added support for CDATA sections.
16435         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16436         at any nest level.
16437         (makeDocBookFile): XML conformant declaration of CDATA section,
16438         fixed bug related to <emphasis> in the first paragraph char.
16439         (sgmlOpenTag): exclude empty tags.
16440         (sgmlCloseTag): ditto.
16441
16442         * buffer.h (pop_tag): removed.
16443         (push_tag): removed.
16444
16445 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16446
16447         * language.h (Languages): added size_type and size().
16448
16449 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16450
16451         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16452         response on compability reading of minipages. One probliem is that
16453         the old usage of minipages was «flertydig»
16454
16455         * several files here and in subdirs: don't use static at file
16456         scope use anon namespaces instead.
16457
16458 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16459
16460         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16461         LaTeX output. This is necessary for Literate document
16462         processing.
16463
16464 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16465
16466         * buffer.C: insert hfill when needed.
16467
16468         * tabular.C (l_getline): use string::erase, small whitespace change.
16469
16470         * BufferView_pimpl.C: try the anon namespace.
16471         * WorkArea.C: ditto
16472
16473 2001-03-16  Juergen Vigna  <jug@sad.it>
16474
16475         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16476         otherwise it won't open options-dialogs.
16477
16478         * buffer.C: honor pextraWidth(p) on converting minipages.
16479
16480         * tabular.C (l_getline): changed the functions to strip trailing \r.
16481
16482 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16483
16484         * BufferView_pimpl.C:
16485         * minibuffer..C: added "using SigC::slot" declaration.
16486
16487 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16488
16489         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16490
16491         * text2.C: ditto
16492
16493         * text.C: ditto
16494
16495         * paragraph.C: ditto
16496
16497         * lyxtext.h: NO_PEXTRA
16498
16499         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16500
16501         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16502         * ParameterStruct.h: ditto
16503         * ParagraphParameters.h: ditto
16504         * lyxparagraph.h: ditto
16505
16506 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16507
16508         * buffer.C: add compability for minipage alignment.
16509         (latexParagraphs): remove unwanted pextra check.
16510
16511         * several files: remove CXX_WORKING_NAMESPACES
16512
16513         * buffer.C (pop_tag): tie is in namespace boost
16514
16515         * BufferView.h: noncopyable is in namespace boost
16516         * lyxlex.h: ditto
16517         * lyx_main.h: ditto
16518         * lyx_gui.h: ditto
16519         * layout.h: ditto
16520         * lastfiles.h: ditto
16521         * bufferlist.h: ditto
16522         * ShareContainer.h: ditto
16523         * LyXView.h: ditto
16524         * LyXAction.h: ditto
16525         * LaTeX.h: ditto
16526
16527 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16528
16529         * Merging changes from BRANCH_MVC back into HEAD.
16530
16531         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16532
16533 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16534
16535         * BufferView_pimpl.C: change from intl.C
16536
16537         * combox.h:
16538         * combox.C:
16539         * Makefile.am: move combox.*
16540
16541         * form1.h:
16542         * form1.C:
16543         * lyx_gui.C:
16544         * intl.h:
16545         * intl.C: remove dialog (covered by prefs)
16546
16547 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16548
16549         * lyxfunc.C (Dispatch): removed redundant break statement.
16550
16551 2001-03-14  Juergen Vigna  <jug@sad.it>
16552
16553         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16554
16555 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16556
16557         * buffer.C: add hack to fix compability reading of minipages.
16558
16559 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16560
16561         * buffer.C (getLists): Cleanup.
16562
16563 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * lyxfont.C (update): don't honor toggleall on font size.
16566
16567 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16568
16569         * bmtable.c:
16570         * bmtable.h:
16571         * Makefile.am: moved to frontends/xforms/
16572
16573         * lyx_gui_misc.C:
16574         * lyxfunc.C:
16575         * BufferView_pimpl.C: changes for moved mathpanel
16576
16577 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16578
16579         * gettext.h: fix gettext_init() in --disable-nls
16580
16581 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16582
16583         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16584
16585 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16586
16587         * lyx.C:
16588         * lyx.h: strip external form
16589
16590 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16591
16592         * BufferView_pimpl.C: add comment, destroySplash()
16593
16594 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * BufferView_pimpl.C:
16597         * LyXAction.C:
16598         * buffer.C:
16599         * commandtags.h:
16600         * lyxfunc.C: use re-worked insetinclude
16601
16602 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16603
16604         * buffer.C: add using std::stringstream.
16605
16606         * lyx_cb.C: readd using std::ios.
16607
16608         * buffer.C: add using std::map.
16609
16610         * BufferView_pimpl.C: add using std::vector.
16611
16612         * ShareContainer.h: add std:: to swap.
16613
16614         * buffer.h: add some typedefs
16615         * buffer.C (getLists): use them
16616         (getLists): renamed from getTocList.
16617         add a counter for the different float types and use it in the
16618         generated string.
16619         (getLists): use the same counter for the NEW_INSETS and the "non"
16620         NEW_INSETS
16621
16622         * lyx_cb.h: remove unused items, includes, using etc.
16623
16624         * ShareContainer.h: remove some commented code, add more comments
16625         and "documentation".
16626
16627 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16628
16629         * buffer.C (getTocList): make the list also when NEW_INSETS is
16630         defined.
16631
16632         * buffer.h: remove TocType
16633
16634         * buffer.C (getTocList): change to return a map<string,
16635         vector<TocItem> >, implement for dynamic number of list.
16636
16637         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16638         * text2.C (PasteSelection): adjust
16639         * CutAndPaste.C (pasteSelection): adjust
16640
16641         * FloatList.C (FloatList): update from the new_insets branch.
16642         * Floating.[Ch]: ditto
16643         * LaTeXFeatures.C: ditto
16644         * buffer.C: ditto
16645         * lyxlex_pimpl.C: ditto
16646
16647         * paragraph.C (Last): remove when NEW_INSETS is defined.
16648
16649         * other file: changes because of the above.
16650
16651 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16652
16653         * lyxparagraph.h: rename next to next_, previous to previous_,
16654         make them private for NEW_INSETS. Rename Next() to next(),
16655         Previous() to previous().
16656
16657         * other files: changes because of the above.
16658
16659 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16660
16661         * BufferView.h:
16662         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16663         problem.
16664
16665 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16666
16667         * main.C (main): pass lyx_localedir to gettext_init().
16668
16669         * gettext.h: remove locale_init and gettext_init macros
16670
16671         * gettext.C (locale_init): new function
16672         (gettext_init): new function
16673
16674         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16675         setlocale().
16676
16677 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16678
16679         * Moved credits to frontends:
16680         * credits.[Ch]: removed
16681         * credits_form.[Ch]: removed
16682         * lyx_gui_misc.C: remove credits stuff
16683         * Makefile.am:
16684
16685 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16688
16689         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16690         unneeded destructor.
16691
16692         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16693         a standalone pointer again.
16694
16695         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16696
16697 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16698
16699         * Makefile.am:
16700         * filedlg.h:
16701         * filedlg.C:
16702         * LyXAction.C:
16703         * ToolbarDefaults.C:
16704         * bufferlist.C:
16705         * commandtags.h:
16706         * form1.C:
16707         * form1.h:
16708         * lyx_cb.C:
16709         * lyx_cb.h:
16710         * lyxfunc.h:
16711         * lyxfunc.C:
16712         * BufferView_pimpl.C: use new file dialog in GUII
16713
16714         * lyx_cb.h:
16715         * lyx_cb.C: remove LayoutsCB to Toolbar
16716
16717 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16718
16719         * ShareContainer.h (get): add std:: qualifier
16720
16721 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16722
16723         * ShareContainer.h: define a proper ShareContainer::value_type
16724         type (and use typename to please compaq cxx)
16725
16726 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16727
16728         * lyxparagraph.h: move serveral local vars to
16729         ParameterStruct/ParagraphParameters., use ShareContainer in
16730         FontTable., make vars in FontTable private and add getter and
16731         setter.
16732
16733         * paragraph.C: changes because of the above.
16734
16735         * lyxfont.h: remove copy constructor and copy assignment. (the
16736         default ones is ok), move number inside FontBits. move inlines to
16737         lyxfont.C
16738
16739         * lyxfont.C: add number to initializaton of statics, move several
16740         inlines here. constify several local vars. some whitespace
16741         cleanup. Dont hide outerscope variables.
16742
16743         * Spacing.h: add two new constructors to match the set methods.
16744
16745         * ShareContainer.h: new file, will perhaps be moved to support
16746
16747         * ParameterStruct.h: new file
16748
16749         * ParagraphParameters.h: new file
16750
16751         * ParagraphParameters.C: new file
16752
16753         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16754         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16755
16756         * BufferView_pimpl.C: ParagraphParameter changes.
16757         * buffer.C: Likewise.
16758         * bufferview_funcs.C: Likewise.
16759         * text.C: Likewise.
16760         * text2.C: Likewise.
16761
16762 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16763
16764         * lyxfind.C (LyXReplace): do not redefine default argument in
16765         implementation.
16766         (IsStringInText): ditto
16767         (SearchForward): ditto
16768         (SearchBackward): ditto
16769
16770 2001-03-06  Juergen Vigna  <jug@sad.it>
16771
16772         * lyxfind.C (IsStringInText): put parentes around expressions.
16773
16774 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16775
16776         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16777
16778 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16779
16780         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16781
16782         * stl_string_fwd.h: add comment
16783
16784         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16785
16786         * tabular.h:
16787         * tabular.C: remove unused DocBook methods
16788
16789         * intl.C:
16790         * language.C:
16791         * paragraph.C:
16792         * buffer.C:
16793         killed DO_USE_DEFAULT_LANGUAGE
16794
16795 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * lyx_gui.C: do not include language.h.
16798
16799         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16800         arguments in function implementation.
16801
16802 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16803
16804         * BufferView_pimpl.C: add <ctime>
16805
16806 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16807
16808         * BufferView_pimpl.C: add using std::find_if
16809
16810 2001-02-27  José Matos  <jamatos@fep.up.pt>
16811
16812         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16813         by OnlyPath.
16814
16815 2001-02-11  José Matos  <jamatos@fep.up.pt>
16816
16817         * buffer.C (makeDocBookFile): command styles now have a parameter as
16818         "title" by default.
16819
16820 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16821
16822         * layout_forms.[Ch]: removed
16823         * lyx_cb.[Ch]: out character
16824         * lyx_gui.C: out character
16825         * lyx_gui_misc.C: out character
16826         * bufferview_funcs.C: : out character,
16827         added toggleall as parameter in ToggleAndShow
16828
16829 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16832
16833         * text2.C (SetCurrentFont): Disable number property at boundary.
16834
16835 2001-02-26  Juergen Vigna  <jug@sad.it>
16836
16837         * lyxfunc.C (getStatus): added a string argument override function so
16838         that this is correctly called from LyXFunc::Dispatch if it contains a
16839         do_not_use_argument which is used!
16840         (Dispatch): added check for "custom" export and call appropriate func.
16841
16842 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16843
16844         * lyxrc.C: Add language_command_local, language_use_babel and
16845         language_global_options.
16846
16847         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16848
16849         * buffer.C (makeLaTeXFile): Use language_use_babel and
16850         language_global_options.
16851
16852 2001-02-23  Juergen Vigna  <jug@sad.it>
16853
16854         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16855         which works with LyXText and putted it inside BufferView. Here now we
16856         only call for that part the BufferView::Dispatch() function.
16857
16858         * BufferView.C (Dispatch): added.
16859
16860         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16861         functions which needs to use a LyXText over from LyXFunc.
16862         (MenuInsertLyXFile): added
16863         (getInsetByCode): added
16864         (moveCursorUpdate): added
16865         (static TEXT): added
16866
16867 2001-02-22  Juergen Vigna  <jug@sad.it>
16868
16869         * BufferView_pimpl.C (update): call a status update to see if LyXText
16870         needs it.
16871
16872 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16873
16874         * vc-backend.C (revert): implement for CVS
16875         (getLog): implement for CVS
16876
16877 2001-02-20  Juergen Vigna  <jug@sad.it>
16878
16879         * text2.C (ClearSelection): added BufferView param for inset_owner call
16880
16881         * lyxfunc.C (TEXT): added this function and use it instead of
16882         directly owner->view()-text of getLyXText().
16883
16884 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16885
16886         * src/layout_forms.C: out preamble
16887         * src/layout_forms.h: out preamble
16888         * src/lyx_cb.C: out preamble
16889         * src/lyx_cb.h: out preamble
16890         * src/lyx_gui.C: out preamble
16891         * src/lyx_gui_misc.C: out preamble
16892         * src/lyxfunc.C: connect with guii preamble
16893
16894 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16895
16896         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16897
16898 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16899
16900         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16901         whether to run bibtex.
16902
16903 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16904
16905         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16906
16907 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16908
16909         * Makefile.am (lyx_SOURCES): removed bibforms.h
16910
16911         * vspace.h: doxygen
16912
16913         * text.C (GetVisibleRow): make several local vars const
16914
16915         * tabular.C: small cleanup.
16916
16917         * lyxserver.C (callback): use compare instead of strncmp
16918
16919         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16920         inlines to after class or to paragraph.C
16921
16922         * lyxfont.h: remove friend operator!=
16923
16924         * converter.h: move friend bool operator< to non friend and after
16925         class def.
16926
16927         * combox.h: small cleanup
16928
16929         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16930         to inlines after class def.
16931
16932         * buffer.C (pop_tag): use string operations instead of strcmp
16933
16934         * bmtable.c: doxygen, small cleanup
16935
16936         * LaTeX.h: remove friend operator==
16937
16938 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16939
16940         * screen.C:
16941         * lyxrc.[Ch]:
16942         * lyxfunc.C:
16943         * lyxfont.[Ch]:
16944         * lyx_cb.C:
16945         * intl.[Ch]:
16946         * commandtags.h:
16947         * buffer.C:
16948         * WorkArea.[Ch]:
16949         * LyXAction.C:
16950         * BufferView_pimpl.C:
16951         * BufferView.[Ch]: remove cruft
16952
16953 2001-02-14  Juergen Vigna  <jug@sad.it>
16954
16955         * lyxfunc.C: removed #if 0 unused code
16956
16957         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16958
16959         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16960
16961         * text2.C (SetSelection): added a BufferView * parameter
16962
16963 2001-02-13  Juergen Vigna  <jug@sad.it>
16964
16965         * lyxfunc.C (Dispatch): fixed protected blank problem.
16966         * BufferView2.C (protectedBlank): added LyxText * parameter.
16967
16968         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16969         (AppendColumn): same as above for column_info.
16970
16971         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16972         (moveCursorUpdate): use a LyXText param for support of InsetText.
16973
16974         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16975         (tripleClick): ditto
16976
16977         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16978
16979         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16980
16981         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16982
16983         * text2.C (SetSelection): set correct update status if inset_owner
16984         (ToggleFree): ditto
16985
16986 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16987
16988         * tabular.C: remove some commented code.
16989
16990 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16991
16992         * BufferView_pimpl.C: call hideSplash()
16993
16994         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16995
16996         * include_form.h:
16997         * bibforms.h: remove
16998
16999         * lyxfunc.C:
17000         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17001           add LFUN_CHILD_CREATE
17002
17003         * counters.h: fix tiny typo
17004
17005         * lyx_cb.C:
17006         * lyx.h:
17007         * lyx_gui.C:
17008         * lyx.C: move splash to frontends/xforms/
17009
17010         * lyx_gui_misc.C: move Include and Bibform to frontends
17011
17012         * lyxvc.h: clarify comment
17013
17014         * vspace.C: tiny housekeeping
17015
17016 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17017
17018         * text.C (PrepareToPrint): RTL Fix.
17019
17020         * paragraph.C (GetUChar): New method.
17021         (String):  Use GetUChar.
17022
17023         * buffer.C (asciiParagraph): Use GetUChar.
17024
17025 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17026
17027         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17028
17029 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17030
17031         * buffer.h:
17032         * buffer.C: rename to getLogName(), handle
17033           build log / latex log nicely
17034
17035 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17036
17037         * MenuBackend.C:
17038         * MenuBackend.h: remove support for reference menuitem type.
17039
17040 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17041
17042         * BufferView_pimpl.C: housekeeping
17043         * BufferView_pimpl.h:
17044         * LyXView.h:
17045         * Makefile.am:
17046         * Timeout.C:
17047         * Timeout.h:
17048         * minibuffer.h: move Timeout GUI-I
17049
17050 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17051
17052         * lyxrc.C (read): Update converters data-structures.
17053
17054 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17055
17056         * LaTeX.h (operator!=): add operator != for Aux_Info
17057
17058 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17059
17060         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17061
17062         * LaTeXLog.C: deleted, useful code moved to Buffer
17063
17064         * buffer.h:
17065         * buffer.C: new function getLatexLogName()
17066
17067         * lyx_gui_misc.C:
17068         * lyx_gui.C:
17069         * lyxvc.C:
17070         * lyxvc.h:
17071         * lyxfunc.C: use frontends for LaTeX and VC logs
17072
17073 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17074
17075         * LaTeX.h: yet another std:: that Allan forgot.
17076
17077         * Variables.C (set): renamed from isset(), because this clashes
17078         with some HP-UX macros (grr).
17079
17080 2001-02-06  Allan Rae  <rae@lyx.org>
17081
17082         * LaTeX.h: Another bug fix.  Missing std:: this time.
17083
17084 2001-02-04  Allan Rae  <rae@lyx.org>
17085
17086         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17087         floats problem. I've left it commented out because it's not quite
17088         correct.  It should also test that the current object is a table or
17089         figure inset.  But I haven't gotten around to figuring out how to do
17090         that.  I *think* it'll be something like: "table" == inset.type()
17091
17092         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17093         bool.
17094
17095 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17096
17097         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17098         all the citation/databases/styles in the auxilary file.
17099         (run): Rerun latex if there was a babel language error.
17100
17101 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17102
17103         * text.C (Backspace): Preserve the font when changing newline char
17104         with a space.
17105         (BreakParagraph): If the cursor is before a space, delete the space.
17106
17107         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17108
17109 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17110
17111         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17112         new argument (code).
17113         (ChangeCitationsIfUnique): New method.
17114
17115         * paragraph.C (GetPositionOfInset): Handle bibkey.
17116
17117 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17118
17119         * BufferView_pimpl.h: change type of Position::par_pos to
17120         LyXParagraph::size_type.
17121
17122 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17123
17124         * BufferView_pimpl.C (savePosition, restorePosition): Write
17125         messages to minibuffer.
17126
17127 2001-01-28  José Matos  <jamatos@fep.up.pt>
17128
17129         * buffer.C (makeDocBookFile): adds support for document language.
17130         A silly restriction on the name of LatexCommand types where removed.
17131         Added support for CDATA sections, allows to chars unescaped, used
17132         among others in code, to avoid escape < and >.
17133
17134 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17135
17136         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17137         saved positions instrad of a stack. Furthermore, a position is
17138         stored using paragraph id/paragraph position.
17139
17140         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17141         Remove LFUN_REF_BACK.
17142
17143 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17144
17145         * converter.C (dvipdfm_options): New method.
17146
17147 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17148
17149         * vspace.C (isValidLength): Fix for empty input string.
17150
17151 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17152
17153         * LyXAction.C (init): change description of LFUN_FIGURE to
17154         "Insert Graphics"
17155
17156 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17157
17158         * LaTeX.C: add using directive
17159
17160 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17161
17162         * MenuBackend.C (expand): Fix the sorting of the formats.
17163
17164 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17165
17166         * lyx_main.C: tiny error message fix
17167
17168 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17169
17170         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17171         calling fl_initialize(). This fixes the problem with ',' as
17172         decimal separator in text files.
17173
17174 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17175
17176         * trans.C (process): Fix the keymap bug.
17177
17178 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17179
17180         * LaTeX.C (scanAuxFiles): New method. Provides support for
17181         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17182         (scanLogFile) Scan for "run BibTeX" messages.
17183
17184         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17185         OT1 font encoding. Also, load the aecompl package if the ae
17186         package is loaded.
17187
17188         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17189
17190 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * texrow.C (increasePos): turn two error messages into debug
17193         messages.
17194
17195 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17196
17197         * LaTeX.C (scanAux): Handle the \@input macro.
17198         (runBibTeX): Use scanAux().
17199
17200         * language.C (latex_options_): New field.
17201
17202         * LaTeXFeatures.C (getMacros): Add language macros.
17203
17204         * buffer.C (makeLaTeXFile): Small fix.
17205
17206 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17209
17210         * text2.C: add a using directive.
17211
17212 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17213
17214         * BufferView2.C:
17215         * lyx_gui_misc.h:
17216         * lyxfr1.C:
17217         * lyxfunc.C: kill LyXBell.
17218
17219 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17220
17221         * text.C (IsBoundary): Remove the error message
17222
17223         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17224
17225         * lyxrc.C (setDefaults): Correct initialization value for
17226         font_norm_type.
17227
17228 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17229
17230         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17231         gotoError().
17232
17233         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17234         and GotoNextNote().
17235
17236         * src/LyXAction.C: Added reference-next.
17237
17238         * text.C (InsertChar): Use contains instead of strchr.
17239
17240         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17241
17242 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17243
17244         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17245         alignment commands (when needed).
17246
17247         * text.C (InsertChar): Add ':' to number separator chars.