]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix display when jumping to a toc entry
[lyx.git] / src / ChangeLog
1 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
4         but use update() to get correct screen display; use convert
5         instead of istringstream. 
6         (getStatus): handle LFUN_GOTO_PARAGRAPH 
7
8         * lyxfunc.C (dispatch, getStatus): do not handle
9         LFUN_GOTO_PARAGRAPH here.
10
11 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
12
13         * text3.C (dispatch): size() -> depth()
14
15         * text2.C: remove some debug output
16
17         * paragraph.C: ws changes only
18
19         * lyxfunc.C (getStatus): size() -> depth()
20
21         * dociterator.h (clear, push_back, pop_back, internalData,
22         operator[], resize, empty): new functions
23         Make StableDocIterator and operator== be friends. Don't inherit
24         from std::vector use a privat class variable slices_ instead.
25         Modify to fit.
26
27         * dociterator.C: update because of not inheriting from std::vector
28         anymore. Call explictly to slices_ instead. Use depth() instead of
29         size() and top() instead of back()
30
31         * cursor.C: chagne size() -> depth and back() -> top(). Also
32         remove some direct operator[](i) calls in favour of foo[i]
33         (getFont): remove some dead code
34
35         * bufferview_funcs.C (coordOffset): size() -> depth()
36
37         * buffer.C: ws changes only
38
39         * CutAndPaste.C (eraseSelection): back() -> top()
40
41         * BufferView_pimpl.C (selectionRequested): back() -> top()
42
43         * BufferView.C (setCursor): size() -> depth()
44
45 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
46
47         * text3.C (cursorPrevious): return true if depm changed something
48         (cursorNext): ditto
49         (dispatch): rename sl to oldTopSlice, remove moving use the new
50         NoUpdate func attrib instead. Make sure that needsUpdate is set
51         for function that have NoUpdate, but where depm might have changed
52         the buffer anyway.
53
54         * text2.C (cursorLeft): make us return true if depm changed
55         something
56         (cursorRight): ditto
57         (cursorUpParagraph): ditto
58         (curosrDownParagraph): ditto
59         (cursorUp, cursorDown): ditto, make sure to read comments in code
60         (deleteEmptyParagraphMechanism): remove an assert, also return
61         true if just a single char was deleted.
62
63         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
64         cursor that we modify, to avoid modifying an active cursor before
65         we call setCursor. This allows depm to run. Also return true if
66         depm deleted something.
67
68         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
69         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
70         cursorDownParagraph, cursorPrevious and cursorNext, return true if
71         something was changed in the buffer because of them (ie. depm run)
72
73         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
74         debug messages. Make update by default be false. Make sure that
75         the result of update is retained throught several calls down to
76         dispatch.
77
78         * LyXAction.h: add a new func_attrib: NoUpdate
79
80         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
81         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
82         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
83         and LFUN_WORDLEFT
84         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
85
86 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
89         bv_->owner(), bv_->buffer() by direct references to the private
90         members.
91         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
92         (getStatus): isSavedPosition() is in BufferView::Pimpl.
93         (fitCursor): center() is in BufferView::Pimpl.
94         (getStatus, trackChanges, dispatch): no need for a temporary buf
95         variable
96         (fitCursor, workAreaDispatch): use workarea().workheight()
97
98 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * CutAndPaste.C (pasteSelectionHelper): fix a crash
101
102 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * buffer.C: format up to 241.
105         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
106         break if pasting into ERT
107         * lyxfunc.C (getStatus): suppress mathpanel and
108         LFUN_DIALOG_SHOW_NEW_INSET in ERT
109
110 2005-02-01  Angus Leeming  <leeming@lyx.org>
111
112         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
113
114 2005-02-01  Angus Leeming  <leeming@lyx.org>
115
116         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
117         calling fs::is_directory().
118
119 2005-01-31  Angus Leeming  <leeming@lyx.org>
120
121         * lyx_main.C (priv_exec): specify explicitly the relative location
122         of the top level build directory when run in-place.
123
124 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
127         LyXText containing the cursor, not the top-level one.
128
129         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
130         true.
131         (insertStringAsLines): rename par to pit; use temporary variable
132         par to hold a Paragraph; do not store par.layout() in a variable,
133         since the pointer may die when breaking paragraphs; pass pars to
134         breakParagraph() instead of Buffer::paragraphs().
135
136 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
137
138         * lyxlex_pimpl.h: #include <fstream>.
139
140         * BufferView.[Ch] (getLyXText): add a const version.
141
142         * BufferView_pimpl.C: add debug aids.
143
144         * RowList_fwd.h:
145         * buffer.h:
146         * lyxrow.h:
147         * paragraph_funcs.h: add commentary explaining what the class does.
148
149
150         * coordcache.[Ch]: add lots of commentary.
151         (startUpdating, doneUpdating): debug aids.
152         (arrays, insets, parPos, getParPos): accessors to private data.
153
154         * cursor_slice.[Ch] (text): add a const version.
155         * dociterator.[Ch] (text, innerText): add const versions.
156
157         * lyxtext.h (breakParagraph): change the keep_layout arg to a
158         bool.
159
160         * paragraph.C (getRow, pos2ros): add asserts.
161
162         * paragraph.h: add commentary. Lots of.
163
164         * paragraph.[Ch] (metrucs, draw): removed.
165
166         * cursor.C:
167         * rowpainter.[Ch]: const-correct changes.
168
169         * text.C: various obvious clean-ups. Removal of ancient cruft.
170         Bug fixes, even.
171
172 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
173
174         * vc-backend.C (find_file): rewrite to use boost.filesystem
175         (scanMaster): ditto
176
177         * main.C (main): set default name check for boost.filesystem to
178         no check
179
180         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
181         (open): ditto
182         (doImport): ditto
183         (actOnUpdatedPrefs): ditto
184
185         * lyx_main.C (init): rewrite to use boost.filesystem
186         (queryUserLyXDir): ditto
187
188         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
189         (getContentsOfAsciiFile): ditto
190
191         * lastfiles.C (readFile): rewrite to use boost.filesystem
192
193         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
194
195         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
196         (loadLyXFile): ditto
197
198         * buffer.C (Buffer): adjust for destroydir
199         (getLogName): rewrite to use boost.filesystem
200         (setFileName): ditto
201         (save): use fs::copy_file (from fs_extras)
202
203         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
204
205         * LaTeX.C (run): rewrite to use boost.filesystem
206         (scanAuxFiles): ditto
207         (handleFoundFile): ditto
208
209 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
212
213         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
214
215 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
216
217         * lyxlayout.[Ch]: change some vars from float to double
218
219         * buffer.C (readFile): make a local var const
220
221         * Several files: use convert<> instead of atoi,strToXXX and friends
222
223 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * LaTeXFeatures.[Ch]: Add a static list packages_ that
226         holds the contents of packages.lst. New functions getAvailable
227         and isAvailable to parse and check that list, resp.
228
229         * LyXAction.C:
230         * lfuns.h:
231         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
232
233         * bufferparams.[Ch]: new param output_changes.
234
235         * Buffer.C: increase file format to 240.
236         Use output_changes and isVailable.
237
238         * changes.[Ch]:
239         * paragraph.C:
240         * paragraph_pimpl.C: Use output_changes and isVailable.
241
242 2005-01-23  Angus Leeming  <leeming@lyx.org>
243
244         * output_latex.C: #include "insetbibitem.h", rather than
245         forward declare function bibitemWidest.
246
247 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
248
249         * lyx_main.C (init): make it compile on the Mac.
250
251 2005-01-20  Angus Leeming  <leeming@lyx.org>
252
253         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
254         (setLyXMisc): (char string literal) != (char string literal) is
255         performing a comparison on the addresses. Convert one operand
256         explicitly to string to guarantee expected behaviour.
257         From MSVC warning.
258
259 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
260
261         * buffer.C:
262         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
263
264         * output_plaintext.C: remove unneeded #include gzstream.h.
265
266 2005-01-20  Angus Leeming  <leeming@lyx.org>
267
268         * SpellBase.h: rename some of the elements of the Result enum.
269
270         * aspell_local.h:
271         * ispell.h:
272         * pspell.h:
273         * aspell.C (check):
274         * ispell.C (check):
275         * pspell.C (check): ditto
276
277 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
278
279         * buffer.C: add #include <fstream>.
280
281         * lyx_main.C (init): Compile fix.
282
283         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
284
285 2005-01-20  Angus Leeming  <leeming@lyx.org>
286
287         * mover.h: change commentary to reflect the changed meaning of
288         the $$s placeholder.
289
290 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * output_linuxdoc.C (linuxdocParagraphs): silence warning
293
294         * lyxfind.C (MatchString::operator()): remove bogus semicolon
295
296 2005-01-20  Angus Leeming  <leeming@lyx.org>
297
298         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
299         printing diagnostic data by not dereferecing an iterator past the
300         end.
301
302 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
303
304         * buffer.C (readHeader): use "&&" rather than "and".
305
306         * lyxserver.h (inPipeName, outPipeName): make these const.
307
308 2005-01-19  Angus Leeming  <leeming@lyx.org>
309
310         * lyx_main.C (error_handler, init): protect SIGHUP with
311         #ifdef SIGHUP guards.
312
313 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
316
317 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * text.C (setHeightOfRow): add a margin at the top and bottom of
320         the document (bug 1761)
321
322 2005-01-17  Angus Leeming  <leeming@lyx.org>
323
324         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
325         with "python ". Workaround for a brain-dead Windows.
326
327 2005-01-16  Angus Leeming  <leeming@lyx.org>
328
329         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
330         for MacOSX and Windows to use prependEnvPath.
331         Strip out the hard-coded block to add elements to the PATH for
332         MacOSX and replace it with a call to prependEnvPath using the
333         contents of LyXRC::path_prefix.
334         (queryUserLyXDir): strip out the code to run reconfigure, instead
335         returning a boolean indicating the necessity to do so.
336         (reconfigureUserLyXDir): contains the code to reconfigure the
337         user support directory. Is now called after the various LyXRC data
338         files have been read.
339
340         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
341
342 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * converter.[Ch] (convert): take a new parameter try_default. Use
345         a default converter (imagemagick) if try_default is true.
346
347 2005-01-13  Angus Leeming  <leeming@lyx.org>
348
349         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
350         os::cygwin_path_fix.
351         (write): output LyXRC::cygwin_path_fix as necessary.
352
353 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
354
355         * lyxrc.h:
356         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
357
358 2005-01-12  Angus Leeming  <leeming@lyx.org>
359
360         * lyx_main.C (init): set the PATH variable to include the
361         directory containing the LyX binary when running on Mac or Windows.
362
363 2005-01-12  Angus Leeming  <leeming@lyx.org>
364
365         * lyx_main.C (init): remove cruft that purports to set the locale
366         dir. It doesn't and is not needed anyway.
367
368 2005-01-10  Angus Leeming  <leeming@lyx.org>
369
370         * Makefile.am: remove the lyx_main.C special casing.
371
372         * BufferView_pimpl.C:
373         * bufferlist.C:
374         * exporter.C:
375         * lyx_cb.C:
376         * lyx_main.C:
377         * lyxfunc.C:
378         * messages.C: use support/package.h to provide the paths to the
379         various directories used by LyX.
380
381 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
382
383         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
384         layout if pasting into an empty paragraph)
385
386 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
387
388         * tex-accent.C: add <string>
389
390 2005-01-06  José Matos  <jamatos@lyx.org>
391
392         * ParagraphParameters.C (write): put every parameter in its own line.
393         * paragraph.C (write): reduce number of consecutive empty lines exported.
394         * buffer.C (LYX_FORMAT): increase file format to 239.
395
396 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * everywhere: change support/tostr.h -> support/convert.h
399
400         * tabular.C: make all write_attributes templates, tostr -> convert
401
402         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
403         (emptyTag): and -> &&, and fix type for ret from getChar
404         (getFirstWord): fix type for ret from getChar
405         (onlyText): and -> &&
406         (simpleDocBookOnePar): and not -> && !, fix type for ret from
407         getChar
408
409         * toc.C (goTo, action):
410         * text3.C (dispatch):
411         * text.C (currentState):
412         * tex-accent.C (DoAccent):
413         * sgml.C:
414         * lyxrc.C:
415         * lyxfunc.C (menuNew):
416         * lyxfinc.C (replace):
417         * counters.C (laberItem):
418         * bufferview_funcs.C (font2string):
419         * bufferparams.C (writeFile):
420         * buffer.C (readFile):
421         * Spacing.C (set):
422         * MenuBackend.C: tostr -> convert
423
424         * LaTeX.C (runMessage): fix format
425         (scanAuxFiles): tostr -> convert
426
427         * BufferView_pimpl.C (savePosition): fix format
428         (restorePosition): ditto
429         (dispatch): ditto
430
431 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
432
433         * Spacing.[Ch]: New method getValueAsString().
434
435         * Spacing.[Ch]:
436         * bufferparams.C:
437         * ParagraphParameters.C:
438         * lyxlayout.C:
439         * text.C:
440         * text3.C: store/read spacing value as string.
441
442         * rowpainter.C: change float value (spacing_val) to double.
443
444         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
445         broken custom document spacing).
446
447 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
448
449         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
450         namespace, also more use of temp references and const
451
452         * cursor.[Ch] (getStatus): move to lyxfunc.C
453
454         * bufferparams.C: reformat slightly
455
456         * bufferview_funcs.C (font2string): constify arg
457
458         * changes.C:
459         * converter.C:
460         * counters.C:
461         * bufferlist.C:
462         * buffer_funcs.C: (many funcs): constify arg on function
463         definitions, also make more local vars const, also add ASSERTS on
464         pointer args.
465
466         * buffer.C (LYX_FORMAT): put const in correct place
467         (many funcs): constify arg on function definitions, also make
468         more local vars const
469
470         * aspell_local.h: remove "struct" from typdef setup
471
472         * aspell.C (check): make word_ok const
473         (nextMiss): simplify slightly
474         (error): ditto
475
476 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * lyxrc.[Ch]: store all float values as strings.
479         use int (not float) for lyxrc.dpi.
480
481 2005-01-04  Angus Leeming  <leeming@lyx.org>
482
483         * lyx_cb.C (Reconfigure):
484         * lyx_main.C (queryUserLyXDir):
485         to run the <system_lyxdir>/configure correctly on Windows, prefix
486         the path to the script with "sh " when generating the string that
487         is passed to system().
488
489 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
492
493 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * lyxlength.C (asLatexString): get rid of setprecision
496
497 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * text2.C (setLayout): remove unused variable endpit.
500         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
501
502         * paragraph.C (onlyText): remove unused variable style.
503
504         * cursor.C (bruteFind): remove unused variables beg and end.
505
506         * Makefile.am (dist_noinset_DATA): not needed anymore
507
508         * cheaders/*: remove.
509
510 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
511
512         * text3.C: fix LFUN_MATH_MODE.
513
514 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * buffer_funcs.C (countWords): new function. Counts words between
517         two iterators.
518
519         * BufferView_pimpl.C (getStatus, dispatch): handle
520         LFUN_WORDS_COUNT.
521
522         * LyXAction.C (init):
523         * lfuns.h: add LFUN_WORDS_COUNT.
524
525 2004-12-19  Angus Leeming  <leeming@lyx.org>
526
527         * buffer.C (save): s/slashify_path/internal_path/.
528
529 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * lyxfind.C (findChange): do not search for end of pars, because
532         the change tracker cannot handle this (fixes bug 1719).
533
534 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * paragraph.[Ch] (autoBreakRows): remove
537
538         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
539
540         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
541         avoid using the paragraph one
542
543         * text2.C (LyXText, insertStringAsLines): adjust
544
545 2004-12-16  Angus Leeming  <leeming@lyx.org>
546
547         * bufferlist.C:
548         * lyx_main.C:
549         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
550
551 2004-12-14  Angus Leeming  <leeming@lyx.org>
552
553         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
554
555         * bufferlist.C (emergencyWrite):
556         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
557         GetEnvPath("HOME").
558
559 2004-12-14  Angus Leeming  <leeming@lyx.org>
560
561         * main.C: (main): no longer pass pointers to os::init.
562
563 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * undo.C (textUndoOrRedo): simplify logic, fix a crash
566         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
567
568 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * lyxfunc.C:
571         * text3.C: remove selection_possible global flag
572
573 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
574
575         * text2.C (getSelectionSpan): remove
576         (changeDepth, changeDepthAllowed): adjust
577
578 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
579
580         * Makefile.am (BOOST_LIBS): use boost variables
581
582 2004-12-03  José Matos  <jamatos@lyx.org>
583
584         * buffer.C: format up to 238.
585
586 2004-12-03  José Matos  <jamatos@lyx.org>
587
588         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
589
590 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
591
592         * cursor.C (goUpDown): remove call to idxUpDown2
593
594 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
595
596         * tabular.[Ch]: use size_t-like types for cell, row and column
597         indices
598
599 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * lyxfunc.C (getStatus): do not lose previous information when
602         calling BufferView::getStatus; do not set a default "Command
603         disabled" message at the beginning, but just before returning.
604
605 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
606
607         * cursor.h (getStatus): add better comment from src/cursor.C
608
609 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * text3.C (getStatus): return false when the lfun is not handled
612
613 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * broken_headers.h: remove
616
617         * Makefile.am (lyx_SOURCES): remove broken_headers.h
618
619 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
620
621         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
622         offset_ref accessors
623
624         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
625         top_y_, merge fitcursor with update
626         (updateScrollbar, scrollDocView, fitCursor, center, update): new
627         coord scheme
628         (metrics): introduce
629         (workAreaDispatch): adapt to new coord scheme
630         (redoCurrentBuffer): remove
631
632         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
633
634         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
635         CurStatus enum.
636
637         * coordcache.[Ch]: add paragraph cache and helpers
638
639         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
640         adjust everywhere
641
642         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
643         (targetX, setTargetX): introduce
644
645         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
646         baseline -> ascent, as the rest of lyx
647
648         * lyxtext.h: remove redoParagraphs, updateParPositions,
649         fullRebreak, redoParagraphInternal. move dist to anon namespace in
650         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
651         have ascent/descent (ascent is ascent of first par)
652
653         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
654         step of BufferView
655
656         * paragraph.[Ch]: unify dimension handling with the rest of lyx
657
658         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
659
660         * pariterator.C: fix infinite loop introduced in par->pit renaming
661
662         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
663         in insets and LyXText, draw two off-screen paragraphs using
664         NullPainter, and adapt to new coord scheme
665
666         * text.C:
667         * text2.C:
668         * text3.C: adapt lfun handlers to the new coord scheme, which
669         means: there's only guaranteed coord information for onscreen pars
670         plus one above and one below. This implies that one can do search
671         from y coordinates in the range [-1,workHeight]
672
673 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
674
675         * rename a lot of InsetOld to InsetBase
676
677 2004-11-25  Angus Leeming  <leeming@lyx.org>
678
679         * BufferView_pimpl.C:
680         * lyx_cb.C:
681         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
682
683 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
686         call BufferView::getStatus if LCursor::getStatus did nothing
687         (setStatusMessage, getStatusMessage): removed.
688
689         * FuncStatus.C (message): new methods. Used to provide an error
690         message indicating why a command is disabled.
691         (clear, |=, FuncStatus): update for message.
692
693 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
694
695         * lyxfunc.C (dispatch): always call sendDispatchMessage
696
697 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * BufferView.C:
700         * BufferView_pimpl.C:
701         * CutAndPaste.C:
702         * FontIterator.C:
703         * buffer.C:
704         * cursor.C:
705         * cursor_slice.[Ch]:
706         * dociterator.[Ch]:
707         * lyxfind.C:
708         * paragraph_funcs.C:
709         * pariterator.C:
710         * rowpainter.C:
711         * text.C:
712         * text2.C:
713         * text3.C:
714         * undo.C: par->pit renaming
715
716 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
717
718         * tabular.C (cellstruct): use initialization, store a shared_ptr
719         to insettext instead of the insettext directly, adjust to fit.
720         (operator=):  new function
721         (swap): new function
722         (rowstruct): use initialization
723         (columnstruct): use initialization
724         (ltType): use initialization
725
726
727         * lyxlength.h (swap): new function
728
729         * LColor.[Ch] (operator=): use the common semantics
730
731 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * lyxfind.C (findNextChange): update the bufferview after setting
734         the selection.
735
736 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
739         number of InsetOptArgs has already been inserted.
740
741         * output_latex.C (latexOptArgInsets): new method. This outputs all
742         the optarg insets, up to the limit defined in the layout file.
743         (optArgInset): removed
744         (TeXOnePar): call latexOptArgInsets; correctly update texrow
745
746 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * paragraph.C (isLetter): remove special spellchecker-related
749         code; return true also for digits
750         (isWord, isKomma): remove
751
752         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
753         * lyxfind.C (MatchString()): use isLetter instead of isWord
754
755 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
756
757         * pariterator.h (operatir=): comment out un-implemented member
758         function.
759
760         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
761         static cast.
762
763 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
764
765         * lyxfont.h: include LColor.h to satisfy concept checks.
766
767 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * pariterator.h: add typdefs for value_type, difference_type,
770         pointer and reference to satisfy concept checks. Also add default
771         constructor for same reason.
772
773         * pariterator.C (operator++): add post-increment operator to
774         satisfy concept checks.
775
776         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
777         checks.
778
779         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
780
781         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
782         checks. Also rename base_type to BaseType to follow naming
783         standard better.
784
785         * FloatList.h: include Floating.h to satisfy concept checks.
786
787 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * lyxfunc.C (getStatus): when the origin of the request is menu or
790         toolbar, and the LyXView does not have focus, do as if there was
791         no buffer (bug 1720)
792
793         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
794         FuncRequest to individual entries of LFUN_SEQUENCE
795
796 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * output_latex.C (TeXOnePar): override runparams.moving_arg
799         according to the needprotect value of the current paragraph (bug
800         1739)
801
802         * paragraph.C (simpleTeXOnePar): no need to override
803         runparams.moving_args here
804
805 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
806
807         * vspace.C: fix off-by-one-error, related to fix #1682
808
809 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
810
811         * lengthcommon.C: a more general fix for bug 1682
812
813 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
814
815         * text.C (backspace): fix crash
816
817 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
818
819         * format.[Ch] (getFormatFromFile): new method
820         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
821
822 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
825
826 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * lyxfunc.C (dispatch): remove the verbose argument
829         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
830         instead
831
832         * kbmap.C (defkey): set the origin of func to KEYBOARD
833
834         * MenuBackend.C (MenuItem):
835         * ToolbarBackend.C (add): set the origin of func to UI
836
837         * funcrequest.[Ch]: add origin member, which indicates which part
838         of LyX requests an action
839
840 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * converter.C (move): don't lie in the error message
843         * converter.h (isReachable, move): document
844
845 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
846
847         * buffer.C: remove unused using lyx::support::atoi
848         * paragraph_funcs.C: ditto
849
850 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * bufferlist.C (exists): use bind and equal_to instead of
853         compare_memfun
854         (getBuffer): ditto
855         * lyxtextclasslist.C (NumberOfClass): ditto
856
857         * cursor.C (insert): use for_each instead of explicit for loop
858
859         * bufferlist.C (getFileNames): use std::transform and
860         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
861
862         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
863         for loop
864
865         * buffer.C (changeLanguage): use for_each instead of explicit for
866         loop
867         (hasParWithID): implement using getParFromID
868
869         * LaTeXFeatures.C: ws change only
870
871         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
872         to cleanup a bit.
873
874         * BufferView_pimpl.C (trackChanges): use for_each instead of
875         expilicit for loop
876
877 2004-11-04  André Pönitz  <poenitz@gmx.net>
878
879         * undo.h:
880         * undo.C (textUndoOrRedo): fix crash when creating undo information.
881
882         * dociterator.C (asDocIterator): use hard assert again.
883
884 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
885
886         * lyxlength.C (asLatexString): rewrite so that it does not use
887         snprintf anymore
888
889 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * text3.C (specialChar, dispatch): make sure cursor moves to the
892         right after inserting an inset
893
894 2004-11-02  José Matos  <jamatos@lyx.org>
895
896         * output_docbook.C (docbook):
897         * paragraph.C (getID):
898         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
899         garantee that the output is always legal.
900
901         * tabular.C (docbook):
902         * outputprams.[Ch]: remove mixed contents.
903
904 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * text2.C (setCounter): prevent endless loop
907
908 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * exporter.C (copyFile): use the mover instead of support::copy()
911         * exporter.C (Export): pass format and latex name to copyFile()
912         * exporter.h (addExternalFile): document
913         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
914
915 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
916
917         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
918
919 2004-10-30  José Matos  <jamatos@lyx.org>
920
921         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
922         text and no inset or font change. This allows to use CDATA
923         sections just for the whole paragraph.
924
925 2004-10-30  José Matos  <jamatos@lyx.org>
926
927         * paragraph.C (getFirstWord): remove unused variable.
928
929 2004-10-30  José Matos  <jamatos@lyx.org>
930
931         * paragraph.C (getFirstWord): the content should always be escaped
932         there.
933         (simpleDocBookOnePar):
934         * output_docbook.C (makeEnvironment): replace reference to CDATA
935         to style pass_thru.
936
937 2004-10-30  José Matos  <jamatos@lyx.org>
938
939         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
940
941 2004-10-30  José Matos  <jamatos@lyx.org>
942
943         * output_docbook.C (makeParagraphs):
944         * paragraph.[Ch] (emptyTag): for docbook and company, if the
945         standard paragraph has only a given type of content drop the wrapper.
946
947 2004-10-29  José Matos  <jamatos@lyx.org>
948
949         * output_docbook.C (makeEnvironment):
950         * sgml.C (openTag):
951         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
952
953 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
954
955         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
956         (cleanID): sanitize any id.
957
958 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * buffer.C, lyxlex_pimpl.C:
961         * lyxlex_pimpl.C (setFile):
962         s/getExtFromContents/getFormatFromContents/
963
964 2004-10-28  José Matos  <jamatos@lyx.org>
965
966         * output_docbook.C (makeEnvironment): move id to broadest possible
967         scope.
968
969         * sgml.C (openTag): apply substitution of <> for all attributes.
970
971 2004-10-28  José Matos  <jamatos@lyx.org>
972
973         * buffer.C (makeLinuxDocFile, makeDocBookFile):
974         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
975         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
976
977         * sgml.[Ch]: new version for open and closeTag for paragraph and
978         for strings. Now they handle the ids of paragraphs.
979
980 2004-10-26  Angus Leeming  <leeming@lyx.org>
981
982         * Makefile.am: add mover.[Ch].
983
984         * converter.C (convert, move): use the new Movers to move external
985         files to the temp directory.
986
987         * lyx_main.C (init): ensure that the global system_movers data
988         is initialised.
989
990         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
991         preferences file.
992
993         * mover.[Ch]: new files, defining a Mover as a utility to move an
994         external file between directories and, if necessary, manipulate this
995         file using a helper script.
996
997 2004-10-25  José Matos  <jamatos@lyx.org>
998
999         * output_docbook.C (makeCommand): merge two if's that tested the
1000         same condition.
1001
1002 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * sgml.C (escapeString): fix warning in a better way
1005
1006 2004-10-25  José Matos  <jamatos@lyx.org>
1007
1008         * sgml.C (escapeString): import the require boosts header file for
1009         tie, and avoid a signed unsigned comparison.
1010
1011 2004-10-25  José Matos  <jamatos@lyx.org>
1012
1013         * sgml.h: add #include <string>
1014
1015 2004-10-25  José Matos  <jamatos@lyx.org>
1016
1017         * sgml.[Ch] (escapeString): new function to escape all the string.
1018
1019 2004-10-24  José Matos  <jamatos@lyx.org>
1020
1021         * paragraph.[Ch] (getFirstWord): new function to get the first
1022         word. Useful for description.
1023         (simpleDocBookOnePar): remove depth argument, add another that
1024         says where to start the paragraph.
1025
1026         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1027         use the new functions to fix cleanly the support for descriptions.
1028
1029 2004-10-24  José Matos  <jamatos@lyx.org>
1030
1031         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1032         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1033         * output_linuxdoc.C (linuxdocParagraphs):
1034         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1035         add buffer as argument.
1036
1037 2004-10-24  José Matos  <jamatos@lyx.org>
1038
1039         * output_docbook.C (makeEnvironment, searchEnvironment): place
1040         CDATA inside paragraphs and fix scope for listitems.
1041
1042 2004-10-24  José Matos  <jamatos@lyx.org>
1043
1044         * output_docbook.C: remove using statement for stack.
1045
1046 2004-10-23  José Matos  <jamatos@lyx.org>
1047
1048         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1049         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1050         docbook. The new scheme is recursive and makes use of iterators, the
1051         same as latex export works.
1052         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1053         directly with the paragraph contents. This code was moved up to
1054         output_docbook.C (docbookParagraphs).
1055         * sgml.C (openTag, closeTag): removed unneeded newlines.
1056         (closeEnvTags) removed.
1057
1058 2004-10-23  André Pönitz  <poenitz@gmx.net>
1059
1060         * undo.C (textUndoOrRedo):
1061         * dociterator.C (asDocIterator): work around crash
1062
1063         * cursor.C (getStatus): replace ASSERT by more verbose error message
1064           and manual correction of the problem. Should increase stability
1065           while providing more sensible information.
1066
1067 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1070
1071         * bufferlist.C (previous, next): new methods
1072
1073         * lfuns.h:
1074         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1075
1076 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1077
1078         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1079         entities to preamble.
1080
1081 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1082
1083         * messages.C (Pimpl): strip off translation context information
1084
1085 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1088         the cursor is correct (bug 1694)
1089
1090 2004-10-13  José Matos  <jamatos@lyx.org>
1091
1092         * output_docbook.C (docbookParagraphs): fix closing tags in the
1093         end of the document.
1094
1095 2004-10-09  José Matos  <jamatos@lyx.org>
1096
1097         * buffer.C: format up to 237.
1098         * bufferparams.C (write): use tostr to convert booleans to strings.
1099
1100 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1101
1102         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1103
1104 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * LaTeX.C: implement use of babel language in xindy.
1107
1108 2004-10-05  José Matos  <jamatos@lyx.org>
1109
1110         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1111         Add new translators to help reading and writing the lyx file.
1112
1113 2004-10-05  José Matos  <jamatos@lyx.org>
1114
1115         * ParagraphParameters.C (read):
1116         * text.C (readParToken): replace nexToken by more appropriate lex
1117         methods.
1118
1119 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1120
1121         * LaTeX.C (runMakeIndex):
1122         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1123         (usually 'makeindex') configurable.
1124
1125         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1126         with a variable rather than with a number.
1127
1128 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1129
1130         * output_latex.C (TeXOnePar): make sure font setting is the first
1131         thing that gets output (and the last at the end). Should fix bug
1132         1404.
1133
1134 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1135
1136         * pch.h: use proper signal include
1137
1138         * LaTeX.h: Use preferred calling of Boost.Signal
1139         * buffer.h: ditto
1140
1141 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1142
1143         * pch.h: dont include <boost/function/function0.hpp>
1144
1145         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1146
1147         * paragraph_pimpl.h: remove usage of ShareContainer
1148
1149         * paragraph_pimpl.C: remove initialization of ShareContainer.
1150
1151 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         Fix bug #1666
1154
1155         * BufferView.C (putSelectionAt): change the semantics when
1156         backwards == true: now, this just swaps cursor and anchor wrt the
1157         forward case
1158
1159         * BufferView.h (putSelectionAt): add some documentation
1160
1161         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1162         make sure backwardChar is done at least once (to avoid getting
1163         stuck)
1164         (findNextChange): use putSelectionAt in the forward direction
1165         (operator()): use Paragraph::isWord
1166
1167 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1168
1169         * Spacing.C (set): c_str fix
1170
1171 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * lyx_cb.C (Reconfigure): quote the name of configure script in
1174         case it contains spaces
1175
1176 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1177
1178         * client: new dir
1179
1180         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1181         (BOOST_LIBS): use top_buildir when looking for the file
1182
1183 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1184
1185         * pch.h: do not use include boost/format.hpp, multiple symbols
1186                 will result (gcc bug)
1187
1188
1189 2004-08-23  José Matos  <jamatos@lyx.org>
1190
1191         * bufferparams.C (readToken): fix reading of the author field.
1192
1193 2004-08-20  José Matos  <jamatos@lyx.org>
1194
1195         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1196
1197 2004-08-20  José Matos  <jamatos@lyx.org>
1198
1199         * lyxlex.[Ch] (findToken): remove function.
1200
1201         * ParagraphParameters.C (findToken):
1202         * bufferparams.C (findToken): replace call for previous function
1203         with local copy. This local function has one more argument, the
1204         read string argument.
1205
1206 2004-08-16  José Matos  <jamatos@lyx.org>
1207
1208         * ParagraphParameters.C (write):
1209         * Spacing.C (writeFile):
1210         * bufferparams.C (writeLaTeX):
1211         * lyx_cb.C (Reconfigure):
1212         * paragraph.C (write):
1213         * tabular.C (write): remove unnecessary space at end of line.
1214
1215
1216 2004-08-16  José Matos  <jamatos@lyx.org>
1217
1218         * text.C (readParagraph): remove debug message.
1219
1220 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1223         crash
1224
1225         * output_plaintext.C (asciiParagraph): set depth correctly
1226
1227         * outputparams.h: add member depth
1228
1229         * paragraph_funcs.C (ownerPar): remove.
1230
1231         * text2.C (setCounter): remove first_pit; comment out some
1232         non-working code that uses ownerPar
1233
1234         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1235         uses ownerPar
1236
1237 2004-08-16  José Matos  <jamatos@lyx.org>
1238
1239         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1240         For the same level of importance use the same chanel to report problems.
1241         (read): add code to deal with \begin_body and \end_body.
1242
1243
1244 2004-08-15  José Matos  <jamatos@lyx.org>
1245
1246         * lyxlex.C (getString): fix comment, buffer::readBody is now
1247         buffer:readDocument.
1248
1249         * tex-strings.C (string_papersize): Default -> default,
1250         Custom -> custom, for consistency with other options.
1251
1252 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1253
1254         * pch.h: new file
1255
1256         * Makefile.am: support pch
1257
1258 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * text.C (readParToken): remove the static LyXFont variable and
1261         pass it as a parameter instead. This fixes a nasty bug where an
1262         inset will be inserted with a bad font in some situations
1263         (readParagraph): adapt
1264
1265         * text2.C (setCounter): reduce number of calls to pars_[pit]
1266
1267         * text.C (singleWidth): add an assert, fix a test
1268
1269         * rowpainter.C (paintText): reduce number of calls to singleWidth
1270
1271         * paragraph.C (isHfill):
1272         (isNewline): ws only
1273
1274 2004-08-14  André Pönitz  <poenitz@gmx.net>
1275
1276         * text.C:
1277         * text2.C:
1278         * rowpainter.C:
1279         * lyxtext.h (several functions): use a Paragraph & argument
1280         instead of par_type
1281
1282 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1285
1286         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1287
1288         * text.C (singleWidth): remove useless test
1289
1290 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * tabular.h: remove bogus comments
1293
1294         * tabular.C (getDescentOfRow):
1295         (isPartOfMultiColumn): add assertions
1296
1297         * lyxlength.C (inPixels): remove #warning
1298
1299 2004-08-14  André Pönitz  <poenitz@gmx.net>
1300
1301         * paragraph.h: inline getChar()
1302
1303         * BufferView.h: remove unused declarations
1304
1305 2004-08-14  José Matos  <jamatos@lyx.org>
1306
1307         * Buffer.[Ch] (readDocument): new name for old readBody.
1308         * Buffer.C: new file format, new keywords: \begin_document,
1309         \begin_header, \begin_body, \end_body.
1310
1311         * bufferparams.C (readToken): replace all calls to lex.nextToken
1312         by lex.next(). Do the same to eatLine except where really needed.
1313
1314         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1315         line when writing to the lyx file.
1316
1317         * output_plaintext.C (asciiParagraph): fix Bibliography style
1318         handling.
1319
1320         * text.C (read): fix end of file handling.
1321
1322 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1323
1324         * MenuBackend.C (Menu::operator[]): new method to access
1325         individual menu items
1326         (Menu::hasFunc): new method. search for an item that corresponds
1327         to a given func
1328         (MenuBackend::specialMenu): new method
1329         (MenuBackend::expand): if a special menu has been set, skip
1330         entries whose func() appears in this menu
1331
1332 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1333
1334         * text3.C: use Debug::DEBUG a bit more
1335
1336         * text.C (leftMargin): try to simplify a tiny bit change var x to
1337         l_margin. Dont output the wide margins always.
1338         (rightMargin): no margin in inner texts
1339
1340         * rowpainter.h (nestMargin): new func
1341         (changebarMargin): new func
1342         (rightMargin): new func
1343
1344         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1345         now functions.
1346         (paintLast): ditto
1347
1348         * factory.C (createInset): modify setDrawFrame
1349
1350         * cursor.C: use Debug::DEBUG a bit more
1351
1352 2004-08-14  André Pönitz  <poenitz@gmx.net>
1353
1354         * coordcache.[Ch]:
1355         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1356         cache for all insets in (at least partially) visible (top-level)
1357         paragraphs.
1358
1359         * BufferView_pimpl.C: reset external coord cache before every update.
1360         This means the coord cache only contains valid entries.
1361
1362 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1363
1364         bug 1096
1365         * BufferView_pimpl.C (getInsetByCode): move function out of class
1366         and change in to a template in anon namespace. Also fix to do what
1367         suits us better.
1368
1369 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1370
1371         bug 1305
1372         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1373         of char
1374         (breakParagraph): rename par to par_offset and use a local
1375         reference. Add code to keep the language over a rebreak.
1376         (breakParagraphConservative): rename par to par_offset, use a
1377         local reference
1378         (mergeParagraph): ditto
1379         (outerHook): ditto
1380         (isFirstInSequence): ditto
1381         (outerFont): rename pit to par_offset
1382
1383         * paragraph.C: ws change
1384         * paragraph.h: ditto
1385         * text3.C: ditto
1386         * text.C: ditto
1387
1388 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1389
1390         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1391         treatment for ']'
1392
1393         * paragraph.C (simpleTeXOnePar): when we have a \item with
1394         optional argument, enclose the argument with curly brackets (in
1395         case it contains a closing square bracket)
1396
1397         * text2.C (editXY):
1398         * text2.C (editXY):
1399         * text3.C (checkInsetHit): constify
1400
1401 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1404         documents (bug 1629)
1405
1406 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         Fix toggling of collapsable insets with the mouse (bug 1558)
1409
1410         * lyxfunc.C (dispatch): adapt to LCursor changes
1411
1412         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1413         make sure that dispatch is not invoked twice
1414
1415         * cursor.C (needsUpdate): new method
1416         (dispatch): return void
1417         (result): new method, to access the DispatchResult of the cursor.
1418
1419 2004-08-13  José Matos  <jamatos@lyx.org>
1420
1421         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1422
1423 2004-08-13  André Pönitz  <poenitz@gmx.net>
1424
1425         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1426
1427         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1428           multiple cells
1429
1430 2004-08-12  André Pönitz  <poenitz@gmx.net>
1431
1432         * text3.C: take out the 'cursor right' form insertInset and only
1433         do it in those places when it is really needed. Fixes crash on
1434         C-m...
1435
1436 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1439
1440         * BufferView_pimpl.C (setBuffer): initialize the current font of
1441         the underlying LyXText
1442
1443 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1444
1445         * kbsequence.C (print): use UI native formatting for menu
1446         shortcuts
1447
1448         * text.C (insertChar): call Paragraph::insertChar with a font
1449         argument (cosmetic)
1450
1451         * paragraph.C (insertInset, insertChar): the version that takes a
1452         LyXFont argument is now a wrapper around the other one (the
1453         opposite used to be true).
1454
1455         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1456         argument. Font setting is done in Paragraph now.
1457
1458 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1459
1460         * outputparams.h: add new members intitle and lang.
1461
1462         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1463         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1464
1465 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1466
1467         * text3.C (dispatch): remove special handling of button 4 and 5,
1468         it is now taken care of in the frontend code.
1469
1470 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1471
1472         * Spacing.h: add <string> (STLPort compile fix)
1473
1474 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1475
1476         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1477
1478 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1481         to bool.
1482
1483         * converter.C (showMessage): inherit from unary_function, make
1484         operator() const.
1485
1486         * buffer.C (writeFile): initialize retval
1487
1488         * InsetList.h: rename private variable list to list_
1489         * InsetList.[Ch]: adjust accordingly.
1490
1491 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1492
1493         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1494         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1495         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1496         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1497         * ParagraphParameters.C, LaTeXFeatures.C: replace
1498         "support/std_sstream.h" with <sstream>
1499
1500 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1503         * lyxsocket.C (LyXServerSocket): ditto
1504         (serverCallback): ditto
1505
1506 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1507
1508         * LaTeXFeatures.C: check release date when loading jurabib.
1509
1510 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1511
1512         * lyxserver.C (startPipe): call register_socket_callback
1513         (endPipe): call unregister_socket_callback
1514
1515 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1516
1517         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1518         (LyXServerSocket): register the callback
1519         (LyXServerSocket): unregister the callback
1520         (fd): delete function
1521         (serverCallback): improve error checking and setup the callbacks.
1522         (dataCallback): change arg to fd.
1523         (writeln): new func (copied fro the client socket) used for server
1524         write to client.
1525         (LyXDataSocket): simplify
1526         (~LyXDataSocket): close ann unregiser callback
1527         (server): delete function
1528         (fd): delete function
1529         (readln): small changes, improve some std::string usage
1530         (writeln): constify a bit
1531
1532 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1533
1534         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1535         Qt frontend
1536
1537 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1540         after it has been populated
1541
1542 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * text2.C (insertInset): move cursor when inserting inset.
1545
1546 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * kbmap.C (findbindings): a couple of new methods. returns a
1549         container of kb_sequence objects. The real work is done by the
1550         private recursive version
1551         (printbindings): uses findbindings to print out a bracketed list
1552         of bindings (renamed from findbinding).
1553
1554         * MenuBackend.C (binding): use kb_keymap::findbindings
1555
1556         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1557
1558 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1559
1560         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1561
1562 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * paragraph.C (isWord): return true on insets that report
1565         isLetter().
1566
1567         * text.C (getWord): use Paragraph::isWord to decide what is in a
1568         word and what is not; fix bug 1609.
1569
1570 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1571
1572         * tex-strings.C: add "none" to string_paperpackages[], fixes
1573         off-by-one-error in the paperpackage selection.
1574
1575         * lyxlex.[Ch]:
1576         * tex-strings.[Ch]: char const * string[n]
1577         -> char const * const string[]
1578
1579 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1582         command, return early.
1583
1584 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1585
1586         * debug.h: add DEBUG to enum and fix size of ANY.
1587
1588         * debug.C: add support for Debug::DEBUG
1589         (showTags): cast errorTags.level to unsigned int
1590
1591         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1592         (redoCurrentBuffer): ditto
1593         (updateScrollbar): ditto
1594         * cursor.C (dispatch): ditto
1595         * text2.C (setLayout): ditto
1596         (setFont): ditto
1597         (updateCounters): ditto
1598         (editXY): ditto
1599         (deleteEmptyParagraphMechanism): ditto
1600
1601 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1602
1603         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1604         annotations to cleanup the Makefile slightly.
1605
1606 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1607
1608         * lyxrc.C: do not set user_email to a default value but use empty
1609         instead. The entry used to be translated, which does not work
1610         since at the point where lyxrc is constructed there is no
1611         translation service available
1612
1613         * messages.C (getLocaleDir): remove and use directly
1614         lyx_localedir() instead
1615
1616 2004-06-02  Angus Leeming  <leeming@lyx.org>
1617
1618         Fix crash caused by dereferencing null pointer 'exportdata' in
1619         OutputParams by creating a new ExportData variable on the heap,
1620         storing it in a boost::shared_ptr.
1621         The crash was triggered when generating an Instant Preview
1622         of an external inset.
1623
1624         * Makefile.am: add outputparams.C
1625
1626         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1627         (c-tor): allocate memory to it.
1628
1629         * exporter.C (c-tor): associated changes.
1630
1631 2004-06-01  Angus Leeming  <leeming@lyx.org>
1632
1633         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1634         contains data before calling isInset(0). (Bug 1513.)
1635
1636 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1637
1638         * exporter.C (checkOverwrite): new method
1639         * exporter.C (copyFile): new method
1640         * exporter.C (Export): copy referenced files to the document dir
1641         * exporter.[Ch]: new class ExportedFile
1642         * exporter.[Ch]: new class ExportData. Contains currently the
1643         names of referenced external files
1644         * outputparams.h: add exportdata member.
1645
1646 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1647
1648         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1649         version.C-tmp
1650
1651 2004-05-19  Angus Leeming  <leeming@lyx.org>
1652
1653         * LaTeXFeatures.C:
1654         * ToolbarBackend.C:
1655         * bufferparams.C:
1656         * lyxfunc.C: small changes due to the introduction of namespace
1657         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1658
1659 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * text3.C (dispatch): supress update when only moving the cursor
1662         * cursor.C (selHandle): remove commented code
1663
1664 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * paragraph.C (startTeXParParams): correct column count
1667         * CutAndPaste.C (pasteSelection): remove const_cast
1668         * output_docbook.C (docbookParagraphs): remove const_cast
1669         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1670         const_cast and return ParagraphList::const_iterator
1671         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1672         * output_plaintext.C (writeFileAscii): remove const_cast
1673         * paragraph.[Ch] (simpleTeXOnePar): make const
1674         * paragraph_funcs.C (outerPar): use const iterators
1675         * paragraph_pimpl.C (validate): use const iterators
1676         * text.C (setHeightOfRow): use const iterators
1677
1678 2004-05-17  Angus Leeming  <leeming@lyx.org>
1679
1680         * lfuns.h:
1681         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1682
1683         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1684         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1685         if the citation engine has changed.
1686
1687 2004-05-14  José Matos  <jamatos@lyx.org>
1688
1689         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1690         if the textclass does not provide it. Have it different for sgml and
1691         xml.
1692         support the language of document.
1693         * output_docbook.C (docbookParagraphs):
1694         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1695         first anchor as the id of the paragraph, remove special case code.
1696         * sgml.C (escapeChar): escape only < & >.
1697
1698 2004-05-14  Angus Leeming  <leeming@lyx.org>
1699
1700         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1701         dependencies on src/frontends/controllers/biblio.h. Define a
1702         CiteEngine_enum wrapper class to enable the enum to be forward
1703         declared.
1704
1705 2004-05-12  Angus Leeming  <leeming@lyx.org>
1706
1707         * buffer.C: up LYX_FORMAT to 234.
1708         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1709         use_numerical_citations with a single biblio::CiteEngine cite_engine
1710         variable.
1711         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1712
1713 2004-05-13  José Matos  <jamatos@lyx.org>
1714
1715         * converter.h:
1716         * converter.C (Converter, readFlags): add xml member.
1717         * outputparams.h: add XML flavor.
1718         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1719
1720 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * lyxfunc.C (dispatch):
1723         (getStatus): fix handling of LFUN_SEQUENCE
1724
1725 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1726
1727         * debug.C (showLevel): do not forget the end-of-line marker
1728
1729 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * kbmap.C (read): do not stop parsing a bind file when an error
1732         occurs (bug 1575)
1733
1734 2004-04-29  Angus Leeming  <leeming@lyx.org>
1735
1736         * cursor.C:
1737         * factory.C:
1738         * pariterator.C:
1739         * text2.C: wrap a bunch of #warning statements
1740         inside #ifdef WITH_WARNINGS blocks.
1741
1742 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1743
1744         * buffer.C: increment format to 233.
1745
1746 2004-04-28  Angus Leeming  <leeming@lyx.org>
1747
1748         * BufferView_pimpl.C:
1749         * lyxfunc.C:
1750         * text3.C:
1751         s/updateToolbar()/updateToolbars()/
1752         s/Toolbar.h/Toolbars.h/
1753
1754 2004-04-28  Angus Leeming  <leeming@lyx.org>
1755
1756         * BufferView.[Ch] (c-tor):
1757         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1758         No longer passes these data to the WorkArea generator.
1759
1760 2004-04-28  Angus Leeming  <leeming@lyx.org>
1761
1762         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1763
1764 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1765
1766         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1767
1768 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * output_latex.C (TeXEnvironment): make sure that there is a line
1771         break before \end{foo} for the last paragraph of a document
1772         (TeXOnePar): if the paragraph is at the end of the document (or
1773         inset) and the language has to be reset, then make sure that the
1774         line break is _before_ the language command, not after (fixes bug
1775         1225); also make sure that the language reset command is the first
1776         thing after the paragraph (to ensure proper nesting of
1777         environments and thus fix bug 1404)
1778
1779 2004-04-21  John Levon  <levon@movementarian.org>
1780
1781         * ToolbarBackend.h:
1782         * ToolbarBackend.C: make "name" be a programmatic name
1783         and a gui_name field.
1784
1785         * lyxfunc.C: display the minibuffer on M-x
1786
1787 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1788
1789         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1790         (bug 1526)
1791
1792 2004-04-19  Angus Leeming  <leeming@lyx.org>
1793
1794         * BufferView_pimpl.C (setBuffer): changed preview interface.
1795
1796         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1797         possible values.
1798
1799 2004-04-19  John Levon  <levon@movementarian.org>
1800
1801         * BufferView_pimpl.C:
1802         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1803
1804 2004-04-05  Angus Leeming  <leeming@lyx.org>
1805
1806         * text.C (redoParagraphs): add call to updateCounters(), thereby
1807         fixing the missing "Figure #:" label from the caption of a
1808         figure float.
1809
1810 2004-04-13  Angus Leeming  <leeming@lyx.org>
1811
1812         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1813         cursor is clicked out of an inset.
1814
1815 2004-04-13  Angus Leeming  <leeming@lyx.org>
1816
1817         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1818         than an InsetOld one.
1819
1820 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1821
1822         * format.[Ch]: add editor to Format
1823         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1824         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1825
1826 2004-04-08  André Pönitz  <poenitz@gmx.net>
1827
1828         * metricsinfo.h: remove PainterInfo::width member
1829
1830 2004-04-08  Angus Leeming  <leeming@lyx.org>
1831
1832         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1833         "\providecommand" rather than "\newcommand", thereby preventing
1834         clashes with packages that define "\boldsymbol" themselves.
1835         Eg, beamer.
1836
1837 2004-04-08  Angus Leeming  <leeming@lyx.org>
1838
1839         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1840         thereby squashing an unnecessary warning.
1841
1842 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1843
1844         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1845         setBuffer()
1846
1847 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * BufferView.C (setCursor): call redoParagraph (some insets could
1850         have been opened)
1851         (putSelectionAt): remove the 'double update' trick
1852
1853         * BufferView_pimpl.C (fitCursor): call refreshPar
1854         (workAreaDispatch): remove an uneeded update call
1855         (dispatch): remove some manual update calls
1856
1857         * cursor.[Ch]: remove cached_y_, updatePos
1858         (selHandle): set noUpdate when appropriate
1859
1860         * lyxfunc.C (dispatch): track if we need an update
1861
1862         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1863
1864         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1865         (paintSelection): cheap optimization, do not call cursorX when not
1866         needed
1867         (paintPars): change signature
1868         (refreshPar): add
1869         (paintText): adjust
1870         (paintTextInset): adjust
1871
1872         * text.C: adjust
1873
1874 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * lengthcommon.C: compilation fix: remove explicit array size from
1877         unit_name[] and friends
1878
1879 2004-04-05  Angus Leeming  <leeming@lyx.org>
1880
1881         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1882
1883         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1884         present only for the preferences dialog.
1885         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1886
1887 2004-04-05  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1890         to enable the frontends to export changes to lyxrc correctly.
1891
1892         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1893
1894 2004-04-07  André Pönitz  <poenitz@gmx.net>
1895
1896         * cursor.[Ch] (selClear, adjust): remove math
1897
1898         * cursor_slice.C: more agressive assert
1899
1900         * lyxfunc.C:
1901         * BufferView_pimpl.C: rework mouse event dispatch
1902
1903         * dociterator.C:
1904         * paragraph.C:
1905         * text2.C:
1906         * text3.C: adjust
1907
1908 2004-04-05  André Pönitz  <poenitz@gmx.net>
1909
1910         * cursor.[Ch] (valign, halign...): remove unneeded functions
1911
1912 2004-04-05  Angus Leeming  <leeming@lyx.org>
1913
1914         * lyxlength.[Ch] (unit_name et al.): const-correct.
1915
1916 2004-04-05  Angus Leeming  <leeming@lyx.org>
1917
1918         * BufferView_pimpl.C:
1919         * buffer.C:
1920         * counters.C:
1921         * cursor.C:
1922         * lyxfunc.C
1923         * paragraph.C:
1924         * pariterator.C:
1925         * text.C:
1926         * text2.C:
1927         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1928
1929 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1932
1933 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1936         * BufferView_pimpl.[Ch] (getStatus)
1937         * BufferView.[Ch] (getStatus): add
1938         * lyxfunc.C (getStatus): move lfuns handled in
1939         BufferView::dispatch to te function above
1940         * Cursor.C (setSelection): set selection() = true
1941
1942 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1945
1946 2004-03-31  Angus Leeming  <leeming@lyx.org>
1947
1948         * lyxfunc.C (dispatch): Fall through to the generic
1949         Dialogs::show("preamble").
1950
1951 2004-03-31  Angus Leeming  <leeming@lyx.org>
1952
1953         * lyxfunc.C (dispatch): Fall through to the generic
1954         Dialogs::show("spellchecker").
1955
1956 2004-03-31  Angus Leeming  <leeming@lyx.org>
1957
1958         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1959         preferences dialog.
1960
1961 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1962
1963         * BufferView.C
1964         * cursor.[Ch]
1965         * dociterator.[Ch]:
1966         * insetiterator.[Ch]:
1967         * lyxfind.C:
1968         * lyxfunc.C:
1969         * pariterator.[Ch]:
1970         * text2.C:
1971         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1972
1973 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1974
1975         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1976         insets where we are putting the cursor.
1977
1978 2004-03-31  Angus Leeming  <leeming@lyx.org>
1979
1980         * lfuns.h:
1981         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1982
1983         * lyxrc.[Ch] (read, write): overloaded member functions taking
1984         a std::[io]stream arguments.
1985
1986         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1987
1988 2004-03-31  Angus Leeming  <leeming@lyx.org>
1989
1990         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1991         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1992
1993         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1994         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1995
1996 2004-03-31  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1999         the LFUN_ALL_INSETS_TOGGLE code.
2000
2001 2004-03-30  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2004         has died. Fall through to the generic Dialogs::show("document").
2005
2006 2004-03-30  Angus Leeming  <leeming@lyx.org>
2007
2008         * lfuns.h:
2009         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2010         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2011
2012         * lyxfunc.C (getStatus, dispatch): define the actions for these
2013         lfuns. Little more than a cut and pste job from ControlDocument.C
2014
2015         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2016
2017 2004-03-30  Angus Leeming  <leeming@lyx.org>
2018
2019         * lfuns.h:
2020         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2021         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2022
2023         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2024         open/closed state of ollapsable insets. Usage:
2025
2026         all-inset-toggle <state> <name>, where
2027         <state> == "open" || "closed" || "toggle" and
2028         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2029
2030         * lyxtext.h, text2.C (toggleInset): removed.
2031
2032         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2033         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2034         now passes LFUN_INSET_TOGGLE to the found inset.
2035
2036         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2037         is now invoked as "all-insets-toggle toggle branch".
2038
2039 2004-03-30  Angus Leeming  <leeming@lyx.org>
2040
2041         * dociterator.C:
2042         * insetiterator.C:
2043         * pariterator.[Ch]: added/corrected header blurb.
2044
2045 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * dociterator.[Ch]: add an inset_ member
2048         (backwardPos): implemented
2049         (backwardPos, forwardPos): use inset_ when the stack is empty.
2050         (doc_iterator_begin, doc_iterator_end): implemented
2051         * pariterator.[Ch]: adjust, add begin, end
2052         * insetiterator.[Ch]: adjust, add begin, end
2053         * cursor.C:
2054         * document.C:
2055         * BufferView.C:
2056         * BufferView_pimpl.C:
2057         * CutAndPaste.C: adjust
2058
2059 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2060
2061         * buffer.C: increment file format to 232.
2062         * LaTeXFeatures.C: add bibtopic package.
2063         * bufferparams.[Ch]: param \use_bibtopic.
2064
2065         * lyxrc.[Ch]: add lyxrc bibtex_command
2066         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2067
2068         * buffer.C: increment file format to 231.
2069
2070 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * dociterator.C: implement forwardPar
2073         * iterators.[Ch]: remove, replaced by
2074         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2075         * BufferView.C:
2076         * BufferView_pimpl.C:
2077         * CutAndPaste.C:
2078         * buffer.C:
2079         * bufferview_funcs.C:
2080         * cursor.C:
2081         * lyxfind.C
2082         * lyxfunc.C
2083         * paragraph_funcs.C
2084         * toc.C:
2085         * Makefile.am: adjust
2086
2087 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * CutAndPaste.C (pasteSelection): fix 2 crashes
2090         (eraseSelection): fix a crash
2091         * paragraph_funcs.C: remove a warning
2092
2093 2004-03-28  Angus Leeming  <leeming@lyx.org>
2094
2095         * lfuns.h:
2096         * LyXAction.C (init): new LFUN_PRINT.
2097
2098         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2099
2100 2004-03-27  Angus Leeming  <leeming@lyx.org>
2101
2102         * lfuns.h:
2103         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2104
2105         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2106
2107 2004-03-27  Angus Leeming  <leeming@lyx.org>
2108
2109         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2110         insetlist always contains non-null pointers to insets.
2111
2112 2004-03-26  Angus Leeming  <leeming@lyx.org>
2113
2114         * src/BufferView_pimpl.C:
2115         * src/CutAndPaste.C:
2116         * src/buffer.C:
2117         * src/iterators.C:
2118         * src/output_plaintext.C:
2119         * src/outputparams.h:
2120         * src/paragraph_funcs.C:
2121         * src/rowpainter.C:
2122         * src/text.C:
2123         * src/text2.C:
2124         * src/frontends/controllers/ControlErrorList.C:
2125         * src/frontends/gtk/FileDialogPrivate.C:
2126         * src/frontends/gtk/GPainter.C:
2127         * src/frontends/gtk/GToolbar.C:
2128         * src/frontends/qt2/QRef.C:
2129         * src/mathed/math_scriptinset.C: squash compiler warnings.
2130
2131 2004-03-26  Angus Leeming  <leeming@lyx.org>
2132
2133         * ispell.C (LaunchIspell::start):
2134         * lyx_cb.C (AutoSaveBuffer::start):
2135         invoke run(DontWait) rather than runNonBlocking().
2136
2137 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2138
2139         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2140
2141 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * kbsequence.C (print): adjust
2144
2145         * kbmap.C (printKeySym): rename and change signature
2146         (printKey): use LyXKeySym::print()
2147
2148 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2149
2150         * undo.C: add using std::advance to compile for stlport
2151
2152 2004-03-24  Angus Leeming  <leeming@lyx.org>
2153
2154         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2155         it leads to a crash when no buffer is present.
2156
2157 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158             Martin Vermeer  <martin.vermeer@hut.fi>
2159
2160         * lyxfunc.C (dispatch):
2161         * bufferparams.C (readToken): use the new LColor::setColor
2162
2163         * LColor.[Ch] (setColor): new version that takes two strings as
2164         argument and creates a new color entry if necessary
2165
2166 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2167
2168         * buffer.C (makeLaTeXFile): if the main latex file that is
2169         processed is usually a subdocument of some master, then pretend
2170         for a while that it is actually the master
2171
2172 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2173
2174         * buffer.C (getLabelList):
2175         (getBibkeyList): use getMasterBuffer()
2176         (getMasterBuffer): new method. Returns the main document in the
2177         case where one is using included documents.
2178
2179 2004-03-25  André Pönitz  <poenitz@gmx.net>
2180
2181         * Makefile.am:
2182         * iterators.[Ch]:
2183         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2184
2185         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2186
2187         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2188         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2189
2190         * ParameterStruct.h: merge with ParagraphParameters
2191
2192         * lyxtext.h: remove LyXText::parOffset() and getPar()
2193
2194         * text3.C: Remove all 'manual' update calls. We do now one per user
2195         interaction which is completely sufficient.
2196
2197         * Bidi.C:
2198         * BufferView.[Ch]:
2199         * BufferView_pimpl.C:
2200         * FontIterator.[Ch]:
2201         * MenuBackend.C:
2202         * ParagraphParameters.[Ch]:
2203         * buffer.C:
2204         * buffer.h:
2205         * bufferlist.C:
2206         * cursor.[Ch]:
2207         * cursor_slice.[Ch]:
2208         * dociterator.[Ch]:
2209         * errorlist.[Ch]:
2210         * factory.C:
2211         * lfuns.h:
2212         * lyxfind.C:
2213         * lyxfunc.C:
2214         * output_docbook.[Ch]:
2215         * output_latex.[Ch]:
2216         * output_linuxdoc.[Ch]:
2217         * output_plaintext.[Ch]:
2218         * paragraph.[Ch]:
2219         * paragraph_funcs.[Ch]:
2220         * paragraph_pimpl.[Ch]:
2221         * rowpainter.C:
2222         * tabular.[Ch]:
2223         * text.C:
2224         * text2.C:
2225         * toc.C:
2226         * undo.[Ch]: adjust
2227
2228         * frontends/controllers/ControlDocument.C:
2229         * frontends/controllers/ControlErrorList.C:
2230         * frontends/controllers/ControlSpellchecker.C:
2231         * insets/inset.C:
2232         * insets/inset.h:
2233         * insets/insetbase.h:
2234         * insets/insetbibitem.C:
2235         * insets/insetbox.C:
2236         * insets/insetbranch.C:
2237         * insets/insetcaption.C:
2238         * insets/insetcharstyle.C:
2239         * insets/insetcharstyle.h:
2240         * insets/insetcollapsable.C:
2241         * insets/insetcollapsable.h:
2242         * insets/insetert.C:
2243         * insets/insetfloat.C:
2244         * insets/insetfoot.C:
2245         * insets/insetmarginal.C:
2246         * insets/insetnote.C:
2247         * insets/insetoptarg.C:
2248         * insets/insettabular.C:
2249         * insets/insettext.C:
2250         * insets/insettext.h:
2251         * insets/insetwrap.C:
2252         * mathed/math_mboxinset.C:
2253         * mathed/math_nestinset.C:
2254         * mathed/math_scriptinset.C:
2255         * mathed/math_scriptinset.h:
2256         * support/types.h:
2257
2258 2004-03-24  Angus Leeming  <leeming@lyx.org>
2259
2260         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2261         deal with any child processes that have finished but are waiting to
2262         communicate this fact to the rest of LyX.
2263
2264 2004-03-24  Angus Leeming  <leeming@lyx.org>
2265
2266         64-bit compile fixes.
2267
2268         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2269         (c-tor): pass lyx::pos_types rather than ints.
2270
2271         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2272         lyx::pos_type.
2273
2274         * text.C (Delete): compile fix.
2275         (getPar): ensure that function declaration is the same as that in
2276         the header file.
2277
2278 2004-03-23  Angus Leeming  <leeming@lyx.org>
2279
2280         * ispell.C (LaunchIspell):
2281         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2282         a boost::shred_ptr rather than a std::auto_ptr.
2283
2284 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2285
2286         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2287         handle LFUN_FILE_INSERT_*
2288
2289         * lyxrc.C (setDefaults, getDescription, output, read):
2290         * lyxrc.h: remove ps_command
2291
2292 2004-03-22  Angus Leeming  <leeming@lyx.org>
2293
2294         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2295         Ensure that error_handler is processed once only and that all data
2296         is saved before attempting to output any warning messages.
2297
2298         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2299
2300 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2303
2304 2004-03-19  André Pönitz  <poenitz@gmx.net>
2305
2306         * cursor.[Ch] (reset): take main text inset as argument
2307
2308         * BufferView: adjust
2309         * BufferView_pimpl.C: adjust
2310
2311         * paragraph.[Ch]: fix completely broken operator=()
2312
2313 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * LColor.C (getFromLyXName): make sure that the color name is used
2316         as lowercase.
2317
2318 2004-03-17  Angus Leeming  <leeming@lyx.org>
2319
2320         * lfuns.h:
2321         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2322
2323         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2324         dialog and to kill a forked process.
2325
2326 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * text2.C (setCursorFromCoordinates): fix font problem
2329
2330 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2333         bogus "rebuild cursor" code
2334
2335 2004-03-11  André Pönitz  <poenitz@gmx.net>
2336
2337         * buffer.[Ch]: use InsetText instead of LyXText as container for
2338         the main lyx text.
2339
2340         * dociterator.[Ch]: drop the BufferView * member which is not needed
2341         anymore after the change to buffer.C
2342
2343         * paragraph_funcs.C:
2344         * text.C:
2345         * text2.C:
2346         * BufferView.[Ch]:
2347         * BufferView_pimpl.[Ch]:
2348         * cursor.[Ch]:
2349         * cursor_slice.[Ch]: adjust
2350
2351         * text3.C: fix bug in mathDispatch
2352
2353 2004-03-08  André Pönitz  <poenitz@gmx.net>
2354
2355         * undo.[Ch]: use 'StableDocumentIterator' as base for
2356         the Undo struct.
2357
2358 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2359
2360         * LaTeXFeatures.C:
2361         * bufferparams.[Ch]: add jurabib support and param.
2362
2363         * LaTeX.C: add FIXME/comment.
2364
2365 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2366
2367         * buffer.C: increment file format to 230.
2368
2369 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2370
2371         * cursor.C (dispatch): avoid infinite loops
2372
2373 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * rowpainter.C (paintSelection): fix x coordinates
2376
2377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * text.C (rowBreakPoint): fix breaking before displayed insets
2380
2381 2004-03-01  André Pönitz  <poenitz@gmx.net>
2382
2383         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2384
2385         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2386
2387         * Makefile.am:
2388         * BufferView.C:
2389         * BufferView_pimpl.C:
2390         * buffer.C:
2391         * lyxfind.C:
2392         * lyxfunc.C:
2393         * text.C:
2394         * text2.C:
2395         * text3.C: adjust
2396
2397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * lyxtext.h:
2400         * text.C:
2401         * text2.C:
2402         * rowpainter.C:
2403         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2404         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2405
2406 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2407
2408         * Bidi.[Ch] (computeTables): const correctness
2409         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2410         fill_hfill, fill_label_hfill and x from Row
2411         * lyxtext.h: prepareToPrint returns a RowMetrics
2412         * rowPainter.C: adjust
2413         * text.C (prepareToPrint): use width, not textWidth. adjust
2414         (redoParagraphInternal, cursorX): adjust
2415         * text2.C (getColumnNearX): adjust
2416         (init): put a default value to the top LyXText::width
2417
2418 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2421
2422 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * lyxtext.h: add FontIterator class
2425
2426         * text.C (FontIterator, operator*, operator->, operator++): add
2427         (rowBreakPoint, setRowWidth): adjust (fixing a
2428         rebreaking bug)
2429
2430 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * BufferView_pimpl.C (workAreaDispatch): allow also
2433         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2434
2435 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2436
2437         * text.C (rowBreakPoint): fix a bug showing with very large insets
2438
2439 2004-02-25  André Pönitz  <poenitz@gmx.net>
2440
2441         * text3.C:
2442         * cursor.[Ch]: move some mathed specific code to mathed
2443
2444 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2445
2446         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2447         use_tempdir in preferences
2448         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2449         tempfile creation
2450         * lyx_main.C: ensure that tempdir is valid
2451         * lyxlex.h: correct typo
2452         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2453         * paragraph.[Ch] (isMultiLingual): make const
2454         * cursor.[Ch] (openable): make const
2455
2456 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2457
2458         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2459
2460 2004-02-20  André Pönitz  <poenitz@gmx.net>
2461
2462         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2463
2464         * cursor.[Ch]: prepare for localized getStatus()
2465
2466         * lyxtext.h:
2467         * tabular.C:
2468         * text.C:
2469         * text2.C:
2470         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2471
2472 2004-02-20  André Pönitz  <poenitz@gmx.net>
2473
2474         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2475
2476 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * text2.C (setCursorFromCoordinates): switch to absolute coords
2479         (cursorUp): adjust
2480         (cursorDown): adjust
2481         * text3.C (dispatch): adjust
2482
2483 2004-02-16  André Pönitz  <poenitz@gmx.net>
2484
2485         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2486           insets/ChangeLog)
2487
2488         * cursor_slice.[Ch]: remove unneeded acessor function
2489
2490         * lyxtext.h: rename rtl() to isRTL()
2491
2492         * rowpainter.C:
2493         * tabular.C:
2494         * text.C:
2495         * text2.C:
2496         * text3.C: adjust
2497
2498 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2499
2500         * rowpainter.C (paintSelection): coord fix
2501
2502 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2503
2504         * Spacing.C: compile fix
2505
2506 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * cursor.C (dispatch): restore current_ before returning
2509
2510 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * text2.C (cursorUp, cursorDown): fix coords
2513         (moveUp): fix crash
2514
2515 2004-02-12  André Pönitz  <poenitz@gmx.net>
2516
2517         * lyxtext.h:
2518         * text.C:
2519         * text2.C:
2520         * text3.C: add LCursor & parameter to most cursor movement functions
2521           remove usage of LyXText::cursorRow() and cursorPar()
2522
2523         * cursor.[Ch]: add textRow() needed members
2524
2525         * BufferView.C:
2526         * BufferView_pimpl.C:
2527         * paragraph.[Ch]:
2528         * BufferView.C:
2529         * BufferView_pimpl.C: adjust
2530
2531 2004-02-11  André Pönitz  <poenitz@gmx.net>
2532
2533         * lyxfunc.C:
2534         * BufferView.[Ch]:
2535         * BufferView_pimpl.C: shift undo/redo handling
2536
2537         * cursor.[Ch]: fix mathed crash
2538
2539         * lyxfind.C:
2540         * lyxtext.h: move selectionAsText to LCursor
2541
2542         * output_latex.C:
2543         * paragraph.C:
2544         * text.C:
2545         * text2.C:
2546         * text3.C: adjust
2547
2548         * rowpainter.C: fix excessive drawing
2549
2550 2004-02-06  André Pönitz  <poenitz@gmx.net>
2551
2552         * BufferView.[Ch]:
2553         * BufferView_pimpl.[Ch]:
2554         * text3.C: move some text specific LFUN handling
2555
2556 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * text3.C (checkInsetHit): adjust coords
2559         * text2.C (getColumnNearX): adjust coords
2560         (edit): adjust coords
2561         * text.C (getRowNearY): add two asserts
2562
2563 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2564
2565         * converter.C:
2566         * format.C: add using std::distance to compile on gcc 2.95/stlport
2567
2568 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2569
2570         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2571
2572 2004-02-04  André Pönitz  <poenitz@gmx.net>
2573
2574         * BufferView.[Ch] (insertInset):
2575         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2576
2577         * text2.C:
2578         * text3.C: adjust
2579
2580 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2583         on the default clause of the switch
2584         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2585         wasn't catched by LCursor::dispatch
2586
2587 2004-02-03  André Pönitz  <poenitz@gmx.net>
2588
2589         * BufferView.C:
2590         * cursor.[Ch]: some additional asserts
2591
2592         * undo.[Ch]: remove LyXText dependency in interface
2593
2594         * lyxfunc.C: adjust
2595
2596         * lyxtext.h (firstPar, lastPar): remove dead functions
2597
2598         * text.C:
2599         * text2.C:
2600         * text3.C:
2601         * paragraph.[Ch]: adjust
2602
2603 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * lyxfind.C (find): fix argument order in call to ::find
2606
2607 2004-02-02  André Pönitz  <poenitz@gmx.net>
2608
2609         * cursor.[Ch]: remove direct access to anchor
2610
2611         * text.C: remove findText() hack
2612
2613 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2614
2615         * iterators.[Ch] (lockPath): remove in favour of...
2616         * BufferView.[Ch] (setCursor): this addition
2617         * BufferView.C (putSelectionAt): adjust
2618         * undo.C (performUndoOrRedo): adjust
2619         * lyxfunc.C (dispatch): adjust
2620
2621 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2622
2623         * iterators.C (lockPath): add a missing slice
2624         * undo.C (performUndoOrRedo): remove redundant positioning code
2625
2626 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2627
2628         * vc-backend.C (scanMaster): ";" -> ';'
2629
2630 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2631
2632         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2633         std::binary_function
2634
2635         * lyxtextclass.C (compare_name): rename to...
2636         (LayoutNamesEqual): ...this
2637
2638         * lyxlex_pimpl.C (compare_tags): inherit from
2639         std::binary_function, put back into anon namespace
2640
2641         * lyxfind.C (MatchString): inherig from std::binary_function
2642         (findChange): use empty() istead of !size()
2643
2644         * format.C (FormatNamesEqual): new functor
2645         (getFormat): use it
2646         (getNumber): use it
2647         (add): use it
2648         (erase): use it
2649         (setViewer): use it
2650
2651         * converter.C (compare_Converter): rename to...
2652         (ConverterEqual): ...this, and fixup a bit.
2653         (getConverter): use it, and make function const
2654         (getNumber): use it, and make function const
2655         (add): use it
2656         (erase): use it:
2657
2658         * bufferlist.C: add using boost::bind
2659
2660         * MenuBackend.C (MenuNamesEqual): new functor
2661         (hasMenu): use it, and make function const
2662         (hasSubmenu): use nested bind to get rid of compare_memfun.
2663
2664 2004-01-30  André Pönitz  <poenitz@gmx.net>
2665
2666         * BufferView_pimpl.C:
2667         * cursor.C:
2668         * cursor.h:
2669         * cursor_slice.[Ch]:
2670         * lyxfunc.C:
2671         * lyxtext.h:
2672         * paragraph_funcs.C:
2673         * paragraph_funcs.h:
2674         * rowpainter.C:
2675         * text.C:
2676         * text2.C:
2677         * text3.C: move some of the edit(x,y) handling to the insets
2678         some coordinate changes.
2679
2680 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2681
2682         * text.C: add using statements for std::advance and std::distance
2683
2684         * paragraph.C: add using statement for std::distance
2685
2686         * lyxfind.C: add using statement for std::advance
2687
2688         * cursor.C (region): remove std:: from swap
2689         (openable): use nucleus in stead of operator->
2690
2691         * BufferView.C: add using statements for std::distance and std::swap
2692
2693 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2694
2695         * iterators.C: Remove the pimple, move the needed structures to
2696         the header file. Create accessor for the positions stack.
2697         (asPosIterator): remove function
2698
2699         * PosIterator.C (PosIterator): move constructors to top of file
2700         (PosIterator): reimplement the constructor taking a ParIterator in
2701         terms of setFrom.
2702         (setFrom): new function
2703         (operator!=): inline it
2704
2705 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2706
2707         * lyxfind.C (replaceAll): use std::advance
2708
2709         * iterators.h: inherit from std::iterator.
2710
2711         * PosIterator.C (advance, distance): remove
2712         * PosIterator.h: interit from std::iterator.
2713
2714 2004-01-26  André Pönitz  <poenitz@gmx.net>
2715
2716         * BufferView.[Ch]:
2717         * BufferView_pimpl.[Ch]:
2718         * InsetList.[Ch]:
2719         * PosIterator.[Ch]:
2720         * buffer.h:
2721         * bufferview_funcs.C:
2722         * cursor.[Ch]:
2723         * cursor_slice.h:
2724         * factory.[Ch]:
2725         * iterators.[Ch]:
2726         * lyxfind.C:
2727         * lyxfunc.C:
2728         * lyxtext.h:
2729         * output_docbook.C:
2730         * output_latex.C:
2731         * output_linuxdoc.C:
2732         * output_plaintext.C:
2733         * paragraph.[Ch]:
2734         * paragraph_funcs.[Ch]:
2735         * paragraph_pimpl.[Ch]:
2736         * rowpainter.C:
2737         * tabular.C:
2738         * tabular.h:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: more IU:  dumps most of the rest of the mathcursor
2742     implementation into cursor.[Ch]; "globalize" a bit of it.
2743
2744 2004-01-25  Angus Leeming  <leeming@lyx.org>
2745
2746         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2747
2748 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2749
2750         * LaTeXFeatures.h: add nice_ and nice() const
2751         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2752
2753 2004-01-20  André Pönitz  <poenitz@gmx.net>
2754
2755         * BufferView.[Ch]:
2756         * BufferView_pimpl.C:
2757         * PosIterator.C:
2758         * bufferview_funcs.C:
2759         * cursor.[Ch]:
2760         * cursor_slice.[Ch]:
2761         * factory.C:
2762         * iterators.C:
2763         * lyx_cb.C:
2764         * lyxfind.C:
2765         * lyxfunc.C:
2766         * lyxtext.h:
2767         * rowpainter.C:
2768         * text.C:
2769         * text2.C:
2770         * text3.C:
2771         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2772           LCursor and mathcursor parts to LCursor and InsetBase.
2773
2774 2004-01-15  André Pönitz  <poenitz@gmx.net>
2775
2776         * cursor_slice.[Ch]: add a few covienience functions
2777
2778         * funcrequest.[Ch]: remove BufferView * member
2779
2780         * BufferView_pimpl.C:
2781         * cursor.C:
2782         * factory.[Ch]:
2783         * lyxfind.[Ch]:
2784         * lyxfunc.C:
2785         * lyxtext.h:
2786         * text3.C:
2787         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2788
2789 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2792         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2793
2794 2004-01-13  André Pönitz  <poenitz@gmx.net>
2795
2796         * textcursor.[Ch]:
2797         * lyxtext.h: hide cursor and selection anchor behind accessor function
2798
2799         * BufferView.C:
2800         * BufferView_pimpl.[Ch]:
2801         * PosIterator.C:
2802         * bufferview_funcs.C:
2803         * cursor.h:
2804         * lyxfind.C:
2805         * lyxfunc.C:
2806         * text.C:
2807         * text2.C:
2808         * text3.C:
2809         * undo.C: adjust
2810
2811         * cursor.h:
2812         * cursor_slice.[Ch]: some integer type changes for inset unification
2813
2814         * lyxcursor.[hC]: remove, it's CursorSlice now.
2815
2816         * Makefile.am:
2817         * BufferView_pimpl.[Ch]:
2818         * bufferview_funcs.C:
2819         * cursor_slice.C:
2820         * lyxtext.h:
2821         * text.C:
2822         * text2.C:
2823         * text3.C:
2824         * textcursor.[Ch]: adjust
2825
2826 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2827
2828         * text2.C (undoSpan): add and use
2829         * text.C (breakParagraph): use undoSpan (fix bug 578)
2830         * lyxtext.h: adjust
2831
2832 2004-01-08  Angus Leeming  <leeming@lyx.org>
2833
2834         * BufferView_pimpl.C (MenuInsertLyXFile):
2835         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2836         * lyxfunc.C (menuNew, open, doImport):
2837         FileFilterList change to the FileDialog open and save functions.
2838
2839 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2840
2841         * ShareContainer.h: make isEqual and isUnique adaptable
2842
2843         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2844
2845 2004-01-07  Angus Leeming  <leeming@lyx.org>
2846
2847         * LyXAction.C:
2848         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2849
2850         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2851
2852         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2853         functions replacing find, replace and replaceAll.
2854
2855         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2856         LFUN_WORDFIND(FORWARD|BACKWARD).
2857
2858 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * text.C (breakParagraph): remove an outdated #warning
2861
2862 2004-01-07  André Pönitz  <poenitz@gmx.net>
2863
2864         * lyxfind.C: somewhat clearer logic
2865
2866         * text.C: prevent crash in cursorX on unitialized row cache
2867
2868 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2869
2870         * lyxcursor.[Ch] (operator>): add
2871         * textcursor.C (selStart, selEnd): use std::min and std::max
2872
2873 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2874
2875         * Chktex.C: include boost/format.hpp
2876
2877 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2878
2879         * InsetList.C: replace functor MathcIt with adaptable functor
2880         InsetTablePosLess
2881         (insetIterator): modify accordingly
2882
2883         * BranchList.h: move the BranchNamesEqual functor here from...
2884         * BranchList.C: ... to here
2885
2886         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2887         SameName and match.
2888         (add): replace a finding loop with std::find_if.
2889
2890 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2891
2892         * output_docbook.C: moving LatexParam functionality into
2893         .layout files
2894
2895 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2896
2897         * buffer.C: increment format to 229.
2898
2899 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2900
2901         * LaTeXFeatures.C:
2902         * lyx_sty.[Ch]: remove minipageindent_def
2903
2904         * LyXAction.C:
2905         * factory.C:
2906         * lfuns.h:
2907         * lyxfunc.C:
2908         * text3.C: remove LFUN_INSET_MINIPAGE
2909
2910 2003-12-28  Angus Leeming  <leeming@lyx.org>
2911
2912         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2913
2914 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * text2.C (setParagraph): fix off-by-one crash
2917
2918 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2919
2920         * output_docbook.C: header stuff for AGU
2921
2922 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * text2.C (redoCursor): remove
2925         * text.C:
2926         * text3.C:
2927         * BufferView_pimpl.C: remove calls to redoCursor and
2928         setCursor(cursor.par(), cursor.pos()) all around
2929
2930 2003-12-15  Angus Leeming  <leeming@lyx.org>
2931
2932         * buffer.C: up the format to 228.
2933
2934 2003-12-15  André Pönitz  <poenitz@gmx.net>
2935
2936         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2937         slices
2938
2939         * Makefile.am:
2940
2941         * BufferView_pimpl.C:
2942         * cursor.[Ch]:
2943         * lyxcursor.[Ch]:
2944         * rowpainter.[Ch]:
2945         * lyxtext.h:
2946         * text.C:
2947         * text2.C:
2948         * text3.C: adjust
2949
2950 2003-12-15  Angus Leeming  <leeming@lyx.org>
2951
2952         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2953         than getFromGUIName to manipulate the color.
2954
2955 2003-12-14  Angus Leeming  <leeming@lyx.org>
2956
2957         * BranchList.[Ch]: minimize the API.
2958         (Branch::getBranch, getColor): now return a 'const &'.
2959         (Branch::setSelected) now returns a bool set to true if the
2960         selection status changes.
2961         (BranchList::clear, size, getColor, setColor, setSelected,
2962         allBranches, allSelected, separator): removed.
2963         (BranchList::find): new functions, returning the Branch with
2964         the given name.
2965         (BranchList::add, remove): return a bool indicating that
2966         the operation was successful.
2967
2968         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2969         new InsetBranch::isBranchSlected member function.
2970
2971         * LColor.[Ch]: mimimize the API.
2972         (fill): renamed as addColor and made private.
2973         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2974         versions of these functions taking a string arg have been removed.
2975
2976         * bufferparams.C (readToken):
2977         * lyxfunc.C (dispatch):
2978         * lyxrc.C (read): changes due to the altered BranchList and
2979         LColor APIs.
2980
2981         * factory.C (createInset, readInset): changes due to altered
2982         InsetBranch c-tor.
2983
2984 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2985
2986         * factory.C:
2987         * lyxfunc.C: remove insetminipage. "minipage-insert"
2988         now produces a frameless minipage box inset.
2989
2990 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * textcursor.[Ch] (selStart,selEnd): add new methods
2993         remove selection::start, end, use LyXCursor::operator<
2994         * lyxcursor.[Ch] (operator<): add
2995         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2996         * BufferView.[Ch] (unsetXSel): add
2997         * text2.C (clearSelection): use unsetXSel,adjust
2998         * text.C: adjust
2999         * text3.C: adjust
3000         * rowpainter.C: adjust
3001         * bufferview_funcs.C (put_selection_at): adjust
3002
3003 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * BufferView_pimpl.C: small coord. correction
3006
3007 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3010         dragging over the splash screen.
3011
3012 2003-12-11  Angus Leeming  <leeming@lyx.org>
3013
3014         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3015         as it is now handled in LyXText::dispatch.
3016
3017         * text3.C (doInsertInset): remove a level of nesting.
3018
3019 2003-12-11  Angus Leeming  <leeming@lyx.org>
3020
3021         * factory.C (createInset): changes due to the changed interface to
3022         InsetCommandMailer::string2params.
3023
3024 2003-12-10  Angus Leeming  <leeming@lyx.org>
3025
3026         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3027         'dialog-show-new-inset <inset name>'
3028
3029 2003-12-10  Angus Leeming  <leeming@lyx.org>
3030
3031         * buffer.C: up the format to 227.
3032
3033         * factory.C: the box inset is now identified simply by 'Box'.
3034
3035 2003-12-10  Angus Leeming  <leeming@lyx.org>
3036
3037         * buffer.C: up the format to 226.
3038
3039         * factory.C: the note inset is now identified simply by 'Note'.
3040
3041 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3042
3043         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3044         when a pit is enough. Standarize a couple of loops.
3045
3046 2003-12-05  Angus Leeming  <leeming@lyx.org>
3047
3048         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3049         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3050         data to the re-worked "log" dialog.
3051
3052 2003-12-03  André Pönitz  <poenitz@gmx.net>
3053
3054         * PosIterator.C:
3055         * iterators.C:
3056         * lyxtext.h:
3057         * output_latex.C:
3058         * paragraph_funcs.C:
3059         * text.C:
3060         * text2.C: use Inset::getText instead of Inset::getParagraph
3061
3062 2003-12-03  André Pönitz  <poenitz@gmx.net>
3063
3064         * buffer.[Ch]:
3065         * lyxtext.h:
3066         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3067         InsetText::read() as LyXText::read()
3068
3069 2003-12-02  Angus Leeming  <leeming@lyx.org>
3070
3071         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3072         type. Add a comment in the implementation that the function uses
3073         the stream's bad() function rather than fail() as the std::streams
3074         would do.
3075
3076 2003-12-02  André Pönitz  <poenitz@gmx.net>
3077
3078         * lyxlex.[Ch]: make interface more similar to std::stream
3079
3080         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3081
3082 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3083
3084         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3085
3086 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3087
3088         * vspace.[Ch]: remove VSpace::NONE
3089
3090 2003-12-01  André Pönitz  <poenitz@gmx.net>
3091
3092         * buffer.[Ch]:
3093         * lyxtext.h: move ParagraphList member to LyXText
3094         rename LyXText::ownerParagraphs to LyXText::paragraph
3095
3096         * CutAndPaste.C:
3097         * bufferview_funcs.C:
3098         * iterators.[Ch]:
3099         * lyx_cb.C:
3100         * paragraph.C:
3101         * rowpainter.C:
3102         * tabular.C:
3103         * text.C:
3104         * text2.C:
3105         * text3.C: adjust
3106
3107         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3108
3109         * undo.C: fix cursor positioning
3110
3111 2003-12-01  John Levon  <levon@movementarian.org>
3112
3113         * BufferView_pimpl.C: fix a crash on exit with
3114         a buffer open
3115
3116 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3117
3118         * BranchList.C: fix setSelected() method.
3119
3120 2003-11-28  André Pönitz  <poenitz@gmx.net>
3121
3122         * ParagraphParameters.[Ch]:
3123         * ParameterStruct.h: remove space above/below from Paragraph to
3124          InsetVSpace
3125
3126         * BufferView_pimpl.C:
3127         * factory.C:
3128         * lyxfunc.C:
3129         * lyxtext.h:
3130         * output_latex.C:
3131         * paragraph.C:
3132         * paragraph_funcs.C:
3133         * rowpainter.[Ch]:
3134         * text.C:
3135         * text2.C:
3136         * text3.C: adjust
3137
3138 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3139
3140         * factory.C: Syntax change for CharStyles
3141
3142 2003-11-28  André Pönitz  <poenitz@gmx.net>
3143
3144         * BufferView.[Ch]:
3145         * BufferView.[Ch]:
3146         * buffer.[Ch]:
3147         * buffer.[Ch]: move LyXText member
3148
3149 2003-11-28  André Pönitz  <poenitz@gmx.net>
3150
3151         * BufferView.[Ch]: make LyXText * text a private member
3152
3153         * BufferView_pimpl.C:
3154         * cursor.C:
3155         * iterators.C:
3156         * lyx_cb.C:
3157         * lyxfind.C:
3158         * lyxtext.h:
3159         * rowpainter.[Ch]:
3160         * text.C:
3161         * text2.C:
3162         * undo.C: adjust
3163
3164         * output_plaintext.C: cleanup
3165
3166 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3167
3168         * buffer.C:
3169         * lyxtextclass.[Ch]: parametrize SGML document header
3170
3171 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3172
3173         * converter.[Ch]:
3174         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3175         getFlavor().
3176
3177 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3178
3179         * text2.C (setFont): rework using PosIterator (no more recursive)
3180         (setCharFont): no more needed
3181         (setLayout): no more selection cursors fiddling (done by redoCursor)
3182         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3183         destroy remaining ones)
3184
3185 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3186
3187         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3188         * lyxtext.h: ditto
3189         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3190         selection cursors
3191         * lyxfunc.C: adjust
3192         * text3.C: adjust + re-allow multi par depth changes
3193         * textcursor.C: simplify a bit
3194
3195 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * src/buffer.C:
3198         * src/lyxlayout.C:
3199         * src/lyxlayout.h:
3200         * src/lyxtext.h:
3201         * src/output_docbook.C:
3202         * src/output_latex.C:
3203         * src/paragraph.C:
3204         * src/paragraph.h:
3205         * src/sgml.C:
3206         * src/sgml.h:
3207         * src/text2.C: Introducing a number of tags parametrizing various
3208         XML formats that we may want to support
3209
3210 2003-11-25  André Pönitz  <poenitz@gmx.net>
3211
3212         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3213
3214         * lyxtext.h (leftMargin/rightMargin): simplify interface
3215
3216         * rowpainter.C:
3217         * text.C:
3218         * text2.C:
3219         * text3.C: adjust
3220
3221 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3222
3223         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3224         master file to any child files. Fixes bug 546.
3225
3226 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3229
3230 2003-11-24  André Pönitz  <poenitz@gmx.net>
3231
3232         * rowpainter.C: simplification
3233
3234         * text2.C (updateCounters): remove call to redoParagraph on
3235         changed labels as this is far too expensive.
3236
3237 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3238
3239         * converter.C (convert): fix a crash: this function gets
3240         called with buffer == 0 from importer code.
3241
3242 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3243
3244         * text3.C (cursorPrevious): make sure that we do not compare
3245         iterators form different containers.
3246         (cursorNext): ditto
3247
3248         * rowpainter.C (paintSelection): make sure that we do not compare
3249         iterators from different containers.
3250
3251         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3252         iterators from different ParagraphList containers.
3253         [NEXT] ditto
3254
3255         * text2.C (LyXText): change order of initialization slightly
3256         (operator=): new function. copy all variables except cache_par_
3257         (moveUp): make sure that we do not compare iterators from
3258         different ParagraphList constainers.
3259         (moveDown): ditto
3260
3261         * text.C (firstPar): new function
3262         (lastPar): new function
3263         (endPar): new function
3264
3265         * lyxtext.h: move things around and group public functions, public
3266         variables, private functions, private variables
3267
3268 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3269
3270         * factory.C: change call to InsetERT constructor to avoid
3271         additional invocation of method status
3272         * text2.C (toggleInset): remove redundant update() call
3273         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3274         instead of a Bufferview pointer
3275
3276 2003-11-21  André Pönitz  <poenitz@gmx.net>
3277
3278         * rowpainter.C: simplification
3279
3280 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * text3.C (dispatch): make possible to extend a word/row selection
3283         with the mouse
3284
3285 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3286
3287         * lyxtext.h: x0_,y0_ -> xo_,yo_
3288         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3289         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3290         * rowpainter.C (paintRows): paint full paragraphs
3291
3292 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3295         screen coordinates)
3296
3297 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3298
3299         * lyxtext.h: add x0_, y0_
3300         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3301         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3302
3303 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * text2.C (setCursorIntern): move the x_target update here *
3306         * text3.C: change some bv() to true/false in calls to
3307         cursorUp/Down/Right/Left
3308         * cursor.C: use helper function.
3309
3310 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3313         * paragraph_funcs.[Ch]: correct comment
3314         * rowpainter.C: do not paint selections away from bv->cursor()
3315         Fix a long standing selection painting bug.
3316         * text3.C: generalize mouse-selection code to LyXTexts other that
3317         top one
3318         * textcursor.C: do not use y coords if we can use par offsets
3319
3320 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3323         cursor position after e.g. inset insert)
3324
3325 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3326
3327         * lyxfind.C (replace): adjust to locking removal + some
3328         code simplification
3329
3330 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3333         of the path
3334
3335 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3336
3337         * lyxlayout.[Ch]:
3338         * output_docbook.C: XML sanitation: new layout
3339         parameters InnerTag and CommandDepth
3340
3341 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3342
3343         * BufferView_pimpl.C:
3344         * factory.C:
3345         * text3.C: Fix the insertion and modification of button-style
3346         insets
3347
3348 2003-11-13  André Pönitz  <poenitz@gmx.net>
3349
3350         * InsetList.[Ch]: remove deleteLyXText
3351
3352         * paragraph.[Ch]: cache beginOfBody position
3353
3354         * Bidi.C:
3355         * text.C:
3356         * text2.C:
3357         * text3.C: remove superfluous update() calls
3358
3359         * vspace.C: cleanup
3360
3361 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3364         * BufferView.C (fitLockedInsetCursor): remove
3365         * cursor.[Ch] (getDim): add
3366         * text.C (getRowNearY): add faster version
3367         * text3.C: remove some update calls
3368
3369 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * LaTeXFeatures.C:
3372         * LyXAction.C:
3373         * MenuBackend.C:
3374         * MenuBackend.h:
3375         * dispatchresult.h:
3376         * factory.C:
3377         * lfuns.h:
3378         * lyxfunc.C:
3379         * lyxtextclass.C:
3380         * lyxtextclass.h:
3381         * text3.C: The Character Style /XML short element patch.
3382
3383 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3384
3385         * text3.C:
3386         * factory.C: Small step to solving 'unable to insert some insets'
3387         problem
3388
3389 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * cursor.[Ch] (updatePos): new function for updating the y
3392         position of the tip inset
3393         * bufferview_funcs.C (put_selection_at):
3394         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3395
3396 2003-11-11  André Pönitz  <poenitz@gmx.net>
3397
3398         * text.C: remove big comment on invalid Paragraph pointers as it is
3399         not valid anymore
3400
3401 2003-11-11  André Pönitz  <poenitz@gmx.net>
3402
3403         * text_funcs.[Ch]: merge with ...
3404
3405         * text.C: ... this
3406
3407         * lyxtext.h:
3408         * text2.C:
3409         * text3.C: adjust
3410
3411         * Makefile.am: remove text_funcs.[Ch]
3412
3413 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * cursor.C (getPos): return absolute cached y coord
3416
3417         * BufferView_pimpl.C (fitCursor): new simplistic code
3418         (workAreaDispatch): add a fitCursor call
3419
3420 2003-11-10  André Pönitz  <poenitz@gmx.net>
3421
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3424
3425 2003-11-10  André Pönitz  <poenitz@gmx.net>
3426
3427         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3428         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3429         indicate that the cursor needs to leave an inset
3430
3431         * lyxtext.h: remove inset locking
3432
3433         * cursor.[Ch]: re-implement functionality provided by inset locking
3434
3435         * BufferView.[Ch]:
3436         * BufferView_pimpl.[Ch]:
3437         * LyXAction.C:
3438         * bufferview_funcs.[Ch]:
3439         * factory.C:
3440         * funcrequest.[Ch]:
3441         * iterators.C:
3442         * lyx_cb.C:
3443         * lyxfind.C:
3444         * lyxfunc.C:
3445         * text.C:
3446         * text2.C:
3447         * text3.C:
3448         * undo.C: adjust
3449
3450 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * PosIterator.[Ch]: replace the stack with a vector, add inset
3453         accesor
3454         * iterators.[C]: adjust
3455
3456 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3457
3458         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3459         replaced
3460         * paragraph_funcs.C (readParToken): put the correct id in the
3461         error item, not the id of the top paragraph
3462
3463 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3466         * bufferview_funcs.C (put_selection_at): use the above
3467
3468 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3471
3472 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3473
3474         * output_linuxdoc.h:
3475         * output_plaintext.h:
3476         * output.h:
3477         * output_docbook.h: add #include statements
3478
3479 2003-11-05  José Matos  <jamatos@lyx.org>
3480
3481         * output_docbook.[Ch]:
3482         * output_latex.[Ch]:
3483         * output_linuxdoc.[Ch]:
3484         * output_plaintext.[Ch]: New files for output formats.
3485         * output.[Ch]: New file for helper functions.
3486
3487         * buffer.[Ch]:
3488         * paragraph_funcs.[Ch]: output functions moved to new files.
3489
3490         * outputparams.h: rename of latexrunparams.h
3491
3492         * LaTeX.[Ch]:
3493         * buffer.[Ch]:
3494         * bufferlist.[Ch]:
3495         * converter.[Ch]:
3496         * exporter.C:
3497         * paragraph.[Ch]:
3498         * paragraph_funcs.[Ch]:
3499         * paragraph_pimpl.[Ch]:
3500         * tabular.[Ch]: rename ascii to plaintext
3501         and LatexRunParams to OutputParams.
3502
3503 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * iterators.[Ch] (text): require bv argument
3506         * undo.C (recordUndo):
3507         * lyxfunc.C (dispatch):
3508         * bufferview_funcs.C (put_selection_at): adjust
3509
3510 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3511
3512         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3513
3514 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3517         nestings
3518
3519 2003-11-04  André Pönitz  <poenitz@gmx.net>
3520
3521         * cursor.[Ch]: restructure
3522
3523         * BufferView.[Ch]:
3524         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3525
3526         * iterators.[Ch] (asCursor): remove
3527
3528         * lfuns.h: remove LFUN_INSET_EDIT
3529
3530         * lyxfunc.C:
3531         * tabular.C:
3532         * text.C:
3533         * text2.C:
3534         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3535
3536 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3537
3538         * lyxfind.[Ch]: complete overhaul
3539         * BufferView_pimpl.C:
3540         * lyxfunc.C: adjust
3541         * paragraph.[Ch] (insert): add
3542
3543 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * BufferView.[Ch]:
3546         * lyxtext.h:
3547         * text.C: remove dead spellcheck code
3548
3549 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * dispatchresult.h: add a val setter
3552
3553         * cursor.C (dispatch): use a tempvar for data_[i]
3554
3555 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * PosIterator.[Ch]: compile fix
3558
3559 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text.C (cursorPar): deactivate the cursor cache
3562
3563 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3566
3567 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * text3.C (dispatch): adjust for new DisptchResult semantics.
3570
3571         * lyxfunc.C (dispatch): handle update when return from
3572         Cursor::dispatch, adjust for new DispatchResult semantics.
3573
3574         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3575         DispatchResult(true) mean to not update. Add class functions for
3576         setting dispatched and update, as well as reading.
3577
3578         * cursor.C (dispatch): don't handle update here
3579
3580 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3583         * trans_mgr.C: adjust
3584
3585         * paragraph_funcs.C (readParToken): exception safety
3586
3587         * lyxvc.h: store the vcs pointer in a scoped_ptr
3588         * lyxvc.C: adjust
3589
3590         * lyxsocket.C (serverCallback): exception safety
3591
3592         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3593
3594         * ispell.C (clone): make it return a auto_ptr
3595
3596         * factory.C (createInset): exception safety
3597         (readInset): exception safety
3598
3599         * bufferlist.C (newBuffer): exception safety
3600
3601         * Thesaurus.C (Thesaurus): use initialization for aik_
3602
3603         * MenuBackend.C (expandToc): exception safety.
3604
3605 2003-11-03  André Pönitz  <poenitz@gmx.net>
3606
3607         * buffer.C:
3608         * buffer.h:
3609         * bufferview_funcs.C: remove getInsetFromId()
3610
3611         * lyxcursor.[Ch]:
3612         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3613
3614         * lyxfunc.C:
3615         * text2.C:
3616         * text3.C: adjust
3617
3618 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * PosIterator.C (distance, advance): new
3621         * bufferview_funcs.[Ch] (put_selection_at): new
3622         * iterators.[Ch] (lockPath): new
3623
3624 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3625
3626         * iterators.[Ch] (asPosIterator): added
3627         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3628         * PosIterator.[Ch]: added
3629
3630 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * text3.C:
3633         * lyxfunc.C:
3634         * cursor.C (dispatch):
3635         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3636
3637         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3638         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3639         contructor, add a class function dispatched. Remove operator>=
3640
3641 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * debug.C: only use the default constructor for debugstream
3644         (lyxerr) here.
3645
3646         * main.C (main): include debug.h and setup the lyxerr streambuf
3647         here.
3648
3649 2003-10-31  José Matos  <jamatos@lyx.org>
3650
3651         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3652
3653         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3654         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3655         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3656         * paragraph_pimpl.C (simpleTeXSpecialC):
3657         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3658         add LatexRunParams argument.
3659
3660         * exporter.C (Export): change call accordingly.
3661
3662         * latexrunparams.h: add new member to take care of the other backends.
3663 2003-10-30  José Matos  <jamatos@lyx.org>
3664
3665         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3666         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3667         factorise code for paragraph output.
3668         * buffer.[Ch]:
3669         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3670         move functions.
3671
3672 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * text3.C (dispatch):
3675         * lyxfunc.C (dispatch):
3676         * cursor.C (dispatch):
3677         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3678
3679         * dispatchresult.h: make the dispatch_result_t ctor explicit
3680
3681 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3682
3683         * sgml.[Ch]:
3684         * buffer.C: small refactoring of docbook stuff
3685
3686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3689         meaning.
3690
3691 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3694         operator dispatch_result_t, and operators for == != and >=
3695
3696         * cursor.C (dispatch): adjust for operator dispatch_result_t
3697         removal. comment out call to update
3698
3699         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3700
3701 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * text3.C:
3704         * text2.C:
3705         * text.C:
3706         * lyxtext.h:
3707         * lyxfunc.C:
3708         * cursor.C:
3709         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3710         (dispatch):
3711
3712         * dispatchresult.h: new file, DispatchResult broken out of
3713         insets/insetbase.h
3714
3715         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3716
3717 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3718
3719         * text.C (rowBreakPoint): put a hack inside #if 0
3720
3721 2003-10-28  André Pönitz  <poenitz@gmx.net>
3722
3723         * lyxtext.h:
3724         * metricsinfo.C:
3725         * paragraph_funcs.C:
3726         * rowpainter.C:
3727         * text.C:
3728         * text2.C: general cleanup (lots of small stuff)
3729
3730 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * text2.C (cursorEnd): simple fix to the "end key goes to one
3733         before the end on last row" bug
3734
3735 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3736
3737         * text.C (backspace): fix the "zombie characters"
3738
3739 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3740
3741         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3742
3743 2003-10-27  André Pönitz  <poenitz@gmx.net>
3744
3745         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3746
3747         * factory.C: handle new InsetPagebreak, InsetLine
3748
3749         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3750         and move handling into new InsetPagebreak, InsetLine
3751
3752         * BufferView_pimpl.C:
3753         * LyXAction.C:
3754         * ParagraphParameters.C:
3755         * ParameterStruct.h:
3756         * lyxfunc.C:
3757         * lyxtext.h:
3758         * paragraph.C:
3759         * paragraph.h:
3760         * paragraph_funcs.C:
3761         * paragraph_pimpl.C:
3762         * rowpainter.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C: adjust
3766
3767 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * text.C:
3770         * lyxrow_funcs.[Ch]:
3771         * Bidi.C:
3772         * paragraph.C:
3773         * lyxtext.h:
3774         * rowpainter.C:
3775         * text2.C:
3776         * text3.C: remove lastPos uses in favour of Row::endpos
3777
3778 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * undo.C (performUndoOrRedo): fix two crashes by setting a
3781         cursor by hand and reordering some calls. Use bv->lockInset instead
3782         of inset->edit because the latter loses cursor information
3783
3784 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3787         by Martin
3788         (rowBreakPoint): fix width. change point to point + 1.
3789         Add a missing check.
3790
3791 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3792
3793         * MenuBackend.C:
3794         * lyxfunc.C: fix (at least partly) the problems
3795         with the Nav menu and headers inside branch insets
3796         reported by Kayvan
3797
3798 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3799
3800         * paragraph.C (getChar): add strong asserts
3801
3802         * lyxrow_funcs.C (lastPos): remove hideous hack
3803
3804         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3805         (fill): adjust to that (avoid an infinite loop)
3806
3807 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3810
3811 2003-10-23  André Pönitz  <poenitz@gmx.net>
3812
3813         * RowList_fwd.h: change list<> to vector<> to gain speed
3814         after suggestion from Alfredo
3815
3816 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * lyxtext.h: move the bidi stuff from here...
3819         * text.C: and here
3820         * text2.C: and here
3821         * Bidi.[Ch]: ... to here
3822
3823 2003-10-23  André Pönitz  <poenitz@gmx.net>
3824
3825         * lyxtext.h:
3826         * text.C (isLastRow, isFirstRow): new functions
3827
3828         * paragraph.h: new width cache member
3829
3830         * rowpainter.C: replace RowList::iterator with Row & where possible
3831
3832         * lyxfunc.C: replace several view()->text with a single call
3833
3834         * toc.C: fix 'unused' warning
3835
3836 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3839         when woring with stream::pos_type
3840         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3841
3842 2003-10-22  André Pönitz  <poenitz@gmx.net>
3843
3844         * lyxtext.h:
3845         * text.C: use Row & instead of RowList::iterator
3846
3847         * lyxrow.h: rename end() to endpos()
3848
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C: adjust
3852
3853 2003-10-22  Angus Leeming  <leeming@lyx.org>
3854
3855         * buffer.[Ch] (fully_loaded): new member function, returning true
3856         only when the file has been loaded fully.
3857         Used to prevent the premature generation of previews and by the
3858         citation inset to prevent computation of the natbib-style label.
3859
3860         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3861         templates are all set up.
3862
3863         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3864
3865 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3866
3867         * text.C: fixed an "oops" in the "is a bit silly"
3868         bug fix
3869
3870 2003-10-21  André Pönitz  <poenitz@gmx.net>
3871
3872         * FuncStatus.[Ch]: small stuff, whitespace
3873
3874         * lyxfont.[Ch]: operator<<() for debug reasons
3875
3876         * lyxfunc.C:
3877         * lyxrow_funcs.C:
3878         * lyxtext.h: whitespace, spelling
3879
3880         * paragraph.C: naming of variables
3881
3882         * text.C:
3883         * text2.C: small stuff
3884
3885
3886 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * text.C: (1) finish off the inset display() work;
3889         (2) fix the "is a bit silly" bug (accessing char
3890         past end of par).
3891
3892 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3893
3894         * text.C: re-introduce display() for insets, fixing the
3895         various bugs (stretch of line above, math inset
3896         positioning, ...)
3897
3898 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3899
3900         * text.C (rightMargin): remove spurious semicolon
3901
3902         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3903         1415)
3904
3905 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3906
3907         * text3.C: fix one crash due to wrong cursor def
3908
3909 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * vc-backend.C (scanMaster): make the regex static
3912
3913         * LaTeX.C (scanAuxFile): make the regexs static
3914
3915         * text3.C (doInsertInset, dispatch, dispatch):
3916         * text2.C (cursorUp, cursorDown):
3917         * text.C (selectNextWordToSpellcheck):
3918         * BufferView_pimpl.C (dispatch):
3919         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3920
3921 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3922
3923         * lyxsocket.C: include <cerrno>
3924
3925 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * lyxfunc.C (dispatch): remove textcache stuff
3928
3929         * bufferlist.C (release): remove textcache stuff
3930         (closeAll): ditto
3931
3932         * TextCache.C: delete file
3933         * TextCache.h: delete file
3934
3935         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3936
3937         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3938         delete of the bv_->text.
3939         (resizeCurrentBuffer): remove texcache stuff
3940         (workAreaResize): ditto
3941
3942 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3945         action.
3946
3947 2003-10-16  André Pönitz  <poenitz@gmx.net>
3948
3949         * lyxrow.[Ch]:
3950         * paragraph.h:
3951         * rowpainter.C:
3952         * text.C:
3953         * text2.C:
3954         * text3.C: speed up by storing y positions per paragraph plus per-row
3955         offset instead of having a 'full' y position in the row.
3956
3957 2003-10-15  André Pönitz  <poenitz@gmx.net>
3958
3959         * iterators.[Ch]:
3960         * iterators.[Ch]:
3961         * undo.[Ch]: make undo aware of inner insets
3962
3963 2003-10-14  Angus Leeming  <leeming@lyx.org>
3964
3965         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3966         static member functions LyX::ref() and LyX::cref.
3967         (lastfiles): new accessor functions for the new lastfiles_ member var.
3968         (addLyXView, views_): add a new LyXView to the list of views_.
3969         (updateInset): loop over all LyXViews to call their own updateInset
3970         member function, returning a pointer to the Buffer owning the inset.
3971
3972         * BufferView_pimpl.C (loadLyXFile):
3973         * MenuBackend.C (expandLastfiles):
3974         * bufferlist.C (MenuWrite, QuitLyX):
3975         lastfiles is no longer a global variable.
3976         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3977
3978         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3979         static function. Access through LyX::cref().emergencyCleanup().
3980
3981 2003-10-14  André Pönitz  <poenitz@gmx.net>
3982
3983         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3984
3985         * undo.[Ch]: restoring part of 'undo in insets'
3986
3987         * Makefile.am:
3988         * undo_funcs.[Ch]: merge with undo.[Ch]
3989
3990         * tabular.C: small cleansing stuff
3991
3992 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3993
3994         * paragraph_funcs.C (readParToken): report unknown insets as error
3995         boxes. Use the outer paragraph as location (also for unknown
3996         tokens).
3997
3998         * factory.C (readInset): do not abort on reading an unknown inset.
3999         Eat it and return 0.
4000
4001 2003-10-13  Angus Leeming  <leeming@lyx.org>
4002
4003         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4004
4005         * lyxrc.C: displayTranslator is now a function,
4006         declared in GraphicsTypes.h.
4007
4008 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4009
4010         * format.C: new placeholder $$a to pass the socket address.
4011
4012         * bufferlist.[Ch]: new function getBufferFromTmp.
4013
4014         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4015           files in the temporary dir.
4016
4017 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4018
4019         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4020
4021         * Makefile.am: add lyxsocket.[Ch].
4022
4023         * lyx_main.C (error_handler): handle SIGPIPE.
4024
4025 2003-10-13  André Pönitz  <poenitz@gmx.net>
4026
4027         * BufferView_pimpl.C:
4028         * lyxtext.h:
4029         * text.C:
4030         * text2.C:
4031         * text3.C:
4032         * undo_funcs.[Ch]: use paroffset_type instead of
4033           ParagraphList::iterators to prevent multiple conversion
4034           (and get a more robust interface)
4035
4036 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4039         * lyxtext.h: ditto
4040         * text3.C (dispatch): ditto
4041
4042 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4045         move the onlyfile, use onlyfile instead of foundfile in a couple
4046         of places.
4047
4048         * DepTable.C (update): flush the error stream a bit more
4049
4050 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * lyxserver.C (callback): adjust
4053
4054         * lyxfunc.C (getStatus): add a missing brace in commented code
4055         (ensureBufferClean): reindent
4056         (dispatch): delete version taking a string
4057
4058 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * LaTeX.C (deplog): move found file handlig from here...
4061         (handleFoundFile): .. to new function here.
4062         (deplog): make sure to discover several files mentioned on the
4063         same log line.
4064
4065 2003-10-10  André Pönitz  <poenitz@gmx.net>
4066
4067         * lyxfunc.C:
4068         * lyxtext.h:
4069         * tabular.C:
4070         * text.C:
4071         * text2.C:
4072         * text3.C: fix some of the tabular crashes
4073
4074 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4075
4076         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4077
4078         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4079
4080 2003-10-09  André Pönitz  <poenitz@gmx.net>
4081
4082         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4083
4084         * BufferView.C:
4085         * BufferView_pimpl.C:
4086         * bufferview_funcs.C:
4087         * lyx_cb.C:
4088         * lyxcursor.C:
4089         * lyxfind.C:
4090         * lyxfunc.C:
4091         * lyxtext.h:
4092         * text.C:
4093         * text2.C:
4094         * text3.C:
4095         * text_funcs.[Ch]:
4096         * textcursor.[Ch]:
4097         * undo_funcs.C: adjust
4098
4099 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * text2.C (incrementItemDepth): new function, use a backtracking
4102         algorithm to discover the correct item depth.
4103         (resetEnumCounterIfNeeded): new function, use a backtracking
4104         algorithm to discover if counter reset is needed.
4105         (setCounter): use them. Simplify a bit. Add different labels for
4106         different item depths for itemize.
4107
4108         * paragraph.C (Paragraph): remove initialization of enumdepth
4109         (operator=): ditto
4110
4111         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4112         enumerate and itemize. Change the type of itemdepth to signed char.
4113
4114 2003-10-08  André Pönitz  <poenitz@gmx.net>
4115
4116         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4117           thing assignable.
4118         * text.C:
4119         * text2.C: adjust
4120
4121         * tabular.[Ch]: fix crash after 'row-insert'
4122
4123 2003-10-08  Angus Leeming  <leeming@lyx.org>
4124
4125         Fix doxygen warnings.
4126
4127         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4128         Remove CutAndPaste:: prefix from header file declaration.
4129
4130         * LColor.h (fill): remove LColor:: prefix from declaration.
4131
4132         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4133         use lyx::depth_type rather than Paragraph::depth_type so that
4134         header file and .C file match.
4135
4136         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4137
4138         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4139         * aspell.C: \file aspell_local.C -> \file aspell.C
4140         * gettext.C: \file gettext.C -> \file src/gettext.C
4141         * gettext.h: \file gettext.h -> \file src/gettext.h
4142         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4143         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4144         * text.C: \file text.C -> \file src/text.C
4145
4146         * toc.C: move comment so that doxygen is not confused.
4147
4148 2003-10-07  Angus Leeming  <leeming@lyx.org>
4149
4150         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4151
4152 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4153
4154         * aspell.C:
4155         * aspell_local.h: add forgotten std::string's.
4156
4157 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4158
4159         * LaTeXFeatures.C:
4160         * LyXAction.C:
4161         * factory.C:
4162         * lfuns.h:
4163         * lyxfunc.C:
4164         * text3.C: The Box patch. Fancybox support, minipage, parbox
4165
4166 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4167
4168         * CutAndPaste.h:
4169         * DepTable.h:
4170         * FloatList.h:
4171         * LaTeXFeatures.h:
4172         * ParagraphParameters.h:
4173         * TextCache.h:
4174         * Thesaurus.h:
4175         * bufferlist.h:
4176         * exporter.h:
4177         * importer.h:
4178         * lastfiles.h:
4179         * lyxfind.h:
4180         * lyxfont.h:
4181         * lyxlex.h:
4182         * lyxtextclasslist.h:
4183         * messages.h:
4184         * paragraph.h:
4185         * paragraph_pimpl.C:
4186         * textcursor.h: add <string> and other small fixes to make Lars'
4187         std::string patch compile with STLport.
4188
4189 2003-10-06  Angus Leeming  <leeming@lyx.org>
4190
4191         * LColor.h: Add missing #include <string>.
4192
4193 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * All most all file in all subdirs: Make <string> be the prefered
4196         way of getting to std::string, add using declarations.
4197
4198 2003-10-06  André Pönitz  <poenitz@gmx.net>
4199
4200         * metricsinfo.C: initialize LyXFont before changing attribute.
4201         (fixes the 'math in \emph is upright' bug)
4202
4203 2003-10-06  André Pönitz  <poenitz@gmx.net>
4204
4205         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4206
4207 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4208
4209         * graph.C:
4210         * paragraph_pimpl.C: Small fixes to build using STLport
4211
4212 2003-10-02  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxfunc.C:
4215         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4216
4217 2003-10-01  André Pönitz  <poenitz@gmx.net>
4218
4219         * factory.C: assert early
4220
4221 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * lyx_main.C: remove the global debug object
4224
4225         * debug.h: adjust for new debugstream
4226
4227         * debug.C: adjust for new debugstream and keep the global debug
4228         object here.
4229
4230 2003-09-22  Angus Leeming  <leeming@lyx.org>
4231
4232         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4233         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4234         an incomplete class LyXFont.
4235
4236 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4237
4238         * factory.C: bug fix in branches
4239
4240 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * lyxfunc.C (processKeySym): adjust
4243         (dispatch): adjust
4244         (dispatch): change arg name from ev to func, adjust
4245         (sendDispatchMessage): ditto
4246
4247         * lyx_main.C (defaultKeyBindings): adjust keybindings
4248         (deadKeyBindings): ditto
4249
4250         * kbsequence.C (addkey): return a FuncRequest
4251
4252         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4253
4254         * kbmap.C (bind): take a FuncRequest as arg, adjust
4255         (read): adjust
4256         (lookup): adjust
4257         (defkey): change to take a FuncRequest as arg, adjust
4258         (findbinding): take a FuncRequest as arg, adjust.
4259
4260         * funcrequest.h (operator=): added
4261
4262         * funcrequest.C (FuncRequest): default kb_action changed from
4263         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4264
4265         * buffer.C (dispatch): simplify
4266         (dispatch): adjust to take a FuncRequest as arg, adjust
4267
4268         * boost.C (assertion_failed): change assertion message slightly
4269
4270         * ToolbarBackend.C (read): simplify
4271
4272         * MenuBackend.C (binding): adjust call to findbinding, add a
4273         message if no binding is found.
4274         (read): simplify
4275         (expandToc): correct by adding a empty FuncRequest
4276
4277         * LyXAction.C: include <boost/assert.hpp>
4278         (isPseudoAction): delete function
4279         (LookupFunc): change name to...
4280         (lookupFunc): this. change return type to FuncRequest.
4281         (getActionName): take kb_action as arg, simplify
4282         (funcHasFlag): add an assert, simplify.
4283
4284 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * toc.C (action): return a FuncRequest, simplify
4287
4288         * lyxfunc.C (processKeySym): adjust
4289         (getStatus): delete version that takes an int.
4290         (getStatus): adjust
4291         (dispatch): delete version that takes action as int
4292         (dispatch): adjust
4293         (sendDispatchMessage): simplify and adjust
4294
4295         * funcrequest.C (getArg): take unsigned int as arg
4296
4297         * ToolbarBackend.C (read): adjust
4298         (add): delete version that takes func as a string.
4299         (getIton): take a FuncRequest as arg
4300
4301         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4302         action.
4303
4304         * MenuBackend.C (MenuItem): add a new construct that only takes a
4305         Kind, simplify the constructor use for submenus.
4306         (add): adjust
4307         (expandLastfiles): adjust
4308         (expandDocuments): adjust
4309         (expandFormats): adjust
4310         (expandFloatListInsert): adjust
4311         (expandFloatInsert): adjust
4312         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4313
4314         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4315         Remove class variables lyx_pseudo_map and lyx_arg_map
4316
4317         * LyXAction.C (searchActionArg): delete function
4318         (getPseudoAction): delete function
4319         (retrieveActionArg): delete function
4320         (LookupFunc): make it return kb_action, simplify.
4321         (getActionName): simplify
4322
4323         * factory.C (createInset): fix new bug
4324
4325 2003-09-19  Angus Leeming  <leeming@lyx.org>
4326
4327         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4328         masterFilename_ parameter in the include inset.
4329
4330         * factory.C (createInset): changes due to the changes to InsetInclude.
4331
4332 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4333
4334         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4335
4336 2003-09-18  Angus Leeming  <leeming@lyx.org>
4337
4338         * buffer.C:
4339         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4340         Inset::fillWithBibKeys.
4341         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4342
4343 2003-09-18  Angus Leeming  <leeming@lyx.org>
4344
4345         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4346         variables.
4347         (ctor): pass and store a 'Buffer const &'
4348         (buffer): new member function.
4349
4350         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4351         '*this' to the LaTeXFeatures ctor.
4352
4353 2003-09-18  Angus Leeming  <leeming@lyx.org>
4354
4355         * LColor.h:
4356         * lyxfont.C:
4357         * lyxfont.h:
4358         * lyxtext.h:
4359         * text.C: rename EnumLColor as LColor_color.
4360
4361 2003-09-18  Angus Leeming  <leeming@lyx.org>
4362
4363         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4364         remove #include "insets/insetbase.h" from cursor.h.
4365
4366 2003-09-18  Angus Leeming  <leeming@lyx.org>
4367
4368         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4369         InsetOld_code to remove #include "inset.h".
4370
4371         * iterators.C: add #include "insets/inset.h"
4372
4373 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4374
4375         * BufferView.C: remove more locking stuff that apparently doesn't
4376         do anything sensible.
4377
4378 2003-09-16  André Pönitz  <poenitz@gmx.net>
4379
4380         * paragraph.[Ch]:
4381         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4382           performance boost.
4383
4384 2003-09-16  Angus Leeming  <leeming@lyx.org>
4385
4386         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4387
4388         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4389         arg/return type.
4390
4391         * paragraph.h: remove #include "lyxfont.h". Forward declare
4392         LyXFont_size.
4393
4394 2003-09-16  Angus Leeming  <leeming@lyx.org>
4395
4396         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4397         of support/textutils.h.
4398         (isWord): move the contents of support/textutils.h's IsWordChar here.
4399
4400         * buffer.C:
4401         * lyxfind.C:
4402         * rowpainter.C:
4403         * text.C:
4404         * text2.C: add #include "paragraph.h".
4405
4406         * rowpainter.C:
4407         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4408
4409 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4410
4411         * main.C:
4412         * lyx_main.C:
4413         * lyx_cb.C:
4414         * buffer.C:
4415         * LaTeX.C: use namespace alias for lyx::support::os
4416
4417 2003-09-16  Angus Leeming  <leeming@lyx.org>
4418
4419         * bufferparams.C:
4420         * bufferview_funcs.C:
4421         * factory.C:
4422         * lyxfunc.C:
4423         * paragraph_pimpl.C:
4424         * rowpainter.C:
4425         * text.C: add #include "LColor.h".
4426
4427 2003-09-16  Angus Leeming  <leeming@lyx.org>
4428
4429         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4430         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4431         return LyXFont &.
4432         Store the FontBits::color variable as an int rather than as an
4433         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4434         file.
4435
4436         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4437         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4438         string calls together.
4439
4440         * lyxrc.C: add #include "LColor.h".
4441
4442 2003-09-15  Angus Leeming  <leeming@lyx.org>
4443
4444         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4445         a cow_ptr.
4446
4447 2003-09-15  Angus Leeming  <leeming@lyx.org>
4448
4449         * LColor.h: add an EnumLColor wrapper for LColor::color.
4450
4451         * lyxfont.[Ch] (color, setColor, realColor):
4452         * lyxtext.h, text.C (backgroundColor):
4453         pass EnumLColor args to/from the functions, rather than LColor::color
4454         ones.
4455
4456         * lyxfont.h:
4457         * lyxtext.h: forward declare EnumLColor.
4458
4459         * lyx_main.C: add #include "LColor.h".
4460
4461 2003-09-15  Angus Leeming  <leeming@lyx.org>
4462
4463         * .cvsignore: add lyx-gtk.
4464
4465 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * Chktex.C
4468         * LaTeX.C
4469         * LaTeXFeatures.C
4470         * ParagraphParameters.C
4471         * Spacing.C
4472         * buffer.C
4473         * bufferparams.C
4474         * bufferview_funcs.C
4475         * chset.C
4476         * counters.C
4477         * funcrequest.C
4478         * lyxfont.C
4479         * lyxgluelength.C
4480         * lyxlength.C
4481         * paragraph.C
4482         * paragraph_funcs.C
4483         * text3.C
4484         * vc-backend.C: remove usage of STRCONV
4485
4486 2003-09-15  Angus Leeming  <leeming@lyx.org>
4487
4488         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4489         explicitly define the color passed to the painter.
4490
4491 2003-09-15  Angus Leeming  <leeming@lyx.org>
4492
4493         * bufferparams.C (BufferParams): reorder member initializers to avoid
4494         compiler warning.
4495
4496 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4497
4498         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4499         * text.C (updateRowPositions): remove an unusual nop
4500
4501 2003-09-12  André Pönitz  <poenitz@gmx.net>
4502
4503         * BufferView_pimpl.C:
4504         * Bullet.C:
4505         * layout.h:
4506         * lyxfunc.C:
4507         * lyxlayout.[Ch]:
4508         * lyxtextclass.C:
4509         * rowpainter.C:
4510         * text.C:
4511         * text2.C:
4512         * Counters.[Ch]: finish the 'automatic counters' job
4513
4514 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4515
4516         * aspell.C: include <boost/assert.cpp> (compile fix)
4517
4518 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4519
4520         * boost.C (assertion_failed): use lyx::support::abort instead of
4521         assert.
4522
4523 2003-09-10  Angus Leeming  <leeming@lyx.org>
4524
4525         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4526         with their _fwd progeny.
4527
4528 2003-09-09  Angus Leeming  <leeming@lyx.org>
4529
4530         134 files throughtout the source tree: replace 'using namespace abc;'
4531         directives with the appropriate 'using abc::xyz;' declarations.
4532
4533 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4534
4535         * boost.C (emergencyCleanup): moved here from LAssert.c
4536         (assertion_failed): new function, called by BOOST_ASSERT
4537
4538         * several files: change Assert to BOOST_ASSERT
4539
4540 2003-09-09  Angus Leeming  <leeming@lyx.org>
4541
4542         * buffer.[Ch]: Add an Impl class and move Buffer's member
4543         variables into it. As a result move several header files out of
4544         buffer.h.
4545
4546         Add header files to lots of .C files all over the tree as a result.
4547
4548 2003-09-09  Angus Leeming  <leeming@lyx.org>
4549
4550         * buffer.[Ch]: make Buffer's member variables private. Add
4551         accessor functions.
4552
4553         Lots of changes all over the tree as a result.
4554
4555 2003-09-08  Angus Leeming  <leeming@lyx.org>
4556
4557         * graph.C: #include <config.h>.
4558
4559 2003-09-08  Angus Leeming  <leeming@lyx.org>
4560
4561         * BranchList.C:
4562         * BufferView.C:
4563         * BufferView_pimpl.C:
4564         * CutAndPaste.C:
4565         * DepTable.C:
4566         * LaTeX.C:
4567         * LaTeXFeatures.C:
4568         * LyXAction.C:
4569         * MenuBackend.C:
4570         * TextCache.C:
4571         * aspell.C:
4572         * buffer.C:
4573         * bufferlist.C:
4574         * changes.C:
4575         * chset.C:
4576         * converter.C:
4577         * counters.C:
4578         * debug.C:
4579         * graph.C:
4580         * ispell.C:
4581         * lyx_cb.C:
4582         * lyxfind.C:
4583         * lyxfunc.C:
4584         * lyxlex_pimpl.C:
4585         * lyxrc.C:
4586         * lyxrow.C:
4587         * paragraph.C:
4588         * rowpainter.C:
4589         * texrow.C:
4590         * text.C:
4591         * text2.C:
4592         * toc.C: remove redundant using directives.
4593
4594 2003-09-07  Angus Leeming  <leeming@lyx.org>
4595
4596         * LaTeXFeatures.h: remove #include "support/types.h".
4597         * ToolbarBackend.h: remove #include <algorithm>.
4598         * changes.h: remove #include <ctime>.
4599         * debug.h: remove #include <iosfwd>.
4600         * graph.h: remove #include "support/std_string.h".
4601         * lyx_main.h: remove #include <csignal>.
4602         * lyxlex_pimpl.h: remove #include <fstream>.
4603         * sgml.h: remove #include <algorithm>, <utility>.
4604         * toc.h: remove #include "support/std_ostream.h".
4605         Add #include <iosfwd>.
4606
4607 2003-09-07  Angus Leeming  <leeming@lyx.org>
4608
4609         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4610
4611         * converter.h: forward declare LatexRunParams.
4612         * encoding.h: remove #include "lyxrc.h".
4613         * lyxtext.h: remove #include "LColor.h".
4614         * lyxtextclass.h: remove #include "support/types.h".
4615         * trans.h: remove #include "tex-accent.h".
4616         * trans_mgr.h: remove #include "tex-accent.h".
4617         * insets/inset.h: remove #include "support/types.h", <vector>.
4618         * insets/insetcollapsable.h: remove #include "LColor.h".
4619         * insets/insetinclude.h: remove #include "dimension.h".
4620         * insets/insetlatexaccent.h: remove #include "dimension.h".
4621         * insets/insetoptarg.h:: remove #include "insettext.h".
4622         * insets/insettext.h: remove #include "dimension.h",
4623         <boost/shared_ptr.hpp>
4624
4625         * insets/renderers.h: add #include "dimension.h".
4626         * insets/updatableinset.h: add #include "support/types.h".
4627
4628         * many .C files: Associated changes.
4629
4630 2003-09-06  Angus Leeming  <leeming@lyx.org>
4631
4632         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4633         one, inside testInvariant.
4634
4635         * PrinterParams.C: new file.
4636         * PrinterParams.[Ch]: move the function bodies out of line.
4637
4638 2003-09-06  Angus Leeming  <leeming@lyx.org>
4639
4640         * ParagraphParameters.h: forward declare ParameterStruct rather than
4641         including its header file.
4642         (depth): moved out-of-line.
4643
4644 2003-09-06  Angus Leeming  <leeming@lyx.org>
4645
4646         * BufferView_pimpl.h:
4647         * kbmap.h:
4648         * kbsequence.h:
4649         * lyxfunc.h: forward declare LyXKeySym rather than
4650         #include "frontends/LyXKeySym.h".
4651
4652         * BufferView_pimpl.C:
4653         * kbmap.C:
4654         * kbsequence.C:
4655         * lyxfunc.C: associated changes.
4656
4657 2003-09-06  Angus Leeming  <leeming@lyx.org>
4658
4659         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4660         As a result, can remove the #include "insets/inset.h" from BufferView.h
4661
4662 2003-09-06  Angus Leeming  <leeming@lyx.org>
4663
4664         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4665         As a result, can remove the #include "insets/inset.h" from BufferView.h
4666
4667 2003-09-06  Angus Leeming  <leeming@lyx.org>
4668
4669         * buffer_funcs.C:
4670         * buffer.h:
4671         * bufferlist.C:
4672         * BufferView.C:
4673         * bufferview_funcs.C:
4674         * BufferView_pimpl.C:
4675         * CutAndPaste.C:
4676         * lyx_cb.C:
4677         * lyxfunc.C:
4678         * paragraph.h:
4679         * ParagraphParameters.C:
4680         * tabular.C:
4681         * text3.C:
4682         * toc.C:
4683         * undo_funcs.C:
4684         * frontends/controllers/ControlDocument.C:
4685         * insets/insetcaption.C: rearrange the #includes into some sort of
4686         coherent order.
4687
4688         * buffer.h: remove #includes ErrorList.h, undo.h
4689
4690 2003-09-06  Angus Leeming  <leeming@lyx.org>
4691
4692         * support/types.h: add a 'depth_type' typedef, used to store the
4693         nesting depth of a paragraph.
4694
4695         * paragraph.h:
4696         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4697         defining explicitly.
4698
4699         * buffer.h:
4700         * paragraph_funcs.h:
4701         * ParagraphParameters.h:
4702         * sgml.h: use lyx::depth_type rather than Paragraph or
4703         ParameterStruct's depth_type.
4704
4705         * buffer.h
4706         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4707
4708         * BufferView.C:
4709         * BufferView_pimpl.C:
4710         * CutAndPaste.C:
4711         * ParagraphParameters.C:
4712         * buffer_funcs.C:
4713         * bufferlist.C:
4714         * bufferview_funcs.C:
4715         * lyx_cb.C:
4716         * lyxfunc.C:
4717         * tabular.C:
4718         * text3.C:
4719         * toc.C:
4720         * undo_funcs.C:
4721         * frontends/LyXView.C:
4722         * frontends/controllers/ControlDocument.C:
4723         * frontends/controllers/ControlErrorList.C:
4724         * insets/insetbibitem.C:
4725         * insets/insetbranch.C:
4726         * insets/insetcaption.C:
4727         * insets/insetcollapsable.C:
4728         * insets/insetenv.C:
4729         * insets/insetert.C:
4730         * insets/insetfloat.C:
4731         * insets/insetfoot.C:
4732         * insets/insetfootlike.C:
4733         * insets/insetnewline.C:
4734         * insets/insetquotes.C:
4735         * insets/insettabular.C:
4736         * insets/insettext.C:
4737         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4738
4739         * frontends/controllers/ControlChanges.C: #include "changes.h".
4740
4741 2003-09-06  Angus Leeming  <leeming@lyx.org>
4742
4743         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4744         than #including paragraph.h.
4745
4746         * ParagraphList.h:
4747         * RowList.h: deleted. Superfluous.
4748
4749         * CutAndPaste.h:
4750         * iterators.h:
4751         * lyxcursor.h:
4752         * lyxtext.h:
4753         * text_funcs.h:
4754         * undo.h:
4755         * undo_funcs.h:
4756         * insets/inset.h:
4757         * insets/insettext.h: use ParagraphList_fwd.h rather than
4758         ParagraphList.h.
4759
4760         * paragraph.h: don't forward declare ParagraphList.
4761
4762         * buffer.h:
4763         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4764         rather than ParagraphList.h. paragraph.h is still needed for the
4765         Paragraph::depth_type parameters.
4766
4767         * textcursor.h: enable it to compile stand-alone in light of the
4768         above changes.
4769
4770         * bufferview_funcs.C:
4771         * iterators.C:
4772         * lyxfunc.C:
4773         * lyxrow_funcs.C:
4774         * paragraph.C:
4775         * rowpainter.C:
4776         * text.C:
4777         * text2.C:
4778         * text3.C:
4779         * text_funcs.C:
4780         * textcursor.C:
4781         * undo.C:
4782         * frontends/controllers/ControlParagraph.C:
4783         * frontends/controllers/ControlTabular.C:
4784         * insets/insetmarginal.C:
4785         * insets/insetminipage.C:
4786         * insets/insetnote.C:
4787         * insets/insetoptarg.C: add header files needed to compile again.
4788
4789 2003-09-06  Angus Leeming  <leeming@lyx.org>
4790
4791         * RowList_fwd.h: new file, forward-declaring Row rather than
4792         #including lyxrow.h.
4793
4794         * lyxrow_funcs.h:
4795         * lyxtext.h:
4796         * paragraph.h:
4797         * insets/insettext.h: use it instead of RowList.h
4798
4799         * bufferview_funcs.C:
4800         * lyxfunc.C:
4801         * lyxrow_funcs.C:
4802         * paragraph.C:
4803         * rowpainter.C:
4804         * text.C:
4805         * text2.C:
4806         * text3.C: #include "RowList.h".
4807
4808 2003-09-05  Angus Leeming  <leeming@lyx.org>
4809
4810         * factory.C (createInset):
4811         * vspace.C (c-tor): replace sscanf call with an istringstream.
4812         * ispell.C: re-add missing HP/UX headers.
4813         * lyxserver.C: re-add missing  os2 headers.
4814
4815 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4816
4817         * BranchList.C:
4818         * graph.C:
4819         * ispell.C:
4820         * lastfiles.C:
4821         * lyx_cb.C:
4822         * lyxserver.C:
4823         * texrow.C:
4824         * text3.C: re-add missing system headers, needed for 2.95.2.
4825
4826 2003-09-05  Angus Leeming  <leeming@lyx.org>
4827
4828         Changes most place everywhere due to the removal of using directives
4829         from support/std_sstream.h.
4830
4831 2003-09-05  Angus Leeming  <leeming@lyx.org>
4832
4833         Replace LString.h with support/std_string.h,
4834         Lsstream.h with support/std_sstream.h,
4835         support/LIstream.h with support/std_istream.h,
4836         support/LOstream.h with support/std_ostream.h.
4837
4838         Changes resulting throughout the tree.
4839
4840 2003-09-05  Angus Leeming  <leeming@lyx.org>
4841
4842         * sgml.h: ensure that the header file can be compiled stand-alone.
4843         * *.C: strip out redundant #includes. (320 in total.)
4844
4845 2003-09-04  Angus Leeming  <leeming@lyx.org>
4846
4847         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4848         here (from getPackages).
4849
4850         * debug.[Ch]: add a new EXTERNAL tag.
4851
4852 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4853
4854         * text2.C (cursorEnd): simplify
4855         (setCursor): adjust
4856         (getColumnNearX): adjust
4857
4858         * text.C (computeBidiTables): adjust
4859         (fill): adjust
4860
4861         * rowpainter.C (paintChars): adjust
4862         (paintSelection): adjust
4863         (paintChangeBar): adjust
4864         (paintText): adjust
4865
4866         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4867         lastPos instead.
4868         (numberOfSeparators): adjust
4869
4870 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4871
4872         * LyXAction.C:
4873         * box.[Ch]:
4874         * lfuns.h:
4875         * lyxfunc.C:
4876         * text3.C: Restricts the mouse click functionality
4877         of insets like bibtex, include, toc and floatlist to the visible
4878         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4879         up the dialogs. Cursor has to be in front of the inset (i.e.
4880         start of row) for this to function.
4881
4882 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4883
4884         * bufferview_funcs.C (currentState): output row information
4885
4886 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4887
4888         * bufferview_funcs.C (currentState): output paragraph position
4889
4890 2003-09-04  Angus Leeming  <leeming@lyx.org>
4891
4892         * FloatList.h: move out #include "Floating.h".
4893         * LaTeX.h: move out #include "DepTable.h".
4894         * LyXAction.h: move out #include "funcrequest.h".
4895         * buffer.h: move out #include "author.h", "iterators.h".
4896         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4897         * lyx_main.h: move out #include "errorlist.h".
4898         * lyxfunc.h: move out #include "FuncStatus.h".
4899         * lyxtext: move out #include "lyxcursor.h".
4900         * paragraph_pimpl.h: move out #include "counters.h".
4901
4902 2003-09-03  Angus Leeming  <leeming@lyx.org>
4903
4904         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4905         preamble_snippets list, enabling us to add snippets to the preamble
4906         only if the snippet was not there already.
4907
4908 2003-09-04  Angus Leeming  <leeming@lyx.org>
4909
4910         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4911
4912 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4915         update
4916
4917 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4918
4919         * BranchList.C: point fix, earlier forgotten
4920
4921 2003-09-02  Angus Leeming  <leeming@lyx.org>
4922
4923         * box.C (contains): renamed from 'contained' after a fantastic
4924         amount of hot air.
4925
4926 2003-09-02  John Levon  <levon@movementarian.org>
4927
4928         * BufferView.C:
4929         * lyxcursor.h:
4930         * lyxcursor.C:
4931         * lyxfunc.C:
4932         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4933
4934 2003-09-02  John Levon  <levon@movementarian.org>
4935
4936         * text2.C: simplification of cursorEnd(), including partial
4937         fix for bug 1376
4938
4939 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * buffer.C (readFile): add a space
4942
4943 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4946
4947 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * buffer.C (readFile): new function, take a filename and a
4950         ParagraphList::iterator
4951         (readFile): adjust
4952         (readFile): adjust, make it private. don't use setStream, make
4953         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4954         always contain the filename.
4955
4956         * BufferView.C (insertLyXFile): simplify and make it work for
4957         gzipped files.
4958
4959 2003-08-30  John Levon  <levon@movementarian.org>
4960
4961         * Makefile.am: fix dist (from Kayvan)
4962
4963 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * most files: change to use const Buffer refs
4966
4967 2003-08-27  André Pönitz  <poenitz@gmx.net>
4968
4969         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4970         on top of ownerPar().
4971
4972 2003-08-27  John Levon  <levon@movementarian.org>
4973
4974         * funcrequest.C: properly initialise POD members
4975
4976 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4977
4978         * lyxtext.h (top_y): move top_y from here
4979         * text.C:
4980         * text2.C:
4981         * text3.C:
4982         * BufferView.[Ch]:
4983         * BufferView_pimpl.[Ch]: to here
4984         * frontends/screen.C:
4985         * insets/insettabular.C:
4986         * insets/insettext.C: adjust
4987         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4988
4989 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * BufferView.[Ch]:
4992         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4993
4994 2003-08-26  André Pönitz  <poenitz@gmx.net>
4995
4996         * paragraph_func.[Ch] (outerPar): new function
4997
4998         * paragraph.C:
4999         * paragraph_funcs.C:
5000         * paragraph_funcs.h:
5001         * paragraph_pimpl.C:
5002         * text2.C: remove Inset::par_owner
5003
5004 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * lyxrow_funcs.C:
5007         * lyxtext.h:
5008         * text.C:
5009         * text2.C: eliminates the needFullRow/display() stuff
5010         altogether, putting the logic in metrics/draw in the insets.
5011
5012 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * text2.C (redoParagraphInternal, redoParagraphs):
5015         * text.C (redoParagraph): add a call to updateRowPositions at the
5016         end of each 'metrics-like' call. Remove all others.
5017         (getRow): remove the 'y-computing' version.
5018         (getRowNearY): do not compute nor return the real y. Solve the
5019         'y < 0' problem and simplify.
5020
5021 2003-08-22  Angus Leeming  <leeming@lyx.org>
5022
5023         * *.[Ch]: clean-up of licence and author blurbs.
5024         Also move config.h out of a few .h files and into a few .C files.
5025
5026 2003-08-22  André Pönitz  <poenitz@gmx.net>
5027
5028         * lyxrow.[Ch]: add x_ and *fill_ members
5029
5030         * lyxtext.h:
5031         * text.C:
5032         * rowpainter.C:
5033         * text2.C: adjust/remove prepareToPrint() calls
5034
5035 2003-08-22  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxrow.[Ch]: add  end_ member
5038
5039         * lyxrow_funcs.C: use LyXRow::end_
5040
5041         * lyxtext.h (singleWidth): add LyXFont parameter
5042
5043         * rowpainter.C:
5044         * text2.C: adjust LyXText::singleWidth() calls
5045
5046         * text.C (redoParagraph): simplify row breaking logic
5047
5048
5049 2003-08-19  André Pönitz  <poenitz@gmx.net>
5050
5051         * funcrequest.C: initialize button_ member
5052
5053         * text3.C:
5054         * rowpainter.[Ch]: interface consolidation
5055
5056 2003-08-18  André Pönitz  <poenitz@gmx.net>
5057
5058         * BufferView.C:
5059         * BufferView_pimpl.C:
5060         * lyxfind.C:
5061         * paragraph_funcs.C:
5062         * rowpainter.C:
5063         * text3.C: remove LyXScreen::draw() and fitCursor calls
5064
5065         * BranchList.h: remove spurious semicolons
5066
5067         * MenuBackend.C: fix branchlist related crash
5068
5069 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5070
5071         * BranchList.[Ch]:
5072         * InsetList.[Ch]:
5073         * LColor.[Ch]:
5074         * LyXAction.C:
5075         * Makefile.am:
5076         * MenuBackend.[Ch]:
5077         * bufferparams.[Ch]:
5078         * factory.C:
5079         * lfuns.h:
5080         * lyxfunc.C:
5081         * text3.C: implements the 'branch inset'
5082         idea. This allows the output of various versions of a document
5083         from a single source version, selectively outputing or suppressing
5084         output of parts of the text.
5085         This implementation contains a 'branch list editor' in a separate
5086         tab of the document settings dialog. Branches are user definable
5087         and have a "display colour" to distinguish them on-screen.
5088
5089         ColorHandler was somewhat cleaned up.
5090         (1) make possible a dynamically growing LColor list by allowing
5091         the graphic context cache to grow along (vector);
5092         (2) eliminate an IMHO unnecessary step in colour allocation.
5093
5094 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5095
5096         * BufferView_pimpl.C: compile fix
5097
5098 2003-08-15  André Pönitz  <poenitz@gmx.net>
5099
5100         * rowpainter.C: remove extra metrics calls
5101
5102         * lyxtext.h: merge the two constructors into a single one,
5103           pass reference to owner's par list
5104
5105         * BufferView_pimpl.C:
5106         * text.C:
5107         * text2.C: adjust
5108
5109 2003-08-15  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxrow_funcs.[Ch]:
5112         * lyxtext.h:
5113         * paragraph.h:
5114         * paragraph_funcs.C:
5115         * rowpainter.C:
5116         * text.C:
5117         * text2.C:
5118         * text3.C:
5119         * text_funcs.C: split LyXText::rowlist_ into individual
5120         Paragraph::rows_ chunks
5121
5122         * BufferView.[Ch]:
5123         * BufferView_pimpl.[Ch]:
5124         * lyxfind.C:
5125         * lyxtext.h:
5126         * text3.C: remove toggleSelection()
5127
5128 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5129
5130         * bufferlist.C: beautify two alerts (shorter text of buttons)
5131         * buffer.C: Remove redundant ' ' from message
5132         * tabular.h:
5133         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5134         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5135         rename VALIGN_CENTER to VALIGN_MIDDLE
5136
5137 2003-08-11  André Pönitz  <poenitz@gmx.net>
5138
5139         * lyxtext.h (getPar):
5140         * text.C: new function
5141
5142 2003-08-11  André Pönitz  <poenitz@gmx.net>
5143
5144         * Makefile.am:
5145         * tracer.[Ch]: remove unneeded files
5146
5147         * InsetList.[Ch]: remove resizeInsetsLyXText()
5148
5149         * lyxtext.h:
5150         * text.C:
5151         * text2.C:
5152         * text3.C: merge insertParagraphs() and appendParagraph()
5153         remove breakAgain(), update()
5154
5155         * BufferView_pimpl.[Ch]:
5156         * bufferview_funcs.[Ch]:
5157         * lyxfunc.C:
5158         * paragraph.[Ch]:
5159         * rowpainter.C:
5160         * tabular.C: adjust after text & InsetList changes.
5161
5162 2003-08-08  André Pönitz  <poenitz@gmx.net>
5163
5164         * text.C (insertChar, backspace): replace rowlist fiddling
5165         with rebreak of full par
5166
5167         * lyxtext.h:
5168         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5169         checkParagraph, updateInset): removed
5170
5171 2003-08-07  André Pönitz  <poenitz@gmx.net>
5172
5173         * paragraph.C:
5174         * text3.C: merge some LFUN handlers, remove dead code
5175
5176 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5177
5178         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5179
5180 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * text2.C (DEPM): fix part of bug 1255 and 1256
5183
5184 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5185
5186         * BufferView_pimpl.C (workAreaDispatch): change to use
5187         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5188         that are no mouse related.
5189
5190 2003-08-05  André Pönitz  <poenitz@gmx.net>
5191
5192         * BufferView.[Ch]:
5193         * BufferView_pimpl.[Ch]:
5194         * bufferview_funcs.C:
5195         * text2.C:
5196         * text3.C: rip out "deep update"
5197
5198         * textcursor.[Ch] (last_sel_cursor): remove unused member
5199
5200 2003-08-04  André Pönitz  <poenitz@gmx.net>
5201
5202         * BufferView.[Ch]:
5203         * BufferView_pimpl.[Ch]:
5204         * ParagraphParameters.C:
5205         * bufferview_funcs.C:
5206         * lyx_cb.C:
5207         * lyxfind.C:
5208         * lyxfunc.C:
5209         * text.C:
5210         * text2.C:
5211         * text3.C: replace "complicated" BufferView::update(...) calls with
5212         simpler ones.
5213
5214         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5215
5216 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5217
5218         * Makefile.am (lyx_SOURCES): add paper.h
5219
5220 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5221
5222         * Makefile.am: move things around so that both lyx-qt and
5223         lyx-xforms can be built (according to --with-frontend). Then lyx
5224         is a symbolic link to lyx-[firstfrontend]
5225
5226 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5227
5228         * Always use std::endl with lyxerr
5229
5230 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5231
5232         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5233
5234 2003-08-01  André Pönitz  <poenitz@gmx.net>
5235
5236         * BufferView.[Ch]:
5237         * BufferView_pimpl.[Ch]:
5238         * lyxfunc.C:
5239         * text3.C: merge BufferView::repaint() and BufferView::update()
5240
5241 2003-08-01  José Matos  <jamatos@lyx.org>
5242
5243         * buffer.[Ch]: file_format is no longer a buffer data element.
5244
5245 2003-08-01  André Pönitz  <poenitz@gmx.net>
5246
5247         * BufferView.C:
5248         * lyxtext.h:
5249         * text.C:
5250         * text2.C: make redoParagraph more independent of current cursor
5251
5252         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5253         * text.C:
5254         * text2.C: remove unneeded members
5255
5256 2003-07-30  André Pönitz  <poenitz@gmx.net>
5257
5258         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5259
5260         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5261           create a single function...
5262
5263         * paragraph_funcs.C (moveItem): ... here.
5264
5265         * text.C:
5266           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5267
5268 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5269
5270         * LColor.[Ch]: Add comment and greyedout logical colors.
5271
5272 2003-07-30  André Pönitz  <poenitz@gmx.net>
5273
5274         * tabular.C: don't use Assert too heavily. This crashes where it
5275           shouldn't
5276
5277 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5280         is disabled (bug 1232)
5281
5282 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5283
5284         * factory.C: limited 'arg' scope
5285
5286 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5287
5288         * factory.C: fixed Note submenu issues
5289
5290 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5291
5292         * factory.C: submenu for Note/Comment/Greyedout
5293
5294 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5295
5296         * lyx_main.C (LyX):
5297         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5298
5299 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5300
5301         * LaTeXFeatures.C:
5302         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5303         greyedout. Patch provided by Jürgen Spitzmüller.
5304
5305 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5306
5307         * kbmap.C (read): fix error message when reading bind files
5308
5309 2003-07-29  Angus Leeming  <leeming@lyx.org>
5310
5311         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5312         certainly does not do what it purports to do. I am doing it, and
5313         us, a favour by killing it.
5314
5315 2003-07-28  José Matos  <jamatos@lyx.org>
5316
5317         * buffer.C (readBody, do_writeFile):
5318         * paragraph.C(readParagraph): \end_document replaces \the_end.
5319
5320 2003-07-29  André Pönitz  <poenitz@gmx.net>
5321
5322         * BufferView.[Ch]:
5323         * BufferView_pimpl.[Ch]:
5324         * lyxfunc.C:
5325         * text2.C:
5326         * text3.C:
5327         * textcursor.[Ch]: remove toggleToggle & Co
5328
5329 2003-07-28  José Matos  <jamatos@fep.up.pt>
5330
5331         * buffer.C (readParagraph):
5332         * params_func (readParToken, readParagraph):
5333         * paragraph.C (write): \layout -> \begin_layout.
5334
5335 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * lyxlex_pimpl.C (setFile): clean up slightly.
5338
5339         * bufferparams.h: add compressed var
5340
5341         * buffer_funcs.C (readFile): adjust for LyXLex change
5342         (newFile): ditto + simplify
5343
5344         * buffer.C (writeFile): handle writing of compressed files
5345
5346         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5347         Check if the file is compressed and set a bufferparm if so.
5348
5349         * Makefile.am (lyx_LDADD): remove explicit -lz
5350
5351 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5352
5353         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5354         makeDocBookFile): put the real LyX version in the first line of
5355         the file
5356
5357         * version.h:
5358         * version.C.in: remove lyx_docversion
5359
5360         * tabular.C (write_attribute): add a template-based version to
5361         write enums properly
5362
5363 2003-07-28  André Pönitz  <poenitz@gmx.net>
5364
5365         * lyxtext.h:
5366         * text.C:
5367         * text2.C:
5368         * text3.C: use doubles again for x-coordinates. They are needed.
5369
5370 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * messages.C (getLocaleDir): use lyx_localedir()
5373
5374         * lyxlex_pimpl.C (setFile): compress stuff
5375
5376         * buffer.C (writeFile): add some compression stuff
5377         (do_writeFile): new func, dont call expliti close... will this
5378         breake anything?
5379
5380         * Makefile.am (lyx_LDADD): add -lz
5381
5382 2003-07-28  José Matos  <jamatos@fep.up.pt>
5383
5384         * buffer.C: increment file format.
5385         * paragraph_funcs (readParagraph, readParToken):
5386         * paragraph.C (readParagraph): add \end_layout.
5387
5388 2003-07-27  Angus Leeming  <leeming@lyx.org>
5389
5390         * Makefile.am: remove special casing for configure-time setting of
5391         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5392
5393         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5394         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5395
5396 2003-07-26  André Pönitz  <poenitz@gmx.net>
5397
5398         * paragraph_func.[Ch]:
5399         * paragraph.C (realizeFont): inline it whereever it is used
5400
5401         * rowpainter.C:
5402         * text.C:
5403         * text2.C:
5404         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5405
5406
5407 2003-07-26  André Pönitz  <poenitz@gmx.net>
5408
5409         *       lyxtext.h:
5410         * text.C:
5411         * text2.C: get rid of LyXText::need_break_row
5412
5413 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * toc.[Ch]: put namespace toc inside namespace lyx
5416
5417         * MenuBackend.C (expandToc2): adjust for lyx::toc
5418         (expandToc): ditto
5419
5420         * lyxfunc.C (dispatch): adjust for lyx::find
5421
5422         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5423         lyx::find instead. Reorganize a bit.
5424         (LyXReplace): rename to replace
5425         (LyXFind): rename to find
5426
5427         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5428         (dispatch): ditto
5429
5430 2003-07-26  André Pönitz  <poenitz@gmx.net>
5431
5432         * text.C (setHeightOfRow): restrict scope of temporary variable
5433
5434         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5435           code (never has been used?)
5436
5437 2003-07-27  Asger Alstrup  <alstrup@local>
5438
5439         * text.C (fill): Optimise algorithm to exploit that we can reuse
5440         the LyXFont for many characters.
5441         (setHeightOfRow): Same thing.
5442         (rowBreakPoint): Same thing.
5443
5444 2003-07-26  Asger Alstrup  <alstrup@local>
5445
5446         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5447
5448         * text.C (singleWidth): Spurious font copying in hot-spot
5449         singleWidth avoided. Reorder tests for arabic for efficiency.
5450
5451         * text.C (fill): handle empty paragraphs better.
5452
5453 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5454
5455         * ispell.C:
5456         * encoding.h: add includes
5457
5458         * lyxrc.C: remove reading of bind files
5459
5460         * lyx_main.C (init): setup bindings and menus only if we have a
5461         gui.
5462
5463         * kbmap.C (read): new method. Do the actual reading of bind
5464         files.
5465
5466         * converter.C (dvipdfm_options):
5467         * bufferparams.C:
5468         * lyxrc.C (read):
5469         (output): adapt PAPER_* enums.
5470
5471         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5472
5473         * bufferparams.h: remove paper-related enums from there
5474
5475         * paper.h: New file. A trivial header file to hold paper-related
5476         enums. It should later expand to contain many paper-related
5477         horrors access.
5478
5479         * lyxrc.C: declare extern displayTranslator
5480
5481 2003-07-27  José Matos  <jamatos@fep.up.pt>
5482
5483         * tabular.[Ch] (linuxdoc): add support for tables and figures
5484         (linuxdoc).
5485
5486 2003-07-27  José Matos  <jamatos@fep.up.pt>
5487
5488         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5489         consistency in both functions.
5490         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5491
5492 2003-07-26  Asger Alstrup  <alstrup@local>
5493
5494         * rowpainter.C (paintRows): Change algorithm to work directly on
5495         the insets rather than asking every character in the document
5496         whether its an inset.
5497
5498 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * buffer.C (openFileWrite): factorize some code
5501
5502 2003-07-26  Angus Leeming  <leeming@lyx.org>
5503
5504         * lyx_cb.C:
5505         * lyx_main.[Ch]: replace occurances of system_tempdir with
5506         os::getTmpDir().
5507
5508 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * rename Inset to InsetOld
5511
5512 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5513
5514         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5515         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5516         which I think is a bit clearer. EDIT is gone, since it was
5517         premature optimisation, and broken for mathed anyway.
5518         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5519         with cursor positioning in insets as well (math insets still do not
5520         work, but that's a different story anyway.) It mysteriously
5521         crashes sometimes with undo in the first paragraph, but I'm fairly
5522         confident that this is a compiler bug.
5523
5524 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * paragraph.C (Paragraph): adjust for new clone return type
5527         (operator==): ditto
5528         (copyIntoMinibuffer): ditto
5529
5530 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5531
5532         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5533         by not having a special case, and always doing a full rebreak of
5534         the document after undo.
5535
5536 2003-07-23  Angus Leeming  <leeming@lyx.org>
5537
5538         * factory.C (createInset): InsetExternal::setParams now takes a
5539         Buffer const * arg.
5540
5541 2003-07-23  Angus Leeming  <leeming@lyx.org>
5542
5543         * factory.C (createInset): changed interface to the external and
5544         graphics mailers' string2params functions.
5545
5546 2003-07-23  Angus Leeming  <leeming@lyx.org>
5547
5548         * factory.C (createInset): pass a
5549         Buffer const * parameter to InsetExternalMailer's string2params.
5550
5551 2003-07-22  John Levon  <levon@movementarian.org>
5552
5553         * Thesaurus.h: include the right aiksaurus header
5554
5555 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5556
5557         * MenuBackend.C (expand): check menu shortcuts unconditionally
5558
5559 2003-07-21  Angus Leeming  <leeming@lyx.org>
5560
5561         * factory.C (createInset): pass a
5562         buffer_path parameter to InsetGraphicsMailer's string2params.
5563
5564 2003-07-21  Angus Leeming  <leeming@lyx.org>
5565
5566         * BufferView_pimpl.C (buffer):
5567         * buffer.C (d-tor):
5568         * lyx_main.C (LyX):
5569         * lyxfunc.C (dispatch):
5570         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5571         rather than the grfx shortcut.
5572
5573 2003-07-21  André Pönitz  <poenitz@gmx.net>
5574
5575         * rowpainter.C: remove unused variables
5576
5577         * tabular_funcs.C:
5578         * tabular_funcs.h: move to tabular.C
5579         * Makefile.am: adjust
5580
5581         * tabular.[Ch]: basic optical cleaning
5582
5583         * author.h: pass references, not values
5584
5585 2003-07-18  André Pönitz  <poenitz@gmx.net>
5586
5587         * lyxtext.h:
5588         * metricsinfo.C:
5589         * metricsinfo.h:
5590         * rowpainter.C:
5591         * text.C:
5592         * text2.C:
5593         * text3.C: two-phase drawing for InsetText and InsetTabular
5594         some float -> int changes.
5595
5596 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5597
5598         * lyx_main.C: fix the fix
5599
5600 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * lyx_main.C: fix a crash in batch mode if no files specified
5603         * converter.C: ws
5604
5605 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5606
5607         * format.[Ch] (papersize): moved to BufferParams
5608         * converter.[Ch] (dvips_options): moved to BufferParams
5609         (dvipdfm_options): moved to anon namespace
5610         * bufferparams.[Ch]: added above functions.
5611
5612 2003-07-17  André Pönitz  <poenitz@gmx.net>
5613
5614         * lyxtext.h:
5615         * rowpainter.C:
5616         * text2.C: don't call inset->update() anymore
5617
5618         * metricsinfo.[Ch]: add convenience constructor
5619
5620 2003-07-16  André Pönitz  <poenitz@gmx.net>
5621
5622         * lyxcursor.[Ch]:
5623         * lyxfunc.[Ch]:
5624         * text.C:
5625         * text2.C: replace the LyXCursor::irow_ member with
5626          on-demand computation of the value
5627
5628 2003-07-16  John Levon  <levon@movementarian.org>
5629
5630         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5631
5632 2003-07-15  André Pönitz  <poenitz@gmx.net>
5633
5634         * text.C:
5635         * text2.C: remove no more needed refresh_row
5636
5637 2003-07-15  André Pönitz  <poenitz@gmx.net>
5638
5639         * lyxtext.h:
5640         * rowpainter.C:
5641         * text2.C:
5642         * text3.C: refresh_status tristate -> need_update bool
5643
5644 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * lyxtext.h (init): remove reinit argument (act as if always true)
5647         * text2.C: adjust to that
5648
5649 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5650
5651         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5652         * text3.C: use it to delete selections in some cases
5653         (bugs 441, 673, 702, 954).
5654
5655 2003-07-14  André Pönitz  <poenitz@gmx.net>
5656
5657         * rowpainter.[Ch]: reduce interface
5658
5659 2003-07-14  André Pönitz  <poenitz@gmx.net>
5660
5661         * BufferView_pimpl.C:
5662         * text2.C: adjust after removing unused BufferView * argument
5663
5664 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * text2.C (init): fix a crash fired on resize
5667
5668 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * buffer.[Ch]: added new closing signal
5671         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5672         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5673         BufferView::Pimpl via the closing the signal
5674
5675 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * buffer.[Ch]: take out all bv-related from buffer
5678         * BufferView.C:
5679         * BufferView_pimpl.[Ch]: connect to new signals
5680         * CutAndPaste.C: removed useless asserts
5681         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5682         * lyxvc.[Ch]:
5683         * vc-backend.[Ch]:
5684         * lyxfunc.C: moved view-related funciontality from vc here
5685         * paragraph.C: removed outdated comments
5686         * text.C: ws
5687
5688 2003-07-10  André Pönitz  <poenitz@gmx.net>
5689
5690         * BufferView_pimpl.C:
5691         * tabular.h:
5692         * tabular_funcs.C:
5693         * text.C:
5694         * text2.C: remove InsetText::InnerCache, clean up consequences
5695
5696 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5697
5698         * ispell.C: fix two typos in error messages
5699
5700 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5701
5702         * Extend Note inset to other forms of annotation like Comment
5703         and Greyedout. Right button click gives dialog.
5704
5705         Files modified or added (+):
5706
5707         * insetnote.[Ch]
5708         * FormNote.[Ch]      +
5709         * ControlNote.[Ch]   +
5710         * form_note.fd       +
5711         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5712         frontends/controllers
5713         * xforms/Dialogs.C
5714         * factory.C
5715
5716 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5717
5718         * aspell.C: add missing namespace lyx::support
5719
5720 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5721
5722         * BufferView.[Ch] (newFile): Add
5723         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5724         * LaTeX.[Ch] (message): added this signal and use it
5725         * buffer.[Ch] (busy, message): added these signals and use them
5726         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5727         * converter.C:
5728         * exporter.C:
5729         * format.C:
5730         * importer.C: use buffer signals instead of direct bv calling
5731         * lyx_cb.[Ch] (ShowMessage): removed
5732         * lyx_main.C:
5733         * lyxfunc.C:
5734         * paragraph_funcs.C:
5735         * text2.C: use buffer signals
5736
5737 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * introduce namespace lyx::graphics
5740
5741 2003-07-02  André Pönitz  <poenitz@gmx.net>
5742
5743         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5744
5745 2003-07-01  André Pönitz  <poenitz@gmx.net>
5746
5747         * text.C:
5748         * text2.C:
5749         * text3.C:
5750         * text_funcs.[Ch]:
5751         * textcursor.h:
5752         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5753           text*.C to text_func.C
5754
5755 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * introduce namespace lyx::support
5758
5759 2003-06-30  André Pönitz  <poenitz@gmx.net>
5760
5761         * Chktex.C:
5762         * funcrequest.C:
5763         * lyxtext.h:
5764         * text.C: re-enable --with-included-string
5765
5766 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * textcursor.C: add <config.h>
5769
5770         * text.C (getWord): remove const from word_location arg
5771
5772         * lyxvc.C (getLogFile): fix const type order
5773
5774         * lyxtext.h: remove const from word_location arg, add arg name
5775
5776         * lyxlayout.h: currect type on labeltype.
5777
5778         * importer.C: correct \file
5779
5780         * converter.C (intToFormat): use std:: on ret val, ws changes
5781
5782         * bufferlist.h: correct \file
5783
5784         * buffer.C (makeLinuxDocFile): fix const type order
5785         (makeDocBookFile): ditto
5786         (fillWithBibKeys): use std:: on stdlib args.
5787
5788         * CutAndPaste.C: fix authors.
5789         (availableSelections): use std:: on return vector
5790
5791 2003-06-27  André Pönitz  <poenitz@gmx.net>
5792
5793         * BufferView_pimpl.C:
5794         * bufferview_funcs.C:
5795         * lyxcursor.C:
5796         * lyxcursor.h:
5797         * lyxfunc.C:
5798         * lyxtext.h:
5799         * rowpainter.C:
5800         * text.C:
5801         * text2.C:
5802         * text3.C: remove LyXCursor::row_ member
5803
5804         * lyxtext.h:
5805         * text.C: rename fullRebreak() to partialRebreak() and implement
5806           a fullRebreak() that really bereks fully
5807
5808         * textcursor.h: new struct for cursor-related data
5809
5810 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5811
5812         * lyx_main.C (LyX): get full path of document loaded on the
5813         command line
5814
5815 2003-06-26  André Pönitz  <poenitz@gmx.net>
5816
5817         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5818           remove unused/broken operator>,<,>=.
5819
5820         *       text.C: remove only use of broken operator<= in an Assert().
5821
5822 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5823
5824         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5825         moved errorlist_.clear to showErrorList
5826
5827 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5828
5829         * converter.C (scanLog, runLaTeX):
5830         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5831         move the bv->showErrorList call to the callers
5832         * lyxfunc.C: i.e. here...
5833         * text2.C: and here
5834         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5835         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5836         namespace, the second to...
5837         * buffer_funcs (BufferFormat, parseErrors): added
5838         * errorlist.C (ErrorList(TeXErrors const &)): removed
5839
5840 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5841
5842         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5843
5844 2003-06-24  "Garst R. Reese" <reese@isn.net>
5845
5846         * debug.C: fix typo
5847
5848 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5849
5850         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5851
5852         * version.C.in: change docversion to 1.4
5853
5854 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5855
5856         * buffer.C: fix a bug just introduced
5857
5858 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * buffer.[Ch]: added the parseError signal and use it, removed
5861         sgmlError
5862         * BufferView.[Ch] (addError): moved to ...
5863         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5864         to the Buffer::parseError signal to catch (guess what) parse errors
5865         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5866
5867 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5870         ability to create a buffer and to return an existing one from
5871         the list. Moved these functions to...
5872         * buffer_funcs.[Ch]: added
5873         * BufferView.[Ch] (loadLyXFile): added
5874         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5875         job removed from bufferlist::loadLyXFile.
5876         * buffer.C (setReadOnly): make it work without view
5877         (i.e added an if (users))
5878
5879 2003-06-19  Angus Leeming  <leeming@lyx.org>
5880
5881         * lfuns.h:
5882         * LyXAction.C (init):
5883         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5884         with LFUN_DIALOG_SHOW <name> <data>.
5885
5886 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5887
5888         * CutAndPaste.C (availableSelections): small compilation fix for
5889         ancient (gcc 2.9x) compilers
5890
5891 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * text3.C (cursorNext): add tmp var
5894
5895         * text2.C (updateCounters): for function calling out of for clause
5896         (replaceSelectionWithString): ditto
5897         (insertStringAsParagraphs): ditto
5898         (getColumnNearX): add tmp var
5899         (setCursorFromCoordinates): add tmp var
5900         (cursorDownParagraph): add tmp var
5901         (deleteEmptyParagraphMechanism): add tmp var
5902
5903         * text.C (insertChar): add tmp var
5904
5905         * rowpainter.C (paintDepthBar): add tmp var
5906
5907         * CutAndPaste.C (availableSelections): potentially check all
5908         paragraphs in a cut to fill the shown strings.
5909
5910 2003-06-18  André Pönitz  <poenitz@gmx.net>
5911
5912         * kbmap.[Ch]: use vector<> instead of list<>
5913
5914 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5915
5916         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5917         pasteSelection with index
5918
5919         * text2.C (pasteSelection): modify, call pasteSelection with index
5920
5921         * paragraph.C (asString): reimplement version with no interval to
5922         call the one with interval.
5923
5924         * lyxtext.h: add index arg to pasteSelection
5925
5926         * MenuBackend.C (MenuItem): handle PasteRecent
5927         (Menu::read::Menutags): add md_pasterecent
5928         (read): handle it
5929         (expandPasteRecent): new function
5930         (expand): use it
5931
5932         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5933
5934         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5935         the limited stack
5936         (availableSelections): new function
5937
5938 2003-06-17  Angus Leeming  <leeming@lyx.org>
5939
5940         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5941
5942 2003-06-17  Angus Leeming  <leeming@lyx.org>
5943
5944         * lfuns.h:
5945         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5946
5947         * lyxfunc.C (dispatch): invoke it.
5948
5949 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5950
5951         * iterators.C (operator++, ParPosition): reintroduce some
5952         const_cast for the benefit of older compilers.
5953
5954 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5955
5956         * text3.C (dispatch): do not modify clipboard when doing
5957         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5958         LFUN_DELETE_SKIP on a selection selection
5959
5960 2003-06-16  André Pönitz  <poenitz@gmx.net>
5961
5962         * BufferView.C:
5963         * buffer.C:
5964         * buffer.h:
5965         * paragraph.C:
5966         * tabular.[Ch]: IU of clone() and getLabelList();
5967
5968 2003-06-13  André Pönitz  <poenitz@gmx.net>
5969
5970         * tabular.h: compactification
5971
5972 2003-06-12  André Pönitz  <poenitz@gmx.net>
5973
5974         * tabular.C:
5975         * tabular.h:
5976         * tabular_funcs.h: some renaming plus whitespace
5977
5978 2003-06-12  André Pönitz  <poenitz@gmx.net>
5979
5980         * BufferView.C:
5981         * BufferView_pimpl.C:
5982         * CutAndPaste.C:
5983         * buffer.C:
5984         * iterators.[Ch]:
5985         * lyxfunc.C:
5986         * text.C:
5987         * toc.C: Return a Paragraph & for ParIterator::operator*()
5988
5989 2003-06-11  John Levon  <levon@movementarian.org>
5990
5991         * lyx_main.C:
5992         * ToolbarBackend.h:
5993         * ToolbarBackend.C: add "Toolbars" section and
5994         put the flags there
5995
5996 2003-06-10  Angus Leeming  <leeming@lyx.org>
5997
5998         * lfuns.h:
5999         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6000
6001         * lyxfunc.C (dispatch): invoke it.
6002
6003 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * main.C: protect <ios> with HAVE_IOS
6006         (main): protect sync_with_stdio with HAVE_IOS
6007
6008 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6009
6010         * text2.C (cutSelection): adjust
6011         (pasteSelection): adjust
6012
6013         * messages.C: handle get of empty string
6014
6015         * main.C (main): use sync_with_stdio(false)
6016
6017         * lyxfunc.C (dispatch): adjust
6018
6019         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6020         (WriteAs): remove unneeded BufferView arg.
6021
6022         * bufferparams.h: use correct types on papersize, papersize2 and
6023         paperpackage.
6024
6025         * bufferparams.C (readToken): adjust for type
6026         (writeLaTeX): add missing cases to switch.
6027
6028         * bufferlist.C (quitWriteBuffer): adjust
6029         (close): adjust
6030
6031         * buffer.C (asciiParagraph): remove some commented code.
6032
6033         * CutAndPaste.C: remove current_view extern variable.
6034         (cutSelection): add BufferParams arg.
6035         (eraseSelection): add BufferParams arg.
6036         (pasteSelection): add Buffer const & arg
6037
6038 2003-06-07  John Levon  <levon@movementarian.org>
6039
6040         * buffer.C:
6041         * paragraph_funcs.C:
6042         * paragraph_pimpl.C:
6043         * text.C:
6044         * text2.C:
6045         * paragraph.h:
6046         * paragraph.C: allow InsetERT to freely space lines,
6047         and some consolidation of code
6048
6049 2003-06-06  José Matos  <jamatos@fep.up.pt>
6050
6051         * buffer.C (makeDocBookFile): fix bug #821
6052
6053 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6056
6057 2003-06-04  Angus Leeming  <leeming@lyx.org>
6058
6059         * buffer.C: bump format to 224.
6060
6061 2003-06-05  André Pönitz  <poenitz@gmx.net>
6062
6063         * text2.C (redoParagraphs): remove two const_cast<>
6064
6065 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6066
6067         * ParagraphList.h: remove last remnants of NO_STD_LIST
6068
6069 2003-06-03  Angus Leeming  <leeming@lyx.org>
6070
6071         * factory.C (createInset): small change to the way InsetExternal's params
6072         are set.
6073
6074 2003-06-04  André Pönitz  <poenitz@gmx.net>
6075
6076         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6077
6078         * paragraph_pimpl.h:
6079         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6080
6081         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6082
6083         * undo_funcs.C: make some simple cases of undo work again
6084
6085 2003-06-03  John Levon  <levon@movementarian.org>
6086
6087         * ispell.C: HPUX doesn't have sys/select.h
6088         (from Albert Chin)
6089
6090 2003-06-03  John Levon  <levon@movementarian.org>
6091
6092         * CutAndPaste.C: update tabular and include inset
6093         buffer references
6094
6095         * buffer.h:
6096         * paragraph.h:
6097         * paragraph.C: remove owningBuffer(), don't pass Buffer
6098         to clone()
6099
6100         * factory.C: insetGraphicsParams changed
6101
6102 2003-06-02  John Levon  <levon@movementarian.org>
6103
6104         * LyXAction.C:
6105         * factory.C:
6106         * lfuns.h:
6107         * lyxfunc.C:
6108         * text3.C: remove insetparent
6109
6110 2003-06-02  John Levon  <levon@movementarian.org>
6111
6112         * buffer.h:
6113         * buffer.C: fix inset_iterator.end(), move out of line
6114         (bug 1149)
6115
6116 2003-06-01  John Levon  <levon@movementarian.org>
6117
6118         * text3.C: use a proper cut/paste when doing inset
6119         insert (from Jürgen Spitzmüller)
6120
6121 2003-06-01  John Levon  <levon@movementarian.org>
6122
6123         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6124
6125 2003-05-30  André Pönitz  <poenitz@gmx.net>
6126
6127         * rowpainter.C: unify second drawing phase
6128
6129 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * trans_mgr.C: remove one case of current_view
6132
6133         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6134
6135         * paragraph_funcs.h: remove paragraph.h include
6136
6137         * paragraph.h: delete NO_STD_LIST stuff
6138
6139         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6140
6141         * buffer.h: remove paragraph.h include
6142
6143         * ParagraphList.C: delete file
6144
6145         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6146
6147         * toc.C (getTocList): adjust
6148
6149         * paragraph_pimpl.C (validate): adjust
6150
6151         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6152
6153         * paragraph.C (Paragraph): adjust
6154         (getPositionOfInset): use const_iterator, adjust
6155         (bibitem): use const_iterator, adjust
6156         (setInsetOwner): adjust
6157
6158         * iterators.C (operator++): adjust
6159
6160         * InsetList.[Ch]: Replace selfmade iterator with standard
6161         vector::iterator also introduce const_iterator. Remove getPos,
6162         getInset and setInset from InsetTable. Adjust accordingly.
6163
6164         * BufferView.C (lockInset): adjust
6165         (ChangeInsets): adjust
6166
6167         * tabular.[Ch]: delete commented same_id functions
6168
6169 2003-05-28  John Levon  <levon@movementarian.org>
6170
6171         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6172
6173 2003-05-28  André Pönitz  <poenitz@gmx.net>
6174
6175         * metricsinfo.[Ch]: remove 'fullredraw' member
6176
6177 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6178
6179         * lyxtextclass.C (operator): remove caching.
6180
6181 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * text3.C: adjust
6184
6185         * text2.C (cursorBottom): adjust
6186         (setCounter): use ParagraphList::find, adjust
6187
6188         * text.C (workWidth): use ParagraphList::find, adjust
6189
6190         * lyxcursor.C (LyXCursor): adjust
6191
6192         * buffer.C (inset_iterator): adjust
6193
6194         * ParagraphList.h: make iterator(value_type) private, make
6195         ParagraphList a friend of iterator.
6196
6197         * ParagraphList.C (find): new function
6198
6199         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6200
6201 2003-05-27  André Pönitz  <poenitz@gmx.net>
6202
6203         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6204
6205 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6206
6207         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6208
6209 2003-05-26  John Levon  <levon@movementarian.org>
6210
6211         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6212
6213 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * remove same_id from function signatures, adjust.
6216
6217 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6220
6221         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6222
6223         * paragraph.C (Paragraph): get rid of same_ids parameter
6224
6225         * ParagraphList.C (insert): adjust
6226         (push_back): adjust
6227
6228 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * paragraph_funcs.C (breakParagraph): adjust
6231         (breakParagraphConservative): adjust
6232
6233         * buffer.C (readParagraph): adjust
6234
6235         * ParagraphList.C (insert): take a reference instead of a pointer
6236         (insert): adjust
6237
6238         * paragraph.[Ch] (id): new function
6239
6240         * bufferlist.C (newFile): adjust
6241
6242         * ParagraphList.C (ParagraphList): adjust
6243         (assign): adjust
6244         (push_back): take a reference instead of a pointer.
6245
6246         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6247
6248         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6249         instead.
6250
6251         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6252         set else use old code.
6253
6254         * ParagraphList.C: remove all NO_NEXT code and only compile this
6255         code of NO_STD_LIST is set.
6256
6257 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6258
6259         * BufferView_pimpl.C:
6260         * TextCache.C:
6261         * TextCache.h:
6262         * bufferlist.C:
6263         * errorlist.h:
6264         * format.C:
6265         * format.h:
6266         * graph.C:
6267         * lyxfunc.C:
6268         * lyxrc.C:
6269         * graphics/GraphicsConverter.C:
6270         * graphics/PreviewLoader.C: header adjustment
6271
6272 2003-05-23  Angus Leeming  <leeming@lyx.org>
6273
6274         * LaTeXFeatures.[Ch] (useBabel): new method.
6275         * bufferparams.C (writeLaTeX): use it.
6276
6277 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * ParagraphList.h (set): remove unused function.
6280
6281 2003-05-23  André Pönitz  <poenitz@gmx.net>
6282
6283         * BufferView.C:
6284         * BufferView_pimpl.C:
6285         * buffer.C:
6286         * buffer.h:
6287         * lyxfunc.C:
6288         * undo_funcs.C: setUndo reworked
6289
6290         * iterators.[Ch]: add access to topmost ParagraphList
6291
6292         * lyxtext.[Ch] (workWidth): add a const
6293
6294 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6295
6296         * texrow.[Ch] (increasePos): remove function
6297         * exporter.C (export): removed unused var and outdated comment
6298
6299 2003-05-23  Angus Leeming  <leeming@lyx.org>
6300
6301         * latexrunparams.h: rename fragile as moving_arg.
6302         * paragraph.C (simpleTeXOnePar): ditto.
6303         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6304
6305 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6308         (createUndo): ditto
6309         (textUndoOrRedo): comment out a currently unused var.
6310
6311         * paragraph.h (NO_NEXT): enable NO_NEXT
6312
6313         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6314
6315         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6316
6317         * exporter.C (Export): adjust for removeAutoInsets removal.
6318
6319         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6320
6321         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6322
6323         * BufferView.[Ch] (removeAutoInsets): delete function
6324
6325 2003-05-22  Angus Leeming  <leeming@lyx.org>
6326
6327         * latexrunparams.h: add a free_spacing variable.
6328
6329         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6330         to pass moving_arg, as the data is stored in runparams.fragile.
6331
6332         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6333         to Inset::latexOptional or to simpleTeXOnePar.
6334
6335         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6336         free_spacing arg to Inset::latexOptional.
6337
6338         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6339         free_spacing arg.
6340
6341 2003-05-22  Angus Leeming  <leeming@lyx.org>
6342
6343         * latexrunparams.h: add fragile and use_babel variables.
6344
6345         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6346         * buffer.C (makeLaTeXFile): store this returned value in
6347         runparams.use_babel, thus passing it to the inset::latex methods.
6348
6349         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6350         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6351
6352         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6353         longer has a fragile arg, as it is stored in runparams.fragile.
6354
6355         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6356         moving_arg parameter as the data is stored in runparams.fragile.
6357
6358         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6359         a fragile parameter as the data is stored in runparams.fragile.
6360
6361 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6364
6365 2003-05-22  Angus Leeming  <leeming@lyx.org>
6366
6367         * latexrunparams.h: add a 'bool nice' which defaults to false.
6368
6369         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6370         now encapsulated within runparams.
6371
6372         * bufferlist.C (updateIncludedTeXfiles):
6373         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6374
6375 2003-05-22  Angus Leeming  <leeming@lyx.org>
6376
6377         * latexrunparams.h: new file containing struct LatexRunParams.
6378         * Makefile.am: add new file.
6379
6380         * LaTeX.[Ch] (c-tor, run):
6381         * buffer.[Ch] (makeLaTeXFile):
6382         * bufferlist.[Ch] (updateIncludedTeXfiles):
6383         * converter.C (convert, scanLog):
6384         * converter.[Ch] (runLaTeX):
6385         * exporter.C (Export):
6386         * paragraph.[Ch] (simpleTeXOnePar):
6387         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6388         * paragraph_funcs.[Ch] (latexParagraphs):
6389         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6390         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6391         pass around a LatexRunParams parameter.
6392
6393 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * paragraph.[Ch]: remove unused constructor
6396
6397         * ParagraphList.C (erase): new function, taking two iterators
6398
6399 2003-05-22  André Pönitz  <poenitz@gmx.net>
6400
6401         * undo_funcs.C: remove duplicated code
6402
6403         * iterator.[Ch]: operator=
6404
6405 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * tabular.C (SetMultiColumn): ws changes
6408
6409         * rowpainter.C (paintFirst): get rid of a ->previous
6410
6411         * lyx_cb.C (getPossibleLabel): parlist simplification
6412
6413         * BufferView.C (ChangeInsets): simplify slightly.
6414
6415 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6416
6417         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6418         * lfuns.h: new LFUN_SPACE
6419         * lyxfunc.C: protected space has a new lfun
6420         * paragraph_funcs.C: read new space insets
6421         * text3.C:
6422         * factory.C: handle new space insets
6423
6424 2003-05-22  André Pönitz  <poenitz@gmx.net>
6425
6426         * BufferView.C:
6427         * BufferView_pimpl.C:
6428         * buffer.[Ch]:
6429         * lyxfunc.C:
6430         * undo_funcs.C: return a ParIterator from getParFromID.
6431
6432         * iterators.[Ch]: add two const's
6433
6434 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * toc.C (getTocList): adjust
6437
6438         * iterators.[Ch]: rework for parlist
6439
6440         * buffer.C (par_iterator_begin): adjust
6441         (par_iterator_end): adjust
6442
6443         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6444
6445         * BufferView.C (removeAutoInsets): adjust
6446         (ChangeInsets): adjust
6447
6448 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * text.C (top_y): fix bug 1110
6451
6452 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * errorlist.[Ch]: added
6455         * buffer.C:
6456         * BufferView.[Ch]:
6457         * BufferView_pimpl.C:
6458         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6459         instead
6460
6461 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * Makefile.am: ensure that lyx is relinked upon changes to the
6464         various "convenience" libs.
6465
6466 2003-05-20  Angus Leeming  <leeming@lyx.org>
6467
6468         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6469         files are compiled in alphabetical order again.
6470
6471         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6472
6473 2003-05-19  Angus Leeming  <leeming@lyx.org>
6474
6475         * gettext.[Ch]: remove "char const * _(char const *)".
6476
6477 2003-05-19  André Pönitz  <poenitz@gmx.net>
6478
6479         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6480
6481         * Makefile.am:
6482         * BufferView.C:
6483         * DepTable.h:
6484         * LaTeXFeatures.C:
6485         * buffer.C:
6486         * lyxfont.C:
6487         * lyxlex.h:
6488         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6489
6490 2003-05-19  André Pönitz  <poenitz@gmx.net>
6491
6492         * buffer.C:
6493         * lyxlayout.[Ch]:
6494         * lyxtextclass.[Ch]:
6495         * paragraph.C:
6496         * paragraph_funcs.[Ch]:
6497         * text2.C:
6498         * text3.C: more insetenv work
6499
6500 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * ParagraphParameters.C (params2string): small bug fixed
6503
6504 2003-05-16  André Pönitz  <poenitz@gmx.net>
6505
6506         * debug.C:
6507         * bufferview_funcs.C: patch from Kornel Benko to prevent
6508           crash when _(...) is called twice in a statement
6509
6510 2003-05-16  André Pönitz  <poenitz@gmx.net>
6511
6512         * BufferView.C:
6513         * lyxfunc.C:
6514         * text.C:
6515         * text2.C:
6516         * text3.C:
6517         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6518
6519 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * lyx_main.C (init): remove spurious static_cast
6522
6523 2003-05-14  André Pönitz  <poenitz@gmx.net>
6524
6525         * BufferView.C: fix format string
6526
6527 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6528
6529         * BufferView.[Ch] (insertErrors): removed
6530         * BufferView.[Ch] (showErrorList): added
6531         * buffer.C (runChkTeX):
6532         * converter.C (scanLog): call showErrorList instead of inserterrors
6533
6534 2003-05-13  André Pönitz  <poenitz@gmx.net>
6535
6536         * BufferView_pimpl.C:
6537         * buffer.C:
6538         * bufferview_func.C:
6539         * MenuBackend.C:
6540         * lyxfunc.C:
6541         * lyxrc.C:
6542         * tex-accent.C:
6543         * text3.C:
6544         * toc.C:
6545         * tabular_funcs.h: tostr() from its own header
6546
6547         * ParagraphParameters.C:
6548         * ToolbarBackend.C:
6549         * bufferparams.C:
6550         * format.C:
6551         * lyxlex_pimpl.C:
6552         * text3.C: STRCONV()
6553
6554 2003-05-12  André Pönitz  <poenitz@gmx.net>
6555
6556         * BufferView.C:
6557         * BufferView_pimpl.C:
6558         * CutAndPaste.C:
6559         * LaTeX.C:
6560         * LaTeXFeatures.C:
6561         * ParagraphParameters.C:
6562         * buffer.C:
6563         * bufferlist.C:
6564         * bufferparams.C:
6565         * bufferview_funcs.C:
6566         * converter.C:
6567         * counters.C:
6568         * debug.C:
6569         * exporter.C:
6570         * format.C:
6571         * importer.C:
6572         * lyx_cb.C:
6573         * lyx_main.C:
6574         * lyxfont.C:
6575         * lyxfunc.C:
6576         * lyxvc.C:
6577         * paragraph.C:
6578         * paragraph_funcs.C:
6579         * tabular.C:
6580         * tabular_funcs.C:
6581         * text2.C:
6582         * text3.C:  boost::format -> bformat  all over the place
6583
6584
6585 2003-05-09  André Pönitz  <poenitz@gmx.net>
6586
6587         * LColor.[Ch]: Pimpl the #include <map> away
6588
6589 2003-05-09  John Levon  <levon@movementarian.org>
6590
6591         * bufferlist.C: never remove emergency saves
6592
6593 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * Makefile.am: better lib building
6596
6597 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6600         instead.
6601         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6602         (simpleTeXSpecialChars): adjust
6603         (simpleTeXSpecialChars): adjust
6604         * paragraph.C (simpleTeXOnePar): adjust
6605         * buffer.C (makeLaTeXFile): adjust
6606
6607         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6608
6609         * text2.C (changeDepth): parlist cleanup
6610         (getColumnNearX): ditto
6611
6612         * rowpainter.C (getLabelFont): parlist cleanup
6613
6614         * bufferlist.C (newFile): parlist cleanup
6615
6616         * CutAndPaste.C (eraseSelection): parlist cleanup
6617
6618         * BufferView_pimpl.C (trackChanges): parlist cleanup
6619         (dispatch): ditto
6620
6621         * BufferView.C (lockInset): parlist cleanup.
6622         (ChangeInsets): ditto
6623
6624 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * CutAndPaste.h: Update file header.
6627
6628         * CutAndPaste.C: Update file header.
6629         Store the parts cut out of the Document in a limited_stack.
6630         (copySelection): adjust
6631         (pasteSelection): new function, takes the index in the limited stack.
6632         (nrOfParagraphs): adjust
6633         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6634         simplify error inset insertion.
6635         (checkPastePossible): adjust
6636
6637 2003-05-06  John Levon  <levon@movementarian.org>
6638
6639         * text2.C: don't cast wrap inset to float
6640
6641 2003-05-05  André Pönitz  <poenitz@gmx.net>
6642
6643         * iterator.C:
6644         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6645
6646         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6647           few naked Paragraph *.
6648
6649 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6650
6651         * bufferparams.C: Output warning if a document with missing
6652         TeX document class is loaded
6653         * exporter.C: Disable TeX exports if the document class is missing
6654         * lyxtextclass.C:
6655         * lyxtextclass.h:
6656         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6657         isTeXClassAvailable()
6658
6659 2003-05-03  John Levon  <levon@movementarian.org>
6660
6661         * BufferView.h:
6662         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6663         explicit cursor show/hide
6664
6665         * BufferView_pimpl.h:
6666         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6667         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6668
6669         * lyxfunc.C: hide cursor before dispatching.
6670
6671         * lyx_cb.C:
6672         * lyxfind.C:
6673         * text.C:
6674         * text3.C: remove explicit cursor hides
6675
6676 2003-05-02  André Pönitz  <poenitz@gmx.net>
6677
6678         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6679
6680         * undo_funcs.C:
6681         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6682           linked lists
6683
6684         * text2.C: tiny whitespace
6685
6686 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * undo_funcs.C: almost only ws changes.
6689
6690         * ParagraphList.C (splice): just return if pl is empty.
6691
6692 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * ParagraphList.C (splice): new function.
6695
6696         * CutAndPaste.C (pasteSelection): use it
6697
6698 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * CutAndPaste.C (pasteSelection): remove the last next and
6701         previous from this file.
6702
6703 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * CutAndPaste.C (pasteSelection): more clean up, user proper
6706         ParagraphList functions for pasteing.
6707
6708         * ParagraphList.C (insert): new function, three arg insert
6709
6710 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6711
6712         * ParagraphList.C (insert): new function, three arg insert
6713
6714         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6715         not on paragraphs.
6716
6717 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6720
6721 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6724
6725 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6728         (copySelection): clean up a bit.
6729         (pasteSelection): use make_pair
6730
6731         * ParagraphList.C (ParagraphList): implement copy constructor
6732         (operator=): implement, base on copy constructor.
6733         (assign): new func
6734
6735         * paragraph.C (erase): return a bool
6736
6737         * paragraph_pimpl.C (erasePos): remove function, move contents...
6738         (erase): ... here. Return a bool.
6739         (erase): call erase instead of erasePos.
6740
6741 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6742
6743         * ParagraphList.h: define PitPosPair
6744         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6745         ParagraphList, fix a bug on pasting multiple pars
6746         * text2.C: change interface to C&P
6747
6748 2003-04-30  André Pönitz  <poenitz@gmx.net>
6749
6750         * undo_func.C: revert part of yesterday's patch 2
6751
6752 2003-04-30  John Levon  <levon@movementarian.org>
6753
6754         * LColor.C: s/tabular/table/
6755
6756 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * text3.C (dispatch): do not convert iterator -> pointer
6759         * undo_funcs.C (setCursorParUndo): ditto
6760         * text_funcs.C (transposeChars): ditto
6761
6762         * text2.C (setLayout): ws changes only
6763
6764         * text.C (breakParagraph): do not convert iterator -> pointer
6765         (insertChar): ditto
6766         (acceptChange): ditto
6767         (rejectChange): ditto
6768         (changeCase): ditto
6769         (Delete): ditto
6770         (backspace): ditto
6771
6772         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6773         pointer
6774
6775 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6776
6777         * text3.C (gotoInset): YABG (yet another bad getChar)
6778
6779 2003-04-29  André Pönitz  <poenitz@gmx.net>
6780
6781         * paragraph.h: make operator= private unimplemented as long as
6782           it is unusable
6783
6784         * ParagraphList.C: whitespace
6785
6786         * paragraph.[Ch]:
6787         * paragraph_pimpl.[Ch]:
6788         * paragraph_funcs.C:
6789         * CutAndPaste.C:
6790         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6791
6792         * text2.C:
6793           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6794
6795 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6796
6797         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6798         * paragraph.[Ch] (erase):
6799         * paragraph_pimpl.[Ch] (erase): change return type and value
6800         * text2.C (cutSelection): some rework
6801
6802 2003-04-28  John Levon  <levon@movementarian.org>
6803
6804         * bufferlist.C: changes for unsaved changes dialog
6805
6806 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * bufferlist.C (newFile): set language (messages_) for new
6809         documents also.
6810
6811         * buffer.C (readFile): ws changes only.
6812
6813 2003-04-28  André Pönitz  <poenitz@gmx.net>
6814
6815         * undo_funcs.C:
6816         * lyxfunc.C:
6817         * buffer.[Ch]:
6818         * BufferView_pimpl.C:
6819         * BufferView.C: getParFromID related ParagraphList::iterator changes
6820
6821 2003-04-28  André Pönitz  <poenitz@gmx.net>
6822
6823         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6824           Changes
6825
6826 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * messages.C: remove one more localedir class variable.
6829
6830 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * messages.C (getLocaleDir): singleton generation function
6833         (Pimpl): use it.
6834         (Messages): add a default constructor.
6835
6836         * main.C (main): do not setup localedir here, do not call
6837         gettext_init.
6838
6839         * gettext.C (_): use it.
6840         (gettext_init): delete funciton
6841
6842 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * gettext.C (getLyXMessages): new singleton generating function.
6845
6846         * buffer.C (updateDocLang): adjust
6847
6848         * Makefile.am (messages.o): add target
6849         (main.o): remove target
6850
6851 2003-04-27  John Levon  <levon@movementarian.org>
6852
6853         * bufferlist.C:
6854         * lyx_cb.C:
6855         * lyxfunc.C:
6856         * lyxvc.C: specify cancel button in Alert::prompt
6857
6858 2003-04-26  John Levon  <levon@movementarian.org>
6859
6860         * text3.C:
6861         * lyxfunc.C:
6862         * lfuns.h:
6863         * LyXAction.C: add LFUN_INSET_SETTINGS
6864
6865         * lyxfunc.C: don't enable tabular-feature when there's
6866         just any locking inset
6867
6868 2003-04-26  John Levon  <levon@movementarian.org>
6869
6870         * bufferlist.C: re-add Cancel to buffer close question
6871
6872         * lyxfunc.C: fix import UI a bit
6873
6874 2003-04-25  John Levon  <levon@movementarian.org>
6875
6876         * gettext.C: remove the broken asserts for now
6877
6878 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * messages.C: make case where setlocale cannot comply work better.
6881
6882         * buffer.C (updateDocLang): new function
6883         (changeLanguage): use it
6884         (readFile): use it
6885
6886         * text2.C (setCounter): use B_ a bit.
6887
6888         * lyxlayout.C (Read): be sure to trim the label strings.
6889
6890         * messages.C (Messages): fix typo in comment
6891
6892         * buffer.C (readFile): set message_ after file is loaded.
6893         (makeDocBookFile): remove double return
6894         (changeLanguage): reset message_ upon language change.
6895         (B_): new func, use this to get translated buffer strings.
6896
6897         * main.C: add myself and Jean Marc as authors.
6898
6899 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * messages.[hC]: pimplify Messages, and three different pimpls to be
6902         used in different circumstances.
6903
6904         * gettext.[Ch]: change for use with new message code.
6905
6906 2003-04-24 André Pönitz <poenitz@gmx.net>
6907
6908         * factory.C: support for eqref
6909
6910 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * messages.[Ch]: add missing char
6913
6914         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6915
6916         * messages.[Ch]: New files
6917
6918 2003-04-18  John Levon  <levon@movementarian.org>
6919
6920         * BufferView.h:
6921         * BufferView.C:
6922         * BufferView_pimpl.C:
6923         * lfuns.h:
6924         * LyXAction.C:
6925         * lyxtext.h:
6926         * text2.C: remove layout-copy/paste (bug 778)
6927
6928 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6931
6932 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6935         if they succeed. Act accordingly.
6936
6937 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * text2.C (setCharFont): adjust
6940         (setCounter): adjust
6941         (insertStringAsLines): adjust
6942
6943         * text.C (leftMargin): adjust
6944         (setHeightOfRow): adjust
6945
6946         * rowpainter.C (paintFirst): adjust
6947         (paintLast): adjust
6948
6949         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6950         (outerHook): ditto
6951         (isFirstInSequence): ditto
6952         (getEndLabel): ditto
6953         (outerFont): adjust
6954
6955         * paragraph.C (getParLanguage): comment out some hard stuff.
6956
6957         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6958         (sgmlError): ditto
6959         (simpleDocBookOnePar): ditto
6960         (makeDocBookFile): use ParagraphList::iterator
6961
6962         * CutAndPaste.C (pasteSelection): adjust
6963
6964 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * text2.C (getFont): adjust
6967         (getLayoutFont): adjust
6968         (getLabelFont): adjust
6969
6970         * paragraph_funcs.C (TeXOnePar): adjust
6971
6972         * buffer.C (simpleLinuxDocOnePar): adjust
6973         (simpleDocBookOnePar): adjust
6974
6975         * CutAndPaste.C (pasteSelection): adjust
6976
6977         * BufferView.C (getEncoding): adjust
6978
6979         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6980
6981 2003-04-16  John Levon  <levon@movementarian.org>
6982
6983         * lyxfind.C: use parlist stuff for search/changes
6984
6985 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6988
6989         * text2.C (deleteEmptyParagraphMechanism): adjust
6990
6991         * text2.[Ch] (ownerParagraph): delete func (both of them
6992
6993 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6996
6997 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * ParagraphList.C: prepare for NO_NEXT
7000
7001 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * text2.C (getFont): adjust
7004         (getLayoutFont): adjust
7005         (getLabelFont): adjust
7006
7007         * paragraph.C (getFont): adjust
7008         (getLabelFont): adjust
7009         (getLayoutFont): adjust
7010
7011         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7012
7013 2003-04-15  John Levon  <levon@movementarian.org>
7014
7015         From Angus Leeming
7016
7017         * lyx_main.C: handle Include in .ui files
7018
7019 2003-04-15  John Levon  <levon@movementarian.org>
7020
7021         * MenuBackend.C: make the doc files length shorter
7022
7023         * ToolbarBackend.h:
7024         * ToolbarBackend.C: handle toolbar placement flags,
7025         Minibuffer
7026
7027 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7030         adjust
7031
7032         * paragraph_funcs.C (TeXOnePar): adjust
7033
7034         * paragraph.C (getLabelFont): add outerfont arg, adjust
7035         (getLayoutFont): ditto
7036         (simpleTeXOnePar): adjust
7037
7038         * paragraph_pimpl.C (realizeFont): delete func
7039
7040 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7041
7042         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7043         row argument, constify cur argument.
7044
7045 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * text2.C (getFont): adjust
7048         (getLayoutFont): adjust
7049         (getLabelFont): adjust
7050
7051         * paragraph_funcs.C (TeXOnePar): adjust
7052         (outerFont): new func...
7053         (realizeFont): ...moved out from here, changed this to facilitate
7054         transition
7055
7056         * paragraph.C (getFont): take outerfont as arg, adjust
7057         (simpleTeXOnePar): add outerfont arg, adjust
7058
7059         * buffer.C (simpleLinuxDocOnePar): adjust
7060         (simpleDocBookOnePar): adjust
7061
7062         * CutAndPaste.C (pasteSelection): adjust
7063
7064         * BufferView.C (getEncoding): adjust
7065
7066 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * text2.C (setCharFont): adjust
7069         (setCounter): adjust
7070
7071         * text.C (leftMargin): adjust
7072         (setHeightOfRow): adjust
7073
7074         * rowpainter.C (paintFirst): adjust
7075         (paintLast): adjust
7076
7077         * paragraph_pimpl.C (realizeFont): adjust
7078
7079         * paragraph.C (isFirstInSequence): move from here...
7080         * paragraph_funcs.C (isFirstInSequence): ...to here
7081
7082         * paragraph.C (outerHook): move from here...
7083         * paragraph_funcs.C (outerHook): ...to here
7084
7085         * paragraph.C (depthHook): move from here...
7086         * paragraph_funcs.C (depthHook): ...to here
7087
7088         * paragraph.C (getEndLabel): move from here...
7089         * paragraph_funcs.C (getEndLabel): ...to here
7090
7091         * text2.C (realizeFont): move from here...
7092         * paragraph_funcs.C (realizeFont): ...to here
7093
7094 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7097
7098 2003-04-14  Angus Leeming  <leeming@lyx.org>
7099
7100         * LColor.[Ch]: scrap LColor mathcursor.
7101
7102 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * lyxlex.[Ch] (text): delete function
7105         * trans.C (Load): adjust
7106         * paragraph_funcs.C (readParToken): adjust
7107
7108 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7111         vector<char> instead of a char[].
7112
7113         * lyxlex_pimpl.C (getString): adjust
7114         (next): adjust
7115         (lex): use getString
7116         (eatLine): adjust
7117         (nextToken): adjust
7118
7119         * lyxlex.C (text): use pimpl_->getString()
7120         (getBool): ditto
7121         (findToken): ditto
7122
7123 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7126         (makeFontEntriesLayoutSpecific): temp var for par.size()
7127         (setLayout): temp var for ownerParagraphs().end()
7128         (fullRebreak): temp var for rows().end()
7129         (selectionAsString): temp var for boost::next(startpit), realize
7130         that the while really is a regular for loop.
7131         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7132         setCursor in one place.
7133         (setParagraph): temp vr for ownerParagraphs().end()
7134         (updateCounters): make the while loop a for loop
7135         (cutSelection): temp var for ownerParagraphs().end()
7136         (updateInset): make the do {} while() a regular for loop
7137         (getCursorX): use temp vars
7138         (setCurrentFont): use temp vars
7139         (getColumnNearX): use temp vars
7140
7141 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * text.C (transformChar): use temp var for getChar
7144         (computeBidiTables): use temp var for row->par()
7145         (fill): move temp vars for row->par() and pit->layout() earlier in
7146         the function.
7147         (labelFill): use temp var for row->par()
7148         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7149         asc and desc, realize that pit never changes and that firstpit is
7150         just a duplicate and not needed. Exchange rit->par() with pit in a
7151         lot of places.
7152         (breakAgain): use a temp var for boost::next(rit)
7153         (breakAgainOneRow): ditto
7154         (breakParagraph): use a temp var for rows().begin()
7155         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7156         (cursorRightOneWord): use temp var for cursor.par() and
7157         cursor.pos(), remove usage of tmpcursor.
7158         (cursorLeftOneWord): use temp var for cursor.par() and
7159         cursor.pos() only set cur at end of function.
7160
7161 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text.C, text2.C: exchange all usage of Paragraph::next with
7164         boost::next(ParagraphList::iterator)
7165
7166         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7167
7168         * text2.C (cursorTop): simplify implementation
7169         (cursorBottom): ditto
7170         (setParagraph): use ParagraphList::iterator
7171         (setCurrentFont): adjust
7172         (getColumnNearX): adjust
7173         (cursorRight): adjust
7174         (cursorLeft): remove usage of Paragraph::previous
7175         (cursorUpParagraph): ditto
7176         (deleteEmptyParagraphMechanism): slight cleanup
7177
7178         * text.C (isBoundary): take a Paragraph const & instead of a
7179         pointer as arg.
7180         (addressBreakPoint): ditto
7181         (leftMargin): remove usage of Paragraph::previous.
7182         (setHeightOfRow): ditto
7183         (cursorLeftOneWord): ditto
7184         (selectNextWordToSpellcheck): ditto
7185         (Delete): ditto
7186         (backspace): ditto
7187         (breakParagraph): remove one usage of Paragraph::next
7188         (redoParagraph): ditto
7189         (acceptChange): ditto
7190         (insertChar): adjust
7191         (rowBreakPoint): adjust
7192
7193         * bufferview_funcs.C (toggleAndShow): adjust
7194
7195 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7198         methods to access it.
7199         * lyxtext.h:
7200         * text.C: Added updateRowPositions to compute all row positions.
7201         Make top_y and getRowNearY() to use the cached y position
7202
7203 2003-04-11  John Levon  <levon@movementarian.org>
7204
7205         * text.C (rowBreakPoint): reintroduce the labelEnd
7206         checks, code copied from the row fill stuff. Deep voodoo.
7207
7208         * text.C (fill): add a comment and debugging for the
7209         next poor soul.
7210
7211 2003-04-11  John Levon  <levon@movementarian.org>
7212
7213         * text.C: make sure fullrow insets get wrapped to the next line,
7214         even when they're in a manual label
7215
7216 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * text2.C (insertParagraph): make it take ParagraphList::iterator
7219         as arg.
7220         (setLayout): make it return ParagraphList::iterator
7221         (redoParagraphs): ditto
7222         (setCounter): ditto
7223         (checkParagraph): ditto
7224
7225         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7226
7227         * text2.C: adjust several funcs.
7228         (realizeFont): take a ParagraphList::iterator as arg.
7229         (getLayoutFont): ditto
7230         (getLabelFont): ditto
7231         (setCharFont): ditto
7232
7233         * text.C: adjust several funcs.
7234
7235 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7236
7237         * text.C (selectNextWordToSpellcheck): don't accidentally
7238         skip insets
7239
7240 2003-04-10  John Levon  <levon@movementarian.org>
7241
7242         * ToolbarBackend.C (getIcon): special handling for
7243         LFUN_MATH_DELIM
7244
7245 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7246
7247         * text2.C (cursorRight): a getChar assert fixed
7248
7249 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * text2.C (getFont): change to take a ParagraphList::iterator
7252         instead of Paragraph*
7253         Adjust several functions.
7254
7255         * text.C (transformChar): change to take a ParagraphList::iterator
7256         instead of Paragraph*
7257         (singleWidth): ditto
7258         Adjust several functions.
7259
7260         * rowpainter.C: adjust several functions
7261         * rowpainter.h:store a ParagraphList::iterator and not a
7262         Paragraph&.
7263
7264
7265 2003-04-09  John Levon  <levon@movementarian.org>
7266
7267         * lyxfunc.C:
7268         * lfuns.h:
7269         * LyXAction.h:
7270         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7271         and the "help" bits as well
7272
7273 2003-04-09  John Levon  <levon@movementarian.org>
7274
7275         * ToolbarBackend.h:
7276         * ToolbarBackend.C: allow multiple toolbars
7277
7278 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * undo_funcs.C (setCursorParUndo): adjust
7281
7282         * text_funcs.C (transposeChars): adjust
7283
7284         * text3.C (gotoNextInset): adjust
7285         (dispatch): adjust
7286
7287         * text2.C (setLayout): adjust
7288         (changeDepth): adjust
7289         (setFont): adjust
7290         (redoParagraphs): adjust
7291         (selectionAsString): adjust
7292         (setParagraph): adjust
7293         (insertInset): adjust
7294         (cutSelection): adjust
7295         (copySelection): adjust
7296         (pasteSelection): adjust
7297         (insertStringAsLines): adjust
7298         (updateInset): adjust
7299         (setCursor): change to take a ParagraphList::iterator parameter
7300         (setCursorIntern): change to take a ParagraphList::iterator parameter
7301         (setCurrentFont): adjust
7302         (cursorLeft): adjust
7303         (cursorRight): adjust
7304         (deleteEmptyParagraphMechanism): adjust
7305
7306         * text.C (breakParagraph): adjust
7307         (insertChar): adjust
7308         (acceptChange): adjust
7309         (rejectChange): adjust
7310         (selectNextWordToSpellcheck): adjust
7311         (changeCase): adjust
7312         (Delete): adjust
7313         (backspace): adjust
7314
7315         * lyxfind.C (SearchForward): adjust
7316         (SearchBackward): adjust
7317         (nextChange): adjust
7318
7319         * lyxcursor.C (par): adjust
7320
7321         * lyxcursor.h: store a ParagraphList::iterator instead of a
7322         Paragraph*
7323
7324         * lyx_cb.C (getPossibleLabel): adjust
7325
7326         * bufferview_funcs.C (toggleAndShow): adjust
7327
7328         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7329         (dispatch): adjust
7330
7331         * BufferView.C (removeAutoInsets): adjust
7332         (lockedInsetStoreUndo): adjust
7333
7334 2003-04-09  John Levon  <levon@movementarian.org>
7335
7336         * ToolbarBackend.C: try icon without argument
7337         if with argument fails
7338
7339 2003-04-08  John Levon  <levon@movementarian.org>
7340
7341         * ToolbarBackend.h:
7342         * ToolbarBackend.C: add getIcon(), handle tooltip,
7343         and change from "Icon" to "Item".
7344
7345 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * BufferView.C (lockInset): another bad getchar crunched
7348
7349 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7352         again)
7353
7354 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7355
7356         * lyxfind.C (searchForward, searchBackwards): bug 782
7357
7358 2003-04-07  John Levon  <levon@movementarian.org>
7359
7360         * paragraph.C: remove dead comment
7361
7362         * text.C: remove troublesome depth-fiddling code
7363         in leftMargin() and rightMargin() (bug 1017)
7364
7365         * text.C: fix breaking of rows in nested lists
7366         (bug 1004)
7367
7368         * text2.C (updateCounters): fix up depth values
7369         (bug 1013)
7370
7371 2003-04-07  John Levon  <levon@movementarian.org>
7372
7373         * BufferView_pimpl.C: clear message when doc finishes resizing,
7374         and after a mouse event
7375
7376         * lyxfunc.C: clear message after exiting inset
7377
7378 2003-04-07  John Levon  <levon@movementarian.org>
7379
7380         * bufferview_funcs.C: show math status not outside
7381         status in the statusbar
7382
7383 2003-04-07  John Levon  <levon@movementarian.org>
7384
7385         * lyxfunc.C: note status changed after a depth change
7386
7387 2003-04-04  Angus Leeming  <leeming@lyx.org>
7388
7389         * LaTeX.h: move AuxInfo operator==, != out of line.
7390         Remove LaTeX virtual destructor; nothing derives from it.
7391         Move operator()() out of public area and rename it startscript().
7392         Change protected for private.
7393
7394 2003-04-04  Angus Leeming  <leeming@lyx.org>
7395
7396         * lyxfunc.C:
7397         * text2.C: remove unneeded #includes.
7398
7399 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * text2.C (dEPM): fix the heigth of the next row
7402
7403 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * text.C: squashed an invalid getChar requester + some ws changes
7406
7407 2003-04-03  John Levon  <levon@movementarian.org>
7408
7409         * bufferview_funcs.h:
7410         * bufferview_funcs.C:
7411         * lyxfunc.C:
7412         * lyxtext.h:
7413         * text2.C: make getStatus work for the env depth lfuns
7414
7415 2003-04-03  John Levon  <levon@movementarian.org>
7416
7417         * bufferview_funcs.h:
7418         * bufferview_funcs.C:
7419         * lyxfunc.C:
7420         * lyxtext.h:
7421         * text2.C: parlistize decDepth(), by merging it with incDepth()
7422
7423 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * lyxrow.h: store a ParagraphList::iterator instead of a
7426         Paragraph* and adjust other class functions to suit.
7427
7428         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7429         above.
7430
7431 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7432
7433         * text2.C (setCursor): do not anchor to cursor row for the time being
7434
7435 2003-04-02  John Levon  <levon@movementarian.org>
7436
7437         * LyXAction.C:
7438         * lfuns.h:
7439         * lyx_main.C:
7440         * lyxtext.h:
7441         * text.C:
7442         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7443
7444 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * paragraph.h: make ParagraphList and ParagraphList::iterator
7447         friends of Paragraph.
7448
7449         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7450
7451         * ParagraphList.C: Use the private next_ and previous_ from
7452         Paragraph.
7453
7454 2003-04-01  John Levon  <levon@movementarian.org>
7455
7456         * ToolbarBackend.h:
7457         * ToolbarBackend.C:
7458         * Makefile.am: rename, remove defaults gunk
7459
7460         * MenuBackend.h:
7461         * MenuBackend.C: remove defaults gunk
7462
7463         * Languages.h:
7464         * Languages.C: remove defaults gunk
7465
7466         * lyx_main.h:
7467         * lyx_main.C: error out if files couldn't be found.
7468
7469 2003-04-02  John Levon  <levon@movementarian.org>
7470
7471         * text2.C: make incDepth() use parlist
7472
7473 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * undo_funcs.C (firstUndoParagraph): adjust
7476
7477         * text3.C (gotoInset): adjust
7478         (dispatch): adjust, and rewrite loop.
7479
7480         * text2.C (init): adjust, and rewrite loop.
7481         (redoParagraphs): adjust
7482         (updateInset): adjust, and rewrite loop.
7483         (deleteEmptyParagraphMechanism): adjust
7484
7485         * tabular.C (LyXTabular): adjust
7486         (SetMultiColumn): adjust
7487         (TeXRow): adjust
7488
7489         * lyxtext.[Ch] (ownerParagraph): delete function
7490         (ownerParagraphs): new function returns a ParagraphList.
7491
7492         * BufferView.C (removeAutoInsets): adjust
7493         (insertErrors): adjust
7494         (setCursorFromRow): adjust
7495
7496 2003-04-01  Angus Leeming  <leeming@lyx.org>
7497
7498         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7499         in the frontends.
7500
7501 2003-04-02  John Levon  <levon@movementarian.org>
7502
7503         * lyxtext.h:
7504         * text.C:
7505         * Makefile.am:
7506         * text_funcs.h:
7507         * text_funcs.C: make transposeChars a free function
7508
7509         * lyxrow_funcs.C: remove wrong comment
7510
7511 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * lyxtext.h: adjust
7514         * rowpainter.C: adjust
7515         * text.C: adjust
7516         * text2.C: adjust
7517         * text3.C: adjust
7518
7519         * lyxrow_funcs. [Ch]: new files
7520
7521         * lyxrow.[Ch]: remove next and previous pointers
7522         (next,previous): remove accessor functions
7523         (isParEnd): move to lyxrow_funcs
7524         (lastPos): move to lyxrow_funcs
7525         (nextRowIsAllInset): move to lyxrow_funcs
7526         (lastPrintablePos): move to lyxrow_funcs
7527         (numberOfSeparators): move to lyxrow_funcs
7528         (numberOfHfills): move to lyxrow_funcs
7529         (numberOfLabelHfills): move to lyxrow_funcs
7530         (hfillExpansion): move to lyxrow_funcs
7531
7532         * lyxfunc.C: adjust
7533
7534         * bufferview_funcs.C (toggleAndShow): adjust
7535
7536         * RowList.h: Remove class RowList from file leave just a
7537         std::list<Row>.
7538
7539         * RowList.C: delete file
7540
7541         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7542         and lyxrow_funcs.h
7543
7544 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * text3.C (cursorPrevious): adjust
7547         (cursorNext): adjust
7548         (dispatch): adjust
7549
7550         * text2.C (redoHeightOfParagraph): adjust
7551         (redoDrawingOfParagraph): adjust
7552         (setCursor): adjust
7553
7554         * text.C (breakParagraph): adjust
7555         (insertChar): adjust
7556         (backspace): adjust
7557
7558         * rowpainter.C (RowPainter): adjust
7559         (leftMargin): simplify and adjust
7560         (most rowpainter functions): adjust.
7561
7562         * rowpainter.h: store the row as RowList::iterator not as Row*
7563
7564         * lyxcursor.C (row): taka RowList::iterator as arg
7565         (irow): ditto
7566
7567         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7568         of Row*.
7569
7570 2003-04-01  Angus Leeming  <leeming@lyx.org>
7571
7572         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7573         stuff like bool Bool.
7574
7575 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7576
7577         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7578         rewrite a loop
7579
7580 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7583         RowList::iterator.
7584
7585         * lyxtext.h (rows): drop one version and leve a const variant that
7586         returns a RowList::iterator.
7587
7588 2003-03-31  Angus Leeming  <leeming@lyx.org>
7589
7590         * text.C (fill): ensure that the signature is the same as that in the
7591         header file.
7592
7593 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * text2.C (redoParagraphs): adjust
7596         (updateCounters): adjust
7597         (checkParagraph): adjust
7598         (getColumnNearX): adjust and reformat a bit.
7599
7600         * text.C (top_y): adjust
7601         (workWidth): adjust
7602         (leftMargin): adjust
7603         (prepareToPrint): adjust
7604         (getRow): adjust
7605         (getRowNearY): adjust
7606
7607         * lyxtext.h: make rowlist_ mutable.
7608
7609         * RowList.h: add const_iterator
7610         * RowList.C: adjust for RowList::const_iterator.
7611
7612         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7613         adjust.
7614
7615 2003-03-31  John Levon  <levon@movementarian.org>
7616
7617         * lyxrc.h:
7618         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7619
7620         * lyx_main.C: set default fonts from using lyx_gui funcs
7621
7622         * exporter.C: pdf_mode moved from lyxrc
7623
7624         * lyx_cb.C:
7625         * lyxfunc.C: changes from above
7626
7627 2003-03-31  John Levon  <levon@movementarian.org>
7628
7629         * lyx_main.C: fix to the last fix
7630
7631 2003-03-31  John Levon  <levon@movementarian.org>
7632
7633         * bufferlist.C: "Load original" -> "Load Original"
7634
7635         * converter.C:
7636         * exporter.C:
7637         * importer.C:
7638         * lyx_main.C:
7639         * format.C: more Alert cleanups
7640
7641 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7642
7643         * text2.C (removeParagraph): make it take a RowList::iterator as
7644         arg, adjust.
7645         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7646         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7647
7648         * text.C (anchor_row): make it take a RowList::iterator as arg,
7649         adjust.
7650         (computeBidiTables): make it take a const reference to Row instead
7651         of Row pointer, adjust.
7652         (leftMargin): make it take a RowList::iterator as arg, adjust.
7653         (rowBreakPoint): adjust
7654         (breakAgainOneRow): make it take a RowList::iterator as arg,
7655         adjust.
7656         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7657
7658         * bufferview_funcs.C (toggleAndShow): adjust
7659
7660 2003-03-30  John Levon  <levon@movementarian.org>
7661
7662         * Makefile.am:
7663         * BoostFormat.h:
7664         * boost-inst.C: moved to support
7665
7666         * several files: changes as a result
7667
7668 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * text2.C (LyXText): adjust.
7671         (init): adjust
7672         (removeRow): make it take a RowList::iterator as arg, adjust.
7673         (fullRebreak): adjust
7674         (deleteEmptyParagraphMechanism): adjust
7675         (clearPaint): adjust
7676         (postPaint): adjust
7677
7678         * text.C (top_y): adjust
7679         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7680         (breakAgain): make it take a RowList::iterator as arg, adjust.
7681         (breakParagraph): adjust
7682         (insertChar): adjust
7683         (backspace): adjust
7684
7685         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7686         need_break_row, and refresh_row.
7687
7688         * text3.C (dispatch): adjust
7689
7690         * text2.C (checkParagraph): adjust
7691         (setCursor): adjust
7692         (setCursorFromCoordinates): adjust
7693
7694         * text.C (top_y): adjust
7695         (workWidth): adjust
7696         (getRow): make it return a RowList::iterator, adjust
7697         (getRowNearY): make it return a RowList::iterator, adjust
7698
7699         * text2.C (init): adjust
7700         (insertRow): remove function
7701         (insertParagraph): adjust
7702         (redoParagraphs): adjust
7703         (fullRebreak): adjust
7704         (updateCounters): adjust
7705
7706         * text.C (top_y): rewrite to use RowList iterators.
7707         (top_y): adjust
7708         (setHeightOfRow): rewrite to sue RowList iterators.
7709         (appendParagraph): adjust
7710         (breakAgain): adjust
7711         (breakAgainOneRow): adjust
7712         (breakParagraph): adjust
7713         (getRow): adjust
7714         (getRowNearY): adjust, and remove commented code.
7715
7716         * lyxtext.h (firstRow): delete function
7717         (lastRow): delete function
7718         (rows): new function (const and non-const versions.)
7719         (insertRow): delete function
7720
7721         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7722
7723 2003-03-29  John Levon  <levon@movementarian.org>
7724
7725         * BufferView_pimpl.C: always update scrollbar top
7726         because pasting text when we're anchored could mean we
7727         miss an update altogether
7728
7729 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text2.C (init): use rowlist_.end() and not 0.
7732         (insertRow): change to take a RowList::iterator as arg, adjust
7733         for this.
7734         (insertParagraph): change to take a RowList::iterator as arg,
7735         adjust for this.
7736         (redoParagraphs): remove some debug msgs.
7737
7738         * text.C (appendParagraph): change to take a RowList::iterator
7739         arg, adjust for this.
7740         (breakAgain): add an assert
7741         (breakAgainOneRow): ditto
7742
7743 2003-03-29  John Levon  <levon@movementarian.org>
7744
7745         * text2.C: do not clear selection after inc/decDepth
7746         (bug 550)
7747
7748 2003-03-29  John Levon  <levon@movementarian.org>
7749
7750         * BufferView.C:
7751         * buffer.C: fix broken strerrors according to Lars
7752
7753 2003-03-29  John Levon  <levon@movementarian.org>
7754
7755         * converters.C: more Alert cleanups
7756
7757 2003-03-29  John Levon  <levon@movementarian.org>
7758
7759         * bufferview_funcs.C: remove pointless Alert
7760
7761         * buffer.C: fix confusing error message when
7762         a template is chmoded 000
7763
7764 2003-03-29  John Levon  <levon@movementarian.org>
7765
7766         * BufferView.C:
7767         * BufferView.h:
7768         * BufferView_pimpl.C: Alert fixes
7769
7770         * Makefile.am:
7771         * tabular.C:
7772         * tabular-old.C: remove unused table compat reading
7773
7774 2003-03-29  John Levon  <levon@movementarian.org>
7775
7776         * BufferView.C:
7777         * buffer.C:
7778         * lyx_cb.h:
7779         * lyx_cb.C: more Alert cleanups
7780
7781         * lyxfunc.C: don't allow chktex if not latex document
7782
7783 2003-03-29  John Levon  <levon@movementarian.org>
7784
7785         * lyx_cb.C:
7786         * BufferView.C:
7787         * buffer.C: warnings pushed down from support/,
7788         kill err_alert
7789
7790 2003-03-29  John Levon  <levon@movementarian.org>
7791
7792         * lyxfunc.C: safety check for C-r (revert)
7793
7794 2003-03-29  John Levon  <levon@movementarian.org>
7795
7796         * bufferlist.h:
7797         * bufferlist.C: several UI fixes using Alert::prompt.
7798         Fix the pointless looping quit code. Fix stupid revert
7799         behaviour (bug 938)
7800
7801         * lyxvc.h:
7802         * lyxvc.C:
7803         * lyx_cb.C: use Alert::prompt
7804
7805         * lyx_main.C: remove a silly question
7806
7807         * lyxfunc.C: remove a couple of silly questions,
7808         use Alert::prompt
7809
7810 2003-03-28  John Levon  <levon@movementarian.org>
7811
7812         * text2.C: fix bug 974 (End on empty par)
7813
7814 2003-03-28  John Levon  <levon@movementarian.org>
7815
7816         * BufferView_pimpl.C:
7817         * LyXAction.C:
7818         * lfuns.h: remove do-nothing math greek lfuns
7819
7820 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * lyxgluelength.h (isValidGlueLength): add default arg on
7823         parameter 2. Remove default arg from friend in class.
7824
7825         * lyxlength.h (isValidLength): add default arg on parameter 2.
7826         Remove default arg from friend in class.
7827
7828         * text2.C (LyXText): adjust, initialize refresh_row.
7829         (init): adjust
7830         (removeRow): adjust
7831         (insertRow): adjust
7832         (insertParagraph): adjst
7833         (redoParagraphs): adjust
7834         (fullRebreak): adjust
7835         (updateCounters): adjust
7836         (deleteEmptyParagraphMechanism): first attempt at fixing a
7837         crashing bug.
7838
7839         * text.C (top_y): adjust
7840         (setHeightOfRow): adjust
7841         (getRow): adjust
7842         (getRowNearY): adjust
7843
7844         * lyxtext.h: include RowList.h
7845         (~LyXText): not needed anymore, deleted.
7846         (firstRow): modify for RowList
7847         (lastRow): new function
7848         Delete firstrow and lastrow class variables, add a Rowlist
7849         rowlist_ class variable.
7850
7851         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7852         paragraph is empty.
7853
7854         * RowList.C (insert): fix case where it == begin().
7855
7856 2003-03-26  Angus Leeming  <leeming@lyx.org>
7857
7858         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7859         the thesaurus dialog.
7860
7861 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7864
7865         * RowList.[Ch]: new files
7866
7867         * ParagraphList.C (erase): handle the case where it == begin
7868         correctly.
7869
7870 2003-03-25  John Levon  <levon@movementarian.org>
7871
7872         * Makefile.am:
7873         * aspell_local.h:
7874         * aspell.C: add new aspell support
7875
7876         * lyxrc.h:
7877         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7878         have it accessible.
7879
7880 2003-03-25  Angus Leeming  <leeming@lyx.org>
7881
7882         * lfuns.h:
7883         * LyXAction.C (init): new LFUN_INSET_INSERT.
7884
7885         * BufferView_pimpl.C (dispatch): split out part of the
7886         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7887
7888         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7889         LFUN_INSET_APPLY.
7890
7891 2003-03-25  Angus Leeming  <leeming@lyx.org>
7892
7893         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7894
7895 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7896
7897         * text2.C:
7898         * text3.C: remove useless row->height(0)
7899
7900 2003-03-25  John Levon  <levon@movementarian.org>
7901
7902         * lyxtext.h:
7903         * text2.C:
7904         * text3.C: rename the refreshing stuff to better names
7905
7906 2003-03-24  John Levon  <levon@movementarian.org>
7907
7908         * BufferView_pimpl.h:
7909         * BufferView_pimpl.C: update layout choice on a mouse
7910         press/release
7911
7912 2003-03-23  John Levon  <levon@movementarian.org>
7913
7914         * Makefile.am: fix commandtags.h reference
7915
7916 2003-03-22  John Levon  <levon@movementarian.org>
7917
7918         * BufferView_pimpl.C:
7919         * lyxtext.h:
7920         * rowpainter.C:
7921         * rowpainter.h:
7922         * text.C:
7923         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7924
7925 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7926
7927         * lyxtext.h:
7928         * text.C: take the rtl methods out of line
7929
7930 2003-03-21 André Pönitz <poenitz@gmx.net>
7931
7932         * metricsinfo.[Ch]: new files containing structures to be passed around
7933         during the two-phase-drawing...
7934
7935 2003-03-21 André Pönitz <poenitz@gmx.net>
7936
7937         * lyxtextclass.C: read 'environment' tag.
7938
7939 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7940
7941         * text2.C (removeRow): fix bug 964
7942
7943 2003-03-20  John Levon  <levon@movementarian.org>
7944
7945         * rowpainter.C:
7946         * text.C:
7947         * text2.C: paint cleanups. Inset::update() dropped font
7948         parameter
7949
7950 2003-03-19  John Levon  <levon@movementarian.org>
7951
7952         * lyxfunc.C: only fitcursor/markDirty if available()
7953
7954 2003-03-19  John Levon  <levon@movementarian.org>
7955
7956         * commandtags.h: rename to ...
7957
7958         * lfuns.h: ... this, and renumber / cleanup
7959
7960 2003-03-19  John Levon  <levon@movementarian.org>
7961
7962         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7963         fit the cursor after an lfun
7964
7965         * BufferView.h:
7966         * BufferView.C:
7967         * BufferView_pimpl.h:
7968         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7969
7970         * LyXAction.C: layout-character should have ReadOnly
7971
7972         * ParagraphParameters.C:
7973         * buffer.C:
7974         * bufferview_funcs.C:
7975         * lyx_cb.C:
7976         * lyxfind.C:
7977         * lyxtext.h:
7978         * text.C:
7979         * text2.C:
7980         * text3.C:
7981         * undo_funcs.C: changes from above
7982
7983 2003-03-18  John Levon  <levon@movementarian.org>
7984
7985         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7986         remove it from update()
7987
7988         * lyxfunc.C: update layout choice after an lfun
7989
7990         * text3.C: remove extra updateLayoutChoice()s
7991
7992 2003-03-18  John Levon  <levon@movementarian.org>
7993
7994         * text.C: top_y change means full repaint, fix
7995         a drawing bug with cursor movement
7996
7997 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * lyxtext.h:
8000         * text.C:
8001         * text2.C: anchor row on setCursor
8002
8003 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8004
8005         * lyxtext.h: remove almost all mutable keywords
8006         * text.C:
8007         * text2.C:
8008         * text3.C: remove const keywords accordingly
8009
8010 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8013         anon namespace
8014         (TeXEnvironment): ditto
8015         (TeXOnePar): ditto
8016
8017 2003-03-17  John Levon  <levon@movementarian.org>
8018
8019         * text.C (rowBreakPoint): remove attempt to fix displayed
8020         math insets inside a manual label
8021
8022 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * lyxtext.h: remove BufferView* as first arg from almost all class
8025         functions.
8026         * other files: adjust.
8027
8028 2003-03-17  John Levon  <levon@movementarian.org>
8029
8030         * lyxtext.h:
8031         * undo_funcs.C:
8032         * text2.C: more paint cleanups
8033
8034         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8035
8036         * rowpainter.h:
8037         * rowpainter.C: remove "smart" background painting code
8038
8039 2003-03-16  John Levon  <levon@movementarian.org>
8040
8041         * lyxtext.h:
8042         * text.C:
8043         * text2.C:
8044         * text3.C: add helper functions for setting refresh_row/y
8045
8046 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8047
8048         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8049         newline inset which *can* get inserted in the pass_thru layouts.
8050         This is primarily for literate documents.
8051
8052 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8053
8054         * buffer.C: increment LYX_FORMAT to 223
8055
8056 2003-03-14 André Pönitz <poenitz@gmx.net>
8057
8058         * textclass.h: prepare for environment handling, ws changes
8059         * lyxlayout.C: read latexheader and latexfooter tags
8060
8061 2003-03-14  John Levon  <levon@movementarian.org>
8062
8063         * text2.C: rewrite ::status() a bit
8064
8065 2003-03-13  John Levon  <levon@movementarian.org>
8066
8067         * lyxtext.h: add some docs
8068
8069 2003-03-13  John Levon  <levon@movementarian.org>
8070
8071         * lyxtext.h:
8072         * text.C:
8073         * text2.C:
8074         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8075
8076 2003-03-13  John Levon  <levon@movementarian.org>
8077
8078         * text3.C: fix appendix redrawing
8079
8080 2003-03-13  John Levon  <levon@movementarian.org>
8081
8082         * text.C (setHeightOfRow):
8083         * rowpainter.h:
8084         * rowpainter.C: make appendix mark have the text
8085           "Appendix" so the user knows what it is
8086
8087         * LColor.h:
8088         * LColor.C: s/appendixline/appendix/ from above
8089
8090 2003-03-13  John Levon  <levon@movementarian.org>
8091
8092         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8093
8094         * text.C: fix a getChar(pos) bug properly
8095
8096 2003-03-13  Angus Leeming  <leeming@lyx.org>
8097
8098         * commandtags.h:
8099         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8100         Probably only temporary. Let's see how things pan out.
8101
8102         * BufferView.C (unlockInset):
8103         * BufferView_pimpl.C (fitCursor):
8104         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8105
8106         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8107         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8108
8109         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8110         new functions that convert ParagraphParameters to and from a string.
8111
8112         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8113         BufferView::Pimpl's dispatch.
8114         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8115
8116 2003-03-13 André Pönitz <poenitz@gmx.net>
8117
8118         * lyxfunc.C:
8119         * text3.C:
8120         * factory.C: make it aware of InsetEnv
8121
8122 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * text2.C (setCursor): never ask for one past last
8125         (setCursor): add some debugging messages.
8126
8127         * text.C (singleWidth): never ask for one past last
8128         (singleWidth): ditto
8129         (leftMargin): ditto
8130         (rightMargin): ditto
8131         (rowBreakPoint): ditto
8132         (setHeightOfRow): ditto
8133         (prepareToPrint): ditto
8134
8135         * rowpainter.C (paintBackground): never ask for one past last
8136         (paintText): never ask for one past last
8137
8138         * paragraph_pimpl.C (getChar): make the assert stricter, never
8139         allow the one past last pos to be taken
8140
8141         * paragraph.C (getChar): ws changes only
8142
8143         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8144         (numberOfSeparators): ditto
8145         (numberOfHfills): ditto
8146
8147 2003-03-12  John Levon  <levon@movementarian.org>
8148
8149         * author.h:
8150         * author.C:
8151         * bufferparams.h:
8152         * bufferparams.C:
8153         * paragraph_funcs.C: fix per-buffer authorlists
8154
8155 2003-03-12  John Levon  <levon@movementarian.org>
8156
8157         * text.C: fix newline in right address
8158
8159 2003-03-12  Angus Leeming  <leeming@lyx.org>
8160
8161         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8162         duplicate those in LyXFunc::dispatch.
8163
8164         * commandtags.h:
8165         * LyXAction.C:
8166         * ToolbarDefaults.C:
8167         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8168         Add LFUN_FONTFREE_UPDATE.
8169
8170         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8171         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8172
8173         * bufferview_func.[Ch]: several new functions to facilliate
8174         transfer of data to and from the character dialog.
8175
8176 2003-03-12  John Levon  <levon@movementarian.org>
8177
8178         * buffer.C:
8179         * paragraph.h:
8180         * paragraph.C:
8181         * paragraph_funcs.C:
8182         * paragraph_pimpl.C:
8183         * sgml.C:
8184         * tabular.C:
8185         * text.C:
8186         * text3.C: remove META_NEWLINE in favour of an inset
8187
8188         * rowpainter.h:
8189         * rowpainter.C: remove paintNewline (done by inset)
8190
8191 2003-03-12  John Levon  <levon@movementarian.org>
8192
8193         * paragraph_pimpl.C: complain about bad getChar()s
8194         for a while at least
8195
8196 2003-03-12  John Levon  <levon@movementarian.org>
8197
8198         * buffer.h:
8199         * buffer.C: move paragraph read into a separate function,
8200         a little renaming to reflect that.
8201
8202         * bufferparams.h:
8203         * bufferparams.C: remove the author_ids map, not necessary now
8204
8205         * factory.h:
8206         * factory.C: moved Buffer::readInset to here
8207
8208         * paragraph_funcs.h:
8209         * paragraph_funcs.C: readParagraph free function moved from
8210         buffer.C
8211
8212         * tabular.C: name change
8213
8214 2003-03-12  John Levon  <levon@movementarian.org>
8215
8216         * buffer.C:
8217         * ParagraphParameters.C: move par params input to
8218         a read() method
8219
8220         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8221         behave like a normal read from the stream wrt reading
8222         a line vs. a \\token
8223
8224 2003-03-12  John Levon  <levon@movementarian.org>
8225
8226         * paragraph.C:
8227         * ParagraphParameters.h:
8228         * ParagraphParameters.C: move output code to a
8229         ::write() method
8230
8231 2003-03-12  John Levon  <levon@movementarian.org>
8232
8233         * BufferView.C (insertLyXFile):
8234         * buffer.h:
8235         * buffer.C:
8236         * tabular.C: use a parlist iterator for creating the
8237           document.
8238
8239 2003-03-12  John Levon  <levon@movementarian.org>
8240
8241         * buffer.C: make current_change static local not
8242           static file-scope
8243
8244 2003-03-12  John Levon  <levon@movementarian.org>
8245
8246         * buffer.C: fix insertStringAsLines for change tracking
8247
8248 2003-03-12  John Levon  <levon@movementarian.org>
8249
8250         * BufferView.C:
8251         * tabular.C:
8252         * buffer.h:
8253         * buffer.C:
8254         * bufferparams.h:
8255         * bufferparams.C: move author list into params. Rename some
8256           functions. Move the header reading into a separate token
8257           loop. Move the header token reading into BufferParams.
8258
8259 2003-03-12  John Levon  <levon@movementarian.org>
8260
8261         * changes.C: put debug inside lyxerr.debugging() checks
8262
8263 2003-03-11 André Pönitz <poenitz@gmx.net>
8264
8265         * factory.C: make it aware of InsetHFill
8266
8267 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8268
8269         * buffer.C (latexParagraphs): move function from here...
8270         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8271         args.
8272
8273 2003-03-10  Angus Leeming  <leeming@lyx.org>
8274
8275         * LyXAction.C (init): fix bug in poplating array with multiple entries
8276         with the same LFUN (spotted by JMarc).
8277
8278 2003-03-10  John Levon  <levon@movementarian.org>
8279
8280         * text.C:
8281         * text2.C: move getColumnNearX() near its
8282         only call site
8283
8284 2003-03-10  John Levon  <levon@movementarian.org>
8285
8286         * text.C: fix break before a minipage
8287
8288 2003-03-10  John Levon  <levon@movementarian.org>
8289
8290         * text.C: fix the last commit
8291
8292 2003-03-09  John Levon  <levon@movementarian.org>
8293
8294         * lyxtext.h:
8295         * text.C:
8296         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8297         bug 365 (don't break before insets unless needed). Don't
8298         return a value > last under any circumstances.
8299
8300 2003-03-09  Angus Leeming  <leeming@lyx.org>
8301
8302         * BufferView_pimpl.C (trackChanges, dispatch): call
8303         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8304
8305 2003-03-09  Angus Leeming  <leeming@lyx.org>
8306
8307         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8308         than Dialogs::showAboutlyx().
8309
8310 2003-03-09  Angus Leeming  <leeming@lyx.org>
8311
8312         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8313         than Dialogs::showTabularCreate().
8314
8315 2003-03-09  John Levon  <levon@movementarian.org>
8316
8317         * lyxtext.h:
8318         * text.C:
8319         * text2.C: 3rd arg to nextBreakPoint was always the same.
8320           Use references.
8321
8322 2003-03-08  John Levon  <levon@movementarian.org>
8323
8324         * lyxrow.C:
8325         * paragraph.C:
8326         * paragraph.h:
8327         * rowpainter.C:
8328         * text.C:
8329         * text2.C: Remove the "main" bit from the "main body"
8330           notion.
8331
8332 2003-03-08  John Levon  <levon@movementarian.org>
8333
8334         * text.C (leftMargin): The left margin of an empty
8335         manual label paragraph should not include the label width
8336         string length.
8337
8338         * text.C (prepareToPrint): don't attempt to measure hfills
8339         for empty manual label paragraphs - the answer should be 0
8340
8341 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8342
8343         * CutAndPaste.C: remove commented code and reindent.
8344
8345 2003-03-08  John Levon  <levon@movementarian.org>
8346
8347         * lyxfunc.h:
8348         * lyxfunc.C: move reloadBuffer()
8349
8350         * BufferView.h:
8351         * BufferView.C: to here
8352
8353         * lyxvc.C: add comment
8354
8355         * vc-backend.h:
8356         * vc-backend.C: call bv->reload() to avoid
8357           getStatus() check on MENURELOAD
8358
8359 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8360
8361         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8362         to an old format .dep file.
8363
8364 2003-03-07  Angus Leeming  <leeming@lyx.org>
8365
8366         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8367         when the LFUN_MOUSE_RELEASE should have been handled by
8368         inset->localDispatch.
8369
8370 2003-03-07  Angus Leeming  <leeming@lyx.org>
8371
8372         * BufferView_pimpl.C (dispatch):
8373         * LyXAction.C (init):
8374         * ToolbarDefaults.C (init):
8375         * commandtags.h:
8376         * lyxfunc.C (getStatus):
8377         remove LFUN_INSET_GRAPHICS.
8378
8379         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8380
8381 2003-03-07  Angus Leeming  <leeming@lyx.org>
8382
8383         * commandtags.h:
8384         * LyXAction.C (init):
8385         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8386
8387         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8388
8389         * commandtags.h:
8390         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8391
8392         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8393         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8394
8395 2003-03-07  Angus Leeming  <leeming@lyx.org>
8396
8397         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8398         remove "ert".
8399
8400 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8401
8402         * ParagraphList.C (front): new function
8403         (back): implement
8404
8405 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8406
8407         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8408         and top_row_offset_. removed var first_y.
8409         * text.C (top_y):
8410         * text2.C (LyXText, removeRow):
8411         * text3.C:
8412         * BufferView_pimpl.C:
8413         use these methods instead of using first_y
8414
8415 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8416
8417         * text2.C (pasteSelection): adjust for checkPastePossible
8418
8419         * CutAndPaste.C: remove Paragraph * buf and replace with
8420         ParagraphList paragraphs.
8421         (DeleteBuffer): delete
8422         (cutSelection): change the tc type to textclass_type
8423         (copySelection): change the tc type to textclass_type
8424         (copySelection): adjust for ParagraphList
8425         (pasteSelection): change the tc type to textclass_type
8426         (pasteSelection): adjust for Paragraphlist
8427         (nrOfParagraphs): simplify for ParagraphList
8428         (checkPastePossible): simplify for ParagraphList
8429         (checkPastePossible): remove unused arg
8430
8431         * ParagraphList.C (insert): handle the case where there are no
8432         paragraphs yet.
8433
8434         * CutAndPaste.h: make CutAndPaste a namespace.
8435
8436         * text3.C (dispatch): adjust
8437
8438         * text.C (breakParagraph): add a ParagraphList as arg
8439
8440         * paragraph_funcs.C (breakParagraph): change to take a
8441         BufferParams and a ParagraphList as args.
8442         (breakParagraphConservative): ditto
8443         (mergeParagraph): ditto
8444         (TeXDeeper): add a ParagraphList arg
8445         (TeXEnvironment): ditto
8446         (TeXOnePar): ditto
8447
8448         * buffer.C (readLyXformat2): adjust
8449         (insertStringAsLines): adjust
8450         (latexParagraphs): adjust
8451
8452         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8453         (cutSelection): adjust
8454         (pasteSelection): adjust
8455
8456         * BufferView_pimpl.C (insertInset): adjust
8457
8458 2003-03-05  Angus Leeming  <leeming@lyx.org>
8459
8460         * commandtags.h:
8461         * LyXAction.C (init):
8462         * BufferView_pimpl.C (dispatch):
8463         * lyxfunc.C (getStatus):
8464         remove LFUN_CHILD_INSERT.
8465
8466         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8467
8468 2003-03-05  Angus Leeming  <leeming@lyx.org>
8469
8470         * commandtags.h:
8471         * LyXAction.C (init):
8472         * src/factory.C (createInset):
8473         * lyxfunc.C (getStatus):
8474         * text3.C (dispatch):
8475         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8476
8477         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8478
8479 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * ParagraphList.C (insert): handle insert right before end()
8482         (erase): fix cases where it can be first or last paragraph.
8483
8484 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8487         Paragraph::next and Paragraph::previous
8488         (TeXOnePar): ditto
8489
8490         * text.C (breakParagraph): adjust
8491
8492         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8493         BufferParams& as arg.
8494         (breakParagraph): use ParagraphList::insert
8495         (breakParagraphConservative): take a Buffer* instead of a
8496         BufferParams& as arg.
8497         (breakParagraphConservative): use ParagraphList::insert.
8498
8499         * buffer.C (insertStringAsLines): un-const it
8500         (insertStringAsLines): adjust
8501
8502         * ParagraphList.C (insert): new function
8503
8504         * CutAndPaste.C (pasteSelection): adjust
8505
8506         * text.C (backspace): adjust
8507
8508         * tabular.C (SetMultiColumn): adjust
8509
8510         * CutAndPaste.C (cutSelection): adjust
8511         (pasteSelection): adjust
8512
8513         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8514         Buffer const * as arg
8515
8516         * ParagraphList.C (erase): new function
8517         * paragraph_funcs.C (mergeParagraph): use it
8518         (mergeParagraph): make it take a Buffer* instead of a
8519         BufferParams* as arg
8520
8521         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8522         as arg
8523         (breakParagraphConservative): ditto
8524
8525         * paragraph.h: remove the breakParagraph friend
8526
8527         * paragraph.C (eraseIntern): new function
8528         (setChange): new function
8529
8530         * paragraph_funcs.C (mergeParagraph): make it take a
8531         ParagraphList::iterator instead of a Paragraph *, adjust
8532         accordingly.
8533
8534         * paragraph.h: move an #endif so that the change tracking stuff
8535         also works in the NO_NEXT case.
8536
8537 2003-03-04  Angus Leeming  <leeming@lyx.org>
8538
8539         * commandtags.h:
8540         * LyXAction.C: new LFUN_INSET_MODIFY.
8541
8542         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8543         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8544
8545 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * several files: ws changes only
8548
8549         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8550         (TeXEnvironment): ditto
8551         (TeXDeeper): ditto
8552
8553         * buffer.C (makeLaTeXFile): adjust
8554         (latexParagraphs): make it take ParagraphList::iterator as args
8555
8556 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * buffer.C (latexParagraphs): adjust
8559
8560         * paragraph.C (TeXOnePar): move function...
8561         (optArgInset): move function...
8562         (TeXEnvironment): move function...
8563         * paragraph_pimpl.C (TeXDeeper): move function...
8564         * paragraph_funcs.C: ...here
8565
8566         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8567
8568 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * buffer.C (readInset): remove compability code for old Figure and
8571         InsetInfo insets
8572
8573 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8574
8575         * buffer.C: ws changes
8576         (readInset):
8577
8578         * BufferView_pimpl.C: ditto
8579         * author.C: ditto
8580         * buffer.h: ditto
8581         * bufferlist.h: ditto
8582         * changes.h: ditto
8583         * lyxfunc.C: ditto
8584
8585 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8586
8587         * converter.[Ch]: split into itself +
8588         * graph.[Ch]
8589         * format.[Ch]
8590         * Makefile.am: += graph.[Ch] + format.[Ch]
8591         * MenuBackend.C
8592         * buffer.C
8593         * exporter.C
8594         * importer.C
8595         * lyx_main.C
8596         * lyxfunc.C
8597         * lyxrc.C: added #include "format.h"
8598
8599 2003-02-27  Angus Leeming  <leeming@lyx.org>
8600
8601         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8602           a label.
8603
8604         * factory.C (createInset): add "label" to the factory.
8605
8606         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8607           string and do no more.
8608
8609 2003-02-27  Angus Leeming  <leeming@lyx.org>
8610
8611         * commandtags.h:
8612         * LyXAction.C (init):
8613         * factory.C (createInset):
8614         * BufferView_pimpl.C (dispatch):
8615           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8616
8617         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8618
8619         * lyxfunc.C (dispatch):
8620         * text3.C (dispatch): pass name to params2string.
8621
8622 2003-02-26  Angus Leeming  <leeming@lyx.org>
8623
8624         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8625           blocks together.
8626           Rearrange the ~includes. Strip out the unnecessary ones.
8627
8628         * factory.C (createInset): reformat.
8629           create new insets for the various LFUN_XYZ_APPLY lfuns.
8630
8631 2003-02-26  John Levon  <levon@movementarian.org>
8632
8633         * lyxrow.h:
8634         * lyxrow.C: add isParStart,isParEnd helpers
8635
8636         * paragraph.h: make isInserted/DeletedText take refs
8637
8638         * paragraph_funcs.h:
8639         * paragraph_funcs.C: remove #if 0'd code
8640
8641         * lyxtext.h:
8642         * text3.C:
8643         * text2.C:
8644         * text.C: use lyxrow helpers above.
8645           Move draw and paint routines to RowPainter.
8646           Make several methods use refs not pointers.
8647           Make backgroundColor() const.
8648           Add markChangeInDraw(), isInInset().
8649           Merge changeRegionCase into changeCase.
8650           Make workWidth() shouldn't-happen code into an Assert.
8651
8652         * rowpainter.h:
8653         * rowpainter.C: new class for painting a row.
8654
8655         * vspace.h:
8656         * vspace.C: make inPixels take a ref
8657
8658 2003-02-26  Angus Leeming  <leeming@lyx.org>
8659
8660         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8661         LFUN_REF_APPLY.
8662
8663 2003-02-25  John Levon  <levon@movementarian.org>
8664
8665         * ispell.C: give the forked command a more accurate name
8666
8667 2003-02-22  John Levon  <levon@movementarian.org>
8668
8669         * toc.h:
8670         * toc.C: make TocItem store an id not a Paragraph *
8671           (bug #913)
8672
8673 2003-02-21  Angus Leeming  <leeming@lyx.org>
8674
8675         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8676           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8677           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8678           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8679           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8680           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8681
8682         * BufferView_pimpl.C (dispatch):
8683         * LyXAction.C (init):
8684         * factory.C (createInset):
8685         * lyxfunc.C (getStatus, dispatch):
8686         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8687
8688 2003-02-21  Angus Leeming  <leeming@lyx.org>
8689
8690         * BufferView_pimpl.C (MenuInsertLyXFile):
8691         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8692         * lyxfunc.C (menuNew, open, doImport):
8693           no longer pass a LyXView & to fileDlg.
8694
8695 2003-02-21  Angus Leeming  <leeming@lyx.org>
8696
8697         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8698         * LyXAction.C: change, BIBKEY to BIBITEM.
8699         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8700         Change InsetBibKey to InsetBibitem.
8701         Change BIBKEY_CODE to BIBITEM_CODE.
8702         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8703         * factory.C: replace insetbib.h with insetbibitem.h.
8704         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8705         * paragraph.C: replace insetbib.h with insetbibitem.h.
8706         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8707         Change bibkey() to bibitem().
8708         * text.C: remove insetbib.h.
8709         * text2.C: replace insetbib.h with insetbibitem.h.
8710         change bibkey() to bibitem().
8711         * text3.C: remove insetbib.h.
8712         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8713
8714 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * lyxrc.C (output): enclose user email in quotes (in case there are
8717         several words)
8718
8719 2003-02-18  John Levon  <levon@movementarian.org>
8720
8721         * buffer.h: add std::
8722
8723 2003-02-17  John Levon  <levon@movementarian.org>
8724
8725         * SpellBase.h:
8726         * ispell.h:
8727         * ispell.C:
8728         * pspell.h:
8729         * pspell.C: reworking. Especially in ispell, a large
8730           number of clean ups and bug fixes.
8731
8732         * lyxfunc.C: fix revert to behave sensibly
8733
8734 2003-02-17 André Pönitz <poenitz@gmx.net>
8735
8736         * LyXAction.C:
8737         * commandtags.h: new LFUN_INSERT_BIBKEY
8738
8739         * layout.h:
8740         * lyxlayout.C:
8741         * buffer.C:
8742         * factory.C:
8743         * text.C:
8744         * text2.C:
8745         * text3.C:
8746         * paragraph.[Ch]:
8747         * paragraph_func.C: remove special bibkey handling
8748
8749 2003-02-17  John Levon  <levon@movementarian.org>
8750
8751         * text.C (Delete): fix case where delete at the end of
8752           the very first paragraph would not merge the pars
8753
8754 2003-02-17  John Levon  <levon@movementarian.org>
8755
8756         * lyxrow.C: fix lastPrintablePos()
8757
8758 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8759
8760         * bufferparams.C (writeLaTeX): add a std:here
8761
8762         * buffer.C: and remove a using directive there
8763
8764 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8765
8766         * buffer.C (makeLaTeXFile): move the code that generates the
8767           preamble...
8768
8769         * bufferparams.C (writeLaTeX): ... in this new method
8770
8771         * LaTeXFeatures.C (getEncodingSet): make const
8772           (getLanguages): make const
8773
8774         * MenuBackend.C (binding): returns the binding associated to this
8775           action
8776           (add): sets the status of each item by calling getStatus. Adds
8777           some intelligence.
8778           (read): add support for OptSubMenu
8779           (expand): remove extra separator at the end of expanded menu
8780
8781 2003-02-15  John Levon  <levon@movementarian.org>
8782
8783         * BufferView.C:
8784         * BufferView_pimpl.C:
8785         * bufferlist.h:
8786         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8787           inset code that had no actual effect. Remove unneeded status
8788           code.
8789
8790 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8793           in preamble
8794
8795 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8796
8797         * text.C (drawLengthMarker): also draw an arrow marker for
8798           symbolic lengths (medskip...)
8799
8800 2003-02-14  John Levon  <levon@movementarian.org>
8801
8802         * tabular.h:
8803         * tabular.C: better method names
8804
8805 2003-02-14  John Levon  <levon@movementarian.org>
8806
8807         * BufferView_pimpl.C:
8808         * bufferlist.C:
8809         * buffer.C:
8810         * converter.C:
8811         * lyx_cb.C:
8812         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8813           it's a more accurate name. Remove some pointless uses.
8814
8815 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8816
8817         * text2.C (LyXText): change order of initilizers to shut off
8818           warnings
8819
8820 2003-02-14  John Levon  <levon@movementarian.org>
8821
8822         * buffer.C: use ParIterator for getParFromID()
8823
8824         * paragraph.h:
8825         * paragraph.C:
8826         * paragraph_pimpl.h:
8827         * paragraph_pimpl.C: remove unused getParFromID()
8828
8829 2003-02-14  John Levon  <levon@movementarian.org>
8830
8831         * buffer.C: remove some very old #if 0'd parse code
8832
8833 2003-02-13  John Levon  <levon@movementarian.org>
8834
8835         * text.h:
8836         * text.C:
8837         * text2.C: move hfillExpansion(), numberOfSeparators(),
8838           rowLast(), rowLastPrintable(), numberofHfills(),
8839           numberOfLabelHfills() ...
8840
8841         * lyxrow.h:
8842         * lyxrow.C: ... to member functions here.
8843
8844         * paragraph.h:
8845         * paragraph.C:
8846         * lyxtext.h:
8847         * text.C: remove LyXText::beginningOfMainBody(), and call
8848           p->beginningOfMainBody() directly. Move the check for
8849           LABEL_MANUAL into the latter.
8850
8851         * text.h:
8852         * text.C:
8853         * text2.C:
8854         * vspace.C:
8855         * BufferView.h:
8856         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8857
8858         * text.h:
8859         * text.C:
8860         * text2.C:
8861         * text3.C:
8862         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8863           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8864
8865 2003-02-13  John Levon  <levon@movementarian.org>
8866
8867         * CutAndPaste.C: remove debug
8868
8869 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * paragraph.C (asString): remove two unused variables
8872
8873         * lyxtextclass.C (readTitleType):
8874           (Read):
8875           (LyXTextClass): handle new members titletype_ and titlename_
8876
8877         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8878
8879 2003-02-09  John Levon  <levon@movementarian.org>
8880
8881         * buffer.h:
8882         * buffer.C: replace hand-coded list with a map for the dep clean
8883
8884 2003-02-08  John Levon  <levon@movementarian.org>
8885
8886         * LaTeX.C: consolidate code into showRunMessage() helper
8887
8888 2003-02-08  John Levon  <levon@movementarian.org>
8889
8890         * lyxfind.C:
8891         * lyxtext.h:
8892         * text2.C:
8893         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8894           and pass the size in explicitly
8895
8896         * BufferView_pimpl.h:
8897         * BufferView_pimpl.C:
8898         * BufferView.h:
8899         * BufferView.C: add getCurrentChange()
8900
8901         * BufferView_pimpl.h:
8902         * BufferView_pimpl.C: handle change lfuns
8903
8904         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8905           for changes. Mark pasted paragraphs as new.
8906
8907         * support/lyxtime.h:
8908         * support/lyxtime.C:
8909         * DepTable.C: abstract time_t as lyx::time_type
8910
8911         * LColor.h:
8912         * LColor.C: add colours for new text, deleted text, changebars
8913
8914         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8915           package use "usenames" option.
8916
8917         * commandtags.h:
8918         * lyxfunc.C:
8919         * LyXAction.C: add change lfuns
8920
8921         * Makefile.am:
8922         * author.h:
8923         * author.C: author handling
8924
8925         * buffer.h:
8926         * buffer.C: add a per-buffer author list, with first entry as
8927           current author. Handle new .lyx tokens for change tracking. Output
8928           author list to .lyx file. Output dvipost stuff to .tex preamble.
8929           Bump lyx format to 222.
8930
8931         * bufferlist.h:
8932         * bufferlist.C: add setCurrentAuthor() to reset current author details
8933           in all buffers.
8934
8935         * bufferparams.h:
8936         * bufferparams.C: add param for tracking
8937
8938         * bufferview_funcs.C: output change info in minibuffer
8939
8940         * Makefile.am:
8941         * changes.h:
8942         * changes.C: add change-tracking structure
8943
8944         * debug.h:
8945         * debug.C: add CHANGES debug flag
8946
8947         * lyxfind.h:
8948         * lyxfind.C: add code for finding the next change piece
8949
8950         * lyxrc.h:
8951         * lyxrc.C: add user_name and user_email
8952
8953         * lyxrow.h:
8954         * lyxrow.C: add a metric for the top of the text line
8955
8956         * lyxtext.h:
8957         * text.C: implement accept/rejectChange()
8958
8959         * lyxtext.h:
8960         * text.C: paint changebars. Paint new/deleted text in the chosen
8961         colours. Strike through deleted text.
8962
8963         * paragraph.h:
8964         * paragraph.C:
8965         * paragraph_pimpl.h:
8966         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8967           in the current change to the insert functions. Rework erase to
8968           mark text as deleted, adding an eraseIntern() and a range-based
8969           erase(). Implement per-paragraph change lookup and
8970           accept/reject.
8971
8972         * paragraph_funcs.C: Fixup paste for change tracking.
8973
8974         * tabular.C: mark added row/columns as new.
8975
8976         * text.C: fix rowLast() to never return -1. Don't allow
8977           spellchecking of deleted text. Track transpose changes. Don't
8978           allow paragraph break or merge where appropriate.
8979
8980         * text2.C: leave cursor at end of selection after a cut.
8981
8982 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8983
8984         * text.C (getLengthMarkerHeight):
8985         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8986         visible on screen too.
8987
8988 2003-02-07  John Levon  <levon@movementarian.org>
8989
8990         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8991
8992 2003-02-05  Angus Leeming  <leeming@lyx.org>
8993
8994         * lyxserver.C (read_ready): revert my patch of 11 September last year
8995         as it sends PC cpu through the roof. Presumably this means that
8996         the lyxserver will no longer run on an Alpha...
8997
8998 2003-01-30  Angus Leeming  <leeming@lyx.org>
8999
9000         * factory.C (createInset): create an InsetCommandParam of type "index"
9001         and use it to 'do the right thing'.
9002
9003         * text2.C (getStringToIndex): ensure that cursor position is always
9004         reset to the reset_cursor position.
9005
9006 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9007
9008         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9009         disabled.
9010
9011 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9012
9013         * bufferview.C:
9014         * lyxcb.C:
9015         * lyxfunc.C: Output messages with identical spelling, punctuation,
9016         and spaces
9017
9018 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9019
9020         * MenuBackend.C (expandFormats): List only viewable export formats
9021         in "View" menu
9022
9023         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9024         message
9025
9026         * lyxfunc.C (getStatus): Make sure that formats other than
9027         "fax" can also be disabled
9028
9029 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9030
9031         * text3.C (dispatch): put the lfuns that insert insets in 3
9032         groups, and call doInsertInset with appropriate arguments.
9033         (doInsertInset): new function, that creates an inset and inserts
9034         it according to some boolean parameters.
9035
9036 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * buffer.C (readFile): remember to pass on 'par' when calling
9039         readFile recursively.
9040
9041 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9042
9043         * MenuBackend.C (expandFormats): add "..." to import formats.
9044
9045 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9046
9047         * paragraph.C (asString): Remove XForms RTL hacks.
9048
9049 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9050         * buffer.C: fix typo
9051
9052 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * Makefile.am (LIBS): delete var
9055         (lyx_LDADD): add @LIBS@ here instead.
9056
9057 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9058
9059         * Clarify the meaning of "wheel mouse jump"
9060
9061 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9062
9063         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9064         tabular in a float
9065
9066 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9067
9068         * importer.C (Loaders): do not preallocate 3 elements in the
9069         vector, since one ends up with 6 elements otherwise
9070
9071 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9072
9073         * DepTable.C (write): write the file name as last element of the
9074         .dep file (because it may contain spaces)
9075         (read): read info in the right order
9076
9077 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9078
9079         * paragraph_pimpl.C (simpleTeXBlanks):
9080         (simpleTeXSpecialChars):
9081         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9082
9083         * tabular.C (latex): add some missing case statements. Reindent.
9084
9085         * MenuBackend.C (expandToc): remove unused variable.
9086
9087 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9088
9089         * LColor.C:
9090         * LaTeX.C:
9091         * LyXAction.C:
9092         * MenuBackend.C:
9093         * buffer.C:
9094         * exporter.C:
9095         * lyxfunc.C:
9096         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9097         and the like.
9098
9099 2003-01-05  John Levon  <levon@movementarian.org>
9100
9101         * BufferView.h:
9102         * BufferView.C: add getEncoding()
9103
9104         * kbsequence.h:
9105         * kbsequence.C: do not store last keypress
9106
9107         * lyxfunc.h:
9108         * lyxfunc.C: store last keypress here instead. Pass encoding
9109           to getISOEncoded()
9110
9111 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * lyx_main.C (init): remove annoying error message when following
9114         symbolic links (bug #780)
9115
9116 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * text.C (insertChar):
9119         * lyxrc.C (getDescription): remove extra spaces
9120
9121 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9122
9123         * lyxrc.C (getDescription): remove extra spaces
9124
9125 2002-12-20  John Levon  <levon@movementarian.org>
9126
9127         * text3.C: hack fix for page up/down across tall rows
9128
9129 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9132         not been invoked
9133
9134 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9135
9136         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9137         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9138         thesaurus is not compiled in
9139
9140 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9141
9142         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9143
9144 2002-12-16  Angus Leeming  <leeming@lyx.org>
9145
9146         * lyxrc.[Ch]:
9147         * lyx_main.C (init): remove override_x_deadkeys stuff.
9148
9149 2002-12-12  John Levon  <levon@movementarian.org>
9150
9151         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9152           insert. Only remove shift modifier under strict
9153           circumstances.
9154
9155 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * MenuBackend.C (expandToc): fix crash.
9158
9159 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9160
9161         * MenuBackend.C (expandToc): gettext on float names.
9162
9163 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9164
9165         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9166         implement bool empty() [bug 490]
9167
9168 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9171
9172 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * several files: ws changes
9175
9176 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9177
9178         * text2.C (setCounter): clean up a bit, use boost.format.
9179         (updateCounters): initialize par upon declaration.
9180
9181         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9182         if the layout exists. We do not just store the layout any more.
9183         (SwitchLayoutsBetweenClasses): use boost.format
9184
9185 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9186
9187         * converter.C (convert): if from and to files are the same, use a
9188         temporary files as intermediary
9189
9190 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9191
9192         * commandtags.h:
9193         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9194
9195 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9196
9197         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9198
9199 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * tabular.C (asciiPrintCell): use string(size, char) instead of
9202         explicit loop.
9203
9204         * sgml.C (openTag): fix order of arguments to string constructor
9205         (closeTag): ditto
9206
9207         * lyxfunc.C (dispatch): use boost.format
9208
9209         * lots of files: change "c" -> 'c'
9210
9211 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9212
9213         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9214
9215 2002-11-25  Angus Leeming  <leeming@lyx.org>
9216
9217         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9218
9219         * lyx_main.C (init): compile fix.
9220
9221 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9222
9223         * lyx_cb.C (start): boost.formatify
9224         do not include <iostream>
9225
9226         * lengthcommon.C: ws only
9227
9228         * boost-inst.C,BoostFormat.h: add more explict instantations
9229
9230 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * lots of files: handle USE_BOOST_FORMAT
9233
9234 2002-11-21  John Levon  <levon@movementarian.org>
9235
9236         * pspell.C: fix compile
9237
9238 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9239
9240         * lyxfunc.C (dispatch): use boost::format
9241         (open): ditto
9242         (doImport): ditto
9243
9244         * lyxfont.C (stateText): use boost::format
9245
9246         * lyx_main.C (LyX): use boost::format
9247         (init): ditto
9248         (queryUserLyXDir): ditto
9249         (readRcFile): ditto
9250         (parse_dbg): ditto
9251         (typedef boost::function): use the recommened syntax.
9252
9253         * importer.C (Import): use boost::format
9254
9255         * debug.C (showLevel): use boost::format
9256
9257         * converter.C (view): use boost::format
9258         (convert): ditto
9259         (move): ditto
9260         (scanLog): ditto
9261
9262         * bufferview_funcs.C (currentState): use boost::format
9263
9264         * bufferlist.C (emergencyWrite): use boost::format
9265
9266         * buffer.C (readLyXformat2): use boost::format
9267         (parseSingleLyXformat2Token): ditto
9268
9269         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9270
9271         * LaTeX.C (run): use boost::format
9272
9273         * Chktex.C (scanLogFile): use boost::format
9274
9275         * BufferView_pimpl.C (savePosition): use boost::format
9276         (restorePosition): ditto
9277         (MenuInsertLyXFile): ditto
9278
9279         * BoostFormat.h: help file for explicit instation.
9280
9281 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9282
9283         * tabular.C (latex): Support for block alignment in fixed width
9284         columns.
9285
9286 2002-11-17  John Levon  <levon@movementarian.org>
9287
9288         * BufferView_pimpl.C:
9289         * lyx_cb.C:
9290         * lyxfunc.C: split filedialog into open/save
9291
9292 2002-11-08  Juergen Vigna  <jug@sad.it>
9293
9294         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9295         by my last patch (hopefully).
9296
9297 2002-11-08  John Levon  <levon@movementarian.org>
9298
9299         * iterators.h:
9300         * iterators.C:
9301         * buffer.h:
9302         * buffer.C:
9303         * paragraph.h:
9304         * paragraph.C:
9305         * toc.h:
9306         * toc.C: ParConstIterator, and use it (from Lars)
9307
9308 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9309
9310         * lyxtextclass.[Ch]: revise and add doxygen comments
9311
9312 2002-11-07  John Levon  <levon@movementarian.org>
9313
9314         * text.C: fix progress value for spellchecker
9315
9316         * toc.C: fix navigate menu for insetwrap inside minipage
9317
9318         * paragraph_funcs.C: added FIXME for suspect code
9319
9320 2002-11-07  John Levon  <levon@movementarian.org>
9321
9322         * BufferView_pimpl.C: fix redrawing of insets
9323           on buffer switch
9324
9325 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9326
9327         * text2.C (updateCounters): fix bug 668
9328
9329 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9330
9331         * text3.C (dispatch): Do not make the buffer dirty when moving the
9332         cursor.
9333
9334 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9335
9336         * vc-backend.C: STRCONV
9337         (scanMaster): ditto
9338
9339         * text2.C (setCounter): STRCONV
9340
9341         * paragraph.C (asString): STRCONV
9342
9343         * lyxlength.C (asString): STRCONV
9344         (asLatexString): ditto
9345
9346         * lyxgluelength.C (asString): STRCONV
9347         (asLatexString): ditto
9348
9349         * lyxfunc.C (dispatch): STRCONV
9350         (open): ditto
9351
9352         * lyxfont.C (stateText): STRCONV
9353
9354         * importer.C (Import): STRCONV
9355
9356         * counters.C (labelItem): STRCONV
9357         (numberLabel): ditto
9358         (numberLabel): remove unused ostringstream o
9359
9360         * chset.C: STRCONV
9361         (loadFile): ditto
9362
9363         * bufferview_funcs.C (currentState): STRCONV
9364
9365         * buffer.C (readFile): STRCONV
9366         (asciiParagraph): ditto
9367         (makeLaTeXFile): ditto
9368
9369         * Spacing.C (writeEnvirBegin): STRCONV
9370
9371         * LaTeXFeatures.C (getLanguages): STRCONV
9372         (getPackages): ditto
9373         (getMacros): ditto
9374         (getBabelOptions): ditto
9375         (getTClassPreamble): ditto
9376         (getLyXSGMLEntities): ditto
9377         (getIncludedFiles): ditto
9378
9379         * LaTeX.C: STRCONV
9380         (run): ditto
9381         (scanAuxFile): ditto
9382         (deplog): ditto
9383
9384         * LString.h: add the STRCONV macros
9385
9386         * BufferView_pimpl.C (savePosition): STRCONV
9387         (restorePosition): ditto
9388         (MenuInsertLyXFile): ditto
9389
9390         * vc-backend.C (scanMaster): change from submatch[...] to
9391         submatch.str(...)
9392
9393         * funcrequest.C: include config.h
9394
9395         * factory.C: include config.h
9396
9397         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9398
9399         * box.C: include config.h
9400
9401         * LaTeX.C (scanAuxFile): change from submatch[...] to
9402         submatch.str(...)
9403         (deplog): ditto
9404
9405 2002-10-25  Angus Leeming  <leeming@lyx.org>
9406
9407         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9408
9409         * ispell.[Ch] (setError): new method.
9410         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9411         Use setError() insetead of goto END.
9412
9413         * lyx_cb.C (AutoSave): move out child process into new class
9414         AutoSaveBuffer.
9415
9416 2002-10-30  John Levon  <levon@movementarian.org>
9417
9418         * text3.C: make start appendix undoable
9419
9420 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9421
9422         * lyxlength.C (inPixels): Fix returned value.
9423
9424         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9425         environment.
9426
9427 2002-10-24  Angus Leeming  <leeming@lyx.org>
9428
9429         * lyxgluelength.h: no need to forward declare BufferParams
9430         or BufferView, so don't.
9431
9432 2002-10-21  John Levon  <levon@movementarian.org>
9433
9434         * BufferView.C: menuUndo ->undo, redo
9435
9436         * BufferView.h: document, remove dead, make some methods private
9437
9438         * paragraph_funcs.h:
9439         * paragraph_funcs.C:
9440         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9441
9442         * buffer.h:
9443         * buffer.C:
9444         * sgml.h:
9445         * sgml.C: move sgml open/close tag into sgml.C
9446
9447         * bufferview_funcs.h: unused prototype
9448
9449         * lyxfunc.h:
9450         * lyxfunc.C: remove unused
9451
9452         * lyxtext.h:
9453         * text.C: remove unused
9454
9455 2002-10-21  John Levon  <levon@movementarian.org>
9456
9457         * BufferView.h:
9458         * BufferView.C:
9459         * BufferView_pimpl.h:
9460         * BufferView_pimpl.C: fix mouse wheel handling based on
9461           patch from Darren Freeman
9462
9463 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9464
9465         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9466
9467 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9468
9469         * lyxlength.C (inPixels): Fix hanfling of negative length.
9470         Fix LyXLength::MU case.
9471
9472 2002-10-16  John Levon  <levon@movementarian.org>
9473
9474         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9475
9476 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9477
9478         * converter.C (view): add support for $$i (file name) and $$p
9479         (file path) for the viewer command. If $$i is not specified, then
9480         it is appended to the command (for compatibility with old syntax)
9481
9482 2002-10-14  Juergen Vigna  <jug@sad.it>
9483
9484         * undo_funcs.C (textHandleUndo): alter the order in which the
9485         new undopar is added to the LyXText, as we have to set first
9486         the right prev/next and then add it as otherwise the rebuild of
9487         LyXText is not correct. Also reset the cursor to the right paragraph,
9488         with this IMO we could remove the hack in "redoParagraphs()".
9489
9490 2002-10-09  Angus Leeming  <leeming@lyx.org>
9491
9492         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9493         to turn off an optimisation if a new inset is to be inserted.
9494
9495 2002-10-11 André Pönitz <poenitz@gmx.net>
9496
9497         * lyxtext.h: make some functions public to allow access
9498         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9499
9500 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * text3.C (dispatch): when changing layout, avoid an infinite loop
9503         [bug #652]
9504
9505 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9506
9507         * lyxrc.C (read): treat a viewer or converter command of "none" as
9508         if it were empty.
9509
9510         * MenuBackend.C (expandFormats): for an update, also allow the
9511         formats that are not viewable
9512
9513         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9514         script if it is newer than the lyxrc.defaults in user directory
9515
9516 2002-10-07 André Pönitz <poenitz@gmx.net>
9517
9518         * text.C: Vitaly Lipatov's small i18n fix
9519
9520 2002-09-25  Angus Leeming  <leeming@lyx.org>
9521
9522         * ispell.h: doxygen fix.
9523
9524 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9525
9526         * buffer.h (readFile): Add a new argument to the method, to allow
9527         reading of old-format templates.
9528
9529 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9530
9531         * toc.C (getTocList): Get TOC from InsetWrap.
9532
9533 2002-09-16  John Levon  <levon@movementarian.org>
9534
9535         * lyxfunc.C: check tabular for cut/copy too
9536
9537 2002-09-12  John Levon  <levon@movementarian.org>
9538
9539         * LyXAction.C: tidy
9540
9541         * factory.h:
9542         * factory.C: add header
9543
9544         * paragraph_funcs.h:
9545         * paragraph_funcs.C: cleanup
9546
9547 2002-09-11  John Levon  <levon@movementarian.org>
9548
9549         * PrinterParams.h: odd/even default to true
9550
9551 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9552
9553         * PrinterParams.h: update printer parameters for new xforms dialog
9554
9555 2002-09-11  Angus Leeming  <leeming@lyx.org>
9556
9557         * lyxserver.C (read_ready): re-write to make it more transparent
9558         and to make it work in coherent fashion under Tru64 Unix.
9559
9560 2002-09-11  André Pönitz <poenitz@gmx.net>
9561
9562         * commandtags.h:
9563         * LyXAction.C:
9564         * text3.C: implement LFUN_WORDSEL
9565
9566 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9569         make floatlist_ a boost::shared_ptr<FloatList>
9570
9571         * lyxtextclass.C: include FloatList.h
9572         (LyXTextClass): initialize floatlist_
9573         (TextClassTags): add TC_NOFLOAT
9574         (Read): match "nofloat" to TC_NOFLOAT and use it.
9575         (readFloat): modify call to floatlist_
9576         (floats): ditto
9577         (floats): ditto
9578
9579         * FloatList.[Ch] (FloatList): remove commented out float
9580         initialization.
9581         (erase): new function
9582
9583 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9584
9585         * MenuBackend.C (expandToc): fix crash when there is no document
9586         open
9587
9588 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9589
9590         * many files: Add insetwrap.
9591
9592 2002-09-09  John Levon  <levon@movementarian.org>
9593
9594         * text2.C: remove confusing and awkward depth wraparound
9595
9596 2002-09-09  John Levon  <levon@movementarian.org>
9597
9598         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9599
9600         * buffer.h:
9601         * buffer.C: remove getIncludeonlyList()
9602
9603         * paragraph.C:
9604         * lyxfunc.C: remove headers
9605
9606 2002-09-09  Juergen Vigna  <jug@sad.it>
9607
9608         * text.C (getColumnNearX): fix form Michael this is most
9609         probably a cut&paste bug.
9610
9611 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9612
9613         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9614
9615         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9616         references, ws changes.
9617
9618         * text2.C (init): update counters after init
9619         (insertParagraph): no need to set counter on idividual paragraphs.
9620         (setCounter): access the counters object in the textclass object
9621         on in the buffer object.
9622         (updateCounters): ditto
9623
9624         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9625         shared_ptr<Counters> to avoid loading counters.h in all
9626         compilation units.
9627         (LyXTextClass): initialize ctrs_
9628         (TextClassTags): add TC_COUNTER, and ...
9629         (Read): use it here.
9630         (CounterTags): new tags
9631         (readCounter): new function
9632         (counters): new funtion
9633         (defaultLayoutName): return a const reference
9634
9635         * counters.C (Counters): remove contructor
9636         (newCounter): remove a couple of unneeded statements.
9637         (newCounter): simplify a bit.
9638         (numberLabel): some small formatting changes.
9639
9640         * buffer.[Ch]: remove all traces of counters, move the Counters
9641         object to the LyXTextClass.
9642
9643 2002-09-06  Alain Castera  <castera@in2p3.fr>
9644
9645         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9646         package to set the horizontal alignment on fixed width columns.
9647
9648         * lyx_sty.C:
9649         * lyx_sty.h: added tabularnewline macro def.
9650
9651         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9652
9653 2002-09-06  John Levon  <levon@movementarian.org>
9654
9655         * LyXAction.C: tooltips for sub/superscript
9656
9657         * MenuBackend.C: a bit more verbose
9658
9659         * lyxfunc.C: tiny clean
9660
9661         * undo_funcs.C: document undo_frozen
9662
9663 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9664
9665         * counters.C (Counters): add missing algorithm counter.
9666
9667         * text2.C (setCounter): lookup the counter with layouts latexname
9668         instead of by section number.
9669         (setCounter): use a hackish way to lookup the correct enum
9670         counter.
9671         a float name->type change
9672         reset enum couners with counter name directly instead of depth value.
9673
9674         * counters.C (Counters): remove the push_backs, change to use the
9675         float type not the float name.
9676         (labelItem): remove unused string, float name->type change
9677
9678         * counters.h: don't include vector, loose the enums and sects vectors
9679
9680 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9681
9682         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9683         (Read): add float->TC_FLOAT to textclassTags
9684         (Read): and handle it in the switch
9685         (readFloat): new function
9686
9687         * FloatList.C (FloatList): comment out the hardcoded float
9688         definitions.
9689
9690         * lyxlayout.h: ws change.
9691
9692 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9693
9694         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9695
9696 2002-09-03  Angus Leeming  <leeming@lyx.org>
9697
9698         * BufferView_pimpl.h: qualified name is not allowed in member
9699         declaration: WorkArea & Pimpl::workarea() const;
9700
9701         * factory.C: added using std::endl directive.
9702
9703         * text3.C: added using std::find and std::vector directives.
9704
9705 2002-08-29  André Pönitz <poenitz@gmx.net>
9706
9707         * lyxtext.h:
9708         * text2.C: remove unused member number_of_rows
9709
9710         * Makefile.am:
9711         * BufferView2.C: remove file, move contents to...
9712         * BufferView.C: ... here
9713
9714         * BufferView_pimpl.C:
9715         * factory.C: move more inset creation to factory
9716
9717         * vspace.C: avoid direct usage of LyXText, ws changes
9718
9719         * BufferView.[Ch]:
9720                 don't provide direct access to WorkArea, use two simple
9721                 acessors haveSelction() and workHeight() instead
9722
9723
9724 2002-08-29  John Levon  <levon@movementarian.org>
9725
9726         * BufferView_pimpl.C (dispatch): do not continue when
9727           no buffer
9728
9729 2002-08-28  André Pönitz <poenitz@gmx.net>
9730
9731         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9732
9733         * BufferView.h:
9734         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9735
9736 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9737
9738         * buffer.C: increment LYX_FORMAT to 221
9739
9740         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9741         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9742
9743         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9744
9745         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9746
9747 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9748
9749         * factory.C (createInset): use LyXTextClass::floats
9750
9751         * MenuBackend.C (expandFloatListInsert):
9752         (expandFloatInsert):
9753         (expandToc):
9754
9755         * text2.C (setCounter):
9756
9757         * LaTeXFeatures.C (useFloat):
9758         (getFloatDefinitions):
9759
9760         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9761
9762         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9763         floatlist_, with accessor floats().
9764
9765         * FloatList.h: remove global FloatList
9766
9767 2002-08-26  André Pönitz <poenitz@gmx.net>
9768
9769         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9770
9771         * BufferView.h:
9772         * BufferView2.C:
9773         * BufferView_pimpl.C:
9774         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9775
9776 2002-08-25  John Levon  <levon@movementarian.org>
9777
9778         * LyXAction.C: fix margin note description
9779
9780 2002-08-24  John Levon  <levon@movementarian.org>
9781
9782         * buffer.C:
9783         * bufferlist.C:
9784         * bufferview_funcs.C:
9785         * lyxfont.C:
9786         * undo_funcs.C: cleanups
9787
9788         * lyxfunc.C: disable CUT/COPY when no selection
9789
9790 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9791
9792         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9793         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9794
9795         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9796         Add backward compatibility to "mono", "gray" and "no".
9797
9798 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9799
9800         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9801         (and file_format >= 200).
9802
9803 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9804
9805         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9806
9807 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9810
9811 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9812
9813         * BufferView_pimpl.C:
9814         * LyXAction.C:
9815         * buffer.C:
9816         * commandtags.h:
9817         * lyxfunc.C:
9818         * paragraph.[Ch]:
9819         * text2.C:
9820         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9821         inset and code to make it  work with the paragraph code. The inset
9822         can be anywhere in the paragraph, but will only do the expected
9823         thing in LaTeX if the layout file contains the parameter line
9824                         OptionalArgs    1
9825         (or more generally, a nonzero value) for that layout.
9826
9827 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9828
9829         * paragraph.h: remove the declaration of undefined counters class
9830         function.
9831
9832 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9833
9834         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9835         Dr. Richard Hawkins.
9836
9837 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9838
9839         * paragraph_funcs.h: remove some unneeded includes
9840
9841         * text.C (backspace): pasteParagraph now in global scipe
9842
9843         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9844         (pasteSelection): ditto
9845
9846         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9847         * paragraph_funcs.C (pasteParagraph): ... here
9848
9849 2002-08-20  André Pönitz <poenitz@gmx.net>
9850
9851         * commandtags.h: new LFUNs for swapping/copying table row/colums
9852
9853         * LyXAction.C:
9854         * lyxfunc.C: support for new lfuns
9855
9856 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * tabular.C:
9859         * buffer.[Ch]: remove NO_COMPABILITY stuff
9860
9861 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9862
9863         * boost.C (throw_exception): new file, with helper function for
9864         boost compiled without exceptions.
9865
9866         * paragraph.h:
9867         * lyxlength.C:
9868         * buffer.C:
9869         * ParameterStruct.h:
9870         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9871
9872         * bufferlist.C (emergencyWriteAll): use boost bind
9873
9874         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9875
9876         * text.C: include paragraph_funcs.h
9877         (breakParagraph): breakParagraph is now in global scope
9878
9879         * paragraph_funcs.[Ch]: new files
9880
9881         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9882         global scope
9883
9884         * buffer.C: include paragraph_funcs.h
9885         (insertStringAsLines): breakParagraph is now in global scope
9886
9887         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9888         paragraph_funcs.C
9889
9890         * CutAndPaste.C: include paragraph_funcs.h
9891         (cutSelection): breakParagraphConservative is now in global scope
9892         (pasteSelection): ditto
9893
9894         * buffer.h: declare oprator== and operator!= for
9895         Buffer::inset_iterator
9896
9897         * bufferlist.C (emergencyWrite): don't use fmt(...)
9898
9899         * text3.C: add using std::endl
9900
9901         * BufferView.C (moveCursorUpdate): remove default arg
9902
9903 2002-08-20  André Pönitz <poenitz@gmx.net>
9904
9905         * buffer.[Ch]: move inline functions to .C
9906
9907         * BufferView2.C:
9908         * BufferView_pimpl.C:
9909         * text.C:
9910         * buffer.[Ch]: use improved inset_iterator
9911
9912         * buffer.C:
9913         * paragraph.[Ch]: write one paragraph at a time
9914
9915 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9916
9917         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9918         style if style is not specified.
9919
9920 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * text2.C (setCounter): when searching for right label for a
9923         caption, make sure to recurse to parent insets (so that a caption
9924         in a minipage in a figure float works) (bug #568)
9925
9926 2002-08-20  André Pönitz <poenitz@gmx.net>
9927
9928         * text3.C: new file for LyXText::dispatch() and helpers
9929
9930         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9931
9932         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9933
9934 2002-08-19  André Pönitz <poenitz@gmx.net>
9935
9936         * lyxtext.h:
9937         * text.C: new LyXText::dispatch()
9938
9939         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9940
9941 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9942
9943         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9944
9945         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9946         Hebrew text.
9947
9948 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * Makefile.am: use $(variables) instead of @substitutions@
9951
9952 2002-08-15  André Pönitz <poenitz@gmx.net>
9953
9954         * lyxfunc.C:
9955         * BufferView_pimpl.C: streamlining mathed <-> outer world
9956         interaction
9957
9958         * commandtags.h:
9959         * LyXAction.C: remove unused LFUN_MATH
9960
9961 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9962
9963         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9964
9965 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * paragraph.C (Paragraph): reformat a bit
9968         (cutIntoMinibuffer): use builtin InsetList function instad of
9969         doing it manually.
9970         (getInset): ditto
9971
9972         * buffer.C: include boost/bind.hpp, add using std::for_each
9973         (writeFileAscii): use ParagraphList iterators
9974         (validate): use for_each for validate traversal of paragraphs
9975         (getBibkeyList): use ParagraphList iterators
9976         (resizeInsets): use for_each to resizeInsetsLyXText for all
9977         paragraphs.
9978         (getParFromID): use ParagraphList iterators
9979
9980         * BufferView2.C (lockInset): use paragraph list and iterators
9981
9982 2002-08-14  John Levon  <levon@movementarian.org>
9983
9984         * lyxserver.C: remove spurious xforms include
9985
9986 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9989
9990 2002-08-13  André Pönitz <poenitz@gmx.net>
9991
9992         * LyXAction.[Ch]:
9993         * lyxfunc.C: further cleaning
9994
9995 2002-08-13  André Pönitz <poenitz@gmx.net>
9996
9997         * funcrequest.h: new constructor
9998
9999         * funcrequest.C: move stuff here from .h
10000
10001         * Makefile.am:
10002         * BufferView_pimpl.C:
10003         * LyXAction.C:
10004         * toc.C:
10005         * lyxfunc.C: subsequent changes
10006
10007         * lyxfunc.h: new view() member function
10008
10009         * lyxfunc.C: subsequent changes
10010
10011 2002-08-13  Angus Leeming  <leeming@lyx.org>
10012
10013         * BufferView2.C:
10014         * BufferView_pimpl.C:
10015         * buffer.C:
10016         * converter.C:
10017         * importer.C:
10018         * lyxfunc.C:
10019         * lyxvc.C:
10020         * toc.C:
10021         * vc-backend.C:
10022         changes due to the changed LyXView interface that now returns references
10023         to member variables not pointers.
10024
10025 2002-08-13  Angus Leeming  <leeming@lyx.org>
10026
10027         * WordLangTuple (word, lang_code): return references to strings,
10028         not strings.
10029
10030         * BufferView.h:
10031         * SpellBase.h:
10032         * lyxtext.h: forward-declare WordLangTuple.
10033
10034         * BufferView2.C:
10035         * ispell.C:
10036         * pspell.C:
10037         * text.C: #include "WordLangTuple.h".
10038
10039         * lyxtext.h:
10040         * text.C: (selectNextWordToSpellcheck): constify return type.
10041
10042 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10043
10044         * buffer.C:
10045         * buffer.h:
10046         * lyxtext.h:
10047         * paragraph.C:
10048         * paragraph_pimpl.h:
10049         * text.C:
10050         * text2.C:
10051         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10052         suggested by Angus.
10053         Made updateCounter always count from start of buffer, and removed
10054         second argument (par).
10055         Reverted floats number display to '#'. Perhaps I'll try again when the
10056         code base is sanitized a bit.
10057
10058 2002-08-12  Angus Leeming  <leeming@lyx.org>
10059
10060         * buffer.[Ch] (getLabelList): constify.
10061
10062 2002-08-07  André Pönitz <poenitz@gmx.net>
10063
10064         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10065
10066         * funcrequest.h: extension to keep mouse (x,y) position
10067
10068 2002-08-12  Juergen Vigna  <jug@sad.it>
10069
10070         * BufferView2.C (insertErrors): forbid undo when inserting error
10071         insets.
10072
10073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10074
10075 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10076
10077         * ParagraphList.[Ch]: new files
10078
10079         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10080
10081         * BufferView2.C (lockInset): ParagraphList changes
10082         * toc.C: ditto
10083         * text2.C: ditto
10084         * bufferlist.C: ditto
10085         * buffer.h: ditto
10086         * buffer.C: ditto
10087
10088 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10089
10090         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10091         unused class variable counter_,
10092
10093         * paragraph.[Ch] (getFirstCounter): delete unused function
10094
10095         * counters.C: include LAssert.h
10096         (reset): add a new function with no arg, change other version to
10097         not have def. arg and to not allow empty arg.
10098
10099         * text2.C (setCounter): remove empty arg from call to Counters::reset
10100
10101 2002-08-11  John Levon  <levon@movementarian.org>
10102
10103         * Makefile.am: add WordLangTuple.h
10104
10105 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10106
10107         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10108         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10109
10110         * insets/insettext.C: InsetList changes
10111
10112         * graphics/GraphicsSupport.C (operator()): InsetList changes
10113
10114         * toc.C (getTocList): InsetList changes
10115
10116         * paragraph_pimpl.[Ch]: InsetList changes
10117
10118         * paragraph.[Ch]: InsetList changes
10119
10120         * buffer.C (inset_iterator): InsetList changes
10121         (setParagraph): ditto
10122         * buffer.h (inset_iterator): ditto
10123         * iterators.C (operator++): ditto
10124         * iterators.h: ditto
10125
10126         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10127
10128         * InsetList.[Ch]: new files, most InsetList handling moved out of
10129         paragraph.C.
10130
10131         * BufferView2.C (removeAutoInsets): InsetList changes
10132         (lockInset): ditto
10133         (ChangeInsets): ditto
10134
10135 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10136
10137         * paragraph_pimpl.h (empty): new function
10138
10139         * paragraph.[Ch] (empty): new function
10140
10141         * other files: use the new Paragraph::empty function
10142
10143 2002-08-09  John Levon  <levon@movementarian.org>
10144
10145         * lyxtext.h: remove unused refresh_height
10146
10147 2002-08-09  John Levon  <levon@movementarian.org>
10148
10149         * Makefile.am:
10150         * sgml.h:
10151         * sgml.C:
10152         * buffer.C:
10153         * paragraph.h:
10154         * paragraph.C: move sgml char escaping out of paragraph
10155
10156         * paragraph.h:
10157         * paragraph.C: remove id setter
10158
10159         * buffer.C:
10160         * paragraph.C:
10161         * paragraph_pimpl.C: remove dead tex_code_break_column
10162
10163         * bufferview_funcs.C: small cleanup
10164
10165         * lyxfunc.C: remove dead proto
10166
10167         * lyxtext.h: make some stuff private. Remove some dead stuff.
10168
10169         * lyxgluelength.C: make as[LyX]String() readable
10170
10171 2002-08-08  John Levon  <levon@movementarian.org>
10172
10173         * LyXAction.h:
10174         * LyXAction.C:
10175         * MenuBackend.C:
10176         * ToolbarDefaults.C:
10177         * lyxfunc.C:
10178         * lyxrc.C:
10179         * toc.C: lyxaction cleanup
10180
10181 2002-08-08  John Levon  <levon@movementarian.org>
10182
10183         * BufferView2.C: small cleanup
10184
10185         * lyxfind.h:
10186         * lyxfind.C: move unnecessary header into the .C
10187
10188 2002-08-08  John Levon  <levon@movementarian.org>
10189
10190         * funcrequest.h: just tedious nonsense
10191
10192         * lyx_main.h:
10193         * lyx_main.C: cleanups
10194
10195         * buffer.C:
10196         * vspace.C: remove dead header lyx_main.h
10197
10198 2002-08-07  Angus Leeming  <leeming@lyx.org>
10199
10200         * Paragraph.[Ch]:
10201         * paragraph_pimpl.h:
10202         Forward declare class Counters in paragraph.h by moving the ctrs member
10203         variable into Paragraph::Pimpl.
10204         (counters): new method, returning a reference to pimpl_->ctrs.
10205
10206         * text2.C: ensuing changes.
10207
10208 2002-08-07  John Levon  <levon@movementarian.org>
10209
10210         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10211
10212         * BufferView_pimpl.C: announce X selection on double/triple
10213           click
10214
10215         * lyx_main.C: use correct bool in batch dispatch
10216
10217         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10218
10219 2002-08-07  André Pönitz <poenitz@gmx.net>
10220
10221         * funcrequest.h: new class to wrap a kb_action and its argument
10222
10223         * BufferView.[Ch]:
10224         * BufferView_pimpl[Ch]:
10225         * LaTeX.C:
10226         * LyXAction.[Ch]:
10227         * lyxfunc.[Ch]:
10228         * lyxrc.C: subsequent changes
10229
10230
10231 2002-08-07  John Levon  <levon@movementarian.org>
10232
10233         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10234           document options change.
10235
10236 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10237
10238         * counters.[Ch]
10239         * text2.C
10240         * paragraph.[Ch]
10241         * makefile.am: move counters functionality over from
10242         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10243
10244 2002-08-06  John Levon  <levon@movementarian.org>
10245
10246         * WordLangTuple.h: new file for word + language code tuple
10247
10248         * SpellBase.h:
10249         * pspell.h:
10250         * pspell.C:
10251         * ispell.h:
10252         * ispell.C:
10253         * lyxtext.h:
10254         * text.C:
10255         * text2.C:
10256         * BufferView.h:
10257         * BufferView2.C: use WordLangTuple
10258
10259         * layout.h:
10260         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10261
10262 2002-08-06  John Levon  <levon@movementarian.org>
10263
10264         * lyx_main.C: fix cmdline batch handling
10265
10266 2002-08-06  André Pönitz <poenitz@gmx.net>
10267
10268         * lyxrc.C: set default for show_banner to true
10269
10270 2002-08-06  John Levon  <levon@movementarian.org>
10271
10272         * pspell.C: fix a crash, and allow new aspell to work
10273
10274 2002-08-06  John Levon  <levon@movementarian.org>
10275
10276         * lyxfunc.C:
10277         * kbmap.C: small cleanup
10278
10279         * vspace.h:
10280         * vspace.C: add const
10281
10282 2002-08-05  John Levon  <levon@movementarian.org>
10283
10284         * LyXAction.C: back to tabular-insert
10285
10286 2002-08-04  John Levon  <levon@movementarian.org>
10287
10288         * BufferView.h:
10289         * BufferView.C: cosmetic change
10290
10291         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10292
10293         * bufferlist.C:
10294         * buffer.h:
10295         * buffer.C:
10296         * lyxcb.h:
10297         * lyxcb.C:
10298         * lyxserver.C:
10299         * lyxvc.C:
10300         * vc-backend.C:
10301         * BufferView2.C: purge all "Lyx" not "LyX" strings
10302
10303         * lyxcursor.h:
10304         * lyxcursor.C: attempt to add some documentation
10305
10306         * lyxfunc.C:
10307         * commandtags.h:
10308         * LyXAction.C:
10309         * ToolbarDefaults.C:
10310         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10311           merge with LFUN_TABULAR_INSERT
10312
10313         * Makefile.am:
10314         * SpellBase.h:
10315         * ispell.h:
10316         * ispell.C:
10317         * pspell.h:
10318         * pspell.C: split up i/pspell implementations into separate
10319           files, many cleanups
10320
10321         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10322
10323         * text2.C: some cleanup
10324
10325         * lyxfunc.C: don't check for isp_command == "none" any more, it
10326           didn't make any sense
10327
10328 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10329
10330         * counters.[Ch]
10331         * text2.C
10332         * paragraph.[Ch]
10333         * makefile.am: move counters functionality over
10334         from text2.C/paragraph.[Ch] to counters.[Ch], and
10335         make proper C++.
10336 2002-08-02  John Levon  <levon@movementarian.org>
10337
10338         * buffer.C: s/lyxconvert/lyx2lyx/
10339
10340 2002-08-02  Angus Leeming  <leeming@lyx.org>
10341
10342         * lyxlex.C: revert John's change as it breaks reading of the user
10343         preamble.
10344
10345 2002-08-02  Angus Leeming  <leeming@lyx.org>
10346
10347         * importer.C (Import):
10348         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10349         changes due to LyXView::view() now returning a boost::shared_ptr.
10350
10351 2002-08-02  John Levon  <levon@movementarian.org>
10352
10353         * lyxlex.C: small cleanup
10354
10355 2002-08-02  John Levon  <levon@movementarian.org>
10356
10357         * text2.C (status): small cleanup, no logic change
10358
10359 2002-08-01  John Levon  <levon@movementarian.org>
10360
10361         * buffer.h:
10362         * buffer.C (writeFile): don't output alerts, caller
10363           handles this
10364
10365         * bufferlist.C:
10366         * lyx_cb.C: from above
10367
10368         * lyxfunc.C: allow to open non-existent files
10369
10370 2002-07-31  John Levon  <levon@movementarian.org>
10371
10372         * lyxserver.C: don't let incidental errors get
10373           in the way (errno)
10374
10375 2002-07-30  John Levon  <levon@movementarian.org>
10376
10377         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10378
10379 2002-07-30  John Levon  <levon@movementarian.org>
10380
10381         * lyxserver.h:
10382         * lyxserver.C: remove I/O callback too
10383
10384 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10385
10386         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10387         log.
10388
10389 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10390
10391         * many files: strip,frontStrip -> trim,ltrim,rtrim
10392
10393 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * PrinterParams.h: remove extern containsOnly, and include
10396         support/lstrings.h instead.
10397
10398         * LaTeX.C (scanAuxFile): modify because of strip changes
10399         (deplog): ditto
10400         * buffer.C (makeLaTeXFile): ditto
10401         * bufferparams.C (writeFile): ditt
10402         * lyxfont.C (stateText): ditto
10403         * lyxserver.C (read_ready): ditto
10404         * vc-backend.C (scanMaster): ditto
10405
10406         * BufferView_pimpl.h: ws changes
10407
10408         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10409
10410 2002-07-26  André Pönitz <poenitz@gmx.net>
10411
10412         * kb_sequence.C: remove unnedred usings
10413
10414 2002-07-26  Juergen Vigna  <jug@sad.it>
10415
10416         * lyxfind.C (LyXReplace): we have to check better if the returned
10417         text is not of theLockingInset()->getLockingInset().
10418
10419 2002-07-25  Juergen Vigna  <jug@sad.it>
10420
10421         * lyxfind.C (LyXReplace): don't replace if we don't get the
10422         right LyXText.
10423
10424         * undo_funcs.C (createUndo): remove debugging code.
10425
10426 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * buffer.C (parseSingleLyXformat2Token): Use default placement
10429         when reading old floats.
10430
10431         * FloatList.C (FloatList): Change the default placement of figure
10432         and tables to "tbp".
10433
10434 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * MenuBackend.C: using std::max
10437
10438 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * MenuBackend.C (expandToc):
10441         (expandToc2): code moved from xforms menu frontend. It is now
10442         generic and TOCs are transparent to menu frontends.
10443
10444 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * toc.C (getTocList): protect against buf=0
10447
10448         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10449         Menu as first parameter. Now, this calls itself recursively to
10450         expand a whole tree (this will be useful for TOC handling)
10451         (expandFloatInsert): remove 'wide' version of floats
10452
10453         * MenuBackend.h (submenuname): returns the name of the submenu.
10454         (submenu): returns the submenu itself, provided it has been
10455         created by MenuBackend::expand
10456
10457 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10460         insets which have noFontChange == true. (bug #172)
10461
10462 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10463
10464         * BufferView_pimpl.C: add connection objects and use them...
10465         (Pimpl): here.
10466
10467 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * MenuBackend.C (expandLastfiles):
10470         (expandDocuments):
10471         (expandFormats):
10472         (expandFloatListInsert):
10473         (expandFloatInsert):
10474         (expand): split expand in parts
10475
10476 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyx_gui.C: use lyx_gui::exit()
10479
10480 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * LyXAction.C: show the failing pseudo action
10483
10484 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10485
10486         * buffer.C (readFile): Run the lyxconvert script in order to read
10487         old files.
10488
10489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * LyXAction.C:
10492         * commandtags.h:
10493         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10494
10495 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * LyXAction.C:
10498         * commandtags.h:
10499         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10500
10501 2002-07-22  Herbert Voss  <voss@lyx.org>
10502
10503         * lengthcommon.C:
10504         * lyxlength.[Ch]: add support for the vertical lengths
10505
10506 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * toc.[Ch]: std:: fixes
10509
10510 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10511
10512         * lyxrc.C: do not include lyx_main.h
10513
10514         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10515         for layouts
10516
10517         * lyxrc.C:
10518         * encoding.C:
10519         * bufferlist.C:
10520         * BufferView2.C: include "lyxlex.h"
10521
10522         * tabular.h:
10523         * bufferparams.h: do not #include "lyxlex.h"
10524
10525         * lyxtextclasslist.C (Add): remove method
10526         (classlist): renamed to classlist_
10527
10528         * paragraph_pimpl.C:
10529         * paragraph.C:
10530         * text2.C:
10531         * CutAndPaste.C:
10532         * bufferview_funcs.C:
10533         * bufferlist.C:
10534         * text.C:
10535         * LaTeXFeatures.C:
10536         * buffer.C:
10537         * toc.C (getTocList): use BufferParams::getLyXTextClass
10538
10539         * toc.C (getTocList): use InsetFloat::addToToc
10540
10541         * toc.[Ch]: new files, containing helper functions to handle table
10542         of contents
10543
10544         * lyxfunc.C (dispatch): no need to remove spaces around command
10545         given as a string
10546         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10547         first command of the sequence; it is not very clever, but I do not
10548         have a better idea, actually
10549
10550         * LyXAction.C (LookupFunc): make sure to remove space at the
10551         beginning and end of the command
10552
10553 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * MenuBackend.C (getMenubar): new method: return the menubar of
10556         this menu set
10557         (read): treat differently reading of menu and menubar (in
10558         particular, the menubar has no name now)
10559         (Menu::menubar): remove
10560
10561         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10562         saving is finished
10563
10564 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10565
10566         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10567         a bibitem inset in a RTL paragraph.
10568
10569 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * paragraph_pimpl.C: constify
10572
10573         * BufferView_pimpl.C:
10574         * LaTeX.C:
10575         * lyxfunc.C: fix dispatch in a nicer way
10576
10577 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * lyxfunc.C (dispatch):
10580         * BufferView_pimpl.C:
10581         * BufferView_pimpl.h:
10582         * BufferView.C:
10583         * BufferView.h: rename Dispatch() to dispatch()
10584
10585         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10586
10587         * lyxlayout.C (Read): honor DependsOn tag
10588
10589         * lyxlayout.[Ch] (depends_on): new method
10590
10591         * version.C.in: update lyx_docversion
10592
10593         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10594
10595         * paragraph.C (validate): remove from here...
10596         * paragraph_pimpl.C (validate): ... and move here
10597         (isTextAt): make it const
10598
10599         * buffer.C (getLists): ws cleanup
10600
10601 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10602
10603         * language.C (read): Use iso8859-1 encoding in latex_lang
10604         (this prevents LyX from crashing when using iso10646-1 encoding).
10605
10606 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * text2.C (toggleInset): if cursor is inside an inset, close the
10609         inset and leave cursor _after_ it
10610
10611 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * lyxfunc.C: move minibuffer completion handling out of here
10614
10615 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * BufferView_pimpl.C:
10618         * LaTeX.C: fix dispatch calls
10619
10620 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10621
10622         * text.C (drawChars): Fix Arabic text rendering.
10623
10624 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * LyXAction.C:
10627         * commandtags.h:
10628         * lyxfunc.C: remove message-push/pop
10629
10630         * lyxserver.C:
10631         * lyxfunc.h:
10632         * lyxfunc.C: rationalise some code by removing verboseDispatch
10633           in favour of a bool argument to dispatch()
10634
10635 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * lyx_main.C (init): make sure to read symlinks as absolute paths
10638
10639 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * lyxfunc.h:
10642         * lyxfunc.C: no need for commandshortcut to be a member
10643
10644 2002-07-15  André Pönitz <poenitz@gmx.net>
10645
10646         * converter.C: add support for $$s (scripts from lib/scripts dir)
10647         * lyx_main.C: white space
10648
10649 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * bufferlist.C:
10652         * lyxrc.h:
10653         * lyxrc.C: remove second exit confirmation
10654
10655 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * BufferView.h:
10658         * BufferView.C:
10659         * BufferView2.C:
10660         * BufferView_pimpl.h:
10661         * BufferView_pimpl.C:
10662         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10663
10664 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * MenuBackend.C (expand): add numeric shortcuts to document menu
10667
10668         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10669
10670 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * lyxfont.C (setLyXFamily):
10673         (setLyXSeries):
10674         (setLyXShape):
10675         (setLyXSize):
10676         (setLyXMisc):
10677         (lyxRead):
10678         * debug.C (value):
10679         * buffer.C (asciiParagraph): use ascii_lowercase
10680
10681 2002-07-15  Mike Fabian  <mfabian@suse.de>
10682
10683         * lyxlex_pimpl.C (search_kw):
10684         * lyxlex.C (getLongString):
10685         * converter.h (operator<):
10686         * converter.C (operator<):
10687         * buffer.C (parseSingleLyXformat2Token):
10688         (asciiParagraph):
10689         * ToolbarDefaults.C (read):
10690         * MenuBackend.C (checkShortcuts):
10691         (read):
10692         * LColor.C (getFromGUIName):
10693         (getFromLyXName): use the compare_ascii_no_case instead of
10694         compare_no_case, because in turkish, 'i' is not the lowercase
10695         version of 'I', and thus turkish locale breaks parsing of tags.
10696
10697 2002-07-16  Angus Leeming  <leeming@lyx.org>
10698
10699         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10700         now takes a Buffer const & argument.
10701
10702 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * BufferView.C (resize): check there's a buffer to resize
10705
10706 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * lyxfunc.C: remove dead code
10709
10710         * lyxserver.h:
10711         * lyxserver.C: use lyx_guii::set_read_callback
10712
10713 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10714
10715         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10716         an inset in a RTL paragraph.
10717
10718 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * lyxfunc.C: repaint after a font size update
10721
10722 2002-07-15  André Pönitz <poenitz@gmx.net>
10723
10724         * lyxlength.C: inBP should be able to return negative values
10725
10726 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * lyxfunc.C: use lyx_gui::update_fonts()
10729
10730 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * lyxfunc.C: use lyx_gui::update_color()
10733
10734 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * bufferlist.C:
10737         * lyxfunc.h:
10738         * lyxfunc.C:
10739         * lyxrc.h:
10740         * lyxrc.C: remove file->new asks for name option, and let
10741           buffer-new take an argument
10742
10743 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * BufferView_pimpl.C: remove unneeded extra repaint()
10746
10747 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * LyXAction.C: allow command-sequence with NoBuffer
10750
10751         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10752
10753 2002-07-10  Angus Leeming  <leeming@lyx.org>
10754
10755         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10756
10757 2002-07-09  Angus Leeming  <leeming@lyx.org>
10758
10759         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10760
10761 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lengthcommon.h: whitespace
10764
10765         * lyxfunc.C: update scrollbar after goto paragraph
10766
10767         * lyxtext.h: factor out page break drawing, and fix it so
10768           page break/added space paints as selected nicely
10769
10770 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * BufferView_pimpl.C: add FIXMEs, clean up a little
10773
10774 2002-07-09  André Pönitz <poenitz@gmx.net>
10775
10776         * lyxfont.[Ch]: support for wasy symbols
10777
10778 2002-07-08  André Pönitz <poenitz@gmx.net>
10779
10780         * BufferView_pimpl.C: apply John's patch for #93.
10781
10782 2002-07-05  Angus Leeming  <leeming@lyx.org>
10783
10784         * BufferView_pimpl.C (buffer): generate previews if desired.
10785
10786         * LColor.h: add "preview" to the color enum.
10787
10788         * LColor.C (LColor): add a corresponding entry to the items array.
10789
10790         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10791         with this buffer.
10792
10793 2002-07-05  Angus Leeming  <leeming@lyx.org>
10794
10795         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10796         The body of the code is now in the method that is passed an ostream &
10797         rather than a file name.
10798         Pass an additional only_preamble parameter, useful for the forthcoming
10799         preview stuff.
10800
10801 2002-07-03  André Pönitz <poenitz@gmx.net>
10802
10803         * lyxfunc.C: simplify getStatus() a bit for math stuff
10804
10805 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10808
10809 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10810
10811         * text.C (changeRegionCase): do not change case of all the
10812         document when region ends at paragraph end (bug #461)
10813
10814 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * paragraph.C (startTeXParParams):
10817         (endTeXParParams): add \protect when necessary
10818
10819 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10820
10821         * BufferView_pimpl.C (workAreaExpose): remove warning
10822
10823 2002-06-27  Angus Leeming  <leeming@lyx.org>
10824
10825         * Makefile.am: add lyxlayout_ptr_fwd.h.
10826
10827 2002-06-26  André Pönitz <poenitz@gmx.net>
10828
10829         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10830
10831 2002-06-25  Angus Leeming  <leeming@lyx.org>
10832
10833         * lyxfunc.C (dispatch): Comment out the call to
10834         grfx::GCache::changeDisplay. The method no longer exists now that the
10835         pixmap generation part of the graphics loader has been moved into
10836         InsetGraphics.
10837
10838 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * text2.C: layout as layout
10841
10842         * text.C: layout as layout
10843
10844         * tabular.C (OldFormatRead): layout as layout
10845
10846         * paragraph_pimpl.C (TeXDeeper): layout as layout
10847         (realizeFont): layout as layout
10848
10849         * paragraph.C (writeFile): layout as layout
10850         (validate): layout as layout
10851         (getFont): layout as layout
10852         (getLabelFont): layout as layout
10853         (getLayoutFont): layout as layout
10854         (breakParagraph): layout as layout
10855         (stripLeadingSpaces): layout as layout
10856         (getEndLabel): layout as layout
10857         (getMaxDepthAfter): layout as layout
10858         (applyLayout): layout as layout
10859         (TeXOnePar): layout as layout
10860         (simpleTeXOnePar): layout as layout
10861         (TeXEnvironment): layout as layout
10862         (layout): layout as layout
10863         (layout): layout as layout
10864
10865         * lyxtextclass.C (compare_name): new functor to work with
10866         shared_ptr, layout as layout
10867         (Read): layout as layout
10868         (hasLayout): layout as layout
10869         (operator): layout as layout
10870         (delete_layout): layout as layout
10871         (defaultLayout): layout as layout
10872
10873         * lyxlayout_ptr_fwd.h: new file
10874
10875         * lyxlayout.C (Read): layout as layout
10876
10877         * lyx_cb.C (MenuInsertLabel): layout as layout
10878
10879         * bufferlist.C (newFile): layout as layout
10880
10881         * buffer.C (readLyXformat2): layout as layout
10882         (parseSingleLyXformat2Token): layout as layout
10883         (insertStringAsLines): layout as layout
10884         (asciiParagraph): layout as layout
10885         (latexParagraphs): layout as layout
10886         (makeLinuxDocFile): layout as layout
10887         (simpleLinuxDocOnePar): layout as layout
10888         (makeDocBookFile): layout as layout
10889         (simpleDocBookOnePar): layout as layout
10890         (getLists): layout as layout
10891
10892         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10893
10894         * CutAndPaste.C (cutSelection): layout as layout
10895         (pasteSelection): layout as layout
10896         (SwitchLayoutsBetweenClasses): layout as layout
10897
10898         * BufferView_pimpl.C (Dispatch): layout as layout
10899         (smartQuote): layout as layout
10900
10901         * BufferView2.C (unlockInset): layout as layout
10902
10903 2002-06-24  André Pönitz <poenitz@gmx.net>
10904
10905         * lyxfunc.C: fix #487
10906
10907 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * lyxrc.h:
10910         * lyxrc.C:
10911         * lyxfunc.C: remove display_shortcuts, show_banner
10912
10913 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * Buffer_pimpl.C: oops, update on resize
10916
10917 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * buffer.C:
10920         * converter.C:
10921         * exporter.C:
10922         * lyxfunc.C:
10923         * BufferView.h:
10924         * BufferView.C: use repaint()
10925
10926         * BufferView_pimpl.h:
10927         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10928           as it's a clearer description. Remove superfluous
10929           redraws.
10930
10931 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * text.C: fix bug 488. Not ideal, but getting
10934           getWord() to work properly for the insets that
10935           matter is more difficult ...
10936
10937 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * BufferView_pimpl.C:
10940         * LyXAction.C:
10941         * commandtags.h:
10942         * lyxfunc.C: remove the six million index lyxfuncs to just
10943           one, and DTRT (bug 458)
10944
10945 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * BufferView.h:
10948         * BufferView.C:
10949         * BufferView_pimpl.h:
10950         * BufferView_pimpl.C: clean up resize() stuff,
10951           and unnecessary updateScreen()s
10952
10953 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView.h:
10956         * BufferView.C:
10957         * BufferView_pimpl.h:
10958         * BufferView_pimpl.C:
10959         * lyxfind.h:
10960         * lyxfind.C:
10961         * minibuffer.C: remove focus management of workarea,
10962           not needed. Use screen's greyOut()
10963
10964 2002-06-17  Herbert Voss  <voss@lyx.org>
10965
10966         * converter.C: (convert) do not post a message, when converting
10967         fails, let the calling function decide what to do in this case
10968
10969 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * lyxfunc.C: tidy up a little
10972
10973 2002-06-16    <alstrup@diku.dk>
10974
10975         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10976         Got rid of FORMS_H_LOCATION include. Now we are
10977         GUII.
10978
10979 2002-06-15  LyX Development team  <lyx@rilke>
10980
10981         * buffer.[Ch] (sgmlOpenTag):
10982         (sgmlCloseTag): Added support for avoiding pernicious mixed
10983         content. Return number of lines written.
10984
10985         (makeLinuxDocFile):
10986         (makeDocBookFile): Fixed calls to sgml*Tag.
10987         Simple white space clean.
10988
10989         (simpleDocBookOnePar): Simple white space clean.
10990
10991         * tabular.[Ch] (docBook): Renamed to docbook and got another
10992         argument to related with the pernicious mixed content.
10993
10994         (docbookRow): Fixed calls for docbook inset method.
10995
10996 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10997
10998         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10999         so it's X11 independent.
11000
11001         * kb*.[Ch]: ditto.
11002
11003         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11004
11005 2002-06-15  Lyx Development team  <lyx@electronia>
11006
11007         * intl.h: Renamed getTrans to getTransManager.
11008
11009 2002-06-14  Angus Leeming  <leeming@lyx.org>
11010
11011         * Makefile.am: nuke forgotten stl_string_fwd.h.
11012
11013 2002-06-12  Angus Leeming  <leeming@lyx.org>
11014
11015         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11016
11017 2002-06-13  Angus Leeming  <leeming@lyx.org>
11018
11019         * LaTeX.C:
11020         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11021
11022 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11023
11024         * kbmap.C (getiso): add support for cyrillic and greek
11025
11026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11027
11028         * BufferView.h:
11029         * BufferView.C:
11030         * BufferView_pimpl.h:
11031         * BufferView_pimpl.C: move bogus scrolling logic
11032           to xforms
11033
11034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * lyxfunc.C:
11037         * BufferView_pimpl.C: view->resize() change
11038
11039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * BufferView_pimpl.C: topCursorVisible
11042           prototype change
11043
11044 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * Makefile.am:
11047         * lyx_gui.h:
11048         * lyx_gui.C: move to frontends/
11049
11050         * main.C:
11051         * lyx_main.h:
11052         * lyx_main.C: changes from above
11053
11054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * intl.C:
11057         * intl.h:
11058         * kbmap.C:
11059         * kbsequence.C:
11060         * lyx_cb.C:
11061         * lyx_main.C: minor tidy
11062
11063 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * BufferView_pimpl.h:
11066         * BufferView_pimpl.C:
11067         * BufferView.h:
11068         * BufferView.C: make painter() const,
11069           remove dead code
11070
11071         * BufferView2.C: use screen() accessor
11072
11073         * lyx_main.h:
11074         * lyx_main.C: some minor cleanup
11075
11076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * BufferView_pimpl.h:
11079         * BufferView_pimpl.C: remove enter/leaveView,
11080           use workHeight()
11081
11082 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * BufferView.h:
11085         * BufferView.C:
11086         * BufferView2.C:
11087         * BufferView_pimpl.h:
11088         * BufferView_pimpl.C: only construct screen once,
11089           rename
11090
11091         * lyxrc.C: remove pointless comment
11092
11093 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * BufferView.h:
11096         * BufferView.C: remove active() and belowMouse()
11097
11098         * BufferView_pimpl.h:
11099         * BufferView_pimpl.C: use workarea() not workarea_,
11100           and make it use a scoped_ptr instead
11101
11102 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * lyx_gui.C: add debug message on BadWindow
11105
11106 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11107
11108         * sp_spell.C: fdopen is not part of the C++ standard.
11109
11110         * paragraph.C (InsetIterator): use >= instead of ==
11111
11112 2002-06-07  Angus Leeming  <leeming@lyx.org>
11113
11114         Fixes needed to compile with Compaq cxx 6.5.
11115         * BufferView_pimpl.C:
11116         * DepTable.C:
11117         * buffer.C:
11118         * converter.C:
11119         * encoding.C:
11120         * lyx_gui.C:
11121         * lyx_main.C:
11122         * lyxtextclasslist.C:
11123         * minibuffer.C:
11124         * sp_spell.C:
11125         * tabular_funcs.C:
11126         * vc-backend.C:
11127         all c-library variables have been moved into namespace std. Wrap
11128         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11129
11130         * lyxlength.C:
11131         * tabular-old.C:
11132         * tabular.C:
11133         Add a using std::abs declaration.
11134
11135         * kbmap.h (modifier_pair):
11136         * paragraph.h (InsetTable, InsetList):
11137         * lyxfont.h (FontBits):
11138         type definition made public.
11139
11140         * bufferlist.C (emergencyWriteAll): the compiler complains that
11141         there is more than one possible lyx::class_fun template to choose from.
11142         I re-named the void specialisation as lyx::void_class_fun.
11143
11144         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11145
11146         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11147         the compiler is is unable to find tostr in write_attribute.
11148
11149 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * buffer.C (sgmlError): hide #warning
11152
11153 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * xtl/*: get rid of xtl, which is not in use anyway
11156
11157         * LyXAction.C (init):
11158         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11159         were unimplemented xtl experimentation
11160
11161 2002-06-04  André Pönitz <poenitz@gmx.net>
11162
11163         * lyxfunc.C: disable array operation on simple formulae
11164
11165 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * converter.C: constify a bit
11168
11169 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * lyx_gui.C: check xforms version correctly
11172
11173 2002-04-30  Herbert Voss  <voss@lyx.org>
11174
11175         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11176         "keep" option
11177
11178 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11181           attempt to register it with a VCS)
11182
11183 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * lyx_main.C (init): honor variables LYX_DIR_13x and
11186         LYX_USERDIR_13x
11187
11188 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11189
11190         * buffer.h:
11191         * buffer.C:
11192         * lyx_main.C: fix a crash on bad command line,
11193           and give a useful exit status on error
11194
11195         * lyxfunc.C (doImport): allow -i lyx to work
11196
11197 2002-03-30  André Pönitz <poenitz@gmx.net>
11198
11199         * lyxfunc.C: mathed font changes
11200
11201 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * LaTeX.C:
11204         * importer.h:
11205         * importer.C:
11206         * lyx_sty.h:
11207         * lyx_sty.C:
11208         * lyxlex.C:
11209         * lyxrow.h:
11210         * lyxtext.h:
11211         * paragraph.h:
11212         * paragraph.C:
11213         * texrow.h:
11214         * texrow.C:
11215         * text.C:
11216         * trans_mgr.h: srcdocs, and some minor cleanups
11217
11218 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11221         call getFont all the time)
11222
11223 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * switch from SigC signals to boost::signals
11226
11227 2002-05-29  André Pönitz <poenitz@gmx.net>
11228
11229         * paragraph_pimpl.C (getChar): don't call size() too often...
11230
11231 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * paragraph_pimpl.C (insertChar): do not try to update tables when
11234         appending (pos == size())
11235
11236         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11237         in order to reduce drastically the number of comparisons needed to
11238         parse a large document
11239
11240 2002-05-29  André Pönitz <poenitz@gmx.net>
11241
11242         * text.C:
11243         * text2.C:
11244         * lyxtextclass.C:
11245         * sp_pspell.h:
11246         * textclasslist.[Ch]:
11247         * sp_ispell.h: whitespace change
11248
11249 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11252         lyxaction directly now.
11253
11254 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * trans.C:
11257         * lyxfont.C:
11258         * lyxvc.C: remove unused headers
11259
11260 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * Makefile.am:
11263         * buffer.h:
11264         * undostack.h:
11265         * undostack.C:
11266         * undo_funcs.h:
11267         * undo_funcs.C: some cleanups. Use shared_ptr
11268           and a template for the undo stacks.
11269
11270 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * BufferView_pimpl.h:
11273         * BufferView_pimpl.C:
11274         * kbmap.h:
11275         * kbmap.C:
11276         * kbsequence.h:
11277         * kbsequence.C:
11278         * lyxfunc.h:
11279         * lyxfunc.C:
11280         * text2.C: use key_state/mouse_state
11281
11282 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11285         and LSubstring
11286
11287         * chset.C: change include order
11288         (loadFile): use boost regex and get rid of LRegex and LSubstring
11289
11290         * Makefile.am (BOOST_LIBS): new variable
11291         (lyx_LDADD): use it
11292
11293         * LaTeX.C: change include order.
11294         (scanAuxFile): use boost regex and get rid of LRegex and
11295         LSubstring
11296         (deplog): ditto
11297
11298 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * ColorHandler.h:
11301         * ColorHandler.C:
11302         * FontInfo.h:
11303         * FontInfo.C: moved to frontends/xforms/
11304
11305         * FontLoader.h:
11306         * FontLoader.C: moved into frontends for GUIIzation
11307
11308         * Makefile.am:
11309         * lyx_gui.C:
11310         * lyxfont.C:
11311         * lyxfunc.C: changes from above
11312
11313 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * LColor.C: remove spurious X include
11316
11317         * BufferView_pimpl.C:
11318         * Makefile.am:
11319         * font.h:
11320         * font.C:
11321         * text.C:
11322         * text2.C: move font metrics to frontends/
11323
11324 2002-05-24  Juergen Vigna  <jug@sad.it>
11325
11326         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11327         setting the undo_cursor.
11328
11329         * ParagraphParameters.h: include local includes first.
11330
11331 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * BufferView_pimpl.C:
11334         * BufferView_pimpl.h:
11335         * Makefile.am:
11336         * WorkArea.h:
11337         * WorkArea.C:
11338         * screen.C: move WorkArea into frontends/
11339
11340         * lyxscreen.h:
11341         * screen.C:
11342         * text.C:
11343         * BufferView.C:
11344         * BufferView2.C: move LyXScreen into frontends/
11345
11346         * lyxlookup.h:
11347         * lyxlookup.C:
11348         * lyx_gui.C: move lyxlookup into frontends/xforms/
11349
11350 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * BufferView2.C:
11353         * BufferView_pimpl.C:
11354         * FontLoader.C:
11355         * LyXView.h:
11356         * LyXView.C:
11357         * Makefile.am:
11358         * WorkArea.C:
11359         * XFormsView.h:
11360         * XFormsView.C:
11361         * buffer.C:
11362         * bufferlist.C:
11363         * bufferview_funcs.C:
11364         * converter.C:
11365         * importer.C:
11366         * lyx_cb.C:
11367         * lyx_gui.C:
11368         * lyx_main.C:
11369         * lyx_find.C:
11370         * lyxfunc.C:
11371         * lyxvc.C:
11372         * minibuffer.C:
11373         * text.C:
11374         * text2.C:
11375         * trans.C:
11376         * vc-backend.C: move LyX/XFormsView into frontends/
11377
11378 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * Makefile.am:
11381         * PainterBase.C:
11382         * PainterBase.h:
11383         * Painter.C:
11384         * Painter.h:
11385         * WorkArea.C:
11386         * WorkArea.h:
11387         * screen.C:
11388         * tabular.C:
11389         * text.C:
11390         * text2.C: move Painter to frontends/
11391
11392 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * buffer.C: comment out some some code that depend upon lyx_format
11395         < 220
11396
11397         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11398         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11399
11400         * buffer.h (NO_COMPABILITY): turn off compability
11401
11402         * ColorHandler.C: include scoped_array.hpp
11403
11404         * font.C: Use more specific smart_ptr header.
11405         * Painter.C: ditto
11406         * gettext.C: ditto
11407         * ShareContainer.h: ditto
11408         * lyx_main.h: ditto
11409         * kbmap.h: ditto
11410         * FontInfo.h: ditto
11411         * BufferView_pimpl.h: ditto
11412         * ColorHandler.h: ditto
11413
11414         * kbmap.C (defkey): change call to shared_ptr::reset
11415
11416 2002-05-21  Juergen Vigna  <jug@sad.it>
11417
11418         * buffer.C (insertErtContents): fix to insert ert asis if it is
11419         non empty. Skip it completely if it contains only whitespaces.
11420
11421 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.C:
11424         * BufferView2.C: clear selection on paste (bug 393)
11425
11426 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * DepTable.C: include ctime
11429
11430 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11431
11432         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11433
11434 2002-05-14  Juergen Vigna  <jug@sad.it>
11435
11436         * text.C (breakParagraph): fixed function to honor the keepempty
11437         layout in the right maner and also to permit the right breaking
11438         algorithm on empty or non empyt keepempty paragraphs.
11439
11440         * paragraph.C (breakParagraph): we have to check also if the par
11441         is really empty (!size()) for isempty otherwise we do the wrong
11442         paragraph break.
11443
11444 2002-05-10  Juergen Vigna  <jug@sad.it>
11445
11446         * buffer.[Ch] : The following are only changes to the ert
11447         compatibility read reading old LaTeX layout and font stuff and
11448         convert it to ERTInsets.
11449
11450         * buffer.h: added isErtInset().
11451
11452         * buffer.C (struct ErtComp): add a fromlayout bool to check
11453         if we're inside a LaTeX layout.
11454         (isErtInset): new helper function.
11455         (insertErtContents): look for other ert insets before this one
11456         and insert the contents there, so that we don't have subsequent
11457         ERT insets with nothing between them. This way we create only one
11458         inset with multiple paragraphs. Also check if we don't insert only
11459         spaces ' ' as they are ignored anyway afterwards in the .tex file
11460         so if we have only spaces we will ignore this latex part in the
11461         new file.
11462         (parseSingleLyXformat2Token \\layout): better compatibility when
11463         reading layout-latex stuff.
11464         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11465         language tag.
11466         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11467         stuff after reading the inset only get the information back from
11468         the stack.
11469
11470 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11471
11472         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11473
11474         * LaTeXFeatures.C (getBabelOptions): New method.
11475
11476 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11477
11478         * BufferView_pimpl.C (Dispatch): work around missing argument for
11479         'layout'
11480
11481 2002-05-08  Juergen Vigna  <jug@sad.it>
11482
11483         * text.C (leftMargin): handle paragraph leftindent.
11484
11485         * paragraph.C (writeFile): write the new \\leftindent tag.
11486         (validate): handle leftindent code.
11487         (TeXEnvironment): handle paragraphleftindent code again.
11488
11489         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11490
11491         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11492         for paragrap_extra indent code and new token \\leftindent.
11493         (latexParagraphs): handle the leftindent as environment.
11494
11495         * ParameterStruct.h: added leftindent support.
11496
11497         * ParagraphParameters.C (leftIndent): added support functions for
11498         the paragraph left indent.
11499
11500         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11501         more appropriate.
11502
11503 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11504
11505         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11506         inside insetERT.
11507
11508         * text.C (computeBidiTables): No bidi in insetERT.
11509
11510         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11511         in RTL documents.
11512
11513 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * version.C.in: pre 5
11516
11517 2002-05-02  José Matos  <jamatos@fep.up.pt>
11518         * buffer.C (makeDocBookFile): white space changes, add newline to
11519         command styles.
11520         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11521
11522         * tabular.C (docBook): fix typo.
11523
11524 2002-05-03  Juergen Vigna  <jug@sad.it>
11525
11526         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11527         change in LyXText as we can not be sure it was not freed.
11528         (drawOneRow): remove unused code.
11529
11530         * text.C (drawInset): redo the calculation of the need_break_row as
11531         it could have a row which was already freed.
11532         (draw): look at the return value of drawInset and return false if
11533         it also returned false.
11534         (paintRowText): look at the return value of draw and return false if
11535         it also returned false.
11536
11537         * lyxtext.h: added bool return type to drawInset() and draw() so that
11538         if we have a change in the row so that the rowbreak has to be redone
11539         we abort drawing as it will be called again.
11540
11541 2002-05-02  Juergen Vigna  <jug@sad.it>
11542
11543         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11544         a change in the maintext also if we're inside an inset.
11545         (Dispatch): set the cursor again after a break line and after the
11546         screen has been updated as it could be we're in a different row.
11547
11548         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11549         to set the cursor behind the pargraph with > size().
11550         (setCursor): check also for the same paragraph when checking where
11551         to put the cursor if we have a NFR inset.
11552
11553         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11554         parts of layout read further up as it still was in the wrong
11555         position.
11556
11557 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * screen.C (drawFromTo): change sine fullRebreak always return
11560         true.
11561
11562         * buffer.C (parseSingleLyXformat2Token): reindent some
11563
11564         * BufferView_pimpl.C (update): change since fullRebreak always
11565         return true.
11566         (Dispatch): git rid of the last hardcoded "Standard"s.
11567
11568 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * text2.[Ch] (fullRebreak): make it return void now that we always
11571         returned true.
11572
11573 2002-04-30  Juergen Vigna  <jug@sad.it>
11574
11575         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11576         ert compatibility check for "latex" layout.
11577
11578 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11581         minipages: use col% instead of p%, and also use the current font.
11582         (makeLaTeXFile): Fix use babel condition.
11583         (parseSingleLyXformat2Token): Correct font when reading old floats.
11584
11585 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11588         inserting list of floats.
11589
11590 2002-04-25  Herbert Voss  <voss@lyx.org>
11591
11592         * MenuBackend.C (expand): don't add the graphics extensions to the
11593         export menu
11594
11595 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11596
11597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11598         non-existing layout, do not complain if it was the default layout
11599         of the original class (bug #342)
11600
11601 2002-04-24  Juergen Vigna  <jug@sad.it>
11602
11603         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11604         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11605
11606 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11607
11608         * buffer.C (getBibkeyList): If using \bibliography, return the
11609         option field with the reference itself. Enables us to provide natbib
11610         support when using \bibliography.
11611
11612 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11613
11614         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11615
11616         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11617         natbib is provided by the LaTeX class.
11618
11619 2002-04-23  Juergen Vigna  <jug@sad.it>
11620
11621         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11622         Wakeup functions.
11623
11624         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11625
11626 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11629
11630         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11631         ensuremath around textordmasculine, textordfeminine and
11632         textdegree.
11633
11634 2002-04-19  Juergen Vigna  <jug@sad.it>
11635
11636         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11637         reinitializing the buffer otherwise row-dimensions may be wrong.
11638         (update): reset also the selection cursors if they do exits otherwise
11639         their x/y positions may be wrong.
11640
11641         * text2.C (cursorDown): don't enter the inset if we came from a row
11642         above and are one row over the inset.
11643
11644         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11645         really leaving an inset.
11646
11647 2002-04-18  Juergen Vigna  <jug@sad.it>
11648
11649         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11650         of the selected paragraph does not have the selected layout also if
11651         the last one had!
11652
11653         * text2.C (setLayout): fixed bug which did not change last selected
11654         paragraph.
11655
11656         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11657         changed the read and substituted \\end_float with \\end_inset!
11658
11659         * BufferView_pimpl.C (cursorPrevious):
11660         (cursorNext): fixed to make it work with rows heigher than the work
11661         area without moving the cursor only the draw of the row.
11662         (workAreaMotionNotify): fix jumping over high rows.
11663
11664 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11667         Ressler.
11668
11669 2002-04-16  Juergen Vigna  <jug@sad.it>
11670
11671         * text2.C (setCursor): set also the irow().
11672         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11673         (cursorUp):
11674         (cursorDown): support for locking an inset if the x_fix value goes
11675         inside it. That way I can transverse insets too with cursor up/down.
11676
11677         * lyxrow.h: added irow helper function same as other (i) functions.
11678
11679         * BufferView_pimpl.C (cursorPrevious):
11680         (cursorNext): fixed for insets!
11681
11682 2002-04-15  Juergen Vigna  <jug@sad.it>
11683
11684         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11685         position otherwise it is wrong in some cases.
11686
11687         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11688         inside the inset before the call.
11689
11690 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11691
11692         * buffer.[Ch] (getBibkeyList): make it const.
11693
11694 2002-04-12  Juergen Vigna  <jug@sad.it>
11695
11696         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11697
11698         * text2.C (getCursorX): new helper function
11699         (setCursor): compute also ix_
11700         (setCursorFromCoordinates): set also ix.
11701
11702         * lyxcursor.h: added ix_ and helper functions.
11703
11704         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11705
11706         * buffer.C (insertStringAsLines): dont break paragraph if the this
11707         paragraph is inside an inset which does not permit it!
11708
11709         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11710         also with no chars on this paragraph.
11711         (paintRowText): only paint stuff if it's inside the workarea!
11712
11713         * paragraph.C (breakParagraph): honor keepempty flag and break the
11714         paragraph always below not above.
11715
11716         * BufferView2.C (unlockInset): update the paragraph layout on inset
11717         unlock as we changed paragraph in such a case.
11718
11719         * lyxfind.C (LyXFind): clear the former selection if not found!
11720
11721         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11722         again called in insertChar().
11723
11724         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11725         an inset which uses the whole row!
11726         (rightMargin): ditto.
11727         (insertChar): force a rebreak if we inserted an inset!
11728
11729 2002-03-28  Herbert Voss  <voss@lyx.org>
11730
11731         * lyxlength.[Ch]: add inBP() to get the right PS-point
11732         units (BigPoint). With inPixels we have rounding errors
11733
11734 2002-04-11  Juergen Vigna  <jug@sad.it>
11735
11736         * text2.C (setCursorFromCoordinates): set iy to the right value.
11737         (setCursor): add check if row->previous exists!
11738
11739         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11740         an old float_type as this was the case in the old code!
11741
11742         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11743
11744         * BufferView2.C (showLockedInsetCursor): use iy
11745         (fitLockedInsetCursor): ditto
11746
11747         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11748         locked insets as there we have the right value now.
11749
11750         * lyxcursor.C: added iy_ variable and iy functions to set to the
11751         baseline of cursor-y of the locked inset.
11752
11753         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11754         (setCursor): fixed for insets which need a full row.
11755
11756         * text.C (rowLastPrintable): don't ignore the last space when before
11757         an inset which needs a full row.
11758         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11759         as last character of a row when before a inset which needs a full row.
11760
11761 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * version.C.in: update date
11764
11765         * text2.C (fullRebreak): try to always return true and see what
11766         happens...
11767
11768 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * MenuBackend.C (expand): use Floating::listName
11771
11772         * FloatList.C (FloatList): add listName argument to the built-in
11773         floats
11774
11775         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11776         text associated with the float.
11777
11778 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11781
11782 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * ShareContainer.h: add a couple of missing typenames.
11785
11786 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * lyxrc.C (getDescription): use _() correctly rather than N_().
11789
11790 2002-03-28  Herbert Voss  <voss@lyx.org>
11791
11792         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11793         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11794
11795 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11798         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11799
11800 2002-03-29  Juergen Vigna  <jug@sad.it>
11801
11802         * lyxfunc.C (dispatch): add a missing fitCursor call.
11803
11804         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11805         it was scrolled by a cursor move, so return the bool status.
11806
11807         * BufferView.C (fitCursor): return the bool flag also to the outside
11808         world as this is needed.
11809
11810         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11811
11812         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11813         call the edit() as it is not needed (and wrong) IMO.
11814         (workAreaButtonPress): set the screen_first variable before evt.
11815         unlock the inset as this may change screen_first and then we have
11816         a wrong y position for the click!
11817
11818 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * MenuBackend.C (expand): another translation that I missed
11821
11822 2002-03-28  Juergen Vigna  <jug@sad.it>
11823
11824         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11825
11826         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11827
11828 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11829
11830         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11831
11832         * MenuBackend.C (expand): fix export/view/update when there is no
11833         document open.
11834
11835 2002-03-27  Herbert Voss  <voss@lyx.org>
11836
11837         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11838         and text%
11839
11840 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * bufferview_funcs.C (currentState): only show paragraph number
11843         for is DEVEL_VERSION is set.
11844
11845         * lyxfunc.C (dispatch): put warning in INFO channel
11846
11847         * MenuBackend.C (expand): translate the name of floats
11848
11849         * FloatList.C (FloatList): mark the float names for translation
11850
11851         * converter.C (convert): use LibScriptSearch
11852
11853 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * MenuBackend.C (defaults): fix default menu (we might as well get
11856         rid of it...)
11857
11858 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11859
11860         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11861         directory.
11862
11863 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * lyxvc.C: reorder includes.
11866
11867 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11870           properly
11871
11872 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * CutAndPaste.C: change layouts earlier on paste
11875           to avoid crashing when calling getFont()
11876
11877 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11878
11879         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11880         irritating #error.
11881
11882 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * WorkArea.C: remove 'Pending' debug message.
11885
11886         * most files: ws cleanup
11887
11888         * buffer.[Ch]: ws changes
11889
11890         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11891
11892 2002-03-21  Juergen Vigna  <jug@sad.it>
11893
11894         * tabular.C (SetMultiColumn): collapse also the contents of the
11895         cells and set the last border right. Added a Buffer const * param.
11896
11897 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11900         linking or not.
11901
11902 2002-03-19  Juergen Vigna  <jug@sad.it>
11903
11904         * text2.C (clearSelection): reset also xsel_cache.
11905
11906         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11907         where it needs to be called (John tells us to do so too :)
11908         (selectionLost): reset sel_cache.
11909
11910         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11911
11912 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * text2.C (setCursorIntern): put debuging code in INSETS channel
11915
11916 2002-03-19  André Pönitz <poenitz@gmx.net>
11917
11918         * lyxfunc.C: tiny whitespace change
11919
11920 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * ToolbarDefaults.C (init):
11923         * LyXAction.C (init):
11924         * commandtags.h:
11925         * BufferView_pimpl.C (Dispatch):
11926         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11927
11928 2002-03-19  Allan Rae  <rae@lyx.org>
11929
11930         * exporter.C (Export): removeAutoInsets before doing anything else.
11931         While I've just introduced a dependency on BufferView this really is
11932         the best place to clean the buffer otherwise you need to cleanup in
11933         a dozen places before calling export or cleanup in a dozen functions
11934         that export calls.
11935
11936         * converter.C (runLaTeX):
11937         (scanLog): Better handling of removeAutoInsets and screen updates.
11938
11939         * lyxfunc.C (dispatch): small whitespace changes
11940
11941 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * WorkArea.C (C_WorkAreaEvent): return a value.
11944         (event_cb): return 1 if we handled the event, 0 otherwise.
11945
11946         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11947
11948 2002-03-18  Juergen Vigna  <jug@sad.it>
11949
11950         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11951         (GetAdditionalWidth): ditto.
11952         (RightLine): ditto.
11953         (LeftLine): ditto.
11954
11955         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11956         inset if we're there actually (probably not used right now but this
11957         is the direction to go for unifying code).
11958         (paste): disable code to clear the selection.
11959
11960         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11961         inside an InsetText and move the check further up as it is in the
11962         wrong place.
11963
11964         * text2.C (pasteSelection): set a selection over the pasted text.
11965
11966 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11967
11968         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11969         and libgraphics to build on Cygwin.
11970
11971 2002-03-15  Juergen Vigna  <jug@sad.it>
11972
11973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11974         inserting an Inset into the paragraph. I know this is not the best
11975         fix but we already use current_view in CutAndPaste so we will remove
11976         all of it's using at the same time.
11977
11978         * buffer.C (sgmlError): deactivated function till it is rewritten in
11979         the right mode, now it can create problems.
11980
11981         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11982         before accessing it.
11983
11984 2002-03-14  Juergen Vigna  <jug@sad.it>
11985
11986         * undo_funcs.C (textHandleUndo): do the right thing when updating
11987         the inset after the undo/redo.
11988
11989         * text2.C (setCursor): just some testcode for #44 not ready yet.
11990
11991         * undo_funcs.C (textHandleUndo): set the next() and previous()
11992         pointers of the paragraph to 0 before deleting otherwise we have
11993         problems with the Paragraph::[destructor].
11994
11995         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11996         on a paragraph insertion.
11997
11998 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * buffer.C (asciiParagraph): use += operator for char append to
12001         string.
12002
12003         * paragraph.C (getFontSettings): compare >= not just >
12004         (highestFontInRange): ditto
12005         (setFont): ditto
12006
12007 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * paragraph.C: change several algorithm to be more appripriate for
12010         the problem domain. This is lookip in FontList and in the InsetList.
12011
12012 2002-03-13  André Pönitz <poenitz@gmx.net>
12013
12014         * commandtags.h:
12015         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12016
12017 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * commandtags.h:
12020         * LyXAction.C:
12021         * lyxfunc.C:
12022         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12023
12024 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * Painter.C (display): anon helper function, adjust code for this
12027         change.
12028         (pixmap): remove function.
12029
12030         * Painter.h: remove private display variable.
12031
12032         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12033
12034 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * WorkArea.[Ch]: remove figinset_canvas cruft.
12037
12038 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * lyxtextclass.C (operator): add one item cache optimization.
12041
12042         * bufferlist.h: doxy changes
12043
12044         * bufferlist.C: ws changes
12045
12046         * DepTable.[Ch] (ext_exist): place const in the right spot.
12047
12048         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12049         call resizeInsets.
12050         (workAreaExpose): call resizeInsets when the with BufferView changes.
12051         (Dispatch): adjust for protectedBlank removal
12052         (specialChar): call updateInset if the insert went ok.
12053
12054         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12055         specialChar instead.
12056
12057         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12058
12059         * BufferView.h: doxy change
12060
12061         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12062
12063         * lyxtextclass.C (operator[]): remove non-const version
12064         (defaultLayout): remove non-const version
12065
12066 2002-03-12  Juergen Vigna  <jug@sad.it>
12067
12068         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12069         did resize the LyXText too.
12070
12071         * buffer.C (readLyXformat2): set layout information on newly allocated
12072         paragraphs.
12073
12074         * tabular.C (OldFormatRead): set layout information on the paragraph.
12075
12076 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12077
12078         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12079
12080 2002-03-11  Juergen Vigna  <jug@sad.it>
12081
12082         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12083         plainly wrong.
12084         (resizeCurrentBuffer): force also the insets to resize themselfes.
12085         (moveCursorUpdate): fixed up for InsetText.
12086
12087 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12088
12089         * commandtags.h:
12090         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12091         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12092         value of Dialogs::tooltipsEnabled().
12093         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12094
12095 2002-03-08  Juergen Vigna  <jug@sad.it>
12096
12097         * BufferView_pimpl.C (updateInset): update inset inside inset also
12098         if it isn't inside theLockingInset().
12099
12100 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * buffer.C (asciiParagraph): redo some of the word and line length
12103         handling.
12104         (getLists): look for Caption instead of caption.
12105
12106 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * buffer.C (Buffer): initialize niceFile to true
12109         (makeLaTeXFile):
12110         (makeLinuxDocFile):
12111         (makeDocBookFile): make sure niceFile is true on exit
12112
12113 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12116
12117 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         * LyXSendto.C: remove.
12120         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12121         * lyx_gui.C: remove now-redundant comment.
12122         * ColorHandler.h: remove forward declaration of class WorkArea.
12123         * lyxfunc.C: remove #include "WorkArea.h".
12124
12125 2002-03-07  Juergen Vigna  <jug@sad.it>
12126
12127         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12128         got moved away with the DEPM and also set the inset_owner always
12129         right which before could have been omitted.
12130
12131 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12134         wanted layout is not found.
12135
12136 2002-03-07  Juergen Vigna  <jug@sad.it>
12137
12138         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12139
12140 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * paragraph.C (breakParagraph): use default layout not layout of
12143         prev paragraph.
12144         (Paragraph): clear ParagraphParameters.
12145
12146 2002-03-06  Juergen Vigna  <jug@sad.it>
12147
12148         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12149         otherwise it would not be a valid lenght. Fixed a special case in
12150         the minipage compatibility read where we end the document with a
12151         minipage.
12152
12153         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12154         was set as it could be 0 for InsetTexts first entry.
12155
12156 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * paragraph.C (writeFile): if layout is empty write out
12159         defaultLayoutName().
12160
12161         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12162         file without named layout we set layout to defaultLayoutName().
12163
12164 2002-03-06  Juergen Vigna  <jug@sad.it>
12165
12166         * CutAndPaste.C (copySelection): set layout for new paragraph.
12167
12168         * text.C (prepareToPrint): leave ERT inset left aligned
12169         (leftMargin): don't indent paragraphs inside ERT insets
12170
12171 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * paragraph.C (breakParagraph): dont call clear do the work manually
12174
12175         * paragraph.[Ch] (clear): remove function
12176
12177 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * paragraph.C (Paragraph): dont call clear, the work has already
12180         been done.
12181
12182         * lyxtextclass.C (operator): assert if n is empty
12183
12184         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12185         work manually instead.
12186
12187 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * BufferView_pimpl.C: protect selectionLost against text == 0
12190
12191 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12192
12193         * text.C (breakParagraph): fix a setting layout to '0' problem.
12194
12195 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12196
12197         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12198         final location of file, for the included files, and graphics.
12199
12200 2002-03-05  Juergen Vigna  <jug@sad.it>
12201
12202         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12203
12204 2002-03-04  Juergen Vigna  <jug@sad.it>
12205
12206         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12207
12208         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12209         last column of multicolumn cells.
12210         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12211
12212 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12213
12214         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12215         file if it doesn't go to a temporary file.
12216
12217         * buffer.C (sgmlOpenTag):
12218         (sgmlCloseTag):  remove extra newline insertion.
12219
12220 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * text.C (getRowNearY): comment out debug msg
12223
12224 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * text2.C: first -> first_y
12227
12228         * text.C (getRowNearY): add some attemts at a possible
12229         optimization, not working.
12230
12231         * tabular.[Ch]: add BufferParams to several function so that newly
12232         created paragraph can be initialized to he default layotu for the
12233         buffers textclass.
12234
12235         * tabular-old.C (ReadOld): add buf->params to call of Init
12236
12237         * screen.C: rename text->first to text->first_y
12238
12239         * paragraph.C (breakParagraph): always set layout in the broken
12240         paragraph
12241
12242         * lyxtextclass.C (Read): remove lowercase
12243         (hasLayout): ditto
12244         (operator): ditto
12245         (delete_layout): ditto
12246
12247         * lyxtext.h: rename first -> first_y
12248
12249         * lyxlayout.C (Read): remove lowercase
12250         (name): ditto
12251         (setName): ditto
12252         (obsoleted_by): ditto
12253
12254         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12255
12256         * buffer.C (insertErtContents): add params are to InsetERT
12257         (parseSingleLyXformat2Token): add code to check if a paragraphs
12258         layout really exist.
12259         (parseSingleLyXformat2Token): add params to several inset
12260         constructors
12261         (asciiParagraph): remove lowercase, do the layout comparisons with
12262         no_case
12263
12264         * BufferView_pimpl.C (cursorNext): first -> first_y
12265         (resizeCurrentBuffer): first -> first_y
12266         (updateScrollbar): first -> first_y
12267         (scrollCB): first -> first_y
12268         (workAreaMotionNotify): first -> first_y
12269         (workAreaButtonPress): first -> first_y
12270         (checkInsetHit): first -> first_y
12271         (cursorPrevious): first -> first_y
12272         (cursorNext): first -> first_y
12273         (Dispatch): add buffer_->params to severl inset contructors
12274
12275 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12276
12277         * lyxlayout.C (Read): remove some debug info that I forgot.
12278
12279         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12280         clean up the code slightly.
12281         (makeLinuxDocFile): ditto
12282         (makeDocBookFile): ditto
12283
12284         * text2.C: layout as string
12285
12286         * text.C: layout as string
12287
12288         * paragraph_pimpl.C: layout as string
12289
12290         * paragraph.[Ch]: layout as string
12291
12292         * lyxtextclasslist.[Ch]: layout as string
12293
12294         * lyxtextclass.[Ch]: layout as string
12295
12296         * lyxtext.h: layout as string
12297
12298         * lyxlayout.[Ch]: layout as string
12299
12300         * lyx_cb.C: layout as string
12301
12302         * bufferview_funcs.C: layout as string
12303
12304         * bufferparams.C: layout as string
12305
12306         * buffer.C: layout as string
12307
12308         * LyXView.[Ch]: layout as string
12309
12310         * LaTeXFeatures.[Ch]: layout as string
12311
12312         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12313
12314         * BufferView_pimpl.C: change current_layout to string, remove
12315         lyx::layout_type.
12316         (Dispatch):
12317         (smartQuote):
12318         (insertInset):
12319         (workAreaButtonRelease): layout as string
12320
12321         * BufferView2.C (unlockInset): adjust
12322
12323         * vspace.C (asLatexCommand): use an explict temp variable.
12324
12325 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * Makefile.am: use FRONTEND_*
12328
12329 2002-03-01  Juergen Vigna  <jug@sad.it>
12330
12331         * tabular.C (SetWidthOfMulticolCell): changed to something better
12332         I hope but still work in progress.
12333         (recalculateMulticolumnsOfColumn): renamed function from
12334         recalculateMulticolCells as it is more appropriate now.
12335         (SetWidthOfCell): calculate multicols better.
12336
12337 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12340
12341         * lyxfunc.C (processKeySym): print sequence also if it is
12342         `deleted' (complete)
12343
12344         * kbsequence.C (print): print sequence even if it is deleted
12345         (complete would be a better word, actually).
12346
12347         * lyxfunc.C (dispatch): print complete options after a prefix key
12348
12349         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12350
12351 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12352
12353         * text2.C (setCharFont): eliminate setCharFont code duplication.
12354
12355 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12358         LFUN_TABULAR_FEATURE (bug #177)
12359
12360 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * Makefile.am: remove figure.h
12363
12364 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12365
12366         * Bufferview_pimpl.C:
12367         * CutAndPasteC:
12368         * LaTeX.C:
12369         * LyXSendto.C:
12370         * buffer.C:
12371         * bufferlist.C:
12372         * converter.C:
12373         * language.C:
12374         * lyxfunc.C:
12375         * lyxvc.C:
12376         * paragraph.C:
12377         * text.C:
12378         * text2.C: remove #include "lyx_gui_misc.h".
12379
12380         * LaTeX.C: added #include <cstdio>
12381
12382 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12385         that the paragraph following this one can have.
12386
12387         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12388
12389         * vspace.C (asLatexCommand): fix bogus gcc warning
12390
12391         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12392
12393 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12394
12395         * text2.C (setLayout): get rid of redundant code
12396
12397 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12398
12399         * text2.C (incDepth): make sure depth cannot be increased beyond
12400         reasonable values.
12401
12402 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12405         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12406
12407         * PainterBase.h (image):
12408         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12409         a LyXImage const *.
12410
12411 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * BufferView.C:
12414         * BufferView.h:
12415         * BufferView_pimpl.C:
12416         * BufferView_pimpl.h:
12417         * LaTeXFeatures.C:
12418         * LyXAction.C:
12419         * LyXView.C:
12420         * Makefile.am:
12421         * UpdateList.h:
12422         * UpdateList.C:
12423         * buffer.C:
12424         * figure.h:
12425         * figureForm.C:
12426         * figureForm.h:
12427         * figure_form.C:
12428         * figure_form.h:
12429         * lyx_cb.C:
12430         * lyx_gui.C:
12431         * lyx_gui_misc.C:
12432         * lyxfunc.C:
12433         * sp_base.h:
12434         * sp_ispell.h:
12435         * sp_pspell.h:
12436         * sp_spell.C: remove fig inset, and the crap house of
12437           cards that follows it
12438
12439 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * Makefile.am:
12442         * lyxserver.C:
12443         * os2_defines.h:
12444         * os2_errortable.h:
12445         * nt_defines.h: move .h into support/
12446
12447         * vms_defines.h: remove
12448
12449         * WorkArea.C: add space in debug output
12450
12451         * text2.C:
12452         * paragraph.C:
12453         * buffer.C: add WITH_WARNINGS
12454
12455         * vc-backend.h:
12456         * vc-backend.C:
12457         * bufferlist.C: s/retrive/retrieve/, add docs
12458
12459         * vspace.h:
12460         * vspace.C:
12461         * kbmap.h:
12462         * lyxlength.h:
12463         * lyxgluelength.h:
12464         * length_common.h:
12465         * chset.h:
12466         * chset.C: add docs
12467
12468         * lyxgui.C: add ID to X error handler
12469
12470         * lyxtestclass.c: fix typo
12471
12472 2002-02-26  Juergen Vigna  <jug@sad.it>
12473
12474         * tabular_funcs.C (write_attribute): changed so that some default
12475         attributes are not written at all.
12476         (getTokenValue): set default values before trying to read the
12477         value so we have the return value always set as default if we don't
12478         find the token we search for.
12479
12480         * tabular.C (Write): write bools as bools not as strings!
12481
12482 2002-02-22  Juergen Vigna  <jug@sad.it>
12483
12484         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12485         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12486
12487         * text.C (leftMargin): don't add an indent for paragraphs inside
12488         tabular cells (fix #208).
12489
12490 2002-02-21  José Matos  <jamatos@fep.up.pt>
12491
12492         * tabular.C (docBook): fixed support for long tables.
12493
12494 2002-02-20  Juergen Vigna  <jug@sad.it>
12495
12496         * text2.C (getFont): get the drawing font of the Inset if this
12497         paragraph is inside an inset (only important for InsetERT for now).
12498
12499         * buffer.C (insertErtContents): use new lanugage params in ERT
12500         constructor.
12501
12502         * CutAndPaste.C: commenting out seemingly uneeded code.
12503
12504 2002-02-19  Allan Rae  <rae@lyx.org>
12505
12506         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12507         Iterators might be simple to use but they also get invalidated.
12508         (removeAutoInsets): renamed saved cursor tracking variables and added
12509         some comments to clarify what everything does.
12510
12511 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * Chktex.C:
12514         * LaTeX.C:
12515         * LyXSendto.C:
12516         * converter.C:
12517         * lyx_cb.C:
12518         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12519         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12520
12521         * lyxfunc.C:
12522         * vc-backend.h: remove #include "support/syscall.h"
12523
12524         * LaTeX.C:
12525         * LyXSendto.C:
12526         * converter.C: rearrange #includes in Lars' approved fashion.
12527
12528         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12529         forward declare class Timeout in the header file.
12530
12531         * XFormsView.C: changes due to the above.
12532
12533         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12534         similar to LyXView.
12535
12536         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12537         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12538
12539 2002-02-18  José Matos  <jamatos@fep.up.pt>
12540
12541         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12542         insets contents.
12543
12544 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12545
12546         * a lot of small ws changes
12547         * add a lot of using std::XXX
12548         * use std construcs some places where approp.
12549         * use some exisint stuff from lyxfunctional where approp.
12550         * Make file changes to use partial linking (lets test this now...)
12551
12552 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * Chktex.C:
12555         * buffer.C:
12556         remove #include "support/syscontr.h" as it's redundant. Always has been.
12557
12558         * Chktex.C:
12559         * LaTeX.C:
12560         * LyXSendto.C:
12561         * converter.C:
12562         * lyx_cb.C:
12563         * vc-backend.C:
12564         change Systemcalls::System to Systemcalls::Wait and
12565         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12566         No change of functionality, just reflects the stripped down Systemcalls
12567         class.
12568
12569 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12570
12571         * debug.[Ch]: add a GRAPHICS type to the enum.
12572
12573 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12576
12577         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12578         there is an inset.
12579
12580 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12581
12582         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12583         match the changes below.
12584
12585         * text2.C (toggleInset): if there is not editable inset at cursor
12586         position, try to see if cursor is _inside_ a collapsable inset
12587         and close it.
12588
12589 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12592         document menu has a nice checkbox
12593
12594 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * lyxlength.C (asLatexString): change PW to output as percent of
12597         \textwidth.
12598
12599         * lengthcommon.C: change '%' to 't%'
12600
12601         * lyxfunc.C (dispatch): a few comments from Martin
12602
12603 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * WorkArea.h:
12606         * WorkArea.C:
12607         * BufferView_pimpl.h:
12608         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12609           the X selection.
12610
12611 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12612
12613         * vspace.C (inPixels): fix compiler warning
12614
12615 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12616
12617         * lyxfunc.C (getStatus): fix status message for disabled commands.
12618
12619 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * BufferView_pimpl.C: fix crash on close buffer
12622         during selection (#227)
12623
12624 2002-01-27  Herbert Voss  <voss@lyx.org>
12625
12626         * buffer.C: link old Figure to new graphic inset
12627
12628 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12629
12630         * FontLoader.C (getFontinfo): Change the latex font names in order
12631         to match the names of type1inst.
12632
12633 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12636
12637         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12638         (extchanged): ditto
12639         (ext_exist): ditto
12640         (remove_files_with_extension): ditto
12641         (remove_file): ditto
12642         (write): ditto
12643
12644         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12645         document is smaller than the work area height. Do not initialize
12646         static variables to 0.
12647
12648 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12651
12652         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12653         LFUN_LAYOUT_PARAGRAPHS.
12654
12655         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12656         tabular. It is possible to provide a possible cell, which will
12657         typically be the actcell from the corresponding insettabular
12658
12659         * lyxfunc.C (getStatus): small cleanup; disable
12660         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12661         true
12662
12663 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12664
12665         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12666
12667         * paragraph.C (startTeXParParams):
12668         (endTeXParParams): new methods. The LaTeX code to
12669         start/end paragraph formatting
12670         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12671         empty (fixes bug #200)
12672
12673         * vspace.C (inPixels): adapt to the change below
12674         (inPixels): [later] more cleanups (remove unused variables)
12675
12676         * lyxlength.C (inPixels): change to use a width and a height as
12677         parameter.
12678
12679 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12680
12681         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12682         Replaced with \paperwidth
12683
12684         * DepTable.C (insert): add std:: qualifier
12685
12686 2002-01-18  Allan Rae  <rae@lyx.org>
12687
12688         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12689         updated also?
12690
12691         * text.C (drawInset): Turned out I didn't know enough about how
12692         rebreaking worked.  This fixes most of the redraw problems.  I see
12693         an occasional cursor trail when a line is broken now and the cursor
12694         placement can seem out by a few pixels also after a rebreak.
12695
12696 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12697
12698         * buffer.C (parseSingleLyXformat2Token): update because minipage
12699         width is now a LyXLength
12700
12701         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12702
12703         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12704         math insets
12705
12706 2002-01-17  Juergen Vigna  <jug@sad.it>
12707
12708         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12709
12710         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12711         is set correctly and the inset is updated correctly.
12712
12713 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12716         the beginning of the loop.
12717
12718 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * lyxrc.C: improve help for use_scalable_fonts
12721
12722 2002-01-17  Allan Rae  <rae@lyx.org>
12723
12724         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12725
12726 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12729         make sure to set their inset_owner to the right value (bug #171)
12730
12731 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12732
12733         * DepTable.h
12734         * DepTable.C: Implement mtime checking to reduce time spent doing
12735         CRCs.
12736
12737 2002-01-16  Juergen Vigna  <jug@sad.it>
12738
12739         * tabular.C (GetAdditionalHeight): one of error fixed.
12740
12741         * lyxrc.C (output): small fix in writing use_pspell.
12742
12743 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * sp_base.h: #include LString.h
12746
12747 2002-01-16  Allan Rae  <rae@lyx.org>
12748
12749         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12750         Can someone check this please?
12751
12752         * text.C (drawInset): It was possible that p.row would be removed by
12753         breakAgainOneRow upsetting a few other settings.  There may be another
12754         small tweak possible by setting need_break_row = 0 when p.row has been
12755         removed but I don't know enough about the logic here.
12756
12757 2002-01-15  Allan Rae  <rae@lyx.org>
12758
12759         * text.C (insertChar): removed conditional truism.
12760
12761         * BufferView2.C (removeAutoInsets): More tweaks.
12762         cur_par_prev could be a stray pointer.  Check for trailing empty line
12763         in case last line was cur_par and only had an error inset on it.
12764
12765 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12766
12767         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12768         absolute
12769
12770         * vc-backend.C (most methods):
12771         * exporter.C (Export):
12772         * converter.C (convert):
12773         (runLaTeX):
12774         * LyXSendto.C (SendtoApplyCB):
12775         * lyxfunc.C (dispatch):
12776         (menuNew):
12777         (open):
12778         (doImport):
12779         * lyx_cb.C (AutoSave):
12780         (InsertAsciiFile):
12781         * BufferView_pimpl.C (MenuInsertLyXFile):
12782         * buffer.C (runChktex): use Buffer::filePath().
12783
12784         * buffer.h: rename filename to filename_; rename filepath to
12785         filepath_ and make it private
12786         (filePath): new method
12787
12788         * buffer.C (writeFile): use fileName()
12789         (getLatexName):
12790
12791         * lyx_main.C (init): fix starting  of LyX when the binary is a
12792         link from so,ewhere else.
12793
12794         * minibuffer.C: include <cctype> for isprint
12795
12796 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12799         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12800         name clash with InsetCollapsable's width function.
12801
12802 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12803
12804         * lastfiles.C: include <iterator>
12805
12806 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12809         std::count.
12810
12811         * buffer.C (makeLaTeXFile): ditto.
12812         Also make loop operation more transparent.
12813
12814 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12815
12816         * ToolbarDefaults.C: remove trailing comma closing namespace.
12817
12818         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12819
12820         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12821         as in WorkArea.
12822
12823         * trans.C (Load): comment out unused variable, allowed.
12824
12825 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12826
12827         * minibuffer.[Ch] (append_char): new method to recieve input from the
12828         drop-down completion browser. If a key was pressed, then recieve this
12829         char and append it to the existing string.
12830         (peek_event): modify the positioning data passed to the completion
12831         browser so that it can be placed above the minibuffer rather than below.
12832 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * LyXAction.C (init): alloe error-next for readonly documents.
12835
12836         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12837         count.
12838
12839 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12840
12841         * bufferlist.C (readFile): create the buffer _after_ checking that
12842         the file exists.
12843
12844         * lyxfunc.C (verboseDispatch): fix handling of arguments
12845
12846         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12847
12848         * lyxrc.C: use string::erase() instead of initializing to "".
12849
12850
12851 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * BufferView_pimpl.h:
12854         * BufferView_pimpl.C:
12855         * WorkArea.h:
12856         * WorkArea.C:
12857         * text2.C: tell X when we have made a selection for copying
12858
12859 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12860
12861         * BufferView_pimpl.C (MenuInsertLyXFile):
12862         * lyxfunc.C (menuNew):
12863         (open):
12864         (doImport): add shortcuts to directory buttons
12865
12866         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12867         open a float)
12868
12869         * lyxfunc.C (setStatusMessage):
12870         (getStatusMessage): new methods
12871         (getStatus):use setStatusMessage instead of setErrorMessage
12872         (dispatch): when function is disabled, set error message here
12873         [instead of in getStatus previously]
12874
12875         * BufferView_pimpl.C (workAreaButtonRelease): update
12876         toolbar/menubar here too.
12877
12878 2002-01-13  Allan Rae  <rae@lyx.org>
12879
12880         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12881         Now seems indestructible.  Remaining task is to audit all other
12882         code affected by deleteEmptyParagraphMechanism.  One small quirk
12883         left is that an empty document with an error in the preamble can
12884         be made to report an error but no error box appears.  I don't know
12885         where it goes.
12886         (removeAutoInsets): Improved comments.
12887
12888 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12889
12890         * Thesaurus.h:
12891         * Thesaurus.C: update for Aiksaurus 0.14
12892
12893 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * text2.C (firstParagraph): removed member function, all uses
12896         replaces with ownerParagraph
12897         (redoParagraphs): here
12898         (updateInset): here
12899         (toggleAppendix): here
12900         * BufferView2.C (insertErrors): here
12901         (setCursorFromRow): here
12902
12903 2002-01-13  Allan Rae  <rae@lyx.org>
12904
12905         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12906         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12907         There is still a way to segfault this although you may have to do this
12908         multiple times: Have an InsetERT with an unknown command in it.
12909         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12910         <down-arrow>, <Enter> again, View->DVI, BANG!
12911
12912         * text2.C (setCursor):
12913         (deleteEmptyParagraphMechanism):
12914         * lyxtext.h (setCursor):
12915         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12916         Making use of the return value may help fix other bugs.
12917
12918 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12921
12922         * LyXView.C (updateMenubar): call MenuBar::update here
12923         (updateToolbar): but not here
12924         (showState): do not update toolbar/menubar
12925
12926         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12927         should need to care about that.
12928
12929         * lyxfunc.C (verboseDispatch): simplify a bit
12930         (getStatus): have a version which takes a pseudoaction, and
12931         another which requires a (kb_action,string).
12932
12933         * LyXAction.C (retrieveActionArg): make it work also when action
12934         is not a pseudo-action.
12935         (getActionName): simplify a bit
12936         (helpText):
12937
12938 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12939
12940         * lyxfunc.C (verboseDispatch): new families of methods with
12941         several ways to specify a command and a bool to indicate whether
12942         the command name and shortcut should be displayed in minibuffer
12943         (eventually, we could extend that to a finer bitmask like
12944         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12945         (dispatch): the pristine dispatch command which just, well,
12946         dispatchs! Note it still sets its result to minibuffer; I'm not
12947         sure we want that.
12948
12949         * lyxfunc.h: remove setHintMessage
12950
12951         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12952
12953 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12954
12955         * BufferView_pimpl.C (specialChar): delete new inset if we have
12956         not been able to insert it.
12957
12958         * kbmap.C: revert to using int instead of kb_action, since all we
12959         are dealing with is pseudo-actions.
12960
12961         * LyXAction.C (searchActionArg): change to return int instead of
12962         kb_action, since the result is a pseudoaction.
12963
12964 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12965
12966         * buffer.C (insertErtContents): Fix (partially) the font bug.
12967
12968 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12969
12970         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12971         as the other one is broken on my machine!
12972
12973 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12974
12975         * commandtags.h:
12976         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12977
12978 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12981         reflect their actual use. Provide compatibility code for older lyxrc
12982         files.
12983
12984         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12985         FL_NORMAL_STYLE.
12986         change names of popup font variables in line with the changes to lyxrc.C
12987
12988 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12989
12990         * buffer.C (asciiParagraph): avoid outputing a word twice after
12991         an inset.
12992
12993         * lyxrc.C (getDescription): document that document_path and
12994         template_path can be empty.
12995
12996 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * LaTeXFeatures.C (getMacros):
12999         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13000
13001         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13002
13003         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13004         getPackages.
13005         (getPackages): rename feature "floats" to "float". Use an array to
13006         iterate over 'simple' features (i.e. just a \usepackage). Add
13007         handling of "amsmath" (renamed from "amsstyle").
13008
13009 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13010
13011         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13012         features list.
13013
13014 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13017         FuncStaus::FuncStatus & FuncStaus::some_method().
13018
13019 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13020
13021         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13022         of the func_satus stuff. Edited and massaged in various ways by
13023         JMarc.
13024
13025         * lyxfunc.C (getStatus): use FuncStatus
13026
13027 2002-01-08  Juergen Vigna  <jug@sad.it>
13028
13029         * text.C (nextBreakPoint): use function Inset::isChar().
13030
13031         * paragraph.C (TeXOnePar): use function
13032         Inset::forceDefaultParagraphs.
13033
13034         * buffer.C (latexParagraphs): use function
13035         Inset::forceDefaultParagraphs.
13036
13037 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13038
13039         * lyx_gui.C (init): set the style of the menu popups to
13040         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13041
13042 2002-01-07  Juergen Vigna  <jug@sad.it>
13043
13044         * text.C (setHeightOfRow): small fix
13045         (prepareToPrint): don't look at alignment if we don't have the place
13046         for doing it.
13047
13048 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13049
13050         * box.C: New file. Move the Box methods and functions out of box.h,
13051         following Lars' suggestion.
13052
13053 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13054
13055         * box.h: #include "support/LOstream.h", needed for inlined function.
13056
13057         * lyxtextclass.C:
13058         * lyxtextclasslist.C: added some using std declarations.
13059
13060 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * box.h: make signed dimensions to allow insets wider than
13063           the screen (bug #162)
13064
13065         * BufferView_pimpl.C: add some insetHit debug
13066
13067 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * vc-backend.C: add FIXME
13070
13071 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13072
13073         * lyxfunc.C (getStatus): enable code for showing math font status
13074         in toolbar/menu.
13075
13076 2002-01-07  Juergen Vigna  <jug@sad.it>
13077
13078         * text.C (nextBreakPoint): removed debug output not needed anymore.
13079
13080 2002-01-06  Juergen Vigna  <jug@sad.it>
13081
13082         * text.C (nextBreakPoint): fixed up this function we had this bug
13083         since ever but now hopefully we break row better.
13084         (insertChar): we have to check if an inset is the next char as it
13085         could now happen that a large inset is causing a break.
13086
13087 2002-01-05  Juergen Vigna  <jug@sad.it>
13088
13089         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13090         if it doesn't like to be drawed.
13091
13092 2002-01-04  Juergen Vigna  <jug@sad.it>
13093
13094         * BufferView2.C (lockInset): forgot to set a cursor.
13095
13096         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13097
13098 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13099
13100         * FormMathsPanel.C:
13101         * FormMathsPanel.h
13102         * MathsSymbols.C:
13103         * form_maths_panel.C:
13104         * form_maths_panel.h:
13105         * form_maths_panel.fd: implemented sub- and super- buttons in math
13106         panel.
13107
13108         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13109         (or ^ space) to be used as in TeX (req'd by André).
13110
13111         * lyxfunc.C: Allow ^ and _ again to be used both as
13112         super/subscript (mathed) and as themselves (in text).
13113
13114 2002-01-03  Allan Rae  <rae@lyx.org>
13115
13116         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13117         "LyX" or the filename of the current buffer if it has one.  This is a
13118         modified form of John Levon's patch.
13119
13120         * XFormsView.C (setWindowTitle): also set icon title.
13121
13122         * LyXView.h (setWindowTitle): signature changed.
13123         * XFormsView.h (setWindowTitle): ditto.
13124
13125 2002-01-02  Juergen Vigna  <jug@sad.it>
13126
13127         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13128
13129 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13130
13131         * screen.C (topCursorVisible): introduce a temp var for
13132         text->cursor.row(), handle the case where this row is null. (kindo
13133         hachish)
13134
13135         * text2.C (setCursor): add a couple of asserts.
13136
13137         * paragraph.h (inset_iterator): add -> operator
13138
13139         * paragraph.[Ch] (autoDeleteInsets): remove member function
13140
13141         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13142         cursor pos correctly and handle inset deletion by itself.
13143         (insertErrors): move iterator declaration out of for expression
13144
13145         * lyxtextclass.C: add <algorithm>
13146
13147         * Makefile.am: added the new files to sources, removed layout.C
13148
13149         * layout.C: removed file
13150
13151         * layout.h: remove LYX_DUMMY_LAYOUT
13152
13153         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13154         layout.
13155
13156         * lyxlayout.[Ch]:
13157         * lyxtextclass.[Ch]:
13158         * lyxtextclasslist.[Ch]: new files
13159
13160         * include order changes to a lot of files, also changes because of
13161         the six new files.
13162
13163 2001-12-27  Juergen Vigna  <jug@sad.it>
13164
13165         * buffer.C (asciiParagraph): more fixes.
13166
13167         * tabular.C (ascii): make ascii export support export of only the
13168         data separated by a column-delimiter.
13169         (ascii): better support for ascii export.
13170
13171         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13172
13173 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * tabular_funcs.C: use a "using std::getline" instead of the
13176         previous fix from Angus (necessary for cxx + lyxstring)
13177
13178 2001-12-24  Juergen Vigna  <jug@sad.it>
13179
13180         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13181
13182         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13183         problems. First check a minipage also if we have some ert-contents
13184         (not only on par->size(), second set the right depth of the paragraph
13185         on the relink to the root-paragraph-list!
13186
13187         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13188         which then did not anymore update the main paragraphs on undo/redo!
13189
13190 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13191
13192         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13193         code. Support all font-changing funcs (even those which are not in
13194         menu currently). Support for reporting font settings in
13195         mathed (disabled until Andre provides a function on mathed's side).
13196
13197         * func_status.h (toggle): small helper function to set toggle
13198         state on a flag.
13199
13200 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * tabular_funcs.C: getline -> std::getline
13203
13204 2001-12-21  Juergen Vigna  <jug@sad.it>
13205
13206         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13207         accessed and could be 0 (I couldn't generate this but it seems
13208         Michael could!).
13209
13210 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13213         * tabular_funcs.h: here and include iosfwd
13214
13215 2001-12-20  Juergen Vigna  <jug@sad.it>
13216
13217         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13218         inside inset but undo_par was.
13219
13220 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * Thesaurus.C: always include <config.h> in sources.
13223
13224         * Painter.h:
13225         * lyxlookup.h:
13226         * box.h: do not include <config.h> in header files
13227
13228         * text.C (paintLastRow): remove unused variable
13229
13230         * text.C (transformChar):
13231         (insertChar):
13232         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13233
13234         * Painter.C (text):
13235         * font.C (width): rewrite to use uppercase() instead of
13236         islower/toupper.
13237
13238         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13239
13240 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * lyxfind.C: clean up of find failure position change
13243
13244 2001-12-20  Juergen Vigna  <jug@sad.it>
13245
13246         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13247
13248         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13249         (TeXRow): added to LaTeX a single tabular row.
13250         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13251         (Latex): simplified and finally good LT-h/f support.
13252         (various_functions): just small adaptions for LT-h/f support.
13253
13254         * tabular_funcs.[hC]: added and moved here all not classfunctions
13255         of LyXTabular.
13256
13257 2001-12-19  Juergen Vigna  <jug@sad.it>
13258
13259         * tabular.[Ch]: better support for longtabular options (not finished
13260         yet!)
13261
13262 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13263
13264         * text.C (paintLastRow): use the label font instead of the font of
13265         the last character to compute the size of *_BOX. This makes more
13266         sense and avoids a crash with empty paragraphs.
13267         Use Painter::rectangle to draw EMPTY_BOX.
13268
13269 2001-12-19  Juergen Vigna  <jug@sad.it>
13270
13271         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13272         the paragraphs if the replaced paragraph is not the first one!
13273         Tried to delete not used paragraphs but does not work yet so for
13274         now it's inside #ifdef's and by default off!
13275
13276 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13277
13278         * MenuBackend.C: include "lyx_main.h" instead of declaring
13279         lastfiles (actually was declared as LastFiles* instead of a
13280         scoped_ptr).
13281
13282 2001-12-17  Juergen Vigna  <jug@sad.it>
13283
13284         * tabular.C (AppendColumn): applied John's fix
13285
13286 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * BufferView.h:
13289         * BufferView.C:
13290         * BufferView_pimpl.h:
13291         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13292
13293         * Makefile.am:
13294         * box.h: new start of class for above
13295
13296         * lyxfunc.C: ignore space-only minibuffer dispatches.
13297           Show the command name when it doesn't exist
13298
13299         * minibuffer.C: don't add empty lines to the history
13300
13301         * minibuffer.C: add a space on dropdown completion
13302
13303 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * text.C: fix line above/below drawing in insets
13306
13307 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * lyxlength.C (LyXLength): Initialize private variables.
13310
13311 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13314         when inserting error insets.
13315
13316 2001-12-13  Juergen Vigna  <jug@sad.it>
13317
13318         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13319         actually sometimes the before-paragraph.
13320         (setUndo): don't clear the redostack if we're not actually undoing!
13321
13322 2001-12-06  Juergen Vigna  <jug@sad.it>
13323
13324         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13325         and fixed redoing of main paragraph, so we can use it now ;)
13326
13327         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13328
13329 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13332         Juergen's request
13333
13334 2001-12-13  André Pönitz <poenitz@gmx.net>
13335
13336         * undostack.[Ch]:
13337         * undo_func.C: minor cleanup
13338
13339 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13340
13341         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13342         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13343         font in urw-fonts package which is marked as -urw-fontspecific and
13344         does not work (incidentally, changing the encoding in the
13345         fonts.dir of this package to -adobe-fontspecific fixes the
13346         problem).
13347
13348         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13349         is a crash when undoing first paragraph (Juergen, please take a
13350         look). THis does not mean the undo fix is wrong, just that it
13351         uncovers problems.
13352
13353         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13354         the (Paragraph*) version when needed instead of duplicating the
13355         code.
13356
13357         * text.C (workWidth): use Inset::parOwner to find out where the
13358         inset has been inserted. This is a huge performance gain for large
13359         documents with lots of insets. If Inset::parOwner is not set, fall
13360         back on the brute force method
13361
13362         * paragraph_pimpl.C (insertInset):
13363         * paragraph.C (Paragraph):
13364         (cutIntoMinibuffer): set parOwner of insets when
13365         inserting/removing them
13366
13367         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13368
13369 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13370
13371         * commandtags.h:
13372         * LyXAction.C:
13373         * lyx_main.C:
13374         * lyxfunc.C:
13375         * mathed/formulabase.C:
13376         * mathed/math_cursor.[Ch]:
13377         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13378
13379
13380 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * lyxlength.[Ch] (operator!=): new function
13383
13384 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
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-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13399
13400         * tabular-old.C (getTokenValue):
13401         * tabular.C (getTokenValue):
13402         (write_attribute): new versions for LyXLength
13403         (everywhere): adjust the use of widths
13404
13405         * tabular.h: change the type of widths from string to LyXLength
13406
13407 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13408
13409         * paragraph.C: fixed missing line number count when exporting
13410         Environments to LaTeX file
13411
13412         * buffer.C: added informational message for checking line numbers.
13413
13414 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13415
13416         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13417         paragraph, do the 'double space' part, but not the 'empty
13418         paragraph' one.
13419
13420         * text.C (workWidth): small optimization
13421         (getLengthMarkerHeight): use minimal size for negative lengths.
13422
13423 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13424
13425         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13426
13427         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13428
13429 2001-12-11  André Pönitz <poenitz@gmx.net>
13430
13431         * FontLoader.C:
13432         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13433
13434 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * text2.C: keep selection on a setFont()
13437
13438 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * lyx_cb.C: another bv->text misuse, from insert label
13441
13442 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * kbsequence.h:
13445         * kbsequence.C: re-instate nmodifier mask
13446
13447 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * lyx_main.h: make lyxGUI private.
13450
13451 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * lyxfind.C: place the cursor correctly on failed search
13454
13455 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13456
13457         * text.C (getLengthMarkerHeight): for small heights, the arrows
13458         are not always on top/bottom of the text
13459         (drawLengthMarker): smaller arrows; take the left margin in
13460         account; draw also vfills.
13461         (paintFirstRow):
13462         (paintLastRow): remove special code for vfill and standard spaces,
13463         since everything is handled in drawLengthMarker now.
13464
13465 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * buffer.C (insertErtContents): try to handle font and language
13468         interaction a bit better.g
13469
13470         * ColorHandler.C (updateColor): change the hash to cover the whole
13471         LColor enum, ws cleanup
13472         (getGCLinepars): ditto
13473         (getGCLinepars): only lookup in the linecache once.
13474
13475 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13476
13477         * iterators.C (operator++): Make the iterator more robust
13478
13479         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13480         (John's patch)
13481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13482
13483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * lyxtext.h:
13486         * text.C: better added space drawing
13487
13488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * LyXView.C:
13491         * BufferView2.C: fix layout combo update on inset unlock
13492
13493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * Makefile.am: don't compile unused files
13496
13497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * lyxfunc.C:
13500         * commandtags.h:
13501         * LyXAction.C: remove old LFUN_LAYOUTNO
13502
13503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * paragraph_pimpl.h:
13506         * paragraph_pimpl.C: isTextAt() doesn't need font param
13507
13508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * lyxlex.h:
13511         * lyxlex.C: little cleanup
13512
13513 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * BufferView_pimpl.C: fix insertAscii for insets
13516
13517 2001-12-05  Juergen Vigna  <jug@sad.it>
13518
13519         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13520         set the right font on the "multi" paragraph paste!
13521
13522 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * trans_decl.h:
13525         * trans_mgr.[Ch]:
13526         * trans.[Ch]:
13527         * lyxgluelength.C:
13528         * lyxlength.C: remove out-commented code.
13529
13530         * BufferView_pimpl:
13531         * CutAndPaste.C:
13532         * DepTable.C:
13533         * buffer.C:
13534         * chset.C:
13535         * lastfiles.C:
13536         * lyxlex.C:
13537         * lyxlex_pimpl.C:
13538         * lyxserver.C:
13539         * screen.C:
13540         * tabular-old.C:
13541         * tabular.C:
13542         * text.C:
13543         * trans_mgr.C:
13544         * vc-backend.C: change "while(" to "while ("
13545
13546         * lyxlength.[Ch]: add zero function to check if length is zero or
13547         not
13548         * lyxgluelength.C: use it
13549
13550 2001-12-05  Allan Rae  <rae@lyx.org>
13551
13552         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13553         Works for 2.95.3, from what I understand of Garst's reports this should
13554         work for other g++ versions.  We're screwed if the abs(int) definition
13555         changed between bugfix releases of gcc.
13556
13557 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13558
13559         * text.C: fix chapter label offset !
13560
13561 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * lyxtext.h:
13564         * text.C: fix hfill at end of line, clean up
13565
13566 2001-12-04  Juergen Vigna  <jug@sad.it>
13567
13568         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13569         that we force an update of the inset and it's owners if neccessary.
13570
13571 2001-12-03  Juergen Vigna  <jug@sad.it>
13572
13573         * text.C (rowLast): simplified code
13574
13575 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * lyxfunc.C: fix show options on timeout
13578
13579 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * screen.C (topCursorVisible): scroll half a page when the cursor
13582         reached top of bottom of screen
13583
13584 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * minibuffer.C: deactivate on loss of focus
13587
13588 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * vspace.[Ch] (operator!=): add operator.
13591
13592 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * BufferView_pimpl.C: refuse to open an inset when
13595         there's a selection.
13596
13597 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13598
13599         * BufferView_pimpl.C: allow to click on RHS of full row insets
13600
13601 2001-11-30  Juergen Vigna  <jug@sad.it>
13602
13603         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13604         insets for undo reasons.
13605
13606 2001-11-28  André Pönitz <poenitz@gmx.net>
13607
13608         * vspace.[Ch]: cosmetical changes
13609
13610 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * LyXAction.h:
13613         * LyXAction.C:
13614         * lyxfunc.h:
13615         * lyxfunc.C:
13616         * kbmap.h:
13617         * kbmap.C:
13618         * lyxrc.C:
13619         * kbsequence.h:
13620         * kbsequence.C: part re-write of old kb code
13621
13622         * Painter.C:
13623         * WorkArea.C: remove Lgb_bug_find_hack
13624
13625 2001-11-30  José Matos <jamatos@fep.up.pt>
13626
13627         * buffer.C (makeDocBookFile): add a comment to point a hack.
13628         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13629         Fixed a double write of labels.
13630
13631 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13632
13633         * LaTeX.C:
13634         * LaTeX.h Fixed bug in LaTeX class where it would not
13635         re-run latex if no depfiles were changed, but the .dvi was removed.
13636
13637 2001-11-28  André Pönitz <poenitz@gmx.net>
13638
13639         * all the files from the change on 2001/11/26:
13640         use lyx::layout_type instead of LyXTextClass::size_type
13641         use lyx::textclass_type instead of LyXTextClassList::size_type
13642
13643 2001-11-29  Juergen Vigna  <jug@sad.it>
13644
13645         * text.C: added support for paragraph::isFreeSpacing()
13646
13647         * buffer.C: same as above
13648
13649         * paragraph.h: inserted isFreeSpacing() function to enable
13650         FreeSpacing inside InsetERT.
13651
13652         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13653         of the paragraph's in the cut/copy buffer to 0!
13654
13655         * text2.C (removeRow): remove the assert as it can!
13656
13657         * lyxtext.h: added helper function firstRow returning firstrow and
13658         made firstrow private again.
13659
13660         * BufferView2.C (lockInset): don't relock if we're already locked!
13661
13662         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13663         the only paragraph.
13664         (removeRow): added Assert::(firstrow)
13665
13666         * debug.C: forgot to add INSETTEXT here.
13667
13668 2001-11-28  Juergen Vigna  <jug@sad.it>
13669
13670         * sp_spell.C (initialize): changed error text to more general
13671         spellchecker command use (not only ispell!)
13672
13673         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13674
13675         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13676
13677 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * vspace.C: initialise lyxgluelength on failure
13680
13681 2001-11-28  Allan Rae  <rae@lyx.org>
13682
13683         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13684         declaration & definition that looks like a function declaration.
13685
13686 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * BufferView2.C (copy):
13689         (copyEnvironment): do not clear the selection when doing a copy.
13690
13691         * text.C (paintFirstRow): compilation fix
13692
13693 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13694
13695         * tabular.C (Latex): correct line count when writing latex.
13696
13697 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * paragraph_pimpl.h:
13700         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13701           bug a bit
13702
13703 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * text.C:
13706         * LColor.h:
13707         * LColor.C: change vfillline->added_space
13708
13709         * text.C: add markers and text for added space
13710
13711         * vspace.C: fix comment
13712
13713 2001-11-28  André Pönitz <poenitz@gmx.net>
13714
13715         * paragraph.C: whitespace changes
13716         * all the other files from the change on 2001/11/26:
13717         change *::pos_type into lyx::pos_type
13718
13719 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13720
13721         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13722         language of the document when inserting error insets.
13723
13724 2001-11-26  André Pönitz <poenitz@gmx.net>
13725
13726         * BufferView_pimpl.[Ch]:
13727         *       CutAndPaste.C:
13728         * buffer.[Ch]:
13729         * lyxcursor.[Ch]:
13730         * lyxfind.C:
13731         * lyxfunc.C:
13732         * lyxrow.[Ch]:
13733         * paragraph.[Ch]:
13734         * paragraph_pimpl.[Ch]:
13735         * sp_spell.C:
13736         * text.C:
13737         * text2.C: reduce header dependencies, introduce type for positions
13738
13739 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * <various>: change to use Alert.h
13742
13743 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13744
13745         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13746         when encountering an unknown token.
13747         (readLyXformat2): Show an error message if there were unknown tokens.
13748
13749 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13750
13751         * BufferView2.C:
13752         * BufferView_pimpl.C:
13753         * buffer.C:
13754         * paragraph.h:
13755         * text.C:
13756         * text2.C: use par->isInset()
13757
13758 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * paragraph_pimpl.h:
13761         * paragraph_pimpl.C: cleanup
13762
13763 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * text2.C (removeRow):
13766         * text.C (setHeightOfRow): remove useless (and costly) call to
13767         getRow.
13768
13769 2001-11-20  Allan Rae  <rae@lyx.org>
13770
13771         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13772         Now need Inset*::checkInsertChar() to return true for appropriate
13773         cases so that the characters in the minibuffer will actually be
13774         inserted.
13775
13776 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * text.C: change the order of the includes.
13779         (workWidth): initialize it at once.
13780         (workWidth): make maxw unsigned
13781         (setHeightOfRow): remove unused variable (inset)
13782         (selectSelectedWord): remove unused variable (inset)
13783         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13784
13785 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13788         server is not running.
13789         (openConnection):
13790         (closeConnection): add debug info when server is disabled.
13791
13792         * ColorHandler.C (getGCForeground): send debug message to GUI
13793         channel.
13794
13795         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13796
13797         * kbmap.C (bind): modify because return conventions of
13798         kb_sequence::parse have changed.
13799
13800         * kbsequence.C (parse): only ignore spaces and not any stupid
13801         control character. This avoids tests like s[i] <= ' ', which are
13802         guaranteed to fail with 8bit characters and signed chars.
13803         Change return code to string::npos when there have been no error
13804         (0 was a bad idea when error is at first character)
13805
13806 2001-11-14  José Matos  <jamatos@fep.up.pt>
13807
13808         * buffer.h:
13809         * buffer.C (simpleDocBookOnePar): removed unused argument.
13810
13811 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13814         insets which are part of a word. Paragraph::isLetter takes care of
13815         that now. Use Paragraph::isInset to identify insets.
13816         (selectSelectedWord): do not test for hyphenation break.
13817
13818         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13819         that protected spaces are considered as spaces.
13820
13821         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13822         Inset::isLetter.
13823
13824 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13825
13826         * lyxserver.h:
13827         * lyxserver.C: fix it. and small cleanup.
13828
13829 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * BufferView_pimpl.C: use inline helpers
13832
13833         * LaTeXFeatures.h:
13834         * LaTeXFeatures.C: fix typos
13835
13836         * Spacing.h:
13837         * Spacing.C: move spacing_string into class
13838
13839         * ToolbarDefaults.C: move stuff into namespace anon
13840
13841         * layout.h: update enum
13842
13843         * lyxfunc.C: use better debug
13844
13845         * minibuffer.h: fix typo
13846
13847         * debug.h:
13848         * debug.C:
13849         * WorkArea.C: add and use Debug::WORKAREA
13850
13851         * lyxtext.h:
13852         * text.C:
13853         * text2.C: code re-organisation, inline helpers
13854
13855 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13856
13857         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13858         std::vector.empty().
13859
13860 2001-11-09  Allan Rae  <rae@lyx.org>
13861
13862         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13863         '\n's after tables.  Tabular and ERT inset work now makes this no
13864         longer necessary.
13865
13866 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * minibuffer.h:
13869         * minibuffer.C: fix crash, improve drop-down completion
13870
13871 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * lyxserver.h:
13874         * lyxserver.C: invalidate fd's when doing endPipe()
13875
13876 2001-11-08  José Matos  <jamatos@fep.up.pt>
13877
13878         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13879         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13880
13881         * paragraph.h:
13882         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13883
13884 2001-11-07  José Matos  <jamatos@fep.up.pt>
13885
13886         * buffer.h:
13887         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13888         const qualifier.
13889
13890         * buffer.C (sgmlOpenTag):
13891         * buffer.C (sgmlCloseTag): removed debug info.
13892
13893         * buffer.h (sgmlOpenTag):
13894         * buffer.h (sgmlCloseTag): made public.
13895
13896 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * buffer.C (saveParamsAsDefaults):
13899         * lyx_cb.C (MenuLayoutSave): remove
13900
13901         * LyXAction.C (init):
13902         * commandtags.h:
13903         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13904
13905 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * buffer.C (setPaperStuff): removed from here...
13908
13909         * bufferparams.C (setPaperStuff): ... and moved there.
13910
13911 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * minibuffer.h:
13914         * minibuffer.C:
13915         * XFormsView.C: add support for drop-down completion
13916
13917 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13918
13919         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13920         commands.
13921
13922 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13925         disabled.
13926
13927 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * lyx_main.C: change ref to known bugs
13930
13931 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13932
13933         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13934         to work around older babel problems.
13935
13936 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13937
13938         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13939
13940 2001-10-24  Juergen Vigna  <jug@sad.it>
13941
13942         * tabular-old.C (ReadOld): below variable changes reflected.
13943
13944         * tabular.[Ch]: added ltType struct for longtable header/footer
13945         defines and changed all instances where they are used. Added
13946         future support for double top/bottom rows.
13947
13948 2001-10-24  José Matos  <jamatos@fep.up.pt>
13949
13950         * buffer.h (docbookHandleCaption):
13951         * buffer.C (docbookHandleCaption): removed unused function.
13952         (makeDocBookFile): moved docbook supported version to v4.1.
13953
13954 2001-10-24  José Matos  <jamatos@fep.up.pt>
13955
13956         * tabular.h:
13957         * tabular.C (docbookRow): new function to export docbook code of a row.
13958         (DocBook): now honors the longtable flags.
13959
13960 2001-10-23  José Matos  <jamatos@fep.up.pt>
13961
13962         * LaTeXFeatures.h:
13963         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13964         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13965
13966         * buffer.C (makeLinuxDocFile):
13967         (makeDocBookFile): reworked the preamble, more clean, and with
13968         support for lyx defined entities. Changed the document declaration
13969         to be more XML friendly.
13970
13971         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13972         if we need to output XML that should be done with a filter.
13973
13974 2001-10-22  Juergen Vigna  <jug@sad.it>
13975
13976         * sp_pspell.h (class PSpell): add alive function needed in the
13977         controller to see if the spellchecker could be started.
13978
13979 2001-10-22  Juergen Vigna  <jug@sad.it>
13980
13981         * buffer.C (insertStringAsLines): modify the font for inserting
13982         chars in certain conditions by calling checkInsertChar(font).
13983
13984 2001-10-19  Juergen Vigna  <jug@sad.it>
13985
13986         * text.C (workWidth): use getRow instead of wrong algorithm.
13987         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13988
13989 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * lyxserver.h:
13992         * lyxserver.C:
13993         * lyx_main.h:
13994         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13995
13996 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * text.C (workWidth): do not search for the exact row when
13999         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14000         optimization for big documents.
14001
14002 2001-10-18  Juergen Vigna  <jug@sad.it>
14003
14004         * text.C (workWidth): new function with added Inset * parameter.
14005
14006 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14007
14008         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14009
14010         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14011         change return type of getColumnNearX.
14012
14013
14014         * text.C (changeRegionCase): use uppercase/lowercase instead of
14015         toupper/tolower.
14016         (leftMargin):
14017         (rightMargin): simplify code by factoring out the uses of
14018         textclasslist.
14019         (labelFill):
14020         (numberOfHfills):
14021         (setHeightOfRow):
14022         (appendParagraph): use Paragraph::size_type
14023
14024 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14025
14026         * vspace.C (asLatexString): add a missing break
14027
14028 2001-10-15  Herbert Voss  <voss@perce.de>
14029
14030         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14031
14032 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14035         is not available.
14036
14037 2001-10-10  André Pönitz <poenitz@gmx.net>
14038
14039         * lyxfunc.C: removed greek_kb_flag.
14040
14041 2001-10-10  Herbert Voss  <voss@perce.de>
14042
14043         * lyx_main.C: delete global string help_lyxdir.
14044
14045 2001-10-09  Herbert Voss  <voss@perce.de>
14046
14047         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14048
14049         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14050
14051         * lyx_main.C: added global string help_lyxdir.
14052
14053         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14054
14055 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14056
14057         * lyxrc.C (set_font_norm_type): support iso8859-4
14058
14059 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14060
14061         * LaTeX.C (deplog): add another regex for MikTeX
14062
14063 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14064
14065         * lyxrc.C (set_font_norm_type): support iso8859-3
14066
14067 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14068
14069         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14070
14071         * LaTeXFeatures.C: remove special case of french and index
14072
14073         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14074         before \begin{document}). This solves several incompatibilities.
14075
14076 2001-10-03  Garst Reese  <reese@isn.net>
14077
14078         * lyx_cb.C: change CheckTex error msg.
14079
14080 2001-10-03  José Matos  <jamatos@fep.up.pt>
14081
14082         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14083
14084 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085
14086         * .cvsignore: update
14087
14088         * lyx_main.C (commandLineVersionInfo): use new style version info.
14089
14090         * buffer.C (writeFile):
14091         (makeLaTeXFile):
14092         (makeLinuxDocFile):
14093         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14094
14095         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14096
14097         * version.h: update to use stuff in version.C
14098
14099         * version.C.in: new file. Contains version information determined
14100         at compile time. This is a merging of version.h and
14101         version_info.h.in.
14102
14103 2001-10-03  Juergen Vigna  <jug@sad.it>
14104
14105         * BufferView_pimpl.C (update): don't change "dirty" status in
14106         updateInset call.
14107
14108 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * WorkArea.C (c-tor): re-position version string slightly.
14111
14112 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14115         revert to previous code.
14116
14117         WorkArea.[Ch]: (show, destroySplash): methods removed.
14118
14119         WorkArea.C: rework code so that it's an amalgam of the codes before and
14120         after the splash screen was moved to WorkArea.
14121
14122 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14123
14124         * lyxrc.C (read):
14125         * vspace.C (inPixels):
14126         (lyx_advance):
14127         * kbmap.C (bind):
14128         * buffer.C (insertStringAsLines):
14129         (asciiParagraph): fix types to be large enough
14130
14131         * lyxlex_pimpl.h: change member status from short to int
14132
14133         * layout.h: fix type of endlabeltype
14134
14135         * kbmap.C (bind):
14136         * kbsequence.C (parse): change return type to string::size_type
14137
14138         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14139         variable
14140
14141         * Bullet.C (bulletSize):
14142         (bulletEntry): do not use short ints as parameters
14143
14144         * BufferView2.C (insertLyXFile): change a char to an int.
14145
14146         * WorkArea.C (WorkArea): remove unneeded floats in computation
14147
14148 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14151
14152         * paragraph.C (asString): Do not ignore newline/hfill chars when
14153         copying to the clipboard.
14154
14155 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14156
14157         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14158         after a multi-line inset.
14159
14160 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * paragraph.C (validate): Set NeedLyXFootnoteCode
14163
14164 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14167         and decrease-error to decrease.
14168
14169 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14172         it more readable (should be equivalent)
14173
14174 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14175
14176         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14177
14178 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14179
14180         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14181         of a cursor (row, etc.) after a character has been deleted
14182         (deleteEmptyParagraphMechanism): call the method above on _all_
14183         cursors held by the LyXText when a double space has been
14184         detected/deleted.
14185
14186 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14189         pixmap.
14190         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14191
14192         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14193         background. Use greyOut() and the new show() methods to toggle between
14194         the foreground and background. Add code to remove the splash after
14195         its initial showing.
14196
14197         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14198         (create_forms): no longer call Dialogs::showSplash.
14199
14200 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * .cvsignore: add version_info.h
14203
14204 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * version_info.h.in: new file
14207
14208         * Makefile.am: add version_info.h.in
14209
14210         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14211         version_info.h instead of VERSION_INFO
14212
14213 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14214
14215         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14216         The ERT inset now returns string().
14217
14218 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         * lyxtext.h, text.C (selectNextWord): renamed as
14221         selectNextWordToSpellcheck.
14222
14223         * text.C (selectNextWordToSpellcheck): Modified to not select
14224         words inside an ERT inset.
14225
14226 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * lyx_cb.C (MenuLayoutSave): change a bit the question
14229
14230         * sp_base.h: include <sys/types.h>
14231
14232 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14233
14234         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14235
14236 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14237
14238         * several files: fix typos in user-visible strings
14239
14240 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * text2.C (pasteSelection): do not set the selection, since it
14243         will be cleared later. Actually, the intent was to fix the way the
14244         selection was set, but I figured rmoving the code was just as good.
14245
14246 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14247
14248         * FontLoader.C (available): Check if font is available without
14249         loading the font.
14250
14251 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14252
14253         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14254
14255 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14256
14257         * lyxrc.[Ch]: added display_graphics variable and associated code.
14258
14259 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * bufferparams.C (hasClassDefaults): new method. Returns true if
14262         the buffer parameters correspond to known class defaults
14263
14264 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14265
14266         * XFormsView.C (show): set minimum size to the main window.
14267
14268 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * text2.C (copySelection):
14271         (cutSelection):
14272         * lyxfind.C (LyXReplace):
14273         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14274         LyXText::selectionAsString.
14275
14276         * paragraph.C (asString): add "label" argument to the second form
14277
14278         * text2.C (selectionAsString): add "label" argument and pass it to
14279         Paragraph::asString.
14280
14281 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * lyx_main.C (commandLineHelp): remove version information
14284
14285 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14286
14287         * lyx_main.C: add -version commandline option
14288
14289 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * paragraph.h: make the optional constructor arg required instead.
14292         some modifications to other files because of this.
14293
14294         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14295
14296         * lyxserver.C (C_LyXComm_callback): make it static
14297
14298         * lyx_main.C (error_handler): make it static
14299
14300         * lyx_gui.C (LyX_XErrHandler): make it static
14301
14302         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14303
14304         * WorkArea.C: make the extern "C" methods static.
14305
14306         * Makefile.am (lyx_LDADD): simplify
14307
14308 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14311         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14312
14313         * LyXAction.C (init):
14314         * lyxfunc.C (dispatch): associated code removal.
14315
14316 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * lyxfont.h (isSymbolFont): shut off warning
14319
14320         * text.C (setHeightOfRow):
14321         (getVisibleRow): fix crash with empty paragraphs which have a
14322         bottom line
14323
14324 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14325
14326         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14327         code.
14328
14329 2001-09-04  José Matos  <jamatos@fep.up.pt>
14330         * buffer.C
14331         * buffer.h
14332         * tabular.C (docbook): rename docBook method to docbook.
14333
14334 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         * Makefile.am: add dependencies to main.o.
14337
14338 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * FontLoader.C (available): Return false if !lyxrc.use_gui
14341
14342 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14343
14344         * FontInfo.C (query):
14345         * converter.C (view):
14346         * importer.C (Import):
14347         * exporter.C (Export): Can not -> cannot.
14348
14349 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * BufferView_pimpl.C: allow to create index inset even if
14352           string is empty
14353
14354 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * buffer.C (getLists): replace boost::tie code with an explicit pair
14357         as boost::tie can break some compilers.
14358
14359         * iterators.h: Added a std:: declaration to the return type of
14360         ParIterator::size.
14361
14362 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14365           case.
14366
14367 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14368
14369         * iterators.[Ch]: New files. Provide paragraph iterators.
14370
14371         * buffer.C (changeLanguage): Use paragraph iterators.
14372         (isMultiLingual): ditto
14373
14374         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14375
14376 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * FontLoader.C: Support for cmr font.
14379
14380 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14383         (available): New method.
14384
14385         * FontInfo.C (getFontname): Use scalable fonts even when
14386         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14387         found.
14388
14389 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14390
14391         * converter.C (Formats::view): reverted! Incorrect fix.
14392
14393 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * converter.C (Formats::view): only output the -paper option
14396         if the dvi viewer is xdvi, thereby fixing bug #233429.
14397
14398 2001-08-23  Herbert Voss  <voss@perce>
14399
14400         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14401
14402 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * Spacing.h (Spacing): Set space to Default on in the default
14405         constructor.
14406
14407 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * vc-backend.h (RCS::versionString): add RCS to version
14410         (CVS::versionString): add CVS to version
14411
14412         * vc-backend.C (scanMaster): do not add CVS to version.
14413         (scanMaster): do not add RCS to version
14414
14415         * lyxvc.C (versionString): new method
14416
14417         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14418
14419 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * Spacing.C (set): initialize fval
14422
14423 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14424
14425         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14426         " or \.
14427
14428 2001-08-16  Juergen Vigna  <jug@sad.it>
14429
14430         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14431
14432 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14433
14434         * BufferView_pimpl.C:
14435         * figureForm.C:
14436         * lyxtext.h:
14437         * text2.C: setParagraph takes linespacing now
14438
14439 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14440
14441         * LyxAction.C: add internal LFUN_CITATION_INSERT
14442
14443         * LyXView.C: actually apply fix
14444
14445         * bufferlist.C: fix open non-existent file
14446
14447         * lyxfind.C: fix indentation
14448
14449         * lyxfunc.C: remove unneeded assert, fix typo
14450
14451 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14452
14453         * MenuBackend.C: use "Floatname List"
14454
14455 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14456
14457         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14458         when converting LaTeX layout to insetERT.
14459         Generate a non-collapsed float when reading old float
14460
14461 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14462
14463         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14464         ERT insets.
14465
14466 2001-08-13  Juergen Vigna  <jug@sad.it>
14467
14468         * text.C (fill): return 0 instead of 20 as this seems to be the more
14469         correct value.
14470
14471 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14472
14473         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14474         lyxrc.font_norm.
14475
14476 2001-08-13  Juergen Vigna  <jug@sad.it>
14477
14478         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14479         casesensitive off.
14480         (SearchBackward): comment out the unlocking of the inset_owner this
14481         should not be needed!
14482
14483 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14484
14485         * Many files: Remove inherit_language, and add latex_language
14486
14487         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14488         collapsible insets.
14489
14490 2001-08-10  Juergen Vigna  <jug@sad.it>
14491
14492         * text.C (prepareToPrint): fixed hfill-width in draw!
14493
14494         * BufferView2.C (selectLastWord): save the selection cursor as this
14495         now is cleared in the function LyXText::clearSelection!
14496
14497 2001-08-08  Juergen Vigna  <jug@sad.it>
14498
14499         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14500         BACKSPACE type functions.
14501
14502         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14503         is only cutted from the document but not put in the cut-buffer, where
14504         still the old stuff should be.
14505
14506         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14507
14508         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14509
14510         * tabular.C (SetWidthOfCell): fixed special case where the width
14511         was not updated!
14512         (LeftLine): handle '|' in align_special.
14513         (RightLine): ditto
14514         (LeftAlreadyDrawed): ditto
14515         (SetWidthOfCell): ditto
14516
14517 2001-08-07  Juergen Vigna  <jug@sad.it>
14518
14519         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14520
14521 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14524         * lyxlex.[hC]: ditto
14525
14526 2001-08-06  Juergen Vigna  <jug@sad.it>
14527
14528         * text.C (getVisibleRow): fix up row clearing a bit.
14529
14530 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * minibuffer.C: make sure the X server sees the changes in the input.
14533
14534 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * paragraph.C (getFont): split into...
14537         (getLabelFont): this
14538         (getLayoutFont): and this
14539         * paragraph_pimpl.C (realizeFont): calling this
14540
14541         * text2.C (getFont): split into...
14542         (getLayoutFont): this
14543         (getLabelFont): and this
14544         (realizeFont): all three calling this
14545
14546         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14547         files where used.
14548
14549 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14552
14553 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14554
14555         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14556         layouts from the Quote inset insertion.
14557
14558 2001-08-03  Juergen Vigna  <jug@sad.it>
14559
14560         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14561
14562         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14563         only if status not is already CHANGED_IN_DRAW (second level).
14564
14565         * text.C (draw): don't set the need_break_row when inside an
14566         InsetText LyXText.
14567
14568 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * buffer.C (parseSingleLyXformat2Token): handle more latex
14571         conversion cases.
14572
14573         * bufferview_funcs.[hC]: change function names to
14574         begin with small char, adjust other files.
14575
14576 2001-08-02  André Pönitz <poenitz@gmx.net>
14577
14578         * lyxfunc.C:
14579         BufferView_pimpl.C: remove broken special code for math-greek
14580
14581 2001-08-02  Juergen Vigna  <jug@sad.it>
14582
14583         * BufferView_pimpl.C (update): redone this function so that we
14584         update the text again if there was a CHANGE_IN_DRAW.
14585
14586         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14587         (drawFromTo): added a new internal bool which is used by draw() and
14588         redraw() function.
14589         (general): some cursor drawing problems fixed.
14590
14591 2001-08-01  Juergen Vigna  <jug@sad.it>
14592
14593         * lyxfind.C (LyXFind): fixed
14594         (SearchForward): ditto
14595         (SearchBackward): ditto
14596
14597         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14598         spurius drawing of the cursor in the main area.
14599
14600         * text2.C (status): small fix which could lead to a segfault!
14601         (clearSelection): remove unneeded BufferView param.
14602
14603 2001-08-01  André Pönitz <poenitz@gmx.net>
14604
14605         * lyxfunc.C: small change due to changed mathed interface
14606
14607 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14610
14611 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14612
14613         * lyxfunc.c: fail gracefully if file doesn't exist
14614
14615         * LyXSendto.C:
14616         * buffer.C:
14617         * lyxfunc.C:
14618         * BufferView_pimpl.C: IsDirWriteable() proto changed
14619
14620         * LyXView.C: fix updateWindowTitle() to store the last title
14621
14622 2001-07-31  Juergen Vigna  <jug@sad.it>
14623
14624         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14625         the font (wrong since using of Paragraph::highestFontInRange).
14626
14627         * paragraph.C (highestFontInRange): added a default_size parameter.
14628
14629         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14630         (setHeightOfRow): reformat
14631
14632 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14633
14634         * converter.[hC] + affected files: move to (inital-char)lowercase
14635         function names.
14636
14637         * ParagraphParameters.C (ParagraphParameters): remove commented code
14638
14639         * PainterBase.[Ch]: remove commented code
14640
14641         * LaTeXFeatures.h: add "bool floats" for float.sty
14642
14643         * LaTeXFeatures.C (LaTeXFeatures): init floats
14644         (require): handle float
14645         (getPackages): do it with floats
14646
14647 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * BufferView_pimpl.C (Dispatch): improve handling of
14650         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14651
14652         * commandtags.h: #include lyxfont.h here temporarily to avoid
14653         keybinding bug.
14654
14655         * bufferlist.h: include LString.h here.
14656
14657 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * text2.C (getStringToIndex): new method.
14660
14661 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14662
14663         * *: Reduced header file dependencies all over.
14664
14665 2001-07-30  Baruch Even  <baruch@lyx.org>
14666
14667         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14668
14669 2001-07-29  Baruch Even  <baruch@lyx.org>
14670
14671         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14672
14673 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14674
14675         * ParameterStruct.h (endif): add a default constructor to make
14676         sure that all variables is initialized.
14677
14678         * ParagraphParameters.C (ParagraphParameters): adjust
14679
14680 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14681
14682         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14683         index; also, check that there is something to index, and that it
14684         does not span over several paragraphs.
14685         (doubleClick): use WHOLE_WORD_STRICT for double click.
14686
14687         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14688
14689         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14690         scheme.
14691
14692 2001-07-26  Baruch Even  <baruch@lyx.org>
14693
14694         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14695         an InsetFig figure, backwards compatible reading of old figure code.
14696
14697 2001-07-27  Juergen Vigna  <jug@sad.it>
14698
14699         * text2.C: font.realize function adaption.
14700
14701         * text.C (draw): add a warnings lyxerr text if needed.
14702
14703         * layout.C: font.realize function adaption.
14704
14705         * language.C: add inherit_language and implement it's handlings
14706
14707         * bufferview_funcs.C (StyleReset): remove language parameter from
14708         font creation (should be language_inherit now).
14709
14710         * bufferparams.C (writeFile): handle ignore_language.
14711
14712         * paragraph.C (getFontSettings): the language has to be resolved
14713         otherwise we have problems in LyXFont!
14714
14715         * lyxfont.C (lyxWriteChanges): added document_language parameter
14716         (update): removed unneeded language parameter
14717
14718         * paragraph.C (validate): fixed wrong output of color-package when
14719         using interface colors for certain fonts in certain environments,
14720         which should not seen as that on the final output.
14721
14722 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * BufferView_pimpl.C:
14725         * Thesaurus.h:
14726         * Thesaurus.C:
14727         * Makefile.am:
14728         * commandtags.h:
14729         * LyXAction.C: add thesaurus support
14730
14731         * lyxfind.h:
14732         * lyxfind.C: add "once" parameter, for thesaurus, to not
14733           move to the next match
14734
14735 2001-07-26  Juergen Vigna  <jug@sad.it>
14736
14737         * lyxfont.C (realize): honor ignore_language too!
14738         (resolved): ditto.
14739
14740         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14741
14742         * text.C (draw): one place more for ignore_language to not draw
14743         itself!
14744
14745 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14746
14747         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14748
14749 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14752         the minipage conversion problem.
14753
14754 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14757         insert an inset.
14758
14759 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14760
14761         * BufferView.h: don't forward declare WorkArea
14762
14763         * BufferView.C: don't include WorkArea.h
14764
14765 2001-07-25  André Pönitz <poenitz@gmx.net>
14766
14767         * commandtags.h:
14768         * LyXAction.C:
14769         * lyxfunc.C:  new LFUN 'math-space'
14770
14771         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14772
14773 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * text2.C (toggleInset): call open/close
14776
14777 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14778
14779         * lyxfunc.C (dispatch): add debug for the disabled case
14780
14781         * font.C (buttonText): make similar to rectText
14782
14783         * buffer.C (readInset): comment out parsing of insetlist and
14784         insttheorem
14785
14786         * PainterBase.C (rectText): small correction
14787
14788         * BufferView_pimpl.C: comment out insettheorem and insetlist
14789         * LyXAction.C: ditto
14790         * commandtags.h: ditto
14791
14792 2001-07-24  Juergen Vigna  <jug@sad.it>
14793
14794         * text.C (draw): honor the ignore_language.
14795
14796         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14797
14798 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14801         char inset.
14802
14803 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14804
14805         * lyxtext.h: remove unused (and unimplemented) methods
14806
14807 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14808
14809         * text.C (getVisibleRow): honor background color
14810
14811         * PainterBase.h:
14812         * Painter.h: remove default color argument for fillRectangle
14813
14814         * text.C (backgroundColor): new method
14815
14816 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * text.C (getVisibleRow): adjust
14819
14820         * font.[Ch] (rectText): new method, metrics
14821         (buttonText): new method, metrics
14822
14823         * PainterBase.[hC]: make rectText and buttonText always draw and take
14824         fewer paramteres.
14825
14826 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14827
14828         * ToolbarDefaults.C (read):
14829         * MenuBackend.C (read): allow escaping in all strings
14830
14831         * BufferView_pimpl.C (insertAndEditInset): new method.
14832         (Dispatch): use insertAndEditInset whenever appropriate.
14833
14834         * BufferView_pimpl.C (insertNote): removed
14835
14836         * BufferView_pimpl.C (smartQuote): new method, moved from
14837         BufferView; if an insetquote cannot be inserted, insert a '"'
14838         character instead.
14839
14840         * BufferView2.C: remove insertCorrectQuote();
14841
14842         * lyxfunc.C (getStatus): Add support for all remaingin
14843         inset-insert lfuns.
14844
14845         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14846
14847         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14848         command (necessary to pass " as parameter of self-insert.
14849
14850         * text.C (selectWordWhenUnderCursor):
14851         (selectWord): add word_location parameter
14852         (selectWordWhenUnderCursor): same + remove special code for word
14853         boundary.
14854         (selectNextWord): use kind() to guess type of insetspecialchar,
14855         not latex().
14856
14857         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14858         (insertErtContents): create ert insets as collapsed.
14859         (readInset): better compatibility code for Info inset.
14860
14861 2001-07-20  Juergen Vigna  <jug@sad.it>
14862
14863         * lyxfunc.C (dispatch): use always LyXFind now!
14864
14865         * text2.C (init): add a reinit flag so that the LyXText can be
14866         reinited instead of deleted and reallocated (used in InsetText).
14867
14868         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14869
14870         * text.C: ditto
14871
14872         * text2.C: ditto
14873
14874 2001-07-18  Juergen Vigna  <jug@sad.it>
14875
14876         * text.C (selectNextWord): handle insets inside inset by calling
14877         always the bv->text functions so that we can go up the_locking_inset!
14878
14879         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14880         in strange locations when inside an inset!
14881
14882         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14883         handling to include insets.
14884
14885         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14886
14887 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * LyXAction.C (init):
14890         * commandtags.h:
14891         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14892         LIGATURE_BREAK, since the name is so stupid.
14893
14894 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14895
14896         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14897         InsetInfos.
14898
14899         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14900
14901         * sp_form.[Ch]: remove.
14902
14903         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14904
14905         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14906         InsetInfo.
14907
14908         * src/buffer.C (readInset): ditto.
14909
14910 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14911
14912         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14913         menuSeparator(), endOfSentenceDot(), ldots() and
14914         hyphenationPoint(), which are therefore removed.
14915         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14916
14917         * LyXAction.C (init):
14918         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14919
14920         * paragraph.C (getWord): removed.
14921
14922         * BufferView_pimpl.C (Dispatch): use last word or selection for
14923         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14924
14925         * lyx_main.C (queryUserLyXDir): do not ask before creating
14926         user_dir, except if it has been named explicitely.
14927
14928 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14929
14930         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14931         a document of zero size.
14932
14933 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14934
14935         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14936         approriately in the c-tor and in require().
14937         (getPackages): output the appropriate LaTeX for natbib support.
14938
14939         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14940         variables "use_natbib" and "use_numerical_citations" when reading the
14941         LyX file.
14942         (readInset): read the various natbib cite commands.
14943         (validate): white-space change.
14944
14945         * bufferparams.[Ch]: new variables "bool use_natbib" and
14946         "bool use_numerical_citations".
14947         (writeFile): output them in the LyX file.
14948
14949 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14950
14951         * lyxfunc.C (getStatus): add support for all the inset insertion
14952         commands.
14953
14954         * text2.C (insertInset):
14955         * paragraph.C (insetAllowed):
14956         * BufferView_pimpl.C (insertInset): update to take in account the
14957         renaming of insertInsetAllowed
14958
14959         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14960
14961         * text2.C (getInset): new method. returns inset at cursor position.
14962
14963         * BufferView_pimpl.C (Dispatch): changes because of this.
14964
14965         * LyXAction.C (init): rename open-stuff to inset-toggle.
14966
14967         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14968
14969         * text2.C (toggleInset): renamed from openStuff; use
14970         Inset::open().
14971
14972 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14973
14974         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14975
14976         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14977
14978 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * buffer.C (readLyXformat2): Add filename to the error dialog
14981
14982 2001-07-18  Juergen Vigna  <jug@sad.it>
14983
14984         * tabular.C (GetCellNumber): put an assert here instead of the check!
14985
14986 2001-07-17  Juergen Vigna  <jug@sad.it>
14987
14988         * BufferView_pimpl.C (toggleSelection): adapted too.
14989
14990         * text.C (selectNextWord): adapted for use with insets.
14991         (selectSelectedWord): ditto
14992
14993 2001-07-17  Juergen Vigna  <jug@sad.it>
14994
14995         * sp_spell.C (PSpell): fix initialitation order.
14996
14997 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * paragraph.C: spacing
15000
15001 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15002
15003         * sp_spell.C: repair language selection for pspell
15004
15005 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15006
15007         * lyxfunc.h: change more methods to begin with lower char.
15008
15009 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15010
15011         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15012         for unknown layouts.
15013
15014 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15015
15016         * buffer.C (readLyXformat2): Generate an error dialog if there are
15017         unknown layouts.
15018
15019 2001-07-16  Juergen Vigna  <jug@sad.it>
15020
15021         * sp_spell.C: always compile ISpell part.
15022
15023         * lyxrc.C: added use_pspell entry and it's handling.
15024
15025 2001-07-13  Juergen Vigna  <jug@sad.it>
15026
15027         * sp_spell.C: removed double includes.
15028
15029 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15030
15031         Consistent use of Lsstream.h:
15032         * Lsstream.h: added using std::stringstream for consistencies sake.
15033
15034         * buffer.C: removed using std::stringstream
15035
15036         * lyxfont.C (stateText):
15037         * paragraph.C (asString):
15038         * text.C (selectNextWord, selectSelectedWord):
15039         * text2.C (setCounter):
15040         * vspace.C (asString, asLatexString):
15041         std::ostringstream -> ostringstream.
15042
15043 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15044
15045         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15046         * commandtags.h: add LFUN_HELP_ABOUTLYX
15047         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15048
15049 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15050
15051         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15052         cursorToggle()
15053         * lyx_gui_misc.C: remove spellchecker
15054         * lyxfunc.C: showSpellchecker
15055         * sp_base.h: added
15056         * sp_ispell.h: added
15057         * sp_pspell.h: added
15058         * sp_spell.C: added
15059         * sp_form.[Ch]: removed
15060         * spellchecker.[Ch]: removed
15061
15062 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15063
15064         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15065         is set.
15066         (simpleTeXSpecialChars): Simply print the input character without
15067         any special translation if pass_thru is set.
15068
15069         * layout.h: Added bool pass_thru to layout class for being able to
15070         implement pass through of a paragraph for Literate Programming.
15071
15072         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15073         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15074         * layout.C (Read): add "passthru" to list of layout tags and add
15075         code to set the pass_thru boolean when it is read.
15076
15077 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * trans_decl.h: remove allowed from KmodInfo
15080
15081         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15082         remove allowed code
15083         (Load): adjust
15084
15085         * paragraph_pimpl.C (erase): use boost::prior
15086
15087         * Painter.C (text): use data() instead of c_str() when length is
15088         also provided.
15089         * WorkArea.C (putClipboard): ditto
15090         * font.h (width): ditto
15091
15092         * BufferView2.C: use it-> instead of (*it). for iterators
15093         * texrow.C: ditto
15094         * paragraph_pimpl.C: ditto
15095         * paragraph.C: ditto
15096         * minibuffer.C: ditto
15097         * language.C: ditto
15098         * kbmap.C: ditto
15099         * encoding.C: ditto
15100         * counters.C: ditto
15101         * converter.C: ditto
15102         * chset.C: ditto
15103         * Variables.C: ditto
15104         * TextCache.C: ditto
15105         * MenuBackend.C: ditto
15106         * LyXAction.C: ditto
15107         * LColor.C: ditto
15108         * FloatList.C: ditto
15109         * DepTable.C: ditto
15110         * ColorHandler.C (LyXColorHandler): ditto
15111
15112 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15115
15116         * text2.C (openStuff): reintroduce this method (which had been
15117         nuked in NEW_INSETS frenzy).
15118
15119         * lyxfunc.C (Dispatch): when an action has not been handled, use
15120         its name in the error message, not its number.
15121
15122         * paragraph.C (inInset): change method name to begin with lowercase.
15123
15124         * undo_funcs.C:
15125         * text2.C: updates because of this.
15126
15127 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15128
15129         * ToolbarDefaults.C (add): add spaces in error message
15130
15131 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15134         (readLyXformat2): rename return_par to first_par, use lyxlex's
15135         pushToken and remove the manual push handling.
15136         (parseSingleLyXformat2Token): add another ert comp. variable:
15137         in_tabular, rename return_par to first_par. handle newlines better
15138
15139 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15142
15143 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15144
15145         * text2.C (getParFromID): removed
15146
15147         * buffer.C (getParFromID): new method moved form lyxtext.
15148         * BufferView2.C (insertErrors): adjust
15149         (setCursorFromRow): adjust
15150         * BufferView_pimpl.C (restorePosition): adjust
15151         * lyxfunc.C (Dispatch): adjust
15152         * undo_funcs.C (textUndo): adjust
15153         (textRedo): adjust
15154         (textHandleUndo): adjust
15155         (textHandleUndo): adjust
15156
15157 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * buffer.C: up' the LYX_FORMAT
15160
15161         * lyxfont.h: turn NO_LATEX on as default
15162
15163         * buffer.C (insertErtContents): new methods of tex style compability.
15164         (parseSingleLyXformat2Token): use it several places.
15165         * tabular.C (OldFormatRead): and here
15166
15167 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * text2.C: remove some commented code.
15170         reindent file.
15171
15172         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15173         * trans.C: changes because of the above.
15174
15175 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * text2.C (setCounter): Fix counters bug with bibliography layout.
15178
15179 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15180
15181         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15182         own member functions
15183         (simpleTeXSpecialChars): ditto
15184
15185 2001-07-06  Juergen Vigna  <jug@sad.it>
15186
15187         * a lot of files: changed the access to LyXText::status and the
15188         call of undo-functions.
15189
15190         * undo.[Ch]: added a inset_id to the undo informations.
15191
15192         * undo_funcs.[Ch]: added and moved here all undo functions.
15193
15194         * lyxtext.h: give the status enum a weight, made status_ a private
15195         variable and made accessor functions for it, removed the whole bunch
15196         of undo-functions as they are now in their own file, make some
15197         functions publically available. Added function ownerParagraph with
15198         int parameter.
15199
15200         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15201         made InInset() a const function, added getParFromID() function.
15202
15203         * buffer.[Ch]: added const version for inset_iterator functions,
15204         added getInsetFromID() function.
15205
15206         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15207         changed undo functions for new version.
15208
15209 2001-07-05  Juergen Vigna  <jug@sad.it>
15210
15211         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15212         unknow mechanism does not call the proper constructor but only this
15213         one also if I request the other!?
15214
15215 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15218
15219         * text2.C (LyXText): use initialization lists.
15220
15221         * lyxtext.h (Selection): initialize set_ and mark_
15222         (init): remove method
15223
15224 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15225
15226         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15227
15228 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * screen.[Ch]: change method names to begin with lowercase
15231
15232         * BufferView_pimpl.C (updateScrollbar): simplify further and
15233         hopefully make it a bit faster.
15234
15235 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15238         calling directly xforms functions.
15239
15240         * Painter.C (Painter):
15241         * lyx_cb.C (MenuWrite):
15242         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15243         fl_display.
15244
15245         * lyx_gui.C: remove bogus guiruntime extern declaration.
15246
15247 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15248
15249         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15250         in NEW_INSETS
15251         (redoDrawingOfParagraph): ditto
15252         (redoParagraphs): ditto
15253         (cutSelection): don't create a object for CutAndPaste use the
15254         static method directly
15255         (pasteSelection): ditto
15256
15257         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15258         LyXview (+ rename)
15259
15260 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * modifications to some other files because of this.
15263
15264         * Makefile.am (lyx_SOURCES): add XFormsView
15265
15266         * XFormsView.[Ch]: new files
15267
15268         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15269         the main window. Move the gui dependent stuff to XFormsView
15270
15271 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * tabular.C (GetCellInset): update cur_cell also in the row/col
15274         version of this function.
15275
15276         * lyxfunc.C: no need to include figure_form.h here.
15277
15278         * FontLoader.h:
15279         * lyxfunc.h:
15280         * lyxscreen.h:
15281         * text2.C:
15282         * lyxvc.C: no need to include forms.h here.
15283
15284 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15287
15288         * lyxfunc.C (Dispatch):
15289         * Spacing.C (set):
15290         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15291         constructor argument.
15292
15293 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * paragraph.C (Paragraph): dont't clear, and just set layout.
15296         (makeSameLayout): use params's copy contructor.
15297
15298         * ParagraphParameters.[Ch] (makeSame): delete method
15299
15300 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15301
15302         * Variables.[Ch]: fix indentation, rename set to isSet
15303
15304 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * lyxfunc.C (Dispatch): fix typo
15307
15308 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15309
15310         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15311         upper_bound.
15312
15313         * bufferlist.C: include assert.h for emergencyWrite().
15314
15315 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15316
15317         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15318           give up at last (bug #425202) !
15319
15320 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * lyx_gui_misc.C:
15323         * sp_form.h:
15324         * sp_form.C:
15325         * spellchecker.h:
15326         * spellchecker.C: strip spellchecker options and bring up
15327           preferences tab instead
15328
15329 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15332         the istringstream constructor
15333
15334 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * paragraph.C (getLayout): fix return value
15337
15338         * paragraph.h: do not declare getLayout as inline.
15339
15340         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15341
15342 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * lyxcursor.h (operator<): new func
15345         (operator>): new func
15346         (operator>=): new func
15347         (operator<=): new func
15348
15349         * text.C (changeCase): use selection.start and selection.end
15350         (changeRegionCase): require from to be <= to. Require par to be a
15351         valid paragraph.
15352
15353         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15354
15355 2001-06-27  Juergen Vigna  <jug@sad.it>
15356
15357         * text.C (cursorLeftOneWord): changed to return the cursor and added
15358         overlay with BufferView * parameter which calls this one.
15359         (getWord): added
15360         (selectWord): use new getWord function.
15361         (changeCase): renamed from changeWordCase as and extended to work
15362         also on selections.
15363
15364         * lyxtext.h: added enum word_location
15365
15366         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15367         changeCase as this operates now also on selections.
15368
15369 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15370
15371         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15372
15373         * many files: send debug output to Debug::INFO instead of
15374         Debug::ANY.
15375
15376         * converter.C (View):
15377         (Convert):
15378         (Move): send debug output to Debug::FILES instead of console.
15379
15380 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15381
15382         * lyxfunc.C (getStatus): use func_status
15383
15384         * func_status.h: new header, describing the results of
15385         LyXFunc::getStatus;
15386
15387         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15388         LFUN_MATH_HALIGN.
15389
15390 2001-06-25  The LyX Project  <jug@sad.it>
15391
15392         * buffer.C (sgmlOpenTag):
15393         (sgmlCloseTag):
15394         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15395
15396 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * text2.C: remove some dead code
15399
15400         * tabular.C (GetCellInset): store the last cell checked (gotten)
15401
15402         * tabular.h: add the helper for the speedup
15403
15404         * lyxtext.h: remove some dead code
15405
15406 2001-06-26  The LyX Project  <Asger>
15407
15408         * paragraph.C: Change export to LaTeX of alignment to
15409         \begin{center} and family for better roundtrip work with reLyX.
15410
15411         * Tune the math drawing a bit.
15412
15413 2001-06-25  The LyX Project  <Asger>
15414
15415         * LColor.C (LColor): New color for math background. New color
15416         for buttons.
15417
15418 2001-06-25  The LyX Project  <jug@sad.it>
15419
15420         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15421
15422         * lyxfunc.C (Open):
15423         * bufferlist.C (newFile): do not restrict to files ending with
15424         .lyx
15425
15426         * BufferView_pimpl.C (MenuInsertLyXFile):
15427
15428 2001-06-24  The LyX Project  <jug@sad.it>
15429
15430         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15431         of compare_no_case
15432
15433 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * lyxtext.h: rename most methods to begin with a small char.
15436         Lots of changes because of this.
15437
15438         * paragraph.C (Paragraph): do not call fitToSize
15439         (erase): call Pimpl::erase
15440         (insertChar): call Pimpl::insertChar
15441         (insertInset): call Pipl::insertInset
15442         (breakParagraph): do not call fitToSize
15443         (breakParagraphConservative): do not call fitToSize
15444         (fitToSize): remove method
15445
15446         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15447
15448 2001-06-24  The LyX Project  <Asger>
15449
15450         * Fix Qt compilation^2
15451
15452 2001-06-24  The LyX Project  <jug@sad.it>
15453
15454         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15455         depthHook(getDepth()-1).
15456
15457         * paragraph.h:
15458         * ParagraphParameters.h:
15459         * ParameterStruct.h: change type of depth to unsigned int ==
15460         depth_type. Many adaptations to other files before of that.
15461
15462 2001-06-24  The LyX Project  <Asger>
15463
15464         * Fix Qt compilation.
15465
15466 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * paragraph.h: renamed several methods to begin with small letter.
15469         several changes to many parts of the code because of this.
15470
15471 2001-06-23  The LyX Project  <jug@sad.it>
15472
15473         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15474         rewritten to discard all double spaces when KeepEmpty is off
15475         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15476         to only handle newlines but not fiddle with spaces and friends.
15477
15478         * lyxfunc.C (MenuNew): when doing 'new from template', use
15479         template_path as default directory
15480
15481 2001-06-23  The LyX Project  <Asger>
15482
15483         * Clean-up of header file includes all over
15484         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15485
15486 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * paragraph.h: renamed from lyxparagraph.h
15489
15490 2001-06-23  Asger  <lyx@violet.home.sad.it>
15491
15492         * Buffer.h: Removed Buffer::resize
15493         * BufferList.h: Removed BufferList::resize
15494         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15495         the document lazily when we change the width, or the font settings.
15496
15497 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15498
15499         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15500
15501 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15502
15503         * buffer.h: remove out of date comment
15504
15505 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15506
15507         * lyxscreen.h:
15508         * screen.C: fix "theoretical" GC leak
15509
15510 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15511
15512         * LaTeX.C (scanAuxFile):
15513         (deplog): remove trailing \r when reading stream (useful under
15514         win32)
15515
15516 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15517
15518         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15519         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15520         and BufferView::theLockingInset(Inset*), so should use them and not
15521         access bv_->text->the_locking_inset directly.
15522
15523         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15524
15525 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15526
15527         * Makefile.am:
15528         * tex-defs.h: remove old unused file
15529
15530 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15531
15532         * BufferView_pimpl.C: fix typo, remove minibuffer message
15533           when buffer has loaded
15534
15535 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15536
15537         * lyxfunc.C (Dispatch): use stringstream
15538         (MenuNew): use stringstream
15539         (Open): use stringstream
15540
15541         * importer.C (Import): use stringstream
15542
15543         * bufferview_funcs.C (CurrentState): use stringstream
15544
15545         * LaTeX.C (run): use stringstream
15546
15547         * BufferView_pimpl.C (savePosition): use stringstream
15548         (restorePosition): use stringstream
15549         (MenuInsertLyXFile): use stringstream
15550
15551 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * BufferView.C:
15554         * Bullet.C:
15555         * ColorHandler.C:
15556         * FontInfo.C:
15557         * FontLoader.C:
15558         * LColor.C:
15559         * LaTeXFeatures.C:
15560         * Painter.C:
15561         * gettext.C:
15562         * lyx_gui_misc.C:
15563         * lyxserver.C:
15564         * vspace.C: removed // -*- C++ -*- as first line.
15565
15566         * lyxfind.h:
15567         * version.h: added // -*- C++ -*- as first line.
15568
15569 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15570
15571         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15572
15573         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15574         of string
15575
15576 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15577
15578         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15579         of floats.
15580
15581 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * gettext.C: include LString.h even when --disable-nls is on.
15584
15585 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * converter.h (Get): changed argument type from int to
15588         FormatList::size_type to avoid unnecessary conversion.
15589
15590         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15591         before using it.
15592
15593 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * gettext.h: include LString.h even when --disable-nls is on.
15596
15597 2001-06-07  Juergen Vigna  <jug@sad.it>
15598
15599         * text.C (BreakAgain): subst spaces with tabs.
15600
15601         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15602         (resizeInsetsLyXText): set force on resizeLyXText.
15603
15604 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15605
15606         * gettext.h (gettext_init):
15607         (locale_init): use a real definition instead of a macro
15608
15609 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * Bufferview_pimpl.C:
15612         * LColor.h:
15613         * LColor.C: further lcolor tidies
15614
15615 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * BufferView_pimpl.C (updateScrollbar): simplify.
15618
15619         * BufferView2.C: don't include insets/insetinfo.h, change
15620         prototype for insertInset and call the Pimpl version. let
15621         updateInset call Pimpl version.
15622
15623         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15624         gotoInset to BufferView::Pimpl
15625
15626 2001-06-01  Juergen Vigna  <jug@sad.it>
15627
15628         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15629         inside a LockingInset (is the update needed at all?).
15630
15631 2001-05-31  Juergen Vigna  <jug@sad.it>
15632
15633         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15634         here not the old one otherwise how should we compare it afterwards
15635         if it's the same!
15636
15637 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * lyxfont.C:
15640         * tabular.C:
15641         * tabular-old.C:
15642         * FontInfo.C: bring C functions into global namespace when
15643         necessary
15644
15645 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * LString.h: make sure config.h has been loaded before LString.h.
15648
15649         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15650         (one for each char read by EatLine!).
15651
15652         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15653         variables.
15654
15655 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15656
15657         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15658         to the same as the par we break from
15659
15660 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15663
15664         * MenuBackend.C (expand): also create menu entries for wide
15665         versions of the floats.
15666
15667         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15668
15669         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15670
15671         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15672         frontends/Makefile.am
15673
15674         * text2.C: adjust
15675         * text.C: adjust
15676
15677
15678         * tabular.C (getTokenValue): add std::
15679
15680         * tabular-old.C (getTokenValue): add std::
15681         (getTokenValue): ditto
15682         (getTokenValue): ditto
15683
15684         * screen.C (ToggleSelection): adjust
15685
15686         * lyxtext.h: put selection cursors inside a Selection struct.
15687
15688         * lyxfunc.C (moveCursorUpdate): adjust
15689
15690         * lyxfont.C (latexWriteStartChanges): add std::
15691
15692         * lyxfind.C: adjust
15693
15694         * font.h: delete with(char const *, LyXFont const &)
15695
15696         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15697
15698         * FontInfo.C (getFontname): add std::
15699
15700         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15701         (workAreaButtonPress): adjust
15702         (tripleClick): adjust
15703         (update): adjust
15704         (moveCursorUpdate): adjust
15705         (Dispatch): adjust
15706
15707         * BufferView2.C (gotoInset): adjust
15708
15709 2001-05-30  Juergen Vigna  <jug@sad.it>
15710
15711         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15712         to check pspell I add this as default as I now have new pspell
15713         libraries and they seem to use this.
15714
15715 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15716
15717         * text2.C (CutSelection): make the cursor valid before the call to
15718         ClearSelection.
15719
15720 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15721
15722         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15723         relied on 0 terminated strings and other horrors. Bug found due to
15724         the new assert in lyxstring!
15725
15726         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15727         KP_ keys.
15728
15729 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15732         to latinkeys.bind.
15733
15734         * lyxfunc.C (processKeySym): change method of getting to the
15735         self-insert char.
15736
15737         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15738         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15739         * BufferView_pimpl.[Ch]: here as private methods.
15740
15741 2001-05-28  Juergen Vigna  <jug@sad.it>
15742
15743         * text.C (SetHeightOfRow): added the update() call again as it is
15744         needed to initialize inset dimensions!
15745
15746 2001-05-16  Juergen Vigna  <jug@sad.it>
15747
15748         * text2.C (SetCharFont): Add new function with BufferView * and
15749         bool toggleall parameters for setting insets internal fonts.
15750         (SetFont): Freeze the undo as we may change fonts in Insets and
15751         all this change should be inside only one Undo!
15752
15753         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15754         setting font's in insets as for them we have the SetFont function!
15755
15756 2001-05-15  Juergen Vigna  <jug@sad.it>
15757
15758         * text2.C (ClearSelection): to be sure we REALLY don't have any
15759         selection anymore!
15760
15761         * tabular.C (TeXCellPreamble): fixed the left border problem for
15762         multicolumn cells.
15763
15764 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15765
15766         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15767         dependancy file
15768
15769 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15772         LFUN_BREAKPARAGRAPH.
15773
15774         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15775         help test to "internal only", similar for LFUN_INSERT_URL
15776
15777         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15778         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15779         auto_region_delete and deadkeys.
15780
15781 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15782
15783         * LColor.h:
15784         * LColor.C: remove some dead entries, tidy a little
15785
15786 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15789         commented code.
15790         (Dispatch): implement LFUN_ESCAPE
15791
15792         * commandtags.h: add LFUN_ESCAPE
15793
15794         * LyXAction.C (init): add entry for LFUN_ESCAPE
15795
15796         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15797         Remove commented code.
15798         (insertNote): moved here
15799         (open_new_inset): moved here
15800
15801         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15802         BufferView_pimpl
15803
15804 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * kbmap.C (findbinding): clean it up and make it work correctly.
15807
15808         * lyx_main.C (init): do not pass argc and argv as parameters
15809
15810 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15811
15812         * buffer.C: fix path for OS/2 & Win32
15813
15814         * lyx_gui.C:
15815         * lyx_main:
15816         * lyx_main.C: Added os:: class.
15817
15818         * os2_defines.h: update
15819
15820 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15823         better by trying again with reduced state.
15824
15825 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * lyxrc.C (read): print error about invalid key sequence only when
15828         debugging (because not all latinX keysyms are known to some X
15829         servers)
15830
15831         * kbsequence.C (getiso): add a few std:: qualifiers
15832         (getiso): comment out extra return statement.
15833
15834 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15837         handling.
15838         (Dispatch): enhance the accent inset a bit. (not perfect)
15839
15840 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15843
15844 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15845
15846         * bufferlist.C (emergencyWrite): fix assert() call
15847
15848 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15849
15850         * text.C (InsertChar): Added trivial patch to only send the "you
15851         can not do multiple spaces this way" message once during a
15852         session.
15853
15854 2001-05-08  Baruch Even  <baruch@lyx.org>
15855
15856         * Makefile.am: Changed order of libraries to get LyX to link properly
15857         with the gnome frontend.
15858
15859 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * LaTeXFeatures.h: add a std:: qualifier
15862
15863 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * paragraph.C (String): use stringstream
15866
15867 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15868
15869         * paragraph.C (writeFile): remove footflag arg
15870
15871         * buffer.C (makeLaTeXFile): use stringstream
15872         (latexParagraphs): remove footnot gurba
15873
15874         * LaTeXFeatures.C (getPackages): use stringstream
15875         (getMacros): likewise
15876         (getTClassPreamble): likewise
15877         (getFloatDefinitions): new method
15878
15879         * paragraph.C (writeFile): reindent
15880         (Erase): reindent
15881
15882         * WorkArea.h: revert the xpos + etc changes.
15883
15884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15885
15886         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15887
15888         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15889         (pasteSelection): likewise
15890         * text2.C (CreateUndo): likewise
15891
15892 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * minibuffer.C (peek_event): temporarily reduce the functionality
15895         of the minibuffer (to allow args on lfuns)
15896
15897         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15898         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15899
15900         * buffer.C (readInset): add compability reading of old float
15901         lists, add reading of new style float list.
15902         (readInset): avoid reevaluation of inscmd.getCmdName()
15903         (getLists): reindent
15904
15905         * MenuBackend.C (MenuItem): implement parsing of
15906         md_floatlistinsert and md_floatinsert.
15907         (expand::LastFiles): move initalizaton of iterators out of loop,
15908         avoid reevaluation.
15909         (expand::Documents): introduce typdedef vector<string> Strings,
15910         and use it.
15911         (expand::ExportFormats): introduce typedef vector<Format const *>
15912         Formats, and use it.
15913         (expand): implement FloatListInsert and FloatInsert.
15914
15915         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15916         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15917         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15918
15919         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15920         handling.
15921         (Dispatch::LFUN_FLOAT_LIST): implement
15922
15923 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15924
15925         * LaTeX.C (run): Fix problem with --export code.
15926
15927 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15928
15929         * BufferView.[Ch] (workarea): removed.
15930         (getClipboard) new method; wrapper for workarea()->getClipboard()
15931
15932         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15933         bug.
15934
15935         * WorkArea.h (width, height, xpos, ypos): These methods all
15936         returned the dimensions of the work_area sub-area of WorkArea,
15937         resulting in a position error if the WorkArea were resized. Now
15938         return the dimensions of the entire WorkArea.
15939
15940         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15941
15942 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15943
15944         * LaTeX.C (deplog): correct the syntax of regex reg1
15945
15946 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15947
15948         * undo.C: remove !NEW_INSETS cruft
15949
15950 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * text2.C: remove !NEW_INSETS cruft
15953
15954         * text.C: remove !NEW_INSETS cruft
15955
15956         * tabular.C: remove !NEW_INSETS cruft
15957
15958         * spellchecker.C: remove !NEW_INSETS cruft
15959
15960         * lyxtext.h: remove !NEW_INSETS cruft
15961
15962         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15963
15964         * lyxfunc.C: remove !NEW_INSETS cruft
15965
15966         * lyxfind.C: remove !NEW_INSETS cruft
15967
15968         * lyx_cb.C: remove !NEW_INSETS cruft
15969
15970         * figureForm.C: remove  !NEW_INSETS cruft
15971
15972         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15973
15974         * buffer.[Ch]: remove !NEW_INSETS cruft
15975
15976         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15977
15978         * CutAndPaste.C: remove !NEW_INSETS cruft
15979
15980         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15981
15982         * BufferView2.C: remove !NEW_INSETS cruft
15983
15984         * BufferView.h: remove !NEW_INSETS cruft
15985
15986 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15987
15988         * Lsstream.h: include LString.h before the sstream headers to
15989         fix problem with gcc 2.95.3 and lyxstring
15990
15991 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * lyx_main.C: add using directives when needed for C functions
15994         declared in std:: namespace.
15995
15996 2001-04-27  Juergen Vigna  <jug@sad.it>
15997
15998         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15999         (SetHeightOfRow): comment out the update call should not be needed!
16000
16001 2001-04-13  Juergen Vigna  <jug@sad.it>
16002
16003         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16004         (LyXTabular): tried to minimize operator= operations (and realized
16005         hopfully Lars wish).
16006
16007 2001-04-27  Juergen Vigna  <jug@sad.it>
16008
16009         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16010
16011 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16014
16015         * buffer.C (readInset): hack to make listof algorithm work
16016
16017         * BufferView_pimpl.C: hack to make listof algorithm work
16018
16019 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16020
16021         * LyXAction.C: removed all !NEW_INSETS cruft
16022         (init): moved lfun_item in method
16023
16024         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16025
16026 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16027
16028         * BufferView2.C (theLockingInset): white space.
16029
16030 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16031
16032         * minibuffer.C: include <iostream>
16033
16034         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16035
16036         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16037
16038         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16039
16040         * text.[Ch] (TransposeChars): new method
16041
16042 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16043
16044         * call message directly through LyXView instead of through LyXFunc
16045         * BufferView2.C: adjust
16046         * BufferView_pimpl.C: adjust
16047         * FontLoader.C: adjust
16048         * buffer.C: adjust
16049         * bufferview_funcs.C: adjust
16050         * converter.C: adjust
16051         * figureForm.C: adjust
16052         * importer.C: adjust
16053         * lyx_cb.C: adjust
16054         * lyx_gui_misc.C: adjust
16055         * lyxfunc.C: adjust
16056         * lyxvc.C: adjust
16057         * text2.C: adjust
16058         + more files in subdirs
16059
16060         * lyxparagraph.h (size): move up int file
16061         (GetLayout): ditto
16062
16063         * adjust all uses of Assert to lyx::Assert.
16064
16065         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16066         lyxfunctional in namespace lyx
16067         * layout.C (hasLayout): ditto
16068         (GetLayout): ditto
16069         (GetLayout): ditto
16070         (delete_layout): ditto
16071         (NumberOfClass): ditto
16072         * converter.C (GetFormat): ditto
16073         (GetNumber): ditto
16074         (Add): ditto
16075         (Delete): ditto
16076         (SetViewer): ditto
16077         * bufferlist.C (getFileNames): ditto
16078         (emergencyWriteAll): ditto
16079         (exists): ditto
16080         (getBuffer): ditto
16081         * MenuBackend.C (hasSubmenu): ditto
16082         (hasMenu): ditto
16083         (getMenu): ditto
16084         * BufferView_pimpl.C (getInsetByCode): ditto
16085
16086 2001-04-18  Juergen Vigna  <jug@sad.it>
16087
16088         * vspace.C (asLatexString): fixed the 100% problem.
16089
16090 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * lyxfunc.C (Dispatch):
16093         * minibuffer.C:
16094         * minibuffer.h: add a few std:: qualifiers
16095
16096 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * minibuffer.[Ch]: reimplement so that commands is initiated and
16099         run from lyxfunc, simplified som handling, and made the completion
16100         and history code for complete. wip.
16101
16102         * lyxfunc.C (processKeySym): call message
16103         (miniDispatch): new temporary method
16104         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16105         (LFUN_MESSAGE): implement
16106         (LFUN_MESSAGE_PUSH): implement
16107         (LFUN_MESSAGE_POP): implement
16108         (initMiniBuffer): the initial/defualt minibuffer message.
16109
16110         * lyxfont.[Ch]: inline some more getters
16111
16112         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16113
16114         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16115
16116         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16117         (AutoSave): use LFUN_MESSAGE
16118         (Reconfigure): ditto
16119
16120         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16121
16122         * figureForm.C: use LFUN_MESSAGE
16123
16124         * converter.C (runLaTeX): use LFUN_MESSAGE
16125
16126         * bufferview_funcs.C: use LFUN_MESSAGE
16127         (Melt): ditto
16128         (changeDepth): ditto
16129
16130         * bufferparams.h: use boost::
16131
16132         * bufferlist.h: inherit privately from noncopyable
16133
16134         * bufferlist.C (loadLyXFile): remove some commented code.
16135
16136         * buffer.C (runChktex): use LFUN_MESSAGE
16137
16138         * ShareContainer.h: inherit privately from noncopyable
16139
16140         * ParagraphParameters.[hC] (depth): inline it.
16141
16142         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16143         methods.
16144         (message): new method
16145         (messagePush): ditto
16146         (messagePop): ditto
16147         (show): init minibuffer
16148         (showState): direct call
16149
16150         * LaTeX.[Ch]: inherit privately from noncopyable
16151         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16152         instead of WriteStatus.
16153
16154         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16155
16156         * BufferView_pimpl.C (buffer): don't init minibuffer
16157         (workAreaButtonPress): use LFUN_MESSAGE
16158         (workAreaButtonRelease): ditto
16159         (savePosition): ditto
16160         (restorePosition): ditto
16161         (MenuInsertLyXFile): ditto
16162         (workAreaExpose): don't init minibuffer
16163         (update): remove commented code, simplify
16164
16165         * BufferView2.C (openStuff): use LFUN_MESSAGE
16166         (toggleFloat): ditto
16167         (menuUndo): ditto
16168         (menuRedo): ditto
16169         (copyEnvironment): ditto
16170         (pasteEnvironment): ditto
16171         (copy): ditto
16172         (cut): ditto
16173         (paste): ditto
16174         (gotoInset): ditto
16175         (updateInset): remove some commented code
16176
16177         * lastfiles.h: inherit privately from noncopyable
16178         * layout.h: ditto
16179         * lyx_gui.h: ditto
16180         * lyx_main.h: ditto
16181         * lyxlex.h: ditto
16182         * lyxlex_pimpl.h: ditto
16183
16184         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16185         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16186         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16187
16188         * LyXAction.h: inherit privately from noncopyable, add methods
16189         func_begin, func_end, returning iterators to the func map.
16190
16191         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16192         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16193         (func_begin): new method
16194         (func_end): new method
16195
16196         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16197         and not)
16198         (copySelection): ditto
16199         (pasteSelection): ditto
16200
16201         * BufferView.C: whitespace change
16202         * BufferView.h: inherit privately from noncopyable
16203
16204 2001-04-16  Allan Rae  <rae@lyx.org>
16205
16206         * tabular-old.C (l_getline):
16207         * spellchecker.C (sc_check_word):
16208         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16209         an unrecognised preprocessor directive.  So ensure they're wrapped.
16210
16211 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16212
16213         * src/exporter.C (Export): Give an error message when path to file
16214         contains spaces.
16215
16216 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16217
16218         * LaTeX.C (deplog): Always check that foundfile exists.
16219
16220 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16221
16222         * lyx_main.h:
16223         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16224
16225 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16226
16227         * tabular.[Ch] (getLabelList): implement new method
16228
16229         * minibuffer.h: comment ouf setTiimer
16230
16231         * minibuffer.C (ExecutingCB): constify res
16232         (peek_event): constify s
16233         (Set): constify ntext
16234         (Init): constify nicename
16235
16236         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16237
16238         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16239         (savePosition): use two params to Minibuffer::Set
16240         (restorePosition): ditto
16241
16242 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * lyx_main.C: include language.h
16245
16246         * Makefile.am (lyx_main.o): add language.h
16247
16248 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * exporter.C:
16251         * paragraph.C:
16252         * screen.C:
16253         * tabular.C:
16254         * CutAndPaste.C: include gettext.h
16255
16256         * lyxfont.h: remove old hack with ON and OFF.
16257
16258         * lyxparagraph.h:
16259         * lyxfont.h: do not include language.h...
16260
16261         * BufferView2.C:
16262         * LaTeXFeatures.C:
16263         * Painter.C:
16264         * bufferview_funcs.C:
16265         * font.C:
16266         * lyxfont.C:
16267         * text.C:
16268         * text2.C:
16269         * trans_mgr.C:
16270         * paragraph.C: ... but do it here instead
16271
16272 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16273
16274         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16275
16276         * tabular.C: small reformat
16277
16278         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16279         NEW_INSETS version
16280         (GetChar): ditto
16281         (BreakParagraph): ditto
16282         (SetOnlyLayout): ditto
16283         (SetLayout): ditto
16284
16285         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16286         with one arg less.
16287
16288         * lastfiles.C: removed most using decl, add std:: where needed
16289
16290         * buffer.C: ws changes
16291
16292         * MenuBackend.C (class compare_format): put into anon namespace
16293         (expand): constify label, names, action, action2
16294         (expand):
16295
16296         * text.C (SingleWidth): constify font
16297         (IsBoundary): constify rtl2
16298         (GetVisibleRow): constify ww
16299
16300         * LaTeX.C (deplog): constify logfile
16301
16302         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16303         start_x, end_x
16304         (workAreaExpose): constify widthChange, heightChange
16305
16306         * lyxrow.C (par): moved
16307         (height): moved
16308         (next): moved
16309         * lyxrow.h: as inlines here
16310
16311         * lyxfont.h (shape): moved from lyxfont.C
16312         (emph): moved from lyxfont.C
16313
16314         * lyxfont.C (LyXFont): use initialization list for all
16315         constructors
16316         (shape): move to lyxfont.h as inline
16317         (emph): move to lyxfont.h as inline
16318
16319
16320 2001-04-04  Juergen Vigna  <jug@sad.it>
16321
16322         * vspace.C: had to include stdio.h for use of sscanf
16323
16324 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * BufferView.h:
16327         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16328         independent of xforms.
16329
16330 2001-04-02  Juergen Vigna  <jug@sad.it>
16331
16332         * spellchecker.C: fixed namespace placing!
16333
16334 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16335
16336         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16337         the LyXParagraph * is 0.
16338
16339 2001-03-29  Juergen Vigna  <jug@sad.it>
16340
16341         * vspace.C: added support for %, c%, p%, l%.
16342         (stringFromUnit): added helper function.
16343         (asLatexString): changed to give right results for the %-values.
16344
16345         * buffer.C: convert the widthp in a width%.
16346
16347 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16348
16349         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16350         figureForm.[Ch].
16351
16352         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16353         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16354
16355         * lyx_cb.[Ch]: see above.
16356
16357         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16358         form1.[Ch].
16359
16360         * form1.[Ch]:
16361         * lyx.[Ch]: replaced by figure_form.[Ch].
16362
16363         * lyx_gui.C:
16364         * lyx_gui_misc.C:
16365         * lyxfunc.C: changed headers associated with above changes.
16366
16367 2001-03-27  Juergen Vigna  <jug@sad.it>
16368
16369         * BufferView_pimpl.C: set the temporary cursor right!
16370
16371 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16372
16373         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16374
16375 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16376
16377         * LString.h: removed "using std::getline"!
16378
16379         * BufferView_pimpl.C (Dispatch): changes due to changes in
16380         InsetInclude::Params.
16381
16382         * buffer.C (tag_name): removed redundant break statements as they were
16383         producing lots of warnings with my compiler.
16384
16385 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16386
16387         * LString.h: add "using std::getline" when using the real <string>.
16388
16389 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16390
16391         * buffer.C: removed bitset usage.
16392         PAR_TAG moved to an anonymous name space.
16393         (tag_name): new funtion, also in the anonymous namespace.
16394         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16395         (makeDocBookFile): clean code. Completed transition from string arrays
16396         to string vectors.
16397         (SimpleDocBookOnePar): code clean.
16398
16399 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16400
16401         * tabular.C: add some comments.
16402
16403 2001-03-22  Juergen Vigna  <jug@sad.it>
16404
16405         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16406         compatibility read a bit and fixed bug with minipage in different
16407         depth.
16408
16409 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16410
16411         * buffer.C (pop_tag): removed.
16412         (push_tag): removed.
16413         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16414         array replaced with vector. Added support for CDATA sections.
16415         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16416         at any nest level.
16417         (makeDocBookFile): XML conformant declaration of CDATA section,
16418         fixed bug related to <emphasis> in the first paragraph char.
16419         (sgmlOpenTag): exclude empty tags.
16420         (sgmlCloseTag): ditto.
16421
16422         * buffer.h (pop_tag): removed.
16423         (push_tag): removed.
16424
16425 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16426
16427         * language.h (Languages): added size_type and size().
16428
16429 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16430
16431         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16432         response on compability reading of minipages. One probliem is that
16433         the old usage of minipages was «flertydig»
16434
16435         * several files here and in subdirs: don't use static at file
16436         scope use anon namespaces instead.
16437
16438 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16439
16440         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16441         LaTeX output. This is necessary for Literate document
16442         processing.
16443
16444 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16445
16446         * buffer.C: insert hfill when needed.
16447
16448         * tabular.C (l_getline): use string::erase, small whitespace change.
16449
16450         * BufferView_pimpl.C: try the anon namespace.
16451         * WorkArea.C: ditto
16452
16453 2001-03-16  Juergen Vigna  <jug@sad.it>
16454
16455         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16456         otherwise it won't open options-dialogs.
16457
16458         * buffer.C: honor pextraWidth(p) on converting minipages.
16459
16460         * tabular.C (l_getline): changed the functions to strip trailing \r.
16461
16462 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16463
16464         * BufferView_pimpl.C:
16465         * minibuffer..C: added "using SigC::slot" declaration.
16466
16467 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16468
16469         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16470
16471         * text2.C: ditto
16472
16473         * text.C: ditto
16474
16475         * paragraph.C: ditto
16476
16477         * lyxtext.h: NO_PEXTRA
16478
16479         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16480
16481         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16482         * ParameterStruct.h: ditto
16483         * ParagraphParameters.h: ditto
16484         * lyxparagraph.h: ditto
16485
16486 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16487
16488         * buffer.C: add compability for minipage alignment.
16489         (latexParagraphs): remove unwanted pextra check.
16490
16491         * several files: remove CXX_WORKING_NAMESPACES
16492
16493         * buffer.C (pop_tag): tie is in namespace boost
16494
16495         * BufferView.h: noncopyable is in namespace boost
16496         * lyxlex.h: ditto
16497         * lyx_main.h: ditto
16498         * lyx_gui.h: ditto
16499         * layout.h: ditto
16500         * lastfiles.h: ditto
16501         * bufferlist.h: ditto
16502         * ShareContainer.h: ditto
16503         * LyXView.h: ditto
16504         * LyXAction.h: ditto
16505         * LaTeX.h: ditto
16506
16507 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * Merging changes from BRANCH_MVC back into HEAD.
16510
16511         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16512
16513 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16514
16515         * BufferView_pimpl.C: change from intl.C
16516
16517         * combox.h:
16518         * combox.C:
16519         * Makefile.am: move combox.*
16520
16521         * form1.h:
16522         * form1.C:
16523         * lyx_gui.C:
16524         * intl.h:
16525         * intl.C: remove dialog (covered by prefs)
16526
16527 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16528
16529         * lyxfunc.C (Dispatch): removed redundant break statement.
16530
16531 2001-03-14  Juergen Vigna  <jug@sad.it>
16532
16533         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16534
16535 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16536
16537         * buffer.C: add hack to fix compability reading of minipages.
16538
16539 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16540
16541         * buffer.C (getLists): Cleanup.
16542
16543 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16544
16545         * lyxfont.C (update): don't honor toggleall on font size.
16546
16547 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16548
16549         * bmtable.c:
16550         * bmtable.h:
16551         * Makefile.am: moved to frontends/xforms/
16552
16553         * lyx_gui_misc.C:
16554         * lyxfunc.C:
16555         * BufferView_pimpl.C: changes for moved mathpanel
16556
16557 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16558
16559         * gettext.h: fix gettext_init() in --disable-nls
16560
16561 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16564
16565 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16566
16567         * lyx.C:
16568         * lyx.h: strip external form
16569
16570 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16571
16572         * BufferView_pimpl.C: add comment, destroySplash()
16573
16574 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16575
16576         * BufferView_pimpl.C:
16577         * LyXAction.C:
16578         * buffer.C:
16579         * commandtags.h:
16580         * lyxfunc.C: use re-worked insetinclude
16581
16582 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16583
16584         * buffer.C: add using std::stringstream.
16585
16586         * lyx_cb.C: readd using std::ios.
16587
16588         * buffer.C: add using std::map.
16589
16590         * BufferView_pimpl.C: add using std::vector.
16591
16592         * ShareContainer.h: add std:: to swap.
16593
16594         * buffer.h: add some typedefs
16595         * buffer.C (getLists): use them
16596         (getLists): renamed from getTocList.
16597         add a counter for the different float types and use it in the
16598         generated string.
16599         (getLists): use the same counter for the NEW_INSETS and the "non"
16600         NEW_INSETS
16601
16602         * lyx_cb.h: remove unused items, includes, using etc.
16603
16604         * ShareContainer.h: remove some commented code, add more comments
16605         and "documentation".
16606
16607 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16608
16609         * buffer.C (getTocList): make the list also when NEW_INSETS is
16610         defined.
16611
16612         * buffer.h: remove TocType
16613
16614         * buffer.C (getTocList): change to return a map<string,
16615         vector<TocItem> >, implement for dynamic number of list.
16616
16617         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16618         * text2.C (PasteSelection): adjust
16619         * CutAndPaste.C (pasteSelection): adjust
16620
16621         * FloatList.C (FloatList): update from the new_insets branch.
16622         * Floating.[Ch]: ditto
16623         * LaTeXFeatures.C: ditto
16624         * buffer.C: ditto
16625         * lyxlex_pimpl.C: ditto
16626
16627         * paragraph.C (Last): remove when NEW_INSETS is defined.
16628
16629         * other file: changes because of the above.
16630
16631 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16632
16633         * lyxparagraph.h: rename next to next_, previous to previous_,
16634         make them private for NEW_INSETS. Rename Next() to next(),
16635         Previous() to previous().
16636
16637         * other files: changes because of the above.
16638
16639 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16640
16641         * BufferView.h:
16642         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16643         problem.
16644
16645 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16646
16647         * main.C (main): pass lyx_localedir to gettext_init().
16648
16649         * gettext.h: remove locale_init and gettext_init macros
16650
16651         * gettext.C (locale_init): new function
16652         (gettext_init): new function
16653
16654         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16655         setlocale().
16656
16657 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16658
16659         * Moved credits to frontends:
16660         * credits.[Ch]: removed
16661         * credits_form.[Ch]: removed
16662         * lyx_gui_misc.C: remove credits stuff
16663         * Makefile.am:
16664
16665 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16666
16667         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16668
16669         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16670         unneeded destructor.
16671
16672         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16673         a standalone pointer again.
16674
16675         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16676
16677 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16678
16679         * Makefile.am:
16680         * filedlg.h:
16681         * filedlg.C:
16682         * LyXAction.C:
16683         * ToolbarDefaults.C:
16684         * bufferlist.C:
16685         * commandtags.h:
16686         * form1.C:
16687         * form1.h:
16688         * lyx_cb.C:
16689         * lyx_cb.h:
16690         * lyxfunc.h:
16691         * lyxfunc.C:
16692         * BufferView_pimpl.C: use new file dialog in GUII
16693
16694         * lyx_cb.h:
16695         * lyx_cb.C: remove LayoutsCB to Toolbar
16696
16697 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16698
16699         * ShareContainer.h (get): add std:: qualifier
16700
16701 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16702
16703         * ShareContainer.h: define a proper ShareContainer::value_type
16704         type (and use typename to please compaq cxx)
16705
16706 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16707
16708         * lyxparagraph.h: move serveral local vars to
16709         ParameterStruct/ParagraphParameters., use ShareContainer in
16710         FontTable., make vars in FontTable private and add getter and
16711         setter.
16712
16713         * paragraph.C: changes because of the above.
16714
16715         * lyxfont.h: remove copy constructor and copy assignment. (the
16716         default ones is ok), move number inside FontBits. move inlines to
16717         lyxfont.C
16718
16719         * lyxfont.C: add number to initializaton of statics, move several
16720         inlines here. constify several local vars. some whitespace
16721         cleanup. Dont hide outerscope variables.
16722
16723         * Spacing.h: add two new constructors to match the set methods.
16724
16725         * ShareContainer.h: new file, will perhaps be moved to support
16726
16727         * ParameterStruct.h: new file
16728
16729         * ParagraphParameters.h: new file
16730
16731         * ParagraphParameters.C: new file
16732
16733         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16734         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16735
16736         * BufferView_pimpl.C: ParagraphParameter changes.
16737         * buffer.C: Likewise.
16738         * bufferview_funcs.C: Likewise.
16739         * text.C: Likewise.
16740         * text2.C: Likewise.
16741
16742 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16743
16744         * lyxfind.C (LyXReplace): do not redefine default argument in
16745         implementation.
16746         (IsStringInText): ditto
16747         (SearchForward): ditto
16748         (SearchBackward): ditto
16749
16750 2001-03-06  Juergen Vigna  <jug@sad.it>
16751
16752         * lyxfind.C (IsStringInText): put parentes around expressions.
16753
16754 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16755
16756         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16757
16758 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16759
16760         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16761
16762         * stl_string_fwd.h: add comment
16763
16764         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16765
16766         * tabular.h:
16767         * tabular.C: remove unused DocBook methods
16768
16769         * intl.C:
16770         * language.C:
16771         * paragraph.C:
16772         * buffer.C:
16773         killed DO_USE_DEFAULT_LANGUAGE
16774
16775 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16776
16777         * lyx_gui.C: do not include language.h.
16778
16779         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16780         arguments in function implementation.
16781
16782 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16783
16784         * BufferView_pimpl.C: add <ctime>
16785
16786 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16787
16788         * BufferView_pimpl.C: add using std::find_if
16789
16790 2001-02-27  José Matos  <jamatos@fep.up.pt>
16791
16792         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16793         by OnlyPath.
16794
16795 2001-02-11  José Matos  <jamatos@fep.up.pt>
16796
16797         * buffer.C (makeDocBookFile): command styles now have a parameter as
16798         "title" by default.
16799
16800 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16801
16802         * layout_forms.[Ch]: removed
16803         * lyx_cb.[Ch]: out character
16804         * lyx_gui.C: out character
16805         * lyx_gui_misc.C: out character
16806         * bufferview_funcs.C: : out character,
16807         added toggleall as parameter in ToggleAndShow
16808
16809 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16810
16811         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16812
16813         * text2.C (SetCurrentFont): Disable number property at boundary.
16814
16815 2001-02-26  Juergen Vigna  <jug@sad.it>
16816
16817         * lyxfunc.C (getStatus): added a string argument override function so
16818         that this is correctly called from LyXFunc::Dispatch if it contains a
16819         do_not_use_argument which is used!
16820         (Dispatch): added check for "custom" export and call appropriate func.
16821
16822 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16823
16824         * lyxrc.C: Add language_command_local, language_use_babel and
16825         language_global_options.
16826
16827         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16828
16829         * buffer.C (makeLaTeXFile): Use language_use_babel and
16830         language_global_options.
16831
16832 2001-02-23  Juergen Vigna  <jug@sad.it>
16833
16834         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16835         which works with LyXText and putted it inside BufferView. Here now we
16836         only call for that part the BufferView::Dispatch() function.
16837
16838         * BufferView.C (Dispatch): added.
16839
16840         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16841         functions which needs to use a LyXText over from LyXFunc.
16842         (MenuInsertLyXFile): added
16843         (getInsetByCode): added
16844         (moveCursorUpdate): added
16845         (static TEXT): added
16846
16847 2001-02-22  Juergen Vigna  <jug@sad.it>
16848
16849         * BufferView_pimpl.C (update): call a status update to see if LyXText
16850         needs it.
16851
16852 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16853
16854         * vc-backend.C (revert): implement for CVS
16855         (getLog): implement for CVS
16856
16857 2001-02-20  Juergen Vigna  <jug@sad.it>
16858
16859         * text2.C (ClearSelection): added BufferView param for inset_owner call
16860
16861         * lyxfunc.C (TEXT): added this function and use it instead of
16862         directly owner->view()-text of getLyXText().
16863
16864 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16865
16866         * src/layout_forms.C: out preamble
16867         * src/layout_forms.h: out preamble
16868         * src/lyx_cb.C: out preamble
16869         * src/lyx_cb.h: out preamble
16870         * src/lyx_gui.C: out preamble
16871         * src/lyx_gui_misc.C: out preamble
16872         * src/lyxfunc.C: connect with guii preamble
16873
16874 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16875
16876         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16877
16878 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16879
16880         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16881         whether to run bibtex.
16882
16883 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16884
16885         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16886
16887 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16888
16889         * Makefile.am (lyx_SOURCES): removed bibforms.h
16890
16891         * vspace.h: doxygen
16892
16893         * text.C (GetVisibleRow): make several local vars const
16894
16895         * tabular.C: small cleanup.
16896
16897         * lyxserver.C (callback): use compare instead of strncmp
16898
16899         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16900         inlines to after class or to paragraph.C
16901
16902         * lyxfont.h: remove friend operator!=
16903
16904         * converter.h: move friend bool operator< to non friend and after
16905         class def.
16906
16907         * combox.h: small cleanup
16908
16909         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16910         to inlines after class def.
16911
16912         * buffer.C (pop_tag): use string operations instead of strcmp
16913
16914         * bmtable.c: doxygen, small cleanup
16915
16916         * LaTeX.h: remove friend operator==
16917
16918 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16919
16920         * screen.C:
16921         * lyxrc.[Ch]:
16922         * lyxfunc.C:
16923         * lyxfont.[Ch]:
16924         * lyx_cb.C:
16925         * intl.[Ch]:
16926         * commandtags.h:
16927         * buffer.C:
16928         * WorkArea.[Ch]:
16929         * LyXAction.C:
16930         * BufferView_pimpl.C:
16931         * BufferView.[Ch]: remove cruft
16932
16933 2001-02-14  Juergen Vigna  <jug@sad.it>
16934
16935         * lyxfunc.C: removed #if 0 unused code
16936
16937         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16938
16939         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16940
16941         * text2.C (SetSelection): added a BufferView * parameter
16942
16943 2001-02-13  Juergen Vigna  <jug@sad.it>
16944
16945         * lyxfunc.C (Dispatch): fixed protected blank problem.
16946         * BufferView2.C (protectedBlank): added LyxText * parameter.
16947
16948         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16949         (AppendColumn): same as above for column_info.
16950
16951         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16952         (moveCursorUpdate): use a LyXText param for support of InsetText.
16953
16954         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16955         (tripleClick): ditto
16956
16957         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16958
16959         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16960
16961         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16962
16963         * text2.C (SetSelection): set correct update status if inset_owner
16964         (ToggleFree): ditto
16965
16966 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16967
16968         * tabular.C: remove some commented code.
16969
16970 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16971
16972         * BufferView_pimpl.C: call hideSplash()
16973
16974         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16975
16976         * include_form.h:
16977         * bibforms.h: remove
16978
16979         * lyxfunc.C:
16980         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16981           add LFUN_CHILD_CREATE
16982
16983         * counters.h: fix tiny typo
16984
16985         * lyx_cb.C:
16986         * lyx.h:
16987         * lyx_gui.C:
16988         * lyx.C: move splash to frontends/xforms/
16989
16990         * lyx_gui_misc.C: move Include and Bibform to frontends
16991
16992         * lyxvc.h: clarify comment
16993
16994         * vspace.C: tiny housekeeping
16995
16996 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16997
16998         * text.C (PrepareToPrint): RTL Fix.
16999
17000         * paragraph.C (GetUChar): New method.
17001         (String):  Use GetUChar.
17002
17003         * buffer.C (asciiParagraph): Use GetUChar.
17004
17005 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17008
17009 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17010
17011         * buffer.h:
17012         * buffer.C: rename to getLogName(), handle
17013           build log / latex log nicely
17014
17015 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * MenuBackend.C:
17018         * MenuBackend.h: remove support for reference menuitem type.
17019
17020 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17021
17022         * BufferView_pimpl.C: housekeeping
17023         * BufferView_pimpl.h:
17024         * LyXView.h:
17025         * Makefile.am:
17026         * Timeout.C:
17027         * Timeout.h:
17028         * minibuffer.h: move Timeout GUI-I
17029
17030 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17031
17032         * lyxrc.C (read): Update converters data-structures.
17033
17034 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17035
17036         * LaTeX.h (operator!=): add operator != for Aux_Info
17037
17038 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17039
17040         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17041
17042         * LaTeXLog.C: deleted, useful code moved to Buffer
17043
17044         * buffer.h:
17045         * buffer.C: new function getLatexLogName()
17046
17047         * lyx_gui_misc.C:
17048         * lyx_gui.C:
17049         * lyxvc.C:
17050         * lyxvc.h:
17051         * lyxfunc.C: use frontends for LaTeX and VC logs
17052
17053 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17054
17055         * LaTeX.h: yet another std:: that Allan forgot.
17056
17057         * Variables.C (set): renamed from isset(), because this clashes
17058         with some HP-UX macros (grr).
17059
17060 2001-02-06  Allan Rae  <rae@lyx.org>
17061
17062         * LaTeX.h: Another bug fix.  Missing std:: this time.
17063
17064 2001-02-04  Allan Rae  <rae@lyx.org>
17065
17066         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17067         floats problem. I've left it commented out because it's not quite
17068         correct.  It should also test that the current object is a table or
17069         figure inset.  But I haven't gotten around to figuring out how to do
17070         that.  I *think* it'll be something like: "table" == inset.type()
17071
17072         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17073         bool.
17074
17075 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17076
17077         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17078         all the citation/databases/styles in the auxilary file.
17079         (run): Rerun latex if there was a babel language error.
17080
17081 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17082
17083         * text.C (Backspace): Preserve the font when changing newline char
17084         with a space.
17085         (BreakParagraph): If the cursor is before a space, delete the space.
17086
17087         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17088
17089 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17090
17091         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17092         new argument (code).
17093         (ChangeCitationsIfUnique): New method.
17094
17095         * paragraph.C (GetPositionOfInset): Handle bibkey.
17096
17097 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * BufferView_pimpl.h: change type of Position::par_pos to
17100         LyXParagraph::size_type.
17101
17102 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17103
17104         * BufferView_pimpl.C (savePosition, restorePosition): Write
17105         messages to minibuffer.
17106
17107 2001-01-28  José Matos  <jamatos@fep.up.pt>
17108
17109         * buffer.C (makeDocBookFile): adds support for document language.
17110         A silly restriction on the name of LatexCommand types where removed.
17111         Added support for CDATA sections, allows to chars unescaped, used
17112         among others in code, to avoid escape < and >.
17113
17114 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17115
17116         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17117         saved positions instrad of a stack. Furthermore, a position is
17118         stored using paragraph id/paragraph position.
17119
17120         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17121         Remove LFUN_REF_BACK.
17122
17123 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17124
17125         * converter.C (dvipdfm_options): New method.
17126
17127 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17128
17129         * vspace.C (isValidLength): Fix for empty input string.
17130
17131 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * LyXAction.C (init): change description of LFUN_FIGURE to
17134         "Insert Graphics"
17135
17136 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17137
17138         * LaTeX.C: add using directive
17139
17140 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17141
17142         * MenuBackend.C (expand): Fix the sorting of the formats.
17143
17144 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17145
17146         * lyx_main.C: tiny error message fix
17147
17148 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17151         calling fl_initialize(). This fixes the problem with ',' as
17152         decimal separator in text files.
17153
17154 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17155
17156         * trans.C (process): Fix the keymap bug.
17157
17158 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17159
17160         * LaTeX.C (scanAuxFiles): New method. Provides support for
17161         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17162         (scanLogFile) Scan for "run BibTeX" messages.
17163
17164         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17165         OT1 font encoding. Also, load the aecompl package if the ae
17166         package is loaded.
17167
17168         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17169
17170 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17171
17172         * texrow.C (increasePos): turn two error messages into debug
17173         messages.
17174
17175 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17176
17177         * LaTeX.C (scanAux): Handle the \@input macro.
17178         (runBibTeX): Use scanAux().
17179
17180         * language.C (latex_options_): New field.
17181
17182         * LaTeXFeatures.C (getMacros): Add language macros.
17183
17184         * buffer.C (makeLaTeXFile): Small fix.
17185
17186 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17187
17188         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17189
17190         * text2.C: add a using directive.
17191
17192 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17193
17194         * BufferView2.C:
17195         * lyx_gui_misc.h:
17196         * lyxfr1.C:
17197         * lyxfunc.C: kill LyXBell.
17198
17199 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17200
17201         * text.C (IsBoundary): Remove the error message
17202
17203         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17204
17205         * lyxrc.C (setDefaults): Correct initialization value for
17206         font_norm_type.
17207
17208 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17209
17210         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17211         gotoError().
17212
17213         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17214         and GotoNextNote().
17215
17216         * src/LyXAction.C: Added reference-next.
17217
17218         * text.C (InsertChar): Use contains instead of strchr.
17219
17220         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17221
17222 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17223
17224         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17225         alignment commands (when needed).
17226
17227         * text.C (InsertChar): Add ':' to number separator chars.