]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Squash MSVC warning "local variable 'fd' used without having
[lyx.git] / src / ChangeLog
1 2005-02-15  Angus Leeming  <leeming@lyx.org>
2
3         * lyxserver.C (startPipe): squash MSVC warning "local variable
4         'fd' used without having been initialized".
5
6 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * BufferView_pimpl.C: revert accidental commit.
9
10 2005-02-14  André Pönitz  <poenitz@gmx.net>
11
12         * dociterator.[Ch]: new member forwardPosNoDescent(),
13         which doesn't enter nested insets.
14         * text2.C (setFont): use forwardPosNoDescent() instead
15         of ForwardPos() (fixes crash on font change).
16
17 2005-02-13  Angus Leeming  <leeming@lyx.org>
18
19         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
20         only if lyxrc.path_prefix is not empty.
21
22 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
23
24         * bufferparams.C (readGraphicsDriver): prevent crash
25
26 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
27
28         * text2.C (setCounter): check for inInset() == 0
29
30 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
33         but use update() to get correct screen display; use convert
34         instead of istringstream. 
35         (getStatus): handle LFUN_GOTO_PARAGRAPH 
36
37         * lyxfunc.C (dispatch, getStatus): do not handle
38         LFUN_GOTO_PARAGRAPH here.
39
40 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * text3.C (dispatch): size() -> depth()
43
44         * text2.C: remove some debug output
45
46         * paragraph.C: ws changes only
47
48         * lyxfunc.C (getStatus): size() -> depth()
49
50         * dociterator.h (clear, push_back, pop_back, internalData,
51         operator[], resize, empty): new functions
52         Make StableDocIterator and operator== be friends. Don't inherit
53         from std::vector use a privat class variable slices_ instead.
54         Modify to fit.
55
56         * dociterator.C: update because of not inheriting from std::vector
57         anymore. Call explictly to slices_ instead. Use depth() instead of
58         size() and top() instead of back()
59
60         * cursor.C: chagne size() -> depth and back() -> top(). Also
61         remove some direct operator[](i) calls in favour of foo[i]
62         (getFont): remove some dead code
63
64         * bufferview_funcs.C (coordOffset): size() -> depth()
65
66         * buffer.C: ws changes only
67
68         * CutAndPaste.C (eraseSelection): back() -> top()
69
70         * BufferView_pimpl.C (selectionRequested): back() -> top()
71
72         * BufferView.C (setCursor): size() -> depth()
73
74 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
75
76         * text3.C (cursorPrevious): return true if depm changed something
77         (cursorNext): ditto
78         (dispatch): rename sl to oldTopSlice, remove moving use the new
79         NoUpdate func attrib instead. Make sure that needsUpdate is set
80         for function that have NoUpdate, but where depm might have changed
81         the buffer anyway.
82
83         * text2.C (cursorLeft): make us return true if depm changed
84         something
85         (cursorRight): ditto
86         (cursorUpParagraph): ditto
87         (curosrDownParagraph): ditto
88         (cursorUp, cursorDown): ditto, make sure to read comments in code
89         (deleteEmptyParagraphMechanism): remove an assert, also return
90         true if just a single char was deleted.
91
92         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
93         cursor that we modify, to avoid modifying an active cursor before
94         we call setCursor. This allows depm to run. Also return true if
95         depm deleted something.
96
97         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
98         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
99         cursorDownParagraph, cursorPrevious and cursorNext, return true if
100         something was changed in the buffer because of them (ie. depm run)
101
102         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
103         debug messages. Make update by default be false. Make sure that
104         the result of update is retained throught several calls down to
105         dispatch.
106
107         * LyXAction.h: add a new func_attrib: NoUpdate
108
109         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
110         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
111         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
112         and LFUN_WORDLEFT
113         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
114
115 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
118         bv_->owner(), bv_->buffer() by direct references to the private
119         members.
120         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
121         (getStatus): isSavedPosition() is in BufferView::Pimpl.
122         (fitCursor): center() is in BufferView::Pimpl.
123         (getStatus, trackChanges, dispatch): no need for a temporary buf
124         variable
125         (fitCursor, workAreaDispatch): use workarea().workheight()
126
127 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
128
129         * CutAndPaste.C (pasteSelectionHelper): fix a crash
130
131 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * buffer.C: format up to 241.
134         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
135         break if pasting into ERT
136         * lyxfunc.C (getStatus): suppress mathpanel and
137         LFUN_DIALOG_SHOW_NEW_INSET in ERT
138
139 2005-02-01  Angus Leeming  <leeming@lyx.org>
140
141         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
142
143 2005-02-01  Angus Leeming  <leeming@lyx.org>
144
145         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
146         calling fs::is_directory().
147
148 2005-01-31  Angus Leeming  <leeming@lyx.org>
149
150         * lyx_main.C (priv_exec): specify explicitly the relative location
151         of the top level build directory when run in-place.
152
153 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
156         LyXText containing the cursor, not the top-level one.
157
158         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
159         true.
160         (insertStringAsLines): rename par to pit; use temporary variable
161         par to hold a Paragraph; do not store par.layout() in a variable,
162         since the pointer may die when breaking paragraphs; pass pars to
163         breakParagraph() instead of Buffer::paragraphs().
164
165 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
166
167         * lyxlex_pimpl.h: #include <fstream>.
168
169         * BufferView.[Ch] (getLyXText): add a const version.
170
171         * BufferView_pimpl.C: add debug aids.
172
173         * RowList_fwd.h:
174         * buffer.h:
175         * lyxrow.h:
176         * paragraph_funcs.h: add commentary explaining what the class does.
177
178
179         * coordcache.[Ch]: add lots of commentary.
180         (startUpdating, doneUpdating): debug aids.
181         (arrays, insets, parPos, getParPos): accessors to private data.
182
183         * cursor_slice.[Ch] (text): add a const version.
184         * dociterator.[Ch] (text, innerText): add const versions.
185
186         * lyxtext.h (breakParagraph): change the keep_layout arg to a
187         bool.
188
189         * paragraph.C (getRow, pos2ros): add asserts.
190
191         * paragraph.h: add commentary. Lots of.
192
193         * paragraph.[Ch] (metrucs, draw): removed.
194
195         * cursor.C:
196         * rowpainter.[Ch]: const-correct changes.
197
198         * text.C: various obvious clean-ups. Removal of ancient cruft.
199         Bug fixes, even.
200
201 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
202
203         * vc-backend.C (find_file): rewrite to use boost.filesystem
204         (scanMaster): ditto
205
206         * main.C (main): set default name check for boost.filesystem to
207         no check
208
209         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
210         (open): ditto
211         (doImport): ditto
212         (actOnUpdatedPrefs): ditto
213
214         * lyx_main.C (init): rewrite to use boost.filesystem
215         (queryUserLyXDir): ditto
216
217         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
218         (getContentsOfAsciiFile): ditto
219
220         * lastfiles.C (readFile): rewrite to use boost.filesystem
221
222         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
223
224         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
225         (loadLyXFile): ditto
226
227         * buffer.C (Buffer): adjust for destroydir
228         (getLogName): rewrite to use boost.filesystem
229         (setFileName): ditto
230         (save): use fs::copy_file (from fs_extras)
231
232         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
233
234         * LaTeX.C (run): rewrite to use boost.filesystem
235         (scanAuxFiles): ditto
236         (handleFoundFile): ditto
237
238 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
239
240         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
241
242         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
243
244 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
245
246         * lyxlayout.[Ch]: change some vars from float to double
247
248         * buffer.C (readFile): make a local var const
249
250         * Several files: use convert<> instead of atoi,strToXXX and friends
251
252 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
253
254         * LaTeXFeatures.[Ch]: Add a static list packages_ that
255         holds the contents of packages.lst. New functions getAvailable
256         and isAvailable to parse and check that list, resp.
257
258         * LyXAction.C:
259         * lfuns.h:
260         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
261
262         * bufferparams.[Ch]: new param output_changes.
263
264         * Buffer.C: increase file format to 240.
265         Use output_changes and isVailable.
266
267         * changes.[Ch]:
268         * paragraph.C:
269         * paragraph_pimpl.C: Use output_changes and isVailable.
270
271 2005-01-23  Angus Leeming  <leeming@lyx.org>
272
273         * output_latex.C: #include "insetbibitem.h", rather than
274         forward declare function bibitemWidest.
275
276 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
277
278         * lyx_main.C (init): make it compile on the Mac.
279
280 2005-01-20  Angus Leeming  <leeming@lyx.org>
281
282         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
283         (setLyXMisc): (char string literal) != (char string literal) is
284         performing a comparison on the addresses. Convert one operand
285         explicitly to string to guarantee expected behaviour.
286         From MSVC warning.
287
288 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
289
290         * buffer.C:
291         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
292
293         * output_plaintext.C: remove unneeded #include gzstream.h.
294
295 2005-01-20  Angus Leeming  <leeming@lyx.org>
296
297         * SpellBase.h: rename some of the elements of the Result enum.
298
299         * aspell_local.h:
300         * ispell.h:
301         * pspell.h:
302         * aspell.C (check):
303         * ispell.C (check):
304         * pspell.C (check): ditto
305
306 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
307
308         * buffer.C: add #include <fstream>.
309
310         * lyx_main.C (init): Compile fix.
311
312         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
313
314 2005-01-20  Angus Leeming  <leeming@lyx.org>
315
316         * mover.h: change commentary to reflect the changed meaning of
317         the $$s placeholder.
318
319 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * output_linuxdoc.C (linuxdocParagraphs): silence warning
322
323         * lyxfind.C (MatchString::operator()): remove bogus semicolon
324
325 2005-01-20  Angus Leeming  <leeming@lyx.org>
326
327         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
328         printing diagnostic data by not dereferecing an iterator past the
329         end.
330
331 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
332
333         * buffer.C (readHeader): use "&&" rather than "and".
334
335         * lyxserver.h (inPipeName, outPipeName): make these const.
336
337 2005-01-19  Angus Leeming  <leeming@lyx.org>
338
339         * lyx_main.C (error_handler, init): protect SIGHUP with
340         #ifdef SIGHUP guards.
341
342 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
345
346 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text.C (setHeightOfRow): add a margin at the top and bottom of
349         the document (bug 1761)
350
351 2005-01-17  Angus Leeming  <leeming@lyx.org>
352
353         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
354         with "python ". Workaround for a brain-dead Windows.
355
356 2005-01-16  Angus Leeming  <leeming@lyx.org>
357
358         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
359         for MacOSX and Windows to use prependEnvPath.
360         Strip out the hard-coded block to add elements to the PATH for
361         MacOSX and replace it with a call to prependEnvPath using the
362         contents of LyXRC::path_prefix.
363         (queryUserLyXDir): strip out the code to run reconfigure, instead
364         returning a boolean indicating the necessity to do so.
365         (reconfigureUserLyXDir): contains the code to reconfigure the
366         user support directory. Is now called after the various LyXRC data
367         files have been read.
368
369         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
370
371 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * converter.[Ch] (convert): take a new parameter try_default. Use
374         a default converter (imagemagick) if try_default is true.
375
376 2005-01-13  Angus Leeming  <leeming@lyx.org>
377
378         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
379         os::cygwin_path_fix.
380         (write): output LyXRC::cygwin_path_fix as necessary.
381
382 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
383
384         * lyxrc.h:
385         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
386
387 2005-01-12  Angus Leeming  <leeming@lyx.org>
388
389         * lyx_main.C (init): set the PATH variable to include the
390         directory containing the LyX binary when running on Mac or Windows.
391
392 2005-01-12  Angus Leeming  <leeming@lyx.org>
393
394         * lyx_main.C (init): remove cruft that purports to set the locale
395         dir. It doesn't and is not needed anyway.
396
397 2005-01-10  Angus Leeming  <leeming@lyx.org>
398
399         * Makefile.am: remove the lyx_main.C special casing.
400
401         * BufferView_pimpl.C:
402         * bufferlist.C:
403         * exporter.C:
404         * lyx_cb.C:
405         * lyx_main.C:
406         * lyxfunc.C:
407         * messages.C: use support/package.h to provide the paths to the
408         various directories used by LyX.
409
410 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
411
412         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
413         layout if pasting into an empty paragraph)
414
415 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
416
417         * tex-accent.C: add <string>
418
419 2005-01-06  José Matos  <jamatos@lyx.org>
420
421         * ParagraphParameters.C (write): put every parameter in its own line.
422         * paragraph.C (write): reduce number of consecutive empty lines exported.
423         * buffer.C (LYX_FORMAT): increase file format to 239.
424
425 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
426
427         * everywhere: change support/tostr.h -> support/convert.h
428
429         * tabular.C: make all write_attributes templates, tostr -> convert
430
431         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
432         (emptyTag): and -> &&, and fix type for ret from getChar
433         (getFirstWord): fix type for ret from getChar
434         (onlyText): and -> &&
435         (simpleDocBookOnePar): and not -> && !, fix type for ret from
436         getChar
437
438         * toc.C (goTo, action):
439         * text3.C (dispatch):
440         * text.C (currentState):
441         * tex-accent.C (DoAccent):
442         * sgml.C:
443         * lyxrc.C:
444         * lyxfunc.C (menuNew):
445         * lyxfinc.C (replace):
446         * counters.C (laberItem):
447         * bufferview_funcs.C (font2string):
448         * bufferparams.C (writeFile):
449         * buffer.C (readFile):
450         * Spacing.C (set):
451         * MenuBackend.C: tostr -> convert
452
453         * LaTeX.C (runMessage): fix format
454         (scanAuxFiles): tostr -> convert
455
456         * BufferView_pimpl.C (savePosition): fix format
457         (restorePosition): ditto
458         (dispatch): ditto
459
460 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
461
462         * Spacing.[Ch]: New method getValueAsString().
463
464         * Spacing.[Ch]:
465         * bufferparams.C:
466         * ParagraphParameters.C:
467         * lyxlayout.C:
468         * text.C:
469         * text3.C: store/read spacing value as string.
470
471         * rowpainter.C: change float value (spacing_val) to double.
472
473         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
474         broken custom document spacing).
475
476 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
477
478         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
479         namespace, also more use of temp references and const
480
481         * cursor.[Ch] (getStatus): move to lyxfunc.C
482
483         * bufferparams.C: reformat slightly
484
485         * bufferview_funcs.C (font2string): constify arg
486
487         * changes.C:
488         * converter.C:
489         * counters.C:
490         * bufferlist.C:
491         * buffer_funcs.C: (many funcs): constify arg on function
492         definitions, also make more local vars const, also add ASSERTS on
493         pointer args.
494
495         * buffer.C (LYX_FORMAT): put const in correct place
496         (many funcs): constify arg on function definitions, also make
497         more local vars const
498
499         * aspell_local.h: remove "struct" from typdef setup
500
501         * aspell.C (check): make word_ok const
502         (nextMiss): simplify slightly
503         (error): ditto
504
505 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
506
507         * lyxrc.[Ch]: store all float values as strings.
508         use int (not float) for lyxrc.dpi.
509
510 2005-01-04  Angus Leeming  <leeming@lyx.org>
511
512         * lyx_cb.C (Reconfigure):
513         * lyx_main.C (queryUserLyXDir):
514         to run the <system_lyxdir>/configure correctly on Windows, prefix
515         the path to the script with "sh " when generating the string that
516         is passed to system().
517
518 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
521
522 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * lyxlength.C (asLatexString): get rid of setprecision
525
526 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * text2.C (setLayout): remove unused variable endpit.
529         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
530
531         * paragraph.C (onlyText): remove unused variable style.
532
533         * cursor.C (bruteFind): remove unused variables beg and end.
534
535         * Makefile.am (dist_noinset_DATA): not needed anymore
536
537         * cheaders/*: remove.
538
539 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
540
541         * text3.C: fix LFUN_MATH_MODE.
542
543 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * buffer_funcs.C (countWords): new function. Counts words between
546         two iterators.
547
548         * BufferView_pimpl.C (getStatus, dispatch): handle
549         LFUN_WORDS_COUNT.
550
551         * LyXAction.C (init):
552         * lfuns.h: add LFUN_WORDS_COUNT.
553
554 2004-12-19  Angus Leeming  <leeming@lyx.org>
555
556         * buffer.C (save): s/slashify_path/internal_path/.
557
558 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * lyxfind.C (findChange): do not search for end of pars, because
561         the change tracker cannot handle this (fixes bug 1719).
562
563 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * paragraph.[Ch] (autoBreakRows): remove
566
567         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
568
569         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
570         avoid using the paragraph one
571
572         * text2.C (LyXText, insertStringAsLines): adjust
573
574 2004-12-16  Angus Leeming  <leeming@lyx.org>
575
576         * bufferlist.C:
577         * lyx_main.C:
578         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
579
580 2004-12-14  Angus Leeming  <leeming@lyx.org>
581
582         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
583
584         * bufferlist.C (emergencyWrite):
585         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
586         GetEnvPath("HOME").
587
588 2004-12-14  Angus Leeming  <leeming@lyx.org>
589
590         * main.C: (main): no longer pass pointers to os::init.
591
592 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * undo.C (textUndoOrRedo): simplify logic, fix a crash
595         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
596
597 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * lyxfunc.C:
600         * text3.C: remove selection_possible global flag
601
602 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * text2.C (getSelectionSpan): remove
605         (changeDepth, changeDepthAllowed): adjust
606
607 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
608
609         * Makefile.am (BOOST_LIBS): use boost variables
610
611 2004-12-03  José Matos  <jamatos@lyx.org>
612
613         * buffer.C: format up to 238.
614
615 2004-12-03  José Matos  <jamatos@lyx.org>
616
617         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
618
619 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
620
621         * cursor.C (goUpDown): remove call to idxUpDown2
622
623 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
624
625         * tabular.[Ch]: use size_t-like types for cell, row and column
626         indices
627
628 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
629
630         * lyxfunc.C (getStatus): do not lose previous information when
631         calling BufferView::getStatus; do not set a default "Command
632         disabled" message at the beginning, but just before returning.
633
634 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
635
636         * cursor.h (getStatus): add better comment from src/cursor.C
637
638 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * text3.C (getStatus): return false when the lfun is not handled
641
642 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * broken_headers.h: remove
645
646         * Makefile.am (lyx_SOURCES): remove broken_headers.h
647
648 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
649
650         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
651         offset_ref accessors
652
653         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
654         top_y_, merge fitcursor with update
655         (updateScrollbar, scrollDocView, fitCursor, center, update): new
656         coord scheme
657         (metrics): introduce
658         (workAreaDispatch): adapt to new coord scheme
659         (redoCurrentBuffer): remove
660
661         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
662
663         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
664         CurStatus enum.
665
666         * coordcache.[Ch]: add paragraph cache and helpers
667
668         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
669         adjust everywhere
670
671         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
672         (targetX, setTargetX): introduce
673
674         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
675         baseline -> ascent, as the rest of lyx
676
677         * lyxtext.h: remove redoParagraphs, updateParPositions,
678         fullRebreak, redoParagraphInternal. move dist to anon namespace in
679         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
680         have ascent/descent (ascent is ascent of first par)
681
682         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
683         step of BufferView
684
685         * paragraph.[Ch]: unify dimension handling with the rest of lyx
686
687         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
688
689         * pariterator.C: fix infinite loop introduced in par->pit renaming
690
691         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
692         in insets and LyXText, draw two off-screen paragraphs using
693         NullPainter, and adapt to new coord scheme
694
695         * text.C:
696         * text2.C:
697         * text3.C: adapt lfun handlers to the new coord scheme, which
698         means: there's only guaranteed coord information for onscreen pars
699         plus one above and one below. This implies that one can do search
700         from y coordinates in the range [-1,workHeight]
701
702 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
703
704         * rename a lot of InsetOld to InsetBase
705
706 2004-11-25  Angus Leeming  <leeming@lyx.org>
707
708         * BufferView_pimpl.C:
709         * lyx_cb.C:
710         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
711
712 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
715         call BufferView::getStatus if LCursor::getStatus did nothing
716         (setStatusMessage, getStatusMessage): removed.
717
718         * FuncStatus.C (message): new methods. Used to provide an error
719         message indicating why a command is disabled.
720         (clear, |=, FuncStatus): update for message.
721
722 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
723
724         * lyxfunc.C (dispatch): always call sendDispatchMessage
725
726 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
727
728         * BufferView.C:
729         * BufferView_pimpl.C:
730         * CutAndPaste.C:
731         * FontIterator.C:
732         * buffer.C:
733         * cursor.C:
734         * cursor_slice.[Ch]:
735         * dociterator.[Ch]:
736         * lyxfind.C:
737         * paragraph_funcs.C:
738         * pariterator.C:
739         * rowpainter.C:
740         * text.C:
741         * text2.C:
742         * text3.C:
743         * undo.C: par->pit renaming
744
745 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
746
747         * tabular.C (cellstruct): use initialization, store a shared_ptr
748         to insettext instead of the insettext directly, adjust to fit.
749         (operator=):  new function
750         (swap): new function
751         (rowstruct): use initialization
752         (columnstruct): use initialization
753         (ltType): use initialization
754
755
756         * lyxlength.h (swap): new function
757
758         * LColor.[Ch] (operator=): use the common semantics
759
760 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * lyxfind.C (findNextChange): update the bufferview after setting
763         the selection.
764
765 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
766
767         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
768         number of InsetOptArgs has already been inserted.
769
770         * output_latex.C (latexOptArgInsets): new method. This outputs all
771         the optarg insets, up to the limit defined in the layout file.
772         (optArgInset): removed
773         (TeXOnePar): call latexOptArgInsets; correctly update texrow
774
775 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * paragraph.C (isLetter): remove special spellchecker-related
778         code; return true also for digits
779         (isWord, isKomma): remove
780
781         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
782         * lyxfind.C (MatchString()): use isLetter instead of isWord
783
784 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
785
786         * pariterator.h (operatir=): comment out un-implemented member
787         function.
788
789         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
790         static cast.
791
792 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
793
794         * lyxfont.h: include LColor.h to satisfy concept checks.
795
796 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
797
798         * pariterator.h: add typdefs for value_type, difference_type,
799         pointer and reference to satisfy concept checks. Also add default
800         constructor for same reason.
801
802         * pariterator.C (operator++): add post-increment operator to
803         satisfy concept checks.
804
805         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
806         checks.
807
808         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
809
810         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
811         checks. Also rename base_type to BaseType to follow naming
812         standard better.
813
814         * FloatList.h: include Floating.h to satisfy concept checks.
815
816 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * lyxfunc.C (getStatus): when the origin of the request is menu or
819         toolbar, and the LyXView does not have focus, do as if there was
820         no buffer (bug 1720)
821
822         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
823         FuncRequest to individual entries of LFUN_SEQUENCE
824
825 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * output_latex.C (TeXOnePar): override runparams.moving_arg
828         according to the needprotect value of the current paragraph (bug
829         1739)
830
831         * paragraph.C (simpleTeXOnePar): no need to override
832         runparams.moving_args here
833
834 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
835
836         * vspace.C: fix off-by-one-error, related to fix #1682
837
838 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
839
840         * lengthcommon.C: a more general fix for bug 1682
841
842 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
843
844         * text.C (backspace): fix crash
845
846 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
847
848         * format.[Ch] (getFormatFromFile): new method
849         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
850
851 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
854
855 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * lyxfunc.C (dispatch): remove the verbose argument
858         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
859         instead
860
861         * kbmap.C (defkey): set the origin of func to KEYBOARD
862
863         * MenuBackend.C (MenuItem):
864         * ToolbarBackend.C (add): set the origin of func to UI
865
866         * funcrequest.[Ch]: add origin member, which indicates which part
867         of LyX requests an action
868
869 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
870
871         * converter.C (move): don't lie in the error message
872         * converter.h (isReachable, move): document
873
874 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
875
876         * buffer.C: remove unused using lyx::support::atoi
877         * paragraph_funcs.C: ditto
878
879 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * bufferlist.C (exists): use bind and equal_to instead of
882         compare_memfun
883         (getBuffer): ditto
884         * lyxtextclasslist.C (NumberOfClass): ditto
885
886         * cursor.C (insert): use for_each instead of explicit for loop
887
888         * bufferlist.C (getFileNames): use std::transform and
889         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
890
891         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
892         for loop
893
894         * buffer.C (changeLanguage): use for_each instead of explicit for
895         loop
896         (hasParWithID): implement using getParFromID
897
898         * LaTeXFeatures.C: ws change only
899
900         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
901         to cleanup a bit.
902
903         * BufferView_pimpl.C (trackChanges): use for_each instead of
904         expilicit for loop
905
906 2004-11-04  André Pönitz  <poenitz@gmx.net>
907
908         * undo.h:
909         * undo.C (textUndoOrRedo): fix crash when creating undo information.
910
911         * dociterator.C (asDocIterator): use hard assert again.
912
913 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * lyxlength.C (asLatexString): rewrite so that it does not use
916         snprintf anymore
917
918 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * text3.C (specialChar, dispatch): make sure cursor moves to the
921         right after inserting an inset
922
923 2004-11-02  José Matos  <jamatos@lyx.org>
924
925         * output_docbook.C (docbook):
926         * paragraph.C (getID):
927         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
928         garantee that the output is always legal.
929
930         * tabular.C (docbook):
931         * outputprams.[Ch]: remove mixed contents.
932
933 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
934
935         * text2.C (setCounter): prevent endless loop
936
937 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
938
939         * exporter.C (copyFile): use the mover instead of support::copy()
940         * exporter.C (Export): pass format and latex name to copyFile()
941         * exporter.h (addExternalFile): document
942         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
943
944 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
945
946         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
947
948 2004-10-30  José Matos  <jamatos@lyx.org>
949
950         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
951         text and no inset or font change. This allows to use CDATA
952         sections just for the whole paragraph.
953
954 2004-10-30  José Matos  <jamatos@lyx.org>
955
956         * paragraph.C (getFirstWord): remove unused variable.
957
958 2004-10-30  José Matos  <jamatos@lyx.org>
959
960         * paragraph.C (getFirstWord): the content should always be escaped
961         there.
962         (simpleDocBookOnePar):
963         * output_docbook.C (makeEnvironment): replace reference to CDATA
964         to style pass_thru.
965
966 2004-10-30  José Matos  <jamatos@lyx.org>
967
968         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
969
970 2004-10-30  José Matos  <jamatos@lyx.org>
971
972         * output_docbook.C (makeParagraphs):
973         * paragraph.[Ch] (emptyTag): for docbook and company, if the
974         standard paragraph has only a given type of content drop the wrapper.
975
976 2004-10-29  José Matos  <jamatos@lyx.org>
977
978         * output_docbook.C (makeEnvironment):
979         * sgml.C (openTag):
980         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
981
982 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
983
984         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
985         (cleanID): sanitize any id.
986
987 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * buffer.C, lyxlex_pimpl.C:
990         * lyxlex_pimpl.C (setFile):
991         s/getExtFromContents/getFormatFromContents/
992
993 2004-10-28  José Matos  <jamatos@lyx.org>
994
995         * output_docbook.C (makeEnvironment): move id to broadest possible
996         scope.
997
998         * sgml.C (openTag): apply substitution of <> for all attributes.
999
1000 2004-10-28  José Matos  <jamatos@lyx.org>
1001
1002         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1003         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1004         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1005
1006         * sgml.[Ch]: new version for open and closeTag for paragraph and
1007         for strings. Now they handle the ids of paragraphs.
1008
1009 2004-10-26  Angus Leeming  <leeming@lyx.org>
1010
1011         * Makefile.am: add mover.[Ch].
1012
1013         * converter.C (convert, move): use the new Movers to move external
1014         files to the temp directory.
1015
1016         * lyx_main.C (init): ensure that the global system_movers data
1017         is initialised.
1018
1019         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1020         preferences file.
1021
1022         * mover.[Ch]: new files, defining a Mover as a utility to move an
1023         external file between directories and, if necessary, manipulate this
1024         file using a helper script.
1025
1026 2004-10-25  José Matos  <jamatos@lyx.org>
1027
1028         * output_docbook.C (makeCommand): merge two if's that tested the
1029         same condition.
1030
1031 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * sgml.C (escapeString): fix warning in a better way
1034
1035 2004-10-25  José Matos  <jamatos@lyx.org>
1036
1037         * sgml.C (escapeString): import the require boosts header file for
1038         tie, and avoid a signed unsigned comparison.
1039
1040 2004-10-25  José Matos  <jamatos@lyx.org>
1041
1042         * sgml.h: add #include <string>
1043
1044 2004-10-25  José Matos  <jamatos@lyx.org>
1045
1046         * sgml.[Ch] (escapeString): new function to escape all the string.
1047
1048 2004-10-24  José Matos  <jamatos@lyx.org>
1049
1050         * paragraph.[Ch] (getFirstWord): new function to get the first
1051         word. Useful for description.
1052         (simpleDocBookOnePar): remove depth argument, add another that
1053         says where to start the paragraph.
1054
1055         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1056         use the new functions to fix cleanly the support for descriptions.
1057
1058 2004-10-24  José Matos  <jamatos@lyx.org>
1059
1060         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1061         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1062         * output_linuxdoc.C (linuxdocParagraphs):
1063         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1064         add buffer as argument.
1065
1066 2004-10-24  José Matos  <jamatos@lyx.org>
1067
1068         * output_docbook.C (makeEnvironment, searchEnvironment): place
1069         CDATA inside paragraphs and fix scope for listitems.
1070
1071 2004-10-24  José Matos  <jamatos@lyx.org>
1072
1073         * output_docbook.C: remove using statement for stack.
1074
1075 2004-10-23  José Matos  <jamatos@lyx.org>
1076
1077         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1078         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1079         docbook. The new scheme is recursive and makes use of iterators, the
1080         same as latex export works.
1081         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1082         directly with the paragraph contents. This code was moved up to
1083         output_docbook.C (docbookParagraphs).
1084         * sgml.C (openTag, closeTag): removed unneeded newlines.
1085         (closeEnvTags) removed.
1086
1087 2004-10-23  André Pönitz  <poenitz@gmx.net>
1088
1089         * undo.C (textUndoOrRedo):
1090         * dociterator.C (asDocIterator): work around crash
1091
1092         * cursor.C (getStatus): replace ASSERT by more verbose error message
1093           and manual correction of the problem. Should increase stability
1094           while providing more sensible information.
1095
1096 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1099
1100         * bufferlist.C (previous, next): new methods
1101
1102         * lfuns.h:
1103         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1104
1105 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1106
1107         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1108         entities to preamble.
1109
1110 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1111
1112         * messages.C (Pimpl): strip off translation context information
1113
1114 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1117         the cursor is correct (bug 1694)
1118
1119 2004-10-13  José Matos  <jamatos@lyx.org>
1120
1121         * output_docbook.C (docbookParagraphs): fix closing tags in the
1122         end of the document.
1123
1124 2004-10-09  José Matos  <jamatos@lyx.org>
1125
1126         * buffer.C: format up to 237.
1127         * bufferparams.C (write): use tostr to convert booleans to strings.
1128
1129 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1130
1131         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1132
1133 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1134
1135         * LaTeX.C: implement use of babel language in xindy.
1136
1137 2004-10-05  José Matos  <jamatos@lyx.org>
1138
1139         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1140         Add new translators to help reading and writing the lyx file.
1141
1142 2004-10-05  José Matos  <jamatos@lyx.org>
1143
1144         * ParagraphParameters.C (read):
1145         * text.C (readParToken): replace nexToken by more appropriate lex
1146         methods.
1147
1148 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1149
1150         * LaTeX.C (runMakeIndex):
1151         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1152         (usually 'makeindex') configurable.
1153
1154         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1155         with a variable rather than with a number.
1156
1157 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * output_latex.C (TeXOnePar): make sure font setting is the first
1160         thing that gets output (and the last at the end). Should fix bug
1161         1404.
1162
1163 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1164
1165         * pch.h: use proper signal include
1166
1167         * LaTeX.h: Use preferred calling of Boost.Signal
1168         * buffer.h: ditto
1169
1170 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1171
1172         * pch.h: dont include <boost/function/function0.hpp>
1173
1174         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1175
1176         * paragraph_pimpl.h: remove usage of ShareContainer
1177
1178         * paragraph_pimpl.C: remove initialization of ShareContainer.
1179
1180 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         Fix bug #1666
1183
1184         * BufferView.C (putSelectionAt): change the semantics when
1185         backwards == true: now, this just swaps cursor and anchor wrt the
1186         forward case
1187
1188         * BufferView.h (putSelectionAt): add some documentation
1189
1190         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1191         make sure backwardChar is done at least once (to avoid getting
1192         stuck)
1193         (findNextChange): use putSelectionAt in the forward direction
1194         (operator()): use Paragraph::isWord
1195
1196 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * Spacing.C (set): c_str fix
1199
1200 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1201
1202         * lyx_cb.C (Reconfigure): quote the name of configure script in
1203         case it contains spaces
1204
1205 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1206
1207         * client: new dir
1208
1209         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1210         (BOOST_LIBS): use top_buildir when looking for the file
1211
1212 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1213
1214         * pch.h: do not use include boost/format.hpp, multiple symbols
1215                 will result (gcc bug)
1216
1217
1218 2004-08-23  José Matos  <jamatos@lyx.org>
1219
1220         * bufferparams.C (readToken): fix reading of the author field.
1221
1222 2004-08-20  José Matos  <jamatos@lyx.org>
1223
1224         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1225
1226 2004-08-20  José Matos  <jamatos@lyx.org>
1227
1228         * lyxlex.[Ch] (findToken): remove function.
1229
1230         * ParagraphParameters.C (findToken):
1231         * bufferparams.C (findToken): replace call for previous function
1232         with local copy. This local function has one more argument, the
1233         read string argument.
1234
1235 2004-08-16  José Matos  <jamatos@lyx.org>
1236
1237         * ParagraphParameters.C (write):
1238         * Spacing.C (writeFile):
1239         * bufferparams.C (writeLaTeX):
1240         * lyx_cb.C (Reconfigure):
1241         * paragraph.C (write):
1242         * tabular.C (write): remove unnecessary space at end of line.
1243
1244
1245 2004-08-16  José Matos  <jamatos@lyx.org>
1246
1247         * text.C (readParagraph): remove debug message.
1248
1249 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1252         crash
1253
1254         * output_plaintext.C (asciiParagraph): set depth correctly
1255
1256         * outputparams.h: add member depth
1257
1258         * paragraph_funcs.C (ownerPar): remove.
1259
1260         * text2.C (setCounter): remove first_pit; comment out some
1261         non-working code that uses ownerPar
1262
1263         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1264         uses ownerPar
1265
1266 2004-08-16  José Matos  <jamatos@lyx.org>
1267
1268         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1269         For the same level of importance use the same chanel to report problems.
1270         (read): add code to deal with \begin_body and \end_body.
1271
1272
1273 2004-08-15  José Matos  <jamatos@lyx.org>
1274
1275         * lyxlex.C (getString): fix comment, buffer::readBody is now
1276         buffer:readDocument.
1277
1278         * tex-strings.C (string_papersize): Default -> default,
1279         Custom -> custom, for consistency with other options.
1280
1281 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1282
1283         * pch.h: new file
1284
1285         * Makefile.am: support pch
1286
1287 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * text.C (readParToken): remove the static LyXFont variable and
1290         pass it as a parameter instead. This fixes a nasty bug where an
1291         inset will be inserted with a bad font in some situations
1292         (readParagraph): adapt
1293
1294         * text2.C (setCounter): reduce number of calls to pars_[pit]
1295
1296         * text.C (singleWidth): add an assert, fix a test
1297
1298         * rowpainter.C (paintText): reduce number of calls to singleWidth
1299
1300         * paragraph.C (isHfill):
1301         (isNewline): ws only
1302
1303 2004-08-14  André Pönitz  <poenitz@gmx.net>
1304
1305         * text.C:
1306         * text2.C:
1307         * rowpainter.C:
1308         * lyxtext.h (several functions): use a Paragraph & argument
1309         instead of par_type
1310
1311 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1312
1313         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1314
1315         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1316
1317         * text.C (singleWidth): remove useless test
1318
1319 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * tabular.h: remove bogus comments
1322
1323         * tabular.C (getDescentOfRow):
1324         (isPartOfMultiColumn): add assertions
1325
1326         * lyxlength.C (inPixels): remove #warning
1327
1328 2004-08-14  André Pönitz  <poenitz@gmx.net>
1329
1330         * paragraph.h: inline getChar()
1331
1332         * BufferView.h: remove unused declarations
1333
1334 2004-08-14  José Matos  <jamatos@lyx.org>
1335
1336         * Buffer.[Ch] (readDocument): new name for old readBody.
1337         * Buffer.C: new file format, new keywords: \begin_document,
1338         \begin_header, \begin_body, \end_body.
1339
1340         * bufferparams.C (readToken): replace all calls to lex.nextToken
1341         by lex.next(). Do the same to eatLine except where really needed.
1342
1343         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1344         line when writing to the lyx file.
1345
1346         * output_plaintext.C (asciiParagraph): fix Bibliography style
1347         handling.
1348
1349         * text.C (read): fix end of file handling.
1350
1351 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * MenuBackend.C (Menu::operator[]): new method to access
1354         individual menu items
1355         (Menu::hasFunc): new method. search for an item that corresponds
1356         to a given func
1357         (MenuBackend::specialMenu): new method
1358         (MenuBackend::expand): if a special menu has been set, skip
1359         entries whose func() appears in this menu
1360
1361 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1362
1363         * text3.C: use Debug::DEBUG a bit more
1364
1365         * text.C (leftMargin): try to simplify a tiny bit change var x to
1366         l_margin. Dont output the wide margins always.
1367         (rightMargin): no margin in inner texts
1368
1369         * rowpainter.h (nestMargin): new func
1370         (changebarMargin): new func
1371         (rightMargin): new func
1372
1373         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1374         now functions.
1375         (paintLast): ditto
1376
1377         * factory.C (createInset): modify setDrawFrame
1378
1379         * cursor.C: use Debug::DEBUG a bit more
1380
1381 2004-08-14  André Pönitz  <poenitz@gmx.net>
1382
1383         * coordcache.[Ch]:
1384         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1385         cache for all insets in (at least partially) visible (top-level)
1386         paragraphs.
1387
1388         * BufferView_pimpl.C: reset external coord cache before every update.
1389         This means the coord cache only contains valid entries.
1390
1391 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1392
1393         bug 1096
1394         * BufferView_pimpl.C (getInsetByCode): move function out of class
1395         and change in to a template in anon namespace. Also fix to do what
1396         suits us better.
1397
1398 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1399
1400         bug 1305
1401         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1402         of char
1403         (breakParagraph): rename par to par_offset and use a local
1404         reference. Add code to keep the language over a rebreak.
1405         (breakParagraphConservative): rename par to par_offset, use a
1406         local reference
1407         (mergeParagraph): ditto
1408         (outerHook): ditto
1409         (isFirstInSequence): ditto
1410         (outerFont): rename pit to par_offset
1411
1412         * paragraph.C: ws change
1413         * paragraph.h: ditto
1414         * text3.C: ditto
1415         * text.C: ditto
1416
1417 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1420         treatment for ']'
1421
1422         * paragraph.C (simpleTeXOnePar): when we have a \item with
1423         optional argument, enclose the argument with curly brackets (in
1424         case it contains a closing square bracket)
1425
1426         * text2.C (editXY):
1427         * text2.C (editXY):
1428         * text3.C (checkInsetHit): constify
1429
1430 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1433         documents (bug 1629)
1434
1435 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         Fix toggling of collapsable insets with the mouse (bug 1558)
1438
1439         * lyxfunc.C (dispatch): adapt to LCursor changes
1440
1441         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1442         make sure that dispatch is not invoked twice
1443
1444         * cursor.C (needsUpdate): new method
1445         (dispatch): return void
1446         (result): new method, to access the DispatchResult of the cursor.
1447
1448 2004-08-13  José Matos  <jamatos@lyx.org>
1449
1450         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1451
1452 2004-08-13  André Pönitz  <poenitz@gmx.net>
1453
1454         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1455
1456         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1457           multiple cells
1458
1459 2004-08-12  André Pönitz  <poenitz@gmx.net>
1460
1461         * text3.C: take out the 'cursor right' form insertInset and only
1462         do it in those places when it is really needed. Fixes crash on
1463         C-m...
1464
1465 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1468
1469         * BufferView_pimpl.C (setBuffer): initialize the current font of
1470         the underlying LyXText
1471
1472 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1473
1474         * kbsequence.C (print): use UI native formatting for menu
1475         shortcuts
1476
1477         * text.C (insertChar): call Paragraph::insertChar with a font
1478         argument (cosmetic)
1479
1480         * paragraph.C (insertInset, insertChar): the version that takes a
1481         LyXFont argument is now a wrapper around the other one (the
1482         opposite used to be true).
1483
1484         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1485         argument. Font setting is done in Paragraph now.
1486
1487 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1488
1489         * outputparams.h: add new members intitle and lang.
1490
1491         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1492         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1493
1494 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1495
1496         * text3.C (dispatch): remove special handling of button 4 and 5,
1497         it is now taken care of in the frontend code.
1498
1499 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1500
1501         * Spacing.h: add <string> (STLPort compile fix)
1502
1503 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1504
1505         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1506
1507 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1508
1509         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1510         to bool.
1511
1512         * converter.C (showMessage): inherit from unary_function, make
1513         operator() const.
1514
1515         * buffer.C (writeFile): initialize retval
1516
1517         * InsetList.h: rename private variable list to list_
1518         * InsetList.[Ch]: adjust accordingly.
1519
1520 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1521
1522         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1523         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1524         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1525         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1526         * ParagraphParameters.C, LaTeXFeatures.C: replace
1527         "support/std_sstream.h" with <sstream>
1528
1529 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1530
1531         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1532         * lyxsocket.C (LyXServerSocket): ditto
1533         (serverCallback): ditto
1534
1535 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1536
1537         * LaTeXFeatures.C: check release date when loading jurabib.
1538
1539 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1540
1541         * lyxserver.C (startPipe): call register_socket_callback
1542         (endPipe): call unregister_socket_callback
1543
1544 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1545
1546         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1547         (LyXServerSocket): register the callback
1548         (LyXServerSocket): unregister the callback
1549         (fd): delete function
1550         (serverCallback): improve error checking and setup the callbacks.
1551         (dataCallback): change arg to fd.
1552         (writeln): new func (copied fro the client socket) used for server
1553         write to client.
1554         (LyXDataSocket): simplify
1555         (~LyXDataSocket): close ann unregiser callback
1556         (server): delete function
1557         (fd): delete function
1558         (readln): small changes, improve some std::string usage
1559         (writeln): constify a bit
1560
1561 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1564         Qt frontend
1565
1566 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1569         after it has been populated
1570
1571 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1572
1573         * text2.C (insertInset): move cursor when inserting inset.
1574
1575 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * kbmap.C (findbindings): a couple of new methods. returns a
1578         container of kb_sequence objects. The real work is done by the
1579         private recursive version
1580         (printbindings): uses findbindings to print out a bracketed list
1581         of bindings (renamed from findbinding).
1582
1583         * MenuBackend.C (binding): use kb_keymap::findbindings
1584
1585         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1586
1587 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1588
1589         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1590
1591 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * paragraph.C (isWord): return true on insets that report
1594         isLetter().
1595
1596         * text.C (getWord): use Paragraph::isWord to decide what is in a
1597         word and what is not; fix bug 1609.
1598
1599 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1600
1601         * tex-strings.C: add "none" to string_paperpackages[], fixes
1602         off-by-one-error in the paperpackage selection.
1603
1604         * lyxlex.[Ch]:
1605         * tex-strings.[Ch]: char const * string[n]
1606         -> char const * const string[]
1607
1608 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1611         command, return early.
1612
1613 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1614
1615         * debug.h: add DEBUG to enum and fix size of ANY.
1616
1617         * debug.C: add support for Debug::DEBUG
1618         (showTags): cast errorTags.level to unsigned int
1619
1620         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1621         (redoCurrentBuffer): ditto
1622         (updateScrollbar): ditto
1623         * cursor.C (dispatch): ditto
1624         * text2.C (setLayout): ditto
1625         (setFont): ditto
1626         (updateCounters): ditto
1627         (editXY): ditto
1628         (deleteEmptyParagraphMechanism): ditto
1629
1630 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1631
1632         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1633         annotations to cleanup the Makefile slightly.
1634
1635 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * lyxrc.C: do not set user_email to a default value but use empty
1638         instead. The entry used to be translated, which does not work
1639         since at the point where lyxrc is constructed there is no
1640         translation service available
1641
1642         * messages.C (getLocaleDir): remove and use directly
1643         lyx_localedir() instead
1644
1645 2004-06-02  Angus Leeming  <leeming@lyx.org>
1646
1647         Fix crash caused by dereferencing null pointer 'exportdata' in
1648         OutputParams by creating a new ExportData variable on the heap,
1649         storing it in a boost::shared_ptr.
1650         The crash was triggered when generating an Instant Preview
1651         of an external inset.
1652
1653         * Makefile.am: add outputparams.C
1654
1655         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1656         (c-tor): allocate memory to it.
1657
1658         * exporter.C (c-tor): associated changes.
1659
1660 2004-06-01  Angus Leeming  <leeming@lyx.org>
1661
1662         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1663         contains data before calling isInset(0). (Bug 1513.)
1664
1665 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1666
1667         * exporter.C (checkOverwrite): new method
1668         * exporter.C (copyFile): new method
1669         * exporter.C (Export): copy referenced files to the document dir
1670         * exporter.[Ch]: new class ExportedFile
1671         * exporter.[Ch]: new class ExportData. Contains currently the
1672         names of referenced external files
1673         * outputparams.h: add exportdata member.
1674
1675 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1676
1677         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1678         version.C-tmp
1679
1680 2004-05-19  Angus Leeming  <leeming@lyx.org>
1681
1682         * LaTeXFeatures.C:
1683         * ToolbarBackend.C:
1684         * bufferparams.C:
1685         * lyxfunc.C: small changes due to the introduction of namespace
1686         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1687
1688 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * text3.C (dispatch): supress update when only moving the cursor
1691         * cursor.C (selHandle): remove commented code
1692
1693 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1694
1695         * paragraph.C (startTeXParParams): correct column count
1696         * CutAndPaste.C (pasteSelection): remove const_cast
1697         * output_docbook.C (docbookParagraphs): remove const_cast
1698         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1699         const_cast and return ParagraphList::const_iterator
1700         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1701         * output_plaintext.C (writeFileAscii): remove const_cast
1702         * paragraph.[Ch] (simpleTeXOnePar): make const
1703         * paragraph_funcs.C (outerPar): use const iterators
1704         * paragraph_pimpl.C (validate): use const iterators
1705         * text.C (setHeightOfRow): use const iterators
1706
1707 2004-05-17  Angus Leeming  <leeming@lyx.org>
1708
1709         * lfuns.h:
1710         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1711
1712         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1713         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1714         if the citation engine has changed.
1715
1716 2004-05-14  José Matos  <jamatos@lyx.org>
1717
1718         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1719         if the textclass does not provide it. Have it different for sgml and
1720         xml.
1721         support the language of document.
1722         * output_docbook.C (docbookParagraphs):
1723         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1724         first anchor as the id of the paragraph, remove special case code.
1725         * sgml.C (escapeChar): escape only < & >.
1726
1727 2004-05-14  Angus Leeming  <leeming@lyx.org>
1728
1729         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1730         dependencies on src/frontends/controllers/biblio.h. Define a
1731         CiteEngine_enum wrapper class to enable the enum to be forward
1732         declared.
1733
1734 2004-05-12  Angus Leeming  <leeming@lyx.org>
1735
1736         * buffer.C: up LYX_FORMAT to 234.
1737         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1738         use_numerical_citations with a single biblio::CiteEngine cite_engine
1739         variable.
1740         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1741
1742 2004-05-13  José Matos  <jamatos@lyx.org>
1743
1744         * converter.h:
1745         * converter.C (Converter, readFlags): add xml member.
1746         * outputparams.h: add XML flavor.
1747         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1748
1749 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * lyxfunc.C (dispatch):
1752         (getStatus): fix handling of LFUN_SEQUENCE
1753
1754 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1755
1756         * debug.C (showLevel): do not forget the end-of-line marker
1757
1758 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * kbmap.C (read): do not stop parsing a bind file when an error
1761         occurs (bug 1575)
1762
1763 2004-04-29  Angus Leeming  <leeming@lyx.org>
1764
1765         * cursor.C:
1766         * factory.C:
1767         * pariterator.C:
1768         * text2.C: wrap a bunch of #warning statements
1769         inside #ifdef WITH_WARNINGS blocks.
1770
1771 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1772
1773         * buffer.C: increment format to 233.
1774
1775 2004-04-28  Angus Leeming  <leeming@lyx.org>
1776
1777         * BufferView_pimpl.C:
1778         * lyxfunc.C:
1779         * text3.C:
1780         s/updateToolbar()/updateToolbars()/
1781         s/Toolbar.h/Toolbars.h/
1782
1783 2004-04-28  Angus Leeming  <leeming@lyx.org>
1784
1785         * BufferView.[Ch] (c-tor):
1786         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1787         No longer passes these data to the WorkArea generator.
1788
1789 2004-04-28  Angus Leeming  <leeming@lyx.org>
1790
1791         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1792
1793 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1794
1795         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1796
1797 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * output_latex.C (TeXEnvironment): make sure that there is a line
1800         break before \end{foo} for the last paragraph of a document
1801         (TeXOnePar): if the paragraph is at the end of the document (or
1802         inset) and the language has to be reset, then make sure that the
1803         line break is _before_ the language command, not after (fixes bug
1804         1225); also make sure that the language reset command is the first
1805         thing after the paragraph (to ensure proper nesting of
1806         environments and thus fix bug 1404)
1807
1808 2004-04-21  John Levon  <levon@movementarian.org>
1809
1810         * ToolbarBackend.h:
1811         * ToolbarBackend.C: make "name" be a programmatic name
1812         and a gui_name field.
1813
1814         * lyxfunc.C: display the minibuffer on M-x
1815
1816 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1819         (bug 1526)
1820
1821 2004-04-19  Angus Leeming  <leeming@lyx.org>
1822
1823         * BufferView_pimpl.C (setBuffer): changed preview interface.
1824
1825         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1826         possible values.
1827
1828 2004-04-19  John Levon  <levon@movementarian.org>
1829
1830         * BufferView_pimpl.C:
1831         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1832
1833 2004-04-05  Angus Leeming  <leeming@lyx.org>
1834
1835         * text.C (redoParagraphs): add call to updateCounters(), thereby
1836         fixing the missing "Figure #:" label from the caption of a
1837         figure float.
1838
1839 2004-04-13  Angus Leeming  <leeming@lyx.org>
1840
1841         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1842         cursor is clicked out of an inset.
1843
1844 2004-04-13  Angus Leeming  <leeming@lyx.org>
1845
1846         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1847         than an InsetOld one.
1848
1849 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1850
1851         * format.[Ch]: add editor to Format
1852         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1853         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1854
1855 2004-04-08  André Pönitz  <poenitz@gmx.net>
1856
1857         * metricsinfo.h: remove PainterInfo::width member
1858
1859 2004-04-08  Angus Leeming  <leeming@lyx.org>
1860
1861         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1862         "\providecommand" rather than "\newcommand", thereby preventing
1863         clashes with packages that define "\boldsymbol" themselves.
1864         Eg, beamer.
1865
1866 2004-04-08  Angus Leeming  <leeming@lyx.org>
1867
1868         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1869         thereby squashing an unnecessary warning.
1870
1871 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1872
1873         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1874         setBuffer()
1875
1876 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * BufferView.C (setCursor): call redoParagraph (some insets could
1879         have been opened)
1880         (putSelectionAt): remove the 'double update' trick
1881
1882         * BufferView_pimpl.C (fitCursor): call refreshPar
1883         (workAreaDispatch): remove an uneeded update call
1884         (dispatch): remove some manual update calls
1885
1886         * cursor.[Ch]: remove cached_y_, updatePos
1887         (selHandle): set noUpdate when appropriate
1888
1889         * lyxfunc.C (dispatch): track if we need an update
1890
1891         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1892
1893         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1894         (paintSelection): cheap optimization, do not call cursorX when not
1895         needed
1896         (paintPars): change signature
1897         (refreshPar): add
1898         (paintText): adjust
1899         (paintTextInset): adjust
1900
1901         * text.C: adjust
1902
1903 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * lengthcommon.C: compilation fix: remove explicit array size from
1906         unit_name[] and friends
1907
1908 2004-04-05  Angus Leeming  <leeming@lyx.org>
1909
1910         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1911
1912         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1913         present only for the preferences dialog.
1914         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1915
1916 2004-04-05  Angus Leeming  <leeming@lyx.org>
1917
1918         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1919         to enable the frontends to export changes to lyxrc correctly.
1920
1921         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1922
1923 2004-04-07  André Pönitz  <poenitz@gmx.net>
1924
1925         * cursor.[Ch] (selClear, adjust): remove math
1926
1927         * cursor_slice.C: more agressive assert
1928
1929         * lyxfunc.C:
1930         * BufferView_pimpl.C: rework mouse event dispatch
1931
1932         * dociterator.C:
1933         * paragraph.C:
1934         * text2.C:
1935         * text3.C: adjust
1936
1937 2004-04-05  André Pönitz  <poenitz@gmx.net>
1938
1939         * cursor.[Ch] (valign, halign...): remove unneeded functions
1940
1941 2004-04-05  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyxlength.[Ch] (unit_name et al.): const-correct.
1944
1945 2004-04-05  Angus Leeming  <leeming@lyx.org>
1946
1947         * BufferView_pimpl.C:
1948         * buffer.C:
1949         * counters.C:
1950         * cursor.C:
1951         * lyxfunc.C
1952         * paragraph.C:
1953         * pariterator.C:
1954         * text.C:
1955         * text2.C:
1956         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1957
1958 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1961
1962 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1963
1964         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1965         * BufferView_pimpl.[Ch] (getStatus)
1966         * BufferView.[Ch] (getStatus): add
1967         * lyxfunc.C (getStatus): move lfuns handled in
1968         BufferView::dispatch to te function above
1969         * Cursor.C (setSelection): set selection() = true
1970
1971 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1972
1973         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1974
1975 2004-03-31  Angus Leeming  <leeming@lyx.org>
1976
1977         * lyxfunc.C (dispatch): Fall through to the generic
1978         Dialogs::show("preamble").
1979
1980 2004-03-31  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyxfunc.C (dispatch): Fall through to the generic
1983         Dialogs::show("spellchecker").
1984
1985 2004-03-31  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1988         preferences dialog.
1989
1990 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1991
1992         * BufferView.C
1993         * cursor.[Ch]
1994         * dociterator.[Ch]:
1995         * insetiterator.[Ch]:
1996         * lyxfind.C:
1997         * lyxfunc.C:
1998         * pariterator.[Ch]:
1999         * text2.C:
2000         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2001
2002 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2005         insets where we are putting the cursor.
2006
2007 2004-03-31  Angus Leeming  <leeming@lyx.org>
2008
2009         * lfuns.h:
2010         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2011
2012         * lyxrc.[Ch] (read, write): overloaded member functions taking
2013         a std::[io]stream arguments.
2014
2015         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2016
2017 2004-03-31  Angus Leeming  <leeming@lyx.org>
2018
2019         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2020         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2021
2022         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2023         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2024
2025 2004-03-31  Angus Leeming  <leeming@lyx.org>
2026
2027         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2028         the LFUN_ALL_INSETS_TOGGLE code.
2029
2030 2004-03-30  Angus Leeming  <leeming@lyx.org>
2031
2032         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2033         has died. Fall through to the generic Dialogs::show("document").
2034
2035 2004-03-30  Angus Leeming  <leeming@lyx.org>
2036
2037         * lfuns.h:
2038         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2039         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2040
2041         * lyxfunc.C (getStatus, dispatch): define the actions for these
2042         lfuns. Little more than a cut and pste job from ControlDocument.C
2043
2044         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2045
2046 2004-03-30  Angus Leeming  <leeming@lyx.org>
2047
2048         * lfuns.h:
2049         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2050         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2051
2052         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2053         open/closed state of ollapsable insets. Usage:
2054
2055         all-inset-toggle <state> <name>, where
2056         <state> == "open" || "closed" || "toggle" and
2057         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2058
2059         * lyxtext.h, text2.C (toggleInset): removed.
2060
2061         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2062         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2063         now passes LFUN_INSET_TOGGLE to the found inset.
2064
2065         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2066         is now invoked as "all-insets-toggle toggle branch".
2067
2068 2004-03-30  Angus Leeming  <leeming@lyx.org>
2069
2070         * dociterator.C:
2071         * insetiterator.C:
2072         * pariterator.[Ch]: added/corrected header blurb.
2073
2074 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * dociterator.[Ch]: add an inset_ member
2077         (backwardPos): implemented
2078         (backwardPos, forwardPos): use inset_ when the stack is empty.
2079         (doc_iterator_begin, doc_iterator_end): implemented
2080         * pariterator.[Ch]: adjust, add begin, end
2081         * insetiterator.[Ch]: adjust, add begin, end
2082         * cursor.C:
2083         * document.C:
2084         * BufferView.C:
2085         * BufferView_pimpl.C:
2086         * CutAndPaste.C: adjust
2087
2088 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2089
2090         * buffer.C: increment file format to 232.
2091         * LaTeXFeatures.C: add bibtopic package.
2092         * bufferparams.[Ch]: param \use_bibtopic.
2093
2094         * lyxrc.[Ch]: add lyxrc bibtex_command
2095         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2096
2097         * buffer.C: increment file format to 231.
2098
2099 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * dociterator.C: implement forwardPar
2102         * iterators.[Ch]: remove, replaced by
2103         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2104         * BufferView.C:
2105         * BufferView_pimpl.C:
2106         * CutAndPaste.C:
2107         * buffer.C:
2108         * bufferview_funcs.C:
2109         * cursor.C:
2110         * lyxfind.C
2111         * lyxfunc.C
2112         * paragraph_funcs.C
2113         * toc.C:
2114         * Makefile.am: adjust
2115
2116 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2117
2118         * CutAndPaste.C (pasteSelection): fix 2 crashes
2119         (eraseSelection): fix a crash
2120         * paragraph_funcs.C: remove a warning
2121
2122 2004-03-28  Angus Leeming  <leeming@lyx.org>
2123
2124         * lfuns.h:
2125         * LyXAction.C (init): new LFUN_PRINT.
2126
2127         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2128
2129 2004-03-27  Angus Leeming  <leeming@lyx.org>
2130
2131         * lfuns.h:
2132         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2133
2134         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2135
2136 2004-03-27  Angus Leeming  <leeming@lyx.org>
2137
2138         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2139         insetlist always contains non-null pointers to insets.
2140
2141 2004-03-26  Angus Leeming  <leeming@lyx.org>
2142
2143         * src/BufferView_pimpl.C:
2144         * src/CutAndPaste.C:
2145         * src/buffer.C:
2146         * src/iterators.C:
2147         * src/output_plaintext.C:
2148         * src/outputparams.h:
2149         * src/paragraph_funcs.C:
2150         * src/rowpainter.C:
2151         * src/text.C:
2152         * src/text2.C:
2153         * src/frontends/controllers/ControlErrorList.C:
2154         * src/frontends/gtk/FileDialogPrivate.C:
2155         * src/frontends/gtk/GPainter.C:
2156         * src/frontends/gtk/GToolbar.C:
2157         * src/frontends/qt2/QRef.C:
2158         * src/mathed/math_scriptinset.C: squash compiler warnings.
2159
2160 2004-03-26  Angus Leeming  <leeming@lyx.org>
2161
2162         * ispell.C (LaunchIspell::start):
2163         * lyx_cb.C (AutoSaveBuffer::start):
2164         invoke run(DontWait) rather than runNonBlocking().
2165
2166 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2167
2168         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2169
2170 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * kbsequence.C (print): adjust
2173
2174         * kbmap.C (printKeySym): rename and change signature
2175         (printKey): use LyXKeySym::print()
2176
2177 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2178
2179         * undo.C: add using std::advance to compile for stlport
2180
2181 2004-03-24  Angus Leeming  <leeming@lyx.org>
2182
2183         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2184         it leads to a crash when no buffer is present.
2185
2186 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187             Martin Vermeer  <martin.vermeer@hut.fi>
2188
2189         * lyxfunc.C (dispatch):
2190         * bufferparams.C (readToken): use the new LColor::setColor
2191
2192         * LColor.[Ch] (setColor): new version that takes two strings as
2193         argument and creates a new color entry if necessary
2194
2195 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2196
2197         * buffer.C (makeLaTeXFile): if the main latex file that is
2198         processed is usually a subdocument of some master, then pretend
2199         for a while that it is actually the master
2200
2201 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2202
2203         * buffer.C (getLabelList):
2204         (getBibkeyList): use getMasterBuffer()
2205         (getMasterBuffer): new method. Returns the main document in the
2206         case where one is using included documents.
2207
2208 2004-03-25  André Pönitz  <poenitz@gmx.net>
2209
2210         * Makefile.am:
2211         * iterators.[Ch]:
2212         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2213
2214         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2215
2216         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2217         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2218
2219         * ParameterStruct.h: merge with ParagraphParameters
2220
2221         * lyxtext.h: remove LyXText::parOffset() and getPar()
2222
2223         * text3.C: Remove all 'manual' update calls. We do now one per user
2224         interaction which is completely sufficient.
2225
2226         * Bidi.C:
2227         * BufferView.[Ch]:
2228         * BufferView_pimpl.C:
2229         * FontIterator.[Ch]:
2230         * MenuBackend.C:
2231         * ParagraphParameters.[Ch]:
2232         * buffer.C:
2233         * buffer.h:
2234         * bufferlist.C:
2235         * cursor.[Ch]:
2236         * cursor_slice.[Ch]:
2237         * dociterator.[Ch]:
2238         * errorlist.[Ch]:
2239         * factory.C:
2240         * lfuns.h:
2241         * lyxfind.C:
2242         * lyxfunc.C:
2243         * output_docbook.[Ch]:
2244         * output_latex.[Ch]:
2245         * output_linuxdoc.[Ch]:
2246         * output_plaintext.[Ch]:
2247         * paragraph.[Ch]:
2248         * paragraph_funcs.[Ch]:
2249         * paragraph_pimpl.[Ch]:
2250         * rowpainter.C:
2251         * tabular.[Ch]:
2252         * text.C:
2253         * text2.C:
2254         * toc.C:
2255         * undo.[Ch]: adjust
2256
2257         * frontends/controllers/ControlDocument.C:
2258         * frontends/controllers/ControlErrorList.C:
2259         * frontends/controllers/ControlSpellchecker.C:
2260         * insets/inset.C:
2261         * insets/inset.h:
2262         * insets/insetbase.h:
2263         * insets/insetbibitem.C:
2264         * insets/insetbox.C:
2265         * insets/insetbranch.C:
2266         * insets/insetcaption.C:
2267         * insets/insetcharstyle.C:
2268         * insets/insetcharstyle.h:
2269         * insets/insetcollapsable.C:
2270         * insets/insetcollapsable.h:
2271         * insets/insetert.C:
2272         * insets/insetfloat.C:
2273         * insets/insetfoot.C:
2274         * insets/insetmarginal.C:
2275         * insets/insetnote.C:
2276         * insets/insetoptarg.C:
2277         * insets/insettabular.C:
2278         * insets/insettext.C:
2279         * insets/insettext.h:
2280         * insets/insetwrap.C:
2281         * mathed/math_mboxinset.C:
2282         * mathed/math_nestinset.C:
2283         * mathed/math_scriptinset.C:
2284         * mathed/math_scriptinset.h:
2285         * support/types.h:
2286
2287 2004-03-24  Angus Leeming  <leeming@lyx.org>
2288
2289         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2290         deal with any child processes that have finished but are waiting to
2291         communicate this fact to the rest of LyX.
2292
2293 2004-03-24  Angus Leeming  <leeming@lyx.org>
2294
2295         64-bit compile fixes.
2296
2297         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2298         (c-tor): pass lyx::pos_types rather than ints.
2299
2300         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2301         lyx::pos_type.
2302
2303         * text.C (Delete): compile fix.
2304         (getPar): ensure that function declaration is the same as that in
2305         the header file.
2306
2307 2004-03-23  Angus Leeming  <leeming@lyx.org>
2308
2309         * ispell.C (LaunchIspell):
2310         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2311         a boost::shred_ptr rather than a std::auto_ptr.
2312
2313 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2316         handle LFUN_FILE_INSERT_*
2317
2318         * lyxrc.C (setDefaults, getDescription, output, read):
2319         * lyxrc.h: remove ps_command
2320
2321 2004-03-22  Angus Leeming  <leeming@lyx.org>
2322
2323         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2324         Ensure that error_handler is processed once only and that all data
2325         is saved before attempting to output any warning messages.
2326
2327         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2328
2329 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2332
2333 2004-03-19  André Pönitz  <poenitz@gmx.net>
2334
2335         * cursor.[Ch] (reset): take main text inset as argument
2336
2337         * BufferView: adjust
2338         * BufferView_pimpl.C: adjust
2339
2340         * paragraph.[Ch]: fix completely broken operator=()
2341
2342 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * LColor.C (getFromLyXName): make sure that the color name is used
2345         as lowercase.
2346
2347 2004-03-17  Angus Leeming  <leeming@lyx.org>
2348
2349         * lfuns.h:
2350         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2351
2352         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2353         dialog and to kill a forked process.
2354
2355 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * text2.C (setCursorFromCoordinates): fix font problem
2358
2359 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2360
2361         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2362         bogus "rebuild cursor" code
2363
2364 2004-03-11  André Pönitz  <poenitz@gmx.net>
2365
2366         * buffer.[Ch]: use InsetText instead of LyXText as container for
2367         the main lyx text.
2368
2369         * dociterator.[Ch]: drop the BufferView * member which is not needed
2370         anymore after the change to buffer.C
2371
2372         * paragraph_funcs.C:
2373         * text.C:
2374         * text2.C:
2375         * BufferView.[Ch]:
2376         * BufferView_pimpl.[Ch]:
2377         * cursor.[Ch]:
2378         * cursor_slice.[Ch]: adjust
2379
2380         * text3.C: fix bug in mathDispatch
2381
2382 2004-03-08  André Pönitz  <poenitz@gmx.net>
2383
2384         * undo.[Ch]: use 'StableDocumentIterator' as base for
2385         the Undo struct.
2386
2387 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2388
2389         * LaTeXFeatures.C:
2390         * bufferparams.[Ch]: add jurabib support and param.
2391
2392         * LaTeX.C: add FIXME/comment.
2393
2394 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2395
2396         * buffer.C: increment file format to 230.
2397
2398 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2399
2400         * cursor.C (dispatch): avoid infinite loops
2401
2402 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2403
2404         * rowpainter.C (paintSelection): fix x coordinates
2405
2406 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2407
2408         * text.C (rowBreakPoint): fix breaking before displayed insets
2409
2410 2004-03-01  André Pönitz  <poenitz@gmx.net>
2411
2412         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2413
2414         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2415
2416         * Makefile.am:
2417         * BufferView.C:
2418         * BufferView_pimpl.C:
2419         * buffer.C:
2420         * lyxfind.C:
2421         * lyxfunc.C:
2422         * text.C:
2423         * text2.C:
2424         * text3.C: adjust
2425
2426 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * lyxtext.h:
2429         * text.C:
2430         * text2.C:
2431         * rowpainter.C:
2432         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2433         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2434
2435 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2436
2437         * Bidi.[Ch] (computeTables): const correctness
2438         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2439         fill_hfill, fill_label_hfill and x from Row
2440         * lyxtext.h: prepareToPrint returns a RowMetrics
2441         * rowPainter.C: adjust
2442         * text.C (prepareToPrint): use width, not textWidth. adjust
2443         (redoParagraphInternal, cursorX): adjust
2444         * text2.C (getColumnNearX): adjust
2445         (init): put a default value to the top LyXText::width
2446
2447 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2450
2451 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * lyxtext.h: add FontIterator class
2454
2455         * text.C (FontIterator, operator*, operator->, operator++): add
2456         (rowBreakPoint, setRowWidth): adjust (fixing a
2457         rebreaking bug)
2458
2459 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * BufferView_pimpl.C (workAreaDispatch): allow also
2462         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2463
2464 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * text.C (rowBreakPoint): fix a bug showing with very large insets
2467
2468 2004-02-25  André Pönitz  <poenitz@gmx.net>
2469
2470         * text3.C:
2471         * cursor.[Ch]: move some mathed specific code to mathed
2472
2473 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2474
2475         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2476         use_tempdir in preferences
2477         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2478         tempfile creation
2479         * lyx_main.C: ensure that tempdir is valid
2480         * lyxlex.h: correct typo
2481         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2482         * paragraph.[Ch] (isMultiLingual): make const
2483         * cursor.[Ch] (openable): make const
2484
2485 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2486
2487         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2488
2489 2004-02-20  André Pönitz  <poenitz@gmx.net>
2490
2491         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2492
2493         * cursor.[Ch]: prepare for localized getStatus()
2494
2495         * lyxtext.h:
2496         * tabular.C:
2497         * text.C:
2498         * text2.C:
2499         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2500
2501 2004-02-20  André Pönitz  <poenitz@gmx.net>
2502
2503         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2504
2505 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * text2.C (setCursorFromCoordinates): switch to absolute coords
2508         (cursorUp): adjust
2509         (cursorDown): adjust
2510         * text3.C (dispatch): adjust
2511
2512 2004-02-16  André Pönitz  <poenitz@gmx.net>
2513
2514         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2515           insets/ChangeLog)
2516
2517         * cursor_slice.[Ch]: remove unneeded acessor function
2518
2519         * lyxtext.h: rename rtl() to isRTL()
2520
2521         * rowpainter.C:
2522         * tabular.C:
2523         * text.C:
2524         * text2.C:
2525         * text3.C: adjust
2526
2527 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * rowpainter.C (paintSelection): coord fix
2530
2531 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2532
2533         * Spacing.C: compile fix
2534
2535 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2536
2537         * cursor.C (dispatch): restore current_ before returning
2538
2539 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2540
2541         * text2.C (cursorUp, cursorDown): fix coords
2542         (moveUp): fix crash
2543
2544 2004-02-12  André Pönitz  <poenitz@gmx.net>
2545
2546         * lyxtext.h:
2547         * text.C:
2548         * text2.C:
2549         * text3.C: add LCursor & parameter to most cursor movement functions
2550           remove usage of LyXText::cursorRow() and cursorPar()
2551
2552         * cursor.[Ch]: add textRow() needed members
2553
2554         * BufferView.C:
2555         * BufferView_pimpl.C:
2556         * paragraph.[Ch]:
2557         * BufferView.C:
2558         * BufferView_pimpl.C: adjust
2559
2560 2004-02-11  André Pönitz  <poenitz@gmx.net>
2561
2562         * lyxfunc.C:
2563         * BufferView.[Ch]:
2564         * BufferView_pimpl.C: shift undo/redo handling
2565
2566         * cursor.[Ch]: fix mathed crash
2567
2568         * lyxfind.C:
2569         * lyxtext.h: move selectionAsText to LCursor
2570
2571         * output_latex.C:
2572         * paragraph.C:
2573         * text.C:
2574         * text2.C:
2575         * text3.C: adjust
2576
2577         * rowpainter.C: fix excessive drawing
2578
2579 2004-02-06  André Pönitz  <poenitz@gmx.net>
2580
2581         * BufferView.[Ch]:
2582         * BufferView_pimpl.[Ch]:
2583         * text3.C: move some text specific LFUN handling
2584
2585 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * text3.C (checkInsetHit): adjust coords
2588         * text2.C (getColumnNearX): adjust coords
2589         (edit): adjust coords
2590         * text.C (getRowNearY): add two asserts
2591
2592 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * converter.C:
2595         * format.C: add using std::distance to compile on gcc 2.95/stlport
2596
2597 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2600
2601 2004-02-04  André Pönitz  <poenitz@gmx.net>
2602
2603         * BufferView.[Ch] (insertInset):
2604         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2605
2606         * text2.C:
2607         * text3.C: adjust
2608
2609 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2610
2611         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2612         on the default clause of the switch
2613         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2614         wasn't catched by LCursor::dispatch
2615
2616 2004-02-03  André Pönitz  <poenitz@gmx.net>
2617
2618         * BufferView.C:
2619         * cursor.[Ch]: some additional asserts
2620
2621         * undo.[Ch]: remove LyXText dependency in interface
2622
2623         * lyxfunc.C: adjust
2624
2625         * lyxtext.h (firstPar, lastPar): remove dead functions
2626
2627         * text.C:
2628         * text2.C:
2629         * text3.C:
2630         * paragraph.[Ch]: adjust
2631
2632 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2633
2634         * lyxfind.C (find): fix argument order in call to ::find
2635
2636 2004-02-02  André Pönitz  <poenitz@gmx.net>
2637
2638         * cursor.[Ch]: remove direct access to anchor
2639
2640         * text.C: remove findText() hack
2641
2642 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2643
2644         * iterators.[Ch] (lockPath): remove in favour of...
2645         * BufferView.[Ch] (setCursor): this addition
2646         * BufferView.C (putSelectionAt): adjust
2647         * undo.C (performUndoOrRedo): adjust
2648         * lyxfunc.C (dispatch): adjust
2649
2650 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * iterators.C (lockPath): add a missing slice
2653         * undo.C (performUndoOrRedo): remove redundant positioning code
2654
2655 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2656
2657         * vc-backend.C (scanMaster): ";" -> ';'
2658
2659 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2660
2661         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2662         std::binary_function
2663
2664         * lyxtextclass.C (compare_name): rename to...
2665         (LayoutNamesEqual): ...this
2666
2667         * lyxlex_pimpl.C (compare_tags): inherit from
2668         std::binary_function, put back into anon namespace
2669
2670         * lyxfind.C (MatchString): inherig from std::binary_function
2671         (findChange): use empty() istead of !size()
2672
2673         * format.C (FormatNamesEqual): new functor
2674         (getFormat): use it
2675         (getNumber): use it
2676         (add): use it
2677         (erase): use it
2678         (setViewer): use it
2679
2680         * converter.C (compare_Converter): rename to...
2681         (ConverterEqual): ...this, and fixup a bit.
2682         (getConverter): use it, and make function const
2683         (getNumber): use it, and make function const
2684         (add): use it
2685         (erase): use it:
2686
2687         * bufferlist.C: add using boost::bind
2688
2689         * MenuBackend.C (MenuNamesEqual): new functor
2690         (hasMenu): use it, and make function const
2691         (hasSubmenu): use nested bind to get rid of compare_memfun.
2692
2693 2004-01-30  André Pönitz  <poenitz@gmx.net>
2694
2695         * BufferView_pimpl.C:
2696         * cursor.C:
2697         * cursor.h:
2698         * cursor_slice.[Ch]:
2699         * lyxfunc.C:
2700         * lyxtext.h:
2701         * paragraph_funcs.C:
2702         * paragraph_funcs.h:
2703         * rowpainter.C:
2704         * text.C:
2705         * text2.C:
2706         * text3.C: move some of the edit(x,y) handling to the insets
2707         some coordinate changes.
2708
2709 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2710
2711         * text.C: add using statements for std::advance and std::distance
2712
2713         * paragraph.C: add using statement for std::distance
2714
2715         * lyxfind.C: add using statement for std::advance
2716
2717         * cursor.C (region): remove std:: from swap
2718         (openable): use nucleus in stead of operator->
2719
2720         * BufferView.C: add using statements for std::distance and std::swap
2721
2722 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2723
2724         * iterators.C: Remove the pimple, move the needed structures to
2725         the header file. Create accessor for the positions stack.
2726         (asPosIterator): remove function
2727
2728         * PosIterator.C (PosIterator): move constructors to top of file
2729         (PosIterator): reimplement the constructor taking a ParIterator in
2730         terms of setFrom.
2731         (setFrom): new function
2732         (operator!=): inline it
2733
2734 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2735
2736         * lyxfind.C (replaceAll): use std::advance
2737
2738         * iterators.h: inherit from std::iterator.
2739
2740         * PosIterator.C (advance, distance): remove
2741         * PosIterator.h: interit from std::iterator.
2742
2743 2004-01-26  André Pönitz  <poenitz@gmx.net>
2744
2745         * BufferView.[Ch]:
2746         * BufferView_pimpl.[Ch]:
2747         * InsetList.[Ch]:
2748         * PosIterator.[Ch]:
2749         * buffer.h:
2750         * bufferview_funcs.C:
2751         * cursor.[Ch]:
2752         * cursor_slice.h:
2753         * factory.[Ch]:
2754         * iterators.[Ch]:
2755         * lyxfind.C:
2756         * lyxfunc.C:
2757         * lyxtext.h:
2758         * output_docbook.C:
2759         * output_latex.C:
2760         * output_linuxdoc.C:
2761         * output_plaintext.C:
2762         * paragraph.[Ch]:
2763         * paragraph_funcs.[Ch]:
2764         * paragraph_pimpl.[Ch]:
2765         * rowpainter.C:
2766         * tabular.C:
2767         * tabular.h:
2768         * text.C:
2769         * text2.C:
2770         * text3.C: more IU:  dumps most of the rest of the mathcursor
2771     implementation into cursor.[Ch]; "globalize" a bit of it.
2772
2773 2004-01-25  Angus Leeming  <leeming@lyx.org>
2774
2775         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2776
2777 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2778
2779         * LaTeXFeatures.h: add nice_ and nice() const
2780         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2781
2782 2004-01-20  André Pönitz  <poenitz@gmx.net>
2783
2784         * BufferView.[Ch]:
2785         * BufferView_pimpl.C:
2786         * PosIterator.C:
2787         * bufferview_funcs.C:
2788         * cursor.[Ch]:
2789         * cursor_slice.[Ch]:
2790         * factory.C:
2791         * iterators.C:
2792         * lyx_cb.C:
2793         * lyxfind.C:
2794         * lyxfunc.C:
2795         * lyxtext.h:
2796         * rowpainter.C:
2797         * text.C:
2798         * text2.C:
2799         * text3.C:
2800         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2801           LCursor and mathcursor parts to LCursor and InsetBase.
2802
2803 2004-01-15  André Pönitz  <poenitz@gmx.net>
2804
2805         * cursor_slice.[Ch]: add a few covienience functions
2806
2807         * funcrequest.[Ch]: remove BufferView * member
2808
2809         * BufferView_pimpl.C:
2810         * cursor.C:
2811         * factory.[Ch]:
2812         * lyxfind.[Ch]:
2813         * lyxfunc.C:
2814         * lyxtext.h:
2815         * text3.C:
2816         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2817
2818 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2821         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2822
2823 2004-01-13  André Pönitz  <poenitz@gmx.net>
2824
2825         * textcursor.[Ch]:
2826         * lyxtext.h: hide cursor and selection anchor behind accessor function
2827
2828         * BufferView.C:
2829         * BufferView_pimpl.[Ch]:
2830         * PosIterator.C:
2831         * bufferview_funcs.C:
2832         * cursor.h:
2833         * lyxfind.C:
2834         * lyxfunc.C:
2835         * text.C:
2836         * text2.C:
2837         * text3.C:
2838         * undo.C: adjust
2839
2840         * cursor.h:
2841         * cursor_slice.[Ch]: some integer type changes for inset unification
2842
2843         * lyxcursor.[hC]: remove, it's CursorSlice now.
2844
2845         * Makefile.am:
2846         * BufferView_pimpl.[Ch]:
2847         * bufferview_funcs.C:
2848         * cursor_slice.C:
2849         * lyxtext.h:
2850         * text.C:
2851         * text2.C:
2852         * text3.C:
2853         * textcursor.[Ch]: adjust
2854
2855 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * text2.C (undoSpan): add and use
2858         * text.C (breakParagraph): use undoSpan (fix bug 578)
2859         * lyxtext.h: adjust
2860
2861 2004-01-08  Angus Leeming  <leeming@lyx.org>
2862
2863         * BufferView_pimpl.C (MenuInsertLyXFile):
2864         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2865         * lyxfunc.C (menuNew, open, doImport):
2866         FileFilterList change to the FileDialog open and save functions.
2867
2868 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2869
2870         * ShareContainer.h: make isEqual and isUnique adaptable
2871
2872         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2873
2874 2004-01-07  Angus Leeming  <leeming@lyx.org>
2875
2876         * LyXAction.C:
2877         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2878
2879         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2880
2881         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2882         functions replacing find, replace and replaceAll.
2883
2884         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2885         LFUN_WORDFIND(FORWARD|BACKWARD).
2886
2887 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2888
2889         * text.C (breakParagraph): remove an outdated #warning
2890
2891 2004-01-07  André Pönitz  <poenitz@gmx.net>
2892
2893         * lyxfind.C: somewhat clearer logic
2894
2895         * text.C: prevent crash in cursorX on unitialized row cache
2896
2897 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * lyxcursor.[Ch] (operator>): add
2900         * textcursor.C (selStart, selEnd): use std::min and std::max
2901
2902 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2903
2904         * Chktex.C: include boost/format.hpp
2905
2906 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2907
2908         * InsetList.C: replace functor MathcIt with adaptable functor
2909         InsetTablePosLess
2910         (insetIterator): modify accordingly
2911
2912         * BranchList.h: move the BranchNamesEqual functor here from...
2913         * BranchList.C: ... to here
2914
2915         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2916         SameName and match.
2917         (add): replace a finding loop with std::find_if.
2918
2919 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2920
2921         * output_docbook.C: moving LatexParam functionality into
2922         .layout files
2923
2924 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2925
2926         * buffer.C: increment format to 229.
2927
2928 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2929
2930         * LaTeXFeatures.C:
2931         * lyx_sty.[Ch]: remove minipageindent_def
2932
2933         * LyXAction.C:
2934         * factory.C:
2935         * lfuns.h:
2936         * lyxfunc.C:
2937         * text3.C: remove LFUN_INSET_MINIPAGE
2938
2939 2003-12-28  Angus Leeming  <leeming@lyx.org>
2940
2941         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2942
2943 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2944
2945         * text2.C (setParagraph): fix off-by-one crash
2946
2947 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * output_docbook.C: header stuff for AGU
2950
2951 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * text2.C (redoCursor): remove
2954         * text.C:
2955         * text3.C:
2956         * BufferView_pimpl.C: remove calls to redoCursor and
2957         setCursor(cursor.par(), cursor.pos()) all around
2958
2959 2003-12-15  Angus Leeming  <leeming@lyx.org>
2960
2961         * buffer.C: up the format to 228.
2962
2963 2003-12-15  André Pönitz  <poenitz@gmx.net>
2964
2965         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2966         slices
2967
2968         * Makefile.am:
2969
2970         * BufferView_pimpl.C:
2971         * cursor.[Ch]:
2972         * lyxcursor.[Ch]:
2973         * rowpainter.[Ch]:
2974         * lyxtext.h:
2975         * text.C:
2976         * text2.C:
2977         * text3.C: adjust
2978
2979 2003-12-15  Angus Leeming  <leeming@lyx.org>
2980
2981         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2982         than getFromGUIName to manipulate the color.
2983
2984 2003-12-14  Angus Leeming  <leeming@lyx.org>
2985
2986         * BranchList.[Ch]: minimize the API.
2987         (Branch::getBranch, getColor): now return a 'const &'.
2988         (Branch::setSelected) now returns a bool set to true if the
2989         selection status changes.
2990         (BranchList::clear, size, getColor, setColor, setSelected,
2991         allBranches, allSelected, separator): removed.
2992         (BranchList::find): new functions, returning the Branch with
2993         the given name.
2994         (BranchList::add, remove): return a bool indicating that
2995         the operation was successful.
2996
2997         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2998         new InsetBranch::isBranchSlected member function.
2999
3000         * LColor.[Ch]: mimimize the API.
3001         (fill): renamed as addColor and made private.
3002         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3003         versions of these functions taking a string arg have been removed.
3004
3005         * bufferparams.C (readToken):
3006         * lyxfunc.C (dispatch):
3007         * lyxrc.C (read): changes due to the altered BranchList and
3008         LColor APIs.
3009
3010         * factory.C (createInset, readInset): changes due to altered
3011         InsetBranch c-tor.
3012
3013 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3014
3015         * factory.C:
3016         * lyxfunc.C: remove insetminipage. "minipage-insert"
3017         now produces a frameless minipage box inset.
3018
3019 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3020
3021         * textcursor.[Ch] (selStart,selEnd): add new methods
3022         remove selection::start, end, use LyXCursor::operator<
3023         * lyxcursor.[Ch] (operator<): add
3024         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3025         * BufferView.[Ch] (unsetXSel): add
3026         * text2.C (clearSelection): use unsetXSel,adjust
3027         * text.C: adjust
3028         * text3.C: adjust
3029         * rowpainter.C: adjust
3030         * bufferview_funcs.C (put_selection_at): adjust
3031
3032 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * BufferView_pimpl.C: small coord. correction
3035
3036 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3039         dragging over the splash screen.
3040
3041 2003-12-11  Angus Leeming  <leeming@lyx.org>
3042
3043         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3044         as it is now handled in LyXText::dispatch.
3045
3046         * text3.C (doInsertInset): remove a level of nesting.
3047
3048 2003-12-11  Angus Leeming  <leeming@lyx.org>
3049
3050         * factory.C (createInset): changes due to the changed interface to
3051         InsetCommandMailer::string2params.
3052
3053 2003-12-10  Angus Leeming  <leeming@lyx.org>
3054
3055         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3056         'dialog-show-new-inset <inset name>'
3057
3058 2003-12-10  Angus Leeming  <leeming@lyx.org>
3059
3060         * buffer.C: up the format to 227.
3061
3062         * factory.C: the box inset is now identified simply by 'Box'.
3063
3064 2003-12-10  Angus Leeming  <leeming@lyx.org>
3065
3066         * buffer.C: up the format to 226.
3067
3068         * factory.C: the note inset is now identified simply by 'Note'.
3069
3070 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3071
3072         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3073         when a pit is enough. Standarize a couple of loops.
3074
3075 2003-12-05  Angus Leeming  <leeming@lyx.org>
3076
3077         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3078         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3079         data to the re-worked "log" dialog.
3080
3081 2003-12-03  André Pönitz  <poenitz@gmx.net>
3082
3083         * PosIterator.C:
3084         * iterators.C:
3085         * lyxtext.h:
3086         * output_latex.C:
3087         * paragraph_funcs.C:
3088         * text.C:
3089         * text2.C: use Inset::getText instead of Inset::getParagraph
3090
3091 2003-12-03  André Pönitz  <poenitz@gmx.net>
3092
3093         * buffer.[Ch]:
3094         * lyxtext.h:
3095         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3096         InsetText::read() as LyXText::read()
3097
3098 2003-12-02  Angus Leeming  <leeming@lyx.org>
3099
3100         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3101         type. Add a comment in the implementation that the function uses
3102         the stream's bad() function rather than fail() as the std::streams
3103         would do.
3104
3105 2003-12-02  André Pönitz  <poenitz@gmx.net>
3106
3107         * lyxlex.[Ch]: make interface more similar to std::stream
3108
3109         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3110
3111 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3112
3113         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3114
3115 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3116
3117         * vspace.[Ch]: remove VSpace::NONE
3118
3119 2003-12-01  André Pönitz  <poenitz@gmx.net>
3120
3121         * buffer.[Ch]:
3122         * lyxtext.h: move ParagraphList member to LyXText
3123         rename LyXText::ownerParagraphs to LyXText::paragraph
3124
3125         * CutAndPaste.C:
3126         * bufferview_funcs.C:
3127         * iterators.[Ch]:
3128         * lyx_cb.C:
3129         * paragraph.C:
3130         * rowpainter.C:
3131         * tabular.C:
3132         * text.C:
3133         * text2.C:
3134         * text3.C: adjust
3135
3136         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3137
3138         * undo.C: fix cursor positioning
3139
3140 2003-12-01  John Levon  <levon@movementarian.org>
3141
3142         * BufferView_pimpl.C: fix a crash on exit with
3143         a buffer open
3144
3145 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3146
3147         * BranchList.C: fix setSelected() method.
3148
3149 2003-11-28  André Pönitz  <poenitz@gmx.net>
3150
3151         * ParagraphParameters.[Ch]:
3152         * ParameterStruct.h: remove space above/below from Paragraph to
3153          InsetVSpace
3154
3155         * BufferView_pimpl.C:
3156         * factory.C:
3157         * lyxfunc.C:
3158         * lyxtext.h:
3159         * output_latex.C:
3160         * paragraph.C:
3161         * paragraph_funcs.C:
3162         * rowpainter.[Ch]:
3163         * text.C:
3164         * text2.C:
3165         * text3.C: adjust
3166
3167 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3168
3169         * factory.C: Syntax change for CharStyles
3170
3171 2003-11-28  André Pönitz  <poenitz@gmx.net>
3172
3173         * BufferView.[Ch]:
3174         * BufferView.[Ch]:
3175         * buffer.[Ch]:
3176         * buffer.[Ch]: move LyXText member
3177
3178 2003-11-28  André Pönitz  <poenitz@gmx.net>
3179
3180         * BufferView.[Ch]: make LyXText * text a private member
3181
3182         * BufferView_pimpl.C:
3183         * cursor.C:
3184         * iterators.C:
3185         * lyx_cb.C:
3186         * lyxfind.C:
3187         * lyxtext.h:
3188         * rowpainter.[Ch]:
3189         * text.C:
3190         * text2.C:
3191         * undo.C: adjust
3192
3193         * output_plaintext.C: cleanup
3194
3195 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * buffer.C:
3198         * lyxtextclass.[Ch]: parametrize SGML document header
3199
3200 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3201
3202         * converter.[Ch]:
3203         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3204         getFlavor().
3205
3206 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3207
3208         * text2.C (setFont): rework using PosIterator (no more recursive)
3209         (setCharFont): no more needed
3210         (setLayout): no more selection cursors fiddling (done by redoCursor)
3211         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3212         destroy remaining ones)
3213
3214 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3217         * lyxtext.h: ditto
3218         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3219         selection cursors
3220         * lyxfunc.C: adjust
3221         * text3.C: adjust + re-allow multi par depth changes
3222         * textcursor.C: simplify a bit
3223
3224 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3225
3226         * src/buffer.C:
3227         * src/lyxlayout.C:
3228         * src/lyxlayout.h:
3229         * src/lyxtext.h:
3230         * src/output_docbook.C:
3231         * src/output_latex.C:
3232         * src/paragraph.C:
3233         * src/paragraph.h:
3234         * src/sgml.C:
3235         * src/sgml.h:
3236         * src/text2.C: Introducing a number of tags parametrizing various
3237         XML formats that we may want to support
3238
3239 2003-11-25  André Pönitz  <poenitz@gmx.net>
3240
3241         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3242
3243         * lyxtext.h (leftMargin/rightMargin): simplify interface
3244
3245         * rowpainter.C:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: adjust
3249
3250 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3251
3252         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3253         master file to any child files. Fixes bug 546.
3254
3255 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3256
3257         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3258
3259 2003-11-24  André Pönitz  <poenitz@gmx.net>
3260
3261         * rowpainter.C: simplification
3262
3263         * text2.C (updateCounters): remove call to redoParagraph on
3264         changed labels as this is far too expensive.
3265
3266 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * converter.C (convert): fix a crash: this function gets
3269         called with buffer == 0 from importer code.
3270
3271 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3272
3273         * text3.C (cursorPrevious): make sure that we do not compare
3274         iterators form different containers.
3275         (cursorNext): ditto
3276
3277         * rowpainter.C (paintSelection): make sure that we do not compare
3278         iterators from different containers.
3279
3280         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3281         iterators from different ParagraphList containers.
3282         [NEXT] ditto
3283
3284         * text2.C (LyXText): change order of initialization slightly
3285         (operator=): new function. copy all variables except cache_par_
3286         (moveUp): make sure that we do not compare iterators from
3287         different ParagraphList constainers.
3288         (moveDown): ditto
3289
3290         * text.C (firstPar): new function
3291         (lastPar): new function
3292         (endPar): new function
3293
3294         * lyxtext.h: move things around and group public functions, public
3295         variables, private functions, private variables
3296
3297 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3298
3299         * factory.C: change call to InsetERT constructor to avoid
3300         additional invocation of method status
3301         * text2.C (toggleInset): remove redundant update() call
3302         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3303         instead of a Bufferview pointer
3304
3305 2003-11-21  André Pönitz  <poenitz@gmx.net>
3306
3307         * rowpainter.C: simplification
3308
3309 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * text3.C (dispatch): make possible to extend a word/row selection
3312         with the mouse
3313
3314 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3315
3316         * lyxtext.h: x0_,y0_ -> xo_,yo_
3317         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3318         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3319         * rowpainter.C (paintRows): paint full paragraphs
3320
3321 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3324         screen coordinates)
3325
3326 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * lyxtext.h: add x0_, y0_
3329         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3330         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3331
3332 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * text2.C (setCursorIntern): move the x_target update here *
3335         * text3.C: change some bv() to true/false in calls to
3336         cursorUp/Down/Right/Left
3337         * cursor.C: use helper function.
3338
3339 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3340
3341         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3342         * paragraph_funcs.[Ch]: correct comment
3343         * rowpainter.C: do not paint selections away from bv->cursor()
3344         Fix a long standing selection painting bug.
3345         * text3.C: generalize mouse-selection code to LyXTexts other that
3346         top one
3347         * textcursor.C: do not use y coords if we can use par offsets
3348
3349 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3352         cursor position after e.g. inset insert)
3353
3354 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * lyxfind.C (replace): adjust to locking removal + some
3357         code simplification
3358
3359 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3362         of the path
3363
3364 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3365
3366         * lyxlayout.[Ch]:
3367         * output_docbook.C: XML sanitation: new layout
3368         parameters InnerTag and CommandDepth
3369
3370 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3371
3372         * BufferView_pimpl.C:
3373         * factory.C:
3374         * text3.C: Fix the insertion and modification of button-style
3375         insets
3376
3377 2003-11-13  André Pönitz  <poenitz@gmx.net>
3378
3379         * InsetList.[Ch]: remove deleteLyXText
3380
3381         * paragraph.[Ch]: cache beginOfBody position
3382
3383         * Bidi.C:
3384         * text.C:
3385         * text2.C:
3386         * text3.C: remove superfluous update() calls
3387
3388         * vspace.C: cleanup
3389
3390 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3393         * BufferView.C (fitLockedInsetCursor): remove
3394         * cursor.[Ch] (getDim): add
3395         * text.C (getRowNearY): add faster version
3396         * text3.C: remove some update calls
3397
3398 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3399
3400         * LaTeXFeatures.C:
3401         * LyXAction.C:
3402         * MenuBackend.C:
3403         * MenuBackend.h:
3404         * dispatchresult.h:
3405         * factory.C:
3406         * lfuns.h:
3407         * lyxfunc.C:
3408         * lyxtextclass.C:
3409         * lyxtextclass.h:
3410         * text3.C: The Character Style /XML short element patch.
3411
3412 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3413
3414         * text3.C:
3415         * factory.C: Small step to solving 'unable to insert some insets'
3416         problem
3417
3418 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3419
3420         * cursor.[Ch] (updatePos): new function for updating the y
3421         position of the tip inset
3422         * bufferview_funcs.C (put_selection_at):
3423         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3424
3425 2003-11-11  André Pönitz  <poenitz@gmx.net>
3426
3427         * text.C: remove big comment on invalid Paragraph pointers as it is
3428         not valid anymore
3429
3430 2003-11-11  André Pönitz  <poenitz@gmx.net>
3431
3432         * text_funcs.[Ch]: merge with ...
3433
3434         * text.C: ... this
3435
3436         * lyxtext.h:
3437         * text2.C:
3438         * text3.C: adjust
3439
3440         * Makefile.am: remove text_funcs.[Ch]
3441
3442 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * cursor.C (getPos): return absolute cached y coord
3445
3446         * BufferView_pimpl.C (fitCursor): new simplistic code
3447         (workAreaDispatch): add a fitCursor call
3448
3449 2003-11-10  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView.[Ch]:
3452         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3453
3454 2003-11-10  André Pönitz  <poenitz@gmx.net>
3455
3456         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3457         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3458         indicate that the cursor needs to leave an inset
3459
3460         * lyxtext.h: remove inset locking
3461
3462         * cursor.[Ch]: re-implement functionality provided by inset locking
3463
3464         * BufferView.[Ch]:
3465         * BufferView_pimpl.[Ch]:
3466         * LyXAction.C:
3467         * bufferview_funcs.[Ch]:
3468         * factory.C:
3469         * funcrequest.[Ch]:
3470         * iterators.C:
3471         * lyx_cb.C:
3472         * lyxfind.C:
3473         * lyxfunc.C:
3474         * text.C:
3475         * text2.C:
3476         * text3.C:
3477         * undo.C: adjust
3478
3479 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * PosIterator.[Ch]: replace the stack with a vector, add inset
3482         accesor
3483         * iterators.[C]: adjust
3484
3485 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3488         replaced
3489         * paragraph_funcs.C (readParToken): put the correct id in the
3490         error item, not the id of the top paragraph
3491
3492 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3493
3494         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3495         * bufferview_funcs.C (put_selection_at): use the above
3496
3497 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3498
3499         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3500
3501 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3502
3503         * output_linuxdoc.h:
3504         * output_plaintext.h:
3505         * output.h:
3506         * output_docbook.h: add #include statements
3507
3508 2003-11-05  José Matos  <jamatos@lyx.org>
3509
3510         * output_docbook.[Ch]:
3511         * output_latex.[Ch]:
3512         * output_linuxdoc.[Ch]:
3513         * output_plaintext.[Ch]: New files for output formats.
3514         * output.[Ch]: New file for helper functions.
3515
3516         * buffer.[Ch]:
3517         * paragraph_funcs.[Ch]: output functions moved to new files.
3518
3519         * outputparams.h: rename of latexrunparams.h
3520
3521         * LaTeX.[Ch]:
3522         * buffer.[Ch]:
3523         * bufferlist.[Ch]:
3524         * converter.[Ch]:
3525         * exporter.C:
3526         * paragraph.[Ch]:
3527         * paragraph_funcs.[Ch]:
3528         * paragraph_pimpl.[Ch]:
3529         * tabular.[Ch]: rename ascii to plaintext
3530         and LatexRunParams to OutputParams.
3531
3532 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * iterators.[Ch] (text): require bv argument
3535         * undo.C (recordUndo):
3536         * lyxfunc.C (dispatch):
3537         * bufferview_funcs.C (put_selection_at): adjust
3538
3539 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3540
3541         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3542
3543 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3546         nestings
3547
3548 2003-11-04  André Pönitz  <poenitz@gmx.net>
3549
3550         * cursor.[Ch]: restructure
3551
3552         * BufferView.[Ch]:
3553         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3554
3555         * iterators.[Ch] (asCursor): remove
3556
3557         * lfuns.h: remove LFUN_INSET_EDIT
3558
3559         * lyxfunc.C:
3560         * tabular.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3564
3565 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * lyxfind.[Ch]: complete overhaul
3568         * BufferView_pimpl.C:
3569         * lyxfunc.C: adjust
3570         * paragraph.[Ch] (insert): add
3571
3572 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * BufferView.[Ch]:
3575         * lyxtext.h:
3576         * text.C: remove dead spellcheck code
3577
3578 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * dispatchresult.h: add a val setter
3581
3582         * cursor.C (dispatch): use a tempvar for data_[i]
3583
3584 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * PosIterator.[Ch]: compile fix
3587
3588 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * text.C (cursorPar): deactivate the cursor cache
3591
3592 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3593
3594         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3595
3596 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * text3.C (dispatch): adjust for new DisptchResult semantics.
3599
3600         * lyxfunc.C (dispatch): handle update when return from
3601         Cursor::dispatch, adjust for new DispatchResult semantics.
3602
3603         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3604         DispatchResult(true) mean to not update. Add class functions for
3605         setting dispatched and update, as well as reading.
3606
3607         * cursor.C (dispatch): don't handle update here
3608
3609 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3612         * trans_mgr.C: adjust
3613
3614         * paragraph_funcs.C (readParToken): exception safety
3615
3616         * lyxvc.h: store the vcs pointer in a scoped_ptr
3617         * lyxvc.C: adjust
3618
3619         * lyxsocket.C (serverCallback): exception safety
3620
3621         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3622
3623         * ispell.C (clone): make it return a auto_ptr
3624
3625         * factory.C (createInset): exception safety
3626         (readInset): exception safety
3627
3628         * bufferlist.C (newBuffer): exception safety
3629
3630         * Thesaurus.C (Thesaurus): use initialization for aik_
3631
3632         * MenuBackend.C (expandToc): exception safety.
3633
3634 2003-11-03  André Pönitz  <poenitz@gmx.net>
3635
3636         * buffer.C:
3637         * buffer.h:
3638         * bufferview_funcs.C: remove getInsetFromId()
3639
3640         * lyxcursor.[Ch]:
3641         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3642
3643         * lyxfunc.C:
3644         * text2.C:
3645         * text3.C: adjust
3646
3647 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * PosIterator.C (distance, advance): new
3650         * bufferview_funcs.[Ch] (put_selection_at): new
3651         * iterators.[Ch] (lockPath): new
3652
3653 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * iterators.[Ch] (asPosIterator): added
3656         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3657         * PosIterator.[Ch]: added
3658
3659 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * text3.C:
3662         * lyxfunc.C:
3663         * cursor.C (dispatch):
3664         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3665
3666         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3667         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3668         contructor, add a class function dispatched. Remove operator>=
3669
3670 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * debug.C: only use the default constructor for debugstream
3673         (lyxerr) here.
3674
3675         * main.C (main): include debug.h and setup the lyxerr streambuf
3676         here.
3677
3678 2003-10-31  José Matos  <jamatos@lyx.org>
3679
3680         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3681
3682         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3683         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3684         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3685         * paragraph_pimpl.C (simpleTeXSpecialC):
3686         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3687         add LatexRunParams argument.
3688
3689         * exporter.C (Export): change call accordingly.
3690
3691         * latexrunparams.h: add new member to take care of the other backends.
3692 2003-10-30  José Matos  <jamatos@lyx.org>
3693
3694         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3695         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3696         factorise code for paragraph output.
3697         * buffer.[Ch]:
3698         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3699         move functions.
3700
3701 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * text3.C (dispatch):
3704         * lyxfunc.C (dispatch):
3705         * cursor.C (dispatch):
3706         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3707
3708         * dispatchresult.h: make the dispatch_result_t ctor explicit
3709
3710 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3711
3712         * sgml.[Ch]:
3713         * buffer.C: small refactoring of docbook stuff
3714
3715 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3718         meaning.
3719
3720 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3723         operator dispatch_result_t, and operators for == != and >=
3724
3725         * cursor.C (dispatch): adjust for operator dispatch_result_t
3726         removal. comment out call to update
3727
3728         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3729
3730 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * text3.C:
3733         * text2.C:
3734         * text.C:
3735         * lyxtext.h:
3736         * lyxfunc.C:
3737         * cursor.C:
3738         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3739         (dispatch):
3740
3741         * dispatchresult.h: new file, DispatchResult broken out of
3742         insets/insetbase.h
3743
3744         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3745
3746 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * text.C (rowBreakPoint): put a hack inside #if 0
3749
3750 2003-10-28  André Pönitz  <poenitz@gmx.net>
3751
3752         * lyxtext.h:
3753         * metricsinfo.C:
3754         * paragraph_funcs.C:
3755         * rowpainter.C:
3756         * text.C:
3757         * text2.C: general cleanup (lots of small stuff)
3758
3759 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3760
3761         * text2.C (cursorEnd): simple fix to the "end key goes to one
3762         before the end on last row" bug
3763
3764 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * text.C (backspace): fix the "zombie characters"
3767
3768 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3771
3772 2003-10-27  André Pönitz  <poenitz@gmx.net>
3773
3774         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3775
3776         * factory.C: handle new InsetPagebreak, InsetLine
3777
3778         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3779         and move handling into new InsetPagebreak, InsetLine
3780
3781         * BufferView_pimpl.C:
3782         * LyXAction.C:
3783         * ParagraphParameters.C:
3784         * ParameterStruct.h:
3785         * lyxfunc.C:
3786         * lyxtext.h:
3787         * paragraph.C:
3788         * paragraph.h:
3789         * paragraph_funcs.C:
3790         * paragraph_pimpl.C:
3791         * rowpainter.C:
3792         * text.C:
3793         * text2.C:
3794         * text3.C: adjust
3795
3796 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3797
3798         * text.C:
3799         * lyxrow_funcs.[Ch]:
3800         * Bidi.C:
3801         * paragraph.C:
3802         * lyxtext.h:
3803         * rowpainter.C:
3804         * text2.C:
3805         * text3.C: remove lastPos uses in favour of Row::endpos
3806
3807 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * undo.C (performUndoOrRedo): fix two crashes by setting a
3810         cursor by hand and reordering some calls. Use bv->lockInset instead
3811         of inset->edit because the latter loses cursor information
3812
3813 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3816         by Martin
3817         (rowBreakPoint): fix width. change point to point + 1.
3818         Add a missing check.
3819
3820 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3821
3822         * MenuBackend.C:
3823         * lyxfunc.C: fix (at least partly) the problems
3824         with the Nav menu and headers inside branch insets
3825         reported by Kayvan
3826
3827 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3828
3829         * paragraph.C (getChar): add strong asserts
3830
3831         * lyxrow_funcs.C (lastPos): remove hideous hack
3832
3833         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3834         (fill): adjust to that (avoid an infinite loop)
3835
3836 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3837
3838         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3839
3840 2003-10-23  André Pönitz  <poenitz@gmx.net>
3841
3842         * RowList_fwd.h: change list<> to vector<> to gain speed
3843         after suggestion from Alfredo
3844
3845 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3846
3847         * lyxtext.h: move the bidi stuff from here...
3848         * text.C: and here
3849         * text2.C: and here
3850         * Bidi.[Ch]: ... to here
3851
3852 2003-10-23  André Pönitz  <poenitz@gmx.net>
3853
3854         * lyxtext.h:
3855         * text.C (isLastRow, isFirstRow): new functions
3856
3857         * paragraph.h: new width cache member
3858
3859         * rowpainter.C: replace RowList::iterator with Row & where possible
3860
3861         * lyxfunc.C: replace several view()->text with a single call
3862
3863         * toc.C: fix 'unused' warning
3864
3865 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3868         when woring with stream::pos_type
3869         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3870
3871 2003-10-22  André Pönitz  <poenitz@gmx.net>
3872
3873         * lyxtext.h:
3874         * text.C: use Row & instead of RowList::iterator
3875
3876         * lyxrow.h: rename end() to endpos()
3877
3878         * rowpainter.C:
3879         * text.C:
3880         * text2.C: adjust
3881
3882 2003-10-22  Angus Leeming  <leeming@lyx.org>
3883
3884         * buffer.[Ch] (fully_loaded): new member function, returning true
3885         only when the file has been loaded fully.
3886         Used to prevent the premature generation of previews and by the
3887         citation inset to prevent computation of the natbib-style label.
3888
3889         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3890         templates are all set up.
3891
3892         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3893
3894 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3895
3896         * text.C: fixed an "oops" in the "is a bit silly"
3897         bug fix
3898
3899 2003-10-21  André Pönitz  <poenitz@gmx.net>
3900
3901         * FuncStatus.[Ch]: small stuff, whitespace
3902
3903         * lyxfont.[Ch]: operator<<() for debug reasons
3904
3905         * lyxfunc.C:
3906         * lyxrow_funcs.C:
3907         * lyxtext.h: whitespace, spelling
3908
3909         * paragraph.C: naming of variables
3910
3911         * text.C:
3912         * text2.C: small stuff
3913
3914
3915 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3916
3917         * text.C: (1) finish off the inset display() work;
3918         (2) fix the "is a bit silly" bug (accessing char
3919         past end of par).
3920
3921 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3922
3923         * text.C: re-introduce display() for insets, fixing the
3924         various bugs (stretch of line above, math inset
3925         positioning, ...)
3926
3927 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3928
3929         * text.C (rightMargin): remove spurious semicolon
3930
3931         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3932         1415)
3933
3934 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3935
3936         * text3.C: fix one crash due to wrong cursor def
3937
3938 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * vc-backend.C (scanMaster): make the regex static
3941
3942         * LaTeX.C (scanAuxFile): make the regexs static
3943
3944         * text3.C (doInsertInset, dispatch, dispatch):
3945         * text2.C (cursorUp, cursorDown):
3946         * text.C (selectNextWordToSpellcheck):
3947         * BufferView_pimpl.C (dispatch):
3948         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3949
3950 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3951
3952         * lyxsocket.C: include <cerrno>
3953
3954 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * lyxfunc.C (dispatch): remove textcache stuff
3957
3958         * bufferlist.C (release): remove textcache stuff
3959         (closeAll): ditto
3960
3961         * TextCache.C: delete file
3962         * TextCache.h: delete file
3963
3964         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3965
3966         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3967         delete of the bv_->text.
3968         (resizeCurrentBuffer): remove texcache stuff
3969         (workAreaResize): ditto
3970
3971 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3972
3973         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3974         action.
3975
3976 2003-10-16  André Pönitz  <poenitz@gmx.net>
3977
3978         * lyxrow.[Ch]:
3979         * paragraph.h:
3980         * rowpainter.C:
3981         * text.C:
3982         * text2.C:
3983         * text3.C: speed up by storing y positions per paragraph plus per-row
3984         offset instead of having a 'full' y position in the row.
3985
3986 2003-10-15  André Pönitz  <poenitz@gmx.net>
3987
3988         * iterators.[Ch]:
3989         * iterators.[Ch]:
3990         * undo.[Ch]: make undo aware of inner insets
3991
3992 2003-10-14  Angus Leeming  <leeming@lyx.org>
3993
3994         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3995         static member functions LyX::ref() and LyX::cref.
3996         (lastfiles): new accessor functions for the new lastfiles_ member var.
3997         (addLyXView, views_): add a new LyXView to the list of views_.
3998         (updateInset): loop over all LyXViews to call their own updateInset
3999         member function, returning a pointer to the Buffer owning the inset.
4000
4001         * BufferView_pimpl.C (loadLyXFile):
4002         * MenuBackend.C (expandLastfiles):
4003         * bufferlist.C (MenuWrite, QuitLyX):
4004         lastfiles is no longer a global variable.
4005         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4006
4007         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4008         static function. Access through LyX::cref().emergencyCleanup().
4009
4010 2003-10-14  André Pönitz  <poenitz@gmx.net>
4011
4012         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4013
4014         * undo.[Ch]: restoring part of 'undo in insets'
4015
4016         * Makefile.am:
4017         * undo_funcs.[Ch]: merge with undo.[Ch]
4018
4019         * tabular.C: small cleansing stuff
4020
4021 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * paragraph_funcs.C (readParToken): report unknown insets as error
4024         boxes. Use the outer paragraph as location (also for unknown
4025         tokens).
4026
4027         * factory.C (readInset): do not abort on reading an unknown inset.
4028         Eat it and return 0.
4029
4030 2003-10-13  Angus Leeming  <leeming@lyx.org>
4031
4032         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4033
4034         * lyxrc.C: displayTranslator is now a function,
4035         declared in GraphicsTypes.h.
4036
4037 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4038
4039         * format.C: new placeholder $$a to pass the socket address.
4040
4041         * bufferlist.[Ch]: new function getBufferFromTmp.
4042
4043         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4044           files in the temporary dir.
4045
4046 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4047
4048         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4049
4050         * Makefile.am: add lyxsocket.[Ch].
4051
4052         * lyx_main.C (error_handler): handle SIGPIPE.
4053
4054 2003-10-13  André Pönitz  <poenitz@gmx.net>
4055
4056         * BufferView_pimpl.C:
4057         * lyxtext.h:
4058         * text.C:
4059         * text2.C:
4060         * text3.C:
4061         * undo_funcs.[Ch]: use paroffset_type instead of
4062           ParagraphList::iterators to prevent multiple conversion
4063           (and get a more robust interface)
4064
4065 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4068         * lyxtext.h: ditto
4069         * text3.C (dispatch): ditto
4070
4071 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4074         move the onlyfile, use onlyfile instead of foundfile in a couple
4075         of places.
4076
4077         * DepTable.C (update): flush the error stream a bit more
4078
4079 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * lyxserver.C (callback): adjust
4082
4083         * lyxfunc.C (getStatus): add a missing brace in commented code
4084         (ensureBufferClean): reindent
4085         (dispatch): delete version taking a string
4086
4087 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * LaTeX.C (deplog): move found file handlig from here...
4090         (handleFoundFile): .. to new function here.
4091         (deplog): make sure to discover several files mentioned on the
4092         same log line.
4093
4094 2003-10-10  André Pönitz  <poenitz@gmx.net>
4095
4096         * lyxfunc.C:
4097         * lyxtext.h:
4098         * tabular.C:
4099         * text.C:
4100         * text2.C:
4101         * text3.C: fix some of the tabular crashes
4102
4103 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4104
4105         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4106
4107         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4108
4109 2003-10-09  André Pönitz  <poenitz@gmx.net>
4110
4111         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4112
4113         * BufferView.C:
4114         * BufferView_pimpl.C:
4115         * bufferview_funcs.C:
4116         * lyx_cb.C:
4117         * lyxcursor.C:
4118         * lyxfind.C:
4119         * lyxfunc.C:
4120         * lyxtext.h:
4121         * text.C:
4122         * text2.C:
4123         * text3.C:
4124         * text_funcs.[Ch]:
4125         * textcursor.[Ch]:
4126         * undo_funcs.C: adjust
4127
4128 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * text2.C (incrementItemDepth): new function, use a backtracking
4131         algorithm to discover the correct item depth.
4132         (resetEnumCounterIfNeeded): new function, use a backtracking
4133         algorithm to discover if counter reset is needed.
4134         (setCounter): use them. Simplify a bit. Add different labels for
4135         different item depths for itemize.
4136
4137         * paragraph.C (Paragraph): remove initialization of enumdepth
4138         (operator=): ditto
4139
4140         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4141         enumerate and itemize. Change the type of itemdepth to signed char.
4142
4143 2003-10-08  André Pönitz  <poenitz@gmx.net>
4144
4145         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4146           thing assignable.
4147         * text.C:
4148         * text2.C: adjust
4149
4150         * tabular.[Ch]: fix crash after 'row-insert'
4151
4152 2003-10-08  Angus Leeming  <leeming@lyx.org>
4153
4154         Fix doxygen warnings.
4155
4156         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4157         Remove CutAndPaste:: prefix from header file declaration.
4158
4159         * LColor.h (fill): remove LColor:: prefix from declaration.
4160
4161         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4162         use lyx::depth_type rather than Paragraph::depth_type so that
4163         header file and .C file match.
4164
4165         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4166
4167         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4168         * aspell.C: \file aspell_local.C -> \file aspell.C
4169         * gettext.C: \file gettext.C -> \file src/gettext.C
4170         * gettext.h: \file gettext.h -> \file src/gettext.h
4171         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4172         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4173         * text.C: \file text.C -> \file src/text.C
4174
4175         * toc.C: move comment so that doxygen is not confused.
4176
4177 2003-10-07  Angus Leeming  <leeming@lyx.org>
4178
4179         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4180
4181 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4182
4183         * aspell.C:
4184         * aspell_local.h: add forgotten std::string's.
4185
4186 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4187
4188         * LaTeXFeatures.C:
4189         * LyXAction.C:
4190         * factory.C:
4191         * lfuns.h:
4192         * lyxfunc.C:
4193         * text3.C: The Box patch. Fancybox support, minipage, parbox
4194
4195 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4196
4197         * CutAndPaste.h:
4198         * DepTable.h:
4199         * FloatList.h:
4200         * LaTeXFeatures.h:
4201         * ParagraphParameters.h:
4202         * TextCache.h:
4203         * Thesaurus.h:
4204         * bufferlist.h:
4205         * exporter.h:
4206         * importer.h:
4207         * lastfiles.h:
4208         * lyxfind.h:
4209         * lyxfont.h:
4210         * lyxlex.h:
4211         * lyxtextclasslist.h:
4212         * messages.h:
4213         * paragraph.h:
4214         * paragraph_pimpl.C:
4215         * textcursor.h: add <string> and other small fixes to make Lars'
4216         std::string patch compile with STLport.
4217
4218 2003-10-06  Angus Leeming  <leeming@lyx.org>
4219
4220         * LColor.h: Add missing #include <string>.
4221
4222 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * All most all file in all subdirs: Make <string> be the prefered
4225         way of getting to std::string, add using declarations.
4226
4227 2003-10-06  André Pönitz  <poenitz@gmx.net>
4228
4229         * metricsinfo.C: initialize LyXFont before changing attribute.
4230         (fixes the 'math in \emph is upright' bug)
4231
4232 2003-10-06  André Pönitz  <poenitz@gmx.net>
4233
4234         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4235
4236 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * graph.C:
4239         * paragraph_pimpl.C: Small fixes to build using STLport
4240
4241 2003-10-02  André Pönitz  <poenitz@gmx.net>
4242
4243         * lyxfunc.C:
4244         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4245
4246 2003-10-01  André Pönitz  <poenitz@gmx.net>
4247
4248         * factory.C: assert early
4249
4250 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * lyx_main.C: remove the global debug object
4253
4254         * debug.h: adjust for new debugstream
4255
4256         * debug.C: adjust for new debugstream and keep the global debug
4257         object here.
4258
4259 2003-09-22  Angus Leeming  <leeming@lyx.org>
4260
4261         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4262         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4263         an incomplete class LyXFont.
4264
4265 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * factory.C: bug fix in branches
4268
4269 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * lyxfunc.C (processKeySym): adjust
4272         (dispatch): adjust
4273         (dispatch): change arg name from ev to func, adjust
4274         (sendDispatchMessage): ditto
4275
4276         * lyx_main.C (defaultKeyBindings): adjust keybindings
4277         (deadKeyBindings): ditto
4278
4279         * kbsequence.C (addkey): return a FuncRequest
4280
4281         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4282
4283         * kbmap.C (bind): take a FuncRequest as arg, adjust
4284         (read): adjust
4285         (lookup): adjust
4286         (defkey): change to take a FuncRequest as arg, adjust
4287         (findbinding): take a FuncRequest as arg, adjust.
4288
4289         * funcrequest.h (operator=): added
4290
4291         * funcrequest.C (FuncRequest): default kb_action changed from
4292         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4293
4294         * buffer.C (dispatch): simplify
4295         (dispatch): adjust to take a FuncRequest as arg, adjust
4296
4297         * boost.C (assertion_failed): change assertion message slightly
4298
4299         * ToolbarBackend.C (read): simplify
4300
4301         * MenuBackend.C (binding): adjust call to findbinding, add a
4302         message if no binding is found.
4303         (read): simplify
4304         (expandToc): correct by adding a empty FuncRequest
4305
4306         * LyXAction.C: include <boost/assert.hpp>
4307         (isPseudoAction): delete function
4308         (LookupFunc): change name to...
4309         (lookupFunc): this. change return type to FuncRequest.
4310         (getActionName): take kb_action as arg, simplify
4311         (funcHasFlag): add an assert, simplify.
4312
4313 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * toc.C (action): return a FuncRequest, simplify
4316
4317         * lyxfunc.C (processKeySym): adjust
4318         (getStatus): delete version that takes an int.
4319         (getStatus): adjust
4320         (dispatch): delete version that takes action as int
4321         (dispatch): adjust
4322         (sendDispatchMessage): simplify and adjust
4323
4324         * funcrequest.C (getArg): take unsigned int as arg
4325
4326         * ToolbarBackend.C (read): adjust
4327         (add): delete version that takes func as a string.
4328         (getIton): take a FuncRequest as arg
4329
4330         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4331         action.
4332
4333         * MenuBackend.C (MenuItem): add a new construct that only takes a
4334         Kind, simplify the constructor use for submenus.
4335         (add): adjust
4336         (expandLastfiles): adjust
4337         (expandDocuments): adjust
4338         (expandFormats): adjust
4339         (expandFloatListInsert): adjust
4340         (expandFloatInsert): adjust
4341         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4342
4343         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4344         Remove class variables lyx_pseudo_map and lyx_arg_map
4345
4346         * LyXAction.C (searchActionArg): delete function
4347         (getPseudoAction): delete function
4348         (retrieveActionArg): delete function
4349         (LookupFunc): make it return kb_action, simplify.
4350         (getActionName): simplify
4351
4352         * factory.C (createInset): fix new bug
4353
4354 2003-09-19  Angus Leeming  <leeming@lyx.org>
4355
4356         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4357         masterFilename_ parameter in the include inset.
4358
4359         * factory.C (createInset): changes due to the changes to InsetInclude.
4360
4361 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4362
4363         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4364
4365 2003-09-18  Angus Leeming  <leeming@lyx.org>
4366
4367         * buffer.C:
4368         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4369         Inset::fillWithBibKeys.
4370         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4371
4372 2003-09-18  Angus Leeming  <leeming@lyx.org>
4373
4374         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4375         variables.
4376         (ctor): pass and store a 'Buffer const &'
4377         (buffer): new member function.
4378
4379         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4380         '*this' to the LaTeXFeatures ctor.
4381
4382 2003-09-18  Angus Leeming  <leeming@lyx.org>
4383
4384         * LColor.h:
4385         * lyxfont.C:
4386         * lyxfont.h:
4387         * lyxtext.h:
4388         * text.C: rename EnumLColor as LColor_color.
4389
4390 2003-09-18  Angus Leeming  <leeming@lyx.org>
4391
4392         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4393         remove #include "insets/insetbase.h" from cursor.h.
4394
4395 2003-09-18  Angus Leeming  <leeming@lyx.org>
4396
4397         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4398         InsetOld_code to remove #include "inset.h".
4399
4400         * iterators.C: add #include "insets/inset.h"
4401
4402 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4403
4404         * BufferView.C: remove more locking stuff that apparently doesn't
4405         do anything sensible.
4406
4407 2003-09-16  André Pönitz  <poenitz@gmx.net>
4408
4409         * paragraph.[Ch]:
4410         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4411           performance boost.
4412
4413 2003-09-16  Angus Leeming  <leeming@lyx.org>
4414
4415         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4416
4417         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4418         arg/return type.
4419
4420         * paragraph.h: remove #include "lyxfont.h". Forward declare
4421         LyXFont_size.
4422
4423 2003-09-16  Angus Leeming  <leeming@lyx.org>
4424
4425         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4426         of support/textutils.h.
4427         (isWord): move the contents of support/textutils.h's IsWordChar here.
4428
4429         * buffer.C:
4430         * lyxfind.C:
4431         * rowpainter.C:
4432         * text.C:
4433         * text2.C: add #include "paragraph.h".
4434
4435         * rowpainter.C:
4436         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4437
4438 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * main.C:
4441         * lyx_main.C:
4442         * lyx_cb.C:
4443         * buffer.C:
4444         * LaTeX.C: use namespace alias for lyx::support::os
4445
4446 2003-09-16  Angus Leeming  <leeming@lyx.org>
4447
4448         * bufferparams.C:
4449         * bufferview_funcs.C:
4450         * factory.C:
4451         * lyxfunc.C:
4452         * paragraph_pimpl.C:
4453         * rowpainter.C:
4454         * text.C: add #include "LColor.h".
4455
4456 2003-09-16  Angus Leeming  <leeming@lyx.org>
4457
4458         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4459         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4460         return LyXFont &.
4461         Store the FontBits::color variable as an int rather than as an
4462         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4463         file.
4464
4465         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4466         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4467         string calls together.
4468
4469         * lyxrc.C: add #include "LColor.h".
4470
4471 2003-09-15  Angus Leeming  <leeming@lyx.org>
4472
4473         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4474         a cow_ptr.
4475
4476 2003-09-15  Angus Leeming  <leeming@lyx.org>
4477
4478         * LColor.h: add an EnumLColor wrapper for LColor::color.
4479
4480         * lyxfont.[Ch] (color, setColor, realColor):
4481         * lyxtext.h, text.C (backgroundColor):
4482         pass EnumLColor args to/from the functions, rather than LColor::color
4483         ones.
4484
4485         * lyxfont.h:
4486         * lyxtext.h: forward declare EnumLColor.
4487
4488         * lyx_main.C: add #include "LColor.h".
4489
4490 2003-09-15  Angus Leeming  <leeming@lyx.org>
4491
4492         * .cvsignore: add lyx-gtk.
4493
4494 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * Chktex.C
4497         * LaTeX.C
4498         * LaTeXFeatures.C
4499         * ParagraphParameters.C
4500         * Spacing.C
4501         * buffer.C
4502         * bufferparams.C
4503         * bufferview_funcs.C
4504         * chset.C
4505         * counters.C
4506         * funcrequest.C
4507         * lyxfont.C
4508         * lyxgluelength.C
4509         * lyxlength.C
4510         * paragraph.C
4511         * paragraph_funcs.C
4512         * text3.C
4513         * vc-backend.C: remove usage of STRCONV
4514
4515 2003-09-15  Angus Leeming  <leeming@lyx.org>
4516
4517         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4518         explicitly define the color passed to the painter.
4519
4520 2003-09-15  Angus Leeming  <leeming@lyx.org>
4521
4522         * bufferparams.C (BufferParams): reorder member initializers to avoid
4523         compiler warning.
4524
4525 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4528         * text.C (updateRowPositions): remove an unusual nop
4529
4530 2003-09-12  André Pönitz  <poenitz@gmx.net>
4531
4532         * BufferView_pimpl.C:
4533         * Bullet.C:
4534         * layout.h:
4535         * lyxfunc.C:
4536         * lyxlayout.[Ch]:
4537         * lyxtextclass.C:
4538         * rowpainter.C:
4539         * text.C:
4540         * text2.C:
4541         * Counters.[Ch]: finish the 'automatic counters' job
4542
4543 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4544
4545         * aspell.C: include <boost/assert.cpp> (compile fix)
4546
4547 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4548
4549         * boost.C (assertion_failed): use lyx::support::abort instead of
4550         assert.
4551
4552 2003-09-10  Angus Leeming  <leeming@lyx.org>
4553
4554         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4555         with their _fwd progeny.
4556
4557 2003-09-09  Angus Leeming  <leeming@lyx.org>
4558
4559         134 files throughtout the source tree: replace 'using namespace abc;'
4560         directives with the appropriate 'using abc::xyz;' declarations.
4561
4562 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4563
4564         * boost.C (emergencyCleanup): moved here from LAssert.c
4565         (assertion_failed): new function, called by BOOST_ASSERT
4566
4567         * several files: change Assert to BOOST_ASSERT
4568
4569 2003-09-09  Angus Leeming  <leeming@lyx.org>
4570
4571         * buffer.[Ch]: Add an Impl class and move Buffer's member
4572         variables into it. As a result move several header files out of
4573         buffer.h.
4574
4575         Add header files to lots of .C files all over the tree as a result.
4576
4577 2003-09-09  Angus Leeming  <leeming@lyx.org>
4578
4579         * buffer.[Ch]: make Buffer's member variables private. Add
4580         accessor functions.
4581
4582         Lots of changes all over the tree as a result.
4583
4584 2003-09-08  Angus Leeming  <leeming@lyx.org>
4585
4586         * graph.C: #include <config.h>.
4587
4588 2003-09-08  Angus Leeming  <leeming@lyx.org>
4589
4590         * BranchList.C:
4591         * BufferView.C:
4592         * BufferView_pimpl.C:
4593         * CutAndPaste.C:
4594         * DepTable.C:
4595         * LaTeX.C:
4596         * LaTeXFeatures.C:
4597         * LyXAction.C:
4598         * MenuBackend.C:
4599         * TextCache.C:
4600         * aspell.C:
4601         * buffer.C:
4602         * bufferlist.C:
4603         * changes.C:
4604         * chset.C:
4605         * converter.C:
4606         * counters.C:
4607         * debug.C:
4608         * graph.C:
4609         * ispell.C:
4610         * lyx_cb.C:
4611         * lyxfind.C:
4612         * lyxfunc.C:
4613         * lyxlex_pimpl.C:
4614         * lyxrc.C:
4615         * lyxrow.C:
4616         * paragraph.C:
4617         * rowpainter.C:
4618         * texrow.C:
4619         * text.C:
4620         * text2.C:
4621         * toc.C: remove redundant using directives.
4622
4623 2003-09-07  Angus Leeming  <leeming@lyx.org>
4624
4625         * LaTeXFeatures.h: remove #include "support/types.h".
4626         * ToolbarBackend.h: remove #include <algorithm>.
4627         * changes.h: remove #include <ctime>.
4628         * debug.h: remove #include <iosfwd>.
4629         * graph.h: remove #include "support/std_string.h".
4630         * lyx_main.h: remove #include <csignal>.
4631         * lyxlex_pimpl.h: remove #include <fstream>.
4632         * sgml.h: remove #include <algorithm>, <utility>.
4633         * toc.h: remove #include "support/std_ostream.h".
4634         Add #include <iosfwd>.
4635
4636 2003-09-07  Angus Leeming  <leeming@lyx.org>
4637
4638         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4639
4640         * converter.h: forward declare LatexRunParams.
4641         * encoding.h: remove #include "lyxrc.h".
4642         * lyxtext.h: remove #include "LColor.h".
4643         * lyxtextclass.h: remove #include "support/types.h".
4644         * trans.h: remove #include "tex-accent.h".
4645         * trans_mgr.h: remove #include "tex-accent.h".
4646         * insets/inset.h: remove #include "support/types.h", <vector>.
4647         * insets/insetcollapsable.h: remove #include "LColor.h".
4648         * insets/insetinclude.h: remove #include "dimension.h".
4649         * insets/insetlatexaccent.h: remove #include "dimension.h".
4650         * insets/insetoptarg.h:: remove #include "insettext.h".
4651         * insets/insettext.h: remove #include "dimension.h",
4652         <boost/shared_ptr.hpp>
4653
4654         * insets/renderers.h: add #include "dimension.h".
4655         * insets/updatableinset.h: add #include "support/types.h".
4656
4657         * many .C files: Associated changes.
4658
4659 2003-09-06  Angus Leeming  <leeming@lyx.org>
4660
4661         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4662         one, inside testInvariant.
4663
4664         * PrinterParams.C: new file.
4665         * PrinterParams.[Ch]: move the function bodies out of line.
4666
4667 2003-09-06  Angus Leeming  <leeming@lyx.org>
4668
4669         * ParagraphParameters.h: forward declare ParameterStruct rather than
4670         including its header file.
4671         (depth): moved out-of-line.
4672
4673 2003-09-06  Angus Leeming  <leeming@lyx.org>
4674
4675         * BufferView_pimpl.h:
4676         * kbmap.h:
4677         * kbsequence.h:
4678         * lyxfunc.h: forward declare LyXKeySym rather than
4679         #include "frontends/LyXKeySym.h".
4680
4681         * BufferView_pimpl.C:
4682         * kbmap.C:
4683         * kbsequence.C:
4684         * lyxfunc.C: associated changes.
4685
4686 2003-09-06  Angus Leeming  <leeming@lyx.org>
4687
4688         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4689         As a result, can remove the #include "insets/inset.h" from BufferView.h
4690
4691 2003-09-06  Angus Leeming  <leeming@lyx.org>
4692
4693         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4694         As a result, can remove the #include "insets/inset.h" from BufferView.h
4695
4696 2003-09-06  Angus Leeming  <leeming@lyx.org>
4697
4698         * buffer_funcs.C:
4699         * buffer.h:
4700         * bufferlist.C:
4701         * BufferView.C:
4702         * bufferview_funcs.C:
4703         * BufferView_pimpl.C:
4704         * CutAndPaste.C:
4705         * lyx_cb.C:
4706         * lyxfunc.C:
4707         * paragraph.h:
4708         * ParagraphParameters.C:
4709         * tabular.C:
4710         * text3.C:
4711         * toc.C:
4712         * undo_funcs.C:
4713         * frontends/controllers/ControlDocument.C:
4714         * insets/insetcaption.C: rearrange the #includes into some sort of
4715         coherent order.
4716
4717         * buffer.h: remove #includes ErrorList.h, undo.h
4718
4719 2003-09-06  Angus Leeming  <leeming@lyx.org>
4720
4721         * support/types.h: add a 'depth_type' typedef, used to store the
4722         nesting depth of a paragraph.
4723
4724         * paragraph.h:
4725         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4726         defining explicitly.
4727
4728         * buffer.h:
4729         * paragraph_funcs.h:
4730         * ParagraphParameters.h:
4731         * sgml.h: use lyx::depth_type rather than Paragraph or
4732         ParameterStruct's depth_type.
4733
4734         * buffer.h
4735         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4736
4737         * BufferView.C:
4738         * BufferView_pimpl.C:
4739         * CutAndPaste.C:
4740         * ParagraphParameters.C:
4741         * buffer_funcs.C:
4742         * bufferlist.C:
4743         * bufferview_funcs.C:
4744         * lyx_cb.C:
4745         * lyxfunc.C:
4746         * tabular.C:
4747         * text3.C:
4748         * toc.C:
4749         * undo_funcs.C:
4750         * frontends/LyXView.C:
4751         * frontends/controllers/ControlDocument.C:
4752         * frontends/controllers/ControlErrorList.C:
4753         * insets/insetbibitem.C:
4754         * insets/insetbranch.C:
4755         * insets/insetcaption.C:
4756         * insets/insetcollapsable.C:
4757         * insets/insetenv.C:
4758         * insets/insetert.C:
4759         * insets/insetfloat.C:
4760         * insets/insetfoot.C:
4761         * insets/insetfootlike.C:
4762         * insets/insetnewline.C:
4763         * insets/insetquotes.C:
4764         * insets/insettabular.C:
4765         * insets/insettext.C:
4766         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4767
4768         * frontends/controllers/ControlChanges.C: #include "changes.h".
4769
4770 2003-09-06  Angus Leeming  <leeming@lyx.org>
4771
4772         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4773         than #including paragraph.h.
4774
4775         * ParagraphList.h:
4776         * RowList.h: deleted. Superfluous.
4777
4778         * CutAndPaste.h:
4779         * iterators.h:
4780         * lyxcursor.h:
4781         * lyxtext.h:
4782         * text_funcs.h:
4783         * undo.h:
4784         * undo_funcs.h:
4785         * insets/inset.h:
4786         * insets/insettext.h: use ParagraphList_fwd.h rather than
4787         ParagraphList.h.
4788
4789         * paragraph.h: don't forward declare ParagraphList.
4790
4791         * buffer.h:
4792         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4793         rather than ParagraphList.h. paragraph.h is still needed for the
4794         Paragraph::depth_type parameters.
4795
4796         * textcursor.h: enable it to compile stand-alone in light of the
4797         above changes.
4798
4799         * bufferview_funcs.C:
4800         * iterators.C:
4801         * lyxfunc.C:
4802         * lyxrow_funcs.C:
4803         * paragraph.C:
4804         * rowpainter.C:
4805         * text.C:
4806         * text2.C:
4807         * text3.C:
4808         * text_funcs.C:
4809         * textcursor.C:
4810         * undo.C:
4811         * frontends/controllers/ControlParagraph.C:
4812         * frontends/controllers/ControlTabular.C:
4813         * insets/insetmarginal.C:
4814         * insets/insetminipage.C:
4815         * insets/insetnote.C:
4816         * insets/insetoptarg.C: add header files needed to compile again.
4817
4818 2003-09-06  Angus Leeming  <leeming@lyx.org>
4819
4820         * RowList_fwd.h: new file, forward-declaring Row rather than
4821         #including lyxrow.h.
4822
4823         * lyxrow_funcs.h:
4824         * lyxtext.h:
4825         * paragraph.h:
4826         * insets/insettext.h: use it instead of RowList.h
4827
4828         * bufferview_funcs.C:
4829         * lyxfunc.C:
4830         * lyxrow_funcs.C:
4831         * paragraph.C:
4832         * rowpainter.C:
4833         * text.C:
4834         * text2.C:
4835         * text3.C: #include "RowList.h".
4836
4837 2003-09-05  Angus Leeming  <leeming@lyx.org>
4838
4839         * factory.C (createInset):
4840         * vspace.C (c-tor): replace sscanf call with an istringstream.
4841         * ispell.C: re-add missing HP/UX headers.
4842         * lyxserver.C: re-add missing  os2 headers.
4843
4844 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4845
4846         * BranchList.C:
4847         * graph.C:
4848         * ispell.C:
4849         * lastfiles.C:
4850         * lyx_cb.C:
4851         * lyxserver.C:
4852         * texrow.C:
4853         * text3.C: re-add missing system headers, needed for 2.95.2.
4854
4855 2003-09-05  Angus Leeming  <leeming@lyx.org>
4856
4857         Changes most place everywhere due to the removal of using directives
4858         from support/std_sstream.h.
4859
4860 2003-09-05  Angus Leeming  <leeming@lyx.org>
4861
4862         Replace LString.h with support/std_string.h,
4863         Lsstream.h with support/std_sstream.h,
4864         support/LIstream.h with support/std_istream.h,
4865         support/LOstream.h with support/std_ostream.h.
4866
4867         Changes resulting throughout the tree.
4868
4869 2003-09-05  Angus Leeming  <leeming@lyx.org>
4870
4871         * sgml.h: ensure that the header file can be compiled stand-alone.
4872         * *.C: strip out redundant #includes. (320 in total.)
4873
4874 2003-09-04  Angus Leeming  <leeming@lyx.org>
4875
4876         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4877         here (from getPackages).
4878
4879         * debug.[Ch]: add a new EXTERNAL tag.
4880
4881 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4882
4883         * text2.C (cursorEnd): simplify
4884         (setCursor): adjust
4885         (getColumnNearX): adjust
4886
4887         * text.C (computeBidiTables): adjust
4888         (fill): adjust
4889
4890         * rowpainter.C (paintChars): adjust
4891         (paintSelection): adjust
4892         (paintChangeBar): adjust
4893         (paintText): adjust
4894
4895         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4896         lastPos instead.
4897         (numberOfSeparators): adjust
4898
4899 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4900
4901         * LyXAction.C:
4902         * box.[Ch]:
4903         * lfuns.h:
4904         * lyxfunc.C:
4905         * text3.C: Restricts the mouse click functionality
4906         of insets like bibtex, include, toc and floatlist to the visible
4907         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4908         up the dialogs. Cursor has to be in front of the inset (i.e.
4909         start of row) for this to function.
4910
4911 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4912
4913         * bufferview_funcs.C (currentState): output row information
4914
4915 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4916
4917         * bufferview_funcs.C (currentState): output paragraph position
4918
4919 2003-09-04  Angus Leeming  <leeming@lyx.org>
4920
4921         * FloatList.h: move out #include "Floating.h".
4922         * LaTeX.h: move out #include "DepTable.h".
4923         * LyXAction.h: move out #include "funcrequest.h".
4924         * buffer.h: move out #include "author.h", "iterators.h".
4925         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4926         * lyx_main.h: move out #include "errorlist.h".
4927         * lyxfunc.h: move out #include "FuncStatus.h".
4928         * lyxtext: move out #include "lyxcursor.h".
4929         * paragraph_pimpl.h: move out #include "counters.h".
4930
4931 2003-09-03  Angus Leeming  <leeming@lyx.org>
4932
4933         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4934         preamble_snippets list, enabling us to add snippets to the preamble
4935         only if the snippet was not there already.
4936
4937 2003-09-04  Angus Leeming  <leeming@lyx.org>
4938
4939         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4940
4941 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4944         update
4945
4946 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4947
4948         * BranchList.C: point fix, earlier forgotten
4949
4950 2003-09-02  Angus Leeming  <leeming@lyx.org>
4951
4952         * box.C (contains): renamed from 'contained' after a fantastic
4953         amount of hot air.
4954
4955 2003-09-02  John Levon  <levon@movementarian.org>
4956
4957         * BufferView.C:
4958         * lyxcursor.h:
4959         * lyxcursor.C:
4960         * lyxfunc.C:
4961         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4962
4963 2003-09-02  John Levon  <levon@movementarian.org>
4964
4965         * text2.C: simplification of cursorEnd(), including partial
4966         fix for bug 1376
4967
4968 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * buffer.C (readFile): add a space
4971
4972 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4975
4976 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * buffer.C (readFile): new function, take a filename and a
4979         ParagraphList::iterator
4980         (readFile): adjust
4981         (readFile): adjust, make it private. don't use setStream, make
4982         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4983         always contain the filename.
4984
4985         * BufferView.C (insertLyXFile): simplify and make it work for
4986         gzipped files.
4987
4988 2003-08-30  John Levon  <levon@movementarian.org>
4989
4990         * Makefile.am: fix dist (from Kayvan)
4991
4992 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * most files: change to use const Buffer refs
4995
4996 2003-08-27  André Pönitz  <poenitz@gmx.net>
4997
4998         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4999         on top of ownerPar().
5000
5001 2003-08-27  John Levon  <levon@movementarian.org>
5002
5003         * funcrequest.C: properly initialise POD members
5004
5005 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * lyxtext.h (top_y): move top_y from here
5008         * text.C:
5009         * text2.C:
5010         * text3.C:
5011         * BufferView.[Ch]:
5012         * BufferView_pimpl.[Ch]: to here
5013         * frontends/screen.C:
5014         * insets/insettabular.C:
5015         * insets/insettext.C: adjust
5016         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5017
5018 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * BufferView.[Ch]:
5021         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5022
5023 2003-08-26  André Pönitz  <poenitz@gmx.net>
5024
5025         * paragraph_func.[Ch] (outerPar): new function
5026
5027         * paragraph.C:
5028         * paragraph_funcs.C:
5029         * paragraph_funcs.h:
5030         * paragraph_pimpl.C:
5031         * text2.C: remove Inset::par_owner
5032
5033 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5034
5035         * lyxrow_funcs.C:
5036         * lyxtext.h:
5037         * text.C:
5038         * text2.C: eliminates the needFullRow/display() stuff
5039         altogether, putting the logic in metrics/draw in the insets.
5040
5041 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * text2.C (redoParagraphInternal, redoParagraphs):
5044         * text.C (redoParagraph): add a call to updateRowPositions at the
5045         end of each 'metrics-like' call. Remove all others.
5046         (getRow): remove the 'y-computing' version.
5047         (getRowNearY): do not compute nor return the real y. Solve the
5048         'y < 0' problem and simplify.
5049
5050 2003-08-22  Angus Leeming  <leeming@lyx.org>
5051
5052         * *.[Ch]: clean-up of licence and author blurbs.
5053         Also move config.h out of a few .h files and into a few .C files.
5054
5055 2003-08-22  André Pönitz  <poenitz@gmx.net>
5056
5057         * lyxrow.[Ch]: add x_ and *fill_ members
5058
5059         * lyxtext.h:
5060         * text.C:
5061         * rowpainter.C:
5062         * text2.C: adjust/remove prepareToPrint() calls
5063
5064 2003-08-22  André Pönitz  <poenitz@gmx.net>
5065
5066         * lyxrow.[Ch]: add  end_ member
5067
5068         * lyxrow_funcs.C: use LyXRow::end_
5069
5070         * lyxtext.h (singleWidth): add LyXFont parameter
5071
5072         * rowpainter.C:
5073         * text2.C: adjust LyXText::singleWidth() calls
5074
5075         * text.C (redoParagraph): simplify row breaking logic
5076
5077
5078 2003-08-19  André Pönitz  <poenitz@gmx.net>
5079
5080         * funcrequest.C: initialize button_ member
5081
5082         * text3.C:
5083         * rowpainter.[Ch]: interface consolidation
5084
5085 2003-08-18  André Pönitz  <poenitz@gmx.net>
5086
5087         * BufferView.C:
5088         * BufferView_pimpl.C:
5089         * lyxfind.C:
5090         * paragraph_funcs.C:
5091         * rowpainter.C:
5092         * text3.C: remove LyXScreen::draw() and fitCursor calls
5093
5094         * BranchList.h: remove spurious semicolons
5095
5096         * MenuBackend.C: fix branchlist related crash
5097
5098 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5099
5100         * BranchList.[Ch]:
5101         * InsetList.[Ch]:
5102         * LColor.[Ch]:
5103         * LyXAction.C:
5104         * Makefile.am:
5105         * MenuBackend.[Ch]:
5106         * bufferparams.[Ch]:
5107         * factory.C:
5108         * lfuns.h:
5109         * lyxfunc.C:
5110         * text3.C: implements the 'branch inset'
5111         idea. This allows the output of various versions of a document
5112         from a single source version, selectively outputing or suppressing
5113         output of parts of the text.
5114         This implementation contains a 'branch list editor' in a separate
5115         tab of the document settings dialog. Branches are user definable
5116         and have a "display colour" to distinguish them on-screen.
5117
5118         ColorHandler was somewhat cleaned up.
5119         (1) make possible a dynamically growing LColor list by allowing
5120         the graphic context cache to grow along (vector);
5121         (2) eliminate an IMHO unnecessary step in colour allocation.
5122
5123 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5124
5125         * BufferView_pimpl.C: compile fix
5126
5127 2003-08-15  André Pönitz  <poenitz@gmx.net>
5128
5129         * rowpainter.C: remove extra metrics calls
5130
5131         * lyxtext.h: merge the two constructors into a single one,
5132           pass reference to owner's par list
5133
5134         * BufferView_pimpl.C:
5135         * text.C:
5136         * text2.C: adjust
5137
5138 2003-08-15  André Pönitz  <poenitz@gmx.net>
5139
5140         * lyxrow_funcs.[Ch]:
5141         * lyxtext.h:
5142         * paragraph.h:
5143         * paragraph_funcs.C:
5144         * rowpainter.C:
5145         * text.C:
5146         * text2.C:
5147         * text3.C:
5148         * text_funcs.C: split LyXText::rowlist_ into individual
5149         Paragraph::rows_ chunks
5150
5151         * BufferView.[Ch]:
5152         * BufferView_pimpl.[Ch]:
5153         * lyxfind.C:
5154         * lyxtext.h:
5155         * text3.C: remove toggleSelection()
5156
5157 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5158
5159         * bufferlist.C: beautify two alerts (shorter text of buttons)
5160         * buffer.C: Remove redundant ' ' from message
5161         * tabular.h:
5162         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5163         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5164         rename VALIGN_CENTER to VALIGN_MIDDLE
5165
5166 2003-08-11  André Pönitz  <poenitz@gmx.net>
5167
5168         * lyxtext.h (getPar):
5169         * text.C: new function
5170
5171 2003-08-11  André Pönitz  <poenitz@gmx.net>
5172
5173         * Makefile.am:
5174         * tracer.[Ch]: remove unneeded files
5175
5176         * InsetList.[Ch]: remove resizeInsetsLyXText()
5177
5178         * lyxtext.h:
5179         * text.C:
5180         * text2.C:
5181         * text3.C: merge insertParagraphs() and appendParagraph()
5182         remove breakAgain(), update()
5183
5184         * BufferView_pimpl.[Ch]:
5185         * bufferview_funcs.[Ch]:
5186         * lyxfunc.C:
5187         * paragraph.[Ch]:
5188         * rowpainter.C:
5189         * tabular.C: adjust after text & InsetList changes.
5190
5191 2003-08-08  André Pönitz  <poenitz@gmx.net>
5192
5193         * text.C (insertChar, backspace): replace rowlist fiddling
5194         with rebreak of full par
5195
5196         * lyxtext.h:
5197         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5198         checkParagraph, updateInset): removed
5199
5200 2003-08-07  André Pönitz  <poenitz@gmx.net>
5201
5202         * paragraph.C:
5203         * text3.C: merge some LFUN handlers, remove dead code
5204
5205 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5206
5207         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5208
5209 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * text2.C (DEPM): fix part of bug 1255 and 1256
5212
5213 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5214
5215         * BufferView_pimpl.C (workAreaDispatch): change to use
5216         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5217         that are no mouse related.
5218
5219 2003-08-05  André Pönitz  <poenitz@gmx.net>
5220
5221         * BufferView.[Ch]:
5222         * BufferView_pimpl.[Ch]:
5223         * bufferview_funcs.C:
5224         * text2.C:
5225         * text3.C: rip out "deep update"
5226
5227         * textcursor.[Ch] (last_sel_cursor): remove unused member
5228
5229 2003-08-04  André Pönitz  <poenitz@gmx.net>
5230
5231         * BufferView.[Ch]:
5232         * BufferView_pimpl.[Ch]:
5233         * ParagraphParameters.C:
5234         * bufferview_funcs.C:
5235         * lyx_cb.C:
5236         * lyxfind.C:
5237         * lyxfunc.C:
5238         * text.C:
5239         * text2.C:
5240         * text3.C: replace "complicated" BufferView::update(...) calls with
5241         simpler ones.
5242
5243         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5244
5245 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5246
5247         * Makefile.am (lyx_SOURCES): add paper.h
5248
5249 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5250
5251         * Makefile.am: move things around so that both lyx-qt and
5252         lyx-xforms can be built (according to --with-frontend). Then lyx
5253         is a symbolic link to lyx-[firstfrontend]
5254
5255 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5256
5257         * Always use std::endl with lyxerr
5258
5259 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5260
5261         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5262
5263 2003-08-01  André Pönitz  <poenitz@gmx.net>
5264
5265         * BufferView.[Ch]:
5266         * BufferView_pimpl.[Ch]:
5267         * lyxfunc.C:
5268         * text3.C: merge BufferView::repaint() and BufferView::update()
5269
5270 2003-08-01  José Matos  <jamatos@lyx.org>
5271
5272         * buffer.[Ch]: file_format is no longer a buffer data element.
5273
5274 2003-08-01  André Pönitz  <poenitz@gmx.net>
5275
5276         * BufferView.C:
5277         * lyxtext.h:
5278         * text.C:
5279         * text2.C: make redoParagraph more independent of current cursor
5280
5281         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5282         * text.C:
5283         * text2.C: remove unneeded members
5284
5285 2003-07-30  André Pönitz  <poenitz@gmx.net>
5286
5287         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5288
5289         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5290           create a single function...
5291
5292         * paragraph_funcs.C (moveItem): ... here.
5293
5294         * text.C:
5295           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5296
5297 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5298
5299         * LColor.[Ch]: Add comment and greyedout logical colors.
5300
5301 2003-07-30  André Pönitz  <poenitz@gmx.net>
5302
5303         * tabular.C: don't use Assert too heavily. This crashes where it
5304           shouldn't
5305
5306 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5309         is disabled (bug 1232)
5310
5311 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5312
5313         * factory.C: limited 'arg' scope
5314
5315 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5316
5317         * factory.C: fixed Note submenu issues
5318
5319 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5320
5321         * factory.C: submenu for Note/Comment/Greyedout
5322
5323 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * lyx_main.C (LyX):
5326         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5327
5328 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5329
5330         * LaTeXFeatures.C:
5331         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5332         greyedout. Patch provided by Jürgen Spitzmüller.
5333
5334 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5335
5336         * kbmap.C (read): fix error message when reading bind files
5337
5338 2003-07-29  Angus Leeming  <leeming@lyx.org>
5339
5340         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5341         certainly does not do what it purports to do. I am doing it, and
5342         us, a favour by killing it.
5343
5344 2003-07-28  José Matos  <jamatos@lyx.org>
5345
5346         * buffer.C (readBody, do_writeFile):
5347         * paragraph.C(readParagraph): \end_document replaces \the_end.
5348
5349 2003-07-29  André Pönitz  <poenitz@gmx.net>
5350
5351         * BufferView.[Ch]:
5352         * BufferView_pimpl.[Ch]:
5353         * lyxfunc.C:
5354         * text2.C:
5355         * text3.C:
5356         * textcursor.[Ch]: remove toggleToggle & Co
5357
5358 2003-07-28  José Matos  <jamatos@fep.up.pt>
5359
5360         * buffer.C (readParagraph):
5361         * params_func (readParToken, readParagraph):
5362         * paragraph.C (write): \layout -> \begin_layout.
5363
5364 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * lyxlex_pimpl.C (setFile): clean up slightly.
5367
5368         * bufferparams.h: add compressed var
5369
5370         * buffer_funcs.C (readFile): adjust for LyXLex change
5371         (newFile): ditto + simplify
5372
5373         * buffer.C (writeFile): handle writing of compressed files
5374
5375         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5376         Check if the file is compressed and set a bufferparm if so.
5377
5378         * Makefile.am (lyx_LDADD): remove explicit -lz
5379
5380 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5381
5382         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5383         makeDocBookFile): put the real LyX version in the first line of
5384         the file
5385
5386         * version.h:
5387         * version.C.in: remove lyx_docversion
5388
5389         * tabular.C (write_attribute): add a template-based version to
5390         write enums properly
5391
5392 2003-07-28  André Pönitz  <poenitz@gmx.net>
5393
5394         * lyxtext.h:
5395         * text.C:
5396         * text2.C:
5397         * text3.C: use doubles again for x-coordinates. They are needed.
5398
5399 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * messages.C (getLocaleDir): use lyx_localedir()
5402
5403         * lyxlex_pimpl.C (setFile): compress stuff
5404
5405         * buffer.C (writeFile): add some compression stuff
5406         (do_writeFile): new func, dont call expliti close... will this
5407         breake anything?
5408
5409         * Makefile.am (lyx_LDADD): add -lz
5410
5411 2003-07-28  José Matos  <jamatos@fep.up.pt>
5412
5413         * buffer.C: increment file format.
5414         * paragraph_funcs (readParagraph, readParToken):
5415         * paragraph.C (readParagraph): add \end_layout.
5416
5417 2003-07-27  Angus Leeming  <leeming@lyx.org>
5418
5419         * Makefile.am: remove special casing for configure-time setting of
5420         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5421
5422         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5423         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5424
5425 2003-07-26  André Pönitz  <poenitz@gmx.net>
5426
5427         * paragraph_func.[Ch]:
5428         * paragraph.C (realizeFont): inline it whereever it is used
5429
5430         * rowpainter.C:
5431         * text.C:
5432         * text2.C:
5433         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5434
5435
5436 2003-07-26  André Pönitz  <poenitz@gmx.net>
5437
5438         *       lyxtext.h:
5439         * text.C:
5440         * text2.C: get rid of LyXText::need_break_row
5441
5442 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * toc.[Ch]: put namespace toc inside namespace lyx
5445
5446         * MenuBackend.C (expandToc2): adjust for lyx::toc
5447         (expandToc): ditto
5448
5449         * lyxfunc.C (dispatch): adjust for lyx::find
5450
5451         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5452         lyx::find instead. Reorganize a bit.
5453         (LyXReplace): rename to replace
5454         (LyXFind): rename to find
5455
5456         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5457         (dispatch): ditto
5458
5459 2003-07-26  André Pönitz  <poenitz@gmx.net>
5460
5461         * text.C (setHeightOfRow): restrict scope of temporary variable
5462
5463         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5464           code (never has been used?)
5465
5466 2003-07-27  Asger Alstrup  <alstrup@local>
5467
5468         * text.C (fill): Optimise algorithm to exploit that we can reuse
5469         the LyXFont for many characters.
5470         (setHeightOfRow): Same thing.
5471         (rowBreakPoint): Same thing.
5472
5473 2003-07-26  Asger Alstrup  <alstrup@local>
5474
5475         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5476
5477         * text.C (singleWidth): Spurious font copying in hot-spot
5478         singleWidth avoided. Reorder tests for arabic for efficiency.
5479
5480         * text.C (fill): handle empty paragraphs better.
5481
5482 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5483
5484         * ispell.C:
5485         * encoding.h: add includes
5486
5487         * lyxrc.C: remove reading of bind files
5488
5489         * lyx_main.C (init): setup bindings and menus only if we have a
5490         gui.
5491
5492         * kbmap.C (read): new method. Do the actual reading of bind
5493         files.
5494
5495         * converter.C (dvipdfm_options):
5496         * bufferparams.C:
5497         * lyxrc.C (read):
5498         (output): adapt PAPER_* enums.
5499
5500         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5501
5502         * bufferparams.h: remove paper-related enums from there
5503
5504         * paper.h: New file. A trivial header file to hold paper-related
5505         enums. It should later expand to contain many paper-related
5506         horrors access.
5507
5508         * lyxrc.C: declare extern displayTranslator
5509
5510 2003-07-27  José Matos  <jamatos@fep.up.pt>
5511
5512         * tabular.[Ch] (linuxdoc): add support for tables and figures
5513         (linuxdoc).
5514
5515 2003-07-27  José Matos  <jamatos@fep.up.pt>
5516
5517         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5518         consistency in both functions.
5519         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5520
5521 2003-07-26  Asger Alstrup  <alstrup@local>
5522
5523         * rowpainter.C (paintRows): Change algorithm to work directly on
5524         the insets rather than asking every character in the document
5525         whether its an inset.
5526
5527 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5528
5529         * buffer.C (openFileWrite): factorize some code
5530
5531 2003-07-26  Angus Leeming  <leeming@lyx.org>
5532
5533         * lyx_cb.C:
5534         * lyx_main.[Ch]: replace occurances of system_tempdir with
5535         os::getTmpDir().
5536
5537 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * rename Inset to InsetOld
5540
5541 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5542
5543         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5544         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5545         which I think is a bit clearer. EDIT is gone, since it was
5546         premature optimisation, and broken for mathed anyway.
5547         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5548         with cursor positioning in insets as well (math insets still do not
5549         work, but that's a different story anyway.) It mysteriously
5550         crashes sometimes with undo in the first paragraph, but I'm fairly
5551         confident that this is a compiler bug.
5552
5553 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * paragraph.C (Paragraph): adjust for new clone return type
5556         (operator==): ditto
5557         (copyIntoMinibuffer): ditto
5558
5559 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5560
5561         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5562         by not having a special case, and always doing a full rebreak of
5563         the document after undo.
5564
5565 2003-07-23  Angus Leeming  <leeming@lyx.org>
5566
5567         * factory.C (createInset): InsetExternal::setParams now takes a
5568         Buffer const * arg.
5569
5570 2003-07-23  Angus Leeming  <leeming@lyx.org>
5571
5572         * factory.C (createInset): changed interface to the external and
5573         graphics mailers' string2params functions.
5574
5575 2003-07-23  Angus Leeming  <leeming@lyx.org>
5576
5577         * factory.C (createInset): pass a
5578         Buffer const * parameter to InsetExternalMailer's string2params.
5579
5580 2003-07-22  John Levon  <levon@movementarian.org>
5581
5582         * Thesaurus.h: include the right aiksaurus header
5583
5584 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5585
5586         * MenuBackend.C (expand): check menu shortcuts unconditionally
5587
5588 2003-07-21  Angus Leeming  <leeming@lyx.org>
5589
5590         * factory.C (createInset): pass a
5591         buffer_path parameter to InsetGraphicsMailer's string2params.
5592
5593 2003-07-21  Angus Leeming  <leeming@lyx.org>
5594
5595         * BufferView_pimpl.C (buffer):
5596         * buffer.C (d-tor):
5597         * lyx_main.C (LyX):
5598         * lyxfunc.C (dispatch):
5599         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5600         rather than the grfx shortcut.
5601
5602 2003-07-21  André Pönitz  <poenitz@gmx.net>
5603
5604         * rowpainter.C: remove unused variables
5605
5606         * tabular_funcs.C:
5607         * tabular_funcs.h: move to tabular.C
5608         * Makefile.am: adjust
5609
5610         * tabular.[Ch]: basic optical cleaning
5611
5612         * author.h: pass references, not values
5613
5614 2003-07-18  André Pönitz  <poenitz@gmx.net>
5615
5616         * lyxtext.h:
5617         * metricsinfo.C:
5618         * metricsinfo.h:
5619         * rowpainter.C:
5620         * text.C:
5621         * text2.C:
5622         * text3.C: two-phase drawing for InsetText and InsetTabular
5623         some float -> int changes.
5624
5625 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * lyx_main.C: fix the fix
5628
5629 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5630
5631         * lyx_main.C: fix a crash in batch mode if no files specified
5632         * converter.C: ws
5633
5634 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5635
5636         * format.[Ch] (papersize): moved to BufferParams
5637         * converter.[Ch] (dvips_options): moved to BufferParams
5638         (dvipdfm_options): moved to anon namespace
5639         * bufferparams.[Ch]: added above functions.
5640
5641 2003-07-17  André Pönitz  <poenitz@gmx.net>
5642
5643         * lyxtext.h:
5644         * rowpainter.C:
5645         * text2.C: don't call inset->update() anymore
5646
5647         * metricsinfo.[Ch]: add convenience constructor
5648
5649 2003-07-16  André Pönitz  <poenitz@gmx.net>
5650
5651         * lyxcursor.[Ch]:
5652         * lyxfunc.[Ch]:
5653         * text.C:
5654         * text2.C: replace the LyXCursor::irow_ member with
5655          on-demand computation of the value
5656
5657 2003-07-16  John Levon  <levon@movementarian.org>
5658
5659         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5660
5661 2003-07-15  André Pönitz  <poenitz@gmx.net>
5662
5663         * text.C:
5664         * text2.C: remove no more needed refresh_row
5665
5666 2003-07-15  André Pönitz  <poenitz@gmx.net>
5667
5668         * lyxtext.h:
5669         * rowpainter.C:
5670         * text2.C:
5671         * text3.C: refresh_status tristate -> need_update bool
5672
5673 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5674
5675         * lyxtext.h (init): remove reinit argument (act as if always true)
5676         * text2.C: adjust to that
5677
5678 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5679
5680         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5681         * text3.C: use it to delete selections in some cases
5682         (bugs 441, 673, 702, 954).
5683
5684 2003-07-14  André Pönitz  <poenitz@gmx.net>
5685
5686         * rowpainter.[Ch]: reduce interface
5687
5688 2003-07-14  André Pönitz  <poenitz@gmx.net>
5689
5690         * BufferView_pimpl.C:
5691         * text2.C: adjust after removing unused BufferView * argument
5692
5693 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5694
5695         * text2.C (init): fix a crash fired on resize
5696
5697 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5698
5699         * buffer.[Ch]: added new closing signal
5700         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5701         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5702         BufferView::Pimpl via the closing the signal
5703
5704 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * buffer.[Ch]: take out all bv-related from buffer
5707         * BufferView.C:
5708         * BufferView_pimpl.[Ch]: connect to new signals
5709         * CutAndPaste.C: removed useless asserts
5710         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5711         * lyxvc.[Ch]:
5712         * vc-backend.[Ch]:
5713         * lyxfunc.C: moved view-related funciontality from vc here
5714         * paragraph.C: removed outdated comments
5715         * text.C: ws
5716
5717 2003-07-10  André Pönitz  <poenitz@gmx.net>
5718
5719         * BufferView_pimpl.C:
5720         * tabular.h:
5721         * tabular_funcs.C:
5722         * text.C:
5723         * text2.C: remove InsetText::InnerCache, clean up consequences
5724
5725 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5726
5727         * ispell.C: fix two typos in error messages
5728
5729 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5730
5731         * Extend Note inset to other forms of annotation like Comment
5732         and Greyedout. Right button click gives dialog.
5733
5734         Files modified or added (+):
5735
5736         * insetnote.[Ch]
5737         * FormNote.[Ch]      +
5738         * ControlNote.[Ch]   +
5739         * form_note.fd       +
5740         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5741         frontends/controllers
5742         * xforms/Dialogs.C
5743         * factory.C
5744
5745 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5746
5747         * aspell.C: add missing namespace lyx::support
5748
5749 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * BufferView.[Ch] (newFile): Add
5752         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5753         * LaTeX.[Ch] (message): added this signal and use it
5754         * buffer.[Ch] (busy, message): added these signals and use them
5755         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5756         * converter.C:
5757         * exporter.C:
5758         * format.C:
5759         * importer.C: use buffer signals instead of direct bv calling
5760         * lyx_cb.[Ch] (ShowMessage): removed
5761         * lyx_main.C:
5762         * lyxfunc.C:
5763         * paragraph_funcs.C:
5764         * text2.C: use buffer signals
5765
5766 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * introduce namespace lyx::graphics
5769
5770 2003-07-02  André Pönitz  <poenitz@gmx.net>
5771
5772         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5773
5774 2003-07-01  André Pönitz  <poenitz@gmx.net>
5775
5776         * text.C:
5777         * text2.C:
5778         * text3.C:
5779         * text_funcs.[Ch]:
5780         * textcursor.h:
5781         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5782           text*.C to text_func.C
5783
5784 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * introduce namespace lyx::support
5787
5788 2003-06-30  André Pönitz  <poenitz@gmx.net>
5789
5790         * Chktex.C:
5791         * funcrequest.C:
5792         * lyxtext.h:
5793         * text.C: re-enable --with-included-string
5794
5795 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * textcursor.C: add <config.h>
5798
5799         * text.C (getWord): remove const from word_location arg
5800
5801         * lyxvc.C (getLogFile): fix const type order
5802
5803         * lyxtext.h: remove const from word_location arg, add arg name
5804
5805         * lyxlayout.h: currect type on labeltype.
5806
5807         * importer.C: correct \file
5808
5809         * converter.C (intToFormat): use std:: on ret val, ws changes
5810
5811         * bufferlist.h: correct \file
5812
5813         * buffer.C (makeLinuxDocFile): fix const type order
5814         (makeDocBookFile): ditto
5815         (fillWithBibKeys): use std:: on stdlib args.
5816
5817         * CutAndPaste.C: fix authors.
5818         (availableSelections): use std:: on return vector
5819
5820 2003-06-27  André Pönitz  <poenitz@gmx.net>
5821
5822         * BufferView_pimpl.C:
5823         * bufferview_funcs.C:
5824         * lyxcursor.C:
5825         * lyxcursor.h:
5826         * lyxfunc.C:
5827         * lyxtext.h:
5828         * rowpainter.C:
5829         * text.C:
5830         * text2.C:
5831         * text3.C: remove LyXCursor::row_ member
5832
5833         * lyxtext.h:
5834         * text.C: rename fullRebreak() to partialRebreak() and implement
5835           a fullRebreak() that really bereks fully
5836
5837         * textcursor.h: new struct for cursor-related data
5838
5839 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5840
5841         * lyx_main.C (LyX): get full path of document loaded on the
5842         command line
5843
5844 2003-06-26  André Pönitz  <poenitz@gmx.net>
5845
5846         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5847           remove unused/broken operator>,<,>=.
5848
5849         *       text.C: remove only use of broken operator<= in an Assert().
5850
5851 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5852
5853         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5854         moved errorlist_.clear to showErrorList
5855
5856 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5857
5858         * converter.C (scanLog, runLaTeX):
5859         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5860         move the bv->showErrorList call to the callers
5861         * lyxfunc.C: i.e. here...
5862         * text2.C: and here
5863         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5864         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5865         namespace, the second to...
5866         * buffer_funcs (BufferFormat, parseErrors): added
5867         * errorlist.C (ErrorList(TeXErrors const &)): removed
5868
5869 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5870
5871         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5872
5873 2003-06-24  "Garst R. Reese" <reese@isn.net>
5874
5875         * debug.C: fix typo
5876
5877 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5878
5879         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5880
5881         * version.C.in: change docversion to 1.4
5882
5883 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * buffer.C: fix a bug just introduced
5886
5887 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * buffer.[Ch]: added the parseError signal and use it, removed
5890         sgmlError
5891         * BufferView.[Ch] (addError): moved to ...
5892         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5893         to the Buffer::parseError signal to catch (guess what) parse errors
5894         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5895
5896 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5897
5898         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5899         ability to create a buffer and to return an existing one from
5900         the list. Moved these functions to...
5901         * buffer_funcs.[Ch]: added
5902         * BufferView.[Ch] (loadLyXFile): added
5903         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5904         job removed from bufferlist::loadLyXFile.
5905         * buffer.C (setReadOnly): make it work without view
5906         (i.e added an if (users))
5907
5908 2003-06-19  Angus Leeming  <leeming@lyx.org>
5909
5910         * lfuns.h:
5911         * LyXAction.C (init):
5912         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5913         with LFUN_DIALOG_SHOW <name> <data>.
5914
5915 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5916
5917         * CutAndPaste.C (availableSelections): small compilation fix for
5918         ancient (gcc 2.9x) compilers
5919
5920 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * text3.C (cursorNext): add tmp var
5923
5924         * text2.C (updateCounters): for function calling out of for clause
5925         (replaceSelectionWithString): ditto
5926         (insertStringAsParagraphs): ditto
5927         (getColumnNearX): add tmp var
5928         (setCursorFromCoordinates): add tmp var
5929         (cursorDownParagraph): add tmp var
5930         (deleteEmptyParagraphMechanism): add tmp var
5931
5932         * text.C (insertChar): add tmp var
5933
5934         * rowpainter.C (paintDepthBar): add tmp var
5935
5936         * CutAndPaste.C (availableSelections): potentially check all
5937         paragraphs in a cut to fill the shown strings.
5938
5939 2003-06-18  André Pönitz  <poenitz@gmx.net>
5940
5941         * kbmap.[Ch]: use vector<> instead of list<>
5942
5943 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5944
5945         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5946         pasteSelection with index
5947
5948         * text2.C (pasteSelection): modify, call pasteSelection with index
5949
5950         * paragraph.C (asString): reimplement version with no interval to
5951         call the one with interval.
5952
5953         * lyxtext.h: add index arg to pasteSelection
5954
5955         * MenuBackend.C (MenuItem): handle PasteRecent
5956         (Menu::read::Menutags): add md_pasterecent
5957         (read): handle it
5958         (expandPasteRecent): new function
5959         (expand): use it
5960
5961         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5962
5963         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5964         the limited stack
5965         (availableSelections): new function
5966
5967 2003-06-17  Angus Leeming  <leeming@lyx.org>
5968
5969         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5970
5971 2003-06-17  Angus Leeming  <leeming@lyx.org>
5972
5973         * lfuns.h:
5974         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5975
5976         * lyxfunc.C (dispatch): invoke it.
5977
5978 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5979
5980         * iterators.C (operator++, ParPosition): reintroduce some
5981         const_cast for the benefit of older compilers.
5982
5983 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5984
5985         * text3.C (dispatch): do not modify clipboard when doing
5986         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5987         LFUN_DELETE_SKIP on a selection selection
5988
5989 2003-06-16  André Pönitz  <poenitz@gmx.net>
5990
5991         * BufferView.C:
5992         * buffer.C:
5993         * buffer.h:
5994         * paragraph.C:
5995         * tabular.[Ch]: IU of clone() and getLabelList();
5996
5997 2003-06-13  André Pönitz  <poenitz@gmx.net>
5998
5999         * tabular.h: compactification
6000
6001 2003-06-12  André Pönitz  <poenitz@gmx.net>
6002
6003         * tabular.C:
6004         * tabular.h:
6005         * tabular_funcs.h: some renaming plus whitespace
6006
6007 2003-06-12  André Pönitz  <poenitz@gmx.net>
6008
6009         * BufferView.C:
6010         * BufferView_pimpl.C:
6011         * CutAndPaste.C:
6012         * buffer.C:
6013         * iterators.[Ch]:
6014         * lyxfunc.C:
6015         * text.C:
6016         * toc.C: Return a Paragraph & for ParIterator::operator*()
6017
6018 2003-06-11  John Levon  <levon@movementarian.org>
6019
6020         * lyx_main.C:
6021         * ToolbarBackend.h:
6022         * ToolbarBackend.C: add "Toolbars" section and
6023         put the flags there
6024
6025 2003-06-10  Angus Leeming  <leeming@lyx.org>
6026
6027         * lfuns.h:
6028         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6029
6030         * lyxfunc.C (dispatch): invoke it.
6031
6032 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * main.C: protect <ios> with HAVE_IOS
6035         (main): protect sync_with_stdio with HAVE_IOS
6036
6037 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6038
6039         * text2.C (cutSelection): adjust
6040         (pasteSelection): adjust
6041
6042         * messages.C: handle get of empty string
6043
6044         * main.C (main): use sync_with_stdio(false)
6045
6046         * lyxfunc.C (dispatch): adjust
6047
6048         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6049         (WriteAs): remove unneeded BufferView arg.
6050
6051         * bufferparams.h: use correct types on papersize, papersize2 and
6052         paperpackage.
6053
6054         * bufferparams.C (readToken): adjust for type
6055         (writeLaTeX): add missing cases to switch.
6056
6057         * bufferlist.C (quitWriteBuffer): adjust
6058         (close): adjust
6059
6060         * buffer.C (asciiParagraph): remove some commented code.
6061
6062         * CutAndPaste.C: remove current_view extern variable.
6063         (cutSelection): add BufferParams arg.
6064         (eraseSelection): add BufferParams arg.
6065         (pasteSelection): add Buffer const & arg
6066
6067 2003-06-07  John Levon  <levon@movementarian.org>
6068
6069         * buffer.C:
6070         * paragraph_funcs.C:
6071         * paragraph_pimpl.C:
6072         * text.C:
6073         * text2.C:
6074         * paragraph.h:
6075         * paragraph.C: allow InsetERT to freely space lines,
6076         and some consolidation of code
6077
6078 2003-06-06  José Matos  <jamatos@fep.up.pt>
6079
6080         * buffer.C (makeDocBookFile): fix bug #821
6081
6082 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6083
6084         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6085
6086 2003-06-04  Angus Leeming  <leeming@lyx.org>
6087
6088         * buffer.C: bump format to 224.
6089
6090 2003-06-05  André Pönitz  <poenitz@gmx.net>
6091
6092         * text2.C (redoParagraphs): remove two const_cast<>
6093
6094 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6095
6096         * ParagraphList.h: remove last remnants of NO_STD_LIST
6097
6098 2003-06-03  Angus Leeming  <leeming@lyx.org>
6099
6100         * factory.C (createInset): small change to the way InsetExternal's params
6101         are set.
6102
6103 2003-06-04  André Pönitz  <poenitz@gmx.net>
6104
6105         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6106
6107         * paragraph_pimpl.h:
6108         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6109
6110         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6111
6112         * undo_funcs.C: make some simple cases of undo work again
6113
6114 2003-06-03  John Levon  <levon@movementarian.org>
6115
6116         * ispell.C: HPUX doesn't have sys/select.h
6117         (from Albert Chin)
6118
6119 2003-06-03  John Levon  <levon@movementarian.org>
6120
6121         * CutAndPaste.C: update tabular and include inset
6122         buffer references
6123
6124         * buffer.h:
6125         * paragraph.h:
6126         * paragraph.C: remove owningBuffer(), don't pass Buffer
6127         to clone()
6128
6129         * factory.C: insetGraphicsParams changed
6130
6131 2003-06-02  John Levon  <levon@movementarian.org>
6132
6133         * LyXAction.C:
6134         * factory.C:
6135         * lfuns.h:
6136         * lyxfunc.C:
6137         * text3.C: remove insetparent
6138
6139 2003-06-02  John Levon  <levon@movementarian.org>
6140
6141         * buffer.h:
6142         * buffer.C: fix inset_iterator.end(), move out of line
6143         (bug 1149)
6144
6145 2003-06-01  John Levon  <levon@movementarian.org>
6146
6147         * text3.C: use a proper cut/paste when doing inset
6148         insert (from Jürgen Spitzmüller)
6149
6150 2003-06-01  John Levon  <levon@movementarian.org>
6151
6152         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6153
6154 2003-05-30  André Pönitz  <poenitz@gmx.net>
6155
6156         * rowpainter.C: unify second drawing phase
6157
6158 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * trans_mgr.C: remove one case of current_view
6161
6162         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6163
6164         * paragraph_funcs.h: remove paragraph.h include
6165
6166         * paragraph.h: delete NO_STD_LIST stuff
6167
6168         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6169
6170         * buffer.h: remove paragraph.h include
6171
6172         * ParagraphList.C: delete file
6173
6174         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6175
6176         * toc.C (getTocList): adjust
6177
6178         * paragraph_pimpl.C (validate): adjust
6179
6180         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6181
6182         * paragraph.C (Paragraph): adjust
6183         (getPositionOfInset): use const_iterator, adjust
6184         (bibitem): use const_iterator, adjust
6185         (setInsetOwner): adjust
6186
6187         * iterators.C (operator++): adjust
6188
6189         * InsetList.[Ch]: Replace selfmade iterator with standard
6190         vector::iterator also introduce const_iterator. Remove getPos,
6191         getInset and setInset from InsetTable. Adjust accordingly.
6192
6193         * BufferView.C (lockInset): adjust
6194         (ChangeInsets): adjust
6195
6196         * tabular.[Ch]: delete commented same_id functions
6197
6198 2003-05-28  John Levon  <levon@movementarian.org>
6199
6200         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6201
6202 2003-05-28  André Pönitz  <poenitz@gmx.net>
6203
6204         * metricsinfo.[Ch]: remove 'fullredraw' member
6205
6206 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6207
6208         * lyxtextclass.C (operator): remove caching.
6209
6210 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * text3.C: adjust
6213
6214         * text2.C (cursorBottom): adjust
6215         (setCounter): use ParagraphList::find, adjust
6216
6217         * text.C (workWidth): use ParagraphList::find, adjust
6218
6219         * lyxcursor.C (LyXCursor): adjust
6220
6221         * buffer.C (inset_iterator): adjust
6222
6223         * ParagraphList.h: make iterator(value_type) private, make
6224         ParagraphList a friend of iterator.
6225
6226         * ParagraphList.C (find): new function
6227
6228         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6229
6230 2003-05-27  André Pönitz  <poenitz@gmx.net>
6231
6232         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6233
6234 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6235
6236         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6237
6238 2003-05-26  John Levon  <levon@movementarian.org>
6239
6240         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6241
6242 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * remove same_id from function signatures, adjust.
6245
6246 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6249
6250         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6251
6252         * paragraph.C (Paragraph): get rid of same_ids parameter
6253
6254         * ParagraphList.C (insert): adjust
6255         (push_back): adjust
6256
6257 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * paragraph_funcs.C (breakParagraph): adjust
6260         (breakParagraphConservative): adjust
6261
6262         * buffer.C (readParagraph): adjust
6263
6264         * ParagraphList.C (insert): take a reference instead of a pointer
6265         (insert): adjust
6266
6267         * paragraph.[Ch] (id): new function
6268
6269         * bufferlist.C (newFile): adjust
6270
6271         * ParagraphList.C (ParagraphList): adjust
6272         (assign): adjust
6273         (push_back): take a reference instead of a pointer.
6274
6275         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6276
6277         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6278         instead.
6279
6280         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6281         set else use old code.
6282
6283         * ParagraphList.C: remove all NO_NEXT code and only compile this
6284         code of NO_STD_LIST is set.
6285
6286 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * BufferView_pimpl.C:
6289         * TextCache.C:
6290         * TextCache.h:
6291         * bufferlist.C:
6292         * errorlist.h:
6293         * format.C:
6294         * format.h:
6295         * graph.C:
6296         * lyxfunc.C:
6297         * lyxrc.C:
6298         * graphics/GraphicsConverter.C:
6299         * graphics/PreviewLoader.C: header adjustment
6300
6301 2003-05-23  Angus Leeming  <leeming@lyx.org>
6302
6303         * LaTeXFeatures.[Ch] (useBabel): new method.
6304         * bufferparams.C (writeLaTeX): use it.
6305
6306 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * ParagraphList.h (set): remove unused function.
6309
6310 2003-05-23  André Pönitz  <poenitz@gmx.net>
6311
6312         * BufferView.C:
6313         * BufferView_pimpl.C:
6314         * buffer.C:
6315         * buffer.h:
6316         * lyxfunc.C:
6317         * undo_funcs.C: setUndo reworked
6318
6319         * iterators.[Ch]: add access to topmost ParagraphList
6320
6321         * lyxtext.[Ch] (workWidth): add a const
6322
6323 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6324
6325         * texrow.[Ch] (increasePos): remove function
6326         * exporter.C (export): removed unused var and outdated comment
6327
6328 2003-05-23  Angus Leeming  <leeming@lyx.org>
6329
6330         * latexrunparams.h: rename fragile as moving_arg.
6331         * paragraph.C (simpleTeXOnePar): ditto.
6332         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6333
6334 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6337         (createUndo): ditto
6338         (textUndoOrRedo): comment out a currently unused var.
6339
6340         * paragraph.h (NO_NEXT): enable NO_NEXT
6341
6342         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6343
6344         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6345
6346         * exporter.C (Export): adjust for removeAutoInsets removal.
6347
6348         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6349
6350         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6351
6352         * BufferView.[Ch] (removeAutoInsets): delete function
6353
6354 2003-05-22  Angus Leeming  <leeming@lyx.org>
6355
6356         * latexrunparams.h: add a free_spacing variable.
6357
6358         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6359         to pass moving_arg, as the data is stored in runparams.fragile.
6360
6361         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6362         to Inset::latexOptional or to simpleTeXOnePar.
6363
6364         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6365         free_spacing arg to Inset::latexOptional.
6366
6367         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6368         free_spacing arg.
6369
6370 2003-05-22  Angus Leeming  <leeming@lyx.org>
6371
6372         * latexrunparams.h: add fragile and use_babel variables.
6373
6374         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6375         * buffer.C (makeLaTeXFile): store this returned value in
6376         runparams.use_babel, thus passing it to the inset::latex methods.
6377
6378         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6379         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6380
6381         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6382         longer has a fragile arg, as it is stored in runparams.fragile.
6383
6384         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6385         moving_arg parameter as the data is stored in runparams.fragile.
6386
6387         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6388         a fragile parameter as the data is stored in runparams.fragile.
6389
6390 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6391
6392         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6393
6394 2003-05-22  Angus Leeming  <leeming@lyx.org>
6395
6396         * latexrunparams.h: add a 'bool nice' which defaults to false.
6397
6398         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6399         now encapsulated within runparams.
6400
6401         * bufferlist.C (updateIncludedTeXfiles):
6402         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6403
6404 2003-05-22  Angus Leeming  <leeming@lyx.org>
6405
6406         * latexrunparams.h: new file containing struct LatexRunParams.
6407         * Makefile.am: add new file.
6408
6409         * LaTeX.[Ch] (c-tor, run):
6410         * buffer.[Ch] (makeLaTeXFile):
6411         * bufferlist.[Ch] (updateIncludedTeXfiles):
6412         * converter.C (convert, scanLog):
6413         * converter.[Ch] (runLaTeX):
6414         * exporter.C (Export):
6415         * paragraph.[Ch] (simpleTeXOnePar):
6416         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6417         * paragraph_funcs.[Ch] (latexParagraphs):
6418         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6419         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6420         pass around a LatexRunParams parameter.
6421
6422 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * paragraph.[Ch]: remove unused constructor
6425
6426         * ParagraphList.C (erase): new function, taking two iterators
6427
6428 2003-05-22  André Pönitz  <poenitz@gmx.net>
6429
6430         * undo_funcs.C: remove duplicated code
6431
6432         * iterator.[Ch]: operator=
6433
6434 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * tabular.C (SetMultiColumn): ws changes
6437
6438         * rowpainter.C (paintFirst): get rid of a ->previous
6439
6440         * lyx_cb.C (getPossibleLabel): parlist simplification
6441
6442         * BufferView.C (ChangeInsets): simplify slightly.
6443
6444 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6445
6446         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6447         * lfuns.h: new LFUN_SPACE
6448         * lyxfunc.C: protected space has a new lfun
6449         * paragraph_funcs.C: read new space insets
6450         * text3.C:
6451         * factory.C: handle new space insets
6452
6453 2003-05-22  André Pönitz  <poenitz@gmx.net>
6454
6455         * BufferView.C:
6456         * BufferView_pimpl.C:
6457         * buffer.[Ch]:
6458         * lyxfunc.C:
6459         * undo_funcs.C: return a ParIterator from getParFromID.
6460
6461         * iterators.[Ch]: add two const's
6462
6463 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * toc.C (getTocList): adjust
6466
6467         * iterators.[Ch]: rework for parlist
6468
6469         * buffer.C (par_iterator_begin): adjust
6470         (par_iterator_end): adjust
6471
6472         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6473
6474         * BufferView.C (removeAutoInsets): adjust
6475         (ChangeInsets): adjust
6476
6477 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6478
6479         * text.C (top_y): fix bug 1110
6480
6481 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * errorlist.[Ch]: added
6484         * buffer.C:
6485         * BufferView.[Ch]:
6486         * BufferView_pimpl.C:
6487         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6488         instead
6489
6490 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * Makefile.am: ensure that lyx is relinked upon changes to the
6493         various "convenience" libs.
6494
6495 2003-05-20  Angus Leeming  <leeming@lyx.org>
6496
6497         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6498         files are compiled in alphabetical order again.
6499
6500         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6501
6502 2003-05-19  Angus Leeming  <leeming@lyx.org>
6503
6504         * gettext.[Ch]: remove "char const * _(char const *)".
6505
6506 2003-05-19  André Pönitz  <poenitz@gmx.net>
6507
6508         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6509
6510         * Makefile.am:
6511         * BufferView.C:
6512         * DepTable.h:
6513         * LaTeXFeatures.C:
6514         * buffer.C:
6515         * lyxfont.C:
6516         * lyxlex.h:
6517         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6518
6519 2003-05-19  André Pönitz  <poenitz@gmx.net>
6520
6521         * buffer.C:
6522         * lyxlayout.[Ch]:
6523         * lyxtextclass.[Ch]:
6524         * paragraph.C:
6525         * paragraph_funcs.[Ch]:
6526         * text2.C:
6527         * text3.C: more insetenv work
6528
6529 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * ParagraphParameters.C (params2string): small bug fixed
6532
6533 2003-05-16  André Pönitz  <poenitz@gmx.net>
6534
6535         * debug.C:
6536         * bufferview_funcs.C: patch from Kornel Benko to prevent
6537           crash when _(...) is called twice in a statement
6538
6539 2003-05-16  André Pönitz  <poenitz@gmx.net>
6540
6541         * BufferView.C:
6542         * lyxfunc.C:
6543         * text.C:
6544         * text2.C:
6545         * text3.C:
6546         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6547
6548 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6549
6550         * lyx_main.C (init): remove spurious static_cast
6551
6552 2003-05-14  André Pönitz  <poenitz@gmx.net>
6553
6554         * BufferView.C: fix format string
6555
6556 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6557
6558         * BufferView.[Ch] (insertErrors): removed
6559         * BufferView.[Ch] (showErrorList): added
6560         * buffer.C (runChkTeX):
6561         * converter.C (scanLog): call showErrorList instead of inserterrors
6562
6563 2003-05-13  André Pönitz  <poenitz@gmx.net>
6564
6565         * BufferView_pimpl.C:
6566         * buffer.C:
6567         * bufferview_func.C:
6568         * MenuBackend.C:
6569         * lyxfunc.C:
6570         * lyxrc.C:
6571         * tex-accent.C:
6572         * text3.C:
6573         * toc.C:
6574         * tabular_funcs.h: tostr() from its own header
6575
6576         * ParagraphParameters.C:
6577         * ToolbarBackend.C:
6578         * bufferparams.C:
6579         * format.C:
6580         * lyxlex_pimpl.C:
6581         * text3.C: STRCONV()
6582
6583 2003-05-12  André Pönitz  <poenitz@gmx.net>
6584
6585         * BufferView.C:
6586         * BufferView_pimpl.C:
6587         * CutAndPaste.C:
6588         * LaTeX.C:
6589         * LaTeXFeatures.C:
6590         * ParagraphParameters.C:
6591         * buffer.C:
6592         * bufferlist.C:
6593         * bufferparams.C:
6594         * bufferview_funcs.C:
6595         * converter.C:
6596         * counters.C:
6597         * debug.C:
6598         * exporter.C:
6599         * format.C:
6600         * importer.C:
6601         * lyx_cb.C:
6602         * lyx_main.C:
6603         * lyxfont.C:
6604         * lyxfunc.C:
6605         * lyxvc.C:
6606         * paragraph.C:
6607         * paragraph_funcs.C:
6608         * tabular.C:
6609         * tabular_funcs.C:
6610         * text2.C:
6611         * text3.C:  boost::format -> bformat  all over the place
6612
6613
6614 2003-05-09  André Pönitz  <poenitz@gmx.net>
6615
6616         * LColor.[Ch]: Pimpl the #include <map> away
6617
6618 2003-05-09  John Levon  <levon@movementarian.org>
6619
6620         * bufferlist.C: never remove emergency saves
6621
6622 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * Makefile.am: better lib building
6625
6626 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6629         instead.
6630         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6631         (simpleTeXSpecialChars): adjust
6632         (simpleTeXSpecialChars): adjust
6633         * paragraph.C (simpleTeXOnePar): adjust
6634         * buffer.C (makeLaTeXFile): adjust
6635
6636         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6637
6638         * text2.C (changeDepth): parlist cleanup
6639         (getColumnNearX): ditto
6640
6641         * rowpainter.C (getLabelFont): parlist cleanup
6642
6643         * bufferlist.C (newFile): parlist cleanup
6644
6645         * CutAndPaste.C (eraseSelection): parlist cleanup
6646
6647         * BufferView_pimpl.C (trackChanges): parlist cleanup
6648         (dispatch): ditto
6649
6650         * BufferView.C (lockInset): parlist cleanup.
6651         (ChangeInsets): ditto
6652
6653 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * CutAndPaste.h: Update file header.
6656
6657         * CutAndPaste.C: Update file header.
6658         Store the parts cut out of the Document in a limited_stack.
6659         (copySelection): adjust
6660         (pasteSelection): new function, takes the index in the limited stack.
6661         (nrOfParagraphs): adjust
6662         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6663         simplify error inset insertion.
6664         (checkPastePossible): adjust
6665
6666 2003-05-06  John Levon  <levon@movementarian.org>
6667
6668         * text2.C: don't cast wrap inset to float
6669
6670 2003-05-05  André Pönitz  <poenitz@gmx.net>
6671
6672         * iterator.C:
6673         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6674
6675         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6676           few naked Paragraph *.
6677
6678 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6679
6680         * bufferparams.C: Output warning if a document with missing
6681         TeX document class is loaded
6682         * exporter.C: Disable TeX exports if the document class is missing
6683         * lyxtextclass.C:
6684         * lyxtextclass.h:
6685         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6686         isTeXClassAvailable()
6687
6688 2003-05-03  John Levon  <levon@movementarian.org>
6689
6690         * BufferView.h:
6691         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6692         explicit cursor show/hide
6693
6694         * BufferView_pimpl.h:
6695         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6696         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6697
6698         * lyxfunc.C: hide cursor before dispatching.
6699
6700         * lyx_cb.C:
6701         * lyxfind.C:
6702         * text.C:
6703         * text3.C: remove explicit cursor hides
6704
6705 2003-05-02  André Pönitz  <poenitz@gmx.net>
6706
6707         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6708
6709         * undo_funcs.C:
6710         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6711           linked lists
6712
6713         * text2.C: tiny whitespace
6714
6715 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * undo_funcs.C: almost only ws changes.
6718
6719         * ParagraphList.C (splice): just return if pl is empty.
6720
6721 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * ParagraphList.C (splice): new function.
6724
6725         * CutAndPaste.C (pasteSelection): use it
6726
6727 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * CutAndPaste.C (pasteSelection): remove the last next and
6730         previous from this file.
6731
6732 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * CutAndPaste.C (pasteSelection): more clean up, user proper
6735         ParagraphList functions for pasteing.
6736
6737         * ParagraphList.C (insert): new function, three arg insert
6738
6739 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * ParagraphList.C (insert): new function, three arg insert
6742
6743         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6744         not on paragraphs.
6745
6746 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6749
6750 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6753
6754 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6757         (copySelection): clean up a bit.
6758         (pasteSelection): use make_pair
6759
6760         * ParagraphList.C (ParagraphList): implement copy constructor
6761         (operator=): implement, base on copy constructor.
6762         (assign): new func
6763
6764         * paragraph.C (erase): return a bool
6765
6766         * paragraph_pimpl.C (erasePos): remove function, move contents...
6767         (erase): ... here. Return a bool.
6768         (erase): call erase instead of erasePos.
6769
6770 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * ParagraphList.h: define PitPosPair
6773         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6774         ParagraphList, fix a bug on pasting multiple pars
6775         * text2.C: change interface to C&P
6776
6777 2003-04-30  André Pönitz  <poenitz@gmx.net>
6778
6779         * undo_func.C: revert part of yesterday's patch 2
6780
6781 2003-04-30  John Levon  <levon@movementarian.org>
6782
6783         * LColor.C: s/tabular/table/
6784
6785 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * text3.C (dispatch): do not convert iterator -> pointer
6788         * undo_funcs.C (setCursorParUndo): ditto
6789         * text_funcs.C (transposeChars): ditto
6790
6791         * text2.C (setLayout): ws changes only
6792
6793         * text.C (breakParagraph): do not convert iterator -> pointer
6794         (insertChar): ditto
6795         (acceptChange): ditto
6796         (rejectChange): ditto
6797         (changeCase): ditto
6798         (Delete): ditto
6799         (backspace): ditto
6800
6801         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6802         pointer
6803
6804 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6805
6806         * text3.C (gotoInset): YABG (yet another bad getChar)
6807
6808 2003-04-29  André Pönitz  <poenitz@gmx.net>
6809
6810         * paragraph.h: make operator= private unimplemented as long as
6811           it is unusable
6812
6813         * ParagraphList.C: whitespace
6814
6815         * paragraph.[Ch]:
6816         * paragraph_pimpl.[Ch]:
6817         * paragraph_funcs.C:
6818         * CutAndPaste.C:
6819         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6820
6821         * text2.C:
6822           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6823
6824 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6825
6826         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6827         * paragraph.[Ch] (erase):
6828         * paragraph_pimpl.[Ch] (erase): change return type and value
6829         * text2.C (cutSelection): some rework
6830
6831 2003-04-28  John Levon  <levon@movementarian.org>
6832
6833         * bufferlist.C: changes for unsaved changes dialog
6834
6835 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * bufferlist.C (newFile): set language (messages_) for new
6838         documents also.
6839
6840         * buffer.C (readFile): ws changes only.
6841
6842 2003-04-28  André Pönitz  <poenitz@gmx.net>
6843
6844         * undo_funcs.C:
6845         * lyxfunc.C:
6846         * buffer.[Ch]:
6847         * BufferView_pimpl.C:
6848         * BufferView.C: getParFromID related ParagraphList::iterator changes
6849
6850 2003-04-28  André Pönitz  <poenitz@gmx.net>
6851
6852         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6853           Changes
6854
6855 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * messages.C: remove one more localedir class variable.
6858
6859 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * messages.C (getLocaleDir): singleton generation function
6862         (Pimpl): use it.
6863         (Messages): add a default constructor.
6864
6865         * main.C (main): do not setup localedir here, do not call
6866         gettext_init.
6867
6868         * gettext.C (_): use it.
6869         (gettext_init): delete funciton
6870
6871 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * gettext.C (getLyXMessages): new singleton generating function.
6874
6875         * buffer.C (updateDocLang): adjust
6876
6877         * Makefile.am (messages.o): add target
6878         (main.o): remove target
6879
6880 2003-04-27  John Levon  <levon@movementarian.org>
6881
6882         * bufferlist.C:
6883         * lyx_cb.C:
6884         * lyxfunc.C:
6885         * lyxvc.C: specify cancel button in Alert::prompt
6886
6887 2003-04-26  John Levon  <levon@movementarian.org>
6888
6889         * text3.C:
6890         * lyxfunc.C:
6891         * lfuns.h:
6892         * LyXAction.C: add LFUN_INSET_SETTINGS
6893
6894         * lyxfunc.C: don't enable tabular-feature when there's
6895         just any locking inset
6896
6897 2003-04-26  John Levon  <levon@movementarian.org>
6898
6899         * bufferlist.C: re-add Cancel to buffer close question
6900
6901         * lyxfunc.C: fix import UI a bit
6902
6903 2003-04-25  John Levon  <levon@movementarian.org>
6904
6905         * gettext.C: remove the broken asserts for now
6906
6907 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6908
6909         * messages.C: make case where setlocale cannot comply work better.
6910
6911         * buffer.C (updateDocLang): new function
6912         (changeLanguage): use it
6913         (readFile): use it
6914
6915         * text2.C (setCounter): use B_ a bit.
6916
6917         * lyxlayout.C (Read): be sure to trim the label strings.
6918
6919         * messages.C (Messages): fix typo in comment
6920
6921         * buffer.C (readFile): set message_ after file is loaded.
6922         (makeDocBookFile): remove double return
6923         (changeLanguage): reset message_ upon language change.
6924         (B_): new func, use this to get translated buffer strings.
6925
6926         * main.C: add myself and Jean Marc as authors.
6927
6928 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * messages.[hC]: pimplify Messages, and three different pimpls to be
6931         used in different circumstances.
6932
6933         * gettext.[Ch]: change for use with new message code.
6934
6935 2003-04-24 André Pönitz <poenitz@gmx.net>
6936
6937         * factory.C: support for eqref
6938
6939 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * messages.[Ch]: add missing char
6942
6943         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6944
6945         * messages.[Ch]: New files
6946
6947 2003-04-18  John Levon  <levon@movementarian.org>
6948
6949         * BufferView.h:
6950         * BufferView.C:
6951         * BufferView_pimpl.C:
6952         * lfuns.h:
6953         * LyXAction.C:
6954         * lyxtext.h:
6955         * text2.C: remove layout-copy/paste (bug 778)
6956
6957 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6958
6959         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6960
6961 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6962
6963         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6964         if they succeed. Act accordingly.
6965
6966 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * text2.C (setCharFont): adjust
6969         (setCounter): adjust
6970         (insertStringAsLines): adjust
6971
6972         * text.C (leftMargin): adjust
6973         (setHeightOfRow): adjust
6974
6975         * rowpainter.C (paintFirst): adjust
6976         (paintLast): adjust
6977
6978         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6979         (outerHook): ditto
6980         (isFirstInSequence): ditto
6981         (getEndLabel): ditto
6982         (outerFont): adjust
6983
6984         * paragraph.C (getParLanguage): comment out some hard stuff.
6985
6986         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6987         (sgmlError): ditto
6988         (simpleDocBookOnePar): ditto
6989         (makeDocBookFile): use ParagraphList::iterator
6990
6991         * CutAndPaste.C (pasteSelection): adjust
6992
6993 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * text2.C (getFont): adjust
6996         (getLayoutFont): adjust
6997         (getLabelFont): adjust
6998
6999         * paragraph_funcs.C (TeXOnePar): adjust
7000
7001         * buffer.C (simpleLinuxDocOnePar): adjust
7002         (simpleDocBookOnePar): adjust
7003
7004         * CutAndPaste.C (pasteSelection): adjust
7005
7006         * BufferView.C (getEncoding): adjust
7007
7008         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7009
7010 2003-04-16  John Levon  <levon@movementarian.org>
7011
7012         * lyxfind.C: use parlist stuff for search/changes
7013
7014 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7017
7018         * text2.C (deleteEmptyParagraphMechanism): adjust
7019
7020         * text2.[Ch] (ownerParagraph): delete func (both of them
7021
7022 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7025
7026 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * ParagraphList.C: prepare for NO_NEXT
7029
7030 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * text2.C (getFont): adjust
7033         (getLayoutFont): adjust
7034         (getLabelFont): adjust
7035
7036         * paragraph.C (getFont): adjust
7037         (getLabelFont): adjust
7038         (getLayoutFont): adjust
7039
7040         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7041
7042 2003-04-15  John Levon  <levon@movementarian.org>
7043
7044         From Angus Leeming
7045
7046         * lyx_main.C: handle Include in .ui files
7047
7048 2003-04-15  John Levon  <levon@movementarian.org>
7049
7050         * MenuBackend.C: make the doc files length shorter
7051
7052         * ToolbarBackend.h:
7053         * ToolbarBackend.C: handle toolbar placement flags,
7054         Minibuffer
7055
7056 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7059         adjust
7060
7061         * paragraph_funcs.C (TeXOnePar): adjust
7062
7063         * paragraph.C (getLabelFont): add outerfont arg, adjust
7064         (getLayoutFont): ditto
7065         (simpleTeXOnePar): adjust
7066
7067         * paragraph_pimpl.C (realizeFont): delete func
7068
7069 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7070
7071         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7072         row argument, constify cur argument.
7073
7074 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * text2.C (getFont): adjust
7077         (getLayoutFont): adjust
7078         (getLabelFont): adjust
7079
7080         * paragraph_funcs.C (TeXOnePar): adjust
7081         (outerFont): new func...
7082         (realizeFont): ...moved out from here, changed this to facilitate
7083         transition
7084
7085         * paragraph.C (getFont): take outerfont as arg, adjust
7086         (simpleTeXOnePar): add outerfont arg, adjust
7087
7088         * buffer.C (simpleLinuxDocOnePar): adjust
7089         (simpleDocBookOnePar): adjust
7090
7091         * CutAndPaste.C (pasteSelection): adjust
7092
7093         * BufferView.C (getEncoding): adjust
7094
7095 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * text2.C (setCharFont): adjust
7098         (setCounter): adjust
7099
7100         * text.C (leftMargin): adjust
7101         (setHeightOfRow): adjust
7102
7103         * rowpainter.C (paintFirst): adjust
7104         (paintLast): adjust
7105
7106         * paragraph_pimpl.C (realizeFont): adjust
7107
7108         * paragraph.C (isFirstInSequence): move from here...
7109         * paragraph_funcs.C (isFirstInSequence): ...to here
7110
7111         * paragraph.C (outerHook): move from here...
7112         * paragraph_funcs.C (outerHook): ...to here
7113
7114         * paragraph.C (depthHook): move from here...
7115         * paragraph_funcs.C (depthHook): ...to here
7116
7117         * paragraph.C (getEndLabel): move from here...
7118         * paragraph_funcs.C (getEndLabel): ...to here
7119
7120         * text2.C (realizeFont): move from here...
7121         * paragraph_funcs.C (realizeFont): ...to here
7122
7123 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7126
7127 2003-04-14  Angus Leeming  <leeming@lyx.org>
7128
7129         * LColor.[Ch]: scrap LColor mathcursor.
7130
7131 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * lyxlex.[Ch] (text): delete function
7134         * trans.C (Load): adjust
7135         * paragraph_funcs.C (readParToken): adjust
7136
7137 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7140         vector<char> instead of a char[].
7141
7142         * lyxlex_pimpl.C (getString): adjust
7143         (next): adjust
7144         (lex): use getString
7145         (eatLine): adjust
7146         (nextToken): adjust
7147
7148         * lyxlex.C (text): use pimpl_->getString()
7149         (getBool): ditto
7150         (findToken): ditto
7151
7152 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7155         (makeFontEntriesLayoutSpecific): temp var for par.size()
7156         (setLayout): temp var for ownerParagraphs().end()
7157         (fullRebreak): temp var for rows().end()
7158         (selectionAsString): temp var for boost::next(startpit), realize
7159         that the while really is a regular for loop.
7160         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7161         setCursor in one place.
7162         (setParagraph): temp vr for ownerParagraphs().end()
7163         (updateCounters): make the while loop a for loop
7164         (cutSelection): temp var for ownerParagraphs().end()
7165         (updateInset): make the do {} while() a regular for loop
7166         (getCursorX): use temp vars
7167         (setCurrentFont): use temp vars
7168         (getColumnNearX): use temp vars
7169
7170 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * text.C (transformChar): use temp var for getChar
7173         (computeBidiTables): use temp var for row->par()
7174         (fill): move temp vars for row->par() and pit->layout() earlier in
7175         the function.
7176         (labelFill): use temp var for row->par()
7177         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7178         asc and desc, realize that pit never changes and that firstpit is
7179         just a duplicate and not needed. Exchange rit->par() with pit in a
7180         lot of places.
7181         (breakAgain): use a temp var for boost::next(rit)
7182         (breakAgainOneRow): ditto
7183         (breakParagraph): use a temp var for rows().begin()
7184         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7185         (cursorRightOneWord): use temp var for cursor.par() and
7186         cursor.pos(), remove usage of tmpcursor.
7187         (cursorLeftOneWord): use temp var for cursor.par() and
7188         cursor.pos() only set cur at end of function.
7189
7190 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * text.C, text2.C: exchange all usage of Paragraph::next with
7193         boost::next(ParagraphList::iterator)
7194
7195         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7196
7197         * text2.C (cursorTop): simplify implementation
7198         (cursorBottom): ditto
7199         (setParagraph): use ParagraphList::iterator
7200         (setCurrentFont): adjust
7201         (getColumnNearX): adjust
7202         (cursorRight): adjust
7203         (cursorLeft): remove usage of Paragraph::previous
7204         (cursorUpParagraph): ditto
7205         (deleteEmptyParagraphMechanism): slight cleanup
7206
7207         * text.C (isBoundary): take a Paragraph const & instead of a
7208         pointer as arg.
7209         (addressBreakPoint): ditto
7210         (leftMargin): remove usage of Paragraph::previous.
7211         (setHeightOfRow): ditto
7212         (cursorLeftOneWord): ditto
7213         (selectNextWordToSpellcheck): ditto
7214         (Delete): ditto
7215         (backspace): ditto
7216         (breakParagraph): remove one usage of Paragraph::next
7217         (redoParagraph): ditto
7218         (acceptChange): ditto
7219         (insertChar): adjust
7220         (rowBreakPoint): adjust
7221
7222         * bufferview_funcs.C (toggleAndShow): adjust
7223
7224 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7225
7226         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7227         methods to access it.
7228         * lyxtext.h:
7229         * text.C: Added updateRowPositions to compute all row positions.
7230         Make top_y and getRowNearY() to use the cached y position
7231
7232 2003-04-11  John Levon  <levon@movementarian.org>
7233
7234         * text.C (rowBreakPoint): reintroduce the labelEnd
7235         checks, code copied from the row fill stuff. Deep voodoo.
7236
7237         * text.C (fill): add a comment and debugging for the
7238         next poor soul.
7239
7240 2003-04-11  John Levon  <levon@movementarian.org>
7241
7242         * text.C: make sure fullrow insets get wrapped to the next line,
7243         even when they're in a manual label
7244
7245 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * text2.C (insertParagraph): make it take ParagraphList::iterator
7248         as arg.
7249         (setLayout): make it return ParagraphList::iterator
7250         (redoParagraphs): ditto
7251         (setCounter): ditto
7252         (checkParagraph): ditto
7253
7254         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7255
7256         * text2.C: adjust several funcs.
7257         (realizeFont): take a ParagraphList::iterator as arg.
7258         (getLayoutFont): ditto
7259         (getLabelFont): ditto
7260         (setCharFont): ditto
7261
7262         * text.C: adjust several funcs.
7263
7264 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text.C (selectNextWordToSpellcheck): don't accidentally
7267         skip insets
7268
7269 2003-04-10  John Levon  <levon@movementarian.org>
7270
7271         * ToolbarBackend.C (getIcon): special handling for
7272         LFUN_MATH_DELIM
7273
7274 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * text2.C (cursorRight): a getChar assert fixed
7277
7278 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * text2.C (getFont): change to take a ParagraphList::iterator
7281         instead of Paragraph*
7282         Adjust several functions.
7283
7284         * text.C (transformChar): change to take a ParagraphList::iterator
7285         instead of Paragraph*
7286         (singleWidth): ditto
7287         Adjust several functions.
7288
7289         * rowpainter.C: adjust several functions
7290         * rowpainter.h:store a ParagraphList::iterator and not a
7291         Paragraph&.
7292
7293
7294 2003-04-09  John Levon  <levon@movementarian.org>
7295
7296         * lyxfunc.C:
7297         * lfuns.h:
7298         * LyXAction.h:
7299         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7300         and the "help" bits as well
7301
7302 2003-04-09  John Levon  <levon@movementarian.org>
7303
7304         * ToolbarBackend.h:
7305         * ToolbarBackend.C: allow multiple toolbars
7306
7307 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * undo_funcs.C (setCursorParUndo): adjust
7310
7311         * text_funcs.C (transposeChars): adjust
7312
7313         * text3.C (gotoNextInset): adjust
7314         (dispatch): adjust
7315
7316         * text2.C (setLayout): adjust
7317         (changeDepth): adjust
7318         (setFont): adjust
7319         (redoParagraphs): adjust
7320         (selectionAsString): adjust
7321         (setParagraph): adjust
7322         (insertInset): adjust
7323         (cutSelection): adjust
7324         (copySelection): adjust
7325         (pasteSelection): adjust
7326         (insertStringAsLines): adjust
7327         (updateInset): adjust
7328         (setCursor): change to take a ParagraphList::iterator parameter
7329         (setCursorIntern): change to take a ParagraphList::iterator parameter
7330         (setCurrentFont): adjust
7331         (cursorLeft): adjust
7332         (cursorRight): adjust
7333         (deleteEmptyParagraphMechanism): adjust
7334
7335         * text.C (breakParagraph): adjust
7336         (insertChar): adjust
7337         (acceptChange): adjust
7338         (rejectChange): adjust
7339         (selectNextWordToSpellcheck): adjust
7340         (changeCase): adjust
7341         (Delete): adjust
7342         (backspace): adjust
7343
7344         * lyxfind.C (SearchForward): adjust
7345         (SearchBackward): adjust
7346         (nextChange): adjust
7347
7348         * lyxcursor.C (par): adjust
7349
7350         * lyxcursor.h: store a ParagraphList::iterator instead of a
7351         Paragraph*
7352
7353         * lyx_cb.C (getPossibleLabel): adjust
7354
7355         * bufferview_funcs.C (toggleAndShow): adjust
7356
7357         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7358         (dispatch): adjust
7359
7360         * BufferView.C (removeAutoInsets): adjust
7361         (lockedInsetStoreUndo): adjust
7362
7363 2003-04-09  John Levon  <levon@movementarian.org>
7364
7365         * ToolbarBackend.C: try icon without argument
7366         if with argument fails
7367
7368 2003-04-08  John Levon  <levon@movementarian.org>
7369
7370         * ToolbarBackend.h:
7371         * ToolbarBackend.C: add getIcon(), handle tooltip,
7372         and change from "Icon" to "Item".
7373
7374 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7375
7376         * BufferView.C (lockInset): another bad getchar crunched
7377
7378 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7379
7380         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7381         again)
7382
7383 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7384
7385         * lyxfind.C (searchForward, searchBackwards): bug 782
7386
7387 2003-04-07  John Levon  <levon@movementarian.org>
7388
7389         * paragraph.C: remove dead comment
7390
7391         * text.C: remove troublesome depth-fiddling code
7392         in leftMargin() and rightMargin() (bug 1017)
7393
7394         * text.C: fix breaking of rows in nested lists
7395         (bug 1004)
7396
7397         * text2.C (updateCounters): fix up depth values
7398         (bug 1013)
7399
7400 2003-04-07  John Levon  <levon@movementarian.org>
7401
7402         * BufferView_pimpl.C: clear message when doc finishes resizing,
7403         and after a mouse event
7404
7405         * lyxfunc.C: clear message after exiting inset
7406
7407 2003-04-07  John Levon  <levon@movementarian.org>
7408
7409         * bufferview_funcs.C: show math status not outside
7410         status in the statusbar
7411
7412 2003-04-07  John Levon  <levon@movementarian.org>
7413
7414         * lyxfunc.C: note status changed after a depth change
7415
7416 2003-04-04  Angus Leeming  <leeming@lyx.org>
7417
7418         * LaTeX.h: move AuxInfo operator==, != out of line.
7419         Remove LaTeX virtual destructor; nothing derives from it.
7420         Move operator()() out of public area and rename it startscript().
7421         Change protected for private.
7422
7423 2003-04-04  Angus Leeming  <leeming@lyx.org>
7424
7425         * lyxfunc.C:
7426         * text2.C: remove unneeded #includes.
7427
7428 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7429
7430         * text2.C (dEPM): fix the heigth of the next row
7431
7432 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * text.C: squashed an invalid getChar requester + some ws changes
7435
7436 2003-04-03  John Levon  <levon@movementarian.org>
7437
7438         * bufferview_funcs.h:
7439         * bufferview_funcs.C:
7440         * lyxfunc.C:
7441         * lyxtext.h:
7442         * text2.C: make getStatus work for the env depth lfuns
7443
7444 2003-04-03  John Levon  <levon@movementarian.org>
7445
7446         * bufferview_funcs.h:
7447         * bufferview_funcs.C:
7448         * lyxfunc.C:
7449         * lyxtext.h:
7450         * text2.C: parlistize decDepth(), by merging it with incDepth()
7451
7452 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * lyxrow.h: store a ParagraphList::iterator instead of a
7455         Paragraph* and adjust other class functions to suit.
7456
7457         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7458         above.
7459
7460 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7461
7462         * text2.C (setCursor): do not anchor to cursor row for the time being
7463
7464 2003-04-02  John Levon  <levon@movementarian.org>
7465
7466         * LyXAction.C:
7467         * lfuns.h:
7468         * lyx_main.C:
7469         * lyxtext.h:
7470         * text.C:
7471         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7472
7473 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * paragraph.h: make ParagraphList and ParagraphList::iterator
7476         friends of Paragraph.
7477
7478         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7479
7480         * ParagraphList.C: Use the private next_ and previous_ from
7481         Paragraph.
7482
7483 2003-04-01  John Levon  <levon@movementarian.org>
7484
7485         * ToolbarBackend.h:
7486         * ToolbarBackend.C:
7487         * Makefile.am: rename, remove defaults gunk
7488
7489         * MenuBackend.h:
7490         * MenuBackend.C: remove defaults gunk
7491
7492         * Languages.h:
7493         * Languages.C: remove defaults gunk
7494
7495         * lyx_main.h:
7496         * lyx_main.C: error out if files couldn't be found.
7497
7498 2003-04-02  John Levon  <levon@movementarian.org>
7499
7500         * text2.C: make incDepth() use parlist
7501
7502 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * undo_funcs.C (firstUndoParagraph): adjust
7505
7506         * text3.C (gotoInset): adjust
7507         (dispatch): adjust, and rewrite loop.
7508
7509         * text2.C (init): adjust, and rewrite loop.
7510         (redoParagraphs): adjust
7511         (updateInset): adjust, and rewrite loop.
7512         (deleteEmptyParagraphMechanism): adjust
7513
7514         * tabular.C (LyXTabular): adjust
7515         (SetMultiColumn): adjust
7516         (TeXRow): adjust
7517
7518         * lyxtext.[Ch] (ownerParagraph): delete function
7519         (ownerParagraphs): new function returns a ParagraphList.
7520
7521         * BufferView.C (removeAutoInsets): adjust
7522         (insertErrors): adjust
7523         (setCursorFromRow): adjust
7524
7525 2003-04-01  Angus Leeming  <leeming@lyx.org>
7526
7527         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7528         in the frontends.
7529
7530 2003-04-02  John Levon  <levon@movementarian.org>
7531
7532         * lyxtext.h:
7533         * text.C:
7534         * Makefile.am:
7535         * text_funcs.h:
7536         * text_funcs.C: make transposeChars a free function
7537
7538         * lyxrow_funcs.C: remove wrong comment
7539
7540 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * lyxtext.h: adjust
7543         * rowpainter.C: adjust
7544         * text.C: adjust
7545         * text2.C: adjust
7546         * text3.C: adjust
7547
7548         * lyxrow_funcs. [Ch]: new files
7549
7550         * lyxrow.[Ch]: remove next and previous pointers
7551         (next,previous): remove accessor functions
7552         (isParEnd): move to lyxrow_funcs
7553         (lastPos): move to lyxrow_funcs
7554         (nextRowIsAllInset): move to lyxrow_funcs
7555         (lastPrintablePos): move to lyxrow_funcs
7556         (numberOfSeparators): move to lyxrow_funcs
7557         (numberOfHfills): move to lyxrow_funcs
7558         (numberOfLabelHfills): move to lyxrow_funcs
7559         (hfillExpansion): move to lyxrow_funcs
7560
7561         * lyxfunc.C: adjust
7562
7563         * bufferview_funcs.C (toggleAndShow): adjust
7564
7565         * RowList.h: Remove class RowList from file leave just a
7566         std::list<Row>.
7567
7568         * RowList.C: delete file
7569
7570         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7571         and lyxrow_funcs.h
7572
7573 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * text3.C (cursorPrevious): adjust
7576         (cursorNext): adjust
7577         (dispatch): adjust
7578
7579         * text2.C (redoHeightOfParagraph): adjust
7580         (redoDrawingOfParagraph): adjust
7581         (setCursor): adjust
7582
7583         * text.C (breakParagraph): adjust
7584         (insertChar): adjust
7585         (backspace): adjust
7586
7587         * rowpainter.C (RowPainter): adjust
7588         (leftMargin): simplify and adjust
7589         (most rowpainter functions): adjust.
7590
7591         * rowpainter.h: store the row as RowList::iterator not as Row*
7592
7593         * lyxcursor.C (row): taka RowList::iterator as arg
7594         (irow): ditto
7595
7596         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7597         of Row*.
7598
7599 2003-04-01  Angus Leeming  <leeming@lyx.org>
7600
7601         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7602         stuff like bool Bool.
7603
7604 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7605
7606         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7607         rewrite a loop
7608
7609 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7612         RowList::iterator.
7613
7614         * lyxtext.h (rows): drop one version and leve a const variant that
7615         returns a RowList::iterator.
7616
7617 2003-03-31  Angus Leeming  <leeming@lyx.org>
7618
7619         * text.C (fill): ensure that the signature is the same as that in the
7620         header file.
7621
7622 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * text2.C (redoParagraphs): adjust
7625         (updateCounters): adjust
7626         (checkParagraph): adjust
7627         (getColumnNearX): adjust and reformat a bit.
7628
7629         * text.C (top_y): adjust
7630         (workWidth): adjust
7631         (leftMargin): adjust
7632         (prepareToPrint): adjust
7633         (getRow): adjust
7634         (getRowNearY): adjust
7635
7636         * lyxtext.h: make rowlist_ mutable.
7637
7638         * RowList.h: add const_iterator
7639         * RowList.C: adjust for RowList::const_iterator.
7640
7641         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7642         adjust.
7643
7644 2003-03-31  John Levon  <levon@movementarian.org>
7645
7646         * lyxrc.h:
7647         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7648
7649         * lyx_main.C: set default fonts from using lyx_gui funcs
7650
7651         * exporter.C: pdf_mode moved from lyxrc
7652
7653         * lyx_cb.C:
7654         * lyxfunc.C: changes from above
7655
7656 2003-03-31  John Levon  <levon@movementarian.org>
7657
7658         * lyx_main.C: fix to the last fix
7659
7660 2003-03-31  John Levon  <levon@movementarian.org>
7661
7662         * bufferlist.C: "Load original" -> "Load Original"
7663
7664         * converter.C:
7665         * exporter.C:
7666         * importer.C:
7667         * lyx_main.C:
7668         * format.C: more Alert cleanups
7669
7670 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * text2.C (removeParagraph): make it take a RowList::iterator as
7673         arg, adjust.
7674         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7675         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7676
7677         * text.C (anchor_row): make it take a RowList::iterator as arg,
7678         adjust.
7679         (computeBidiTables): make it take a const reference to Row instead
7680         of Row pointer, adjust.
7681         (leftMargin): make it take a RowList::iterator as arg, adjust.
7682         (rowBreakPoint): adjust
7683         (breakAgainOneRow): make it take a RowList::iterator as arg,
7684         adjust.
7685         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7686
7687         * bufferview_funcs.C (toggleAndShow): adjust
7688
7689 2003-03-30  John Levon  <levon@movementarian.org>
7690
7691         * Makefile.am:
7692         * BoostFormat.h:
7693         * boost-inst.C: moved to support
7694
7695         * several files: changes as a result
7696
7697 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * text2.C (LyXText): adjust.
7700         (init): adjust
7701         (removeRow): make it take a RowList::iterator as arg, adjust.
7702         (fullRebreak): adjust
7703         (deleteEmptyParagraphMechanism): adjust
7704         (clearPaint): adjust
7705         (postPaint): adjust
7706
7707         * text.C (top_y): adjust
7708         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7709         (breakAgain): make it take a RowList::iterator as arg, adjust.
7710         (breakParagraph): adjust
7711         (insertChar): adjust
7712         (backspace): adjust
7713
7714         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7715         need_break_row, and refresh_row.
7716
7717         * text3.C (dispatch): adjust
7718
7719         * text2.C (checkParagraph): adjust
7720         (setCursor): adjust
7721         (setCursorFromCoordinates): adjust
7722
7723         * text.C (top_y): adjust
7724         (workWidth): adjust
7725         (getRow): make it return a RowList::iterator, adjust
7726         (getRowNearY): make it return a RowList::iterator, adjust
7727
7728         * text2.C (init): adjust
7729         (insertRow): remove function
7730         (insertParagraph): adjust
7731         (redoParagraphs): adjust
7732         (fullRebreak): adjust
7733         (updateCounters): adjust
7734
7735         * text.C (top_y): rewrite to use RowList iterators.
7736         (top_y): adjust
7737         (setHeightOfRow): rewrite to sue RowList iterators.
7738         (appendParagraph): adjust
7739         (breakAgain): adjust
7740         (breakAgainOneRow): adjust
7741         (breakParagraph): adjust
7742         (getRow): adjust
7743         (getRowNearY): adjust, and remove commented code.
7744
7745         * lyxtext.h (firstRow): delete function
7746         (lastRow): delete function
7747         (rows): new function (const and non-const versions.)
7748         (insertRow): delete function
7749
7750         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7751
7752 2003-03-29  John Levon  <levon@movementarian.org>
7753
7754         * BufferView_pimpl.C: always update scrollbar top
7755         because pasting text when we're anchored could mean we
7756         miss an update altogether
7757
7758 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7759
7760         * text2.C (init): use rowlist_.end() and not 0.
7761         (insertRow): change to take a RowList::iterator as arg, adjust
7762         for this.
7763         (insertParagraph): change to take a RowList::iterator as arg,
7764         adjust for this.
7765         (redoParagraphs): remove some debug msgs.
7766
7767         * text.C (appendParagraph): change to take a RowList::iterator
7768         arg, adjust for this.
7769         (breakAgain): add an assert
7770         (breakAgainOneRow): ditto
7771
7772 2003-03-29  John Levon  <levon@movementarian.org>
7773
7774         * text2.C: do not clear selection after inc/decDepth
7775         (bug 550)
7776
7777 2003-03-29  John Levon  <levon@movementarian.org>
7778
7779         * BufferView.C:
7780         * buffer.C: fix broken strerrors according to Lars
7781
7782 2003-03-29  John Levon  <levon@movementarian.org>
7783
7784         * converters.C: more Alert cleanups
7785
7786 2003-03-29  John Levon  <levon@movementarian.org>
7787
7788         * bufferview_funcs.C: remove pointless Alert
7789
7790         * buffer.C: fix confusing error message when
7791         a template is chmoded 000
7792
7793 2003-03-29  John Levon  <levon@movementarian.org>
7794
7795         * BufferView.C:
7796         * BufferView.h:
7797         * BufferView_pimpl.C: Alert fixes
7798
7799         * Makefile.am:
7800         * tabular.C:
7801         * tabular-old.C: remove unused table compat reading
7802
7803 2003-03-29  John Levon  <levon@movementarian.org>
7804
7805         * BufferView.C:
7806         * buffer.C:
7807         * lyx_cb.h:
7808         * lyx_cb.C: more Alert cleanups
7809
7810         * lyxfunc.C: don't allow chktex if not latex document
7811
7812 2003-03-29  John Levon  <levon@movementarian.org>
7813
7814         * lyx_cb.C:
7815         * BufferView.C:
7816         * buffer.C: warnings pushed down from support/,
7817         kill err_alert
7818
7819 2003-03-29  John Levon  <levon@movementarian.org>
7820
7821         * lyxfunc.C: safety check for C-r (revert)
7822
7823 2003-03-29  John Levon  <levon@movementarian.org>
7824
7825         * bufferlist.h:
7826         * bufferlist.C: several UI fixes using Alert::prompt.
7827         Fix the pointless looping quit code. Fix stupid revert
7828         behaviour (bug 938)
7829
7830         * lyxvc.h:
7831         * lyxvc.C:
7832         * lyx_cb.C: use Alert::prompt
7833
7834         * lyx_main.C: remove a silly question
7835
7836         * lyxfunc.C: remove a couple of silly questions,
7837         use Alert::prompt
7838
7839 2003-03-28  John Levon  <levon@movementarian.org>
7840
7841         * text2.C: fix bug 974 (End on empty par)
7842
7843 2003-03-28  John Levon  <levon@movementarian.org>
7844
7845         * BufferView_pimpl.C:
7846         * LyXAction.C:
7847         * lfuns.h: remove do-nothing math greek lfuns
7848
7849 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * lyxgluelength.h (isValidGlueLength): add default arg on
7852         parameter 2. Remove default arg from friend in class.
7853
7854         * lyxlength.h (isValidLength): add default arg on parameter 2.
7855         Remove default arg from friend in class.
7856
7857         * text2.C (LyXText): adjust, initialize refresh_row.
7858         (init): adjust
7859         (removeRow): adjust
7860         (insertRow): adjust
7861         (insertParagraph): adjst
7862         (redoParagraphs): adjust
7863         (fullRebreak): adjust
7864         (updateCounters): adjust
7865         (deleteEmptyParagraphMechanism): first attempt at fixing a
7866         crashing bug.
7867
7868         * text.C (top_y): adjust
7869         (setHeightOfRow): adjust
7870         (getRow): adjust
7871         (getRowNearY): adjust
7872
7873         * lyxtext.h: include RowList.h
7874         (~LyXText): not needed anymore, deleted.
7875         (firstRow): modify for RowList
7876         (lastRow): new function
7877         Delete firstrow and lastrow class variables, add a Rowlist
7878         rowlist_ class variable.
7879
7880         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7881         paragraph is empty.
7882
7883         * RowList.C (insert): fix case where it == begin().
7884
7885 2003-03-26  Angus Leeming  <leeming@lyx.org>
7886
7887         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7888         the thesaurus dialog.
7889
7890 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7893
7894         * RowList.[Ch]: new files
7895
7896         * ParagraphList.C (erase): handle the case where it == begin
7897         correctly.
7898
7899 2003-03-25  John Levon  <levon@movementarian.org>
7900
7901         * Makefile.am:
7902         * aspell_local.h:
7903         * aspell.C: add new aspell support
7904
7905         * lyxrc.h:
7906         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7907         have it accessible.
7908
7909 2003-03-25  Angus Leeming  <leeming@lyx.org>
7910
7911         * lfuns.h:
7912         * LyXAction.C (init): new LFUN_INSET_INSERT.
7913
7914         * BufferView_pimpl.C (dispatch): split out part of the
7915         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7916
7917         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7918         LFUN_INSET_APPLY.
7919
7920 2003-03-25  Angus Leeming  <leeming@lyx.org>
7921
7922         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7923
7924 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7925
7926         * text2.C:
7927         * text3.C: remove useless row->height(0)
7928
7929 2003-03-25  John Levon  <levon@movementarian.org>
7930
7931         * lyxtext.h:
7932         * text2.C:
7933         * text3.C: rename the refreshing stuff to better names
7934
7935 2003-03-24  John Levon  <levon@movementarian.org>
7936
7937         * BufferView_pimpl.h:
7938         * BufferView_pimpl.C: update layout choice on a mouse
7939         press/release
7940
7941 2003-03-23  John Levon  <levon@movementarian.org>
7942
7943         * Makefile.am: fix commandtags.h reference
7944
7945 2003-03-22  John Levon  <levon@movementarian.org>
7946
7947         * BufferView_pimpl.C:
7948         * lyxtext.h:
7949         * rowpainter.C:
7950         * rowpainter.h:
7951         * text.C:
7952         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7953
7954 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7955
7956         * lyxtext.h:
7957         * text.C: take the rtl methods out of line
7958
7959 2003-03-21 André Pönitz <poenitz@gmx.net>
7960
7961         * metricsinfo.[Ch]: new files containing structures to be passed around
7962         during the two-phase-drawing...
7963
7964 2003-03-21 André Pönitz <poenitz@gmx.net>
7965
7966         * lyxtextclass.C: read 'environment' tag.
7967
7968 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7969
7970         * text2.C (removeRow): fix bug 964
7971
7972 2003-03-20  John Levon  <levon@movementarian.org>
7973
7974         * rowpainter.C:
7975         * text.C:
7976         * text2.C: paint cleanups. Inset::update() dropped font
7977         parameter
7978
7979 2003-03-19  John Levon  <levon@movementarian.org>
7980
7981         * lyxfunc.C: only fitcursor/markDirty if available()
7982
7983 2003-03-19  John Levon  <levon@movementarian.org>
7984
7985         * commandtags.h: rename to ...
7986
7987         * lfuns.h: ... this, and renumber / cleanup
7988
7989 2003-03-19  John Levon  <levon@movementarian.org>
7990
7991         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7992         fit the cursor after an lfun
7993
7994         * BufferView.h:
7995         * BufferView.C:
7996         * BufferView_pimpl.h:
7997         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7998
7999         * LyXAction.C: layout-character should have ReadOnly
8000
8001         * ParagraphParameters.C:
8002         * buffer.C:
8003         * bufferview_funcs.C:
8004         * lyx_cb.C:
8005         * lyxfind.C:
8006         * lyxtext.h:
8007         * text.C:
8008         * text2.C:
8009         * text3.C:
8010         * undo_funcs.C: changes from above
8011
8012 2003-03-18  John Levon  <levon@movementarian.org>
8013
8014         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8015         remove it from update()
8016
8017         * lyxfunc.C: update layout choice after an lfun
8018
8019         * text3.C: remove extra updateLayoutChoice()s
8020
8021 2003-03-18  John Levon  <levon@movementarian.org>
8022
8023         * text.C: top_y change means full repaint, fix
8024         a drawing bug with cursor movement
8025
8026 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8027
8028         * lyxtext.h:
8029         * text.C:
8030         * text2.C: anchor row on setCursor
8031
8032 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8033
8034         * lyxtext.h: remove almost all mutable keywords
8035         * text.C:
8036         * text2.C:
8037         * text3.C: remove const keywords accordingly
8038
8039 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8040
8041         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8042         anon namespace
8043         (TeXEnvironment): ditto
8044         (TeXOnePar): ditto
8045
8046 2003-03-17  John Levon  <levon@movementarian.org>
8047
8048         * text.C (rowBreakPoint): remove attempt to fix displayed
8049         math insets inside a manual label
8050
8051 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * lyxtext.h: remove BufferView* as first arg from almost all class
8054         functions.
8055         * other files: adjust.
8056
8057 2003-03-17  John Levon  <levon@movementarian.org>
8058
8059         * lyxtext.h:
8060         * undo_funcs.C:
8061         * text2.C: more paint cleanups
8062
8063         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8064
8065         * rowpainter.h:
8066         * rowpainter.C: remove "smart" background painting code
8067
8068 2003-03-16  John Levon  <levon@movementarian.org>
8069
8070         * lyxtext.h:
8071         * text.C:
8072         * text2.C:
8073         * text3.C: add helper functions for setting refresh_row/y
8074
8075 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8076
8077         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8078         newline inset which *can* get inserted in the pass_thru layouts.
8079         This is primarily for literate documents.
8080
8081 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8082
8083         * buffer.C: increment LYX_FORMAT to 223
8084
8085 2003-03-14 André Pönitz <poenitz@gmx.net>
8086
8087         * textclass.h: prepare for environment handling, ws changes
8088         * lyxlayout.C: read latexheader and latexfooter tags
8089
8090 2003-03-14  John Levon  <levon@movementarian.org>
8091
8092         * text2.C: rewrite ::status() a bit
8093
8094 2003-03-13  John Levon  <levon@movementarian.org>
8095
8096         * lyxtext.h: add some docs
8097
8098 2003-03-13  John Levon  <levon@movementarian.org>
8099
8100         * lyxtext.h:
8101         * text.C:
8102         * text2.C:
8103         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8104
8105 2003-03-13  John Levon  <levon@movementarian.org>
8106
8107         * text3.C: fix appendix redrawing
8108
8109 2003-03-13  John Levon  <levon@movementarian.org>
8110
8111         * text.C (setHeightOfRow):
8112         * rowpainter.h:
8113         * rowpainter.C: make appendix mark have the text
8114           "Appendix" so the user knows what it is
8115
8116         * LColor.h:
8117         * LColor.C: s/appendixline/appendix/ from above
8118
8119 2003-03-13  John Levon  <levon@movementarian.org>
8120
8121         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8122
8123         * text.C: fix a getChar(pos) bug properly
8124
8125 2003-03-13  Angus Leeming  <leeming@lyx.org>
8126
8127         * commandtags.h:
8128         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8129         Probably only temporary. Let's see how things pan out.
8130
8131         * BufferView.C (unlockInset):
8132         * BufferView_pimpl.C (fitCursor):
8133         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8134
8135         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8136         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8137
8138         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8139         new functions that convert ParagraphParameters to and from a string.
8140
8141         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8142         BufferView::Pimpl's dispatch.
8143         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8144
8145 2003-03-13 André Pönitz <poenitz@gmx.net>
8146
8147         * lyxfunc.C:
8148         * text3.C:
8149         * factory.C: make it aware of InsetEnv
8150
8151 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * text2.C (setCursor): never ask for one past last
8154         (setCursor): add some debugging messages.
8155
8156         * text.C (singleWidth): never ask for one past last
8157         (singleWidth): ditto
8158         (leftMargin): ditto
8159         (rightMargin): ditto
8160         (rowBreakPoint): ditto
8161         (setHeightOfRow): ditto
8162         (prepareToPrint): ditto
8163
8164         * rowpainter.C (paintBackground): never ask for one past last
8165         (paintText): never ask for one past last
8166
8167         * paragraph_pimpl.C (getChar): make the assert stricter, never
8168         allow the one past last pos to be taken
8169
8170         * paragraph.C (getChar): ws changes only
8171
8172         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8173         (numberOfSeparators): ditto
8174         (numberOfHfills): ditto
8175
8176 2003-03-12  John Levon  <levon@movementarian.org>
8177
8178         * author.h:
8179         * author.C:
8180         * bufferparams.h:
8181         * bufferparams.C:
8182         * paragraph_funcs.C: fix per-buffer authorlists
8183
8184 2003-03-12  John Levon  <levon@movementarian.org>
8185
8186         * text.C: fix newline in right address
8187
8188 2003-03-12  Angus Leeming  <leeming@lyx.org>
8189
8190         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8191         duplicate those in LyXFunc::dispatch.
8192
8193         * commandtags.h:
8194         * LyXAction.C:
8195         * ToolbarDefaults.C:
8196         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8197         Add LFUN_FONTFREE_UPDATE.
8198
8199         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8200         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8201
8202         * bufferview_func.[Ch]: several new functions to facilliate
8203         transfer of data to and from the character dialog.
8204
8205 2003-03-12  John Levon  <levon@movementarian.org>
8206
8207         * buffer.C:
8208         * paragraph.h:
8209         * paragraph.C:
8210         * paragraph_funcs.C:
8211         * paragraph_pimpl.C:
8212         * sgml.C:
8213         * tabular.C:
8214         * text.C:
8215         * text3.C: remove META_NEWLINE in favour of an inset
8216
8217         * rowpainter.h:
8218         * rowpainter.C: remove paintNewline (done by inset)
8219
8220 2003-03-12  John Levon  <levon@movementarian.org>
8221
8222         * paragraph_pimpl.C: complain about bad getChar()s
8223         for a while at least
8224
8225 2003-03-12  John Levon  <levon@movementarian.org>
8226
8227         * buffer.h:
8228         * buffer.C: move paragraph read into a separate function,
8229         a little renaming to reflect that.
8230
8231         * bufferparams.h:
8232         * bufferparams.C: remove the author_ids map, not necessary now
8233
8234         * factory.h:
8235         * factory.C: moved Buffer::readInset to here
8236
8237         * paragraph_funcs.h:
8238         * paragraph_funcs.C: readParagraph free function moved from
8239         buffer.C
8240
8241         * tabular.C: name change
8242
8243 2003-03-12  John Levon  <levon@movementarian.org>
8244
8245         * buffer.C:
8246         * ParagraphParameters.C: move par params input to
8247         a read() method
8248
8249         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8250         behave like a normal read from the stream wrt reading
8251         a line vs. a \\token
8252
8253 2003-03-12  John Levon  <levon@movementarian.org>
8254
8255         * paragraph.C:
8256         * ParagraphParameters.h:
8257         * ParagraphParameters.C: move output code to a
8258         ::write() method
8259
8260 2003-03-12  John Levon  <levon@movementarian.org>
8261
8262         * BufferView.C (insertLyXFile):
8263         * buffer.h:
8264         * buffer.C:
8265         * tabular.C: use a parlist iterator for creating the
8266           document.
8267
8268 2003-03-12  John Levon  <levon@movementarian.org>
8269
8270         * buffer.C: make current_change static local not
8271           static file-scope
8272
8273 2003-03-12  John Levon  <levon@movementarian.org>
8274
8275         * buffer.C: fix insertStringAsLines for change tracking
8276
8277 2003-03-12  John Levon  <levon@movementarian.org>
8278
8279         * BufferView.C:
8280         * tabular.C:
8281         * buffer.h:
8282         * buffer.C:
8283         * bufferparams.h:
8284         * bufferparams.C: move author list into params. Rename some
8285           functions. Move the header reading into a separate token
8286           loop. Move the header token reading into BufferParams.
8287
8288 2003-03-12  John Levon  <levon@movementarian.org>
8289
8290         * changes.C: put debug inside lyxerr.debugging() checks
8291
8292 2003-03-11 André Pönitz <poenitz@gmx.net>
8293
8294         * factory.C: make it aware of InsetHFill
8295
8296 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8297
8298         * buffer.C (latexParagraphs): move function from here...
8299         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8300         args.
8301
8302 2003-03-10  Angus Leeming  <leeming@lyx.org>
8303
8304         * LyXAction.C (init): fix bug in poplating array with multiple entries
8305         with the same LFUN (spotted by JMarc).
8306
8307 2003-03-10  John Levon  <levon@movementarian.org>
8308
8309         * text.C:
8310         * text2.C: move getColumnNearX() near its
8311         only call site
8312
8313 2003-03-10  John Levon  <levon@movementarian.org>
8314
8315         * text.C: fix break before a minipage
8316
8317 2003-03-10  John Levon  <levon@movementarian.org>
8318
8319         * text.C: fix the last commit
8320
8321 2003-03-09  John Levon  <levon@movementarian.org>
8322
8323         * lyxtext.h:
8324         * text.C:
8325         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8326         bug 365 (don't break before insets unless needed). Don't
8327         return a value > last under any circumstances.
8328
8329 2003-03-09  Angus Leeming  <leeming@lyx.org>
8330
8331         * BufferView_pimpl.C (trackChanges, dispatch): call
8332         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8333
8334 2003-03-09  Angus Leeming  <leeming@lyx.org>
8335
8336         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8337         than Dialogs::showAboutlyx().
8338
8339 2003-03-09  Angus Leeming  <leeming@lyx.org>
8340
8341         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8342         than Dialogs::showTabularCreate().
8343
8344 2003-03-09  John Levon  <levon@movementarian.org>
8345
8346         * lyxtext.h:
8347         * text.C:
8348         * text2.C: 3rd arg to nextBreakPoint was always the same.
8349           Use references.
8350
8351 2003-03-08  John Levon  <levon@movementarian.org>
8352
8353         * lyxrow.C:
8354         * paragraph.C:
8355         * paragraph.h:
8356         * rowpainter.C:
8357         * text.C:
8358         * text2.C: Remove the "main" bit from the "main body"
8359           notion.
8360
8361 2003-03-08  John Levon  <levon@movementarian.org>
8362
8363         * text.C (leftMargin): The left margin of an empty
8364         manual label paragraph should not include the label width
8365         string length.
8366
8367         * text.C (prepareToPrint): don't attempt to measure hfills
8368         for empty manual label paragraphs - the answer should be 0
8369
8370 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * CutAndPaste.C: remove commented code and reindent.
8373
8374 2003-03-08  John Levon  <levon@movementarian.org>
8375
8376         * lyxfunc.h:
8377         * lyxfunc.C: move reloadBuffer()
8378
8379         * BufferView.h:
8380         * BufferView.C: to here
8381
8382         * lyxvc.C: add comment
8383
8384         * vc-backend.h:
8385         * vc-backend.C: call bv->reload() to avoid
8386           getStatus() check on MENURELOAD
8387
8388 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8389
8390         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8391         to an old format .dep file.
8392
8393 2003-03-07  Angus Leeming  <leeming@lyx.org>
8394
8395         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8396         when the LFUN_MOUSE_RELEASE should have been handled by
8397         inset->localDispatch.
8398
8399 2003-03-07  Angus Leeming  <leeming@lyx.org>
8400
8401         * BufferView_pimpl.C (dispatch):
8402         * LyXAction.C (init):
8403         * ToolbarDefaults.C (init):
8404         * commandtags.h:
8405         * lyxfunc.C (getStatus):
8406         remove LFUN_INSET_GRAPHICS.
8407
8408         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8409
8410 2003-03-07  Angus Leeming  <leeming@lyx.org>
8411
8412         * commandtags.h:
8413         * LyXAction.C (init):
8414         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8415
8416         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8417
8418         * commandtags.h:
8419         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8420
8421         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8422         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8423
8424 2003-03-07  Angus Leeming  <leeming@lyx.org>
8425
8426         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8427         remove "ert".
8428
8429 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * ParagraphList.C (front): new function
8432         (back): implement
8433
8434 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8435
8436         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8437         and top_row_offset_. removed var first_y.
8438         * text.C (top_y):
8439         * text2.C (LyXText, removeRow):
8440         * text3.C:
8441         * BufferView_pimpl.C:
8442         use these methods instead of using first_y
8443
8444 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * text2.C (pasteSelection): adjust for checkPastePossible
8447
8448         * CutAndPaste.C: remove Paragraph * buf and replace with
8449         ParagraphList paragraphs.
8450         (DeleteBuffer): delete
8451         (cutSelection): change the tc type to textclass_type
8452         (copySelection): change the tc type to textclass_type
8453         (copySelection): adjust for ParagraphList
8454         (pasteSelection): change the tc type to textclass_type
8455         (pasteSelection): adjust for Paragraphlist
8456         (nrOfParagraphs): simplify for ParagraphList
8457         (checkPastePossible): simplify for ParagraphList
8458         (checkPastePossible): remove unused arg
8459
8460         * ParagraphList.C (insert): handle the case where there are no
8461         paragraphs yet.
8462
8463         * CutAndPaste.h: make CutAndPaste a namespace.
8464
8465         * text3.C (dispatch): adjust
8466
8467         * text.C (breakParagraph): add a ParagraphList as arg
8468
8469         * paragraph_funcs.C (breakParagraph): change to take a
8470         BufferParams and a ParagraphList as args.
8471         (breakParagraphConservative): ditto
8472         (mergeParagraph): ditto
8473         (TeXDeeper): add a ParagraphList arg
8474         (TeXEnvironment): ditto
8475         (TeXOnePar): ditto
8476
8477         * buffer.C (readLyXformat2): adjust
8478         (insertStringAsLines): adjust
8479         (latexParagraphs): adjust
8480
8481         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8482         (cutSelection): adjust
8483         (pasteSelection): adjust
8484
8485         * BufferView_pimpl.C (insertInset): adjust
8486
8487 2003-03-05  Angus Leeming  <leeming@lyx.org>
8488
8489         * commandtags.h:
8490         * LyXAction.C (init):
8491         * BufferView_pimpl.C (dispatch):
8492         * lyxfunc.C (getStatus):
8493         remove LFUN_CHILD_INSERT.
8494
8495         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8496
8497 2003-03-05  Angus Leeming  <leeming@lyx.org>
8498
8499         * commandtags.h:
8500         * LyXAction.C (init):
8501         * src/factory.C (createInset):
8502         * lyxfunc.C (getStatus):
8503         * text3.C (dispatch):
8504         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8505
8506         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8507
8508 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * ParagraphList.C (insert): handle insert right before end()
8511         (erase): fix cases where it can be first or last paragraph.
8512
8513 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8514
8515         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8516         Paragraph::next and Paragraph::previous
8517         (TeXOnePar): ditto
8518
8519         * text.C (breakParagraph): adjust
8520
8521         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8522         BufferParams& as arg.
8523         (breakParagraph): use ParagraphList::insert
8524         (breakParagraphConservative): take a Buffer* instead of a
8525         BufferParams& as arg.
8526         (breakParagraphConservative): use ParagraphList::insert.
8527
8528         * buffer.C (insertStringAsLines): un-const it
8529         (insertStringAsLines): adjust
8530
8531         * ParagraphList.C (insert): new function
8532
8533         * CutAndPaste.C (pasteSelection): adjust
8534
8535         * text.C (backspace): adjust
8536
8537         * tabular.C (SetMultiColumn): adjust
8538
8539         * CutAndPaste.C (cutSelection): adjust
8540         (pasteSelection): adjust
8541
8542         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8543         Buffer const * as arg
8544
8545         * ParagraphList.C (erase): new function
8546         * paragraph_funcs.C (mergeParagraph): use it
8547         (mergeParagraph): make it take a Buffer* instead of a
8548         BufferParams* as arg
8549
8550         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8551         as arg
8552         (breakParagraphConservative): ditto
8553
8554         * paragraph.h: remove the breakParagraph friend
8555
8556         * paragraph.C (eraseIntern): new function
8557         (setChange): new function
8558
8559         * paragraph_funcs.C (mergeParagraph): make it take a
8560         ParagraphList::iterator instead of a Paragraph *, adjust
8561         accordingly.
8562
8563         * paragraph.h: move an #endif so that the change tracking stuff
8564         also works in the NO_NEXT case.
8565
8566 2003-03-04  Angus Leeming  <leeming@lyx.org>
8567
8568         * commandtags.h:
8569         * LyXAction.C: new LFUN_INSET_MODIFY.
8570
8571         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8572         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8573
8574 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * several files: ws changes only
8577
8578         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8579         (TeXEnvironment): ditto
8580         (TeXDeeper): ditto
8581
8582         * buffer.C (makeLaTeXFile): adjust
8583         (latexParagraphs): make it take ParagraphList::iterator as args
8584
8585 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8586
8587         * buffer.C (latexParagraphs): adjust
8588
8589         * paragraph.C (TeXOnePar): move function...
8590         (optArgInset): move function...
8591         (TeXEnvironment): move function...
8592         * paragraph_pimpl.C (TeXDeeper): move function...
8593         * paragraph_funcs.C: ...here
8594
8595         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8596
8597 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * buffer.C (readInset): remove compability code for old Figure and
8600         InsetInfo insets
8601
8602 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * buffer.C: ws changes
8605         (readInset):
8606
8607         * BufferView_pimpl.C: ditto
8608         * author.C: ditto
8609         * buffer.h: ditto
8610         * bufferlist.h: ditto
8611         * changes.h: ditto
8612         * lyxfunc.C: ditto
8613
8614 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8615
8616         * converter.[Ch]: split into itself +
8617         * graph.[Ch]
8618         * format.[Ch]
8619         * Makefile.am: += graph.[Ch] + format.[Ch]
8620         * MenuBackend.C
8621         * buffer.C
8622         * exporter.C
8623         * importer.C
8624         * lyx_main.C
8625         * lyxfunc.C
8626         * lyxrc.C: added #include "format.h"
8627
8628 2003-02-27  Angus Leeming  <leeming@lyx.org>
8629
8630         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8631           a label.
8632
8633         * factory.C (createInset): add "label" to the factory.
8634
8635         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8636           string and do no more.
8637
8638 2003-02-27  Angus Leeming  <leeming@lyx.org>
8639
8640         * commandtags.h:
8641         * LyXAction.C (init):
8642         * factory.C (createInset):
8643         * BufferView_pimpl.C (dispatch):
8644           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8645
8646         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8647
8648         * lyxfunc.C (dispatch):
8649         * text3.C (dispatch): pass name to params2string.
8650
8651 2003-02-26  Angus Leeming  <leeming@lyx.org>
8652
8653         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8654           blocks together.
8655           Rearrange the ~includes. Strip out the unnecessary ones.
8656
8657         * factory.C (createInset): reformat.
8658           create new insets for the various LFUN_XYZ_APPLY lfuns.
8659
8660 2003-02-26  John Levon  <levon@movementarian.org>
8661
8662         * lyxrow.h:
8663         * lyxrow.C: add isParStart,isParEnd helpers
8664
8665         * paragraph.h: make isInserted/DeletedText take refs
8666
8667         * paragraph_funcs.h:
8668         * paragraph_funcs.C: remove #if 0'd code
8669
8670         * lyxtext.h:
8671         * text3.C:
8672         * text2.C:
8673         * text.C: use lyxrow helpers above.
8674           Move draw and paint routines to RowPainter.
8675           Make several methods use refs not pointers.
8676           Make backgroundColor() const.
8677           Add markChangeInDraw(), isInInset().
8678           Merge changeRegionCase into changeCase.
8679           Make workWidth() shouldn't-happen code into an Assert.
8680
8681         * rowpainter.h:
8682         * rowpainter.C: new class for painting a row.
8683
8684         * vspace.h:
8685         * vspace.C: make inPixels take a ref
8686
8687 2003-02-26  Angus Leeming  <leeming@lyx.org>
8688
8689         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8690         LFUN_REF_APPLY.
8691
8692 2003-02-25  John Levon  <levon@movementarian.org>
8693
8694         * ispell.C: give the forked command a more accurate name
8695
8696 2003-02-22  John Levon  <levon@movementarian.org>
8697
8698         * toc.h:
8699         * toc.C: make TocItem store an id not a Paragraph *
8700           (bug #913)
8701
8702 2003-02-21  Angus Leeming  <leeming@lyx.org>
8703
8704         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8705           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8706           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8707           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8708           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8709           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8710
8711         * BufferView_pimpl.C (dispatch):
8712         * LyXAction.C (init):
8713         * factory.C (createInset):
8714         * lyxfunc.C (getStatus, dispatch):
8715         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8716
8717 2003-02-21  Angus Leeming  <leeming@lyx.org>
8718
8719         * BufferView_pimpl.C (MenuInsertLyXFile):
8720         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8721         * lyxfunc.C (menuNew, open, doImport):
8722           no longer pass a LyXView & to fileDlg.
8723
8724 2003-02-21  Angus Leeming  <leeming@lyx.org>
8725
8726         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8727         * LyXAction.C: change, BIBKEY to BIBITEM.
8728         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8729         Change InsetBibKey to InsetBibitem.
8730         Change BIBKEY_CODE to BIBITEM_CODE.
8731         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8732         * factory.C: replace insetbib.h with insetbibitem.h.
8733         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8734         * paragraph.C: replace insetbib.h with insetbibitem.h.
8735         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8736         Change bibkey() to bibitem().
8737         * text.C: remove insetbib.h.
8738         * text2.C: replace insetbib.h with insetbibitem.h.
8739         change bibkey() to bibitem().
8740         * text3.C: remove insetbib.h.
8741         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8742
8743 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8744
8745         * lyxrc.C (output): enclose user email in quotes (in case there are
8746         several words)
8747
8748 2003-02-18  John Levon  <levon@movementarian.org>
8749
8750         * buffer.h: add std::
8751
8752 2003-02-17  John Levon  <levon@movementarian.org>
8753
8754         * SpellBase.h:
8755         * ispell.h:
8756         * ispell.C:
8757         * pspell.h:
8758         * pspell.C: reworking. Especially in ispell, a large
8759           number of clean ups and bug fixes.
8760
8761         * lyxfunc.C: fix revert to behave sensibly
8762
8763 2003-02-17 André Pönitz <poenitz@gmx.net>
8764
8765         * LyXAction.C:
8766         * commandtags.h: new LFUN_INSERT_BIBKEY
8767
8768         * layout.h:
8769         * lyxlayout.C:
8770         * buffer.C:
8771         * factory.C:
8772         * text.C:
8773         * text2.C:
8774         * text3.C:
8775         * paragraph.[Ch]:
8776         * paragraph_func.C: remove special bibkey handling
8777
8778 2003-02-17  John Levon  <levon@movementarian.org>
8779
8780         * text.C (Delete): fix case where delete at the end of
8781           the very first paragraph would not merge the pars
8782
8783 2003-02-17  John Levon  <levon@movementarian.org>
8784
8785         * lyxrow.C: fix lastPrintablePos()
8786
8787 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8788
8789         * bufferparams.C (writeLaTeX): add a std:here
8790
8791         * buffer.C: and remove a using directive there
8792
8793 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * buffer.C (makeLaTeXFile): move the code that generates the
8796           preamble...
8797
8798         * bufferparams.C (writeLaTeX): ... in this new method
8799
8800         * LaTeXFeatures.C (getEncodingSet): make const
8801           (getLanguages): make const
8802
8803         * MenuBackend.C (binding): returns the binding associated to this
8804           action
8805           (add): sets the status of each item by calling getStatus. Adds
8806           some intelligence.
8807           (read): add support for OptSubMenu
8808           (expand): remove extra separator at the end of expanded menu
8809
8810 2003-02-15  John Levon  <levon@movementarian.org>
8811
8812         * BufferView.C:
8813         * BufferView_pimpl.C:
8814         * bufferlist.h:
8815         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8816           inset code that had no actual effect. Remove unneeded status
8817           code.
8818
8819 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8822           in preamble
8823
8824 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8825
8826         * text.C (drawLengthMarker): also draw an arrow marker for
8827           symbolic lengths (medskip...)
8828
8829 2003-02-14  John Levon  <levon@movementarian.org>
8830
8831         * tabular.h:
8832         * tabular.C: better method names
8833
8834 2003-02-14  John Levon  <levon@movementarian.org>
8835
8836         * BufferView_pimpl.C:
8837         * bufferlist.C:
8838         * buffer.C:
8839         * converter.C:
8840         * lyx_cb.C:
8841         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8842           it's a more accurate name. Remove some pointless uses.
8843
8844 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8845
8846         * text2.C (LyXText): change order of initilizers to shut off
8847           warnings
8848
8849 2003-02-14  John Levon  <levon@movementarian.org>
8850
8851         * buffer.C: use ParIterator for getParFromID()
8852
8853         * paragraph.h:
8854         * paragraph.C:
8855         * paragraph_pimpl.h:
8856         * paragraph_pimpl.C: remove unused getParFromID()
8857
8858 2003-02-14  John Levon  <levon@movementarian.org>
8859
8860         * buffer.C: remove some very old #if 0'd parse code
8861
8862 2003-02-13  John Levon  <levon@movementarian.org>
8863
8864         * text.h:
8865         * text.C:
8866         * text2.C: move hfillExpansion(), numberOfSeparators(),
8867           rowLast(), rowLastPrintable(), numberofHfills(),
8868           numberOfLabelHfills() ...
8869
8870         * lyxrow.h:
8871         * lyxrow.C: ... to member functions here.
8872
8873         * paragraph.h:
8874         * paragraph.C:
8875         * lyxtext.h:
8876         * text.C: remove LyXText::beginningOfMainBody(), and call
8877           p->beginningOfMainBody() directly. Move the check for
8878           LABEL_MANUAL into the latter.
8879
8880         * text.h:
8881         * text.C:
8882         * text2.C:
8883         * vspace.C:
8884         * BufferView.h:
8885         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8886
8887         * text.h:
8888         * text.C:
8889         * text2.C:
8890         * text3.C:
8891         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8892           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8893
8894 2003-02-13  John Levon  <levon@movementarian.org>
8895
8896         * CutAndPaste.C: remove debug
8897
8898 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * paragraph.C (asString): remove two unused variables
8901
8902         * lyxtextclass.C (readTitleType):
8903           (Read):
8904           (LyXTextClass): handle new members titletype_ and titlename_
8905
8906         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8907
8908 2003-02-09  John Levon  <levon@movementarian.org>
8909
8910         * buffer.h:
8911         * buffer.C: replace hand-coded list with a map for the dep clean
8912
8913 2003-02-08  John Levon  <levon@movementarian.org>
8914
8915         * LaTeX.C: consolidate code into showRunMessage() helper
8916
8917 2003-02-08  John Levon  <levon@movementarian.org>
8918
8919         * lyxfind.C:
8920         * lyxtext.h:
8921         * text2.C:
8922         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8923           and pass the size in explicitly
8924
8925         * BufferView_pimpl.h:
8926         * BufferView_pimpl.C:
8927         * BufferView.h:
8928         * BufferView.C: add getCurrentChange()
8929
8930         * BufferView_pimpl.h:
8931         * BufferView_pimpl.C: handle change lfuns
8932
8933         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8934           for changes. Mark pasted paragraphs as new.
8935
8936         * support/lyxtime.h:
8937         * support/lyxtime.C:
8938         * DepTable.C: abstract time_t as lyx::time_type
8939
8940         * LColor.h:
8941         * LColor.C: add colours for new text, deleted text, changebars
8942
8943         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8944           package use "usenames" option.
8945
8946         * commandtags.h:
8947         * lyxfunc.C:
8948         * LyXAction.C: add change lfuns
8949
8950         * Makefile.am:
8951         * author.h:
8952         * author.C: author handling
8953
8954         * buffer.h:
8955         * buffer.C: add a per-buffer author list, with first entry as
8956           current author. Handle new .lyx tokens for change tracking. Output
8957           author list to .lyx file. Output dvipost stuff to .tex preamble.
8958           Bump lyx format to 222.
8959
8960         * bufferlist.h:
8961         * bufferlist.C: add setCurrentAuthor() to reset current author details
8962           in all buffers.
8963
8964         * bufferparams.h:
8965         * bufferparams.C: add param for tracking
8966
8967         * bufferview_funcs.C: output change info in minibuffer
8968
8969         * Makefile.am:
8970         * changes.h:
8971         * changes.C: add change-tracking structure
8972
8973         * debug.h:
8974         * debug.C: add CHANGES debug flag
8975
8976         * lyxfind.h:
8977         * lyxfind.C: add code for finding the next change piece
8978
8979         * lyxrc.h:
8980         * lyxrc.C: add user_name and user_email
8981
8982         * lyxrow.h:
8983         * lyxrow.C: add a metric for the top of the text line
8984
8985         * lyxtext.h:
8986         * text.C: implement accept/rejectChange()
8987
8988         * lyxtext.h:
8989         * text.C: paint changebars. Paint new/deleted text in the chosen
8990         colours. Strike through deleted text.
8991
8992         * paragraph.h:
8993         * paragraph.C:
8994         * paragraph_pimpl.h:
8995         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8996           in the current change to the insert functions. Rework erase to
8997           mark text as deleted, adding an eraseIntern() and a range-based
8998           erase(). Implement per-paragraph change lookup and
8999           accept/reject.
9000
9001         * paragraph_funcs.C: Fixup paste for change tracking.
9002
9003         * tabular.C: mark added row/columns as new.
9004
9005         * text.C: fix rowLast() to never return -1. Don't allow
9006           spellchecking of deleted text. Track transpose changes. Don't
9007           allow paragraph break or merge where appropriate.
9008
9009         * text2.C: leave cursor at end of selection after a cut.
9010
9011 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9012
9013         * text.C (getLengthMarkerHeight):
9014         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9015         visible on screen too.
9016
9017 2003-02-07  John Levon  <levon@movementarian.org>
9018
9019         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9020
9021 2003-02-05  Angus Leeming  <leeming@lyx.org>
9022
9023         * lyxserver.C (read_ready): revert my patch of 11 September last year
9024         as it sends PC cpu through the roof. Presumably this means that
9025         the lyxserver will no longer run on an Alpha...
9026
9027 2003-01-30  Angus Leeming  <leeming@lyx.org>
9028
9029         * factory.C (createInset): create an InsetCommandParam of type "index"
9030         and use it to 'do the right thing'.
9031
9032         * text2.C (getStringToIndex): ensure that cursor position is always
9033         reset to the reset_cursor position.
9034
9035 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9036
9037         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9038         disabled.
9039
9040 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9041
9042         * bufferview.C:
9043         * lyxcb.C:
9044         * lyxfunc.C: Output messages with identical spelling, punctuation,
9045         and spaces
9046
9047 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9048
9049         * MenuBackend.C (expandFormats): List only viewable export formats
9050         in "View" menu
9051
9052         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9053         message
9054
9055         * lyxfunc.C (getStatus): Make sure that formats other than
9056         "fax" can also be disabled
9057
9058 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9059
9060         * text3.C (dispatch): put the lfuns that insert insets in 3
9061         groups, and call doInsertInset with appropriate arguments.
9062         (doInsertInset): new function, that creates an inset and inserts
9063         it according to some boolean parameters.
9064
9065 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * buffer.C (readFile): remember to pass on 'par' when calling
9068         readFile recursively.
9069
9070 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9071
9072         * MenuBackend.C (expandFormats): add "..." to import formats.
9073
9074 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * paragraph.C (asString): Remove XForms RTL hacks.
9077
9078 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9079         * buffer.C: fix typo
9080
9081 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9082
9083         * Makefile.am (LIBS): delete var
9084         (lyx_LDADD): add @LIBS@ here instead.
9085
9086 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9087
9088         * Clarify the meaning of "wheel mouse jump"
9089
9090 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9091
9092         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9093         tabular in a float
9094
9095 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * importer.C (Loaders): do not preallocate 3 elements in the
9098         vector, since one ends up with 6 elements otherwise
9099
9100 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9101
9102         * DepTable.C (write): write the file name as last element of the
9103         .dep file (because it may contain spaces)
9104         (read): read info in the right order
9105
9106 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9107
9108         * paragraph_pimpl.C (simpleTeXBlanks):
9109         (simpleTeXSpecialChars):
9110         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9111
9112         * tabular.C (latex): add some missing case statements. Reindent.
9113
9114         * MenuBackend.C (expandToc): remove unused variable.
9115
9116 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9117
9118         * LColor.C:
9119         * LaTeX.C:
9120         * LyXAction.C:
9121         * MenuBackend.C:
9122         * buffer.C:
9123         * exporter.C:
9124         * lyxfunc.C:
9125         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9126         and the like.
9127
9128 2003-01-05  John Levon  <levon@movementarian.org>
9129
9130         * BufferView.h:
9131         * BufferView.C: add getEncoding()
9132
9133         * kbsequence.h:
9134         * kbsequence.C: do not store last keypress
9135
9136         * lyxfunc.h:
9137         * lyxfunc.C: store last keypress here instead. Pass encoding
9138           to getISOEncoded()
9139
9140 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9141
9142         * lyx_main.C (init): remove annoying error message when following
9143         symbolic links (bug #780)
9144
9145 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9146
9147         * text.C (insertChar):
9148         * lyxrc.C (getDescription): remove extra spaces
9149
9150 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9151
9152         * lyxrc.C (getDescription): remove extra spaces
9153
9154 2002-12-20  John Levon  <levon@movementarian.org>
9155
9156         * text3.C: hack fix for page up/down across tall rows
9157
9158 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9159
9160         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9161         not been invoked
9162
9163 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9164
9165         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9166         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9167         thesaurus is not compiled in
9168
9169 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9170
9171         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9172
9173 2002-12-16  Angus Leeming  <leeming@lyx.org>
9174
9175         * lyxrc.[Ch]:
9176         * lyx_main.C (init): remove override_x_deadkeys stuff.
9177
9178 2002-12-12  John Levon  <levon@movementarian.org>
9179
9180         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9181           insert. Only remove shift modifier under strict
9182           circumstances.
9183
9184 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * MenuBackend.C (expandToc): fix crash.
9187
9188 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * MenuBackend.C (expandToc): gettext on float names.
9191
9192 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9193
9194         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9195         implement bool empty() [bug 490]
9196
9197 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9198
9199         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9200
9201 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9202
9203         * several files: ws changes
9204
9205 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * text2.C (setCounter): clean up a bit, use boost.format.
9208         (updateCounters): initialize par upon declaration.
9209
9210         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9211         if the layout exists. We do not just store the layout any more.
9212         (SwitchLayoutsBetweenClasses): use boost.format
9213
9214 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9215
9216         * converter.C (convert): if from and to files are the same, use a
9217         temporary files as intermediary
9218
9219 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9220
9221         * commandtags.h:
9222         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9223
9224 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9225
9226         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9227
9228 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9229
9230         * tabular.C (asciiPrintCell): use string(size, char) instead of
9231         explicit loop.
9232
9233         * sgml.C (openTag): fix order of arguments to string constructor
9234         (closeTag): ditto
9235
9236         * lyxfunc.C (dispatch): use boost.format
9237
9238         * lots of files: change "c" -> 'c'
9239
9240 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9243
9244 2002-11-25  Angus Leeming  <leeming@lyx.org>
9245
9246         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9247
9248         * lyx_main.C (init): compile fix.
9249
9250 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * lyx_cb.C (start): boost.formatify
9253         do not include <iostream>
9254
9255         * lengthcommon.C: ws only
9256
9257         * boost-inst.C,BoostFormat.h: add more explict instantations
9258
9259 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9260
9261         * lots of files: handle USE_BOOST_FORMAT
9262
9263 2002-11-21  John Levon  <levon@movementarian.org>
9264
9265         * pspell.C: fix compile
9266
9267 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9268
9269         * lyxfunc.C (dispatch): use boost::format
9270         (open): ditto
9271         (doImport): ditto
9272
9273         * lyxfont.C (stateText): use boost::format
9274
9275         * lyx_main.C (LyX): use boost::format
9276         (init): ditto
9277         (queryUserLyXDir): ditto
9278         (readRcFile): ditto
9279         (parse_dbg): ditto
9280         (typedef boost::function): use the recommened syntax.
9281
9282         * importer.C (Import): use boost::format
9283
9284         * debug.C (showLevel): use boost::format
9285
9286         * converter.C (view): use boost::format
9287         (convert): ditto
9288         (move): ditto
9289         (scanLog): ditto
9290
9291         * bufferview_funcs.C (currentState): use boost::format
9292
9293         * bufferlist.C (emergencyWrite): use boost::format
9294
9295         * buffer.C (readLyXformat2): use boost::format
9296         (parseSingleLyXformat2Token): ditto
9297
9298         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9299
9300         * LaTeX.C (run): use boost::format
9301
9302         * Chktex.C (scanLogFile): use boost::format
9303
9304         * BufferView_pimpl.C (savePosition): use boost::format
9305         (restorePosition): ditto
9306         (MenuInsertLyXFile): ditto
9307
9308         * BoostFormat.h: help file for explicit instation.
9309
9310 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9311
9312         * tabular.C (latex): Support for block alignment in fixed width
9313         columns.
9314
9315 2002-11-17  John Levon  <levon@movementarian.org>
9316
9317         * BufferView_pimpl.C:
9318         * lyx_cb.C:
9319         * lyxfunc.C: split filedialog into open/save
9320
9321 2002-11-08  Juergen Vigna  <jug@sad.it>
9322
9323         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9324         by my last patch (hopefully).
9325
9326 2002-11-08  John Levon  <levon@movementarian.org>
9327
9328         * iterators.h:
9329         * iterators.C:
9330         * buffer.h:
9331         * buffer.C:
9332         * paragraph.h:
9333         * paragraph.C:
9334         * toc.h:
9335         * toc.C: ParConstIterator, and use it (from Lars)
9336
9337 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9338
9339         * lyxtextclass.[Ch]: revise and add doxygen comments
9340
9341 2002-11-07  John Levon  <levon@movementarian.org>
9342
9343         * text.C: fix progress value for spellchecker
9344
9345         * toc.C: fix navigate menu for insetwrap inside minipage
9346
9347         * paragraph_funcs.C: added FIXME for suspect code
9348
9349 2002-11-07  John Levon  <levon@movementarian.org>
9350
9351         * BufferView_pimpl.C: fix redrawing of insets
9352           on buffer switch
9353
9354 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9355
9356         * text2.C (updateCounters): fix bug 668
9357
9358 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * text3.C (dispatch): Do not make the buffer dirty when moving the
9361         cursor.
9362
9363 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9364
9365         * vc-backend.C: STRCONV
9366         (scanMaster): ditto
9367
9368         * text2.C (setCounter): STRCONV
9369
9370         * paragraph.C (asString): STRCONV
9371
9372         * lyxlength.C (asString): STRCONV
9373         (asLatexString): ditto
9374
9375         * lyxgluelength.C (asString): STRCONV
9376         (asLatexString): ditto
9377
9378         * lyxfunc.C (dispatch): STRCONV
9379         (open): ditto
9380
9381         * lyxfont.C (stateText): STRCONV
9382
9383         * importer.C (Import): STRCONV
9384
9385         * counters.C (labelItem): STRCONV
9386         (numberLabel): ditto
9387         (numberLabel): remove unused ostringstream o
9388
9389         * chset.C: STRCONV
9390         (loadFile): ditto
9391
9392         * bufferview_funcs.C (currentState): STRCONV
9393
9394         * buffer.C (readFile): STRCONV
9395         (asciiParagraph): ditto
9396         (makeLaTeXFile): ditto
9397
9398         * Spacing.C (writeEnvirBegin): STRCONV
9399
9400         * LaTeXFeatures.C (getLanguages): STRCONV
9401         (getPackages): ditto
9402         (getMacros): ditto
9403         (getBabelOptions): ditto
9404         (getTClassPreamble): ditto
9405         (getLyXSGMLEntities): ditto
9406         (getIncludedFiles): ditto
9407
9408         * LaTeX.C: STRCONV
9409         (run): ditto
9410         (scanAuxFile): ditto
9411         (deplog): ditto
9412
9413         * LString.h: add the STRCONV macros
9414
9415         * BufferView_pimpl.C (savePosition): STRCONV
9416         (restorePosition): ditto
9417         (MenuInsertLyXFile): ditto
9418
9419         * vc-backend.C (scanMaster): change from submatch[...] to
9420         submatch.str(...)
9421
9422         * funcrequest.C: include config.h
9423
9424         * factory.C: include config.h
9425
9426         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9427
9428         * box.C: include config.h
9429
9430         * LaTeX.C (scanAuxFile): change from submatch[...] to
9431         submatch.str(...)
9432         (deplog): ditto
9433
9434 2002-10-25  Angus Leeming  <leeming@lyx.org>
9435
9436         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9437
9438         * ispell.[Ch] (setError): new method.
9439         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9440         Use setError() insetead of goto END.
9441
9442         * lyx_cb.C (AutoSave): move out child process into new class
9443         AutoSaveBuffer.
9444
9445 2002-10-30  John Levon  <levon@movementarian.org>
9446
9447         * text3.C: make start appendix undoable
9448
9449 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9450
9451         * lyxlength.C (inPixels): Fix returned value.
9452
9453         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9454         environment.
9455
9456 2002-10-24  Angus Leeming  <leeming@lyx.org>
9457
9458         * lyxgluelength.h: no need to forward declare BufferParams
9459         or BufferView, so don't.
9460
9461 2002-10-21  John Levon  <levon@movementarian.org>
9462
9463         * BufferView.C: menuUndo ->undo, redo
9464
9465         * BufferView.h: document, remove dead, make some methods private
9466
9467         * paragraph_funcs.h:
9468         * paragraph_funcs.C:
9469         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9470
9471         * buffer.h:
9472         * buffer.C:
9473         * sgml.h:
9474         * sgml.C: move sgml open/close tag into sgml.C
9475
9476         * bufferview_funcs.h: unused prototype
9477
9478         * lyxfunc.h:
9479         * lyxfunc.C: remove unused
9480
9481         * lyxtext.h:
9482         * text.C: remove unused
9483
9484 2002-10-21  John Levon  <levon@movementarian.org>
9485
9486         * BufferView.h:
9487         * BufferView.C:
9488         * BufferView_pimpl.h:
9489         * BufferView_pimpl.C: fix mouse wheel handling based on
9490           patch from Darren Freeman
9491
9492 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9493
9494         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9495
9496 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9497
9498         * lyxlength.C (inPixels): Fix hanfling of negative length.
9499         Fix LyXLength::MU case.
9500
9501 2002-10-16  John Levon  <levon@movementarian.org>
9502
9503         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9504
9505 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9506
9507         * converter.C (view): add support for $$i (file name) and $$p
9508         (file path) for the viewer command. If $$i is not specified, then
9509         it is appended to the command (for compatibility with old syntax)
9510
9511 2002-10-14  Juergen Vigna  <jug@sad.it>
9512
9513         * undo_funcs.C (textHandleUndo): alter the order in which the
9514         new undopar is added to the LyXText, as we have to set first
9515         the right prev/next and then add it as otherwise the rebuild of
9516         LyXText is not correct. Also reset the cursor to the right paragraph,
9517         with this IMO we could remove the hack in "redoParagraphs()".
9518
9519 2002-10-09  Angus Leeming  <leeming@lyx.org>
9520
9521         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9522         to turn off an optimisation if a new inset is to be inserted.
9523
9524 2002-10-11 André Pönitz <poenitz@gmx.net>
9525
9526         * lyxtext.h: make some functions public to allow access
9527         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9528
9529 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9530
9531         * text3.C (dispatch): when changing layout, avoid an infinite loop
9532         [bug #652]
9533
9534 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9535
9536         * lyxrc.C (read): treat a viewer or converter command of "none" as
9537         if it were empty.
9538
9539         * MenuBackend.C (expandFormats): for an update, also allow the
9540         formats that are not viewable
9541
9542         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9543         script if it is newer than the lyxrc.defaults in user directory
9544
9545 2002-10-07 André Pönitz <poenitz@gmx.net>
9546
9547         * text.C: Vitaly Lipatov's small i18n fix
9548
9549 2002-09-25  Angus Leeming  <leeming@lyx.org>
9550
9551         * ispell.h: doxygen fix.
9552
9553 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9554
9555         * buffer.h (readFile): Add a new argument to the method, to allow
9556         reading of old-format templates.
9557
9558 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9559
9560         * toc.C (getTocList): Get TOC from InsetWrap.
9561
9562 2002-09-16  John Levon  <levon@movementarian.org>
9563
9564         * lyxfunc.C: check tabular for cut/copy too
9565
9566 2002-09-12  John Levon  <levon@movementarian.org>
9567
9568         * LyXAction.C: tidy
9569
9570         * factory.h:
9571         * factory.C: add header
9572
9573         * paragraph_funcs.h:
9574         * paragraph_funcs.C: cleanup
9575
9576 2002-09-11  John Levon  <levon@movementarian.org>
9577
9578         * PrinterParams.h: odd/even default to true
9579
9580 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9581
9582         * PrinterParams.h: update printer parameters for new xforms dialog
9583
9584 2002-09-11  Angus Leeming  <leeming@lyx.org>
9585
9586         * lyxserver.C (read_ready): re-write to make it more transparent
9587         and to make it work in coherent fashion under Tru64 Unix.
9588
9589 2002-09-11  André Pönitz <poenitz@gmx.net>
9590
9591         * commandtags.h:
9592         * LyXAction.C:
9593         * text3.C: implement LFUN_WORDSEL
9594
9595 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9596
9597         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9598         make floatlist_ a boost::shared_ptr<FloatList>
9599
9600         * lyxtextclass.C: include FloatList.h
9601         (LyXTextClass): initialize floatlist_
9602         (TextClassTags): add TC_NOFLOAT
9603         (Read): match "nofloat" to TC_NOFLOAT and use it.
9604         (readFloat): modify call to floatlist_
9605         (floats): ditto
9606         (floats): ditto
9607
9608         * FloatList.[Ch] (FloatList): remove commented out float
9609         initialization.
9610         (erase): new function
9611
9612 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9613
9614         * MenuBackend.C (expandToc): fix crash when there is no document
9615         open
9616
9617 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9618
9619         * many files: Add insetwrap.
9620
9621 2002-09-09  John Levon  <levon@movementarian.org>
9622
9623         * text2.C: remove confusing and awkward depth wraparound
9624
9625 2002-09-09  John Levon  <levon@movementarian.org>
9626
9627         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9628
9629         * buffer.h:
9630         * buffer.C: remove getIncludeonlyList()
9631
9632         * paragraph.C:
9633         * lyxfunc.C: remove headers
9634
9635 2002-09-09  Juergen Vigna  <jug@sad.it>
9636
9637         * text.C (getColumnNearX): fix form Michael this is most
9638         probably a cut&paste bug.
9639
9640 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9643
9644         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9645         references, ws changes.
9646
9647         * text2.C (init): update counters after init
9648         (insertParagraph): no need to set counter on idividual paragraphs.
9649         (setCounter): access the counters object in the textclass object
9650         on in the buffer object.
9651         (updateCounters): ditto
9652
9653         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9654         shared_ptr<Counters> to avoid loading counters.h in all
9655         compilation units.
9656         (LyXTextClass): initialize ctrs_
9657         (TextClassTags): add TC_COUNTER, and ...
9658         (Read): use it here.
9659         (CounterTags): new tags
9660         (readCounter): new function
9661         (counters): new funtion
9662         (defaultLayoutName): return a const reference
9663
9664         * counters.C (Counters): remove contructor
9665         (newCounter): remove a couple of unneeded statements.
9666         (newCounter): simplify a bit.
9667         (numberLabel): some small formatting changes.
9668
9669         * buffer.[Ch]: remove all traces of counters, move the Counters
9670         object to the LyXTextClass.
9671
9672 2002-09-06  Alain Castera  <castera@in2p3.fr>
9673
9674         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9675         package to set the horizontal alignment on fixed width columns.
9676
9677         * lyx_sty.C:
9678         * lyx_sty.h: added tabularnewline macro def.
9679
9680         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9681
9682 2002-09-06  John Levon  <levon@movementarian.org>
9683
9684         * LyXAction.C: tooltips for sub/superscript
9685
9686         * MenuBackend.C: a bit more verbose
9687
9688         * lyxfunc.C: tiny clean
9689
9690         * undo_funcs.C: document undo_frozen
9691
9692 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9693
9694         * counters.C (Counters): add missing algorithm counter.
9695
9696         * text2.C (setCounter): lookup the counter with layouts latexname
9697         instead of by section number.
9698         (setCounter): use a hackish way to lookup the correct enum
9699         counter.
9700         a float name->type change
9701         reset enum couners with counter name directly instead of depth value.
9702
9703         * counters.C (Counters): remove the push_backs, change to use the
9704         float type not the float name.
9705         (labelItem): remove unused string, float name->type change
9706
9707         * counters.h: don't include vector, loose the enums and sects vectors
9708
9709 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9712         (Read): add float->TC_FLOAT to textclassTags
9713         (Read): and handle it in the switch
9714         (readFloat): new function
9715
9716         * FloatList.C (FloatList): comment out the hardcoded float
9717         definitions.
9718
9719         * lyxlayout.h: ws change.
9720
9721 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9722
9723         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9724
9725 2002-09-03  Angus Leeming  <leeming@lyx.org>
9726
9727         * BufferView_pimpl.h: qualified name is not allowed in member
9728         declaration: WorkArea & Pimpl::workarea() const;
9729
9730         * factory.C: added using std::endl directive.
9731
9732         * text3.C: added using std::find and std::vector directives.
9733
9734 2002-08-29  André Pönitz <poenitz@gmx.net>
9735
9736         * lyxtext.h:
9737         * text2.C: remove unused member number_of_rows
9738
9739         * Makefile.am:
9740         * BufferView2.C: remove file, move contents to...
9741         * BufferView.C: ... here
9742
9743         * BufferView_pimpl.C:
9744         * factory.C: move more inset creation to factory
9745
9746         * vspace.C: avoid direct usage of LyXText, ws changes
9747
9748         * BufferView.[Ch]:
9749                 don't provide direct access to WorkArea, use two simple
9750                 acessors haveSelction() and workHeight() instead
9751
9752
9753 2002-08-29  John Levon  <levon@movementarian.org>
9754
9755         * BufferView_pimpl.C (dispatch): do not continue when
9756           no buffer
9757
9758 2002-08-28  André Pönitz <poenitz@gmx.net>
9759
9760         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9761
9762         * BufferView.h:
9763         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9764
9765 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9766
9767         * buffer.C: increment LYX_FORMAT to 221
9768
9769         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9770         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9771
9772         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9773
9774         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9775
9776 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * factory.C (createInset): use LyXTextClass::floats
9779
9780         * MenuBackend.C (expandFloatListInsert):
9781         (expandFloatInsert):
9782         (expandToc):
9783
9784         * text2.C (setCounter):
9785
9786         * LaTeXFeatures.C (useFloat):
9787         (getFloatDefinitions):
9788
9789         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9790
9791         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9792         floatlist_, with accessor floats().
9793
9794         * FloatList.h: remove global FloatList
9795
9796 2002-08-26  André Pönitz <poenitz@gmx.net>
9797
9798         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9799
9800         * BufferView.h:
9801         * BufferView2.C:
9802         * BufferView_pimpl.C:
9803         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9804
9805 2002-08-25  John Levon  <levon@movementarian.org>
9806
9807         * LyXAction.C: fix margin note description
9808
9809 2002-08-24  John Levon  <levon@movementarian.org>
9810
9811         * buffer.C:
9812         * bufferlist.C:
9813         * bufferview_funcs.C:
9814         * lyxfont.C:
9815         * undo_funcs.C: cleanups
9816
9817         * lyxfunc.C: disable CUT/COPY when no selection
9818
9819 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9820
9821         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9822         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9823
9824         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9825         Add backward compatibility to "mono", "gray" and "no".
9826
9827 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9828
9829         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9830         (and file_format >= 200).
9831
9832 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9835
9836 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9837
9838         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9839
9840 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9841
9842         * BufferView_pimpl.C:
9843         * LyXAction.C:
9844         * buffer.C:
9845         * commandtags.h:
9846         * lyxfunc.C:
9847         * paragraph.[Ch]:
9848         * text2.C:
9849         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9850         inset and code to make it  work with the paragraph code. The inset
9851         can be anywhere in the paragraph, but will only do the expected
9852         thing in LaTeX if the layout file contains the parameter line
9853                         OptionalArgs    1
9854         (or more generally, a nonzero value) for that layout.
9855
9856 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * paragraph.h: remove the declaration of undefined counters class
9859         function.
9860
9861 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9862
9863         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9864         Dr. Richard Hawkins.
9865
9866 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9867
9868         * paragraph_funcs.h: remove some unneeded includes
9869
9870         * text.C (backspace): pasteParagraph now in global scipe
9871
9872         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9873         (pasteSelection): ditto
9874
9875         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9876         * paragraph_funcs.C (pasteParagraph): ... here
9877
9878 2002-08-20  André Pönitz <poenitz@gmx.net>
9879
9880         * commandtags.h: new LFUNs for swapping/copying table row/colums
9881
9882         * LyXAction.C:
9883         * lyxfunc.C: support for new lfuns
9884
9885 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9886
9887         * tabular.C:
9888         * buffer.[Ch]: remove NO_COMPABILITY stuff
9889
9890 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9891
9892         * boost.C (throw_exception): new file, with helper function for
9893         boost compiled without exceptions.
9894
9895         * paragraph.h:
9896         * lyxlength.C:
9897         * buffer.C:
9898         * ParameterStruct.h:
9899         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9900
9901         * bufferlist.C (emergencyWriteAll): use boost bind
9902
9903         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9904
9905         * text.C: include paragraph_funcs.h
9906         (breakParagraph): breakParagraph is now in global scope
9907
9908         * paragraph_funcs.[Ch]: new files
9909
9910         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9911         global scope
9912
9913         * buffer.C: include paragraph_funcs.h
9914         (insertStringAsLines): breakParagraph is now in global scope
9915
9916         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9917         paragraph_funcs.C
9918
9919         * CutAndPaste.C: include paragraph_funcs.h
9920         (cutSelection): breakParagraphConservative is now in global scope
9921         (pasteSelection): ditto
9922
9923         * buffer.h: declare oprator== and operator!= for
9924         Buffer::inset_iterator
9925
9926         * bufferlist.C (emergencyWrite): don't use fmt(...)
9927
9928         * text3.C: add using std::endl
9929
9930         * BufferView.C (moveCursorUpdate): remove default arg
9931
9932 2002-08-20  André Pönitz <poenitz@gmx.net>
9933
9934         * buffer.[Ch]: move inline functions to .C
9935
9936         * BufferView2.C:
9937         * BufferView_pimpl.C:
9938         * text.C:
9939         * buffer.[Ch]: use improved inset_iterator
9940
9941         * buffer.C:
9942         * paragraph.[Ch]: write one paragraph at a time
9943
9944 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9945
9946         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9947         style if style is not specified.
9948
9949 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * text2.C (setCounter): when searching for right label for a
9952         caption, make sure to recurse to parent insets (so that a caption
9953         in a minipage in a figure float works) (bug #568)
9954
9955 2002-08-20  André Pönitz <poenitz@gmx.net>
9956
9957         * text3.C: new file for LyXText::dispatch() and helpers
9958
9959         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9960
9961         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9962
9963 2002-08-19  André Pönitz <poenitz@gmx.net>
9964
9965         * lyxtext.h:
9966         * text.C: new LyXText::dispatch()
9967
9968         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9969
9970 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9971
9972         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9973
9974         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9975         Hebrew text.
9976
9977 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * Makefile.am: use $(variables) instead of @substitutions@
9980
9981 2002-08-15  André Pönitz <poenitz@gmx.net>
9982
9983         * lyxfunc.C:
9984         * BufferView_pimpl.C: streamlining mathed <-> outer world
9985         interaction
9986
9987         * commandtags.h:
9988         * LyXAction.C: remove unused LFUN_MATH
9989
9990 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9993
9994 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * paragraph.C (Paragraph): reformat a bit
9997         (cutIntoMinibuffer): use builtin InsetList function instad of
9998         doing it manually.
9999         (getInset): ditto
10000
10001         * buffer.C: include boost/bind.hpp, add using std::for_each
10002         (writeFileAscii): use ParagraphList iterators
10003         (validate): use for_each for validate traversal of paragraphs
10004         (getBibkeyList): use ParagraphList iterators
10005         (resizeInsets): use for_each to resizeInsetsLyXText for all
10006         paragraphs.
10007         (getParFromID): use ParagraphList iterators
10008
10009         * BufferView2.C (lockInset): use paragraph list and iterators
10010
10011 2002-08-14  John Levon  <levon@movementarian.org>
10012
10013         * lyxserver.C: remove spurious xforms include
10014
10015 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10018
10019 2002-08-13  André Pönitz <poenitz@gmx.net>
10020
10021         * LyXAction.[Ch]:
10022         * lyxfunc.C: further cleaning
10023
10024 2002-08-13  André Pönitz <poenitz@gmx.net>
10025
10026         * funcrequest.h: new constructor
10027
10028         * funcrequest.C: move stuff here from .h
10029
10030         * Makefile.am:
10031         * BufferView_pimpl.C:
10032         * LyXAction.C:
10033         * toc.C:
10034         * lyxfunc.C: subsequent changes
10035
10036         * lyxfunc.h: new view() member function
10037
10038         * lyxfunc.C: subsequent changes
10039
10040 2002-08-13  Angus Leeming  <leeming@lyx.org>
10041
10042         * BufferView2.C:
10043         * BufferView_pimpl.C:
10044         * buffer.C:
10045         * converter.C:
10046         * importer.C:
10047         * lyxfunc.C:
10048         * lyxvc.C:
10049         * toc.C:
10050         * vc-backend.C:
10051         changes due to the changed LyXView interface that now returns references
10052         to member variables not pointers.
10053
10054 2002-08-13  Angus Leeming  <leeming@lyx.org>
10055
10056         * WordLangTuple (word, lang_code): return references to strings,
10057         not strings.
10058
10059         * BufferView.h:
10060         * SpellBase.h:
10061         * lyxtext.h: forward-declare WordLangTuple.
10062
10063         * BufferView2.C:
10064         * ispell.C:
10065         * pspell.C:
10066         * text.C: #include "WordLangTuple.h".
10067
10068         * lyxtext.h:
10069         * text.C: (selectNextWordToSpellcheck): constify return type.
10070
10071 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10072
10073         * buffer.C:
10074         * buffer.h:
10075         * lyxtext.h:
10076         * paragraph.C:
10077         * paragraph_pimpl.h:
10078         * text.C:
10079         * text2.C:
10080         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10081         suggested by Angus.
10082         Made updateCounter always count from start of buffer, and removed
10083         second argument (par).
10084         Reverted floats number display to '#'. Perhaps I'll try again when the
10085         code base is sanitized a bit.
10086
10087 2002-08-12  Angus Leeming  <leeming@lyx.org>
10088
10089         * buffer.[Ch] (getLabelList): constify.
10090
10091 2002-08-07  André Pönitz <poenitz@gmx.net>
10092
10093         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10094
10095         * funcrequest.h: extension to keep mouse (x,y) position
10096
10097 2002-08-12  Juergen Vigna  <jug@sad.it>
10098
10099         * BufferView2.C (insertErrors): forbid undo when inserting error
10100         insets.
10101
10102         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10103
10104 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10105
10106         * ParagraphList.[Ch]: new files
10107
10108         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10109
10110         * BufferView2.C (lockInset): ParagraphList changes
10111         * toc.C: ditto
10112         * text2.C: ditto
10113         * bufferlist.C: ditto
10114         * buffer.h: ditto
10115         * buffer.C: ditto
10116
10117 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10118
10119         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10120         unused class variable counter_,
10121
10122         * paragraph.[Ch] (getFirstCounter): delete unused function
10123
10124         * counters.C: include LAssert.h
10125         (reset): add a new function with no arg, change other version to
10126         not have def. arg and to not allow empty arg.
10127
10128         * text2.C (setCounter): remove empty arg from call to Counters::reset
10129
10130 2002-08-11  John Levon  <levon@movementarian.org>
10131
10132         * Makefile.am: add WordLangTuple.h
10133
10134 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10135
10136         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10137         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10138
10139         * insets/insettext.C: InsetList changes
10140
10141         * graphics/GraphicsSupport.C (operator()): InsetList changes
10142
10143         * toc.C (getTocList): InsetList changes
10144
10145         * paragraph_pimpl.[Ch]: InsetList changes
10146
10147         * paragraph.[Ch]: InsetList changes
10148
10149         * buffer.C (inset_iterator): InsetList changes
10150         (setParagraph): ditto
10151         * buffer.h (inset_iterator): ditto
10152         * iterators.C (operator++): ditto
10153         * iterators.h: ditto
10154
10155         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10156
10157         * InsetList.[Ch]: new files, most InsetList handling moved out of
10158         paragraph.C.
10159
10160         * BufferView2.C (removeAutoInsets): InsetList changes
10161         (lockInset): ditto
10162         (ChangeInsets): ditto
10163
10164 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10165
10166         * paragraph_pimpl.h (empty): new function
10167
10168         * paragraph.[Ch] (empty): new function
10169
10170         * other files: use the new Paragraph::empty function
10171
10172 2002-08-09  John Levon  <levon@movementarian.org>
10173
10174         * lyxtext.h: remove unused refresh_height
10175
10176 2002-08-09  John Levon  <levon@movementarian.org>
10177
10178         * Makefile.am:
10179         * sgml.h:
10180         * sgml.C:
10181         * buffer.C:
10182         * paragraph.h:
10183         * paragraph.C: move sgml char escaping out of paragraph
10184
10185         * paragraph.h:
10186         * paragraph.C: remove id setter
10187
10188         * buffer.C:
10189         * paragraph.C:
10190         * paragraph_pimpl.C: remove dead tex_code_break_column
10191
10192         * bufferview_funcs.C: small cleanup
10193
10194         * lyxfunc.C: remove dead proto
10195
10196         * lyxtext.h: make some stuff private. Remove some dead stuff.
10197
10198         * lyxgluelength.C: make as[LyX]String() readable
10199
10200 2002-08-08  John Levon  <levon@movementarian.org>
10201
10202         * LyXAction.h:
10203         * LyXAction.C:
10204         * MenuBackend.C:
10205         * ToolbarDefaults.C:
10206         * lyxfunc.C:
10207         * lyxrc.C:
10208         * toc.C: lyxaction cleanup
10209
10210 2002-08-08  John Levon  <levon@movementarian.org>
10211
10212         * BufferView2.C: small cleanup
10213
10214         * lyxfind.h:
10215         * lyxfind.C: move unnecessary header into the .C
10216
10217 2002-08-08  John Levon  <levon@movementarian.org>
10218
10219         * funcrequest.h: just tedious nonsense
10220
10221         * lyx_main.h:
10222         * lyx_main.C: cleanups
10223
10224         * buffer.C:
10225         * vspace.C: remove dead header lyx_main.h
10226
10227 2002-08-07  Angus Leeming  <leeming@lyx.org>
10228
10229         * Paragraph.[Ch]:
10230         * paragraph_pimpl.h:
10231         Forward declare class Counters in paragraph.h by moving the ctrs member
10232         variable into Paragraph::Pimpl.
10233         (counters): new method, returning a reference to pimpl_->ctrs.
10234
10235         * text2.C: ensuing changes.
10236
10237 2002-08-07  John Levon  <levon@movementarian.org>
10238
10239         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10240
10241         * BufferView_pimpl.C: announce X selection on double/triple
10242           click
10243
10244         * lyx_main.C: use correct bool in batch dispatch
10245
10246         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10247
10248 2002-08-07  André Pönitz <poenitz@gmx.net>
10249
10250         * funcrequest.h: new class to wrap a kb_action and its argument
10251
10252         * BufferView.[Ch]:
10253         * BufferView_pimpl[Ch]:
10254         * LaTeX.C:
10255         * LyXAction.[Ch]:
10256         * lyxfunc.[Ch]:
10257         * lyxrc.C: subsequent changes
10258
10259
10260 2002-08-07  John Levon  <levon@movementarian.org>
10261
10262         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10263           document options change.
10264
10265 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10266
10267         * counters.[Ch]
10268         * text2.C
10269         * paragraph.[Ch]
10270         * makefile.am: move counters functionality over from
10271         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10272
10273 2002-08-06  John Levon  <levon@movementarian.org>
10274
10275         * WordLangTuple.h: new file for word + language code tuple
10276
10277         * SpellBase.h:
10278         * pspell.h:
10279         * pspell.C:
10280         * ispell.h:
10281         * ispell.C:
10282         * lyxtext.h:
10283         * text.C:
10284         * text2.C:
10285         * BufferView.h:
10286         * BufferView2.C: use WordLangTuple
10287
10288         * layout.h:
10289         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10290
10291 2002-08-06  John Levon  <levon@movementarian.org>
10292
10293         * lyx_main.C: fix cmdline batch handling
10294
10295 2002-08-06  André Pönitz <poenitz@gmx.net>
10296
10297         * lyxrc.C: set default for show_banner to true
10298
10299 2002-08-06  John Levon  <levon@movementarian.org>
10300
10301         * pspell.C: fix a crash, and allow new aspell to work
10302
10303 2002-08-06  John Levon  <levon@movementarian.org>
10304
10305         * lyxfunc.C:
10306         * kbmap.C: small cleanup
10307
10308         * vspace.h:
10309         * vspace.C: add const
10310
10311 2002-08-05  John Levon  <levon@movementarian.org>
10312
10313         * LyXAction.C: back to tabular-insert
10314
10315 2002-08-04  John Levon  <levon@movementarian.org>
10316
10317         * BufferView.h:
10318         * BufferView.C: cosmetic change
10319
10320         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10321
10322         * bufferlist.C:
10323         * buffer.h:
10324         * buffer.C:
10325         * lyxcb.h:
10326         * lyxcb.C:
10327         * lyxserver.C:
10328         * lyxvc.C:
10329         * vc-backend.C:
10330         * BufferView2.C: purge all "Lyx" not "LyX" strings
10331
10332         * lyxcursor.h:
10333         * lyxcursor.C: attempt to add some documentation
10334
10335         * lyxfunc.C:
10336         * commandtags.h:
10337         * LyXAction.C:
10338         * ToolbarDefaults.C:
10339         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10340           merge with LFUN_TABULAR_INSERT
10341
10342         * Makefile.am:
10343         * SpellBase.h:
10344         * ispell.h:
10345         * ispell.C:
10346         * pspell.h:
10347         * pspell.C: split up i/pspell implementations into separate
10348           files, many cleanups
10349
10350         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10351
10352         * text2.C: some cleanup
10353
10354         * lyxfunc.C: don't check for isp_command == "none" any more, it
10355           didn't make any sense
10356
10357 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10358
10359         * counters.[Ch]
10360         * text2.C
10361         * paragraph.[Ch]
10362         * makefile.am: move counters functionality over
10363         from text2.C/paragraph.[Ch] to counters.[Ch], and
10364         make proper C++.
10365 2002-08-02  John Levon  <levon@movementarian.org>
10366
10367         * buffer.C: s/lyxconvert/lyx2lyx/
10368
10369 2002-08-02  Angus Leeming  <leeming@lyx.org>
10370
10371         * lyxlex.C: revert John's change as it breaks reading of the user
10372         preamble.
10373
10374 2002-08-02  Angus Leeming  <leeming@lyx.org>
10375
10376         * importer.C (Import):
10377         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10378         changes due to LyXView::view() now returning a boost::shared_ptr.
10379
10380 2002-08-02  John Levon  <levon@movementarian.org>
10381
10382         * lyxlex.C: small cleanup
10383
10384 2002-08-02  John Levon  <levon@movementarian.org>
10385
10386         * text2.C (status): small cleanup, no logic change
10387
10388 2002-08-01  John Levon  <levon@movementarian.org>
10389
10390         * buffer.h:
10391         * buffer.C (writeFile): don't output alerts, caller
10392           handles this
10393
10394         * bufferlist.C:
10395         * lyx_cb.C: from above
10396
10397         * lyxfunc.C: allow to open non-existent files
10398
10399 2002-07-31  John Levon  <levon@movementarian.org>
10400
10401         * lyxserver.C: don't let incidental errors get
10402           in the way (errno)
10403
10404 2002-07-30  John Levon  <levon@movementarian.org>
10405
10406         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10407
10408 2002-07-30  John Levon  <levon@movementarian.org>
10409
10410         * lyxserver.h:
10411         * lyxserver.C: remove I/O callback too
10412
10413 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10416         log.
10417
10418 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10419
10420         * many files: strip,frontStrip -> trim,ltrim,rtrim
10421
10422 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10423
10424         * PrinterParams.h: remove extern containsOnly, and include
10425         support/lstrings.h instead.
10426
10427         * LaTeX.C (scanAuxFile): modify because of strip changes
10428         (deplog): ditto
10429         * buffer.C (makeLaTeXFile): ditto
10430         * bufferparams.C (writeFile): ditt
10431         * lyxfont.C (stateText): ditto
10432         * lyxserver.C (read_ready): ditto
10433         * vc-backend.C (scanMaster): ditto
10434
10435         * BufferView_pimpl.h: ws changes
10436
10437         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10438
10439 2002-07-26  André Pönitz <poenitz@gmx.net>
10440
10441         * kb_sequence.C: remove unnedred usings
10442
10443 2002-07-26  Juergen Vigna  <jug@sad.it>
10444
10445         * lyxfind.C (LyXReplace): we have to check better if the returned
10446         text is not of theLockingInset()->getLockingInset().
10447
10448 2002-07-25  Juergen Vigna  <jug@sad.it>
10449
10450         * lyxfind.C (LyXReplace): don't replace if we don't get the
10451         right LyXText.
10452
10453         * undo_funcs.C (createUndo): remove debugging code.
10454
10455 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10456
10457         * buffer.C (parseSingleLyXformat2Token): Use default placement
10458         when reading old floats.
10459
10460         * FloatList.C (FloatList): Change the default placement of figure
10461         and tables to "tbp".
10462
10463 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * MenuBackend.C: using std::max
10466
10467 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * MenuBackend.C (expandToc):
10470         (expandToc2): code moved from xforms menu frontend. It is now
10471         generic and TOCs are transparent to menu frontends.
10472
10473 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * toc.C (getTocList): protect against buf=0
10476
10477         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10478         Menu as first parameter. Now, this calls itself recursively to
10479         expand a whole tree (this will be useful for TOC handling)
10480         (expandFloatInsert): remove 'wide' version of floats
10481
10482         * MenuBackend.h (submenuname): returns the name of the submenu.
10483         (submenu): returns the submenu itself, provided it has been
10484         created by MenuBackend::expand
10485
10486 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10489         insets which have noFontChange == true. (bug #172)
10490
10491 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10492
10493         * BufferView_pimpl.C: add connection objects and use them...
10494         (Pimpl): here.
10495
10496 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * MenuBackend.C (expandLastfiles):
10499         (expandDocuments):
10500         (expandFormats):
10501         (expandFloatListInsert):
10502         (expandFloatInsert):
10503         (expand): split expand in parts
10504
10505 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * lyx_gui.C: use lyx_gui::exit()
10508
10509 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * LyXAction.C: show the failing pseudo action
10512
10513 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10514
10515         * buffer.C (readFile): Run the lyxconvert script in order to read
10516         old files.
10517
10518 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * LyXAction.C:
10521         * commandtags.h:
10522         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10523
10524 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * LyXAction.C:
10527         * commandtags.h:
10528         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10529
10530 2002-07-22  Herbert Voss  <voss@lyx.org>
10531
10532         * lengthcommon.C:
10533         * lyxlength.[Ch]: add support for the vertical lengths
10534
10535 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * toc.[Ch]: std:: fixes
10538
10539 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * lyxrc.C: do not include lyx_main.h
10542
10543         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10544         for layouts
10545
10546         * lyxrc.C:
10547         * encoding.C:
10548         * bufferlist.C:
10549         * BufferView2.C: include "lyxlex.h"
10550
10551         * tabular.h:
10552         * bufferparams.h: do not #include "lyxlex.h"
10553
10554         * lyxtextclasslist.C (Add): remove method
10555         (classlist): renamed to classlist_
10556
10557         * paragraph_pimpl.C:
10558         * paragraph.C:
10559         * text2.C:
10560         * CutAndPaste.C:
10561         * bufferview_funcs.C:
10562         * bufferlist.C:
10563         * text.C:
10564         * LaTeXFeatures.C:
10565         * buffer.C:
10566         * toc.C (getTocList): use BufferParams::getLyXTextClass
10567
10568         * toc.C (getTocList): use InsetFloat::addToToc
10569
10570         * toc.[Ch]: new files, containing helper functions to handle table
10571         of contents
10572
10573         * lyxfunc.C (dispatch): no need to remove spaces around command
10574         given as a string
10575         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10576         first command of the sequence; it is not very clever, but I do not
10577         have a better idea, actually
10578
10579         * LyXAction.C (LookupFunc): make sure to remove space at the
10580         beginning and end of the command
10581
10582 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10583
10584         * MenuBackend.C (getMenubar): new method: return the menubar of
10585         this menu set
10586         (read): treat differently reading of menu and menubar (in
10587         particular, the menubar has no name now)
10588         (Menu::menubar): remove
10589
10590         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10591         saving is finished
10592
10593 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10594
10595         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10596         a bibitem inset in a RTL paragraph.
10597
10598 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * paragraph_pimpl.C: constify
10601
10602         * BufferView_pimpl.C:
10603         * LaTeX.C:
10604         * lyxfunc.C: fix dispatch in a nicer way
10605
10606 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * lyxfunc.C (dispatch):
10609         * BufferView_pimpl.C:
10610         * BufferView_pimpl.h:
10611         * BufferView.C:
10612         * BufferView.h: rename Dispatch() to dispatch()
10613
10614         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10615
10616         * lyxlayout.C (Read): honor DependsOn tag
10617
10618         * lyxlayout.[Ch] (depends_on): new method
10619
10620         * version.C.in: update lyx_docversion
10621
10622         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10623
10624         * paragraph.C (validate): remove from here...
10625         * paragraph_pimpl.C (validate): ... and move here
10626         (isTextAt): make it const
10627
10628         * buffer.C (getLists): ws cleanup
10629
10630 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10631
10632         * language.C (read): Use iso8859-1 encoding in latex_lang
10633         (this prevents LyX from crashing when using iso10646-1 encoding).
10634
10635 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * text2.C (toggleInset): if cursor is inside an inset, close the
10638         inset and leave cursor _after_ it
10639
10640 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * lyxfunc.C: move minibuffer completion handling out of here
10643
10644 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * BufferView_pimpl.C:
10647         * LaTeX.C: fix dispatch calls
10648
10649 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10650
10651         * text.C (drawChars): Fix Arabic text rendering.
10652
10653 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * LyXAction.C:
10656         * commandtags.h:
10657         * lyxfunc.C: remove message-push/pop
10658
10659         * lyxserver.C:
10660         * lyxfunc.h:
10661         * lyxfunc.C: rationalise some code by removing verboseDispatch
10662           in favour of a bool argument to dispatch()
10663
10664 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * lyx_main.C (init): make sure to read symlinks as absolute paths
10667
10668 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * lyxfunc.h:
10671         * lyxfunc.C: no need for commandshortcut to be a member
10672
10673 2002-07-15  André Pönitz <poenitz@gmx.net>
10674
10675         * converter.C: add support for $$s (scripts from lib/scripts dir)
10676         * lyx_main.C: white space
10677
10678 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * bufferlist.C:
10681         * lyxrc.h:
10682         * lyxrc.C: remove second exit confirmation
10683
10684 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * BufferView.h:
10687         * BufferView.C:
10688         * BufferView2.C:
10689         * BufferView_pimpl.h:
10690         * BufferView_pimpl.C:
10691         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10692
10693 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * MenuBackend.C (expand): add numeric shortcuts to document menu
10696
10697         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10698
10699 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10700
10701         * lyxfont.C (setLyXFamily):
10702         (setLyXSeries):
10703         (setLyXShape):
10704         (setLyXSize):
10705         (setLyXMisc):
10706         (lyxRead):
10707         * debug.C (value):
10708         * buffer.C (asciiParagraph): use ascii_lowercase
10709
10710 2002-07-15  Mike Fabian  <mfabian@suse.de>
10711
10712         * lyxlex_pimpl.C (search_kw):
10713         * lyxlex.C (getLongString):
10714         * converter.h (operator<):
10715         * converter.C (operator<):
10716         * buffer.C (parseSingleLyXformat2Token):
10717         (asciiParagraph):
10718         * ToolbarDefaults.C (read):
10719         * MenuBackend.C (checkShortcuts):
10720         (read):
10721         * LColor.C (getFromGUIName):
10722         (getFromLyXName): use the compare_ascii_no_case instead of
10723         compare_no_case, because in turkish, 'i' is not the lowercase
10724         version of 'I', and thus turkish locale breaks parsing of tags.
10725
10726 2002-07-16  Angus Leeming  <leeming@lyx.org>
10727
10728         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10729         now takes a Buffer const & argument.
10730
10731 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView.C (resize): check there's a buffer to resize
10734
10735 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * lyxfunc.C: remove dead code
10738
10739         * lyxserver.h:
10740         * lyxserver.C: use lyx_guii::set_read_callback
10741
10742 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10745         an inset in a RTL paragraph.
10746
10747 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * lyxfunc.C: repaint after a font size update
10750
10751 2002-07-15  André Pönitz <poenitz@gmx.net>
10752
10753         * lyxlength.C: inBP should be able to return negative values
10754
10755 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * lyxfunc.C: use lyx_gui::update_fonts()
10758
10759 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * lyxfunc.C: use lyx_gui::update_color()
10762
10763 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * bufferlist.C:
10766         * lyxfunc.h:
10767         * lyxfunc.C:
10768         * lyxrc.h:
10769         * lyxrc.C: remove file->new asks for name option, and let
10770           buffer-new take an argument
10771
10772 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * BufferView_pimpl.C: remove unneeded extra repaint()
10775
10776 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * LyXAction.C: allow command-sequence with NoBuffer
10779
10780         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10781
10782 2002-07-10  Angus Leeming  <leeming@lyx.org>
10783
10784         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10785
10786 2002-07-09  Angus Leeming  <leeming@lyx.org>
10787
10788         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10789
10790 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * lengthcommon.h: whitespace
10793
10794         * lyxfunc.C: update scrollbar after goto paragraph
10795
10796         * lyxtext.h: factor out page break drawing, and fix it so
10797           page break/added space paints as selected nicely
10798
10799 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * BufferView_pimpl.C: add FIXMEs, clean up a little
10802
10803 2002-07-09  André Pönitz <poenitz@gmx.net>
10804
10805         * lyxfont.[Ch]: support for wasy symbols
10806
10807 2002-07-08  André Pönitz <poenitz@gmx.net>
10808
10809         * BufferView_pimpl.C: apply John's patch for #93.
10810
10811 2002-07-05  Angus Leeming  <leeming@lyx.org>
10812
10813         * BufferView_pimpl.C (buffer): generate previews if desired.
10814
10815         * LColor.h: add "preview" to the color enum.
10816
10817         * LColor.C (LColor): add a corresponding entry to the items array.
10818
10819         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10820         with this buffer.
10821
10822 2002-07-05  Angus Leeming  <leeming@lyx.org>
10823
10824         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10825         The body of the code is now in the method that is passed an ostream &
10826         rather than a file name.
10827         Pass an additional only_preamble parameter, useful for the forthcoming
10828         preview stuff.
10829
10830 2002-07-03  André Pönitz <poenitz@gmx.net>
10831
10832         * lyxfunc.C: simplify getStatus() a bit for math stuff
10833
10834 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10837
10838 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * text.C (changeRegionCase): do not change case of all the
10841         document when region ends at paragraph end (bug #461)
10842
10843 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * paragraph.C (startTeXParParams):
10846         (endTeXParParams): add \protect when necessary
10847
10848 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * BufferView_pimpl.C (workAreaExpose): remove warning
10851
10852 2002-06-27  Angus Leeming  <leeming@lyx.org>
10853
10854         * Makefile.am: add lyxlayout_ptr_fwd.h.
10855
10856 2002-06-26  André Pönitz <poenitz@gmx.net>
10857
10858         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10859
10860 2002-06-25  Angus Leeming  <leeming@lyx.org>
10861
10862         * lyxfunc.C (dispatch): Comment out the call to
10863         grfx::GCache::changeDisplay. The method no longer exists now that the
10864         pixmap generation part of the graphics loader has been moved into
10865         InsetGraphics.
10866
10867 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10868
10869         * text2.C: layout as layout
10870
10871         * text.C: layout as layout
10872
10873         * tabular.C (OldFormatRead): layout as layout
10874
10875         * paragraph_pimpl.C (TeXDeeper): layout as layout
10876         (realizeFont): layout as layout
10877
10878         * paragraph.C (writeFile): layout as layout
10879         (validate): layout as layout
10880         (getFont): layout as layout
10881         (getLabelFont): layout as layout
10882         (getLayoutFont): layout as layout
10883         (breakParagraph): layout as layout
10884         (stripLeadingSpaces): layout as layout
10885         (getEndLabel): layout as layout
10886         (getMaxDepthAfter): layout as layout
10887         (applyLayout): layout as layout
10888         (TeXOnePar): layout as layout
10889         (simpleTeXOnePar): layout as layout
10890         (TeXEnvironment): layout as layout
10891         (layout): layout as layout
10892         (layout): layout as layout
10893
10894         * lyxtextclass.C (compare_name): new functor to work with
10895         shared_ptr, layout as layout
10896         (Read): layout as layout
10897         (hasLayout): layout as layout
10898         (operator): layout as layout
10899         (delete_layout): layout as layout
10900         (defaultLayout): layout as layout
10901
10902         * lyxlayout_ptr_fwd.h: new file
10903
10904         * lyxlayout.C (Read): layout as layout
10905
10906         * lyx_cb.C (MenuInsertLabel): layout as layout
10907
10908         * bufferlist.C (newFile): layout as layout
10909
10910         * buffer.C (readLyXformat2): layout as layout
10911         (parseSingleLyXformat2Token): layout as layout
10912         (insertStringAsLines): layout as layout
10913         (asciiParagraph): layout as layout
10914         (latexParagraphs): layout as layout
10915         (makeLinuxDocFile): layout as layout
10916         (simpleLinuxDocOnePar): layout as layout
10917         (makeDocBookFile): layout as layout
10918         (simpleDocBookOnePar): layout as layout
10919         (getLists): layout as layout
10920
10921         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10922
10923         * CutAndPaste.C (cutSelection): layout as layout
10924         (pasteSelection): layout as layout
10925         (SwitchLayoutsBetweenClasses): layout as layout
10926
10927         * BufferView_pimpl.C (Dispatch): layout as layout
10928         (smartQuote): layout as layout
10929
10930         * BufferView2.C (unlockInset): layout as layout
10931
10932 2002-06-24  André Pönitz <poenitz@gmx.net>
10933
10934         * lyxfunc.C: fix #487
10935
10936 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * lyxrc.h:
10939         * lyxrc.C:
10940         * lyxfunc.C: remove display_shortcuts, show_banner
10941
10942 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * Buffer_pimpl.C: oops, update on resize
10945
10946 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * buffer.C:
10949         * converter.C:
10950         * exporter.C:
10951         * lyxfunc.C:
10952         * BufferView.h:
10953         * BufferView.C: use repaint()
10954
10955         * BufferView_pimpl.h:
10956         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10957           as it's a clearer description. Remove superfluous
10958           redraws.
10959
10960 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10961
10962         * text.C: fix bug 488. Not ideal, but getting
10963           getWord() to work properly for the insets that
10964           matter is more difficult ...
10965
10966 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * BufferView_pimpl.C:
10969         * LyXAction.C:
10970         * commandtags.h:
10971         * lyxfunc.C: remove the six million index lyxfuncs to just
10972           one, and DTRT (bug 458)
10973
10974 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * BufferView.h:
10977         * BufferView.C:
10978         * BufferView_pimpl.h:
10979         * BufferView_pimpl.C: clean up resize() stuff,
10980           and unnecessary updateScreen()s
10981
10982 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * BufferView.h:
10985         * BufferView.C:
10986         * BufferView_pimpl.h:
10987         * BufferView_pimpl.C:
10988         * lyxfind.h:
10989         * lyxfind.C:
10990         * minibuffer.C: remove focus management of workarea,
10991           not needed. Use screen's greyOut()
10992
10993 2002-06-17  Herbert Voss  <voss@lyx.org>
10994
10995         * converter.C: (convert) do not post a message, when converting
10996         fails, let the calling function decide what to do in this case
10997
10998 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * lyxfunc.C: tidy up a little
11001
11002 2002-06-16    <alstrup@diku.dk>
11003
11004         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11005         Got rid of FORMS_H_LOCATION include. Now we are
11006         GUII.
11007
11008 2002-06-15  LyX Development team  <lyx@rilke>
11009
11010         * buffer.[Ch] (sgmlOpenTag):
11011         (sgmlCloseTag): Added support for avoiding pernicious mixed
11012         content. Return number of lines written.
11013
11014         (makeLinuxDocFile):
11015         (makeDocBookFile): Fixed calls to sgml*Tag.
11016         Simple white space clean.
11017
11018         (simpleDocBookOnePar): Simple white space clean.
11019
11020         * tabular.[Ch] (docBook): Renamed to docbook and got another
11021         argument to related with the pernicious mixed content.
11022
11023         (docbookRow): Fixed calls for docbook inset method.
11024
11025 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11026
11027         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11028         so it's X11 independent.
11029
11030         * kb*.[Ch]: ditto.
11031
11032         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11033
11034 2002-06-15  Lyx Development team  <lyx@electronia>
11035
11036         * intl.h: Renamed getTrans to getTransManager.
11037
11038 2002-06-14  Angus Leeming  <leeming@lyx.org>
11039
11040         * Makefile.am: nuke forgotten stl_string_fwd.h.
11041
11042 2002-06-12  Angus Leeming  <leeming@lyx.org>
11043
11044         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11045
11046 2002-06-13  Angus Leeming  <leeming@lyx.org>
11047
11048         * LaTeX.C:
11049         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11050
11051 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11052
11053         * kbmap.C (getiso): add support for cyrillic and greek
11054
11055 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * BufferView.h:
11058         * BufferView.C:
11059         * BufferView_pimpl.h:
11060         * BufferView_pimpl.C: move bogus scrolling logic
11061           to xforms
11062
11063 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * lyxfunc.C:
11066         * BufferView_pimpl.C: view->resize() change
11067
11068 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * BufferView_pimpl.C: topCursorVisible
11071           prototype change
11072
11073 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * Makefile.am:
11076         * lyx_gui.h:
11077         * lyx_gui.C: move to frontends/
11078
11079         * main.C:
11080         * lyx_main.h:
11081         * lyx_main.C: changes from above
11082
11083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * intl.C:
11086         * intl.h:
11087         * kbmap.C:
11088         * kbsequence.C:
11089         * lyx_cb.C:
11090         * lyx_main.C: minor tidy
11091
11092 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * BufferView_pimpl.h:
11095         * BufferView_pimpl.C:
11096         * BufferView.h:
11097         * BufferView.C: make painter() const,
11098           remove dead code
11099
11100         * BufferView2.C: use screen() accessor
11101
11102         * lyx_main.h:
11103         * lyx_main.C: some minor cleanup
11104
11105 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * BufferView_pimpl.h:
11108         * BufferView_pimpl.C: remove enter/leaveView,
11109           use workHeight()
11110
11111 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * BufferView.h:
11114         * BufferView.C:
11115         * BufferView2.C:
11116         * BufferView_pimpl.h:
11117         * BufferView_pimpl.C: only construct screen once,
11118           rename
11119
11120         * lyxrc.C: remove pointless comment
11121
11122 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * BufferView.h:
11125         * BufferView.C: remove active() and belowMouse()
11126
11127         * BufferView_pimpl.h:
11128         * BufferView_pimpl.C: use workarea() not workarea_,
11129           and make it use a scoped_ptr instead
11130
11131 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * lyx_gui.C: add debug message on BadWindow
11134
11135 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * sp_spell.C: fdopen is not part of the C++ standard.
11138
11139         * paragraph.C (InsetIterator): use >= instead of ==
11140
11141 2002-06-07  Angus Leeming  <leeming@lyx.org>
11142
11143         Fixes needed to compile with Compaq cxx 6.5.
11144         * BufferView_pimpl.C:
11145         * DepTable.C:
11146         * buffer.C:
11147         * converter.C:
11148         * encoding.C:
11149         * lyx_gui.C:
11150         * lyx_main.C:
11151         * lyxtextclasslist.C:
11152         * minibuffer.C:
11153         * sp_spell.C:
11154         * tabular_funcs.C:
11155         * vc-backend.C:
11156         all c-library variables have been moved into namespace std. Wrap
11157         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11158
11159         * lyxlength.C:
11160         * tabular-old.C:
11161         * tabular.C:
11162         Add a using std::abs declaration.
11163
11164         * kbmap.h (modifier_pair):
11165         * paragraph.h (InsetTable, InsetList):
11166         * lyxfont.h (FontBits):
11167         type definition made public.
11168
11169         * bufferlist.C (emergencyWriteAll): the compiler complains that
11170         there is more than one possible lyx::class_fun template to choose from.
11171         I re-named the void specialisation as lyx::void_class_fun.
11172
11173         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11174
11175         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11176         the compiler is is unable to find tostr in write_attribute.
11177
11178 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11179
11180         * buffer.C (sgmlError): hide #warning
11181
11182 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * xtl/*: get rid of xtl, which is not in use anyway
11185
11186         * LyXAction.C (init):
11187         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11188         were unimplemented xtl experimentation
11189
11190 2002-06-04  André Pönitz <poenitz@gmx.net>
11191
11192         * lyxfunc.C: disable array operation on simple formulae
11193
11194 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * converter.C: constify a bit
11197
11198 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * lyx_gui.C: check xforms version correctly
11201
11202 2002-04-30  Herbert Voss  <voss@lyx.org>
11203
11204         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11205         "keep" option
11206
11207 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11210           attempt to register it with a VCS)
11211
11212 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11213
11214         * lyx_main.C (init): honor variables LYX_DIR_13x and
11215         LYX_USERDIR_13x
11216
11217 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * buffer.h:
11220         * buffer.C:
11221         * lyx_main.C: fix a crash on bad command line,
11222           and give a useful exit status on error
11223
11224         * lyxfunc.C (doImport): allow -i lyx to work
11225
11226 2002-03-30  André Pönitz <poenitz@gmx.net>
11227
11228         * lyxfunc.C: mathed font changes
11229
11230 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11231
11232         * LaTeX.C:
11233         * importer.h:
11234         * importer.C:
11235         * lyx_sty.h:
11236         * lyx_sty.C:
11237         * lyxlex.C:
11238         * lyxrow.h:
11239         * lyxtext.h:
11240         * paragraph.h:
11241         * paragraph.C:
11242         * texrow.h:
11243         * texrow.C:
11244         * text.C:
11245         * trans_mgr.h: srcdocs, and some minor cleanups
11246
11247 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11250         call getFont all the time)
11251
11252 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11253
11254         * switch from SigC signals to boost::signals
11255
11256 2002-05-29  André Pönitz <poenitz@gmx.net>
11257
11258         * paragraph_pimpl.C (getChar): don't call size() too often...
11259
11260 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * paragraph_pimpl.C (insertChar): do not try to update tables when
11263         appending (pos == size())
11264
11265         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11266         in order to reduce drastically the number of comparisons needed to
11267         parse a large document
11268
11269 2002-05-29  André Pönitz <poenitz@gmx.net>
11270
11271         * text.C:
11272         * text2.C:
11273         * lyxtextclass.C:
11274         * sp_pspell.h:
11275         * textclasslist.[Ch]:
11276         * sp_ispell.h: whitespace change
11277
11278 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11279
11280         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11281         lyxaction directly now.
11282
11283 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * trans.C:
11286         * lyxfont.C:
11287         * lyxvc.C: remove unused headers
11288
11289 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * Makefile.am:
11292         * buffer.h:
11293         * undostack.h:
11294         * undostack.C:
11295         * undo_funcs.h:
11296         * undo_funcs.C: some cleanups. Use shared_ptr
11297           and a template for the undo stacks.
11298
11299 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView_pimpl.h:
11302         * BufferView_pimpl.C:
11303         * kbmap.h:
11304         * kbmap.C:
11305         * kbsequence.h:
11306         * kbsequence.C:
11307         * lyxfunc.h:
11308         * lyxfunc.C:
11309         * text2.C: use key_state/mouse_state
11310
11311 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11314         and LSubstring
11315
11316         * chset.C: change include order
11317         (loadFile): use boost regex and get rid of LRegex and LSubstring
11318
11319         * Makefile.am (BOOST_LIBS): new variable
11320         (lyx_LDADD): use it
11321
11322         * LaTeX.C: change include order.
11323         (scanAuxFile): use boost regex and get rid of LRegex and
11324         LSubstring
11325         (deplog): ditto
11326
11327 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * ColorHandler.h:
11330         * ColorHandler.C:
11331         * FontInfo.h:
11332         * FontInfo.C: moved to frontends/xforms/
11333
11334         * FontLoader.h:
11335         * FontLoader.C: moved into frontends for GUIIzation
11336
11337         * Makefile.am:
11338         * lyx_gui.C:
11339         * lyxfont.C:
11340         * lyxfunc.C: changes from above
11341
11342 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * LColor.C: remove spurious X include
11345
11346         * BufferView_pimpl.C:
11347         * Makefile.am:
11348         * font.h:
11349         * font.C:
11350         * text.C:
11351         * text2.C: move font metrics to frontends/
11352
11353 2002-05-24  Juergen Vigna  <jug@sad.it>
11354
11355         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11356         setting the undo_cursor.
11357
11358         * ParagraphParameters.h: include local includes first.
11359
11360 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * BufferView_pimpl.C:
11363         * BufferView_pimpl.h:
11364         * Makefile.am:
11365         * WorkArea.h:
11366         * WorkArea.C:
11367         * screen.C: move WorkArea into frontends/
11368
11369         * lyxscreen.h:
11370         * screen.C:
11371         * text.C:
11372         * BufferView.C:
11373         * BufferView2.C: move LyXScreen into frontends/
11374
11375         * lyxlookup.h:
11376         * lyxlookup.C:
11377         * lyx_gui.C: move lyxlookup into frontends/xforms/
11378
11379 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * BufferView2.C:
11382         * BufferView_pimpl.C:
11383         * FontLoader.C:
11384         * LyXView.h:
11385         * LyXView.C:
11386         * Makefile.am:
11387         * WorkArea.C:
11388         * XFormsView.h:
11389         * XFormsView.C:
11390         * buffer.C:
11391         * bufferlist.C:
11392         * bufferview_funcs.C:
11393         * converter.C:
11394         * importer.C:
11395         * lyx_cb.C:
11396         * lyx_gui.C:
11397         * lyx_main.C:
11398         * lyx_find.C:
11399         * lyxfunc.C:
11400         * lyxvc.C:
11401         * minibuffer.C:
11402         * text.C:
11403         * text2.C:
11404         * trans.C:
11405         * vc-backend.C: move LyX/XFormsView into frontends/
11406
11407 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * Makefile.am:
11410         * PainterBase.C:
11411         * PainterBase.h:
11412         * Painter.C:
11413         * Painter.h:
11414         * WorkArea.C:
11415         * WorkArea.h:
11416         * screen.C:
11417         * tabular.C:
11418         * text.C:
11419         * text2.C: move Painter to frontends/
11420
11421 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11422
11423         * buffer.C: comment out some some code that depend upon lyx_format
11424         < 220
11425
11426         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11427         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11428
11429         * buffer.h (NO_COMPABILITY): turn off compability
11430
11431         * ColorHandler.C: include scoped_array.hpp
11432
11433         * font.C: Use more specific smart_ptr header.
11434         * Painter.C: ditto
11435         * gettext.C: ditto
11436         * ShareContainer.h: ditto
11437         * lyx_main.h: ditto
11438         * kbmap.h: ditto
11439         * FontInfo.h: ditto
11440         * BufferView_pimpl.h: ditto
11441         * ColorHandler.h: ditto
11442
11443         * kbmap.C (defkey): change call to shared_ptr::reset
11444
11445 2002-05-21  Juergen Vigna  <jug@sad.it>
11446
11447         * buffer.C (insertErtContents): fix to insert ert asis if it is
11448         non empty. Skip it completely if it contains only whitespaces.
11449
11450 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * BufferView_pimpl.C:
11453         * BufferView2.C: clear selection on paste (bug 393)
11454
11455 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11456
11457         * DepTable.C: include ctime
11458
11459 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11462
11463 2002-05-14  Juergen Vigna  <jug@sad.it>
11464
11465         * text.C (breakParagraph): fixed function to honor the keepempty
11466         layout in the right maner and also to permit the right breaking
11467         algorithm on empty or non empyt keepempty paragraphs.
11468
11469         * paragraph.C (breakParagraph): we have to check also if the par
11470         is really empty (!size()) for isempty otherwise we do the wrong
11471         paragraph break.
11472
11473 2002-05-10  Juergen Vigna  <jug@sad.it>
11474
11475         * buffer.[Ch] : The following are only changes to the ert
11476         compatibility read reading old LaTeX layout and font stuff and
11477         convert it to ERTInsets.
11478
11479         * buffer.h: added isErtInset().
11480
11481         * buffer.C (struct ErtComp): add a fromlayout bool to check
11482         if we're inside a LaTeX layout.
11483         (isErtInset): new helper function.
11484         (insertErtContents): look for other ert insets before this one
11485         and insert the contents there, so that we don't have subsequent
11486         ERT insets with nothing between them. This way we create only one
11487         inset with multiple paragraphs. Also check if we don't insert only
11488         spaces ' ' as they are ignored anyway afterwards in the .tex file
11489         so if we have only spaces we will ignore this latex part in the
11490         new file.
11491         (parseSingleLyXformat2Token \\layout): better compatibility when
11492         reading layout-latex stuff.
11493         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11494         language tag.
11495         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11496         stuff after reading the inset only get the information back from
11497         the stack.
11498
11499 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11500
11501         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11502
11503         * LaTeXFeatures.C (getBabelOptions): New method.
11504
11505 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * BufferView_pimpl.C (Dispatch): work around missing argument for
11508         'layout'
11509
11510 2002-05-08  Juergen Vigna  <jug@sad.it>
11511
11512         * text.C (leftMargin): handle paragraph leftindent.
11513
11514         * paragraph.C (writeFile): write the new \\leftindent tag.
11515         (validate): handle leftindent code.
11516         (TeXEnvironment): handle paragraphleftindent code again.
11517
11518         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11519
11520         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11521         for paragrap_extra indent code and new token \\leftindent.
11522         (latexParagraphs): handle the leftindent as environment.
11523
11524         * ParameterStruct.h: added leftindent support.
11525
11526         * ParagraphParameters.C (leftIndent): added support functions for
11527         the paragraph left indent.
11528
11529         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11530         more appropriate.
11531
11532 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11533
11534         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11535         inside insetERT.
11536
11537         * text.C (computeBidiTables): No bidi in insetERT.
11538
11539         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11540         in RTL documents.
11541
11542 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * version.C.in: pre 5
11545
11546 2002-05-02  José Matos  <jamatos@fep.up.pt>
11547         * buffer.C (makeDocBookFile): white space changes, add newline to
11548         command styles.
11549         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11550
11551         * tabular.C (docBook): fix typo.
11552
11553 2002-05-03  Juergen Vigna  <jug@sad.it>
11554
11555         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11556         change in LyXText as we can not be sure it was not freed.
11557         (drawOneRow): remove unused code.
11558
11559         * text.C (drawInset): redo the calculation of the need_break_row as
11560         it could have a row which was already freed.
11561         (draw): look at the return value of drawInset and return false if
11562         it also returned false.
11563         (paintRowText): look at the return value of draw and return false if
11564         it also returned false.
11565
11566         * lyxtext.h: added bool return type to drawInset() and draw() so that
11567         if we have a change in the row so that the rowbreak has to be redone
11568         we abort drawing as it will be called again.
11569
11570 2002-05-02  Juergen Vigna  <jug@sad.it>
11571
11572         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11573         a change in the maintext also if we're inside an inset.
11574         (Dispatch): set the cursor again after a break line and after the
11575         screen has been updated as it could be we're in a different row.
11576
11577         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11578         to set the cursor behind the pargraph with > size().
11579         (setCursor): check also for the same paragraph when checking where
11580         to put the cursor if we have a NFR inset.
11581
11582         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11583         parts of layout read further up as it still was in the wrong
11584         position.
11585
11586 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11587
11588         * screen.C (drawFromTo): change sine fullRebreak always return
11589         true.
11590
11591         * buffer.C (parseSingleLyXformat2Token): reindent some
11592
11593         * BufferView_pimpl.C (update): change since fullRebreak always
11594         return true.
11595         (Dispatch): git rid of the last hardcoded "Standard"s.
11596
11597 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11598
11599         * text2.[Ch] (fullRebreak): make it return void now that we always
11600         returned true.
11601
11602 2002-04-30  Juergen Vigna  <jug@sad.it>
11603
11604         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11605         ert compatibility check for "latex" layout.
11606
11607 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11608
11609         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11610         minipages: use col% instead of p%, and also use the current font.
11611         (makeLaTeXFile): Fix use babel condition.
11612         (parseSingleLyXformat2Token): Correct font when reading old floats.
11613
11614 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11615
11616         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11617         inserting list of floats.
11618
11619 2002-04-25  Herbert Voss  <voss@lyx.org>
11620
11621         * MenuBackend.C (expand): don't add the graphics extensions to the
11622         export menu
11623
11624 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11627         non-existing layout, do not complain if it was the default layout
11628         of the original class (bug #342)
11629
11630 2002-04-24  Juergen Vigna  <jug@sad.it>
11631
11632         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11633         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11634
11635 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11636
11637         * buffer.C (getBibkeyList): If using \bibliography, return the
11638         option field with the reference itself. Enables us to provide natbib
11639         support when using \bibliography.
11640
11641 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11642
11643         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11644
11645         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11646         natbib is provided by the LaTeX class.
11647
11648 2002-04-23  Juergen Vigna  <jug@sad.it>
11649
11650         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11651         Wakeup functions.
11652
11653         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11654
11655 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11658
11659         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11660         ensuremath around textordmasculine, textordfeminine and
11661         textdegree.
11662
11663 2002-04-19  Juergen Vigna  <jug@sad.it>
11664
11665         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11666         reinitializing the buffer otherwise row-dimensions may be wrong.
11667         (update): reset also the selection cursors if they do exits otherwise
11668         their x/y positions may be wrong.
11669
11670         * text2.C (cursorDown): don't enter the inset if we came from a row
11671         above and are one row over the inset.
11672
11673         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11674         really leaving an inset.
11675
11676 2002-04-18  Juergen Vigna  <jug@sad.it>
11677
11678         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11679         of the selected paragraph does not have the selected layout also if
11680         the last one had!
11681
11682         * text2.C (setLayout): fixed bug which did not change last selected
11683         paragraph.
11684
11685         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11686         changed the read and substituted \\end_float with \\end_inset!
11687
11688         * BufferView_pimpl.C (cursorPrevious):
11689         (cursorNext): fixed to make it work with rows heigher than the work
11690         area without moving the cursor only the draw of the row.
11691         (workAreaMotionNotify): fix jumping over high rows.
11692
11693 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11694
11695         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11696         Ressler.
11697
11698 2002-04-16  Juergen Vigna  <jug@sad.it>
11699
11700         * text2.C (setCursor): set also the irow().
11701         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11702         (cursorUp):
11703         (cursorDown): support for locking an inset if the x_fix value goes
11704         inside it. That way I can transverse insets too with cursor up/down.
11705
11706         * lyxrow.h: added irow helper function same as other (i) functions.
11707
11708         * BufferView_pimpl.C (cursorPrevious):
11709         (cursorNext): fixed for insets!
11710
11711 2002-04-15  Juergen Vigna  <jug@sad.it>
11712
11713         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11714         position otherwise it is wrong in some cases.
11715
11716         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11717         inside the inset before the call.
11718
11719 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11720
11721         * buffer.[Ch] (getBibkeyList): make it const.
11722
11723 2002-04-12  Juergen Vigna  <jug@sad.it>
11724
11725         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11726
11727         * text2.C (getCursorX): new helper function
11728         (setCursor): compute also ix_
11729         (setCursorFromCoordinates): set also ix.
11730
11731         * lyxcursor.h: added ix_ and helper functions.
11732
11733         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11734
11735         * buffer.C (insertStringAsLines): dont break paragraph if the this
11736         paragraph is inside an inset which does not permit it!
11737
11738         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11739         also with no chars on this paragraph.
11740         (paintRowText): only paint stuff if it's inside the workarea!
11741
11742         * paragraph.C (breakParagraph): honor keepempty flag and break the
11743         paragraph always below not above.
11744
11745         * BufferView2.C (unlockInset): update the paragraph layout on inset
11746         unlock as we changed paragraph in such a case.
11747
11748         * lyxfind.C (LyXFind): clear the former selection if not found!
11749
11750         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11751         again called in insertChar().
11752
11753         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11754         an inset which uses the whole row!
11755         (rightMargin): ditto.
11756         (insertChar): force a rebreak if we inserted an inset!
11757
11758 2002-03-28  Herbert Voss  <voss@lyx.org>
11759
11760         * lyxlength.[Ch]: add inBP() to get the right PS-point
11761         units (BigPoint). With inPixels we have rounding errors
11762
11763 2002-04-11  Juergen Vigna  <jug@sad.it>
11764
11765         * text2.C (setCursorFromCoordinates): set iy to the right value.
11766         (setCursor): add check if row->previous exists!
11767
11768         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11769         an old float_type as this was the case in the old code!
11770
11771         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11772
11773         * BufferView2.C (showLockedInsetCursor): use iy
11774         (fitLockedInsetCursor): ditto
11775
11776         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11777         locked insets as there we have the right value now.
11778
11779         * lyxcursor.C: added iy_ variable and iy functions to set to the
11780         baseline of cursor-y of the locked inset.
11781
11782         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11783         (setCursor): fixed for insets which need a full row.
11784
11785         * text.C (rowLastPrintable): don't ignore the last space when before
11786         an inset which needs a full row.
11787         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11788         as last character of a row when before a inset which needs a full row.
11789
11790 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * version.C.in: update date
11793
11794         * text2.C (fullRebreak): try to always return true and see what
11795         happens...
11796
11797 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * MenuBackend.C (expand): use Floating::listName
11800
11801         * FloatList.C (FloatList): add listName argument to the built-in
11802         floats
11803
11804         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11805         text associated with the float.
11806
11807 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11810
11811 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * ShareContainer.h: add a couple of missing typenames.
11814
11815 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11816
11817         * lyxrc.C (getDescription): use _() correctly rather than N_().
11818
11819 2002-03-28  Herbert Voss  <voss@lyx.org>
11820
11821         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11822         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11823
11824 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11825
11826         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11827         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11828
11829 2002-03-29  Juergen Vigna  <jug@sad.it>
11830
11831         * lyxfunc.C (dispatch): add a missing fitCursor call.
11832
11833         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11834         it was scrolled by a cursor move, so return the bool status.
11835
11836         * BufferView.C (fitCursor): return the bool flag also to the outside
11837         world as this is needed.
11838
11839         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11840
11841         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11842         call the edit() as it is not needed (and wrong) IMO.
11843         (workAreaButtonPress): set the screen_first variable before evt.
11844         unlock the inset as this may change screen_first and then we have
11845         a wrong y position for the click!
11846
11847 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * MenuBackend.C (expand): another translation that I missed
11850
11851 2002-03-28  Juergen Vigna  <jug@sad.it>
11852
11853         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11854
11855         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11856
11857 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11860
11861         * MenuBackend.C (expand): fix export/view/update when there is no
11862         document open.
11863
11864 2002-03-27  Herbert Voss  <voss@lyx.org>
11865
11866         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11867         and text%
11868
11869 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * bufferview_funcs.C (currentState): only show paragraph number
11872         for is DEVEL_VERSION is set.
11873
11874         * lyxfunc.C (dispatch): put warning in INFO channel
11875
11876         * MenuBackend.C (expand): translate the name of floats
11877
11878         * FloatList.C (FloatList): mark the float names for translation
11879
11880         * converter.C (convert): use LibScriptSearch
11881
11882 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * MenuBackend.C (defaults): fix default menu (we might as well get
11885         rid of it...)
11886
11887 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11890         directory.
11891
11892 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * lyxvc.C: reorder includes.
11895
11896 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11899           properly
11900
11901 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * CutAndPaste.C: change layouts earlier on paste
11904           to avoid crashing when calling getFont()
11905
11906 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11907
11908         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11909         irritating #error.
11910
11911 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * WorkArea.C: remove 'Pending' debug message.
11914
11915         * most files: ws cleanup
11916
11917         * buffer.[Ch]: ws changes
11918
11919         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11920
11921 2002-03-21  Juergen Vigna  <jug@sad.it>
11922
11923         * tabular.C (SetMultiColumn): collapse also the contents of the
11924         cells and set the last border right. Added a Buffer const * param.
11925
11926 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11929         linking or not.
11930
11931 2002-03-19  Juergen Vigna  <jug@sad.it>
11932
11933         * text2.C (clearSelection): reset also xsel_cache.
11934
11935         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11936         where it needs to be called (John tells us to do so too :)
11937         (selectionLost): reset sel_cache.
11938
11939         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11940
11941 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * text2.C (setCursorIntern): put debuging code in INSETS channel
11944
11945 2002-03-19  André Pönitz <poenitz@gmx.net>
11946
11947         * lyxfunc.C: tiny whitespace change
11948
11949 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11950
11951         * ToolbarDefaults.C (init):
11952         * LyXAction.C (init):
11953         * commandtags.h:
11954         * BufferView_pimpl.C (Dispatch):
11955         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11956
11957 2002-03-19  Allan Rae  <rae@lyx.org>
11958
11959         * exporter.C (Export): removeAutoInsets before doing anything else.
11960         While I've just introduced a dependency on BufferView this really is
11961         the best place to clean the buffer otherwise you need to cleanup in
11962         a dozen places before calling export or cleanup in a dozen functions
11963         that export calls.
11964
11965         * converter.C (runLaTeX):
11966         (scanLog): Better handling of removeAutoInsets and screen updates.
11967
11968         * lyxfunc.C (dispatch): small whitespace changes
11969
11970 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * WorkArea.C (C_WorkAreaEvent): return a value.
11973         (event_cb): return 1 if we handled the event, 0 otherwise.
11974
11975         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11976
11977 2002-03-18  Juergen Vigna  <jug@sad.it>
11978
11979         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11980         (GetAdditionalWidth): ditto.
11981         (RightLine): ditto.
11982         (LeftLine): ditto.
11983
11984         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11985         inset if we're there actually (probably not used right now but this
11986         is the direction to go for unifying code).
11987         (paste): disable code to clear the selection.
11988
11989         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11990         inside an InsetText and move the check further up as it is in the
11991         wrong place.
11992
11993         * text2.C (pasteSelection): set a selection over the pasted text.
11994
11995 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11996
11997         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11998         and libgraphics to build on Cygwin.
11999
12000 2002-03-15  Juergen Vigna  <jug@sad.it>
12001
12002         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12003         inserting an Inset into the paragraph. I know this is not the best
12004         fix but we already use current_view in CutAndPaste so we will remove
12005         all of it's using at the same time.
12006
12007         * buffer.C (sgmlError): deactivated function till it is rewritten in
12008         the right mode, now it can create problems.
12009
12010         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12011         before accessing it.
12012
12013 2002-03-14  Juergen Vigna  <jug@sad.it>
12014
12015         * undo_funcs.C (textHandleUndo): do the right thing when updating
12016         the inset after the undo/redo.
12017
12018         * text2.C (setCursor): just some testcode for #44 not ready yet.
12019
12020         * undo_funcs.C (textHandleUndo): set the next() and previous()
12021         pointers of the paragraph to 0 before deleting otherwise we have
12022         problems with the Paragraph::[destructor].
12023
12024         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12025         on a paragraph insertion.
12026
12027 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * buffer.C (asciiParagraph): use += operator for char append to
12030         string.
12031
12032         * paragraph.C (getFontSettings): compare >= not just >
12033         (highestFontInRange): ditto
12034         (setFont): ditto
12035
12036 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * paragraph.C: change several algorithm to be more appripriate for
12039         the problem domain. This is lookip in FontList and in the InsetList.
12040
12041 2002-03-13  André Pönitz <poenitz@gmx.net>
12042
12043         * commandtags.h:
12044         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12045
12046 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * commandtags.h:
12049         * LyXAction.C:
12050         * lyxfunc.C:
12051         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12052
12053 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * Painter.C (display): anon helper function, adjust code for this
12056         change.
12057         (pixmap): remove function.
12058
12059         * Painter.h: remove private display variable.
12060
12061         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12062
12063 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12064
12065         * WorkArea.[Ch]: remove figinset_canvas cruft.
12066
12067 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * lyxtextclass.C (operator): add one item cache optimization.
12070
12071         * bufferlist.h: doxy changes
12072
12073         * bufferlist.C: ws changes
12074
12075         * DepTable.[Ch] (ext_exist): place const in the right spot.
12076
12077         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12078         call resizeInsets.
12079         (workAreaExpose): call resizeInsets when the with BufferView changes.
12080         (Dispatch): adjust for protectedBlank removal
12081         (specialChar): call updateInset if the insert went ok.
12082
12083         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12084         specialChar instead.
12085
12086         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12087
12088         * BufferView.h: doxy change
12089
12090         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12091
12092         * lyxtextclass.C (operator[]): remove non-const version
12093         (defaultLayout): remove non-const version
12094
12095 2002-03-12  Juergen Vigna  <jug@sad.it>
12096
12097         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12098         did resize the LyXText too.
12099
12100         * buffer.C (readLyXformat2): set layout information on newly allocated
12101         paragraphs.
12102
12103         * tabular.C (OldFormatRead): set layout information on the paragraph.
12104
12105 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12106
12107         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12108
12109 2002-03-11  Juergen Vigna  <jug@sad.it>
12110
12111         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12112         plainly wrong.
12113         (resizeCurrentBuffer): force also the insets to resize themselfes.
12114         (moveCursorUpdate): fixed up for InsetText.
12115
12116 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * commandtags.h:
12119         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12120         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12121         value of Dialogs::tooltipsEnabled().
12122         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12123
12124 2002-03-08  Juergen Vigna  <jug@sad.it>
12125
12126         * BufferView_pimpl.C (updateInset): update inset inside inset also
12127         if it isn't inside theLockingInset().
12128
12129 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * buffer.C (asciiParagraph): redo some of the word and line length
12132         handling.
12133         (getLists): look for Caption instead of caption.
12134
12135 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * buffer.C (Buffer): initialize niceFile to true
12138         (makeLaTeXFile):
12139         (makeLinuxDocFile):
12140         (makeDocBookFile): make sure niceFile is true on exit
12141
12142 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12145
12146 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * LyXSendto.C: remove.
12149         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12150         * lyx_gui.C: remove now-redundant comment.
12151         * ColorHandler.h: remove forward declaration of class WorkArea.
12152         * lyxfunc.C: remove #include "WorkArea.h".
12153
12154 2002-03-07  Juergen Vigna  <jug@sad.it>
12155
12156         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12157         got moved away with the DEPM and also set the inset_owner always
12158         right which before could have been omitted.
12159
12160 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12163         wanted layout is not found.
12164
12165 2002-03-07  Juergen Vigna  <jug@sad.it>
12166
12167         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12168
12169 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * paragraph.C (breakParagraph): use default layout not layout of
12172         prev paragraph.
12173         (Paragraph): clear ParagraphParameters.
12174
12175 2002-03-06  Juergen Vigna  <jug@sad.it>
12176
12177         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12178         otherwise it would not be a valid lenght. Fixed a special case in
12179         the minipage compatibility read where we end the document with a
12180         minipage.
12181
12182         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12183         was set as it could be 0 for InsetTexts first entry.
12184
12185 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * paragraph.C (writeFile): if layout is empty write out
12188         defaultLayoutName().
12189
12190         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12191         file without named layout we set layout to defaultLayoutName().
12192
12193 2002-03-06  Juergen Vigna  <jug@sad.it>
12194
12195         * CutAndPaste.C (copySelection): set layout for new paragraph.
12196
12197         * text.C (prepareToPrint): leave ERT inset left aligned
12198         (leftMargin): don't indent paragraphs inside ERT insets
12199
12200 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * paragraph.C (breakParagraph): dont call clear do the work manually
12203
12204         * paragraph.[Ch] (clear): remove function
12205
12206 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * paragraph.C (Paragraph): dont call clear, the work has already
12209         been done.
12210
12211         * lyxtextclass.C (operator): assert if n is empty
12212
12213         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12214         work manually instead.
12215
12216 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView_pimpl.C: protect selectionLost against text == 0
12219
12220 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * text.C (breakParagraph): fix a setting layout to '0' problem.
12223
12224 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12225
12226         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12227         final location of file, for the included files, and graphics.
12228
12229 2002-03-05  Juergen Vigna  <jug@sad.it>
12230
12231         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12232
12233 2002-03-04  Juergen Vigna  <jug@sad.it>
12234
12235         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12236
12237         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12238         last column of multicolumn cells.
12239         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12240
12241 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12242
12243         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12244         file if it doesn't go to a temporary file.
12245
12246         * buffer.C (sgmlOpenTag):
12247         (sgmlCloseTag):  remove extra newline insertion.
12248
12249 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text.C (getRowNearY): comment out debug msg
12252
12253 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * text2.C: first -> first_y
12256
12257         * text.C (getRowNearY): add some attemts at a possible
12258         optimization, not working.
12259
12260         * tabular.[Ch]: add BufferParams to several function so that newly
12261         created paragraph can be initialized to he default layotu for the
12262         buffers textclass.
12263
12264         * tabular-old.C (ReadOld): add buf->params to call of Init
12265
12266         * screen.C: rename text->first to text->first_y
12267
12268         * paragraph.C (breakParagraph): always set layout in the broken
12269         paragraph
12270
12271         * lyxtextclass.C (Read): remove lowercase
12272         (hasLayout): ditto
12273         (operator): ditto
12274         (delete_layout): ditto
12275
12276         * lyxtext.h: rename first -> first_y
12277
12278         * lyxlayout.C (Read): remove lowercase
12279         (name): ditto
12280         (setName): ditto
12281         (obsoleted_by): ditto
12282
12283         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12284
12285         * buffer.C (insertErtContents): add params are to InsetERT
12286         (parseSingleLyXformat2Token): add code to check if a paragraphs
12287         layout really exist.
12288         (parseSingleLyXformat2Token): add params to several inset
12289         constructors
12290         (asciiParagraph): remove lowercase, do the layout comparisons with
12291         no_case
12292
12293         * BufferView_pimpl.C (cursorNext): first -> first_y
12294         (resizeCurrentBuffer): first -> first_y
12295         (updateScrollbar): first -> first_y
12296         (scrollCB): first -> first_y
12297         (workAreaMotionNotify): first -> first_y
12298         (workAreaButtonPress): first -> first_y
12299         (checkInsetHit): first -> first_y
12300         (cursorPrevious): first -> first_y
12301         (cursorNext): first -> first_y
12302         (Dispatch): add buffer_->params to severl inset contructors
12303
12304 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * lyxlayout.C (Read): remove some debug info that I forgot.
12307
12308         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12309         clean up the code slightly.
12310         (makeLinuxDocFile): ditto
12311         (makeDocBookFile): ditto
12312
12313         * text2.C: layout as string
12314
12315         * text.C: layout as string
12316
12317         * paragraph_pimpl.C: layout as string
12318
12319         * paragraph.[Ch]: layout as string
12320
12321         * lyxtextclasslist.[Ch]: layout as string
12322
12323         * lyxtextclass.[Ch]: layout as string
12324
12325         * lyxtext.h: layout as string
12326
12327         * lyxlayout.[Ch]: layout as string
12328
12329         * lyx_cb.C: layout as string
12330
12331         * bufferview_funcs.C: layout as string
12332
12333         * bufferparams.C: layout as string
12334
12335         * buffer.C: layout as string
12336
12337         * LyXView.[Ch]: layout as string
12338
12339         * LaTeXFeatures.[Ch]: layout as string
12340
12341         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12342
12343         * BufferView_pimpl.C: change current_layout to string, remove
12344         lyx::layout_type.
12345         (Dispatch):
12346         (smartQuote):
12347         (insertInset):
12348         (workAreaButtonRelease): layout as string
12349
12350         * BufferView2.C (unlockInset): adjust
12351
12352         * vspace.C (asLatexCommand): use an explict temp variable.
12353
12354 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * Makefile.am: use FRONTEND_*
12357
12358 2002-03-01  Juergen Vigna  <jug@sad.it>
12359
12360         * tabular.C (SetWidthOfMulticolCell): changed to something better
12361         I hope but still work in progress.
12362         (recalculateMulticolumnsOfColumn): renamed function from
12363         recalculateMulticolCells as it is more appropriate now.
12364         (SetWidthOfCell): calculate multicols better.
12365
12366 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12369
12370         * lyxfunc.C (processKeySym): print sequence also if it is
12371         `deleted' (complete)
12372
12373         * kbsequence.C (print): print sequence even if it is deleted
12374         (complete would be a better word, actually).
12375
12376         * lyxfunc.C (dispatch): print complete options after a prefix key
12377
12378         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12379
12380 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12381
12382         * text2.C (setCharFont): eliminate setCharFont code duplication.
12383
12384 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12387         LFUN_TABULAR_FEATURE (bug #177)
12388
12389 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * Makefile.am: remove figure.h
12392
12393 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * Bufferview_pimpl.C:
12396         * CutAndPasteC:
12397         * LaTeX.C:
12398         * LyXSendto.C:
12399         * buffer.C:
12400         * bufferlist.C:
12401         * converter.C:
12402         * language.C:
12403         * lyxfunc.C:
12404         * lyxvc.C:
12405         * paragraph.C:
12406         * text.C:
12407         * text2.C: remove #include "lyx_gui_misc.h".
12408
12409         * LaTeX.C: added #include <cstdio>
12410
12411 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12414         that the paragraph following this one can have.
12415
12416         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12417
12418         * vspace.C (asLatexCommand): fix bogus gcc warning
12419
12420         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12421
12422 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12423
12424         * text2.C (setLayout): get rid of redundant code
12425
12426 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12427
12428         * text2.C (incDepth): make sure depth cannot be increased beyond
12429         reasonable values.
12430
12431 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12434         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12435
12436         * PainterBase.h (image):
12437         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12438         a LyXImage const *.
12439
12440 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * BufferView.C:
12443         * BufferView.h:
12444         * BufferView_pimpl.C:
12445         * BufferView_pimpl.h:
12446         * LaTeXFeatures.C:
12447         * LyXAction.C:
12448         * LyXView.C:
12449         * Makefile.am:
12450         * UpdateList.h:
12451         * UpdateList.C:
12452         * buffer.C:
12453         * figure.h:
12454         * figureForm.C:
12455         * figureForm.h:
12456         * figure_form.C:
12457         * figure_form.h:
12458         * lyx_cb.C:
12459         * lyx_gui.C:
12460         * lyx_gui_misc.C:
12461         * lyxfunc.C:
12462         * sp_base.h:
12463         * sp_ispell.h:
12464         * sp_pspell.h:
12465         * sp_spell.C: remove fig inset, and the crap house of
12466           cards that follows it
12467
12468 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * Makefile.am:
12471         * lyxserver.C:
12472         * os2_defines.h:
12473         * os2_errortable.h:
12474         * nt_defines.h: move .h into support/
12475
12476         * vms_defines.h: remove
12477
12478         * WorkArea.C: add space in debug output
12479
12480         * text2.C:
12481         * paragraph.C:
12482         * buffer.C: add WITH_WARNINGS
12483
12484         * vc-backend.h:
12485         * vc-backend.C:
12486         * bufferlist.C: s/retrive/retrieve/, add docs
12487
12488         * vspace.h:
12489         * vspace.C:
12490         * kbmap.h:
12491         * lyxlength.h:
12492         * lyxgluelength.h:
12493         * length_common.h:
12494         * chset.h:
12495         * chset.C: add docs
12496
12497         * lyxgui.C: add ID to X error handler
12498
12499         * lyxtestclass.c: fix typo
12500
12501 2002-02-26  Juergen Vigna  <jug@sad.it>
12502
12503         * tabular_funcs.C (write_attribute): changed so that some default
12504         attributes are not written at all.
12505         (getTokenValue): set default values before trying to read the
12506         value so we have the return value always set as default if we don't
12507         find the token we search for.
12508
12509         * tabular.C (Write): write bools as bools not as strings!
12510
12511 2002-02-22  Juergen Vigna  <jug@sad.it>
12512
12513         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12514         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12515
12516         * text.C (leftMargin): don't add an indent for paragraphs inside
12517         tabular cells (fix #208).
12518
12519 2002-02-21  José Matos  <jamatos@fep.up.pt>
12520
12521         * tabular.C (docBook): fixed support for long tables.
12522
12523 2002-02-20  Juergen Vigna  <jug@sad.it>
12524
12525         * text2.C (getFont): get the drawing font of the Inset if this
12526         paragraph is inside an inset (only important for InsetERT for now).
12527
12528         * buffer.C (insertErtContents): use new lanugage params in ERT
12529         constructor.
12530
12531         * CutAndPaste.C: commenting out seemingly uneeded code.
12532
12533 2002-02-19  Allan Rae  <rae@lyx.org>
12534
12535         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12536         Iterators might be simple to use but they also get invalidated.
12537         (removeAutoInsets): renamed saved cursor tracking variables and added
12538         some comments to clarify what everything does.
12539
12540 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * Chktex.C:
12543         * LaTeX.C:
12544         * LyXSendto.C:
12545         * converter.C:
12546         * lyx_cb.C:
12547         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12548         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12549
12550         * lyxfunc.C:
12551         * vc-backend.h: remove #include "support/syscall.h"
12552
12553         * LaTeX.C:
12554         * LyXSendto.C:
12555         * converter.C: rearrange #includes in Lars' approved fashion.
12556
12557         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12558         forward declare class Timeout in the header file.
12559
12560         * XFormsView.C: changes due to the above.
12561
12562         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12563         similar to LyXView.
12564
12565         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12566         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12567
12568 2002-02-18  José Matos  <jamatos@fep.up.pt>
12569
12570         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12571         insets contents.
12572
12573 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12574
12575         * a lot of small ws changes
12576         * add a lot of using std::XXX
12577         * use std construcs some places where approp.
12578         * use some exisint stuff from lyxfunctional where approp.
12579         * Make file changes to use partial linking (lets test this now...)
12580
12581 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * Chktex.C:
12584         * buffer.C:
12585         remove #include "support/syscontr.h" as it's redundant. Always has been.
12586
12587         * Chktex.C:
12588         * LaTeX.C:
12589         * LyXSendto.C:
12590         * converter.C:
12591         * lyx_cb.C:
12592         * vc-backend.C:
12593         change Systemcalls::System to Systemcalls::Wait and
12594         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12595         No change of functionality, just reflects the stripped down Systemcalls
12596         class.
12597
12598 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * debug.[Ch]: add a GRAPHICS type to the enum.
12601
12602 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12605
12606         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12607         there is an inset.
12608
12609 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12612         match the changes below.
12613
12614         * text2.C (toggleInset): if there is not editable inset at cursor
12615         position, try to see if cursor is _inside_ a collapsable inset
12616         and close it.
12617
12618 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12621         document menu has a nice checkbox
12622
12623 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * lyxlength.C (asLatexString): change PW to output as percent of
12626         \textwidth.
12627
12628         * lengthcommon.C: change '%' to 't%'
12629
12630         * lyxfunc.C (dispatch): a few comments from Martin
12631
12632 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * WorkArea.h:
12635         * WorkArea.C:
12636         * BufferView_pimpl.h:
12637         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12638           the X selection.
12639
12640 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * vspace.C (inPixels): fix compiler warning
12643
12644 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * lyxfunc.C (getStatus): fix status message for disabled commands.
12647
12648 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * BufferView_pimpl.C: fix crash on close buffer
12651         during selection (#227)
12652
12653 2002-01-27  Herbert Voss  <voss@lyx.org>
12654
12655         * buffer.C: link old Figure to new graphic inset
12656
12657 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * FontLoader.C (getFontinfo): Change the latex font names in order
12660         to match the names of type1inst.
12661
12662 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12665
12666         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12667         (extchanged): ditto
12668         (ext_exist): ditto
12669         (remove_files_with_extension): ditto
12670         (remove_file): ditto
12671         (write): ditto
12672
12673         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12674         document is smaller than the work area height. Do not initialize
12675         static variables to 0.
12676
12677 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12680
12681         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12682         LFUN_LAYOUT_PARAGRAPHS.
12683
12684         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12685         tabular. It is possible to provide a possible cell, which will
12686         typically be the actcell from the corresponding insettabular
12687
12688         * lyxfunc.C (getStatus): small cleanup; disable
12689         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12690         true
12691
12692 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12695
12696         * paragraph.C (startTeXParParams):
12697         (endTeXParParams): new methods. The LaTeX code to
12698         start/end paragraph formatting
12699         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12700         empty (fixes bug #200)
12701
12702         * vspace.C (inPixels): adapt to the change below
12703         (inPixels): [later] more cleanups (remove unused variables)
12704
12705         * lyxlength.C (inPixels): change to use a width and a height as
12706         parameter.
12707
12708 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12709
12710         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12711         Replaced with \paperwidth
12712
12713         * DepTable.C (insert): add std:: qualifier
12714
12715 2002-01-18  Allan Rae  <rae@lyx.org>
12716
12717         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12718         updated also?
12719
12720         * text.C (drawInset): Turned out I didn't know enough about how
12721         rebreaking worked.  This fixes most of the redraw problems.  I see
12722         an occasional cursor trail when a line is broken now and the cursor
12723         placement can seem out by a few pixels also after a rebreak.
12724
12725 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * buffer.C (parseSingleLyXformat2Token): update because minipage
12728         width is now a LyXLength
12729
12730         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12731
12732         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12733         math insets
12734
12735 2002-01-17  Juergen Vigna  <jug@sad.it>
12736
12737         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12738
12739         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12740         is set correctly and the inset is updated correctly.
12741
12742 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12743
12744         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12745         the beginning of the loop.
12746
12747 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * lyxrc.C: improve help for use_scalable_fonts
12750
12751 2002-01-17  Allan Rae  <rae@lyx.org>
12752
12753         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12754
12755 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12756
12757         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12758         make sure to set their inset_owner to the right value (bug #171)
12759
12760 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12761
12762         * DepTable.h
12763         * DepTable.C: Implement mtime checking to reduce time spent doing
12764         CRCs.
12765
12766 2002-01-16  Juergen Vigna  <jug@sad.it>
12767
12768         * tabular.C (GetAdditionalHeight): one of error fixed.
12769
12770         * lyxrc.C (output): small fix in writing use_pspell.
12771
12772 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * sp_base.h: #include LString.h
12775
12776 2002-01-16  Allan Rae  <rae@lyx.org>
12777
12778         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12779         Can someone check this please?
12780
12781         * text.C (drawInset): It was possible that p.row would be removed by
12782         breakAgainOneRow upsetting a few other settings.  There may be another
12783         small tweak possible by setting need_break_row = 0 when p.row has been
12784         removed but I don't know enough about the logic here.
12785
12786 2002-01-15  Allan Rae  <rae@lyx.org>
12787
12788         * text.C (insertChar): removed conditional truism.
12789
12790         * BufferView2.C (removeAutoInsets): More tweaks.
12791         cur_par_prev could be a stray pointer.  Check for trailing empty line
12792         in case last line was cur_par and only had an error inset on it.
12793
12794 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12795
12796         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12797         absolute
12798
12799         * vc-backend.C (most methods):
12800         * exporter.C (Export):
12801         * converter.C (convert):
12802         (runLaTeX):
12803         * LyXSendto.C (SendtoApplyCB):
12804         * lyxfunc.C (dispatch):
12805         (menuNew):
12806         (open):
12807         (doImport):
12808         * lyx_cb.C (AutoSave):
12809         (InsertAsciiFile):
12810         * BufferView_pimpl.C (MenuInsertLyXFile):
12811         * buffer.C (runChktex): use Buffer::filePath().
12812
12813         * buffer.h: rename filename to filename_; rename filepath to
12814         filepath_ and make it private
12815         (filePath): new method
12816
12817         * buffer.C (writeFile): use fileName()
12818         (getLatexName):
12819
12820         * lyx_main.C (init): fix starting  of LyX when the binary is a
12821         link from so,ewhere else.
12822
12823         * minibuffer.C: include <cctype> for isprint
12824
12825 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12826
12827         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12828         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12829         name clash with InsetCollapsable's width function.
12830
12831 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * lastfiles.C: include <iterator>
12834
12835 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12838         std::count.
12839
12840         * buffer.C (makeLaTeXFile): ditto.
12841         Also make loop operation more transparent.
12842
12843 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * ToolbarDefaults.C: remove trailing comma closing namespace.
12846
12847         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12848
12849         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12850         as in WorkArea.
12851
12852         * trans.C (Load): comment out unused variable, allowed.
12853
12854 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12855
12856         * minibuffer.[Ch] (append_char): new method to recieve input from the
12857         drop-down completion browser. If a key was pressed, then recieve this
12858         char and append it to the existing string.
12859         (peek_event): modify the positioning data passed to the completion
12860         browser so that it can be placed above the minibuffer rather than below.
12861 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * LyXAction.C (init): alloe error-next for readonly documents.
12864
12865         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12866         count.
12867
12868 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12869
12870         * bufferlist.C (readFile): create the buffer _after_ checking that
12871         the file exists.
12872
12873         * lyxfunc.C (verboseDispatch): fix handling of arguments
12874
12875         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12876
12877         * lyxrc.C: use string::erase() instead of initializing to "".
12878
12879
12880 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * BufferView_pimpl.h:
12883         * BufferView_pimpl.C:
12884         * WorkArea.h:
12885         * WorkArea.C:
12886         * text2.C: tell X when we have made a selection for copying
12887
12888 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12889
12890         * BufferView_pimpl.C (MenuInsertLyXFile):
12891         * lyxfunc.C (menuNew):
12892         (open):
12893         (doImport): add shortcuts to directory buttons
12894
12895         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12896         open a float)
12897
12898         * lyxfunc.C (setStatusMessage):
12899         (getStatusMessage): new methods
12900         (getStatus):use setStatusMessage instead of setErrorMessage
12901         (dispatch): when function is disabled, set error message here
12902         [instead of in getStatus previously]
12903
12904         * BufferView_pimpl.C (workAreaButtonRelease): update
12905         toolbar/menubar here too.
12906
12907 2002-01-13  Allan Rae  <rae@lyx.org>
12908
12909         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12910         Now seems indestructible.  Remaining task is to audit all other
12911         code affected by deleteEmptyParagraphMechanism.  One small quirk
12912         left is that an empty document with an error in the preamble can
12913         be made to report an error but no error box appears.  I don't know
12914         where it goes.
12915         (removeAutoInsets): Improved comments.
12916
12917 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * Thesaurus.h:
12920         * Thesaurus.C: update for Aiksaurus 0.14
12921
12922 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * text2.C (firstParagraph): removed member function, all uses
12925         replaces with ownerParagraph
12926         (redoParagraphs): here
12927         (updateInset): here
12928         (toggleAppendix): here
12929         * BufferView2.C (insertErrors): here
12930         (setCursorFromRow): here
12931
12932 2002-01-13  Allan Rae  <rae@lyx.org>
12933
12934         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12935         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12936         There is still a way to segfault this although you may have to do this
12937         multiple times: Have an InsetERT with an unknown command in it.
12938         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12939         <down-arrow>, <Enter> again, View->DVI, BANG!
12940
12941         * text2.C (setCursor):
12942         (deleteEmptyParagraphMechanism):
12943         * lyxtext.h (setCursor):
12944         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12945         Making use of the return value may help fix other bugs.
12946
12947 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12948
12949         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12950
12951         * LyXView.C (updateMenubar): call MenuBar::update here
12952         (updateToolbar): but not here
12953         (showState): do not update toolbar/menubar
12954
12955         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12956         should need to care about that.
12957
12958         * lyxfunc.C (verboseDispatch): simplify a bit
12959         (getStatus): have a version which takes a pseudoaction, and
12960         another which requires a (kb_action,string).
12961
12962         * LyXAction.C (retrieveActionArg): make it work also when action
12963         is not a pseudo-action.
12964         (getActionName): simplify a bit
12965         (helpText):
12966
12967 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12968
12969         * lyxfunc.C (verboseDispatch): new families of methods with
12970         several ways to specify a command and a bool to indicate whether
12971         the command name and shortcut should be displayed in minibuffer
12972         (eventually, we could extend that to a finer bitmask like
12973         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12974         (dispatch): the pristine dispatch command which just, well,
12975         dispatchs! Note it still sets its result to minibuffer; I'm not
12976         sure we want that.
12977
12978         * lyxfunc.h: remove setHintMessage
12979
12980         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12981
12982 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12983
12984         * BufferView_pimpl.C (specialChar): delete new inset if we have
12985         not been able to insert it.
12986
12987         * kbmap.C: revert to using int instead of kb_action, since all we
12988         are dealing with is pseudo-actions.
12989
12990         * LyXAction.C (searchActionArg): change to return int instead of
12991         kb_action, since the result is a pseudoaction.
12992
12993 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * buffer.C (insertErtContents): Fix (partially) the font bug.
12996
12997 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12998
12999         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13000         as the other one is broken on my machine!
13001
13002 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13003
13004         * commandtags.h:
13005         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13006
13007 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13010         reflect their actual use. Provide compatibility code for older lyxrc
13011         files.
13012
13013         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13014         FL_NORMAL_STYLE.
13015         change names of popup font variables in line with the changes to lyxrc.C
13016
13017 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13018
13019         * buffer.C (asciiParagraph): avoid outputing a word twice after
13020         an inset.
13021
13022         * lyxrc.C (getDescription): document that document_path and
13023         template_path can be empty.
13024
13025 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * LaTeXFeatures.C (getMacros):
13028         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13029
13030         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13031
13032         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13033         getPackages.
13034         (getPackages): rename feature "floats" to "float". Use an array to
13035         iterate over 'simple' features (i.e. just a \usepackage). Add
13036         handling of "amsmath" (renamed from "amsstyle").
13037
13038 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13039
13040         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13041         features list.
13042
13043 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13044
13045         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13046         FuncStaus::FuncStatus & FuncStaus::some_method().
13047
13048 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13049
13050         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13051         of the func_satus stuff. Edited and massaged in various ways by
13052         JMarc.
13053
13054         * lyxfunc.C (getStatus): use FuncStatus
13055
13056 2002-01-08  Juergen Vigna  <jug@sad.it>
13057
13058         * text.C (nextBreakPoint): use function Inset::isChar().
13059
13060         * paragraph.C (TeXOnePar): use function
13061         Inset::forceDefaultParagraphs.
13062
13063         * buffer.C (latexParagraphs): use function
13064         Inset::forceDefaultParagraphs.
13065
13066 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13067
13068         * lyx_gui.C (init): set the style of the menu popups to
13069         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13070
13071 2002-01-07  Juergen Vigna  <jug@sad.it>
13072
13073         * text.C (setHeightOfRow): small fix
13074         (prepareToPrint): don't look at alignment if we don't have the place
13075         for doing it.
13076
13077 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13078
13079         * box.C: New file. Move the Box methods and functions out of box.h,
13080         following Lars' suggestion.
13081
13082 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * box.h: #include "support/LOstream.h", needed for inlined function.
13085
13086         * lyxtextclass.C:
13087         * lyxtextclasslist.C: added some using std declarations.
13088
13089 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13090
13091         * box.h: make signed dimensions to allow insets wider than
13092           the screen (bug #162)
13093
13094         * BufferView_pimpl.C: add some insetHit debug
13095
13096 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * vc-backend.C: add FIXME
13099
13100 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13101
13102         * lyxfunc.C (getStatus): enable code for showing math font status
13103         in toolbar/menu.
13104
13105 2002-01-07  Juergen Vigna  <jug@sad.it>
13106
13107         * text.C (nextBreakPoint): removed debug output not needed anymore.
13108
13109 2002-01-06  Juergen Vigna  <jug@sad.it>
13110
13111         * text.C (nextBreakPoint): fixed up this function we had this bug
13112         since ever but now hopefully we break row better.
13113         (insertChar): we have to check if an inset is the next char as it
13114         could now happen that a large inset is causing a break.
13115
13116 2002-01-05  Juergen Vigna  <jug@sad.it>
13117
13118         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13119         if it doesn't like to be drawed.
13120
13121 2002-01-04  Juergen Vigna  <jug@sad.it>
13122
13123         * BufferView2.C (lockInset): forgot to set a cursor.
13124
13125         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13126
13127 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13128
13129         * FormMathsPanel.C:
13130         * FormMathsPanel.h
13131         * MathsSymbols.C:
13132         * form_maths_panel.C:
13133         * form_maths_panel.h:
13134         * form_maths_panel.fd: implemented sub- and super- buttons in math
13135         panel.
13136
13137         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13138         (or ^ space) to be used as in TeX (req'd by André).
13139
13140         * lyxfunc.C: Allow ^ and _ again to be used both as
13141         super/subscript (mathed) and as themselves (in text).
13142
13143 2002-01-03  Allan Rae  <rae@lyx.org>
13144
13145         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13146         "LyX" or the filename of the current buffer if it has one.  This is a
13147         modified form of John Levon's patch.
13148
13149         * XFormsView.C (setWindowTitle): also set icon title.
13150
13151         * LyXView.h (setWindowTitle): signature changed.
13152         * XFormsView.h (setWindowTitle): ditto.
13153
13154 2002-01-02  Juergen Vigna  <jug@sad.it>
13155
13156         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13157
13158 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * screen.C (topCursorVisible): introduce a temp var for
13161         text->cursor.row(), handle the case where this row is null. (kindo
13162         hachish)
13163
13164         * text2.C (setCursor): add a couple of asserts.
13165
13166         * paragraph.h (inset_iterator): add -> operator
13167
13168         * paragraph.[Ch] (autoDeleteInsets): remove member function
13169
13170         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13171         cursor pos correctly and handle inset deletion by itself.
13172         (insertErrors): move iterator declaration out of for expression
13173
13174         * lyxtextclass.C: add <algorithm>
13175
13176         * Makefile.am: added the new files to sources, removed layout.C
13177
13178         * layout.C: removed file
13179
13180         * layout.h: remove LYX_DUMMY_LAYOUT
13181
13182         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13183         layout.
13184
13185         * lyxlayout.[Ch]:
13186         * lyxtextclass.[Ch]:
13187         * lyxtextclasslist.[Ch]: new files
13188
13189         * include order changes to a lot of files, also changes because of
13190         the six new files.
13191
13192 2001-12-27  Juergen Vigna  <jug@sad.it>
13193
13194         * buffer.C (asciiParagraph): more fixes.
13195
13196         * tabular.C (ascii): make ascii export support export of only the
13197         data separated by a column-delimiter.
13198         (ascii): better support for ascii export.
13199
13200         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13201
13202 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * tabular_funcs.C: use a "using std::getline" instead of the
13205         previous fix from Angus (necessary for cxx + lyxstring)
13206
13207 2001-12-24  Juergen Vigna  <jug@sad.it>
13208
13209         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13210
13211         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13212         problems. First check a minipage also if we have some ert-contents
13213         (not only on par->size(), second set the right depth of the paragraph
13214         on the relink to the root-paragraph-list!
13215
13216         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13217         which then did not anymore update the main paragraphs on undo/redo!
13218
13219 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13220
13221         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13222         code. Support all font-changing funcs (even those which are not in
13223         menu currently). Support for reporting font settings in
13224         mathed (disabled until Andre provides a function on mathed's side).
13225
13226         * func_status.h (toggle): small helper function to set toggle
13227         state on a flag.
13228
13229 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13230
13231         * tabular_funcs.C: getline -> std::getline
13232
13233 2001-12-21  Juergen Vigna  <jug@sad.it>
13234
13235         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13236         accessed and could be 0 (I couldn't generate this but it seems
13237         Michael could!).
13238
13239 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13242         * tabular_funcs.h: here and include iosfwd
13243
13244 2001-12-20  Juergen Vigna  <jug@sad.it>
13245
13246         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13247         inside inset but undo_par was.
13248
13249 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * Thesaurus.C: always include <config.h> in sources.
13252
13253         * Painter.h:
13254         * lyxlookup.h:
13255         * box.h: do not include <config.h> in header files
13256
13257         * text.C (paintLastRow): remove unused variable
13258
13259         * text.C (transformChar):
13260         (insertChar):
13261         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13262
13263         * Painter.C (text):
13264         * font.C (width): rewrite to use uppercase() instead of
13265         islower/toupper.
13266
13267         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13268
13269 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * lyxfind.C: clean up of find failure position change
13272
13273 2001-12-20  Juergen Vigna  <jug@sad.it>
13274
13275         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13276
13277         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13278         (TeXRow): added to LaTeX a single tabular row.
13279         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13280         (Latex): simplified and finally good LT-h/f support.
13281         (various_functions): just small adaptions for LT-h/f support.
13282
13283         * tabular_funcs.[hC]: added and moved here all not classfunctions
13284         of LyXTabular.
13285
13286 2001-12-19  Juergen Vigna  <jug@sad.it>
13287
13288         * tabular.[Ch]: better support for longtabular options (not finished
13289         yet!)
13290
13291 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * text.C (paintLastRow): use the label font instead of the font of
13294         the last character to compute the size of *_BOX. This makes more
13295         sense and avoids a crash with empty paragraphs.
13296         Use Painter::rectangle to draw EMPTY_BOX.
13297
13298 2001-12-19  Juergen Vigna  <jug@sad.it>
13299
13300         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13301         the paragraphs if the replaced paragraph is not the first one!
13302         Tried to delete not used paragraphs but does not work yet so for
13303         now it's inside #ifdef's and by default off!
13304
13305 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * MenuBackend.C: include "lyx_main.h" instead of declaring
13308         lastfiles (actually was declared as LastFiles* instead of a
13309         scoped_ptr).
13310
13311 2001-12-17  Juergen Vigna  <jug@sad.it>
13312
13313         * tabular.C (AppendColumn): applied John's fix
13314
13315 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * BufferView.h:
13318         * BufferView.C:
13319         * BufferView_pimpl.h:
13320         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13321
13322         * Makefile.am:
13323         * box.h: new start of class for above
13324
13325         * lyxfunc.C: ignore space-only minibuffer dispatches.
13326           Show the command name when it doesn't exist
13327
13328         * minibuffer.C: don't add empty lines to the history
13329
13330         * minibuffer.C: add a space on dropdown completion
13331
13332 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * text.C: fix line above/below drawing in insets
13335
13336 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * lyxlength.C (LyXLength): Initialize private variables.
13339
13340 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13343         when inserting error insets.
13344
13345 2001-12-13  Juergen Vigna  <jug@sad.it>
13346
13347         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13348         actually sometimes the before-paragraph.
13349         (setUndo): don't clear the redostack if we're not actually undoing!
13350
13351 2001-12-06  Juergen Vigna  <jug@sad.it>
13352
13353         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13354         and fixed redoing of main paragraph, so we can use it now ;)
13355
13356         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13357
13358 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13361         Juergen's request
13362
13363 2001-12-13  André Pönitz <poenitz@gmx.net>
13364
13365         * undostack.[Ch]:
13366         * undo_func.C: minor cleanup
13367
13368 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13369
13370         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13371         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13372         font in urw-fonts package which is marked as -urw-fontspecific and
13373         does not work (incidentally, changing the encoding in the
13374         fonts.dir of this package to -adobe-fontspecific fixes the
13375         problem).
13376
13377         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13378         is a crash when undoing first paragraph (Juergen, please take a
13379         look). THis does not mean the undo fix is wrong, just that it
13380         uncovers problems.
13381
13382         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13383         the (Paragraph*) version when needed instead of duplicating the
13384         code.
13385
13386         * text.C (workWidth): use Inset::parOwner to find out where the
13387         inset has been inserted. This is a huge performance gain for large
13388         documents with lots of insets. If Inset::parOwner is not set, fall
13389         back on the brute force method
13390
13391         * paragraph_pimpl.C (insertInset):
13392         * paragraph.C (Paragraph):
13393         (cutIntoMinibuffer): set parOwner of insets when
13394         inserting/removing them
13395
13396         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13397
13398 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13399
13400         * commandtags.h:
13401         * LyXAction.C:
13402         * lyx_main.C:
13403         * lyxfunc.C:
13404         * mathed/formulabase.C:
13405         * mathed/math_cursor.[Ch]:
13406         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13407
13408
13409 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * lyxlength.[Ch] (operator!=): new function
13412
13413 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13414
13415         * text.C (workWidth): use Inset::parOwner to find out where the
13416         inset has been inserted. This is a huge performance gain for large
13417         documents with lots of insets. If Inset::parOwner is not set, fall
13418         back on the brute force method
13419
13420         * paragraph_pimpl.C (insertInset):
13421         * paragraph.C (Paragraph):
13422         (cutIntoMinibuffer): set parOwner of insets when
13423         inserting/removing them
13424
13425         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13426
13427 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13428
13429         * tabular-old.C (getTokenValue):
13430         * tabular.C (getTokenValue):
13431         (write_attribute): new versions for LyXLength
13432         (everywhere): adjust the use of widths
13433
13434         * tabular.h: change the type of widths from string to LyXLength
13435
13436 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13437
13438         * paragraph.C: fixed missing line number count when exporting
13439         Environments to LaTeX file
13440
13441         * buffer.C: added informational message for checking line numbers.
13442
13443 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13444
13445         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13446         paragraph, do the 'double space' part, but not the 'empty
13447         paragraph' one.
13448
13449         * text.C (workWidth): small optimization
13450         (getLengthMarkerHeight): use minimal size for negative lengths.
13451
13452 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13453
13454         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13455
13456         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13457
13458 2001-12-11  André Pönitz <poenitz@gmx.net>
13459
13460         * FontLoader.C:
13461         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13462
13463 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * text2.C: keep selection on a setFont()
13466
13467 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13468
13469         * lyx_cb.C: another bv->text misuse, from insert label
13470
13471 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * kbsequence.h:
13474         * kbsequence.C: re-instate nmodifier mask
13475
13476 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13477
13478         * lyx_main.h: make lyxGUI private.
13479
13480 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * lyxfind.C: place the cursor correctly on failed search
13483
13484 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13485
13486         * text.C (getLengthMarkerHeight): for small heights, the arrows
13487         are not always on top/bottom of the text
13488         (drawLengthMarker): smaller arrows; take the left margin in
13489         account; draw also vfills.
13490         (paintFirstRow):
13491         (paintLastRow): remove special code for vfill and standard spaces,
13492         since everything is handled in drawLengthMarker now.
13493
13494 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * buffer.C (insertErtContents): try to handle font and language
13497         interaction a bit better.g
13498
13499         * ColorHandler.C (updateColor): change the hash to cover the whole
13500         LColor enum, ws cleanup
13501         (getGCLinepars): ditto
13502         (getGCLinepars): only lookup in the linecache once.
13503
13504 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13505
13506         * iterators.C (operator++): Make the iterator more robust
13507
13508         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13509         (John's patch)
13510         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13511
13512 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * lyxtext.h:
13515         * text.C: better added space drawing
13516
13517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * LyXView.C:
13520         * BufferView2.C: fix layout combo update on inset unlock
13521
13522 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * Makefile.am: don't compile unused files
13525
13526 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * lyxfunc.C:
13529         * commandtags.h:
13530         * LyXAction.C: remove old LFUN_LAYOUTNO
13531
13532 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * paragraph_pimpl.h:
13535         * paragraph_pimpl.C: isTextAt() doesn't need font param
13536
13537 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * lyxlex.h:
13540         * lyxlex.C: little cleanup
13541
13542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * BufferView_pimpl.C: fix insertAscii for insets
13545
13546 2001-12-05  Juergen Vigna  <jug@sad.it>
13547
13548         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13549         set the right font on the "multi" paragraph paste!
13550
13551 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13552
13553         * trans_decl.h:
13554         * trans_mgr.[Ch]:
13555         * trans.[Ch]:
13556         * lyxgluelength.C:
13557         * lyxlength.C: remove out-commented code.
13558
13559         * BufferView_pimpl:
13560         * CutAndPaste.C:
13561         * DepTable.C:
13562         * buffer.C:
13563         * chset.C:
13564         * lastfiles.C:
13565         * lyxlex.C:
13566         * lyxlex_pimpl.C:
13567         * lyxserver.C:
13568         * screen.C:
13569         * tabular-old.C:
13570         * tabular.C:
13571         * text.C:
13572         * trans_mgr.C:
13573         * vc-backend.C: change "while(" to "while ("
13574
13575         * lyxlength.[Ch]: add zero function to check if length is zero or
13576         not
13577         * lyxgluelength.C: use it
13578
13579 2001-12-05  Allan Rae  <rae@lyx.org>
13580
13581         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13582         Works for 2.95.3, from what I understand of Garst's reports this should
13583         work for other g++ versions.  We're screwed if the abs(int) definition
13584         changed between bugfix releases of gcc.
13585
13586 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * text.C: fix chapter label offset !
13589
13590 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * lyxtext.h:
13593         * text.C: fix hfill at end of line, clean up
13594
13595 2001-12-04  Juergen Vigna  <jug@sad.it>
13596
13597         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13598         that we force an update of the inset and it's owners if neccessary.
13599
13600 2001-12-03  Juergen Vigna  <jug@sad.it>
13601
13602         * text.C (rowLast): simplified code
13603
13604 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * lyxfunc.C: fix show options on timeout
13607
13608 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * screen.C (topCursorVisible): scroll half a page when the cursor
13611         reached top of bottom of screen
13612
13613 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13614
13615         * minibuffer.C: deactivate on loss of focus
13616
13617 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * vspace.[Ch] (operator!=): add operator.
13620
13621 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * BufferView_pimpl.C: refuse to open an inset when
13624         there's a selection.
13625
13626 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * BufferView_pimpl.C: allow to click on RHS of full row insets
13629
13630 2001-11-30  Juergen Vigna  <jug@sad.it>
13631
13632         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13633         insets for undo reasons.
13634
13635 2001-11-28  André Pönitz <poenitz@gmx.net>
13636
13637         * vspace.[Ch]: cosmetical changes
13638
13639 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13640
13641         * LyXAction.h:
13642         * LyXAction.C:
13643         * lyxfunc.h:
13644         * lyxfunc.C:
13645         * kbmap.h:
13646         * kbmap.C:
13647         * lyxrc.C:
13648         * kbsequence.h:
13649         * kbsequence.C: part re-write of old kb code
13650
13651         * Painter.C:
13652         * WorkArea.C: remove Lgb_bug_find_hack
13653
13654 2001-11-30  José Matos <jamatos@fep.up.pt>
13655
13656         * buffer.C (makeDocBookFile): add a comment to point a hack.
13657         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13658         Fixed a double write of labels.
13659
13660 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13661
13662         * LaTeX.C:
13663         * LaTeX.h Fixed bug in LaTeX class where it would not
13664         re-run latex if no depfiles were changed, but the .dvi was removed.
13665
13666 2001-11-28  André Pönitz <poenitz@gmx.net>
13667
13668         * all the files from the change on 2001/11/26:
13669         use lyx::layout_type instead of LyXTextClass::size_type
13670         use lyx::textclass_type instead of LyXTextClassList::size_type
13671
13672 2001-11-29  Juergen Vigna  <jug@sad.it>
13673
13674         * text.C: added support for paragraph::isFreeSpacing()
13675
13676         * buffer.C: same as above
13677
13678         * paragraph.h: inserted isFreeSpacing() function to enable
13679         FreeSpacing inside InsetERT.
13680
13681         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13682         of the paragraph's in the cut/copy buffer to 0!
13683
13684         * text2.C (removeRow): remove the assert as it can!
13685
13686         * lyxtext.h: added helper function firstRow returning firstrow and
13687         made firstrow private again.
13688
13689         * BufferView2.C (lockInset): don't relock if we're already locked!
13690
13691         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13692         the only paragraph.
13693         (removeRow): added Assert::(firstrow)
13694
13695         * debug.C: forgot to add INSETTEXT here.
13696
13697 2001-11-28  Juergen Vigna  <jug@sad.it>
13698
13699         * sp_spell.C (initialize): changed error text to more general
13700         spellchecker command use (not only ispell!)
13701
13702         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13703
13704         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13705
13706 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * vspace.C: initialise lyxgluelength on failure
13709
13710 2001-11-28  Allan Rae  <rae@lyx.org>
13711
13712         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13713         declaration & definition that looks like a function declaration.
13714
13715 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * BufferView2.C (copy):
13718         (copyEnvironment): do not clear the selection when doing a copy.
13719
13720         * text.C (paintFirstRow): compilation fix
13721
13722 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13723
13724         * tabular.C (Latex): correct line count when writing latex.
13725
13726 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * paragraph_pimpl.h:
13729         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13730           bug a bit
13731
13732 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * text.C:
13735         * LColor.h:
13736         * LColor.C: change vfillline->added_space
13737
13738         * text.C: add markers and text for added space
13739
13740         * vspace.C: fix comment
13741
13742 2001-11-28  André Pönitz <poenitz@gmx.net>
13743
13744         * paragraph.C: whitespace changes
13745         * all the other files from the change on 2001/11/26:
13746         change *::pos_type into lyx::pos_type
13747
13748 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13749
13750         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13751         language of the document when inserting error insets.
13752
13753 2001-11-26  André Pönitz <poenitz@gmx.net>
13754
13755         * BufferView_pimpl.[Ch]:
13756         *       CutAndPaste.C:
13757         * buffer.[Ch]:
13758         * lyxcursor.[Ch]:
13759         * lyxfind.C:
13760         * lyxfunc.C:
13761         * lyxrow.[Ch]:
13762         * paragraph.[Ch]:
13763         * paragraph_pimpl.[Ch]:
13764         * sp_spell.C:
13765         * text.C:
13766         * text2.C: reduce header dependencies, introduce type for positions
13767
13768 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * <various>: change to use Alert.h
13771
13772 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13773
13774         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13775         when encountering an unknown token.
13776         (readLyXformat2): Show an error message if there were unknown tokens.
13777
13778 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * BufferView2.C:
13781         * BufferView_pimpl.C:
13782         * buffer.C:
13783         * paragraph.h:
13784         * text.C:
13785         * text2.C: use par->isInset()
13786
13787 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13788
13789         * paragraph_pimpl.h:
13790         * paragraph_pimpl.C: cleanup
13791
13792 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * text2.C (removeRow):
13795         * text.C (setHeightOfRow): remove useless (and costly) call to
13796         getRow.
13797
13798 2001-11-20  Allan Rae  <rae@lyx.org>
13799
13800         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13801         Now need Inset*::checkInsertChar() to return true for appropriate
13802         cases so that the characters in the minibuffer will actually be
13803         inserted.
13804
13805 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * text.C: change the order of the includes.
13808         (workWidth): initialize it at once.
13809         (workWidth): make maxw unsigned
13810         (setHeightOfRow): remove unused variable (inset)
13811         (selectSelectedWord): remove unused variable (inset)
13812         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13813
13814 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13817         server is not running.
13818         (openConnection):
13819         (closeConnection): add debug info when server is disabled.
13820
13821         * ColorHandler.C (getGCForeground): send debug message to GUI
13822         channel.
13823
13824         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13825
13826         * kbmap.C (bind): modify because return conventions of
13827         kb_sequence::parse have changed.
13828
13829         * kbsequence.C (parse): only ignore spaces and not any stupid
13830         control character. This avoids tests like s[i] <= ' ', which are
13831         guaranteed to fail with 8bit characters and signed chars.
13832         Change return code to string::npos when there have been no error
13833         (0 was a bad idea when error is at first character)
13834
13835 2001-11-14  José Matos  <jamatos@fep.up.pt>
13836
13837         * buffer.h:
13838         * buffer.C (simpleDocBookOnePar): removed unused argument.
13839
13840 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13843         insets which are part of a word. Paragraph::isLetter takes care of
13844         that now. Use Paragraph::isInset to identify insets.
13845         (selectSelectedWord): do not test for hyphenation break.
13846
13847         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13848         that protected spaces are considered as spaces.
13849
13850         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13851         Inset::isLetter.
13852
13853 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * lyxserver.h:
13856         * lyxserver.C: fix it. and small cleanup.
13857
13858 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * BufferView_pimpl.C: use inline helpers
13861
13862         * LaTeXFeatures.h:
13863         * LaTeXFeatures.C: fix typos
13864
13865         * Spacing.h:
13866         * Spacing.C: move spacing_string into class
13867
13868         * ToolbarDefaults.C: move stuff into namespace anon
13869
13870         * layout.h: update enum
13871
13872         * lyxfunc.C: use better debug
13873
13874         * minibuffer.h: fix typo
13875
13876         * debug.h:
13877         * debug.C:
13878         * WorkArea.C: add and use Debug::WORKAREA
13879
13880         * lyxtext.h:
13881         * text.C:
13882         * text2.C: code re-organisation, inline helpers
13883
13884 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13885
13886         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13887         std::vector.empty().
13888
13889 2001-11-09  Allan Rae  <rae@lyx.org>
13890
13891         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13892         '\n's after tables.  Tabular and ERT inset work now makes this no
13893         longer necessary.
13894
13895 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * minibuffer.h:
13898         * minibuffer.C: fix crash, improve drop-down completion
13899
13900 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13901
13902         * lyxserver.h:
13903         * lyxserver.C: invalidate fd's when doing endPipe()
13904
13905 2001-11-08  José Matos  <jamatos@fep.up.pt>
13906
13907         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13908         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13909
13910         * paragraph.h:
13911         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13912
13913 2001-11-07  José Matos  <jamatos@fep.up.pt>
13914
13915         * buffer.h:
13916         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13917         const qualifier.
13918
13919         * buffer.C (sgmlOpenTag):
13920         * buffer.C (sgmlCloseTag): removed debug info.
13921
13922         * buffer.h (sgmlOpenTag):
13923         * buffer.h (sgmlCloseTag): made public.
13924
13925 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * buffer.C (saveParamsAsDefaults):
13928         * lyx_cb.C (MenuLayoutSave): remove
13929
13930         * LyXAction.C (init):
13931         * commandtags.h:
13932         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13933
13934 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * buffer.C (setPaperStuff): removed from here...
13937
13938         * bufferparams.C (setPaperStuff): ... and moved there.
13939
13940 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * minibuffer.h:
13943         * minibuffer.C:
13944         * XFormsView.C: add support for drop-down completion
13945
13946 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13949         commands.
13950
13951 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13954         disabled.
13955
13956 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * lyx_main.C: change ref to known bugs
13959
13960 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13961
13962         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13963         to work around older babel problems.
13964
13965 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13966
13967         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13968
13969 2001-10-24  Juergen Vigna  <jug@sad.it>
13970
13971         * tabular-old.C (ReadOld): below variable changes reflected.
13972
13973         * tabular.[Ch]: added ltType struct for longtable header/footer
13974         defines and changed all instances where they are used. Added
13975         future support for double top/bottom rows.
13976
13977 2001-10-24  José Matos  <jamatos@fep.up.pt>
13978
13979         * buffer.h (docbookHandleCaption):
13980         * buffer.C (docbookHandleCaption): removed unused function.
13981         (makeDocBookFile): moved docbook supported version to v4.1.
13982
13983 2001-10-24  José Matos  <jamatos@fep.up.pt>
13984
13985         * tabular.h:
13986         * tabular.C (docbookRow): new function to export docbook code of a row.
13987         (DocBook): now honors the longtable flags.
13988
13989 2001-10-23  José Matos  <jamatos@fep.up.pt>
13990
13991         * LaTeXFeatures.h:
13992         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13993         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13994
13995         * buffer.C (makeLinuxDocFile):
13996         (makeDocBookFile): reworked the preamble, more clean, and with
13997         support for lyx defined entities. Changed the document declaration
13998         to be more XML friendly.
13999
14000         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14001         if we need to output XML that should be done with a filter.
14002
14003 2001-10-22  Juergen Vigna  <jug@sad.it>
14004
14005         * sp_pspell.h (class PSpell): add alive function needed in the
14006         controller to see if the spellchecker could be started.
14007
14008 2001-10-22  Juergen Vigna  <jug@sad.it>
14009
14010         * buffer.C (insertStringAsLines): modify the font for inserting
14011         chars in certain conditions by calling checkInsertChar(font).
14012
14013 2001-10-19  Juergen Vigna  <jug@sad.it>
14014
14015         * text.C (workWidth): use getRow instead of wrong algorithm.
14016         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14017
14018 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * lyxserver.h:
14021         * lyxserver.C:
14022         * lyx_main.h:
14023         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14024
14025 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * text.C (workWidth): do not search for the exact row when
14028         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14029         optimization for big documents.
14030
14031 2001-10-18  Juergen Vigna  <jug@sad.it>
14032
14033         * text.C (workWidth): new function with added Inset * parameter.
14034
14035 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14038
14039         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14040         change return type of getColumnNearX.
14041
14042
14043         * text.C (changeRegionCase): use uppercase/lowercase instead of
14044         toupper/tolower.
14045         (leftMargin):
14046         (rightMargin): simplify code by factoring out the uses of
14047         textclasslist.
14048         (labelFill):
14049         (numberOfHfills):
14050         (setHeightOfRow):
14051         (appendParagraph): use Paragraph::size_type
14052
14053 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * vspace.C (asLatexString): add a missing break
14056
14057 2001-10-15  Herbert Voss  <voss@perce.de>
14058
14059         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14060
14061 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14062
14063         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14064         is not available.
14065
14066 2001-10-10  André Pönitz <poenitz@gmx.net>
14067
14068         * lyxfunc.C: removed greek_kb_flag.
14069
14070 2001-10-10  Herbert Voss  <voss@perce.de>
14071
14072         * lyx_main.C: delete global string help_lyxdir.
14073
14074 2001-10-09  Herbert Voss  <voss@perce.de>
14075
14076         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14077
14078         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14079
14080         * lyx_main.C: added global string help_lyxdir.
14081
14082         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14083
14084 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14085
14086         * lyxrc.C (set_font_norm_type): support iso8859-4
14087
14088 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14089
14090         * LaTeX.C (deplog): add another regex for MikTeX
14091
14092 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14093
14094         * lyxrc.C (set_font_norm_type): support iso8859-3
14095
14096 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14099
14100         * LaTeXFeatures.C: remove special case of french and index
14101
14102         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14103         before \begin{document}). This solves several incompatibilities.
14104
14105 2001-10-03  Garst Reese  <reese@isn.net>
14106
14107         * lyx_cb.C: change CheckTex error msg.
14108
14109 2001-10-03  José Matos  <jamatos@fep.up.pt>
14110
14111         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14112
14113 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * .cvsignore: update
14116
14117         * lyx_main.C (commandLineVersionInfo): use new style version info.
14118
14119         * buffer.C (writeFile):
14120         (makeLaTeXFile):
14121         (makeLinuxDocFile):
14122         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14123
14124         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14125
14126         * version.h: update to use stuff in version.C
14127
14128         * version.C.in: new file. Contains version information determined
14129         at compile time. This is a merging of version.h and
14130         version_info.h.in.
14131
14132 2001-10-03  Juergen Vigna  <jug@sad.it>
14133
14134         * BufferView_pimpl.C (update): don't change "dirty" status in
14135         updateInset call.
14136
14137 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14138
14139         * WorkArea.C (c-tor): re-position version string slightly.
14140
14141 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14144         revert to previous code.
14145
14146         WorkArea.[Ch]: (show, destroySplash): methods removed.
14147
14148         WorkArea.C: rework code so that it's an amalgam of the codes before and
14149         after the splash screen was moved to WorkArea.
14150
14151 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * lyxrc.C (read):
14154         * vspace.C (inPixels):
14155         (lyx_advance):
14156         * kbmap.C (bind):
14157         * buffer.C (insertStringAsLines):
14158         (asciiParagraph): fix types to be large enough
14159
14160         * lyxlex_pimpl.h: change member status from short to int
14161
14162         * layout.h: fix type of endlabeltype
14163
14164         * kbmap.C (bind):
14165         * kbsequence.C (parse): change return type to string::size_type
14166
14167         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14168         variable
14169
14170         * Bullet.C (bulletSize):
14171         (bulletEntry): do not use short ints as parameters
14172
14173         * BufferView2.C (insertLyXFile): change a char to an int.
14174
14175         * WorkArea.C (WorkArea): remove unneeded floats in computation
14176
14177 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14180
14181         * paragraph.C (asString): Do not ignore newline/hfill chars when
14182         copying to the clipboard.
14183
14184 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14185
14186         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14187         after a multi-line inset.
14188
14189 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14190
14191         * paragraph.C (validate): Set NeedLyXFootnoteCode
14192
14193 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14194
14195         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14196         and decrease-error to decrease.
14197
14198 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14199
14200         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14201         it more readable (should be equivalent)
14202
14203 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14204
14205         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14206
14207 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14208
14209         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14210         of a cursor (row, etc.) after a character has been deleted
14211         (deleteEmptyParagraphMechanism): call the method above on _all_
14212         cursors held by the LyXText when a double space has been
14213         detected/deleted.
14214
14215 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14216
14217         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14218         pixmap.
14219         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14220
14221         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14222         background. Use greyOut() and the new show() methods to toggle between
14223         the foreground and background. Add code to remove the splash after
14224         its initial showing.
14225
14226         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14227         (create_forms): no longer call Dialogs::showSplash.
14228
14229 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14230
14231         * .cvsignore: add version_info.h
14232
14233 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14234
14235         * version_info.h.in: new file
14236
14237         * Makefile.am: add version_info.h.in
14238
14239         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14240         version_info.h instead of VERSION_INFO
14241
14242 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14243
14244         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14245         The ERT inset now returns string().
14246
14247 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14248
14249         * lyxtext.h, text.C (selectNextWord): renamed as
14250         selectNextWordToSpellcheck.
14251
14252         * text.C (selectNextWordToSpellcheck): Modified to not select
14253         words inside an ERT inset.
14254
14255 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * lyx_cb.C (MenuLayoutSave): change a bit the question
14258
14259         * sp_base.h: include <sys/types.h>
14260
14261 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14262
14263         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14264
14265 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14266
14267         * several files: fix typos in user-visible strings
14268
14269 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14270
14271         * text2.C (pasteSelection): do not set the selection, since it
14272         will be cleared later. Actually, the intent was to fix the way the
14273         selection was set, but I figured rmoving the code was just as good.
14274
14275 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * FontLoader.C (available): Check if font is available without
14278         loading the font.
14279
14280 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14281
14282         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14283
14284 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14285
14286         * lyxrc.[Ch]: added display_graphics variable and associated code.
14287
14288 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * bufferparams.C (hasClassDefaults): new method. Returns true if
14291         the buffer parameters correspond to known class defaults
14292
14293 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14294
14295         * XFormsView.C (show): set minimum size to the main window.
14296
14297 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14298
14299         * text2.C (copySelection):
14300         (cutSelection):
14301         * lyxfind.C (LyXReplace):
14302         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14303         LyXText::selectionAsString.
14304
14305         * paragraph.C (asString): add "label" argument to the second form
14306
14307         * text2.C (selectionAsString): add "label" argument and pass it to
14308         Paragraph::asString.
14309
14310 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * lyx_main.C (commandLineHelp): remove version information
14313
14314 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14315
14316         * lyx_main.C: add -version commandline option
14317
14318 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * paragraph.h: make the optional constructor arg required instead.
14321         some modifications to other files because of this.
14322
14323         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14324
14325         * lyxserver.C (C_LyXComm_callback): make it static
14326
14327         * lyx_main.C (error_handler): make it static
14328
14329         * lyx_gui.C (LyX_XErrHandler): make it static
14330
14331         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14332
14333         * WorkArea.C: make the extern "C" methods static.
14334
14335         * Makefile.am (lyx_LDADD): simplify
14336
14337 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14340         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14341
14342         * LyXAction.C (init):
14343         * lyxfunc.C (dispatch): associated code removal.
14344
14345 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14346
14347         * lyxfont.h (isSymbolFont): shut off warning
14348
14349         * text.C (setHeightOfRow):
14350         (getVisibleRow): fix crash with empty paragraphs which have a
14351         bottom line
14352
14353 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14354
14355         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14356         code.
14357
14358 2001-09-04  José Matos  <jamatos@fep.up.pt>
14359         * buffer.C
14360         * buffer.h
14361         * tabular.C (docbook): rename docBook method to docbook.
14362
14363 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14364
14365         * Makefile.am: add dependencies to main.o.
14366
14367 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14368
14369         * FontLoader.C (available): Return false if !lyxrc.use_gui
14370
14371 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14372
14373         * FontInfo.C (query):
14374         * converter.C (view):
14375         * importer.C (Import):
14376         * exporter.C (Export): Can not -> cannot.
14377
14378 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14379
14380         * BufferView_pimpl.C: allow to create index inset even if
14381           string is empty
14382
14383 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14384
14385         * buffer.C (getLists): replace boost::tie code with an explicit pair
14386         as boost::tie can break some compilers.
14387
14388         * iterators.h: Added a std:: declaration to the return type of
14389         ParIterator::size.
14390
14391 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14392
14393         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14394           case.
14395
14396 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14397
14398         * iterators.[Ch]: New files. Provide paragraph iterators.
14399
14400         * buffer.C (changeLanguage): Use paragraph iterators.
14401         (isMultiLingual): ditto
14402
14403         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14404
14405 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14406
14407         * FontLoader.C: Support for cmr font.
14408
14409 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14410
14411         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14412         (available): New method.
14413
14414         * FontInfo.C (getFontname): Use scalable fonts even when
14415         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14416         found.
14417
14418 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14419
14420         * converter.C (Formats::view): reverted! Incorrect fix.
14421
14422 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14423
14424         * converter.C (Formats::view): only output the -paper option
14425         if the dvi viewer is xdvi, thereby fixing bug #233429.
14426
14427 2001-08-23  Herbert Voss  <voss@perce>
14428
14429         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14430
14431 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14432
14433         * Spacing.h (Spacing): Set space to Default on in the default
14434         constructor.
14435
14436 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * vc-backend.h (RCS::versionString): add RCS to version
14439         (CVS::versionString): add CVS to version
14440
14441         * vc-backend.C (scanMaster): do not add CVS to version.
14442         (scanMaster): do not add RCS to version
14443
14444         * lyxvc.C (versionString): new method
14445
14446         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14447
14448 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * Spacing.C (set): initialize fval
14451
14452 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14453
14454         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14455         " or \.
14456
14457 2001-08-16  Juergen Vigna  <jug@sad.it>
14458
14459         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14460
14461 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * BufferView_pimpl.C:
14464         * figureForm.C:
14465         * lyxtext.h:
14466         * text2.C: setParagraph takes linespacing now
14467
14468 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * LyxAction.C: add internal LFUN_CITATION_INSERT
14471
14472         * LyXView.C: actually apply fix
14473
14474         * bufferlist.C: fix open non-existent file
14475
14476         * lyxfind.C: fix indentation
14477
14478         * lyxfunc.C: remove unneeded assert, fix typo
14479
14480 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * MenuBackend.C: use "Floatname List"
14483
14484 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14485
14486         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14487         when converting LaTeX layout to insetERT.
14488         Generate a non-collapsed float when reading old float
14489
14490 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14491
14492         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14493         ERT insets.
14494
14495 2001-08-13  Juergen Vigna  <jug@sad.it>
14496
14497         * text.C (fill): return 0 instead of 20 as this seems to be the more
14498         correct value.
14499
14500 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14503         lyxrc.font_norm.
14504
14505 2001-08-13  Juergen Vigna  <jug@sad.it>
14506
14507         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14508         casesensitive off.
14509         (SearchBackward): comment out the unlocking of the inset_owner this
14510         should not be needed!
14511
14512 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14513
14514         * Many files: Remove inherit_language, and add latex_language
14515
14516         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14517         collapsible insets.
14518
14519 2001-08-10  Juergen Vigna  <jug@sad.it>
14520
14521         * text.C (prepareToPrint): fixed hfill-width in draw!
14522
14523         * BufferView2.C (selectLastWord): save the selection cursor as this
14524         now is cleared in the function LyXText::clearSelection!
14525
14526 2001-08-08  Juergen Vigna  <jug@sad.it>
14527
14528         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14529         BACKSPACE type functions.
14530
14531         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14532         is only cutted from the document but not put in the cut-buffer, where
14533         still the old stuff should be.
14534
14535         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14536
14537         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14538
14539         * tabular.C (SetWidthOfCell): fixed special case where the width
14540         was not updated!
14541         (LeftLine): handle '|' in align_special.
14542         (RightLine): ditto
14543         (LeftAlreadyDrawed): ditto
14544         (SetWidthOfCell): ditto
14545
14546 2001-08-07  Juergen Vigna  <jug@sad.it>
14547
14548         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14549
14550 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14553         * lyxlex.[hC]: ditto
14554
14555 2001-08-06  Juergen Vigna  <jug@sad.it>
14556
14557         * text.C (getVisibleRow): fix up row clearing a bit.
14558
14559 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * minibuffer.C: make sure the X server sees the changes in the input.
14562
14563 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14564
14565         * paragraph.C (getFont): split into...
14566         (getLabelFont): this
14567         (getLayoutFont): and this
14568         * paragraph_pimpl.C (realizeFont): calling this
14569
14570         * text2.C (getFont): split into...
14571         (getLayoutFont): this
14572         (getLabelFont): and this
14573         (realizeFont): all three calling this
14574
14575         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14576         files where used.
14577
14578 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14581
14582 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14583
14584         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14585         layouts from the Quote inset insertion.
14586
14587 2001-08-03  Juergen Vigna  <jug@sad.it>
14588
14589         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14590
14591         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14592         only if status not is already CHANGED_IN_DRAW (second level).
14593
14594         * text.C (draw): don't set the need_break_row when inside an
14595         InsetText LyXText.
14596
14597 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * buffer.C (parseSingleLyXformat2Token): handle more latex
14600         conversion cases.
14601
14602         * bufferview_funcs.[hC]: change function names to
14603         begin with small char, adjust other files.
14604
14605 2001-08-02  André Pönitz <poenitz@gmx.net>
14606
14607         * lyxfunc.C:
14608         BufferView_pimpl.C: remove broken special code for math-greek
14609
14610 2001-08-02  Juergen Vigna  <jug@sad.it>
14611
14612         * BufferView_pimpl.C (update): redone this function so that we
14613         update the text again if there was a CHANGE_IN_DRAW.
14614
14615         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14616         (drawFromTo): added a new internal bool which is used by draw() and
14617         redraw() function.
14618         (general): some cursor drawing problems fixed.
14619
14620 2001-08-01  Juergen Vigna  <jug@sad.it>
14621
14622         * lyxfind.C (LyXFind): fixed
14623         (SearchForward): ditto
14624         (SearchBackward): ditto
14625
14626         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14627         spurius drawing of the cursor in the main area.
14628
14629         * text2.C (status): small fix which could lead to a segfault!
14630         (clearSelection): remove unneeded BufferView param.
14631
14632 2001-08-01  André Pönitz <poenitz@gmx.net>
14633
14634         * lyxfunc.C: small change due to changed mathed interface
14635
14636 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14639
14640 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * lyxfunc.c: fail gracefully if file doesn't exist
14643
14644         * LyXSendto.C:
14645         * buffer.C:
14646         * lyxfunc.C:
14647         * BufferView_pimpl.C: IsDirWriteable() proto changed
14648
14649         * LyXView.C: fix updateWindowTitle() to store the last title
14650
14651 2001-07-31  Juergen Vigna  <jug@sad.it>
14652
14653         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14654         the font (wrong since using of Paragraph::highestFontInRange).
14655
14656         * paragraph.C (highestFontInRange): added a default_size parameter.
14657
14658         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14659         (setHeightOfRow): reformat
14660
14661 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * converter.[hC] + affected files: move to (inital-char)lowercase
14664         function names.
14665
14666         * ParagraphParameters.C (ParagraphParameters): remove commented code
14667
14668         * PainterBase.[Ch]: remove commented code
14669
14670         * LaTeXFeatures.h: add "bool floats" for float.sty
14671
14672         * LaTeXFeatures.C (LaTeXFeatures): init floats
14673         (require): handle float
14674         (getPackages): do it with floats
14675
14676 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * BufferView_pimpl.C (Dispatch): improve handling of
14679         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14680
14681         * commandtags.h: #include lyxfont.h here temporarily to avoid
14682         keybinding bug.
14683
14684         * bufferlist.h: include LString.h here.
14685
14686 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * text2.C (getStringToIndex): new method.
14689
14690 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14691
14692         * *: Reduced header file dependencies all over.
14693
14694 2001-07-30  Baruch Even  <baruch@lyx.org>
14695
14696         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14697
14698 2001-07-29  Baruch Even  <baruch@lyx.org>
14699
14700         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14701
14702 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * ParameterStruct.h (endif): add a default constructor to make
14705         sure that all variables is initialized.
14706
14707         * ParagraphParameters.C (ParagraphParameters): adjust
14708
14709 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14710
14711         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14712         index; also, check that there is something to index, and that it
14713         does not span over several paragraphs.
14714         (doubleClick): use WHOLE_WORD_STRICT for double click.
14715
14716         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14717
14718         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14719         scheme.
14720
14721 2001-07-26  Baruch Even  <baruch@lyx.org>
14722
14723         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14724         an InsetFig figure, backwards compatible reading of old figure code.
14725
14726 2001-07-27  Juergen Vigna  <jug@sad.it>
14727
14728         * text2.C: font.realize function adaption.
14729
14730         * text.C (draw): add a warnings lyxerr text if needed.
14731
14732         * layout.C: font.realize function adaption.
14733
14734         * language.C: add inherit_language and implement it's handlings
14735
14736         * bufferview_funcs.C (StyleReset): remove language parameter from
14737         font creation (should be language_inherit now).
14738
14739         * bufferparams.C (writeFile): handle ignore_language.
14740
14741         * paragraph.C (getFontSettings): the language has to be resolved
14742         otherwise we have problems in LyXFont!
14743
14744         * lyxfont.C (lyxWriteChanges): added document_language parameter
14745         (update): removed unneeded language parameter
14746
14747         * paragraph.C (validate): fixed wrong output of color-package when
14748         using interface colors for certain fonts in certain environments,
14749         which should not seen as that on the final output.
14750
14751 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * BufferView_pimpl.C:
14754         * Thesaurus.h:
14755         * Thesaurus.C:
14756         * Makefile.am:
14757         * commandtags.h:
14758         * LyXAction.C: add thesaurus support
14759
14760         * lyxfind.h:
14761         * lyxfind.C: add "once" parameter, for thesaurus, to not
14762           move to the next match
14763
14764 2001-07-26  Juergen Vigna  <jug@sad.it>
14765
14766         * lyxfont.C (realize): honor ignore_language too!
14767         (resolved): ditto.
14768
14769         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14770
14771         * text.C (draw): one place more for ignore_language to not draw
14772         itself!
14773
14774 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14775
14776         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14777
14778 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14779
14780         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14781         the minipage conversion problem.
14782
14783 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14786         insert an inset.
14787
14788 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14789
14790         * BufferView.h: don't forward declare WorkArea
14791
14792         * BufferView.C: don't include WorkArea.h
14793
14794 2001-07-25  André Pönitz <poenitz@gmx.net>
14795
14796         * commandtags.h:
14797         * LyXAction.C:
14798         * lyxfunc.C:  new LFUN 'math-space'
14799
14800         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14801
14802 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * text2.C (toggleInset): call open/close
14805
14806 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * lyxfunc.C (dispatch): add debug for the disabled case
14809
14810         * font.C (buttonText): make similar to rectText
14811
14812         * buffer.C (readInset): comment out parsing of insetlist and
14813         insttheorem
14814
14815         * PainterBase.C (rectText): small correction
14816
14817         * BufferView_pimpl.C: comment out insettheorem and insetlist
14818         * LyXAction.C: ditto
14819         * commandtags.h: ditto
14820
14821 2001-07-24  Juergen Vigna  <jug@sad.it>
14822
14823         * text.C (draw): honor the ignore_language.
14824
14825         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14826
14827 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14830         char inset.
14831
14832 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14833
14834         * lyxtext.h: remove unused (and unimplemented) methods
14835
14836 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14837
14838         * text.C (getVisibleRow): honor background color
14839
14840         * PainterBase.h:
14841         * Painter.h: remove default color argument for fillRectangle
14842
14843         * text.C (backgroundColor): new method
14844
14845 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14846
14847         * text.C (getVisibleRow): adjust
14848
14849         * font.[Ch] (rectText): new method, metrics
14850         (buttonText): new method, metrics
14851
14852         * PainterBase.[hC]: make rectText and buttonText always draw and take
14853         fewer paramteres.
14854
14855 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14856
14857         * ToolbarDefaults.C (read):
14858         * MenuBackend.C (read): allow escaping in all strings
14859
14860         * BufferView_pimpl.C (insertAndEditInset): new method.
14861         (Dispatch): use insertAndEditInset whenever appropriate.
14862
14863         * BufferView_pimpl.C (insertNote): removed
14864
14865         * BufferView_pimpl.C (smartQuote): new method, moved from
14866         BufferView; if an insetquote cannot be inserted, insert a '"'
14867         character instead.
14868
14869         * BufferView2.C: remove insertCorrectQuote();
14870
14871         * lyxfunc.C (getStatus): Add support for all remaingin
14872         inset-insert lfuns.
14873
14874         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14875
14876         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14877         command (necessary to pass " as parameter of self-insert.
14878
14879         * text.C (selectWordWhenUnderCursor):
14880         (selectWord): add word_location parameter
14881         (selectWordWhenUnderCursor): same + remove special code for word
14882         boundary.
14883         (selectNextWord): use kind() to guess type of insetspecialchar,
14884         not latex().
14885
14886         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14887         (insertErtContents): create ert insets as collapsed.
14888         (readInset): better compatibility code for Info inset.
14889
14890 2001-07-20  Juergen Vigna  <jug@sad.it>
14891
14892         * lyxfunc.C (dispatch): use always LyXFind now!
14893
14894         * text2.C (init): add a reinit flag so that the LyXText can be
14895         reinited instead of deleted and reallocated (used in InsetText).
14896
14897         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14898
14899         * text.C: ditto
14900
14901         * text2.C: ditto
14902
14903 2001-07-18  Juergen Vigna  <jug@sad.it>
14904
14905         * text.C (selectNextWord): handle insets inside inset by calling
14906         always the bv->text functions so that we can go up the_locking_inset!
14907
14908         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14909         in strange locations when inside an inset!
14910
14911         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14912         handling to include insets.
14913
14914         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14915
14916 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * LyXAction.C (init):
14919         * commandtags.h:
14920         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14921         LIGATURE_BREAK, since the name is so stupid.
14922
14923 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14924
14925         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14926         InsetInfos.
14927
14928         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14929
14930         * sp_form.[Ch]: remove.
14931
14932         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14933
14934         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14935         InsetInfo.
14936
14937         * src/buffer.C (readInset): ditto.
14938
14939 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14940
14941         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14942         menuSeparator(), endOfSentenceDot(), ldots() and
14943         hyphenationPoint(), which are therefore removed.
14944         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14945
14946         * LyXAction.C (init):
14947         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14948
14949         * paragraph.C (getWord): removed.
14950
14951         * BufferView_pimpl.C (Dispatch): use last word or selection for
14952         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14953
14954         * lyx_main.C (queryUserLyXDir): do not ask before creating
14955         user_dir, except if it has been named explicitely.
14956
14957 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14958
14959         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14960         a document of zero size.
14961
14962 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14963
14964         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14965         approriately in the c-tor and in require().
14966         (getPackages): output the appropriate LaTeX for natbib support.
14967
14968         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14969         variables "use_natbib" and "use_numerical_citations" when reading the
14970         LyX file.
14971         (readInset): read the various natbib cite commands.
14972         (validate): white-space change.
14973
14974         * bufferparams.[Ch]: new variables "bool use_natbib" and
14975         "bool use_numerical_citations".
14976         (writeFile): output them in the LyX file.
14977
14978 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14979
14980         * lyxfunc.C (getStatus): add support for all the inset insertion
14981         commands.
14982
14983         * text2.C (insertInset):
14984         * paragraph.C (insetAllowed):
14985         * BufferView_pimpl.C (insertInset): update to take in account the
14986         renaming of insertInsetAllowed
14987
14988         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14989
14990         * text2.C (getInset): new method. returns inset at cursor position.
14991
14992         * BufferView_pimpl.C (Dispatch): changes because of this.
14993
14994         * LyXAction.C (init): rename open-stuff to inset-toggle.
14995
14996         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14997
14998         * text2.C (toggleInset): renamed from openStuff; use
14999         Inset::open().
15000
15001 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15002
15003         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15004
15005         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15006
15007 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15008
15009         * buffer.C (readLyXformat2): Add filename to the error dialog
15010
15011 2001-07-18  Juergen Vigna  <jug@sad.it>
15012
15013         * tabular.C (GetCellNumber): put an assert here instead of the check!
15014
15015 2001-07-17  Juergen Vigna  <jug@sad.it>
15016
15017         * BufferView_pimpl.C (toggleSelection): adapted too.
15018
15019         * text.C (selectNextWord): adapted for use with insets.
15020         (selectSelectedWord): ditto
15021
15022 2001-07-17  Juergen Vigna  <jug@sad.it>
15023
15024         * sp_spell.C (PSpell): fix initialitation order.
15025
15026 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * paragraph.C: spacing
15029
15030 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15031
15032         * sp_spell.C: repair language selection for pspell
15033
15034 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * lyxfunc.h: change more methods to begin with lower char.
15037
15038 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15041         for unknown layouts.
15042
15043 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * buffer.C (readLyXformat2): Generate an error dialog if there are
15046         unknown layouts.
15047
15048 2001-07-16  Juergen Vigna  <jug@sad.it>
15049
15050         * sp_spell.C: always compile ISpell part.
15051
15052         * lyxrc.C: added use_pspell entry and it's handling.
15053
15054 2001-07-13  Juergen Vigna  <jug@sad.it>
15055
15056         * sp_spell.C: removed double includes.
15057
15058 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15059
15060         Consistent use of Lsstream.h:
15061         * Lsstream.h: added using std::stringstream for consistencies sake.
15062
15063         * buffer.C: removed using std::stringstream
15064
15065         * lyxfont.C (stateText):
15066         * paragraph.C (asString):
15067         * text.C (selectNextWord, selectSelectedWord):
15068         * text2.C (setCounter):
15069         * vspace.C (asString, asLatexString):
15070         std::ostringstream -> ostringstream.
15071
15072 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15073
15074         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15075         * commandtags.h: add LFUN_HELP_ABOUTLYX
15076         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15077
15078 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15079
15080         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15081         cursorToggle()
15082         * lyx_gui_misc.C: remove spellchecker
15083         * lyxfunc.C: showSpellchecker
15084         * sp_base.h: added
15085         * sp_ispell.h: added
15086         * sp_pspell.h: added
15087         * sp_spell.C: added
15088         * sp_form.[Ch]: removed
15089         * spellchecker.[Ch]: removed
15090
15091 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15092
15093         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15094         is set.
15095         (simpleTeXSpecialChars): Simply print the input character without
15096         any special translation if pass_thru is set.
15097
15098         * layout.h: Added bool pass_thru to layout class for being able to
15099         implement pass through of a paragraph for Literate Programming.
15100
15101         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15102         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15103         * layout.C (Read): add "passthru" to list of layout tags and add
15104         code to set the pass_thru boolean when it is read.
15105
15106 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * trans_decl.h: remove allowed from KmodInfo
15109
15110         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15111         remove allowed code
15112         (Load): adjust
15113
15114         * paragraph_pimpl.C (erase): use boost::prior
15115
15116         * Painter.C (text): use data() instead of c_str() when length is
15117         also provided.
15118         * WorkArea.C (putClipboard): ditto
15119         * font.h (width): ditto
15120
15121         * BufferView2.C: use it-> instead of (*it). for iterators
15122         * texrow.C: ditto
15123         * paragraph_pimpl.C: ditto
15124         * paragraph.C: ditto
15125         * minibuffer.C: ditto
15126         * language.C: ditto
15127         * kbmap.C: ditto
15128         * encoding.C: ditto
15129         * counters.C: ditto
15130         * converter.C: ditto
15131         * chset.C: ditto
15132         * Variables.C: ditto
15133         * TextCache.C: ditto
15134         * MenuBackend.C: ditto
15135         * LyXAction.C: ditto
15136         * LColor.C: ditto
15137         * FloatList.C: ditto
15138         * DepTable.C: ditto
15139         * ColorHandler.C (LyXColorHandler): ditto
15140
15141 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15142
15143         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15144
15145         * text2.C (openStuff): reintroduce this method (which had been
15146         nuked in NEW_INSETS frenzy).
15147
15148         * lyxfunc.C (Dispatch): when an action has not been handled, use
15149         its name in the error message, not its number.
15150
15151         * paragraph.C (inInset): change method name to begin with lowercase.
15152
15153         * undo_funcs.C:
15154         * text2.C: updates because of this.
15155
15156 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * ToolbarDefaults.C (add): add spaces in error message
15159
15160 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15163         (readLyXformat2): rename return_par to first_par, use lyxlex's
15164         pushToken and remove the manual push handling.
15165         (parseSingleLyXformat2Token): add another ert comp. variable:
15166         in_tabular, rename return_par to first_par. handle newlines better
15167
15168 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15171
15172 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15173
15174         * text2.C (getParFromID): removed
15175
15176         * buffer.C (getParFromID): new method moved form lyxtext.
15177         * BufferView2.C (insertErrors): adjust
15178         (setCursorFromRow): adjust
15179         * BufferView_pimpl.C (restorePosition): adjust
15180         * lyxfunc.C (Dispatch): adjust
15181         * undo_funcs.C (textUndo): adjust
15182         (textRedo): adjust
15183         (textHandleUndo): adjust
15184         (textHandleUndo): adjust
15185
15186 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * buffer.C: up' the LYX_FORMAT
15189
15190         * lyxfont.h: turn NO_LATEX on as default
15191
15192         * buffer.C (insertErtContents): new methods of tex style compability.
15193         (parseSingleLyXformat2Token): use it several places.
15194         * tabular.C (OldFormatRead): and here
15195
15196 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * text2.C: remove some commented code.
15199         reindent file.
15200
15201         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15202         * trans.C: changes because of the above.
15203
15204 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * text2.C (setCounter): Fix counters bug with bibliography layout.
15207
15208 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15211         own member functions
15212         (simpleTeXSpecialChars): ditto
15213
15214 2001-07-06  Juergen Vigna  <jug@sad.it>
15215
15216         * a lot of files: changed the access to LyXText::status and the
15217         call of undo-functions.
15218
15219         * undo.[Ch]: added a inset_id to the undo informations.
15220
15221         * undo_funcs.[Ch]: added and moved here all undo functions.
15222
15223         * lyxtext.h: give the status enum a weight, made status_ a private
15224         variable and made accessor functions for it, removed the whole bunch
15225         of undo-functions as they are now in their own file, make some
15226         functions publically available. Added function ownerParagraph with
15227         int parameter.
15228
15229         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15230         made InInset() a const function, added getParFromID() function.
15231
15232         * buffer.[Ch]: added const version for inset_iterator functions,
15233         added getInsetFromID() function.
15234
15235         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15236         changed undo functions for new version.
15237
15238 2001-07-05  Juergen Vigna  <jug@sad.it>
15239
15240         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15241         unknow mechanism does not call the proper constructor but only this
15242         one also if I request the other!?
15243
15244 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15245
15246         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15247
15248         * text2.C (LyXText): use initialization lists.
15249
15250         * lyxtext.h (Selection): initialize set_ and mark_
15251         (init): remove method
15252
15253 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15256
15257 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * screen.[Ch]: change method names to begin with lowercase
15260
15261         * BufferView_pimpl.C (updateScrollbar): simplify further and
15262         hopefully make it a bit faster.
15263
15264 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15265
15266         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15267         calling directly xforms functions.
15268
15269         * Painter.C (Painter):
15270         * lyx_cb.C (MenuWrite):
15271         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15272         fl_display.
15273
15274         * lyx_gui.C: remove bogus guiruntime extern declaration.
15275
15276 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15279         in NEW_INSETS
15280         (redoDrawingOfParagraph): ditto
15281         (redoParagraphs): ditto
15282         (cutSelection): don't create a object for CutAndPaste use the
15283         static method directly
15284         (pasteSelection): ditto
15285
15286         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15287         LyXview (+ rename)
15288
15289 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * modifications to some other files because of this.
15292
15293         * Makefile.am (lyx_SOURCES): add XFormsView
15294
15295         * XFormsView.[Ch]: new files
15296
15297         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15298         the main window. Move the gui dependent stuff to XFormsView
15299
15300 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * tabular.C (GetCellInset): update cur_cell also in the row/col
15303         version of this function.
15304
15305         * lyxfunc.C: no need to include figure_form.h here.
15306
15307         * FontLoader.h:
15308         * lyxfunc.h:
15309         * lyxscreen.h:
15310         * text2.C:
15311         * lyxvc.C: no need to include forms.h here.
15312
15313 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15314
15315         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15316
15317         * lyxfunc.C (Dispatch):
15318         * Spacing.C (set):
15319         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15320         constructor argument.
15321
15322 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15323
15324         * paragraph.C (Paragraph): dont't clear, and just set layout.
15325         (makeSameLayout): use params's copy contructor.
15326
15327         * ParagraphParameters.[Ch] (makeSame): delete method
15328
15329 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15330
15331         * Variables.[Ch]: fix indentation, rename set to isSet
15332
15333 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15334
15335         * lyxfunc.C (Dispatch): fix typo
15336
15337 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15338
15339         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15340         upper_bound.
15341
15342         * bufferlist.C: include assert.h for emergencyWrite().
15343
15344 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15347           give up at last (bug #425202) !
15348
15349 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15350
15351         * lyx_gui_misc.C:
15352         * sp_form.h:
15353         * sp_form.C:
15354         * spellchecker.h:
15355         * spellchecker.C: strip spellchecker options and bring up
15356           preferences tab instead
15357
15358 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15361         the istringstream constructor
15362
15363 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * paragraph.C (getLayout): fix return value
15366
15367         * paragraph.h: do not declare getLayout as inline.
15368
15369         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15370
15371 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * lyxcursor.h (operator<): new func
15374         (operator>): new func
15375         (operator>=): new func
15376         (operator<=): new func
15377
15378         * text.C (changeCase): use selection.start and selection.end
15379         (changeRegionCase): require from to be <= to. Require par to be a
15380         valid paragraph.
15381
15382         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15383
15384 2001-06-27  Juergen Vigna  <jug@sad.it>
15385
15386         * text.C (cursorLeftOneWord): changed to return the cursor and added
15387         overlay with BufferView * parameter which calls this one.
15388         (getWord): added
15389         (selectWord): use new getWord function.
15390         (changeCase): renamed from changeWordCase as and extended to work
15391         also on selections.
15392
15393         * lyxtext.h: added enum word_location
15394
15395         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15396         changeCase as this operates now also on selections.
15397
15398 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15399
15400         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15401
15402         * many files: send debug output to Debug::INFO instead of
15403         Debug::ANY.
15404
15405         * converter.C (View):
15406         (Convert):
15407         (Move): send debug output to Debug::FILES instead of console.
15408
15409 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15410
15411         * lyxfunc.C (getStatus): use func_status
15412
15413         * func_status.h: new header, describing the results of
15414         LyXFunc::getStatus;
15415
15416         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15417         LFUN_MATH_HALIGN.
15418
15419 2001-06-25  The LyX Project  <jug@sad.it>
15420
15421         * buffer.C (sgmlOpenTag):
15422         (sgmlCloseTag):
15423         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15424
15425 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * text2.C: remove some dead code
15428
15429         * tabular.C (GetCellInset): store the last cell checked (gotten)
15430
15431         * tabular.h: add the helper for the speedup
15432
15433         * lyxtext.h: remove some dead code
15434
15435 2001-06-26  The LyX Project  <Asger>
15436
15437         * paragraph.C: Change export to LaTeX of alignment to
15438         \begin{center} and family for better roundtrip work with reLyX.
15439
15440         * Tune the math drawing a bit.
15441
15442 2001-06-25  The LyX Project  <Asger>
15443
15444         * LColor.C (LColor): New color for math background. New color
15445         for buttons.
15446
15447 2001-06-25  The LyX Project  <jug@sad.it>
15448
15449         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15450
15451         * lyxfunc.C (Open):
15452         * bufferlist.C (newFile): do not restrict to files ending with
15453         .lyx
15454
15455         * BufferView_pimpl.C (MenuInsertLyXFile):
15456
15457 2001-06-24  The LyX Project  <jug@sad.it>
15458
15459         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15460         of compare_no_case
15461
15462 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15463
15464         * lyxtext.h: rename most methods to begin with a small char.
15465         Lots of changes because of this.
15466
15467         * paragraph.C (Paragraph): do not call fitToSize
15468         (erase): call Pimpl::erase
15469         (insertChar): call Pimpl::insertChar
15470         (insertInset): call Pipl::insertInset
15471         (breakParagraph): do not call fitToSize
15472         (breakParagraphConservative): do not call fitToSize
15473         (fitToSize): remove method
15474
15475         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15476
15477 2001-06-24  The LyX Project  <Asger>
15478
15479         * Fix Qt compilation^2
15480
15481 2001-06-24  The LyX Project  <jug@sad.it>
15482
15483         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15484         depthHook(getDepth()-1).
15485
15486         * paragraph.h:
15487         * ParagraphParameters.h:
15488         * ParameterStruct.h: change type of depth to unsigned int ==
15489         depth_type. Many adaptations to other files before of that.
15490
15491 2001-06-24  The LyX Project  <Asger>
15492
15493         * Fix Qt compilation.
15494
15495 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15496
15497         * paragraph.h: renamed several methods to begin with small letter.
15498         several changes to many parts of the code because of this.
15499
15500 2001-06-23  The LyX Project  <jug@sad.it>
15501
15502         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15503         rewritten to discard all double spaces when KeepEmpty is off
15504         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15505         to only handle newlines but not fiddle with spaces and friends.
15506
15507         * lyxfunc.C (MenuNew): when doing 'new from template', use
15508         template_path as default directory
15509
15510 2001-06-23  The LyX Project  <Asger>
15511
15512         * Clean-up of header file includes all over
15513         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15514
15515 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * paragraph.h: renamed from lyxparagraph.h
15518
15519 2001-06-23  Asger  <lyx@violet.home.sad.it>
15520
15521         * Buffer.h: Removed Buffer::resize
15522         * BufferList.h: Removed BufferList::resize
15523         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15524         the document lazily when we change the width, or the font settings.
15525
15526 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15527
15528         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15529
15530 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15531
15532         * buffer.h: remove out of date comment
15533
15534 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * lyxscreen.h:
15537         * screen.C: fix "theoretical" GC leak
15538
15539 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * LaTeX.C (scanAuxFile):
15542         (deplog): remove trailing \r when reading stream (useful under
15543         win32)
15544
15545 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15546
15547         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15548         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15549         and BufferView::theLockingInset(Inset*), so should use them and not
15550         access bv_->text->the_locking_inset directly.
15551
15552         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15553
15554 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15555
15556         * Makefile.am:
15557         * tex-defs.h: remove old unused file
15558
15559 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15560
15561         * BufferView_pimpl.C: fix typo, remove minibuffer message
15562           when buffer has loaded
15563
15564 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * lyxfunc.C (Dispatch): use stringstream
15567         (MenuNew): use stringstream
15568         (Open): use stringstream
15569
15570         * importer.C (Import): use stringstream
15571
15572         * bufferview_funcs.C (CurrentState): use stringstream
15573
15574         * LaTeX.C (run): use stringstream
15575
15576         * BufferView_pimpl.C (savePosition): use stringstream
15577         (restorePosition): use stringstream
15578         (MenuInsertLyXFile): use stringstream
15579
15580 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15581
15582         * BufferView.C:
15583         * Bullet.C:
15584         * ColorHandler.C:
15585         * FontInfo.C:
15586         * FontLoader.C:
15587         * LColor.C:
15588         * LaTeXFeatures.C:
15589         * Painter.C:
15590         * gettext.C:
15591         * lyx_gui_misc.C:
15592         * lyxserver.C:
15593         * vspace.C: removed // -*- C++ -*- as first line.
15594
15595         * lyxfind.h:
15596         * version.h: added // -*- C++ -*- as first line.
15597
15598 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15601
15602         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15603         of string
15604
15605 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15606
15607         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15608         of floats.
15609
15610 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15611
15612         * gettext.C: include LString.h even when --disable-nls is on.
15613
15614 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15615
15616         * converter.h (Get): changed argument type from int to
15617         FormatList::size_type to avoid unnecessary conversion.
15618
15619         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15620         before using it.
15621
15622 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15623
15624         * gettext.h: include LString.h even when --disable-nls is on.
15625
15626 2001-06-07  Juergen Vigna  <jug@sad.it>
15627
15628         * text.C (BreakAgain): subst spaces with tabs.
15629
15630         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15631         (resizeInsetsLyXText): set force on resizeLyXText.
15632
15633 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * gettext.h (gettext_init):
15636         (locale_init): use a real definition instead of a macro
15637
15638 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15639
15640         * Bufferview_pimpl.C:
15641         * LColor.h:
15642         * LColor.C: further lcolor tidies
15643
15644 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * BufferView_pimpl.C (updateScrollbar): simplify.
15647
15648         * BufferView2.C: don't include insets/insetinfo.h, change
15649         prototype for insertInset and call the Pimpl version. let
15650         updateInset call Pimpl version.
15651
15652         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15653         gotoInset to BufferView::Pimpl
15654
15655 2001-06-01  Juergen Vigna  <jug@sad.it>
15656
15657         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15658         inside a LockingInset (is the update needed at all?).
15659
15660 2001-05-31  Juergen Vigna  <jug@sad.it>
15661
15662         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15663         here not the old one otherwise how should we compare it afterwards
15664         if it's the same!
15665
15666 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15667
15668         * lyxfont.C:
15669         * tabular.C:
15670         * tabular-old.C:
15671         * FontInfo.C: bring C functions into global namespace when
15672         necessary
15673
15674 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15675
15676         * LString.h: make sure config.h has been loaded before LString.h.
15677
15678         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15679         (one for each char read by EatLine!).
15680
15681         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15682         variables.
15683
15684 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15687         to the same as the par we break from
15688
15689 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15690
15691         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15692
15693         * MenuBackend.C (expand): also create menu entries for wide
15694         versions of the floats.
15695
15696         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15697
15698         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15699
15700         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15701         frontends/Makefile.am
15702
15703         * text2.C: adjust
15704         * text.C: adjust
15705
15706
15707         * tabular.C (getTokenValue): add std::
15708
15709         * tabular-old.C (getTokenValue): add std::
15710         (getTokenValue): ditto
15711         (getTokenValue): ditto
15712
15713         * screen.C (ToggleSelection): adjust
15714
15715         * lyxtext.h: put selection cursors inside a Selection struct.
15716
15717         * lyxfunc.C (moveCursorUpdate): adjust
15718
15719         * lyxfont.C (latexWriteStartChanges): add std::
15720
15721         * lyxfind.C: adjust
15722
15723         * font.h: delete with(char const *, LyXFont const &)
15724
15725         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15726
15727         * FontInfo.C (getFontname): add std::
15728
15729         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15730         (workAreaButtonPress): adjust
15731         (tripleClick): adjust
15732         (update): adjust
15733         (moveCursorUpdate): adjust
15734         (Dispatch): adjust
15735
15736         * BufferView2.C (gotoInset): adjust
15737
15738 2001-05-30  Juergen Vigna  <jug@sad.it>
15739
15740         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15741         to check pspell I add this as default as I now have new pspell
15742         libraries and they seem to use this.
15743
15744 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * text2.C (CutSelection): make the cursor valid before the call to
15747         ClearSelection.
15748
15749 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15752         relied on 0 terminated strings and other horrors. Bug found due to
15753         the new assert in lyxstring!
15754
15755         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15756         KP_ keys.
15757
15758 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15761         to latinkeys.bind.
15762
15763         * lyxfunc.C (processKeySym): change method of getting to the
15764         self-insert char.
15765
15766         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15767         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15768         * BufferView_pimpl.[Ch]: here as private methods.
15769
15770 2001-05-28  Juergen Vigna  <jug@sad.it>
15771
15772         * text.C (SetHeightOfRow): added the update() call again as it is
15773         needed to initialize inset dimensions!
15774
15775 2001-05-16  Juergen Vigna  <jug@sad.it>
15776
15777         * text2.C (SetCharFont): Add new function with BufferView * and
15778         bool toggleall parameters for setting insets internal fonts.
15779         (SetFont): Freeze the undo as we may change fonts in Insets and
15780         all this change should be inside only one Undo!
15781
15782         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15783         setting font's in insets as for them we have the SetFont function!
15784
15785 2001-05-15  Juergen Vigna  <jug@sad.it>
15786
15787         * text2.C (ClearSelection): to be sure we REALLY don't have any
15788         selection anymore!
15789
15790         * tabular.C (TeXCellPreamble): fixed the left border problem for
15791         multicolumn cells.
15792
15793 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15794
15795         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15796         dependancy file
15797
15798 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15799
15800         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15801         LFUN_BREAKPARAGRAPH.
15802
15803         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15804         help test to "internal only", similar for LFUN_INSERT_URL
15805
15806         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15807         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15808         auto_region_delete and deadkeys.
15809
15810 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15811
15812         * LColor.h:
15813         * LColor.C: remove some dead entries, tidy a little
15814
15815 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15816
15817         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15818         commented code.
15819         (Dispatch): implement LFUN_ESCAPE
15820
15821         * commandtags.h: add LFUN_ESCAPE
15822
15823         * LyXAction.C (init): add entry for LFUN_ESCAPE
15824
15825         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15826         Remove commented code.
15827         (insertNote): moved here
15828         (open_new_inset): moved here
15829
15830         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15831         BufferView_pimpl
15832
15833 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * kbmap.C (findbinding): clean it up and make it work correctly.
15836
15837         * lyx_main.C (init): do not pass argc and argv as parameters
15838
15839 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15840
15841         * buffer.C: fix path for OS/2 & Win32
15842
15843         * lyx_gui.C:
15844         * lyx_main:
15845         * lyx_main.C: Added os:: class.
15846
15847         * os2_defines.h: update
15848
15849 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15852         better by trying again with reduced state.
15853
15854 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15855
15856         * lyxrc.C (read): print error about invalid key sequence only when
15857         debugging (because not all latinX keysyms are known to some X
15858         servers)
15859
15860         * kbsequence.C (getiso): add a few std:: qualifiers
15861         (getiso): comment out extra return statement.
15862
15863 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15866         handling.
15867         (Dispatch): enhance the accent inset a bit. (not perfect)
15868
15869 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15870
15871         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15872
15873 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * bufferlist.C (emergencyWrite): fix assert() call
15876
15877 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15878
15879         * text.C (InsertChar): Added trivial patch to only send the "you
15880         can not do multiple spaces this way" message once during a
15881         session.
15882
15883 2001-05-08  Baruch Even  <baruch@lyx.org>
15884
15885         * Makefile.am: Changed order of libraries to get LyX to link properly
15886         with the gnome frontend.
15887
15888 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15889
15890         * LaTeXFeatures.h: add a std:: qualifier
15891
15892 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * paragraph.C (String): use stringstream
15895
15896 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * paragraph.C (writeFile): remove footflag arg
15899
15900         * buffer.C (makeLaTeXFile): use stringstream
15901         (latexParagraphs): remove footnot gurba
15902
15903         * LaTeXFeatures.C (getPackages): use stringstream
15904         (getMacros): likewise
15905         (getTClassPreamble): likewise
15906         (getFloatDefinitions): new method
15907
15908         * paragraph.C (writeFile): reindent
15909         (Erase): reindent
15910
15911         * WorkArea.h: revert the xpos + etc changes.
15912
15913         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15914
15915         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15916
15917         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15918         (pasteSelection): likewise
15919         * text2.C (CreateUndo): likewise
15920
15921 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * minibuffer.C (peek_event): temporarily reduce the functionality
15924         of the minibuffer (to allow args on lfuns)
15925
15926         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15927         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15928
15929         * buffer.C (readInset): add compability reading of old float
15930         lists, add reading of new style float list.
15931         (readInset): avoid reevaluation of inscmd.getCmdName()
15932         (getLists): reindent
15933
15934         * MenuBackend.C (MenuItem): implement parsing of
15935         md_floatlistinsert and md_floatinsert.
15936         (expand::LastFiles): move initalizaton of iterators out of loop,
15937         avoid reevaluation.
15938         (expand::Documents): introduce typdedef vector<string> Strings,
15939         and use it.
15940         (expand::ExportFormats): introduce typedef vector<Format const *>
15941         Formats, and use it.
15942         (expand): implement FloatListInsert and FloatInsert.
15943
15944         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15945         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15946         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15947
15948         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15949         handling.
15950         (Dispatch::LFUN_FLOAT_LIST): implement
15951
15952 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15953
15954         * LaTeX.C (run): Fix problem with --export code.
15955
15956 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15957
15958         * BufferView.[Ch] (workarea): removed.
15959         (getClipboard) new method; wrapper for workarea()->getClipboard()
15960
15961         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15962         bug.
15963
15964         * WorkArea.h (width, height, xpos, ypos): These methods all
15965         returned the dimensions of the work_area sub-area of WorkArea,
15966         resulting in a position error if the WorkArea were resized. Now
15967         return the dimensions of the entire WorkArea.
15968
15969         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15970
15971 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * LaTeX.C (deplog): correct the syntax of regex reg1
15974
15975 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * undo.C: remove !NEW_INSETS cruft
15978
15979 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * text2.C: remove !NEW_INSETS cruft
15982
15983         * text.C: remove !NEW_INSETS cruft
15984
15985         * tabular.C: remove !NEW_INSETS cruft
15986
15987         * spellchecker.C: remove !NEW_INSETS cruft
15988
15989         * lyxtext.h: remove !NEW_INSETS cruft
15990
15991         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15992
15993         * lyxfunc.C: remove !NEW_INSETS cruft
15994
15995         * lyxfind.C: remove !NEW_INSETS cruft
15996
15997         * lyx_cb.C: remove !NEW_INSETS cruft
15998
15999         * figureForm.C: remove  !NEW_INSETS cruft
16000
16001         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16002
16003         * buffer.[Ch]: remove !NEW_INSETS cruft
16004
16005         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16006
16007         * CutAndPaste.C: remove !NEW_INSETS cruft
16008
16009         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16010
16011         * BufferView2.C: remove !NEW_INSETS cruft
16012
16013         * BufferView.h: remove !NEW_INSETS cruft
16014
16015 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16016
16017         * Lsstream.h: include LString.h before the sstream headers to
16018         fix problem with gcc 2.95.3 and lyxstring
16019
16020 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * lyx_main.C: add using directives when needed for C functions
16023         declared in std:: namespace.
16024
16025 2001-04-27  Juergen Vigna  <jug@sad.it>
16026
16027         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16028         (SetHeightOfRow): comment out the update call should not be needed!
16029
16030 2001-04-13  Juergen Vigna  <jug@sad.it>
16031
16032         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16033         (LyXTabular): tried to minimize operator= operations (and realized
16034         hopfully Lars wish).
16035
16036 2001-04-27  Juergen Vigna  <jug@sad.it>
16037
16038         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16039
16040 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16043
16044         * buffer.C (readInset): hack to make listof algorithm work
16045
16046         * BufferView_pimpl.C: hack to make listof algorithm work
16047
16048 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16049
16050         * LyXAction.C: removed all !NEW_INSETS cruft
16051         (init): moved lfun_item in method
16052
16053         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16054
16055 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16056
16057         * BufferView2.C (theLockingInset): white space.
16058
16059 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16060
16061         * minibuffer.C: include <iostream>
16062
16063         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16064
16065         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16066
16067         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16068
16069         * text.[Ch] (TransposeChars): new method
16070
16071 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16072
16073         * call message directly through LyXView instead of through LyXFunc
16074         * BufferView2.C: adjust
16075         * BufferView_pimpl.C: adjust
16076         * FontLoader.C: adjust
16077         * buffer.C: adjust
16078         * bufferview_funcs.C: adjust
16079         * converter.C: adjust
16080         * figureForm.C: adjust
16081         * importer.C: adjust
16082         * lyx_cb.C: adjust
16083         * lyx_gui_misc.C: adjust
16084         * lyxfunc.C: adjust
16085         * lyxvc.C: adjust
16086         * text2.C: adjust
16087         + more files in subdirs
16088
16089         * lyxparagraph.h (size): move up int file
16090         (GetLayout): ditto
16091
16092         * adjust all uses of Assert to lyx::Assert.
16093
16094         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16095         lyxfunctional in namespace lyx
16096         * layout.C (hasLayout): ditto
16097         (GetLayout): ditto
16098         (GetLayout): ditto
16099         (delete_layout): ditto
16100         (NumberOfClass): ditto
16101         * converter.C (GetFormat): ditto
16102         (GetNumber): ditto
16103         (Add): ditto
16104         (Delete): ditto
16105         (SetViewer): ditto
16106         * bufferlist.C (getFileNames): ditto
16107         (emergencyWriteAll): ditto
16108         (exists): ditto
16109         (getBuffer): ditto
16110         * MenuBackend.C (hasSubmenu): ditto
16111         (hasMenu): ditto
16112         (getMenu): ditto
16113         * BufferView_pimpl.C (getInsetByCode): ditto
16114
16115 2001-04-18  Juergen Vigna  <jug@sad.it>
16116
16117         * vspace.C (asLatexString): fixed the 100% problem.
16118
16119 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16120
16121         * lyxfunc.C (Dispatch):
16122         * minibuffer.C:
16123         * minibuffer.h: add a few std:: qualifiers
16124
16125 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * minibuffer.[Ch]: reimplement so that commands is initiated and
16128         run from lyxfunc, simplified som handling, and made the completion
16129         and history code for complete. wip.
16130
16131         * lyxfunc.C (processKeySym): call message
16132         (miniDispatch): new temporary method
16133         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16134         (LFUN_MESSAGE): implement
16135         (LFUN_MESSAGE_PUSH): implement
16136         (LFUN_MESSAGE_POP): implement
16137         (initMiniBuffer): the initial/defualt minibuffer message.
16138
16139         * lyxfont.[Ch]: inline some more getters
16140
16141         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16142
16143         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16144
16145         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16146         (AutoSave): use LFUN_MESSAGE
16147         (Reconfigure): ditto
16148
16149         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16150
16151         * figureForm.C: use LFUN_MESSAGE
16152
16153         * converter.C (runLaTeX): use LFUN_MESSAGE
16154
16155         * bufferview_funcs.C: use LFUN_MESSAGE
16156         (Melt): ditto
16157         (changeDepth): ditto
16158
16159         * bufferparams.h: use boost::
16160
16161         * bufferlist.h: inherit privately from noncopyable
16162
16163         * bufferlist.C (loadLyXFile): remove some commented code.
16164
16165         * buffer.C (runChktex): use LFUN_MESSAGE
16166
16167         * ShareContainer.h: inherit privately from noncopyable
16168
16169         * ParagraphParameters.[hC] (depth): inline it.
16170
16171         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16172         methods.
16173         (message): new method
16174         (messagePush): ditto
16175         (messagePop): ditto
16176         (show): init minibuffer
16177         (showState): direct call
16178
16179         * LaTeX.[Ch]: inherit privately from noncopyable
16180         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16181         instead of WriteStatus.
16182
16183         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16184
16185         * BufferView_pimpl.C (buffer): don't init minibuffer
16186         (workAreaButtonPress): use LFUN_MESSAGE
16187         (workAreaButtonRelease): ditto
16188         (savePosition): ditto
16189         (restorePosition): ditto
16190         (MenuInsertLyXFile): ditto
16191         (workAreaExpose): don't init minibuffer
16192         (update): remove commented code, simplify
16193
16194         * BufferView2.C (openStuff): use LFUN_MESSAGE
16195         (toggleFloat): ditto
16196         (menuUndo): ditto
16197         (menuRedo): ditto
16198         (copyEnvironment): ditto
16199         (pasteEnvironment): ditto
16200         (copy): ditto
16201         (cut): ditto
16202         (paste): ditto
16203         (gotoInset): ditto
16204         (updateInset): remove some commented code
16205
16206         * lastfiles.h: inherit privately from noncopyable
16207         * layout.h: ditto
16208         * lyx_gui.h: ditto
16209         * lyx_main.h: ditto
16210         * lyxlex.h: ditto
16211         * lyxlex_pimpl.h: ditto
16212
16213         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16214         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16215         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16216
16217         * LyXAction.h: inherit privately from noncopyable, add methods
16218         func_begin, func_end, returning iterators to the func map.
16219
16220         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16221         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16222         (func_begin): new method
16223         (func_end): new method
16224
16225         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16226         and not)
16227         (copySelection): ditto
16228         (pasteSelection): ditto
16229
16230         * BufferView.C: whitespace change
16231         * BufferView.h: inherit privately from noncopyable
16232
16233 2001-04-16  Allan Rae  <rae@lyx.org>
16234
16235         * tabular-old.C (l_getline):
16236         * spellchecker.C (sc_check_word):
16237         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16238         an unrecognised preprocessor directive.  So ensure they're wrapped.
16239
16240 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * src/exporter.C (Export): Give an error message when path to file
16243         contains spaces.
16244
16245 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16246
16247         * LaTeX.C (deplog): Always check that foundfile exists.
16248
16249 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * lyx_main.h:
16252         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16253
16254 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * tabular.[Ch] (getLabelList): implement new method
16257
16258         * minibuffer.h: comment ouf setTiimer
16259
16260         * minibuffer.C (ExecutingCB): constify res
16261         (peek_event): constify s
16262         (Set): constify ntext
16263         (Init): constify nicename
16264
16265         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16266
16267         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16268         (savePosition): use two params to Minibuffer::Set
16269         (restorePosition): ditto
16270
16271 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16272
16273         * lyx_main.C: include language.h
16274
16275         * Makefile.am (lyx_main.o): add language.h
16276
16277 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16278
16279         * exporter.C:
16280         * paragraph.C:
16281         * screen.C:
16282         * tabular.C:
16283         * CutAndPaste.C: include gettext.h
16284
16285         * lyxfont.h: remove old hack with ON and OFF.
16286
16287         * lyxparagraph.h:
16288         * lyxfont.h: do not include language.h...
16289
16290         * BufferView2.C:
16291         * LaTeXFeatures.C:
16292         * Painter.C:
16293         * bufferview_funcs.C:
16294         * font.C:
16295         * lyxfont.C:
16296         * text.C:
16297         * text2.C:
16298         * trans_mgr.C:
16299         * paragraph.C: ... but do it here instead
16300
16301 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16302
16303         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16304
16305         * tabular.C: small reformat
16306
16307         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16308         NEW_INSETS version
16309         (GetChar): ditto
16310         (BreakParagraph): ditto
16311         (SetOnlyLayout): ditto
16312         (SetLayout): ditto
16313
16314         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16315         with one arg less.
16316
16317         * lastfiles.C: removed most using decl, add std:: where needed
16318
16319         * buffer.C: ws changes
16320
16321         * MenuBackend.C (class compare_format): put into anon namespace
16322         (expand): constify label, names, action, action2
16323         (expand):
16324
16325         * text.C (SingleWidth): constify font
16326         (IsBoundary): constify rtl2
16327         (GetVisibleRow): constify ww
16328
16329         * LaTeX.C (deplog): constify logfile
16330
16331         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16332         start_x, end_x
16333         (workAreaExpose): constify widthChange, heightChange
16334
16335         * lyxrow.C (par): moved
16336         (height): moved
16337         (next): moved
16338         * lyxrow.h: as inlines here
16339
16340         * lyxfont.h (shape): moved from lyxfont.C
16341         (emph): moved from lyxfont.C
16342
16343         * lyxfont.C (LyXFont): use initialization list for all
16344         constructors
16345         (shape): move to lyxfont.h as inline
16346         (emph): move to lyxfont.h as inline
16347
16348
16349 2001-04-04  Juergen Vigna  <jug@sad.it>
16350
16351         * vspace.C: had to include stdio.h for use of sscanf
16352
16353 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16354
16355         * BufferView.h:
16356         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16357         independent of xforms.
16358
16359 2001-04-02  Juergen Vigna  <jug@sad.it>
16360
16361         * spellchecker.C: fixed namespace placing!
16362
16363 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16364
16365         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16366         the LyXParagraph * is 0.
16367
16368 2001-03-29  Juergen Vigna  <jug@sad.it>
16369
16370         * vspace.C: added support for %, c%, p%, l%.
16371         (stringFromUnit): added helper function.
16372         (asLatexString): changed to give right results for the %-values.
16373
16374         * buffer.C: convert the widthp in a width%.
16375
16376 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16377
16378         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16379         figureForm.[Ch].
16380
16381         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16382         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16383
16384         * lyx_cb.[Ch]: see above.
16385
16386         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16387         form1.[Ch].
16388
16389         * form1.[Ch]:
16390         * lyx.[Ch]: replaced by figure_form.[Ch].
16391
16392         * lyx_gui.C:
16393         * lyx_gui_misc.C:
16394         * lyxfunc.C: changed headers associated with above changes.
16395
16396 2001-03-27  Juergen Vigna  <jug@sad.it>
16397
16398         * BufferView_pimpl.C: set the temporary cursor right!
16399
16400 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16401
16402         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16403
16404 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16405
16406         * LString.h: removed "using std::getline"!
16407
16408         * BufferView_pimpl.C (Dispatch): changes due to changes in
16409         InsetInclude::Params.
16410
16411         * buffer.C (tag_name): removed redundant break statements as they were
16412         producing lots of warnings with my compiler.
16413
16414 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * LString.h: add "using std::getline" when using the real <string>.
16417
16418 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16419
16420         * buffer.C: removed bitset usage.
16421         PAR_TAG moved to an anonymous name space.
16422         (tag_name): new funtion, also in the anonymous namespace.
16423         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16424         (makeDocBookFile): clean code. Completed transition from string arrays
16425         to string vectors.
16426         (SimpleDocBookOnePar): code clean.
16427
16428 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16429
16430         * tabular.C: add some comments.
16431
16432 2001-03-22  Juergen Vigna  <jug@sad.it>
16433
16434         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16435         compatibility read a bit and fixed bug with minipage in different
16436         depth.
16437
16438 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16439
16440         * buffer.C (pop_tag): removed.
16441         (push_tag): removed.
16442         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16443         array replaced with vector. Added support for CDATA sections.
16444         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16445         at any nest level.
16446         (makeDocBookFile): XML conformant declaration of CDATA section,
16447         fixed bug related to <emphasis> in the first paragraph char.
16448         (sgmlOpenTag): exclude empty tags.
16449         (sgmlCloseTag): ditto.
16450
16451         * buffer.h (pop_tag): removed.
16452         (push_tag): removed.
16453
16454 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16455
16456         * language.h (Languages): added size_type and size().
16457
16458 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16459
16460         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16461         response on compability reading of minipages. One probliem is that
16462         the old usage of minipages was «flertydig»
16463
16464         * several files here and in subdirs: don't use static at file
16465         scope use anon namespaces instead.
16466
16467 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16468
16469         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16470         LaTeX output. This is necessary for Literate document
16471         processing.
16472
16473 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16474
16475         * buffer.C: insert hfill when needed.
16476
16477         * tabular.C (l_getline): use string::erase, small whitespace change.
16478
16479         * BufferView_pimpl.C: try the anon namespace.
16480         * WorkArea.C: ditto
16481
16482 2001-03-16  Juergen Vigna  <jug@sad.it>
16483
16484         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16485         otherwise it won't open options-dialogs.
16486
16487         * buffer.C: honor pextraWidth(p) on converting minipages.
16488
16489         * tabular.C (l_getline): changed the functions to strip trailing \r.
16490
16491 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16492
16493         * BufferView_pimpl.C:
16494         * minibuffer..C: added "using SigC::slot" declaration.
16495
16496 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16497
16498         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16499
16500         * text2.C: ditto
16501
16502         * text.C: ditto
16503
16504         * paragraph.C: ditto
16505
16506         * lyxtext.h: NO_PEXTRA
16507
16508         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16509
16510         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16511         * ParameterStruct.h: ditto
16512         * ParagraphParameters.h: ditto
16513         * lyxparagraph.h: ditto
16514
16515 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16516
16517         * buffer.C: add compability for minipage alignment.
16518         (latexParagraphs): remove unwanted pextra check.
16519
16520         * several files: remove CXX_WORKING_NAMESPACES
16521
16522         * buffer.C (pop_tag): tie is in namespace boost
16523
16524         * BufferView.h: noncopyable is in namespace boost
16525         * lyxlex.h: ditto
16526         * lyx_main.h: ditto
16527         * lyx_gui.h: ditto
16528         * layout.h: ditto
16529         * lastfiles.h: ditto
16530         * bufferlist.h: ditto
16531         * ShareContainer.h: ditto
16532         * LyXView.h: ditto
16533         * LyXAction.h: ditto
16534         * LaTeX.h: ditto
16535
16536 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16537
16538         * Merging changes from BRANCH_MVC back into HEAD.
16539
16540         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16541
16542 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16543
16544         * BufferView_pimpl.C: change from intl.C
16545
16546         * combox.h:
16547         * combox.C:
16548         * Makefile.am: move combox.*
16549
16550         * form1.h:
16551         * form1.C:
16552         * lyx_gui.C:
16553         * intl.h:
16554         * intl.C: remove dialog (covered by prefs)
16555
16556 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16557
16558         * lyxfunc.C (Dispatch): removed redundant break statement.
16559
16560 2001-03-14  Juergen Vigna  <jug@sad.it>
16561
16562         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16563
16564 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16565
16566         * buffer.C: add hack to fix compability reading of minipages.
16567
16568 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16569
16570         * buffer.C (getLists): Cleanup.
16571
16572 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * lyxfont.C (update): don't honor toggleall on font size.
16575
16576 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16577
16578         * bmtable.c:
16579         * bmtable.h:
16580         * Makefile.am: moved to frontends/xforms/
16581
16582         * lyx_gui_misc.C:
16583         * lyxfunc.C:
16584         * BufferView_pimpl.C: changes for moved mathpanel
16585
16586 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16587
16588         * gettext.h: fix gettext_init() in --disable-nls
16589
16590 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16591
16592         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16593
16594 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * lyx.C:
16597         * lyx.h: strip external form
16598
16599 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16600
16601         * BufferView_pimpl.C: add comment, destroySplash()
16602
16603 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * BufferView_pimpl.C:
16606         * LyXAction.C:
16607         * buffer.C:
16608         * commandtags.h:
16609         * lyxfunc.C: use re-worked insetinclude
16610
16611 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16612
16613         * buffer.C: add using std::stringstream.
16614
16615         * lyx_cb.C: readd using std::ios.
16616
16617         * buffer.C: add using std::map.
16618
16619         * BufferView_pimpl.C: add using std::vector.
16620
16621         * ShareContainer.h: add std:: to swap.
16622
16623         * buffer.h: add some typedefs
16624         * buffer.C (getLists): use them
16625         (getLists): renamed from getTocList.
16626         add a counter for the different float types and use it in the
16627         generated string.
16628         (getLists): use the same counter for the NEW_INSETS and the "non"
16629         NEW_INSETS
16630
16631         * lyx_cb.h: remove unused items, includes, using etc.
16632
16633         * ShareContainer.h: remove some commented code, add more comments
16634         and "documentation".
16635
16636 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16637
16638         * buffer.C (getTocList): make the list also when NEW_INSETS is
16639         defined.
16640
16641         * buffer.h: remove TocType
16642
16643         * buffer.C (getTocList): change to return a map<string,
16644         vector<TocItem> >, implement for dynamic number of list.
16645
16646         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16647         * text2.C (PasteSelection): adjust
16648         * CutAndPaste.C (pasteSelection): adjust
16649
16650         * FloatList.C (FloatList): update from the new_insets branch.
16651         * Floating.[Ch]: ditto
16652         * LaTeXFeatures.C: ditto
16653         * buffer.C: ditto
16654         * lyxlex_pimpl.C: ditto
16655
16656         * paragraph.C (Last): remove when NEW_INSETS is defined.
16657
16658         * other file: changes because of the above.
16659
16660 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16661
16662         * lyxparagraph.h: rename next to next_, previous to previous_,
16663         make them private for NEW_INSETS. Rename Next() to next(),
16664         Previous() to previous().
16665
16666         * other files: changes because of the above.
16667
16668 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16669
16670         * BufferView.h:
16671         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16672         problem.
16673
16674 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16675
16676         * main.C (main): pass lyx_localedir to gettext_init().
16677
16678         * gettext.h: remove locale_init and gettext_init macros
16679
16680         * gettext.C (locale_init): new function
16681         (gettext_init): new function
16682
16683         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16684         setlocale().
16685
16686 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16687
16688         * Moved credits to frontends:
16689         * credits.[Ch]: removed
16690         * credits_form.[Ch]: removed
16691         * lyx_gui_misc.C: remove credits stuff
16692         * Makefile.am:
16693
16694 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16695
16696         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16697
16698         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16699         unneeded destructor.
16700
16701         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16702         a standalone pointer again.
16703
16704         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16705
16706 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16707
16708         * Makefile.am:
16709         * filedlg.h:
16710         * filedlg.C:
16711         * LyXAction.C:
16712         * ToolbarDefaults.C:
16713         * bufferlist.C:
16714         * commandtags.h:
16715         * form1.C:
16716         * form1.h:
16717         * lyx_cb.C:
16718         * lyx_cb.h:
16719         * lyxfunc.h:
16720         * lyxfunc.C:
16721         * BufferView_pimpl.C: use new file dialog in GUII
16722
16723         * lyx_cb.h:
16724         * lyx_cb.C: remove LayoutsCB to Toolbar
16725
16726 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16727
16728         * ShareContainer.h (get): add std:: qualifier
16729
16730 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16731
16732         * ShareContainer.h: define a proper ShareContainer::value_type
16733         type (and use typename to please compaq cxx)
16734
16735 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16736
16737         * lyxparagraph.h: move serveral local vars to
16738         ParameterStruct/ParagraphParameters., use ShareContainer in
16739         FontTable., make vars in FontTable private and add getter and
16740         setter.
16741
16742         * paragraph.C: changes because of the above.
16743
16744         * lyxfont.h: remove copy constructor and copy assignment. (the
16745         default ones is ok), move number inside FontBits. move inlines to
16746         lyxfont.C
16747
16748         * lyxfont.C: add number to initializaton of statics, move several
16749         inlines here. constify several local vars. some whitespace
16750         cleanup. Dont hide outerscope variables.
16751
16752         * Spacing.h: add two new constructors to match the set methods.
16753
16754         * ShareContainer.h: new file, will perhaps be moved to support
16755
16756         * ParameterStruct.h: new file
16757
16758         * ParagraphParameters.h: new file
16759
16760         * ParagraphParameters.C: new file
16761
16762         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16763         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16764
16765         * BufferView_pimpl.C: ParagraphParameter changes.
16766         * buffer.C: Likewise.
16767         * bufferview_funcs.C: Likewise.
16768         * text.C: Likewise.
16769         * text2.C: Likewise.
16770
16771 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16772
16773         * lyxfind.C (LyXReplace): do not redefine default argument in
16774         implementation.
16775         (IsStringInText): ditto
16776         (SearchForward): ditto
16777         (SearchBackward): ditto
16778
16779 2001-03-06  Juergen Vigna  <jug@sad.it>
16780
16781         * lyxfind.C (IsStringInText): put parentes around expressions.
16782
16783 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16784
16785         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16786
16787 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16788
16789         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16790
16791         * stl_string_fwd.h: add comment
16792
16793         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16794
16795         * tabular.h:
16796         * tabular.C: remove unused DocBook methods
16797
16798         * intl.C:
16799         * language.C:
16800         * paragraph.C:
16801         * buffer.C:
16802         killed DO_USE_DEFAULT_LANGUAGE
16803
16804 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16805
16806         * lyx_gui.C: do not include language.h.
16807
16808         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16809         arguments in function implementation.
16810
16811 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16812
16813         * BufferView_pimpl.C: add <ctime>
16814
16815 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16816
16817         * BufferView_pimpl.C: add using std::find_if
16818
16819 2001-02-27  José Matos  <jamatos@fep.up.pt>
16820
16821         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16822         by OnlyPath.
16823
16824 2001-02-11  José Matos  <jamatos@fep.up.pt>
16825
16826         * buffer.C (makeDocBookFile): command styles now have a parameter as
16827         "title" by default.
16828
16829 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16830
16831         * layout_forms.[Ch]: removed
16832         * lyx_cb.[Ch]: out character
16833         * lyx_gui.C: out character
16834         * lyx_gui_misc.C: out character
16835         * bufferview_funcs.C: : out character,
16836         added toggleall as parameter in ToggleAndShow
16837
16838 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16839
16840         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16841
16842         * text2.C (SetCurrentFont): Disable number property at boundary.
16843
16844 2001-02-26  Juergen Vigna  <jug@sad.it>
16845
16846         * lyxfunc.C (getStatus): added a string argument override function so
16847         that this is correctly called from LyXFunc::Dispatch if it contains a
16848         do_not_use_argument which is used!
16849         (Dispatch): added check for "custom" export and call appropriate func.
16850
16851 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16852
16853         * lyxrc.C: Add language_command_local, language_use_babel and
16854         language_global_options.
16855
16856         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16857
16858         * buffer.C (makeLaTeXFile): Use language_use_babel and
16859         language_global_options.
16860
16861 2001-02-23  Juergen Vigna  <jug@sad.it>
16862
16863         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16864         which works with LyXText and putted it inside BufferView. Here now we
16865         only call for that part the BufferView::Dispatch() function.
16866
16867         * BufferView.C (Dispatch): added.
16868
16869         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16870         functions which needs to use a LyXText over from LyXFunc.
16871         (MenuInsertLyXFile): added
16872         (getInsetByCode): added
16873         (moveCursorUpdate): added
16874         (static TEXT): added
16875
16876 2001-02-22  Juergen Vigna  <jug@sad.it>
16877
16878         * BufferView_pimpl.C (update): call a status update to see if LyXText
16879         needs it.
16880
16881 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16882
16883         * vc-backend.C (revert): implement for CVS
16884         (getLog): implement for CVS
16885
16886 2001-02-20  Juergen Vigna  <jug@sad.it>
16887
16888         * text2.C (ClearSelection): added BufferView param for inset_owner call
16889
16890         * lyxfunc.C (TEXT): added this function and use it instead of
16891         directly owner->view()-text of getLyXText().
16892
16893 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16894
16895         * src/layout_forms.C: out preamble
16896         * src/layout_forms.h: out preamble
16897         * src/lyx_cb.C: out preamble
16898         * src/lyx_cb.h: out preamble
16899         * src/lyx_gui.C: out preamble
16900         * src/lyx_gui_misc.C: out preamble
16901         * src/lyxfunc.C: connect with guii preamble
16902
16903 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16904
16905         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16906
16907 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16908
16909         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16910         whether to run bibtex.
16911
16912 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16913
16914         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16915
16916 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16917
16918         * Makefile.am (lyx_SOURCES): removed bibforms.h
16919
16920         * vspace.h: doxygen
16921
16922         * text.C (GetVisibleRow): make several local vars const
16923
16924         * tabular.C: small cleanup.
16925
16926         * lyxserver.C (callback): use compare instead of strncmp
16927
16928         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16929         inlines to after class or to paragraph.C
16930
16931         * lyxfont.h: remove friend operator!=
16932
16933         * converter.h: move friend bool operator< to non friend and after
16934         class def.
16935
16936         * combox.h: small cleanup
16937
16938         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16939         to inlines after class def.
16940
16941         * buffer.C (pop_tag): use string operations instead of strcmp
16942
16943         * bmtable.c: doxygen, small cleanup
16944
16945         * LaTeX.h: remove friend operator==
16946
16947 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16948
16949         * screen.C:
16950         * lyxrc.[Ch]:
16951         * lyxfunc.C:
16952         * lyxfont.[Ch]:
16953         * lyx_cb.C:
16954         * intl.[Ch]:
16955         * commandtags.h:
16956         * buffer.C:
16957         * WorkArea.[Ch]:
16958         * LyXAction.C:
16959         * BufferView_pimpl.C:
16960         * BufferView.[Ch]: remove cruft
16961
16962 2001-02-14  Juergen Vigna  <jug@sad.it>
16963
16964         * lyxfunc.C: removed #if 0 unused code
16965
16966         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16967
16968         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16969
16970         * text2.C (SetSelection): added a BufferView * parameter
16971
16972 2001-02-13  Juergen Vigna  <jug@sad.it>
16973
16974         * lyxfunc.C (Dispatch): fixed protected blank problem.
16975         * BufferView2.C (protectedBlank): added LyxText * parameter.
16976
16977         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16978         (AppendColumn): same as above for column_info.
16979
16980         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16981         (moveCursorUpdate): use a LyXText param for support of InsetText.
16982
16983         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16984         (tripleClick): ditto
16985
16986         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16987
16988         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16989
16990         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16991
16992         * text2.C (SetSelection): set correct update status if inset_owner
16993         (ToggleFree): ditto
16994
16995 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16996
16997         * tabular.C: remove some commented code.
16998
16999 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17000
17001         * BufferView_pimpl.C: call hideSplash()
17002
17003         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17004
17005         * include_form.h:
17006         * bibforms.h: remove
17007
17008         * lyxfunc.C:
17009         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17010           add LFUN_CHILD_CREATE
17011
17012         * counters.h: fix tiny typo
17013
17014         * lyx_cb.C:
17015         * lyx.h:
17016         * lyx_gui.C:
17017         * lyx.C: move splash to frontends/xforms/
17018
17019         * lyx_gui_misc.C: move Include and Bibform to frontends
17020
17021         * lyxvc.h: clarify comment
17022
17023         * vspace.C: tiny housekeeping
17024
17025 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17026
17027         * text.C (PrepareToPrint): RTL Fix.
17028
17029         * paragraph.C (GetUChar): New method.
17030         (String):  Use GetUChar.
17031
17032         * buffer.C (asciiParagraph): Use GetUChar.
17033
17034 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17035
17036         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17037
17038 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17039
17040         * buffer.h:
17041         * buffer.C: rename to getLogName(), handle
17042           build log / latex log nicely
17043
17044 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17045
17046         * MenuBackend.C:
17047         * MenuBackend.h: remove support for reference menuitem type.
17048
17049 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17050
17051         * BufferView_pimpl.C: housekeeping
17052         * BufferView_pimpl.h:
17053         * LyXView.h:
17054         * Makefile.am:
17055         * Timeout.C:
17056         * Timeout.h:
17057         * minibuffer.h: move Timeout GUI-I
17058
17059 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17060
17061         * lyxrc.C (read): Update converters data-structures.
17062
17063 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17064
17065         * LaTeX.h (operator!=): add operator != for Aux_Info
17066
17067 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17068
17069         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17070
17071         * LaTeXLog.C: deleted, useful code moved to Buffer
17072
17073         * buffer.h:
17074         * buffer.C: new function getLatexLogName()
17075
17076         * lyx_gui_misc.C:
17077         * lyx_gui.C:
17078         * lyxvc.C:
17079         * lyxvc.h:
17080         * lyxfunc.C: use frontends for LaTeX and VC logs
17081
17082 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17083
17084         * LaTeX.h: yet another std:: that Allan forgot.
17085
17086         * Variables.C (set): renamed from isset(), because this clashes
17087         with some HP-UX macros (grr).
17088
17089 2001-02-06  Allan Rae  <rae@lyx.org>
17090
17091         * LaTeX.h: Another bug fix.  Missing std:: this time.
17092
17093 2001-02-04  Allan Rae  <rae@lyx.org>
17094
17095         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17096         floats problem. I've left it commented out because it's not quite
17097         correct.  It should also test that the current object is a table or
17098         figure inset.  But I haven't gotten around to figuring out how to do
17099         that.  I *think* it'll be something like: "table" == inset.type()
17100
17101         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17102         bool.
17103
17104 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17105
17106         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17107         all the citation/databases/styles in the auxilary file.
17108         (run): Rerun latex if there was a babel language error.
17109
17110 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17111
17112         * text.C (Backspace): Preserve the font when changing newline char
17113         with a space.
17114         (BreakParagraph): If the cursor is before a space, delete the space.
17115
17116         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17117
17118 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17119
17120         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17121         new argument (code).
17122         (ChangeCitationsIfUnique): New method.
17123
17124         * paragraph.C (GetPositionOfInset): Handle bibkey.
17125
17126 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * BufferView_pimpl.h: change type of Position::par_pos to
17129         LyXParagraph::size_type.
17130
17131 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * BufferView_pimpl.C (savePosition, restorePosition): Write
17134         messages to minibuffer.
17135
17136 2001-01-28  José Matos  <jamatos@fep.up.pt>
17137
17138         * buffer.C (makeDocBookFile): adds support for document language.
17139         A silly restriction on the name of LatexCommand types where removed.
17140         Added support for CDATA sections, allows to chars unescaped, used
17141         among others in code, to avoid escape < and >.
17142
17143 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17144
17145         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17146         saved positions instrad of a stack. Furthermore, a position is
17147         stored using paragraph id/paragraph position.
17148
17149         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17150         Remove LFUN_REF_BACK.
17151
17152 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17153
17154         * converter.C (dvipdfm_options): New method.
17155
17156 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17157
17158         * vspace.C (isValidLength): Fix for empty input string.
17159
17160 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17161
17162         * LyXAction.C (init): change description of LFUN_FIGURE to
17163         "Insert Graphics"
17164
17165 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17166
17167         * LaTeX.C: add using directive
17168
17169 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17170
17171         * MenuBackend.C (expand): Fix the sorting of the formats.
17172
17173 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17174
17175         * lyx_main.C: tiny error message fix
17176
17177 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17178
17179         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17180         calling fl_initialize(). This fixes the problem with ',' as
17181         decimal separator in text files.
17182
17183 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17184
17185         * trans.C (process): Fix the keymap bug.
17186
17187 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17188
17189         * LaTeX.C (scanAuxFiles): New method. Provides support for
17190         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17191         (scanLogFile) Scan for "run BibTeX" messages.
17192
17193         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17194         OT1 font encoding. Also, load the aecompl package if the ae
17195         package is loaded.
17196
17197         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17198
17199 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * texrow.C (increasePos): turn two error messages into debug
17202         messages.
17203
17204 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17205
17206         * LaTeX.C (scanAux): Handle the \@input macro.
17207         (runBibTeX): Use scanAux().
17208
17209         * language.C (latex_options_): New field.
17210
17211         * LaTeXFeatures.C (getMacros): Add language macros.
17212
17213         * buffer.C (makeLaTeXFile): Small fix.
17214
17215 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17218
17219         * text2.C: add a using directive.
17220
17221 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17222
17223         * BufferView2.C:
17224         * lyx_gui_misc.h:
17225         * lyxfr1.C:
17226         * lyxfunc.C: kill LyXBell.
17227
17228 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17229
17230         * text.C (IsBoundary): Remove the error message
17231
17232         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17233
17234         * lyxrc.C (setDefaults): Correct initialization value for
17235         font_norm_type.
17236
17237 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17238
17239         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17240         gotoError().
17241
17242         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17243         and GotoNextNote().
17244
17245         * src/LyXAction.C: Added reference-next.
17246
17247         * text.C (InsertChar): Use contains instead of strchr.
17248
17249         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17250
17251 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17252
17253         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17254         alignment commands (when needed).
17255
17256         * text.C (InsertChar): Add ':' to number separator chars.