]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
260b097364f50b30b0f0ab665d2e4b689b84c91b
[lyx.git] / src / ChangeLog
1 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
2
3         * lyxlex_pimpl.h: #include <fstream>.
4
5 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * vc-backend.C (find_file): rewrite to use boost.filesystem
8         (scanMaster): ditto
9
10         * main.C (main): sett default name check for boost.filesystem to
11         no check
12
13         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
14         (open): ditto
15         (doImport): ditto
16         (actOnUpdatedPrefs): ditto
17
18         * lyx_main.C (init): rewrite to use boost.filesystem
19         (queryUserLyXDir): ditto
20
21         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
22         (getContentsOfAsciiFile): ditto
23
24         * lastfiles.C (readFile): rewrite to use boost.filesystem
25
26         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
27
28         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
29         (loadLyXFile): ditto
30
31         * buffer.C (Buffer): adjust for destroydir
32         (getLogName): rewrite to use boost.filesystem
33         (setFileName): ditto
34         (save): use fs::copy_file (from fs_extras)
35
36         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
37
38         * LaTeX.C (run): rewrite to use boost.filesystem
39         (scanAuxFiles): ditto
40         (handleFoundFile): ditto
41
42 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
43
44         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
45
46         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
47
48 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
49
50         * lyxlayout.[Ch]: change some vars from float to double
51
52         * buffer.C (readFile): make a local var const
53
54         * Several files: use convert<> instead of atoi,strToXXX and friends
55
56 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * LaTeXFeatures.[Ch]: Add a static list packages_ that
59         holds the contens of packages.lst. New functions getAvailable
60         and isAvailable to parse and check that list, resp.
61
62         * LyXAction.C:
63         * lfuns.h:
64         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
65
66         * bufferparams.[Ch]: new param output_changes.
67
68         * Buffer.C: increase file format to 240.
69         Use output_changes and isVailable.
70
71         * changes.[Ch]:
72         * paragraph.C:
73         * paragraph_pimpl.C: Use output_changes and isVailable.
74
75 2005-01-23  Angus Leeming  <leeming@lyx.org>
76
77         * output_latex.C: #include "insetbibitem.h", rather than
78         forward declare function bibitemWidest.
79
80 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
81
82         * lyx_main.C (init): make it compile on the Mac.
83
84 2005-01-20  Angus Leeming  <leeming@lyx.org>
85
86         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
87         (setLyXMisc): (char string literal) != (char string literal) is
88         performing a comparison on the addresses. Convert one operand
89         explicitly to string to guarantee expected behaviour.
90         From MSVC warning.
91
92 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
93
94         * buffer.C:
95         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
96
97         * output_plaintext.C: remove unneeded #include gzstream.h.
98
99 2005-01-20  Angus Leeming  <leeming@lyx.org>
100
101         * SpellBase.h: rename some of the elements of the Result enum.
102
103         * aspell_local.h:
104         * ispell.h:
105         * pspell.h:
106         * aspell.C (check):
107         * ispell.C (check):
108         * pspell.C (check): ditto
109
110 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
111
112         * buffer.C: add #include <fstream>.
113
114         * lyx_main.C (init): Compile fix.
115
116         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
117
118 2005-01-20  Angus Leeming  <leeming@lyx.org>
119
120         * mover.h: change commentary to reflect the changed meaning of
121         the $$s placeholder.
122
123 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * output_linuxdoc.C (linuxdocParagraphs): silence warning
126
127         * lyxfind.C (MatchString::operator()): remove bogus semicolon
128
129 2005-01-20  Angus Leeming  <leeming@lyx.org>
130
131         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
132         printing diagnostic data by not dereferecing an iterator past the
133         end.
134
135 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
136
137         * buffer.C (readHeader): use "&&" rather than "and".
138
139         * lyxserver.h (inPipeName, outPipeName): make these const.
140
141 2005-01-19  Angus Leeming  <leeming@lyx.org>
142
143         * lyx_main.C (error_handler, init): protect SIGHUP with
144         #ifdef SIGHUP guards.
145
146 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
149
150 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * text.C (setHeightOfRow): add a margin at the top and bottom of
153         the document (bug 1761)
154
155 2005-01-17  Angus Leeming  <leeming@lyx.org>
156
157         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
158         with "python ". Workaround for a brain-dead Windows.
159
160 2005-01-16  Angus Leeming  <leeming@lyx.org>
161
162         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
163         for MacOSX and Windows to use prependEnvPath.
164         Strip out the hard-coded block to add elements to the PATH for
165         MacOSX and replace it with a call to prependEnvPath using the
166         contents of LyXRC::path_prefix.
167         (queryUserLyXDir): strip out the code to run reconfigure, instead
168         returning a boolean indicating the necessity to do so.
169         (reconfigureUserLyXDir): contains the code to reconfigure the
170         user support directory. Is now called after the various LyXRC data
171         files have been read.
172
173         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
174
175 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
176
177         * converter.[Ch] (convert): take a new parameter try_default. Use
178         a default converter (imagemagick) if try_default is true.
179
180 2005-01-13  Angus Leeming  <leeming@lyx.org>
181
182         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
183         os::cygwin_path_fix.
184         (write): output LyXRC::cygwin_path_fix as necessary.
185
186 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
187
188         * lyxrc.h:
189         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
190
191 2005-01-12  Angus Leeming  <leeming@lyx.org>
192
193         * lyx_main.C (init): set the PATH variable to include the
194         directory containing the LyX binary when running on Mac or Windows.
195
196 2005-01-12  Angus Leeming  <leeming@lyx.org>
197
198         * lyx_main.C (init): remove cruft that purports to set the locale
199         dir. It doesn't and is not needed anyway.
200
201 2005-01-10  Angus Leeming  <leeming@lyx.org>
202
203         * Makefile.am: remove the lyx_main.C special casing.
204
205         * BufferView_pimpl.C:
206         * bufferlist.C:
207         * exporter.C:
208         * lyx_cb.C:
209         * lyx_main.C:
210         * lyxfunc.C:
211         * messages.C: use support/package.h to provide the paths to the
212         various directories used by LyX.
213
214 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
215
216         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
217         layout if pasting into an empty paragraph)
218
219 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * tex-accent.C: add <string>
222
223 2005-01-06  José Matos  <jamatos@lyx.org>
224
225         * ParagraphParameters.C (write): put every parameter in its own line.
226         * paragraph.C (write): reduce number of consecutive empty lines exported.
227         * buffer.C (LYX_FORMAT): increase file format to 239.
228
229 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
230
231         * everywhere: change support/tostr.h -> support/convert.h
232
233         * tabular.C: make all write_attributes templates, tostr -> convert
234
235         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
236         (emptyTag): and -> &&, and fix type for ret from getChar
237         (getFirstWord): fix type for ret from getChar
238         (onlyText): and -> &&
239         (simpleDocBookOnePar): and not -> && !, fix type for ret from
240         getChar
241
242         * toc.C (goTo, action):
243         * text3.C (dispatch):
244         * text.C (currentState):
245         * tex-accent.C (DoAccent):
246         * sgml.C:
247         * lyxrc.C:
248         * lyxfunc.C (menuNew):
249         * lyxfinc.C (replace):
250         * counters.C (laberItem):
251         * bufferview_funcs.C (font2string):
252         * bufferparams.C (writeFile):
253         * buffer.C (readFile):
254         * Spacing.C (set):
255         * MenuBackend.C: tostr -> convert
256
257         * LaTeX.C (runMessage): fix format
258         (scanAuxFiles): tostr -> convert
259
260         * BufferView_pimpl.C (savePosition): fix format
261         (restorePosition): ditto
262         (dispatch): ditto
263
264 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * Spacing.[Ch]: New method getValueAsString().
267
268         * Spacing.[Ch]:
269         * bufferparams.C:
270         * ParagraphParameters.C:
271         * lyxlayout.C:
272         * text.C:
273         * text3.C: store/read spacing value as string.
274
275         * rowpainter.C: change float value (spacing_val) to double.
276
277         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
278         broken custom document spacing).
279
280 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
281
282         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
283         namespace, also more use of temp references and const
284
285         * cursor.[Ch] (getStatus): move to lyxfunc.C
286
287         * bufferparams.C: reformat slightly
288
289         * bufferview_funcs.C (font2string): constify arg
290
291         * changes.C:
292         * converter.C:
293         * counters.C:
294         * bufferlist.C:
295         * buffer_funcs.C: (many funcs): constify arg on function
296         definitions, also make more local vars const, also add ASSERTS on
297         pointer args.
298
299         * buffer.C (LYX_FORMAT): put const in correct place
300         (many funcs): constify arg on function definitions, also make
301         more local vars const
302
303         * aspell_local.h: remove "struct" from typdef setup
304
305         * aspell.C (check): make word_ok const
306         (nextMiss): simplify slightly
307         (error): ditto
308
309 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
310
311         * lyxrc.[Ch]: store all float values as strings.
312         use int (not float) for lyxrc.dpi.
313
314 2005-01-04  Angus Leeming  <leeming@lyx.org>
315
316         * lyx_cb.C (Reconfigure):
317         * lyx_main.C (queryUserLyXDir):
318         to run the <system_lyxdir>/configure correctly on Windows, prefix
319         the path to the script with "sh " when generating the string that
320         is passed to system().
321
322 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
325
326 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * lyxlength.C (asLatexString): get rid of setprecision
329
330 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * text2.C (setLayout): remove unused variable endpit.
333         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
334
335         * paragraph.C (onlyText): remove unused variable style.
336
337         * cursor.C (bruteFind): remove unused variables beg and end.
338
339         * Makefile.am (dist_noinset_DATA): not needed anymore
340
341         * cheaders/*: remove.
342
343 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
344
345         * text3.C: fix LFUN_MATH_MODE.
346
347 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * buffer_funcs.C (countWords): new function. Counts words between
350         two iterators.
351
352         * BufferView_pimpl.C (getStatus, dispatch): handle
353         LFUN_WORDS_COUNT.
354
355         * LyXAction.C (init):
356         * lfuns.h: add LFUN_WORDS_COUNT.
357
358 2004-12-19  Angus Leeming  <leeming@lyx.org>
359
360         * buffer.C (save): s/slashify_path/internal_path/.
361
362 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
363
364         * lyxfind.C (findChange): do not search for end of pars, because
365         the change tracker cannot handle this (fixes bug 1719).
366
367 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
368
369         * paragraph.[Ch] (autoBreakRows): remove
370
371         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
372
373         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
374         avoid using the paragraph one
375
376         * text2.C (LyXText, insertStringAsLines): adjust
377
378 2004-12-16  Angus Leeming  <leeming@lyx.org>
379
380         * bufferlist.C:
381         * lyx_main.C:
382         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
383
384 2004-12-14  Angus Leeming  <leeming@lyx.org>
385
386         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
387
388         * bufferlist.C (emergencyWrite):
389         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
390         GetEnvPath("HOME").
391
392 2004-12-14  Angus Leeming  <leeming@lyx.org>
393
394         * main.C: (main): no longer pass pointers to os::init.
395
396 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * undo.C (textUndoOrRedo): simplify logic, fix a crash
399         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
400
401 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * lyxfunc.C:
404         * text3.C: remove selection_possible global flag
405
406 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * text2.C (getSelectionSpan): remove
409         (changeDepth, changeDepthAllowed): adjust
410
411 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
412
413         * Makefile.am (BOOST_LIBS): use boost variables
414
415 2004-12-03  José Matos  <jamatos@lyx.org>
416
417         * buffer.C: format up to 238.
418
419 2004-12-03  José Matos  <jamatos@lyx.org>
420
421         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
422
423 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
424
425         * cursor.C (goUpDown): remove call to idxUpDown2
426
427 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
428
429         * tabular.[Ch]: use size_t-like types for cell, row and column
430         indices
431
432 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * lyxfunc.C (getStatus): do not lose previous information when
435         calling BufferView::getStatus; do not set a default "Command
436         disabled" message at the beginning, but just before returning.
437
438 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
439
440         * cursor.h (getStatus): add better comment from src/cursor.C
441
442 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * text3.C (getStatus): return false when the lfun is not handled
445
446 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * broken_headers.h: remove
449
450         * Makefile.am (lyx_SOURCES): remove broken_headers.h
451
452 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
455         offset_ref accessors
456
457         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
458         top_y_, merge fitcursor with update
459         (updateScrollbar, scrollDocView, fitCursor, center, update): new
460         coord scheme
461         (metrics): introduce
462         (workAreaDispatch): adapt to new coord scheme
463         (redoCurrentBuffer): remove
464
465         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
466
467         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
468         CurStatus enum.
469
470         * coordcache.[Ch]: add paragraph cache and helpers
471
472         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
473         adjust everywhere
474
475         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
476         (targetX, setTargetX): introduce
477
478         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
479         baseline -> ascent, as the rest of lyx
480
481         * lyxtext.h: remove redoParagraphs, updateParPositions,
482         fullRebreak, redoParagraphInternal. move dist to anon namespace in
483         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
484         have ascent/descent (ascent is ascent of first par)
485
486         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
487         step of BufferView
488
489         * paragraph.[Ch]: unify dimension handling with the rest of lyx
490
491         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
492
493         * pariterator.C: fix infinite loop introduced in par->pit renaming
494
495         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
496         in insets and LyXText, draw two off-screen paragraphs using
497         NullPainter, and adapt to new coord scheme
498
499         * text.C:
500         * text2.C:
501         * text3.C: adapt lfun handlers to the new coord scheme, which
502         means: there's only guaranteed coord information for onscreen pars
503         plus one above and one below. This implies that one can do search
504         from y coordinates in the range [-1,workHeight]
505
506 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
507
508         * rename a lot of InsetOld to InsetBase
509
510 2004-11-25  Angus Leeming  <leeming@lyx.org>
511
512         * BufferView_pimpl.C:
513         * lyx_cb.C:
514         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
515
516 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
519         call BufferView::getStatus if LCursor::getStatus did nothing
520         (setStatusMessage, getStatusMessage): removed.
521
522         * FuncStatus.C (message): new methods. Used to provide an error
523         message indicating why a command is disabled.
524         (clear, |=, FuncStatus): update for message.
525
526 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
527
528         * lyxfunc.C (dispatch): always call sendDispatchMessage
529
530 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
531
532         * BufferView.C:
533         * BufferView_pimpl.C:
534         * CutAndPaste.C:
535         * FontIterator.C:
536         * buffer.C:
537         * cursor.C:
538         * cursor_slice.[Ch]:
539         * dociterator.[Ch]:
540         * lyxfind.C:
541         * paragraph_funcs.C:
542         * pariterator.C:
543         * rowpainter.C:
544         * text.C:
545         * text2.C:
546         * text3.C:
547         * undo.C: par->pit renaming
548
549 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * tabular.C (cellstruct): use initialization, store a shared_ptr
552         to insettext instead of the insettext directly, adjust to fit.
553         (operator=):  new function
554         (swap): new function
555         (rowstruct): use initialization
556         (columnstruct): use initialization
557         (ltType): use initialization
558
559
560         * lyxlength.h (swap): new function
561
562         * LColor.[Ch] (operator=): use the common semantics
563
564 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
565
566         * lyxfind.C (findNextChange): update the bufferview after setting
567         the selection.
568
569 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
570
571         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
572         number of InsetOptArgs has already been inserted.
573
574         * output_latex.C (latexOptArgInsets): new method. This outputs all
575         the optarg insets, up to the limit defined in the layout file.
576         (optArgInset): removed
577         (TeXOnePar): call latexOptArgInsets; correctly update texrow
578
579 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * paragraph.C (isLetter): remove special spellchecker-related
582         code; return true also for digits
583         (isWord, isKomma): remove
584
585         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
586         * lyxfind.C (MatchString()): use isLetter instead of isWord
587
588 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
589
590         * pariterator.h (operatir=): comment out un-implemented member
591         function.
592
593         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
594         static cast.
595
596 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * lyxfont.h: include LColor.h to satisfy concept checks.
599
600 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
601
602         * pariterator.h: add typdefs for value_type, difference_type,
603         pointer and reference to satisfy concept checks. Also add default
604         constructor for same reason.
605
606         * pariterator.C (operator++): add post-increment operator to
607         satisfy concept checks.
608
609         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
610         checks.
611
612         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
613
614         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
615         checks. Also rename base_type to BaseType to follow naming
616         standard better.
617
618         * FloatList.h: include Floating.h to satisfy concept checks.
619
620 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * lyxfunc.C (getStatus): when the origin of the request is menu or
623         toolbar, and the LyXView does not have focus, do as if there was
624         no buffer (bug 1720)
625
626         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
627         FuncRequest to individual entries of LFUN_SEQUENCE
628
629 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
630
631         * output_latex.C (TeXOnePar): override runparams.moving_arg
632         according to the needprotect value of the current paragraph (bug
633         1739)
634
635         * paragraph.C (simpleTeXOnePar): no need to override
636         runparams.moving_args here
637
638 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
639
640         * vspace.C: fix off-by-one-error, related to fix #1682
641
642 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * lengthcommon.C: a more general fix for bug 1682
645
646 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
647
648         * text.C (backspace): fix crash
649
650 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
651
652         * format.[Ch] (getFormatFromFile): new method
653         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
654
655 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
658
659 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * lyxfunc.C (dispatch): remove the verbose argument
662         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
663         instead
664
665         * kbmap.C (defkey): set the origin of func to KEYBOARD
666
667         * MenuBackend.C (MenuItem):
668         * ToolbarBackend.C (add): set the origin of func to UI
669
670         * funcrequest.[Ch]: add origin member, which indicates which part
671         of LyX requests an action
672
673 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
674
675         * converter.C (move): don't lie in the error message
676         * converter.h (isReachable, move): document
677
678 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
679
680         * buffer.C: remove unused using lyx::support::atoi
681         * paragraph_funcs.C: ditto
682
683 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
684
685         * bufferlist.C (exists): use bind and equal_to instead of
686         compare_memfun
687         (getBuffer): ditto
688         * lyxtextclasslist.C (NumberOfClass): ditto
689
690         * cursor.C (insert): use for_each instead of explicit for loop
691
692         * bufferlist.C (getFileNames): use std::transform and
693         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
694
695         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
696         for loop
697
698         * buffer.C (changeLanguage): use for_each instead of explicit for
699         loop
700         (hasParWithID): implement using getParFromID
701
702         * LaTeXFeatures.C: ws change only
703
704         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
705         to cleanup a bit.
706
707         * BufferView_pimpl.C (trackChanges): use for_each instead of
708         expilicit for loop
709
710 2004-11-04  André Pönitz  <poenitz@gmx.net>
711
712         * undo.h:
713         * undo.C (textUndoOrRedo): fix crash when creating undo information.
714
715         * dociterator.C (asDocIterator): use hard assert again.
716
717 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxlength.C (asLatexString): rewrite so that it does not use
720         snprintf anymore
721
722 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * text3.C (specialChar, dispatch): make sure cursor moves to the
725         right after inserting an inset
726
727 2004-11-02  José Matos  <jamatos@lyx.org>
728
729         * output_docbook.C (docbook):
730         * paragraph.C (getID):
731         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
732         garantee that the output is always legal.
733
734         * tabular.C (docbook):
735         * outputprams.[Ch]: remove mixed contents.
736
737 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * text2.C (setCounter): prevent endless loop
740
741 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
742
743         * exporter.C (copyFile): use the mover instead of support::copy()
744         * exporter.C (Export): pass format and latex name to copyFile()
745         * exporter.h (addExternalFile): document
746         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
747
748 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
749
750         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
751
752 2004-10-30  José Matos  <jamatos@lyx.org>
753
754         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
755         text and no inset or font change. This allows to use CDATA
756         sections just for the whole paragraph.
757
758 2004-10-30  José Matos  <jamatos@lyx.org>
759
760         * paragraph.C (getFirstWord): remove unused variable.
761
762 2004-10-30  José Matos  <jamatos@lyx.org>
763
764         * paragraph.C (getFirstWord): the content should always be escaped
765         there.
766         (simpleDocBookOnePar):
767         * output_docbook.C (makeEnvironment): replace reference to CDATA
768         to style pass_thru.
769
770 2004-10-30  José Matos  <jamatos@lyx.org>
771
772         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
773
774 2004-10-30  José Matos  <jamatos@lyx.org>
775
776         * output_docbook.C (makeParagraphs):
777         * paragraph.[Ch] (emptyTag): for docbook and company, if the
778         standard paragraph has only a given type of content drop the wrapper.
779
780 2004-10-29  José Matos  <jamatos@lyx.org>
781
782         * output_docbook.C (makeEnvironment):
783         * sgml.C (openTag):
784         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
785
786 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
787
788         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
789         (cleanID): sanitize any id.
790
791 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
792
793         * buffer.C, lyxlex_pimpl.C:
794         * lyxlex_pimpl.C (setFile):
795         s/getExtFromContents/getFormatFromContents/
796
797 2004-10-28  José Matos  <jamatos@lyx.org>
798
799         * output_docbook.C (makeEnvironment): move id to broadest possible
800         scope.
801
802         * sgml.C (openTag): apply substitution of <> for all attributes.
803
804 2004-10-28  José Matos  <jamatos@lyx.org>
805
806         * buffer.C (makeLinuxDocFile, makeDocBookFile):
807         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
808         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
809
810         * sgml.[Ch]: new version for open and closeTag for paragraph and
811         for strings. Now they handle the ids of paragraphs.
812
813 2004-10-26  Angus Leeming  <leeming@lyx.org>
814
815         * Makefile.am: add mover.[Ch].
816
817         * converter.C (convert, move): use the new Movers to move external
818         files to the temp directory.
819
820         * lyx_main.C (init): ensure that the global system_movers data
821         is initialised.
822
823         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
824         preferences file.
825
826         * mover.[Ch]: new files, defining a Mover as a utility to move an
827         external file between directories and, if necessary, manipulate this
828         file using a helper script.
829
830 2004-10-25  José Matos  <jamatos@lyx.org>
831
832         * output_docbook.C (makeCommand): merge two if's that tested the
833         same condition.
834
835 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * sgml.C (escapeString): fix warning in a better way
838
839 2004-10-25  José Matos  <jamatos@lyx.org>
840
841         * sgml.C (escapeString): import the require boosts header file for
842         tie, and avoid a signed unsigned comparison.
843
844 2004-10-25  José Matos  <jamatos@lyx.org>
845
846         * sgml.h: add #include <string>
847
848 2004-10-25  José Matos  <jamatos@lyx.org>
849
850         * sgml.[Ch] (escapeString): new function to escape all the string.
851
852 2004-10-24  José Matos  <jamatos@lyx.org>
853
854         * paragraph.[Ch] (getFirstWord): new function to get the first
855         word. Useful for description.
856         (simpleDocBookOnePar): remove depth argument, add another that
857         says where to start the paragraph.
858
859         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
860         use the new functions to fix cleanly the support for descriptions.
861
862 2004-10-24  José Matos  <jamatos@lyx.org>
863
864         * buffer.C (makeLinuxDocFile, makeDocBookFile):
865         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
866         * output_linuxdoc.C (linuxdocParagraphs):
867         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
868         add buffer as argument.
869
870 2004-10-24  José Matos  <jamatos@lyx.org>
871
872         * output_docbook.C (makeEnvironment, searchEnvironment): place
873         CDATA inside paragraphs and fix scope for listitems.
874
875 2004-10-24  José Matos  <jamatos@lyx.org>
876
877         * output_docbook.C: remove using statement for stack.
878
879 2004-10-23  José Matos  <jamatos@lyx.org>
880
881         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
882         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
883         docbook. The new scheme is recursive and makes use of iterators, the
884         same as latex export works.
885         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
886         directly with the paragraph contents. This code was moved up to
887         output_docbook.C (docbookParagraphs).
888         * sgml.C (openTag, closeTag): removed unneeded newlines.
889         (closeEnvTags) removed.
890
891 2004-10-23  André Pönitz  <poenitz@gmx.net>
892
893         * undo.C (textUndoOrRedo):
894         * dociterator.C (asDocIterator): work around crash
895
896         * cursor.C (getStatus): replace ASSERT by more verbose error message
897           and manual correction of the problem. Should increase stability
898           while providing more sensible information.
899
900 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
903
904         * bufferlist.C (previous, next): new methods
905
906         * lfuns.h:
907         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
908
909 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
910
911         * buffer.C (makeDocBookFile): add dsssl stylesheet control
912         entities to preamble.
913
914 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
915
916         * messages.C (Pimpl): strip off translation context information
917
918 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
921         the cursor is correct (bug 1694)
922
923 2004-10-13  José Matos  <jamatos@lyx.org>
924
925         * output_docbook.C (docbookParagraphs): fix closing tags in the
926         end of the document.
927
928 2004-10-09  José Matos  <jamatos@lyx.org>
929
930         * buffer.C: format up to 237.
931         * bufferparams.C (write): use tostr to convert booleans to strings.
932
933 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
934
935         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
936
937 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
938
939         * LaTeX.C: implement use of babel language in xindy.
940
941 2004-10-05  José Matos  <jamatos@lyx.org>
942
943         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
944         Add new translators to help reading and writing the lyx file.
945
946 2004-10-05  José Matos  <jamatos@lyx.org>
947
948         * ParagraphParameters.C (read):
949         * text.C (readParToken): replace nexToken by more appropriate lex
950         methods.
951
952 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
953
954         * LaTeX.C (runMakeIndex):
955         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
956         (usually 'makeindex') configurable.
957
958         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
959         with a variable rather than with a number.
960
961 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * output_latex.C (TeXOnePar): make sure font setting is the first
964         thing that gets output (and the last at the end). Should fix bug
965         1404.
966
967 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * pch.h: use proper signal include
970
971         * LaTeX.h: Use preferred calling of Boost.Signal
972         * buffer.h: ditto
973
974 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
975
976         * pch.h: dont include <boost/function/function0.hpp>
977
978         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
979
980         * paragraph_pimpl.h: remove usage of ShareContainer
981
982         * paragraph_pimpl.C: remove initialization of ShareContainer.
983
984 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         Fix bug #1666
987
988         * BufferView.C (putSelectionAt): change the semantics when
989         backwards == true: now, this just swaps cursor and anchor wrt the
990         forward case
991
992         * BufferView.h (putSelectionAt): add some documentation
993
994         * lyxfind.C (findBackwards): rewrite using while(). In particular,
995         make sure backwardChar is done at least once (to avoid getting
996         stuck)
997         (findNextChange): use putSelectionAt in the forward direction
998         (operator()): use Paragraph::isWord
999
1000 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1001
1002         * Spacing.C (set): c_str fix
1003
1004 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * lyx_cb.C (Reconfigure): quote the name of configure script in
1007         case it contains spaces
1008
1009 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1010
1011         * client: new dir
1012
1013         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1014         (BOOST_LIBS): use top_buildir when looking for the file
1015
1016 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1017
1018         * pch.h: do not use include boost/format.hpp, multiple symbols
1019                 will result (gcc bug)
1020
1021
1022 2004-08-23  José Matos  <jamatos@lyx.org>
1023
1024         * bufferparams.C (readToken): fix reading of the author field.
1025
1026 2004-08-20  José Matos  <jamatos@lyx.org>
1027
1028         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1029
1030 2004-08-20  José Matos  <jamatos@lyx.org>
1031
1032         * lyxlex.[Ch] (findToken): remove function.
1033
1034         * ParagraphParameters.C (findToken):
1035         * bufferparams.C (findToken): replace call for previous function
1036         with local copy. This local function has one more argument, the
1037         read string argument.
1038
1039 2004-08-16  José Matos  <jamatos@lyx.org>
1040
1041         * ParagraphParameters.C (write):
1042         * Spacing.C (writeFile):
1043         * bufferparams.C (writeLaTeX):
1044         * lyx_cb.C (Reconfigure):
1045         * paragraph.C (write):
1046         * tabular.C (write): remove unnecessary space at end of line.
1047
1048
1049 2004-08-16  José Matos  <jamatos@lyx.org>
1050
1051         * text.C (readParagraph): remove debug message.
1052
1053 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1056         crash
1057
1058         * output_plaintext.C (asciiParagraph): set depth correctly
1059
1060         * outputparams.h: add member depth
1061
1062         * paragraph_funcs.C (ownerPar): remove.
1063
1064         * text2.C (setCounter): remove first_pit; comment out some
1065         non-working code that uses ownerPar
1066
1067         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1068         uses ownerPar
1069
1070 2004-08-16  José Matos  <jamatos@lyx.org>
1071
1072         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1073         For the same level of importance use the same chanel to report problems.
1074         (read): add code to deal with \begin_body and \end_body.
1075
1076
1077 2004-08-15  José Matos  <jamatos@lyx.org>
1078
1079         * lyxlex.C (getString): fix comment, buffer::readBody is now
1080         buffer:readDocument.
1081
1082         * tex-strings.C (string_papersize): Default -> default,
1083         Custom -> custom, for consistency with other options.
1084
1085 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * pch.h: new file
1088
1089         * Makefile.am: support pch
1090
1091 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * text.C (readParToken): remove the static LyXFont variable and
1094         pass it as a parameter instead. This fixes a nasty bug where an
1095         inset will be inserted with a bad font in some situations
1096         (readParagraph): adapt
1097
1098         * text2.C (setCounter): reduce number of calls to pars_[pit]
1099
1100         * text.C (singleWidth): add an assert, fix a test
1101
1102         * rowpainter.C (paintText): reduce number of calls to singleWidth
1103
1104         * paragraph.C (isHfill):
1105         (isNewline): ws only
1106
1107 2004-08-14  André Pönitz  <poenitz@gmx.net>
1108
1109         * text.C:
1110         * text2.C:
1111         * rowpainter.C:
1112         * lyxtext.h (several functions): use a Paragraph & argument
1113         instead of par_type
1114
1115 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1118
1119         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1120
1121         * text.C (singleWidth): remove useless test
1122
1123 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * tabular.h: remove bogus comments
1126
1127         * tabular.C (getDescentOfRow):
1128         (isPartOfMultiColumn): add assertions
1129
1130         * lyxlength.C (inPixels): remove #warning
1131
1132 2004-08-14  André Pönitz  <poenitz@gmx.net>
1133
1134         * paragraph.h: inline getChar()
1135
1136         * BufferView.h: remove unused declarations
1137
1138 2004-08-14  José Matos  <jamatos@lyx.org>
1139
1140         * Buffer.[Ch] (readDocument): new name for old readBody.
1141         * Buffer.C: new file format, new keywords: \begin_document,
1142         \begin_header, \begin_body, \end_body.
1143
1144         * bufferparams.C (readToken): replace all calls to lex.nextToken
1145         by lex.next(). Do the same to eatLine except where really needed.
1146
1147         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1148         line when writing to the lyx file.
1149
1150         * output_plaintext.C (asciiParagraph): fix Bibliography style
1151         handling.
1152
1153         * text.C (read): fix end of file handling.
1154
1155 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * MenuBackend.C (Menu::operator[]): new method to access
1158         individual menu items
1159         (Menu::hasFunc): new method. search for an item that corresponds
1160         to a given func
1161         (MenuBackend::specialMenu): new method
1162         (MenuBackend::expand): if a special menu has been set, skip
1163         entries whose func() appears in this menu
1164
1165 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1166
1167         * text3.C: use Debug::DEBUG a bit more
1168
1169         * text.C (leftMargin): try to simplify a tiny bit change var x to
1170         l_margin. Dont output the wide margins always.
1171         (rightMargin): no margin in inner texts
1172
1173         * rowpainter.h (nestMargin): new func
1174         (changebarMargin): new func
1175         (rightMargin): new func
1176
1177         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1178         now functions.
1179         (paintLast): ditto
1180
1181         * factory.C (createInset): modify setDrawFrame
1182
1183         * cursor.C: use Debug::DEBUG a bit more
1184
1185 2004-08-14  André Pönitz  <poenitz@gmx.net>
1186
1187         * coordcache.[Ch]:
1188         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1189         cache for all insets in (at least partially) visible (top-level)
1190         paragraphs.
1191
1192         * BufferView_pimpl.C: reset external coord cache before every update.
1193         This means the coord cache only contains valid entries.
1194
1195 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1196
1197         bug 1096
1198         * BufferView_pimpl.C (getInsetByCode): move function out of class
1199         and change in to a template in anon namespace. Also fix to do what
1200         suits us better.
1201
1202 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1203
1204         bug 1305
1205         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1206         of char
1207         (breakParagraph): rename par to par_offset and use a local
1208         reference. Add code to keep the language over a rebreak.
1209         (breakParagraphConservative): rename par to par_offset, use a
1210         local reference
1211         (mergeParagraph): ditto
1212         (outerHook): ditto
1213         (isFirstInSequence): ditto
1214         (outerFont): rename pit to par_offset
1215
1216         * paragraph.C: ws change
1217         * paragraph.h: ditto
1218         * text3.C: ditto
1219         * text.C: ditto
1220
1221 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1224         treatment for ']'
1225
1226         * paragraph.C (simpleTeXOnePar): when we have a \item with
1227         optional argument, enclose the argument with curly brackets (in
1228         case it contains a closing square bracket)
1229
1230         * text2.C (editXY):
1231         * text2.C (editXY):
1232         * text3.C (checkInsetHit): constify
1233
1234 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1237         documents (bug 1629)
1238
1239 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         Fix toggling of collapsable insets with the mouse (bug 1558)
1242
1243         * lyxfunc.C (dispatch): adapt to LCursor changes
1244
1245         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1246         make sure that dispatch is not invoked twice
1247
1248         * cursor.C (needsUpdate): new method
1249         (dispatch): return void
1250         (result): new method, to access the DispatchResult of the cursor.
1251
1252 2004-08-13  José Matos  <jamatos@lyx.org>
1253
1254         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1255
1256 2004-08-13  André Pönitz  <poenitz@gmx.net>
1257
1258         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1259
1260         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1261           multiple cells
1262
1263 2004-08-12  André Pönitz  <poenitz@gmx.net>
1264
1265         * text3.C: take out the 'cursor right' form insertInset and only
1266         do it in those places when it is really needed. Fixes crash on
1267         C-m...
1268
1269 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1272
1273         * BufferView_pimpl.C (setBuffer): initialize the current font of
1274         the underlying LyXText
1275
1276 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * kbsequence.C (print): use UI native formatting for menu
1279         shortcuts
1280
1281         * text.C (insertChar): call Paragraph::insertChar with a font
1282         argument (cosmetic)
1283
1284         * paragraph.C (insertInset, insertChar): the version that takes a
1285         LyXFont argument is now a wrapper around the other one (the
1286         opposite used to be true).
1287
1288         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1289         argument. Font setting is done in Paragraph now.
1290
1291 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * outputparams.h: add new members intitle and lang.
1294
1295         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1296         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1297
1298 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1299
1300         * text3.C (dispatch): remove special handling of button 4 and 5,
1301         it is now taken care of in the frontend code.
1302
1303 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1304
1305         * Spacing.h: add <string> (STLPort compile fix)
1306
1307 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1308
1309         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1310
1311 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1312
1313         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1314         to bool.
1315
1316         * converter.C (showMessage): inherit from unary_function, make
1317         operator() const.
1318
1319         * buffer.C (writeFile): initialize retval
1320
1321         * InsetList.h: rename private variable list to list_
1322         * InsetList.[Ch]: adjust accordingly.
1323
1324 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1325
1326         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1327         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1328         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1329         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1330         * ParagraphParameters.C, LaTeXFeatures.C: replace
1331         "support/std_sstream.h" with <sstream>
1332
1333 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1334
1335         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1336         * lyxsocket.C (LyXServerSocket): ditto
1337         (serverCallback): ditto
1338
1339 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1340
1341         * LaTeXFeatures.C: check release date when loading jurabib.
1342
1343 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1344
1345         * lyxserver.C (startPipe): call register_socket_callback
1346         (endPipe): call unregister_socket_callback
1347
1348 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1349
1350         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1351         (LyXServerSocket): register the callback
1352         (LyXServerSocket): unregister the callback
1353         (fd): delete function
1354         (serverCallback): improve error checking and setup the callbacks.
1355         (dataCallback): change arg to fd.
1356         (writeln): new func (copied fro the client socket) used for server
1357         write to client.
1358         (LyXDataSocket): simplify
1359         (~LyXDataSocket): close ann unregiser callback
1360         (server): delete function
1361         (fd): delete function
1362         (readln): small changes, improve some std::string usage
1363         (writeln): constify a bit
1364
1365 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1368         Qt frontend
1369
1370 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1371
1372         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1373         after it has been populated
1374
1375 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * text2.C (insertInset): move cursor when inserting inset.
1378
1379 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * kbmap.C (findbindings): a couple of new methods. returns a
1382         container of kb_sequence objects. The real work is done by the
1383         private recursive version
1384         (printbindings): uses findbindings to print out a bracketed list
1385         of bindings (renamed from findbinding).
1386
1387         * MenuBackend.C (binding): use kb_keymap::findbindings
1388
1389         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1390
1391 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1392
1393         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1394
1395 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * paragraph.C (isWord): return true on insets that report
1398         isLetter().
1399
1400         * text.C (getWord): use Paragraph::isWord to decide what is in a
1401         word and what is not; fix bug 1609.
1402
1403 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1404
1405         * tex-strings.C: add "none" to string_paperpackages[], fixes
1406         off-by-one-error in the paperpackage selection.
1407
1408         * lyxlex.[Ch]:
1409         * tex-strings.[Ch]: char const * string[n]
1410         -> char const * const string[]
1411
1412 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1415         command, return early.
1416
1417 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1418
1419         * debug.h: add DEBUG to enum and fix size of ANY.
1420
1421         * debug.C: add support for Debug::DEBUG
1422         (showTags): cast errorTags.level to unsigned int
1423
1424         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1425         (redoCurrentBuffer): ditto
1426         (updateScrollbar): ditto
1427         * cursor.C (dispatch): ditto
1428         * text2.C (setLayout): ditto
1429         (setFont): ditto
1430         (updateCounters): ditto
1431         (editXY): ditto
1432         (deleteEmptyParagraphMechanism): ditto
1433
1434 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1437         annotations to cleanup the Makefile slightly.
1438
1439 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * lyxrc.C: do not set user_email to a default value but use empty
1442         instead. The entry used to be translated, which does not work
1443         since at the point where lyxrc is constructed there is no
1444         translation service available
1445
1446         * messages.C (getLocaleDir): remove and use directly
1447         lyx_localedir() instead
1448
1449 2004-06-02  Angus Leeming  <leeming@lyx.org>
1450
1451         Fix crash caused by dereferencing null pointer 'exportdata' in
1452         OutputParams by creating a new ExportData variable on the heap,
1453         storing it in a boost::shared_ptr.
1454         The crash was triggered when generating an Instant Preview
1455         of an external inset.
1456
1457         * Makefile.am: add outputparams.C
1458
1459         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1460         (c-tor): allocate memory to it.
1461
1462         * exporter.C (c-tor): associated changes.
1463
1464 2004-06-01  Angus Leeming  <leeming@lyx.org>
1465
1466         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1467         contains data before calling isInset(0). (Bug 1513.)
1468
1469 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1470
1471         * exporter.C (checkOverwrite): new method
1472         * exporter.C (copyFile): new method
1473         * exporter.C (Export): copy referenced files to the document dir
1474         * exporter.[Ch]: new class ExportedFile
1475         * exporter.[Ch]: new class ExportData. Contains currently the
1476         names of referenced external files
1477         * outputparams.h: add exportdata member.
1478
1479 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1480
1481         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1482         version.C-tmp
1483
1484 2004-05-19  Angus Leeming  <leeming@lyx.org>
1485
1486         * LaTeXFeatures.C:
1487         * ToolbarBackend.C:
1488         * bufferparams.C:
1489         * lyxfunc.C: small changes due to the introduction of namespace
1490         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1491
1492 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * text3.C (dispatch): supress update when only moving the cursor
1495         * cursor.C (selHandle): remove commented code
1496
1497 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1498
1499         * paragraph.C (startTeXParParams): correct column count
1500         * CutAndPaste.C (pasteSelection): remove const_cast
1501         * output_docbook.C (docbookParagraphs): remove const_cast
1502         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1503         const_cast and return ParagraphList::const_iterator
1504         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1505         * output_plaintext.C (writeFileAscii): remove const_cast
1506         * paragraph.[Ch] (simpleTeXOnePar): make const
1507         * paragraph_funcs.C (outerPar): use const iterators
1508         * paragraph_pimpl.C (validate): use const iterators
1509         * text.C (setHeightOfRow): use const iterators
1510
1511 2004-05-17  Angus Leeming  <leeming@lyx.org>
1512
1513         * lfuns.h:
1514         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1515
1516         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1517         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1518         if the citation engine has changed.
1519
1520 2004-05-14  José Matos  <jamatos@lyx.org>
1521
1522         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1523         if the textclass does not provide it. Have it different for sgml and
1524         xml.
1525         support the language of document.
1526         * output_docbook.C (docbookParagraphs):
1527         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1528         first anchor as the id of the paragraph, remove special case code.
1529         * sgml.C (escapeChar): escape only < & >.
1530
1531 2004-05-14  Angus Leeming  <leeming@lyx.org>
1532
1533         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1534         dependencies on src/frontends/controllers/biblio.h. Define a
1535         CiteEngine_enum wrapper class to enable the enum to be forward
1536         declared.
1537
1538 2004-05-12  Angus Leeming  <leeming@lyx.org>
1539
1540         * buffer.C: up LYX_FORMAT to 234.
1541         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1542         use_numerical_citations with a single biblio::CiteEngine cite_engine
1543         variable.
1544         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1545
1546 2004-05-13  José Matos  <jamatos@lyx.org>
1547
1548         * converter.h:
1549         * converter.C (Converter, readFlags): add xml member.
1550         * outputparams.h: add XML flavor.
1551         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1552
1553 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1554
1555         * lyxfunc.C (dispatch):
1556         (getStatus): fix handling of LFUN_SEQUENCE
1557
1558 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * debug.C (showLevel): do not forget the end-of-line marker
1561
1562 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * kbmap.C (read): do not stop parsing a bind file when an error
1565         occurs (bug 1575)
1566
1567 2004-04-29  Angus Leeming  <leeming@lyx.org>
1568
1569         * cursor.C:
1570         * factory.C:
1571         * pariterator.C:
1572         * text2.C: wrap a bunch of #warning statements
1573         inside #ifdef WITH_WARNINGS blocks.
1574
1575 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1576
1577         * buffer.C: increment format to 233.
1578
1579 2004-04-28  Angus Leeming  <leeming@lyx.org>
1580
1581         * BufferView_pimpl.C:
1582         * lyxfunc.C:
1583         * text3.C:
1584         s/updateToolbar()/updateToolbars()/
1585         s/Toolbar.h/Toolbars.h/
1586
1587 2004-04-28  Angus Leeming  <leeming@lyx.org>
1588
1589         * BufferView.[Ch] (c-tor):
1590         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1591         No longer passes these data to the WorkArea generator.
1592
1593 2004-04-28  Angus Leeming  <leeming@lyx.org>
1594
1595         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1596
1597 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1598
1599         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1600
1601 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * output_latex.C (TeXEnvironment): make sure that there is a line
1604         break before \end{foo} for the last paragraph of a document
1605         (TeXOnePar): if the paragraph is at the end of the document (or
1606         inset) and the language has to be reset, then make sure that the
1607         line break is _before_ the language command, not after (fixes bug
1608         1225); also make sure that the language reset command is the first
1609         thing after the paragraph (to ensure proper nesting of
1610         environments and thus fix bug 1404)
1611
1612 2004-04-21  John Levon  <levon@movementarian.org>
1613
1614         * ToolbarBackend.h:
1615         * ToolbarBackend.C: make "name" be a programmatic name
1616         and a gui_name field.
1617
1618         * lyxfunc.C: display the minibuffer on M-x
1619
1620 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1623         (bug 1526)
1624
1625 2004-04-19  Angus Leeming  <leeming@lyx.org>
1626
1627         * BufferView_pimpl.C (setBuffer): changed preview interface.
1628
1629         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1630         possible values.
1631
1632 2004-04-19  John Levon  <levon@movementarian.org>
1633
1634         * BufferView_pimpl.C:
1635         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1636
1637 2004-04-05  Angus Leeming  <leeming@lyx.org>
1638
1639         * text.C (redoParagraphs): add call to updateCounters(), thereby
1640         fixing the missing "Figure #:" label from the caption of a
1641         figure float.
1642
1643 2004-04-13  Angus Leeming  <leeming@lyx.org>
1644
1645         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1646         cursor is clicked out of an inset.
1647
1648 2004-04-13  Angus Leeming  <leeming@lyx.org>
1649
1650         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1651         than an InsetOld one.
1652
1653 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1654
1655         * format.[Ch]: add editor to Format
1656         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1657         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1658
1659 2004-04-08  André Pönitz  <poenitz@gmx.net>
1660
1661         * metricsinfo.h: remove PainterInfo::width member
1662
1663 2004-04-08  Angus Leeming  <leeming@lyx.org>
1664
1665         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1666         "\providecommand" rather than "\newcommand", thereby preventing
1667         clashes with packages that define "\boldsymbol" themselves.
1668         Eg, beamer.
1669
1670 2004-04-08  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1673         thereby squashing an unnecessary warning.
1674
1675 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1676
1677         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1678         setBuffer()
1679
1680 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * BufferView.C (setCursor): call redoParagraph (some insets could
1683         have been opened)
1684         (putSelectionAt): remove the 'double update' trick
1685
1686         * BufferView_pimpl.C (fitCursor): call refreshPar
1687         (workAreaDispatch): remove an uneeded update call
1688         (dispatch): remove some manual update calls
1689
1690         * cursor.[Ch]: remove cached_y_, updatePos
1691         (selHandle): set noUpdate when appropriate
1692
1693         * lyxfunc.C (dispatch): track if we need an update
1694
1695         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1696
1697         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1698         (paintSelection): cheap optimization, do not call cursorX when not
1699         needed
1700         (paintPars): change signature
1701         (refreshPar): add
1702         (paintText): adjust
1703         (paintTextInset): adjust
1704
1705         * text.C: adjust
1706
1707 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1708
1709         * lengthcommon.C: compilation fix: remove explicit array size from
1710         unit_name[] and friends
1711
1712 2004-04-05  Angus Leeming  <leeming@lyx.org>
1713
1714         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1715
1716         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1717         present only for the preferences dialog.
1718         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1719
1720 2004-04-05  Angus Leeming  <leeming@lyx.org>
1721
1722         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1723         to enable the frontends to export changes to lyxrc correctly.
1724
1725         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1726
1727 2004-04-07  André Pönitz  <poenitz@gmx.net>
1728
1729         * cursor.[Ch] (selClear, adjust): remove math
1730
1731         * cursor_slice.C: more agressive assert
1732
1733         * lyxfunc.C:
1734         * BufferView_pimpl.C: rework mouse event dispatch
1735
1736         * dociterator.C:
1737         * paragraph.C:
1738         * text2.C:
1739         * text3.C: adjust
1740
1741 2004-04-05  André Pönitz  <poenitz@gmx.net>
1742
1743         * cursor.[Ch] (valign, halign...): remove unneeded functions
1744
1745 2004-04-05  Angus Leeming  <leeming@lyx.org>
1746
1747         * lyxlength.[Ch] (unit_name et al.): const-correct.
1748
1749 2004-04-05  Angus Leeming  <leeming@lyx.org>
1750
1751         * BufferView_pimpl.C:
1752         * buffer.C:
1753         * counters.C:
1754         * cursor.C:
1755         * lyxfunc.C
1756         * paragraph.C:
1757         * pariterator.C:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1761
1762 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1765
1766 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1767
1768         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1769         * BufferView_pimpl.[Ch] (getStatus)
1770         * BufferView.[Ch] (getStatus): add
1771         * lyxfunc.C (getStatus): move lfuns handled in
1772         BufferView::dispatch to te function above
1773         * Cursor.C (setSelection): set selection() = true
1774
1775 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1778
1779 2004-03-31  Angus Leeming  <leeming@lyx.org>
1780
1781         * lyxfunc.C (dispatch): Fall through to the generic
1782         Dialogs::show("preamble").
1783
1784 2004-03-31  Angus Leeming  <leeming@lyx.org>
1785
1786         * lyxfunc.C (dispatch): Fall through to the generic
1787         Dialogs::show("spellchecker").
1788
1789 2004-03-31  Angus Leeming  <leeming@lyx.org>
1790
1791         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1792         preferences dialog.
1793
1794 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * BufferView.C
1797         * cursor.[Ch]
1798         * dociterator.[Ch]:
1799         * insetiterator.[Ch]:
1800         * lyxfind.C:
1801         * lyxfunc.C:
1802         * pariterator.[Ch]:
1803         * text2.C:
1804         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1805
1806 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1809         insets where we are putting the cursor.
1810
1811 2004-03-31  Angus Leeming  <leeming@lyx.org>
1812
1813         * lfuns.h:
1814         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1815
1816         * lyxrc.[Ch] (read, write): overloaded member functions taking
1817         a std::[io]stream arguments.
1818
1819         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1820
1821 2004-03-31  Angus Leeming  <leeming@lyx.org>
1822
1823         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1824         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1825
1826         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1827         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1828
1829 2004-03-31  Angus Leeming  <leeming@lyx.org>
1830
1831         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1832         the LFUN_ALL_INSETS_TOGGLE code.
1833
1834 2004-03-30  Angus Leeming  <leeming@lyx.org>
1835
1836         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1837         has died. Fall through to the generic Dialogs::show("document").
1838
1839 2004-03-30  Angus Leeming  <leeming@lyx.org>
1840
1841         * lfuns.h:
1842         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1843         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1844
1845         * lyxfunc.C (getStatus, dispatch): define the actions for these
1846         lfuns. Little more than a cut and pste job from ControlDocument.C
1847
1848         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1849
1850 2004-03-30  Angus Leeming  <leeming@lyx.org>
1851
1852         * lfuns.h:
1853         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1854         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1855
1856         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1857         open/closed state of ollapsable insets. Usage:
1858
1859         all-inset-toggle <state> <name>, where
1860         <state> == "open" || "closed" || "toggle" and
1861         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1862
1863         * lyxtext.h, text2.C (toggleInset): removed.
1864
1865         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1866         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1867         now passes LFUN_INSET_TOGGLE to the found inset.
1868
1869         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1870         is now invoked as "all-insets-toggle toggle branch".
1871
1872 2004-03-30  Angus Leeming  <leeming@lyx.org>
1873
1874         * dociterator.C:
1875         * insetiterator.C:
1876         * pariterator.[Ch]: added/corrected header blurb.
1877
1878 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * dociterator.[Ch]: add an inset_ member
1881         (backwardPos): implemented
1882         (backwardPos, forwardPos): use inset_ when the stack is empty.
1883         (doc_iterator_begin, doc_iterator_end): implemented
1884         * pariterator.[Ch]: adjust, add begin, end
1885         * insetiterator.[Ch]: adjust, add begin, end
1886         * cursor.C:
1887         * document.C:
1888         * BufferView.C:
1889         * BufferView_pimpl.C:
1890         * CutAndPaste.C: adjust
1891
1892 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1893
1894         * buffer.C: increment file format to 232.
1895         * LaTeXFeatures.C: add bibtopic package.
1896         * bufferparams.[Ch]: param \use_bibtopic.
1897
1898         * lyxrc.[Ch]: add lyxrc bibtex_command
1899         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1900
1901         * buffer.C: increment file format to 231.
1902
1903 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1904
1905         * dociterator.C: implement forwardPar
1906         * iterators.[Ch]: remove, replaced by
1907         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1908         * BufferView.C:
1909         * BufferView_pimpl.C:
1910         * CutAndPaste.C:
1911         * buffer.C:
1912         * bufferview_funcs.C:
1913         * cursor.C:
1914         * lyxfind.C
1915         * lyxfunc.C
1916         * paragraph_funcs.C
1917         * toc.C:
1918         * Makefile.am: adjust
1919
1920 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1921
1922         * CutAndPaste.C (pasteSelection): fix 2 crashes
1923         (eraseSelection): fix a crash
1924         * paragraph_funcs.C: remove a warning
1925
1926 2004-03-28  Angus Leeming  <leeming@lyx.org>
1927
1928         * lfuns.h:
1929         * LyXAction.C (init): new LFUN_PRINT.
1930
1931         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1932
1933 2004-03-27  Angus Leeming  <leeming@lyx.org>
1934
1935         * lfuns.h:
1936         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1937
1938         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1939
1940 2004-03-27  Angus Leeming  <leeming@lyx.org>
1941
1942         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1943         insetlist always contains non-null pointers to insets.
1944
1945 2004-03-26  Angus Leeming  <leeming@lyx.org>
1946
1947         * src/BufferView_pimpl.C:
1948         * src/CutAndPaste.C:
1949         * src/buffer.C:
1950         * src/iterators.C:
1951         * src/output_plaintext.C:
1952         * src/outputparams.h:
1953         * src/paragraph_funcs.C:
1954         * src/rowpainter.C:
1955         * src/text.C:
1956         * src/text2.C:
1957         * src/frontends/controllers/ControlErrorList.C:
1958         * src/frontends/gtk/FileDialogPrivate.C:
1959         * src/frontends/gtk/GPainter.C:
1960         * src/frontends/gtk/GToolbar.C:
1961         * src/frontends/qt2/QRef.C:
1962         * src/mathed/math_scriptinset.C: squash compiler warnings.
1963
1964 2004-03-26  Angus Leeming  <leeming@lyx.org>
1965
1966         * ispell.C (LaunchIspell::start):
1967         * lyx_cb.C (AutoSaveBuffer::start):
1968         invoke run(DontWait) rather than runNonBlocking().
1969
1970 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1973
1974 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * kbsequence.C (print): adjust
1977
1978         * kbmap.C (printKeySym): rename and change signature
1979         (printKey): use LyXKeySym::print()
1980
1981 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * undo.C: add using std::advance to compile for stlport
1984
1985 2004-03-24  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1988         it leads to a crash when no buffer is present.
1989
1990 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1991             Martin Vermeer  <martin.vermeer@hut.fi>
1992
1993         * lyxfunc.C (dispatch):
1994         * bufferparams.C (readToken): use the new LColor::setColor
1995
1996         * LColor.[Ch] (setColor): new version that takes two strings as
1997         argument and creates a new color entry if necessary
1998
1999 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2000
2001         * buffer.C (makeLaTeXFile): if the main latex file that is
2002         processed is usually a subdocument of some master, then pretend
2003         for a while that it is actually the master
2004
2005 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2006
2007         * buffer.C (getLabelList):
2008         (getBibkeyList): use getMasterBuffer()
2009         (getMasterBuffer): new method. Returns the main document in the
2010         case where one is using included documents.
2011
2012 2004-03-25  André Pönitz  <poenitz@gmx.net>
2013
2014         * Makefile.am:
2015         * iterators.[Ch]:
2016         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2017
2018         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2019
2020         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2021         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2022
2023         * ParameterStruct.h: merge with ParagraphParameters
2024
2025         * lyxtext.h: remove LyXText::parOffset() and getPar()
2026
2027         * text3.C: Remove all 'manual' update calls. We do now one per user
2028         interaction which is completely sufficient.
2029
2030         * Bidi.C:
2031         * BufferView.[Ch]:
2032         * BufferView_pimpl.C:
2033         * FontIterator.[Ch]:
2034         * MenuBackend.C:
2035         * ParagraphParameters.[Ch]:
2036         * buffer.C:
2037         * buffer.h:
2038         * bufferlist.C:
2039         * cursor.[Ch]:
2040         * cursor_slice.[Ch]:
2041         * dociterator.[Ch]:
2042         * errorlist.[Ch]:
2043         * factory.C:
2044         * lfuns.h:
2045         * lyxfind.C:
2046         * lyxfunc.C:
2047         * output_docbook.[Ch]:
2048         * output_latex.[Ch]:
2049         * output_linuxdoc.[Ch]:
2050         * output_plaintext.[Ch]:
2051         * paragraph.[Ch]:
2052         * paragraph_funcs.[Ch]:
2053         * paragraph_pimpl.[Ch]:
2054         * rowpainter.C:
2055         * tabular.[Ch]:
2056         * text.C:
2057         * text2.C:
2058         * toc.C:
2059         * undo.[Ch]: adjust
2060
2061         * frontends/controllers/ControlDocument.C:
2062         * frontends/controllers/ControlErrorList.C:
2063         * frontends/controllers/ControlSpellchecker.C:
2064         * insets/inset.C:
2065         * insets/inset.h:
2066         * insets/insetbase.h:
2067         * insets/insetbibitem.C:
2068         * insets/insetbox.C:
2069         * insets/insetbranch.C:
2070         * insets/insetcaption.C:
2071         * insets/insetcharstyle.C:
2072         * insets/insetcharstyle.h:
2073         * insets/insetcollapsable.C:
2074         * insets/insetcollapsable.h:
2075         * insets/insetert.C:
2076         * insets/insetfloat.C:
2077         * insets/insetfoot.C:
2078         * insets/insetmarginal.C:
2079         * insets/insetnote.C:
2080         * insets/insetoptarg.C:
2081         * insets/insettabular.C:
2082         * insets/insettext.C:
2083         * insets/insettext.h:
2084         * insets/insetwrap.C:
2085         * mathed/math_mboxinset.C:
2086         * mathed/math_nestinset.C:
2087         * mathed/math_scriptinset.C:
2088         * mathed/math_scriptinset.h:
2089         * support/types.h:
2090
2091 2004-03-24  Angus Leeming  <leeming@lyx.org>
2092
2093         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2094         deal with any child processes that have finished but are waiting to
2095         communicate this fact to the rest of LyX.
2096
2097 2004-03-24  Angus Leeming  <leeming@lyx.org>
2098
2099         64-bit compile fixes.
2100
2101         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2102         (c-tor): pass lyx::pos_types rather than ints.
2103
2104         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2105         lyx::pos_type.
2106
2107         * text.C (Delete): compile fix.
2108         (getPar): ensure that function declaration is the same as that in
2109         the header file.
2110
2111 2004-03-23  Angus Leeming  <leeming@lyx.org>
2112
2113         * ispell.C (LaunchIspell):
2114         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2115         a boost::shred_ptr rather than a std::auto_ptr.
2116
2117 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2120         handle LFUN_FILE_INSERT_*
2121
2122         * lyxrc.C (setDefaults, getDescription, output, read):
2123         * lyxrc.h: remove ps_command
2124
2125 2004-03-22  Angus Leeming  <leeming@lyx.org>
2126
2127         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2128         Ensure that error_handler is processed once only and that all data
2129         is saved before attempting to output any warning messages.
2130
2131         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2132
2133 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2136
2137 2004-03-19  André Pönitz  <poenitz@gmx.net>
2138
2139         * cursor.[Ch] (reset): take main text inset as argument
2140
2141         * BufferView: adjust
2142         * BufferView_pimpl.C: adjust
2143
2144         * paragraph.[Ch]: fix completely broken operator=()
2145
2146 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2147
2148         * LColor.C (getFromLyXName): make sure that the color name is used
2149         as lowercase.
2150
2151 2004-03-17  Angus Leeming  <leeming@lyx.org>
2152
2153         * lfuns.h:
2154         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2155
2156         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2157         dialog and to kill a forked process.
2158
2159 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * text2.C (setCursorFromCoordinates): fix font problem
2162
2163 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2164
2165         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2166         bogus "rebuild cursor" code
2167
2168 2004-03-11  André Pönitz  <poenitz@gmx.net>
2169
2170         * buffer.[Ch]: use InsetText instead of LyXText as container for
2171         the main lyx text.
2172
2173         * dociterator.[Ch]: drop the BufferView * member which is not needed
2174         anymore after the change to buffer.C
2175
2176         * paragraph_funcs.C:
2177         * text.C:
2178         * text2.C:
2179         * BufferView.[Ch]:
2180         * BufferView_pimpl.[Ch]:
2181         * cursor.[Ch]:
2182         * cursor_slice.[Ch]: adjust
2183
2184         * text3.C: fix bug in mathDispatch
2185
2186 2004-03-08  André Pönitz  <poenitz@gmx.net>
2187
2188         * undo.[Ch]: use 'StableDocumentIterator' as base for
2189         the Undo struct.
2190
2191 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2192
2193         * LaTeXFeatures.C:
2194         * bufferparams.[Ch]: add jurabib support and param.
2195
2196         * LaTeX.C: add FIXME/comment.
2197
2198 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2199
2200         * buffer.C: increment file format to 230.
2201
2202 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2203
2204         * cursor.C (dispatch): avoid infinite loops
2205
2206 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2207
2208         * rowpainter.C (paintSelection): fix x coordinates
2209
2210 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * text.C (rowBreakPoint): fix breaking before displayed insets
2213
2214 2004-03-01  André Pönitz  <poenitz@gmx.net>
2215
2216         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2217
2218         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2219
2220         * Makefile.am:
2221         * BufferView.C:
2222         * BufferView_pimpl.C:
2223         * buffer.C:
2224         * lyxfind.C:
2225         * lyxfunc.C:
2226         * text.C:
2227         * text2.C:
2228         * text3.C: adjust
2229
2230 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2231
2232         * lyxtext.h:
2233         * text.C:
2234         * text2.C:
2235         * rowpainter.C:
2236         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2237         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2238
2239 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * Bidi.[Ch] (computeTables): const correctness
2242         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2243         fill_hfill, fill_label_hfill and x from Row
2244         * lyxtext.h: prepareToPrint returns a RowMetrics
2245         * rowPainter.C: adjust
2246         * text.C (prepareToPrint): use width, not textWidth. adjust
2247         (redoParagraphInternal, cursorX): adjust
2248         * text2.C (getColumnNearX): adjust
2249         (init): put a default value to the top LyXText::width
2250
2251 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2254
2255 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * lyxtext.h: add FontIterator class
2258
2259         * text.C (FontIterator, operator*, operator->, operator++): add
2260         (rowBreakPoint, setRowWidth): adjust (fixing a
2261         rebreaking bug)
2262
2263 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * BufferView_pimpl.C (workAreaDispatch): allow also
2266         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2267
2268 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * text.C (rowBreakPoint): fix a bug showing with very large insets
2271
2272 2004-02-25  André Pönitz  <poenitz@gmx.net>
2273
2274         * text3.C:
2275         * cursor.[Ch]: move some mathed specific code to mathed
2276
2277 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2278
2279         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2280         use_tempdir in preferences
2281         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2282         tempfile creation
2283         * lyx_main.C: ensure that tempdir is valid
2284         * lyxlex.h: correct typo
2285         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2286         * paragraph.[Ch] (isMultiLingual): make const
2287         * cursor.[Ch] (openable): make const
2288
2289 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2290
2291         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2292
2293 2004-02-20  André Pönitz  <poenitz@gmx.net>
2294
2295         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2296
2297         * cursor.[Ch]: prepare for localized getStatus()
2298
2299         * lyxtext.h:
2300         * tabular.C:
2301         * text.C:
2302         * text2.C:
2303         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2304
2305 2004-02-20  André Pönitz  <poenitz@gmx.net>
2306
2307         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2308
2309 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * text2.C (setCursorFromCoordinates): switch to absolute coords
2312         (cursorUp): adjust
2313         (cursorDown): adjust
2314         * text3.C (dispatch): adjust
2315
2316 2004-02-16  André Pönitz  <poenitz@gmx.net>
2317
2318         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2319           insets/ChangeLog)
2320
2321         * cursor_slice.[Ch]: remove unneeded acessor function
2322
2323         * lyxtext.h: rename rtl() to isRTL()
2324
2325         * rowpainter.C:
2326         * tabular.C:
2327         * text.C:
2328         * text2.C:
2329         * text3.C: adjust
2330
2331 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2332
2333         * rowpainter.C (paintSelection): coord fix
2334
2335 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2336
2337         * Spacing.C: compile fix
2338
2339 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * cursor.C (dispatch): restore current_ before returning
2342
2343 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * text2.C (cursorUp, cursorDown): fix coords
2346         (moveUp): fix crash
2347
2348 2004-02-12  André Pönitz  <poenitz@gmx.net>
2349
2350         * lyxtext.h:
2351         * text.C:
2352         * text2.C:
2353         * text3.C: add LCursor & parameter to most cursor movement functions
2354           remove usage of LyXText::cursorRow() and cursorPar()
2355
2356         * cursor.[Ch]: add textRow() needed members
2357
2358         * BufferView.C:
2359         * BufferView_pimpl.C:
2360         * paragraph.[Ch]:
2361         * BufferView.C:
2362         * BufferView_pimpl.C: adjust
2363
2364 2004-02-11  André Pönitz  <poenitz@gmx.net>
2365
2366         * lyxfunc.C:
2367         * BufferView.[Ch]:
2368         * BufferView_pimpl.C: shift undo/redo handling
2369
2370         * cursor.[Ch]: fix mathed crash
2371
2372         * lyxfind.C:
2373         * lyxtext.h: move selectionAsText to LCursor
2374
2375         * output_latex.C:
2376         * paragraph.C:
2377         * text.C:
2378         * text2.C:
2379         * text3.C: adjust
2380
2381         * rowpainter.C: fix excessive drawing
2382
2383 2004-02-06  André Pönitz  <poenitz@gmx.net>
2384
2385         * BufferView.[Ch]:
2386         * BufferView_pimpl.[Ch]:
2387         * text3.C: move some text specific LFUN handling
2388
2389 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * text3.C (checkInsetHit): adjust coords
2392         * text2.C (getColumnNearX): adjust coords
2393         (edit): adjust coords
2394         * text.C (getRowNearY): add two asserts
2395
2396 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * converter.C:
2399         * format.C: add using std::distance to compile on gcc 2.95/stlport
2400
2401 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2404
2405 2004-02-04  André Pönitz  <poenitz@gmx.net>
2406
2407         * BufferView.[Ch] (insertInset):
2408         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2409
2410         * text2.C:
2411         * text3.C: adjust
2412
2413 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2416         on the default clause of the switch
2417         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2418         wasn't catched by LCursor::dispatch
2419
2420 2004-02-03  André Pönitz  <poenitz@gmx.net>
2421
2422         * BufferView.C:
2423         * cursor.[Ch]: some additional asserts
2424
2425         * undo.[Ch]: remove LyXText dependency in interface
2426
2427         * lyxfunc.C: adjust
2428
2429         * lyxtext.h (firstPar, lastPar): remove dead functions
2430
2431         * text.C:
2432         * text2.C:
2433         * text3.C:
2434         * paragraph.[Ch]: adjust
2435
2436 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * lyxfind.C (find): fix argument order in call to ::find
2439
2440 2004-02-02  André Pönitz  <poenitz@gmx.net>
2441
2442         * cursor.[Ch]: remove direct access to anchor
2443
2444         * text.C: remove findText() hack
2445
2446 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2447
2448         * iterators.[Ch] (lockPath): remove in favour of...
2449         * BufferView.[Ch] (setCursor): this addition
2450         * BufferView.C (putSelectionAt): adjust
2451         * undo.C (performUndoOrRedo): adjust
2452         * lyxfunc.C (dispatch): adjust
2453
2454 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * iterators.C (lockPath): add a missing slice
2457         * undo.C (performUndoOrRedo): remove redundant positioning code
2458
2459 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2460
2461         * vc-backend.C (scanMaster): ";" -> ';'
2462
2463 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2464
2465         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2466         std::binary_function
2467
2468         * lyxtextclass.C (compare_name): rename to...
2469         (LayoutNamesEqual): ...this
2470
2471         * lyxlex_pimpl.C (compare_tags): inherit from
2472         std::binary_function, put back into anon namespace
2473
2474         * lyxfind.C (MatchString): inherig from std::binary_function
2475         (findChange): use empty() istead of !size()
2476
2477         * format.C (FormatNamesEqual): new functor
2478         (getFormat): use it
2479         (getNumber): use it
2480         (add): use it
2481         (erase): use it
2482         (setViewer): use it
2483
2484         * converter.C (compare_Converter): rename to...
2485         (ConverterEqual): ...this, and fixup a bit.
2486         (getConverter): use it, and make function const
2487         (getNumber): use it, and make function const
2488         (add): use it
2489         (erase): use it:
2490
2491         * bufferlist.C: add using boost::bind
2492
2493         * MenuBackend.C (MenuNamesEqual): new functor
2494         (hasMenu): use it, and make function const
2495         (hasSubmenu): use nested bind to get rid of compare_memfun.
2496
2497 2004-01-30  André Pönitz  <poenitz@gmx.net>
2498
2499         * BufferView_pimpl.C:
2500         * cursor.C:
2501         * cursor.h:
2502         * cursor_slice.[Ch]:
2503         * lyxfunc.C:
2504         * lyxtext.h:
2505         * paragraph_funcs.C:
2506         * paragraph_funcs.h:
2507         * rowpainter.C:
2508         * text.C:
2509         * text2.C:
2510         * text3.C: move some of the edit(x,y) handling to the insets
2511         some coordinate changes.
2512
2513 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2514
2515         * text.C: add using statements for std::advance and std::distance
2516
2517         * paragraph.C: add using statement for std::distance
2518
2519         * lyxfind.C: add using statement for std::advance
2520
2521         * cursor.C (region): remove std:: from swap
2522         (openable): use nucleus in stead of operator->
2523
2524         * BufferView.C: add using statements for std::distance and std::swap
2525
2526 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2527
2528         * iterators.C: Remove the pimple, move the needed structures to
2529         the header file. Create accessor for the positions stack.
2530         (asPosIterator): remove function
2531
2532         * PosIterator.C (PosIterator): move constructors to top of file
2533         (PosIterator): reimplement the constructor taking a ParIterator in
2534         terms of setFrom.
2535         (setFrom): new function
2536         (operator!=): inline it
2537
2538 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2539
2540         * lyxfind.C (replaceAll): use std::advance
2541
2542         * iterators.h: inherit from std::iterator.
2543
2544         * PosIterator.C (advance, distance): remove
2545         * PosIterator.h: interit from std::iterator.
2546
2547 2004-01-26  André Pönitz  <poenitz@gmx.net>
2548
2549         * BufferView.[Ch]:
2550         * BufferView_pimpl.[Ch]:
2551         * InsetList.[Ch]:
2552         * PosIterator.[Ch]:
2553         * buffer.h:
2554         * bufferview_funcs.C:
2555         * cursor.[Ch]:
2556         * cursor_slice.h:
2557         * factory.[Ch]:
2558         * iterators.[Ch]:
2559         * lyxfind.C:
2560         * lyxfunc.C:
2561         * lyxtext.h:
2562         * output_docbook.C:
2563         * output_latex.C:
2564         * output_linuxdoc.C:
2565         * output_plaintext.C:
2566         * paragraph.[Ch]:
2567         * paragraph_funcs.[Ch]:
2568         * paragraph_pimpl.[Ch]:
2569         * rowpainter.C:
2570         * tabular.C:
2571         * tabular.h:
2572         * text.C:
2573         * text2.C:
2574         * text3.C: more IU:  dumps most of the rest of the mathcursor
2575     implementation into cursor.[Ch]; "globalize" a bit of it.
2576
2577 2004-01-25  Angus Leeming  <leeming@lyx.org>
2578
2579         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2580
2581 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2582
2583         * LaTeXFeatures.h: add nice_ and nice() const
2584         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2585
2586 2004-01-20  André Pönitz  <poenitz@gmx.net>
2587
2588         * BufferView.[Ch]:
2589         * BufferView_pimpl.C:
2590         * PosIterator.C:
2591         * bufferview_funcs.C:
2592         * cursor.[Ch]:
2593         * cursor_slice.[Ch]:
2594         * factory.C:
2595         * iterators.C:
2596         * lyx_cb.C:
2597         * lyxfind.C:
2598         * lyxfunc.C:
2599         * lyxtext.h:
2600         * rowpainter.C:
2601         * text.C:
2602         * text2.C:
2603         * text3.C:
2604         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2605           LCursor and mathcursor parts to LCursor and InsetBase.
2606
2607 2004-01-15  André Pönitz  <poenitz@gmx.net>
2608
2609         * cursor_slice.[Ch]: add a few covienience functions
2610
2611         * funcrequest.[Ch]: remove BufferView * member
2612
2613         * BufferView_pimpl.C:
2614         * cursor.C:
2615         * factory.[Ch]:
2616         * lyxfind.[Ch]:
2617         * lyxfunc.C:
2618         * lyxtext.h:
2619         * text3.C:
2620         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2621
2622 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2623
2624         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2625         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2626
2627 2004-01-13  André Pönitz  <poenitz@gmx.net>
2628
2629         * textcursor.[Ch]:
2630         * lyxtext.h: hide cursor and selection anchor behind accessor function
2631
2632         * BufferView.C:
2633         * BufferView_pimpl.[Ch]:
2634         * PosIterator.C:
2635         * bufferview_funcs.C:
2636         * cursor.h:
2637         * lyxfind.C:
2638         * lyxfunc.C:
2639         * text.C:
2640         * text2.C:
2641         * text3.C:
2642         * undo.C: adjust
2643
2644         * cursor.h:
2645         * cursor_slice.[Ch]: some integer type changes for inset unification
2646
2647         * lyxcursor.[hC]: remove, it's CursorSlice now.
2648
2649         * Makefile.am:
2650         * BufferView_pimpl.[Ch]:
2651         * bufferview_funcs.C:
2652         * cursor_slice.C:
2653         * lyxtext.h:
2654         * text.C:
2655         * text2.C:
2656         * text3.C:
2657         * textcursor.[Ch]: adjust
2658
2659 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2660
2661         * text2.C (undoSpan): add and use
2662         * text.C (breakParagraph): use undoSpan (fix bug 578)
2663         * lyxtext.h: adjust
2664
2665 2004-01-08  Angus Leeming  <leeming@lyx.org>
2666
2667         * BufferView_pimpl.C (MenuInsertLyXFile):
2668         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2669         * lyxfunc.C (menuNew, open, doImport):
2670         FileFilterList change to the FileDialog open and save functions.
2671
2672 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2673
2674         * ShareContainer.h: make isEqual and isUnique adaptable
2675
2676         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2677
2678 2004-01-07  Angus Leeming  <leeming@lyx.org>
2679
2680         * LyXAction.C:
2681         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2682
2683         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2684
2685         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2686         functions replacing find, replace and replaceAll.
2687
2688         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2689         LFUN_WORDFIND(FORWARD|BACKWARD).
2690
2691 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * text.C (breakParagraph): remove an outdated #warning
2694
2695 2004-01-07  André Pönitz  <poenitz@gmx.net>
2696
2697         * lyxfind.C: somewhat clearer logic
2698
2699         * text.C: prevent crash in cursorX on unitialized row cache
2700
2701 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2702
2703         * lyxcursor.[Ch] (operator>): add
2704         * textcursor.C (selStart, selEnd): use std::min and std::max
2705
2706 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2707
2708         * Chktex.C: include boost/format.hpp
2709
2710 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2711
2712         * InsetList.C: replace functor MathcIt with adaptable functor
2713         InsetTablePosLess
2714         (insetIterator): modify accordingly
2715
2716         * BranchList.h: move the BranchNamesEqual functor here from...
2717         * BranchList.C: ... to here
2718
2719         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2720         SameName and match.
2721         (add): replace a finding loop with std::find_if.
2722
2723 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * output_docbook.C: moving LatexParam functionality into
2726         .layout files
2727
2728 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2729
2730         * buffer.C: increment format to 229.
2731
2732 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2733
2734         * LaTeXFeatures.C:
2735         * lyx_sty.[Ch]: remove minipageindent_def
2736
2737         * LyXAction.C:
2738         * factory.C:
2739         * lfuns.h:
2740         * lyxfunc.C:
2741         * text3.C: remove LFUN_INSET_MINIPAGE
2742
2743 2003-12-28  Angus Leeming  <leeming@lyx.org>
2744
2745         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2746
2747 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * text2.C (setParagraph): fix off-by-one crash
2750
2751 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2752
2753         * output_docbook.C: header stuff for AGU
2754
2755 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2756
2757         * text2.C (redoCursor): remove
2758         * text.C:
2759         * text3.C:
2760         * BufferView_pimpl.C: remove calls to redoCursor and
2761         setCursor(cursor.par(), cursor.pos()) all around
2762
2763 2003-12-15  Angus Leeming  <leeming@lyx.org>
2764
2765         * buffer.C: up the format to 228.
2766
2767 2003-12-15  André Pönitz  <poenitz@gmx.net>
2768
2769         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2770         slices
2771
2772         * Makefile.am:
2773
2774         * BufferView_pimpl.C:
2775         * cursor.[Ch]:
2776         * lyxcursor.[Ch]:
2777         * rowpainter.[Ch]:
2778         * lyxtext.h:
2779         * text.C:
2780         * text2.C:
2781         * text3.C: adjust
2782
2783 2003-12-15  Angus Leeming  <leeming@lyx.org>
2784
2785         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2786         than getFromGUIName to manipulate the color.
2787
2788 2003-12-14  Angus Leeming  <leeming@lyx.org>
2789
2790         * BranchList.[Ch]: minimize the API.
2791         (Branch::getBranch, getColor): now return a 'const &'.
2792         (Branch::setSelected) now returns a bool set to true if the
2793         selection status changes.
2794         (BranchList::clear, size, getColor, setColor, setSelected,
2795         allBranches, allSelected, separator): removed.
2796         (BranchList::find): new functions, returning the Branch with
2797         the given name.
2798         (BranchList::add, remove): return a bool indicating that
2799         the operation was successful.
2800
2801         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2802         new InsetBranch::isBranchSlected member function.
2803
2804         * LColor.[Ch]: mimimize the API.
2805         (fill): renamed as addColor and made private.
2806         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2807         versions of these functions taking a string arg have been removed.
2808
2809         * bufferparams.C (readToken):
2810         * lyxfunc.C (dispatch):
2811         * lyxrc.C (read): changes due to the altered BranchList and
2812         LColor APIs.
2813
2814         * factory.C (createInset, readInset): changes due to altered
2815         InsetBranch c-tor.
2816
2817 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2818
2819         * factory.C:
2820         * lyxfunc.C: remove insetminipage. "minipage-insert"
2821         now produces a frameless minipage box inset.
2822
2823 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * textcursor.[Ch] (selStart,selEnd): add new methods
2826         remove selection::start, end, use LyXCursor::operator<
2827         * lyxcursor.[Ch] (operator<): add
2828         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2829         * BufferView.[Ch] (unsetXSel): add
2830         * text2.C (clearSelection): use unsetXSel,adjust
2831         * text.C: adjust
2832         * text3.C: adjust
2833         * rowpainter.C: adjust
2834         * bufferview_funcs.C (put_selection_at): adjust
2835
2836 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2837
2838         * BufferView_pimpl.C: small coord. correction
2839
2840 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2841
2842         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2843         dragging over the splash screen.
2844
2845 2003-12-11  Angus Leeming  <leeming@lyx.org>
2846
2847         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2848         as it is now handled in LyXText::dispatch.
2849
2850         * text3.C (doInsertInset): remove a level of nesting.
2851
2852 2003-12-11  Angus Leeming  <leeming@lyx.org>
2853
2854         * factory.C (createInset): changes due to the changed interface to
2855         InsetCommandMailer::string2params.
2856
2857 2003-12-10  Angus Leeming  <leeming@lyx.org>
2858
2859         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2860         'dialog-show-new-inset <inset name>'
2861
2862 2003-12-10  Angus Leeming  <leeming@lyx.org>
2863
2864         * buffer.C: up the format to 227.
2865
2866         * factory.C: the box inset is now identified simply by 'Box'.
2867
2868 2003-12-10  Angus Leeming  <leeming@lyx.org>
2869
2870         * buffer.C: up the format to 226.
2871
2872         * factory.C: the note inset is now identified simply by 'Note'.
2873
2874 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2877         when a pit is enough. Standarize a couple of loops.
2878
2879 2003-12-05  Angus Leeming  <leeming@lyx.org>
2880
2881         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2882         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2883         data to the re-worked "log" dialog.
2884
2885 2003-12-03  André Pönitz  <poenitz@gmx.net>
2886
2887         * PosIterator.C:
2888         * iterators.C:
2889         * lyxtext.h:
2890         * output_latex.C:
2891         * paragraph_funcs.C:
2892         * text.C:
2893         * text2.C: use Inset::getText instead of Inset::getParagraph
2894
2895 2003-12-03  André Pönitz  <poenitz@gmx.net>
2896
2897         * buffer.[Ch]:
2898         * lyxtext.h:
2899         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2900         InsetText::read() as LyXText::read()
2901
2902 2003-12-02  Angus Leeming  <leeming@lyx.org>
2903
2904         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2905         type. Add a comment in the implementation that the function uses
2906         the stream's bad() function rather than fail() as the std::streams
2907         would do.
2908
2909 2003-12-02  André Pönitz  <poenitz@gmx.net>
2910
2911         * lyxlex.[Ch]: make interface more similar to std::stream
2912
2913         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2914
2915 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2916
2917         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2918
2919 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2920
2921         * vspace.[Ch]: remove VSpace::NONE
2922
2923 2003-12-01  André Pönitz  <poenitz@gmx.net>
2924
2925         * buffer.[Ch]:
2926         * lyxtext.h: move ParagraphList member to LyXText
2927         rename LyXText::ownerParagraphs to LyXText::paragraph
2928
2929         * CutAndPaste.C:
2930         * bufferview_funcs.C:
2931         * iterators.[Ch]:
2932         * lyx_cb.C:
2933         * paragraph.C:
2934         * rowpainter.C:
2935         * tabular.C:
2936         * text.C:
2937         * text2.C:
2938         * text3.C: adjust
2939
2940         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2941
2942         * undo.C: fix cursor positioning
2943
2944 2003-12-01  John Levon  <levon@movementarian.org>
2945
2946         * BufferView_pimpl.C: fix a crash on exit with
2947         a buffer open
2948
2949 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2950
2951         * BranchList.C: fix setSelected() method.
2952
2953 2003-11-28  André Pönitz  <poenitz@gmx.net>
2954
2955         * ParagraphParameters.[Ch]:
2956         * ParameterStruct.h: remove space above/below from Paragraph to
2957          InsetVSpace
2958
2959         * BufferView_pimpl.C:
2960         * factory.C:
2961         * lyxfunc.C:
2962         * lyxtext.h:
2963         * output_latex.C:
2964         * paragraph.C:
2965         * paragraph_funcs.C:
2966         * rowpainter.[Ch]:
2967         * text.C:
2968         * text2.C:
2969         * text3.C: adjust
2970
2971 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2972
2973         * factory.C: Syntax change for CharStyles
2974
2975 2003-11-28  André Pönitz  <poenitz@gmx.net>
2976
2977         * BufferView.[Ch]:
2978         * BufferView.[Ch]:
2979         * buffer.[Ch]:
2980         * buffer.[Ch]: move LyXText member
2981
2982 2003-11-28  André Pönitz  <poenitz@gmx.net>
2983
2984         * BufferView.[Ch]: make LyXText * text a private member
2985
2986         * BufferView_pimpl.C:
2987         * cursor.C:
2988         * iterators.C:
2989         * lyx_cb.C:
2990         * lyxfind.C:
2991         * lyxtext.h:
2992         * rowpainter.[Ch]:
2993         * text.C:
2994         * text2.C:
2995         * undo.C: adjust
2996
2997         * output_plaintext.C: cleanup
2998
2999 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3000
3001         * buffer.C:
3002         * lyxtextclass.[Ch]: parametrize SGML document header
3003
3004 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * converter.[Ch]:
3007         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3008         getFlavor().
3009
3010 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3011
3012         * text2.C (setFont): rework using PosIterator (no more recursive)
3013         (setCharFont): no more needed
3014         (setLayout): no more selection cursors fiddling (done by redoCursor)
3015         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3016         destroy remaining ones)
3017
3018 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3021         * lyxtext.h: ditto
3022         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3023         selection cursors
3024         * lyxfunc.C: adjust
3025         * text3.C: adjust + re-allow multi par depth changes
3026         * textcursor.C: simplify a bit
3027
3028 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3029
3030         * src/buffer.C:
3031         * src/lyxlayout.C:
3032         * src/lyxlayout.h:
3033         * src/lyxtext.h:
3034         * src/output_docbook.C:
3035         * src/output_latex.C:
3036         * src/paragraph.C:
3037         * src/paragraph.h:
3038         * src/sgml.C:
3039         * src/sgml.h:
3040         * src/text2.C: Introducing a number of tags parametrizing various
3041         XML formats that we may want to support
3042
3043 2003-11-25  André Pönitz  <poenitz@gmx.net>
3044
3045         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3046
3047         * lyxtext.h (leftMargin/rightMargin): simplify interface
3048
3049         * rowpainter.C:
3050         * text.C:
3051         * text2.C:
3052         * text3.C: adjust
3053
3054 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3055
3056         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3057         master file to any child files. Fixes bug 546.
3058
3059 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3060
3061         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3062
3063 2003-11-24  André Pönitz  <poenitz@gmx.net>
3064
3065         * rowpainter.C: simplification
3066
3067         * text2.C (updateCounters): remove call to redoParagraph on
3068         changed labels as this is far too expensive.
3069
3070 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3071
3072         * converter.C (convert): fix a crash: this function gets
3073         called with buffer == 0 from importer code.
3074
3075 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3076
3077         * text3.C (cursorPrevious): make sure that we do not compare
3078         iterators form different containers.
3079         (cursorNext): ditto
3080
3081         * rowpainter.C (paintSelection): make sure that we do not compare
3082         iterators from different containers.
3083
3084         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3085         iterators from different ParagraphList containers.
3086         [NEXT] ditto
3087
3088         * text2.C (LyXText): change order of initialization slightly
3089         (operator=): new function. copy all variables except cache_par_
3090         (moveUp): make sure that we do not compare iterators from
3091         different ParagraphList constainers.
3092         (moveDown): ditto
3093
3094         * text.C (firstPar): new function
3095         (lastPar): new function
3096         (endPar): new function
3097
3098         * lyxtext.h: move things around and group public functions, public
3099         variables, private functions, private variables
3100
3101 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3102
3103         * factory.C: change call to InsetERT constructor to avoid
3104         additional invocation of method status
3105         * text2.C (toggleInset): remove redundant update() call
3106         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3107         instead of a Bufferview pointer
3108
3109 2003-11-21  André Pönitz  <poenitz@gmx.net>
3110
3111         * rowpainter.C: simplification
3112
3113 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * text3.C (dispatch): make possible to extend a word/row selection
3116         with the mouse
3117
3118 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3119
3120         * lyxtext.h: x0_,y0_ -> xo_,yo_
3121         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3122         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3123         * rowpainter.C (paintRows): paint full paragraphs
3124
3125 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3128         screen coordinates)
3129
3130 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * lyxtext.h: add x0_, y0_
3133         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3134         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3135
3136 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * text2.C (setCursorIntern): move the x_target update here *
3139         * text3.C: change some bv() to true/false in calls to
3140         cursorUp/Down/Right/Left
3141         * cursor.C: use helper function.
3142
3143 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3144
3145         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3146         * paragraph_funcs.[Ch]: correct comment
3147         * rowpainter.C: do not paint selections away from bv->cursor()
3148         Fix a long standing selection painting bug.
3149         * text3.C: generalize mouse-selection code to LyXTexts other that
3150         top one
3151         * textcursor.C: do not use y coords if we can use par offsets
3152
3153 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3156         cursor position after e.g. inset insert)
3157
3158 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * lyxfind.C (replace): adjust to locking removal + some
3161         code simplification
3162
3163 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3164
3165         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3166         of the path
3167
3168 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3169
3170         * lyxlayout.[Ch]:
3171         * output_docbook.C: XML sanitation: new layout
3172         parameters InnerTag and CommandDepth
3173
3174 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3175
3176         * BufferView_pimpl.C:
3177         * factory.C:
3178         * text3.C: Fix the insertion and modification of button-style
3179         insets
3180
3181 2003-11-13  André Pönitz  <poenitz@gmx.net>
3182
3183         * InsetList.[Ch]: remove deleteLyXText
3184
3185         * paragraph.[Ch]: cache beginOfBody position
3186
3187         * Bidi.C:
3188         * text.C:
3189         * text2.C:
3190         * text3.C: remove superfluous update() calls
3191
3192         * vspace.C: cleanup
3193
3194 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3195
3196         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3197         * BufferView.C (fitLockedInsetCursor): remove
3198         * cursor.[Ch] (getDim): add
3199         * text.C (getRowNearY): add faster version
3200         * text3.C: remove some update calls
3201
3202 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3203
3204         * LaTeXFeatures.C:
3205         * LyXAction.C:
3206         * MenuBackend.C:
3207         * MenuBackend.h:
3208         * dispatchresult.h:
3209         * factory.C:
3210         * lfuns.h:
3211         * lyxfunc.C:
3212         * lyxtextclass.C:
3213         * lyxtextclass.h:
3214         * text3.C: The Character Style /XML short element patch.
3215
3216 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3217
3218         * text3.C:
3219         * factory.C: Small step to solving 'unable to insert some insets'
3220         problem
3221
3222 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * cursor.[Ch] (updatePos): new function for updating the y
3225         position of the tip inset
3226         * bufferview_funcs.C (put_selection_at):
3227         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3228
3229 2003-11-11  André Pönitz  <poenitz@gmx.net>
3230
3231         * text.C: remove big comment on invalid Paragraph pointers as it is
3232         not valid anymore
3233
3234 2003-11-11  André Pönitz  <poenitz@gmx.net>
3235
3236         * text_funcs.[Ch]: merge with ...
3237
3238         * text.C: ... this
3239
3240         * lyxtext.h:
3241         * text2.C:
3242         * text3.C: adjust
3243
3244         * Makefile.am: remove text_funcs.[Ch]
3245
3246 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * cursor.C (getPos): return absolute cached y coord
3249
3250         * BufferView_pimpl.C (fitCursor): new simplistic code
3251         (workAreaDispatch): add a fitCursor call
3252
3253 2003-11-10  André Pönitz  <poenitz@gmx.net>
3254
3255         * BufferView.[Ch]:
3256         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3257
3258 2003-11-10  André Pönitz  <poenitz@gmx.net>
3259
3260         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3261         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3262         indicate that the cursor needs to leave an inset
3263
3264         * lyxtext.h: remove inset locking
3265
3266         * cursor.[Ch]: re-implement functionality provided by inset locking
3267
3268         * BufferView.[Ch]:
3269         * BufferView_pimpl.[Ch]:
3270         * LyXAction.C:
3271         * bufferview_funcs.[Ch]:
3272         * factory.C:
3273         * funcrequest.[Ch]:
3274         * iterators.C:
3275         * lyx_cb.C:
3276         * lyxfind.C:
3277         * lyxfunc.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C:
3281         * undo.C: adjust
3282
3283 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * PosIterator.[Ch]: replace the stack with a vector, add inset
3286         accesor
3287         * iterators.[C]: adjust
3288
3289 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3290
3291         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3292         replaced
3293         * paragraph_funcs.C (readParToken): put the correct id in the
3294         error item, not the id of the top paragraph
3295
3296 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3299         * bufferview_funcs.C (put_selection_at): use the above
3300
3301 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3302
3303         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3304
3305 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3306
3307         * output_linuxdoc.h:
3308         * output_plaintext.h:
3309         * output.h:
3310         * output_docbook.h: add #include statements
3311
3312 2003-11-05  José Matos  <jamatos@lyx.org>
3313
3314         * output_docbook.[Ch]:
3315         * output_latex.[Ch]:
3316         * output_linuxdoc.[Ch]:
3317         * output_plaintext.[Ch]: New files for output formats.
3318         * output.[Ch]: New file for helper functions.
3319
3320         * buffer.[Ch]:
3321         * paragraph_funcs.[Ch]: output functions moved to new files.
3322
3323         * outputparams.h: rename of latexrunparams.h
3324
3325         * LaTeX.[Ch]:
3326         * buffer.[Ch]:
3327         * bufferlist.[Ch]:
3328         * converter.[Ch]:
3329         * exporter.C:
3330         * paragraph.[Ch]:
3331         * paragraph_funcs.[Ch]:
3332         * paragraph_pimpl.[Ch]:
3333         * tabular.[Ch]: rename ascii to plaintext
3334         and LatexRunParams to OutputParams.
3335
3336 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * iterators.[Ch] (text): require bv argument
3339         * undo.C (recordUndo):
3340         * lyxfunc.C (dispatch):
3341         * bufferview_funcs.C (put_selection_at): adjust
3342
3343 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3344
3345         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3346
3347 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3350         nestings
3351
3352 2003-11-04  André Pönitz  <poenitz@gmx.net>
3353
3354         * cursor.[Ch]: restructure
3355
3356         * BufferView.[Ch]:
3357         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3358
3359         * iterators.[Ch] (asCursor): remove
3360
3361         * lfuns.h: remove LFUN_INSET_EDIT
3362
3363         * lyxfunc.C:
3364         * tabular.C:
3365         * text.C:
3366         * text2.C:
3367         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3368
3369 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3370
3371         * lyxfind.[Ch]: complete overhaul
3372         * BufferView_pimpl.C:
3373         * lyxfunc.C: adjust
3374         * paragraph.[Ch] (insert): add
3375
3376 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3377
3378         * BufferView.[Ch]:
3379         * lyxtext.h:
3380         * text.C: remove dead spellcheck code
3381
3382 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * dispatchresult.h: add a val setter
3385
3386         * cursor.C (dispatch): use a tempvar for data_[i]
3387
3388 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3389
3390         * PosIterator.[Ch]: compile fix
3391
3392 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * text.C (cursorPar): deactivate the cursor cache
3395
3396 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3397
3398         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3399
3400 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * text3.C (dispatch): adjust for new DisptchResult semantics.
3403
3404         * lyxfunc.C (dispatch): handle update when return from
3405         Cursor::dispatch, adjust for new DispatchResult semantics.
3406
3407         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3408         DispatchResult(true) mean to not update. Add class functions for
3409         setting dispatched and update, as well as reading.
3410
3411         * cursor.C (dispatch): don't handle update here
3412
3413 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3416         * trans_mgr.C: adjust
3417
3418         * paragraph_funcs.C (readParToken): exception safety
3419
3420         * lyxvc.h: store the vcs pointer in a scoped_ptr
3421         * lyxvc.C: adjust
3422
3423         * lyxsocket.C (serverCallback): exception safety
3424
3425         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3426
3427         * ispell.C (clone): make it return a auto_ptr
3428
3429         * factory.C (createInset): exception safety
3430         (readInset): exception safety
3431
3432         * bufferlist.C (newBuffer): exception safety
3433
3434         * Thesaurus.C (Thesaurus): use initialization for aik_
3435
3436         * MenuBackend.C (expandToc): exception safety.
3437
3438 2003-11-03  André Pönitz  <poenitz@gmx.net>
3439
3440         * buffer.C:
3441         * buffer.h:
3442         * bufferview_funcs.C: remove getInsetFromId()
3443
3444         * lyxcursor.[Ch]:
3445         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3446
3447         * lyxfunc.C:
3448         * text2.C:
3449         * text3.C: adjust
3450
3451 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * PosIterator.C (distance, advance): new
3454         * bufferview_funcs.[Ch] (put_selection_at): new
3455         * iterators.[Ch] (lockPath): new
3456
3457 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * iterators.[Ch] (asPosIterator): added
3460         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3461         * PosIterator.[Ch]: added
3462
3463 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * text3.C:
3466         * lyxfunc.C:
3467         * cursor.C (dispatch):
3468         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3469
3470         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3471         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3472         contructor, add a class function dispatched. Remove operator>=
3473
3474 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * debug.C: only use the default constructor for debugstream
3477         (lyxerr) here.
3478
3479         * main.C (main): include debug.h and setup the lyxerr streambuf
3480         here.
3481
3482 2003-10-31  José Matos  <jamatos@lyx.org>
3483
3484         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3485
3486         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3487         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3488         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3489         * paragraph_pimpl.C (simpleTeXSpecialC):
3490         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3491         add LatexRunParams argument.
3492
3493         * exporter.C (Export): change call accordingly.
3494
3495         * latexrunparams.h: add new member to take care of the other backends.
3496 2003-10-30  José Matos  <jamatos@lyx.org>
3497
3498         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3499         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3500         factorise code for paragraph output.
3501         * buffer.[Ch]:
3502         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3503         move functions.
3504
3505 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * text3.C (dispatch):
3508         * lyxfunc.C (dispatch):
3509         * cursor.C (dispatch):
3510         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3511
3512         * dispatchresult.h: make the dispatch_result_t ctor explicit
3513
3514 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3515
3516         * sgml.[Ch]:
3517         * buffer.C: small refactoring of docbook stuff
3518
3519 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3522         meaning.
3523
3524 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3525
3526         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3527         operator dispatch_result_t, and operators for == != and >=
3528
3529         * cursor.C (dispatch): adjust for operator dispatch_result_t
3530         removal. comment out call to update
3531
3532         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3533
3534 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * text3.C:
3537         * text2.C:
3538         * text.C:
3539         * lyxtext.h:
3540         * lyxfunc.C:
3541         * cursor.C:
3542         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3543         (dispatch):
3544
3545         * dispatchresult.h: new file, DispatchResult broken out of
3546         insets/insetbase.h
3547
3548         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3549
3550 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * text.C (rowBreakPoint): put a hack inside #if 0
3553
3554 2003-10-28  André Pönitz  <poenitz@gmx.net>
3555
3556         * lyxtext.h:
3557         * metricsinfo.C:
3558         * paragraph_funcs.C:
3559         * rowpainter.C:
3560         * text.C:
3561         * text2.C: general cleanup (lots of small stuff)
3562
3563 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * text2.C (cursorEnd): simple fix to the "end key goes to one
3566         before the end on last row" bug
3567
3568 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * text.C (backspace): fix the "zombie characters"
3571
3572 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3575
3576 2003-10-27  André Pönitz  <poenitz@gmx.net>
3577
3578         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3579
3580         * factory.C: handle new InsetPagebreak, InsetLine
3581
3582         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3583         and move handling into new InsetPagebreak, InsetLine
3584
3585         * BufferView_pimpl.C:
3586         * LyXAction.C:
3587         * ParagraphParameters.C:
3588         * ParameterStruct.h:
3589         * lyxfunc.C:
3590         * lyxtext.h:
3591         * paragraph.C:
3592         * paragraph.h:
3593         * paragraph_funcs.C:
3594         * paragraph_pimpl.C:
3595         * rowpainter.C:
3596         * text.C:
3597         * text2.C:
3598         * text3.C: adjust
3599
3600 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * text.C:
3603         * lyxrow_funcs.[Ch]:
3604         * Bidi.C:
3605         * paragraph.C:
3606         * lyxtext.h:
3607         * rowpainter.C:
3608         * text2.C:
3609         * text3.C: remove lastPos uses in favour of Row::endpos
3610
3611 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * undo.C (performUndoOrRedo): fix two crashes by setting a
3614         cursor by hand and reordering some calls. Use bv->lockInset instead
3615         of inset->edit because the latter loses cursor information
3616
3617 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3620         by Martin
3621         (rowBreakPoint): fix width. change point to point + 1.
3622         Add a missing check.
3623
3624 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3625
3626         * MenuBackend.C:
3627         * lyxfunc.C: fix (at least partly) the problems
3628         with the Nav menu and headers inside branch insets
3629         reported by Kayvan
3630
3631 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * paragraph.C (getChar): add strong asserts
3634
3635         * lyxrow_funcs.C (lastPos): remove hideous hack
3636
3637         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3638         (fill): adjust to that (avoid an infinite loop)
3639
3640 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3641
3642         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3643
3644 2003-10-23  André Pönitz  <poenitz@gmx.net>
3645
3646         * RowList_fwd.h: change list<> to vector<> to gain speed
3647         after suggestion from Alfredo
3648
3649 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3650
3651         * lyxtext.h: move the bidi stuff from here...
3652         * text.C: and here
3653         * text2.C: and here
3654         * Bidi.[Ch]: ... to here
3655
3656 2003-10-23  André Pönitz  <poenitz@gmx.net>
3657
3658         * lyxtext.h:
3659         * text.C (isLastRow, isFirstRow): new functions
3660
3661         * paragraph.h: new width cache member
3662
3663         * rowpainter.C: replace RowList::iterator with Row & where possible
3664
3665         * lyxfunc.C: replace several view()->text with a single call
3666
3667         * toc.C: fix 'unused' warning
3668
3669 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3672         when woring with stream::pos_type
3673         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3674
3675 2003-10-22  André Pönitz  <poenitz@gmx.net>
3676
3677         * lyxtext.h:
3678         * text.C: use Row & instead of RowList::iterator
3679
3680         * lyxrow.h: rename end() to endpos()
3681
3682         * rowpainter.C:
3683         * text.C:
3684         * text2.C: adjust
3685
3686 2003-10-22  Angus Leeming  <leeming@lyx.org>
3687
3688         * buffer.[Ch] (fully_loaded): new member function, returning true
3689         only when the file has been loaded fully.
3690         Used to prevent the premature generation of previews and by the
3691         citation inset to prevent computation of the natbib-style label.
3692
3693         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3694         templates are all set up.
3695
3696         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3697
3698 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3699
3700         * text.C: fixed an "oops" in the "is a bit silly"
3701         bug fix
3702
3703 2003-10-21  André Pönitz  <poenitz@gmx.net>
3704
3705         * FuncStatus.[Ch]: small stuff, whitespace
3706
3707         * lyxfont.[Ch]: operator<<() for debug reasons
3708
3709         * lyxfunc.C:
3710         * lyxrow_funcs.C:
3711         * lyxtext.h: whitespace, spelling
3712
3713         * paragraph.C: naming of variables
3714
3715         * text.C:
3716         * text2.C: small stuff
3717
3718
3719 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3720
3721         * text.C: (1) finish off the inset display() work;
3722         (2) fix the "is a bit silly" bug (accessing char
3723         past end of par).
3724
3725 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * text.C: re-introduce display() for insets, fixing the
3728         various bugs (stretch of line above, math inset
3729         positioning, ...)
3730
3731 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3732
3733         * text.C (rightMargin): remove spurious semicolon
3734
3735         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3736         1415)
3737
3738 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3739
3740         * text3.C: fix one crash due to wrong cursor def
3741
3742 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * vc-backend.C (scanMaster): make the regex static
3745
3746         * LaTeX.C (scanAuxFile): make the regexs static
3747
3748         * text3.C (doInsertInset, dispatch, dispatch):
3749         * text2.C (cursorUp, cursorDown):
3750         * text.C (selectNextWordToSpellcheck):
3751         * BufferView_pimpl.C (dispatch):
3752         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3753
3754 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3755
3756         * lyxsocket.C: include <cerrno>
3757
3758 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * lyxfunc.C (dispatch): remove textcache stuff
3761
3762         * bufferlist.C (release): remove textcache stuff
3763         (closeAll): ditto
3764
3765         * TextCache.C: delete file
3766         * TextCache.h: delete file
3767
3768         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3769
3770         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3771         delete of the bv_->text.
3772         (resizeCurrentBuffer): remove texcache stuff
3773         (workAreaResize): ditto
3774
3775 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3778         action.
3779
3780 2003-10-16  André Pönitz  <poenitz@gmx.net>
3781
3782         * lyxrow.[Ch]:
3783         * paragraph.h:
3784         * rowpainter.C:
3785         * text.C:
3786         * text2.C:
3787         * text3.C: speed up by storing y positions per paragraph plus per-row
3788         offset instead of having a 'full' y position in the row.
3789
3790 2003-10-15  André Pönitz  <poenitz@gmx.net>
3791
3792         * iterators.[Ch]:
3793         * iterators.[Ch]:
3794         * undo.[Ch]: make undo aware of inner insets
3795
3796 2003-10-14  Angus Leeming  <leeming@lyx.org>
3797
3798         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3799         static member functions LyX::ref() and LyX::cref.
3800         (lastfiles): new accessor functions for the new lastfiles_ member var.
3801         (addLyXView, views_): add a new LyXView to the list of views_.
3802         (updateInset): loop over all LyXViews to call their own updateInset
3803         member function, returning a pointer to the Buffer owning the inset.
3804
3805         * BufferView_pimpl.C (loadLyXFile):
3806         * MenuBackend.C (expandLastfiles):
3807         * bufferlist.C (MenuWrite, QuitLyX):
3808         lastfiles is no longer a global variable.
3809         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3810
3811         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3812         static function. Access through LyX::cref().emergencyCleanup().
3813
3814 2003-10-14  André Pönitz  <poenitz@gmx.net>
3815
3816         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3817
3818         * undo.[Ch]: restoring part of 'undo in insets'
3819
3820         * Makefile.am:
3821         * undo_funcs.[Ch]: merge with undo.[Ch]
3822
3823         * tabular.C: small cleansing stuff
3824
3825 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3826
3827         * paragraph_funcs.C (readParToken): report unknown insets as error
3828         boxes. Use the outer paragraph as location (also for unknown
3829         tokens).
3830
3831         * factory.C (readInset): do not abort on reading an unknown inset.
3832         Eat it and return 0.
3833
3834 2003-10-13  Angus Leeming  <leeming@lyx.org>
3835
3836         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3837
3838         * lyxrc.C: displayTranslator is now a function,
3839         declared in GraphicsTypes.h.
3840
3841 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3842
3843         * format.C: new placeholder $$a to pass the socket address.
3844
3845         * bufferlist.[Ch]: new function getBufferFromTmp.
3846
3847         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3848           files in the temporary dir.
3849
3850 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3851
3852         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3853
3854         * Makefile.am: add lyxsocket.[Ch].
3855
3856         * lyx_main.C (error_handler): handle SIGPIPE.
3857
3858 2003-10-13  André Pönitz  <poenitz@gmx.net>
3859
3860         * BufferView_pimpl.C:
3861         * lyxtext.h:
3862         * text.C:
3863         * text2.C:
3864         * text3.C:
3865         * undo_funcs.[Ch]: use paroffset_type instead of
3866           ParagraphList::iterators to prevent multiple conversion
3867           (and get a more robust interface)
3868
3869 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3872         * lyxtext.h: ditto
3873         * text3.C (dispatch): ditto
3874
3875 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3878         move the onlyfile, use onlyfile instead of foundfile in a couple
3879         of places.
3880
3881         * DepTable.C (update): flush the error stream a bit more
3882
3883 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * lyxserver.C (callback): adjust
3886
3887         * lyxfunc.C (getStatus): add a missing brace in commented code
3888         (ensureBufferClean): reindent
3889         (dispatch): delete version taking a string
3890
3891 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * LaTeX.C (deplog): move found file handlig from here...
3894         (handleFoundFile): .. to new function here.
3895         (deplog): make sure to discover several files mentioned on the
3896         same log line.
3897
3898 2003-10-10  André Pönitz  <poenitz@gmx.net>
3899
3900         * lyxfunc.C:
3901         * lyxtext.h:
3902         * tabular.C:
3903         * text.C:
3904         * text2.C:
3905         * text3.C: fix some of the tabular crashes
3906
3907 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3908
3909         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3910
3911         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3912
3913 2003-10-09  André Pönitz  <poenitz@gmx.net>
3914
3915         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3916
3917         * BufferView.C:
3918         * BufferView_pimpl.C:
3919         * bufferview_funcs.C:
3920         * lyx_cb.C:
3921         * lyxcursor.C:
3922         * lyxfind.C:
3923         * lyxfunc.C:
3924         * lyxtext.h:
3925         * text.C:
3926         * text2.C:
3927         * text3.C:
3928         * text_funcs.[Ch]:
3929         * textcursor.[Ch]:
3930         * undo_funcs.C: adjust
3931
3932 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * text2.C (incrementItemDepth): new function, use a backtracking
3935         algorithm to discover the correct item depth.
3936         (resetEnumCounterIfNeeded): new function, use a backtracking
3937         algorithm to discover if counter reset is needed.
3938         (setCounter): use them. Simplify a bit. Add different labels for
3939         different item depths for itemize.
3940
3941         * paragraph.C (Paragraph): remove initialization of enumdepth
3942         (operator=): ditto
3943
3944         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3945         enumerate and itemize. Change the type of itemdepth to signed char.
3946
3947 2003-10-08  André Pönitz  <poenitz@gmx.net>
3948
3949         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3950           thing assignable.
3951         * text.C:
3952         * text2.C: adjust
3953
3954         * tabular.[Ch]: fix crash after 'row-insert'
3955
3956 2003-10-08  Angus Leeming  <leeming@lyx.org>
3957
3958         Fix doxygen warnings.
3959
3960         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3961         Remove CutAndPaste:: prefix from header file declaration.
3962
3963         * LColor.h (fill): remove LColor:: prefix from declaration.
3964
3965         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3966         use lyx::depth_type rather than Paragraph::depth_type so that
3967         header file and .C file match.
3968
3969         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3970
3971         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3972         * aspell.C: \file aspell_local.C -> \file aspell.C
3973         * gettext.C: \file gettext.C -> \file src/gettext.C
3974         * gettext.h: \file gettext.h -> \file src/gettext.h
3975         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3976         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3977         * text.C: \file text.C -> \file src/text.C
3978
3979         * toc.C: move comment so that doxygen is not confused.
3980
3981 2003-10-07  Angus Leeming  <leeming@lyx.org>
3982
3983         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3984
3985 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3986
3987         * aspell.C:
3988         * aspell_local.h: add forgotten std::string's.
3989
3990 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3991
3992         * LaTeXFeatures.C:
3993         * LyXAction.C:
3994         * factory.C:
3995         * lfuns.h:
3996         * lyxfunc.C:
3997         * text3.C: The Box patch. Fancybox support, minipage, parbox
3998
3999 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4000
4001         * CutAndPaste.h:
4002         * DepTable.h:
4003         * FloatList.h:
4004         * LaTeXFeatures.h:
4005         * ParagraphParameters.h:
4006         * TextCache.h:
4007         * Thesaurus.h:
4008         * bufferlist.h:
4009         * exporter.h:
4010         * importer.h:
4011         * lastfiles.h:
4012         * lyxfind.h:
4013         * lyxfont.h:
4014         * lyxlex.h:
4015         * lyxtextclasslist.h:
4016         * messages.h:
4017         * paragraph.h:
4018         * paragraph_pimpl.C:
4019         * textcursor.h: add <string> and other small fixes to make Lars'
4020         std::string patch compile with STLport.
4021
4022 2003-10-06  Angus Leeming  <leeming@lyx.org>
4023
4024         * LColor.h: Add missing #include <string>.
4025
4026 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * All most all file in all subdirs: Make <string> be the prefered
4029         way of getting to std::string, add using declarations.
4030
4031 2003-10-06  André Pönitz  <poenitz@gmx.net>
4032
4033         * metricsinfo.C: initialize LyXFont before changing attribute.
4034         (fixes the 'math in \emph is upright' bug)
4035
4036 2003-10-06  André Pönitz  <poenitz@gmx.net>
4037
4038         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4039
4040 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4041
4042         * graph.C:
4043         * paragraph_pimpl.C: Small fixes to build using STLport
4044
4045 2003-10-02  André Pönitz  <poenitz@gmx.net>
4046
4047         * lyxfunc.C:
4048         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4049
4050 2003-10-01  André Pönitz  <poenitz@gmx.net>
4051
4052         * factory.C: assert early
4053
4054 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * lyx_main.C: remove the global debug object
4057
4058         * debug.h: adjust for new debugstream
4059
4060         * debug.C: adjust for new debugstream and keep the global debug
4061         object here.
4062
4063 2003-09-22  Angus Leeming  <leeming@lyx.org>
4064
4065         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4066         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4067         an incomplete class LyXFont.
4068
4069 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4070
4071         * factory.C: bug fix in branches
4072
4073 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * lyxfunc.C (processKeySym): adjust
4076         (dispatch): adjust
4077         (dispatch): change arg name from ev to func, adjust
4078         (sendDispatchMessage): ditto
4079
4080         * lyx_main.C (defaultKeyBindings): adjust keybindings
4081         (deadKeyBindings): ditto
4082
4083         * kbsequence.C (addkey): return a FuncRequest
4084
4085         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4086
4087         * kbmap.C (bind): take a FuncRequest as arg, adjust
4088         (read): adjust
4089         (lookup): adjust
4090         (defkey): change to take a FuncRequest as arg, adjust
4091         (findbinding): take a FuncRequest as arg, adjust.
4092
4093         * funcrequest.h (operator=): added
4094
4095         * funcrequest.C (FuncRequest): default kb_action changed from
4096         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4097
4098         * buffer.C (dispatch): simplify
4099         (dispatch): adjust to take a FuncRequest as arg, adjust
4100
4101         * boost.C (assertion_failed): change assertion message slightly
4102
4103         * ToolbarBackend.C (read): simplify
4104
4105         * MenuBackend.C (binding): adjust call to findbinding, add a
4106         message if no binding is found.
4107         (read): simplify
4108         (expandToc): correct by adding a empty FuncRequest
4109
4110         * LyXAction.C: include <boost/assert.hpp>
4111         (isPseudoAction): delete function
4112         (LookupFunc): change name to...
4113         (lookupFunc): this. change return type to FuncRequest.
4114         (getActionName): take kb_action as arg, simplify
4115         (funcHasFlag): add an assert, simplify.
4116
4117 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * toc.C (action): return a FuncRequest, simplify
4120
4121         * lyxfunc.C (processKeySym): adjust
4122         (getStatus): delete version that takes an int.
4123         (getStatus): adjust
4124         (dispatch): delete version that takes action as int
4125         (dispatch): adjust
4126         (sendDispatchMessage): simplify and adjust
4127
4128         * funcrequest.C (getArg): take unsigned int as arg
4129
4130         * ToolbarBackend.C (read): adjust
4131         (add): delete version that takes func as a string.
4132         (getIton): take a FuncRequest as arg
4133
4134         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4135         action.
4136
4137         * MenuBackend.C (MenuItem): add a new construct that only takes a
4138         Kind, simplify the constructor use for submenus.
4139         (add): adjust
4140         (expandLastfiles): adjust
4141         (expandDocuments): adjust
4142         (expandFormats): adjust
4143         (expandFloatListInsert): adjust
4144         (expandFloatInsert): adjust
4145         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4146
4147         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4148         Remove class variables lyx_pseudo_map and lyx_arg_map
4149
4150         * LyXAction.C (searchActionArg): delete function
4151         (getPseudoAction): delete function
4152         (retrieveActionArg): delete function
4153         (LookupFunc): make it return kb_action, simplify.
4154         (getActionName): simplify
4155
4156         * factory.C (createInset): fix new bug
4157
4158 2003-09-19  Angus Leeming  <leeming@lyx.org>
4159
4160         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4161         masterFilename_ parameter in the include inset.
4162
4163         * factory.C (createInset): changes due to the changes to InsetInclude.
4164
4165 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4166
4167         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4168
4169 2003-09-18  Angus Leeming  <leeming@lyx.org>
4170
4171         * buffer.C:
4172         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4173         Inset::fillWithBibKeys.
4174         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4175
4176 2003-09-18  Angus Leeming  <leeming@lyx.org>
4177
4178         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4179         variables.
4180         (ctor): pass and store a 'Buffer const &'
4181         (buffer): new member function.
4182
4183         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4184         '*this' to the LaTeXFeatures ctor.
4185
4186 2003-09-18  Angus Leeming  <leeming@lyx.org>
4187
4188         * LColor.h:
4189         * lyxfont.C:
4190         * lyxfont.h:
4191         * lyxtext.h:
4192         * text.C: rename EnumLColor as LColor_color.
4193
4194 2003-09-18  Angus Leeming  <leeming@lyx.org>
4195
4196         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4197         remove #include "insets/insetbase.h" from cursor.h.
4198
4199 2003-09-18  Angus Leeming  <leeming@lyx.org>
4200
4201         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4202         InsetOld_code to remove #include "inset.h".
4203
4204         * iterators.C: add #include "insets/inset.h"
4205
4206 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4207
4208         * BufferView.C: remove more locking stuff that apparently doesn't
4209         do anything sensible.
4210
4211 2003-09-16  André Pönitz  <poenitz@gmx.net>
4212
4213         * paragraph.[Ch]:
4214         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4215           performance boost.
4216
4217 2003-09-16  Angus Leeming  <leeming@lyx.org>
4218
4219         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4220
4221         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4222         arg/return type.
4223
4224         * paragraph.h: remove #include "lyxfont.h". Forward declare
4225         LyXFont_size.
4226
4227 2003-09-16  Angus Leeming  <leeming@lyx.org>
4228
4229         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4230         of support/textutils.h.
4231         (isWord): move the contents of support/textutils.h's IsWordChar here.
4232
4233         * buffer.C:
4234         * lyxfind.C:
4235         * rowpainter.C:
4236         * text.C:
4237         * text2.C: add #include "paragraph.h".
4238
4239         * rowpainter.C:
4240         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4241
4242 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * main.C:
4245         * lyx_main.C:
4246         * lyx_cb.C:
4247         * buffer.C:
4248         * LaTeX.C: use namespace alias for lyx::support::os
4249
4250 2003-09-16  Angus Leeming  <leeming@lyx.org>
4251
4252         * bufferparams.C:
4253         * bufferview_funcs.C:
4254         * factory.C:
4255         * lyxfunc.C:
4256         * paragraph_pimpl.C:
4257         * rowpainter.C:
4258         * text.C: add #include "LColor.h".
4259
4260 2003-09-16  Angus Leeming  <leeming@lyx.org>
4261
4262         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4263         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4264         return LyXFont &.
4265         Store the FontBits::color variable as an int rather than as an
4266         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4267         file.
4268
4269         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4270         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4271         string calls together.
4272
4273         * lyxrc.C: add #include "LColor.h".
4274
4275 2003-09-15  Angus Leeming  <leeming@lyx.org>
4276
4277         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4278         a cow_ptr.
4279
4280 2003-09-15  Angus Leeming  <leeming@lyx.org>
4281
4282         * LColor.h: add an EnumLColor wrapper for LColor::color.
4283
4284         * lyxfont.[Ch] (color, setColor, realColor):
4285         * lyxtext.h, text.C (backgroundColor):
4286         pass EnumLColor args to/from the functions, rather than LColor::color
4287         ones.
4288
4289         * lyxfont.h:
4290         * lyxtext.h: forward declare EnumLColor.
4291
4292         * lyx_main.C: add #include "LColor.h".
4293
4294 2003-09-15  Angus Leeming  <leeming@lyx.org>
4295
4296         * .cvsignore: add lyx-gtk.
4297
4298 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * Chktex.C
4301         * LaTeX.C
4302         * LaTeXFeatures.C
4303         * ParagraphParameters.C
4304         * Spacing.C
4305         * buffer.C
4306         * bufferparams.C
4307         * bufferview_funcs.C
4308         * chset.C
4309         * counters.C
4310         * funcrequest.C
4311         * lyxfont.C
4312         * lyxgluelength.C
4313         * lyxlength.C
4314         * paragraph.C
4315         * paragraph_funcs.C
4316         * text3.C
4317         * vc-backend.C: remove usage of STRCONV
4318
4319 2003-09-15  Angus Leeming  <leeming@lyx.org>
4320
4321         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4322         explicitly define the color passed to the painter.
4323
4324 2003-09-15  Angus Leeming  <leeming@lyx.org>
4325
4326         * bufferparams.C (BufferParams): reorder member initializers to avoid
4327         compiler warning.
4328
4329 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4332         * text.C (updateRowPositions): remove an unusual nop
4333
4334 2003-09-12  André Pönitz  <poenitz@gmx.net>
4335
4336         * BufferView_pimpl.C:
4337         * Bullet.C:
4338         * layout.h:
4339         * lyxfunc.C:
4340         * lyxlayout.[Ch]:
4341         * lyxtextclass.C:
4342         * rowpainter.C:
4343         * text.C:
4344         * text2.C:
4345         * Counters.[Ch]: finish the 'automatic counters' job
4346
4347 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4348
4349         * aspell.C: include <boost/assert.cpp> (compile fix)
4350
4351 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4352
4353         * boost.C (assertion_failed): use lyx::support::abort instead of
4354         assert.
4355
4356 2003-09-10  Angus Leeming  <leeming@lyx.org>
4357
4358         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4359         with their _fwd progeny.
4360
4361 2003-09-09  Angus Leeming  <leeming@lyx.org>
4362
4363         134 files throughtout the source tree: replace 'using namespace abc;'
4364         directives with the appropriate 'using abc::xyz;' declarations.
4365
4366 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4367
4368         * boost.C (emergencyCleanup): moved here from LAssert.c
4369         (assertion_failed): new function, called by BOOST_ASSERT
4370
4371         * several files: change Assert to BOOST_ASSERT
4372
4373 2003-09-09  Angus Leeming  <leeming@lyx.org>
4374
4375         * buffer.[Ch]: Add an Impl class and move Buffer's member
4376         variables into it. As a result move several header files out of
4377         buffer.h.
4378
4379         Add header files to lots of .C files all over the tree as a result.
4380
4381 2003-09-09  Angus Leeming  <leeming@lyx.org>
4382
4383         * buffer.[Ch]: make Buffer's member variables private. Add
4384         accessor functions.
4385
4386         Lots of changes all over the tree as a result.
4387
4388 2003-09-08  Angus Leeming  <leeming@lyx.org>
4389
4390         * graph.C: #include <config.h>.
4391
4392 2003-09-08  Angus Leeming  <leeming@lyx.org>
4393
4394         * BranchList.C:
4395         * BufferView.C:
4396         * BufferView_pimpl.C:
4397         * CutAndPaste.C:
4398         * DepTable.C:
4399         * LaTeX.C:
4400         * LaTeXFeatures.C:
4401         * LyXAction.C:
4402         * MenuBackend.C:
4403         * TextCache.C:
4404         * aspell.C:
4405         * buffer.C:
4406         * bufferlist.C:
4407         * changes.C:
4408         * chset.C:
4409         * converter.C:
4410         * counters.C:
4411         * debug.C:
4412         * graph.C:
4413         * ispell.C:
4414         * lyx_cb.C:
4415         * lyxfind.C:
4416         * lyxfunc.C:
4417         * lyxlex_pimpl.C:
4418         * lyxrc.C:
4419         * lyxrow.C:
4420         * paragraph.C:
4421         * rowpainter.C:
4422         * texrow.C:
4423         * text.C:
4424         * text2.C:
4425         * toc.C: remove redundant using directives.
4426
4427 2003-09-07  Angus Leeming  <leeming@lyx.org>
4428
4429         * LaTeXFeatures.h: remove #include "support/types.h".
4430         * ToolbarBackend.h: remove #include <algorithm>.
4431         * changes.h: remove #include <ctime>.
4432         * debug.h: remove #include <iosfwd>.
4433         * graph.h: remove #include "support/std_string.h".
4434         * lyx_main.h: remove #include <csignal>.
4435         * lyxlex_pimpl.h: remove #include <fstream>.
4436         * sgml.h: remove #include <algorithm>, <utility>.
4437         * toc.h: remove #include "support/std_ostream.h".
4438         Add #include <iosfwd>.
4439
4440 2003-09-07  Angus Leeming  <leeming@lyx.org>
4441
4442         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4443
4444         * converter.h: forward declare LatexRunParams.
4445         * encoding.h: remove #include "lyxrc.h".
4446         * lyxtext.h: remove #include "LColor.h".
4447         * lyxtextclass.h: remove #include "support/types.h".
4448         * trans.h: remove #include "tex-accent.h".
4449         * trans_mgr.h: remove #include "tex-accent.h".
4450         * insets/inset.h: remove #include "support/types.h", <vector>.
4451         * insets/insetcollapsable.h: remove #include "LColor.h".
4452         * insets/insetinclude.h: remove #include "dimension.h".
4453         * insets/insetlatexaccent.h: remove #include "dimension.h".
4454         * insets/insetoptarg.h:: remove #include "insettext.h".
4455         * insets/insettext.h: remove #include "dimension.h",
4456         <boost/shared_ptr.hpp>
4457
4458         * insets/renderers.h: add #include "dimension.h".
4459         * insets/updatableinset.h: add #include "support/types.h".
4460
4461         * many .C files: Associated changes.
4462
4463 2003-09-06  Angus Leeming  <leeming@lyx.org>
4464
4465         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4466         one, inside testInvariant.
4467
4468         * PrinterParams.C: new file.
4469         * PrinterParams.[Ch]: move the function bodies out of line.
4470
4471 2003-09-06  Angus Leeming  <leeming@lyx.org>
4472
4473         * ParagraphParameters.h: forward declare ParameterStruct rather than
4474         including its header file.
4475         (depth): moved out-of-line.
4476
4477 2003-09-06  Angus Leeming  <leeming@lyx.org>
4478
4479         * BufferView_pimpl.h:
4480         * kbmap.h:
4481         * kbsequence.h:
4482         * lyxfunc.h: forward declare LyXKeySym rather than
4483         #include "frontends/LyXKeySym.h".
4484
4485         * BufferView_pimpl.C:
4486         * kbmap.C:
4487         * kbsequence.C:
4488         * lyxfunc.C: associated changes.
4489
4490 2003-09-06  Angus Leeming  <leeming@lyx.org>
4491
4492         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4493         As a result, can remove the #include "insets/inset.h" from BufferView.h
4494
4495 2003-09-06  Angus Leeming  <leeming@lyx.org>
4496
4497         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4498         As a result, can remove the #include "insets/inset.h" from BufferView.h
4499
4500 2003-09-06  Angus Leeming  <leeming@lyx.org>
4501
4502         * buffer_funcs.C:
4503         * buffer.h:
4504         * bufferlist.C:
4505         * BufferView.C:
4506         * bufferview_funcs.C:
4507         * BufferView_pimpl.C:
4508         * CutAndPaste.C:
4509         * lyx_cb.C:
4510         * lyxfunc.C:
4511         * paragraph.h:
4512         * ParagraphParameters.C:
4513         * tabular.C:
4514         * text3.C:
4515         * toc.C:
4516         * undo_funcs.C:
4517         * frontends/controllers/ControlDocument.C:
4518         * insets/insetcaption.C: rearrange the #includes into some sort of
4519         coherent order.
4520
4521         * buffer.h: remove #includes ErrorList.h, undo.h
4522
4523 2003-09-06  Angus Leeming  <leeming@lyx.org>
4524
4525         * support/types.h: add a 'depth_type' typedef, used to store the
4526         nesting depth of a paragraph.
4527
4528         * paragraph.h:
4529         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4530         defining explicitly.
4531
4532         * buffer.h:
4533         * paragraph_funcs.h:
4534         * ParagraphParameters.h:
4535         * sgml.h: use lyx::depth_type rather than Paragraph or
4536         ParameterStruct's depth_type.
4537
4538         * buffer.h
4539         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4540
4541         * BufferView.C:
4542         * BufferView_pimpl.C:
4543         * CutAndPaste.C:
4544         * ParagraphParameters.C:
4545         * buffer_funcs.C:
4546         * bufferlist.C:
4547         * bufferview_funcs.C:
4548         * lyx_cb.C:
4549         * lyxfunc.C:
4550         * tabular.C:
4551         * text3.C:
4552         * toc.C:
4553         * undo_funcs.C:
4554         * frontends/LyXView.C:
4555         * frontends/controllers/ControlDocument.C:
4556         * frontends/controllers/ControlErrorList.C:
4557         * insets/insetbibitem.C:
4558         * insets/insetbranch.C:
4559         * insets/insetcaption.C:
4560         * insets/insetcollapsable.C:
4561         * insets/insetenv.C:
4562         * insets/insetert.C:
4563         * insets/insetfloat.C:
4564         * insets/insetfoot.C:
4565         * insets/insetfootlike.C:
4566         * insets/insetnewline.C:
4567         * insets/insetquotes.C:
4568         * insets/insettabular.C:
4569         * insets/insettext.C:
4570         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4571
4572         * frontends/controllers/ControlChanges.C: #include "changes.h".
4573
4574 2003-09-06  Angus Leeming  <leeming@lyx.org>
4575
4576         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4577         than #including paragraph.h.
4578
4579         * ParagraphList.h:
4580         * RowList.h: deleted. Superfluous.
4581
4582         * CutAndPaste.h:
4583         * iterators.h:
4584         * lyxcursor.h:
4585         * lyxtext.h:
4586         * text_funcs.h:
4587         * undo.h:
4588         * undo_funcs.h:
4589         * insets/inset.h:
4590         * insets/insettext.h: use ParagraphList_fwd.h rather than
4591         ParagraphList.h.
4592
4593         * paragraph.h: don't forward declare ParagraphList.
4594
4595         * buffer.h:
4596         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4597         rather than ParagraphList.h. paragraph.h is still needed for the
4598         Paragraph::depth_type parameters.
4599
4600         * textcursor.h: enable it to compile stand-alone in light of the
4601         above changes.
4602
4603         * bufferview_funcs.C:
4604         * iterators.C:
4605         * lyxfunc.C:
4606         * lyxrow_funcs.C:
4607         * paragraph.C:
4608         * rowpainter.C:
4609         * text.C:
4610         * text2.C:
4611         * text3.C:
4612         * text_funcs.C:
4613         * textcursor.C:
4614         * undo.C:
4615         * frontends/controllers/ControlParagraph.C:
4616         * frontends/controllers/ControlTabular.C:
4617         * insets/insetmarginal.C:
4618         * insets/insetminipage.C:
4619         * insets/insetnote.C:
4620         * insets/insetoptarg.C: add header files needed to compile again.
4621
4622 2003-09-06  Angus Leeming  <leeming@lyx.org>
4623
4624         * RowList_fwd.h: new file, forward-declaring Row rather than
4625         #including lyxrow.h.
4626
4627         * lyxrow_funcs.h:
4628         * lyxtext.h:
4629         * paragraph.h:
4630         * insets/insettext.h: use it instead of RowList.h
4631
4632         * bufferview_funcs.C:
4633         * lyxfunc.C:
4634         * lyxrow_funcs.C:
4635         * paragraph.C:
4636         * rowpainter.C:
4637         * text.C:
4638         * text2.C:
4639         * text3.C: #include "RowList.h".
4640
4641 2003-09-05  Angus Leeming  <leeming@lyx.org>
4642
4643         * factory.C (createInset):
4644         * vspace.C (c-tor): replace sscanf call with an istringstream.
4645         * ispell.C: re-add missing HP/UX headers.
4646         * lyxserver.C: re-add missing  os2 headers.
4647
4648 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * BranchList.C:
4651         * graph.C:
4652         * ispell.C:
4653         * lastfiles.C:
4654         * lyx_cb.C:
4655         * lyxserver.C:
4656         * texrow.C:
4657         * text3.C: re-add missing system headers, needed for 2.95.2.
4658
4659 2003-09-05  Angus Leeming  <leeming@lyx.org>
4660
4661         Changes most place everywhere due to the removal of using directives
4662         from support/std_sstream.h.
4663
4664 2003-09-05  Angus Leeming  <leeming@lyx.org>
4665
4666         Replace LString.h with support/std_string.h,
4667         Lsstream.h with support/std_sstream.h,
4668         support/LIstream.h with support/std_istream.h,
4669         support/LOstream.h with support/std_ostream.h.
4670
4671         Changes resulting throughout the tree.
4672
4673 2003-09-05  Angus Leeming  <leeming@lyx.org>
4674
4675         * sgml.h: ensure that the header file can be compiled stand-alone.
4676         * *.C: strip out redundant #includes. (320 in total.)
4677
4678 2003-09-04  Angus Leeming  <leeming@lyx.org>
4679
4680         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4681         here (from getPackages).
4682
4683         * debug.[Ch]: add a new EXTERNAL tag.
4684
4685 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4686
4687         * text2.C (cursorEnd): simplify
4688         (setCursor): adjust
4689         (getColumnNearX): adjust
4690
4691         * text.C (computeBidiTables): adjust
4692         (fill): adjust
4693
4694         * rowpainter.C (paintChars): adjust
4695         (paintSelection): adjust
4696         (paintChangeBar): adjust
4697         (paintText): adjust
4698
4699         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4700         lastPos instead.
4701         (numberOfSeparators): adjust
4702
4703 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * LyXAction.C:
4706         * box.[Ch]:
4707         * lfuns.h:
4708         * lyxfunc.C:
4709         * text3.C: Restricts the mouse click functionality
4710         of insets like bibtex, include, toc and floatlist to the visible
4711         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4712         up the dialogs. Cursor has to be in front of the inset (i.e.
4713         start of row) for this to function.
4714
4715 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4716
4717         * bufferview_funcs.C (currentState): output row information
4718
4719 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4720
4721         * bufferview_funcs.C (currentState): output paragraph position
4722
4723 2003-09-04  Angus Leeming  <leeming@lyx.org>
4724
4725         * FloatList.h: move out #include "Floating.h".
4726         * LaTeX.h: move out #include "DepTable.h".
4727         * LyXAction.h: move out #include "funcrequest.h".
4728         * buffer.h: move out #include "author.h", "iterators.h".
4729         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4730         * lyx_main.h: move out #include "errorlist.h".
4731         * lyxfunc.h: move out #include "FuncStatus.h".
4732         * lyxtext: move out #include "lyxcursor.h".
4733         * paragraph_pimpl.h: move out #include "counters.h".
4734
4735 2003-09-03  Angus Leeming  <leeming@lyx.org>
4736
4737         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4738         preamble_snippets list, enabling us to add snippets to the preamble
4739         only if the snippet was not there already.
4740
4741 2003-09-04  Angus Leeming  <leeming@lyx.org>
4742
4743         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4744
4745 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4748         update
4749
4750 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4751
4752         * BranchList.C: point fix, earlier forgotten
4753
4754 2003-09-02  Angus Leeming  <leeming@lyx.org>
4755
4756         * box.C (contains): renamed from 'contained' after a fantastic
4757         amount of hot air.
4758
4759 2003-09-02  John Levon  <levon@movementarian.org>
4760
4761         * BufferView.C:
4762         * lyxcursor.h:
4763         * lyxcursor.C:
4764         * lyxfunc.C:
4765         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4766
4767 2003-09-02  John Levon  <levon@movementarian.org>
4768
4769         * text2.C: simplification of cursorEnd(), including partial
4770         fix for bug 1376
4771
4772 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * buffer.C (readFile): add a space
4775
4776 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4779
4780 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * buffer.C (readFile): new function, take a filename and a
4783         ParagraphList::iterator
4784         (readFile): adjust
4785         (readFile): adjust, make it private. don't use setStream, make
4786         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4787         always contain the filename.
4788
4789         * BufferView.C (insertLyXFile): simplify and make it work for
4790         gzipped files.
4791
4792 2003-08-30  John Levon  <levon@movementarian.org>
4793
4794         * Makefile.am: fix dist (from Kayvan)
4795
4796 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * most files: change to use const Buffer refs
4799
4800 2003-08-27  André Pönitz  <poenitz@gmx.net>
4801
4802         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4803         on top of ownerPar().
4804
4805 2003-08-27  John Levon  <levon@movementarian.org>
4806
4807         * funcrequest.C: properly initialise POD members
4808
4809 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4810
4811         * lyxtext.h (top_y): move top_y from here
4812         * text.C:
4813         * text2.C:
4814         * text3.C:
4815         * BufferView.[Ch]:
4816         * BufferView_pimpl.[Ch]: to here
4817         * frontends/screen.C:
4818         * insets/insettabular.C:
4819         * insets/insettext.C: adjust
4820         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4821
4822 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * BufferView.[Ch]:
4825         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4826
4827 2003-08-26  André Pönitz  <poenitz@gmx.net>
4828
4829         * paragraph_func.[Ch] (outerPar): new function
4830
4831         * paragraph.C:
4832         * paragraph_funcs.C:
4833         * paragraph_funcs.h:
4834         * paragraph_pimpl.C:
4835         * text2.C: remove Inset::par_owner
4836
4837 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4838
4839         * lyxrow_funcs.C:
4840         * lyxtext.h:
4841         * text.C:
4842         * text2.C: eliminates the needFullRow/display() stuff
4843         altogether, putting the logic in metrics/draw in the insets.
4844
4845 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4846
4847         * text2.C (redoParagraphInternal, redoParagraphs):
4848         * text.C (redoParagraph): add a call to updateRowPositions at the
4849         end of each 'metrics-like' call. Remove all others.
4850         (getRow): remove the 'y-computing' version.
4851         (getRowNearY): do not compute nor return the real y. Solve the
4852         'y < 0' problem and simplify.
4853
4854 2003-08-22  Angus Leeming  <leeming@lyx.org>
4855
4856         * *.[Ch]: clean-up of licence and author blurbs.
4857         Also move config.h out of a few .h files and into a few .C files.
4858
4859 2003-08-22  André Pönitz  <poenitz@gmx.net>
4860
4861         * lyxrow.[Ch]: add x_ and *fill_ members
4862
4863         * lyxtext.h:
4864         * text.C:
4865         * rowpainter.C:
4866         * text2.C: adjust/remove prepareToPrint() calls
4867
4868 2003-08-22  André Pönitz  <poenitz@gmx.net>
4869
4870         * lyxrow.[Ch]: add  end_ member
4871
4872         * lyxrow_funcs.C: use LyXRow::end_
4873
4874         * lyxtext.h (singleWidth): add LyXFont parameter
4875
4876         * rowpainter.C:
4877         * text2.C: adjust LyXText::singleWidth() calls
4878
4879         * text.C (redoParagraph): simplify row breaking logic
4880
4881
4882 2003-08-19  André Pönitz  <poenitz@gmx.net>
4883
4884         * funcrequest.C: initialize button_ member
4885
4886         * text3.C:
4887         * rowpainter.[Ch]: interface consolidation
4888
4889 2003-08-18  André Pönitz  <poenitz@gmx.net>
4890
4891         * BufferView.C:
4892         * BufferView_pimpl.C:
4893         * lyxfind.C:
4894         * paragraph_funcs.C:
4895         * rowpainter.C:
4896         * text3.C: remove LyXScreen::draw() and fitCursor calls
4897
4898         * BranchList.h: remove spurious semicolons
4899
4900         * MenuBackend.C: fix branchlist related crash
4901
4902 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * BranchList.[Ch]:
4905         * InsetList.[Ch]:
4906         * LColor.[Ch]:
4907         * LyXAction.C:
4908         * Makefile.am:
4909         * MenuBackend.[Ch]:
4910         * bufferparams.[Ch]:
4911         * factory.C:
4912         * lfuns.h:
4913         * lyxfunc.C:
4914         * text3.C: implements the 'branch inset'
4915         idea. This allows the output of various versions of a document
4916         from a single source version, selectively outputing or suppressing
4917         output of parts of the text.
4918         This implementation contains a 'branch list editor' in a separate
4919         tab of the document settings dialog. Branches are user definable
4920         and have a "display colour" to distinguish them on-screen.
4921
4922         ColorHandler was somewhat cleaned up.
4923         (1) make possible a dynamically growing LColor list by allowing
4924         the graphic context cache to grow along (vector);
4925         (2) eliminate an IMHO unnecessary step in colour allocation.
4926
4927 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4928
4929         * BufferView_pimpl.C: compile fix
4930
4931 2003-08-15  André Pönitz  <poenitz@gmx.net>
4932
4933         * rowpainter.C: remove extra metrics calls
4934
4935         * lyxtext.h: merge the two constructors into a single one,
4936           pass reference to owner's par list
4937
4938         * BufferView_pimpl.C:
4939         * text.C:
4940         * text2.C: adjust
4941
4942 2003-08-15  André Pönitz  <poenitz@gmx.net>
4943
4944         * lyxrow_funcs.[Ch]:
4945         * lyxtext.h:
4946         * paragraph.h:
4947         * paragraph_funcs.C:
4948         * rowpainter.C:
4949         * text.C:
4950         * text2.C:
4951         * text3.C:
4952         * text_funcs.C: split LyXText::rowlist_ into individual
4953         Paragraph::rows_ chunks
4954
4955         * BufferView.[Ch]:
4956         * BufferView_pimpl.[Ch]:
4957         * lyxfind.C:
4958         * lyxtext.h:
4959         * text3.C: remove toggleSelection()
4960
4961 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4962
4963         * bufferlist.C: beautify two alerts (shorter text of buttons)
4964         * buffer.C: Remove redundant ' ' from message
4965         * tabular.h:
4966         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4967         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4968         rename VALIGN_CENTER to VALIGN_MIDDLE
4969
4970 2003-08-11  André Pönitz  <poenitz@gmx.net>
4971
4972         * lyxtext.h (getPar):
4973         * text.C: new function
4974
4975 2003-08-11  André Pönitz  <poenitz@gmx.net>
4976
4977         * Makefile.am:
4978         * tracer.[Ch]: remove unneeded files
4979
4980         * InsetList.[Ch]: remove resizeInsetsLyXText()
4981
4982         * lyxtext.h:
4983         * text.C:
4984         * text2.C:
4985         * text3.C: merge insertParagraphs() and appendParagraph()
4986         remove breakAgain(), update()
4987
4988         * BufferView_pimpl.[Ch]:
4989         * bufferview_funcs.[Ch]:
4990         * lyxfunc.C:
4991         * paragraph.[Ch]:
4992         * rowpainter.C:
4993         * tabular.C: adjust after text & InsetList changes.
4994
4995 2003-08-08  André Pönitz  <poenitz@gmx.net>
4996
4997         * text.C (insertChar, backspace): replace rowlist fiddling
4998         with rebreak of full par
4999
5000         * lyxtext.h:
5001         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5002         checkParagraph, updateInset): removed
5003
5004 2003-08-07  André Pönitz  <poenitz@gmx.net>
5005
5006         * paragraph.C:
5007         * text3.C: merge some LFUN handlers, remove dead code
5008
5009 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5010
5011         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5012
5013 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * text2.C (DEPM): fix part of bug 1255 and 1256
5016
5017 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5018
5019         * BufferView_pimpl.C (workAreaDispatch): change to use
5020         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5021         that are no mouse related.
5022
5023 2003-08-05  André Pönitz  <poenitz@gmx.net>
5024
5025         * BufferView.[Ch]:
5026         * BufferView_pimpl.[Ch]:
5027         * bufferview_funcs.C:
5028         * text2.C:
5029         * text3.C: rip out "deep update"
5030
5031         * textcursor.[Ch] (last_sel_cursor): remove unused member
5032
5033 2003-08-04  André Pönitz  <poenitz@gmx.net>
5034
5035         * BufferView.[Ch]:
5036         * BufferView_pimpl.[Ch]:
5037         * ParagraphParameters.C:
5038         * bufferview_funcs.C:
5039         * lyx_cb.C:
5040         * lyxfind.C:
5041         * lyxfunc.C:
5042         * text.C:
5043         * text2.C:
5044         * text3.C: replace "complicated" BufferView::update(...) calls with
5045         simpler ones.
5046
5047         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5048
5049 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5050
5051         * Makefile.am (lyx_SOURCES): add paper.h
5052
5053 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5054
5055         * Makefile.am: move things around so that both lyx-qt and
5056         lyx-xforms can be built (according to --with-frontend). Then lyx
5057         is a symbolic link to lyx-[firstfrontend]
5058
5059 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5060
5061         * Always use std::endl with lyxerr
5062
5063 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5064
5065         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5066
5067 2003-08-01  André Pönitz  <poenitz@gmx.net>
5068
5069         * BufferView.[Ch]:
5070         * BufferView_pimpl.[Ch]:
5071         * lyxfunc.C:
5072         * text3.C: merge BufferView::repaint() and BufferView::update()
5073
5074 2003-08-01  José Matos  <jamatos@lyx.org>
5075
5076         * buffer.[Ch]: file_format is no longer a buffer data element.
5077
5078 2003-08-01  André Pönitz  <poenitz@gmx.net>
5079
5080         * BufferView.C:
5081         * lyxtext.h:
5082         * text.C:
5083         * text2.C: make redoParagraph more independent of current cursor
5084
5085         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5086         * text.C:
5087         * text2.C: remove unneeded members
5088
5089 2003-07-30  André Pönitz  <poenitz@gmx.net>
5090
5091         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5092
5093         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5094           create a single function...
5095
5096         * paragraph_funcs.C (moveItem): ... here.
5097
5098         * text.C:
5099           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5100
5101 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5102
5103         * LColor.[Ch]: Add comment and greyedout logical colors.
5104
5105 2003-07-30  André Pönitz  <poenitz@gmx.net>
5106
5107         * tabular.C: don't use Assert too heavily. This crashes where it
5108           shouldn't
5109
5110 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5113         is disabled (bug 1232)
5114
5115 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5116
5117         * factory.C: limited 'arg' scope
5118
5119 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * factory.C: fixed Note submenu issues
5122
5123 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5124
5125         * factory.C: submenu for Note/Comment/Greyedout
5126
5127 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * lyx_main.C (LyX):
5130         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5131
5132 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5133
5134         * LaTeXFeatures.C:
5135         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5136         greyedout. Patch provided by Jürgen Spitzmüller.
5137
5138 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5139
5140         * kbmap.C (read): fix error message when reading bind files
5141
5142 2003-07-29  Angus Leeming  <leeming@lyx.org>
5143
5144         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5145         certainly does not do what it purports to do. I am doing it, and
5146         us, a favour by killing it.
5147
5148 2003-07-28  José Matos  <jamatos@lyx.org>
5149
5150         * buffer.C (readBody, do_writeFile):
5151         * paragraph.C(readParagraph): \end_document replaces \the_end.
5152
5153 2003-07-29  André Pönitz  <poenitz@gmx.net>
5154
5155         * BufferView.[Ch]:
5156         * BufferView_pimpl.[Ch]:
5157         * lyxfunc.C:
5158         * text2.C:
5159         * text3.C:
5160         * textcursor.[Ch]: remove toggleToggle & Co
5161
5162 2003-07-28  José Matos  <jamatos@fep.up.pt>
5163
5164         * buffer.C (readParagraph):
5165         * params_func (readParToken, readParagraph):
5166         * paragraph.C (write): \layout -> \begin_layout.
5167
5168 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * lyxlex_pimpl.C (setFile): clean up slightly.
5171
5172         * bufferparams.h: add compressed var
5173
5174         * buffer_funcs.C (readFile): adjust for LyXLex change
5175         (newFile): ditto + simplify
5176
5177         * buffer.C (writeFile): handle writing of compressed files
5178
5179         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5180         Check if the file is compressed and set a bufferparm if so.
5181
5182         * Makefile.am (lyx_LDADD): remove explicit -lz
5183
5184 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5185
5186         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5187         makeDocBookFile): put the real LyX version in the first line of
5188         the file
5189
5190         * version.h:
5191         * version.C.in: remove lyx_docversion
5192
5193         * tabular.C (write_attribute): add a template-based version to
5194         write enums properly
5195
5196 2003-07-28  André Pönitz  <poenitz@gmx.net>
5197
5198         * lyxtext.h:
5199         * text.C:
5200         * text2.C:
5201         * text3.C: use doubles again for x-coordinates. They are needed.
5202
5203 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * messages.C (getLocaleDir): use lyx_localedir()
5206
5207         * lyxlex_pimpl.C (setFile): compress stuff
5208
5209         * buffer.C (writeFile): add some compression stuff
5210         (do_writeFile): new func, dont call expliti close... will this
5211         breake anything?
5212
5213         * Makefile.am (lyx_LDADD): add -lz
5214
5215 2003-07-28  José Matos  <jamatos@fep.up.pt>
5216
5217         * buffer.C: increment file format.
5218         * paragraph_funcs (readParagraph, readParToken):
5219         * paragraph.C (readParagraph): add \end_layout.
5220
5221 2003-07-27  Angus Leeming  <leeming@lyx.org>
5222
5223         * Makefile.am: remove special casing for configure-time setting of
5224         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5225
5226         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5227         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5228
5229 2003-07-26  André Pönitz  <poenitz@gmx.net>
5230
5231         * paragraph_func.[Ch]:
5232         * paragraph.C (realizeFont): inline it whereever it is used
5233
5234         * rowpainter.C:
5235         * text.C:
5236         * text2.C:
5237         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5238
5239
5240 2003-07-26  André Pönitz  <poenitz@gmx.net>
5241
5242         *       lyxtext.h:
5243         * text.C:
5244         * text2.C: get rid of LyXText::need_break_row
5245
5246 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * toc.[Ch]: put namespace toc inside namespace lyx
5249
5250         * MenuBackend.C (expandToc2): adjust for lyx::toc
5251         (expandToc): ditto
5252
5253         * lyxfunc.C (dispatch): adjust for lyx::find
5254
5255         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5256         lyx::find instead. Reorganize a bit.
5257         (LyXReplace): rename to replace
5258         (LyXFind): rename to find
5259
5260         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5261         (dispatch): ditto
5262
5263 2003-07-26  André Pönitz  <poenitz@gmx.net>
5264
5265         * text.C (setHeightOfRow): restrict scope of temporary variable
5266
5267         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5268           code (never has been used?)
5269
5270 2003-07-27  Asger Alstrup  <alstrup@local>
5271
5272         * text.C (fill): Optimise algorithm to exploit that we can reuse
5273         the LyXFont for many characters.
5274         (setHeightOfRow): Same thing.
5275         (rowBreakPoint): Same thing.
5276
5277 2003-07-26  Asger Alstrup  <alstrup@local>
5278
5279         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5280
5281         * text.C (singleWidth): Spurious font copying in hot-spot
5282         singleWidth avoided. Reorder tests for arabic for efficiency.
5283
5284         * text.C (fill): handle empty paragraphs better.
5285
5286 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5287
5288         * ispell.C:
5289         * encoding.h: add includes
5290
5291         * lyxrc.C: remove reading of bind files
5292
5293         * lyx_main.C (init): setup bindings and menus only if we have a
5294         gui.
5295
5296         * kbmap.C (read): new method. Do the actual reading of bind
5297         files.
5298
5299         * converter.C (dvipdfm_options):
5300         * bufferparams.C:
5301         * lyxrc.C (read):
5302         (output): adapt PAPER_* enums.
5303
5304         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5305
5306         * bufferparams.h: remove paper-related enums from there
5307
5308         * paper.h: New file. A trivial header file to hold paper-related
5309         enums. It should later expand to contain many paper-related
5310         horrors access.
5311
5312         * lyxrc.C: declare extern displayTranslator
5313
5314 2003-07-27  José Matos  <jamatos@fep.up.pt>
5315
5316         * tabular.[Ch] (linuxdoc): add support for tables and figures
5317         (linuxdoc).
5318
5319 2003-07-27  José Matos  <jamatos@fep.up.pt>
5320
5321         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5322         consistency in both functions.
5323         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5324
5325 2003-07-26  Asger Alstrup  <alstrup@local>
5326
5327         * rowpainter.C (paintRows): Change algorithm to work directly on
5328         the insets rather than asking every character in the document
5329         whether its an inset.
5330
5331 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * buffer.C (openFileWrite): factorize some code
5334
5335 2003-07-26  Angus Leeming  <leeming@lyx.org>
5336
5337         * lyx_cb.C:
5338         * lyx_main.[Ch]: replace occurances of system_tempdir with
5339         os::getTmpDir().
5340
5341 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * rename Inset to InsetOld
5344
5345 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5346
5347         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5348         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5349         which I think is a bit clearer. EDIT is gone, since it was
5350         premature optimisation, and broken for mathed anyway.
5351         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5352         with cursor positioning in insets as well (math insets still do not
5353         work, but that's a different story anyway.) It mysteriously
5354         crashes sometimes with undo in the first paragraph, but I'm fairly
5355         confident that this is a compiler bug.
5356
5357 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * paragraph.C (Paragraph): adjust for new clone return type
5360         (operator==): ditto
5361         (copyIntoMinibuffer): ditto
5362
5363 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5364
5365         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5366         by not having a special case, and always doing a full rebreak of
5367         the document after undo.
5368
5369 2003-07-23  Angus Leeming  <leeming@lyx.org>
5370
5371         * factory.C (createInset): InsetExternal::setParams now takes a
5372         Buffer const * arg.
5373
5374 2003-07-23  Angus Leeming  <leeming@lyx.org>
5375
5376         * factory.C (createInset): changed interface to the external and
5377         graphics mailers' string2params functions.
5378
5379 2003-07-23  Angus Leeming  <leeming@lyx.org>
5380
5381         * factory.C (createInset): pass a
5382         Buffer const * parameter to InsetExternalMailer's string2params.
5383
5384 2003-07-22  John Levon  <levon@movementarian.org>
5385
5386         * Thesaurus.h: include the right aiksaurus header
5387
5388 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5389
5390         * MenuBackend.C (expand): check menu shortcuts unconditionally
5391
5392 2003-07-21  Angus Leeming  <leeming@lyx.org>
5393
5394         * factory.C (createInset): pass a
5395         buffer_path parameter to InsetGraphicsMailer's string2params.
5396
5397 2003-07-21  Angus Leeming  <leeming@lyx.org>
5398
5399         * BufferView_pimpl.C (buffer):
5400         * buffer.C (d-tor):
5401         * lyx_main.C (LyX):
5402         * lyxfunc.C (dispatch):
5403         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5404         rather than the grfx shortcut.
5405
5406 2003-07-21  André Pönitz  <poenitz@gmx.net>
5407
5408         * rowpainter.C: remove unused variables
5409
5410         * tabular_funcs.C:
5411         * tabular_funcs.h: move to tabular.C
5412         * Makefile.am: adjust
5413
5414         * tabular.[Ch]: basic optical cleaning
5415
5416         * author.h: pass references, not values
5417
5418 2003-07-18  André Pönitz  <poenitz@gmx.net>
5419
5420         * lyxtext.h:
5421         * metricsinfo.C:
5422         * metricsinfo.h:
5423         * rowpainter.C:
5424         * text.C:
5425         * text2.C:
5426         * text3.C: two-phase drawing for InsetText and InsetTabular
5427         some float -> int changes.
5428
5429 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5430
5431         * lyx_main.C: fix the fix
5432
5433 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * lyx_main.C: fix a crash in batch mode if no files specified
5436         * converter.C: ws
5437
5438 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * format.[Ch] (papersize): moved to BufferParams
5441         * converter.[Ch] (dvips_options): moved to BufferParams
5442         (dvipdfm_options): moved to anon namespace
5443         * bufferparams.[Ch]: added above functions.
5444
5445 2003-07-17  André Pönitz  <poenitz@gmx.net>
5446
5447         * lyxtext.h:
5448         * rowpainter.C:
5449         * text2.C: don't call inset->update() anymore
5450
5451         * metricsinfo.[Ch]: add convenience constructor
5452
5453 2003-07-16  André Pönitz  <poenitz@gmx.net>
5454
5455         * lyxcursor.[Ch]:
5456         * lyxfunc.[Ch]:
5457         * text.C:
5458         * text2.C: replace the LyXCursor::irow_ member with
5459          on-demand computation of the value
5460
5461 2003-07-16  John Levon  <levon@movementarian.org>
5462
5463         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5464
5465 2003-07-15  André Pönitz  <poenitz@gmx.net>
5466
5467         * text.C:
5468         * text2.C: remove no more needed refresh_row
5469
5470 2003-07-15  André Pönitz  <poenitz@gmx.net>
5471
5472         * lyxtext.h:
5473         * rowpainter.C:
5474         * text2.C:
5475         * text3.C: refresh_status tristate -> need_update bool
5476
5477 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5478
5479         * lyxtext.h (init): remove reinit argument (act as if always true)
5480         * text2.C: adjust to that
5481
5482 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5483
5484         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5485         * text3.C: use it to delete selections in some cases
5486         (bugs 441, 673, 702, 954).
5487
5488 2003-07-14  André Pönitz  <poenitz@gmx.net>
5489
5490         * rowpainter.[Ch]: reduce interface
5491
5492 2003-07-14  André Pönitz  <poenitz@gmx.net>
5493
5494         * BufferView_pimpl.C:
5495         * text2.C: adjust after removing unused BufferView * argument
5496
5497 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5498
5499         * text2.C (init): fix a crash fired on resize
5500
5501 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5502
5503         * buffer.[Ch]: added new closing signal
5504         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5505         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5506         BufferView::Pimpl via the closing the signal
5507
5508 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5509
5510         * buffer.[Ch]: take out all bv-related from buffer
5511         * BufferView.C:
5512         * BufferView_pimpl.[Ch]: connect to new signals
5513         * CutAndPaste.C: removed useless asserts
5514         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5515         * lyxvc.[Ch]:
5516         * vc-backend.[Ch]:
5517         * lyxfunc.C: moved view-related funciontality from vc here
5518         * paragraph.C: removed outdated comments
5519         * text.C: ws
5520
5521 2003-07-10  André Pönitz  <poenitz@gmx.net>
5522
5523         * BufferView_pimpl.C:
5524         * tabular.h:
5525         * tabular_funcs.C:
5526         * text.C:
5527         * text2.C: remove InsetText::InnerCache, clean up consequences
5528
5529 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5530
5531         * ispell.C: fix two typos in error messages
5532
5533 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5534
5535         * Extend Note inset to other forms of annotation like Comment
5536         and Greyedout. Right button click gives dialog.
5537
5538         Files modified or added (+):
5539
5540         * insetnote.[Ch]
5541         * FormNote.[Ch]      +
5542         * ControlNote.[Ch]   +
5543         * form_note.fd       +
5544         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5545         frontends/controllers
5546         * xforms/Dialogs.C
5547         * factory.C
5548
5549 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5550
5551         * aspell.C: add missing namespace lyx::support
5552
5553 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * BufferView.[Ch] (newFile): Add
5556         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5557         * LaTeX.[Ch] (message): added this signal and use it
5558         * buffer.[Ch] (busy, message): added these signals and use them
5559         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5560         * converter.C:
5561         * exporter.C:
5562         * format.C:
5563         * importer.C: use buffer signals instead of direct bv calling
5564         * lyx_cb.[Ch] (ShowMessage): removed
5565         * lyx_main.C:
5566         * lyxfunc.C:
5567         * paragraph_funcs.C:
5568         * text2.C: use buffer signals
5569
5570 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * introduce namespace lyx::graphics
5573
5574 2003-07-02  André Pönitz  <poenitz@gmx.net>
5575
5576         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5577
5578 2003-07-01  André Pönitz  <poenitz@gmx.net>
5579
5580         * text.C:
5581         * text2.C:
5582         * text3.C:
5583         * text_funcs.[Ch]:
5584         * textcursor.h:
5585         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5586           text*.C to text_func.C
5587
5588 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * introduce namespace lyx::support
5591
5592 2003-06-30  André Pönitz  <poenitz@gmx.net>
5593
5594         * Chktex.C:
5595         * funcrequest.C:
5596         * lyxtext.h:
5597         * text.C: re-enable --with-included-string
5598
5599 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * textcursor.C: add <config.h>
5602
5603         * text.C (getWord): remove const from word_location arg
5604
5605         * lyxvc.C (getLogFile): fix const type order
5606
5607         * lyxtext.h: remove const from word_location arg, add arg name
5608
5609         * lyxlayout.h: currect type on labeltype.
5610
5611         * importer.C: correct \file
5612
5613         * converter.C (intToFormat): use std:: on ret val, ws changes
5614
5615         * bufferlist.h: correct \file
5616
5617         * buffer.C (makeLinuxDocFile): fix const type order
5618         (makeDocBookFile): ditto
5619         (fillWithBibKeys): use std:: on stdlib args.
5620
5621         * CutAndPaste.C: fix authors.
5622         (availableSelections): use std:: on return vector
5623
5624 2003-06-27  André Pönitz  <poenitz@gmx.net>
5625
5626         * BufferView_pimpl.C:
5627         * bufferview_funcs.C:
5628         * lyxcursor.C:
5629         * lyxcursor.h:
5630         * lyxfunc.C:
5631         * lyxtext.h:
5632         * rowpainter.C:
5633         * text.C:
5634         * text2.C:
5635         * text3.C: remove LyXCursor::row_ member
5636
5637         * lyxtext.h:
5638         * text.C: rename fullRebreak() to partialRebreak() and implement
5639           a fullRebreak() that really bereks fully
5640
5641         * textcursor.h: new struct for cursor-related data
5642
5643 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5644
5645         * lyx_main.C (LyX): get full path of document loaded on the
5646         command line
5647
5648 2003-06-26  André Pönitz  <poenitz@gmx.net>
5649
5650         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5651           remove unused/broken operator>,<,>=.
5652
5653         *       text.C: remove only use of broken operator<= in an Assert().
5654
5655 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5656
5657         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5658         moved errorlist_.clear to showErrorList
5659
5660 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5661
5662         * converter.C (scanLog, runLaTeX):
5663         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5664         move the bv->showErrorList call to the callers
5665         * lyxfunc.C: i.e. here...
5666         * text2.C: and here
5667         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5668         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5669         namespace, the second to...
5670         * buffer_funcs (BufferFormat, parseErrors): added
5671         * errorlist.C (ErrorList(TeXErrors const &)): removed
5672
5673 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5674
5675         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5676
5677 2003-06-24  "Garst R. Reese" <reese@isn.net>
5678
5679         * debug.C: fix typo
5680
5681 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5682
5683         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5684
5685         * version.C.in: change docversion to 1.4
5686
5687 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * buffer.C: fix a bug just introduced
5690
5691 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5692
5693         * buffer.[Ch]: added the parseError signal and use it, removed
5694         sgmlError
5695         * BufferView.[Ch] (addError): moved to ...
5696         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5697         to the Buffer::parseError signal to catch (guess what) parse errors
5698         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5699
5700 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5701
5702         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5703         ability to create a buffer and to return an existing one from
5704         the list. Moved these functions to...
5705         * buffer_funcs.[Ch]: added
5706         * BufferView.[Ch] (loadLyXFile): added
5707         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5708         job removed from bufferlist::loadLyXFile.
5709         * buffer.C (setReadOnly): make it work without view
5710         (i.e added an if (users))
5711
5712 2003-06-19  Angus Leeming  <leeming@lyx.org>
5713
5714         * lfuns.h:
5715         * LyXAction.C (init):
5716         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5717         with LFUN_DIALOG_SHOW <name> <data>.
5718
5719 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5720
5721         * CutAndPaste.C (availableSelections): small compilation fix for
5722         ancient (gcc 2.9x) compilers
5723
5724 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * text3.C (cursorNext): add tmp var
5727
5728         * text2.C (updateCounters): for function calling out of for clause
5729         (replaceSelectionWithString): ditto
5730         (insertStringAsParagraphs): ditto
5731         (getColumnNearX): add tmp var
5732         (setCursorFromCoordinates): add tmp var
5733         (cursorDownParagraph): add tmp var
5734         (deleteEmptyParagraphMechanism): add tmp var
5735
5736         * text.C (insertChar): add tmp var
5737
5738         * rowpainter.C (paintDepthBar): add tmp var
5739
5740         * CutAndPaste.C (availableSelections): potentially check all
5741         paragraphs in a cut to fill the shown strings.
5742
5743 2003-06-18  André Pönitz  <poenitz@gmx.net>
5744
5745         * kbmap.[Ch]: use vector<> instead of list<>
5746
5747 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5748
5749         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5750         pasteSelection with index
5751
5752         * text2.C (pasteSelection): modify, call pasteSelection with index
5753
5754         * paragraph.C (asString): reimplement version with no interval to
5755         call the one with interval.
5756
5757         * lyxtext.h: add index arg to pasteSelection
5758
5759         * MenuBackend.C (MenuItem): handle PasteRecent
5760         (Menu::read::Menutags): add md_pasterecent
5761         (read): handle it
5762         (expandPasteRecent): new function
5763         (expand): use it
5764
5765         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5766
5767         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5768         the limited stack
5769         (availableSelections): new function
5770
5771 2003-06-17  Angus Leeming  <leeming@lyx.org>
5772
5773         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5774
5775 2003-06-17  Angus Leeming  <leeming@lyx.org>
5776
5777         * lfuns.h:
5778         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5779
5780         * lyxfunc.C (dispatch): invoke it.
5781
5782 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5783
5784         * iterators.C (operator++, ParPosition): reintroduce some
5785         const_cast for the benefit of older compilers.
5786
5787 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5788
5789         * text3.C (dispatch): do not modify clipboard when doing
5790         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5791         LFUN_DELETE_SKIP on a selection selection
5792
5793 2003-06-16  André Pönitz  <poenitz@gmx.net>
5794
5795         * BufferView.C:
5796         * buffer.C:
5797         * buffer.h:
5798         * paragraph.C:
5799         * tabular.[Ch]: IU of clone() and getLabelList();
5800
5801 2003-06-13  André Pönitz  <poenitz@gmx.net>
5802
5803         * tabular.h: compactification
5804
5805 2003-06-12  André Pönitz  <poenitz@gmx.net>
5806
5807         * tabular.C:
5808         * tabular.h:
5809         * tabular_funcs.h: some renaming plus whitespace
5810
5811 2003-06-12  André Pönitz  <poenitz@gmx.net>
5812
5813         * BufferView.C:
5814         * BufferView_pimpl.C:
5815         * CutAndPaste.C:
5816         * buffer.C:
5817         * iterators.[Ch]:
5818         * lyxfunc.C:
5819         * text.C:
5820         * toc.C: Return a Paragraph & for ParIterator::operator*()
5821
5822 2003-06-11  John Levon  <levon@movementarian.org>
5823
5824         * lyx_main.C:
5825         * ToolbarBackend.h:
5826         * ToolbarBackend.C: add "Toolbars" section and
5827         put the flags there
5828
5829 2003-06-10  Angus Leeming  <leeming@lyx.org>
5830
5831         * lfuns.h:
5832         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5833
5834         * lyxfunc.C (dispatch): invoke it.
5835
5836 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * main.C: protect <ios> with HAVE_IOS
5839         (main): protect sync_with_stdio with HAVE_IOS
5840
5841 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5842
5843         * text2.C (cutSelection): adjust
5844         (pasteSelection): adjust
5845
5846         * messages.C: handle get of empty string
5847
5848         * main.C (main): use sync_with_stdio(false)
5849
5850         * lyxfunc.C (dispatch): adjust
5851
5852         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5853         (WriteAs): remove unneeded BufferView arg.
5854
5855         * bufferparams.h: use correct types on papersize, papersize2 and
5856         paperpackage.
5857
5858         * bufferparams.C (readToken): adjust for type
5859         (writeLaTeX): add missing cases to switch.
5860
5861         * bufferlist.C (quitWriteBuffer): adjust
5862         (close): adjust
5863
5864         * buffer.C (asciiParagraph): remove some commented code.
5865
5866         * CutAndPaste.C: remove current_view extern variable.
5867         (cutSelection): add BufferParams arg.
5868         (eraseSelection): add BufferParams arg.
5869         (pasteSelection): add Buffer const & arg
5870
5871 2003-06-07  John Levon  <levon@movementarian.org>
5872
5873         * buffer.C:
5874         * paragraph_funcs.C:
5875         * paragraph_pimpl.C:
5876         * text.C:
5877         * text2.C:
5878         * paragraph.h:
5879         * paragraph.C: allow InsetERT to freely space lines,
5880         and some consolidation of code
5881
5882 2003-06-06  José Matos  <jamatos@fep.up.pt>
5883
5884         * buffer.C (makeDocBookFile): fix bug #821
5885
5886 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5887
5888         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5889
5890 2003-06-04  Angus Leeming  <leeming@lyx.org>
5891
5892         * buffer.C: bump format to 224.
5893
5894 2003-06-05  André Pönitz  <poenitz@gmx.net>
5895
5896         * text2.C (redoParagraphs): remove two const_cast<>
5897
5898 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5899
5900         * ParagraphList.h: remove last remnants of NO_STD_LIST
5901
5902 2003-06-03  Angus Leeming  <leeming@lyx.org>
5903
5904         * factory.C (createInset): small change to the way InsetExternal's params
5905         are set.
5906
5907 2003-06-04  André Pönitz  <poenitz@gmx.net>
5908
5909         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5910
5911         * paragraph_pimpl.h:
5912         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5913
5914         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5915
5916         * undo_funcs.C: make some simple cases of undo work again
5917
5918 2003-06-03  John Levon  <levon@movementarian.org>
5919
5920         * ispell.C: HPUX doesn't have sys/select.h
5921         (from Albert Chin)
5922
5923 2003-06-03  John Levon  <levon@movementarian.org>
5924
5925         * CutAndPaste.C: update tabular and include inset
5926         buffer references
5927
5928         * buffer.h:
5929         * paragraph.h:
5930         * paragraph.C: remove owningBuffer(), don't pass Buffer
5931         to clone()
5932
5933         * factory.C: insetGraphicsParams changed
5934
5935 2003-06-02  John Levon  <levon@movementarian.org>
5936
5937         * LyXAction.C:
5938         * factory.C:
5939         * lfuns.h:
5940         * lyxfunc.C:
5941         * text3.C: remove insetparent
5942
5943 2003-06-02  John Levon  <levon@movementarian.org>
5944
5945         * buffer.h:
5946         * buffer.C: fix inset_iterator.end(), move out of line
5947         (bug 1149)
5948
5949 2003-06-01  John Levon  <levon@movementarian.org>
5950
5951         * text3.C: use a proper cut/paste when doing inset
5952         insert (from Jürgen Spitzmüller)
5953
5954 2003-06-01  John Levon  <levon@movementarian.org>
5955
5956         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5957
5958 2003-05-30  André Pönitz  <poenitz@gmx.net>
5959
5960         * rowpainter.C: unify second drawing phase
5961
5962 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5963
5964         * trans_mgr.C: remove one case of current_view
5965
5966         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5967
5968         * paragraph_funcs.h: remove paragraph.h include
5969
5970         * paragraph.h: delete NO_STD_LIST stuff
5971
5972         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5973
5974         * buffer.h: remove paragraph.h include
5975
5976         * ParagraphList.C: delete file
5977
5978         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5979
5980         * toc.C (getTocList): adjust
5981
5982         * paragraph_pimpl.C (validate): adjust
5983
5984         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5985
5986         * paragraph.C (Paragraph): adjust
5987         (getPositionOfInset): use const_iterator, adjust
5988         (bibitem): use const_iterator, adjust
5989         (setInsetOwner): adjust
5990
5991         * iterators.C (operator++): adjust
5992
5993         * InsetList.[Ch]: Replace selfmade iterator with standard
5994         vector::iterator also introduce const_iterator. Remove getPos,
5995         getInset and setInset from InsetTable. Adjust accordingly.
5996
5997         * BufferView.C (lockInset): adjust
5998         (ChangeInsets): adjust
5999
6000         * tabular.[Ch]: delete commented same_id functions
6001
6002 2003-05-28  John Levon  <levon@movementarian.org>
6003
6004         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6005
6006 2003-05-28  André Pönitz  <poenitz@gmx.net>
6007
6008         * metricsinfo.[Ch]: remove 'fullredraw' member
6009
6010 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6011
6012         * lyxtextclass.C (operator): remove caching.
6013
6014 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6015
6016         * text3.C: adjust
6017
6018         * text2.C (cursorBottom): adjust
6019         (setCounter): use ParagraphList::find, adjust
6020
6021         * text.C (workWidth): use ParagraphList::find, adjust
6022
6023         * lyxcursor.C (LyXCursor): adjust
6024
6025         * buffer.C (inset_iterator): adjust
6026
6027         * ParagraphList.h: make iterator(value_type) private, make
6028         ParagraphList a friend of iterator.
6029
6030         * ParagraphList.C (find): new function
6031
6032         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6033
6034 2003-05-27  André Pönitz  <poenitz@gmx.net>
6035
6036         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6037
6038 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6039
6040         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6041
6042 2003-05-26  John Levon  <levon@movementarian.org>
6043
6044         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6045
6046 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * remove same_id from function signatures, adjust.
6049
6050 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6053
6054         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6055
6056         * paragraph.C (Paragraph): get rid of same_ids parameter
6057
6058         * ParagraphList.C (insert): adjust
6059         (push_back): adjust
6060
6061 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * paragraph_funcs.C (breakParagraph): adjust
6064         (breakParagraphConservative): adjust
6065
6066         * buffer.C (readParagraph): adjust
6067
6068         * ParagraphList.C (insert): take a reference instead of a pointer
6069         (insert): adjust
6070
6071         * paragraph.[Ch] (id): new function
6072
6073         * bufferlist.C (newFile): adjust
6074
6075         * ParagraphList.C (ParagraphList): adjust
6076         (assign): adjust
6077         (push_back): take a reference instead of a pointer.
6078
6079         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6080
6081         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6082         instead.
6083
6084         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6085         set else use old code.
6086
6087         * ParagraphList.C: remove all NO_NEXT code and only compile this
6088         code of NO_STD_LIST is set.
6089
6090 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6091
6092         * BufferView_pimpl.C:
6093         * TextCache.C:
6094         * TextCache.h:
6095         * bufferlist.C:
6096         * errorlist.h:
6097         * format.C:
6098         * format.h:
6099         * graph.C:
6100         * lyxfunc.C:
6101         * lyxrc.C:
6102         * graphics/GraphicsConverter.C:
6103         * graphics/PreviewLoader.C: header adjustment
6104
6105 2003-05-23  Angus Leeming  <leeming@lyx.org>
6106
6107         * LaTeXFeatures.[Ch] (useBabel): new method.
6108         * bufferparams.C (writeLaTeX): use it.
6109
6110 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * ParagraphList.h (set): remove unused function.
6113
6114 2003-05-23  André Pönitz  <poenitz@gmx.net>
6115
6116         * BufferView.C:
6117         * BufferView_pimpl.C:
6118         * buffer.C:
6119         * buffer.h:
6120         * lyxfunc.C:
6121         * undo_funcs.C: setUndo reworked
6122
6123         * iterators.[Ch]: add access to topmost ParagraphList
6124
6125         * lyxtext.[Ch] (workWidth): add a const
6126
6127 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6128
6129         * texrow.[Ch] (increasePos): remove function
6130         * exporter.C (export): removed unused var and outdated comment
6131
6132 2003-05-23  Angus Leeming  <leeming@lyx.org>
6133
6134         * latexrunparams.h: rename fragile as moving_arg.
6135         * paragraph.C (simpleTeXOnePar): ditto.
6136         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6137
6138 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6141         (createUndo): ditto
6142         (textUndoOrRedo): comment out a currently unused var.
6143
6144         * paragraph.h (NO_NEXT): enable NO_NEXT
6145
6146         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6147
6148         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6149
6150         * exporter.C (Export): adjust for removeAutoInsets removal.
6151
6152         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6153
6154         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6155
6156         * BufferView.[Ch] (removeAutoInsets): delete function
6157
6158 2003-05-22  Angus Leeming  <leeming@lyx.org>
6159
6160         * latexrunparams.h: add a free_spacing variable.
6161
6162         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6163         to pass moving_arg, as the data is stored in runparams.fragile.
6164
6165         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6166         to Inset::latexOptional or to simpleTeXOnePar.
6167
6168         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6169         free_spacing arg to Inset::latexOptional.
6170
6171         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6172         free_spacing arg.
6173
6174 2003-05-22  Angus Leeming  <leeming@lyx.org>
6175
6176         * latexrunparams.h: add fragile and use_babel variables.
6177
6178         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6179         * buffer.C (makeLaTeXFile): store this returned value in
6180         runparams.use_babel, thus passing it to the inset::latex methods.
6181
6182         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6183         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6184
6185         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6186         longer has a fragile arg, as it is stored in runparams.fragile.
6187
6188         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6189         moving_arg parameter as the data is stored in runparams.fragile.
6190
6191         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6192         a fragile parameter as the data is stored in runparams.fragile.
6193
6194 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6197
6198 2003-05-22  Angus Leeming  <leeming@lyx.org>
6199
6200         * latexrunparams.h: add a 'bool nice' which defaults to false.
6201
6202         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6203         now encapsulated within runparams.
6204
6205         * bufferlist.C (updateIncludedTeXfiles):
6206         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6207
6208 2003-05-22  Angus Leeming  <leeming@lyx.org>
6209
6210         * latexrunparams.h: new file containing struct LatexRunParams.
6211         * Makefile.am: add new file.
6212
6213         * LaTeX.[Ch] (c-tor, run):
6214         * buffer.[Ch] (makeLaTeXFile):
6215         * bufferlist.[Ch] (updateIncludedTeXfiles):
6216         * converter.C (convert, scanLog):
6217         * converter.[Ch] (runLaTeX):
6218         * exporter.C (Export):
6219         * paragraph.[Ch] (simpleTeXOnePar):
6220         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6221         * paragraph_funcs.[Ch] (latexParagraphs):
6222         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6223         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6224         pass around a LatexRunParams parameter.
6225
6226 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * paragraph.[Ch]: remove unused constructor
6229
6230         * ParagraphList.C (erase): new function, taking two iterators
6231
6232 2003-05-22  André Pönitz  <poenitz@gmx.net>
6233
6234         * undo_funcs.C: remove duplicated code
6235
6236         * iterator.[Ch]: operator=
6237
6238 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * tabular.C (SetMultiColumn): ws changes
6241
6242         * rowpainter.C (paintFirst): get rid of a ->previous
6243
6244         * lyx_cb.C (getPossibleLabel): parlist simplification
6245
6246         * BufferView.C (ChangeInsets): simplify slightly.
6247
6248 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6249
6250         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6251         * lfuns.h: new LFUN_SPACE
6252         * lyxfunc.C: protected space has a new lfun
6253         * paragraph_funcs.C: read new space insets
6254         * text3.C:
6255         * factory.C: handle new space insets
6256
6257 2003-05-22  André Pönitz  <poenitz@gmx.net>
6258
6259         * BufferView.C:
6260         * BufferView_pimpl.C:
6261         * buffer.[Ch]:
6262         * lyxfunc.C:
6263         * undo_funcs.C: return a ParIterator from getParFromID.
6264
6265         * iterators.[Ch]: add two const's
6266
6267 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * toc.C (getTocList): adjust
6270
6271         * iterators.[Ch]: rework for parlist
6272
6273         * buffer.C (par_iterator_begin): adjust
6274         (par_iterator_end): adjust
6275
6276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6277
6278         * BufferView.C (removeAutoInsets): adjust
6279         (ChangeInsets): adjust
6280
6281 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6282
6283         * text.C (top_y): fix bug 1110
6284
6285 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6286
6287         * errorlist.[Ch]: added
6288         * buffer.C:
6289         * BufferView.[Ch]:
6290         * BufferView_pimpl.C:
6291         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6292         instead
6293
6294 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * Makefile.am: ensure that lyx is relinked upon changes to the
6297         various "convenience" libs.
6298
6299 2003-05-20  Angus Leeming  <leeming@lyx.org>
6300
6301         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6302         files are compiled in alphabetical order again.
6303
6304         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6305
6306 2003-05-19  Angus Leeming  <leeming@lyx.org>
6307
6308         * gettext.[Ch]: remove "char const * _(char const *)".
6309
6310 2003-05-19  André Pönitz  <poenitz@gmx.net>
6311
6312         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6313
6314         * Makefile.am:
6315         * BufferView.C:
6316         * DepTable.h:
6317         * LaTeXFeatures.C:
6318         * buffer.C:
6319         * lyxfont.C:
6320         * lyxlex.h:
6321         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6322
6323 2003-05-19  André Pönitz  <poenitz@gmx.net>
6324
6325         * buffer.C:
6326         * lyxlayout.[Ch]:
6327         * lyxtextclass.[Ch]:
6328         * paragraph.C:
6329         * paragraph_funcs.[Ch]:
6330         * text2.C:
6331         * text3.C: more insetenv work
6332
6333 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * ParagraphParameters.C (params2string): small bug fixed
6336
6337 2003-05-16  André Pönitz  <poenitz@gmx.net>
6338
6339         * debug.C:
6340         * bufferview_funcs.C: patch from Kornel Benko to prevent
6341           crash when _(...) is called twice in a statement
6342
6343 2003-05-16  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView.C:
6346         * lyxfunc.C:
6347         * text.C:
6348         * text2.C:
6349         * text3.C:
6350         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6351
6352 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * lyx_main.C (init): remove spurious static_cast
6355
6356 2003-05-14  André Pönitz  <poenitz@gmx.net>
6357
6358         * BufferView.C: fix format string
6359
6360 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6361
6362         * BufferView.[Ch] (insertErrors): removed
6363         * BufferView.[Ch] (showErrorList): added
6364         * buffer.C (runChkTeX):
6365         * converter.C (scanLog): call showErrorList instead of inserterrors
6366
6367 2003-05-13  André Pönitz  <poenitz@gmx.net>
6368
6369         * BufferView_pimpl.C:
6370         * buffer.C:
6371         * bufferview_func.C:
6372         * MenuBackend.C:
6373         * lyxfunc.C:
6374         * lyxrc.C:
6375         * tex-accent.C:
6376         * text3.C:
6377         * toc.C:
6378         * tabular_funcs.h: tostr() from its own header
6379
6380         * ParagraphParameters.C:
6381         * ToolbarBackend.C:
6382         * bufferparams.C:
6383         * format.C:
6384         * lyxlex_pimpl.C:
6385         * text3.C: STRCONV()
6386
6387 2003-05-12  André Pönitz  <poenitz@gmx.net>
6388
6389         * BufferView.C:
6390         * BufferView_pimpl.C:
6391         * CutAndPaste.C:
6392         * LaTeX.C:
6393         * LaTeXFeatures.C:
6394         * ParagraphParameters.C:
6395         * buffer.C:
6396         * bufferlist.C:
6397         * bufferparams.C:
6398         * bufferview_funcs.C:
6399         * converter.C:
6400         * counters.C:
6401         * debug.C:
6402         * exporter.C:
6403         * format.C:
6404         * importer.C:
6405         * lyx_cb.C:
6406         * lyx_main.C:
6407         * lyxfont.C:
6408         * lyxfunc.C:
6409         * lyxvc.C:
6410         * paragraph.C:
6411         * paragraph_funcs.C:
6412         * tabular.C:
6413         * tabular_funcs.C:
6414         * text2.C:
6415         * text3.C:  boost::format -> bformat  all over the place
6416
6417
6418 2003-05-09  André Pönitz  <poenitz@gmx.net>
6419
6420         * LColor.[Ch]: Pimpl the #include <map> away
6421
6422 2003-05-09  John Levon  <levon@movementarian.org>
6423
6424         * bufferlist.C: never remove emergency saves
6425
6426 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * Makefile.am: better lib building
6429
6430 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6433         instead.
6434         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6435         (simpleTeXSpecialChars): adjust
6436         (simpleTeXSpecialChars): adjust
6437         * paragraph.C (simpleTeXOnePar): adjust
6438         * buffer.C (makeLaTeXFile): adjust
6439
6440         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6441
6442         * text2.C (changeDepth): parlist cleanup
6443         (getColumnNearX): ditto
6444
6445         * rowpainter.C (getLabelFont): parlist cleanup
6446
6447         * bufferlist.C (newFile): parlist cleanup
6448
6449         * CutAndPaste.C (eraseSelection): parlist cleanup
6450
6451         * BufferView_pimpl.C (trackChanges): parlist cleanup
6452         (dispatch): ditto
6453
6454         * BufferView.C (lockInset): parlist cleanup.
6455         (ChangeInsets): ditto
6456
6457 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * CutAndPaste.h: Update file header.
6460
6461         * CutAndPaste.C: Update file header.
6462         Store the parts cut out of the Document in a limited_stack.
6463         (copySelection): adjust
6464         (pasteSelection): new function, takes the index in the limited stack.
6465         (nrOfParagraphs): adjust
6466         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6467         simplify error inset insertion.
6468         (checkPastePossible): adjust
6469
6470 2003-05-06  John Levon  <levon@movementarian.org>
6471
6472         * text2.C: don't cast wrap inset to float
6473
6474 2003-05-05  André Pönitz  <poenitz@gmx.net>
6475
6476         * iterator.C:
6477         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6478
6479         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6480           few naked Paragraph *.
6481
6482 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6483
6484         * bufferparams.C: Output warning if a document with missing
6485         TeX document class is loaded
6486         * exporter.C: Disable TeX exports if the document class is missing
6487         * lyxtextclass.C:
6488         * lyxtextclass.h:
6489         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6490         isTeXClassAvailable()
6491
6492 2003-05-03  John Levon  <levon@movementarian.org>
6493
6494         * BufferView.h:
6495         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6496         explicit cursor show/hide
6497
6498         * BufferView_pimpl.h:
6499         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6500         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6501
6502         * lyxfunc.C: hide cursor before dispatching.
6503
6504         * lyx_cb.C:
6505         * lyxfind.C:
6506         * text.C:
6507         * text3.C: remove explicit cursor hides
6508
6509 2003-05-02  André Pönitz  <poenitz@gmx.net>
6510
6511         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6512
6513         * undo_funcs.C:
6514         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6515           linked lists
6516
6517         * text2.C: tiny whitespace
6518
6519 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * undo_funcs.C: almost only ws changes.
6522
6523         * ParagraphList.C (splice): just return if pl is empty.
6524
6525 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * ParagraphList.C (splice): new function.
6528
6529         * CutAndPaste.C (pasteSelection): use it
6530
6531 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * CutAndPaste.C (pasteSelection): remove the last next and
6534         previous from this file.
6535
6536 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6537
6538         * CutAndPaste.C (pasteSelection): more clean up, user proper
6539         ParagraphList functions for pasteing.
6540
6541         * ParagraphList.C (insert): new function, three arg insert
6542
6543 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * ParagraphList.C (insert): new function, three arg insert
6546
6547         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6548         not on paragraphs.
6549
6550 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6553
6554 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6557
6558 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6561         (copySelection): clean up a bit.
6562         (pasteSelection): use make_pair
6563
6564         * ParagraphList.C (ParagraphList): implement copy constructor
6565         (operator=): implement, base on copy constructor.
6566         (assign): new func
6567
6568         * paragraph.C (erase): return a bool
6569
6570         * paragraph_pimpl.C (erasePos): remove function, move contents...
6571         (erase): ... here. Return a bool.
6572         (erase): call erase instead of erasePos.
6573
6574 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * ParagraphList.h: define PitPosPair
6577         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6578         ParagraphList, fix a bug on pasting multiple pars
6579         * text2.C: change interface to C&P
6580
6581 2003-04-30  André Pönitz  <poenitz@gmx.net>
6582
6583         * undo_func.C: revert part of yesterday's patch 2
6584
6585 2003-04-30  John Levon  <levon@movementarian.org>
6586
6587         * LColor.C: s/tabular/table/
6588
6589 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * text3.C (dispatch): do not convert iterator -> pointer
6592         * undo_funcs.C (setCursorParUndo): ditto
6593         * text_funcs.C (transposeChars): ditto
6594
6595         * text2.C (setLayout): ws changes only
6596
6597         * text.C (breakParagraph): do not convert iterator -> pointer
6598         (insertChar): ditto
6599         (acceptChange): ditto
6600         (rejectChange): ditto
6601         (changeCase): ditto
6602         (Delete): ditto
6603         (backspace): ditto
6604
6605         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6606         pointer
6607
6608 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6609
6610         * text3.C (gotoInset): YABG (yet another bad getChar)
6611
6612 2003-04-29  André Pönitz  <poenitz@gmx.net>
6613
6614         * paragraph.h: make operator= private unimplemented as long as
6615           it is unusable
6616
6617         * ParagraphList.C: whitespace
6618
6619         * paragraph.[Ch]:
6620         * paragraph_pimpl.[Ch]:
6621         * paragraph_funcs.C:
6622         * CutAndPaste.C:
6623         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6624
6625         * text2.C:
6626           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6627
6628 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6629
6630         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6631         * paragraph.[Ch] (erase):
6632         * paragraph_pimpl.[Ch] (erase): change return type and value
6633         * text2.C (cutSelection): some rework
6634
6635 2003-04-28  John Levon  <levon@movementarian.org>
6636
6637         * bufferlist.C: changes for unsaved changes dialog
6638
6639 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * bufferlist.C (newFile): set language (messages_) for new
6642         documents also.
6643
6644         * buffer.C (readFile): ws changes only.
6645
6646 2003-04-28  André Pönitz  <poenitz@gmx.net>
6647
6648         * undo_funcs.C:
6649         * lyxfunc.C:
6650         * buffer.[Ch]:
6651         * BufferView_pimpl.C:
6652         * BufferView.C: getParFromID related ParagraphList::iterator changes
6653
6654 2003-04-28  André Pönitz  <poenitz@gmx.net>
6655
6656         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6657           Changes
6658
6659 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * messages.C: remove one more localedir class variable.
6662
6663 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * messages.C (getLocaleDir): singleton generation function
6666         (Pimpl): use it.
6667         (Messages): add a default constructor.
6668
6669         * main.C (main): do not setup localedir here, do not call
6670         gettext_init.
6671
6672         * gettext.C (_): use it.
6673         (gettext_init): delete funciton
6674
6675 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * gettext.C (getLyXMessages): new singleton generating function.
6678
6679         * buffer.C (updateDocLang): adjust
6680
6681         * Makefile.am (messages.o): add target
6682         (main.o): remove target
6683
6684 2003-04-27  John Levon  <levon@movementarian.org>
6685
6686         * bufferlist.C:
6687         * lyx_cb.C:
6688         * lyxfunc.C:
6689         * lyxvc.C: specify cancel button in Alert::prompt
6690
6691 2003-04-26  John Levon  <levon@movementarian.org>
6692
6693         * text3.C:
6694         * lyxfunc.C:
6695         * lfuns.h:
6696         * LyXAction.C: add LFUN_INSET_SETTINGS
6697
6698         * lyxfunc.C: don't enable tabular-feature when there's
6699         just any locking inset
6700
6701 2003-04-26  John Levon  <levon@movementarian.org>
6702
6703         * bufferlist.C: re-add Cancel to buffer close question
6704
6705         * lyxfunc.C: fix import UI a bit
6706
6707 2003-04-25  John Levon  <levon@movementarian.org>
6708
6709         * gettext.C: remove the broken asserts for now
6710
6711 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * messages.C: make case where setlocale cannot comply work better.
6714
6715         * buffer.C (updateDocLang): new function
6716         (changeLanguage): use it
6717         (readFile): use it
6718
6719         * text2.C (setCounter): use B_ a bit.
6720
6721         * lyxlayout.C (Read): be sure to trim the label strings.
6722
6723         * messages.C (Messages): fix typo in comment
6724
6725         * buffer.C (readFile): set message_ after file is loaded.
6726         (makeDocBookFile): remove double return
6727         (changeLanguage): reset message_ upon language change.
6728         (B_): new func, use this to get translated buffer strings.
6729
6730         * main.C: add myself and Jean Marc as authors.
6731
6732 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * messages.[hC]: pimplify Messages, and three different pimpls to be
6735         used in different circumstances.
6736
6737         * gettext.[Ch]: change for use with new message code.
6738
6739 2003-04-24 André Pönitz <poenitz@gmx.net>
6740
6741         * factory.C: support for eqref
6742
6743 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * messages.[Ch]: add missing char
6746
6747         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6748
6749         * messages.[Ch]: New files
6750
6751 2003-04-18  John Levon  <levon@movementarian.org>
6752
6753         * BufferView.h:
6754         * BufferView.C:
6755         * BufferView_pimpl.C:
6756         * lfuns.h:
6757         * LyXAction.C:
6758         * lyxtext.h:
6759         * text2.C: remove layout-copy/paste (bug 778)
6760
6761 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6762
6763         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6764
6765 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6768         if they succeed. Act accordingly.
6769
6770 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * text2.C (setCharFont): adjust
6773         (setCounter): adjust
6774         (insertStringAsLines): adjust
6775
6776         * text.C (leftMargin): adjust
6777         (setHeightOfRow): adjust
6778
6779         * rowpainter.C (paintFirst): adjust
6780         (paintLast): adjust
6781
6782         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6783         (outerHook): ditto
6784         (isFirstInSequence): ditto
6785         (getEndLabel): ditto
6786         (outerFont): adjust
6787
6788         * paragraph.C (getParLanguage): comment out some hard stuff.
6789
6790         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6791         (sgmlError): ditto
6792         (simpleDocBookOnePar): ditto
6793         (makeDocBookFile): use ParagraphList::iterator
6794
6795         * CutAndPaste.C (pasteSelection): adjust
6796
6797 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * text2.C (getFont): adjust
6800         (getLayoutFont): adjust
6801         (getLabelFont): adjust
6802
6803         * paragraph_funcs.C (TeXOnePar): adjust
6804
6805         * buffer.C (simpleLinuxDocOnePar): adjust
6806         (simpleDocBookOnePar): adjust
6807
6808         * CutAndPaste.C (pasteSelection): adjust
6809
6810         * BufferView.C (getEncoding): adjust
6811
6812         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6813
6814 2003-04-16  John Levon  <levon@movementarian.org>
6815
6816         * lyxfind.C: use parlist stuff for search/changes
6817
6818 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6821
6822         * text2.C (deleteEmptyParagraphMechanism): adjust
6823
6824         * text2.[Ch] (ownerParagraph): delete func (both of them
6825
6826 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6829
6830 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * ParagraphList.C: prepare for NO_NEXT
6833
6834 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * text2.C (getFont): adjust
6837         (getLayoutFont): adjust
6838         (getLabelFont): adjust
6839
6840         * paragraph.C (getFont): adjust
6841         (getLabelFont): adjust
6842         (getLayoutFont): adjust
6843
6844         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6845
6846 2003-04-15  John Levon  <levon@movementarian.org>
6847
6848         From Angus Leeming
6849
6850         * lyx_main.C: handle Include in .ui files
6851
6852 2003-04-15  John Levon  <levon@movementarian.org>
6853
6854         * MenuBackend.C: make the doc files length shorter
6855
6856         * ToolbarBackend.h:
6857         * ToolbarBackend.C: handle toolbar placement flags,
6858         Minibuffer
6859
6860 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6863         adjust
6864
6865         * paragraph_funcs.C (TeXOnePar): adjust
6866
6867         * paragraph.C (getLabelFont): add outerfont arg, adjust
6868         (getLayoutFont): ditto
6869         (simpleTeXOnePar): adjust
6870
6871         * paragraph_pimpl.C (realizeFont): delete func
6872
6873 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6876         row argument, constify cur argument.
6877
6878 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * text2.C (getFont): adjust
6881         (getLayoutFont): adjust
6882         (getLabelFont): adjust
6883
6884         * paragraph_funcs.C (TeXOnePar): adjust
6885         (outerFont): new func...
6886         (realizeFont): ...moved out from here, changed this to facilitate
6887         transition
6888
6889         * paragraph.C (getFont): take outerfont as arg, adjust
6890         (simpleTeXOnePar): add outerfont arg, adjust
6891
6892         * buffer.C (simpleLinuxDocOnePar): adjust
6893         (simpleDocBookOnePar): adjust
6894
6895         * CutAndPaste.C (pasteSelection): adjust
6896
6897         * BufferView.C (getEncoding): adjust
6898
6899 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * text2.C (setCharFont): adjust
6902         (setCounter): adjust
6903
6904         * text.C (leftMargin): adjust
6905         (setHeightOfRow): adjust
6906
6907         * rowpainter.C (paintFirst): adjust
6908         (paintLast): adjust
6909
6910         * paragraph_pimpl.C (realizeFont): adjust
6911
6912         * paragraph.C (isFirstInSequence): move from here...
6913         * paragraph_funcs.C (isFirstInSequence): ...to here
6914
6915         * paragraph.C (outerHook): move from here...
6916         * paragraph_funcs.C (outerHook): ...to here
6917
6918         * paragraph.C (depthHook): move from here...
6919         * paragraph_funcs.C (depthHook): ...to here
6920
6921         * paragraph.C (getEndLabel): move from here...
6922         * paragraph_funcs.C (getEndLabel): ...to here
6923
6924         * text2.C (realizeFont): move from here...
6925         * paragraph_funcs.C (realizeFont): ...to here
6926
6927 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6930
6931 2003-04-14  Angus Leeming  <leeming@lyx.org>
6932
6933         * LColor.[Ch]: scrap LColor mathcursor.
6934
6935 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * lyxlex.[Ch] (text): delete function
6938         * trans.C (Load): adjust
6939         * paragraph_funcs.C (readParToken): adjust
6940
6941 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6944         vector<char> instead of a char[].
6945
6946         * lyxlex_pimpl.C (getString): adjust
6947         (next): adjust
6948         (lex): use getString
6949         (eatLine): adjust
6950         (nextToken): adjust
6951
6952         * lyxlex.C (text): use pimpl_->getString()
6953         (getBool): ditto
6954         (findToken): ditto
6955
6956 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6959         (makeFontEntriesLayoutSpecific): temp var for par.size()
6960         (setLayout): temp var for ownerParagraphs().end()
6961         (fullRebreak): temp var for rows().end()
6962         (selectionAsString): temp var for boost::next(startpit), realize
6963         that the while really is a regular for loop.
6964         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6965         setCursor in one place.
6966         (setParagraph): temp vr for ownerParagraphs().end()
6967         (updateCounters): make the while loop a for loop
6968         (cutSelection): temp var for ownerParagraphs().end()
6969         (updateInset): make the do {} while() a regular for loop
6970         (getCursorX): use temp vars
6971         (setCurrentFont): use temp vars
6972         (getColumnNearX): use temp vars
6973
6974 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6975
6976         * text.C (transformChar): use temp var for getChar
6977         (computeBidiTables): use temp var for row->par()
6978         (fill): move temp vars for row->par() and pit->layout() earlier in
6979         the function.
6980         (labelFill): use temp var for row->par()
6981         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6982         asc and desc, realize that pit never changes and that firstpit is
6983         just a duplicate and not needed. Exchange rit->par() with pit in a
6984         lot of places.
6985         (breakAgain): use a temp var for boost::next(rit)
6986         (breakAgainOneRow): ditto
6987         (breakParagraph): use a temp var for rows().begin()
6988         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6989         (cursorRightOneWord): use temp var for cursor.par() and
6990         cursor.pos(), remove usage of tmpcursor.
6991         (cursorLeftOneWord): use temp var for cursor.par() and
6992         cursor.pos() only set cur at end of function.
6993
6994 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * text.C, text2.C: exchange all usage of Paragraph::next with
6997         boost::next(ParagraphList::iterator)
6998
6999         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7000
7001         * text2.C (cursorTop): simplify implementation
7002         (cursorBottom): ditto
7003         (setParagraph): use ParagraphList::iterator
7004         (setCurrentFont): adjust
7005         (getColumnNearX): adjust
7006         (cursorRight): adjust
7007         (cursorLeft): remove usage of Paragraph::previous
7008         (cursorUpParagraph): ditto
7009         (deleteEmptyParagraphMechanism): slight cleanup
7010
7011         * text.C (isBoundary): take a Paragraph const & instead of a
7012         pointer as arg.
7013         (addressBreakPoint): ditto
7014         (leftMargin): remove usage of Paragraph::previous.
7015         (setHeightOfRow): ditto
7016         (cursorLeftOneWord): ditto
7017         (selectNextWordToSpellcheck): ditto
7018         (Delete): ditto
7019         (backspace): ditto
7020         (breakParagraph): remove one usage of Paragraph::next
7021         (redoParagraph): ditto
7022         (acceptChange): ditto
7023         (insertChar): adjust
7024         (rowBreakPoint): adjust
7025
7026         * bufferview_funcs.C (toggleAndShow): adjust
7027
7028 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7029
7030         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7031         methods to access it.
7032         * lyxtext.h:
7033         * text.C: Added updateRowPositions to compute all row positions.
7034         Make top_y and getRowNearY() to use the cached y position
7035
7036 2003-04-11  John Levon  <levon@movementarian.org>
7037
7038         * text.C (rowBreakPoint): reintroduce the labelEnd
7039         checks, code copied from the row fill stuff. Deep voodoo.
7040
7041         * text.C (fill): add a comment and debugging for the
7042         next poor soul.
7043
7044 2003-04-11  John Levon  <levon@movementarian.org>
7045
7046         * text.C: make sure fullrow insets get wrapped to the next line,
7047         even when they're in a manual label
7048
7049 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * text2.C (insertParagraph): make it take ParagraphList::iterator
7052         as arg.
7053         (setLayout): make it return ParagraphList::iterator
7054         (redoParagraphs): ditto
7055         (setCounter): ditto
7056         (checkParagraph): ditto
7057
7058         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7059
7060         * text2.C: adjust several funcs.
7061         (realizeFont): take a ParagraphList::iterator as arg.
7062         (getLayoutFont): ditto
7063         (getLabelFont): ditto
7064         (setCharFont): ditto
7065
7066         * text.C: adjust several funcs.
7067
7068 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7069
7070         * text.C (selectNextWordToSpellcheck): don't accidentally
7071         skip insets
7072
7073 2003-04-10  John Levon  <levon@movementarian.org>
7074
7075         * ToolbarBackend.C (getIcon): special handling for
7076         LFUN_MATH_DELIM
7077
7078 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * text2.C (cursorRight): a getChar assert fixed
7081
7082 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * text2.C (getFont): change to take a ParagraphList::iterator
7085         instead of Paragraph*
7086         Adjust several functions.
7087
7088         * text.C (transformChar): change to take a ParagraphList::iterator
7089         instead of Paragraph*
7090         (singleWidth): ditto
7091         Adjust several functions.
7092
7093         * rowpainter.C: adjust several functions
7094         * rowpainter.h:store a ParagraphList::iterator and not a
7095         Paragraph&.
7096
7097
7098 2003-04-09  John Levon  <levon@movementarian.org>
7099
7100         * lyxfunc.C:
7101         * lfuns.h:
7102         * LyXAction.h:
7103         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7104         and the "help" bits as well
7105
7106 2003-04-09  John Levon  <levon@movementarian.org>
7107
7108         * ToolbarBackend.h:
7109         * ToolbarBackend.C: allow multiple toolbars
7110
7111 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * undo_funcs.C (setCursorParUndo): adjust
7114
7115         * text_funcs.C (transposeChars): adjust
7116
7117         * text3.C (gotoNextInset): adjust
7118         (dispatch): adjust
7119
7120         * text2.C (setLayout): adjust
7121         (changeDepth): adjust
7122         (setFont): adjust
7123         (redoParagraphs): adjust
7124         (selectionAsString): adjust
7125         (setParagraph): adjust
7126         (insertInset): adjust
7127         (cutSelection): adjust
7128         (copySelection): adjust
7129         (pasteSelection): adjust
7130         (insertStringAsLines): adjust
7131         (updateInset): adjust
7132         (setCursor): change to take a ParagraphList::iterator parameter
7133         (setCursorIntern): change to take a ParagraphList::iterator parameter
7134         (setCurrentFont): adjust
7135         (cursorLeft): adjust
7136         (cursorRight): adjust
7137         (deleteEmptyParagraphMechanism): adjust
7138
7139         * text.C (breakParagraph): adjust
7140         (insertChar): adjust
7141         (acceptChange): adjust
7142         (rejectChange): adjust
7143         (selectNextWordToSpellcheck): adjust
7144         (changeCase): adjust
7145         (Delete): adjust
7146         (backspace): adjust
7147
7148         * lyxfind.C (SearchForward): adjust
7149         (SearchBackward): adjust
7150         (nextChange): adjust
7151
7152         * lyxcursor.C (par): adjust
7153
7154         * lyxcursor.h: store a ParagraphList::iterator instead of a
7155         Paragraph*
7156
7157         * lyx_cb.C (getPossibleLabel): adjust
7158
7159         * bufferview_funcs.C (toggleAndShow): adjust
7160
7161         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7162         (dispatch): adjust
7163
7164         * BufferView.C (removeAutoInsets): adjust
7165         (lockedInsetStoreUndo): adjust
7166
7167 2003-04-09  John Levon  <levon@movementarian.org>
7168
7169         * ToolbarBackend.C: try icon without argument
7170         if with argument fails
7171
7172 2003-04-08  John Levon  <levon@movementarian.org>
7173
7174         * ToolbarBackend.h:
7175         * ToolbarBackend.C: add getIcon(), handle tooltip,
7176         and change from "Icon" to "Item".
7177
7178 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7179
7180         * BufferView.C (lockInset): another bad getchar crunched
7181
7182 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7183
7184         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7185         again)
7186
7187 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7188
7189         * lyxfind.C (searchForward, searchBackwards): bug 782
7190
7191 2003-04-07  John Levon  <levon@movementarian.org>
7192
7193         * paragraph.C: remove dead comment
7194
7195         * text.C: remove troublesome depth-fiddling code
7196         in leftMargin() and rightMargin() (bug 1017)
7197
7198         * text.C: fix breaking of rows in nested lists
7199         (bug 1004)
7200
7201         * text2.C (updateCounters): fix up depth values
7202         (bug 1013)
7203
7204 2003-04-07  John Levon  <levon@movementarian.org>
7205
7206         * BufferView_pimpl.C: clear message when doc finishes resizing,
7207         and after a mouse event
7208
7209         * lyxfunc.C: clear message after exiting inset
7210
7211 2003-04-07  John Levon  <levon@movementarian.org>
7212
7213         * bufferview_funcs.C: show math status not outside
7214         status in the statusbar
7215
7216 2003-04-07  John Levon  <levon@movementarian.org>
7217
7218         * lyxfunc.C: note status changed after a depth change
7219
7220 2003-04-04  Angus Leeming  <leeming@lyx.org>
7221
7222         * LaTeX.h: move AuxInfo operator==, != out of line.
7223         Remove LaTeX virtual destructor; nothing derives from it.
7224         Move operator()() out of public area and rename it startscript().
7225         Change protected for private.
7226
7227 2003-04-04  Angus Leeming  <leeming@lyx.org>
7228
7229         * lyxfunc.C:
7230         * text2.C: remove unneeded #includes.
7231
7232 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * text2.C (dEPM): fix the heigth of the next row
7235
7236 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7237
7238         * text.C: squashed an invalid getChar requester + some ws changes
7239
7240 2003-04-03  John Levon  <levon@movementarian.org>
7241
7242         * bufferview_funcs.h:
7243         * bufferview_funcs.C:
7244         * lyxfunc.C:
7245         * lyxtext.h:
7246         * text2.C: make getStatus work for the env depth lfuns
7247
7248 2003-04-03  John Levon  <levon@movementarian.org>
7249
7250         * bufferview_funcs.h:
7251         * bufferview_funcs.C:
7252         * lyxfunc.C:
7253         * lyxtext.h:
7254         * text2.C: parlistize decDepth(), by merging it with incDepth()
7255
7256 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * lyxrow.h: store a ParagraphList::iterator instead of a
7259         Paragraph* and adjust other class functions to suit.
7260
7261         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7262         above.
7263
7264 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text2.C (setCursor): do not anchor to cursor row for the time being
7267
7268 2003-04-02  John Levon  <levon@movementarian.org>
7269
7270         * LyXAction.C:
7271         * lfuns.h:
7272         * lyx_main.C:
7273         * lyxtext.h:
7274         * text.C:
7275         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7276
7277 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7278
7279         * paragraph.h: make ParagraphList and ParagraphList::iterator
7280         friends of Paragraph.
7281
7282         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7283
7284         * ParagraphList.C: Use the private next_ and previous_ from
7285         Paragraph.
7286
7287 2003-04-01  John Levon  <levon@movementarian.org>
7288
7289         * ToolbarBackend.h:
7290         * ToolbarBackend.C:
7291         * Makefile.am: rename, remove defaults gunk
7292
7293         * MenuBackend.h:
7294         * MenuBackend.C: remove defaults gunk
7295
7296         * Languages.h:
7297         * Languages.C: remove defaults gunk
7298
7299         * lyx_main.h:
7300         * lyx_main.C: error out if files couldn't be found.
7301
7302 2003-04-02  John Levon  <levon@movementarian.org>
7303
7304         * text2.C: make incDepth() use parlist
7305
7306 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * undo_funcs.C (firstUndoParagraph): adjust
7309
7310         * text3.C (gotoInset): adjust
7311         (dispatch): adjust, and rewrite loop.
7312
7313         * text2.C (init): adjust, and rewrite loop.
7314         (redoParagraphs): adjust
7315         (updateInset): adjust, and rewrite loop.
7316         (deleteEmptyParagraphMechanism): adjust
7317
7318         * tabular.C (LyXTabular): adjust
7319         (SetMultiColumn): adjust
7320         (TeXRow): adjust
7321
7322         * lyxtext.[Ch] (ownerParagraph): delete function
7323         (ownerParagraphs): new function returns a ParagraphList.
7324
7325         * BufferView.C (removeAutoInsets): adjust
7326         (insertErrors): adjust
7327         (setCursorFromRow): adjust
7328
7329 2003-04-01  Angus Leeming  <leeming@lyx.org>
7330
7331         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7332         in the frontends.
7333
7334 2003-04-02  John Levon  <levon@movementarian.org>
7335
7336         * lyxtext.h:
7337         * text.C:
7338         * Makefile.am:
7339         * text_funcs.h:
7340         * text_funcs.C: make transposeChars a free function
7341
7342         * lyxrow_funcs.C: remove wrong comment
7343
7344 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * lyxtext.h: adjust
7347         * rowpainter.C: adjust
7348         * text.C: adjust
7349         * text2.C: adjust
7350         * text3.C: adjust
7351
7352         * lyxrow_funcs. [Ch]: new files
7353
7354         * lyxrow.[Ch]: remove next and previous pointers
7355         (next,previous): remove accessor functions
7356         (isParEnd): move to lyxrow_funcs
7357         (lastPos): move to lyxrow_funcs
7358         (nextRowIsAllInset): move to lyxrow_funcs
7359         (lastPrintablePos): move to lyxrow_funcs
7360         (numberOfSeparators): move to lyxrow_funcs
7361         (numberOfHfills): move to lyxrow_funcs
7362         (numberOfLabelHfills): move to lyxrow_funcs
7363         (hfillExpansion): move to lyxrow_funcs
7364
7365         * lyxfunc.C: adjust
7366
7367         * bufferview_funcs.C (toggleAndShow): adjust
7368
7369         * RowList.h: Remove class RowList from file leave just a
7370         std::list<Row>.
7371
7372         * RowList.C: delete file
7373
7374         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7375         and lyxrow_funcs.h
7376
7377 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * text3.C (cursorPrevious): adjust
7380         (cursorNext): adjust
7381         (dispatch): adjust
7382
7383         * text2.C (redoHeightOfParagraph): adjust
7384         (redoDrawingOfParagraph): adjust
7385         (setCursor): adjust
7386
7387         * text.C (breakParagraph): adjust
7388         (insertChar): adjust
7389         (backspace): adjust
7390
7391         * rowpainter.C (RowPainter): adjust
7392         (leftMargin): simplify and adjust
7393         (most rowpainter functions): adjust.
7394
7395         * rowpainter.h: store the row as RowList::iterator not as Row*
7396
7397         * lyxcursor.C (row): taka RowList::iterator as arg
7398         (irow): ditto
7399
7400         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7401         of Row*.
7402
7403 2003-04-01  Angus Leeming  <leeming@lyx.org>
7404
7405         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7406         stuff like bool Bool.
7407
7408 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7411         rewrite a loop
7412
7413 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7416         RowList::iterator.
7417
7418         * lyxtext.h (rows): drop one version and leve a const variant that
7419         returns a RowList::iterator.
7420
7421 2003-03-31  Angus Leeming  <leeming@lyx.org>
7422
7423         * text.C (fill): ensure that the signature is the same as that in the
7424         header file.
7425
7426 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * text2.C (redoParagraphs): adjust
7429         (updateCounters): adjust
7430         (checkParagraph): adjust
7431         (getColumnNearX): adjust and reformat a bit.
7432
7433         * text.C (top_y): adjust
7434         (workWidth): adjust
7435         (leftMargin): adjust
7436         (prepareToPrint): adjust
7437         (getRow): adjust
7438         (getRowNearY): adjust
7439
7440         * lyxtext.h: make rowlist_ mutable.
7441
7442         * RowList.h: add const_iterator
7443         * RowList.C: adjust for RowList::const_iterator.
7444
7445         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7446         adjust.
7447
7448 2003-03-31  John Levon  <levon@movementarian.org>
7449
7450         * lyxrc.h:
7451         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7452
7453         * lyx_main.C: set default fonts from using lyx_gui funcs
7454
7455         * exporter.C: pdf_mode moved from lyxrc
7456
7457         * lyx_cb.C:
7458         * lyxfunc.C: changes from above
7459
7460 2003-03-31  John Levon  <levon@movementarian.org>
7461
7462         * lyx_main.C: fix to the last fix
7463
7464 2003-03-31  John Levon  <levon@movementarian.org>
7465
7466         * bufferlist.C: "Load original" -> "Load Original"
7467
7468         * converter.C:
7469         * exporter.C:
7470         * importer.C:
7471         * lyx_main.C:
7472         * format.C: more Alert cleanups
7473
7474 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * text2.C (removeParagraph): make it take a RowList::iterator as
7477         arg, adjust.
7478         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7479         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7480
7481         * text.C (anchor_row): make it take a RowList::iterator as arg,
7482         adjust.
7483         (computeBidiTables): make it take a const reference to Row instead
7484         of Row pointer, adjust.
7485         (leftMargin): make it take a RowList::iterator as arg, adjust.
7486         (rowBreakPoint): adjust
7487         (breakAgainOneRow): make it take a RowList::iterator as arg,
7488         adjust.
7489         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7490
7491         * bufferview_funcs.C (toggleAndShow): adjust
7492
7493 2003-03-30  John Levon  <levon@movementarian.org>
7494
7495         * Makefile.am:
7496         * BoostFormat.h:
7497         * boost-inst.C: moved to support
7498
7499         * several files: changes as a result
7500
7501 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * text2.C (LyXText): adjust.
7504         (init): adjust
7505         (removeRow): make it take a RowList::iterator as arg, adjust.
7506         (fullRebreak): adjust
7507         (deleteEmptyParagraphMechanism): adjust
7508         (clearPaint): adjust
7509         (postPaint): adjust
7510
7511         * text.C (top_y): adjust
7512         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7513         (breakAgain): make it take a RowList::iterator as arg, adjust.
7514         (breakParagraph): adjust
7515         (insertChar): adjust
7516         (backspace): adjust
7517
7518         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7519         need_break_row, and refresh_row.
7520
7521         * text3.C (dispatch): adjust
7522
7523         * text2.C (checkParagraph): adjust
7524         (setCursor): adjust
7525         (setCursorFromCoordinates): adjust
7526
7527         * text.C (top_y): adjust
7528         (workWidth): adjust
7529         (getRow): make it return a RowList::iterator, adjust
7530         (getRowNearY): make it return a RowList::iterator, adjust
7531
7532         * text2.C (init): adjust
7533         (insertRow): remove function
7534         (insertParagraph): adjust
7535         (redoParagraphs): adjust
7536         (fullRebreak): adjust
7537         (updateCounters): adjust
7538
7539         * text.C (top_y): rewrite to use RowList iterators.
7540         (top_y): adjust
7541         (setHeightOfRow): rewrite to sue RowList iterators.
7542         (appendParagraph): adjust
7543         (breakAgain): adjust
7544         (breakAgainOneRow): adjust
7545         (breakParagraph): adjust
7546         (getRow): adjust
7547         (getRowNearY): adjust, and remove commented code.
7548
7549         * lyxtext.h (firstRow): delete function
7550         (lastRow): delete function
7551         (rows): new function (const and non-const versions.)
7552         (insertRow): delete function
7553
7554         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7555
7556 2003-03-29  John Levon  <levon@movementarian.org>
7557
7558         * BufferView_pimpl.C: always update scrollbar top
7559         because pasting text when we're anchored could mean we
7560         miss an update altogether
7561
7562 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * text2.C (init): use rowlist_.end() and not 0.
7565         (insertRow): change to take a RowList::iterator as arg, adjust
7566         for this.
7567         (insertParagraph): change to take a RowList::iterator as arg,
7568         adjust for this.
7569         (redoParagraphs): remove some debug msgs.
7570
7571         * text.C (appendParagraph): change to take a RowList::iterator
7572         arg, adjust for this.
7573         (breakAgain): add an assert
7574         (breakAgainOneRow): ditto
7575
7576 2003-03-29  John Levon  <levon@movementarian.org>
7577
7578         * text2.C: do not clear selection after inc/decDepth
7579         (bug 550)
7580
7581 2003-03-29  John Levon  <levon@movementarian.org>
7582
7583         * BufferView.C:
7584         * buffer.C: fix broken strerrors according to Lars
7585
7586 2003-03-29  John Levon  <levon@movementarian.org>
7587
7588         * converters.C: more Alert cleanups
7589
7590 2003-03-29  John Levon  <levon@movementarian.org>
7591
7592         * bufferview_funcs.C: remove pointless Alert
7593
7594         * buffer.C: fix confusing error message when
7595         a template is chmoded 000
7596
7597 2003-03-29  John Levon  <levon@movementarian.org>
7598
7599         * BufferView.C:
7600         * BufferView.h:
7601         * BufferView_pimpl.C: Alert fixes
7602
7603         * Makefile.am:
7604         * tabular.C:
7605         * tabular-old.C: remove unused table compat reading
7606
7607 2003-03-29  John Levon  <levon@movementarian.org>
7608
7609         * BufferView.C:
7610         * buffer.C:
7611         * lyx_cb.h:
7612         * lyx_cb.C: more Alert cleanups
7613
7614         * lyxfunc.C: don't allow chktex if not latex document
7615
7616 2003-03-29  John Levon  <levon@movementarian.org>
7617
7618         * lyx_cb.C:
7619         * BufferView.C:
7620         * buffer.C: warnings pushed down from support/,
7621         kill err_alert
7622
7623 2003-03-29  John Levon  <levon@movementarian.org>
7624
7625         * lyxfunc.C: safety check for C-r (revert)
7626
7627 2003-03-29  John Levon  <levon@movementarian.org>
7628
7629         * bufferlist.h:
7630         * bufferlist.C: several UI fixes using Alert::prompt.
7631         Fix the pointless looping quit code. Fix stupid revert
7632         behaviour (bug 938)
7633
7634         * lyxvc.h:
7635         * lyxvc.C:
7636         * lyx_cb.C: use Alert::prompt
7637
7638         * lyx_main.C: remove a silly question
7639
7640         * lyxfunc.C: remove a couple of silly questions,
7641         use Alert::prompt
7642
7643 2003-03-28  John Levon  <levon@movementarian.org>
7644
7645         * text2.C: fix bug 974 (End on empty par)
7646
7647 2003-03-28  John Levon  <levon@movementarian.org>
7648
7649         * BufferView_pimpl.C:
7650         * LyXAction.C:
7651         * lfuns.h: remove do-nothing math greek lfuns
7652
7653 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * lyxgluelength.h (isValidGlueLength): add default arg on
7656         parameter 2. Remove default arg from friend in class.
7657
7658         * lyxlength.h (isValidLength): add default arg on parameter 2.
7659         Remove default arg from friend in class.
7660
7661         * text2.C (LyXText): adjust, initialize refresh_row.
7662         (init): adjust
7663         (removeRow): adjust
7664         (insertRow): adjust
7665         (insertParagraph): adjst
7666         (redoParagraphs): adjust
7667         (fullRebreak): adjust
7668         (updateCounters): adjust
7669         (deleteEmptyParagraphMechanism): first attempt at fixing a
7670         crashing bug.
7671
7672         * text.C (top_y): adjust
7673         (setHeightOfRow): adjust
7674         (getRow): adjust
7675         (getRowNearY): adjust
7676
7677         * lyxtext.h: include RowList.h
7678         (~LyXText): not needed anymore, deleted.
7679         (firstRow): modify for RowList
7680         (lastRow): new function
7681         Delete firstrow and lastrow class variables, add a Rowlist
7682         rowlist_ class variable.
7683
7684         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7685         paragraph is empty.
7686
7687         * RowList.C (insert): fix case where it == begin().
7688
7689 2003-03-26  Angus Leeming  <leeming@lyx.org>
7690
7691         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7692         the thesaurus dialog.
7693
7694 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7697
7698         * RowList.[Ch]: new files
7699
7700         * ParagraphList.C (erase): handle the case where it == begin
7701         correctly.
7702
7703 2003-03-25  John Levon  <levon@movementarian.org>
7704
7705         * Makefile.am:
7706         * aspell_local.h:
7707         * aspell.C: add new aspell support
7708
7709         * lyxrc.h:
7710         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7711         have it accessible.
7712
7713 2003-03-25  Angus Leeming  <leeming@lyx.org>
7714
7715         * lfuns.h:
7716         * LyXAction.C (init): new LFUN_INSET_INSERT.
7717
7718         * BufferView_pimpl.C (dispatch): split out part of the
7719         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7720
7721         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7722         LFUN_INSET_APPLY.
7723
7724 2003-03-25  Angus Leeming  <leeming@lyx.org>
7725
7726         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7727
7728 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7729
7730         * text2.C:
7731         * text3.C: remove useless row->height(0)
7732
7733 2003-03-25  John Levon  <levon@movementarian.org>
7734
7735         * lyxtext.h:
7736         * text2.C:
7737         * text3.C: rename the refreshing stuff to better names
7738
7739 2003-03-24  John Levon  <levon@movementarian.org>
7740
7741         * BufferView_pimpl.h:
7742         * BufferView_pimpl.C: update layout choice on a mouse
7743         press/release
7744
7745 2003-03-23  John Levon  <levon@movementarian.org>
7746
7747         * Makefile.am: fix commandtags.h reference
7748
7749 2003-03-22  John Levon  <levon@movementarian.org>
7750
7751         * BufferView_pimpl.C:
7752         * lyxtext.h:
7753         * rowpainter.C:
7754         * rowpainter.h:
7755         * text.C:
7756         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7757
7758 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7759
7760         * lyxtext.h:
7761         * text.C: take the rtl methods out of line
7762
7763 2003-03-21 André Pönitz <poenitz@gmx.net>
7764
7765         * metricsinfo.[Ch]: new files containing structures to be passed around
7766         during the two-phase-drawing...
7767
7768 2003-03-21 André Pönitz <poenitz@gmx.net>
7769
7770         * lyxtextclass.C: read 'environment' tag.
7771
7772 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7773
7774         * text2.C (removeRow): fix bug 964
7775
7776 2003-03-20  John Levon  <levon@movementarian.org>
7777
7778         * rowpainter.C:
7779         * text.C:
7780         * text2.C: paint cleanups. Inset::update() dropped font
7781         parameter
7782
7783 2003-03-19  John Levon  <levon@movementarian.org>
7784
7785         * lyxfunc.C: only fitcursor/markDirty if available()
7786
7787 2003-03-19  John Levon  <levon@movementarian.org>
7788
7789         * commandtags.h: rename to ...
7790
7791         * lfuns.h: ... this, and renumber / cleanup
7792
7793 2003-03-19  John Levon  <levon@movementarian.org>
7794
7795         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7796         fit the cursor after an lfun
7797
7798         * BufferView.h:
7799         * BufferView.C:
7800         * BufferView_pimpl.h:
7801         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7802
7803         * LyXAction.C: layout-character should have ReadOnly
7804
7805         * ParagraphParameters.C:
7806         * buffer.C:
7807         * bufferview_funcs.C:
7808         * lyx_cb.C:
7809         * lyxfind.C:
7810         * lyxtext.h:
7811         * text.C:
7812         * text2.C:
7813         * text3.C:
7814         * undo_funcs.C: changes from above
7815
7816 2003-03-18  John Levon  <levon@movementarian.org>
7817
7818         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7819         remove it from update()
7820
7821         * lyxfunc.C: update layout choice after an lfun
7822
7823         * text3.C: remove extra updateLayoutChoice()s
7824
7825 2003-03-18  John Levon  <levon@movementarian.org>
7826
7827         * text.C: top_y change means full repaint, fix
7828         a drawing bug with cursor movement
7829
7830 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7831
7832         * lyxtext.h:
7833         * text.C:
7834         * text2.C: anchor row on setCursor
7835
7836 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7837
7838         * lyxtext.h: remove almost all mutable keywords
7839         * text.C:
7840         * text2.C:
7841         * text3.C: remove const keywords accordingly
7842
7843 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7846         anon namespace
7847         (TeXEnvironment): ditto
7848         (TeXOnePar): ditto
7849
7850 2003-03-17  John Levon  <levon@movementarian.org>
7851
7852         * text.C (rowBreakPoint): remove attempt to fix displayed
7853         math insets inside a manual label
7854
7855 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * lyxtext.h: remove BufferView* as first arg from almost all class
7858         functions.
7859         * other files: adjust.
7860
7861 2003-03-17  John Levon  <levon@movementarian.org>
7862
7863         * lyxtext.h:
7864         * undo_funcs.C:
7865         * text2.C: more paint cleanups
7866
7867         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7868
7869         * rowpainter.h:
7870         * rowpainter.C: remove "smart" background painting code
7871
7872 2003-03-16  John Levon  <levon@movementarian.org>
7873
7874         * lyxtext.h:
7875         * text.C:
7876         * text2.C:
7877         * text3.C: add helper functions for setting refresh_row/y
7878
7879 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7880
7881         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7882         newline inset which *can* get inserted in the pass_thru layouts.
7883         This is primarily for literate documents.
7884
7885 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7886
7887         * buffer.C: increment LYX_FORMAT to 223
7888
7889 2003-03-14 André Pönitz <poenitz@gmx.net>
7890
7891         * textclass.h: prepare for environment handling, ws changes
7892         * lyxlayout.C: read latexheader and latexfooter tags
7893
7894 2003-03-14  John Levon  <levon@movementarian.org>
7895
7896         * text2.C: rewrite ::status() a bit
7897
7898 2003-03-13  John Levon  <levon@movementarian.org>
7899
7900         * lyxtext.h: add some docs
7901
7902 2003-03-13  John Levon  <levon@movementarian.org>
7903
7904         * lyxtext.h:
7905         * text.C:
7906         * text2.C:
7907         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7908
7909 2003-03-13  John Levon  <levon@movementarian.org>
7910
7911         * text3.C: fix appendix redrawing
7912
7913 2003-03-13  John Levon  <levon@movementarian.org>
7914
7915         * text.C (setHeightOfRow):
7916         * rowpainter.h:
7917         * rowpainter.C: make appendix mark have the text
7918           "Appendix" so the user knows what it is
7919
7920         * LColor.h:
7921         * LColor.C: s/appendixline/appendix/ from above
7922
7923 2003-03-13  John Levon  <levon@movementarian.org>
7924
7925         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7926
7927         * text.C: fix a getChar(pos) bug properly
7928
7929 2003-03-13  Angus Leeming  <leeming@lyx.org>
7930
7931         * commandtags.h:
7932         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7933         Probably only temporary. Let's see how things pan out.
7934
7935         * BufferView.C (unlockInset):
7936         * BufferView_pimpl.C (fitCursor):
7937         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7938
7939         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7940         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7941
7942         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7943         new functions that convert ParagraphParameters to and from a string.
7944
7945         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7946         BufferView::Pimpl's dispatch.
7947         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7948
7949 2003-03-13 André Pönitz <poenitz@gmx.net>
7950
7951         * lyxfunc.C:
7952         * text3.C:
7953         * factory.C: make it aware of InsetEnv
7954
7955 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * text2.C (setCursor): never ask for one past last
7958         (setCursor): add some debugging messages.
7959
7960         * text.C (singleWidth): never ask for one past last
7961         (singleWidth): ditto
7962         (leftMargin): ditto
7963         (rightMargin): ditto
7964         (rowBreakPoint): ditto
7965         (setHeightOfRow): ditto
7966         (prepareToPrint): ditto
7967
7968         * rowpainter.C (paintBackground): never ask for one past last
7969         (paintText): never ask for one past last
7970
7971         * paragraph_pimpl.C (getChar): make the assert stricter, never
7972         allow the one past last pos to be taken
7973
7974         * paragraph.C (getChar): ws changes only
7975
7976         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7977         (numberOfSeparators): ditto
7978         (numberOfHfills): ditto
7979
7980 2003-03-12  John Levon  <levon@movementarian.org>
7981
7982         * author.h:
7983         * author.C:
7984         * bufferparams.h:
7985         * bufferparams.C:
7986         * paragraph_funcs.C: fix per-buffer authorlists
7987
7988 2003-03-12  John Levon  <levon@movementarian.org>
7989
7990         * text.C: fix newline in right address
7991
7992 2003-03-12  Angus Leeming  <leeming@lyx.org>
7993
7994         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7995         duplicate those in LyXFunc::dispatch.
7996
7997         * commandtags.h:
7998         * LyXAction.C:
7999         * ToolbarDefaults.C:
8000         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8001         Add LFUN_FONTFREE_UPDATE.
8002
8003         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8004         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8005
8006         * bufferview_func.[Ch]: several new functions to facilliate
8007         transfer of data to and from the character dialog.
8008
8009 2003-03-12  John Levon  <levon@movementarian.org>
8010
8011         * buffer.C:
8012         * paragraph.h:
8013         * paragraph.C:
8014         * paragraph_funcs.C:
8015         * paragraph_pimpl.C:
8016         * sgml.C:
8017         * tabular.C:
8018         * text.C:
8019         * text3.C: remove META_NEWLINE in favour of an inset
8020
8021         * rowpainter.h:
8022         * rowpainter.C: remove paintNewline (done by inset)
8023
8024 2003-03-12  John Levon  <levon@movementarian.org>
8025
8026         * paragraph_pimpl.C: complain about bad getChar()s
8027         for a while at least
8028
8029 2003-03-12  John Levon  <levon@movementarian.org>
8030
8031         * buffer.h:
8032         * buffer.C: move paragraph read into a separate function,
8033         a little renaming to reflect that.
8034
8035         * bufferparams.h:
8036         * bufferparams.C: remove the author_ids map, not necessary now
8037
8038         * factory.h:
8039         * factory.C: moved Buffer::readInset to here
8040
8041         * paragraph_funcs.h:
8042         * paragraph_funcs.C: readParagraph free function moved from
8043         buffer.C
8044
8045         * tabular.C: name change
8046
8047 2003-03-12  John Levon  <levon@movementarian.org>
8048
8049         * buffer.C:
8050         * ParagraphParameters.C: move par params input to
8051         a read() method
8052
8053         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8054         behave like a normal read from the stream wrt reading
8055         a line vs. a \\token
8056
8057 2003-03-12  John Levon  <levon@movementarian.org>
8058
8059         * paragraph.C:
8060         * ParagraphParameters.h:
8061         * ParagraphParameters.C: move output code to a
8062         ::write() method
8063
8064 2003-03-12  John Levon  <levon@movementarian.org>
8065
8066         * BufferView.C (insertLyXFile):
8067         * buffer.h:
8068         * buffer.C:
8069         * tabular.C: use a parlist iterator for creating the
8070           document.
8071
8072 2003-03-12  John Levon  <levon@movementarian.org>
8073
8074         * buffer.C: make current_change static local not
8075           static file-scope
8076
8077 2003-03-12  John Levon  <levon@movementarian.org>
8078
8079         * buffer.C: fix insertStringAsLines for change tracking
8080
8081 2003-03-12  John Levon  <levon@movementarian.org>
8082
8083         * BufferView.C:
8084         * tabular.C:
8085         * buffer.h:
8086         * buffer.C:
8087         * bufferparams.h:
8088         * bufferparams.C: move author list into params. Rename some
8089           functions. Move the header reading into a separate token
8090           loop. Move the header token reading into BufferParams.
8091
8092 2003-03-12  John Levon  <levon@movementarian.org>
8093
8094         * changes.C: put debug inside lyxerr.debugging() checks
8095
8096 2003-03-11 André Pönitz <poenitz@gmx.net>
8097
8098         * factory.C: make it aware of InsetHFill
8099
8100 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8101
8102         * buffer.C (latexParagraphs): move function from here...
8103         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8104         args.
8105
8106 2003-03-10  Angus Leeming  <leeming@lyx.org>
8107
8108         * LyXAction.C (init): fix bug in poplating array with multiple entries
8109         with the same LFUN (spotted by JMarc).
8110
8111 2003-03-10  John Levon  <levon@movementarian.org>
8112
8113         * text.C:
8114         * text2.C: move getColumnNearX() near its
8115         only call site
8116
8117 2003-03-10  John Levon  <levon@movementarian.org>
8118
8119         * text.C: fix break before a minipage
8120
8121 2003-03-10  John Levon  <levon@movementarian.org>
8122
8123         * text.C: fix the last commit
8124
8125 2003-03-09  John Levon  <levon@movementarian.org>
8126
8127         * lyxtext.h:
8128         * text.C:
8129         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8130         bug 365 (don't break before insets unless needed). Don't
8131         return a value > last under any circumstances.
8132
8133 2003-03-09  Angus Leeming  <leeming@lyx.org>
8134
8135         * BufferView_pimpl.C (trackChanges, dispatch): call
8136         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8137
8138 2003-03-09  Angus Leeming  <leeming@lyx.org>
8139
8140         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8141         than Dialogs::showAboutlyx().
8142
8143 2003-03-09  Angus Leeming  <leeming@lyx.org>
8144
8145         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8146         than Dialogs::showTabularCreate().
8147
8148 2003-03-09  John Levon  <levon@movementarian.org>
8149
8150         * lyxtext.h:
8151         * text.C:
8152         * text2.C: 3rd arg to nextBreakPoint was always the same.
8153           Use references.
8154
8155 2003-03-08  John Levon  <levon@movementarian.org>
8156
8157         * lyxrow.C:
8158         * paragraph.C:
8159         * paragraph.h:
8160         * rowpainter.C:
8161         * text.C:
8162         * text2.C: Remove the "main" bit from the "main body"
8163           notion.
8164
8165 2003-03-08  John Levon  <levon@movementarian.org>
8166
8167         * text.C (leftMargin): The left margin of an empty
8168         manual label paragraph should not include the label width
8169         string length.
8170
8171         * text.C (prepareToPrint): don't attempt to measure hfills
8172         for empty manual label paragraphs - the answer should be 0
8173
8174 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * CutAndPaste.C: remove commented code and reindent.
8177
8178 2003-03-08  John Levon  <levon@movementarian.org>
8179
8180         * lyxfunc.h:
8181         * lyxfunc.C: move reloadBuffer()
8182
8183         * BufferView.h:
8184         * BufferView.C: to here
8185
8186         * lyxvc.C: add comment
8187
8188         * vc-backend.h:
8189         * vc-backend.C: call bv->reload() to avoid
8190           getStatus() check on MENURELOAD
8191
8192 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8193
8194         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8195         to an old format .dep file.
8196
8197 2003-03-07  Angus Leeming  <leeming@lyx.org>
8198
8199         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8200         when the LFUN_MOUSE_RELEASE should have been handled by
8201         inset->localDispatch.
8202
8203 2003-03-07  Angus Leeming  <leeming@lyx.org>
8204
8205         * BufferView_pimpl.C (dispatch):
8206         * LyXAction.C (init):
8207         * ToolbarDefaults.C (init):
8208         * commandtags.h:
8209         * lyxfunc.C (getStatus):
8210         remove LFUN_INSET_GRAPHICS.
8211
8212         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8213
8214 2003-03-07  Angus Leeming  <leeming@lyx.org>
8215
8216         * commandtags.h:
8217         * LyXAction.C (init):
8218         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8219
8220         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8221
8222         * commandtags.h:
8223         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8224
8225         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8226         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8227
8228 2003-03-07  Angus Leeming  <leeming@lyx.org>
8229
8230         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8231         remove "ert".
8232
8233 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * ParagraphList.C (front): new function
8236         (back): implement
8237
8238 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8239
8240         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8241         and top_row_offset_. removed var first_y.
8242         * text.C (top_y):
8243         * text2.C (LyXText, removeRow):
8244         * text3.C:
8245         * BufferView_pimpl.C:
8246         use these methods instead of using first_y
8247
8248 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * text2.C (pasteSelection): adjust for checkPastePossible
8251
8252         * CutAndPaste.C: remove Paragraph * buf and replace with
8253         ParagraphList paragraphs.
8254         (DeleteBuffer): delete
8255         (cutSelection): change the tc type to textclass_type
8256         (copySelection): change the tc type to textclass_type
8257         (copySelection): adjust for ParagraphList
8258         (pasteSelection): change the tc type to textclass_type
8259         (pasteSelection): adjust for Paragraphlist
8260         (nrOfParagraphs): simplify for ParagraphList
8261         (checkPastePossible): simplify for ParagraphList
8262         (checkPastePossible): remove unused arg
8263
8264         * ParagraphList.C (insert): handle the case where there are no
8265         paragraphs yet.
8266
8267         * CutAndPaste.h: make CutAndPaste a namespace.
8268
8269         * text3.C (dispatch): adjust
8270
8271         * text.C (breakParagraph): add a ParagraphList as arg
8272
8273         * paragraph_funcs.C (breakParagraph): change to take a
8274         BufferParams and a ParagraphList as args.
8275         (breakParagraphConservative): ditto
8276         (mergeParagraph): ditto
8277         (TeXDeeper): add a ParagraphList arg
8278         (TeXEnvironment): ditto
8279         (TeXOnePar): ditto
8280
8281         * buffer.C (readLyXformat2): adjust
8282         (insertStringAsLines): adjust
8283         (latexParagraphs): adjust
8284
8285         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8286         (cutSelection): adjust
8287         (pasteSelection): adjust
8288
8289         * BufferView_pimpl.C (insertInset): adjust
8290
8291 2003-03-05  Angus Leeming  <leeming@lyx.org>
8292
8293         * commandtags.h:
8294         * LyXAction.C (init):
8295         * BufferView_pimpl.C (dispatch):
8296         * lyxfunc.C (getStatus):
8297         remove LFUN_CHILD_INSERT.
8298
8299         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8300
8301 2003-03-05  Angus Leeming  <leeming@lyx.org>
8302
8303         * commandtags.h:
8304         * LyXAction.C (init):
8305         * src/factory.C (createInset):
8306         * lyxfunc.C (getStatus):
8307         * text3.C (dispatch):
8308         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8309
8310         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8311
8312 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * ParagraphList.C (insert): handle insert right before end()
8315         (erase): fix cases where it can be first or last paragraph.
8316
8317 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8320         Paragraph::next and Paragraph::previous
8321         (TeXOnePar): ditto
8322
8323         * text.C (breakParagraph): adjust
8324
8325         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8326         BufferParams& as arg.
8327         (breakParagraph): use ParagraphList::insert
8328         (breakParagraphConservative): take a Buffer* instead of a
8329         BufferParams& as arg.
8330         (breakParagraphConservative): use ParagraphList::insert.
8331
8332         * buffer.C (insertStringAsLines): un-const it
8333         (insertStringAsLines): adjust
8334
8335         * ParagraphList.C (insert): new function
8336
8337         * CutAndPaste.C (pasteSelection): adjust
8338
8339         * text.C (backspace): adjust
8340
8341         * tabular.C (SetMultiColumn): adjust
8342
8343         * CutAndPaste.C (cutSelection): adjust
8344         (pasteSelection): adjust
8345
8346         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8347         Buffer const * as arg
8348
8349         * ParagraphList.C (erase): new function
8350         * paragraph_funcs.C (mergeParagraph): use it
8351         (mergeParagraph): make it take a Buffer* instead of a
8352         BufferParams* as arg
8353
8354         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8355         as arg
8356         (breakParagraphConservative): ditto
8357
8358         * paragraph.h: remove the breakParagraph friend
8359
8360         * paragraph.C (eraseIntern): new function
8361         (setChange): new function
8362
8363         * paragraph_funcs.C (mergeParagraph): make it take a
8364         ParagraphList::iterator instead of a Paragraph *, adjust
8365         accordingly.
8366
8367         * paragraph.h: move an #endif so that the change tracking stuff
8368         also works in the NO_NEXT case.
8369
8370 2003-03-04  Angus Leeming  <leeming@lyx.org>
8371
8372         * commandtags.h:
8373         * LyXAction.C: new LFUN_INSET_MODIFY.
8374
8375         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8376         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8377
8378 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * several files: ws changes only
8381
8382         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8383         (TeXEnvironment): ditto
8384         (TeXDeeper): ditto
8385
8386         * buffer.C (makeLaTeXFile): adjust
8387         (latexParagraphs): make it take ParagraphList::iterator as args
8388
8389 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * buffer.C (latexParagraphs): adjust
8392
8393         * paragraph.C (TeXOnePar): move function...
8394         (optArgInset): move function...
8395         (TeXEnvironment): move function...
8396         * paragraph_pimpl.C (TeXDeeper): move function...
8397         * paragraph_funcs.C: ...here
8398
8399         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8400
8401 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8402
8403         * buffer.C (readInset): remove compability code for old Figure and
8404         InsetInfo insets
8405
8406 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * buffer.C: ws changes
8409         (readInset):
8410
8411         * BufferView_pimpl.C: ditto
8412         * author.C: ditto
8413         * buffer.h: ditto
8414         * bufferlist.h: ditto
8415         * changes.h: ditto
8416         * lyxfunc.C: ditto
8417
8418 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8419
8420         * converter.[Ch]: split into itself +
8421         * graph.[Ch]
8422         * format.[Ch]
8423         * Makefile.am: += graph.[Ch] + format.[Ch]
8424         * MenuBackend.C
8425         * buffer.C
8426         * exporter.C
8427         * importer.C
8428         * lyx_main.C
8429         * lyxfunc.C
8430         * lyxrc.C: added #include "format.h"
8431
8432 2003-02-27  Angus Leeming  <leeming@lyx.org>
8433
8434         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8435           a label.
8436
8437         * factory.C (createInset): add "label" to the factory.
8438
8439         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8440           string and do no more.
8441
8442 2003-02-27  Angus Leeming  <leeming@lyx.org>
8443
8444         * commandtags.h:
8445         * LyXAction.C (init):
8446         * factory.C (createInset):
8447         * BufferView_pimpl.C (dispatch):
8448           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8449
8450         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8451
8452         * lyxfunc.C (dispatch):
8453         * text3.C (dispatch): pass name to params2string.
8454
8455 2003-02-26  Angus Leeming  <leeming@lyx.org>
8456
8457         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8458           blocks together.
8459           Rearrange the ~includes. Strip out the unnecessary ones.
8460
8461         * factory.C (createInset): reformat.
8462           create new insets for the various LFUN_XYZ_APPLY lfuns.
8463
8464 2003-02-26  John Levon  <levon@movementarian.org>
8465
8466         * lyxrow.h:
8467         * lyxrow.C: add isParStart,isParEnd helpers
8468
8469         * paragraph.h: make isInserted/DeletedText take refs
8470
8471         * paragraph_funcs.h:
8472         * paragraph_funcs.C: remove #if 0'd code
8473
8474         * lyxtext.h:
8475         * text3.C:
8476         * text2.C:
8477         * text.C: use lyxrow helpers above.
8478           Move draw and paint routines to RowPainter.
8479           Make several methods use refs not pointers.
8480           Make backgroundColor() const.
8481           Add markChangeInDraw(), isInInset().
8482           Merge changeRegionCase into changeCase.
8483           Make workWidth() shouldn't-happen code into an Assert.
8484
8485         * rowpainter.h:
8486         * rowpainter.C: new class for painting a row.
8487
8488         * vspace.h:
8489         * vspace.C: make inPixels take a ref
8490
8491 2003-02-26  Angus Leeming  <leeming@lyx.org>
8492
8493         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8494         LFUN_REF_APPLY.
8495
8496 2003-02-25  John Levon  <levon@movementarian.org>
8497
8498         * ispell.C: give the forked command a more accurate name
8499
8500 2003-02-22  John Levon  <levon@movementarian.org>
8501
8502         * toc.h:
8503         * toc.C: make TocItem store an id not a Paragraph *
8504           (bug #913)
8505
8506 2003-02-21  Angus Leeming  <leeming@lyx.org>
8507
8508         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8509           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8510           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8511           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8512           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8513           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8514
8515         * BufferView_pimpl.C (dispatch):
8516         * LyXAction.C (init):
8517         * factory.C (createInset):
8518         * lyxfunc.C (getStatus, dispatch):
8519         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8520
8521 2003-02-21  Angus Leeming  <leeming@lyx.org>
8522
8523         * BufferView_pimpl.C (MenuInsertLyXFile):
8524         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8525         * lyxfunc.C (menuNew, open, doImport):
8526           no longer pass a LyXView & to fileDlg.
8527
8528 2003-02-21  Angus Leeming  <leeming@lyx.org>
8529
8530         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8531         * LyXAction.C: change, BIBKEY to BIBITEM.
8532         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8533         Change InsetBibKey to InsetBibitem.
8534         Change BIBKEY_CODE to BIBITEM_CODE.
8535         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8536         * factory.C: replace insetbib.h with insetbibitem.h.
8537         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8538         * paragraph.C: replace insetbib.h with insetbibitem.h.
8539         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8540         Change bibkey() to bibitem().
8541         * text.C: remove insetbib.h.
8542         * text2.C: replace insetbib.h with insetbibitem.h.
8543         change bibkey() to bibitem().
8544         * text3.C: remove insetbib.h.
8545         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8546
8547 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8548
8549         * lyxrc.C (output): enclose user email in quotes (in case there are
8550         several words)
8551
8552 2003-02-18  John Levon  <levon@movementarian.org>
8553
8554         * buffer.h: add std::
8555
8556 2003-02-17  John Levon  <levon@movementarian.org>
8557
8558         * SpellBase.h:
8559         * ispell.h:
8560         * ispell.C:
8561         * pspell.h:
8562         * pspell.C: reworking. Especially in ispell, a large
8563           number of clean ups and bug fixes.
8564
8565         * lyxfunc.C: fix revert to behave sensibly
8566
8567 2003-02-17 André Pönitz <poenitz@gmx.net>
8568
8569         * LyXAction.C:
8570         * commandtags.h: new LFUN_INSERT_BIBKEY
8571
8572         * layout.h:
8573         * lyxlayout.C:
8574         * buffer.C:
8575         * factory.C:
8576         * text.C:
8577         * text2.C:
8578         * text3.C:
8579         * paragraph.[Ch]:
8580         * paragraph_func.C: remove special bibkey handling
8581
8582 2003-02-17  John Levon  <levon@movementarian.org>
8583
8584         * text.C (Delete): fix case where delete at the end of
8585           the very first paragraph would not merge the pars
8586
8587 2003-02-17  John Levon  <levon@movementarian.org>
8588
8589         * lyxrow.C: fix lastPrintablePos()
8590
8591 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8592
8593         * bufferparams.C (writeLaTeX): add a std:here
8594
8595         * buffer.C: and remove a using directive there
8596
8597 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8598
8599         * buffer.C (makeLaTeXFile): move the code that generates the
8600           preamble...
8601
8602         * bufferparams.C (writeLaTeX): ... in this new method
8603
8604         * LaTeXFeatures.C (getEncodingSet): make const
8605           (getLanguages): make const
8606
8607         * MenuBackend.C (binding): returns the binding associated to this
8608           action
8609           (add): sets the status of each item by calling getStatus. Adds
8610           some intelligence.
8611           (read): add support for OptSubMenu
8612           (expand): remove extra separator at the end of expanded menu
8613
8614 2003-02-15  John Levon  <levon@movementarian.org>
8615
8616         * BufferView.C:
8617         * BufferView_pimpl.C:
8618         * bufferlist.h:
8619         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8620           inset code that had no actual effect. Remove unneeded status
8621           code.
8622
8623 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8624
8625         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8626           in preamble
8627
8628 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8629
8630         * text.C (drawLengthMarker): also draw an arrow marker for
8631           symbolic lengths (medskip...)
8632
8633 2003-02-14  John Levon  <levon@movementarian.org>
8634
8635         * tabular.h:
8636         * tabular.C: better method names
8637
8638 2003-02-14  John Levon  <levon@movementarian.org>
8639
8640         * BufferView_pimpl.C:
8641         * bufferlist.C:
8642         * buffer.C:
8643         * converter.C:
8644         * lyx_cb.C:
8645         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8646           it's a more accurate name. Remove some pointless uses.
8647
8648 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8649
8650         * text2.C (LyXText): change order of initilizers to shut off
8651           warnings
8652
8653 2003-02-14  John Levon  <levon@movementarian.org>
8654
8655         * buffer.C: use ParIterator for getParFromID()
8656
8657         * paragraph.h:
8658         * paragraph.C:
8659         * paragraph_pimpl.h:
8660         * paragraph_pimpl.C: remove unused getParFromID()
8661
8662 2003-02-14  John Levon  <levon@movementarian.org>
8663
8664         * buffer.C: remove some very old #if 0'd parse code
8665
8666 2003-02-13  John Levon  <levon@movementarian.org>
8667
8668         * text.h:
8669         * text.C:
8670         * text2.C: move hfillExpansion(), numberOfSeparators(),
8671           rowLast(), rowLastPrintable(), numberofHfills(),
8672           numberOfLabelHfills() ...
8673
8674         * lyxrow.h:
8675         * lyxrow.C: ... to member functions here.
8676
8677         * paragraph.h:
8678         * paragraph.C:
8679         * lyxtext.h:
8680         * text.C: remove LyXText::beginningOfMainBody(), and call
8681           p->beginningOfMainBody() directly. Move the check for
8682           LABEL_MANUAL into the latter.
8683
8684         * text.h:
8685         * text.C:
8686         * text2.C:
8687         * vspace.C:
8688         * BufferView.h:
8689         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8690
8691         * text.h:
8692         * text.C:
8693         * text2.C:
8694         * text3.C:
8695         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8696           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8697
8698 2003-02-13  John Levon  <levon@movementarian.org>
8699
8700         * CutAndPaste.C: remove debug
8701
8702 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8703
8704         * paragraph.C (asString): remove two unused variables
8705
8706         * lyxtextclass.C (readTitleType):
8707           (Read):
8708           (LyXTextClass): handle new members titletype_ and titlename_
8709
8710         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8711
8712 2003-02-09  John Levon  <levon@movementarian.org>
8713
8714         * buffer.h:
8715         * buffer.C: replace hand-coded list with a map for the dep clean
8716
8717 2003-02-08  John Levon  <levon@movementarian.org>
8718
8719         * LaTeX.C: consolidate code into showRunMessage() helper
8720
8721 2003-02-08  John Levon  <levon@movementarian.org>
8722
8723         * lyxfind.C:
8724         * lyxtext.h:
8725         * text2.C:
8726         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8727           and pass the size in explicitly
8728
8729         * BufferView_pimpl.h:
8730         * BufferView_pimpl.C:
8731         * BufferView.h:
8732         * BufferView.C: add getCurrentChange()
8733
8734         * BufferView_pimpl.h:
8735         * BufferView_pimpl.C: handle change lfuns
8736
8737         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8738           for changes. Mark pasted paragraphs as new.
8739
8740         * support/lyxtime.h:
8741         * support/lyxtime.C:
8742         * DepTable.C: abstract time_t as lyx::time_type
8743
8744         * LColor.h:
8745         * LColor.C: add colours for new text, deleted text, changebars
8746
8747         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8748           package use "usenames" option.
8749
8750         * commandtags.h:
8751         * lyxfunc.C:
8752         * LyXAction.C: add change lfuns
8753
8754         * Makefile.am:
8755         * author.h:
8756         * author.C: author handling
8757
8758         * buffer.h:
8759         * buffer.C: add a per-buffer author list, with first entry as
8760           current author. Handle new .lyx tokens for change tracking. Output
8761           author list to .lyx file. Output dvipost stuff to .tex preamble.
8762           Bump lyx format to 222.
8763
8764         * bufferlist.h:
8765         * bufferlist.C: add setCurrentAuthor() to reset current author details
8766           in all buffers.
8767
8768         * bufferparams.h:
8769         * bufferparams.C: add param for tracking
8770
8771         * bufferview_funcs.C: output change info in minibuffer
8772
8773         * Makefile.am:
8774         * changes.h:
8775         * changes.C: add change-tracking structure
8776
8777         * debug.h:
8778         * debug.C: add CHANGES debug flag
8779
8780         * lyxfind.h:
8781         * lyxfind.C: add code for finding the next change piece
8782
8783         * lyxrc.h:
8784         * lyxrc.C: add user_name and user_email
8785
8786         * lyxrow.h:
8787         * lyxrow.C: add a metric for the top of the text line
8788
8789         * lyxtext.h:
8790         * text.C: implement accept/rejectChange()
8791
8792         * lyxtext.h:
8793         * text.C: paint changebars. Paint new/deleted text in the chosen
8794         colours. Strike through deleted text.
8795
8796         * paragraph.h:
8797         * paragraph.C:
8798         * paragraph_pimpl.h:
8799         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8800           in the current change to the insert functions. Rework erase to
8801           mark text as deleted, adding an eraseIntern() and a range-based
8802           erase(). Implement per-paragraph change lookup and
8803           accept/reject.
8804
8805         * paragraph_funcs.C: Fixup paste for change tracking.
8806
8807         * tabular.C: mark added row/columns as new.
8808
8809         * text.C: fix rowLast() to never return -1. Don't allow
8810           spellchecking of deleted text. Track transpose changes. Don't
8811           allow paragraph break or merge where appropriate.
8812
8813         * text2.C: leave cursor at end of selection after a cut.
8814
8815 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8816
8817         * text.C (getLengthMarkerHeight):
8818         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8819         visible on screen too.
8820
8821 2003-02-07  John Levon  <levon@movementarian.org>
8822
8823         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8824
8825 2003-02-05  Angus Leeming  <leeming@lyx.org>
8826
8827         * lyxserver.C (read_ready): revert my patch of 11 September last year
8828         as it sends PC cpu through the roof. Presumably this means that
8829         the lyxserver will no longer run on an Alpha...
8830
8831 2003-01-30  Angus Leeming  <leeming@lyx.org>
8832
8833         * factory.C (createInset): create an InsetCommandParam of type "index"
8834         and use it to 'do the right thing'.
8835
8836         * text2.C (getStringToIndex): ensure that cursor position is always
8837         reset to the reset_cursor position.
8838
8839 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8842         disabled.
8843
8844 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8845
8846         * bufferview.C:
8847         * lyxcb.C:
8848         * lyxfunc.C: Output messages with identical spelling, punctuation,
8849         and spaces
8850
8851 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8852
8853         * MenuBackend.C (expandFormats): List only viewable export formats
8854         in "View" menu
8855
8856         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8857         message
8858
8859         * lyxfunc.C (getStatus): Make sure that formats other than
8860         "fax" can also be disabled
8861
8862 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8863
8864         * text3.C (dispatch): put the lfuns that insert insets in 3
8865         groups, and call doInsertInset with appropriate arguments.
8866         (doInsertInset): new function, that creates an inset and inserts
8867         it according to some boolean parameters.
8868
8869 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8870
8871         * buffer.C (readFile): remember to pass on 'par' when calling
8872         readFile recursively.
8873
8874 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8875
8876         * MenuBackend.C (expandFormats): add "..." to import formats.
8877
8878 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8879
8880         * paragraph.C (asString): Remove XForms RTL hacks.
8881
8882 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8883         * buffer.C: fix typo
8884
8885 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8886
8887         * Makefile.am (LIBS): delete var
8888         (lyx_LDADD): add @LIBS@ here instead.
8889
8890 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8891
8892         * Clarify the meaning of "wheel mouse jump"
8893
8894 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8895
8896         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8897         tabular in a float
8898
8899 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8900
8901         * importer.C (Loaders): do not preallocate 3 elements in the
8902         vector, since one ends up with 6 elements otherwise
8903
8904 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8905
8906         * DepTable.C (write): write the file name as last element of the
8907         .dep file (because it may contain spaces)
8908         (read): read info in the right order
8909
8910 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8911
8912         * paragraph_pimpl.C (simpleTeXBlanks):
8913         (simpleTeXSpecialChars):
8914         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8915
8916         * tabular.C (latex): add some missing case statements. Reindent.
8917
8918         * MenuBackend.C (expandToc): remove unused variable.
8919
8920 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8921
8922         * LColor.C:
8923         * LaTeX.C:
8924         * LyXAction.C:
8925         * MenuBackend.C:
8926         * buffer.C:
8927         * exporter.C:
8928         * lyxfunc.C:
8929         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8930         and the like.
8931
8932 2003-01-05  John Levon  <levon@movementarian.org>
8933
8934         * BufferView.h:
8935         * BufferView.C: add getEncoding()
8936
8937         * kbsequence.h:
8938         * kbsequence.C: do not store last keypress
8939
8940         * lyxfunc.h:
8941         * lyxfunc.C: store last keypress here instead. Pass encoding
8942           to getISOEncoded()
8943
8944 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * lyx_main.C (init): remove annoying error message when following
8947         symbolic links (bug #780)
8948
8949 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8950
8951         * text.C (insertChar):
8952         * lyxrc.C (getDescription): remove extra spaces
8953
8954 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8955
8956         * lyxrc.C (getDescription): remove extra spaces
8957
8958 2002-12-20  John Levon  <levon@movementarian.org>
8959
8960         * text3.C: hack fix for page up/down across tall rows
8961
8962 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8963
8964         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8965         not been invoked
8966
8967 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8968
8969         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8970         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8971         thesaurus is not compiled in
8972
8973 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8974
8975         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8976
8977 2002-12-16  Angus Leeming  <leeming@lyx.org>
8978
8979         * lyxrc.[Ch]:
8980         * lyx_main.C (init): remove override_x_deadkeys stuff.
8981
8982 2002-12-12  John Levon  <levon@movementarian.org>
8983
8984         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8985           insert. Only remove shift modifier under strict
8986           circumstances.
8987
8988 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * MenuBackend.C (expandToc): fix crash.
8991
8992 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * MenuBackend.C (expandToc): gettext on float names.
8995
8996 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8997
8998         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8999         implement bool empty() [bug 490]
9000
9001 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9002
9003         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9004
9005 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * several files: ws changes
9008
9009 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9010
9011         * text2.C (setCounter): clean up a bit, use boost.format.
9012         (updateCounters): initialize par upon declaration.
9013
9014         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9015         if the layout exists. We do not just store the layout any more.
9016         (SwitchLayoutsBetweenClasses): use boost.format
9017
9018 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9019
9020         * converter.C (convert): if from and to files are the same, use a
9021         temporary files as intermediary
9022
9023 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9024
9025         * commandtags.h:
9026         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9027
9028 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9029
9030         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9031
9032 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9033
9034         * tabular.C (asciiPrintCell): use string(size, char) instead of
9035         explicit loop.
9036
9037         * sgml.C (openTag): fix order of arguments to string constructor
9038         (closeTag): ditto
9039
9040         * lyxfunc.C (dispatch): use boost.format
9041
9042         * lots of files: change "c" -> 'c'
9043
9044 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9045
9046         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9047
9048 2002-11-25  Angus Leeming  <leeming@lyx.org>
9049
9050         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9051
9052         * lyx_main.C (init): compile fix.
9053
9054 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9055
9056         * lyx_cb.C (start): boost.formatify
9057         do not include <iostream>
9058
9059         * lengthcommon.C: ws only
9060
9061         * boost-inst.C,BoostFormat.h: add more explict instantations
9062
9063 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9064
9065         * lots of files: handle USE_BOOST_FORMAT
9066
9067 2002-11-21  John Levon  <levon@movementarian.org>
9068
9069         * pspell.C: fix compile
9070
9071 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * lyxfunc.C (dispatch): use boost::format
9074         (open): ditto
9075         (doImport): ditto
9076
9077         * lyxfont.C (stateText): use boost::format
9078
9079         * lyx_main.C (LyX): use boost::format
9080         (init): ditto
9081         (queryUserLyXDir): ditto
9082         (readRcFile): ditto
9083         (parse_dbg): ditto
9084         (typedef boost::function): use the recommened syntax.
9085
9086         * importer.C (Import): use boost::format
9087
9088         * debug.C (showLevel): use boost::format
9089
9090         * converter.C (view): use boost::format
9091         (convert): ditto
9092         (move): ditto
9093         (scanLog): ditto
9094
9095         * bufferview_funcs.C (currentState): use boost::format
9096
9097         * bufferlist.C (emergencyWrite): use boost::format
9098
9099         * buffer.C (readLyXformat2): use boost::format
9100         (parseSingleLyXformat2Token): ditto
9101
9102         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9103
9104         * LaTeX.C (run): use boost::format
9105
9106         * Chktex.C (scanLogFile): use boost::format
9107
9108         * BufferView_pimpl.C (savePosition): use boost::format
9109         (restorePosition): ditto
9110         (MenuInsertLyXFile): ditto
9111
9112         * BoostFormat.h: help file for explicit instation.
9113
9114 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9115
9116         * tabular.C (latex): Support for block alignment in fixed width
9117         columns.
9118
9119 2002-11-17  John Levon  <levon@movementarian.org>
9120
9121         * BufferView_pimpl.C:
9122         * lyx_cb.C:
9123         * lyxfunc.C: split filedialog into open/save
9124
9125 2002-11-08  Juergen Vigna  <jug@sad.it>
9126
9127         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9128         by my last patch (hopefully).
9129
9130 2002-11-08  John Levon  <levon@movementarian.org>
9131
9132         * iterators.h:
9133         * iterators.C:
9134         * buffer.h:
9135         * buffer.C:
9136         * paragraph.h:
9137         * paragraph.C:
9138         * toc.h:
9139         * toc.C: ParConstIterator, and use it (from Lars)
9140
9141 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9142
9143         * lyxtextclass.[Ch]: revise and add doxygen comments
9144
9145 2002-11-07  John Levon  <levon@movementarian.org>
9146
9147         * text.C: fix progress value for spellchecker
9148
9149         * toc.C: fix navigate menu for insetwrap inside minipage
9150
9151         * paragraph_funcs.C: added FIXME for suspect code
9152
9153 2002-11-07  John Levon  <levon@movementarian.org>
9154
9155         * BufferView_pimpl.C: fix redrawing of insets
9156           on buffer switch
9157
9158 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9159
9160         * text2.C (updateCounters): fix bug 668
9161
9162 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9163
9164         * text3.C (dispatch): Do not make the buffer dirty when moving the
9165         cursor.
9166
9167 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * vc-backend.C: STRCONV
9170         (scanMaster): ditto
9171
9172         * text2.C (setCounter): STRCONV
9173
9174         * paragraph.C (asString): STRCONV
9175
9176         * lyxlength.C (asString): STRCONV
9177         (asLatexString): ditto
9178
9179         * lyxgluelength.C (asString): STRCONV
9180         (asLatexString): ditto
9181
9182         * lyxfunc.C (dispatch): STRCONV
9183         (open): ditto
9184
9185         * lyxfont.C (stateText): STRCONV
9186
9187         * importer.C (Import): STRCONV
9188
9189         * counters.C (labelItem): STRCONV
9190         (numberLabel): ditto
9191         (numberLabel): remove unused ostringstream o
9192
9193         * chset.C: STRCONV
9194         (loadFile): ditto
9195
9196         * bufferview_funcs.C (currentState): STRCONV
9197
9198         * buffer.C (readFile): STRCONV
9199         (asciiParagraph): ditto
9200         (makeLaTeXFile): ditto
9201
9202         * Spacing.C (writeEnvirBegin): STRCONV
9203
9204         * LaTeXFeatures.C (getLanguages): STRCONV
9205         (getPackages): ditto
9206         (getMacros): ditto
9207         (getBabelOptions): ditto
9208         (getTClassPreamble): ditto
9209         (getLyXSGMLEntities): ditto
9210         (getIncludedFiles): ditto
9211
9212         * LaTeX.C: STRCONV
9213         (run): ditto
9214         (scanAuxFile): ditto
9215         (deplog): ditto
9216
9217         * LString.h: add the STRCONV macros
9218
9219         * BufferView_pimpl.C (savePosition): STRCONV
9220         (restorePosition): ditto
9221         (MenuInsertLyXFile): ditto
9222
9223         * vc-backend.C (scanMaster): change from submatch[...] to
9224         submatch.str(...)
9225
9226         * funcrequest.C: include config.h
9227
9228         * factory.C: include config.h
9229
9230         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9231
9232         * box.C: include config.h
9233
9234         * LaTeX.C (scanAuxFile): change from submatch[...] to
9235         submatch.str(...)
9236         (deplog): ditto
9237
9238 2002-10-25  Angus Leeming  <leeming@lyx.org>
9239
9240         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9241
9242         * ispell.[Ch] (setError): new method.
9243         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9244         Use setError() insetead of goto END.
9245
9246         * lyx_cb.C (AutoSave): move out child process into new class
9247         AutoSaveBuffer.
9248
9249 2002-10-30  John Levon  <levon@movementarian.org>
9250
9251         * text3.C: make start appendix undoable
9252
9253 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9254
9255         * lyxlength.C (inPixels): Fix returned value.
9256
9257         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9258         environment.
9259
9260 2002-10-24  Angus Leeming  <leeming@lyx.org>
9261
9262         * lyxgluelength.h: no need to forward declare BufferParams
9263         or BufferView, so don't.
9264
9265 2002-10-21  John Levon  <levon@movementarian.org>
9266
9267         * BufferView.C: menuUndo ->undo, redo
9268
9269         * BufferView.h: document, remove dead, make some methods private
9270
9271         * paragraph_funcs.h:
9272         * paragraph_funcs.C:
9273         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9274
9275         * buffer.h:
9276         * buffer.C:
9277         * sgml.h:
9278         * sgml.C: move sgml open/close tag into sgml.C
9279
9280         * bufferview_funcs.h: unused prototype
9281
9282         * lyxfunc.h:
9283         * lyxfunc.C: remove unused
9284
9285         * lyxtext.h:
9286         * text.C: remove unused
9287
9288 2002-10-21  John Levon  <levon@movementarian.org>
9289
9290         * BufferView.h:
9291         * BufferView.C:
9292         * BufferView_pimpl.h:
9293         * BufferView_pimpl.C: fix mouse wheel handling based on
9294           patch from Darren Freeman
9295
9296 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9297
9298         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9299
9300 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9301
9302         * lyxlength.C (inPixels): Fix hanfling of negative length.
9303         Fix LyXLength::MU case.
9304
9305 2002-10-16  John Levon  <levon@movementarian.org>
9306
9307         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9308
9309 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9310
9311         * converter.C (view): add support for $$i (file name) and $$p
9312         (file path) for the viewer command. If $$i is not specified, then
9313         it is appended to the command (for compatibility with old syntax)
9314
9315 2002-10-14  Juergen Vigna  <jug@sad.it>
9316
9317         * undo_funcs.C (textHandleUndo): alter the order in which the
9318         new undopar is added to the LyXText, as we have to set first
9319         the right prev/next and then add it as otherwise the rebuild of
9320         LyXText is not correct. Also reset the cursor to the right paragraph,
9321         with this IMO we could remove the hack in "redoParagraphs()".
9322
9323 2002-10-09  Angus Leeming  <leeming@lyx.org>
9324
9325         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9326         to turn off an optimisation if a new inset is to be inserted.
9327
9328 2002-10-11 André Pönitz <poenitz@gmx.net>
9329
9330         * lyxtext.h: make some functions public to allow access
9331         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9332
9333 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9334
9335         * text3.C (dispatch): when changing layout, avoid an infinite loop
9336         [bug #652]
9337
9338 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9339
9340         * lyxrc.C (read): treat a viewer or converter command of "none" as
9341         if it were empty.
9342
9343         * MenuBackend.C (expandFormats): for an update, also allow the
9344         formats that are not viewable
9345
9346         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9347         script if it is newer than the lyxrc.defaults in user directory
9348
9349 2002-10-07 André Pönitz <poenitz@gmx.net>
9350
9351         * text.C: Vitaly Lipatov's small i18n fix
9352
9353 2002-09-25  Angus Leeming  <leeming@lyx.org>
9354
9355         * ispell.h: doxygen fix.
9356
9357 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9358
9359         * buffer.h (readFile): Add a new argument to the method, to allow
9360         reading of old-format templates.
9361
9362 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * toc.C (getTocList): Get TOC from InsetWrap.
9365
9366 2002-09-16  John Levon  <levon@movementarian.org>
9367
9368         * lyxfunc.C: check tabular for cut/copy too
9369
9370 2002-09-12  John Levon  <levon@movementarian.org>
9371
9372         * LyXAction.C: tidy
9373
9374         * factory.h:
9375         * factory.C: add header
9376
9377         * paragraph_funcs.h:
9378         * paragraph_funcs.C: cleanup
9379
9380 2002-09-11  John Levon  <levon@movementarian.org>
9381
9382         * PrinterParams.h: odd/even default to true
9383
9384 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9385
9386         * PrinterParams.h: update printer parameters for new xforms dialog
9387
9388 2002-09-11  Angus Leeming  <leeming@lyx.org>
9389
9390         * lyxserver.C (read_ready): re-write to make it more transparent
9391         and to make it work in coherent fashion under Tru64 Unix.
9392
9393 2002-09-11  André Pönitz <poenitz@gmx.net>
9394
9395         * commandtags.h:
9396         * LyXAction.C:
9397         * text3.C: implement LFUN_WORDSEL
9398
9399 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9400
9401         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9402         make floatlist_ a boost::shared_ptr<FloatList>
9403
9404         * lyxtextclass.C: include FloatList.h
9405         (LyXTextClass): initialize floatlist_
9406         (TextClassTags): add TC_NOFLOAT
9407         (Read): match "nofloat" to TC_NOFLOAT and use it.
9408         (readFloat): modify call to floatlist_
9409         (floats): ditto
9410         (floats): ditto
9411
9412         * FloatList.[Ch] (FloatList): remove commented out float
9413         initialization.
9414         (erase): new function
9415
9416 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9417
9418         * MenuBackend.C (expandToc): fix crash when there is no document
9419         open
9420
9421 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9422
9423         * many files: Add insetwrap.
9424
9425 2002-09-09  John Levon  <levon@movementarian.org>
9426
9427         * text2.C: remove confusing and awkward depth wraparound
9428
9429 2002-09-09  John Levon  <levon@movementarian.org>
9430
9431         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9432
9433         * buffer.h:
9434         * buffer.C: remove getIncludeonlyList()
9435
9436         * paragraph.C:
9437         * lyxfunc.C: remove headers
9438
9439 2002-09-09  Juergen Vigna  <jug@sad.it>
9440
9441         * text.C (getColumnNearX): fix form Michael this is most
9442         probably a cut&paste bug.
9443
9444 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9445
9446         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9447
9448         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9449         references, ws changes.
9450
9451         * text2.C (init): update counters after init
9452         (insertParagraph): no need to set counter on idividual paragraphs.
9453         (setCounter): access the counters object in the textclass object
9454         on in the buffer object.
9455         (updateCounters): ditto
9456
9457         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9458         shared_ptr<Counters> to avoid loading counters.h in all
9459         compilation units.
9460         (LyXTextClass): initialize ctrs_
9461         (TextClassTags): add TC_COUNTER, and ...
9462         (Read): use it here.
9463         (CounterTags): new tags
9464         (readCounter): new function
9465         (counters): new funtion
9466         (defaultLayoutName): return a const reference
9467
9468         * counters.C (Counters): remove contructor
9469         (newCounter): remove a couple of unneeded statements.
9470         (newCounter): simplify a bit.
9471         (numberLabel): some small formatting changes.
9472
9473         * buffer.[Ch]: remove all traces of counters, move the Counters
9474         object to the LyXTextClass.
9475
9476 2002-09-06  Alain Castera  <castera@in2p3.fr>
9477
9478         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9479         package to set the horizontal alignment on fixed width columns.
9480
9481         * lyx_sty.C:
9482         * lyx_sty.h: added tabularnewline macro def.
9483
9484         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9485
9486 2002-09-06  John Levon  <levon@movementarian.org>
9487
9488         * LyXAction.C: tooltips for sub/superscript
9489
9490         * MenuBackend.C: a bit more verbose
9491
9492         * lyxfunc.C: tiny clean
9493
9494         * undo_funcs.C: document undo_frozen
9495
9496 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9497
9498         * counters.C (Counters): add missing algorithm counter.
9499
9500         * text2.C (setCounter): lookup the counter with layouts latexname
9501         instead of by section number.
9502         (setCounter): use a hackish way to lookup the correct enum
9503         counter.
9504         a float name->type change
9505         reset enum couners with counter name directly instead of depth value.
9506
9507         * counters.C (Counters): remove the push_backs, change to use the
9508         float type not the float name.
9509         (labelItem): remove unused string, float name->type change
9510
9511         * counters.h: don't include vector, loose the enums and sects vectors
9512
9513 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9514
9515         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9516         (Read): add float->TC_FLOAT to textclassTags
9517         (Read): and handle it in the switch
9518         (readFloat): new function
9519
9520         * FloatList.C (FloatList): comment out the hardcoded float
9521         definitions.
9522
9523         * lyxlayout.h: ws change.
9524
9525 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9528
9529 2002-09-03  Angus Leeming  <leeming@lyx.org>
9530
9531         * BufferView_pimpl.h: qualified name is not allowed in member
9532         declaration: WorkArea & Pimpl::workarea() const;
9533
9534         * factory.C: added using std::endl directive.
9535
9536         * text3.C: added using std::find and std::vector directives.
9537
9538 2002-08-29  André Pönitz <poenitz@gmx.net>
9539
9540         * lyxtext.h:
9541         * text2.C: remove unused member number_of_rows
9542
9543         * Makefile.am:
9544         * BufferView2.C: remove file, move contents to...
9545         * BufferView.C: ... here
9546
9547         * BufferView_pimpl.C:
9548         * factory.C: move more inset creation to factory
9549
9550         * vspace.C: avoid direct usage of LyXText, ws changes
9551
9552         * BufferView.[Ch]:
9553                 don't provide direct access to WorkArea, use two simple
9554                 acessors haveSelction() and workHeight() instead
9555
9556
9557 2002-08-29  John Levon  <levon@movementarian.org>
9558
9559         * BufferView_pimpl.C (dispatch): do not continue when
9560           no buffer
9561
9562 2002-08-28  André Pönitz <poenitz@gmx.net>
9563
9564         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9565
9566         * BufferView.h:
9567         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9568
9569 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9570
9571         * buffer.C: increment LYX_FORMAT to 221
9572
9573         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9574         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9575
9576         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9577
9578         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9579
9580 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * factory.C (createInset): use LyXTextClass::floats
9583
9584         * MenuBackend.C (expandFloatListInsert):
9585         (expandFloatInsert):
9586         (expandToc):
9587
9588         * text2.C (setCounter):
9589
9590         * LaTeXFeatures.C (useFloat):
9591         (getFloatDefinitions):
9592
9593         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9594
9595         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9596         floatlist_, with accessor floats().
9597
9598         * FloatList.h: remove global FloatList
9599
9600 2002-08-26  André Pönitz <poenitz@gmx.net>
9601
9602         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9603
9604         * BufferView.h:
9605         * BufferView2.C:
9606         * BufferView_pimpl.C:
9607         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9608
9609 2002-08-25  John Levon  <levon@movementarian.org>
9610
9611         * LyXAction.C: fix margin note description
9612
9613 2002-08-24  John Levon  <levon@movementarian.org>
9614
9615         * buffer.C:
9616         * bufferlist.C:
9617         * bufferview_funcs.C:
9618         * lyxfont.C:
9619         * undo_funcs.C: cleanups
9620
9621         * lyxfunc.C: disable CUT/COPY when no selection
9622
9623 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9624
9625         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9626         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9627
9628         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9629         Add backward compatibility to "mono", "gray" and "no".
9630
9631 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9632
9633         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9634         (and file_format >= 200).
9635
9636 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9639
9640 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9643
9644 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9645
9646         * BufferView_pimpl.C:
9647         * LyXAction.C:
9648         * buffer.C:
9649         * commandtags.h:
9650         * lyxfunc.C:
9651         * paragraph.[Ch]:
9652         * text2.C:
9653         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9654         inset and code to make it  work with the paragraph code. The inset
9655         can be anywhere in the paragraph, but will only do the expected
9656         thing in LaTeX if the layout file contains the parameter line
9657                         OptionalArgs    1
9658         (or more generally, a nonzero value) for that layout.
9659
9660 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9661
9662         * paragraph.h: remove the declaration of undefined counters class
9663         function.
9664
9665 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9666
9667         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9668         Dr. Richard Hawkins.
9669
9670 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * paragraph_funcs.h: remove some unneeded includes
9673
9674         * text.C (backspace): pasteParagraph now in global scipe
9675
9676         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9677         (pasteSelection): ditto
9678
9679         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9680         * paragraph_funcs.C (pasteParagraph): ... here
9681
9682 2002-08-20  André Pönitz <poenitz@gmx.net>
9683
9684         * commandtags.h: new LFUNs for swapping/copying table row/colums
9685
9686         * LyXAction.C:
9687         * lyxfunc.C: support for new lfuns
9688
9689 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9690
9691         * tabular.C:
9692         * buffer.[Ch]: remove NO_COMPABILITY stuff
9693
9694 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9695
9696         * boost.C (throw_exception): new file, with helper function for
9697         boost compiled without exceptions.
9698
9699         * paragraph.h:
9700         * lyxlength.C:
9701         * buffer.C:
9702         * ParameterStruct.h:
9703         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9704
9705         * bufferlist.C (emergencyWriteAll): use boost bind
9706
9707         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9708
9709         * text.C: include paragraph_funcs.h
9710         (breakParagraph): breakParagraph is now in global scope
9711
9712         * paragraph_funcs.[Ch]: new files
9713
9714         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9715         global scope
9716
9717         * buffer.C: include paragraph_funcs.h
9718         (insertStringAsLines): breakParagraph is now in global scope
9719
9720         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9721         paragraph_funcs.C
9722
9723         * CutAndPaste.C: include paragraph_funcs.h
9724         (cutSelection): breakParagraphConservative is now in global scope
9725         (pasteSelection): ditto
9726
9727         * buffer.h: declare oprator== and operator!= for
9728         Buffer::inset_iterator
9729
9730         * bufferlist.C (emergencyWrite): don't use fmt(...)
9731
9732         * text3.C: add using std::endl
9733
9734         * BufferView.C (moveCursorUpdate): remove default arg
9735
9736 2002-08-20  André Pönitz <poenitz@gmx.net>
9737
9738         * buffer.[Ch]: move inline functions to .C
9739
9740         * BufferView2.C:
9741         * BufferView_pimpl.C:
9742         * text.C:
9743         * buffer.[Ch]: use improved inset_iterator
9744
9745         * buffer.C:
9746         * paragraph.[Ch]: write one paragraph at a time
9747
9748 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9751         style if style is not specified.
9752
9753 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9754
9755         * text2.C (setCounter): when searching for right label for a
9756         caption, make sure to recurse to parent insets (so that a caption
9757         in a minipage in a figure float works) (bug #568)
9758
9759 2002-08-20  André Pönitz <poenitz@gmx.net>
9760
9761         * text3.C: new file for LyXText::dispatch() and helpers
9762
9763         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9764
9765         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9766
9767 2002-08-19  André Pönitz <poenitz@gmx.net>
9768
9769         * lyxtext.h:
9770         * text.C: new LyXText::dispatch()
9771
9772         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9773
9774 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9775
9776         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9777
9778         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9779         Hebrew text.
9780
9781 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * Makefile.am: use $(variables) instead of @substitutions@
9784
9785 2002-08-15  André Pönitz <poenitz@gmx.net>
9786
9787         * lyxfunc.C:
9788         * BufferView_pimpl.C: streamlining mathed <-> outer world
9789         interaction
9790
9791         * commandtags.h:
9792         * LyXAction.C: remove unused LFUN_MATH
9793
9794 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9795
9796         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9797
9798 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9799
9800         * paragraph.C (Paragraph): reformat a bit
9801         (cutIntoMinibuffer): use builtin InsetList function instad of
9802         doing it manually.
9803         (getInset): ditto
9804
9805         * buffer.C: include boost/bind.hpp, add using std::for_each
9806         (writeFileAscii): use ParagraphList iterators
9807         (validate): use for_each for validate traversal of paragraphs
9808         (getBibkeyList): use ParagraphList iterators
9809         (resizeInsets): use for_each to resizeInsetsLyXText for all
9810         paragraphs.
9811         (getParFromID): use ParagraphList iterators
9812
9813         * BufferView2.C (lockInset): use paragraph list and iterators
9814
9815 2002-08-14  John Levon  <levon@movementarian.org>
9816
9817         * lyxserver.C: remove spurious xforms include
9818
9819 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9822
9823 2002-08-13  André Pönitz <poenitz@gmx.net>
9824
9825         * LyXAction.[Ch]:
9826         * lyxfunc.C: further cleaning
9827
9828 2002-08-13  André Pönitz <poenitz@gmx.net>
9829
9830         * funcrequest.h: new constructor
9831
9832         * funcrequest.C: move stuff here from .h
9833
9834         * Makefile.am:
9835         * BufferView_pimpl.C:
9836         * LyXAction.C:
9837         * toc.C:
9838         * lyxfunc.C: subsequent changes
9839
9840         * lyxfunc.h: new view() member function
9841
9842         * lyxfunc.C: subsequent changes
9843
9844 2002-08-13  Angus Leeming  <leeming@lyx.org>
9845
9846         * BufferView2.C:
9847         * BufferView_pimpl.C:
9848         * buffer.C:
9849         * converter.C:
9850         * importer.C:
9851         * lyxfunc.C:
9852         * lyxvc.C:
9853         * toc.C:
9854         * vc-backend.C:
9855         changes due to the changed LyXView interface that now returns references
9856         to member variables not pointers.
9857
9858 2002-08-13  Angus Leeming  <leeming@lyx.org>
9859
9860         * WordLangTuple (word, lang_code): return references to strings,
9861         not strings.
9862
9863         * BufferView.h:
9864         * SpellBase.h:
9865         * lyxtext.h: forward-declare WordLangTuple.
9866
9867         * BufferView2.C:
9868         * ispell.C:
9869         * pspell.C:
9870         * text.C: #include "WordLangTuple.h".
9871
9872         * lyxtext.h:
9873         * text.C: (selectNextWordToSpellcheck): constify return type.
9874
9875 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9876
9877         * buffer.C:
9878         * buffer.h:
9879         * lyxtext.h:
9880         * paragraph.C:
9881         * paragraph_pimpl.h:
9882         * text.C:
9883         * text2.C:
9884         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9885         suggested by Angus.
9886         Made updateCounter always count from start of buffer, and removed
9887         second argument (par).
9888         Reverted floats number display to '#'. Perhaps I'll try again when the
9889         code base is sanitized a bit.
9890
9891 2002-08-12  Angus Leeming  <leeming@lyx.org>
9892
9893         * buffer.[Ch] (getLabelList): constify.
9894
9895 2002-08-07  André Pönitz <poenitz@gmx.net>
9896
9897         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9898
9899         * funcrequest.h: extension to keep mouse (x,y) position
9900
9901 2002-08-12  Juergen Vigna  <jug@sad.it>
9902
9903         * BufferView2.C (insertErrors): forbid undo when inserting error
9904         insets.
9905
9906         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9907
9908 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9909
9910         * ParagraphList.[Ch]: new files
9911
9912         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9913
9914         * BufferView2.C (lockInset): ParagraphList changes
9915         * toc.C: ditto
9916         * text2.C: ditto
9917         * bufferlist.C: ditto
9918         * buffer.h: ditto
9919         * buffer.C: ditto
9920
9921 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9924         unused class variable counter_,
9925
9926         * paragraph.[Ch] (getFirstCounter): delete unused function
9927
9928         * counters.C: include LAssert.h
9929         (reset): add a new function with no arg, change other version to
9930         not have def. arg and to not allow empty arg.
9931
9932         * text2.C (setCounter): remove empty arg from call to Counters::reset
9933
9934 2002-08-11  John Levon  <levon@movementarian.org>
9935
9936         * Makefile.am: add WordLangTuple.h
9937
9938 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9939
9940         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9941         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9942
9943         * insets/insettext.C: InsetList changes
9944
9945         * graphics/GraphicsSupport.C (operator()): InsetList changes
9946
9947         * toc.C (getTocList): InsetList changes
9948
9949         * paragraph_pimpl.[Ch]: InsetList changes
9950
9951         * paragraph.[Ch]: InsetList changes
9952
9953         * buffer.C (inset_iterator): InsetList changes
9954         (setParagraph): ditto
9955         * buffer.h (inset_iterator): ditto
9956         * iterators.C (operator++): ditto
9957         * iterators.h: ditto
9958
9959         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9960
9961         * InsetList.[Ch]: new files, most InsetList handling moved out of
9962         paragraph.C.
9963
9964         * BufferView2.C (removeAutoInsets): InsetList changes
9965         (lockInset): ditto
9966         (ChangeInsets): ditto
9967
9968 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * paragraph_pimpl.h (empty): new function
9971
9972         * paragraph.[Ch] (empty): new function
9973
9974         * other files: use the new Paragraph::empty function
9975
9976 2002-08-09  John Levon  <levon@movementarian.org>
9977
9978         * lyxtext.h: remove unused refresh_height
9979
9980 2002-08-09  John Levon  <levon@movementarian.org>
9981
9982         * Makefile.am:
9983         * sgml.h:
9984         * sgml.C:
9985         * buffer.C:
9986         * paragraph.h:
9987         * paragraph.C: move sgml char escaping out of paragraph
9988
9989         * paragraph.h:
9990         * paragraph.C: remove id setter
9991
9992         * buffer.C:
9993         * paragraph.C:
9994         * paragraph_pimpl.C: remove dead tex_code_break_column
9995
9996         * bufferview_funcs.C: small cleanup
9997
9998         * lyxfunc.C: remove dead proto
9999
10000         * lyxtext.h: make some stuff private. Remove some dead stuff.
10001
10002         * lyxgluelength.C: make as[LyX]String() readable
10003
10004 2002-08-08  John Levon  <levon@movementarian.org>
10005
10006         * LyXAction.h:
10007         * LyXAction.C:
10008         * MenuBackend.C:
10009         * ToolbarDefaults.C:
10010         * lyxfunc.C:
10011         * lyxrc.C:
10012         * toc.C: lyxaction cleanup
10013
10014 2002-08-08  John Levon  <levon@movementarian.org>
10015
10016         * BufferView2.C: small cleanup
10017
10018         * lyxfind.h:
10019         * lyxfind.C: move unnecessary header into the .C
10020
10021 2002-08-08  John Levon  <levon@movementarian.org>
10022
10023         * funcrequest.h: just tedious nonsense
10024
10025         * lyx_main.h:
10026         * lyx_main.C: cleanups
10027
10028         * buffer.C:
10029         * vspace.C: remove dead header lyx_main.h
10030
10031 2002-08-07  Angus Leeming  <leeming@lyx.org>
10032
10033         * Paragraph.[Ch]:
10034         * paragraph_pimpl.h:
10035         Forward declare class Counters in paragraph.h by moving the ctrs member
10036         variable into Paragraph::Pimpl.
10037         (counters): new method, returning a reference to pimpl_->ctrs.
10038
10039         * text2.C: ensuing changes.
10040
10041 2002-08-07  John Levon  <levon@movementarian.org>
10042
10043         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10044
10045         * BufferView_pimpl.C: announce X selection on double/triple
10046           click
10047
10048         * lyx_main.C: use correct bool in batch dispatch
10049
10050         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10051
10052 2002-08-07  André Pönitz <poenitz@gmx.net>
10053
10054         * funcrequest.h: new class to wrap a kb_action and its argument
10055
10056         * BufferView.[Ch]:
10057         * BufferView_pimpl[Ch]:
10058         * LaTeX.C:
10059         * LyXAction.[Ch]:
10060         * lyxfunc.[Ch]:
10061         * lyxrc.C: subsequent changes
10062
10063
10064 2002-08-07  John Levon  <levon@movementarian.org>
10065
10066         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10067           document options change.
10068
10069 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10070
10071         * counters.[Ch]
10072         * text2.C
10073         * paragraph.[Ch]
10074         * makefile.am: move counters functionality over from
10075         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10076
10077 2002-08-06  John Levon  <levon@movementarian.org>
10078
10079         * WordLangTuple.h: new file for word + language code tuple
10080
10081         * SpellBase.h:
10082         * pspell.h:
10083         * pspell.C:
10084         * ispell.h:
10085         * ispell.C:
10086         * lyxtext.h:
10087         * text.C:
10088         * text2.C:
10089         * BufferView.h:
10090         * BufferView2.C: use WordLangTuple
10091
10092         * layout.h:
10093         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10094
10095 2002-08-06  John Levon  <levon@movementarian.org>
10096
10097         * lyx_main.C: fix cmdline batch handling
10098
10099 2002-08-06  André Pönitz <poenitz@gmx.net>
10100
10101         * lyxrc.C: set default for show_banner to true
10102
10103 2002-08-06  John Levon  <levon@movementarian.org>
10104
10105         * pspell.C: fix a crash, and allow new aspell to work
10106
10107 2002-08-06  John Levon  <levon@movementarian.org>
10108
10109         * lyxfunc.C:
10110         * kbmap.C: small cleanup
10111
10112         * vspace.h:
10113         * vspace.C: add const
10114
10115 2002-08-05  John Levon  <levon@movementarian.org>
10116
10117         * LyXAction.C: back to tabular-insert
10118
10119 2002-08-04  John Levon  <levon@movementarian.org>
10120
10121         * BufferView.h:
10122         * BufferView.C: cosmetic change
10123
10124         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10125
10126         * bufferlist.C:
10127         * buffer.h:
10128         * buffer.C:
10129         * lyxcb.h:
10130         * lyxcb.C:
10131         * lyxserver.C:
10132         * lyxvc.C:
10133         * vc-backend.C:
10134         * BufferView2.C: purge all "Lyx" not "LyX" strings
10135
10136         * lyxcursor.h:
10137         * lyxcursor.C: attempt to add some documentation
10138
10139         * lyxfunc.C:
10140         * commandtags.h:
10141         * LyXAction.C:
10142         * ToolbarDefaults.C:
10143         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10144           merge with LFUN_TABULAR_INSERT
10145
10146         * Makefile.am:
10147         * SpellBase.h:
10148         * ispell.h:
10149         * ispell.C:
10150         * pspell.h:
10151         * pspell.C: split up i/pspell implementations into separate
10152           files, many cleanups
10153
10154         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10155
10156         * text2.C: some cleanup
10157
10158         * lyxfunc.C: don't check for isp_command == "none" any more, it
10159           didn't make any sense
10160
10161 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10162
10163         * counters.[Ch]
10164         * text2.C
10165         * paragraph.[Ch]
10166         * makefile.am: move counters functionality over
10167         from text2.C/paragraph.[Ch] to counters.[Ch], and
10168         make proper C++.
10169 2002-08-02  John Levon  <levon@movementarian.org>
10170
10171         * buffer.C: s/lyxconvert/lyx2lyx/
10172
10173 2002-08-02  Angus Leeming  <leeming@lyx.org>
10174
10175         * lyxlex.C: revert John's change as it breaks reading of the user
10176         preamble.
10177
10178 2002-08-02  Angus Leeming  <leeming@lyx.org>
10179
10180         * importer.C (Import):
10181         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10182         changes due to LyXView::view() now returning a boost::shared_ptr.
10183
10184 2002-08-02  John Levon  <levon@movementarian.org>
10185
10186         * lyxlex.C: small cleanup
10187
10188 2002-08-02  John Levon  <levon@movementarian.org>
10189
10190         * text2.C (status): small cleanup, no logic change
10191
10192 2002-08-01  John Levon  <levon@movementarian.org>
10193
10194         * buffer.h:
10195         * buffer.C (writeFile): don't output alerts, caller
10196           handles this
10197
10198         * bufferlist.C:
10199         * lyx_cb.C: from above
10200
10201         * lyxfunc.C: allow to open non-existent files
10202
10203 2002-07-31  John Levon  <levon@movementarian.org>
10204
10205         * lyxserver.C: don't let incidental errors get
10206           in the way (errno)
10207
10208 2002-07-30  John Levon  <levon@movementarian.org>
10209
10210         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10211
10212 2002-07-30  John Levon  <levon@movementarian.org>
10213
10214         * lyxserver.h:
10215         * lyxserver.C: remove I/O callback too
10216
10217 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10220         log.
10221
10222 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * many files: strip,frontStrip -> trim,ltrim,rtrim
10225
10226 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10227
10228         * PrinterParams.h: remove extern containsOnly, and include
10229         support/lstrings.h instead.
10230
10231         * LaTeX.C (scanAuxFile): modify because of strip changes
10232         (deplog): ditto
10233         * buffer.C (makeLaTeXFile): ditto
10234         * bufferparams.C (writeFile): ditt
10235         * lyxfont.C (stateText): ditto
10236         * lyxserver.C (read_ready): ditto
10237         * vc-backend.C (scanMaster): ditto
10238
10239         * BufferView_pimpl.h: ws changes
10240
10241         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10242
10243 2002-07-26  André Pönitz <poenitz@gmx.net>
10244
10245         * kb_sequence.C: remove unnedred usings
10246
10247 2002-07-26  Juergen Vigna  <jug@sad.it>
10248
10249         * lyxfind.C (LyXReplace): we have to check better if the returned
10250         text is not of theLockingInset()->getLockingInset().
10251
10252 2002-07-25  Juergen Vigna  <jug@sad.it>
10253
10254         * lyxfind.C (LyXReplace): don't replace if we don't get the
10255         right LyXText.
10256
10257         * undo_funcs.C (createUndo): remove debugging code.
10258
10259 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10260
10261         * buffer.C (parseSingleLyXformat2Token): Use default placement
10262         when reading old floats.
10263
10264         * FloatList.C (FloatList): Change the default placement of figure
10265         and tables to "tbp".
10266
10267 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * MenuBackend.C: using std::max
10270
10271 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * MenuBackend.C (expandToc):
10274         (expandToc2): code moved from xforms menu frontend. It is now
10275         generic and TOCs are transparent to menu frontends.
10276
10277 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * toc.C (getTocList): protect against buf=0
10280
10281         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10282         Menu as first parameter. Now, this calls itself recursively to
10283         expand a whole tree (this will be useful for TOC handling)
10284         (expandFloatInsert): remove 'wide' version of floats
10285
10286         * MenuBackend.h (submenuname): returns the name of the submenu.
10287         (submenu): returns the submenu itself, provided it has been
10288         created by MenuBackend::expand
10289
10290 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10293         insets which have noFontChange == true. (bug #172)
10294
10295 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * BufferView_pimpl.C: add connection objects and use them...
10298         (Pimpl): here.
10299
10300 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * MenuBackend.C (expandLastfiles):
10303         (expandDocuments):
10304         (expandFormats):
10305         (expandFloatListInsert):
10306         (expandFloatInsert):
10307         (expand): split expand in parts
10308
10309 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * lyx_gui.C: use lyx_gui::exit()
10312
10313 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * LyXAction.C: show the failing pseudo action
10316
10317 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * buffer.C (readFile): Run the lyxconvert script in order to read
10320         old files.
10321
10322 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * LyXAction.C:
10325         * commandtags.h:
10326         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10327
10328 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * LyXAction.C:
10331         * commandtags.h:
10332         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10333
10334 2002-07-22  Herbert Voss  <voss@lyx.org>
10335
10336         * lengthcommon.C:
10337         * lyxlength.[Ch]: add support for the vertical lengths
10338
10339 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * toc.[Ch]: std:: fixes
10342
10343 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * lyxrc.C: do not include lyx_main.h
10346
10347         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10348         for layouts
10349
10350         * lyxrc.C:
10351         * encoding.C:
10352         * bufferlist.C:
10353         * BufferView2.C: include "lyxlex.h"
10354
10355         * tabular.h:
10356         * bufferparams.h: do not #include "lyxlex.h"
10357
10358         * lyxtextclasslist.C (Add): remove method
10359         (classlist): renamed to classlist_
10360
10361         * paragraph_pimpl.C:
10362         * paragraph.C:
10363         * text2.C:
10364         * CutAndPaste.C:
10365         * bufferview_funcs.C:
10366         * bufferlist.C:
10367         * text.C:
10368         * LaTeXFeatures.C:
10369         * buffer.C:
10370         * toc.C (getTocList): use BufferParams::getLyXTextClass
10371
10372         * toc.C (getTocList): use InsetFloat::addToToc
10373
10374         * toc.[Ch]: new files, containing helper functions to handle table
10375         of contents
10376
10377         * lyxfunc.C (dispatch): no need to remove spaces around command
10378         given as a string
10379         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10380         first command of the sequence; it is not very clever, but I do not
10381         have a better idea, actually
10382
10383         * LyXAction.C (LookupFunc): make sure to remove space at the
10384         beginning and end of the command
10385
10386 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * MenuBackend.C (getMenubar): new method: return the menubar of
10389         this menu set
10390         (read): treat differently reading of menu and menubar (in
10391         particular, the menubar has no name now)
10392         (Menu::menubar): remove
10393
10394         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10395         saving is finished
10396
10397 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10398
10399         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10400         a bibitem inset in a RTL paragraph.
10401
10402 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * paragraph_pimpl.C: constify
10405
10406         * BufferView_pimpl.C:
10407         * LaTeX.C:
10408         * lyxfunc.C: fix dispatch in a nicer way
10409
10410 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * lyxfunc.C (dispatch):
10413         * BufferView_pimpl.C:
10414         * BufferView_pimpl.h:
10415         * BufferView.C:
10416         * BufferView.h: rename Dispatch() to dispatch()
10417
10418         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10419
10420         * lyxlayout.C (Read): honor DependsOn tag
10421
10422         * lyxlayout.[Ch] (depends_on): new method
10423
10424         * version.C.in: update lyx_docversion
10425
10426         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10427
10428         * paragraph.C (validate): remove from here...
10429         * paragraph_pimpl.C (validate): ... and move here
10430         (isTextAt): make it const
10431
10432         * buffer.C (getLists): ws cleanup
10433
10434 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10435
10436         * language.C (read): Use iso8859-1 encoding in latex_lang
10437         (this prevents LyX from crashing when using iso10646-1 encoding).
10438
10439 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10440
10441         * text2.C (toggleInset): if cursor is inside an inset, close the
10442         inset and leave cursor _after_ it
10443
10444 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * lyxfunc.C: move minibuffer completion handling out of here
10447
10448 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * BufferView_pimpl.C:
10451         * LaTeX.C: fix dispatch calls
10452
10453 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10454
10455         * text.C (drawChars): Fix Arabic text rendering.
10456
10457 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * LyXAction.C:
10460         * commandtags.h:
10461         * lyxfunc.C: remove message-push/pop
10462
10463         * lyxserver.C:
10464         * lyxfunc.h:
10465         * lyxfunc.C: rationalise some code by removing verboseDispatch
10466           in favour of a bool argument to dispatch()
10467
10468 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * lyx_main.C (init): make sure to read symlinks as absolute paths
10471
10472 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * lyxfunc.h:
10475         * lyxfunc.C: no need for commandshortcut to be a member
10476
10477 2002-07-15  André Pönitz <poenitz@gmx.net>
10478
10479         * converter.C: add support for $$s (scripts from lib/scripts dir)
10480         * lyx_main.C: white space
10481
10482 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * bufferlist.C:
10485         * lyxrc.h:
10486         * lyxrc.C: remove second exit confirmation
10487
10488 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * BufferView.h:
10491         * BufferView.C:
10492         * BufferView2.C:
10493         * BufferView_pimpl.h:
10494         * BufferView_pimpl.C:
10495         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10496
10497 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10498
10499         * MenuBackend.C (expand): add numeric shortcuts to document menu
10500
10501         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10502
10503 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10504
10505         * lyxfont.C (setLyXFamily):
10506         (setLyXSeries):
10507         (setLyXShape):
10508         (setLyXSize):
10509         (setLyXMisc):
10510         (lyxRead):
10511         * debug.C (value):
10512         * buffer.C (asciiParagraph): use ascii_lowercase
10513
10514 2002-07-15  Mike Fabian  <mfabian@suse.de>
10515
10516         * lyxlex_pimpl.C (search_kw):
10517         * lyxlex.C (getLongString):
10518         * converter.h (operator<):
10519         * converter.C (operator<):
10520         * buffer.C (parseSingleLyXformat2Token):
10521         (asciiParagraph):
10522         * ToolbarDefaults.C (read):
10523         * MenuBackend.C (checkShortcuts):
10524         (read):
10525         * LColor.C (getFromGUIName):
10526         (getFromLyXName): use the compare_ascii_no_case instead of
10527         compare_no_case, because in turkish, 'i' is not the lowercase
10528         version of 'I', and thus turkish locale breaks parsing of tags.
10529
10530 2002-07-16  Angus Leeming  <leeming@lyx.org>
10531
10532         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10533         now takes a Buffer const & argument.
10534
10535 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView.C (resize): check there's a buffer to resize
10538
10539 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * lyxfunc.C: remove dead code
10542
10543         * lyxserver.h:
10544         * lyxserver.C: use lyx_guii::set_read_callback
10545
10546 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10547
10548         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10549         an inset in a RTL paragraph.
10550
10551 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * lyxfunc.C: repaint after a font size update
10554
10555 2002-07-15  André Pönitz <poenitz@gmx.net>
10556
10557         * lyxlength.C: inBP should be able to return negative values
10558
10559 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * lyxfunc.C: use lyx_gui::update_fonts()
10562
10563 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * lyxfunc.C: use lyx_gui::update_color()
10566
10567 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * bufferlist.C:
10570         * lyxfunc.h:
10571         * lyxfunc.C:
10572         * lyxrc.h:
10573         * lyxrc.C: remove file->new asks for name option, and let
10574           buffer-new take an argument
10575
10576 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * BufferView_pimpl.C: remove unneeded extra repaint()
10579
10580 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * LyXAction.C: allow command-sequence with NoBuffer
10583
10584         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10585
10586 2002-07-10  Angus Leeming  <leeming@lyx.org>
10587
10588         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10589
10590 2002-07-09  Angus Leeming  <leeming@lyx.org>
10591
10592         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10593
10594 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * lengthcommon.h: whitespace
10597
10598         * lyxfunc.C: update scrollbar after goto paragraph
10599
10600         * lyxtext.h: factor out page break drawing, and fix it so
10601           page break/added space paints as selected nicely
10602
10603 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * BufferView_pimpl.C: add FIXMEs, clean up a little
10606
10607 2002-07-09  André Pönitz <poenitz@gmx.net>
10608
10609         * lyxfont.[Ch]: support for wasy symbols
10610
10611 2002-07-08  André Pönitz <poenitz@gmx.net>
10612
10613         * BufferView_pimpl.C: apply John's patch for #93.
10614
10615 2002-07-05  Angus Leeming  <leeming@lyx.org>
10616
10617         * BufferView_pimpl.C (buffer): generate previews if desired.
10618
10619         * LColor.h: add "preview" to the color enum.
10620
10621         * LColor.C (LColor): add a corresponding entry to the items array.
10622
10623         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10624         with this buffer.
10625
10626 2002-07-05  Angus Leeming  <leeming@lyx.org>
10627
10628         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10629         The body of the code is now in the method that is passed an ostream &
10630         rather than a file name.
10631         Pass an additional only_preamble parameter, useful for the forthcoming
10632         preview stuff.
10633
10634 2002-07-03  André Pönitz <poenitz@gmx.net>
10635
10636         * lyxfunc.C: simplify getStatus() a bit for math stuff
10637
10638 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10641
10642 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * text.C (changeRegionCase): do not change case of all the
10645         document when region ends at paragraph end (bug #461)
10646
10647 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * paragraph.C (startTeXParParams):
10650         (endTeXParParams): add \protect when necessary
10651
10652 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10653
10654         * BufferView_pimpl.C (workAreaExpose): remove warning
10655
10656 2002-06-27  Angus Leeming  <leeming@lyx.org>
10657
10658         * Makefile.am: add lyxlayout_ptr_fwd.h.
10659
10660 2002-06-26  André Pönitz <poenitz@gmx.net>
10661
10662         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10663
10664 2002-06-25  Angus Leeming  <leeming@lyx.org>
10665
10666         * lyxfunc.C (dispatch): Comment out the call to
10667         grfx::GCache::changeDisplay. The method no longer exists now that the
10668         pixmap generation part of the graphics loader has been moved into
10669         InsetGraphics.
10670
10671 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * text2.C: layout as layout
10674
10675         * text.C: layout as layout
10676
10677         * tabular.C (OldFormatRead): layout as layout
10678
10679         * paragraph_pimpl.C (TeXDeeper): layout as layout
10680         (realizeFont): layout as layout
10681
10682         * paragraph.C (writeFile): layout as layout
10683         (validate): layout as layout
10684         (getFont): layout as layout
10685         (getLabelFont): layout as layout
10686         (getLayoutFont): layout as layout
10687         (breakParagraph): layout as layout
10688         (stripLeadingSpaces): layout as layout
10689         (getEndLabel): layout as layout
10690         (getMaxDepthAfter): layout as layout
10691         (applyLayout): layout as layout
10692         (TeXOnePar): layout as layout
10693         (simpleTeXOnePar): layout as layout
10694         (TeXEnvironment): layout as layout
10695         (layout): layout as layout
10696         (layout): layout as layout
10697
10698         * lyxtextclass.C (compare_name): new functor to work with
10699         shared_ptr, layout as layout
10700         (Read): layout as layout
10701         (hasLayout): layout as layout
10702         (operator): layout as layout
10703         (delete_layout): layout as layout
10704         (defaultLayout): layout as layout
10705
10706         * lyxlayout_ptr_fwd.h: new file
10707
10708         * lyxlayout.C (Read): layout as layout
10709
10710         * lyx_cb.C (MenuInsertLabel): layout as layout
10711
10712         * bufferlist.C (newFile): layout as layout
10713
10714         * buffer.C (readLyXformat2): layout as layout
10715         (parseSingleLyXformat2Token): layout as layout
10716         (insertStringAsLines): layout as layout
10717         (asciiParagraph): layout as layout
10718         (latexParagraphs): layout as layout
10719         (makeLinuxDocFile): layout as layout
10720         (simpleLinuxDocOnePar): layout as layout
10721         (makeDocBookFile): layout as layout
10722         (simpleDocBookOnePar): layout as layout
10723         (getLists): layout as layout
10724
10725         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10726
10727         * CutAndPaste.C (cutSelection): layout as layout
10728         (pasteSelection): layout as layout
10729         (SwitchLayoutsBetweenClasses): layout as layout
10730
10731         * BufferView_pimpl.C (Dispatch): layout as layout
10732         (smartQuote): layout as layout
10733
10734         * BufferView2.C (unlockInset): layout as layout
10735
10736 2002-06-24  André Pönitz <poenitz@gmx.net>
10737
10738         * lyxfunc.C: fix #487
10739
10740 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * lyxrc.h:
10743         * lyxrc.C:
10744         * lyxfunc.C: remove display_shortcuts, show_banner
10745
10746 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * Buffer_pimpl.C: oops, update on resize
10749
10750 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * buffer.C:
10753         * converter.C:
10754         * exporter.C:
10755         * lyxfunc.C:
10756         * BufferView.h:
10757         * BufferView.C: use repaint()
10758
10759         * BufferView_pimpl.h:
10760         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10761           as it's a clearer description. Remove superfluous
10762           redraws.
10763
10764 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * text.C: fix bug 488. Not ideal, but getting
10767           getWord() to work properly for the insets that
10768           matter is more difficult ...
10769
10770 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * BufferView_pimpl.C:
10773         * LyXAction.C:
10774         * commandtags.h:
10775         * lyxfunc.C: remove the six million index lyxfuncs to just
10776           one, and DTRT (bug 458)
10777
10778 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * BufferView.h:
10781         * BufferView.C:
10782         * BufferView_pimpl.h:
10783         * BufferView_pimpl.C: clean up resize() stuff,
10784           and unnecessary updateScreen()s
10785
10786 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * BufferView.h:
10789         * BufferView.C:
10790         * BufferView_pimpl.h:
10791         * BufferView_pimpl.C:
10792         * lyxfind.h:
10793         * lyxfind.C:
10794         * minibuffer.C: remove focus management of workarea,
10795           not needed. Use screen's greyOut()
10796
10797 2002-06-17  Herbert Voss  <voss@lyx.org>
10798
10799         * converter.C: (convert) do not post a message, when converting
10800         fails, let the calling function decide what to do in this case
10801
10802 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * lyxfunc.C: tidy up a little
10805
10806 2002-06-16    <alstrup@diku.dk>
10807
10808         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10809         Got rid of FORMS_H_LOCATION include. Now we are
10810         GUII.
10811
10812 2002-06-15  LyX Development team  <lyx@rilke>
10813
10814         * buffer.[Ch] (sgmlOpenTag):
10815         (sgmlCloseTag): Added support for avoiding pernicious mixed
10816         content. Return number of lines written.
10817
10818         (makeLinuxDocFile):
10819         (makeDocBookFile): Fixed calls to sgml*Tag.
10820         Simple white space clean.
10821
10822         (simpleDocBookOnePar): Simple white space clean.
10823
10824         * tabular.[Ch] (docBook): Renamed to docbook and got another
10825         argument to related with the pernicious mixed content.
10826
10827         (docbookRow): Fixed calls for docbook inset method.
10828
10829 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10830
10831         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10832         so it's X11 independent.
10833
10834         * kb*.[Ch]: ditto.
10835
10836         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10837
10838 2002-06-15  Lyx Development team  <lyx@electronia>
10839
10840         * intl.h: Renamed getTrans to getTransManager.
10841
10842 2002-06-14  Angus Leeming  <leeming@lyx.org>
10843
10844         * Makefile.am: nuke forgotten stl_string_fwd.h.
10845
10846 2002-06-12  Angus Leeming  <leeming@lyx.org>
10847
10848         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10849
10850 2002-06-13  Angus Leeming  <leeming@lyx.org>
10851
10852         * LaTeX.C:
10853         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10854
10855 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10856
10857         * kbmap.C (getiso): add support for cyrillic and greek
10858
10859 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * BufferView.h:
10862         * BufferView.C:
10863         * BufferView_pimpl.h:
10864         * BufferView_pimpl.C: move bogus scrolling logic
10865           to xforms
10866
10867 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * lyxfunc.C:
10870         * BufferView_pimpl.C: view->resize() change
10871
10872 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * BufferView_pimpl.C: topCursorVisible
10875           prototype change
10876
10877 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * Makefile.am:
10880         * lyx_gui.h:
10881         * lyx_gui.C: move to frontends/
10882
10883         * main.C:
10884         * lyx_main.h:
10885         * lyx_main.C: changes from above
10886
10887 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * intl.C:
10890         * intl.h:
10891         * kbmap.C:
10892         * kbsequence.C:
10893         * lyx_cb.C:
10894         * lyx_main.C: minor tidy
10895
10896 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * BufferView_pimpl.h:
10899         * BufferView_pimpl.C:
10900         * BufferView.h:
10901         * BufferView.C: make painter() const,
10902           remove dead code
10903
10904         * BufferView2.C: use screen() accessor
10905
10906         * lyx_main.h:
10907         * lyx_main.C: some minor cleanup
10908
10909 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * BufferView_pimpl.h:
10912         * BufferView_pimpl.C: remove enter/leaveView,
10913           use workHeight()
10914
10915 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * BufferView.h:
10918         * BufferView.C:
10919         * BufferView2.C:
10920         * BufferView_pimpl.h:
10921         * BufferView_pimpl.C: only construct screen once,
10922           rename
10923
10924         * lyxrc.C: remove pointless comment
10925
10926 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * BufferView.h:
10929         * BufferView.C: remove active() and belowMouse()
10930
10931         * BufferView_pimpl.h:
10932         * BufferView_pimpl.C: use workarea() not workarea_,
10933           and make it use a scoped_ptr instead
10934
10935 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * lyx_gui.C: add debug message on BadWindow
10938
10939 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * sp_spell.C: fdopen is not part of the C++ standard.
10942
10943         * paragraph.C (InsetIterator): use >= instead of ==
10944
10945 2002-06-07  Angus Leeming  <leeming@lyx.org>
10946
10947         Fixes needed to compile with Compaq cxx 6.5.
10948         * BufferView_pimpl.C:
10949         * DepTable.C:
10950         * buffer.C:
10951         * converter.C:
10952         * encoding.C:
10953         * lyx_gui.C:
10954         * lyx_main.C:
10955         * lyxtextclasslist.C:
10956         * minibuffer.C:
10957         * sp_spell.C:
10958         * tabular_funcs.C:
10959         * vc-backend.C:
10960         all c-library variables have been moved into namespace std. Wrap
10961         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10962
10963         * lyxlength.C:
10964         * tabular-old.C:
10965         * tabular.C:
10966         Add a using std::abs declaration.
10967
10968         * kbmap.h (modifier_pair):
10969         * paragraph.h (InsetTable, InsetList):
10970         * lyxfont.h (FontBits):
10971         type definition made public.
10972
10973         * bufferlist.C (emergencyWriteAll): the compiler complains that
10974         there is more than one possible lyx::class_fun template to choose from.
10975         I re-named the void specialisation as lyx::void_class_fun.
10976
10977         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10978
10979         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10980         the compiler is is unable to find tostr in write_attribute.
10981
10982 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * buffer.C (sgmlError): hide #warning
10985
10986 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10987
10988         * xtl/*: get rid of xtl, which is not in use anyway
10989
10990         * LyXAction.C (init):
10991         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10992         were unimplemented xtl experimentation
10993
10994 2002-06-04  André Pönitz <poenitz@gmx.net>
10995
10996         * lyxfunc.C: disable array operation on simple formulae
10997
10998 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * converter.C: constify a bit
11001
11002 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11003
11004         * lyx_gui.C: check xforms version correctly
11005
11006 2002-04-30  Herbert Voss  <voss@lyx.org>
11007
11008         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11009         "keep" option
11010
11011 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11014           attempt to register it with a VCS)
11015
11016 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * lyx_main.C (init): honor variables LYX_DIR_13x and
11019         LYX_USERDIR_13x
11020
11021 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * buffer.h:
11024         * buffer.C:
11025         * lyx_main.C: fix a crash on bad command line,
11026           and give a useful exit status on error
11027
11028         * lyxfunc.C (doImport): allow -i lyx to work
11029
11030 2002-03-30  André Pönitz <poenitz@gmx.net>
11031
11032         * lyxfunc.C: mathed font changes
11033
11034 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * LaTeX.C:
11037         * importer.h:
11038         * importer.C:
11039         * lyx_sty.h:
11040         * lyx_sty.C:
11041         * lyxlex.C:
11042         * lyxrow.h:
11043         * lyxtext.h:
11044         * paragraph.h:
11045         * paragraph.C:
11046         * texrow.h:
11047         * texrow.C:
11048         * text.C:
11049         * trans_mgr.h: srcdocs, and some minor cleanups
11050
11051 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11054         call getFont all the time)
11055
11056 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11057
11058         * switch from SigC signals to boost::signals
11059
11060 2002-05-29  André Pönitz <poenitz@gmx.net>
11061
11062         * paragraph_pimpl.C (getChar): don't call size() too often...
11063
11064 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * paragraph_pimpl.C (insertChar): do not try to update tables when
11067         appending (pos == size())
11068
11069         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11070         in order to reduce drastically the number of comparisons needed to
11071         parse a large document
11072
11073 2002-05-29  André Pönitz <poenitz@gmx.net>
11074
11075         * text.C:
11076         * text2.C:
11077         * lyxtextclass.C:
11078         * sp_pspell.h:
11079         * textclasslist.[Ch]:
11080         * sp_ispell.h: whitespace change
11081
11082 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11085         lyxaction directly now.
11086
11087 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * trans.C:
11090         * lyxfont.C:
11091         * lyxvc.C: remove unused headers
11092
11093 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * Makefile.am:
11096         * buffer.h:
11097         * undostack.h:
11098         * undostack.C:
11099         * undo_funcs.h:
11100         * undo_funcs.C: some cleanups. Use shared_ptr
11101           and a template for the undo stacks.
11102
11103 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * BufferView_pimpl.h:
11106         * BufferView_pimpl.C:
11107         * kbmap.h:
11108         * kbmap.C:
11109         * kbsequence.h:
11110         * kbsequence.C:
11111         * lyxfunc.h:
11112         * lyxfunc.C:
11113         * text2.C: use key_state/mouse_state
11114
11115 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11118         and LSubstring
11119
11120         * chset.C: change include order
11121         (loadFile): use boost regex and get rid of LRegex and LSubstring
11122
11123         * Makefile.am (BOOST_LIBS): new variable
11124         (lyx_LDADD): use it
11125
11126         * LaTeX.C: change include order.
11127         (scanAuxFile): use boost regex and get rid of LRegex and
11128         LSubstring
11129         (deplog): ditto
11130
11131 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * ColorHandler.h:
11134         * ColorHandler.C:
11135         * FontInfo.h:
11136         * FontInfo.C: moved to frontends/xforms/
11137
11138         * FontLoader.h:
11139         * FontLoader.C: moved into frontends for GUIIzation
11140
11141         * Makefile.am:
11142         * lyx_gui.C:
11143         * lyxfont.C:
11144         * lyxfunc.C: changes from above
11145
11146 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * LColor.C: remove spurious X include
11149
11150         * BufferView_pimpl.C:
11151         * Makefile.am:
11152         * font.h:
11153         * font.C:
11154         * text.C:
11155         * text2.C: move font metrics to frontends/
11156
11157 2002-05-24  Juergen Vigna  <jug@sad.it>
11158
11159         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11160         setting the undo_cursor.
11161
11162         * ParagraphParameters.h: include local includes first.
11163
11164 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * BufferView_pimpl.C:
11167         * BufferView_pimpl.h:
11168         * Makefile.am:
11169         * WorkArea.h:
11170         * WorkArea.C:
11171         * screen.C: move WorkArea into frontends/
11172
11173         * lyxscreen.h:
11174         * screen.C:
11175         * text.C:
11176         * BufferView.C:
11177         * BufferView2.C: move LyXScreen into frontends/
11178
11179         * lyxlookup.h:
11180         * lyxlookup.C:
11181         * lyx_gui.C: move lyxlookup into frontends/xforms/
11182
11183 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * BufferView2.C:
11186         * BufferView_pimpl.C:
11187         * FontLoader.C:
11188         * LyXView.h:
11189         * LyXView.C:
11190         * Makefile.am:
11191         * WorkArea.C:
11192         * XFormsView.h:
11193         * XFormsView.C:
11194         * buffer.C:
11195         * bufferlist.C:
11196         * bufferview_funcs.C:
11197         * converter.C:
11198         * importer.C:
11199         * lyx_cb.C:
11200         * lyx_gui.C:
11201         * lyx_main.C:
11202         * lyx_find.C:
11203         * lyxfunc.C:
11204         * lyxvc.C:
11205         * minibuffer.C:
11206         * text.C:
11207         * text2.C:
11208         * trans.C:
11209         * vc-backend.C: move LyX/XFormsView into frontends/
11210
11211 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * Makefile.am:
11214         * PainterBase.C:
11215         * PainterBase.h:
11216         * Painter.C:
11217         * Painter.h:
11218         * WorkArea.C:
11219         * WorkArea.h:
11220         * screen.C:
11221         * tabular.C:
11222         * text.C:
11223         * text2.C: move Painter to frontends/
11224
11225 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11226
11227         * buffer.C: comment out some some code that depend upon lyx_format
11228         < 220
11229
11230         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11231         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11232
11233         * buffer.h (NO_COMPABILITY): turn off compability
11234
11235         * ColorHandler.C: include scoped_array.hpp
11236
11237         * font.C: Use more specific smart_ptr header.
11238         * Painter.C: ditto
11239         * gettext.C: ditto
11240         * ShareContainer.h: ditto
11241         * lyx_main.h: ditto
11242         * kbmap.h: ditto
11243         * FontInfo.h: ditto
11244         * BufferView_pimpl.h: ditto
11245         * ColorHandler.h: ditto
11246
11247         * kbmap.C (defkey): change call to shared_ptr::reset
11248
11249 2002-05-21  Juergen Vigna  <jug@sad.it>
11250
11251         * buffer.C (insertErtContents): fix to insert ert asis if it is
11252         non empty. Skip it completely if it contains only whitespaces.
11253
11254 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * BufferView_pimpl.C:
11257         * BufferView2.C: clear selection on paste (bug 393)
11258
11259 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * DepTable.C: include ctime
11262
11263 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11264
11265         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11266
11267 2002-05-14  Juergen Vigna  <jug@sad.it>
11268
11269         * text.C (breakParagraph): fixed function to honor the keepempty
11270         layout in the right maner and also to permit the right breaking
11271         algorithm on empty or non empyt keepempty paragraphs.
11272
11273         * paragraph.C (breakParagraph): we have to check also if the par
11274         is really empty (!size()) for isempty otherwise we do the wrong
11275         paragraph break.
11276
11277 2002-05-10  Juergen Vigna  <jug@sad.it>
11278
11279         * buffer.[Ch] : The following are only changes to the ert
11280         compatibility read reading old LaTeX layout and font stuff and
11281         convert it to ERTInsets.
11282
11283         * buffer.h: added isErtInset().
11284
11285         * buffer.C (struct ErtComp): add a fromlayout bool to check
11286         if we're inside a LaTeX layout.
11287         (isErtInset): new helper function.
11288         (insertErtContents): look for other ert insets before this one
11289         and insert the contents there, so that we don't have subsequent
11290         ERT insets with nothing between them. This way we create only one
11291         inset with multiple paragraphs. Also check if we don't insert only
11292         spaces ' ' as they are ignored anyway afterwards in the .tex file
11293         so if we have only spaces we will ignore this latex part in the
11294         new file.
11295         (parseSingleLyXformat2Token \\layout): better compatibility when
11296         reading layout-latex stuff.
11297         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11298         language tag.
11299         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11300         stuff after reading the inset only get the information back from
11301         the stack.
11302
11303 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11304
11305         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11306
11307         * LaTeXFeatures.C (getBabelOptions): New method.
11308
11309 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11310
11311         * BufferView_pimpl.C (Dispatch): work around missing argument for
11312         'layout'
11313
11314 2002-05-08  Juergen Vigna  <jug@sad.it>
11315
11316         * text.C (leftMargin): handle paragraph leftindent.
11317
11318         * paragraph.C (writeFile): write the new \\leftindent tag.
11319         (validate): handle leftindent code.
11320         (TeXEnvironment): handle paragraphleftindent code again.
11321
11322         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11323
11324         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11325         for paragrap_extra indent code and new token \\leftindent.
11326         (latexParagraphs): handle the leftindent as environment.
11327
11328         * ParameterStruct.h: added leftindent support.
11329
11330         * ParagraphParameters.C (leftIndent): added support functions for
11331         the paragraph left indent.
11332
11333         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11334         more appropriate.
11335
11336 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11337
11338         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11339         inside insetERT.
11340
11341         * text.C (computeBidiTables): No bidi in insetERT.
11342
11343         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11344         in RTL documents.
11345
11346 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * version.C.in: pre 5
11349
11350 2002-05-02  José Matos  <jamatos@fep.up.pt>
11351         * buffer.C (makeDocBookFile): white space changes, add newline to
11352         command styles.
11353         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11354
11355         * tabular.C (docBook): fix typo.
11356
11357 2002-05-03  Juergen Vigna  <jug@sad.it>
11358
11359         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11360         change in LyXText as we can not be sure it was not freed.
11361         (drawOneRow): remove unused code.
11362
11363         * text.C (drawInset): redo the calculation of the need_break_row as
11364         it could have a row which was already freed.
11365         (draw): look at the return value of drawInset and return false if
11366         it also returned false.
11367         (paintRowText): look at the return value of draw and return false if
11368         it also returned false.
11369
11370         * lyxtext.h: added bool return type to drawInset() and draw() so that
11371         if we have a change in the row so that the rowbreak has to be redone
11372         we abort drawing as it will be called again.
11373
11374 2002-05-02  Juergen Vigna  <jug@sad.it>
11375
11376         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11377         a change in the maintext also if we're inside an inset.
11378         (Dispatch): set the cursor again after a break line and after the
11379         screen has been updated as it could be we're in a different row.
11380
11381         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11382         to set the cursor behind the pargraph with > size().
11383         (setCursor): check also for the same paragraph when checking where
11384         to put the cursor if we have a NFR inset.
11385
11386         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11387         parts of layout read further up as it still was in the wrong
11388         position.
11389
11390 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * screen.C (drawFromTo): change sine fullRebreak always return
11393         true.
11394
11395         * buffer.C (parseSingleLyXformat2Token): reindent some
11396
11397         * BufferView_pimpl.C (update): change since fullRebreak always
11398         return true.
11399         (Dispatch): git rid of the last hardcoded "Standard"s.
11400
11401 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * text2.[Ch] (fullRebreak): make it return void now that we always
11404         returned true.
11405
11406 2002-04-30  Juergen Vigna  <jug@sad.it>
11407
11408         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11409         ert compatibility check for "latex" layout.
11410
11411 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11412
11413         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11414         minipages: use col% instead of p%, and also use the current font.
11415         (makeLaTeXFile): Fix use babel condition.
11416         (parseSingleLyXformat2Token): Correct font when reading old floats.
11417
11418 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11419
11420         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11421         inserting list of floats.
11422
11423 2002-04-25  Herbert Voss  <voss@lyx.org>
11424
11425         * MenuBackend.C (expand): don't add the graphics extensions to the
11426         export menu
11427
11428 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11431         non-existing layout, do not complain if it was the default layout
11432         of the original class (bug #342)
11433
11434 2002-04-24  Juergen Vigna  <jug@sad.it>
11435
11436         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11437         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11438
11439 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11440
11441         * buffer.C (getBibkeyList): If using \bibliography, return the
11442         option field with the reference itself. Enables us to provide natbib
11443         support when using \bibliography.
11444
11445 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11446
11447         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11448
11449         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11450         natbib is provided by the LaTeX class.
11451
11452 2002-04-23  Juergen Vigna  <jug@sad.it>
11453
11454         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11455         Wakeup functions.
11456
11457         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11458
11459 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11460
11461         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11462
11463         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11464         ensuremath around textordmasculine, textordfeminine and
11465         textdegree.
11466
11467 2002-04-19  Juergen Vigna  <jug@sad.it>
11468
11469         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11470         reinitializing the buffer otherwise row-dimensions may be wrong.
11471         (update): reset also the selection cursors if they do exits otherwise
11472         their x/y positions may be wrong.
11473
11474         * text2.C (cursorDown): don't enter the inset if we came from a row
11475         above and are one row over the inset.
11476
11477         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11478         really leaving an inset.
11479
11480 2002-04-18  Juergen Vigna  <jug@sad.it>
11481
11482         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11483         of the selected paragraph does not have the selected layout also if
11484         the last one had!
11485
11486         * text2.C (setLayout): fixed bug which did not change last selected
11487         paragraph.
11488
11489         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11490         changed the read and substituted \\end_float with \\end_inset!
11491
11492         * BufferView_pimpl.C (cursorPrevious):
11493         (cursorNext): fixed to make it work with rows heigher than the work
11494         area without moving the cursor only the draw of the row.
11495         (workAreaMotionNotify): fix jumping over high rows.
11496
11497 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11498
11499         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11500         Ressler.
11501
11502 2002-04-16  Juergen Vigna  <jug@sad.it>
11503
11504         * text2.C (setCursor): set also the irow().
11505         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11506         (cursorUp):
11507         (cursorDown): support for locking an inset if the x_fix value goes
11508         inside it. That way I can transverse insets too with cursor up/down.
11509
11510         * lyxrow.h: added irow helper function same as other (i) functions.
11511
11512         * BufferView_pimpl.C (cursorPrevious):
11513         (cursorNext): fixed for insets!
11514
11515 2002-04-15  Juergen Vigna  <jug@sad.it>
11516
11517         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11518         position otherwise it is wrong in some cases.
11519
11520         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11521         inside the inset before the call.
11522
11523 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11524
11525         * buffer.[Ch] (getBibkeyList): make it const.
11526
11527 2002-04-12  Juergen Vigna  <jug@sad.it>
11528
11529         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11530
11531         * text2.C (getCursorX): new helper function
11532         (setCursor): compute also ix_
11533         (setCursorFromCoordinates): set also ix.
11534
11535         * lyxcursor.h: added ix_ and helper functions.
11536
11537         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11538
11539         * buffer.C (insertStringAsLines): dont break paragraph if the this
11540         paragraph is inside an inset which does not permit it!
11541
11542         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11543         also with no chars on this paragraph.
11544         (paintRowText): only paint stuff if it's inside the workarea!
11545
11546         * paragraph.C (breakParagraph): honor keepempty flag and break the
11547         paragraph always below not above.
11548
11549         * BufferView2.C (unlockInset): update the paragraph layout on inset
11550         unlock as we changed paragraph in such a case.
11551
11552         * lyxfind.C (LyXFind): clear the former selection if not found!
11553
11554         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11555         again called in insertChar().
11556
11557         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11558         an inset which uses the whole row!
11559         (rightMargin): ditto.
11560         (insertChar): force a rebreak if we inserted an inset!
11561
11562 2002-03-28  Herbert Voss  <voss@lyx.org>
11563
11564         * lyxlength.[Ch]: add inBP() to get the right PS-point
11565         units (BigPoint). With inPixels we have rounding errors
11566
11567 2002-04-11  Juergen Vigna  <jug@sad.it>
11568
11569         * text2.C (setCursorFromCoordinates): set iy to the right value.
11570         (setCursor): add check if row->previous exists!
11571
11572         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11573         an old float_type as this was the case in the old code!
11574
11575         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11576
11577         * BufferView2.C (showLockedInsetCursor): use iy
11578         (fitLockedInsetCursor): ditto
11579
11580         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11581         locked insets as there we have the right value now.
11582
11583         * lyxcursor.C: added iy_ variable and iy functions to set to the
11584         baseline of cursor-y of the locked inset.
11585
11586         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11587         (setCursor): fixed for insets which need a full row.
11588
11589         * text.C (rowLastPrintable): don't ignore the last space when before
11590         an inset which needs a full row.
11591         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11592         as last character of a row when before a inset which needs a full row.
11593
11594 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * version.C.in: update date
11597
11598         * text2.C (fullRebreak): try to always return true and see what
11599         happens...
11600
11601 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * MenuBackend.C (expand): use Floating::listName
11604
11605         * FloatList.C (FloatList): add listName argument to the built-in
11606         floats
11607
11608         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11609         text associated with the float.
11610
11611 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11612
11613         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11614
11615 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * ShareContainer.h: add a couple of missing typenames.
11618
11619 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11620
11621         * lyxrc.C (getDescription): use _() correctly rather than N_().
11622
11623 2002-03-28  Herbert Voss  <voss@lyx.org>
11624
11625         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11626         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11627
11628 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11631         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11632
11633 2002-03-29  Juergen Vigna  <jug@sad.it>
11634
11635         * lyxfunc.C (dispatch): add a missing fitCursor call.
11636
11637         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11638         it was scrolled by a cursor move, so return the bool status.
11639
11640         * BufferView.C (fitCursor): return the bool flag also to the outside
11641         world as this is needed.
11642
11643         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11644
11645         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11646         call the edit() as it is not needed (and wrong) IMO.
11647         (workAreaButtonPress): set the screen_first variable before evt.
11648         unlock the inset as this may change screen_first and then we have
11649         a wrong y position for the click!
11650
11651 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * MenuBackend.C (expand): another translation that I missed
11654
11655 2002-03-28  Juergen Vigna  <jug@sad.it>
11656
11657         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11658
11659         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11660
11661 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11664
11665         * MenuBackend.C (expand): fix export/view/update when there is no
11666         document open.
11667
11668 2002-03-27  Herbert Voss  <voss@lyx.org>
11669
11670         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11671         and text%
11672
11673 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * bufferview_funcs.C (currentState): only show paragraph number
11676         for is DEVEL_VERSION is set.
11677
11678         * lyxfunc.C (dispatch): put warning in INFO channel
11679
11680         * MenuBackend.C (expand): translate the name of floats
11681
11682         * FloatList.C (FloatList): mark the float names for translation
11683
11684         * converter.C (convert): use LibScriptSearch
11685
11686 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11687
11688         * MenuBackend.C (defaults): fix default menu (we might as well get
11689         rid of it...)
11690
11691 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11694         directory.
11695
11696 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * lyxvc.C: reorder includes.
11699
11700 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11703           properly
11704
11705 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * CutAndPaste.C: change layouts earlier on paste
11708           to avoid crashing when calling getFont()
11709
11710 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11711
11712         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11713         irritating #error.
11714
11715 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * WorkArea.C: remove 'Pending' debug message.
11718
11719         * most files: ws cleanup
11720
11721         * buffer.[Ch]: ws changes
11722
11723         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11724
11725 2002-03-21  Juergen Vigna  <jug@sad.it>
11726
11727         * tabular.C (SetMultiColumn): collapse also the contents of the
11728         cells and set the last border right. Added a Buffer const * param.
11729
11730 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11733         linking or not.
11734
11735 2002-03-19  Juergen Vigna  <jug@sad.it>
11736
11737         * text2.C (clearSelection): reset also xsel_cache.
11738
11739         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11740         where it needs to be called (John tells us to do so too :)
11741         (selectionLost): reset sel_cache.
11742
11743         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11744
11745 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * text2.C (setCursorIntern): put debuging code in INSETS channel
11748
11749 2002-03-19  André Pönitz <poenitz@gmx.net>
11750
11751         * lyxfunc.C: tiny whitespace change
11752
11753 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11754
11755         * ToolbarDefaults.C (init):
11756         * LyXAction.C (init):
11757         * commandtags.h:
11758         * BufferView_pimpl.C (Dispatch):
11759         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11760
11761 2002-03-19  Allan Rae  <rae@lyx.org>
11762
11763         * exporter.C (Export): removeAutoInsets before doing anything else.
11764         While I've just introduced a dependency on BufferView this really is
11765         the best place to clean the buffer otherwise you need to cleanup in
11766         a dozen places before calling export or cleanup in a dozen functions
11767         that export calls.
11768
11769         * converter.C (runLaTeX):
11770         (scanLog): Better handling of removeAutoInsets and screen updates.
11771
11772         * lyxfunc.C (dispatch): small whitespace changes
11773
11774 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * WorkArea.C (C_WorkAreaEvent): return a value.
11777         (event_cb): return 1 if we handled the event, 0 otherwise.
11778
11779         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11780
11781 2002-03-18  Juergen Vigna  <jug@sad.it>
11782
11783         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11784         (GetAdditionalWidth): ditto.
11785         (RightLine): ditto.
11786         (LeftLine): ditto.
11787
11788         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11789         inset if we're there actually (probably not used right now but this
11790         is the direction to go for unifying code).
11791         (paste): disable code to clear the selection.
11792
11793         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11794         inside an InsetText and move the check further up as it is in the
11795         wrong place.
11796
11797         * text2.C (pasteSelection): set a selection over the pasted text.
11798
11799 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11800
11801         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11802         and libgraphics to build on Cygwin.
11803
11804 2002-03-15  Juergen Vigna  <jug@sad.it>
11805
11806         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11807         inserting an Inset into the paragraph. I know this is not the best
11808         fix but we already use current_view in CutAndPaste so we will remove
11809         all of it's using at the same time.
11810
11811         * buffer.C (sgmlError): deactivated function till it is rewritten in
11812         the right mode, now it can create problems.
11813
11814         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11815         before accessing it.
11816
11817 2002-03-14  Juergen Vigna  <jug@sad.it>
11818
11819         * undo_funcs.C (textHandleUndo): do the right thing when updating
11820         the inset after the undo/redo.
11821
11822         * text2.C (setCursor): just some testcode for #44 not ready yet.
11823
11824         * undo_funcs.C (textHandleUndo): set the next() and previous()
11825         pointers of the paragraph to 0 before deleting otherwise we have
11826         problems with the Paragraph::[destructor].
11827
11828         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11829         on a paragraph insertion.
11830
11831 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * buffer.C (asciiParagraph): use += operator for char append to
11834         string.
11835
11836         * paragraph.C (getFontSettings): compare >= not just >
11837         (highestFontInRange): ditto
11838         (setFont): ditto
11839
11840 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * paragraph.C: change several algorithm to be more appripriate for
11843         the problem domain. This is lookip in FontList and in the InsetList.
11844
11845 2002-03-13  André Pönitz <poenitz@gmx.net>
11846
11847         * commandtags.h:
11848         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11849
11850 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * commandtags.h:
11853         * LyXAction.C:
11854         * lyxfunc.C:
11855         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11856
11857 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * Painter.C (display): anon helper function, adjust code for this
11860         change.
11861         (pixmap): remove function.
11862
11863         * Painter.h: remove private display variable.
11864
11865         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11866
11867 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11868
11869         * WorkArea.[Ch]: remove figinset_canvas cruft.
11870
11871 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * lyxtextclass.C (operator): add one item cache optimization.
11874
11875         * bufferlist.h: doxy changes
11876
11877         * bufferlist.C: ws changes
11878
11879         * DepTable.[Ch] (ext_exist): place const in the right spot.
11880
11881         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11882         call resizeInsets.
11883         (workAreaExpose): call resizeInsets when the with BufferView changes.
11884         (Dispatch): adjust for protectedBlank removal
11885         (specialChar): call updateInset if the insert went ok.
11886
11887         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11888         specialChar instead.
11889
11890         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11891
11892         * BufferView.h: doxy change
11893
11894         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11895
11896         * lyxtextclass.C (operator[]): remove non-const version
11897         (defaultLayout): remove non-const version
11898
11899 2002-03-12  Juergen Vigna  <jug@sad.it>
11900
11901         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11902         did resize the LyXText too.
11903
11904         * buffer.C (readLyXformat2): set layout information on newly allocated
11905         paragraphs.
11906
11907         * tabular.C (OldFormatRead): set layout information on the paragraph.
11908
11909 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11910
11911         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11912
11913 2002-03-11  Juergen Vigna  <jug@sad.it>
11914
11915         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11916         plainly wrong.
11917         (resizeCurrentBuffer): force also the insets to resize themselfes.
11918         (moveCursorUpdate): fixed up for InsetText.
11919
11920 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11921
11922         * commandtags.h:
11923         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11924         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11925         value of Dialogs::tooltipsEnabled().
11926         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11927
11928 2002-03-08  Juergen Vigna  <jug@sad.it>
11929
11930         * BufferView_pimpl.C (updateInset): update inset inside inset also
11931         if it isn't inside theLockingInset().
11932
11933 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11934
11935         * buffer.C (asciiParagraph): redo some of the word and line length
11936         handling.
11937         (getLists): look for Caption instead of caption.
11938
11939 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * buffer.C (Buffer): initialize niceFile to true
11942         (makeLaTeXFile):
11943         (makeLinuxDocFile):
11944         (makeDocBookFile): make sure niceFile is true on exit
11945
11946 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11949
11950 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * LyXSendto.C: remove.
11953         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11954         * lyx_gui.C: remove now-redundant comment.
11955         * ColorHandler.h: remove forward declaration of class WorkArea.
11956         * lyxfunc.C: remove #include "WorkArea.h".
11957
11958 2002-03-07  Juergen Vigna  <jug@sad.it>
11959
11960         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11961         got moved away with the DEPM and also set the inset_owner always
11962         right which before could have been omitted.
11963
11964 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11967         wanted layout is not found.
11968
11969 2002-03-07  Juergen Vigna  <jug@sad.it>
11970
11971         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11972
11973 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * paragraph.C (breakParagraph): use default layout not layout of
11976         prev paragraph.
11977         (Paragraph): clear ParagraphParameters.
11978
11979 2002-03-06  Juergen Vigna  <jug@sad.it>
11980
11981         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11982         otherwise it would not be a valid lenght. Fixed a special case in
11983         the minipage compatibility read where we end the document with a
11984         minipage.
11985
11986         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11987         was set as it could be 0 for InsetTexts first entry.
11988
11989 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * paragraph.C (writeFile): if layout is empty write out
11992         defaultLayoutName().
11993
11994         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11995         file without named layout we set layout to defaultLayoutName().
11996
11997 2002-03-06  Juergen Vigna  <jug@sad.it>
11998
11999         * CutAndPaste.C (copySelection): set layout for new paragraph.
12000
12001         * text.C (prepareToPrint): leave ERT inset left aligned
12002         (leftMargin): don't indent paragraphs inside ERT insets
12003
12004 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12005
12006         * paragraph.C (breakParagraph): dont call clear do the work manually
12007
12008         * paragraph.[Ch] (clear): remove function
12009
12010 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * paragraph.C (Paragraph): dont call clear, the work has already
12013         been done.
12014
12015         * lyxtextclass.C (operator): assert if n is empty
12016
12017         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12018         work manually instead.
12019
12020 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * BufferView_pimpl.C: protect selectionLost against text == 0
12023
12024 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * text.C (breakParagraph): fix a setting layout to '0' problem.
12027
12028 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12029
12030         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12031         final location of file, for the included files, and graphics.
12032
12033 2002-03-05  Juergen Vigna  <jug@sad.it>
12034
12035         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12036
12037 2002-03-04  Juergen Vigna  <jug@sad.it>
12038
12039         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12040
12041         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12042         last column of multicolumn cells.
12043         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12044
12045 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12046
12047         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12048         file if it doesn't go to a temporary file.
12049
12050         * buffer.C (sgmlOpenTag):
12051         (sgmlCloseTag):  remove extra newline insertion.
12052
12053 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * text.C (getRowNearY): comment out debug msg
12056
12057 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12058
12059         * text2.C: first -> first_y
12060
12061         * text.C (getRowNearY): add some attemts at a possible
12062         optimization, not working.
12063
12064         * tabular.[Ch]: add BufferParams to several function so that newly
12065         created paragraph can be initialized to he default layotu for the
12066         buffers textclass.
12067
12068         * tabular-old.C (ReadOld): add buf->params to call of Init
12069
12070         * screen.C: rename text->first to text->first_y
12071
12072         * paragraph.C (breakParagraph): always set layout in the broken
12073         paragraph
12074
12075         * lyxtextclass.C (Read): remove lowercase
12076         (hasLayout): ditto
12077         (operator): ditto
12078         (delete_layout): ditto
12079
12080         * lyxtext.h: rename first -> first_y
12081
12082         * lyxlayout.C (Read): remove lowercase
12083         (name): ditto
12084         (setName): ditto
12085         (obsoleted_by): ditto
12086
12087         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12088
12089         * buffer.C (insertErtContents): add params are to InsetERT
12090         (parseSingleLyXformat2Token): add code to check if a paragraphs
12091         layout really exist.
12092         (parseSingleLyXformat2Token): add params to several inset
12093         constructors
12094         (asciiParagraph): remove lowercase, do the layout comparisons with
12095         no_case
12096
12097         * BufferView_pimpl.C (cursorNext): first -> first_y
12098         (resizeCurrentBuffer): first -> first_y
12099         (updateScrollbar): first -> first_y
12100         (scrollCB): first -> first_y
12101         (workAreaMotionNotify): first -> first_y
12102         (workAreaButtonPress): first -> first_y
12103         (checkInsetHit): first -> first_y
12104         (cursorPrevious): first -> first_y
12105         (cursorNext): first -> first_y
12106         (Dispatch): add buffer_->params to severl inset contructors
12107
12108 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * lyxlayout.C (Read): remove some debug info that I forgot.
12111
12112         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12113         clean up the code slightly.
12114         (makeLinuxDocFile): ditto
12115         (makeDocBookFile): ditto
12116
12117         * text2.C: layout as string
12118
12119         * text.C: layout as string
12120
12121         * paragraph_pimpl.C: layout as string
12122
12123         * paragraph.[Ch]: layout as string
12124
12125         * lyxtextclasslist.[Ch]: layout as string
12126
12127         * lyxtextclass.[Ch]: layout as string
12128
12129         * lyxtext.h: layout as string
12130
12131         * lyxlayout.[Ch]: layout as string
12132
12133         * lyx_cb.C: layout as string
12134
12135         * bufferview_funcs.C: layout as string
12136
12137         * bufferparams.C: layout as string
12138
12139         * buffer.C: layout as string
12140
12141         * LyXView.[Ch]: layout as string
12142
12143         * LaTeXFeatures.[Ch]: layout as string
12144
12145         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12146
12147         * BufferView_pimpl.C: change current_layout to string, remove
12148         lyx::layout_type.
12149         (Dispatch):
12150         (smartQuote):
12151         (insertInset):
12152         (workAreaButtonRelease): layout as string
12153
12154         * BufferView2.C (unlockInset): adjust
12155
12156         * vspace.C (asLatexCommand): use an explict temp variable.
12157
12158 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * Makefile.am: use FRONTEND_*
12161
12162 2002-03-01  Juergen Vigna  <jug@sad.it>
12163
12164         * tabular.C (SetWidthOfMulticolCell): changed to something better
12165         I hope but still work in progress.
12166         (recalculateMulticolumnsOfColumn): renamed function from
12167         recalculateMulticolCells as it is more appropriate now.
12168         (SetWidthOfCell): calculate multicols better.
12169
12170 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12171
12172         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12173
12174         * lyxfunc.C (processKeySym): print sequence also if it is
12175         `deleted' (complete)
12176
12177         * kbsequence.C (print): print sequence even if it is deleted
12178         (complete would be a better word, actually).
12179
12180         * lyxfunc.C (dispatch): print complete options after a prefix key
12181
12182         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12183
12184 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12185
12186         * text2.C (setCharFont): eliminate setCharFont code duplication.
12187
12188 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12191         LFUN_TABULAR_FEATURE (bug #177)
12192
12193 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * Makefile.am: remove figure.h
12196
12197 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12198
12199         * Bufferview_pimpl.C:
12200         * CutAndPasteC:
12201         * LaTeX.C:
12202         * LyXSendto.C:
12203         * buffer.C:
12204         * bufferlist.C:
12205         * converter.C:
12206         * language.C:
12207         * lyxfunc.C:
12208         * lyxvc.C:
12209         * paragraph.C:
12210         * text.C:
12211         * text2.C: remove #include "lyx_gui_misc.h".
12212
12213         * LaTeX.C: added #include <cstdio>
12214
12215 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12216
12217         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12218         that the paragraph following this one can have.
12219
12220         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12221
12222         * vspace.C (asLatexCommand): fix bogus gcc warning
12223
12224         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12225
12226 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12227
12228         * text2.C (setLayout): get rid of redundant code
12229
12230 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12231
12232         * text2.C (incDepth): make sure depth cannot be increased beyond
12233         reasonable values.
12234
12235 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12236
12237         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12238         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12239
12240         * PainterBase.h (image):
12241         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12242         a LyXImage const *.
12243
12244 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * BufferView.C:
12247         * BufferView.h:
12248         * BufferView_pimpl.C:
12249         * BufferView_pimpl.h:
12250         * LaTeXFeatures.C:
12251         * LyXAction.C:
12252         * LyXView.C:
12253         * Makefile.am:
12254         * UpdateList.h:
12255         * UpdateList.C:
12256         * buffer.C:
12257         * figure.h:
12258         * figureForm.C:
12259         * figureForm.h:
12260         * figure_form.C:
12261         * figure_form.h:
12262         * lyx_cb.C:
12263         * lyx_gui.C:
12264         * lyx_gui_misc.C:
12265         * lyxfunc.C:
12266         * sp_base.h:
12267         * sp_ispell.h:
12268         * sp_pspell.h:
12269         * sp_spell.C: remove fig inset, and the crap house of
12270           cards that follows it
12271
12272 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * Makefile.am:
12275         * lyxserver.C:
12276         * os2_defines.h:
12277         * os2_errortable.h:
12278         * nt_defines.h: move .h into support/
12279
12280         * vms_defines.h: remove
12281
12282         * WorkArea.C: add space in debug output
12283
12284         * text2.C:
12285         * paragraph.C:
12286         * buffer.C: add WITH_WARNINGS
12287
12288         * vc-backend.h:
12289         * vc-backend.C:
12290         * bufferlist.C: s/retrive/retrieve/, add docs
12291
12292         * vspace.h:
12293         * vspace.C:
12294         * kbmap.h:
12295         * lyxlength.h:
12296         * lyxgluelength.h:
12297         * length_common.h:
12298         * chset.h:
12299         * chset.C: add docs
12300
12301         * lyxgui.C: add ID to X error handler
12302
12303         * lyxtestclass.c: fix typo
12304
12305 2002-02-26  Juergen Vigna  <jug@sad.it>
12306
12307         * tabular_funcs.C (write_attribute): changed so that some default
12308         attributes are not written at all.
12309         (getTokenValue): set default values before trying to read the
12310         value so we have the return value always set as default if we don't
12311         find the token we search for.
12312
12313         * tabular.C (Write): write bools as bools not as strings!
12314
12315 2002-02-22  Juergen Vigna  <jug@sad.it>
12316
12317         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12318         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12319
12320         * text.C (leftMargin): don't add an indent for paragraphs inside
12321         tabular cells (fix #208).
12322
12323 2002-02-21  José Matos  <jamatos@fep.up.pt>
12324
12325         * tabular.C (docBook): fixed support for long tables.
12326
12327 2002-02-20  Juergen Vigna  <jug@sad.it>
12328
12329         * text2.C (getFont): get the drawing font of the Inset if this
12330         paragraph is inside an inset (only important for InsetERT for now).
12331
12332         * buffer.C (insertErtContents): use new lanugage params in ERT
12333         constructor.
12334
12335         * CutAndPaste.C: commenting out seemingly uneeded code.
12336
12337 2002-02-19  Allan Rae  <rae@lyx.org>
12338
12339         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12340         Iterators might be simple to use but they also get invalidated.
12341         (removeAutoInsets): renamed saved cursor tracking variables and added
12342         some comments to clarify what everything does.
12343
12344 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * Chktex.C:
12347         * LaTeX.C:
12348         * LyXSendto.C:
12349         * converter.C:
12350         * lyx_cb.C:
12351         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12352         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12353
12354         * lyxfunc.C:
12355         * vc-backend.h: remove #include "support/syscall.h"
12356
12357         * LaTeX.C:
12358         * LyXSendto.C:
12359         * converter.C: rearrange #includes in Lars' approved fashion.
12360
12361         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12362         forward declare class Timeout in the header file.
12363
12364         * XFormsView.C: changes due to the above.
12365
12366         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12367         similar to LyXView.
12368
12369         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12370         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12371
12372 2002-02-18  José Matos  <jamatos@fep.up.pt>
12373
12374         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12375         insets contents.
12376
12377 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12378
12379         * a lot of small ws changes
12380         * add a lot of using std::XXX
12381         * use std construcs some places where approp.
12382         * use some exisint stuff from lyxfunctional where approp.
12383         * Make file changes to use partial linking (lets test this now...)
12384
12385 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12386
12387         * Chktex.C:
12388         * buffer.C:
12389         remove #include "support/syscontr.h" as it's redundant. Always has been.
12390
12391         * Chktex.C:
12392         * LaTeX.C:
12393         * LyXSendto.C:
12394         * converter.C:
12395         * lyx_cb.C:
12396         * vc-backend.C:
12397         change Systemcalls::System to Systemcalls::Wait and
12398         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12399         No change of functionality, just reflects the stripped down Systemcalls
12400         class.
12401
12402 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * debug.[Ch]: add a GRAPHICS type to the enum.
12405
12406 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12409
12410         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12411         there is an inset.
12412
12413 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12416         match the changes below.
12417
12418         * text2.C (toggleInset): if there is not editable inset at cursor
12419         position, try to see if cursor is _inside_ a collapsable inset
12420         and close it.
12421
12422 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12423
12424         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12425         document menu has a nice checkbox
12426
12427 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12428
12429         * lyxlength.C (asLatexString): change PW to output as percent of
12430         \textwidth.
12431
12432         * lengthcommon.C: change '%' to 't%'
12433
12434         * lyxfunc.C (dispatch): a few comments from Martin
12435
12436 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * WorkArea.h:
12439         * WorkArea.C:
12440         * BufferView_pimpl.h:
12441         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12442           the X selection.
12443
12444 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * vspace.C (inPixels): fix compiler warning
12447
12448 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * lyxfunc.C (getStatus): fix status message for disabled commands.
12451
12452 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * BufferView_pimpl.C: fix crash on close buffer
12455         during selection (#227)
12456
12457 2002-01-27  Herbert Voss  <voss@lyx.org>
12458
12459         * buffer.C: link old Figure to new graphic inset
12460
12461 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12462
12463         * FontLoader.C (getFontinfo): Change the latex font names in order
12464         to match the names of type1inst.
12465
12466 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12469
12470         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12471         (extchanged): ditto
12472         (ext_exist): ditto
12473         (remove_files_with_extension): ditto
12474         (remove_file): ditto
12475         (write): ditto
12476
12477         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12478         document is smaller than the work area height. Do not initialize
12479         static variables to 0.
12480
12481 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12484
12485         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12486         LFUN_LAYOUT_PARAGRAPHS.
12487
12488         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12489         tabular. It is possible to provide a possible cell, which will
12490         typically be the actcell from the corresponding insettabular
12491
12492         * lyxfunc.C (getStatus): small cleanup; disable
12493         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12494         true
12495
12496 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12499
12500         * paragraph.C (startTeXParParams):
12501         (endTeXParParams): new methods. The LaTeX code to
12502         start/end paragraph formatting
12503         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12504         empty (fixes bug #200)
12505
12506         * vspace.C (inPixels): adapt to the change below
12507         (inPixels): [later] more cleanups (remove unused variables)
12508
12509         * lyxlength.C (inPixels): change to use a width and a height as
12510         parameter.
12511
12512 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12513
12514         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12515         Replaced with \paperwidth
12516
12517         * DepTable.C (insert): add std:: qualifier
12518
12519 2002-01-18  Allan Rae  <rae@lyx.org>
12520
12521         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12522         updated also?
12523
12524         * text.C (drawInset): Turned out I didn't know enough about how
12525         rebreaking worked.  This fixes most of the redraw problems.  I see
12526         an occasional cursor trail when a line is broken now and the cursor
12527         placement can seem out by a few pixels also after a rebreak.
12528
12529 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * buffer.C (parseSingleLyXformat2Token): update because minipage
12532         width is now a LyXLength
12533
12534         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12535
12536         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12537         math insets
12538
12539 2002-01-17  Juergen Vigna  <jug@sad.it>
12540
12541         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12542
12543         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12544         is set correctly and the inset is updated correctly.
12545
12546 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12547
12548         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12549         the beginning of the loop.
12550
12551 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * lyxrc.C: improve help for use_scalable_fonts
12554
12555 2002-01-17  Allan Rae  <rae@lyx.org>
12556
12557         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12558
12559 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12560
12561         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12562         make sure to set their inset_owner to the right value (bug #171)
12563
12564 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12565
12566         * DepTable.h
12567         * DepTable.C: Implement mtime checking to reduce time spent doing
12568         CRCs.
12569
12570 2002-01-16  Juergen Vigna  <jug@sad.it>
12571
12572         * tabular.C (GetAdditionalHeight): one of error fixed.
12573
12574         * lyxrc.C (output): small fix in writing use_pspell.
12575
12576 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12577
12578         * sp_base.h: #include LString.h
12579
12580 2002-01-16  Allan Rae  <rae@lyx.org>
12581
12582         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12583         Can someone check this please?
12584
12585         * text.C (drawInset): It was possible that p.row would be removed by
12586         breakAgainOneRow upsetting a few other settings.  There may be another
12587         small tweak possible by setting need_break_row = 0 when p.row has been
12588         removed but I don't know enough about the logic here.
12589
12590 2002-01-15  Allan Rae  <rae@lyx.org>
12591
12592         * text.C (insertChar): removed conditional truism.
12593
12594         * BufferView2.C (removeAutoInsets): More tweaks.
12595         cur_par_prev could be a stray pointer.  Check for trailing empty line
12596         in case last line was cur_par and only had an error inset on it.
12597
12598 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12601         absolute
12602
12603         * vc-backend.C (most methods):
12604         * exporter.C (Export):
12605         * converter.C (convert):
12606         (runLaTeX):
12607         * LyXSendto.C (SendtoApplyCB):
12608         * lyxfunc.C (dispatch):
12609         (menuNew):
12610         (open):
12611         (doImport):
12612         * lyx_cb.C (AutoSave):
12613         (InsertAsciiFile):
12614         * BufferView_pimpl.C (MenuInsertLyXFile):
12615         * buffer.C (runChktex): use Buffer::filePath().
12616
12617         * buffer.h: rename filename to filename_; rename filepath to
12618         filepath_ and make it private
12619         (filePath): new method
12620
12621         * buffer.C (writeFile): use fileName()
12622         (getLatexName):
12623
12624         * lyx_main.C (init): fix starting  of LyX when the binary is a
12625         link from so,ewhere else.
12626
12627         * minibuffer.C: include <cctype> for isprint
12628
12629 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12632         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12633         name clash with InsetCollapsable's width function.
12634
12635 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * lastfiles.C: include <iterator>
12638
12639 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12642         std::count.
12643
12644         * buffer.C (makeLaTeXFile): ditto.
12645         Also make loop operation more transparent.
12646
12647 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * ToolbarDefaults.C: remove trailing comma closing namespace.
12650
12651         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12652
12653         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12654         as in WorkArea.
12655
12656         * trans.C (Load): comment out unused variable, allowed.
12657
12658 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12659
12660         * minibuffer.[Ch] (append_char): new method to recieve input from the
12661         drop-down completion browser. If a key was pressed, then recieve this
12662         char and append it to the existing string.
12663         (peek_event): modify the positioning data passed to the completion
12664         browser so that it can be placed above the minibuffer rather than below.
12665 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12666
12667         * LyXAction.C (init): alloe error-next for readonly documents.
12668
12669         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12670         count.
12671
12672 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * bufferlist.C (readFile): create the buffer _after_ checking that
12675         the file exists.
12676
12677         * lyxfunc.C (verboseDispatch): fix handling of arguments
12678
12679         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12680
12681         * lyxrc.C: use string::erase() instead of initializing to "".
12682
12683
12684 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * BufferView_pimpl.h:
12687         * BufferView_pimpl.C:
12688         * WorkArea.h:
12689         * WorkArea.C:
12690         * text2.C: tell X when we have made a selection for copying
12691
12692 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * BufferView_pimpl.C (MenuInsertLyXFile):
12695         * lyxfunc.C (menuNew):
12696         (open):
12697         (doImport): add shortcuts to directory buttons
12698
12699         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12700         open a float)
12701
12702         * lyxfunc.C (setStatusMessage):
12703         (getStatusMessage): new methods
12704         (getStatus):use setStatusMessage instead of setErrorMessage
12705         (dispatch): when function is disabled, set error message here
12706         [instead of in getStatus previously]
12707
12708         * BufferView_pimpl.C (workAreaButtonRelease): update
12709         toolbar/menubar here too.
12710
12711 2002-01-13  Allan Rae  <rae@lyx.org>
12712
12713         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12714         Now seems indestructible.  Remaining task is to audit all other
12715         code affected by deleteEmptyParagraphMechanism.  One small quirk
12716         left is that an empty document with an error in the preamble can
12717         be made to report an error but no error box appears.  I don't know
12718         where it goes.
12719         (removeAutoInsets): Improved comments.
12720
12721 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * Thesaurus.h:
12724         * Thesaurus.C: update for Aiksaurus 0.14
12725
12726 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * text2.C (firstParagraph): removed member function, all uses
12729         replaces with ownerParagraph
12730         (redoParagraphs): here
12731         (updateInset): here
12732         (toggleAppendix): here
12733         * BufferView2.C (insertErrors): here
12734         (setCursorFromRow): here
12735
12736 2002-01-13  Allan Rae  <rae@lyx.org>
12737
12738         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12739         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12740         There is still a way to segfault this although you may have to do this
12741         multiple times: Have an InsetERT with an unknown command in it.
12742         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12743         <down-arrow>, <Enter> again, View->DVI, BANG!
12744
12745         * text2.C (setCursor):
12746         (deleteEmptyParagraphMechanism):
12747         * lyxtext.h (setCursor):
12748         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12749         Making use of the return value may help fix other bugs.
12750
12751 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12752
12753         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12754
12755         * LyXView.C (updateMenubar): call MenuBar::update here
12756         (updateToolbar): but not here
12757         (showState): do not update toolbar/menubar
12758
12759         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12760         should need to care about that.
12761
12762         * lyxfunc.C (verboseDispatch): simplify a bit
12763         (getStatus): have a version which takes a pseudoaction, and
12764         another which requires a (kb_action,string).
12765
12766         * LyXAction.C (retrieveActionArg): make it work also when action
12767         is not a pseudo-action.
12768         (getActionName): simplify a bit
12769         (helpText):
12770
12771 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * lyxfunc.C (verboseDispatch): new families of methods with
12774         several ways to specify a command and a bool to indicate whether
12775         the command name and shortcut should be displayed in minibuffer
12776         (eventually, we could extend that to a finer bitmask like
12777         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12778         (dispatch): the pristine dispatch command which just, well,
12779         dispatchs! Note it still sets its result to minibuffer; I'm not
12780         sure we want that.
12781
12782         * lyxfunc.h: remove setHintMessage
12783
12784         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12785
12786 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * BufferView_pimpl.C (specialChar): delete new inset if we have
12789         not been able to insert it.
12790
12791         * kbmap.C: revert to using int instead of kb_action, since all we
12792         are dealing with is pseudo-actions.
12793
12794         * LyXAction.C (searchActionArg): change to return int instead of
12795         kb_action, since the result is a pseudoaction.
12796
12797 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * buffer.C (insertErtContents): Fix (partially) the font bug.
12800
12801 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12802
12803         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12804         as the other one is broken on my machine!
12805
12806 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12807
12808         * commandtags.h:
12809         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12810
12811 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12814         reflect their actual use. Provide compatibility code for older lyxrc
12815         files.
12816
12817         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12818         FL_NORMAL_STYLE.
12819         change names of popup font variables in line with the changes to lyxrc.C
12820
12821 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * buffer.C (asciiParagraph): avoid outputing a word twice after
12824         an inset.
12825
12826         * lyxrc.C (getDescription): document that document_path and
12827         template_path can be empty.
12828
12829 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12830
12831         * LaTeXFeatures.C (getMacros):
12832         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12833
12834         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12835
12836         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12837         getPackages.
12838         (getPackages): rename feature "floats" to "float". Use an array to
12839         iterate over 'simple' features (i.e. just a \usepackage). Add
12840         handling of "amsmath" (renamed from "amsstyle").
12841
12842 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12843
12844         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12845         features list.
12846
12847 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12848
12849         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12850         FuncStaus::FuncStatus & FuncStaus::some_method().
12851
12852 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12853
12854         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12855         of the func_satus stuff. Edited and massaged in various ways by
12856         JMarc.
12857
12858         * lyxfunc.C (getStatus): use FuncStatus
12859
12860 2002-01-08  Juergen Vigna  <jug@sad.it>
12861
12862         * text.C (nextBreakPoint): use function Inset::isChar().
12863
12864         * paragraph.C (TeXOnePar): use function
12865         Inset::forceDefaultParagraphs.
12866
12867         * buffer.C (latexParagraphs): use function
12868         Inset::forceDefaultParagraphs.
12869
12870 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12871
12872         * lyx_gui.C (init): set the style of the menu popups to
12873         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12874
12875 2002-01-07  Juergen Vigna  <jug@sad.it>
12876
12877         * text.C (setHeightOfRow): small fix
12878         (prepareToPrint): don't look at alignment if we don't have the place
12879         for doing it.
12880
12881 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12882
12883         * box.C: New file. Move the Box methods and functions out of box.h,
12884         following Lars' suggestion.
12885
12886 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * box.h: #include "support/LOstream.h", needed for inlined function.
12889
12890         * lyxtextclass.C:
12891         * lyxtextclasslist.C: added some using std declarations.
12892
12893 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * box.h: make signed dimensions to allow insets wider than
12896           the screen (bug #162)
12897
12898         * BufferView_pimpl.C: add some insetHit debug
12899
12900 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * vc-backend.C: add FIXME
12903
12904 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12905
12906         * lyxfunc.C (getStatus): enable code for showing math font status
12907         in toolbar/menu.
12908
12909 2002-01-07  Juergen Vigna  <jug@sad.it>
12910
12911         * text.C (nextBreakPoint): removed debug output not needed anymore.
12912
12913 2002-01-06  Juergen Vigna  <jug@sad.it>
12914
12915         * text.C (nextBreakPoint): fixed up this function we had this bug
12916         since ever but now hopefully we break row better.
12917         (insertChar): we have to check if an inset is the next char as it
12918         could now happen that a large inset is causing a break.
12919
12920 2002-01-05  Juergen Vigna  <jug@sad.it>
12921
12922         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12923         if it doesn't like to be drawed.
12924
12925 2002-01-04  Juergen Vigna  <jug@sad.it>
12926
12927         * BufferView2.C (lockInset): forgot to set a cursor.
12928
12929         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12930
12931 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12932
12933         * FormMathsPanel.C:
12934         * FormMathsPanel.h
12935         * MathsSymbols.C:
12936         * form_maths_panel.C:
12937         * form_maths_panel.h:
12938         * form_maths_panel.fd: implemented sub- and super- buttons in math
12939         panel.
12940
12941         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12942         (or ^ space) to be used as in TeX (req'd by André).
12943
12944         * lyxfunc.C: Allow ^ and _ again to be used both as
12945         super/subscript (mathed) and as themselves (in text).
12946
12947 2002-01-03  Allan Rae  <rae@lyx.org>
12948
12949         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12950         "LyX" or the filename of the current buffer if it has one.  This is a
12951         modified form of John Levon's patch.
12952
12953         * XFormsView.C (setWindowTitle): also set icon title.
12954
12955         * LyXView.h (setWindowTitle): signature changed.
12956         * XFormsView.h (setWindowTitle): ditto.
12957
12958 2002-01-02  Juergen Vigna  <jug@sad.it>
12959
12960         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12961
12962 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * screen.C (topCursorVisible): introduce a temp var for
12965         text->cursor.row(), handle the case where this row is null. (kindo
12966         hachish)
12967
12968         * text2.C (setCursor): add a couple of asserts.
12969
12970         * paragraph.h (inset_iterator): add -> operator
12971
12972         * paragraph.[Ch] (autoDeleteInsets): remove member function
12973
12974         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12975         cursor pos correctly and handle inset deletion by itself.
12976         (insertErrors): move iterator declaration out of for expression
12977
12978         * lyxtextclass.C: add <algorithm>
12979
12980         * Makefile.am: added the new files to sources, removed layout.C
12981
12982         * layout.C: removed file
12983
12984         * layout.h: remove LYX_DUMMY_LAYOUT
12985
12986         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12987         layout.
12988
12989         * lyxlayout.[Ch]:
12990         * lyxtextclass.[Ch]:
12991         * lyxtextclasslist.[Ch]: new files
12992
12993         * include order changes to a lot of files, also changes because of
12994         the six new files.
12995
12996 2001-12-27  Juergen Vigna  <jug@sad.it>
12997
12998         * buffer.C (asciiParagraph): more fixes.
12999
13000         * tabular.C (ascii): make ascii export support export of only the
13001         data separated by a column-delimiter.
13002         (ascii): better support for ascii export.
13003
13004         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13005
13006 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * tabular_funcs.C: use a "using std::getline" instead of the
13009         previous fix from Angus (necessary for cxx + lyxstring)
13010
13011 2001-12-24  Juergen Vigna  <jug@sad.it>
13012
13013         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13014
13015         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13016         problems. First check a minipage also if we have some ert-contents
13017         (not only on par->size(), second set the right depth of the paragraph
13018         on the relink to the root-paragraph-list!
13019
13020         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13021         which then did not anymore update the main paragraphs on undo/redo!
13022
13023 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13026         code. Support all font-changing funcs (even those which are not in
13027         menu currently). Support for reporting font settings in
13028         mathed (disabled until Andre provides a function on mathed's side).
13029
13030         * func_status.h (toggle): small helper function to set toggle
13031         state on a flag.
13032
13033 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13034
13035         * tabular_funcs.C: getline -> std::getline
13036
13037 2001-12-21  Juergen Vigna  <jug@sad.it>
13038
13039         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13040         accessed and could be 0 (I couldn't generate this but it seems
13041         Michael could!).
13042
13043 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13046         * tabular_funcs.h: here and include iosfwd
13047
13048 2001-12-20  Juergen Vigna  <jug@sad.it>
13049
13050         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13051         inside inset but undo_par was.
13052
13053 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13054
13055         * Thesaurus.C: always include <config.h> in sources.
13056
13057         * Painter.h:
13058         * lyxlookup.h:
13059         * box.h: do not include <config.h> in header files
13060
13061         * text.C (paintLastRow): remove unused variable
13062
13063         * text.C (transformChar):
13064         (insertChar):
13065         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13066
13067         * Painter.C (text):
13068         * font.C (width): rewrite to use uppercase() instead of
13069         islower/toupper.
13070
13071         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13072
13073 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * lyxfind.C: clean up of find failure position change
13076
13077 2001-12-20  Juergen Vigna  <jug@sad.it>
13078
13079         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13080
13081         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13082         (TeXRow): added to LaTeX a single tabular row.
13083         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13084         (Latex): simplified and finally good LT-h/f support.
13085         (various_functions): just small adaptions for LT-h/f support.
13086
13087         * tabular_funcs.[hC]: added and moved here all not classfunctions
13088         of LyXTabular.
13089
13090 2001-12-19  Juergen Vigna  <jug@sad.it>
13091
13092         * tabular.[Ch]: better support for longtabular options (not finished
13093         yet!)
13094
13095 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13096
13097         * text.C (paintLastRow): use the label font instead of the font of
13098         the last character to compute the size of *_BOX. This makes more
13099         sense and avoids a crash with empty paragraphs.
13100         Use Painter::rectangle to draw EMPTY_BOX.
13101
13102 2001-12-19  Juergen Vigna  <jug@sad.it>
13103
13104         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13105         the paragraphs if the replaced paragraph is not the first one!
13106         Tried to delete not used paragraphs but does not work yet so for
13107         now it's inside #ifdef's and by default off!
13108
13109 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * MenuBackend.C: include "lyx_main.h" instead of declaring
13112         lastfiles (actually was declared as LastFiles* instead of a
13113         scoped_ptr).
13114
13115 2001-12-17  Juergen Vigna  <jug@sad.it>
13116
13117         * tabular.C (AppendColumn): applied John's fix
13118
13119 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * BufferView.h:
13122         * BufferView.C:
13123         * BufferView_pimpl.h:
13124         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13125
13126         * Makefile.am:
13127         * box.h: new start of class for above
13128
13129         * lyxfunc.C: ignore space-only minibuffer dispatches.
13130           Show the command name when it doesn't exist
13131
13132         * minibuffer.C: don't add empty lines to the history
13133
13134         * minibuffer.C: add a space on dropdown completion
13135
13136 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * text.C: fix line above/below drawing in insets
13139
13140 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13141
13142         * lyxlength.C (LyXLength): Initialize private variables.
13143
13144 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13145
13146         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13147         when inserting error insets.
13148
13149 2001-12-13  Juergen Vigna  <jug@sad.it>
13150
13151         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13152         actually sometimes the before-paragraph.
13153         (setUndo): don't clear the redostack if we're not actually undoing!
13154
13155 2001-12-06  Juergen Vigna  <jug@sad.it>
13156
13157         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13158         and fixed redoing of main paragraph, so we can use it now ;)
13159
13160         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13161
13162 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13163
13164         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13165         Juergen's request
13166
13167 2001-12-13  André Pönitz <poenitz@gmx.net>
13168
13169         * undostack.[Ch]:
13170         * undo_func.C: minor cleanup
13171
13172 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13173
13174         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13175         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13176         font in urw-fonts package which is marked as -urw-fontspecific and
13177         does not work (incidentally, changing the encoding in the
13178         fonts.dir of this package to -adobe-fontspecific fixes the
13179         problem).
13180
13181         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13182         is a crash when undoing first paragraph (Juergen, please take a
13183         look). THis does not mean the undo fix is wrong, just that it
13184         uncovers problems.
13185
13186         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13187         the (Paragraph*) version when needed instead of duplicating the
13188         code.
13189
13190         * text.C (workWidth): use Inset::parOwner to find out where the
13191         inset has been inserted. This is a huge performance gain for large
13192         documents with lots of insets. If Inset::parOwner is not set, fall
13193         back on the brute force method
13194
13195         * paragraph_pimpl.C (insertInset):
13196         * paragraph.C (Paragraph):
13197         (cutIntoMinibuffer): set parOwner of insets when
13198         inserting/removing them
13199
13200         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13201
13202 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13203
13204         * commandtags.h:
13205         * LyXAction.C:
13206         * lyx_main.C:
13207         * lyxfunc.C:
13208         * mathed/formulabase.C:
13209         * mathed/math_cursor.[Ch]:
13210         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13211
13212
13213 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * lyxlength.[Ch] (operator!=): new function
13216
13217 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13218
13219         * text.C (workWidth): use Inset::parOwner to find out where the
13220         inset has been inserted. This is a huge performance gain for large
13221         documents with lots of insets. If Inset::parOwner is not set, fall
13222         back on the brute force method
13223
13224         * paragraph_pimpl.C (insertInset):
13225         * paragraph.C (Paragraph):
13226         (cutIntoMinibuffer): set parOwner of insets when
13227         inserting/removing them
13228
13229         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13230
13231 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13232
13233         * tabular-old.C (getTokenValue):
13234         * tabular.C (getTokenValue):
13235         (write_attribute): new versions for LyXLength
13236         (everywhere): adjust the use of widths
13237
13238         * tabular.h: change the type of widths from string to LyXLength
13239
13240 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13241
13242         * paragraph.C: fixed missing line number count when exporting
13243         Environments to LaTeX file
13244
13245         * buffer.C: added informational message for checking line numbers.
13246
13247 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13248
13249         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13250         paragraph, do the 'double space' part, but not the 'empty
13251         paragraph' one.
13252
13253         * text.C (workWidth): small optimization
13254         (getLengthMarkerHeight): use minimal size for negative lengths.
13255
13256 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13257
13258         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13259
13260         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13261
13262 2001-12-11  André Pönitz <poenitz@gmx.net>
13263
13264         * FontLoader.C:
13265         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13266
13267 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * text2.C: keep selection on a setFont()
13270
13271 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * lyx_cb.C: another bv->text misuse, from insert label
13274
13275 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13276
13277         * kbsequence.h:
13278         * kbsequence.C: re-instate nmodifier mask
13279
13280 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13281
13282         * lyx_main.h: make lyxGUI private.
13283
13284 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * lyxfind.C: place the cursor correctly on failed search
13287
13288 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * text.C (getLengthMarkerHeight): for small heights, the arrows
13291         are not always on top/bottom of the text
13292         (drawLengthMarker): smaller arrows; take the left margin in
13293         account; draw also vfills.
13294         (paintFirstRow):
13295         (paintLastRow): remove special code for vfill and standard spaces,
13296         since everything is handled in drawLengthMarker now.
13297
13298 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * buffer.C (insertErtContents): try to handle font and language
13301         interaction a bit better.g
13302
13303         * ColorHandler.C (updateColor): change the hash to cover the whole
13304         LColor enum, ws cleanup
13305         (getGCLinepars): ditto
13306         (getGCLinepars): only lookup in the linecache once.
13307
13308 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13309
13310         * iterators.C (operator++): Make the iterator more robust
13311
13312         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13313         (John's patch)
13314         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13315
13316 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * lyxtext.h:
13319         * text.C: better added space drawing
13320
13321 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * LyXView.C:
13324         * BufferView2.C: fix layout combo update on inset unlock
13325
13326 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13327
13328         * Makefile.am: don't compile unused files
13329
13330 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * lyxfunc.C:
13333         * commandtags.h:
13334         * LyXAction.C: remove old LFUN_LAYOUTNO
13335
13336 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * paragraph_pimpl.h:
13339         * paragraph_pimpl.C: isTextAt() doesn't need font param
13340
13341 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * lyxlex.h:
13344         * lyxlex.C: little cleanup
13345
13346 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * BufferView_pimpl.C: fix insertAscii for insets
13349
13350 2001-12-05  Juergen Vigna  <jug@sad.it>
13351
13352         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13353         set the right font on the "multi" paragraph paste!
13354
13355 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * trans_decl.h:
13358         * trans_mgr.[Ch]:
13359         * trans.[Ch]:
13360         * lyxgluelength.C:
13361         * lyxlength.C: remove out-commented code.
13362
13363         * BufferView_pimpl:
13364         * CutAndPaste.C:
13365         * DepTable.C:
13366         * buffer.C:
13367         * chset.C:
13368         * lastfiles.C:
13369         * lyxlex.C:
13370         * lyxlex_pimpl.C:
13371         * lyxserver.C:
13372         * screen.C:
13373         * tabular-old.C:
13374         * tabular.C:
13375         * text.C:
13376         * trans_mgr.C:
13377         * vc-backend.C: change "while(" to "while ("
13378
13379         * lyxlength.[Ch]: add zero function to check if length is zero or
13380         not
13381         * lyxgluelength.C: use it
13382
13383 2001-12-05  Allan Rae  <rae@lyx.org>
13384
13385         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13386         Works for 2.95.3, from what I understand of Garst's reports this should
13387         work for other g++ versions.  We're screwed if the abs(int) definition
13388         changed between bugfix releases of gcc.
13389
13390 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * text.C: fix chapter label offset !
13393
13394 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * lyxtext.h:
13397         * text.C: fix hfill at end of line, clean up
13398
13399 2001-12-04  Juergen Vigna  <jug@sad.it>
13400
13401         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13402         that we force an update of the inset and it's owners if neccessary.
13403
13404 2001-12-03  Juergen Vigna  <jug@sad.it>
13405
13406         * text.C (rowLast): simplified code
13407
13408 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * lyxfunc.C: fix show options on timeout
13411
13412 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13413
13414         * screen.C (topCursorVisible): scroll half a page when the cursor
13415         reached top of bottom of screen
13416
13417 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * minibuffer.C: deactivate on loss of focus
13420
13421 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * vspace.[Ch] (operator!=): add operator.
13424
13425 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * BufferView_pimpl.C: refuse to open an inset when
13428         there's a selection.
13429
13430 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13431
13432         * BufferView_pimpl.C: allow to click on RHS of full row insets
13433
13434 2001-11-30  Juergen Vigna  <jug@sad.it>
13435
13436         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13437         insets for undo reasons.
13438
13439 2001-11-28  André Pönitz <poenitz@gmx.net>
13440
13441         * vspace.[Ch]: cosmetical changes
13442
13443 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13444
13445         * LyXAction.h:
13446         * LyXAction.C:
13447         * lyxfunc.h:
13448         * lyxfunc.C:
13449         * kbmap.h:
13450         * kbmap.C:
13451         * lyxrc.C:
13452         * kbsequence.h:
13453         * kbsequence.C: part re-write of old kb code
13454
13455         * Painter.C:
13456         * WorkArea.C: remove Lgb_bug_find_hack
13457
13458 2001-11-30  José Matos <jamatos@fep.up.pt>
13459
13460         * buffer.C (makeDocBookFile): add a comment to point a hack.
13461         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13462         Fixed a double write of labels.
13463
13464 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13465
13466         * LaTeX.C:
13467         * LaTeX.h Fixed bug in LaTeX class where it would not
13468         re-run latex if no depfiles were changed, but the .dvi was removed.
13469
13470 2001-11-28  André Pönitz <poenitz@gmx.net>
13471
13472         * all the files from the change on 2001/11/26:
13473         use lyx::layout_type instead of LyXTextClass::size_type
13474         use lyx::textclass_type instead of LyXTextClassList::size_type
13475
13476 2001-11-29  Juergen Vigna  <jug@sad.it>
13477
13478         * text.C: added support for paragraph::isFreeSpacing()
13479
13480         * buffer.C: same as above
13481
13482         * paragraph.h: inserted isFreeSpacing() function to enable
13483         FreeSpacing inside InsetERT.
13484
13485         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13486         of the paragraph's in the cut/copy buffer to 0!
13487
13488         * text2.C (removeRow): remove the assert as it can!
13489
13490         * lyxtext.h: added helper function firstRow returning firstrow and
13491         made firstrow private again.
13492
13493         * BufferView2.C (lockInset): don't relock if we're already locked!
13494
13495         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13496         the only paragraph.
13497         (removeRow): added Assert::(firstrow)
13498
13499         * debug.C: forgot to add INSETTEXT here.
13500
13501 2001-11-28  Juergen Vigna  <jug@sad.it>
13502
13503         * sp_spell.C (initialize): changed error text to more general
13504         spellchecker command use (not only ispell!)
13505
13506         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13507
13508         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13509
13510 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * vspace.C: initialise lyxgluelength on failure
13513
13514 2001-11-28  Allan Rae  <rae@lyx.org>
13515
13516         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13517         declaration & definition that looks like a function declaration.
13518
13519 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * BufferView2.C (copy):
13522         (copyEnvironment): do not clear the selection when doing a copy.
13523
13524         * text.C (paintFirstRow): compilation fix
13525
13526 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13527
13528         * tabular.C (Latex): correct line count when writing latex.
13529
13530 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * paragraph_pimpl.h:
13533         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13534           bug a bit
13535
13536 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * text.C:
13539         * LColor.h:
13540         * LColor.C: change vfillline->added_space
13541
13542         * text.C: add markers and text for added space
13543
13544         * vspace.C: fix comment
13545
13546 2001-11-28  André Pönitz <poenitz@gmx.net>
13547
13548         * paragraph.C: whitespace changes
13549         * all the other files from the change on 2001/11/26:
13550         change *::pos_type into lyx::pos_type
13551
13552 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13553
13554         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13555         language of the document when inserting error insets.
13556
13557 2001-11-26  André Pönitz <poenitz@gmx.net>
13558
13559         * BufferView_pimpl.[Ch]:
13560         *       CutAndPaste.C:
13561         * buffer.[Ch]:
13562         * lyxcursor.[Ch]:
13563         * lyxfind.C:
13564         * lyxfunc.C:
13565         * lyxrow.[Ch]:
13566         * paragraph.[Ch]:
13567         * paragraph_pimpl.[Ch]:
13568         * sp_spell.C:
13569         * text.C:
13570         * text2.C: reduce header dependencies, introduce type for positions
13571
13572 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * <various>: change to use Alert.h
13575
13576 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13579         when encountering an unknown token.
13580         (readLyXformat2): Show an error message if there were unknown tokens.
13581
13582 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * BufferView2.C:
13585         * BufferView_pimpl.C:
13586         * buffer.C:
13587         * paragraph.h:
13588         * text.C:
13589         * text2.C: use par->isInset()
13590
13591 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * paragraph_pimpl.h:
13594         * paragraph_pimpl.C: cleanup
13595
13596 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * text2.C (removeRow):
13599         * text.C (setHeightOfRow): remove useless (and costly) call to
13600         getRow.
13601
13602 2001-11-20  Allan Rae  <rae@lyx.org>
13603
13604         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13605         Now need Inset*::checkInsertChar() to return true for appropriate
13606         cases so that the characters in the minibuffer will actually be
13607         inserted.
13608
13609 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * text.C: change the order of the includes.
13612         (workWidth): initialize it at once.
13613         (workWidth): make maxw unsigned
13614         (setHeightOfRow): remove unused variable (inset)
13615         (selectSelectedWord): remove unused variable (inset)
13616         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13617
13618 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13621         server is not running.
13622         (openConnection):
13623         (closeConnection): add debug info when server is disabled.
13624
13625         * ColorHandler.C (getGCForeground): send debug message to GUI
13626         channel.
13627
13628         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13629
13630         * kbmap.C (bind): modify because return conventions of
13631         kb_sequence::parse have changed.
13632
13633         * kbsequence.C (parse): only ignore spaces and not any stupid
13634         control character. This avoids tests like s[i] <= ' ', which are
13635         guaranteed to fail with 8bit characters and signed chars.
13636         Change return code to string::npos when there have been no error
13637         (0 was a bad idea when error is at first character)
13638
13639 2001-11-14  José Matos  <jamatos@fep.up.pt>
13640
13641         * buffer.h:
13642         * buffer.C (simpleDocBookOnePar): removed unused argument.
13643
13644 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13645
13646         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13647         insets which are part of a word. Paragraph::isLetter takes care of
13648         that now. Use Paragraph::isInset to identify insets.
13649         (selectSelectedWord): do not test for hyphenation break.
13650
13651         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13652         that protected spaces are considered as spaces.
13653
13654         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13655         Inset::isLetter.
13656
13657 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * lyxserver.h:
13660         * lyxserver.C: fix it. and small cleanup.
13661
13662 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * BufferView_pimpl.C: use inline helpers
13665
13666         * LaTeXFeatures.h:
13667         * LaTeXFeatures.C: fix typos
13668
13669         * Spacing.h:
13670         * Spacing.C: move spacing_string into class
13671
13672         * ToolbarDefaults.C: move stuff into namespace anon
13673
13674         * layout.h: update enum
13675
13676         * lyxfunc.C: use better debug
13677
13678         * minibuffer.h: fix typo
13679
13680         * debug.h:
13681         * debug.C:
13682         * WorkArea.C: add and use Debug::WORKAREA
13683
13684         * lyxtext.h:
13685         * text.C:
13686         * text2.C: code re-organisation, inline helpers
13687
13688 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13689
13690         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13691         std::vector.empty().
13692
13693 2001-11-09  Allan Rae  <rae@lyx.org>
13694
13695         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13696         '\n's after tables.  Tabular and ERT inset work now makes this no
13697         longer necessary.
13698
13699 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13700
13701         * minibuffer.h:
13702         * minibuffer.C: fix crash, improve drop-down completion
13703
13704 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * lyxserver.h:
13707         * lyxserver.C: invalidate fd's when doing endPipe()
13708
13709 2001-11-08  José Matos  <jamatos@fep.up.pt>
13710
13711         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13712         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13713
13714         * paragraph.h:
13715         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13716
13717 2001-11-07  José Matos  <jamatos@fep.up.pt>
13718
13719         * buffer.h:
13720         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13721         const qualifier.
13722
13723         * buffer.C (sgmlOpenTag):
13724         * buffer.C (sgmlCloseTag): removed debug info.
13725
13726         * buffer.h (sgmlOpenTag):
13727         * buffer.h (sgmlCloseTag): made public.
13728
13729 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * buffer.C (saveParamsAsDefaults):
13732         * lyx_cb.C (MenuLayoutSave): remove
13733
13734         * LyXAction.C (init):
13735         * commandtags.h:
13736         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13737
13738 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * buffer.C (setPaperStuff): removed from here...
13741
13742         * bufferparams.C (setPaperStuff): ... and moved there.
13743
13744 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * minibuffer.h:
13747         * minibuffer.C:
13748         * XFormsView.C: add support for drop-down completion
13749
13750 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13753         commands.
13754
13755 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13758         disabled.
13759
13760 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * lyx_main.C: change ref to known bugs
13763
13764 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13765
13766         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13767         to work around older babel problems.
13768
13769 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13770
13771         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13772
13773 2001-10-24  Juergen Vigna  <jug@sad.it>
13774
13775         * tabular-old.C (ReadOld): below variable changes reflected.
13776
13777         * tabular.[Ch]: added ltType struct for longtable header/footer
13778         defines and changed all instances where they are used. Added
13779         future support for double top/bottom rows.
13780
13781 2001-10-24  José Matos  <jamatos@fep.up.pt>
13782
13783         * buffer.h (docbookHandleCaption):
13784         * buffer.C (docbookHandleCaption): removed unused function.
13785         (makeDocBookFile): moved docbook supported version to v4.1.
13786
13787 2001-10-24  José Matos  <jamatos@fep.up.pt>
13788
13789         * tabular.h:
13790         * tabular.C (docbookRow): new function to export docbook code of a row.
13791         (DocBook): now honors the longtable flags.
13792
13793 2001-10-23  José Matos  <jamatos@fep.up.pt>
13794
13795         * LaTeXFeatures.h:
13796         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13797         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13798
13799         * buffer.C (makeLinuxDocFile):
13800         (makeDocBookFile): reworked the preamble, more clean, and with
13801         support for lyx defined entities. Changed the document declaration
13802         to be more XML friendly.
13803
13804         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13805         if we need to output XML that should be done with a filter.
13806
13807 2001-10-22  Juergen Vigna  <jug@sad.it>
13808
13809         * sp_pspell.h (class PSpell): add alive function needed in the
13810         controller to see if the spellchecker could be started.
13811
13812 2001-10-22  Juergen Vigna  <jug@sad.it>
13813
13814         * buffer.C (insertStringAsLines): modify the font for inserting
13815         chars in certain conditions by calling checkInsertChar(font).
13816
13817 2001-10-19  Juergen Vigna  <jug@sad.it>
13818
13819         * text.C (workWidth): use getRow instead of wrong algorithm.
13820         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13821
13822 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13823
13824         * lyxserver.h:
13825         * lyxserver.C:
13826         * lyx_main.h:
13827         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13828
13829 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * text.C (workWidth): do not search for the exact row when
13832         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13833         optimization for big documents.
13834
13835 2001-10-18  Juergen Vigna  <jug@sad.it>
13836
13837         * text.C (workWidth): new function with added Inset * parameter.
13838
13839 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13842
13843         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13844         change return type of getColumnNearX.
13845
13846
13847         * text.C (changeRegionCase): use uppercase/lowercase instead of
13848         toupper/tolower.
13849         (leftMargin):
13850         (rightMargin): simplify code by factoring out the uses of
13851         textclasslist.
13852         (labelFill):
13853         (numberOfHfills):
13854         (setHeightOfRow):
13855         (appendParagraph): use Paragraph::size_type
13856
13857 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * vspace.C (asLatexString): add a missing break
13860
13861 2001-10-15  Herbert Voss  <voss@perce.de>
13862
13863         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13864
13865 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13866
13867         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13868         is not available.
13869
13870 2001-10-10  André Pönitz <poenitz@gmx.net>
13871
13872         * lyxfunc.C: removed greek_kb_flag.
13873
13874 2001-10-10  Herbert Voss  <voss@perce.de>
13875
13876         * lyx_main.C: delete global string help_lyxdir.
13877
13878 2001-10-09  Herbert Voss  <voss@perce.de>
13879
13880         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13881
13882         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13883
13884         * lyx_main.C: added global string help_lyxdir.
13885
13886         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13887
13888 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13889
13890         * lyxrc.C (set_font_norm_type): support iso8859-4
13891
13892 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13893
13894         * LaTeX.C (deplog): add another regex for MikTeX
13895
13896 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13897
13898         * lyxrc.C (set_font_norm_type): support iso8859-3
13899
13900 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13903
13904         * LaTeXFeatures.C: remove special case of french and index
13905
13906         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13907         before \begin{document}). This solves several incompatibilities.
13908
13909 2001-10-03  Garst Reese  <reese@isn.net>
13910
13911         * lyx_cb.C: change CheckTex error msg.
13912
13913 2001-10-03  José Matos  <jamatos@fep.up.pt>
13914
13915         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13916
13917 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * .cvsignore: update
13920
13921         * lyx_main.C (commandLineVersionInfo): use new style version info.
13922
13923         * buffer.C (writeFile):
13924         (makeLaTeXFile):
13925         (makeLinuxDocFile):
13926         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13927
13928         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13929
13930         * version.h: update to use stuff in version.C
13931
13932         * version.C.in: new file. Contains version information determined
13933         at compile time. This is a merging of version.h and
13934         version_info.h.in.
13935
13936 2001-10-03  Juergen Vigna  <jug@sad.it>
13937
13938         * BufferView_pimpl.C (update): don't change "dirty" status in
13939         updateInset call.
13940
13941 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * WorkArea.C (c-tor): re-position version string slightly.
13944
13945 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13948         revert to previous code.
13949
13950         WorkArea.[Ch]: (show, destroySplash): methods removed.
13951
13952         WorkArea.C: rework code so that it's an amalgam of the codes before and
13953         after the splash screen was moved to WorkArea.
13954
13955 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * lyxrc.C (read):
13958         * vspace.C (inPixels):
13959         (lyx_advance):
13960         * kbmap.C (bind):
13961         * buffer.C (insertStringAsLines):
13962         (asciiParagraph): fix types to be large enough
13963
13964         * lyxlex_pimpl.h: change member status from short to int
13965
13966         * layout.h: fix type of endlabeltype
13967
13968         * kbmap.C (bind):
13969         * kbsequence.C (parse): change return type to string::size_type
13970
13971         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13972         variable
13973
13974         * Bullet.C (bulletSize):
13975         (bulletEntry): do not use short ints as parameters
13976
13977         * BufferView2.C (insertLyXFile): change a char to an int.
13978
13979         * WorkArea.C (WorkArea): remove unneeded floats in computation
13980
13981 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13984
13985         * paragraph.C (asString): Do not ignore newline/hfill chars when
13986         copying to the clipboard.
13987
13988 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13989
13990         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13991         after a multi-line inset.
13992
13993 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * paragraph.C (validate): Set NeedLyXFootnoteCode
13996
13997 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14000         and decrease-error to decrease.
14001
14002 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14003
14004         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14005         it more readable (should be equivalent)
14006
14007 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14008
14009         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14010
14011 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14012
14013         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14014         of a cursor (row, etc.) after a character has been deleted
14015         (deleteEmptyParagraphMechanism): call the method above on _all_
14016         cursors held by the LyXText when a double space has been
14017         detected/deleted.
14018
14019 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14020
14021         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14022         pixmap.
14023         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14024
14025         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14026         background. Use greyOut() and the new show() methods to toggle between
14027         the foreground and background. Add code to remove the splash after
14028         its initial showing.
14029
14030         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14031         (create_forms): no longer call Dialogs::showSplash.
14032
14033 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14034
14035         * .cvsignore: add version_info.h
14036
14037 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * version_info.h.in: new file
14040
14041         * Makefile.am: add version_info.h.in
14042
14043         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14044         version_info.h instead of VERSION_INFO
14045
14046 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14047
14048         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14049         The ERT inset now returns string().
14050
14051 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14052
14053         * lyxtext.h, text.C (selectNextWord): renamed as
14054         selectNextWordToSpellcheck.
14055
14056         * text.C (selectNextWordToSpellcheck): Modified to not select
14057         words inside an ERT inset.
14058
14059 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * lyx_cb.C (MenuLayoutSave): change a bit the question
14062
14063         * sp_base.h: include <sys/types.h>
14064
14065 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14066
14067         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14068
14069 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14070
14071         * several files: fix typos in user-visible strings
14072
14073 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * text2.C (pasteSelection): do not set the selection, since it
14076         will be cleared later. Actually, the intent was to fix the way the
14077         selection was set, but I figured rmoving the code was just as good.
14078
14079 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * FontLoader.C (available): Check if font is available without
14082         loading the font.
14083
14084 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14085
14086         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14087
14088 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14089
14090         * lyxrc.[Ch]: added display_graphics variable and associated code.
14091
14092 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * bufferparams.C (hasClassDefaults): new method. Returns true if
14095         the buffer parameters correspond to known class defaults
14096
14097 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * XFormsView.C (show): set minimum size to the main window.
14100
14101 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * text2.C (copySelection):
14104         (cutSelection):
14105         * lyxfind.C (LyXReplace):
14106         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14107         LyXText::selectionAsString.
14108
14109         * paragraph.C (asString): add "label" argument to the second form
14110
14111         * text2.C (selectionAsString): add "label" argument and pass it to
14112         Paragraph::asString.
14113
14114 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyx_main.C (commandLineHelp): remove version information
14117
14118 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14119
14120         * lyx_main.C: add -version commandline option
14121
14122 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * paragraph.h: make the optional constructor arg required instead.
14125         some modifications to other files because of this.
14126
14127         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14128
14129         * lyxserver.C (C_LyXComm_callback): make it static
14130
14131         * lyx_main.C (error_handler): make it static
14132
14133         * lyx_gui.C (LyX_XErrHandler): make it static
14134
14135         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14136
14137         * WorkArea.C: make the extern "C" methods static.
14138
14139         * Makefile.am (lyx_LDADD): simplify
14140
14141 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14144         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14145
14146         * LyXAction.C (init):
14147         * lyxfunc.C (dispatch): associated code removal.
14148
14149 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14150
14151         * lyxfont.h (isSymbolFont): shut off warning
14152
14153         * text.C (setHeightOfRow):
14154         (getVisibleRow): fix crash with empty paragraphs which have a
14155         bottom line
14156
14157 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14158
14159         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14160         code.
14161
14162 2001-09-04  José Matos  <jamatos@fep.up.pt>
14163         * buffer.C
14164         * buffer.h
14165         * tabular.C (docbook): rename docBook method to docbook.
14166
14167 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * Makefile.am: add dependencies to main.o.
14170
14171 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14172
14173         * FontLoader.C (available): Return false if !lyxrc.use_gui
14174
14175 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14176
14177         * FontInfo.C (query):
14178         * converter.C (view):
14179         * importer.C (Import):
14180         * exporter.C (Export): Can not -> cannot.
14181
14182 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * BufferView_pimpl.C: allow to create index inset even if
14185           string is empty
14186
14187 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14188
14189         * buffer.C (getLists): replace boost::tie code with an explicit pair
14190         as boost::tie can break some compilers.
14191
14192         * iterators.h: Added a std:: declaration to the return type of
14193         ParIterator::size.
14194
14195 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14198           case.
14199
14200 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * iterators.[Ch]: New files. Provide paragraph iterators.
14203
14204         * buffer.C (changeLanguage): Use paragraph iterators.
14205         (isMultiLingual): ditto
14206
14207         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14208
14209 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * FontLoader.C: Support for cmr font.
14212
14213 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14216         (available): New method.
14217
14218         * FontInfo.C (getFontname): Use scalable fonts even when
14219         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14220         found.
14221
14222 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14223
14224         * converter.C (Formats::view): reverted! Incorrect fix.
14225
14226 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * converter.C (Formats::view): only output the -paper option
14229         if the dvi viewer is xdvi, thereby fixing bug #233429.
14230
14231 2001-08-23  Herbert Voss  <voss@perce>
14232
14233         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14234
14235 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14236
14237         * Spacing.h (Spacing): Set space to Default on in the default
14238         constructor.
14239
14240 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * vc-backend.h (RCS::versionString): add RCS to version
14243         (CVS::versionString): add CVS to version
14244
14245         * vc-backend.C (scanMaster): do not add CVS to version.
14246         (scanMaster): do not add RCS to version
14247
14248         * lyxvc.C (versionString): new method
14249
14250         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14251
14252 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * Spacing.C (set): initialize fval
14255
14256 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14257
14258         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14259         " or \.
14260
14261 2001-08-16  Juergen Vigna  <jug@sad.it>
14262
14263         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14264
14265 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * BufferView_pimpl.C:
14268         * figureForm.C:
14269         * lyxtext.h:
14270         * text2.C: setParagraph takes linespacing now
14271
14272 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * LyxAction.C: add internal LFUN_CITATION_INSERT
14275
14276         * LyXView.C: actually apply fix
14277
14278         * bufferlist.C: fix open non-existent file
14279
14280         * lyxfind.C: fix indentation
14281
14282         * lyxfunc.C: remove unneeded assert, fix typo
14283
14284 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14285
14286         * MenuBackend.C: use "Floatname List"
14287
14288 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14289
14290         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14291         when converting LaTeX layout to insetERT.
14292         Generate a non-collapsed float when reading old float
14293
14294 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14295
14296         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14297         ERT insets.
14298
14299 2001-08-13  Juergen Vigna  <jug@sad.it>
14300
14301         * text.C (fill): return 0 instead of 20 as this seems to be the more
14302         correct value.
14303
14304 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14305
14306         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14307         lyxrc.font_norm.
14308
14309 2001-08-13  Juergen Vigna  <jug@sad.it>
14310
14311         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14312         casesensitive off.
14313         (SearchBackward): comment out the unlocking of the inset_owner this
14314         should not be needed!
14315
14316 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * Many files: Remove inherit_language, and add latex_language
14319
14320         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14321         collapsible insets.
14322
14323 2001-08-10  Juergen Vigna  <jug@sad.it>
14324
14325         * text.C (prepareToPrint): fixed hfill-width in draw!
14326
14327         * BufferView2.C (selectLastWord): save the selection cursor as this
14328         now is cleared in the function LyXText::clearSelection!
14329
14330 2001-08-08  Juergen Vigna  <jug@sad.it>
14331
14332         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14333         BACKSPACE type functions.
14334
14335         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14336         is only cutted from the document but not put in the cut-buffer, where
14337         still the old stuff should be.
14338
14339         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14340
14341         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14342
14343         * tabular.C (SetWidthOfCell): fixed special case where the width
14344         was not updated!
14345         (LeftLine): handle '|' in align_special.
14346         (RightLine): ditto
14347         (LeftAlreadyDrawed): ditto
14348         (SetWidthOfCell): ditto
14349
14350 2001-08-07  Juergen Vigna  <jug@sad.it>
14351
14352         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14353
14354 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14357         * lyxlex.[hC]: ditto
14358
14359 2001-08-06  Juergen Vigna  <jug@sad.it>
14360
14361         * text.C (getVisibleRow): fix up row clearing a bit.
14362
14363 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * minibuffer.C: make sure the X server sees the changes in the input.
14366
14367 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * paragraph.C (getFont): split into...
14370         (getLabelFont): this
14371         (getLayoutFont): and this
14372         * paragraph_pimpl.C (realizeFont): calling this
14373
14374         * text2.C (getFont): split into...
14375         (getLayoutFont): this
14376         (getLabelFont): and this
14377         (realizeFont): all three calling this
14378
14379         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14380         files where used.
14381
14382 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14385
14386 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14387
14388         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14389         layouts from the Quote inset insertion.
14390
14391 2001-08-03  Juergen Vigna  <jug@sad.it>
14392
14393         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14394
14395         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14396         only if status not is already CHANGED_IN_DRAW (second level).
14397
14398         * text.C (draw): don't set the need_break_row when inside an
14399         InsetText LyXText.
14400
14401 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * buffer.C (parseSingleLyXformat2Token): handle more latex
14404         conversion cases.
14405
14406         * bufferview_funcs.[hC]: change function names to
14407         begin with small char, adjust other files.
14408
14409 2001-08-02  André Pönitz <poenitz@gmx.net>
14410
14411         * lyxfunc.C:
14412         BufferView_pimpl.C: remove broken special code for math-greek
14413
14414 2001-08-02  Juergen Vigna  <jug@sad.it>
14415
14416         * BufferView_pimpl.C (update): redone this function so that we
14417         update the text again if there was a CHANGE_IN_DRAW.
14418
14419         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14420         (drawFromTo): added a new internal bool which is used by draw() and
14421         redraw() function.
14422         (general): some cursor drawing problems fixed.
14423
14424 2001-08-01  Juergen Vigna  <jug@sad.it>
14425
14426         * lyxfind.C (LyXFind): fixed
14427         (SearchForward): ditto
14428         (SearchBackward): ditto
14429
14430         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14431         spurius drawing of the cursor in the main area.
14432
14433         * text2.C (status): small fix which could lead to a segfault!
14434         (clearSelection): remove unneeded BufferView param.
14435
14436 2001-08-01  André Pönitz <poenitz@gmx.net>
14437
14438         * lyxfunc.C: small change due to changed mathed interface
14439
14440 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14443
14444 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * lyxfunc.c: fail gracefully if file doesn't exist
14447
14448         * LyXSendto.C:
14449         * buffer.C:
14450         * lyxfunc.C:
14451         * BufferView_pimpl.C: IsDirWriteable() proto changed
14452
14453         * LyXView.C: fix updateWindowTitle() to store the last title
14454
14455 2001-07-31  Juergen Vigna  <jug@sad.it>
14456
14457         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14458         the font (wrong since using of Paragraph::highestFontInRange).
14459
14460         * paragraph.C (highestFontInRange): added a default_size parameter.
14461
14462         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14463         (setHeightOfRow): reformat
14464
14465 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * converter.[hC] + affected files: move to (inital-char)lowercase
14468         function names.
14469
14470         * ParagraphParameters.C (ParagraphParameters): remove commented code
14471
14472         * PainterBase.[Ch]: remove commented code
14473
14474         * LaTeXFeatures.h: add "bool floats" for float.sty
14475
14476         * LaTeXFeatures.C (LaTeXFeatures): init floats
14477         (require): handle float
14478         (getPackages): do it with floats
14479
14480 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * BufferView_pimpl.C (Dispatch): improve handling of
14483         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14484
14485         * commandtags.h: #include lyxfont.h here temporarily to avoid
14486         keybinding bug.
14487
14488         * bufferlist.h: include LString.h here.
14489
14490 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14491
14492         * text2.C (getStringToIndex): new method.
14493
14494 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14495
14496         * *: Reduced header file dependencies all over.
14497
14498 2001-07-30  Baruch Even  <baruch@lyx.org>
14499
14500         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14501
14502 2001-07-29  Baruch Even  <baruch@lyx.org>
14503
14504         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14505
14506 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * ParameterStruct.h (endif): add a default constructor to make
14509         sure that all variables is initialized.
14510
14511         * ParagraphParameters.C (ParagraphParameters): adjust
14512
14513 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14516         index; also, check that there is something to index, and that it
14517         does not span over several paragraphs.
14518         (doubleClick): use WHOLE_WORD_STRICT for double click.
14519
14520         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14521
14522         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14523         scheme.
14524
14525 2001-07-26  Baruch Even  <baruch@lyx.org>
14526
14527         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14528         an InsetFig figure, backwards compatible reading of old figure code.
14529
14530 2001-07-27  Juergen Vigna  <jug@sad.it>
14531
14532         * text2.C: font.realize function adaption.
14533
14534         * text.C (draw): add a warnings lyxerr text if needed.
14535
14536         * layout.C: font.realize function adaption.
14537
14538         * language.C: add inherit_language and implement it's handlings
14539
14540         * bufferview_funcs.C (StyleReset): remove language parameter from
14541         font creation (should be language_inherit now).
14542
14543         * bufferparams.C (writeFile): handle ignore_language.
14544
14545         * paragraph.C (getFontSettings): the language has to be resolved
14546         otherwise we have problems in LyXFont!
14547
14548         * lyxfont.C (lyxWriteChanges): added document_language parameter
14549         (update): removed unneeded language parameter
14550
14551         * paragraph.C (validate): fixed wrong output of color-package when
14552         using interface colors for certain fonts in certain environments,
14553         which should not seen as that on the final output.
14554
14555 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * BufferView_pimpl.C:
14558         * Thesaurus.h:
14559         * Thesaurus.C:
14560         * Makefile.am:
14561         * commandtags.h:
14562         * LyXAction.C: add thesaurus support
14563
14564         * lyxfind.h:
14565         * lyxfind.C: add "once" parameter, for thesaurus, to not
14566           move to the next match
14567
14568 2001-07-26  Juergen Vigna  <jug@sad.it>
14569
14570         * lyxfont.C (realize): honor ignore_language too!
14571         (resolved): ditto.
14572
14573         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14574
14575         * text.C (draw): one place more for ignore_language to not draw
14576         itself!
14577
14578 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14579
14580         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14581
14582 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583
14584         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14585         the minipage conversion problem.
14586
14587 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14588
14589         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14590         insert an inset.
14591
14592 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * BufferView.h: don't forward declare WorkArea
14595
14596         * BufferView.C: don't include WorkArea.h
14597
14598 2001-07-25  André Pönitz <poenitz@gmx.net>
14599
14600         * commandtags.h:
14601         * LyXAction.C:
14602         * lyxfunc.C:  new LFUN 'math-space'
14603
14604         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14605
14606 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * text2.C (toggleInset): call open/close
14609
14610 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * lyxfunc.C (dispatch): add debug for the disabled case
14613
14614         * font.C (buttonText): make similar to rectText
14615
14616         * buffer.C (readInset): comment out parsing of insetlist and
14617         insttheorem
14618
14619         * PainterBase.C (rectText): small correction
14620
14621         * BufferView_pimpl.C: comment out insettheorem and insetlist
14622         * LyXAction.C: ditto
14623         * commandtags.h: ditto
14624
14625 2001-07-24  Juergen Vigna  <jug@sad.it>
14626
14627         * text.C (draw): honor the ignore_language.
14628
14629         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14630
14631 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14634         char inset.
14635
14636 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14637
14638         * lyxtext.h: remove unused (and unimplemented) methods
14639
14640 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14641
14642         * text.C (getVisibleRow): honor background color
14643
14644         * PainterBase.h:
14645         * Painter.h: remove default color argument for fillRectangle
14646
14647         * text.C (backgroundColor): new method
14648
14649 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * text.C (getVisibleRow): adjust
14652
14653         * font.[Ch] (rectText): new method, metrics
14654         (buttonText): new method, metrics
14655
14656         * PainterBase.[hC]: make rectText and buttonText always draw and take
14657         fewer paramteres.
14658
14659 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14660
14661         * ToolbarDefaults.C (read):
14662         * MenuBackend.C (read): allow escaping in all strings
14663
14664         * BufferView_pimpl.C (insertAndEditInset): new method.
14665         (Dispatch): use insertAndEditInset whenever appropriate.
14666
14667         * BufferView_pimpl.C (insertNote): removed
14668
14669         * BufferView_pimpl.C (smartQuote): new method, moved from
14670         BufferView; if an insetquote cannot be inserted, insert a '"'
14671         character instead.
14672
14673         * BufferView2.C: remove insertCorrectQuote();
14674
14675         * lyxfunc.C (getStatus): Add support for all remaingin
14676         inset-insert lfuns.
14677
14678         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14679
14680         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14681         command (necessary to pass " as parameter of self-insert.
14682
14683         * text.C (selectWordWhenUnderCursor):
14684         (selectWord): add word_location parameter
14685         (selectWordWhenUnderCursor): same + remove special code for word
14686         boundary.
14687         (selectNextWord): use kind() to guess type of insetspecialchar,
14688         not latex().
14689
14690         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14691         (insertErtContents): create ert insets as collapsed.
14692         (readInset): better compatibility code for Info inset.
14693
14694 2001-07-20  Juergen Vigna  <jug@sad.it>
14695
14696         * lyxfunc.C (dispatch): use always LyXFind now!
14697
14698         * text2.C (init): add a reinit flag so that the LyXText can be
14699         reinited instead of deleted and reallocated (used in InsetText).
14700
14701         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14702
14703         * text.C: ditto
14704
14705         * text2.C: ditto
14706
14707 2001-07-18  Juergen Vigna  <jug@sad.it>
14708
14709         * text.C (selectNextWord): handle insets inside inset by calling
14710         always the bv->text functions so that we can go up the_locking_inset!
14711
14712         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14713         in strange locations when inside an inset!
14714
14715         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14716         handling to include insets.
14717
14718         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14719
14720 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * LyXAction.C (init):
14723         * commandtags.h:
14724         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14725         LIGATURE_BREAK, since the name is so stupid.
14726
14727 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14728
14729         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14730         InsetInfos.
14731
14732         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14733
14734         * sp_form.[Ch]: remove.
14735
14736         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14737
14738         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14739         InsetInfo.
14740
14741         * src/buffer.C (readInset): ditto.
14742
14743 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14744
14745         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14746         menuSeparator(), endOfSentenceDot(), ldots() and
14747         hyphenationPoint(), which are therefore removed.
14748         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14749
14750         * LyXAction.C (init):
14751         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14752
14753         * paragraph.C (getWord): removed.
14754
14755         * BufferView_pimpl.C (Dispatch): use last word or selection for
14756         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14757
14758         * lyx_main.C (queryUserLyXDir): do not ask before creating
14759         user_dir, except if it has been named explicitely.
14760
14761 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14762
14763         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14764         a document of zero size.
14765
14766 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14767
14768         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14769         approriately in the c-tor and in require().
14770         (getPackages): output the appropriate LaTeX for natbib support.
14771
14772         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14773         variables "use_natbib" and "use_numerical_citations" when reading the
14774         LyX file.
14775         (readInset): read the various natbib cite commands.
14776         (validate): white-space change.
14777
14778         * bufferparams.[Ch]: new variables "bool use_natbib" and
14779         "bool use_numerical_citations".
14780         (writeFile): output them in the LyX file.
14781
14782 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14783
14784         * lyxfunc.C (getStatus): add support for all the inset insertion
14785         commands.
14786
14787         * text2.C (insertInset):
14788         * paragraph.C (insetAllowed):
14789         * BufferView_pimpl.C (insertInset): update to take in account the
14790         renaming of insertInsetAllowed
14791
14792         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14793
14794         * text2.C (getInset): new method. returns inset at cursor position.
14795
14796         * BufferView_pimpl.C (Dispatch): changes because of this.
14797
14798         * LyXAction.C (init): rename open-stuff to inset-toggle.
14799
14800         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14801
14802         * text2.C (toggleInset): renamed from openStuff; use
14803         Inset::open().
14804
14805 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14806
14807         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14808
14809         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14810
14811 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14812
14813         * buffer.C (readLyXformat2): Add filename to the error dialog
14814
14815 2001-07-18  Juergen Vigna  <jug@sad.it>
14816
14817         * tabular.C (GetCellNumber): put an assert here instead of the check!
14818
14819 2001-07-17  Juergen Vigna  <jug@sad.it>
14820
14821         * BufferView_pimpl.C (toggleSelection): adapted too.
14822
14823         * text.C (selectNextWord): adapted for use with insets.
14824         (selectSelectedWord): ditto
14825
14826 2001-07-17  Juergen Vigna  <jug@sad.it>
14827
14828         * sp_spell.C (PSpell): fix initialitation order.
14829
14830 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * paragraph.C: spacing
14833
14834 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14835
14836         * sp_spell.C: repair language selection for pspell
14837
14838 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * lyxfunc.h: change more methods to begin with lower char.
14841
14842 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14843
14844         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14845         for unknown layouts.
14846
14847 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14848
14849         * buffer.C (readLyXformat2): Generate an error dialog if there are
14850         unknown layouts.
14851
14852 2001-07-16  Juergen Vigna  <jug@sad.it>
14853
14854         * sp_spell.C: always compile ISpell part.
14855
14856         * lyxrc.C: added use_pspell entry and it's handling.
14857
14858 2001-07-13  Juergen Vigna  <jug@sad.it>
14859
14860         * sp_spell.C: removed double includes.
14861
14862 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14863
14864         Consistent use of Lsstream.h:
14865         * Lsstream.h: added using std::stringstream for consistencies sake.
14866
14867         * buffer.C: removed using std::stringstream
14868
14869         * lyxfont.C (stateText):
14870         * paragraph.C (asString):
14871         * text.C (selectNextWord, selectSelectedWord):
14872         * text2.C (setCounter):
14873         * vspace.C (asString, asLatexString):
14874         std::ostringstream -> ostringstream.
14875
14876 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14877
14878         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14879         * commandtags.h: add LFUN_HELP_ABOUTLYX
14880         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14881
14882 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14883
14884         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14885         cursorToggle()
14886         * lyx_gui_misc.C: remove spellchecker
14887         * lyxfunc.C: showSpellchecker
14888         * sp_base.h: added
14889         * sp_ispell.h: added
14890         * sp_pspell.h: added
14891         * sp_spell.C: added
14892         * sp_form.[Ch]: removed
14893         * spellchecker.[Ch]: removed
14894
14895 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14896
14897         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14898         is set.
14899         (simpleTeXSpecialChars): Simply print the input character without
14900         any special translation if pass_thru is set.
14901
14902         * layout.h: Added bool pass_thru to layout class for being able to
14903         implement pass through of a paragraph for Literate Programming.
14904
14905         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14906         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14907         * layout.C (Read): add "passthru" to list of layout tags and add
14908         code to set the pass_thru boolean when it is read.
14909
14910 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * trans_decl.h: remove allowed from KmodInfo
14913
14914         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14915         remove allowed code
14916         (Load): adjust
14917
14918         * paragraph_pimpl.C (erase): use boost::prior
14919
14920         * Painter.C (text): use data() instead of c_str() when length is
14921         also provided.
14922         * WorkArea.C (putClipboard): ditto
14923         * font.h (width): ditto
14924
14925         * BufferView2.C: use it-> instead of (*it). for iterators
14926         * texrow.C: ditto
14927         * paragraph_pimpl.C: ditto
14928         * paragraph.C: ditto
14929         * minibuffer.C: ditto
14930         * language.C: ditto
14931         * kbmap.C: ditto
14932         * encoding.C: ditto
14933         * counters.C: ditto
14934         * converter.C: ditto
14935         * chset.C: ditto
14936         * Variables.C: ditto
14937         * TextCache.C: ditto
14938         * MenuBackend.C: ditto
14939         * LyXAction.C: ditto
14940         * LColor.C: ditto
14941         * FloatList.C: ditto
14942         * DepTable.C: ditto
14943         * ColorHandler.C (LyXColorHandler): ditto
14944
14945 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14948
14949         * text2.C (openStuff): reintroduce this method (which had been
14950         nuked in NEW_INSETS frenzy).
14951
14952         * lyxfunc.C (Dispatch): when an action has not been handled, use
14953         its name in the error message, not its number.
14954
14955         * paragraph.C (inInset): change method name to begin with lowercase.
14956
14957         * undo_funcs.C:
14958         * text2.C: updates because of this.
14959
14960 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * ToolbarDefaults.C (add): add spaces in error message
14963
14964 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14967         (readLyXformat2): rename return_par to first_par, use lyxlex's
14968         pushToken and remove the manual push handling.
14969         (parseSingleLyXformat2Token): add another ert comp. variable:
14970         in_tabular, rename return_par to first_par. handle newlines better
14971
14972 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14973
14974         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14975
14976 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * text2.C (getParFromID): removed
14979
14980         * buffer.C (getParFromID): new method moved form lyxtext.
14981         * BufferView2.C (insertErrors): adjust
14982         (setCursorFromRow): adjust
14983         * BufferView_pimpl.C (restorePosition): adjust
14984         * lyxfunc.C (Dispatch): adjust
14985         * undo_funcs.C (textUndo): adjust
14986         (textRedo): adjust
14987         (textHandleUndo): adjust
14988         (textHandleUndo): adjust
14989
14990 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * buffer.C: up' the LYX_FORMAT
14993
14994         * lyxfont.h: turn NO_LATEX on as default
14995
14996         * buffer.C (insertErtContents): new methods of tex style compability.
14997         (parseSingleLyXformat2Token): use it several places.
14998         * tabular.C (OldFormatRead): and here
14999
15000 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15001
15002         * text2.C: remove some commented code.
15003         reindent file.
15004
15005         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15006         * trans.C: changes because of the above.
15007
15008 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15009
15010         * text2.C (setCounter): Fix counters bug with bibliography layout.
15011
15012 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15015         own member functions
15016         (simpleTeXSpecialChars): ditto
15017
15018 2001-07-06  Juergen Vigna  <jug@sad.it>
15019
15020         * a lot of files: changed the access to LyXText::status and the
15021         call of undo-functions.
15022
15023         * undo.[Ch]: added a inset_id to the undo informations.
15024
15025         * undo_funcs.[Ch]: added and moved here all undo functions.
15026
15027         * lyxtext.h: give the status enum a weight, made status_ a private
15028         variable and made accessor functions for it, removed the whole bunch
15029         of undo-functions as they are now in their own file, make some
15030         functions publically available. Added function ownerParagraph with
15031         int parameter.
15032
15033         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15034         made InInset() a const function, added getParFromID() function.
15035
15036         * buffer.[Ch]: added const version for inset_iterator functions,
15037         added getInsetFromID() function.
15038
15039         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15040         changed undo functions for new version.
15041
15042 2001-07-05  Juergen Vigna  <jug@sad.it>
15043
15044         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15045         unknow mechanism does not call the proper constructor but only this
15046         one also if I request the other!?
15047
15048 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15051
15052         * text2.C (LyXText): use initialization lists.
15053
15054         * lyxtext.h (Selection): initialize set_ and mark_
15055         (init): remove method
15056
15057 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15058
15059         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15060
15061 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15062
15063         * screen.[Ch]: change method names to begin with lowercase
15064
15065         * BufferView_pimpl.C (updateScrollbar): simplify further and
15066         hopefully make it a bit faster.
15067
15068 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15071         calling directly xforms functions.
15072
15073         * Painter.C (Painter):
15074         * lyx_cb.C (MenuWrite):
15075         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15076         fl_display.
15077
15078         * lyx_gui.C: remove bogus guiruntime extern declaration.
15079
15080 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15083         in NEW_INSETS
15084         (redoDrawingOfParagraph): ditto
15085         (redoParagraphs): ditto
15086         (cutSelection): don't create a object for CutAndPaste use the
15087         static method directly
15088         (pasteSelection): ditto
15089
15090         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15091         LyXview (+ rename)
15092
15093 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15094
15095         * modifications to some other files because of this.
15096
15097         * Makefile.am (lyx_SOURCES): add XFormsView
15098
15099         * XFormsView.[Ch]: new files
15100
15101         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15102         the main window. Move the gui dependent stuff to XFormsView
15103
15104 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * tabular.C (GetCellInset): update cur_cell also in the row/col
15107         version of this function.
15108
15109         * lyxfunc.C: no need to include figure_form.h here.
15110
15111         * FontLoader.h:
15112         * lyxfunc.h:
15113         * lyxscreen.h:
15114         * text2.C:
15115         * lyxvc.C: no need to include forms.h here.
15116
15117 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15120
15121         * lyxfunc.C (Dispatch):
15122         * Spacing.C (set):
15123         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15124         constructor argument.
15125
15126 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * paragraph.C (Paragraph): dont't clear, and just set layout.
15129         (makeSameLayout): use params's copy contructor.
15130
15131         * ParagraphParameters.[Ch] (makeSame): delete method
15132
15133 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15134
15135         * Variables.[Ch]: fix indentation, rename set to isSet
15136
15137 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * lyxfunc.C (Dispatch): fix typo
15140
15141 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15142
15143         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15144         upper_bound.
15145
15146         * bufferlist.C: include assert.h for emergencyWrite().
15147
15148 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15149
15150         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15151           give up at last (bug #425202) !
15152
15153 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15154
15155         * lyx_gui_misc.C:
15156         * sp_form.h:
15157         * sp_form.C:
15158         * spellchecker.h:
15159         * spellchecker.C: strip spellchecker options and bring up
15160           preferences tab instead
15161
15162 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15165         the istringstream constructor
15166
15167 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15168
15169         * paragraph.C (getLayout): fix return value
15170
15171         * paragraph.h: do not declare getLayout as inline.
15172
15173         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15174
15175 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * lyxcursor.h (operator<): new func
15178         (operator>): new func
15179         (operator>=): new func
15180         (operator<=): new func
15181
15182         * text.C (changeCase): use selection.start and selection.end
15183         (changeRegionCase): require from to be <= to. Require par to be a
15184         valid paragraph.
15185
15186         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15187
15188 2001-06-27  Juergen Vigna  <jug@sad.it>
15189
15190         * text.C (cursorLeftOneWord): changed to return the cursor and added
15191         overlay with BufferView * parameter which calls this one.
15192         (getWord): added
15193         (selectWord): use new getWord function.
15194         (changeCase): renamed from changeWordCase as and extended to work
15195         also on selections.
15196
15197         * lyxtext.h: added enum word_location
15198
15199         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15200         changeCase as this operates now also on selections.
15201
15202 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15203
15204         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15205
15206         * many files: send debug output to Debug::INFO instead of
15207         Debug::ANY.
15208
15209         * converter.C (View):
15210         (Convert):
15211         (Move): send debug output to Debug::FILES instead of console.
15212
15213 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15214
15215         * lyxfunc.C (getStatus): use func_status
15216
15217         * func_status.h: new header, describing the results of
15218         LyXFunc::getStatus;
15219
15220         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15221         LFUN_MATH_HALIGN.
15222
15223 2001-06-25  The LyX Project  <jug@sad.it>
15224
15225         * buffer.C (sgmlOpenTag):
15226         (sgmlCloseTag):
15227         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15228
15229 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15230
15231         * text2.C: remove some dead code
15232
15233         * tabular.C (GetCellInset): store the last cell checked (gotten)
15234
15235         * tabular.h: add the helper for the speedup
15236
15237         * lyxtext.h: remove some dead code
15238
15239 2001-06-26  The LyX Project  <Asger>
15240
15241         * paragraph.C: Change export to LaTeX of alignment to
15242         \begin{center} and family for better roundtrip work with reLyX.
15243
15244         * Tune the math drawing a bit.
15245
15246 2001-06-25  The LyX Project  <Asger>
15247
15248         * LColor.C (LColor): New color for math background. New color
15249         for buttons.
15250
15251 2001-06-25  The LyX Project  <jug@sad.it>
15252
15253         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15254
15255         * lyxfunc.C (Open):
15256         * bufferlist.C (newFile): do not restrict to files ending with
15257         .lyx
15258
15259         * BufferView_pimpl.C (MenuInsertLyXFile):
15260
15261 2001-06-24  The LyX Project  <jug@sad.it>
15262
15263         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15264         of compare_no_case
15265
15266 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * lyxtext.h: rename most methods to begin with a small char.
15269         Lots of changes because of this.
15270
15271         * paragraph.C (Paragraph): do not call fitToSize
15272         (erase): call Pimpl::erase
15273         (insertChar): call Pimpl::insertChar
15274         (insertInset): call Pipl::insertInset
15275         (breakParagraph): do not call fitToSize
15276         (breakParagraphConservative): do not call fitToSize
15277         (fitToSize): remove method
15278
15279         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15280
15281 2001-06-24  The LyX Project  <Asger>
15282
15283         * Fix Qt compilation^2
15284
15285 2001-06-24  The LyX Project  <jug@sad.it>
15286
15287         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15288         depthHook(getDepth()-1).
15289
15290         * paragraph.h:
15291         * ParagraphParameters.h:
15292         * ParameterStruct.h: change type of depth to unsigned int ==
15293         depth_type. Many adaptations to other files before of that.
15294
15295 2001-06-24  The LyX Project  <Asger>
15296
15297         * Fix Qt compilation.
15298
15299 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * paragraph.h: renamed several methods to begin with small letter.
15302         several changes to many parts of the code because of this.
15303
15304 2001-06-23  The LyX Project  <jug@sad.it>
15305
15306         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15307         rewritten to discard all double spaces when KeepEmpty is off
15308         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15309         to only handle newlines but not fiddle with spaces and friends.
15310
15311         * lyxfunc.C (MenuNew): when doing 'new from template', use
15312         template_path as default directory
15313
15314 2001-06-23  The LyX Project  <Asger>
15315
15316         * Clean-up of header file includes all over
15317         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15318
15319 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15320
15321         * paragraph.h: renamed from lyxparagraph.h
15322
15323 2001-06-23  Asger  <lyx@violet.home.sad.it>
15324
15325         * Buffer.h: Removed Buffer::resize
15326         * BufferList.h: Removed BufferList::resize
15327         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15328         the document lazily when we change the width, or the font settings.
15329
15330 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15331
15332         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15333
15334 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15335
15336         * buffer.h: remove out of date comment
15337
15338 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15339
15340         * lyxscreen.h:
15341         * screen.C: fix "theoretical" GC leak
15342
15343 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * LaTeX.C (scanAuxFile):
15346         (deplog): remove trailing \r when reading stream (useful under
15347         win32)
15348
15349 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15350
15351         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15352         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15353         and BufferView::theLockingInset(Inset*), so should use them and not
15354         access bv_->text->the_locking_inset directly.
15355
15356         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15357
15358 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15359
15360         * Makefile.am:
15361         * tex-defs.h: remove old unused file
15362
15363 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * BufferView_pimpl.C: fix typo, remove minibuffer message
15366           when buffer has loaded
15367
15368 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * lyxfunc.C (Dispatch): use stringstream
15371         (MenuNew): use stringstream
15372         (Open): use stringstream
15373
15374         * importer.C (Import): use stringstream
15375
15376         * bufferview_funcs.C (CurrentState): use stringstream
15377
15378         * LaTeX.C (run): use stringstream
15379
15380         * BufferView_pimpl.C (savePosition): use stringstream
15381         (restorePosition): use stringstream
15382         (MenuInsertLyXFile): use stringstream
15383
15384 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15385
15386         * BufferView.C:
15387         * Bullet.C:
15388         * ColorHandler.C:
15389         * FontInfo.C:
15390         * FontLoader.C:
15391         * LColor.C:
15392         * LaTeXFeatures.C:
15393         * Painter.C:
15394         * gettext.C:
15395         * lyx_gui_misc.C:
15396         * lyxserver.C:
15397         * vspace.C: removed // -*- C++ -*- as first line.
15398
15399         * lyxfind.h:
15400         * version.h: added // -*- C++ -*- as first line.
15401
15402 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15405
15406         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15407         of string
15408
15409 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15412         of floats.
15413
15414 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15415
15416         * gettext.C: include LString.h even when --disable-nls is on.
15417
15418 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15419
15420         * converter.h (Get): changed argument type from int to
15421         FormatList::size_type to avoid unnecessary conversion.
15422
15423         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15424         before using it.
15425
15426 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15427
15428         * gettext.h: include LString.h even when --disable-nls is on.
15429
15430 2001-06-07  Juergen Vigna  <jug@sad.it>
15431
15432         * text.C (BreakAgain): subst spaces with tabs.
15433
15434         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15435         (resizeInsetsLyXText): set force on resizeLyXText.
15436
15437 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * gettext.h (gettext_init):
15440         (locale_init): use a real definition instead of a macro
15441
15442 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15443
15444         * Bufferview_pimpl.C:
15445         * LColor.h:
15446         * LColor.C: further lcolor tidies
15447
15448 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15449
15450         * BufferView_pimpl.C (updateScrollbar): simplify.
15451
15452         * BufferView2.C: don't include insets/insetinfo.h, change
15453         prototype for insertInset and call the Pimpl version. let
15454         updateInset call Pimpl version.
15455
15456         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15457         gotoInset to BufferView::Pimpl
15458
15459 2001-06-01  Juergen Vigna  <jug@sad.it>
15460
15461         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15462         inside a LockingInset (is the update needed at all?).
15463
15464 2001-05-31  Juergen Vigna  <jug@sad.it>
15465
15466         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15467         here not the old one otherwise how should we compare it afterwards
15468         if it's the same!
15469
15470 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * lyxfont.C:
15473         * tabular.C:
15474         * tabular-old.C:
15475         * FontInfo.C: bring C functions into global namespace when
15476         necessary
15477
15478 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * LString.h: make sure config.h has been loaded before LString.h.
15481
15482         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15483         (one for each char read by EatLine!).
15484
15485         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15486         variables.
15487
15488 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15489
15490         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15491         to the same as the par we break from
15492
15493 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15494
15495         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15496
15497         * MenuBackend.C (expand): also create menu entries for wide
15498         versions of the floats.
15499
15500         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15501
15502         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15503
15504         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15505         frontends/Makefile.am
15506
15507         * text2.C: adjust
15508         * text.C: adjust
15509
15510
15511         * tabular.C (getTokenValue): add std::
15512
15513         * tabular-old.C (getTokenValue): add std::
15514         (getTokenValue): ditto
15515         (getTokenValue): ditto
15516
15517         * screen.C (ToggleSelection): adjust
15518
15519         * lyxtext.h: put selection cursors inside a Selection struct.
15520
15521         * lyxfunc.C (moveCursorUpdate): adjust
15522
15523         * lyxfont.C (latexWriteStartChanges): add std::
15524
15525         * lyxfind.C: adjust
15526
15527         * font.h: delete with(char const *, LyXFont const &)
15528
15529         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15530
15531         * FontInfo.C (getFontname): add std::
15532
15533         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15534         (workAreaButtonPress): adjust
15535         (tripleClick): adjust
15536         (update): adjust
15537         (moveCursorUpdate): adjust
15538         (Dispatch): adjust
15539
15540         * BufferView2.C (gotoInset): adjust
15541
15542 2001-05-30  Juergen Vigna  <jug@sad.it>
15543
15544         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15545         to check pspell I add this as default as I now have new pspell
15546         libraries and they seem to use this.
15547
15548 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15549
15550         * text2.C (CutSelection): make the cursor valid before the call to
15551         ClearSelection.
15552
15553 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15556         relied on 0 terminated strings and other horrors. Bug found due to
15557         the new assert in lyxstring!
15558
15559         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15560         KP_ keys.
15561
15562 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15565         to latinkeys.bind.
15566
15567         * lyxfunc.C (processKeySym): change method of getting to the
15568         self-insert char.
15569
15570         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15571         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15572         * BufferView_pimpl.[Ch]: here as private methods.
15573
15574 2001-05-28  Juergen Vigna  <jug@sad.it>
15575
15576         * text.C (SetHeightOfRow): added the update() call again as it is
15577         needed to initialize inset dimensions!
15578
15579 2001-05-16  Juergen Vigna  <jug@sad.it>
15580
15581         * text2.C (SetCharFont): Add new function with BufferView * and
15582         bool toggleall parameters for setting insets internal fonts.
15583         (SetFont): Freeze the undo as we may change fonts in Insets and
15584         all this change should be inside only one Undo!
15585
15586         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15587         setting font's in insets as for them we have the SetFont function!
15588
15589 2001-05-15  Juergen Vigna  <jug@sad.it>
15590
15591         * text2.C (ClearSelection): to be sure we REALLY don't have any
15592         selection anymore!
15593
15594         * tabular.C (TeXCellPreamble): fixed the left border problem for
15595         multicolumn cells.
15596
15597 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15600         dependancy file
15601
15602 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15605         LFUN_BREAKPARAGRAPH.
15606
15607         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15608         help test to "internal only", similar for LFUN_INSERT_URL
15609
15610         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15611         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15612         auto_region_delete and deadkeys.
15613
15614 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15615
15616         * LColor.h:
15617         * LColor.C: remove some dead entries, tidy a little
15618
15619 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15620
15621         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15622         commented code.
15623         (Dispatch): implement LFUN_ESCAPE
15624
15625         * commandtags.h: add LFUN_ESCAPE
15626
15627         * LyXAction.C (init): add entry for LFUN_ESCAPE
15628
15629         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15630         Remove commented code.
15631         (insertNote): moved here
15632         (open_new_inset): moved here
15633
15634         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15635         BufferView_pimpl
15636
15637 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * kbmap.C (findbinding): clean it up and make it work correctly.
15640
15641         * lyx_main.C (init): do not pass argc and argv as parameters
15642
15643 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15644
15645         * buffer.C: fix path for OS/2 & Win32
15646
15647         * lyx_gui.C:
15648         * lyx_main:
15649         * lyx_main.C: Added os:: class.
15650
15651         * os2_defines.h: update
15652
15653 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15654
15655         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15656         better by trying again with reduced state.
15657
15658 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * lyxrc.C (read): print error about invalid key sequence only when
15661         debugging (because not all latinX keysyms are known to some X
15662         servers)
15663
15664         * kbsequence.C (getiso): add a few std:: qualifiers
15665         (getiso): comment out extra return statement.
15666
15667 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15668
15669         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15670         handling.
15671         (Dispatch): enhance the accent inset a bit. (not perfect)
15672
15673 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15676
15677 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * bufferlist.C (emergencyWrite): fix assert() call
15680
15681 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15682
15683         * text.C (InsertChar): Added trivial patch to only send the "you
15684         can not do multiple spaces this way" message once during a
15685         session.
15686
15687 2001-05-08  Baruch Even  <baruch@lyx.org>
15688
15689         * Makefile.am: Changed order of libraries to get LyX to link properly
15690         with the gnome frontend.
15691
15692 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * LaTeXFeatures.h: add a std:: qualifier
15695
15696 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * paragraph.C (String): use stringstream
15699
15700 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * paragraph.C (writeFile): remove footflag arg
15703
15704         * buffer.C (makeLaTeXFile): use stringstream
15705         (latexParagraphs): remove footnot gurba
15706
15707         * LaTeXFeatures.C (getPackages): use stringstream
15708         (getMacros): likewise
15709         (getTClassPreamble): likewise
15710         (getFloatDefinitions): new method
15711
15712         * paragraph.C (writeFile): reindent
15713         (Erase): reindent
15714
15715         * WorkArea.h: revert the xpos + etc changes.
15716
15717         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15718
15719         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15720
15721         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15722         (pasteSelection): likewise
15723         * text2.C (CreateUndo): likewise
15724
15725 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * minibuffer.C (peek_event): temporarily reduce the functionality
15728         of the minibuffer (to allow args on lfuns)
15729
15730         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15731         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15732
15733         * buffer.C (readInset): add compability reading of old float
15734         lists, add reading of new style float list.
15735         (readInset): avoid reevaluation of inscmd.getCmdName()
15736         (getLists): reindent
15737
15738         * MenuBackend.C (MenuItem): implement parsing of
15739         md_floatlistinsert and md_floatinsert.
15740         (expand::LastFiles): move initalizaton of iterators out of loop,
15741         avoid reevaluation.
15742         (expand::Documents): introduce typdedef vector<string> Strings,
15743         and use it.
15744         (expand::ExportFormats): introduce typedef vector<Format const *>
15745         Formats, and use it.
15746         (expand): implement FloatListInsert and FloatInsert.
15747
15748         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15749         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15750         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15751
15752         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15753         handling.
15754         (Dispatch::LFUN_FLOAT_LIST): implement
15755
15756 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15757
15758         * LaTeX.C (run): Fix problem with --export code.
15759
15760 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15761
15762         * BufferView.[Ch] (workarea): removed.
15763         (getClipboard) new method; wrapper for workarea()->getClipboard()
15764
15765         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15766         bug.
15767
15768         * WorkArea.h (width, height, xpos, ypos): These methods all
15769         returned the dimensions of the work_area sub-area of WorkArea,
15770         resulting in a position error if the WorkArea were resized. Now
15771         return the dimensions of the entire WorkArea.
15772
15773         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15774
15775 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * LaTeX.C (deplog): correct the syntax of regex reg1
15778
15779 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * undo.C: remove !NEW_INSETS cruft
15782
15783 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * text2.C: remove !NEW_INSETS cruft
15786
15787         * text.C: remove !NEW_INSETS cruft
15788
15789         * tabular.C: remove !NEW_INSETS cruft
15790
15791         * spellchecker.C: remove !NEW_INSETS cruft
15792
15793         * lyxtext.h: remove !NEW_INSETS cruft
15794
15795         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15796
15797         * lyxfunc.C: remove !NEW_INSETS cruft
15798
15799         * lyxfind.C: remove !NEW_INSETS cruft
15800
15801         * lyx_cb.C: remove !NEW_INSETS cruft
15802
15803         * figureForm.C: remove  !NEW_INSETS cruft
15804
15805         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15806
15807         * buffer.[Ch]: remove !NEW_INSETS cruft
15808
15809         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15810
15811         * CutAndPaste.C: remove !NEW_INSETS cruft
15812
15813         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15814
15815         * BufferView2.C: remove !NEW_INSETS cruft
15816
15817         * BufferView.h: remove !NEW_INSETS cruft
15818
15819 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * Lsstream.h: include LString.h before the sstream headers to
15822         fix problem with gcc 2.95.3 and lyxstring
15823
15824 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * lyx_main.C: add using directives when needed for C functions
15827         declared in std:: namespace.
15828
15829 2001-04-27  Juergen Vigna  <jug@sad.it>
15830
15831         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15832         (SetHeightOfRow): comment out the update call should not be needed!
15833
15834 2001-04-13  Juergen Vigna  <jug@sad.it>
15835
15836         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15837         (LyXTabular): tried to minimize operator= operations (and realized
15838         hopfully Lars wish).
15839
15840 2001-04-27  Juergen Vigna  <jug@sad.it>
15841
15842         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15843
15844 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15847
15848         * buffer.C (readInset): hack to make listof algorithm work
15849
15850         * BufferView_pimpl.C: hack to make listof algorithm work
15851
15852 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15853
15854         * LyXAction.C: removed all !NEW_INSETS cruft
15855         (init): moved lfun_item in method
15856
15857         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15858
15859 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15860
15861         * BufferView2.C (theLockingInset): white space.
15862
15863 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * minibuffer.C: include <iostream>
15866
15867         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15868
15869         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15870
15871         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15872
15873         * text.[Ch] (TransposeChars): new method
15874
15875 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * call message directly through LyXView instead of through LyXFunc
15878         * BufferView2.C: adjust
15879         * BufferView_pimpl.C: adjust
15880         * FontLoader.C: adjust
15881         * buffer.C: adjust
15882         * bufferview_funcs.C: adjust
15883         * converter.C: adjust
15884         * figureForm.C: adjust
15885         * importer.C: adjust
15886         * lyx_cb.C: adjust
15887         * lyx_gui_misc.C: adjust
15888         * lyxfunc.C: adjust
15889         * lyxvc.C: adjust
15890         * text2.C: adjust
15891         + more files in subdirs
15892
15893         * lyxparagraph.h (size): move up int file
15894         (GetLayout): ditto
15895
15896         * adjust all uses of Assert to lyx::Assert.
15897
15898         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15899         lyxfunctional in namespace lyx
15900         * layout.C (hasLayout): ditto
15901         (GetLayout): ditto
15902         (GetLayout): ditto
15903         (delete_layout): ditto
15904         (NumberOfClass): ditto
15905         * converter.C (GetFormat): ditto
15906         (GetNumber): ditto
15907         (Add): ditto
15908         (Delete): ditto
15909         (SetViewer): ditto
15910         * bufferlist.C (getFileNames): ditto
15911         (emergencyWriteAll): ditto
15912         (exists): ditto
15913         (getBuffer): ditto
15914         * MenuBackend.C (hasSubmenu): ditto
15915         (hasMenu): ditto
15916         (getMenu): ditto
15917         * BufferView_pimpl.C (getInsetByCode): ditto
15918
15919 2001-04-18  Juergen Vigna  <jug@sad.it>
15920
15921         * vspace.C (asLatexString): fixed the 100% problem.
15922
15923 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15924
15925         * lyxfunc.C (Dispatch):
15926         * minibuffer.C:
15927         * minibuffer.h: add a few std:: qualifiers
15928
15929 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * minibuffer.[Ch]: reimplement so that commands is initiated and
15932         run from lyxfunc, simplified som handling, and made the completion
15933         and history code for complete. wip.
15934
15935         * lyxfunc.C (processKeySym): call message
15936         (miniDispatch): new temporary method
15937         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15938         (LFUN_MESSAGE): implement
15939         (LFUN_MESSAGE_PUSH): implement
15940         (LFUN_MESSAGE_POP): implement
15941         (initMiniBuffer): the initial/defualt minibuffer message.
15942
15943         * lyxfont.[Ch]: inline some more getters
15944
15945         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15946
15947         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15948
15949         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15950         (AutoSave): use LFUN_MESSAGE
15951         (Reconfigure): ditto
15952
15953         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15954
15955         * figureForm.C: use LFUN_MESSAGE
15956
15957         * converter.C (runLaTeX): use LFUN_MESSAGE
15958
15959         * bufferview_funcs.C: use LFUN_MESSAGE
15960         (Melt): ditto
15961         (changeDepth): ditto
15962
15963         * bufferparams.h: use boost::
15964
15965         * bufferlist.h: inherit privately from noncopyable
15966
15967         * bufferlist.C (loadLyXFile): remove some commented code.
15968
15969         * buffer.C (runChktex): use LFUN_MESSAGE
15970
15971         * ShareContainer.h: inherit privately from noncopyable
15972
15973         * ParagraphParameters.[hC] (depth): inline it.
15974
15975         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15976         methods.
15977         (message): new method
15978         (messagePush): ditto
15979         (messagePop): ditto
15980         (show): init minibuffer
15981         (showState): direct call
15982
15983         * LaTeX.[Ch]: inherit privately from noncopyable
15984         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15985         instead of WriteStatus.
15986
15987         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15988
15989         * BufferView_pimpl.C (buffer): don't init minibuffer
15990         (workAreaButtonPress): use LFUN_MESSAGE
15991         (workAreaButtonRelease): ditto
15992         (savePosition): ditto
15993         (restorePosition): ditto
15994         (MenuInsertLyXFile): ditto
15995         (workAreaExpose): don't init minibuffer
15996         (update): remove commented code, simplify
15997
15998         * BufferView2.C (openStuff): use LFUN_MESSAGE
15999         (toggleFloat): ditto
16000         (menuUndo): ditto
16001         (menuRedo): ditto
16002         (copyEnvironment): ditto
16003         (pasteEnvironment): ditto
16004         (copy): ditto
16005         (cut): ditto
16006         (paste): ditto
16007         (gotoInset): ditto
16008         (updateInset): remove some commented code
16009
16010         * lastfiles.h: inherit privately from noncopyable
16011         * layout.h: ditto
16012         * lyx_gui.h: ditto
16013         * lyx_main.h: ditto
16014         * lyxlex.h: ditto
16015         * lyxlex_pimpl.h: ditto
16016
16017         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16018         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16019         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16020
16021         * LyXAction.h: inherit privately from noncopyable, add methods
16022         func_begin, func_end, returning iterators to the func map.
16023
16024         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16025         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16026         (func_begin): new method
16027         (func_end): new method
16028
16029         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16030         and not)
16031         (copySelection): ditto
16032         (pasteSelection): ditto
16033
16034         * BufferView.C: whitespace change
16035         * BufferView.h: inherit privately from noncopyable
16036
16037 2001-04-16  Allan Rae  <rae@lyx.org>
16038
16039         * tabular-old.C (l_getline):
16040         * spellchecker.C (sc_check_word):
16041         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16042         an unrecognised preprocessor directive.  So ensure they're wrapped.
16043
16044 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16045
16046         * src/exporter.C (Export): Give an error message when path to file
16047         contains spaces.
16048
16049 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16050
16051         * LaTeX.C (deplog): Always check that foundfile exists.
16052
16053 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16054
16055         * lyx_main.h:
16056         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16057
16058 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * tabular.[Ch] (getLabelList): implement new method
16061
16062         * minibuffer.h: comment ouf setTiimer
16063
16064         * minibuffer.C (ExecutingCB): constify res
16065         (peek_event): constify s
16066         (Set): constify ntext
16067         (Init): constify nicename
16068
16069         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16070
16071         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16072         (savePosition): use two params to Minibuffer::Set
16073         (restorePosition): ditto
16074
16075 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16076
16077         * lyx_main.C: include language.h
16078
16079         * Makefile.am (lyx_main.o): add language.h
16080
16081 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * exporter.C:
16084         * paragraph.C:
16085         * screen.C:
16086         * tabular.C:
16087         * CutAndPaste.C: include gettext.h
16088
16089         * lyxfont.h: remove old hack with ON and OFF.
16090
16091         * lyxparagraph.h:
16092         * lyxfont.h: do not include language.h...
16093
16094         * BufferView2.C:
16095         * LaTeXFeatures.C:
16096         * Painter.C:
16097         * bufferview_funcs.C:
16098         * font.C:
16099         * lyxfont.C:
16100         * text.C:
16101         * text2.C:
16102         * trans_mgr.C:
16103         * paragraph.C: ... but do it here instead
16104
16105 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16106
16107         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16108
16109         * tabular.C: small reformat
16110
16111         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16112         NEW_INSETS version
16113         (GetChar): ditto
16114         (BreakParagraph): ditto
16115         (SetOnlyLayout): ditto
16116         (SetLayout): ditto
16117
16118         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16119         with one arg less.
16120
16121         * lastfiles.C: removed most using decl, add std:: where needed
16122
16123         * buffer.C: ws changes
16124
16125         * MenuBackend.C (class compare_format): put into anon namespace
16126         (expand): constify label, names, action, action2
16127         (expand):
16128
16129         * text.C (SingleWidth): constify font
16130         (IsBoundary): constify rtl2
16131         (GetVisibleRow): constify ww
16132
16133         * LaTeX.C (deplog): constify logfile
16134
16135         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16136         start_x, end_x
16137         (workAreaExpose): constify widthChange, heightChange
16138
16139         * lyxrow.C (par): moved
16140         (height): moved
16141         (next): moved
16142         * lyxrow.h: as inlines here
16143
16144         * lyxfont.h (shape): moved from lyxfont.C
16145         (emph): moved from lyxfont.C
16146
16147         * lyxfont.C (LyXFont): use initialization list for all
16148         constructors
16149         (shape): move to lyxfont.h as inline
16150         (emph): move to lyxfont.h as inline
16151
16152
16153 2001-04-04  Juergen Vigna  <jug@sad.it>
16154
16155         * vspace.C: had to include stdio.h for use of sscanf
16156
16157 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16158
16159         * BufferView.h:
16160         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16161         independent of xforms.
16162
16163 2001-04-02  Juergen Vigna  <jug@sad.it>
16164
16165         * spellchecker.C: fixed namespace placing!
16166
16167 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16168
16169         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16170         the LyXParagraph * is 0.
16171
16172 2001-03-29  Juergen Vigna  <jug@sad.it>
16173
16174         * vspace.C: added support for %, c%, p%, l%.
16175         (stringFromUnit): added helper function.
16176         (asLatexString): changed to give right results for the %-values.
16177
16178         * buffer.C: convert the widthp in a width%.
16179
16180 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16181
16182         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16183         figureForm.[Ch].
16184
16185         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16186         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16187
16188         * lyx_cb.[Ch]: see above.
16189
16190         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16191         form1.[Ch].
16192
16193         * form1.[Ch]:
16194         * lyx.[Ch]: replaced by figure_form.[Ch].
16195
16196         * lyx_gui.C:
16197         * lyx_gui_misc.C:
16198         * lyxfunc.C: changed headers associated with above changes.
16199
16200 2001-03-27  Juergen Vigna  <jug@sad.it>
16201
16202         * BufferView_pimpl.C: set the temporary cursor right!
16203
16204 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16205
16206         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16207
16208 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16209
16210         * LString.h: removed "using std::getline"!
16211
16212         * BufferView_pimpl.C (Dispatch): changes due to changes in
16213         InsetInclude::Params.
16214
16215         * buffer.C (tag_name): removed redundant break statements as they were
16216         producing lots of warnings with my compiler.
16217
16218 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * LString.h: add "using std::getline" when using the real <string>.
16221
16222 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16223
16224         * buffer.C: removed bitset usage.
16225         PAR_TAG moved to an anonymous name space.
16226         (tag_name): new funtion, also in the anonymous namespace.
16227         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16228         (makeDocBookFile): clean code. Completed transition from string arrays
16229         to string vectors.
16230         (SimpleDocBookOnePar): code clean.
16231
16232 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16233
16234         * tabular.C: add some comments.
16235
16236 2001-03-22  Juergen Vigna  <jug@sad.it>
16237
16238         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16239         compatibility read a bit and fixed bug with minipage in different
16240         depth.
16241
16242 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16243
16244         * buffer.C (pop_tag): removed.
16245         (push_tag): removed.
16246         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16247         array replaced with vector. Added support for CDATA sections.
16248         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16249         at any nest level.
16250         (makeDocBookFile): XML conformant declaration of CDATA section,
16251         fixed bug related to <emphasis> in the first paragraph char.
16252         (sgmlOpenTag): exclude empty tags.
16253         (sgmlCloseTag): ditto.
16254
16255         * buffer.h (pop_tag): removed.
16256         (push_tag): removed.
16257
16258 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16259
16260         * language.h (Languages): added size_type and size().
16261
16262 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16263
16264         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16265         response on compability reading of minipages. One probliem is that
16266         the old usage of minipages was «flertydig»
16267
16268         * several files here and in subdirs: don't use static at file
16269         scope use anon namespaces instead.
16270
16271 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16272
16273         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16274         LaTeX output. This is necessary for Literate document
16275         processing.
16276
16277 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16278
16279         * buffer.C: insert hfill when needed.
16280
16281         * tabular.C (l_getline): use string::erase, small whitespace change.
16282
16283         * BufferView_pimpl.C: try the anon namespace.
16284         * WorkArea.C: ditto
16285
16286 2001-03-16  Juergen Vigna  <jug@sad.it>
16287
16288         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16289         otherwise it won't open options-dialogs.
16290
16291         * buffer.C: honor pextraWidth(p) on converting minipages.
16292
16293         * tabular.C (l_getline): changed the functions to strip trailing \r.
16294
16295 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16296
16297         * BufferView_pimpl.C:
16298         * minibuffer..C: added "using SigC::slot" declaration.
16299
16300 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16301
16302         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16303
16304         * text2.C: ditto
16305
16306         * text.C: ditto
16307
16308         * paragraph.C: ditto
16309
16310         * lyxtext.h: NO_PEXTRA
16311
16312         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16313
16314         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16315         * ParameterStruct.h: ditto
16316         * ParagraphParameters.h: ditto
16317         * lyxparagraph.h: ditto
16318
16319 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16320
16321         * buffer.C: add compability for minipage alignment.
16322         (latexParagraphs): remove unwanted pextra check.
16323
16324         * several files: remove CXX_WORKING_NAMESPACES
16325
16326         * buffer.C (pop_tag): tie is in namespace boost
16327
16328         * BufferView.h: noncopyable is in namespace boost
16329         * lyxlex.h: ditto
16330         * lyx_main.h: ditto
16331         * lyx_gui.h: ditto
16332         * layout.h: ditto
16333         * lastfiles.h: ditto
16334         * bufferlist.h: ditto
16335         * ShareContainer.h: ditto
16336         * LyXView.h: ditto
16337         * LyXAction.h: ditto
16338         * LaTeX.h: ditto
16339
16340 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16341
16342         * Merging changes from BRANCH_MVC back into HEAD.
16343
16344         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16345
16346 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16347
16348         * BufferView_pimpl.C: change from intl.C
16349
16350         * combox.h:
16351         * combox.C:
16352         * Makefile.am: move combox.*
16353
16354         * form1.h:
16355         * form1.C:
16356         * lyx_gui.C:
16357         * intl.h:
16358         * intl.C: remove dialog (covered by prefs)
16359
16360 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16361
16362         * lyxfunc.C (Dispatch): removed redundant break statement.
16363
16364 2001-03-14  Juergen Vigna  <jug@sad.it>
16365
16366         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16367
16368 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16369
16370         * buffer.C: add hack to fix compability reading of minipages.
16371
16372 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16373
16374         * buffer.C (getLists): Cleanup.
16375
16376 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16377
16378         * lyxfont.C (update): don't honor toggleall on font size.
16379
16380 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16381
16382         * bmtable.c:
16383         * bmtable.h:
16384         * Makefile.am: moved to frontends/xforms/
16385
16386         * lyx_gui_misc.C:
16387         * lyxfunc.C:
16388         * BufferView_pimpl.C: changes for moved mathpanel
16389
16390 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * gettext.h: fix gettext_init() in --disable-nls
16393
16394 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16395
16396         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16397
16398 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16399
16400         * lyx.C:
16401         * lyx.h: strip external form
16402
16403 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16404
16405         * BufferView_pimpl.C: add comment, destroySplash()
16406
16407 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16408
16409         * BufferView_pimpl.C:
16410         * LyXAction.C:
16411         * buffer.C:
16412         * commandtags.h:
16413         * lyxfunc.C: use re-worked insetinclude
16414
16415 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16416
16417         * buffer.C: add using std::stringstream.
16418
16419         * lyx_cb.C: readd using std::ios.
16420
16421         * buffer.C: add using std::map.
16422
16423         * BufferView_pimpl.C: add using std::vector.
16424
16425         * ShareContainer.h: add std:: to swap.
16426
16427         * buffer.h: add some typedefs
16428         * buffer.C (getLists): use them
16429         (getLists): renamed from getTocList.
16430         add a counter for the different float types and use it in the
16431         generated string.
16432         (getLists): use the same counter for the NEW_INSETS and the "non"
16433         NEW_INSETS
16434
16435         * lyx_cb.h: remove unused items, includes, using etc.
16436
16437         * ShareContainer.h: remove some commented code, add more comments
16438         and "documentation".
16439
16440 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16441
16442         * buffer.C (getTocList): make the list also when NEW_INSETS is
16443         defined.
16444
16445         * buffer.h: remove TocType
16446
16447         * buffer.C (getTocList): change to return a map<string,
16448         vector<TocItem> >, implement for dynamic number of list.
16449
16450         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16451         * text2.C (PasteSelection): adjust
16452         * CutAndPaste.C (pasteSelection): adjust
16453
16454         * FloatList.C (FloatList): update from the new_insets branch.
16455         * Floating.[Ch]: ditto
16456         * LaTeXFeatures.C: ditto
16457         * buffer.C: ditto
16458         * lyxlex_pimpl.C: ditto
16459
16460         * paragraph.C (Last): remove when NEW_INSETS is defined.
16461
16462         * other file: changes because of the above.
16463
16464 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16465
16466         * lyxparagraph.h: rename next to next_, previous to previous_,
16467         make them private for NEW_INSETS. Rename Next() to next(),
16468         Previous() to previous().
16469
16470         * other files: changes because of the above.
16471
16472 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16473
16474         * BufferView.h:
16475         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16476         problem.
16477
16478 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16479
16480         * main.C (main): pass lyx_localedir to gettext_init().
16481
16482         * gettext.h: remove locale_init and gettext_init macros
16483
16484         * gettext.C (locale_init): new function
16485         (gettext_init): new function
16486
16487         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16488         setlocale().
16489
16490 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16491
16492         * Moved credits to frontends:
16493         * credits.[Ch]: removed
16494         * credits_form.[Ch]: removed
16495         * lyx_gui_misc.C: remove credits stuff
16496         * Makefile.am:
16497
16498 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16499
16500         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16501
16502         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16503         unneeded destructor.
16504
16505         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16506         a standalone pointer again.
16507
16508         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16509
16510 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16511
16512         * Makefile.am:
16513         * filedlg.h:
16514         * filedlg.C:
16515         * LyXAction.C:
16516         * ToolbarDefaults.C:
16517         * bufferlist.C:
16518         * commandtags.h:
16519         * form1.C:
16520         * form1.h:
16521         * lyx_cb.C:
16522         * lyx_cb.h:
16523         * lyxfunc.h:
16524         * lyxfunc.C:
16525         * BufferView_pimpl.C: use new file dialog in GUII
16526
16527         * lyx_cb.h:
16528         * lyx_cb.C: remove LayoutsCB to Toolbar
16529
16530 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16531
16532         * ShareContainer.h (get): add std:: qualifier
16533
16534 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * ShareContainer.h: define a proper ShareContainer::value_type
16537         type (and use typename to please compaq cxx)
16538
16539 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16540
16541         * lyxparagraph.h: move serveral local vars to
16542         ParameterStruct/ParagraphParameters., use ShareContainer in
16543         FontTable., make vars in FontTable private and add getter and
16544         setter.
16545
16546         * paragraph.C: changes because of the above.
16547
16548         * lyxfont.h: remove copy constructor and copy assignment. (the
16549         default ones is ok), move number inside FontBits. move inlines to
16550         lyxfont.C
16551
16552         * lyxfont.C: add number to initializaton of statics, move several
16553         inlines here. constify several local vars. some whitespace
16554         cleanup. Dont hide outerscope variables.
16555
16556         * Spacing.h: add two new constructors to match the set methods.
16557
16558         * ShareContainer.h: new file, will perhaps be moved to support
16559
16560         * ParameterStruct.h: new file
16561
16562         * ParagraphParameters.h: new file
16563
16564         * ParagraphParameters.C: new file
16565
16566         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16567         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16568
16569         * BufferView_pimpl.C: ParagraphParameter changes.
16570         * buffer.C: Likewise.
16571         * bufferview_funcs.C: Likewise.
16572         * text.C: Likewise.
16573         * text2.C: Likewise.
16574
16575 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16576
16577         * lyxfind.C (LyXReplace): do not redefine default argument in
16578         implementation.
16579         (IsStringInText): ditto
16580         (SearchForward): ditto
16581         (SearchBackward): ditto
16582
16583 2001-03-06  Juergen Vigna  <jug@sad.it>
16584
16585         * lyxfind.C (IsStringInText): put parentes around expressions.
16586
16587 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16588
16589         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16590
16591 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16592
16593         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16594
16595         * stl_string_fwd.h: add comment
16596
16597         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16598
16599         * tabular.h:
16600         * tabular.C: remove unused DocBook methods
16601
16602         * intl.C:
16603         * language.C:
16604         * paragraph.C:
16605         * buffer.C:
16606         killed DO_USE_DEFAULT_LANGUAGE
16607
16608 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16609
16610         * lyx_gui.C: do not include language.h.
16611
16612         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16613         arguments in function implementation.
16614
16615 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16616
16617         * BufferView_pimpl.C: add <ctime>
16618
16619 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16620
16621         * BufferView_pimpl.C: add using std::find_if
16622
16623 2001-02-27  José Matos  <jamatos@fep.up.pt>
16624
16625         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16626         by OnlyPath.
16627
16628 2001-02-11  José Matos  <jamatos@fep.up.pt>
16629
16630         * buffer.C (makeDocBookFile): command styles now have a parameter as
16631         "title" by default.
16632
16633 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16634
16635         * layout_forms.[Ch]: removed
16636         * lyx_cb.[Ch]: out character
16637         * lyx_gui.C: out character
16638         * lyx_gui_misc.C: out character
16639         * bufferview_funcs.C: : out character,
16640         added toggleall as parameter in ToggleAndShow
16641
16642 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16643
16644         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16645
16646         * text2.C (SetCurrentFont): Disable number property at boundary.
16647
16648 2001-02-26  Juergen Vigna  <jug@sad.it>
16649
16650         * lyxfunc.C (getStatus): added a string argument override function so
16651         that this is correctly called from LyXFunc::Dispatch if it contains a
16652         do_not_use_argument which is used!
16653         (Dispatch): added check for "custom" export and call appropriate func.
16654
16655 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16656
16657         * lyxrc.C: Add language_command_local, language_use_babel and
16658         language_global_options.
16659
16660         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16661
16662         * buffer.C (makeLaTeXFile): Use language_use_babel and
16663         language_global_options.
16664
16665 2001-02-23  Juergen Vigna  <jug@sad.it>
16666
16667         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16668         which works with LyXText and putted it inside BufferView. Here now we
16669         only call for that part the BufferView::Dispatch() function.
16670
16671         * BufferView.C (Dispatch): added.
16672
16673         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16674         functions which needs to use a LyXText over from LyXFunc.
16675         (MenuInsertLyXFile): added
16676         (getInsetByCode): added
16677         (moveCursorUpdate): added
16678         (static TEXT): added
16679
16680 2001-02-22  Juergen Vigna  <jug@sad.it>
16681
16682         * BufferView_pimpl.C (update): call a status update to see if LyXText
16683         needs it.
16684
16685 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * vc-backend.C (revert): implement for CVS
16688         (getLog): implement for CVS
16689
16690 2001-02-20  Juergen Vigna  <jug@sad.it>
16691
16692         * text2.C (ClearSelection): added BufferView param for inset_owner call
16693
16694         * lyxfunc.C (TEXT): added this function and use it instead of
16695         directly owner->view()-text of getLyXText().
16696
16697 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16698
16699         * src/layout_forms.C: out preamble
16700         * src/layout_forms.h: out preamble
16701         * src/lyx_cb.C: out preamble
16702         * src/lyx_cb.h: out preamble
16703         * src/lyx_gui.C: out preamble
16704         * src/lyx_gui_misc.C: out preamble
16705         * src/lyxfunc.C: connect with guii preamble
16706
16707 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16708
16709         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16710
16711 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16712
16713         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16714         whether to run bibtex.
16715
16716 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16717
16718         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16719
16720 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16721
16722         * Makefile.am (lyx_SOURCES): removed bibforms.h
16723
16724         * vspace.h: doxygen
16725
16726         * text.C (GetVisibleRow): make several local vars const
16727
16728         * tabular.C: small cleanup.
16729
16730         * lyxserver.C (callback): use compare instead of strncmp
16731
16732         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16733         inlines to after class or to paragraph.C
16734
16735         * lyxfont.h: remove friend operator!=
16736
16737         * converter.h: move friend bool operator< to non friend and after
16738         class def.
16739
16740         * combox.h: small cleanup
16741
16742         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16743         to inlines after class def.
16744
16745         * buffer.C (pop_tag): use string operations instead of strcmp
16746
16747         * bmtable.c: doxygen, small cleanup
16748
16749         * LaTeX.h: remove friend operator==
16750
16751 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16752
16753         * screen.C:
16754         * lyxrc.[Ch]:
16755         * lyxfunc.C:
16756         * lyxfont.[Ch]:
16757         * lyx_cb.C:
16758         * intl.[Ch]:
16759         * commandtags.h:
16760         * buffer.C:
16761         * WorkArea.[Ch]:
16762         * LyXAction.C:
16763         * BufferView_pimpl.C:
16764         * BufferView.[Ch]: remove cruft
16765
16766 2001-02-14  Juergen Vigna  <jug@sad.it>
16767
16768         * lyxfunc.C: removed #if 0 unused code
16769
16770         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16771
16772         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16773
16774         * text2.C (SetSelection): added a BufferView * parameter
16775
16776 2001-02-13  Juergen Vigna  <jug@sad.it>
16777
16778         * lyxfunc.C (Dispatch): fixed protected blank problem.
16779         * BufferView2.C (protectedBlank): added LyxText * parameter.
16780
16781         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16782         (AppendColumn): same as above for column_info.
16783
16784         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16785         (moveCursorUpdate): use a LyXText param for support of InsetText.
16786
16787         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16788         (tripleClick): ditto
16789
16790         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16791
16792         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16793
16794         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16795
16796         * text2.C (SetSelection): set correct update status if inset_owner
16797         (ToggleFree): ditto
16798
16799 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16800
16801         * tabular.C: remove some commented code.
16802
16803 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16804
16805         * BufferView_pimpl.C: call hideSplash()
16806
16807         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16808
16809         * include_form.h:
16810         * bibforms.h: remove
16811
16812         * lyxfunc.C:
16813         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16814           add LFUN_CHILD_CREATE
16815
16816         * counters.h: fix tiny typo
16817
16818         * lyx_cb.C:
16819         * lyx.h:
16820         * lyx_gui.C:
16821         * lyx.C: move splash to frontends/xforms/
16822
16823         * lyx_gui_misc.C: move Include and Bibform to frontends
16824
16825         * lyxvc.h: clarify comment
16826
16827         * vspace.C: tiny housekeeping
16828
16829 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * text.C (PrepareToPrint): RTL Fix.
16832
16833         * paragraph.C (GetUChar): New method.
16834         (String):  Use GetUChar.
16835
16836         * buffer.C (asciiParagraph): Use GetUChar.
16837
16838 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16839
16840         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16841
16842 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16843
16844         * buffer.h:
16845         * buffer.C: rename to getLogName(), handle
16846           build log / latex log nicely
16847
16848 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16849
16850         * MenuBackend.C:
16851         * MenuBackend.h: remove support for reference menuitem type.
16852
16853 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16854
16855         * BufferView_pimpl.C: housekeeping
16856         * BufferView_pimpl.h:
16857         * LyXView.h:
16858         * Makefile.am:
16859         * Timeout.C:
16860         * Timeout.h:
16861         * minibuffer.h: move Timeout GUI-I
16862
16863 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16864
16865         * lyxrc.C (read): Update converters data-structures.
16866
16867 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16868
16869         * LaTeX.h (operator!=): add operator != for Aux_Info
16870
16871 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16872
16873         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16874
16875         * LaTeXLog.C: deleted, useful code moved to Buffer
16876
16877         * buffer.h:
16878         * buffer.C: new function getLatexLogName()
16879
16880         * lyx_gui_misc.C:
16881         * lyx_gui.C:
16882         * lyxvc.C:
16883         * lyxvc.h:
16884         * lyxfunc.C: use frontends for LaTeX and VC logs
16885
16886 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * LaTeX.h: yet another std:: that Allan forgot.
16889
16890         * Variables.C (set): renamed from isset(), because this clashes
16891         with some HP-UX macros (grr).
16892
16893 2001-02-06  Allan Rae  <rae@lyx.org>
16894
16895         * LaTeX.h: Another bug fix.  Missing std:: this time.
16896
16897 2001-02-04  Allan Rae  <rae@lyx.org>
16898
16899         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16900         floats problem. I've left it commented out because it's not quite
16901         correct.  It should also test that the current object is a table or
16902         figure inset.  But I haven't gotten around to figuring out how to do
16903         that.  I *think* it'll be something like: "table" == inset.type()
16904
16905         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16906         bool.
16907
16908 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16909
16910         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16911         all the citation/databases/styles in the auxilary file.
16912         (run): Rerun latex if there was a babel language error.
16913
16914 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16915
16916         * text.C (Backspace): Preserve the font when changing newline char
16917         with a space.
16918         (BreakParagraph): If the cursor is before a space, delete the space.
16919
16920         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16921
16922 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16923
16924         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16925         new argument (code).
16926         (ChangeCitationsIfUnique): New method.
16927
16928         * paragraph.C (GetPositionOfInset): Handle bibkey.
16929
16930 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16931
16932         * BufferView_pimpl.h: change type of Position::par_pos to
16933         LyXParagraph::size_type.
16934
16935 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16936
16937         * BufferView_pimpl.C (savePosition, restorePosition): Write
16938         messages to minibuffer.
16939
16940 2001-01-28  José Matos  <jamatos@fep.up.pt>
16941
16942         * buffer.C (makeDocBookFile): adds support for document language.
16943         A silly restriction on the name of LatexCommand types where removed.
16944         Added support for CDATA sections, allows to chars unescaped, used
16945         among others in code, to avoid escape < and >.
16946
16947 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16948
16949         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16950         saved positions instrad of a stack. Furthermore, a position is
16951         stored using paragraph id/paragraph position.
16952
16953         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16954         Remove LFUN_REF_BACK.
16955
16956 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16957
16958         * converter.C (dvipdfm_options): New method.
16959
16960 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16961
16962         * vspace.C (isValidLength): Fix for empty input string.
16963
16964 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16965
16966         * LyXAction.C (init): change description of LFUN_FIGURE to
16967         "Insert Graphics"
16968
16969 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16970
16971         * LaTeX.C: add using directive
16972
16973 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16974
16975         * MenuBackend.C (expand): Fix the sorting of the formats.
16976
16977 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16978
16979         * lyx_main.C: tiny error message fix
16980
16981 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16982
16983         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16984         calling fl_initialize(). This fixes the problem with ',' as
16985         decimal separator in text files.
16986
16987 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16988
16989         * trans.C (process): Fix the keymap bug.
16990
16991 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16992
16993         * LaTeX.C (scanAuxFiles): New method. Provides support for
16994         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16995         (scanLogFile) Scan for "run BibTeX" messages.
16996
16997         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16998         OT1 font encoding. Also, load the aecompl package if the ae
16999         package is loaded.
17000
17001         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17002
17003 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17004
17005         * texrow.C (increasePos): turn two error messages into debug
17006         messages.
17007
17008 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17009
17010         * LaTeX.C (scanAux): Handle the \@input macro.
17011         (runBibTeX): Use scanAux().
17012
17013         * language.C (latex_options_): New field.
17014
17015         * LaTeXFeatures.C (getMacros): Add language macros.
17016
17017         * buffer.C (makeLaTeXFile): Small fix.
17018
17019 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17020
17021         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17022
17023         * text2.C: add a using directive.
17024
17025 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17026
17027         * BufferView2.C:
17028         * lyx_gui_misc.h:
17029         * lyxfr1.C:
17030         * lyxfunc.C: kill LyXBell.
17031
17032 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17033
17034         * text.C (IsBoundary): Remove the error message
17035
17036         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17037
17038         * lyxrc.C (setDefaults): Correct initialization value for
17039         font_norm_type.
17040
17041 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17042
17043         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17044         gotoError().
17045
17046         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17047         and GotoNextNote().
17048
17049         * src/LyXAction.C: Added reference-next.
17050
17051         * text.C (InsertChar): Use contains instead of strchr.
17052
17053         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17054
17055 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17056
17057         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17058         alignment commands (when needed).
17059
17060         * text.C (InsertChar): Add ':' to number separator chars.