]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
- Link against qt-mt333.lib which is what the current qt3 cvs produces
[lyx.git] / src / ChangeLog
1 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * vc-backend.C (find_file): rewrite to use boost.filesystem
4         (scanMaster): ditto
5
6         * main.C (main): sett default name check for boost.filesystem to
7         no check
8
9         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
10         (open): ditto
11         (doImport): ditto
12         (actOnUpdatedPrefs): ditto
13
14         * lyx_main.C (init): rewrite to use boost.filesystem
15         (queryUserLyXDir): ditto
16
17         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
18         (getContentsOfAsciiFile): ditto
19
20         * lastfiles.C (readFile): rewrite to use boost.filesystem
21
22         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
23
24         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
25         (loadLyXFile): ditto
26
27         * buffer.C (Buffer): adjust for destroydir
28         (getLogName): rewrite to use boost.filesystem
29         (setFileName): ditto
30         (save): use fs::copy_file (from fs_extras)
31
32         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
33
34         * LaTeX.C (run): rewrite to use boost.filesystem
35         (scanAuxFiles): ditto
36         (handleFoundFile): ditto
37
38 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
39
40         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
41
42         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
43
44 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
45
46         * lyxlayout.[Ch]: change some vars from float to double
47
48         * buffer.C (readFile): make a local var const
49
50         * Several files: use convert<> instead of atoi,strToXXX and friends
51
52 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * LaTeXFeatures.[Ch]: Add a static list packages_ that
55         holds the contens of packages.lst. New functions getAvailable
56         and isAvailable to parse and check that list, resp.
57
58         * LyXAction.C:
59         * lfuns.h:
60         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
61
62         * bufferparams.[Ch]: new param output_changes.
63
64         * Buffer.C: increase file format to 240.
65         Use output_changes and isVailable.
66
67         * changes.[Ch]:
68         * paragraph.C:
69         * paragraph_pimpl.C: Use output_changes and isVailable.
70
71 2005-01-23  Angus Leeming  <leeming@lyx.org>
72
73         * output_latex.C: #include "insetbibitem.h", rather than
74         forward declare function bibitemWidest.
75
76 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
77
78         * lyx_main.C (init): make it compile on the Mac.
79
80 2005-01-20  Angus Leeming  <leeming@lyx.org>
81
82         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
83         (setLyXMisc): (char string literal) != (char string literal) is
84         performing a comparison on the addresses. Convert one operand
85         explicitly to string to guarantee expected behaviour.
86         From MSVC warning.
87
88 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
89
90         * buffer.C:
91         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
92
93         * output_plaintext.C: remove unneeded #include gzstream.h.
94
95 2005-01-20  Angus Leeming  <leeming@lyx.org>
96
97         * SpellBase.h: rename some of the elements of the Result enum.
98
99         * aspell_local.h:
100         * ispell.h:
101         * pspell.h:
102         * aspell.C (check):
103         * ispell.C (check):
104         * pspell.C (check): ditto
105
106 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
107
108         * buffer.C: add #include <fstream>.
109
110         * lyx_main.C (init): Compile fix.
111
112         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
113
114 2005-01-20  Angus Leeming  <leeming@lyx.org>
115
116         * mover.h: change commentary to reflect the changed meaning of
117         the $$s placeholder.
118
119 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * output_linuxdoc.C (linuxdocParagraphs): silence warning
122
123         * lyxfind.C (MatchString::operator()): remove bogus semicolon
124
125 2005-01-20  Angus Leeming  <leeming@lyx.org>
126
127         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
128         printing diagnostic data by not dereferecing an iterator past the
129         end.
130
131 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
132
133         * buffer.C (readHeader): use "&&" rather than "and".
134
135         * lyxserver.h (inPipeName, outPipeName): make these const.
136
137 2005-01-19  Angus Leeming  <leeming@lyx.org>
138
139         * lyx_main.C (error_handler, init): protect SIGHUP with
140         #ifdef SIGHUP guards.
141
142 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
145
146 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * text.C (setHeightOfRow): add a margin at the top and bottom of
149         the document (bug 1761)
150
151 2005-01-17  Angus Leeming  <leeming@lyx.org>
152
153         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
154         with "python ". Workaround for a brain-dead Windows.
155
156 2005-01-16  Angus Leeming  <leeming@lyx.org>
157
158         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
159         for MacOSX and Windows to use prependEnvPath.
160         Strip out the hard-coded block to add elements to the PATH for
161         MacOSX and replace it with a call to prependEnvPath using the
162         contents of LyXRC::path_prefix.
163         (queryUserLyXDir): strip out the code to run reconfigure, instead
164         returning a boolean indicating the necessity to do so.
165         (reconfigureUserLyXDir): contains the code to reconfigure the
166         user support directory. Is now called after the various LyXRC data
167         files have been read.
168
169         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
170
171 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * converter.[Ch] (convert): take a new parameter try_default. Use
174         a default converter (imagemagick) if try_default is true.
175
176 2005-01-13  Angus Leeming  <leeming@lyx.org>
177
178         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
179         os::cygwin_path_fix.
180         (write): output LyXRC::cygwin_path_fix as necessary.
181
182 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
183
184         * lyxrc.h:
185         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
186
187 2005-01-12  Angus Leeming  <leeming@lyx.org>
188
189         * lyx_main.C (init): set the PATH variable to include the
190         directory containing the LyX binary when running on Mac or Windows.
191
192 2005-01-12  Angus Leeming  <leeming@lyx.org>
193
194         * lyx_main.C (init): remove cruft that purports to set the locale
195         dir. It doesn't and is not needed anyway.
196
197 2005-01-10  Angus Leeming  <leeming@lyx.org>
198
199         * Makefile.am: remove the lyx_main.C special casing.
200
201         * BufferView_pimpl.C:
202         * bufferlist.C:
203         * exporter.C:
204         * lyx_cb.C:
205         * lyx_main.C:
206         * lyxfunc.C:
207         * messages.C: use support/package.h to provide the paths to the
208         various directories used by LyX.
209
210 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
213         layout if pasting into an empty paragraph)
214
215 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
216
217         * tex-accent.C: add <string>
218
219 2005-01-06  José Matos  <jamatos@lyx.org>
220
221         * ParagraphParameters.C (write): put every parameter in its own line.
222         * paragraph.C (write): reduce number of consecutive empty lines exported.
223         * buffer.C (LYX_FORMAT): increase file format to 239.
224
225 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
226
227         * everywhere: change support/tostr.h -> support/convert.h
228
229         * tabular.C: make all write_attributes templates, tostr -> convert
230
231         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
232         (emptyTag): and -> &&, and fix type for ret from getChar
233         (getFirstWord): fix type for ret from getChar
234         (onlyText): and -> &&
235         (simpleDocBookOnePar): and not -> && !, fix type for ret from
236         getChar
237
238         * toc.C (goTo, action):
239         * text3.C (dispatch):
240         * text.C (currentState):
241         * tex-accent.C (DoAccent):
242         * sgml.C:
243         * lyxrc.C:
244         * lyxfunc.C (menuNew):
245         * lyxfinc.C (replace):
246         * counters.C (laberItem):
247         * bufferview_funcs.C (font2string):
248         * bufferparams.C (writeFile):
249         * buffer.C (readFile):
250         * Spacing.C (set):
251         * MenuBackend.C: tostr -> convert
252
253         * LaTeX.C (runMessage): fix format
254         (scanAuxFiles): tostr -> convert
255
256         * BufferView_pimpl.C (savePosition): fix format
257         (restorePosition): ditto
258         (dispatch): ditto
259
260 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
261
262         * Spacing.[Ch]: New method getValueAsString().
263
264         * Spacing.[Ch]:
265         * bufferparams.C:
266         * ParagraphParameters.C:
267         * lyxlayout.C:
268         * text.C:
269         * text3.C: store/read spacing value as string.
270
271         * rowpainter.C: change float value (spacing_val) to double.
272
273         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
274         broken custom document spacing).
275
276 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
277
278         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
279         namespace, also more use of temp references and const
280
281         * cursor.[Ch] (getStatus): move to lyxfunc.C
282
283         * bufferparams.C: reformat slightly
284
285         * bufferview_funcs.C (font2string): constify arg
286
287         * changes.C:
288         * converter.C:
289         * counters.C:
290         * bufferlist.C:
291         * buffer_funcs.C: (many funcs): constify arg on function
292         definitions, also make more local vars const, also add ASSERTS on
293         pointer args.
294
295         * buffer.C (LYX_FORMAT): put const in correct place
296         (many funcs): constify arg on function definitions, also make
297         more local vars const
298
299         * aspell_local.h: remove "struct" from typdef setup
300
301         * aspell.C (check): make word_ok const
302         (nextMiss): simplify slightly
303         (error): ditto
304
305 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * lyxrc.[Ch]: store all float values as strings.
308         use int (not float) for lyxrc.dpi.
309
310 2005-01-04  Angus Leeming  <leeming@lyx.org>
311
312         * lyx_cb.C (Reconfigure):
313         * lyx_main.C (queryUserLyXDir):
314         to run the <system_lyxdir>/configure correctly on Windows, prefix
315         the path to the script with "sh " when generating the string that
316         is passed to system().
317
318 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
319
320         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
321
322 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * lyxlength.C (asLatexString): get rid of setprecision
325
326 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * text2.C (setLayout): remove unused variable endpit.
329         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
330
331         * paragraph.C (onlyText): remove unused variable style.
332
333         * cursor.C (bruteFind): remove unused variables beg and end.
334
335         * Makefile.am (dist_noinset_DATA): not needed anymore
336
337         * cheaders/*: remove.
338
339 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
340
341         * text3.C: fix LFUN_MATH_MODE.
342
343 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * buffer_funcs.C (countWords): new function. Counts words between
346         two iterators.
347
348         * BufferView_pimpl.C (getStatus, dispatch): handle
349         LFUN_WORDS_COUNT.
350
351         * LyXAction.C (init):
352         * lfuns.h: add LFUN_WORDS_COUNT.
353
354 2004-12-19  Angus Leeming  <leeming@lyx.org>
355
356         * buffer.C (save): s/slashify_path/internal_path/.
357
358 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
359
360         * lyxfind.C (findChange): do not search for end of pars, because
361         the change tracker cannot handle this (fixes bug 1719).
362
363 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * paragraph.[Ch] (autoBreakRows): remove
366
367         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
368
369         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
370         avoid using the paragraph one
371
372         * text2.C (LyXText, insertStringAsLines): adjust
373
374 2004-12-16  Angus Leeming  <leeming@lyx.org>
375
376         * bufferlist.C:
377         * lyx_main.C:
378         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
379
380 2004-12-14  Angus Leeming  <leeming@lyx.org>
381
382         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
383
384         * bufferlist.C (emergencyWrite):
385         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
386         GetEnvPath("HOME").
387
388 2004-12-14  Angus Leeming  <leeming@lyx.org>
389
390         * main.C: (main): no longer pass pointers to os::init.
391
392 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * undo.C (textUndoOrRedo): simplify logic, fix a crash
395         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
396
397 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * lyxfunc.C:
400         * text3.C: remove selection_possible global flag
401
402 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * text2.C (getSelectionSpan): remove
405         (changeDepth, changeDepthAllowed): adjust
406
407 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
408
409         * Makefile.am (BOOST_LIBS): use boost variables
410
411 2004-12-03  José Matos  <jamatos@lyx.org>
412
413         * buffer.C: format up to 238.
414
415 2004-12-03  José Matos  <jamatos@lyx.org>
416
417         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
418
419 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
420
421         * cursor.C (goUpDown): remove call to idxUpDown2
422
423 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
424
425         * tabular.[Ch]: use size_t-like types for cell, row and column
426         indices
427
428 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
429
430         * lyxfunc.C (getStatus): do not lose previous information when
431         calling BufferView::getStatus; do not set a default "Command
432         disabled" message at the beginning, but just before returning.
433
434 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
435
436         * cursor.h (getStatus): add better comment from src/cursor.C
437
438 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * text3.C (getStatus): return false when the lfun is not handled
441
442 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * broken_headers.h: remove
445
446         * Makefile.am (lyx_SOURCES): remove broken_headers.h
447
448 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
451         offset_ref accessors
452
453         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
454         top_y_, merge fitcursor with update
455         (updateScrollbar, scrollDocView, fitCursor, center, update): new
456         coord scheme
457         (metrics): introduce
458         (workAreaDispatch): adapt to new coord scheme
459         (redoCurrentBuffer): remove
460
461         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
462
463         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
464         CurStatus enum.
465
466         * coordcache.[Ch]: add paragraph cache and helpers
467
468         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
469         adjust everywhere
470
471         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
472         (targetX, setTargetX): introduce
473
474         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
475         baseline -> ascent, as the rest of lyx
476
477         * lyxtext.h: remove redoParagraphs, updateParPositions,
478         fullRebreak, redoParagraphInternal. move dist to anon namespace in
479         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
480         have ascent/descent (ascent is ascent of first par)
481
482         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
483         step of BufferView
484
485         * paragraph.[Ch]: unify dimension handling with the rest of lyx
486
487         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
488
489         * pariterator.C: fix infinite loop introduced in par->pit renaming
490
491         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
492         in insets and LyXText, draw two off-screen paragraphs using
493         NullPainter, and adapt to new coord scheme
494
495         * text.C:
496         * text2.C:
497         * text3.C: adapt lfun handlers to the new coord scheme, which
498         means: there's only guaranteed coord information for onscreen pars
499         plus one above and one below. This implies that one can do search
500         from y coordinates in the range [-1,workHeight]
501
502 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
503
504         * rename a lot of InsetOld to InsetBase
505
506 2004-11-25  Angus Leeming  <leeming@lyx.org>
507
508         * BufferView_pimpl.C:
509         * lyx_cb.C:
510         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
511
512 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
515         call BufferView::getStatus if LCursor::getStatus did nothing
516         (setStatusMessage, getStatusMessage): removed.
517
518         * FuncStatus.C (message): new methods. Used to provide an error
519         message indicating why a command is disabled.
520         (clear, |=, FuncStatus): update for message.
521
522 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * lyxfunc.C (dispatch): always call sendDispatchMessage
525
526 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
527
528         * BufferView.C:
529         * BufferView_pimpl.C:
530         * CutAndPaste.C:
531         * FontIterator.C:
532         * buffer.C:
533         * cursor.C:
534         * cursor_slice.[Ch]:
535         * dociterator.[Ch]:
536         * lyxfind.C:
537         * paragraph_funcs.C:
538         * pariterator.C:
539         * rowpainter.C:
540         * text.C:
541         * text2.C:
542         * text3.C:
543         * undo.C: par->pit renaming
544
545 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * tabular.C (cellstruct): use initialization, store a shared_ptr
548         to insettext instead of the insettext directly, adjust to fit.
549         (operator=):  new function
550         (swap): new function
551         (rowstruct): use initialization
552         (columnstruct): use initialization
553         (ltType): use initialization
554
555
556         * lyxlength.h (swap): new function
557
558         * LColor.[Ch] (operator=): use the common semantics
559
560 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * lyxfind.C (findNextChange): update the bufferview after setting
563         the selection.
564
565 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
568         number of InsetOptArgs has already been inserted.
569
570         * output_latex.C (latexOptArgInsets): new method. This outputs all
571         the optarg insets, up to the limit defined in the layout file.
572         (optArgInset): removed
573         (TeXOnePar): call latexOptArgInsets; correctly update texrow
574
575 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * paragraph.C (isLetter): remove special spellchecker-related
578         code; return true also for digits
579         (isWord, isKomma): remove
580
581         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
582         * lyxfind.C (MatchString()): use isLetter instead of isWord
583
584 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
585
586         * pariterator.h (operatir=): comment out un-implemented member
587         function.
588
589         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
590         static cast.
591
592 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
593
594         * lyxfont.h: include LColor.h to satisfy concept checks.
595
596 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
597
598         * pariterator.h: add typdefs for value_type, difference_type,
599         pointer and reference to satisfy concept checks. Also add default
600         constructor for same reason.
601
602         * pariterator.C (operator++): add post-increment operator to
603         satisfy concept checks.
604
605         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
606         checks.
607
608         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
609
610         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
611         checks. Also rename base_type to BaseType to follow naming
612         standard better.
613
614         * FloatList.h: include Floating.h to satisfy concept checks.
615
616 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * lyxfunc.C (getStatus): when the origin of the request is menu or
619         toolbar, and the LyXView does not have focus, do as if there was
620         no buffer (bug 1720)
621
622         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
623         FuncRequest to individual entries of LFUN_SEQUENCE
624
625 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * output_latex.C (TeXOnePar): override runparams.moving_arg
628         according to the needprotect value of the current paragraph (bug
629         1739)
630
631         * paragraph.C (simpleTeXOnePar): no need to override
632         runparams.moving_args here
633
634 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
635
636         * vspace.C: fix off-by-one-error, related to fix #1682
637
638 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
639
640         * lengthcommon.C: a more general fix for bug 1682
641
642 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
643
644         * text.C (backspace): fix crash
645
646 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
647
648         * format.[Ch] (getFormatFromFile): new method
649         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
650
651 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
654
655 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * lyxfunc.C (dispatch): remove the verbose argument
658         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
659         instead
660
661         * kbmap.C (defkey): set the origin of func to KEYBOARD
662
663         * MenuBackend.C (MenuItem):
664         * ToolbarBackend.C (add): set the origin of func to UI
665
666         * funcrequest.[Ch]: add origin member, which indicates which part
667         of LyX requests an action
668
669 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
670
671         * converter.C (move): don't lie in the error message
672         * converter.h (isReachable, move): document
673
674 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * buffer.C: remove unused using lyx::support::atoi
677         * paragraph_funcs.C: ditto
678
679 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
680
681         * bufferlist.C (exists): use bind and equal_to instead of
682         compare_memfun
683         (getBuffer): ditto
684         * lyxtextclasslist.C (NumberOfClass): ditto
685
686         * cursor.C (insert): use for_each instead of explicit for loop
687
688         * bufferlist.C (getFileNames): use std::transform and
689         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
690
691         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
692         for loop
693
694         * buffer.C (changeLanguage): use for_each instead of explicit for
695         loop
696         (hasParWithID): implement using getParFromID
697
698         * LaTeXFeatures.C: ws change only
699
700         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
701         to cleanup a bit.
702
703         * BufferView_pimpl.C (trackChanges): use for_each instead of
704         expilicit for loop
705
706 2004-11-04  André Pönitz  <poenitz@gmx.net>
707
708         * undo.h:
709         * undo.C (textUndoOrRedo): fix crash when creating undo information.
710
711         * dociterator.C (asDocIterator): use hard assert again.
712
713 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * lyxlength.C (asLatexString): rewrite so that it does not use
716         snprintf anymore
717
718 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * text3.C (specialChar, dispatch): make sure cursor moves to the
721         right after inserting an inset
722
723 2004-11-02  José Matos  <jamatos@lyx.org>
724
725         * output_docbook.C (docbook):
726         * paragraph.C (getID):
727         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
728         garantee that the output is always legal.
729
730         * tabular.C (docbook):
731         * outputprams.[Ch]: remove mixed contents.
732
733 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
734
735         * text2.C (setCounter): prevent endless loop
736
737 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
738
739         * exporter.C (copyFile): use the mover instead of support::copy()
740         * exporter.C (Export): pass format and latex name to copyFile()
741         * exporter.h (addExternalFile): document
742         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
743
744 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
745
746         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
747
748 2004-10-30  José Matos  <jamatos@lyx.org>
749
750         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
751         text and no inset or font change. This allows to use CDATA
752         sections just for the whole paragraph.
753
754 2004-10-30  José Matos  <jamatos@lyx.org>
755
756         * paragraph.C (getFirstWord): remove unused variable.
757
758 2004-10-30  José Matos  <jamatos@lyx.org>
759
760         * paragraph.C (getFirstWord): the content should always be escaped
761         there.
762         (simpleDocBookOnePar):
763         * output_docbook.C (makeEnvironment): replace reference to CDATA
764         to style pass_thru.
765
766 2004-10-30  José Matos  <jamatos@lyx.org>
767
768         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
769
770 2004-10-30  José Matos  <jamatos@lyx.org>
771
772         * output_docbook.C (makeParagraphs):
773         * paragraph.[Ch] (emptyTag): for docbook and company, if the
774         standard paragraph has only a given type of content drop the wrapper.
775
776 2004-10-29  José Matos  <jamatos@lyx.org>
777
778         * output_docbook.C (makeEnvironment):
779         * sgml.C (openTag):
780         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
781
782 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
783
784         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
785         (cleanID): sanitize any id.
786
787 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
788
789         * buffer.C, lyxlex_pimpl.C:
790         * lyxlex_pimpl.C (setFile):
791         s/getExtFromContents/getFormatFromContents/
792
793 2004-10-28  José Matos  <jamatos@lyx.org>
794
795         * output_docbook.C (makeEnvironment): move id to broadest possible
796         scope.
797
798         * sgml.C (openTag): apply substitution of <> for all attributes.
799
800 2004-10-28  José Matos  <jamatos@lyx.org>
801
802         * buffer.C (makeLinuxDocFile, makeDocBookFile):
803         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
804         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
805
806         * sgml.[Ch]: new version for open and closeTag for paragraph and
807         for strings. Now they handle the ids of paragraphs.
808
809 2004-10-26  Angus Leeming  <leeming@lyx.org>
810
811         * Makefile.am: add mover.[Ch].
812
813         * converter.C (convert, move): use the new Movers to move external
814         files to the temp directory.
815
816         * lyx_main.C (init): ensure that the global system_movers data
817         is initialised.
818
819         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
820         preferences file.
821
822         * mover.[Ch]: new files, defining a Mover as a utility to move an
823         external file between directories and, if necessary, manipulate this
824         file using a helper script.
825
826 2004-10-25  José Matos  <jamatos@lyx.org>
827
828         * output_docbook.C (makeCommand): merge two if's that tested the
829         same condition.
830
831 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * sgml.C (escapeString): fix warning in a better way
834
835 2004-10-25  José Matos  <jamatos@lyx.org>
836
837         * sgml.C (escapeString): import the require boosts header file for
838         tie, and avoid a signed unsigned comparison.
839
840 2004-10-25  José Matos  <jamatos@lyx.org>
841
842         * sgml.h: add #include <string>
843
844 2004-10-25  José Matos  <jamatos@lyx.org>
845
846         * sgml.[Ch] (escapeString): new function to escape all the string.
847
848 2004-10-24  José Matos  <jamatos@lyx.org>
849
850         * paragraph.[Ch] (getFirstWord): new function to get the first
851         word. Useful for description.
852         (simpleDocBookOnePar): remove depth argument, add another that
853         says where to start the paragraph.
854
855         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
856         use the new functions to fix cleanly the support for descriptions.
857
858 2004-10-24  José Matos  <jamatos@lyx.org>
859
860         * buffer.C (makeLinuxDocFile, makeDocBookFile):
861         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
862         * output_linuxdoc.C (linuxdocParagraphs):
863         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
864         add buffer as argument.
865
866 2004-10-24  José Matos  <jamatos@lyx.org>
867
868         * output_docbook.C (makeEnvironment, searchEnvironment): place
869         CDATA inside paragraphs and fix scope for listitems.
870
871 2004-10-24  José Matos  <jamatos@lyx.org>
872
873         * output_docbook.C: remove using statement for stack.
874
875 2004-10-23  José Matos  <jamatos@lyx.org>
876
877         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
878         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
879         docbook. The new scheme is recursive and makes use of iterators, the
880         same as latex export works.
881         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
882         directly with the paragraph contents. This code was moved up to
883         output_docbook.C (docbookParagraphs).
884         * sgml.C (openTag, closeTag): removed unneeded newlines.
885         (closeEnvTags) removed.
886
887 2004-10-23  André Pönitz  <poenitz@gmx.net>
888
889         * undo.C (textUndoOrRedo):
890         * dociterator.C (asDocIterator): work around crash
891
892         * cursor.C (getStatus): replace ASSERT by more verbose error message
893           and manual correction of the problem. Should increase stability
894           while providing more sensible information.
895
896 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
899
900         * bufferlist.C (previous, next): new methods
901
902         * lfuns.h:
903         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
904
905 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
906
907         * buffer.C (makeDocBookFile): add dsssl stylesheet control
908         entities to preamble.
909
910 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * messages.C (Pimpl): strip off translation context information
913
914 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
917         the cursor is correct (bug 1694)
918
919 2004-10-13  José Matos  <jamatos@lyx.org>
920
921         * output_docbook.C (docbookParagraphs): fix closing tags in the
922         end of the document.
923
924 2004-10-09  José Matos  <jamatos@lyx.org>
925
926         * buffer.C: format up to 237.
927         * bufferparams.C (write): use tostr to convert booleans to strings.
928
929 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
930
931         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
932
933 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
934
935         * LaTeX.C: implement use of babel language in xindy.
936
937 2004-10-05  José Matos  <jamatos@lyx.org>
938
939         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
940         Add new translators to help reading and writing the lyx file.
941
942 2004-10-05  José Matos  <jamatos@lyx.org>
943
944         * ParagraphParameters.C (read):
945         * text.C (readParToken): replace nexToken by more appropriate lex
946         methods.
947
948 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
949
950         * LaTeX.C (runMakeIndex):
951         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
952         (usually 'makeindex') configurable.
953
954         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
955         with a variable rather than with a number.
956
957 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * output_latex.C (TeXOnePar): make sure font setting is the first
960         thing that gets output (and the last at the end). Should fix bug
961         1404.
962
963 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
964
965         * pch.h: use proper signal include
966
967         * LaTeX.h: Use preferred calling of Boost.Signal
968         * buffer.h: ditto
969
970 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
971
972         * pch.h: dont include <boost/function/function0.hpp>
973
974         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
975
976         * paragraph_pimpl.h: remove usage of ShareContainer
977
978         * paragraph_pimpl.C: remove initialization of ShareContainer.
979
980 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
981
982         Fix bug #1666
983
984         * BufferView.C (putSelectionAt): change the semantics when
985         backwards == true: now, this just swaps cursor and anchor wrt the
986         forward case
987
988         * BufferView.h (putSelectionAt): add some documentation
989
990         * lyxfind.C (findBackwards): rewrite using while(). In particular,
991         make sure backwardChar is done at least once (to avoid getting
992         stuck)
993         (findNextChange): use putSelectionAt in the forward direction
994         (operator()): use Paragraph::isWord
995
996 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
997
998         * Spacing.C (set): c_str fix
999
1000 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * lyx_cb.C (Reconfigure): quote the name of configure script in
1003         case it contains spaces
1004
1005 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1006
1007         * client: new dir
1008
1009         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1010         (BOOST_LIBS): use top_buildir when looking for the file
1011
1012 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1013
1014         * pch.h: do not use include boost/format.hpp, multiple symbols
1015                 will result (gcc bug)
1016
1017
1018 2004-08-23  José Matos  <jamatos@lyx.org>
1019
1020         * bufferparams.C (readToken): fix reading of the author field.
1021
1022 2004-08-20  José Matos  <jamatos@lyx.org>
1023
1024         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1025
1026 2004-08-20  José Matos  <jamatos@lyx.org>
1027
1028         * lyxlex.[Ch] (findToken): remove function.
1029
1030         * ParagraphParameters.C (findToken):
1031         * bufferparams.C (findToken): replace call for previous function
1032         with local copy. This local function has one more argument, the
1033         read string argument.
1034
1035 2004-08-16  José Matos  <jamatos@lyx.org>
1036
1037         * ParagraphParameters.C (write):
1038         * Spacing.C (writeFile):
1039         * bufferparams.C (writeLaTeX):
1040         * lyx_cb.C (Reconfigure):
1041         * paragraph.C (write):
1042         * tabular.C (write): remove unnecessary space at end of line.
1043
1044
1045 2004-08-16  José Matos  <jamatos@lyx.org>
1046
1047         * text.C (readParagraph): remove debug message.
1048
1049 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1052         crash
1053
1054         * output_plaintext.C (asciiParagraph): set depth correctly
1055
1056         * outputparams.h: add member depth
1057
1058         * paragraph_funcs.C (ownerPar): remove.
1059
1060         * text2.C (setCounter): remove first_pit; comment out some
1061         non-working code that uses ownerPar
1062
1063         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1064         uses ownerPar
1065
1066 2004-08-16  José Matos  <jamatos@lyx.org>
1067
1068         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1069         For the same level of importance use the same chanel to report problems.
1070         (read): add code to deal with \begin_body and \end_body.
1071
1072
1073 2004-08-15  José Matos  <jamatos@lyx.org>
1074
1075         * lyxlex.C (getString): fix comment, buffer::readBody is now
1076         buffer:readDocument.
1077
1078         * tex-strings.C (string_papersize): Default -> default,
1079         Custom -> custom, for consistency with other options.
1080
1081 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1082
1083         * pch.h: new file
1084
1085         * Makefile.am: support pch
1086
1087 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * text.C (readParToken): remove the static LyXFont variable and
1090         pass it as a parameter instead. This fixes a nasty bug where an
1091         inset will be inserted with a bad font in some situations
1092         (readParagraph): adapt
1093
1094         * text2.C (setCounter): reduce number of calls to pars_[pit]
1095
1096         * text.C (singleWidth): add an assert, fix a test
1097
1098         * rowpainter.C (paintText): reduce number of calls to singleWidth
1099
1100         * paragraph.C (isHfill):
1101         (isNewline): ws only
1102
1103 2004-08-14  André Pönitz  <poenitz@gmx.net>
1104
1105         * text.C:
1106         * text2.C:
1107         * rowpainter.C:
1108         * lyxtext.h (several functions): use a Paragraph & argument
1109         instead of par_type
1110
1111 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1112
1113         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1114
1115         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1116
1117         * text.C (singleWidth): remove useless test
1118
1119 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * tabular.h: remove bogus comments
1122
1123         * tabular.C (getDescentOfRow):
1124         (isPartOfMultiColumn): add assertions
1125
1126         * lyxlength.C (inPixels): remove #warning
1127
1128 2004-08-14  André Pönitz  <poenitz@gmx.net>
1129
1130         * paragraph.h: inline getChar()
1131
1132         * BufferView.h: remove unused declarations
1133
1134 2004-08-14  José Matos  <jamatos@lyx.org>
1135
1136         * Buffer.[Ch] (readDocument): new name for old readBody.
1137         * Buffer.C: new file format, new keywords: \begin_document,
1138         \begin_header, \begin_body, \end_body.
1139
1140         * bufferparams.C (readToken): replace all calls to lex.nextToken
1141         by lex.next(). Do the same to eatLine except where really needed.
1142
1143         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1144         line when writing to the lyx file.
1145
1146         * output_plaintext.C (asciiParagraph): fix Bibliography style
1147         handling.
1148
1149         * text.C (read): fix end of file handling.
1150
1151 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * MenuBackend.C (Menu::operator[]): new method to access
1154         individual menu items
1155         (Menu::hasFunc): new method. search for an item that corresponds
1156         to a given func
1157         (MenuBackend::specialMenu): new method
1158         (MenuBackend::expand): if a special menu has been set, skip
1159         entries whose func() appears in this menu
1160
1161 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1162
1163         * text3.C: use Debug::DEBUG a bit more
1164
1165         * text.C (leftMargin): try to simplify a tiny bit change var x to
1166         l_margin. Dont output the wide margins always.
1167         (rightMargin): no margin in inner texts
1168
1169         * rowpainter.h (nestMargin): new func
1170         (changebarMargin): new func
1171         (rightMargin): new func
1172
1173         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1174         now functions.
1175         (paintLast): ditto
1176
1177         * factory.C (createInset): modify setDrawFrame
1178
1179         * cursor.C: use Debug::DEBUG a bit more
1180
1181 2004-08-14  André Pönitz  <poenitz@gmx.net>
1182
1183         * coordcache.[Ch]:
1184         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1185         cache for all insets in (at least partially) visible (top-level)
1186         paragraphs.
1187
1188         * BufferView_pimpl.C: reset external coord cache before every update.
1189         This means the coord cache only contains valid entries.
1190
1191 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1192
1193         bug 1096
1194         * BufferView_pimpl.C (getInsetByCode): move function out of class
1195         and change in to a template in anon namespace. Also fix to do what
1196         suits us better.
1197
1198 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1199
1200         bug 1305
1201         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1202         of char
1203         (breakParagraph): rename par to par_offset and use a local
1204         reference. Add code to keep the language over a rebreak.
1205         (breakParagraphConservative): rename par to par_offset, use a
1206         local reference
1207         (mergeParagraph): ditto
1208         (outerHook): ditto
1209         (isFirstInSequence): ditto
1210         (outerFont): rename pit to par_offset
1211
1212         * paragraph.C: ws change
1213         * paragraph.h: ditto
1214         * text3.C: ditto
1215         * text.C: ditto
1216
1217 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1220         treatment for ']'
1221
1222         * paragraph.C (simpleTeXOnePar): when we have a \item with
1223         optional argument, enclose the argument with curly brackets (in
1224         case it contains a closing square bracket)
1225
1226         * text2.C (editXY):
1227         * text2.C (editXY):
1228         * text3.C (checkInsetHit): constify
1229
1230 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1233         documents (bug 1629)
1234
1235 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         Fix toggling of collapsable insets with the mouse (bug 1558)
1238
1239         * lyxfunc.C (dispatch): adapt to LCursor changes
1240
1241         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1242         make sure that dispatch is not invoked twice
1243
1244         * cursor.C (needsUpdate): new method
1245         (dispatch): return void
1246         (result): new method, to access the DispatchResult of the cursor.
1247
1248 2004-08-13  José Matos  <jamatos@lyx.org>
1249
1250         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1251
1252 2004-08-13  André Pönitz  <poenitz@gmx.net>
1253
1254         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1255
1256         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1257           multiple cells
1258
1259 2004-08-12  André Pönitz  <poenitz@gmx.net>
1260
1261         * text3.C: take out the 'cursor right' form insertInset and only
1262         do it in those places when it is really needed. Fixes crash on
1263         C-m...
1264
1265 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1268
1269         * BufferView_pimpl.C (setBuffer): initialize the current font of
1270         the underlying LyXText
1271
1272 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * kbsequence.C (print): use UI native formatting for menu
1275         shortcuts
1276
1277         * text.C (insertChar): call Paragraph::insertChar with a font
1278         argument (cosmetic)
1279
1280         * paragraph.C (insertInset, insertChar): the version that takes a
1281         LyXFont argument is now a wrapper around the other one (the
1282         opposite used to be true).
1283
1284         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1285         argument. Font setting is done in Paragraph now.
1286
1287 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * outputparams.h: add new members intitle and lang.
1290
1291         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1292         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1293
1294 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1295
1296         * text3.C (dispatch): remove special handling of button 4 and 5,
1297         it is now taken care of in the frontend code.
1298
1299 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1300
1301         * Spacing.h: add <string> (STLPort compile fix)
1302
1303 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1304
1305         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1306
1307 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1308
1309         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1310         to bool.
1311
1312         * converter.C (showMessage): inherit from unary_function, make
1313         operator() const.
1314
1315         * buffer.C (writeFile): initialize retval
1316
1317         * InsetList.h: rename private variable list to list_
1318         * InsetList.[Ch]: adjust accordingly.
1319
1320 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1321
1322         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1323         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1324         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1325         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1326         * ParagraphParameters.C, LaTeXFeatures.C: replace
1327         "support/std_sstream.h" with <sstream>
1328
1329 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1330
1331         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1332         * lyxsocket.C (LyXServerSocket): ditto
1333         (serverCallback): ditto
1334
1335 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1336
1337         * LaTeXFeatures.C: check release date when loading jurabib.
1338
1339 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1340
1341         * lyxserver.C (startPipe): call register_socket_callback
1342         (endPipe): call unregister_socket_callback
1343
1344 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1345
1346         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1347         (LyXServerSocket): register the callback
1348         (LyXServerSocket): unregister the callback
1349         (fd): delete function
1350         (serverCallback): improve error checking and setup the callbacks.
1351         (dataCallback): change arg to fd.
1352         (writeln): new func (copied fro the client socket) used for server
1353         write to client.
1354         (LyXDataSocket): simplify
1355         (~LyXDataSocket): close ann unregiser callback
1356         (server): delete function
1357         (fd): delete function
1358         (readln): small changes, improve some std::string usage
1359         (writeln): constify a bit
1360
1361 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1364         Qt frontend
1365
1366 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1369         after it has been populated
1370
1371 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * text2.C (insertInset): move cursor when inserting inset.
1374
1375 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * kbmap.C (findbindings): a couple of new methods. returns a
1378         container of kb_sequence objects. The real work is done by the
1379         private recursive version
1380         (printbindings): uses findbindings to print out a bracketed list
1381         of bindings (renamed from findbinding).
1382
1383         * MenuBackend.C (binding): use kb_keymap::findbindings
1384
1385         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1386
1387 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1388
1389         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1390
1391 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * paragraph.C (isWord): return true on insets that report
1394         isLetter().
1395
1396         * text.C (getWord): use Paragraph::isWord to decide what is in a
1397         word and what is not; fix bug 1609.
1398
1399 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1400
1401         * tex-strings.C: add "none" to string_paperpackages[], fixes
1402         off-by-one-error in the paperpackage selection.
1403
1404         * lyxlex.[Ch]:
1405         * tex-strings.[Ch]: char const * string[n]
1406         -> char const * const string[]
1407
1408 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1411         command, return early.
1412
1413 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1414
1415         * debug.h: add DEBUG to enum and fix size of ANY.
1416
1417         * debug.C: add support for Debug::DEBUG
1418         (showTags): cast errorTags.level to unsigned int
1419
1420         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1421         (redoCurrentBuffer): ditto
1422         (updateScrollbar): ditto
1423         * cursor.C (dispatch): ditto
1424         * text2.C (setLayout): ditto
1425         (setFont): ditto
1426         (updateCounters): ditto
1427         (editXY): ditto
1428         (deleteEmptyParagraphMechanism): ditto
1429
1430 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1431
1432         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1433         annotations to cleanup the Makefile slightly.
1434
1435 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * lyxrc.C: do not set user_email to a default value but use empty
1438         instead. The entry used to be translated, which does not work
1439         since at the point where lyxrc is constructed there is no
1440         translation service available
1441
1442         * messages.C (getLocaleDir): remove and use directly
1443         lyx_localedir() instead
1444
1445 2004-06-02  Angus Leeming  <leeming@lyx.org>
1446
1447         Fix crash caused by dereferencing null pointer 'exportdata' in
1448         OutputParams by creating a new ExportData variable on the heap,
1449         storing it in a boost::shared_ptr.
1450         The crash was triggered when generating an Instant Preview
1451         of an external inset.
1452
1453         * Makefile.am: add outputparams.C
1454
1455         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1456         (c-tor): allocate memory to it.
1457
1458         * exporter.C (c-tor): associated changes.
1459
1460 2004-06-01  Angus Leeming  <leeming@lyx.org>
1461
1462         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1463         contains data before calling isInset(0). (Bug 1513.)
1464
1465 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1466
1467         * exporter.C (checkOverwrite): new method
1468         * exporter.C (copyFile): new method
1469         * exporter.C (Export): copy referenced files to the document dir
1470         * exporter.[Ch]: new class ExportedFile
1471         * exporter.[Ch]: new class ExportData. Contains currently the
1472         names of referenced external files
1473         * outputparams.h: add exportdata member.
1474
1475 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1476
1477         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1478         version.C-tmp
1479
1480 2004-05-19  Angus Leeming  <leeming@lyx.org>
1481
1482         * LaTeXFeatures.C:
1483         * ToolbarBackend.C:
1484         * bufferparams.C:
1485         * lyxfunc.C: small changes due to the introduction of namespace
1486         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1487
1488 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1489
1490         * text3.C (dispatch): supress update when only moving the cursor
1491         * cursor.C (selHandle): remove commented code
1492
1493 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1494
1495         * paragraph.C (startTeXParParams): correct column count
1496         * CutAndPaste.C (pasteSelection): remove const_cast
1497         * output_docbook.C (docbookParagraphs): remove const_cast
1498         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1499         const_cast and return ParagraphList::const_iterator
1500         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1501         * output_plaintext.C (writeFileAscii): remove const_cast
1502         * paragraph.[Ch] (simpleTeXOnePar): make const
1503         * paragraph_funcs.C (outerPar): use const iterators
1504         * paragraph_pimpl.C (validate): use const iterators
1505         * text.C (setHeightOfRow): use const iterators
1506
1507 2004-05-17  Angus Leeming  <leeming@lyx.org>
1508
1509         * lfuns.h:
1510         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1511
1512         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1513         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1514         if the citation engine has changed.
1515
1516 2004-05-14  José Matos  <jamatos@lyx.org>
1517
1518         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1519         if the textclass does not provide it. Have it different for sgml and
1520         xml.
1521         support the language of document.
1522         * output_docbook.C (docbookParagraphs):
1523         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1524         first anchor as the id of the paragraph, remove special case code.
1525         * sgml.C (escapeChar): escape only < & >.
1526
1527 2004-05-14  Angus Leeming  <leeming@lyx.org>
1528
1529         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1530         dependencies on src/frontends/controllers/biblio.h. Define a
1531         CiteEngine_enum wrapper class to enable the enum to be forward
1532         declared.
1533
1534 2004-05-12  Angus Leeming  <leeming@lyx.org>
1535
1536         * buffer.C: up LYX_FORMAT to 234.
1537         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1538         use_numerical_citations with a single biblio::CiteEngine cite_engine
1539         variable.
1540         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1541
1542 2004-05-13  José Matos  <jamatos@lyx.org>
1543
1544         * converter.h:
1545         * converter.C (Converter, readFlags): add xml member.
1546         * outputparams.h: add XML flavor.
1547         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1548
1549 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1550
1551         * lyxfunc.C (dispatch):
1552         (getStatus): fix handling of LFUN_SEQUENCE
1553
1554 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * debug.C (showLevel): do not forget the end-of-line marker
1557
1558 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * kbmap.C (read): do not stop parsing a bind file when an error
1561         occurs (bug 1575)
1562
1563 2004-04-29  Angus Leeming  <leeming@lyx.org>
1564
1565         * cursor.C:
1566         * factory.C:
1567         * pariterator.C:
1568         * text2.C: wrap a bunch of #warning statements
1569         inside #ifdef WITH_WARNINGS blocks.
1570
1571 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1572
1573         * buffer.C: increment format to 233.
1574
1575 2004-04-28  Angus Leeming  <leeming@lyx.org>
1576
1577         * BufferView_pimpl.C:
1578         * lyxfunc.C:
1579         * text3.C:
1580         s/updateToolbar()/updateToolbars()/
1581         s/Toolbar.h/Toolbars.h/
1582
1583 2004-04-28  Angus Leeming  <leeming@lyx.org>
1584
1585         * BufferView.[Ch] (c-tor):
1586         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1587         No longer passes these data to the WorkArea generator.
1588
1589 2004-04-28  Angus Leeming  <leeming@lyx.org>
1590
1591         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1592
1593 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1594
1595         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1596
1597 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1598
1599         * output_latex.C (TeXEnvironment): make sure that there is a line
1600         break before \end{foo} for the last paragraph of a document
1601         (TeXOnePar): if the paragraph is at the end of the document (or
1602         inset) and the language has to be reset, then make sure that the
1603         line break is _before_ the language command, not after (fixes bug
1604         1225); also make sure that the language reset command is the first
1605         thing after the paragraph (to ensure proper nesting of
1606         environments and thus fix bug 1404)
1607
1608 2004-04-21  John Levon  <levon@movementarian.org>
1609
1610         * ToolbarBackend.h:
1611         * ToolbarBackend.C: make "name" be a programmatic name
1612         and a gui_name field.
1613
1614         * lyxfunc.C: display the minibuffer on M-x
1615
1616 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1619         (bug 1526)
1620
1621 2004-04-19  Angus Leeming  <leeming@lyx.org>
1622
1623         * BufferView_pimpl.C (setBuffer): changed preview interface.
1624
1625         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1626         possible values.
1627
1628 2004-04-19  John Levon  <levon@movementarian.org>
1629
1630         * BufferView_pimpl.C:
1631         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1632
1633 2004-04-05  Angus Leeming  <leeming@lyx.org>
1634
1635         * text.C (redoParagraphs): add call to updateCounters(), thereby
1636         fixing the missing "Figure #:" label from the caption of a
1637         figure float.
1638
1639 2004-04-13  Angus Leeming  <leeming@lyx.org>
1640
1641         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1642         cursor is clicked out of an inset.
1643
1644 2004-04-13  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1647         than an InsetOld one.
1648
1649 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1650
1651         * format.[Ch]: add editor to Format
1652         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1653         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1654
1655 2004-04-08  André Pönitz  <poenitz@gmx.net>
1656
1657         * metricsinfo.h: remove PainterInfo::width member
1658
1659 2004-04-08  Angus Leeming  <leeming@lyx.org>
1660
1661         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1662         "\providecommand" rather than "\newcommand", thereby preventing
1663         clashes with packages that define "\boldsymbol" themselves.
1664         Eg, beamer.
1665
1666 2004-04-08  Angus Leeming  <leeming@lyx.org>
1667
1668         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1669         thereby squashing an unnecessary warning.
1670
1671 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1672
1673         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1674         setBuffer()
1675
1676 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * BufferView.C (setCursor): call redoParagraph (some insets could
1679         have been opened)
1680         (putSelectionAt): remove the 'double update' trick
1681
1682         * BufferView_pimpl.C (fitCursor): call refreshPar
1683         (workAreaDispatch): remove an uneeded update call
1684         (dispatch): remove some manual update calls
1685
1686         * cursor.[Ch]: remove cached_y_, updatePos
1687         (selHandle): set noUpdate when appropriate
1688
1689         * lyxfunc.C (dispatch): track if we need an update
1690
1691         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1692
1693         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1694         (paintSelection): cheap optimization, do not call cursorX when not
1695         needed
1696         (paintPars): change signature
1697         (refreshPar): add
1698         (paintText): adjust
1699         (paintTextInset): adjust
1700
1701         * text.C: adjust
1702
1703 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * lengthcommon.C: compilation fix: remove explicit array size from
1706         unit_name[] and friends
1707
1708 2004-04-05  Angus Leeming  <leeming@lyx.org>
1709
1710         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1711
1712         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1713         present only for the preferences dialog.
1714         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1715
1716 2004-04-05  Angus Leeming  <leeming@lyx.org>
1717
1718         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1719         to enable the frontends to export changes to lyxrc correctly.
1720
1721         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1722
1723 2004-04-07  André Pönitz  <poenitz@gmx.net>
1724
1725         * cursor.[Ch] (selClear, adjust): remove math
1726
1727         * cursor_slice.C: more agressive assert
1728
1729         * lyxfunc.C:
1730         * BufferView_pimpl.C: rework mouse event dispatch
1731
1732         * dociterator.C:
1733         * paragraph.C:
1734         * text2.C:
1735         * text3.C: adjust
1736
1737 2004-04-05  André Pönitz  <poenitz@gmx.net>
1738
1739         * cursor.[Ch] (valign, halign...): remove unneeded functions
1740
1741 2004-04-05  Angus Leeming  <leeming@lyx.org>
1742
1743         * lyxlength.[Ch] (unit_name et al.): const-correct.
1744
1745 2004-04-05  Angus Leeming  <leeming@lyx.org>
1746
1747         * BufferView_pimpl.C:
1748         * buffer.C:
1749         * counters.C:
1750         * cursor.C:
1751         * lyxfunc.C
1752         * paragraph.C:
1753         * pariterator.C:
1754         * text.C:
1755         * text2.C:
1756         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1757
1758 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1759
1760         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1761
1762 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1765         * BufferView_pimpl.[Ch] (getStatus)
1766         * BufferView.[Ch] (getStatus): add
1767         * lyxfunc.C (getStatus): move lfuns handled in
1768         BufferView::dispatch to te function above
1769         * Cursor.C (setSelection): set selection() = true
1770
1771 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1772
1773         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1774
1775 2004-03-31  Angus Leeming  <leeming@lyx.org>
1776
1777         * lyxfunc.C (dispatch): Fall through to the generic
1778         Dialogs::show("preamble").
1779
1780 2004-03-31  Angus Leeming  <leeming@lyx.org>
1781
1782         * lyxfunc.C (dispatch): Fall through to the generic
1783         Dialogs::show("spellchecker").
1784
1785 2004-03-31  Angus Leeming  <leeming@lyx.org>
1786
1787         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1788         preferences dialog.
1789
1790 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * BufferView.C
1793         * cursor.[Ch]
1794         * dociterator.[Ch]:
1795         * insetiterator.[Ch]:
1796         * lyxfind.C:
1797         * lyxfunc.C:
1798         * pariterator.[Ch]:
1799         * text2.C:
1800         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1801
1802 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1805         insets where we are putting the cursor.
1806
1807 2004-03-31  Angus Leeming  <leeming@lyx.org>
1808
1809         * lfuns.h:
1810         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1811
1812         * lyxrc.[Ch] (read, write): overloaded member functions taking
1813         a std::[io]stream arguments.
1814
1815         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1816
1817 2004-03-31  Angus Leeming  <leeming@lyx.org>
1818
1819         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1820         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1821
1822         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1823         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1824
1825 2004-03-31  Angus Leeming  <leeming@lyx.org>
1826
1827         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1828         the LFUN_ALL_INSETS_TOGGLE code.
1829
1830 2004-03-30  Angus Leeming  <leeming@lyx.org>
1831
1832         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1833         has died. Fall through to the generic Dialogs::show("document").
1834
1835 2004-03-30  Angus Leeming  <leeming@lyx.org>
1836
1837         * lfuns.h:
1838         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1839         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1840
1841         * lyxfunc.C (getStatus, dispatch): define the actions for these
1842         lfuns. Little more than a cut and pste job from ControlDocument.C
1843
1844         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1845
1846 2004-03-30  Angus Leeming  <leeming@lyx.org>
1847
1848         * lfuns.h:
1849         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1850         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1851
1852         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1853         open/closed state of ollapsable insets. Usage:
1854
1855         all-inset-toggle <state> <name>, where
1856         <state> == "open" || "closed" || "toggle" and
1857         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1858
1859         * lyxtext.h, text2.C (toggleInset): removed.
1860
1861         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1862         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1863         now passes LFUN_INSET_TOGGLE to the found inset.
1864
1865         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1866         is now invoked as "all-insets-toggle toggle branch".
1867
1868 2004-03-30  Angus Leeming  <leeming@lyx.org>
1869
1870         * dociterator.C:
1871         * insetiterator.C:
1872         * pariterator.[Ch]: added/corrected header blurb.
1873
1874 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1875
1876         * dociterator.[Ch]: add an inset_ member
1877         (backwardPos): implemented
1878         (backwardPos, forwardPos): use inset_ when the stack is empty.
1879         (doc_iterator_begin, doc_iterator_end): implemented
1880         * pariterator.[Ch]: adjust, add begin, end
1881         * insetiterator.[Ch]: adjust, add begin, end
1882         * cursor.C:
1883         * document.C:
1884         * BufferView.C:
1885         * BufferView_pimpl.C:
1886         * CutAndPaste.C: adjust
1887
1888 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1889
1890         * buffer.C: increment file format to 232.
1891         * LaTeXFeatures.C: add bibtopic package.
1892         * bufferparams.[Ch]: param \use_bibtopic.
1893
1894         * lyxrc.[Ch]: add lyxrc bibtex_command
1895         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1896
1897         * buffer.C: increment file format to 231.
1898
1899 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * dociterator.C: implement forwardPar
1902         * iterators.[Ch]: remove, replaced by
1903         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1904         * BufferView.C:
1905         * BufferView_pimpl.C:
1906         * CutAndPaste.C:
1907         * buffer.C:
1908         * bufferview_funcs.C:
1909         * cursor.C:
1910         * lyxfind.C
1911         * lyxfunc.C
1912         * paragraph_funcs.C
1913         * toc.C:
1914         * Makefile.am: adjust
1915
1916 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1917
1918         * CutAndPaste.C (pasteSelection): fix 2 crashes
1919         (eraseSelection): fix a crash
1920         * paragraph_funcs.C: remove a warning
1921
1922 2004-03-28  Angus Leeming  <leeming@lyx.org>
1923
1924         * lfuns.h:
1925         * LyXAction.C (init): new LFUN_PRINT.
1926
1927         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1928
1929 2004-03-27  Angus Leeming  <leeming@lyx.org>
1930
1931         * lfuns.h:
1932         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1933
1934         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1935
1936 2004-03-27  Angus Leeming  <leeming@lyx.org>
1937
1938         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1939         insetlist always contains non-null pointers to insets.
1940
1941 2004-03-26  Angus Leeming  <leeming@lyx.org>
1942
1943         * src/BufferView_pimpl.C:
1944         * src/CutAndPaste.C:
1945         * src/buffer.C:
1946         * src/iterators.C:
1947         * src/output_plaintext.C:
1948         * src/outputparams.h:
1949         * src/paragraph_funcs.C:
1950         * src/rowpainter.C:
1951         * src/text.C:
1952         * src/text2.C:
1953         * src/frontends/controllers/ControlErrorList.C:
1954         * src/frontends/gtk/FileDialogPrivate.C:
1955         * src/frontends/gtk/GPainter.C:
1956         * src/frontends/gtk/GToolbar.C:
1957         * src/frontends/qt2/QRef.C:
1958         * src/mathed/math_scriptinset.C: squash compiler warnings.
1959
1960 2004-03-26  Angus Leeming  <leeming@lyx.org>
1961
1962         * ispell.C (LaunchIspell::start):
1963         * lyx_cb.C (AutoSaveBuffer::start):
1964         invoke run(DontWait) rather than runNonBlocking().
1965
1966 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1969
1970 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1971
1972         * kbsequence.C (print): adjust
1973
1974         * kbmap.C (printKeySym): rename and change signature
1975         (printKey): use LyXKeySym::print()
1976
1977 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1978
1979         * undo.C: add using std::advance to compile for stlport
1980
1981 2004-03-24  Angus Leeming  <leeming@lyx.org>
1982
1983         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1984         it leads to a crash when no buffer is present.
1985
1986 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1987             Martin Vermeer  <martin.vermeer@hut.fi>
1988
1989         * lyxfunc.C (dispatch):
1990         * bufferparams.C (readToken): use the new LColor::setColor
1991
1992         * LColor.[Ch] (setColor): new version that takes two strings as
1993         argument and creates a new color entry if necessary
1994
1995 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1996
1997         * buffer.C (makeLaTeXFile): if the main latex file that is
1998         processed is usually a subdocument of some master, then pretend
1999         for a while that it is actually the master
2000
2001 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2002
2003         * buffer.C (getLabelList):
2004         (getBibkeyList): use getMasterBuffer()
2005         (getMasterBuffer): new method. Returns the main document in the
2006         case where one is using included documents.
2007
2008 2004-03-25  André Pönitz  <poenitz@gmx.net>
2009
2010         * Makefile.am:
2011         * iterators.[Ch]:
2012         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2013
2014         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2015
2016         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2017         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2018
2019         * ParameterStruct.h: merge with ParagraphParameters
2020
2021         * lyxtext.h: remove LyXText::parOffset() and getPar()
2022
2023         * text3.C: Remove all 'manual' update calls. We do now one per user
2024         interaction which is completely sufficient.
2025
2026         * Bidi.C:
2027         * BufferView.[Ch]:
2028         * BufferView_pimpl.C:
2029         * FontIterator.[Ch]:
2030         * MenuBackend.C:
2031         * ParagraphParameters.[Ch]:
2032         * buffer.C:
2033         * buffer.h:
2034         * bufferlist.C:
2035         * cursor.[Ch]:
2036         * cursor_slice.[Ch]:
2037         * dociterator.[Ch]:
2038         * errorlist.[Ch]:
2039         * factory.C:
2040         * lfuns.h:
2041         * lyxfind.C:
2042         * lyxfunc.C:
2043         * output_docbook.[Ch]:
2044         * output_latex.[Ch]:
2045         * output_linuxdoc.[Ch]:
2046         * output_plaintext.[Ch]:
2047         * paragraph.[Ch]:
2048         * paragraph_funcs.[Ch]:
2049         * paragraph_pimpl.[Ch]:
2050         * rowpainter.C:
2051         * tabular.[Ch]:
2052         * text.C:
2053         * text2.C:
2054         * toc.C:
2055         * undo.[Ch]: adjust
2056
2057         * frontends/controllers/ControlDocument.C:
2058         * frontends/controllers/ControlErrorList.C:
2059         * frontends/controllers/ControlSpellchecker.C:
2060         * insets/inset.C:
2061         * insets/inset.h:
2062         * insets/insetbase.h:
2063         * insets/insetbibitem.C:
2064         * insets/insetbox.C:
2065         * insets/insetbranch.C:
2066         * insets/insetcaption.C:
2067         * insets/insetcharstyle.C:
2068         * insets/insetcharstyle.h:
2069         * insets/insetcollapsable.C:
2070         * insets/insetcollapsable.h:
2071         * insets/insetert.C:
2072         * insets/insetfloat.C:
2073         * insets/insetfoot.C:
2074         * insets/insetmarginal.C:
2075         * insets/insetnote.C:
2076         * insets/insetoptarg.C:
2077         * insets/insettabular.C:
2078         * insets/insettext.C:
2079         * insets/insettext.h:
2080         * insets/insetwrap.C:
2081         * mathed/math_mboxinset.C:
2082         * mathed/math_nestinset.C:
2083         * mathed/math_scriptinset.C:
2084         * mathed/math_scriptinset.h:
2085         * support/types.h:
2086
2087 2004-03-24  Angus Leeming  <leeming@lyx.org>
2088
2089         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2090         deal with any child processes that have finished but are waiting to
2091         communicate this fact to the rest of LyX.
2092
2093 2004-03-24  Angus Leeming  <leeming@lyx.org>
2094
2095         64-bit compile fixes.
2096
2097         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2098         (c-tor): pass lyx::pos_types rather than ints.
2099
2100         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2101         lyx::pos_type.
2102
2103         * text.C (Delete): compile fix.
2104         (getPar): ensure that function declaration is the same as that in
2105         the header file.
2106
2107 2004-03-23  Angus Leeming  <leeming@lyx.org>
2108
2109         * ispell.C (LaunchIspell):
2110         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2111         a boost::shred_ptr rather than a std::auto_ptr.
2112
2113 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2116         handle LFUN_FILE_INSERT_*
2117
2118         * lyxrc.C (setDefaults, getDescription, output, read):
2119         * lyxrc.h: remove ps_command
2120
2121 2004-03-22  Angus Leeming  <leeming@lyx.org>
2122
2123         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2124         Ensure that error_handler is processed once only and that all data
2125         is saved before attempting to output any warning messages.
2126
2127         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2128
2129 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2132
2133 2004-03-19  André Pönitz  <poenitz@gmx.net>
2134
2135         * cursor.[Ch] (reset): take main text inset as argument
2136
2137         * BufferView: adjust
2138         * BufferView_pimpl.C: adjust
2139
2140         * paragraph.[Ch]: fix completely broken operator=()
2141
2142 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * LColor.C (getFromLyXName): make sure that the color name is used
2145         as lowercase.
2146
2147 2004-03-17  Angus Leeming  <leeming@lyx.org>
2148
2149         * lfuns.h:
2150         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2151
2152         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2153         dialog and to kill a forked process.
2154
2155 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * text2.C (setCursorFromCoordinates): fix font problem
2158
2159 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2162         bogus "rebuild cursor" code
2163
2164 2004-03-11  André Pönitz  <poenitz@gmx.net>
2165
2166         * buffer.[Ch]: use InsetText instead of LyXText as container for
2167         the main lyx text.
2168
2169         * dociterator.[Ch]: drop the BufferView * member which is not needed
2170         anymore after the change to buffer.C
2171
2172         * paragraph_funcs.C:
2173         * text.C:
2174         * text2.C:
2175         * BufferView.[Ch]:
2176         * BufferView_pimpl.[Ch]:
2177         * cursor.[Ch]:
2178         * cursor_slice.[Ch]: adjust
2179
2180         * text3.C: fix bug in mathDispatch
2181
2182 2004-03-08  André Pönitz  <poenitz@gmx.net>
2183
2184         * undo.[Ch]: use 'StableDocumentIterator' as base for
2185         the Undo struct.
2186
2187 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2188
2189         * LaTeXFeatures.C:
2190         * bufferparams.[Ch]: add jurabib support and param.
2191
2192         * LaTeX.C: add FIXME/comment.
2193
2194 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2195
2196         * buffer.C: increment file format to 230.
2197
2198 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * cursor.C (dispatch): avoid infinite loops
2201
2202 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2203
2204         * rowpainter.C (paintSelection): fix x coordinates
2205
2206 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2207
2208         * text.C (rowBreakPoint): fix breaking before displayed insets
2209
2210 2004-03-01  André Pönitz  <poenitz@gmx.net>
2211
2212         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2213
2214         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2215
2216         * Makefile.am:
2217         * BufferView.C:
2218         * BufferView_pimpl.C:
2219         * buffer.C:
2220         * lyxfind.C:
2221         * lyxfunc.C:
2222         * text.C:
2223         * text2.C:
2224         * text3.C: adjust
2225
2226 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * lyxtext.h:
2229         * text.C:
2230         * text2.C:
2231         * rowpainter.C:
2232         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2233         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2234
2235 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2236
2237         * Bidi.[Ch] (computeTables): const correctness
2238         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2239         fill_hfill, fill_label_hfill and x from Row
2240         * lyxtext.h: prepareToPrint returns a RowMetrics
2241         * rowPainter.C: adjust
2242         * text.C (prepareToPrint): use width, not textWidth. adjust
2243         (redoParagraphInternal, cursorX): adjust
2244         * text2.C (getColumnNearX): adjust
2245         (init): put a default value to the top LyXText::width
2246
2247 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2248
2249         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2250
2251 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * lyxtext.h: add FontIterator class
2254
2255         * text.C (FontIterator, operator*, operator->, operator++): add
2256         (rowBreakPoint, setRowWidth): adjust (fixing a
2257         rebreaking bug)
2258
2259 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2260
2261         * BufferView_pimpl.C (workAreaDispatch): allow also
2262         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2263
2264 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * text.C (rowBreakPoint): fix a bug showing with very large insets
2267
2268 2004-02-25  André Pönitz  <poenitz@gmx.net>
2269
2270         * text3.C:
2271         * cursor.[Ch]: move some mathed specific code to mathed
2272
2273 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2274
2275         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2276         use_tempdir in preferences
2277         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2278         tempfile creation
2279         * lyx_main.C: ensure that tempdir is valid
2280         * lyxlex.h: correct typo
2281         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2282         * paragraph.[Ch] (isMultiLingual): make const
2283         * cursor.[Ch] (openable): make const
2284
2285 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2286
2287         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2288
2289 2004-02-20  André Pönitz  <poenitz@gmx.net>
2290
2291         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2292
2293         * cursor.[Ch]: prepare for localized getStatus()
2294
2295         * lyxtext.h:
2296         * tabular.C:
2297         * text.C:
2298         * text2.C:
2299         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2300
2301 2004-02-20  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2304
2305 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * text2.C (setCursorFromCoordinates): switch to absolute coords
2308         (cursorUp): adjust
2309         (cursorDown): adjust
2310         * text3.C (dispatch): adjust
2311
2312 2004-02-16  André Pönitz  <poenitz@gmx.net>
2313
2314         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2315           insets/ChangeLog)
2316
2317         * cursor_slice.[Ch]: remove unneeded acessor function
2318
2319         * lyxtext.h: rename rtl() to isRTL()
2320
2321         * rowpainter.C:
2322         * tabular.C:
2323         * text.C:
2324         * text2.C:
2325         * text3.C: adjust
2326
2327 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2328
2329         * rowpainter.C (paintSelection): coord fix
2330
2331 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2332
2333         * Spacing.C: compile fix
2334
2335 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2336
2337         * cursor.C (dispatch): restore current_ before returning
2338
2339 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * text2.C (cursorUp, cursorDown): fix coords
2342         (moveUp): fix crash
2343
2344 2004-02-12  André Pönitz  <poenitz@gmx.net>
2345
2346         * lyxtext.h:
2347         * text.C:
2348         * text2.C:
2349         * text3.C: add LCursor & parameter to most cursor movement functions
2350           remove usage of LyXText::cursorRow() and cursorPar()
2351
2352         * cursor.[Ch]: add textRow() needed members
2353
2354         * BufferView.C:
2355         * BufferView_pimpl.C:
2356         * paragraph.[Ch]:
2357         * BufferView.C:
2358         * BufferView_pimpl.C: adjust
2359
2360 2004-02-11  André Pönitz  <poenitz@gmx.net>
2361
2362         * lyxfunc.C:
2363         * BufferView.[Ch]:
2364         * BufferView_pimpl.C: shift undo/redo handling
2365
2366         * cursor.[Ch]: fix mathed crash
2367
2368         * lyxfind.C:
2369         * lyxtext.h: move selectionAsText to LCursor
2370
2371         * output_latex.C:
2372         * paragraph.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C: adjust
2376
2377         * rowpainter.C: fix excessive drawing
2378
2379 2004-02-06  André Pönitz  <poenitz@gmx.net>
2380
2381         * BufferView.[Ch]:
2382         * BufferView_pimpl.[Ch]:
2383         * text3.C: move some text specific LFUN handling
2384
2385 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * text3.C (checkInsetHit): adjust coords
2388         * text2.C (getColumnNearX): adjust coords
2389         (edit): adjust coords
2390         * text.C (getRowNearY): add two asserts
2391
2392 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * converter.C:
2395         * format.C: add using std::distance to compile on gcc 2.95/stlport
2396
2397 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2398
2399         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2400
2401 2004-02-04  André Pönitz  <poenitz@gmx.net>
2402
2403         * BufferView.[Ch] (insertInset):
2404         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2405
2406         * text2.C:
2407         * text3.C: adjust
2408
2409 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2412         on the default clause of the switch
2413         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2414         wasn't catched by LCursor::dispatch
2415
2416 2004-02-03  André Pönitz  <poenitz@gmx.net>
2417
2418         * BufferView.C:
2419         * cursor.[Ch]: some additional asserts
2420
2421         * undo.[Ch]: remove LyXText dependency in interface
2422
2423         * lyxfunc.C: adjust
2424
2425         * lyxtext.h (firstPar, lastPar): remove dead functions
2426
2427         * text.C:
2428         * text2.C:
2429         * text3.C:
2430         * paragraph.[Ch]: adjust
2431
2432 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * lyxfind.C (find): fix argument order in call to ::find
2435
2436 2004-02-02  André Pönitz  <poenitz@gmx.net>
2437
2438         * cursor.[Ch]: remove direct access to anchor
2439
2440         * text.C: remove findText() hack
2441
2442 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * iterators.[Ch] (lockPath): remove in favour of...
2445         * BufferView.[Ch] (setCursor): this addition
2446         * BufferView.C (putSelectionAt): adjust
2447         * undo.C (performUndoOrRedo): adjust
2448         * lyxfunc.C (dispatch): adjust
2449
2450 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2451
2452         * iterators.C (lockPath): add a missing slice
2453         * undo.C (performUndoOrRedo): remove redundant positioning code
2454
2455 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2456
2457         * vc-backend.C (scanMaster): ";" -> ';'
2458
2459 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2460
2461         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2462         std::binary_function
2463
2464         * lyxtextclass.C (compare_name): rename to...
2465         (LayoutNamesEqual): ...this
2466
2467         * lyxlex_pimpl.C (compare_tags): inherit from
2468         std::binary_function, put back into anon namespace
2469
2470         * lyxfind.C (MatchString): inherig from std::binary_function
2471         (findChange): use empty() istead of !size()
2472
2473         * format.C (FormatNamesEqual): new functor
2474         (getFormat): use it
2475         (getNumber): use it
2476         (add): use it
2477         (erase): use it
2478         (setViewer): use it
2479
2480         * converter.C (compare_Converter): rename to...
2481         (ConverterEqual): ...this, and fixup a bit.
2482         (getConverter): use it, and make function const
2483         (getNumber): use it, and make function const
2484         (add): use it
2485         (erase): use it:
2486
2487         * bufferlist.C: add using boost::bind
2488
2489         * MenuBackend.C (MenuNamesEqual): new functor
2490         (hasMenu): use it, and make function const
2491         (hasSubmenu): use nested bind to get rid of compare_memfun.
2492
2493 2004-01-30  André Pönitz  <poenitz@gmx.net>
2494
2495         * BufferView_pimpl.C:
2496         * cursor.C:
2497         * cursor.h:
2498         * cursor_slice.[Ch]:
2499         * lyxfunc.C:
2500         * lyxtext.h:
2501         * paragraph_funcs.C:
2502         * paragraph_funcs.h:
2503         * rowpainter.C:
2504         * text.C:
2505         * text2.C:
2506         * text3.C: move some of the edit(x,y) handling to the insets
2507         some coordinate changes.
2508
2509 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2510
2511         * text.C: add using statements for std::advance and std::distance
2512
2513         * paragraph.C: add using statement for std::distance
2514
2515         * lyxfind.C: add using statement for std::advance
2516
2517         * cursor.C (region): remove std:: from swap
2518         (openable): use nucleus in stead of operator->
2519
2520         * BufferView.C: add using statements for std::distance and std::swap
2521
2522 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2523
2524         * iterators.C: Remove the pimple, move the needed structures to
2525         the header file. Create accessor for the positions stack.
2526         (asPosIterator): remove function
2527
2528         * PosIterator.C (PosIterator): move constructors to top of file
2529         (PosIterator): reimplement the constructor taking a ParIterator in
2530         terms of setFrom.
2531         (setFrom): new function
2532         (operator!=): inline it
2533
2534 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2535
2536         * lyxfind.C (replaceAll): use std::advance
2537
2538         * iterators.h: inherit from std::iterator.
2539
2540         * PosIterator.C (advance, distance): remove
2541         * PosIterator.h: interit from std::iterator.
2542
2543 2004-01-26  André Pönitz  <poenitz@gmx.net>
2544
2545         * BufferView.[Ch]:
2546         * BufferView_pimpl.[Ch]:
2547         * InsetList.[Ch]:
2548         * PosIterator.[Ch]:
2549         * buffer.h:
2550         * bufferview_funcs.C:
2551         * cursor.[Ch]:
2552         * cursor_slice.h:
2553         * factory.[Ch]:
2554         * iterators.[Ch]:
2555         * lyxfind.C:
2556         * lyxfunc.C:
2557         * lyxtext.h:
2558         * output_docbook.C:
2559         * output_latex.C:
2560         * output_linuxdoc.C:
2561         * output_plaintext.C:
2562         * paragraph.[Ch]:
2563         * paragraph_funcs.[Ch]:
2564         * paragraph_pimpl.[Ch]:
2565         * rowpainter.C:
2566         * tabular.C:
2567         * tabular.h:
2568         * text.C:
2569         * text2.C:
2570         * text3.C: more IU:  dumps most of the rest of the mathcursor
2571     implementation into cursor.[Ch]; "globalize" a bit of it.
2572
2573 2004-01-25  Angus Leeming  <leeming@lyx.org>
2574
2575         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2576
2577 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2578
2579         * LaTeXFeatures.h: add nice_ and nice() const
2580         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2581
2582 2004-01-20  André Pönitz  <poenitz@gmx.net>
2583
2584         * BufferView.[Ch]:
2585         * BufferView_pimpl.C:
2586         * PosIterator.C:
2587         * bufferview_funcs.C:
2588         * cursor.[Ch]:
2589         * cursor_slice.[Ch]:
2590         * factory.C:
2591         * iterators.C:
2592         * lyx_cb.C:
2593         * lyxfind.C:
2594         * lyxfunc.C:
2595         * lyxtext.h:
2596         * rowpainter.C:
2597         * text.C:
2598         * text2.C:
2599         * text3.C:
2600         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2601           LCursor and mathcursor parts to LCursor and InsetBase.
2602
2603 2004-01-15  André Pönitz  <poenitz@gmx.net>
2604
2605         * cursor_slice.[Ch]: add a few covienience functions
2606
2607         * funcrequest.[Ch]: remove BufferView * member
2608
2609         * BufferView_pimpl.C:
2610         * cursor.C:
2611         * factory.[Ch]:
2612         * lyxfind.[Ch]:
2613         * lyxfunc.C:
2614         * lyxtext.h:
2615         * text3.C:
2616         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2617
2618 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2619
2620         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2621         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2622
2623 2004-01-13  André Pönitz  <poenitz@gmx.net>
2624
2625         * textcursor.[Ch]:
2626         * lyxtext.h: hide cursor and selection anchor behind accessor function
2627
2628         * BufferView.C:
2629         * BufferView_pimpl.[Ch]:
2630         * PosIterator.C:
2631         * bufferview_funcs.C:
2632         * cursor.h:
2633         * lyxfind.C:
2634         * lyxfunc.C:
2635         * text.C:
2636         * text2.C:
2637         * text3.C:
2638         * undo.C: adjust
2639
2640         * cursor.h:
2641         * cursor_slice.[Ch]: some integer type changes for inset unification
2642
2643         * lyxcursor.[hC]: remove, it's CursorSlice now.
2644
2645         * Makefile.am:
2646         * BufferView_pimpl.[Ch]:
2647         * bufferview_funcs.C:
2648         * cursor_slice.C:
2649         * lyxtext.h:
2650         * text.C:
2651         * text2.C:
2652         * text3.C:
2653         * textcursor.[Ch]: adjust
2654
2655 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2656
2657         * text2.C (undoSpan): add and use
2658         * text.C (breakParagraph): use undoSpan (fix bug 578)
2659         * lyxtext.h: adjust
2660
2661 2004-01-08  Angus Leeming  <leeming@lyx.org>
2662
2663         * BufferView_pimpl.C (MenuInsertLyXFile):
2664         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2665         * lyxfunc.C (menuNew, open, doImport):
2666         FileFilterList change to the FileDialog open and save functions.
2667
2668 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2669
2670         * ShareContainer.h: make isEqual and isUnique adaptable
2671
2672         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2673
2674 2004-01-07  Angus Leeming  <leeming@lyx.org>
2675
2676         * LyXAction.C:
2677         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2678
2679         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2680
2681         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2682         functions replacing find, replace and replaceAll.
2683
2684         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2685         LFUN_WORDFIND(FORWARD|BACKWARD).
2686
2687 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2688
2689         * text.C (breakParagraph): remove an outdated #warning
2690
2691 2004-01-07  André Pönitz  <poenitz@gmx.net>
2692
2693         * lyxfind.C: somewhat clearer logic
2694
2695         * text.C: prevent crash in cursorX on unitialized row cache
2696
2697 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * lyxcursor.[Ch] (operator>): add
2700         * textcursor.C (selStart, selEnd): use std::min and std::max
2701
2702 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2703
2704         * Chktex.C: include boost/format.hpp
2705
2706 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2707
2708         * InsetList.C: replace functor MathcIt with adaptable functor
2709         InsetTablePosLess
2710         (insetIterator): modify accordingly
2711
2712         * BranchList.h: move the BranchNamesEqual functor here from...
2713         * BranchList.C: ... to here
2714
2715         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2716         SameName and match.
2717         (add): replace a finding loop with std::find_if.
2718
2719 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2720
2721         * output_docbook.C: moving LatexParam functionality into
2722         .layout files
2723
2724 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2725
2726         * buffer.C: increment format to 229.
2727
2728 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2729
2730         * LaTeXFeatures.C:
2731         * lyx_sty.[Ch]: remove minipageindent_def
2732
2733         * LyXAction.C:
2734         * factory.C:
2735         * lfuns.h:
2736         * lyxfunc.C:
2737         * text3.C: remove LFUN_INSET_MINIPAGE
2738
2739 2003-12-28  Angus Leeming  <leeming@lyx.org>
2740
2741         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2742
2743 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2744
2745         * text2.C (setParagraph): fix off-by-one crash
2746
2747 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2748
2749         * output_docbook.C: header stuff for AGU
2750
2751 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2752
2753         * text2.C (redoCursor): remove
2754         * text.C:
2755         * text3.C:
2756         * BufferView_pimpl.C: remove calls to redoCursor and
2757         setCursor(cursor.par(), cursor.pos()) all around
2758
2759 2003-12-15  Angus Leeming  <leeming@lyx.org>
2760
2761         * buffer.C: up the format to 228.
2762
2763 2003-12-15  André Pönitz  <poenitz@gmx.net>
2764
2765         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2766         slices
2767
2768         * Makefile.am:
2769
2770         * BufferView_pimpl.C:
2771         * cursor.[Ch]:
2772         * lyxcursor.[Ch]:
2773         * rowpainter.[Ch]:
2774         * lyxtext.h:
2775         * text.C:
2776         * text2.C:
2777         * text3.C: adjust
2778
2779 2003-12-15  Angus Leeming  <leeming@lyx.org>
2780
2781         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2782         than getFromGUIName to manipulate the color.
2783
2784 2003-12-14  Angus Leeming  <leeming@lyx.org>
2785
2786         * BranchList.[Ch]: minimize the API.
2787         (Branch::getBranch, getColor): now return a 'const &'.
2788         (Branch::setSelected) now returns a bool set to true if the
2789         selection status changes.
2790         (BranchList::clear, size, getColor, setColor, setSelected,
2791         allBranches, allSelected, separator): removed.
2792         (BranchList::find): new functions, returning the Branch with
2793         the given name.
2794         (BranchList::add, remove): return a bool indicating that
2795         the operation was successful.
2796
2797         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2798         new InsetBranch::isBranchSlected member function.
2799
2800         * LColor.[Ch]: mimimize the API.
2801         (fill): renamed as addColor and made private.
2802         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2803         versions of these functions taking a string arg have been removed.
2804
2805         * bufferparams.C (readToken):
2806         * lyxfunc.C (dispatch):
2807         * lyxrc.C (read): changes due to the altered BranchList and
2808         LColor APIs.
2809
2810         * factory.C (createInset, readInset): changes due to altered
2811         InsetBranch c-tor.
2812
2813 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2814
2815         * factory.C:
2816         * lyxfunc.C: remove insetminipage. "minipage-insert"
2817         now produces a frameless minipage box inset.
2818
2819 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2820
2821         * textcursor.[Ch] (selStart,selEnd): add new methods
2822         remove selection::start, end, use LyXCursor::operator<
2823         * lyxcursor.[Ch] (operator<): add
2824         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2825         * BufferView.[Ch] (unsetXSel): add
2826         * text2.C (clearSelection): use unsetXSel,adjust
2827         * text.C: adjust
2828         * text3.C: adjust
2829         * rowpainter.C: adjust
2830         * bufferview_funcs.C (put_selection_at): adjust
2831
2832 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2833
2834         * BufferView_pimpl.C: small coord. correction
2835
2836 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2837
2838         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2839         dragging over the splash screen.
2840
2841 2003-12-11  Angus Leeming  <leeming@lyx.org>
2842
2843         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2844         as it is now handled in LyXText::dispatch.
2845
2846         * text3.C (doInsertInset): remove a level of nesting.
2847
2848 2003-12-11  Angus Leeming  <leeming@lyx.org>
2849
2850         * factory.C (createInset): changes due to the changed interface to
2851         InsetCommandMailer::string2params.
2852
2853 2003-12-10  Angus Leeming  <leeming@lyx.org>
2854
2855         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2856         'dialog-show-new-inset <inset name>'
2857
2858 2003-12-10  Angus Leeming  <leeming@lyx.org>
2859
2860         * buffer.C: up the format to 227.
2861
2862         * factory.C: the box inset is now identified simply by 'Box'.
2863
2864 2003-12-10  Angus Leeming  <leeming@lyx.org>
2865
2866         * buffer.C: up the format to 226.
2867
2868         * factory.C: the note inset is now identified simply by 'Note'.
2869
2870 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2873         when a pit is enough. Standarize a couple of loops.
2874
2875 2003-12-05  Angus Leeming  <leeming@lyx.org>
2876
2877         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2878         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2879         data to the re-worked "log" dialog.
2880
2881 2003-12-03  André Pönitz  <poenitz@gmx.net>
2882
2883         * PosIterator.C:
2884         * iterators.C:
2885         * lyxtext.h:
2886         * output_latex.C:
2887         * paragraph_funcs.C:
2888         * text.C:
2889         * text2.C: use Inset::getText instead of Inset::getParagraph
2890
2891 2003-12-03  André Pönitz  <poenitz@gmx.net>
2892
2893         * buffer.[Ch]:
2894         * lyxtext.h:
2895         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2896         InsetText::read() as LyXText::read()
2897
2898 2003-12-02  Angus Leeming  <leeming@lyx.org>
2899
2900         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2901         type. Add a comment in the implementation that the function uses
2902         the stream's bad() function rather than fail() as the std::streams
2903         would do.
2904
2905 2003-12-02  André Pönitz  <poenitz@gmx.net>
2906
2907         * lyxlex.[Ch]: make interface more similar to std::stream
2908
2909         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2910
2911 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2912
2913         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2914
2915 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2916
2917         * vspace.[Ch]: remove VSpace::NONE
2918
2919 2003-12-01  André Pönitz  <poenitz@gmx.net>
2920
2921         * buffer.[Ch]:
2922         * lyxtext.h: move ParagraphList member to LyXText
2923         rename LyXText::ownerParagraphs to LyXText::paragraph
2924
2925         * CutAndPaste.C:
2926         * bufferview_funcs.C:
2927         * iterators.[Ch]:
2928         * lyx_cb.C:
2929         * paragraph.C:
2930         * rowpainter.C:
2931         * tabular.C:
2932         * text.C:
2933         * text2.C:
2934         * text3.C: adjust
2935
2936         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2937
2938         * undo.C: fix cursor positioning
2939
2940 2003-12-01  John Levon  <levon@movementarian.org>
2941
2942         * BufferView_pimpl.C: fix a crash on exit with
2943         a buffer open
2944
2945 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2946
2947         * BranchList.C: fix setSelected() method.
2948
2949 2003-11-28  André Pönitz  <poenitz@gmx.net>
2950
2951         * ParagraphParameters.[Ch]:
2952         * ParameterStruct.h: remove space above/below from Paragraph to
2953          InsetVSpace
2954
2955         * BufferView_pimpl.C:
2956         * factory.C:
2957         * lyxfunc.C:
2958         * lyxtext.h:
2959         * output_latex.C:
2960         * paragraph.C:
2961         * paragraph_funcs.C:
2962         * rowpainter.[Ch]:
2963         * text.C:
2964         * text2.C:
2965         * text3.C: adjust
2966
2967 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2968
2969         * factory.C: Syntax change for CharStyles
2970
2971 2003-11-28  André Pönitz  <poenitz@gmx.net>
2972
2973         * BufferView.[Ch]:
2974         * BufferView.[Ch]:
2975         * buffer.[Ch]:
2976         * buffer.[Ch]: move LyXText member
2977
2978 2003-11-28  André Pönitz  <poenitz@gmx.net>
2979
2980         * BufferView.[Ch]: make LyXText * text a private member
2981
2982         * BufferView_pimpl.C:
2983         * cursor.C:
2984         * iterators.C:
2985         * lyx_cb.C:
2986         * lyxfind.C:
2987         * lyxtext.h:
2988         * rowpainter.[Ch]:
2989         * text.C:
2990         * text2.C:
2991         * undo.C: adjust
2992
2993         * output_plaintext.C: cleanup
2994
2995 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2996
2997         * buffer.C:
2998         * lyxtextclass.[Ch]: parametrize SGML document header
2999
3000 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * converter.[Ch]:
3003         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3004         getFlavor().
3005
3006 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3007
3008         * text2.C (setFont): rework using PosIterator (no more recursive)
3009         (setCharFont): no more needed
3010         (setLayout): no more selection cursors fiddling (done by redoCursor)
3011         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3012         destroy remaining ones)
3013
3014 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3017         * lyxtext.h: ditto
3018         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3019         selection cursors
3020         * lyxfunc.C: adjust
3021         * text3.C: adjust + re-allow multi par depth changes
3022         * textcursor.C: simplify a bit
3023
3024 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3025
3026         * src/buffer.C:
3027         * src/lyxlayout.C:
3028         * src/lyxlayout.h:
3029         * src/lyxtext.h:
3030         * src/output_docbook.C:
3031         * src/output_latex.C:
3032         * src/paragraph.C:
3033         * src/paragraph.h:
3034         * src/sgml.C:
3035         * src/sgml.h:
3036         * src/text2.C: Introducing a number of tags parametrizing various
3037         XML formats that we may want to support
3038
3039 2003-11-25  André Pönitz  <poenitz@gmx.net>
3040
3041         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3042
3043         * lyxtext.h (leftMargin/rightMargin): simplify interface
3044
3045         * rowpainter.C:
3046         * text.C:
3047         * text2.C:
3048         * text3.C: adjust
3049
3050 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3051
3052         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3053         master file to any child files. Fixes bug 546.
3054
3055 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3058
3059 2003-11-24  André Pönitz  <poenitz@gmx.net>
3060
3061         * rowpainter.C: simplification
3062
3063         * text2.C (updateCounters): remove call to redoParagraph on
3064         changed labels as this is far too expensive.
3065
3066 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3067
3068         * converter.C (convert): fix a crash: this function gets
3069         called with buffer == 0 from importer code.
3070
3071 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3072
3073         * text3.C (cursorPrevious): make sure that we do not compare
3074         iterators form different containers.
3075         (cursorNext): ditto
3076
3077         * rowpainter.C (paintSelection): make sure that we do not compare
3078         iterators from different containers.
3079
3080         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3081         iterators from different ParagraphList containers.
3082         [NEXT] ditto
3083
3084         * text2.C (LyXText): change order of initialization slightly
3085         (operator=): new function. copy all variables except cache_par_
3086         (moveUp): make sure that we do not compare iterators from
3087         different ParagraphList constainers.
3088         (moveDown): ditto
3089
3090         * text.C (firstPar): new function
3091         (lastPar): new function
3092         (endPar): new function
3093
3094         * lyxtext.h: move things around and group public functions, public
3095         variables, private functions, private variables
3096
3097 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3098
3099         * factory.C: change call to InsetERT constructor to avoid
3100         additional invocation of method status
3101         * text2.C (toggleInset): remove redundant update() call
3102         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3103         instead of a Bufferview pointer
3104
3105 2003-11-21  André Pönitz  <poenitz@gmx.net>
3106
3107         * rowpainter.C: simplification
3108
3109 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3110
3111         * text3.C (dispatch): make possible to extend a word/row selection
3112         with the mouse
3113
3114 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * lyxtext.h: x0_,y0_ -> xo_,yo_
3117         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3118         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3119         * rowpainter.C (paintRows): paint full paragraphs
3120
3121 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3122
3123         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3124         screen coordinates)
3125
3126 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * lyxtext.h: add x0_, y0_
3129         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3130         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3131
3132 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3133
3134         * text2.C (setCursorIntern): move the x_target update here *
3135         * text3.C: change some bv() to true/false in calls to
3136         cursorUp/Down/Right/Left
3137         * cursor.C: use helper function.
3138
3139 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3142         * paragraph_funcs.[Ch]: correct comment
3143         * rowpainter.C: do not paint selections away from bv->cursor()
3144         Fix a long standing selection painting bug.
3145         * text3.C: generalize mouse-selection code to LyXTexts other that
3146         top one
3147         * textcursor.C: do not use y coords if we can use par offsets
3148
3149 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3152         cursor position after e.g. inset insert)
3153
3154 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * lyxfind.C (replace): adjust to locking removal + some
3157         code simplification
3158
3159 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3160
3161         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3162         of the path
3163
3164 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3165
3166         * lyxlayout.[Ch]:
3167         * output_docbook.C: XML sanitation: new layout
3168         parameters InnerTag and CommandDepth
3169
3170 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * BufferView_pimpl.C:
3173         * factory.C:
3174         * text3.C: Fix the insertion and modification of button-style
3175         insets
3176
3177 2003-11-13  André Pönitz  <poenitz@gmx.net>
3178
3179         * InsetList.[Ch]: remove deleteLyXText
3180
3181         * paragraph.[Ch]: cache beginOfBody position
3182
3183         * Bidi.C:
3184         * text.C:
3185         * text2.C:
3186         * text3.C: remove superfluous update() calls
3187
3188         * vspace.C: cleanup
3189
3190 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3193         * BufferView.C (fitLockedInsetCursor): remove
3194         * cursor.[Ch] (getDim): add
3195         * text.C (getRowNearY): add faster version
3196         * text3.C: remove some update calls
3197
3198 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3199
3200         * LaTeXFeatures.C:
3201         * LyXAction.C:
3202         * MenuBackend.C:
3203         * MenuBackend.h:
3204         * dispatchresult.h:
3205         * factory.C:
3206         * lfuns.h:
3207         * lyxfunc.C:
3208         * lyxtextclass.C:
3209         * lyxtextclass.h:
3210         * text3.C: The Character Style /XML short element patch.
3211
3212 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3213
3214         * text3.C:
3215         * factory.C: Small step to solving 'unable to insert some insets'
3216         problem
3217
3218 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * cursor.[Ch] (updatePos): new function for updating the y
3221         position of the tip inset
3222         * bufferview_funcs.C (put_selection_at):
3223         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3224
3225 2003-11-11  André Pönitz  <poenitz@gmx.net>
3226
3227         * text.C: remove big comment on invalid Paragraph pointers as it is
3228         not valid anymore
3229
3230 2003-11-11  André Pönitz  <poenitz@gmx.net>
3231
3232         * text_funcs.[Ch]: merge with ...
3233
3234         * text.C: ... this
3235
3236         * lyxtext.h:
3237         * text2.C:
3238         * text3.C: adjust
3239
3240         * Makefile.am: remove text_funcs.[Ch]
3241
3242 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * cursor.C (getPos): return absolute cached y coord
3245
3246         * BufferView_pimpl.C (fitCursor): new simplistic code
3247         (workAreaDispatch): add a fitCursor call
3248
3249 2003-11-10  André Pönitz  <poenitz@gmx.net>
3250
3251         * BufferView.[Ch]:
3252         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3253
3254 2003-11-10  André Pönitz  <poenitz@gmx.net>
3255
3256         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3257         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3258         indicate that the cursor needs to leave an inset
3259
3260         * lyxtext.h: remove inset locking
3261
3262         * cursor.[Ch]: re-implement functionality provided by inset locking
3263
3264         * BufferView.[Ch]:
3265         * BufferView_pimpl.[Ch]:
3266         * LyXAction.C:
3267         * bufferview_funcs.[Ch]:
3268         * factory.C:
3269         * funcrequest.[Ch]:
3270         * iterators.C:
3271         * lyx_cb.C:
3272         * lyxfind.C:
3273         * lyxfunc.C:
3274         * text.C:
3275         * text2.C:
3276         * text3.C:
3277         * undo.C: adjust
3278
3279 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * PosIterator.[Ch]: replace the stack with a vector, add inset
3282         accesor
3283         * iterators.[C]: adjust
3284
3285 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3286
3287         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3288         replaced
3289         * paragraph_funcs.C (readParToken): put the correct id in the
3290         error item, not the id of the top paragraph
3291
3292 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3295         * bufferview_funcs.C (put_selection_at): use the above
3296
3297 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3300
3301 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3302
3303         * output_linuxdoc.h:
3304         * output_plaintext.h:
3305         * output.h:
3306         * output_docbook.h: add #include statements
3307
3308 2003-11-05  José Matos  <jamatos@lyx.org>
3309
3310         * output_docbook.[Ch]:
3311         * output_latex.[Ch]:
3312         * output_linuxdoc.[Ch]:
3313         * output_plaintext.[Ch]: New files for output formats.
3314         * output.[Ch]: New file for helper functions.
3315
3316         * buffer.[Ch]:
3317         * paragraph_funcs.[Ch]: output functions moved to new files.
3318
3319         * outputparams.h: rename of latexrunparams.h
3320
3321         * LaTeX.[Ch]:
3322         * buffer.[Ch]:
3323         * bufferlist.[Ch]:
3324         * converter.[Ch]:
3325         * exporter.C:
3326         * paragraph.[Ch]:
3327         * paragraph_funcs.[Ch]:
3328         * paragraph_pimpl.[Ch]:
3329         * tabular.[Ch]: rename ascii to plaintext
3330         and LatexRunParams to OutputParams.
3331
3332 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3333
3334         * iterators.[Ch] (text): require bv argument
3335         * undo.C (recordUndo):
3336         * lyxfunc.C (dispatch):
3337         * bufferview_funcs.C (put_selection_at): adjust
3338
3339 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3340
3341         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3342
3343 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3344
3345         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3346         nestings
3347
3348 2003-11-04  André Pönitz  <poenitz@gmx.net>
3349
3350         * cursor.[Ch]: restructure
3351
3352         * BufferView.[Ch]:
3353         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3354
3355         * iterators.[Ch] (asCursor): remove
3356
3357         * lfuns.h: remove LFUN_INSET_EDIT
3358
3359         * lyxfunc.C:
3360         * tabular.C:
3361         * text.C:
3362         * text2.C:
3363         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3364
3365 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3366
3367         * lyxfind.[Ch]: complete overhaul
3368         * BufferView_pimpl.C:
3369         * lyxfunc.C: adjust
3370         * paragraph.[Ch] (insert): add
3371
3372 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * BufferView.[Ch]:
3375         * lyxtext.h:
3376         * text.C: remove dead spellcheck code
3377
3378 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * dispatchresult.h: add a val setter
3381
3382         * cursor.C (dispatch): use a tempvar for data_[i]
3383
3384 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * PosIterator.[Ch]: compile fix
3387
3388 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3389
3390         * text.C (cursorPar): deactivate the cursor cache
3391
3392 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3395
3396 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * text3.C (dispatch): adjust for new DisptchResult semantics.
3399
3400         * lyxfunc.C (dispatch): handle update when return from
3401         Cursor::dispatch, adjust for new DispatchResult semantics.
3402
3403         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3404         DispatchResult(true) mean to not update. Add class functions for
3405         setting dispatched and update, as well as reading.
3406
3407         * cursor.C (dispatch): don't handle update here
3408
3409 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3412         * trans_mgr.C: adjust
3413
3414         * paragraph_funcs.C (readParToken): exception safety
3415
3416         * lyxvc.h: store the vcs pointer in a scoped_ptr
3417         * lyxvc.C: adjust
3418
3419         * lyxsocket.C (serverCallback): exception safety
3420
3421         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3422
3423         * ispell.C (clone): make it return a auto_ptr
3424
3425         * factory.C (createInset): exception safety
3426         (readInset): exception safety
3427
3428         * bufferlist.C (newBuffer): exception safety
3429
3430         * Thesaurus.C (Thesaurus): use initialization for aik_
3431
3432         * MenuBackend.C (expandToc): exception safety.
3433
3434 2003-11-03  André Pönitz  <poenitz@gmx.net>
3435
3436         * buffer.C:
3437         * buffer.h:
3438         * bufferview_funcs.C: remove getInsetFromId()
3439
3440         * lyxcursor.[Ch]:
3441         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3442
3443         * lyxfunc.C:
3444         * text2.C:
3445         * text3.C: adjust
3446
3447 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3448
3449         * PosIterator.C (distance, advance): new
3450         * bufferview_funcs.[Ch] (put_selection_at): new
3451         * iterators.[Ch] (lockPath): new
3452
3453 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * iterators.[Ch] (asPosIterator): added
3456         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3457         * PosIterator.[Ch]: added
3458
3459 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * text3.C:
3462         * lyxfunc.C:
3463         * cursor.C (dispatch):
3464         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3465
3466         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3467         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3468         contructor, add a class function dispatched. Remove operator>=
3469
3470 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * debug.C: only use the default constructor for debugstream
3473         (lyxerr) here.
3474
3475         * main.C (main): include debug.h and setup the lyxerr streambuf
3476         here.
3477
3478 2003-10-31  José Matos  <jamatos@lyx.org>
3479
3480         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3481
3482         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3483         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3484         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3485         * paragraph_pimpl.C (simpleTeXSpecialC):
3486         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3487         add LatexRunParams argument.
3488
3489         * exporter.C (Export): change call accordingly.
3490
3491         * latexrunparams.h: add new member to take care of the other backends.
3492 2003-10-30  José Matos  <jamatos@lyx.org>
3493
3494         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3495         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3496         factorise code for paragraph output.
3497         * buffer.[Ch]:
3498         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3499         move functions.
3500
3501 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * text3.C (dispatch):
3504         * lyxfunc.C (dispatch):
3505         * cursor.C (dispatch):
3506         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3507
3508         * dispatchresult.h: make the dispatch_result_t ctor explicit
3509
3510 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * sgml.[Ch]:
3513         * buffer.C: small refactoring of docbook stuff
3514
3515 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3518         meaning.
3519
3520 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3523         operator dispatch_result_t, and operators for == != and >=
3524
3525         * cursor.C (dispatch): adjust for operator dispatch_result_t
3526         removal. comment out call to update
3527
3528         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3529
3530 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * text3.C:
3533         * text2.C:
3534         * text.C:
3535         * lyxtext.h:
3536         * lyxfunc.C:
3537         * cursor.C:
3538         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3539         (dispatch):
3540
3541         * dispatchresult.h: new file, DispatchResult broken out of
3542         insets/insetbase.h
3543
3544         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3545
3546 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * text.C (rowBreakPoint): put a hack inside #if 0
3549
3550 2003-10-28  André Pönitz  <poenitz@gmx.net>
3551
3552         * lyxtext.h:
3553         * metricsinfo.C:
3554         * paragraph_funcs.C:
3555         * rowpainter.C:
3556         * text.C:
3557         * text2.C: general cleanup (lots of small stuff)
3558
3559 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text2.C (cursorEnd): simple fix to the "end key goes to one
3562         before the end on last row" bug
3563
3564 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * text.C (backspace): fix the "zombie characters"
3567
3568 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3571
3572 2003-10-27  André Pönitz  <poenitz@gmx.net>
3573
3574         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3575
3576         * factory.C: handle new InsetPagebreak, InsetLine
3577
3578         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3579         and move handling into new InsetPagebreak, InsetLine
3580
3581         * BufferView_pimpl.C:
3582         * LyXAction.C:
3583         * ParagraphParameters.C:
3584         * ParameterStruct.h:
3585         * lyxfunc.C:
3586         * lyxtext.h:
3587         * paragraph.C:
3588         * paragraph.h:
3589         * paragraph_funcs.C:
3590         * paragraph_pimpl.C:
3591         * rowpainter.C:
3592         * text.C:
3593         * text2.C:
3594         * text3.C: adjust
3595
3596 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * text.C:
3599         * lyxrow_funcs.[Ch]:
3600         * Bidi.C:
3601         * paragraph.C:
3602         * lyxtext.h:
3603         * rowpainter.C:
3604         * text2.C:
3605         * text3.C: remove lastPos uses in favour of Row::endpos
3606
3607 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * undo.C (performUndoOrRedo): fix two crashes by setting a
3610         cursor by hand and reordering some calls. Use bv->lockInset instead
3611         of inset->edit because the latter loses cursor information
3612
3613 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3616         by Martin
3617         (rowBreakPoint): fix width. change point to point + 1.
3618         Add a missing check.
3619
3620 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3621
3622         * MenuBackend.C:
3623         * lyxfunc.C: fix (at least partly) the problems
3624         with the Nav menu and headers inside branch insets
3625         reported by Kayvan
3626
3627 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3628
3629         * paragraph.C (getChar): add strong asserts
3630
3631         * lyxrow_funcs.C (lastPos): remove hideous hack
3632
3633         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3634         (fill): adjust to that (avoid an infinite loop)
3635
3636 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3639
3640 2003-10-23  André Pönitz  <poenitz@gmx.net>
3641
3642         * RowList_fwd.h: change list<> to vector<> to gain speed
3643         after suggestion from Alfredo
3644
3645 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * lyxtext.h: move the bidi stuff from here...
3648         * text.C: and here
3649         * text2.C: and here
3650         * Bidi.[Ch]: ... to here
3651
3652 2003-10-23  André Pönitz  <poenitz@gmx.net>
3653
3654         * lyxtext.h:
3655         * text.C (isLastRow, isFirstRow): new functions
3656
3657         * paragraph.h: new width cache member
3658
3659         * rowpainter.C: replace RowList::iterator with Row & where possible
3660
3661         * lyxfunc.C: replace several view()->text with a single call
3662
3663         * toc.C: fix 'unused' warning
3664
3665 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3668         when woring with stream::pos_type
3669         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3670
3671 2003-10-22  André Pönitz  <poenitz@gmx.net>
3672
3673         * lyxtext.h:
3674         * text.C: use Row & instead of RowList::iterator
3675
3676         * lyxrow.h: rename end() to endpos()
3677
3678         * rowpainter.C:
3679         * text.C:
3680         * text2.C: adjust
3681
3682 2003-10-22  Angus Leeming  <leeming@lyx.org>
3683
3684         * buffer.[Ch] (fully_loaded): new member function, returning true
3685         only when the file has been loaded fully.
3686         Used to prevent the premature generation of previews and by the
3687         citation inset to prevent computation of the natbib-style label.
3688
3689         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3690         templates are all set up.
3691
3692         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3693
3694 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * text.C: fixed an "oops" in the "is a bit silly"
3697         bug fix
3698
3699 2003-10-21  André Pönitz  <poenitz@gmx.net>
3700
3701         * FuncStatus.[Ch]: small stuff, whitespace
3702
3703         * lyxfont.[Ch]: operator<<() for debug reasons
3704
3705         * lyxfunc.C:
3706         * lyxrow_funcs.C:
3707         * lyxtext.h: whitespace, spelling
3708
3709         * paragraph.C: naming of variables
3710
3711         * text.C:
3712         * text2.C: small stuff
3713
3714
3715 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3716
3717         * text.C: (1) finish off the inset display() work;
3718         (2) fix the "is a bit silly" bug (accessing char
3719         past end of par).
3720
3721 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3722
3723         * text.C: re-introduce display() for insets, fixing the
3724         various bugs (stretch of line above, math inset
3725         positioning, ...)
3726
3727 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3728
3729         * text.C (rightMargin): remove spurious semicolon
3730
3731         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3732         1415)
3733
3734 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3735
3736         * text3.C: fix one crash due to wrong cursor def
3737
3738 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * vc-backend.C (scanMaster): make the regex static
3741
3742         * LaTeX.C (scanAuxFile): make the regexs static
3743
3744         * text3.C (doInsertInset, dispatch, dispatch):
3745         * text2.C (cursorUp, cursorDown):
3746         * text.C (selectNextWordToSpellcheck):
3747         * BufferView_pimpl.C (dispatch):
3748         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3749
3750 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3751
3752         * lyxsocket.C: include <cerrno>
3753
3754 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * lyxfunc.C (dispatch): remove textcache stuff
3757
3758         * bufferlist.C (release): remove textcache stuff
3759         (closeAll): ditto
3760
3761         * TextCache.C: delete file
3762         * TextCache.h: delete file
3763
3764         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3765
3766         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3767         delete of the bv_->text.
3768         (resizeCurrentBuffer): remove texcache stuff
3769         (workAreaResize): ditto
3770
3771 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3774         action.
3775
3776 2003-10-16  André Pönitz  <poenitz@gmx.net>
3777
3778         * lyxrow.[Ch]:
3779         * paragraph.h:
3780         * rowpainter.C:
3781         * text.C:
3782         * text2.C:
3783         * text3.C: speed up by storing y positions per paragraph plus per-row
3784         offset instead of having a 'full' y position in the row.
3785
3786 2003-10-15  André Pönitz  <poenitz@gmx.net>
3787
3788         * iterators.[Ch]:
3789         * iterators.[Ch]:
3790         * undo.[Ch]: make undo aware of inner insets
3791
3792 2003-10-14  Angus Leeming  <leeming@lyx.org>
3793
3794         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3795         static member functions LyX::ref() and LyX::cref.
3796         (lastfiles): new accessor functions for the new lastfiles_ member var.
3797         (addLyXView, views_): add a new LyXView to the list of views_.
3798         (updateInset): loop over all LyXViews to call their own updateInset
3799         member function, returning a pointer to the Buffer owning the inset.
3800
3801         * BufferView_pimpl.C (loadLyXFile):
3802         * MenuBackend.C (expandLastfiles):
3803         * bufferlist.C (MenuWrite, QuitLyX):
3804         lastfiles is no longer a global variable.
3805         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3806
3807         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3808         static function. Access through LyX::cref().emergencyCleanup().
3809
3810 2003-10-14  André Pönitz  <poenitz@gmx.net>
3811
3812         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3813
3814         * undo.[Ch]: restoring part of 'undo in insets'
3815
3816         * Makefile.am:
3817         * undo_funcs.[Ch]: merge with undo.[Ch]
3818
3819         * tabular.C: small cleansing stuff
3820
3821 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * paragraph_funcs.C (readParToken): report unknown insets as error
3824         boxes. Use the outer paragraph as location (also for unknown
3825         tokens).
3826
3827         * factory.C (readInset): do not abort on reading an unknown inset.
3828         Eat it and return 0.
3829
3830 2003-10-13  Angus Leeming  <leeming@lyx.org>
3831
3832         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3833
3834         * lyxrc.C: displayTranslator is now a function,
3835         declared in GraphicsTypes.h.
3836
3837 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3838
3839         * format.C: new placeholder $$a to pass the socket address.
3840
3841         * bufferlist.[Ch]: new function getBufferFromTmp.
3842
3843         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3844           files in the temporary dir.
3845
3846 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3847
3848         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3849
3850         * Makefile.am: add lyxsocket.[Ch].
3851
3852         * lyx_main.C (error_handler): handle SIGPIPE.
3853
3854 2003-10-13  André Pönitz  <poenitz@gmx.net>
3855
3856         * BufferView_pimpl.C:
3857         * lyxtext.h:
3858         * text.C:
3859         * text2.C:
3860         * text3.C:
3861         * undo_funcs.[Ch]: use paroffset_type instead of
3862           ParagraphList::iterators to prevent multiple conversion
3863           (and get a more robust interface)
3864
3865 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3868         * lyxtext.h: ditto
3869         * text3.C (dispatch): ditto
3870
3871 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3874         move the onlyfile, use onlyfile instead of foundfile in a couple
3875         of places.
3876
3877         * DepTable.C (update): flush the error stream a bit more
3878
3879 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * lyxserver.C (callback): adjust
3882
3883         * lyxfunc.C (getStatus): add a missing brace in commented code
3884         (ensureBufferClean): reindent
3885         (dispatch): delete version taking a string
3886
3887 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * LaTeX.C (deplog): move found file handlig from here...
3890         (handleFoundFile): .. to new function here.
3891         (deplog): make sure to discover several files mentioned on the
3892         same log line.
3893
3894 2003-10-10  André Pönitz  <poenitz@gmx.net>
3895
3896         * lyxfunc.C:
3897         * lyxtext.h:
3898         * tabular.C:
3899         * text.C:
3900         * text2.C:
3901         * text3.C: fix some of the tabular crashes
3902
3903 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3904
3905         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3906
3907         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3908
3909 2003-10-09  André Pönitz  <poenitz@gmx.net>
3910
3911         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3912
3913         * BufferView.C:
3914         * BufferView_pimpl.C:
3915         * bufferview_funcs.C:
3916         * lyx_cb.C:
3917         * lyxcursor.C:
3918         * lyxfind.C:
3919         * lyxfunc.C:
3920         * lyxtext.h:
3921         * text.C:
3922         * text2.C:
3923         * text3.C:
3924         * text_funcs.[Ch]:
3925         * textcursor.[Ch]:
3926         * undo_funcs.C: adjust
3927
3928 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * text2.C (incrementItemDepth): new function, use a backtracking
3931         algorithm to discover the correct item depth.
3932         (resetEnumCounterIfNeeded): new function, use a backtracking
3933         algorithm to discover if counter reset is needed.
3934         (setCounter): use them. Simplify a bit. Add different labels for
3935         different item depths for itemize.
3936
3937         * paragraph.C (Paragraph): remove initialization of enumdepth
3938         (operator=): ditto
3939
3940         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3941         enumerate and itemize. Change the type of itemdepth to signed char.
3942
3943 2003-10-08  André Pönitz  <poenitz@gmx.net>
3944
3945         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3946           thing assignable.
3947         * text.C:
3948         * text2.C: adjust
3949
3950         * tabular.[Ch]: fix crash after 'row-insert'
3951
3952 2003-10-08  Angus Leeming  <leeming@lyx.org>
3953
3954         Fix doxygen warnings.
3955
3956         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3957         Remove CutAndPaste:: prefix from header file declaration.
3958
3959         * LColor.h (fill): remove LColor:: prefix from declaration.
3960
3961         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3962         use lyx::depth_type rather than Paragraph::depth_type so that
3963         header file and .C file match.
3964
3965         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3966
3967         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3968         * aspell.C: \file aspell_local.C -> \file aspell.C
3969         * gettext.C: \file gettext.C -> \file src/gettext.C
3970         * gettext.h: \file gettext.h -> \file src/gettext.h
3971         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3972         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3973         * text.C: \file text.C -> \file src/text.C
3974
3975         * toc.C: move comment so that doxygen is not confused.
3976
3977 2003-10-07  Angus Leeming  <leeming@lyx.org>
3978
3979         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3980
3981 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3982
3983         * aspell.C:
3984         * aspell_local.h: add forgotten std::string's.
3985
3986 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3987
3988         * LaTeXFeatures.C:
3989         * LyXAction.C:
3990         * factory.C:
3991         * lfuns.h:
3992         * lyxfunc.C:
3993         * text3.C: The Box patch. Fancybox support, minipage, parbox
3994
3995 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3996
3997         * CutAndPaste.h:
3998         * DepTable.h:
3999         * FloatList.h:
4000         * LaTeXFeatures.h:
4001         * ParagraphParameters.h:
4002         * TextCache.h:
4003         * Thesaurus.h:
4004         * bufferlist.h:
4005         * exporter.h:
4006         * importer.h:
4007         * lastfiles.h:
4008         * lyxfind.h:
4009         * lyxfont.h:
4010         * lyxlex.h:
4011         * lyxtextclasslist.h:
4012         * messages.h:
4013         * paragraph.h:
4014         * paragraph_pimpl.C:
4015         * textcursor.h: add <string> and other small fixes to make Lars'
4016         std::string patch compile with STLport.
4017
4018 2003-10-06  Angus Leeming  <leeming@lyx.org>
4019
4020         * LColor.h: Add missing #include <string>.
4021
4022 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4023
4024         * All most all file in all subdirs: Make <string> be the prefered
4025         way of getting to std::string, add using declarations.
4026
4027 2003-10-06  André Pönitz  <poenitz@gmx.net>
4028
4029         * metricsinfo.C: initialize LyXFont before changing attribute.
4030         (fixes the 'math in \emph is upright' bug)
4031
4032 2003-10-06  André Pönitz  <poenitz@gmx.net>
4033
4034         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4035
4036 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4037
4038         * graph.C:
4039         * paragraph_pimpl.C: Small fixes to build using STLport
4040
4041 2003-10-02  André Pönitz  <poenitz@gmx.net>
4042
4043         * lyxfunc.C:
4044         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4045
4046 2003-10-01  André Pönitz  <poenitz@gmx.net>
4047
4048         * factory.C: assert early
4049
4050 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * lyx_main.C: remove the global debug object
4053
4054         * debug.h: adjust for new debugstream
4055
4056         * debug.C: adjust for new debugstream and keep the global debug
4057         object here.
4058
4059 2003-09-22  Angus Leeming  <leeming@lyx.org>
4060
4061         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4062         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4063         an incomplete class LyXFont.
4064
4065 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4066
4067         * factory.C: bug fix in branches
4068
4069 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * lyxfunc.C (processKeySym): adjust
4072         (dispatch): adjust
4073         (dispatch): change arg name from ev to func, adjust
4074         (sendDispatchMessage): ditto
4075
4076         * lyx_main.C (defaultKeyBindings): adjust keybindings
4077         (deadKeyBindings): ditto
4078
4079         * kbsequence.C (addkey): return a FuncRequest
4080
4081         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4082
4083         * kbmap.C (bind): take a FuncRequest as arg, adjust
4084         (read): adjust
4085         (lookup): adjust
4086         (defkey): change to take a FuncRequest as arg, adjust
4087         (findbinding): take a FuncRequest as arg, adjust.
4088
4089         * funcrequest.h (operator=): added
4090
4091         * funcrequest.C (FuncRequest): default kb_action changed from
4092         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4093
4094         * buffer.C (dispatch): simplify
4095         (dispatch): adjust to take a FuncRequest as arg, adjust
4096
4097         * boost.C (assertion_failed): change assertion message slightly
4098
4099         * ToolbarBackend.C (read): simplify
4100
4101         * MenuBackend.C (binding): adjust call to findbinding, add a
4102         message if no binding is found.
4103         (read): simplify
4104         (expandToc): correct by adding a empty FuncRequest
4105
4106         * LyXAction.C: include <boost/assert.hpp>
4107         (isPseudoAction): delete function
4108         (LookupFunc): change name to...
4109         (lookupFunc): this. change return type to FuncRequest.
4110         (getActionName): take kb_action as arg, simplify
4111         (funcHasFlag): add an assert, simplify.
4112
4113 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * toc.C (action): return a FuncRequest, simplify
4116
4117         * lyxfunc.C (processKeySym): adjust
4118         (getStatus): delete version that takes an int.
4119         (getStatus): adjust
4120         (dispatch): delete version that takes action as int
4121         (dispatch): adjust
4122         (sendDispatchMessage): simplify and adjust
4123
4124         * funcrequest.C (getArg): take unsigned int as arg
4125
4126         * ToolbarBackend.C (read): adjust
4127         (add): delete version that takes func as a string.
4128         (getIton): take a FuncRequest as arg
4129
4130         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4131         action.
4132
4133         * MenuBackend.C (MenuItem): add a new construct that only takes a
4134         Kind, simplify the constructor use for submenus.
4135         (add): adjust
4136         (expandLastfiles): adjust
4137         (expandDocuments): adjust
4138         (expandFormats): adjust
4139         (expandFloatListInsert): adjust
4140         (expandFloatInsert): adjust
4141         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4142
4143         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4144         Remove class variables lyx_pseudo_map and lyx_arg_map
4145
4146         * LyXAction.C (searchActionArg): delete function
4147         (getPseudoAction): delete function
4148         (retrieveActionArg): delete function
4149         (LookupFunc): make it return kb_action, simplify.
4150         (getActionName): simplify
4151
4152         * factory.C (createInset): fix new bug
4153
4154 2003-09-19  Angus Leeming  <leeming@lyx.org>
4155
4156         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4157         masterFilename_ parameter in the include inset.
4158
4159         * factory.C (createInset): changes due to the changes to InsetInclude.
4160
4161 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4162
4163         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4164
4165 2003-09-18  Angus Leeming  <leeming@lyx.org>
4166
4167         * buffer.C:
4168         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4169         Inset::fillWithBibKeys.
4170         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4171
4172 2003-09-18  Angus Leeming  <leeming@lyx.org>
4173
4174         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4175         variables.
4176         (ctor): pass and store a 'Buffer const &'
4177         (buffer): new member function.
4178
4179         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4180         '*this' to the LaTeXFeatures ctor.
4181
4182 2003-09-18  Angus Leeming  <leeming@lyx.org>
4183
4184         * LColor.h:
4185         * lyxfont.C:
4186         * lyxfont.h:
4187         * lyxtext.h:
4188         * text.C: rename EnumLColor as LColor_color.
4189
4190 2003-09-18  Angus Leeming  <leeming@lyx.org>
4191
4192         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4193         remove #include "insets/insetbase.h" from cursor.h.
4194
4195 2003-09-18  Angus Leeming  <leeming@lyx.org>
4196
4197         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4198         InsetOld_code to remove #include "inset.h".
4199
4200         * iterators.C: add #include "insets/inset.h"
4201
4202 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4203
4204         * BufferView.C: remove more locking stuff that apparently doesn't
4205         do anything sensible.
4206
4207 2003-09-16  André Pönitz  <poenitz@gmx.net>
4208
4209         * paragraph.[Ch]:
4210         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4211           performance boost.
4212
4213 2003-09-16  Angus Leeming  <leeming@lyx.org>
4214
4215         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4216
4217         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4218         arg/return type.
4219
4220         * paragraph.h: remove #include "lyxfont.h". Forward declare
4221         LyXFont_size.
4222
4223 2003-09-16  Angus Leeming  <leeming@lyx.org>
4224
4225         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4226         of support/textutils.h.
4227         (isWord): move the contents of support/textutils.h's IsWordChar here.
4228
4229         * buffer.C:
4230         * lyxfind.C:
4231         * rowpainter.C:
4232         * text.C:
4233         * text2.C: add #include "paragraph.h".
4234
4235         * rowpainter.C:
4236         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4237
4238 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * main.C:
4241         * lyx_main.C:
4242         * lyx_cb.C:
4243         * buffer.C:
4244         * LaTeX.C: use namespace alias for lyx::support::os
4245
4246 2003-09-16  Angus Leeming  <leeming@lyx.org>
4247
4248         * bufferparams.C:
4249         * bufferview_funcs.C:
4250         * factory.C:
4251         * lyxfunc.C:
4252         * paragraph_pimpl.C:
4253         * rowpainter.C:
4254         * text.C: add #include "LColor.h".
4255
4256 2003-09-16  Angus Leeming  <leeming@lyx.org>
4257
4258         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4259         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4260         return LyXFont &.
4261         Store the FontBits::color variable as an int rather than as an
4262         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4263         file.
4264
4265         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4266         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4267         string calls together.
4268
4269         * lyxrc.C: add #include "LColor.h".
4270
4271 2003-09-15  Angus Leeming  <leeming@lyx.org>
4272
4273         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4274         a cow_ptr.
4275
4276 2003-09-15  Angus Leeming  <leeming@lyx.org>
4277
4278         * LColor.h: add an EnumLColor wrapper for LColor::color.
4279
4280         * lyxfont.[Ch] (color, setColor, realColor):
4281         * lyxtext.h, text.C (backgroundColor):
4282         pass EnumLColor args to/from the functions, rather than LColor::color
4283         ones.
4284
4285         * lyxfont.h:
4286         * lyxtext.h: forward declare EnumLColor.
4287
4288         * lyx_main.C: add #include "LColor.h".
4289
4290 2003-09-15  Angus Leeming  <leeming@lyx.org>
4291
4292         * .cvsignore: add lyx-gtk.
4293
4294 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * Chktex.C
4297         * LaTeX.C
4298         * LaTeXFeatures.C
4299         * ParagraphParameters.C
4300         * Spacing.C
4301         * buffer.C
4302         * bufferparams.C
4303         * bufferview_funcs.C
4304         * chset.C
4305         * counters.C
4306         * funcrequest.C
4307         * lyxfont.C
4308         * lyxgluelength.C
4309         * lyxlength.C
4310         * paragraph.C
4311         * paragraph_funcs.C
4312         * text3.C
4313         * vc-backend.C: remove usage of STRCONV
4314
4315 2003-09-15  Angus Leeming  <leeming@lyx.org>
4316
4317         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4318         explicitly define the color passed to the painter.
4319
4320 2003-09-15  Angus Leeming  <leeming@lyx.org>
4321
4322         * bufferparams.C (BufferParams): reorder member initializers to avoid
4323         compiler warning.
4324
4325 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4328         * text.C (updateRowPositions): remove an unusual nop
4329
4330 2003-09-12  André Pönitz  <poenitz@gmx.net>
4331
4332         * BufferView_pimpl.C:
4333         * Bullet.C:
4334         * layout.h:
4335         * lyxfunc.C:
4336         * lyxlayout.[Ch]:
4337         * lyxtextclass.C:
4338         * rowpainter.C:
4339         * text.C:
4340         * text2.C:
4341         * Counters.[Ch]: finish the 'automatic counters' job
4342
4343 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4344
4345         * aspell.C: include <boost/assert.cpp> (compile fix)
4346
4347 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4348
4349         * boost.C (assertion_failed): use lyx::support::abort instead of
4350         assert.
4351
4352 2003-09-10  Angus Leeming  <leeming@lyx.org>
4353
4354         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4355         with their _fwd progeny.
4356
4357 2003-09-09  Angus Leeming  <leeming@lyx.org>
4358
4359         134 files throughtout the source tree: replace 'using namespace abc;'
4360         directives with the appropriate 'using abc::xyz;' declarations.
4361
4362 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4363
4364         * boost.C (emergencyCleanup): moved here from LAssert.c
4365         (assertion_failed): new function, called by BOOST_ASSERT
4366
4367         * several files: change Assert to BOOST_ASSERT
4368
4369 2003-09-09  Angus Leeming  <leeming@lyx.org>
4370
4371         * buffer.[Ch]: Add an Impl class and move Buffer's member
4372         variables into it. As a result move several header files out of
4373         buffer.h.
4374
4375         Add header files to lots of .C files all over the tree as a result.
4376
4377 2003-09-09  Angus Leeming  <leeming@lyx.org>
4378
4379         * buffer.[Ch]: make Buffer's member variables private. Add
4380         accessor functions.
4381
4382         Lots of changes all over the tree as a result.
4383
4384 2003-09-08  Angus Leeming  <leeming@lyx.org>
4385
4386         * graph.C: #include <config.h>.
4387
4388 2003-09-08  Angus Leeming  <leeming@lyx.org>
4389
4390         * BranchList.C:
4391         * BufferView.C:
4392         * BufferView_pimpl.C:
4393         * CutAndPaste.C:
4394         * DepTable.C:
4395         * LaTeX.C:
4396         * LaTeXFeatures.C:
4397         * LyXAction.C:
4398         * MenuBackend.C:
4399         * TextCache.C:
4400         * aspell.C:
4401         * buffer.C:
4402         * bufferlist.C:
4403         * changes.C:
4404         * chset.C:
4405         * converter.C:
4406         * counters.C:
4407         * debug.C:
4408         * graph.C:
4409         * ispell.C:
4410         * lyx_cb.C:
4411         * lyxfind.C:
4412         * lyxfunc.C:
4413         * lyxlex_pimpl.C:
4414         * lyxrc.C:
4415         * lyxrow.C:
4416         * paragraph.C:
4417         * rowpainter.C:
4418         * texrow.C:
4419         * text.C:
4420         * text2.C:
4421         * toc.C: remove redundant using directives.
4422
4423 2003-09-07  Angus Leeming  <leeming@lyx.org>
4424
4425         * LaTeXFeatures.h: remove #include "support/types.h".
4426         * ToolbarBackend.h: remove #include <algorithm>.
4427         * changes.h: remove #include <ctime>.
4428         * debug.h: remove #include <iosfwd>.
4429         * graph.h: remove #include "support/std_string.h".
4430         * lyx_main.h: remove #include <csignal>.
4431         * lyxlex_pimpl.h: remove #include <fstream>.
4432         * sgml.h: remove #include <algorithm>, <utility>.
4433         * toc.h: remove #include "support/std_ostream.h".
4434         Add #include <iosfwd>.
4435
4436 2003-09-07  Angus Leeming  <leeming@lyx.org>
4437
4438         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4439
4440         * converter.h: forward declare LatexRunParams.
4441         * encoding.h: remove #include "lyxrc.h".
4442         * lyxtext.h: remove #include "LColor.h".
4443         * lyxtextclass.h: remove #include "support/types.h".
4444         * trans.h: remove #include "tex-accent.h".
4445         * trans_mgr.h: remove #include "tex-accent.h".
4446         * insets/inset.h: remove #include "support/types.h", <vector>.
4447         * insets/insetcollapsable.h: remove #include "LColor.h".
4448         * insets/insetinclude.h: remove #include "dimension.h".
4449         * insets/insetlatexaccent.h: remove #include "dimension.h".
4450         * insets/insetoptarg.h:: remove #include "insettext.h".
4451         * insets/insettext.h: remove #include "dimension.h",
4452         <boost/shared_ptr.hpp>
4453
4454         * insets/renderers.h: add #include "dimension.h".
4455         * insets/updatableinset.h: add #include "support/types.h".
4456
4457         * many .C files: Associated changes.
4458
4459 2003-09-06  Angus Leeming  <leeming@lyx.org>
4460
4461         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4462         one, inside testInvariant.
4463
4464         * PrinterParams.C: new file.
4465         * PrinterParams.[Ch]: move the function bodies out of line.
4466
4467 2003-09-06  Angus Leeming  <leeming@lyx.org>
4468
4469         * ParagraphParameters.h: forward declare ParameterStruct rather than
4470         including its header file.
4471         (depth): moved out-of-line.
4472
4473 2003-09-06  Angus Leeming  <leeming@lyx.org>
4474
4475         * BufferView_pimpl.h:
4476         * kbmap.h:
4477         * kbsequence.h:
4478         * lyxfunc.h: forward declare LyXKeySym rather than
4479         #include "frontends/LyXKeySym.h".
4480
4481         * BufferView_pimpl.C:
4482         * kbmap.C:
4483         * kbsequence.C:
4484         * lyxfunc.C: associated changes.
4485
4486 2003-09-06  Angus Leeming  <leeming@lyx.org>
4487
4488         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4489         As a result, can remove the #include "insets/inset.h" from BufferView.h
4490
4491 2003-09-06  Angus Leeming  <leeming@lyx.org>
4492
4493         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4494         As a result, can remove the #include "insets/inset.h" from BufferView.h
4495
4496 2003-09-06  Angus Leeming  <leeming@lyx.org>
4497
4498         * buffer_funcs.C:
4499         * buffer.h:
4500         * bufferlist.C:
4501         * BufferView.C:
4502         * bufferview_funcs.C:
4503         * BufferView_pimpl.C:
4504         * CutAndPaste.C:
4505         * lyx_cb.C:
4506         * lyxfunc.C:
4507         * paragraph.h:
4508         * ParagraphParameters.C:
4509         * tabular.C:
4510         * text3.C:
4511         * toc.C:
4512         * undo_funcs.C:
4513         * frontends/controllers/ControlDocument.C:
4514         * insets/insetcaption.C: rearrange the #includes into some sort of
4515         coherent order.
4516
4517         * buffer.h: remove #includes ErrorList.h, undo.h
4518
4519 2003-09-06  Angus Leeming  <leeming@lyx.org>
4520
4521         * support/types.h: add a 'depth_type' typedef, used to store the
4522         nesting depth of a paragraph.
4523
4524         * paragraph.h:
4525         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4526         defining explicitly.
4527
4528         * buffer.h:
4529         * paragraph_funcs.h:
4530         * ParagraphParameters.h:
4531         * sgml.h: use lyx::depth_type rather than Paragraph or
4532         ParameterStruct's depth_type.
4533
4534         * buffer.h
4535         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4536
4537         * BufferView.C:
4538         * BufferView_pimpl.C:
4539         * CutAndPaste.C:
4540         * ParagraphParameters.C:
4541         * buffer_funcs.C:
4542         * bufferlist.C:
4543         * bufferview_funcs.C:
4544         * lyx_cb.C:
4545         * lyxfunc.C:
4546         * tabular.C:
4547         * text3.C:
4548         * toc.C:
4549         * undo_funcs.C:
4550         * frontends/LyXView.C:
4551         * frontends/controllers/ControlDocument.C:
4552         * frontends/controllers/ControlErrorList.C:
4553         * insets/insetbibitem.C:
4554         * insets/insetbranch.C:
4555         * insets/insetcaption.C:
4556         * insets/insetcollapsable.C:
4557         * insets/insetenv.C:
4558         * insets/insetert.C:
4559         * insets/insetfloat.C:
4560         * insets/insetfoot.C:
4561         * insets/insetfootlike.C:
4562         * insets/insetnewline.C:
4563         * insets/insetquotes.C:
4564         * insets/insettabular.C:
4565         * insets/insettext.C:
4566         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4567
4568         * frontends/controllers/ControlChanges.C: #include "changes.h".
4569
4570 2003-09-06  Angus Leeming  <leeming@lyx.org>
4571
4572         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4573         than #including paragraph.h.
4574
4575         * ParagraphList.h:
4576         * RowList.h: deleted. Superfluous.
4577
4578         * CutAndPaste.h:
4579         * iterators.h:
4580         * lyxcursor.h:
4581         * lyxtext.h:
4582         * text_funcs.h:
4583         * undo.h:
4584         * undo_funcs.h:
4585         * insets/inset.h:
4586         * insets/insettext.h: use ParagraphList_fwd.h rather than
4587         ParagraphList.h.
4588
4589         * paragraph.h: don't forward declare ParagraphList.
4590
4591         * buffer.h:
4592         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4593         rather than ParagraphList.h. paragraph.h is still needed for the
4594         Paragraph::depth_type parameters.
4595
4596         * textcursor.h: enable it to compile stand-alone in light of the
4597         above changes.
4598
4599         * bufferview_funcs.C:
4600         * iterators.C:
4601         * lyxfunc.C:
4602         * lyxrow_funcs.C:
4603         * paragraph.C:
4604         * rowpainter.C:
4605         * text.C:
4606         * text2.C:
4607         * text3.C:
4608         * text_funcs.C:
4609         * textcursor.C:
4610         * undo.C:
4611         * frontends/controllers/ControlParagraph.C:
4612         * frontends/controllers/ControlTabular.C:
4613         * insets/insetmarginal.C:
4614         * insets/insetminipage.C:
4615         * insets/insetnote.C:
4616         * insets/insetoptarg.C: add header files needed to compile again.
4617
4618 2003-09-06  Angus Leeming  <leeming@lyx.org>
4619
4620         * RowList_fwd.h: new file, forward-declaring Row rather than
4621         #including lyxrow.h.
4622
4623         * lyxrow_funcs.h:
4624         * lyxtext.h:
4625         * paragraph.h:
4626         * insets/insettext.h: use it instead of RowList.h
4627
4628         * bufferview_funcs.C:
4629         * lyxfunc.C:
4630         * lyxrow_funcs.C:
4631         * paragraph.C:
4632         * rowpainter.C:
4633         * text.C:
4634         * text2.C:
4635         * text3.C: #include "RowList.h".
4636
4637 2003-09-05  Angus Leeming  <leeming@lyx.org>
4638
4639         * factory.C (createInset):
4640         * vspace.C (c-tor): replace sscanf call with an istringstream.
4641         * ispell.C: re-add missing HP/UX headers.
4642         * lyxserver.C: re-add missing  os2 headers.
4643
4644 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4645
4646         * BranchList.C:
4647         * graph.C:
4648         * ispell.C:
4649         * lastfiles.C:
4650         * lyx_cb.C:
4651         * lyxserver.C:
4652         * texrow.C:
4653         * text3.C: re-add missing system headers, needed for 2.95.2.
4654
4655 2003-09-05  Angus Leeming  <leeming@lyx.org>
4656
4657         Changes most place everywhere due to the removal of using directives
4658         from support/std_sstream.h.
4659
4660 2003-09-05  Angus Leeming  <leeming@lyx.org>
4661
4662         Replace LString.h with support/std_string.h,
4663         Lsstream.h with support/std_sstream.h,
4664         support/LIstream.h with support/std_istream.h,
4665         support/LOstream.h with support/std_ostream.h.
4666
4667         Changes resulting throughout the tree.
4668
4669 2003-09-05  Angus Leeming  <leeming@lyx.org>
4670
4671         * sgml.h: ensure that the header file can be compiled stand-alone.
4672         * *.C: strip out redundant #includes. (320 in total.)
4673
4674 2003-09-04  Angus Leeming  <leeming@lyx.org>
4675
4676         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4677         here (from getPackages).
4678
4679         * debug.[Ch]: add a new EXTERNAL tag.
4680
4681 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4682
4683         * text2.C (cursorEnd): simplify
4684         (setCursor): adjust
4685         (getColumnNearX): adjust
4686
4687         * text.C (computeBidiTables): adjust
4688         (fill): adjust
4689
4690         * rowpainter.C (paintChars): adjust
4691         (paintSelection): adjust
4692         (paintChangeBar): adjust
4693         (paintText): adjust
4694
4695         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4696         lastPos instead.
4697         (numberOfSeparators): adjust
4698
4699 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4700
4701         * LyXAction.C:
4702         * box.[Ch]:
4703         * lfuns.h:
4704         * lyxfunc.C:
4705         * text3.C: Restricts the mouse click functionality
4706         of insets like bibtex, include, toc and floatlist to the visible
4707         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4708         up the dialogs. Cursor has to be in front of the inset (i.e.
4709         start of row) for this to function.
4710
4711 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4712
4713         * bufferview_funcs.C (currentState): output row information
4714
4715 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4716
4717         * bufferview_funcs.C (currentState): output paragraph position
4718
4719 2003-09-04  Angus Leeming  <leeming@lyx.org>
4720
4721         * FloatList.h: move out #include "Floating.h".
4722         * LaTeX.h: move out #include "DepTable.h".
4723         * LyXAction.h: move out #include "funcrequest.h".
4724         * buffer.h: move out #include "author.h", "iterators.h".
4725         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4726         * lyx_main.h: move out #include "errorlist.h".
4727         * lyxfunc.h: move out #include "FuncStatus.h".
4728         * lyxtext: move out #include "lyxcursor.h".
4729         * paragraph_pimpl.h: move out #include "counters.h".
4730
4731 2003-09-03  Angus Leeming  <leeming@lyx.org>
4732
4733         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4734         preamble_snippets list, enabling us to add snippets to the preamble
4735         only if the snippet was not there already.
4736
4737 2003-09-04  Angus Leeming  <leeming@lyx.org>
4738
4739         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4740
4741 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4744         update
4745
4746 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4747
4748         * BranchList.C: point fix, earlier forgotten
4749
4750 2003-09-02  Angus Leeming  <leeming@lyx.org>
4751
4752         * box.C (contains): renamed from 'contained' after a fantastic
4753         amount of hot air.
4754
4755 2003-09-02  John Levon  <levon@movementarian.org>
4756
4757         * BufferView.C:
4758         * lyxcursor.h:
4759         * lyxcursor.C:
4760         * lyxfunc.C:
4761         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4762
4763 2003-09-02  John Levon  <levon@movementarian.org>
4764
4765         * text2.C: simplification of cursorEnd(), including partial
4766         fix for bug 1376
4767
4768 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * buffer.C (readFile): add a space
4771
4772 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4773
4774         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4775
4776 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * buffer.C (readFile): new function, take a filename and a
4779         ParagraphList::iterator
4780         (readFile): adjust
4781         (readFile): adjust, make it private. don't use setStream, make
4782         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4783         always contain the filename.
4784
4785         * BufferView.C (insertLyXFile): simplify and make it work for
4786         gzipped files.
4787
4788 2003-08-30  John Levon  <levon@movementarian.org>
4789
4790         * Makefile.am: fix dist (from Kayvan)
4791
4792 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * most files: change to use const Buffer refs
4795
4796 2003-08-27  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4799         on top of ownerPar().
4800
4801 2003-08-27  John Levon  <levon@movementarian.org>
4802
4803         * funcrequest.C: properly initialise POD members
4804
4805 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4806
4807         * lyxtext.h (top_y): move top_y from here
4808         * text.C:
4809         * text2.C:
4810         * text3.C:
4811         * BufferView.[Ch]:
4812         * BufferView_pimpl.[Ch]: to here
4813         * frontends/screen.C:
4814         * insets/insettabular.C:
4815         * insets/insettext.C: adjust
4816         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4817
4818 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4819
4820         * BufferView.[Ch]:
4821         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4822
4823 2003-08-26  André Pönitz  <poenitz@gmx.net>
4824
4825         * paragraph_func.[Ch] (outerPar): new function
4826
4827         * paragraph.C:
4828         * paragraph_funcs.C:
4829         * paragraph_funcs.h:
4830         * paragraph_pimpl.C:
4831         * text2.C: remove Inset::par_owner
4832
4833 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4834
4835         * lyxrow_funcs.C:
4836         * lyxtext.h:
4837         * text.C:
4838         * text2.C: eliminates the needFullRow/display() stuff
4839         altogether, putting the logic in metrics/draw in the insets.
4840
4841 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * text2.C (redoParagraphInternal, redoParagraphs):
4844         * text.C (redoParagraph): add a call to updateRowPositions at the
4845         end of each 'metrics-like' call. Remove all others.
4846         (getRow): remove the 'y-computing' version.
4847         (getRowNearY): do not compute nor return the real y. Solve the
4848         'y < 0' problem and simplify.
4849
4850 2003-08-22  Angus Leeming  <leeming@lyx.org>
4851
4852         * *.[Ch]: clean-up of licence and author blurbs.
4853         Also move config.h out of a few .h files and into a few .C files.
4854
4855 2003-08-22  André Pönitz  <poenitz@gmx.net>
4856
4857         * lyxrow.[Ch]: add x_ and *fill_ members
4858
4859         * lyxtext.h:
4860         * text.C:
4861         * rowpainter.C:
4862         * text2.C: adjust/remove prepareToPrint() calls
4863
4864 2003-08-22  André Pönitz  <poenitz@gmx.net>
4865
4866         * lyxrow.[Ch]: add  end_ member
4867
4868         * lyxrow_funcs.C: use LyXRow::end_
4869
4870         * lyxtext.h (singleWidth): add LyXFont parameter
4871
4872         * rowpainter.C:
4873         * text2.C: adjust LyXText::singleWidth() calls
4874
4875         * text.C (redoParagraph): simplify row breaking logic
4876
4877
4878 2003-08-19  André Pönitz  <poenitz@gmx.net>
4879
4880         * funcrequest.C: initialize button_ member
4881
4882         * text3.C:
4883         * rowpainter.[Ch]: interface consolidation
4884
4885 2003-08-18  André Pönitz  <poenitz@gmx.net>
4886
4887         * BufferView.C:
4888         * BufferView_pimpl.C:
4889         * lyxfind.C:
4890         * paragraph_funcs.C:
4891         * rowpainter.C:
4892         * text3.C: remove LyXScreen::draw() and fitCursor calls
4893
4894         * BranchList.h: remove spurious semicolons
4895
4896         * MenuBackend.C: fix branchlist related crash
4897
4898 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4899
4900         * BranchList.[Ch]:
4901         * InsetList.[Ch]:
4902         * LColor.[Ch]:
4903         * LyXAction.C:
4904         * Makefile.am:
4905         * MenuBackend.[Ch]:
4906         * bufferparams.[Ch]:
4907         * factory.C:
4908         * lfuns.h:
4909         * lyxfunc.C:
4910         * text3.C: implements the 'branch inset'
4911         idea. This allows the output of various versions of a document
4912         from a single source version, selectively outputing or suppressing
4913         output of parts of the text.
4914         This implementation contains a 'branch list editor' in a separate
4915         tab of the document settings dialog. Branches are user definable
4916         and have a "display colour" to distinguish them on-screen.
4917
4918         ColorHandler was somewhat cleaned up.
4919         (1) make possible a dynamically growing LColor list by allowing
4920         the graphic context cache to grow along (vector);
4921         (2) eliminate an IMHO unnecessary step in colour allocation.
4922
4923 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4924
4925         * BufferView_pimpl.C: compile fix
4926
4927 2003-08-15  André Pönitz  <poenitz@gmx.net>
4928
4929         * rowpainter.C: remove extra metrics calls
4930
4931         * lyxtext.h: merge the two constructors into a single one,
4932           pass reference to owner's par list
4933
4934         * BufferView_pimpl.C:
4935         * text.C:
4936         * text2.C: adjust
4937
4938 2003-08-15  André Pönitz  <poenitz@gmx.net>
4939
4940         * lyxrow_funcs.[Ch]:
4941         * lyxtext.h:
4942         * paragraph.h:
4943         * paragraph_funcs.C:
4944         * rowpainter.C:
4945         * text.C:
4946         * text2.C:
4947         * text3.C:
4948         * text_funcs.C: split LyXText::rowlist_ into individual
4949         Paragraph::rows_ chunks
4950
4951         * BufferView.[Ch]:
4952         * BufferView_pimpl.[Ch]:
4953         * lyxfind.C:
4954         * lyxtext.h:
4955         * text3.C: remove toggleSelection()
4956
4957 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4958
4959         * bufferlist.C: beautify two alerts (shorter text of buttons)
4960         * buffer.C: Remove redundant ' ' from message
4961         * tabular.h:
4962         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4963         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4964         rename VALIGN_CENTER to VALIGN_MIDDLE
4965
4966 2003-08-11  André Pönitz  <poenitz@gmx.net>
4967
4968         * lyxtext.h (getPar):
4969         * text.C: new function
4970
4971 2003-08-11  André Pönitz  <poenitz@gmx.net>
4972
4973         * Makefile.am:
4974         * tracer.[Ch]: remove unneeded files
4975
4976         * InsetList.[Ch]: remove resizeInsetsLyXText()
4977
4978         * lyxtext.h:
4979         * text.C:
4980         * text2.C:
4981         * text3.C: merge insertParagraphs() and appendParagraph()
4982         remove breakAgain(), update()
4983
4984         * BufferView_pimpl.[Ch]:
4985         * bufferview_funcs.[Ch]:
4986         * lyxfunc.C:
4987         * paragraph.[Ch]:
4988         * rowpainter.C:
4989         * tabular.C: adjust after text & InsetList changes.
4990
4991 2003-08-08  André Pönitz  <poenitz@gmx.net>
4992
4993         * text.C (insertChar, backspace): replace rowlist fiddling
4994         with rebreak of full par
4995
4996         * lyxtext.h:
4997         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4998         checkParagraph, updateInset): removed
4999
5000 2003-08-07  André Pönitz  <poenitz@gmx.net>
5001
5002         * paragraph.C:
5003         * text3.C: merge some LFUN handlers, remove dead code
5004
5005 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5006
5007         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5008
5009 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * text2.C (DEPM): fix part of bug 1255 and 1256
5012
5013 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5014
5015         * BufferView_pimpl.C (workAreaDispatch): change to use
5016         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5017         that are no mouse related.
5018
5019 2003-08-05  André Pönitz  <poenitz@gmx.net>
5020
5021         * BufferView.[Ch]:
5022         * BufferView_pimpl.[Ch]:
5023         * bufferview_funcs.C:
5024         * text2.C:
5025         * text3.C: rip out "deep update"
5026
5027         * textcursor.[Ch] (last_sel_cursor): remove unused member
5028
5029 2003-08-04  André Pönitz  <poenitz@gmx.net>
5030
5031         * BufferView.[Ch]:
5032         * BufferView_pimpl.[Ch]:
5033         * ParagraphParameters.C:
5034         * bufferview_funcs.C:
5035         * lyx_cb.C:
5036         * lyxfind.C:
5037         * lyxfunc.C:
5038         * text.C:
5039         * text2.C:
5040         * text3.C: replace "complicated" BufferView::update(...) calls with
5041         simpler ones.
5042
5043         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5044
5045 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5046
5047         * Makefile.am (lyx_SOURCES): add paper.h
5048
5049 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5050
5051         * Makefile.am: move things around so that both lyx-qt and
5052         lyx-xforms can be built (according to --with-frontend). Then lyx
5053         is a symbolic link to lyx-[firstfrontend]
5054
5055 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5056
5057         * Always use std::endl with lyxerr
5058
5059 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5060
5061         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5062
5063 2003-08-01  André Pönitz  <poenitz@gmx.net>
5064
5065         * BufferView.[Ch]:
5066         * BufferView_pimpl.[Ch]:
5067         * lyxfunc.C:
5068         * text3.C: merge BufferView::repaint() and BufferView::update()
5069
5070 2003-08-01  José Matos  <jamatos@lyx.org>
5071
5072         * buffer.[Ch]: file_format is no longer a buffer data element.
5073
5074 2003-08-01  André Pönitz  <poenitz@gmx.net>
5075
5076         * BufferView.C:
5077         * lyxtext.h:
5078         * text.C:
5079         * text2.C: make redoParagraph more independent of current cursor
5080
5081         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5082         * text.C:
5083         * text2.C: remove unneeded members
5084
5085 2003-07-30  André Pönitz  <poenitz@gmx.net>
5086
5087         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5088
5089         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5090           create a single function...
5091
5092         * paragraph_funcs.C (moveItem): ... here.
5093
5094         * text.C:
5095           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5096
5097 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5098
5099         * LColor.[Ch]: Add comment and greyedout logical colors.
5100
5101 2003-07-30  André Pönitz  <poenitz@gmx.net>
5102
5103         * tabular.C: don't use Assert too heavily. This crashes where it
5104           shouldn't
5105
5106 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5109         is disabled (bug 1232)
5110
5111 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5112
5113         * factory.C: limited 'arg' scope
5114
5115 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5116
5117         * factory.C: fixed Note submenu issues
5118
5119 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5120
5121         * factory.C: submenu for Note/Comment/Greyedout
5122
5123 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5124
5125         * lyx_main.C (LyX):
5126         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5127
5128 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5129
5130         * LaTeXFeatures.C:
5131         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5132         greyedout. Patch provided by Jürgen Spitzmüller.
5133
5134 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5135
5136         * kbmap.C (read): fix error message when reading bind files
5137
5138 2003-07-29  Angus Leeming  <leeming@lyx.org>
5139
5140         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5141         certainly does not do what it purports to do. I am doing it, and
5142         us, a favour by killing it.
5143
5144 2003-07-28  José Matos  <jamatos@lyx.org>
5145
5146         * buffer.C (readBody, do_writeFile):
5147         * paragraph.C(readParagraph): \end_document replaces \the_end.
5148
5149 2003-07-29  André Pönitz  <poenitz@gmx.net>
5150
5151         * BufferView.[Ch]:
5152         * BufferView_pimpl.[Ch]:
5153         * lyxfunc.C:
5154         * text2.C:
5155         * text3.C:
5156         * textcursor.[Ch]: remove toggleToggle & Co
5157
5158 2003-07-28  José Matos  <jamatos@fep.up.pt>
5159
5160         * buffer.C (readParagraph):
5161         * params_func (readParToken, readParagraph):
5162         * paragraph.C (write): \layout -> \begin_layout.
5163
5164 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * lyxlex_pimpl.C (setFile): clean up slightly.
5167
5168         * bufferparams.h: add compressed var
5169
5170         * buffer_funcs.C (readFile): adjust for LyXLex change
5171         (newFile): ditto + simplify
5172
5173         * buffer.C (writeFile): handle writing of compressed files
5174
5175         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5176         Check if the file is compressed and set a bufferparm if so.
5177
5178         * Makefile.am (lyx_LDADD): remove explicit -lz
5179
5180 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5181
5182         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5183         makeDocBookFile): put the real LyX version in the first line of
5184         the file
5185
5186         * version.h:
5187         * version.C.in: remove lyx_docversion
5188
5189         * tabular.C (write_attribute): add a template-based version to
5190         write enums properly
5191
5192 2003-07-28  André Pönitz  <poenitz@gmx.net>
5193
5194         * lyxtext.h:
5195         * text.C:
5196         * text2.C:
5197         * text3.C: use doubles again for x-coordinates. They are needed.
5198
5199 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * messages.C (getLocaleDir): use lyx_localedir()
5202
5203         * lyxlex_pimpl.C (setFile): compress stuff
5204
5205         * buffer.C (writeFile): add some compression stuff
5206         (do_writeFile): new func, dont call expliti close... will this
5207         breake anything?
5208
5209         * Makefile.am (lyx_LDADD): add -lz
5210
5211 2003-07-28  José Matos  <jamatos@fep.up.pt>
5212
5213         * buffer.C: increment file format.
5214         * paragraph_funcs (readParagraph, readParToken):
5215         * paragraph.C (readParagraph): add \end_layout.
5216
5217 2003-07-27  Angus Leeming  <leeming@lyx.org>
5218
5219         * Makefile.am: remove special casing for configure-time setting of
5220         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5221
5222         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5223         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5224
5225 2003-07-26  André Pönitz  <poenitz@gmx.net>
5226
5227         * paragraph_func.[Ch]:
5228         * paragraph.C (realizeFont): inline it whereever it is used
5229
5230         * rowpainter.C:
5231         * text.C:
5232         * text2.C:
5233         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5234
5235
5236 2003-07-26  André Pönitz  <poenitz@gmx.net>
5237
5238         *       lyxtext.h:
5239         * text.C:
5240         * text2.C: get rid of LyXText::need_break_row
5241
5242 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * toc.[Ch]: put namespace toc inside namespace lyx
5245
5246         * MenuBackend.C (expandToc2): adjust for lyx::toc
5247         (expandToc): ditto
5248
5249         * lyxfunc.C (dispatch): adjust for lyx::find
5250
5251         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5252         lyx::find instead. Reorganize a bit.
5253         (LyXReplace): rename to replace
5254         (LyXFind): rename to find
5255
5256         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5257         (dispatch): ditto
5258
5259 2003-07-26  André Pönitz  <poenitz@gmx.net>
5260
5261         * text.C (setHeightOfRow): restrict scope of temporary variable
5262
5263         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5264           code (never has been used?)
5265
5266 2003-07-27  Asger Alstrup  <alstrup@local>
5267
5268         * text.C (fill): Optimise algorithm to exploit that we can reuse
5269         the LyXFont for many characters.
5270         (setHeightOfRow): Same thing.
5271         (rowBreakPoint): Same thing.
5272
5273 2003-07-26  Asger Alstrup  <alstrup@local>
5274
5275         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5276
5277         * text.C (singleWidth): Spurious font copying in hot-spot
5278         singleWidth avoided. Reorder tests for arabic for efficiency.
5279
5280         * text.C (fill): handle empty paragraphs better.
5281
5282 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5283
5284         * ispell.C:
5285         * encoding.h: add includes
5286
5287         * lyxrc.C: remove reading of bind files
5288
5289         * lyx_main.C (init): setup bindings and menus only if we have a
5290         gui.
5291
5292         * kbmap.C (read): new method. Do the actual reading of bind
5293         files.
5294
5295         * converter.C (dvipdfm_options):
5296         * bufferparams.C:
5297         * lyxrc.C (read):
5298         (output): adapt PAPER_* enums.
5299
5300         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5301
5302         * bufferparams.h: remove paper-related enums from there
5303
5304         * paper.h: New file. A trivial header file to hold paper-related
5305         enums. It should later expand to contain many paper-related
5306         horrors access.
5307
5308         * lyxrc.C: declare extern displayTranslator
5309
5310 2003-07-27  José Matos  <jamatos@fep.up.pt>
5311
5312         * tabular.[Ch] (linuxdoc): add support for tables and figures
5313         (linuxdoc).
5314
5315 2003-07-27  José Matos  <jamatos@fep.up.pt>
5316
5317         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5318         consistency in both functions.
5319         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5320
5321 2003-07-26  Asger Alstrup  <alstrup@local>
5322
5323         * rowpainter.C (paintRows): Change algorithm to work directly on
5324         the insets rather than asking every character in the document
5325         whether its an inset.
5326
5327 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * buffer.C (openFileWrite): factorize some code
5330
5331 2003-07-26  Angus Leeming  <leeming@lyx.org>
5332
5333         * lyx_cb.C:
5334         * lyx_main.[Ch]: replace occurances of system_tempdir with
5335         os::getTmpDir().
5336
5337 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * rename Inset to InsetOld
5340
5341 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5342
5343         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5344         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5345         which I think is a bit clearer. EDIT is gone, since it was
5346         premature optimisation, and broken for mathed anyway.
5347         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5348         with cursor positioning in insets as well (math insets still do not
5349         work, but that's a different story anyway.) It mysteriously
5350         crashes sometimes with undo in the first paragraph, but I'm fairly
5351         confident that this is a compiler bug.
5352
5353 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * paragraph.C (Paragraph): adjust for new clone return type
5356         (operator==): ditto
5357         (copyIntoMinibuffer): ditto
5358
5359 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5360
5361         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5362         by not having a special case, and always doing a full rebreak of
5363         the document after undo.
5364
5365 2003-07-23  Angus Leeming  <leeming@lyx.org>
5366
5367         * factory.C (createInset): InsetExternal::setParams now takes a
5368         Buffer const * arg.
5369
5370 2003-07-23  Angus Leeming  <leeming@lyx.org>
5371
5372         * factory.C (createInset): changed interface to the external and
5373         graphics mailers' string2params functions.
5374
5375 2003-07-23  Angus Leeming  <leeming@lyx.org>
5376
5377         * factory.C (createInset): pass a
5378         Buffer const * parameter to InsetExternalMailer's string2params.
5379
5380 2003-07-22  John Levon  <levon@movementarian.org>
5381
5382         * Thesaurus.h: include the right aiksaurus header
5383
5384 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5385
5386         * MenuBackend.C (expand): check menu shortcuts unconditionally
5387
5388 2003-07-21  Angus Leeming  <leeming@lyx.org>
5389
5390         * factory.C (createInset): pass a
5391         buffer_path parameter to InsetGraphicsMailer's string2params.
5392
5393 2003-07-21  Angus Leeming  <leeming@lyx.org>
5394
5395         * BufferView_pimpl.C (buffer):
5396         * buffer.C (d-tor):
5397         * lyx_main.C (LyX):
5398         * lyxfunc.C (dispatch):
5399         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5400         rather than the grfx shortcut.
5401
5402 2003-07-21  André Pönitz  <poenitz@gmx.net>
5403
5404         * rowpainter.C: remove unused variables
5405
5406         * tabular_funcs.C:
5407         * tabular_funcs.h: move to tabular.C
5408         * Makefile.am: adjust
5409
5410         * tabular.[Ch]: basic optical cleaning
5411
5412         * author.h: pass references, not values
5413
5414 2003-07-18  André Pönitz  <poenitz@gmx.net>
5415
5416         * lyxtext.h:
5417         * metricsinfo.C:
5418         * metricsinfo.h:
5419         * rowpainter.C:
5420         * text.C:
5421         * text2.C:
5422         * text3.C: two-phase drawing for InsetText and InsetTabular
5423         some float -> int changes.
5424
5425 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5426
5427         * lyx_main.C: fix the fix
5428
5429 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5430
5431         * lyx_main.C: fix a crash in batch mode if no files specified
5432         * converter.C: ws
5433
5434 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * format.[Ch] (papersize): moved to BufferParams
5437         * converter.[Ch] (dvips_options): moved to BufferParams
5438         (dvipdfm_options): moved to anon namespace
5439         * bufferparams.[Ch]: added above functions.
5440
5441 2003-07-17  André Pönitz  <poenitz@gmx.net>
5442
5443         * lyxtext.h:
5444         * rowpainter.C:
5445         * text2.C: don't call inset->update() anymore
5446
5447         * metricsinfo.[Ch]: add convenience constructor
5448
5449 2003-07-16  André Pönitz  <poenitz@gmx.net>
5450
5451         * lyxcursor.[Ch]:
5452         * lyxfunc.[Ch]:
5453         * text.C:
5454         * text2.C: replace the LyXCursor::irow_ member with
5455          on-demand computation of the value
5456
5457 2003-07-16  John Levon  <levon@movementarian.org>
5458
5459         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5460
5461 2003-07-15  André Pönitz  <poenitz@gmx.net>
5462
5463         * text.C:
5464         * text2.C: remove no more needed refresh_row
5465
5466 2003-07-15  André Pönitz  <poenitz@gmx.net>
5467
5468         * lyxtext.h:
5469         * rowpainter.C:
5470         * text2.C:
5471         * text3.C: refresh_status tristate -> need_update bool
5472
5473 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5474
5475         * lyxtext.h (init): remove reinit argument (act as if always true)
5476         * text2.C: adjust to that
5477
5478 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5479
5480         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5481         * text3.C: use it to delete selections in some cases
5482         (bugs 441, 673, 702, 954).
5483
5484 2003-07-14  André Pönitz  <poenitz@gmx.net>
5485
5486         * rowpainter.[Ch]: reduce interface
5487
5488 2003-07-14  André Pönitz  <poenitz@gmx.net>
5489
5490         * BufferView_pimpl.C:
5491         * text2.C: adjust after removing unused BufferView * argument
5492
5493 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5494
5495         * text2.C (init): fix a crash fired on resize
5496
5497 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5498
5499         * buffer.[Ch]: added new closing signal
5500         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5501         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5502         BufferView::Pimpl via the closing the signal
5503
5504 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * buffer.[Ch]: take out all bv-related from buffer
5507         * BufferView.C:
5508         * BufferView_pimpl.[Ch]: connect to new signals
5509         * CutAndPaste.C: removed useless asserts
5510         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5511         * lyxvc.[Ch]:
5512         * vc-backend.[Ch]:
5513         * lyxfunc.C: moved view-related funciontality from vc here
5514         * paragraph.C: removed outdated comments
5515         * text.C: ws
5516
5517 2003-07-10  André Pönitz  <poenitz@gmx.net>
5518
5519         * BufferView_pimpl.C:
5520         * tabular.h:
5521         * tabular_funcs.C:
5522         * text.C:
5523         * text2.C: remove InsetText::InnerCache, clean up consequences
5524
5525 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5526
5527         * ispell.C: fix two typos in error messages
5528
5529 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5530
5531         * Extend Note inset to other forms of annotation like Comment
5532         and Greyedout. Right button click gives dialog.
5533
5534         Files modified or added (+):
5535
5536         * insetnote.[Ch]
5537         * FormNote.[Ch]      +
5538         * ControlNote.[Ch]   +
5539         * form_note.fd       +
5540         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5541         frontends/controllers
5542         * xforms/Dialogs.C
5543         * factory.C
5544
5545 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5546
5547         * aspell.C: add missing namespace lyx::support
5548
5549 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * BufferView.[Ch] (newFile): Add
5552         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5553         * LaTeX.[Ch] (message): added this signal and use it
5554         * buffer.[Ch] (busy, message): added these signals and use them
5555         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5556         * converter.C:
5557         * exporter.C:
5558         * format.C:
5559         * importer.C: use buffer signals instead of direct bv calling
5560         * lyx_cb.[Ch] (ShowMessage): removed
5561         * lyx_main.C:
5562         * lyxfunc.C:
5563         * paragraph_funcs.C:
5564         * text2.C: use buffer signals
5565
5566 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * introduce namespace lyx::graphics
5569
5570 2003-07-02  André Pönitz  <poenitz@gmx.net>
5571
5572         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5573
5574 2003-07-01  André Pönitz  <poenitz@gmx.net>
5575
5576         * text.C:
5577         * text2.C:
5578         * text3.C:
5579         * text_funcs.[Ch]:
5580         * textcursor.h:
5581         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5582           text*.C to text_func.C
5583
5584 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * introduce namespace lyx::support
5587
5588 2003-06-30  André Pönitz  <poenitz@gmx.net>
5589
5590         * Chktex.C:
5591         * funcrequest.C:
5592         * lyxtext.h:
5593         * text.C: re-enable --with-included-string
5594
5595 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * textcursor.C: add <config.h>
5598
5599         * text.C (getWord): remove const from word_location arg
5600
5601         * lyxvc.C (getLogFile): fix const type order
5602
5603         * lyxtext.h: remove const from word_location arg, add arg name
5604
5605         * lyxlayout.h: currect type on labeltype.
5606
5607         * importer.C: correct \file
5608
5609         * converter.C (intToFormat): use std:: on ret val, ws changes
5610
5611         * bufferlist.h: correct \file
5612
5613         * buffer.C (makeLinuxDocFile): fix const type order
5614         (makeDocBookFile): ditto
5615         (fillWithBibKeys): use std:: on stdlib args.
5616
5617         * CutAndPaste.C: fix authors.
5618         (availableSelections): use std:: on return vector
5619
5620 2003-06-27  André Pönitz  <poenitz@gmx.net>
5621
5622         * BufferView_pimpl.C:
5623         * bufferview_funcs.C:
5624         * lyxcursor.C:
5625         * lyxcursor.h:
5626         * lyxfunc.C:
5627         * lyxtext.h:
5628         * rowpainter.C:
5629         * text.C:
5630         * text2.C:
5631         * text3.C: remove LyXCursor::row_ member
5632
5633         * lyxtext.h:
5634         * text.C: rename fullRebreak() to partialRebreak() and implement
5635           a fullRebreak() that really bereks fully
5636
5637         * textcursor.h: new struct for cursor-related data
5638
5639 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5640
5641         * lyx_main.C (LyX): get full path of document loaded on the
5642         command line
5643
5644 2003-06-26  André Pönitz  <poenitz@gmx.net>
5645
5646         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5647           remove unused/broken operator>,<,>=.
5648
5649         *       text.C: remove only use of broken operator<= in an Assert().
5650
5651 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5652
5653         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5654         moved errorlist_.clear to showErrorList
5655
5656 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5657
5658         * converter.C (scanLog, runLaTeX):
5659         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5660         move the bv->showErrorList call to the callers
5661         * lyxfunc.C: i.e. here...
5662         * text2.C: and here
5663         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5664         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5665         namespace, the second to...
5666         * buffer_funcs (BufferFormat, parseErrors): added
5667         * errorlist.C (ErrorList(TeXErrors const &)): removed
5668
5669 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5670
5671         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5672
5673 2003-06-24  "Garst R. Reese" <reese@isn.net>
5674
5675         * debug.C: fix typo
5676
5677 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5678
5679         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5680
5681         * version.C.in: change docversion to 1.4
5682
5683 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * buffer.C: fix a bug just introduced
5686
5687 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * buffer.[Ch]: added the parseError signal and use it, removed
5690         sgmlError
5691         * BufferView.[Ch] (addError): moved to ...
5692         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5693         to the Buffer::parseError signal to catch (guess what) parse errors
5694         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5695
5696 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5699         ability to create a buffer and to return an existing one from
5700         the list. Moved these functions to...
5701         * buffer_funcs.[Ch]: added
5702         * BufferView.[Ch] (loadLyXFile): added
5703         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5704         job removed from bufferlist::loadLyXFile.
5705         * buffer.C (setReadOnly): make it work without view
5706         (i.e added an if (users))
5707
5708 2003-06-19  Angus Leeming  <leeming@lyx.org>
5709
5710         * lfuns.h:
5711         * LyXAction.C (init):
5712         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5713         with LFUN_DIALOG_SHOW <name> <data>.
5714
5715 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5716
5717         * CutAndPaste.C (availableSelections): small compilation fix for
5718         ancient (gcc 2.9x) compilers
5719
5720 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * text3.C (cursorNext): add tmp var
5723
5724         * text2.C (updateCounters): for function calling out of for clause
5725         (replaceSelectionWithString): ditto
5726         (insertStringAsParagraphs): ditto
5727         (getColumnNearX): add tmp var
5728         (setCursorFromCoordinates): add tmp var
5729         (cursorDownParagraph): add tmp var
5730         (deleteEmptyParagraphMechanism): add tmp var
5731
5732         * text.C (insertChar): add tmp var
5733
5734         * rowpainter.C (paintDepthBar): add tmp var
5735
5736         * CutAndPaste.C (availableSelections): potentially check all
5737         paragraphs in a cut to fill the shown strings.
5738
5739 2003-06-18  André Pönitz  <poenitz@gmx.net>
5740
5741         * kbmap.[Ch]: use vector<> instead of list<>
5742
5743 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5744
5745         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5746         pasteSelection with index
5747
5748         * text2.C (pasteSelection): modify, call pasteSelection with index
5749
5750         * paragraph.C (asString): reimplement version with no interval to
5751         call the one with interval.
5752
5753         * lyxtext.h: add index arg to pasteSelection
5754
5755         * MenuBackend.C (MenuItem): handle PasteRecent
5756         (Menu::read::Menutags): add md_pasterecent
5757         (read): handle it
5758         (expandPasteRecent): new function
5759         (expand): use it
5760
5761         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5762
5763         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5764         the limited stack
5765         (availableSelections): new function
5766
5767 2003-06-17  Angus Leeming  <leeming@lyx.org>
5768
5769         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5770
5771 2003-06-17  Angus Leeming  <leeming@lyx.org>
5772
5773         * lfuns.h:
5774         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5775
5776         * lyxfunc.C (dispatch): invoke it.
5777
5778 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5779
5780         * iterators.C (operator++, ParPosition): reintroduce some
5781         const_cast for the benefit of older compilers.
5782
5783 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5784
5785         * text3.C (dispatch): do not modify clipboard when doing
5786         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5787         LFUN_DELETE_SKIP on a selection selection
5788
5789 2003-06-16  André Pönitz  <poenitz@gmx.net>
5790
5791         * BufferView.C:
5792         * buffer.C:
5793         * buffer.h:
5794         * paragraph.C:
5795         * tabular.[Ch]: IU of clone() and getLabelList();
5796
5797 2003-06-13  André Pönitz  <poenitz@gmx.net>
5798
5799         * tabular.h: compactification
5800
5801 2003-06-12  André Pönitz  <poenitz@gmx.net>
5802
5803         * tabular.C:
5804         * tabular.h:
5805         * tabular_funcs.h: some renaming plus whitespace
5806
5807 2003-06-12  André Pönitz  <poenitz@gmx.net>
5808
5809         * BufferView.C:
5810         * BufferView_pimpl.C:
5811         * CutAndPaste.C:
5812         * buffer.C:
5813         * iterators.[Ch]:
5814         * lyxfunc.C:
5815         * text.C:
5816         * toc.C: Return a Paragraph & for ParIterator::operator*()
5817
5818 2003-06-11  John Levon  <levon@movementarian.org>
5819
5820         * lyx_main.C:
5821         * ToolbarBackend.h:
5822         * ToolbarBackend.C: add "Toolbars" section and
5823         put the flags there
5824
5825 2003-06-10  Angus Leeming  <leeming@lyx.org>
5826
5827         * lfuns.h:
5828         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5829
5830         * lyxfunc.C (dispatch): invoke it.
5831
5832 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * main.C: protect <ios> with HAVE_IOS
5835         (main): protect sync_with_stdio with HAVE_IOS
5836
5837 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5838
5839         * text2.C (cutSelection): adjust
5840         (pasteSelection): adjust
5841
5842         * messages.C: handle get of empty string
5843
5844         * main.C (main): use sync_with_stdio(false)
5845
5846         * lyxfunc.C (dispatch): adjust
5847
5848         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5849         (WriteAs): remove unneeded BufferView arg.
5850
5851         * bufferparams.h: use correct types on papersize, papersize2 and
5852         paperpackage.
5853
5854         * bufferparams.C (readToken): adjust for type
5855         (writeLaTeX): add missing cases to switch.
5856
5857         * bufferlist.C (quitWriteBuffer): adjust
5858         (close): adjust
5859
5860         * buffer.C (asciiParagraph): remove some commented code.
5861
5862         * CutAndPaste.C: remove current_view extern variable.
5863         (cutSelection): add BufferParams arg.
5864         (eraseSelection): add BufferParams arg.
5865         (pasteSelection): add Buffer const & arg
5866
5867 2003-06-07  John Levon  <levon@movementarian.org>
5868
5869         * buffer.C:
5870         * paragraph_funcs.C:
5871         * paragraph_pimpl.C:
5872         * text.C:
5873         * text2.C:
5874         * paragraph.h:
5875         * paragraph.C: allow InsetERT to freely space lines,
5876         and some consolidation of code
5877
5878 2003-06-06  José Matos  <jamatos@fep.up.pt>
5879
5880         * buffer.C (makeDocBookFile): fix bug #821
5881
5882 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5883
5884         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5885
5886 2003-06-04  Angus Leeming  <leeming@lyx.org>
5887
5888         * buffer.C: bump format to 224.
5889
5890 2003-06-05  André Pönitz  <poenitz@gmx.net>
5891
5892         * text2.C (redoParagraphs): remove two const_cast<>
5893
5894 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5895
5896         * ParagraphList.h: remove last remnants of NO_STD_LIST
5897
5898 2003-06-03  Angus Leeming  <leeming@lyx.org>
5899
5900         * factory.C (createInset): small change to the way InsetExternal's params
5901         are set.
5902
5903 2003-06-04  André Pönitz  <poenitz@gmx.net>
5904
5905         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5906
5907         * paragraph_pimpl.h:
5908         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5909
5910         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5911
5912         * undo_funcs.C: make some simple cases of undo work again
5913
5914 2003-06-03  John Levon  <levon@movementarian.org>
5915
5916         * ispell.C: HPUX doesn't have sys/select.h
5917         (from Albert Chin)
5918
5919 2003-06-03  John Levon  <levon@movementarian.org>
5920
5921         * CutAndPaste.C: update tabular and include inset
5922         buffer references
5923
5924         * buffer.h:
5925         * paragraph.h:
5926         * paragraph.C: remove owningBuffer(), don't pass Buffer
5927         to clone()
5928
5929         * factory.C: insetGraphicsParams changed
5930
5931 2003-06-02  John Levon  <levon@movementarian.org>
5932
5933         * LyXAction.C:
5934         * factory.C:
5935         * lfuns.h:
5936         * lyxfunc.C:
5937         * text3.C: remove insetparent
5938
5939 2003-06-02  John Levon  <levon@movementarian.org>
5940
5941         * buffer.h:
5942         * buffer.C: fix inset_iterator.end(), move out of line
5943         (bug 1149)
5944
5945 2003-06-01  John Levon  <levon@movementarian.org>
5946
5947         * text3.C: use a proper cut/paste when doing inset
5948         insert (from Jürgen Spitzmüller)
5949
5950 2003-06-01  John Levon  <levon@movementarian.org>
5951
5952         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5953
5954 2003-05-30  André Pönitz  <poenitz@gmx.net>
5955
5956         * rowpainter.C: unify second drawing phase
5957
5958 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * trans_mgr.C: remove one case of current_view
5961
5962         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5963
5964         * paragraph_funcs.h: remove paragraph.h include
5965
5966         * paragraph.h: delete NO_STD_LIST stuff
5967
5968         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5969
5970         * buffer.h: remove paragraph.h include
5971
5972         * ParagraphList.C: delete file
5973
5974         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5975
5976         * toc.C (getTocList): adjust
5977
5978         * paragraph_pimpl.C (validate): adjust
5979
5980         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5981
5982         * paragraph.C (Paragraph): adjust
5983         (getPositionOfInset): use const_iterator, adjust
5984         (bibitem): use const_iterator, adjust
5985         (setInsetOwner): adjust
5986
5987         * iterators.C (operator++): adjust
5988
5989         * InsetList.[Ch]: Replace selfmade iterator with standard
5990         vector::iterator also introduce const_iterator. Remove getPos,
5991         getInset and setInset from InsetTable. Adjust accordingly.
5992
5993         * BufferView.C (lockInset): adjust
5994         (ChangeInsets): adjust
5995
5996         * tabular.[Ch]: delete commented same_id functions
5997
5998 2003-05-28  John Levon  <levon@movementarian.org>
5999
6000         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6001
6002 2003-05-28  André Pönitz  <poenitz@gmx.net>
6003
6004         * metricsinfo.[Ch]: remove 'fullredraw' member
6005
6006 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6007
6008         * lyxtextclass.C (operator): remove caching.
6009
6010 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * text3.C: adjust
6013
6014         * text2.C (cursorBottom): adjust
6015         (setCounter): use ParagraphList::find, adjust
6016
6017         * text.C (workWidth): use ParagraphList::find, adjust
6018
6019         * lyxcursor.C (LyXCursor): adjust
6020
6021         * buffer.C (inset_iterator): adjust
6022
6023         * ParagraphList.h: make iterator(value_type) private, make
6024         ParagraphList a friend of iterator.
6025
6026         * ParagraphList.C (find): new function
6027
6028         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6029
6030 2003-05-27  André Pönitz  <poenitz@gmx.net>
6031
6032         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6033
6034 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6035
6036         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6037
6038 2003-05-26  John Levon  <levon@movementarian.org>
6039
6040         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6041
6042 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * remove same_id from function signatures, adjust.
6045
6046 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6049
6050         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6051
6052         * paragraph.C (Paragraph): get rid of same_ids parameter
6053
6054         * ParagraphList.C (insert): adjust
6055         (push_back): adjust
6056
6057 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * paragraph_funcs.C (breakParagraph): adjust
6060         (breakParagraphConservative): adjust
6061
6062         * buffer.C (readParagraph): adjust
6063
6064         * ParagraphList.C (insert): take a reference instead of a pointer
6065         (insert): adjust
6066
6067         * paragraph.[Ch] (id): new function
6068
6069         * bufferlist.C (newFile): adjust
6070
6071         * ParagraphList.C (ParagraphList): adjust
6072         (assign): adjust
6073         (push_back): take a reference instead of a pointer.
6074
6075         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6076
6077         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6078         instead.
6079
6080         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6081         set else use old code.
6082
6083         * ParagraphList.C: remove all NO_NEXT code and only compile this
6084         code of NO_STD_LIST is set.
6085
6086 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * BufferView_pimpl.C:
6089         * TextCache.C:
6090         * TextCache.h:
6091         * bufferlist.C:
6092         * errorlist.h:
6093         * format.C:
6094         * format.h:
6095         * graph.C:
6096         * lyxfunc.C:
6097         * lyxrc.C:
6098         * graphics/GraphicsConverter.C:
6099         * graphics/PreviewLoader.C: header adjustment
6100
6101 2003-05-23  Angus Leeming  <leeming@lyx.org>
6102
6103         * LaTeXFeatures.[Ch] (useBabel): new method.
6104         * bufferparams.C (writeLaTeX): use it.
6105
6106 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * ParagraphList.h (set): remove unused function.
6109
6110 2003-05-23  André Pönitz  <poenitz@gmx.net>
6111
6112         * BufferView.C:
6113         * BufferView_pimpl.C:
6114         * buffer.C:
6115         * buffer.h:
6116         * lyxfunc.C:
6117         * undo_funcs.C: setUndo reworked
6118
6119         * iterators.[Ch]: add access to topmost ParagraphList
6120
6121         * lyxtext.[Ch] (workWidth): add a const
6122
6123 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6124
6125         * texrow.[Ch] (increasePos): remove function
6126         * exporter.C (export): removed unused var and outdated comment
6127
6128 2003-05-23  Angus Leeming  <leeming@lyx.org>
6129
6130         * latexrunparams.h: rename fragile as moving_arg.
6131         * paragraph.C (simpleTeXOnePar): ditto.
6132         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6133
6134 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6137         (createUndo): ditto
6138         (textUndoOrRedo): comment out a currently unused var.
6139
6140         * paragraph.h (NO_NEXT): enable NO_NEXT
6141
6142         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6143
6144         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6145
6146         * exporter.C (Export): adjust for removeAutoInsets removal.
6147
6148         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6149
6150         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6151
6152         * BufferView.[Ch] (removeAutoInsets): delete function
6153
6154 2003-05-22  Angus Leeming  <leeming@lyx.org>
6155
6156         * latexrunparams.h: add a free_spacing variable.
6157
6158         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6159         to pass moving_arg, as the data is stored in runparams.fragile.
6160
6161         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6162         to Inset::latexOptional or to simpleTeXOnePar.
6163
6164         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6165         free_spacing arg to Inset::latexOptional.
6166
6167         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6168         free_spacing arg.
6169
6170 2003-05-22  Angus Leeming  <leeming@lyx.org>
6171
6172         * latexrunparams.h: add fragile and use_babel variables.
6173
6174         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6175         * buffer.C (makeLaTeXFile): store this returned value in
6176         runparams.use_babel, thus passing it to the inset::latex methods.
6177
6178         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6179         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6180
6181         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6182         longer has a fragile arg, as it is stored in runparams.fragile.
6183
6184         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6185         moving_arg parameter as the data is stored in runparams.fragile.
6186
6187         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6188         a fragile parameter as the data is stored in runparams.fragile.
6189
6190 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6193
6194 2003-05-22  Angus Leeming  <leeming@lyx.org>
6195
6196         * latexrunparams.h: add a 'bool nice' which defaults to false.
6197
6198         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6199         now encapsulated within runparams.
6200
6201         * bufferlist.C (updateIncludedTeXfiles):
6202         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6203
6204 2003-05-22  Angus Leeming  <leeming@lyx.org>
6205
6206         * latexrunparams.h: new file containing struct LatexRunParams.
6207         * Makefile.am: add new file.
6208
6209         * LaTeX.[Ch] (c-tor, run):
6210         * buffer.[Ch] (makeLaTeXFile):
6211         * bufferlist.[Ch] (updateIncludedTeXfiles):
6212         * converter.C (convert, scanLog):
6213         * converter.[Ch] (runLaTeX):
6214         * exporter.C (Export):
6215         * paragraph.[Ch] (simpleTeXOnePar):
6216         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6217         * paragraph_funcs.[Ch] (latexParagraphs):
6218         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6219         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6220         pass around a LatexRunParams parameter.
6221
6222 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * paragraph.[Ch]: remove unused constructor
6225
6226         * ParagraphList.C (erase): new function, taking two iterators
6227
6228 2003-05-22  André Pönitz  <poenitz@gmx.net>
6229
6230         * undo_funcs.C: remove duplicated code
6231
6232         * iterator.[Ch]: operator=
6233
6234 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * tabular.C (SetMultiColumn): ws changes
6237
6238         * rowpainter.C (paintFirst): get rid of a ->previous
6239
6240         * lyx_cb.C (getPossibleLabel): parlist simplification
6241
6242         * BufferView.C (ChangeInsets): simplify slightly.
6243
6244 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6245
6246         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6247         * lfuns.h: new LFUN_SPACE
6248         * lyxfunc.C: protected space has a new lfun
6249         * paragraph_funcs.C: read new space insets
6250         * text3.C:
6251         * factory.C: handle new space insets
6252
6253 2003-05-22  André Pönitz  <poenitz@gmx.net>
6254
6255         * BufferView.C:
6256         * BufferView_pimpl.C:
6257         * buffer.[Ch]:
6258         * lyxfunc.C:
6259         * undo_funcs.C: return a ParIterator from getParFromID.
6260
6261         * iterators.[Ch]: add two const's
6262
6263 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * toc.C (getTocList): adjust
6266
6267         * iterators.[Ch]: rework for parlist
6268
6269         * buffer.C (par_iterator_begin): adjust
6270         (par_iterator_end): adjust
6271
6272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6273
6274         * BufferView.C (removeAutoInsets): adjust
6275         (ChangeInsets): adjust
6276
6277 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * text.C (top_y): fix bug 1110
6280
6281 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6282
6283         * errorlist.[Ch]: added
6284         * buffer.C:
6285         * BufferView.[Ch]:
6286         * BufferView_pimpl.C:
6287         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6288         instead
6289
6290 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * Makefile.am: ensure that lyx is relinked upon changes to the
6293         various "convenience" libs.
6294
6295 2003-05-20  Angus Leeming  <leeming@lyx.org>
6296
6297         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6298         files are compiled in alphabetical order again.
6299
6300         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6301
6302 2003-05-19  Angus Leeming  <leeming@lyx.org>
6303
6304         * gettext.[Ch]: remove "char const * _(char const *)".
6305
6306 2003-05-19  André Pönitz  <poenitz@gmx.net>
6307
6308         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6309
6310         * Makefile.am:
6311         * BufferView.C:
6312         * DepTable.h:
6313         * LaTeXFeatures.C:
6314         * buffer.C:
6315         * lyxfont.C:
6316         * lyxlex.h:
6317         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6318
6319 2003-05-19  André Pönitz  <poenitz@gmx.net>
6320
6321         * buffer.C:
6322         * lyxlayout.[Ch]:
6323         * lyxtextclass.[Ch]:
6324         * paragraph.C:
6325         * paragraph_funcs.[Ch]:
6326         * text2.C:
6327         * text3.C: more insetenv work
6328
6329 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6330
6331         * ParagraphParameters.C (params2string): small bug fixed
6332
6333 2003-05-16  André Pönitz  <poenitz@gmx.net>
6334
6335         * debug.C:
6336         * bufferview_funcs.C: patch from Kornel Benko to prevent
6337           crash when _(...) is called twice in a statement
6338
6339 2003-05-16  André Pönitz  <poenitz@gmx.net>
6340
6341         * BufferView.C:
6342         * lyxfunc.C:
6343         * text.C:
6344         * text2.C:
6345         * text3.C:
6346         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6347
6348 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * lyx_main.C (init): remove spurious static_cast
6351
6352 2003-05-14  André Pönitz  <poenitz@gmx.net>
6353
6354         * BufferView.C: fix format string
6355
6356 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * BufferView.[Ch] (insertErrors): removed
6359         * BufferView.[Ch] (showErrorList): added
6360         * buffer.C (runChkTeX):
6361         * converter.C (scanLog): call showErrorList instead of inserterrors
6362
6363 2003-05-13  André Pönitz  <poenitz@gmx.net>
6364
6365         * BufferView_pimpl.C:
6366         * buffer.C:
6367         * bufferview_func.C:
6368         * MenuBackend.C:
6369         * lyxfunc.C:
6370         * lyxrc.C:
6371         * tex-accent.C:
6372         * text3.C:
6373         * toc.C:
6374         * tabular_funcs.h: tostr() from its own header
6375
6376         * ParagraphParameters.C:
6377         * ToolbarBackend.C:
6378         * bufferparams.C:
6379         * format.C:
6380         * lyxlex_pimpl.C:
6381         * text3.C: STRCONV()
6382
6383 2003-05-12  André Pönitz  <poenitz@gmx.net>
6384
6385         * BufferView.C:
6386         * BufferView_pimpl.C:
6387         * CutAndPaste.C:
6388         * LaTeX.C:
6389         * LaTeXFeatures.C:
6390         * ParagraphParameters.C:
6391         * buffer.C:
6392         * bufferlist.C:
6393         * bufferparams.C:
6394         * bufferview_funcs.C:
6395         * converter.C:
6396         * counters.C:
6397         * debug.C:
6398         * exporter.C:
6399         * format.C:
6400         * importer.C:
6401         * lyx_cb.C:
6402         * lyx_main.C:
6403         * lyxfont.C:
6404         * lyxfunc.C:
6405         * lyxvc.C:
6406         * paragraph.C:
6407         * paragraph_funcs.C:
6408         * tabular.C:
6409         * tabular_funcs.C:
6410         * text2.C:
6411         * text3.C:  boost::format -> bformat  all over the place
6412
6413
6414 2003-05-09  André Pönitz  <poenitz@gmx.net>
6415
6416         * LColor.[Ch]: Pimpl the #include <map> away
6417
6418 2003-05-09  John Levon  <levon@movementarian.org>
6419
6420         * bufferlist.C: never remove emergency saves
6421
6422 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * Makefile.am: better lib building
6425
6426 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6429         instead.
6430         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6431         (simpleTeXSpecialChars): adjust
6432         (simpleTeXSpecialChars): adjust
6433         * paragraph.C (simpleTeXOnePar): adjust
6434         * buffer.C (makeLaTeXFile): adjust
6435
6436         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6437
6438         * text2.C (changeDepth): parlist cleanup
6439         (getColumnNearX): ditto
6440
6441         * rowpainter.C (getLabelFont): parlist cleanup
6442
6443         * bufferlist.C (newFile): parlist cleanup
6444
6445         * CutAndPaste.C (eraseSelection): parlist cleanup
6446
6447         * BufferView_pimpl.C (trackChanges): parlist cleanup
6448         (dispatch): ditto
6449
6450         * BufferView.C (lockInset): parlist cleanup.
6451         (ChangeInsets): ditto
6452
6453 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * CutAndPaste.h: Update file header.
6456
6457         * CutAndPaste.C: Update file header.
6458         Store the parts cut out of the Document in a limited_stack.
6459         (copySelection): adjust
6460         (pasteSelection): new function, takes the index in the limited stack.
6461         (nrOfParagraphs): adjust
6462         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6463         simplify error inset insertion.
6464         (checkPastePossible): adjust
6465
6466 2003-05-06  John Levon  <levon@movementarian.org>
6467
6468         * text2.C: don't cast wrap inset to float
6469
6470 2003-05-05  André Pönitz  <poenitz@gmx.net>
6471
6472         * iterator.C:
6473         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6474
6475         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6476           few naked Paragraph *.
6477
6478 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6479
6480         * bufferparams.C: Output warning if a document with missing
6481         TeX document class is loaded
6482         * exporter.C: Disable TeX exports if the document class is missing
6483         * lyxtextclass.C:
6484         * lyxtextclass.h:
6485         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6486         isTeXClassAvailable()
6487
6488 2003-05-03  John Levon  <levon@movementarian.org>
6489
6490         * BufferView.h:
6491         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6492         explicit cursor show/hide
6493
6494         * BufferView_pimpl.h:
6495         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6496         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6497
6498         * lyxfunc.C: hide cursor before dispatching.
6499
6500         * lyx_cb.C:
6501         * lyxfind.C:
6502         * text.C:
6503         * text3.C: remove explicit cursor hides
6504
6505 2003-05-02  André Pönitz  <poenitz@gmx.net>
6506
6507         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6508
6509         * undo_funcs.C:
6510         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6511           linked lists
6512
6513         * text2.C: tiny whitespace
6514
6515 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * undo_funcs.C: almost only ws changes.
6518
6519         * ParagraphList.C (splice): just return if pl is empty.
6520
6521 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * ParagraphList.C (splice): new function.
6524
6525         * CutAndPaste.C (pasteSelection): use it
6526
6527 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * CutAndPaste.C (pasteSelection): remove the last next and
6530         previous from this file.
6531
6532 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * CutAndPaste.C (pasteSelection): more clean up, user proper
6535         ParagraphList functions for pasteing.
6536
6537         * ParagraphList.C (insert): new function, three arg insert
6538
6539 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * ParagraphList.C (insert): new function, three arg insert
6542
6543         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6544         not on paragraphs.
6545
6546 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6549
6550 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6553
6554 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6557         (copySelection): clean up a bit.
6558         (pasteSelection): use make_pair
6559
6560         * ParagraphList.C (ParagraphList): implement copy constructor
6561         (operator=): implement, base on copy constructor.
6562         (assign): new func
6563
6564         * paragraph.C (erase): return a bool
6565
6566         * paragraph_pimpl.C (erasePos): remove function, move contents...
6567         (erase): ... here. Return a bool.
6568         (erase): call erase instead of erasePos.
6569
6570 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * ParagraphList.h: define PitPosPair
6573         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6574         ParagraphList, fix a bug on pasting multiple pars
6575         * text2.C: change interface to C&P
6576
6577 2003-04-30  André Pönitz  <poenitz@gmx.net>
6578
6579         * undo_func.C: revert part of yesterday's patch 2
6580
6581 2003-04-30  John Levon  <levon@movementarian.org>
6582
6583         * LColor.C: s/tabular/table/
6584
6585 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * text3.C (dispatch): do not convert iterator -> pointer
6588         * undo_funcs.C (setCursorParUndo): ditto
6589         * text_funcs.C (transposeChars): ditto
6590
6591         * text2.C (setLayout): ws changes only
6592
6593         * text.C (breakParagraph): do not convert iterator -> pointer
6594         (insertChar): ditto
6595         (acceptChange): ditto
6596         (rejectChange): ditto
6597         (changeCase): ditto
6598         (Delete): ditto
6599         (backspace): ditto
6600
6601         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6602         pointer
6603
6604 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6605
6606         * text3.C (gotoInset): YABG (yet another bad getChar)
6607
6608 2003-04-29  André Pönitz  <poenitz@gmx.net>
6609
6610         * paragraph.h: make operator= private unimplemented as long as
6611           it is unusable
6612
6613         * ParagraphList.C: whitespace
6614
6615         * paragraph.[Ch]:
6616         * paragraph_pimpl.[Ch]:
6617         * paragraph_funcs.C:
6618         * CutAndPaste.C:
6619         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6620
6621         * text2.C:
6622           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6623
6624 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6625
6626         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6627         * paragraph.[Ch] (erase):
6628         * paragraph_pimpl.[Ch] (erase): change return type and value
6629         * text2.C (cutSelection): some rework
6630
6631 2003-04-28  John Levon  <levon@movementarian.org>
6632
6633         * bufferlist.C: changes for unsaved changes dialog
6634
6635 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * bufferlist.C (newFile): set language (messages_) for new
6638         documents also.
6639
6640         * buffer.C (readFile): ws changes only.
6641
6642 2003-04-28  André Pönitz  <poenitz@gmx.net>
6643
6644         * undo_funcs.C:
6645         * lyxfunc.C:
6646         * buffer.[Ch]:
6647         * BufferView_pimpl.C:
6648         * BufferView.C: getParFromID related ParagraphList::iterator changes
6649
6650 2003-04-28  André Pönitz  <poenitz@gmx.net>
6651
6652         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6653           Changes
6654
6655 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * messages.C: remove one more localedir class variable.
6658
6659 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * messages.C (getLocaleDir): singleton generation function
6662         (Pimpl): use it.
6663         (Messages): add a default constructor.
6664
6665         * main.C (main): do not setup localedir here, do not call
6666         gettext_init.
6667
6668         * gettext.C (_): use it.
6669         (gettext_init): delete funciton
6670
6671 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * gettext.C (getLyXMessages): new singleton generating function.
6674
6675         * buffer.C (updateDocLang): adjust
6676
6677         * Makefile.am (messages.o): add target
6678         (main.o): remove target
6679
6680 2003-04-27  John Levon  <levon@movementarian.org>
6681
6682         * bufferlist.C:
6683         * lyx_cb.C:
6684         * lyxfunc.C:
6685         * lyxvc.C: specify cancel button in Alert::prompt
6686
6687 2003-04-26  John Levon  <levon@movementarian.org>
6688
6689         * text3.C:
6690         * lyxfunc.C:
6691         * lfuns.h:
6692         * LyXAction.C: add LFUN_INSET_SETTINGS
6693
6694         * lyxfunc.C: don't enable tabular-feature when there's
6695         just any locking inset
6696
6697 2003-04-26  John Levon  <levon@movementarian.org>
6698
6699         * bufferlist.C: re-add Cancel to buffer close question
6700
6701         * lyxfunc.C: fix import UI a bit
6702
6703 2003-04-25  John Levon  <levon@movementarian.org>
6704
6705         * gettext.C: remove the broken asserts for now
6706
6707 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * messages.C: make case where setlocale cannot comply work better.
6710
6711         * buffer.C (updateDocLang): new function
6712         (changeLanguage): use it
6713         (readFile): use it
6714
6715         * text2.C (setCounter): use B_ a bit.
6716
6717         * lyxlayout.C (Read): be sure to trim the label strings.
6718
6719         * messages.C (Messages): fix typo in comment
6720
6721         * buffer.C (readFile): set message_ after file is loaded.
6722         (makeDocBookFile): remove double return
6723         (changeLanguage): reset message_ upon language change.
6724         (B_): new func, use this to get translated buffer strings.
6725
6726         * main.C: add myself and Jean Marc as authors.
6727
6728 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * messages.[hC]: pimplify Messages, and three different pimpls to be
6731         used in different circumstances.
6732
6733         * gettext.[Ch]: change for use with new message code.
6734
6735 2003-04-24 André Pönitz <poenitz@gmx.net>
6736
6737         * factory.C: support for eqref
6738
6739 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * messages.[Ch]: add missing char
6742
6743         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6744
6745         * messages.[Ch]: New files
6746
6747 2003-04-18  John Levon  <levon@movementarian.org>
6748
6749         * BufferView.h:
6750         * BufferView.C:
6751         * BufferView_pimpl.C:
6752         * lfuns.h:
6753         * LyXAction.C:
6754         * lyxtext.h:
6755         * text2.C: remove layout-copy/paste (bug 778)
6756
6757 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6758
6759         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6760
6761 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6762
6763         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6764         if they succeed. Act accordingly.
6765
6766 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * text2.C (setCharFont): adjust
6769         (setCounter): adjust
6770         (insertStringAsLines): adjust
6771
6772         * text.C (leftMargin): adjust
6773         (setHeightOfRow): adjust
6774
6775         * rowpainter.C (paintFirst): adjust
6776         (paintLast): adjust
6777
6778         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6779         (outerHook): ditto
6780         (isFirstInSequence): ditto
6781         (getEndLabel): ditto
6782         (outerFont): adjust
6783
6784         * paragraph.C (getParLanguage): comment out some hard stuff.
6785
6786         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6787         (sgmlError): ditto
6788         (simpleDocBookOnePar): ditto
6789         (makeDocBookFile): use ParagraphList::iterator
6790
6791         * CutAndPaste.C (pasteSelection): adjust
6792
6793 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * text2.C (getFont): adjust
6796         (getLayoutFont): adjust
6797         (getLabelFont): adjust
6798
6799         * paragraph_funcs.C (TeXOnePar): adjust
6800
6801         * buffer.C (simpleLinuxDocOnePar): adjust
6802         (simpleDocBookOnePar): adjust
6803
6804         * CutAndPaste.C (pasteSelection): adjust
6805
6806         * BufferView.C (getEncoding): adjust
6807
6808         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6809
6810 2003-04-16  John Levon  <levon@movementarian.org>
6811
6812         * lyxfind.C: use parlist stuff for search/changes
6813
6814 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6817
6818         * text2.C (deleteEmptyParagraphMechanism): adjust
6819
6820         * text2.[Ch] (ownerParagraph): delete func (both of them
6821
6822 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6825
6826 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * ParagraphList.C: prepare for NO_NEXT
6829
6830 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * text2.C (getFont): adjust
6833         (getLayoutFont): adjust
6834         (getLabelFont): adjust
6835
6836         * paragraph.C (getFont): adjust
6837         (getLabelFont): adjust
6838         (getLayoutFont): adjust
6839
6840         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6841
6842 2003-04-15  John Levon  <levon@movementarian.org>
6843
6844         From Angus Leeming
6845
6846         * lyx_main.C: handle Include in .ui files
6847
6848 2003-04-15  John Levon  <levon@movementarian.org>
6849
6850         * MenuBackend.C: make the doc files length shorter
6851
6852         * ToolbarBackend.h:
6853         * ToolbarBackend.C: handle toolbar placement flags,
6854         Minibuffer
6855
6856 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6859         adjust
6860
6861         * paragraph_funcs.C (TeXOnePar): adjust
6862
6863         * paragraph.C (getLabelFont): add outerfont arg, adjust
6864         (getLayoutFont): ditto
6865         (simpleTeXOnePar): adjust
6866
6867         * paragraph_pimpl.C (realizeFont): delete func
6868
6869 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6872         row argument, constify cur argument.
6873
6874 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * text2.C (getFont): adjust
6877         (getLayoutFont): adjust
6878         (getLabelFont): adjust
6879
6880         * paragraph_funcs.C (TeXOnePar): adjust
6881         (outerFont): new func...
6882         (realizeFont): ...moved out from here, changed this to facilitate
6883         transition
6884
6885         * paragraph.C (getFont): take outerfont as arg, adjust
6886         (simpleTeXOnePar): add outerfont arg, adjust
6887
6888         * buffer.C (simpleLinuxDocOnePar): adjust
6889         (simpleDocBookOnePar): adjust
6890
6891         * CutAndPaste.C (pasteSelection): adjust
6892
6893         * BufferView.C (getEncoding): adjust
6894
6895 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * text2.C (setCharFont): adjust
6898         (setCounter): adjust
6899
6900         * text.C (leftMargin): adjust
6901         (setHeightOfRow): adjust
6902
6903         * rowpainter.C (paintFirst): adjust
6904         (paintLast): adjust
6905
6906         * paragraph_pimpl.C (realizeFont): adjust
6907
6908         * paragraph.C (isFirstInSequence): move from here...
6909         * paragraph_funcs.C (isFirstInSequence): ...to here
6910
6911         * paragraph.C (outerHook): move from here...
6912         * paragraph_funcs.C (outerHook): ...to here
6913
6914         * paragraph.C (depthHook): move from here...
6915         * paragraph_funcs.C (depthHook): ...to here
6916
6917         * paragraph.C (getEndLabel): move from here...
6918         * paragraph_funcs.C (getEndLabel): ...to here
6919
6920         * text2.C (realizeFont): move from here...
6921         * paragraph_funcs.C (realizeFont): ...to here
6922
6923 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6926
6927 2003-04-14  Angus Leeming  <leeming@lyx.org>
6928
6929         * LColor.[Ch]: scrap LColor mathcursor.
6930
6931 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * lyxlex.[Ch] (text): delete function
6934         * trans.C (Load): adjust
6935         * paragraph_funcs.C (readParToken): adjust
6936
6937 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6940         vector<char> instead of a char[].
6941
6942         * lyxlex_pimpl.C (getString): adjust
6943         (next): adjust
6944         (lex): use getString
6945         (eatLine): adjust
6946         (nextToken): adjust
6947
6948         * lyxlex.C (text): use pimpl_->getString()
6949         (getBool): ditto
6950         (findToken): ditto
6951
6952 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6955         (makeFontEntriesLayoutSpecific): temp var for par.size()
6956         (setLayout): temp var for ownerParagraphs().end()
6957         (fullRebreak): temp var for rows().end()
6958         (selectionAsString): temp var for boost::next(startpit), realize
6959         that the while really is a regular for loop.
6960         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6961         setCursor in one place.
6962         (setParagraph): temp vr for ownerParagraphs().end()
6963         (updateCounters): make the while loop a for loop
6964         (cutSelection): temp var for ownerParagraphs().end()
6965         (updateInset): make the do {} while() a regular for loop
6966         (getCursorX): use temp vars
6967         (setCurrentFont): use temp vars
6968         (getColumnNearX): use temp vars
6969
6970 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * text.C (transformChar): use temp var for getChar
6973         (computeBidiTables): use temp var for row->par()
6974         (fill): move temp vars for row->par() and pit->layout() earlier in
6975         the function.
6976         (labelFill): use temp var for row->par()
6977         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6978         asc and desc, realize that pit never changes and that firstpit is
6979         just a duplicate and not needed. Exchange rit->par() with pit in a
6980         lot of places.
6981         (breakAgain): use a temp var for boost::next(rit)
6982         (breakAgainOneRow): ditto
6983         (breakParagraph): use a temp var for rows().begin()
6984         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6985         (cursorRightOneWord): use temp var for cursor.par() and
6986         cursor.pos(), remove usage of tmpcursor.
6987         (cursorLeftOneWord): use temp var for cursor.par() and
6988         cursor.pos() only set cur at end of function.
6989
6990 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * text.C, text2.C: exchange all usage of Paragraph::next with
6993         boost::next(ParagraphList::iterator)
6994
6995         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6996
6997         * text2.C (cursorTop): simplify implementation
6998         (cursorBottom): ditto
6999         (setParagraph): use ParagraphList::iterator
7000         (setCurrentFont): adjust
7001         (getColumnNearX): adjust
7002         (cursorRight): adjust
7003         (cursorLeft): remove usage of Paragraph::previous
7004         (cursorUpParagraph): ditto
7005         (deleteEmptyParagraphMechanism): slight cleanup
7006
7007         * text.C (isBoundary): take a Paragraph const & instead of a
7008         pointer as arg.
7009         (addressBreakPoint): ditto
7010         (leftMargin): remove usage of Paragraph::previous.
7011         (setHeightOfRow): ditto
7012         (cursorLeftOneWord): ditto
7013         (selectNextWordToSpellcheck): ditto
7014         (Delete): ditto
7015         (backspace): ditto
7016         (breakParagraph): remove one usage of Paragraph::next
7017         (redoParagraph): ditto
7018         (acceptChange): ditto
7019         (insertChar): adjust
7020         (rowBreakPoint): adjust
7021
7022         * bufferview_funcs.C (toggleAndShow): adjust
7023
7024 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7025
7026         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7027         methods to access it.
7028         * lyxtext.h:
7029         * text.C: Added updateRowPositions to compute all row positions.
7030         Make top_y and getRowNearY() to use the cached y position
7031
7032 2003-04-11  John Levon  <levon@movementarian.org>
7033
7034         * text.C (rowBreakPoint): reintroduce the labelEnd
7035         checks, code copied from the row fill stuff. Deep voodoo.
7036
7037         * text.C (fill): add a comment and debugging for the
7038         next poor soul.
7039
7040 2003-04-11  John Levon  <levon@movementarian.org>
7041
7042         * text.C: make sure fullrow insets get wrapped to the next line,
7043         even when they're in a manual label
7044
7045 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * text2.C (insertParagraph): make it take ParagraphList::iterator
7048         as arg.
7049         (setLayout): make it return ParagraphList::iterator
7050         (redoParagraphs): ditto
7051         (setCounter): ditto
7052         (checkParagraph): ditto
7053
7054         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7055
7056         * text2.C: adjust several funcs.
7057         (realizeFont): take a ParagraphList::iterator as arg.
7058         (getLayoutFont): ditto
7059         (getLabelFont): ditto
7060         (setCharFont): ditto
7061
7062         * text.C: adjust several funcs.
7063
7064 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * text.C (selectNextWordToSpellcheck): don't accidentally
7067         skip insets
7068
7069 2003-04-10  John Levon  <levon@movementarian.org>
7070
7071         * ToolbarBackend.C (getIcon): special handling for
7072         LFUN_MATH_DELIM
7073
7074 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7075
7076         * text2.C (cursorRight): a getChar assert fixed
7077
7078 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * text2.C (getFont): change to take a ParagraphList::iterator
7081         instead of Paragraph*
7082         Adjust several functions.
7083
7084         * text.C (transformChar): change to take a ParagraphList::iterator
7085         instead of Paragraph*
7086         (singleWidth): ditto
7087         Adjust several functions.
7088
7089         * rowpainter.C: adjust several functions
7090         * rowpainter.h:store a ParagraphList::iterator and not a
7091         Paragraph&.
7092
7093
7094 2003-04-09  John Levon  <levon@movementarian.org>
7095
7096         * lyxfunc.C:
7097         * lfuns.h:
7098         * LyXAction.h:
7099         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7100         and the "help" bits as well
7101
7102 2003-04-09  John Levon  <levon@movementarian.org>
7103
7104         * ToolbarBackend.h:
7105         * ToolbarBackend.C: allow multiple toolbars
7106
7107 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * undo_funcs.C (setCursorParUndo): adjust
7110
7111         * text_funcs.C (transposeChars): adjust
7112
7113         * text3.C (gotoNextInset): adjust
7114         (dispatch): adjust
7115
7116         * text2.C (setLayout): adjust
7117         (changeDepth): adjust
7118         (setFont): adjust
7119         (redoParagraphs): adjust
7120         (selectionAsString): adjust
7121         (setParagraph): adjust
7122         (insertInset): adjust
7123         (cutSelection): adjust
7124         (copySelection): adjust
7125         (pasteSelection): adjust
7126         (insertStringAsLines): adjust
7127         (updateInset): adjust
7128         (setCursor): change to take a ParagraphList::iterator parameter
7129         (setCursorIntern): change to take a ParagraphList::iterator parameter
7130         (setCurrentFont): adjust
7131         (cursorLeft): adjust
7132         (cursorRight): adjust
7133         (deleteEmptyParagraphMechanism): adjust
7134
7135         * text.C (breakParagraph): adjust
7136         (insertChar): adjust
7137         (acceptChange): adjust
7138         (rejectChange): adjust
7139         (selectNextWordToSpellcheck): adjust
7140         (changeCase): adjust
7141         (Delete): adjust
7142         (backspace): adjust
7143
7144         * lyxfind.C (SearchForward): adjust
7145         (SearchBackward): adjust
7146         (nextChange): adjust
7147
7148         * lyxcursor.C (par): adjust
7149
7150         * lyxcursor.h: store a ParagraphList::iterator instead of a
7151         Paragraph*
7152
7153         * lyx_cb.C (getPossibleLabel): adjust
7154
7155         * bufferview_funcs.C (toggleAndShow): adjust
7156
7157         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7158         (dispatch): adjust
7159
7160         * BufferView.C (removeAutoInsets): adjust
7161         (lockedInsetStoreUndo): adjust
7162
7163 2003-04-09  John Levon  <levon@movementarian.org>
7164
7165         * ToolbarBackend.C: try icon without argument
7166         if with argument fails
7167
7168 2003-04-08  John Levon  <levon@movementarian.org>
7169
7170         * ToolbarBackend.h:
7171         * ToolbarBackend.C: add getIcon(), handle tooltip,
7172         and change from "Icon" to "Item".
7173
7174 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7175
7176         * BufferView.C (lockInset): another bad getchar crunched
7177
7178 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7179
7180         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7181         again)
7182
7183 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7184
7185         * lyxfind.C (searchForward, searchBackwards): bug 782
7186
7187 2003-04-07  John Levon  <levon@movementarian.org>
7188
7189         * paragraph.C: remove dead comment
7190
7191         * text.C: remove troublesome depth-fiddling code
7192         in leftMargin() and rightMargin() (bug 1017)
7193
7194         * text.C: fix breaking of rows in nested lists
7195         (bug 1004)
7196
7197         * text2.C (updateCounters): fix up depth values
7198         (bug 1013)
7199
7200 2003-04-07  John Levon  <levon@movementarian.org>
7201
7202         * BufferView_pimpl.C: clear message when doc finishes resizing,
7203         and after a mouse event
7204
7205         * lyxfunc.C: clear message after exiting inset
7206
7207 2003-04-07  John Levon  <levon@movementarian.org>
7208
7209         * bufferview_funcs.C: show math status not outside
7210         status in the statusbar
7211
7212 2003-04-07  John Levon  <levon@movementarian.org>
7213
7214         * lyxfunc.C: note status changed after a depth change
7215
7216 2003-04-04  Angus Leeming  <leeming@lyx.org>
7217
7218         * LaTeX.h: move AuxInfo operator==, != out of line.
7219         Remove LaTeX virtual destructor; nothing derives from it.
7220         Move operator()() out of public area and rename it startscript().
7221         Change protected for private.
7222
7223 2003-04-04  Angus Leeming  <leeming@lyx.org>
7224
7225         * lyxfunc.C:
7226         * text2.C: remove unneeded #includes.
7227
7228 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7229
7230         * text2.C (dEPM): fix the heigth of the next row
7231
7232 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * text.C: squashed an invalid getChar requester + some ws changes
7235
7236 2003-04-03  John Levon  <levon@movementarian.org>
7237
7238         * bufferview_funcs.h:
7239         * bufferview_funcs.C:
7240         * lyxfunc.C:
7241         * lyxtext.h:
7242         * text2.C: make getStatus work for the env depth lfuns
7243
7244 2003-04-03  John Levon  <levon@movementarian.org>
7245
7246         * bufferview_funcs.h:
7247         * bufferview_funcs.C:
7248         * lyxfunc.C:
7249         * lyxtext.h:
7250         * text2.C: parlistize decDepth(), by merging it with incDepth()
7251
7252 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * lyxrow.h: store a ParagraphList::iterator instead of a
7255         Paragraph* and adjust other class functions to suit.
7256
7257         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7258         above.
7259
7260 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7261
7262         * text2.C (setCursor): do not anchor to cursor row for the time being
7263
7264 2003-04-02  John Levon  <levon@movementarian.org>
7265
7266         * LyXAction.C:
7267         * lfuns.h:
7268         * lyx_main.C:
7269         * lyxtext.h:
7270         * text.C:
7271         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7272
7273 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * paragraph.h: make ParagraphList and ParagraphList::iterator
7276         friends of Paragraph.
7277
7278         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7279
7280         * ParagraphList.C: Use the private next_ and previous_ from
7281         Paragraph.
7282
7283 2003-04-01  John Levon  <levon@movementarian.org>
7284
7285         * ToolbarBackend.h:
7286         * ToolbarBackend.C:
7287         * Makefile.am: rename, remove defaults gunk
7288
7289         * MenuBackend.h:
7290         * MenuBackend.C: remove defaults gunk
7291
7292         * Languages.h:
7293         * Languages.C: remove defaults gunk
7294
7295         * lyx_main.h:
7296         * lyx_main.C: error out if files couldn't be found.
7297
7298 2003-04-02  John Levon  <levon@movementarian.org>
7299
7300         * text2.C: make incDepth() use parlist
7301
7302 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * undo_funcs.C (firstUndoParagraph): adjust
7305
7306         * text3.C (gotoInset): adjust
7307         (dispatch): adjust, and rewrite loop.
7308
7309         * text2.C (init): adjust, and rewrite loop.
7310         (redoParagraphs): adjust
7311         (updateInset): adjust, and rewrite loop.
7312         (deleteEmptyParagraphMechanism): adjust
7313
7314         * tabular.C (LyXTabular): adjust
7315         (SetMultiColumn): adjust
7316         (TeXRow): adjust
7317
7318         * lyxtext.[Ch] (ownerParagraph): delete function
7319         (ownerParagraphs): new function returns a ParagraphList.
7320
7321         * BufferView.C (removeAutoInsets): adjust
7322         (insertErrors): adjust
7323         (setCursorFromRow): adjust
7324
7325 2003-04-01  Angus Leeming  <leeming@lyx.org>
7326
7327         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7328         in the frontends.
7329
7330 2003-04-02  John Levon  <levon@movementarian.org>
7331
7332         * lyxtext.h:
7333         * text.C:
7334         * Makefile.am:
7335         * text_funcs.h:
7336         * text_funcs.C: make transposeChars a free function
7337
7338         * lyxrow_funcs.C: remove wrong comment
7339
7340 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * lyxtext.h: adjust
7343         * rowpainter.C: adjust
7344         * text.C: adjust
7345         * text2.C: adjust
7346         * text3.C: adjust
7347
7348         * lyxrow_funcs. [Ch]: new files
7349
7350         * lyxrow.[Ch]: remove next and previous pointers
7351         (next,previous): remove accessor functions
7352         (isParEnd): move to lyxrow_funcs
7353         (lastPos): move to lyxrow_funcs
7354         (nextRowIsAllInset): move to lyxrow_funcs
7355         (lastPrintablePos): move to lyxrow_funcs
7356         (numberOfSeparators): move to lyxrow_funcs
7357         (numberOfHfills): move to lyxrow_funcs
7358         (numberOfLabelHfills): move to lyxrow_funcs
7359         (hfillExpansion): move to lyxrow_funcs
7360
7361         * lyxfunc.C: adjust
7362
7363         * bufferview_funcs.C (toggleAndShow): adjust
7364
7365         * RowList.h: Remove class RowList from file leave just a
7366         std::list<Row>.
7367
7368         * RowList.C: delete file
7369
7370         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7371         and lyxrow_funcs.h
7372
7373 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * text3.C (cursorPrevious): adjust
7376         (cursorNext): adjust
7377         (dispatch): adjust
7378
7379         * text2.C (redoHeightOfParagraph): adjust
7380         (redoDrawingOfParagraph): adjust
7381         (setCursor): adjust
7382
7383         * text.C (breakParagraph): adjust
7384         (insertChar): adjust
7385         (backspace): adjust
7386
7387         * rowpainter.C (RowPainter): adjust
7388         (leftMargin): simplify and adjust
7389         (most rowpainter functions): adjust.
7390
7391         * rowpainter.h: store the row as RowList::iterator not as Row*
7392
7393         * lyxcursor.C (row): taka RowList::iterator as arg
7394         (irow): ditto
7395
7396         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7397         of Row*.
7398
7399 2003-04-01  Angus Leeming  <leeming@lyx.org>
7400
7401         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7402         stuff like bool Bool.
7403
7404 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7407         rewrite a loop
7408
7409 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7412         RowList::iterator.
7413
7414         * lyxtext.h (rows): drop one version and leve a const variant that
7415         returns a RowList::iterator.
7416
7417 2003-03-31  Angus Leeming  <leeming@lyx.org>
7418
7419         * text.C (fill): ensure that the signature is the same as that in the
7420         header file.
7421
7422 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * text2.C (redoParagraphs): adjust
7425         (updateCounters): adjust
7426         (checkParagraph): adjust
7427         (getColumnNearX): adjust and reformat a bit.
7428
7429         * text.C (top_y): adjust
7430         (workWidth): adjust
7431         (leftMargin): adjust
7432         (prepareToPrint): adjust
7433         (getRow): adjust
7434         (getRowNearY): adjust
7435
7436         * lyxtext.h: make rowlist_ mutable.
7437
7438         * RowList.h: add const_iterator
7439         * RowList.C: adjust for RowList::const_iterator.
7440
7441         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7442         adjust.
7443
7444 2003-03-31  John Levon  <levon@movementarian.org>
7445
7446         * lyxrc.h:
7447         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7448
7449         * lyx_main.C: set default fonts from using lyx_gui funcs
7450
7451         * exporter.C: pdf_mode moved from lyxrc
7452
7453         * lyx_cb.C:
7454         * lyxfunc.C: changes from above
7455
7456 2003-03-31  John Levon  <levon@movementarian.org>
7457
7458         * lyx_main.C: fix to the last fix
7459
7460 2003-03-31  John Levon  <levon@movementarian.org>
7461
7462         * bufferlist.C: "Load original" -> "Load Original"
7463
7464         * converter.C:
7465         * exporter.C:
7466         * importer.C:
7467         * lyx_main.C:
7468         * format.C: more Alert cleanups
7469
7470 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * text2.C (removeParagraph): make it take a RowList::iterator as
7473         arg, adjust.
7474         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7475         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7476
7477         * text.C (anchor_row): make it take a RowList::iterator as arg,
7478         adjust.
7479         (computeBidiTables): make it take a const reference to Row instead
7480         of Row pointer, adjust.
7481         (leftMargin): make it take a RowList::iterator as arg, adjust.
7482         (rowBreakPoint): adjust
7483         (breakAgainOneRow): make it take a RowList::iterator as arg,
7484         adjust.
7485         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7486
7487         * bufferview_funcs.C (toggleAndShow): adjust
7488
7489 2003-03-30  John Levon  <levon@movementarian.org>
7490
7491         * Makefile.am:
7492         * BoostFormat.h:
7493         * boost-inst.C: moved to support
7494
7495         * several files: changes as a result
7496
7497 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * text2.C (LyXText): adjust.
7500         (init): adjust
7501         (removeRow): make it take a RowList::iterator as arg, adjust.
7502         (fullRebreak): adjust
7503         (deleteEmptyParagraphMechanism): adjust
7504         (clearPaint): adjust
7505         (postPaint): adjust
7506
7507         * text.C (top_y): adjust
7508         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7509         (breakAgain): make it take a RowList::iterator as arg, adjust.
7510         (breakParagraph): adjust
7511         (insertChar): adjust
7512         (backspace): adjust
7513
7514         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7515         need_break_row, and refresh_row.
7516
7517         * text3.C (dispatch): adjust
7518
7519         * text2.C (checkParagraph): adjust
7520         (setCursor): adjust
7521         (setCursorFromCoordinates): adjust
7522
7523         * text.C (top_y): adjust
7524         (workWidth): adjust
7525         (getRow): make it return a RowList::iterator, adjust
7526         (getRowNearY): make it return a RowList::iterator, adjust
7527
7528         * text2.C (init): adjust
7529         (insertRow): remove function
7530         (insertParagraph): adjust
7531         (redoParagraphs): adjust
7532         (fullRebreak): adjust
7533         (updateCounters): adjust
7534
7535         * text.C (top_y): rewrite to use RowList iterators.
7536         (top_y): adjust
7537         (setHeightOfRow): rewrite to sue RowList iterators.
7538         (appendParagraph): adjust
7539         (breakAgain): adjust
7540         (breakAgainOneRow): adjust
7541         (breakParagraph): adjust
7542         (getRow): adjust
7543         (getRowNearY): adjust, and remove commented code.
7544
7545         * lyxtext.h (firstRow): delete function
7546         (lastRow): delete function
7547         (rows): new function (const and non-const versions.)
7548         (insertRow): delete function
7549
7550         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7551
7552 2003-03-29  John Levon  <levon@movementarian.org>
7553
7554         * BufferView_pimpl.C: always update scrollbar top
7555         because pasting text when we're anchored could mean we
7556         miss an update altogether
7557
7558 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7559
7560         * text2.C (init): use rowlist_.end() and not 0.
7561         (insertRow): change to take a RowList::iterator as arg, adjust
7562         for this.
7563         (insertParagraph): change to take a RowList::iterator as arg,
7564         adjust for this.
7565         (redoParagraphs): remove some debug msgs.
7566
7567         * text.C (appendParagraph): change to take a RowList::iterator
7568         arg, adjust for this.
7569         (breakAgain): add an assert
7570         (breakAgainOneRow): ditto
7571
7572 2003-03-29  John Levon  <levon@movementarian.org>
7573
7574         * text2.C: do not clear selection after inc/decDepth
7575         (bug 550)
7576
7577 2003-03-29  John Levon  <levon@movementarian.org>
7578
7579         * BufferView.C:
7580         * buffer.C: fix broken strerrors according to Lars
7581
7582 2003-03-29  John Levon  <levon@movementarian.org>
7583
7584         * converters.C: more Alert cleanups
7585
7586 2003-03-29  John Levon  <levon@movementarian.org>
7587
7588         * bufferview_funcs.C: remove pointless Alert
7589
7590         * buffer.C: fix confusing error message when
7591         a template is chmoded 000
7592
7593 2003-03-29  John Levon  <levon@movementarian.org>
7594
7595         * BufferView.C:
7596         * BufferView.h:
7597         * BufferView_pimpl.C: Alert fixes
7598
7599         * Makefile.am:
7600         * tabular.C:
7601         * tabular-old.C: remove unused table compat reading
7602
7603 2003-03-29  John Levon  <levon@movementarian.org>
7604
7605         * BufferView.C:
7606         * buffer.C:
7607         * lyx_cb.h:
7608         * lyx_cb.C: more Alert cleanups
7609
7610         * lyxfunc.C: don't allow chktex if not latex document
7611
7612 2003-03-29  John Levon  <levon@movementarian.org>
7613
7614         * lyx_cb.C:
7615         * BufferView.C:
7616         * buffer.C: warnings pushed down from support/,
7617         kill err_alert
7618
7619 2003-03-29  John Levon  <levon@movementarian.org>
7620
7621         * lyxfunc.C: safety check for C-r (revert)
7622
7623 2003-03-29  John Levon  <levon@movementarian.org>
7624
7625         * bufferlist.h:
7626         * bufferlist.C: several UI fixes using Alert::prompt.
7627         Fix the pointless looping quit code. Fix stupid revert
7628         behaviour (bug 938)
7629
7630         * lyxvc.h:
7631         * lyxvc.C:
7632         * lyx_cb.C: use Alert::prompt
7633
7634         * lyx_main.C: remove a silly question
7635
7636         * lyxfunc.C: remove a couple of silly questions,
7637         use Alert::prompt
7638
7639 2003-03-28  John Levon  <levon@movementarian.org>
7640
7641         * text2.C: fix bug 974 (End on empty par)
7642
7643 2003-03-28  John Levon  <levon@movementarian.org>
7644
7645         * BufferView_pimpl.C:
7646         * LyXAction.C:
7647         * lfuns.h: remove do-nothing math greek lfuns
7648
7649 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * lyxgluelength.h (isValidGlueLength): add default arg on
7652         parameter 2. Remove default arg from friend in class.
7653
7654         * lyxlength.h (isValidLength): add default arg on parameter 2.
7655         Remove default arg from friend in class.
7656
7657         * text2.C (LyXText): adjust, initialize refresh_row.
7658         (init): adjust
7659         (removeRow): adjust
7660         (insertRow): adjust
7661         (insertParagraph): adjst
7662         (redoParagraphs): adjust
7663         (fullRebreak): adjust
7664         (updateCounters): adjust
7665         (deleteEmptyParagraphMechanism): first attempt at fixing a
7666         crashing bug.
7667
7668         * text.C (top_y): adjust
7669         (setHeightOfRow): adjust
7670         (getRow): adjust
7671         (getRowNearY): adjust
7672
7673         * lyxtext.h: include RowList.h
7674         (~LyXText): not needed anymore, deleted.
7675         (firstRow): modify for RowList
7676         (lastRow): new function
7677         Delete firstrow and lastrow class variables, add a Rowlist
7678         rowlist_ class variable.
7679
7680         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7681         paragraph is empty.
7682
7683         * RowList.C (insert): fix case where it == begin().
7684
7685 2003-03-26  Angus Leeming  <leeming@lyx.org>
7686
7687         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7688         the thesaurus dialog.
7689
7690 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7693
7694         * RowList.[Ch]: new files
7695
7696         * ParagraphList.C (erase): handle the case where it == begin
7697         correctly.
7698
7699 2003-03-25  John Levon  <levon@movementarian.org>
7700
7701         * Makefile.am:
7702         * aspell_local.h:
7703         * aspell.C: add new aspell support
7704
7705         * lyxrc.h:
7706         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7707         have it accessible.
7708
7709 2003-03-25  Angus Leeming  <leeming@lyx.org>
7710
7711         * lfuns.h:
7712         * LyXAction.C (init): new LFUN_INSET_INSERT.
7713
7714         * BufferView_pimpl.C (dispatch): split out part of the
7715         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7716
7717         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7718         LFUN_INSET_APPLY.
7719
7720 2003-03-25  Angus Leeming  <leeming@lyx.org>
7721
7722         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7723
7724 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7725
7726         * text2.C:
7727         * text3.C: remove useless row->height(0)
7728
7729 2003-03-25  John Levon  <levon@movementarian.org>
7730
7731         * lyxtext.h:
7732         * text2.C:
7733         * text3.C: rename the refreshing stuff to better names
7734
7735 2003-03-24  John Levon  <levon@movementarian.org>
7736
7737         * BufferView_pimpl.h:
7738         * BufferView_pimpl.C: update layout choice on a mouse
7739         press/release
7740
7741 2003-03-23  John Levon  <levon@movementarian.org>
7742
7743         * Makefile.am: fix commandtags.h reference
7744
7745 2003-03-22  John Levon  <levon@movementarian.org>
7746
7747         * BufferView_pimpl.C:
7748         * lyxtext.h:
7749         * rowpainter.C:
7750         * rowpainter.h:
7751         * text.C:
7752         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7753
7754 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7755
7756         * lyxtext.h:
7757         * text.C: take the rtl methods out of line
7758
7759 2003-03-21 André Pönitz <poenitz@gmx.net>
7760
7761         * metricsinfo.[Ch]: new files containing structures to be passed around
7762         during the two-phase-drawing...
7763
7764 2003-03-21 André Pönitz <poenitz@gmx.net>
7765
7766         * lyxtextclass.C: read 'environment' tag.
7767
7768 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7769
7770         * text2.C (removeRow): fix bug 964
7771
7772 2003-03-20  John Levon  <levon@movementarian.org>
7773
7774         * rowpainter.C:
7775         * text.C:
7776         * text2.C: paint cleanups. Inset::update() dropped font
7777         parameter
7778
7779 2003-03-19  John Levon  <levon@movementarian.org>
7780
7781         * lyxfunc.C: only fitcursor/markDirty if available()
7782
7783 2003-03-19  John Levon  <levon@movementarian.org>
7784
7785         * commandtags.h: rename to ...
7786
7787         * lfuns.h: ... this, and renumber / cleanup
7788
7789 2003-03-19  John Levon  <levon@movementarian.org>
7790
7791         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7792         fit the cursor after an lfun
7793
7794         * BufferView.h:
7795         * BufferView.C:
7796         * BufferView_pimpl.h:
7797         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7798
7799         * LyXAction.C: layout-character should have ReadOnly
7800
7801         * ParagraphParameters.C:
7802         * buffer.C:
7803         * bufferview_funcs.C:
7804         * lyx_cb.C:
7805         * lyxfind.C:
7806         * lyxtext.h:
7807         * text.C:
7808         * text2.C:
7809         * text3.C:
7810         * undo_funcs.C: changes from above
7811
7812 2003-03-18  John Levon  <levon@movementarian.org>
7813
7814         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7815         remove it from update()
7816
7817         * lyxfunc.C: update layout choice after an lfun
7818
7819         * text3.C: remove extra updateLayoutChoice()s
7820
7821 2003-03-18  John Levon  <levon@movementarian.org>
7822
7823         * text.C: top_y change means full repaint, fix
7824         a drawing bug with cursor movement
7825
7826 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7827
7828         * lyxtext.h:
7829         * text.C:
7830         * text2.C: anchor row on setCursor
7831
7832 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7833
7834         * lyxtext.h: remove almost all mutable keywords
7835         * text.C:
7836         * text2.C:
7837         * text3.C: remove const keywords accordingly
7838
7839 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7842         anon namespace
7843         (TeXEnvironment): ditto
7844         (TeXOnePar): ditto
7845
7846 2003-03-17  John Levon  <levon@movementarian.org>
7847
7848         * text.C (rowBreakPoint): remove attempt to fix displayed
7849         math insets inside a manual label
7850
7851 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * lyxtext.h: remove BufferView* as first arg from almost all class
7854         functions.
7855         * other files: adjust.
7856
7857 2003-03-17  John Levon  <levon@movementarian.org>
7858
7859         * lyxtext.h:
7860         * undo_funcs.C:
7861         * text2.C: more paint cleanups
7862
7863         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7864
7865         * rowpainter.h:
7866         * rowpainter.C: remove "smart" background painting code
7867
7868 2003-03-16  John Levon  <levon@movementarian.org>
7869
7870         * lyxtext.h:
7871         * text.C:
7872         * text2.C:
7873         * text3.C: add helper functions for setting refresh_row/y
7874
7875 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7876
7877         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7878         newline inset which *can* get inserted in the pass_thru layouts.
7879         This is primarily for literate documents.
7880
7881 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7882
7883         * buffer.C: increment LYX_FORMAT to 223
7884
7885 2003-03-14 André Pönitz <poenitz@gmx.net>
7886
7887         * textclass.h: prepare for environment handling, ws changes
7888         * lyxlayout.C: read latexheader and latexfooter tags
7889
7890 2003-03-14  John Levon  <levon@movementarian.org>
7891
7892         * text2.C: rewrite ::status() a bit
7893
7894 2003-03-13  John Levon  <levon@movementarian.org>
7895
7896         * lyxtext.h: add some docs
7897
7898 2003-03-13  John Levon  <levon@movementarian.org>
7899
7900         * lyxtext.h:
7901         * text.C:
7902         * text2.C:
7903         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7904
7905 2003-03-13  John Levon  <levon@movementarian.org>
7906
7907         * text3.C: fix appendix redrawing
7908
7909 2003-03-13  John Levon  <levon@movementarian.org>
7910
7911         * text.C (setHeightOfRow):
7912         * rowpainter.h:
7913         * rowpainter.C: make appendix mark have the text
7914           "Appendix" so the user knows what it is
7915
7916         * LColor.h:
7917         * LColor.C: s/appendixline/appendix/ from above
7918
7919 2003-03-13  John Levon  <levon@movementarian.org>
7920
7921         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7922
7923         * text.C: fix a getChar(pos) bug properly
7924
7925 2003-03-13  Angus Leeming  <leeming@lyx.org>
7926
7927         * commandtags.h:
7928         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7929         Probably only temporary. Let's see how things pan out.
7930
7931         * BufferView.C (unlockInset):
7932         * BufferView_pimpl.C (fitCursor):
7933         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7934
7935         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7936         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7937
7938         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7939         new functions that convert ParagraphParameters to and from a string.
7940
7941         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7942         BufferView::Pimpl's dispatch.
7943         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7944
7945 2003-03-13 André Pönitz <poenitz@gmx.net>
7946
7947         * lyxfunc.C:
7948         * text3.C:
7949         * factory.C: make it aware of InsetEnv
7950
7951 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * text2.C (setCursor): never ask for one past last
7954         (setCursor): add some debugging messages.
7955
7956         * text.C (singleWidth): never ask for one past last
7957         (singleWidth): ditto
7958         (leftMargin): ditto
7959         (rightMargin): ditto
7960         (rowBreakPoint): ditto
7961         (setHeightOfRow): ditto
7962         (prepareToPrint): ditto
7963
7964         * rowpainter.C (paintBackground): never ask for one past last
7965         (paintText): never ask for one past last
7966
7967         * paragraph_pimpl.C (getChar): make the assert stricter, never
7968         allow the one past last pos to be taken
7969
7970         * paragraph.C (getChar): ws changes only
7971
7972         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7973         (numberOfSeparators): ditto
7974         (numberOfHfills): ditto
7975
7976 2003-03-12  John Levon  <levon@movementarian.org>
7977
7978         * author.h:
7979         * author.C:
7980         * bufferparams.h:
7981         * bufferparams.C:
7982         * paragraph_funcs.C: fix per-buffer authorlists
7983
7984 2003-03-12  John Levon  <levon@movementarian.org>
7985
7986         * text.C: fix newline in right address
7987
7988 2003-03-12  Angus Leeming  <leeming@lyx.org>
7989
7990         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7991         duplicate those in LyXFunc::dispatch.
7992
7993         * commandtags.h:
7994         * LyXAction.C:
7995         * ToolbarDefaults.C:
7996         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7997         Add LFUN_FONTFREE_UPDATE.
7998
7999         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8000         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8001
8002         * bufferview_func.[Ch]: several new functions to facilliate
8003         transfer of data to and from the character dialog.
8004
8005 2003-03-12  John Levon  <levon@movementarian.org>
8006
8007         * buffer.C:
8008         * paragraph.h:
8009         * paragraph.C:
8010         * paragraph_funcs.C:
8011         * paragraph_pimpl.C:
8012         * sgml.C:
8013         * tabular.C:
8014         * text.C:
8015         * text3.C: remove META_NEWLINE in favour of an inset
8016
8017         * rowpainter.h:
8018         * rowpainter.C: remove paintNewline (done by inset)
8019
8020 2003-03-12  John Levon  <levon@movementarian.org>
8021
8022         * paragraph_pimpl.C: complain about bad getChar()s
8023         for a while at least
8024
8025 2003-03-12  John Levon  <levon@movementarian.org>
8026
8027         * buffer.h:
8028         * buffer.C: move paragraph read into a separate function,
8029         a little renaming to reflect that.
8030
8031         * bufferparams.h:
8032         * bufferparams.C: remove the author_ids map, not necessary now
8033
8034         * factory.h:
8035         * factory.C: moved Buffer::readInset to here
8036
8037         * paragraph_funcs.h:
8038         * paragraph_funcs.C: readParagraph free function moved from
8039         buffer.C
8040
8041         * tabular.C: name change
8042
8043 2003-03-12  John Levon  <levon@movementarian.org>
8044
8045         * buffer.C:
8046         * ParagraphParameters.C: move par params input to
8047         a read() method
8048
8049         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8050         behave like a normal read from the stream wrt reading
8051         a line vs. a \\token
8052
8053 2003-03-12  John Levon  <levon@movementarian.org>
8054
8055         * paragraph.C:
8056         * ParagraphParameters.h:
8057         * ParagraphParameters.C: move output code to a
8058         ::write() method
8059
8060 2003-03-12  John Levon  <levon@movementarian.org>
8061
8062         * BufferView.C (insertLyXFile):
8063         * buffer.h:
8064         * buffer.C:
8065         * tabular.C: use a parlist iterator for creating the
8066           document.
8067
8068 2003-03-12  John Levon  <levon@movementarian.org>
8069
8070         * buffer.C: make current_change static local not
8071           static file-scope
8072
8073 2003-03-12  John Levon  <levon@movementarian.org>
8074
8075         * buffer.C: fix insertStringAsLines for change tracking
8076
8077 2003-03-12  John Levon  <levon@movementarian.org>
8078
8079         * BufferView.C:
8080         * tabular.C:
8081         * buffer.h:
8082         * buffer.C:
8083         * bufferparams.h:
8084         * bufferparams.C: move author list into params. Rename some
8085           functions. Move the header reading into a separate token
8086           loop. Move the header token reading into BufferParams.
8087
8088 2003-03-12  John Levon  <levon@movementarian.org>
8089
8090         * changes.C: put debug inside lyxerr.debugging() checks
8091
8092 2003-03-11 André Pönitz <poenitz@gmx.net>
8093
8094         * factory.C: make it aware of InsetHFill
8095
8096 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8097
8098         * buffer.C (latexParagraphs): move function from here...
8099         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8100         args.
8101
8102 2003-03-10  Angus Leeming  <leeming@lyx.org>
8103
8104         * LyXAction.C (init): fix bug in poplating array with multiple entries
8105         with the same LFUN (spotted by JMarc).
8106
8107 2003-03-10  John Levon  <levon@movementarian.org>
8108
8109         * text.C:
8110         * text2.C: move getColumnNearX() near its
8111         only call site
8112
8113 2003-03-10  John Levon  <levon@movementarian.org>
8114
8115         * text.C: fix break before a minipage
8116
8117 2003-03-10  John Levon  <levon@movementarian.org>
8118
8119         * text.C: fix the last commit
8120
8121 2003-03-09  John Levon  <levon@movementarian.org>
8122
8123         * lyxtext.h:
8124         * text.C:
8125         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8126         bug 365 (don't break before insets unless needed). Don't
8127         return a value > last under any circumstances.
8128
8129 2003-03-09  Angus Leeming  <leeming@lyx.org>
8130
8131         * BufferView_pimpl.C (trackChanges, dispatch): call
8132         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8133
8134 2003-03-09  Angus Leeming  <leeming@lyx.org>
8135
8136         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8137         than Dialogs::showAboutlyx().
8138
8139 2003-03-09  Angus Leeming  <leeming@lyx.org>
8140
8141         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8142         than Dialogs::showTabularCreate().
8143
8144 2003-03-09  John Levon  <levon@movementarian.org>
8145
8146         * lyxtext.h:
8147         * text.C:
8148         * text2.C: 3rd arg to nextBreakPoint was always the same.
8149           Use references.
8150
8151 2003-03-08  John Levon  <levon@movementarian.org>
8152
8153         * lyxrow.C:
8154         * paragraph.C:
8155         * paragraph.h:
8156         * rowpainter.C:
8157         * text.C:
8158         * text2.C: Remove the "main" bit from the "main body"
8159           notion.
8160
8161 2003-03-08  John Levon  <levon@movementarian.org>
8162
8163         * text.C (leftMargin): The left margin of an empty
8164         manual label paragraph should not include the label width
8165         string length.
8166
8167         * text.C (prepareToPrint): don't attempt to measure hfills
8168         for empty manual label paragraphs - the answer should be 0
8169
8170 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * CutAndPaste.C: remove commented code and reindent.
8173
8174 2003-03-08  John Levon  <levon@movementarian.org>
8175
8176         * lyxfunc.h:
8177         * lyxfunc.C: move reloadBuffer()
8178
8179         * BufferView.h:
8180         * BufferView.C: to here
8181
8182         * lyxvc.C: add comment
8183
8184         * vc-backend.h:
8185         * vc-backend.C: call bv->reload() to avoid
8186           getStatus() check on MENURELOAD
8187
8188 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8189
8190         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8191         to an old format .dep file.
8192
8193 2003-03-07  Angus Leeming  <leeming@lyx.org>
8194
8195         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8196         when the LFUN_MOUSE_RELEASE should have been handled by
8197         inset->localDispatch.
8198
8199 2003-03-07  Angus Leeming  <leeming@lyx.org>
8200
8201         * BufferView_pimpl.C (dispatch):
8202         * LyXAction.C (init):
8203         * ToolbarDefaults.C (init):
8204         * commandtags.h:
8205         * lyxfunc.C (getStatus):
8206         remove LFUN_INSET_GRAPHICS.
8207
8208         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8209
8210 2003-03-07  Angus Leeming  <leeming@lyx.org>
8211
8212         * commandtags.h:
8213         * LyXAction.C (init):
8214         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8215
8216         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8217
8218         * commandtags.h:
8219         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8220
8221         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8222         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8223
8224 2003-03-07  Angus Leeming  <leeming@lyx.org>
8225
8226         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8227         remove "ert".
8228
8229 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * ParagraphList.C (front): new function
8232         (back): implement
8233
8234 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8235
8236         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8237         and top_row_offset_. removed var first_y.
8238         * text.C (top_y):
8239         * text2.C (LyXText, removeRow):
8240         * text3.C:
8241         * BufferView_pimpl.C:
8242         use these methods instead of using first_y
8243
8244 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * text2.C (pasteSelection): adjust for checkPastePossible
8247
8248         * CutAndPaste.C: remove Paragraph * buf and replace with
8249         ParagraphList paragraphs.
8250         (DeleteBuffer): delete
8251         (cutSelection): change the tc type to textclass_type
8252         (copySelection): change the tc type to textclass_type
8253         (copySelection): adjust for ParagraphList
8254         (pasteSelection): change the tc type to textclass_type
8255         (pasteSelection): adjust for Paragraphlist
8256         (nrOfParagraphs): simplify for ParagraphList
8257         (checkPastePossible): simplify for ParagraphList
8258         (checkPastePossible): remove unused arg
8259
8260         * ParagraphList.C (insert): handle the case where there are no
8261         paragraphs yet.
8262
8263         * CutAndPaste.h: make CutAndPaste a namespace.
8264
8265         * text3.C (dispatch): adjust
8266
8267         * text.C (breakParagraph): add a ParagraphList as arg
8268
8269         * paragraph_funcs.C (breakParagraph): change to take a
8270         BufferParams and a ParagraphList as args.
8271         (breakParagraphConservative): ditto
8272         (mergeParagraph): ditto
8273         (TeXDeeper): add a ParagraphList arg
8274         (TeXEnvironment): ditto
8275         (TeXOnePar): ditto
8276
8277         * buffer.C (readLyXformat2): adjust
8278         (insertStringAsLines): adjust
8279         (latexParagraphs): adjust
8280
8281         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8282         (cutSelection): adjust
8283         (pasteSelection): adjust
8284
8285         * BufferView_pimpl.C (insertInset): adjust
8286
8287 2003-03-05  Angus Leeming  <leeming@lyx.org>
8288
8289         * commandtags.h:
8290         * LyXAction.C (init):
8291         * BufferView_pimpl.C (dispatch):
8292         * lyxfunc.C (getStatus):
8293         remove LFUN_CHILD_INSERT.
8294
8295         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8296
8297 2003-03-05  Angus Leeming  <leeming@lyx.org>
8298
8299         * commandtags.h:
8300         * LyXAction.C (init):
8301         * src/factory.C (createInset):
8302         * lyxfunc.C (getStatus):
8303         * text3.C (dispatch):
8304         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8305
8306         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8307
8308 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * ParagraphList.C (insert): handle insert right before end()
8311         (erase): fix cases where it can be first or last paragraph.
8312
8313 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8316         Paragraph::next and Paragraph::previous
8317         (TeXOnePar): ditto
8318
8319         * text.C (breakParagraph): adjust
8320
8321         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8322         BufferParams& as arg.
8323         (breakParagraph): use ParagraphList::insert
8324         (breakParagraphConservative): take a Buffer* instead of a
8325         BufferParams& as arg.
8326         (breakParagraphConservative): use ParagraphList::insert.
8327
8328         * buffer.C (insertStringAsLines): un-const it
8329         (insertStringAsLines): adjust
8330
8331         * ParagraphList.C (insert): new function
8332
8333         * CutAndPaste.C (pasteSelection): adjust
8334
8335         * text.C (backspace): adjust
8336
8337         * tabular.C (SetMultiColumn): adjust
8338
8339         * CutAndPaste.C (cutSelection): adjust
8340         (pasteSelection): adjust
8341
8342         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8343         Buffer const * as arg
8344
8345         * ParagraphList.C (erase): new function
8346         * paragraph_funcs.C (mergeParagraph): use it
8347         (mergeParagraph): make it take a Buffer* instead of a
8348         BufferParams* as arg
8349
8350         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8351         as arg
8352         (breakParagraphConservative): ditto
8353
8354         * paragraph.h: remove the breakParagraph friend
8355
8356         * paragraph.C (eraseIntern): new function
8357         (setChange): new function
8358
8359         * paragraph_funcs.C (mergeParagraph): make it take a
8360         ParagraphList::iterator instead of a Paragraph *, adjust
8361         accordingly.
8362
8363         * paragraph.h: move an #endif so that the change tracking stuff
8364         also works in the NO_NEXT case.
8365
8366 2003-03-04  Angus Leeming  <leeming@lyx.org>
8367
8368         * commandtags.h:
8369         * LyXAction.C: new LFUN_INSET_MODIFY.
8370
8371         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8372         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8373
8374 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * several files: ws changes only
8377
8378         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8379         (TeXEnvironment): ditto
8380         (TeXDeeper): ditto
8381
8382         * buffer.C (makeLaTeXFile): adjust
8383         (latexParagraphs): make it take ParagraphList::iterator as args
8384
8385 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * buffer.C (latexParagraphs): adjust
8388
8389         * paragraph.C (TeXOnePar): move function...
8390         (optArgInset): move function...
8391         (TeXEnvironment): move function...
8392         * paragraph_pimpl.C (TeXDeeper): move function...
8393         * paragraph_funcs.C: ...here
8394
8395         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8396
8397 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * buffer.C (readInset): remove compability code for old Figure and
8400         InsetInfo insets
8401
8402 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * buffer.C: ws changes
8405         (readInset):
8406
8407         * BufferView_pimpl.C: ditto
8408         * author.C: ditto
8409         * buffer.h: ditto
8410         * bufferlist.h: ditto
8411         * changes.h: ditto
8412         * lyxfunc.C: ditto
8413
8414 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8415
8416         * converter.[Ch]: split into itself +
8417         * graph.[Ch]
8418         * format.[Ch]
8419         * Makefile.am: += graph.[Ch] + format.[Ch]
8420         * MenuBackend.C
8421         * buffer.C
8422         * exporter.C
8423         * importer.C
8424         * lyx_main.C
8425         * lyxfunc.C
8426         * lyxrc.C: added #include "format.h"
8427
8428 2003-02-27  Angus Leeming  <leeming@lyx.org>
8429
8430         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8431           a label.
8432
8433         * factory.C (createInset): add "label" to the factory.
8434
8435         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8436           string and do no more.
8437
8438 2003-02-27  Angus Leeming  <leeming@lyx.org>
8439
8440         * commandtags.h:
8441         * LyXAction.C (init):
8442         * factory.C (createInset):
8443         * BufferView_pimpl.C (dispatch):
8444           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8445
8446         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8447
8448         * lyxfunc.C (dispatch):
8449         * text3.C (dispatch): pass name to params2string.
8450
8451 2003-02-26  Angus Leeming  <leeming@lyx.org>
8452
8453         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8454           blocks together.
8455           Rearrange the ~includes. Strip out the unnecessary ones.
8456
8457         * factory.C (createInset): reformat.
8458           create new insets for the various LFUN_XYZ_APPLY lfuns.
8459
8460 2003-02-26  John Levon  <levon@movementarian.org>
8461
8462         * lyxrow.h:
8463         * lyxrow.C: add isParStart,isParEnd helpers
8464
8465         * paragraph.h: make isInserted/DeletedText take refs
8466
8467         * paragraph_funcs.h:
8468         * paragraph_funcs.C: remove #if 0'd code
8469
8470         * lyxtext.h:
8471         * text3.C:
8472         * text2.C:
8473         * text.C: use lyxrow helpers above.
8474           Move draw and paint routines to RowPainter.
8475           Make several methods use refs not pointers.
8476           Make backgroundColor() const.
8477           Add markChangeInDraw(), isInInset().
8478           Merge changeRegionCase into changeCase.
8479           Make workWidth() shouldn't-happen code into an Assert.
8480
8481         * rowpainter.h:
8482         * rowpainter.C: new class for painting a row.
8483
8484         * vspace.h:
8485         * vspace.C: make inPixels take a ref
8486
8487 2003-02-26  Angus Leeming  <leeming@lyx.org>
8488
8489         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8490         LFUN_REF_APPLY.
8491
8492 2003-02-25  John Levon  <levon@movementarian.org>
8493
8494         * ispell.C: give the forked command a more accurate name
8495
8496 2003-02-22  John Levon  <levon@movementarian.org>
8497
8498         * toc.h:
8499         * toc.C: make TocItem store an id not a Paragraph *
8500           (bug #913)
8501
8502 2003-02-21  Angus Leeming  <leeming@lyx.org>
8503
8504         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8505           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8506           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8507           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8508           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8509           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8510
8511         * BufferView_pimpl.C (dispatch):
8512         * LyXAction.C (init):
8513         * factory.C (createInset):
8514         * lyxfunc.C (getStatus, dispatch):
8515         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8516
8517 2003-02-21  Angus Leeming  <leeming@lyx.org>
8518
8519         * BufferView_pimpl.C (MenuInsertLyXFile):
8520         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8521         * lyxfunc.C (menuNew, open, doImport):
8522           no longer pass a LyXView & to fileDlg.
8523
8524 2003-02-21  Angus Leeming  <leeming@lyx.org>
8525
8526         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8527         * LyXAction.C: change, BIBKEY to BIBITEM.
8528         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8529         Change InsetBibKey to InsetBibitem.
8530         Change BIBKEY_CODE to BIBITEM_CODE.
8531         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8532         * factory.C: replace insetbib.h with insetbibitem.h.
8533         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8534         * paragraph.C: replace insetbib.h with insetbibitem.h.
8535         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8536         Change bibkey() to bibitem().
8537         * text.C: remove insetbib.h.
8538         * text2.C: replace insetbib.h with insetbibitem.h.
8539         change bibkey() to bibitem().
8540         * text3.C: remove insetbib.h.
8541         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8542
8543 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8544
8545         * lyxrc.C (output): enclose user email in quotes (in case there are
8546         several words)
8547
8548 2003-02-18  John Levon  <levon@movementarian.org>
8549
8550         * buffer.h: add std::
8551
8552 2003-02-17  John Levon  <levon@movementarian.org>
8553
8554         * SpellBase.h:
8555         * ispell.h:
8556         * ispell.C:
8557         * pspell.h:
8558         * pspell.C: reworking. Especially in ispell, a large
8559           number of clean ups and bug fixes.
8560
8561         * lyxfunc.C: fix revert to behave sensibly
8562
8563 2003-02-17 André Pönitz <poenitz@gmx.net>
8564
8565         * LyXAction.C:
8566         * commandtags.h: new LFUN_INSERT_BIBKEY
8567
8568         * layout.h:
8569         * lyxlayout.C:
8570         * buffer.C:
8571         * factory.C:
8572         * text.C:
8573         * text2.C:
8574         * text3.C:
8575         * paragraph.[Ch]:
8576         * paragraph_func.C: remove special bibkey handling
8577
8578 2003-02-17  John Levon  <levon@movementarian.org>
8579
8580         * text.C (Delete): fix case where delete at the end of
8581           the very first paragraph would not merge the pars
8582
8583 2003-02-17  John Levon  <levon@movementarian.org>
8584
8585         * lyxrow.C: fix lastPrintablePos()
8586
8587 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8588
8589         * bufferparams.C (writeLaTeX): add a std:here
8590
8591         * buffer.C: and remove a using directive there
8592
8593 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * buffer.C (makeLaTeXFile): move the code that generates the
8596           preamble...
8597
8598         * bufferparams.C (writeLaTeX): ... in this new method
8599
8600         * LaTeXFeatures.C (getEncodingSet): make const
8601           (getLanguages): make const
8602
8603         * MenuBackend.C (binding): returns the binding associated to this
8604           action
8605           (add): sets the status of each item by calling getStatus. Adds
8606           some intelligence.
8607           (read): add support for OptSubMenu
8608           (expand): remove extra separator at the end of expanded menu
8609
8610 2003-02-15  John Levon  <levon@movementarian.org>
8611
8612         * BufferView.C:
8613         * BufferView_pimpl.C:
8614         * bufferlist.h:
8615         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8616           inset code that had no actual effect. Remove unneeded status
8617           code.
8618
8619 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8622           in preamble
8623
8624 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8625
8626         * text.C (drawLengthMarker): also draw an arrow marker for
8627           symbolic lengths (medskip...)
8628
8629 2003-02-14  John Levon  <levon@movementarian.org>
8630
8631         * tabular.h:
8632         * tabular.C: better method names
8633
8634 2003-02-14  John Levon  <levon@movementarian.org>
8635
8636         * BufferView_pimpl.C:
8637         * bufferlist.C:
8638         * buffer.C:
8639         * converter.C:
8640         * lyx_cb.C:
8641         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8642           it's a more accurate name. Remove some pointless uses.
8643
8644 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8645
8646         * text2.C (LyXText): change order of initilizers to shut off
8647           warnings
8648
8649 2003-02-14  John Levon  <levon@movementarian.org>
8650
8651         * buffer.C: use ParIterator for getParFromID()
8652
8653         * paragraph.h:
8654         * paragraph.C:
8655         * paragraph_pimpl.h:
8656         * paragraph_pimpl.C: remove unused getParFromID()
8657
8658 2003-02-14  John Levon  <levon@movementarian.org>
8659
8660         * buffer.C: remove some very old #if 0'd parse code
8661
8662 2003-02-13  John Levon  <levon@movementarian.org>
8663
8664         * text.h:
8665         * text.C:
8666         * text2.C: move hfillExpansion(), numberOfSeparators(),
8667           rowLast(), rowLastPrintable(), numberofHfills(),
8668           numberOfLabelHfills() ...
8669
8670         * lyxrow.h:
8671         * lyxrow.C: ... to member functions here.
8672
8673         * paragraph.h:
8674         * paragraph.C:
8675         * lyxtext.h:
8676         * text.C: remove LyXText::beginningOfMainBody(), and call
8677           p->beginningOfMainBody() directly. Move the check for
8678           LABEL_MANUAL into the latter.
8679
8680         * text.h:
8681         * text.C:
8682         * text2.C:
8683         * vspace.C:
8684         * BufferView.h:
8685         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8686
8687         * text.h:
8688         * text.C:
8689         * text2.C:
8690         * text3.C:
8691         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8692           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8693
8694 2003-02-13  John Levon  <levon@movementarian.org>
8695
8696         * CutAndPaste.C: remove debug
8697
8698 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8699
8700         * paragraph.C (asString): remove two unused variables
8701
8702         * lyxtextclass.C (readTitleType):
8703           (Read):
8704           (LyXTextClass): handle new members titletype_ and titlename_
8705
8706         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8707
8708 2003-02-09  John Levon  <levon@movementarian.org>
8709
8710         * buffer.h:
8711         * buffer.C: replace hand-coded list with a map for the dep clean
8712
8713 2003-02-08  John Levon  <levon@movementarian.org>
8714
8715         * LaTeX.C: consolidate code into showRunMessage() helper
8716
8717 2003-02-08  John Levon  <levon@movementarian.org>
8718
8719         * lyxfind.C:
8720         * lyxtext.h:
8721         * text2.C:
8722         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8723           and pass the size in explicitly
8724
8725         * BufferView_pimpl.h:
8726         * BufferView_pimpl.C:
8727         * BufferView.h:
8728         * BufferView.C: add getCurrentChange()
8729
8730         * BufferView_pimpl.h:
8731         * BufferView_pimpl.C: handle change lfuns
8732
8733         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8734           for changes. Mark pasted paragraphs as new.
8735
8736         * support/lyxtime.h:
8737         * support/lyxtime.C:
8738         * DepTable.C: abstract time_t as lyx::time_type
8739
8740         * LColor.h:
8741         * LColor.C: add colours for new text, deleted text, changebars
8742
8743         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8744           package use "usenames" option.
8745
8746         * commandtags.h:
8747         * lyxfunc.C:
8748         * LyXAction.C: add change lfuns
8749
8750         * Makefile.am:
8751         * author.h:
8752         * author.C: author handling
8753
8754         * buffer.h:
8755         * buffer.C: add a per-buffer author list, with first entry as
8756           current author. Handle new .lyx tokens for change tracking. Output
8757           author list to .lyx file. Output dvipost stuff to .tex preamble.
8758           Bump lyx format to 222.
8759
8760         * bufferlist.h:
8761         * bufferlist.C: add setCurrentAuthor() to reset current author details
8762           in all buffers.
8763
8764         * bufferparams.h:
8765         * bufferparams.C: add param for tracking
8766
8767         * bufferview_funcs.C: output change info in minibuffer
8768
8769         * Makefile.am:
8770         * changes.h:
8771         * changes.C: add change-tracking structure
8772
8773         * debug.h:
8774         * debug.C: add CHANGES debug flag
8775
8776         * lyxfind.h:
8777         * lyxfind.C: add code for finding the next change piece
8778
8779         * lyxrc.h:
8780         * lyxrc.C: add user_name and user_email
8781
8782         * lyxrow.h:
8783         * lyxrow.C: add a metric for the top of the text line
8784
8785         * lyxtext.h:
8786         * text.C: implement accept/rejectChange()
8787
8788         * lyxtext.h:
8789         * text.C: paint changebars. Paint new/deleted text in the chosen
8790         colours. Strike through deleted text.
8791
8792         * paragraph.h:
8793         * paragraph.C:
8794         * paragraph_pimpl.h:
8795         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8796           in the current change to the insert functions. Rework erase to
8797           mark text as deleted, adding an eraseIntern() and a range-based
8798           erase(). Implement per-paragraph change lookup and
8799           accept/reject.
8800
8801         * paragraph_funcs.C: Fixup paste for change tracking.
8802
8803         * tabular.C: mark added row/columns as new.
8804
8805         * text.C: fix rowLast() to never return -1. Don't allow
8806           spellchecking of deleted text. Track transpose changes. Don't
8807           allow paragraph break or merge where appropriate.
8808
8809         * text2.C: leave cursor at end of selection after a cut.
8810
8811 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8812
8813         * text.C (getLengthMarkerHeight):
8814         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8815         visible on screen too.
8816
8817 2003-02-07  John Levon  <levon@movementarian.org>
8818
8819         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8820
8821 2003-02-05  Angus Leeming  <leeming@lyx.org>
8822
8823         * lyxserver.C (read_ready): revert my patch of 11 September last year
8824         as it sends PC cpu through the roof. Presumably this means that
8825         the lyxserver will no longer run on an Alpha...
8826
8827 2003-01-30  Angus Leeming  <leeming@lyx.org>
8828
8829         * factory.C (createInset): create an InsetCommandParam of type "index"
8830         and use it to 'do the right thing'.
8831
8832         * text2.C (getStringToIndex): ensure that cursor position is always
8833         reset to the reset_cursor position.
8834
8835 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8836
8837         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8838         disabled.
8839
8840 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8841
8842         * bufferview.C:
8843         * lyxcb.C:
8844         * lyxfunc.C: Output messages with identical spelling, punctuation,
8845         and spaces
8846
8847 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8848
8849         * MenuBackend.C (expandFormats): List only viewable export formats
8850         in "View" menu
8851
8852         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8853         message
8854
8855         * lyxfunc.C (getStatus): Make sure that formats other than
8856         "fax" can also be disabled
8857
8858 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8859
8860         * text3.C (dispatch): put the lfuns that insert insets in 3
8861         groups, and call doInsertInset with appropriate arguments.
8862         (doInsertInset): new function, that creates an inset and inserts
8863         it according to some boolean parameters.
8864
8865 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8866
8867         * buffer.C (readFile): remember to pass on 'par' when calling
8868         readFile recursively.
8869
8870 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8871
8872         * MenuBackend.C (expandFormats): add "..." to import formats.
8873
8874 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * paragraph.C (asString): Remove XForms RTL hacks.
8877
8878 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8879         * buffer.C: fix typo
8880
8881 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * Makefile.am (LIBS): delete var
8884         (lyx_LDADD): add @LIBS@ here instead.
8885
8886 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8887
8888         * Clarify the meaning of "wheel mouse jump"
8889
8890 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8891
8892         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8893         tabular in a float
8894
8895 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8896
8897         * importer.C (Loaders): do not preallocate 3 elements in the
8898         vector, since one ends up with 6 elements otherwise
8899
8900 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8901
8902         * DepTable.C (write): write the file name as last element of the
8903         .dep file (because it may contain spaces)
8904         (read): read info in the right order
8905
8906 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8907
8908         * paragraph_pimpl.C (simpleTeXBlanks):
8909         (simpleTeXSpecialChars):
8910         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8911
8912         * tabular.C (latex): add some missing case statements. Reindent.
8913
8914         * MenuBackend.C (expandToc): remove unused variable.
8915
8916 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8917
8918         * LColor.C:
8919         * LaTeX.C:
8920         * LyXAction.C:
8921         * MenuBackend.C:
8922         * buffer.C:
8923         * exporter.C:
8924         * lyxfunc.C:
8925         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8926         and the like.
8927
8928 2003-01-05  John Levon  <levon@movementarian.org>
8929
8930         * BufferView.h:
8931         * BufferView.C: add getEncoding()
8932
8933         * kbsequence.h:
8934         * kbsequence.C: do not store last keypress
8935
8936         * lyxfunc.h:
8937         * lyxfunc.C: store last keypress here instead. Pass encoding
8938           to getISOEncoded()
8939
8940 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8941
8942         * lyx_main.C (init): remove annoying error message when following
8943         symbolic links (bug #780)
8944
8945 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8946
8947         * text.C (insertChar):
8948         * lyxrc.C (getDescription): remove extra spaces
8949
8950 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8951
8952         * lyxrc.C (getDescription): remove extra spaces
8953
8954 2002-12-20  John Levon  <levon@movementarian.org>
8955
8956         * text3.C: hack fix for page up/down across tall rows
8957
8958 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8959
8960         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8961         not been invoked
8962
8963 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8964
8965         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8966         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8967         thesaurus is not compiled in
8968
8969 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8970
8971         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8972
8973 2002-12-16  Angus Leeming  <leeming@lyx.org>
8974
8975         * lyxrc.[Ch]:
8976         * lyx_main.C (init): remove override_x_deadkeys stuff.
8977
8978 2002-12-12  John Levon  <levon@movementarian.org>
8979
8980         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8981           insert. Only remove shift modifier under strict
8982           circumstances.
8983
8984 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8985
8986         * MenuBackend.C (expandToc): fix crash.
8987
8988 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * MenuBackend.C (expandToc): gettext on float names.
8991
8992 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8993
8994         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8995         implement bool empty() [bug 490]
8996
8997 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8998
8999         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9000
9001 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9002
9003         * several files: ws changes
9004
9005 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * text2.C (setCounter): clean up a bit, use boost.format.
9008         (updateCounters): initialize par upon declaration.
9009
9010         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9011         if the layout exists. We do not just store the layout any more.
9012         (SwitchLayoutsBetweenClasses): use boost.format
9013
9014 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9015
9016         * converter.C (convert): if from and to files are the same, use a
9017         temporary files as intermediary
9018
9019 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9020
9021         * commandtags.h:
9022         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9023
9024 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9025
9026         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9027
9028 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9029
9030         * tabular.C (asciiPrintCell): use string(size, char) instead of
9031         explicit loop.
9032
9033         * sgml.C (openTag): fix order of arguments to string constructor
9034         (closeTag): ditto
9035
9036         * lyxfunc.C (dispatch): use boost.format
9037
9038         * lots of files: change "c" -> 'c'
9039
9040 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9041
9042         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9043
9044 2002-11-25  Angus Leeming  <leeming@lyx.org>
9045
9046         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9047
9048         * lyx_main.C (init): compile fix.
9049
9050 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * lyx_cb.C (start): boost.formatify
9053         do not include <iostream>
9054
9055         * lengthcommon.C: ws only
9056
9057         * boost-inst.C,BoostFormat.h: add more explict instantations
9058
9059 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9060
9061         * lots of files: handle USE_BOOST_FORMAT
9062
9063 2002-11-21  John Levon  <levon@movementarian.org>
9064
9065         * pspell.C: fix compile
9066
9067 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9068
9069         * lyxfunc.C (dispatch): use boost::format
9070         (open): ditto
9071         (doImport): ditto
9072
9073         * lyxfont.C (stateText): use boost::format
9074
9075         * lyx_main.C (LyX): use boost::format
9076         (init): ditto
9077         (queryUserLyXDir): ditto
9078         (readRcFile): ditto
9079         (parse_dbg): ditto
9080         (typedef boost::function): use the recommened syntax.
9081
9082         * importer.C (Import): use boost::format
9083
9084         * debug.C (showLevel): use boost::format
9085
9086         * converter.C (view): use boost::format
9087         (convert): ditto
9088         (move): ditto
9089         (scanLog): ditto
9090
9091         * bufferview_funcs.C (currentState): use boost::format
9092
9093         * bufferlist.C (emergencyWrite): use boost::format
9094
9095         * buffer.C (readLyXformat2): use boost::format
9096         (parseSingleLyXformat2Token): ditto
9097
9098         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9099
9100         * LaTeX.C (run): use boost::format
9101
9102         * Chktex.C (scanLogFile): use boost::format
9103
9104         * BufferView_pimpl.C (savePosition): use boost::format
9105         (restorePosition): ditto
9106         (MenuInsertLyXFile): ditto
9107
9108         * BoostFormat.h: help file for explicit instation.
9109
9110 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9111
9112         * tabular.C (latex): Support for block alignment in fixed width
9113         columns.
9114
9115 2002-11-17  John Levon  <levon@movementarian.org>
9116
9117         * BufferView_pimpl.C:
9118         * lyx_cb.C:
9119         * lyxfunc.C: split filedialog into open/save
9120
9121 2002-11-08  Juergen Vigna  <jug@sad.it>
9122
9123         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9124         by my last patch (hopefully).
9125
9126 2002-11-08  John Levon  <levon@movementarian.org>
9127
9128         * iterators.h:
9129         * iterators.C:
9130         * buffer.h:
9131         * buffer.C:
9132         * paragraph.h:
9133         * paragraph.C:
9134         * toc.h:
9135         * toc.C: ParConstIterator, and use it (from Lars)
9136
9137 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9138
9139         * lyxtextclass.[Ch]: revise and add doxygen comments
9140
9141 2002-11-07  John Levon  <levon@movementarian.org>
9142
9143         * text.C: fix progress value for spellchecker
9144
9145         * toc.C: fix navigate menu for insetwrap inside minipage
9146
9147         * paragraph_funcs.C: added FIXME for suspect code
9148
9149 2002-11-07  John Levon  <levon@movementarian.org>
9150
9151         * BufferView_pimpl.C: fix redrawing of insets
9152           on buffer switch
9153
9154 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9155
9156         * text2.C (updateCounters): fix bug 668
9157
9158 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9159
9160         * text3.C (dispatch): Do not make the buffer dirty when moving the
9161         cursor.
9162
9163 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * vc-backend.C: STRCONV
9166         (scanMaster): ditto
9167
9168         * text2.C (setCounter): STRCONV
9169
9170         * paragraph.C (asString): STRCONV
9171
9172         * lyxlength.C (asString): STRCONV
9173         (asLatexString): ditto
9174
9175         * lyxgluelength.C (asString): STRCONV
9176         (asLatexString): ditto
9177
9178         * lyxfunc.C (dispatch): STRCONV
9179         (open): ditto
9180
9181         * lyxfont.C (stateText): STRCONV
9182
9183         * importer.C (Import): STRCONV
9184
9185         * counters.C (labelItem): STRCONV
9186         (numberLabel): ditto
9187         (numberLabel): remove unused ostringstream o
9188
9189         * chset.C: STRCONV
9190         (loadFile): ditto
9191
9192         * bufferview_funcs.C (currentState): STRCONV
9193
9194         * buffer.C (readFile): STRCONV
9195         (asciiParagraph): ditto
9196         (makeLaTeXFile): ditto
9197
9198         * Spacing.C (writeEnvirBegin): STRCONV
9199
9200         * LaTeXFeatures.C (getLanguages): STRCONV
9201         (getPackages): ditto
9202         (getMacros): ditto
9203         (getBabelOptions): ditto
9204         (getTClassPreamble): ditto
9205         (getLyXSGMLEntities): ditto
9206         (getIncludedFiles): ditto
9207
9208         * LaTeX.C: STRCONV
9209         (run): ditto
9210         (scanAuxFile): ditto
9211         (deplog): ditto
9212
9213         * LString.h: add the STRCONV macros
9214
9215         * BufferView_pimpl.C (savePosition): STRCONV
9216         (restorePosition): ditto
9217         (MenuInsertLyXFile): ditto
9218
9219         * vc-backend.C (scanMaster): change from submatch[...] to
9220         submatch.str(...)
9221
9222         * funcrequest.C: include config.h
9223
9224         * factory.C: include config.h
9225
9226         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9227
9228         * box.C: include config.h
9229
9230         * LaTeX.C (scanAuxFile): change from submatch[...] to
9231         submatch.str(...)
9232         (deplog): ditto
9233
9234 2002-10-25  Angus Leeming  <leeming@lyx.org>
9235
9236         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9237
9238         * ispell.[Ch] (setError): new method.
9239         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9240         Use setError() insetead of goto END.
9241
9242         * lyx_cb.C (AutoSave): move out child process into new class
9243         AutoSaveBuffer.
9244
9245 2002-10-30  John Levon  <levon@movementarian.org>
9246
9247         * text3.C: make start appendix undoable
9248
9249 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9250
9251         * lyxlength.C (inPixels): Fix returned value.
9252
9253         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9254         environment.
9255
9256 2002-10-24  Angus Leeming  <leeming@lyx.org>
9257
9258         * lyxgluelength.h: no need to forward declare BufferParams
9259         or BufferView, so don't.
9260
9261 2002-10-21  John Levon  <levon@movementarian.org>
9262
9263         * BufferView.C: menuUndo ->undo, redo
9264
9265         * BufferView.h: document, remove dead, make some methods private
9266
9267         * paragraph_funcs.h:
9268         * paragraph_funcs.C:
9269         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9270
9271         * buffer.h:
9272         * buffer.C:
9273         * sgml.h:
9274         * sgml.C: move sgml open/close tag into sgml.C
9275
9276         * bufferview_funcs.h: unused prototype
9277
9278         * lyxfunc.h:
9279         * lyxfunc.C: remove unused
9280
9281         * lyxtext.h:
9282         * text.C: remove unused
9283
9284 2002-10-21  John Levon  <levon@movementarian.org>
9285
9286         * BufferView.h:
9287         * BufferView.C:
9288         * BufferView_pimpl.h:
9289         * BufferView_pimpl.C: fix mouse wheel handling based on
9290           patch from Darren Freeman
9291
9292 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9293
9294         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9295
9296 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9297
9298         * lyxlength.C (inPixels): Fix hanfling of negative length.
9299         Fix LyXLength::MU case.
9300
9301 2002-10-16  John Levon  <levon@movementarian.org>
9302
9303         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9304
9305 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9306
9307         * converter.C (view): add support for $$i (file name) and $$p
9308         (file path) for the viewer command. If $$i is not specified, then
9309         it is appended to the command (for compatibility with old syntax)
9310
9311 2002-10-14  Juergen Vigna  <jug@sad.it>
9312
9313         * undo_funcs.C (textHandleUndo): alter the order in which the
9314         new undopar is added to the LyXText, as we have to set first
9315         the right prev/next and then add it as otherwise the rebuild of
9316         LyXText is not correct. Also reset the cursor to the right paragraph,
9317         with this IMO we could remove the hack in "redoParagraphs()".
9318
9319 2002-10-09  Angus Leeming  <leeming@lyx.org>
9320
9321         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9322         to turn off an optimisation if a new inset is to be inserted.
9323
9324 2002-10-11 André Pönitz <poenitz@gmx.net>
9325
9326         * lyxtext.h: make some functions public to allow access
9327         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9328
9329 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9330
9331         * text3.C (dispatch): when changing layout, avoid an infinite loop
9332         [bug #652]
9333
9334 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9335
9336         * lyxrc.C (read): treat a viewer or converter command of "none" as
9337         if it were empty.
9338
9339         * MenuBackend.C (expandFormats): for an update, also allow the
9340         formats that are not viewable
9341
9342         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9343         script if it is newer than the lyxrc.defaults in user directory
9344
9345 2002-10-07 André Pönitz <poenitz@gmx.net>
9346
9347         * text.C: Vitaly Lipatov's small i18n fix
9348
9349 2002-09-25  Angus Leeming  <leeming@lyx.org>
9350
9351         * ispell.h: doxygen fix.
9352
9353 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9354
9355         * buffer.h (readFile): Add a new argument to the method, to allow
9356         reading of old-format templates.
9357
9358 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * toc.C (getTocList): Get TOC from InsetWrap.
9361
9362 2002-09-16  John Levon  <levon@movementarian.org>
9363
9364         * lyxfunc.C: check tabular for cut/copy too
9365
9366 2002-09-12  John Levon  <levon@movementarian.org>
9367
9368         * LyXAction.C: tidy
9369
9370         * factory.h:
9371         * factory.C: add header
9372
9373         * paragraph_funcs.h:
9374         * paragraph_funcs.C: cleanup
9375
9376 2002-09-11  John Levon  <levon@movementarian.org>
9377
9378         * PrinterParams.h: odd/even default to true
9379
9380 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9381
9382         * PrinterParams.h: update printer parameters for new xforms dialog
9383
9384 2002-09-11  Angus Leeming  <leeming@lyx.org>
9385
9386         * lyxserver.C (read_ready): re-write to make it more transparent
9387         and to make it work in coherent fashion under Tru64 Unix.
9388
9389 2002-09-11  André Pönitz <poenitz@gmx.net>
9390
9391         * commandtags.h:
9392         * LyXAction.C:
9393         * text3.C: implement LFUN_WORDSEL
9394
9395 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9396
9397         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9398         make floatlist_ a boost::shared_ptr<FloatList>
9399
9400         * lyxtextclass.C: include FloatList.h
9401         (LyXTextClass): initialize floatlist_
9402         (TextClassTags): add TC_NOFLOAT
9403         (Read): match "nofloat" to TC_NOFLOAT and use it.
9404         (readFloat): modify call to floatlist_
9405         (floats): ditto
9406         (floats): ditto
9407
9408         * FloatList.[Ch] (FloatList): remove commented out float
9409         initialization.
9410         (erase): new function
9411
9412 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9413
9414         * MenuBackend.C (expandToc): fix crash when there is no document
9415         open
9416
9417 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9418
9419         * many files: Add insetwrap.
9420
9421 2002-09-09  John Levon  <levon@movementarian.org>
9422
9423         * text2.C: remove confusing and awkward depth wraparound
9424
9425 2002-09-09  John Levon  <levon@movementarian.org>
9426
9427         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9428
9429         * buffer.h:
9430         * buffer.C: remove getIncludeonlyList()
9431
9432         * paragraph.C:
9433         * lyxfunc.C: remove headers
9434
9435 2002-09-09  Juergen Vigna  <jug@sad.it>
9436
9437         * text.C (getColumnNearX): fix form Michael this is most
9438         probably a cut&paste bug.
9439
9440 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9441
9442         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9443
9444         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9445         references, ws changes.
9446
9447         * text2.C (init): update counters after init
9448         (insertParagraph): no need to set counter on idividual paragraphs.
9449         (setCounter): access the counters object in the textclass object
9450         on in the buffer object.
9451         (updateCounters): ditto
9452
9453         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9454         shared_ptr<Counters> to avoid loading counters.h in all
9455         compilation units.
9456         (LyXTextClass): initialize ctrs_
9457         (TextClassTags): add TC_COUNTER, and ...
9458         (Read): use it here.
9459         (CounterTags): new tags
9460         (readCounter): new function
9461         (counters): new funtion
9462         (defaultLayoutName): return a const reference
9463
9464         * counters.C (Counters): remove contructor
9465         (newCounter): remove a couple of unneeded statements.
9466         (newCounter): simplify a bit.
9467         (numberLabel): some small formatting changes.
9468
9469         * buffer.[Ch]: remove all traces of counters, move the Counters
9470         object to the LyXTextClass.
9471
9472 2002-09-06  Alain Castera  <castera@in2p3.fr>
9473
9474         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9475         package to set the horizontal alignment on fixed width columns.
9476
9477         * lyx_sty.C:
9478         * lyx_sty.h: added tabularnewline macro def.
9479
9480         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9481
9482 2002-09-06  John Levon  <levon@movementarian.org>
9483
9484         * LyXAction.C: tooltips for sub/superscript
9485
9486         * MenuBackend.C: a bit more verbose
9487
9488         * lyxfunc.C: tiny clean
9489
9490         * undo_funcs.C: document undo_frozen
9491
9492 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9493
9494         * counters.C (Counters): add missing algorithm counter.
9495
9496         * text2.C (setCounter): lookup the counter with layouts latexname
9497         instead of by section number.
9498         (setCounter): use a hackish way to lookup the correct enum
9499         counter.
9500         a float name->type change
9501         reset enum couners with counter name directly instead of depth value.
9502
9503         * counters.C (Counters): remove the push_backs, change to use the
9504         float type not the float name.
9505         (labelItem): remove unused string, float name->type change
9506
9507         * counters.h: don't include vector, loose the enums and sects vectors
9508
9509 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9510
9511         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9512         (Read): add float->TC_FLOAT to textclassTags
9513         (Read): and handle it in the switch
9514         (readFloat): new function
9515
9516         * FloatList.C (FloatList): comment out the hardcoded float
9517         definitions.
9518
9519         * lyxlayout.h: ws change.
9520
9521 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9524
9525 2002-09-03  Angus Leeming  <leeming@lyx.org>
9526
9527         * BufferView_pimpl.h: qualified name is not allowed in member
9528         declaration: WorkArea & Pimpl::workarea() const;
9529
9530         * factory.C: added using std::endl directive.
9531
9532         * text3.C: added using std::find and std::vector directives.
9533
9534 2002-08-29  André Pönitz <poenitz@gmx.net>
9535
9536         * lyxtext.h:
9537         * text2.C: remove unused member number_of_rows
9538
9539         * Makefile.am:
9540         * BufferView2.C: remove file, move contents to...
9541         * BufferView.C: ... here
9542
9543         * BufferView_pimpl.C:
9544         * factory.C: move more inset creation to factory
9545
9546         * vspace.C: avoid direct usage of LyXText, ws changes
9547
9548         * BufferView.[Ch]:
9549                 don't provide direct access to WorkArea, use two simple
9550                 acessors haveSelction() and workHeight() instead
9551
9552
9553 2002-08-29  John Levon  <levon@movementarian.org>
9554
9555         * BufferView_pimpl.C (dispatch): do not continue when
9556           no buffer
9557
9558 2002-08-28  André Pönitz <poenitz@gmx.net>
9559
9560         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9561
9562         * BufferView.h:
9563         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9564
9565 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9566
9567         * buffer.C: increment LYX_FORMAT to 221
9568
9569         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9570         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9571
9572         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9573
9574         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9575
9576 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9577
9578         * factory.C (createInset): use LyXTextClass::floats
9579
9580         * MenuBackend.C (expandFloatListInsert):
9581         (expandFloatInsert):
9582         (expandToc):
9583
9584         * text2.C (setCounter):
9585
9586         * LaTeXFeatures.C (useFloat):
9587         (getFloatDefinitions):
9588
9589         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9590
9591         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9592         floatlist_, with accessor floats().
9593
9594         * FloatList.h: remove global FloatList
9595
9596 2002-08-26  André Pönitz <poenitz@gmx.net>
9597
9598         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9599
9600         * BufferView.h:
9601         * BufferView2.C:
9602         * BufferView_pimpl.C:
9603         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9604
9605 2002-08-25  John Levon  <levon@movementarian.org>
9606
9607         * LyXAction.C: fix margin note description
9608
9609 2002-08-24  John Levon  <levon@movementarian.org>
9610
9611         * buffer.C:
9612         * bufferlist.C:
9613         * bufferview_funcs.C:
9614         * lyxfont.C:
9615         * undo_funcs.C: cleanups
9616
9617         * lyxfunc.C: disable CUT/COPY when no selection
9618
9619 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9620
9621         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9622         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9623
9624         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9625         Add backward compatibility to "mono", "gray" and "no".
9626
9627 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9628
9629         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9630         (and file_format >= 200).
9631
9632 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9635
9636 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9637
9638         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9639
9640 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9641
9642         * BufferView_pimpl.C:
9643         * LyXAction.C:
9644         * buffer.C:
9645         * commandtags.h:
9646         * lyxfunc.C:
9647         * paragraph.[Ch]:
9648         * text2.C:
9649         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9650         inset and code to make it  work with the paragraph code. The inset
9651         can be anywhere in the paragraph, but will only do the expected
9652         thing in LaTeX if the layout file contains the parameter line
9653                         OptionalArgs    1
9654         (or more generally, a nonzero value) for that layout.
9655
9656 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9657
9658         * paragraph.h: remove the declaration of undefined counters class
9659         function.
9660
9661 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9662
9663         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9664         Dr. Richard Hawkins.
9665
9666 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * paragraph_funcs.h: remove some unneeded includes
9669
9670         * text.C (backspace): pasteParagraph now in global scipe
9671
9672         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9673         (pasteSelection): ditto
9674
9675         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9676         * paragraph_funcs.C (pasteParagraph): ... here
9677
9678 2002-08-20  André Pönitz <poenitz@gmx.net>
9679
9680         * commandtags.h: new LFUNs for swapping/copying table row/colums
9681
9682         * LyXAction.C:
9683         * lyxfunc.C: support for new lfuns
9684
9685 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9686
9687         * tabular.C:
9688         * buffer.[Ch]: remove NO_COMPABILITY stuff
9689
9690 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9691
9692         * boost.C (throw_exception): new file, with helper function for
9693         boost compiled without exceptions.
9694
9695         * paragraph.h:
9696         * lyxlength.C:
9697         * buffer.C:
9698         * ParameterStruct.h:
9699         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9700
9701         * bufferlist.C (emergencyWriteAll): use boost bind
9702
9703         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9704
9705         * text.C: include paragraph_funcs.h
9706         (breakParagraph): breakParagraph is now in global scope
9707
9708         * paragraph_funcs.[Ch]: new files
9709
9710         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9711         global scope
9712
9713         * buffer.C: include paragraph_funcs.h
9714         (insertStringAsLines): breakParagraph is now in global scope
9715
9716         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9717         paragraph_funcs.C
9718
9719         * CutAndPaste.C: include paragraph_funcs.h
9720         (cutSelection): breakParagraphConservative is now in global scope
9721         (pasteSelection): ditto
9722
9723         * buffer.h: declare oprator== and operator!= for
9724         Buffer::inset_iterator
9725
9726         * bufferlist.C (emergencyWrite): don't use fmt(...)
9727
9728         * text3.C: add using std::endl
9729
9730         * BufferView.C (moveCursorUpdate): remove default arg
9731
9732 2002-08-20  André Pönitz <poenitz@gmx.net>
9733
9734         * buffer.[Ch]: move inline functions to .C
9735
9736         * BufferView2.C:
9737         * BufferView_pimpl.C:
9738         * text.C:
9739         * buffer.[Ch]: use improved inset_iterator
9740
9741         * buffer.C:
9742         * paragraph.[Ch]: write one paragraph at a time
9743
9744 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9745
9746         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9747         style if style is not specified.
9748
9749 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * text2.C (setCounter): when searching for right label for a
9752         caption, make sure to recurse to parent insets (so that a caption
9753         in a minipage in a figure float works) (bug #568)
9754
9755 2002-08-20  André Pönitz <poenitz@gmx.net>
9756
9757         * text3.C: new file for LyXText::dispatch() and helpers
9758
9759         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9760
9761         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9762
9763 2002-08-19  André Pönitz <poenitz@gmx.net>
9764
9765         * lyxtext.h:
9766         * text.C: new LyXText::dispatch()
9767
9768         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9769
9770 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9771
9772         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9773
9774         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9775         Hebrew text.
9776
9777 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9778
9779         * Makefile.am: use $(variables) instead of @substitutions@
9780
9781 2002-08-15  André Pönitz <poenitz@gmx.net>
9782
9783         * lyxfunc.C:
9784         * BufferView_pimpl.C: streamlining mathed <-> outer world
9785         interaction
9786
9787         * commandtags.h:
9788         * LyXAction.C: remove unused LFUN_MATH
9789
9790 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9791
9792         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9793
9794 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9795
9796         * paragraph.C (Paragraph): reformat a bit
9797         (cutIntoMinibuffer): use builtin InsetList function instad of
9798         doing it manually.
9799         (getInset): ditto
9800
9801         * buffer.C: include boost/bind.hpp, add using std::for_each
9802         (writeFileAscii): use ParagraphList iterators
9803         (validate): use for_each for validate traversal of paragraphs
9804         (getBibkeyList): use ParagraphList iterators
9805         (resizeInsets): use for_each to resizeInsetsLyXText for all
9806         paragraphs.
9807         (getParFromID): use ParagraphList iterators
9808
9809         * BufferView2.C (lockInset): use paragraph list and iterators
9810
9811 2002-08-14  John Levon  <levon@movementarian.org>
9812
9813         * lyxserver.C: remove spurious xforms include
9814
9815 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9818
9819 2002-08-13  André Pönitz <poenitz@gmx.net>
9820
9821         * LyXAction.[Ch]:
9822         * lyxfunc.C: further cleaning
9823
9824 2002-08-13  André Pönitz <poenitz@gmx.net>
9825
9826         * funcrequest.h: new constructor
9827
9828         * funcrequest.C: move stuff here from .h
9829
9830         * Makefile.am:
9831         * BufferView_pimpl.C:
9832         * LyXAction.C:
9833         * toc.C:
9834         * lyxfunc.C: subsequent changes
9835
9836         * lyxfunc.h: new view() member function
9837
9838         * lyxfunc.C: subsequent changes
9839
9840 2002-08-13  Angus Leeming  <leeming@lyx.org>
9841
9842         * BufferView2.C:
9843         * BufferView_pimpl.C:
9844         * buffer.C:
9845         * converter.C:
9846         * importer.C:
9847         * lyxfunc.C:
9848         * lyxvc.C:
9849         * toc.C:
9850         * vc-backend.C:
9851         changes due to the changed LyXView interface that now returns references
9852         to member variables not pointers.
9853
9854 2002-08-13  Angus Leeming  <leeming@lyx.org>
9855
9856         * WordLangTuple (word, lang_code): return references to strings,
9857         not strings.
9858
9859         * BufferView.h:
9860         * SpellBase.h:
9861         * lyxtext.h: forward-declare WordLangTuple.
9862
9863         * BufferView2.C:
9864         * ispell.C:
9865         * pspell.C:
9866         * text.C: #include "WordLangTuple.h".
9867
9868         * lyxtext.h:
9869         * text.C: (selectNextWordToSpellcheck): constify return type.
9870
9871 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9872
9873         * buffer.C:
9874         * buffer.h:
9875         * lyxtext.h:
9876         * paragraph.C:
9877         * paragraph_pimpl.h:
9878         * text.C:
9879         * text2.C:
9880         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9881         suggested by Angus.
9882         Made updateCounter always count from start of buffer, and removed
9883         second argument (par).
9884         Reverted floats number display to '#'. Perhaps I'll try again when the
9885         code base is sanitized a bit.
9886
9887 2002-08-12  Angus Leeming  <leeming@lyx.org>
9888
9889         * buffer.[Ch] (getLabelList): constify.
9890
9891 2002-08-07  André Pönitz <poenitz@gmx.net>
9892
9893         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9894
9895         * funcrequest.h: extension to keep mouse (x,y) position
9896
9897 2002-08-12  Juergen Vigna  <jug@sad.it>
9898
9899         * BufferView2.C (insertErrors): forbid undo when inserting error
9900         insets.
9901
9902         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9903
9904 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * ParagraphList.[Ch]: new files
9907
9908         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9909
9910         * BufferView2.C (lockInset): ParagraphList changes
9911         * toc.C: ditto
9912         * text2.C: ditto
9913         * bufferlist.C: ditto
9914         * buffer.h: ditto
9915         * buffer.C: ditto
9916
9917 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9918
9919         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9920         unused class variable counter_,
9921
9922         * paragraph.[Ch] (getFirstCounter): delete unused function
9923
9924         * counters.C: include LAssert.h
9925         (reset): add a new function with no arg, change other version to
9926         not have def. arg and to not allow empty arg.
9927
9928         * text2.C (setCounter): remove empty arg from call to Counters::reset
9929
9930 2002-08-11  John Levon  <levon@movementarian.org>
9931
9932         * Makefile.am: add WordLangTuple.h
9933
9934 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9935
9936         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9937         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9938
9939         * insets/insettext.C: InsetList changes
9940
9941         * graphics/GraphicsSupport.C (operator()): InsetList changes
9942
9943         * toc.C (getTocList): InsetList changes
9944
9945         * paragraph_pimpl.[Ch]: InsetList changes
9946
9947         * paragraph.[Ch]: InsetList changes
9948
9949         * buffer.C (inset_iterator): InsetList changes
9950         (setParagraph): ditto
9951         * buffer.h (inset_iterator): ditto
9952         * iterators.C (operator++): ditto
9953         * iterators.h: ditto
9954
9955         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9956
9957         * InsetList.[Ch]: new files, most InsetList handling moved out of
9958         paragraph.C.
9959
9960         * BufferView2.C (removeAutoInsets): InsetList changes
9961         (lockInset): ditto
9962         (ChangeInsets): ditto
9963
9964 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9965
9966         * paragraph_pimpl.h (empty): new function
9967
9968         * paragraph.[Ch] (empty): new function
9969
9970         * other files: use the new Paragraph::empty function
9971
9972 2002-08-09  John Levon  <levon@movementarian.org>
9973
9974         * lyxtext.h: remove unused refresh_height
9975
9976 2002-08-09  John Levon  <levon@movementarian.org>
9977
9978         * Makefile.am:
9979         * sgml.h:
9980         * sgml.C:
9981         * buffer.C:
9982         * paragraph.h:
9983         * paragraph.C: move sgml char escaping out of paragraph
9984
9985         * paragraph.h:
9986         * paragraph.C: remove id setter
9987
9988         * buffer.C:
9989         * paragraph.C:
9990         * paragraph_pimpl.C: remove dead tex_code_break_column
9991
9992         * bufferview_funcs.C: small cleanup
9993
9994         * lyxfunc.C: remove dead proto
9995
9996         * lyxtext.h: make some stuff private. Remove some dead stuff.
9997
9998         * lyxgluelength.C: make as[LyX]String() readable
9999
10000 2002-08-08  John Levon  <levon@movementarian.org>
10001
10002         * LyXAction.h:
10003         * LyXAction.C:
10004         * MenuBackend.C:
10005         * ToolbarDefaults.C:
10006         * lyxfunc.C:
10007         * lyxrc.C:
10008         * toc.C: lyxaction cleanup
10009
10010 2002-08-08  John Levon  <levon@movementarian.org>
10011
10012         * BufferView2.C: small cleanup
10013
10014         * lyxfind.h:
10015         * lyxfind.C: move unnecessary header into the .C
10016
10017 2002-08-08  John Levon  <levon@movementarian.org>
10018
10019         * funcrequest.h: just tedious nonsense
10020
10021         * lyx_main.h:
10022         * lyx_main.C: cleanups
10023
10024         * buffer.C:
10025         * vspace.C: remove dead header lyx_main.h
10026
10027 2002-08-07  Angus Leeming  <leeming@lyx.org>
10028
10029         * Paragraph.[Ch]:
10030         * paragraph_pimpl.h:
10031         Forward declare class Counters in paragraph.h by moving the ctrs member
10032         variable into Paragraph::Pimpl.
10033         (counters): new method, returning a reference to pimpl_->ctrs.
10034
10035         * text2.C: ensuing changes.
10036
10037 2002-08-07  John Levon  <levon@movementarian.org>
10038
10039         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10040
10041         * BufferView_pimpl.C: announce X selection on double/triple
10042           click
10043
10044         * lyx_main.C: use correct bool in batch dispatch
10045
10046         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10047
10048 2002-08-07  André Pönitz <poenitz@gmx.net>
10049
10050         * funcrequest.h: new class to wrap a kb_action and its argument
10051
10052         * BufferView.[Ch]:
10053         * BufferView_pimpl[Ch]:
10054         * LaTeX.C:
10055         * LyXAction.[Ch]:
10056         * lyxfunc.[Ch]:
10057         * lyxrc.C: subsequent changes
10058
10059
10060 2002-08-07  John Levon  <levon@movementarian.org>
10061
10062         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10063           document options change.
10064
10065 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10066
10067         * counters.[Ch]
10068         * text2.C
10069         * paragraph.[Ch]
10070         * makefile.am: move counters functionality over from
10071         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10072
10073 2002-08-06  John Levon  <levon@movementarian.org>
10074
10075         * WordLangTuple.h: new file for word + language code tuple
10076
10077         * SpellBase.h:
10078         * pspell.h:
10079         * pspell.C:
10080         * ispell.h:
10081         * ispell.C:
10082         * lyxtext.h:
10083         * text.C:
10084         * text2.C:
10085         * BufferView.h:
10086         * BufferView2.C: use WordLangTuple
10087
10088         * layout.h:
10089         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10090
10091 2002-08-06  John Levon  <levon@movementarian.org>
10092
10093         * lyx_main.C: fix cmdline batch handling
10094
10095 2002-08-06  André Pönitz <poenitz@gmx.net>
10096
10097         * lyxrc.C: set default for show_banner to true
10098
10099 2002-08-06  John Levon  <levon@movementarian.org>
10100
10101         * pspell.C: fix a crash, and allow new aspell to work
10102
10103 2002-08-06  John Levon  <levon@movementarian.org>
10104
10105         * lyxfunc.C:
10106         * kbmap.C: small cleanup
10107
10108         * vspace.h:
10109         * vspace.C: add const
10110
10111 2002-08-05  John Levon  <levon@movementarian.org>
10112
10113         * LyXAction.C: back to tabular-insert
10114
10115 2002-08-04  John Levon  <levon@movementarian.org>
10116
10117         * BufferView.h:
10118         * BufferView.C: cosmetic change
10119
10120         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10121
10122         * bufferlist.C:
10123         * buffer.h:
10124         * buffer.C:
10125         * lyxcb.h:
10126         * lyxcb.C:
10127         * lyxserver.C:
10128         * lyxvc.C:
10129         * vc-backend.C:
10130         * BufferView2.C: purge all "Lyx" not "LyX" strings
10131
10132         * lyxcursor.h:
10133         * lyxcursor.C: attempt to add some documentation
10134
10135         * lyxfunc.C:
10136         * commandtags.h:
10137         * LyXAction.C:
10138         * ToolbarDefaults.C:
10139         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10140           merge with LFUN_TABULAR_INSERT
10141
10142         * Makefile.am:
10143         * SpellBase.h:
10144         * ispell.h:
10145         * ispell.C:
10146         * pspell.h:
10147         * pspell.C: split up i/pspell implementations into separate
10148           files, many cleanups
10149
10150         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10151
10152         * text2.C: some cleanup
10153
10154         * lyxfunc.C: don't check for isp_command == "none" any more, it
10155           didn't make any sense
10156
10157 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10158
10159         * counters.[Ch]
10160         * text2.C
10161         * paragraph.[Ch]
10162         * makefile.am: move counters functionality over
10163         from text2.C/paragraph.[Ch] to counters.[Ch], and
10164         make proper C++.
10165 2002-08-02  John Levon  <levon@movementarian.org>
10166
10167         * buffer.C: s/lyxconvert/lyx2lyx/
10168
10169 2002-08-02  Angus Leeming  <leeming@lyx.org>
10170
10171         * lyxlex.C: revert John's change as it breaks reading of the user
10172         preamble.
10173
10174 2002-08-02  Angus Leeming  <leeming@lyx.org>
10175
10176         * importer.C (Import):
10177         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10178         changes due to LyXView::view() now returning a boost::shared_ptr.
10179
10180 2002-08-02  John Levon  <levon@movementarian.org>
10181
10182         * lyxlex.C: small cleanup
10183
10184 2002-08-02  John Levon  <levon@movementarian.org>
10185
10186         * text2.C (status): small cleanup, no logic change
10187
10188 2002-08-01  John Levon  <levon@movementarian.org>
10189
10190         * buffer.h:
10191         * buffer.C (writeFile): don't output alerts, caller
10192           handles this
10193
10194         * bufferlist.C:
10195         * lyx_cb.C: from above
10196
10197         * lyxfunc.C: allow to open non-existent files
10198
10199 2002-07-31  John Levon  <levon@movementarian.org>
10200
10201         * lyxserver.C: don't let incidental errors get
10202           in the way (errno)
10203
10204 2002-07-30  John Levon  <levon@movementarian.org>
10205
10206         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10207
10208 2002-07-30  John Levon  <levon@movementarian.org>
10209
10210         * lyxserver.h:
10211         * lyxserver.C: remove I/O callback too
10212
10213 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10216         log.
10217
10218 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10219
10220         * many files: strip,frontStrip -> trim,ltrim,rtrim
10221
10222 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * PrinterParams.h: remove extern containsOnly, and include
10225         support/lstrings.h instead.
10226
10227         * LaTeX.C (scanAuxFile): modify because of strip changes
10228         (deplog): ditto
10229         * buffer.C (makeLaTeXFile): ditto
10230         * bufferparams.C (writeFile): ditt
10231         * lyxfont.C (stateText): ditto
10232         * lyxserver.C (read_ready): ditto
10233         * vc-backend.C (scanMaster): ditto
10234
10235         * BufferView_pimpl.h: ws changes
10236
10237         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10238
10239 2002-07-26  André Pönitz <poenitz@gmx.net>
10240
10241         * kb_sequence.C: remove unnedred usings
10242
10243 2002-07-26  Juergen Vigna  <jug@sad.it>
10244
10245         * lyxfind.C (LyXReplace): we have to check better if the returned
10246         text is not of theLockingInset()->getLockingInset().
10247
10248 2002-07-25  Juergen Vigna  <jug@sad.it>
10249
10250         * lyxfind.C (LyXReplace): don't replace if we don't get the
10251         right LyXText.
10252
10253         * undo_funcs.C (createUndo): remove debugging code.
10254
10255 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * buffer.C (parseSingleLyXformat2Token): Use default placement
10258         when reading old floats.
10259
10260         * FloatList.C (FloatList): Change the default placement of figure
10261         and tables to "tbp".
10262
10263 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * MenuBackend.C: using std::max
10266
10267 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * MenuBackend.C (expandToc):
10270         (expandToc2): code moved from xforms menu frontend. It is now
10271         generic and TOCs are transparent to menu frontends.
10272
10273 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * toc.C (getTocList): protect against buf=0
10276
10277         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10278         Menu as first parameter. Now, this calls itself recursively to
10279         expand a whole tree (this will be useful for TOC handling)
10280         (expandFloatInsert): remove 'wide' version of floats
10281
10282         * MenuBackend.h (submenuname): returns the name of the submenu.
10283         (submenu): returns the submenu itself, provided it has been
10284         created by MenuBackend::expand
10285
10286 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10289         insets which have noFontChange == true. (bug #172)
10290
10291 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * BufferView_pimpl.C: add connection objects and use them...
10294         (Pimpl): here.
10295
10296 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * MenuBackend.C (expandLastfiles):
10299         (expandDocuments):
10300         (expandFormats):
10301         (expandFloatListInsert):
10302         (expandFloatInsert):
10303         (expand): split expand in parts
10304
10305 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * lyx_gui.C: use lyx_gui::exit()
10308
10309 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * LyXAction.C: show the failing pseudo action
10312
10313 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * buffer.C (readFile): Run the lyxconvert script in order to read
10316         old files.
10317
10318 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * LyXAction.C:
10321         * commandtags.h:
10322         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10323
10324 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * LyXAction.C:
10327         * commandtags.h:
10328         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10329
10330 2002-07-22  Herbert Voss  <voss@lyx.org>
10331
10332         * lengthcommon.C:
10333         * lyxlength.[Ch]: add support for the vertical lengths
10334
10335 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10336
10337         * toc.[Ch]: std:: fixes
10338
10339 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * lyxrc.C: do not include lyx_main.h
10342
10343         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10344         for layouts
10345
10346         * lyxrc.C:
10347         * encoding.C:
10348         * bufferlist.C:
10349         * BufferView2.C: include "lyxlex.h"
10350
10351         * tabular.h:
10352         * bufferparams.h: do not #include "lyxlex.h"
10353
10354         * lyxtextclasslist.C (Add): remove method
10355         (classlist): renamed to classlist_
10356
10357         * paragraph_pimpl.C:
10358         * paragraph.C:
10359         * text2.C:
10360         * CutAndPaste.C:
10361         * bufferview_funcs.C:
10362         * bufferlist.C:
10363         * text.C:
10364         * LaTeXFeatures.C:
10365         * buffer.C:
10366         * toc.C (getTocList): use BufferParams::getLyXTextClass
10367
10368         * toc.C (getTocList): use InsetFloat::addToToc
10369
10370         * toc.[Ch]: new files, containing helper functions to handle table
10371         of contents
10372
10373         * lyxfunc.C (dispatch): no need to remove spaces around command
10374         given as a string
10375         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10376         first command of the sequence; it is not very clever, but I do not
10377         have a better idea, actually
10378
10379         * LyXAction.C (LookupFunc): make sure to remove space at the
10380         beginning and end of the command
10381
10382 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * MenuBackend.C (getMenubar): new method: return the menubar of
10385         this menu set
10386         (read): treat differently reading of menu and menubar (in
10387         particular, the menubar has no name now)
10388         (Menu::menubar): remove
10389
10390         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10391         saving is finished
10392
10393 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10394
10395         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10396         a bibitem inset in a RTL paragraph.
10397
10398 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * paragraph_pimpl.C: constify
10401
10402         * BufferView_pimpl.C:
10403         * LaTeX.C:
10404         * lyxfunc.C: fix dispatch in a nicer way
10405
10406 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * lyxfunc.C (dispatch):
10409         * BufferView_pimpl.C:
10410         * BufferView_pimpl.h:
10411         * BufferView.C:
10412         * BufferView.h: rename Dispatch() to dispatch()
10413
10414         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10415
10416         * lyxlayout.C (Read): honor DependsOn tag
10417
10418         * lyxlayout.[Ch] (depends_on): new method
10419
10420         * version.C.in: update lyx_docversion
10421
10422         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10423
10424         * paragraph.C (validate): remove from here...
10425         * paragraph_pimpl.C (validate): ... and move here
10426         (isTextAt): make it const
10427
10428         * buffer.C (getLists): ws cleanup
10429
10430 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10431
10432         * language.C (read): Use iso8859-1 encoding in latex_lang
10433         (this prevents LyX from crashing when using iso10646-1 encoding).
10434
10435 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * text2.C (toggleInset): if cursor is inside an inset, close the
10438         inset and leave cursor _after_ it
10439
10440 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * lyxfunc.C: move minibuffer completion handling out of here
10443
10444 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * BufferView_pimpl.C:
10447         * LaTeX.C: fix dispatch calls
10448
10449 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10450
10451         * text.C (drawChars): Fix Arabic text rendering.
10452
10453 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * LyXAction.C:
10456         * commandtags.h:
10457         * lyxfunc.C: remove message-push/pop
10458
10459         * lyxserver.C:
10460         * lyxfunc.h:
10461         * lyxfunc.C: rationalise some code by removing verboseDispatch
10462           in favour of a bool argument to dispatch()
10463
10464 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * lyx_main.C (init): make sure to read symlinks as absolute paths
10467
10468 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * lyxfunc.h:
10471         * lyxfunc.C: no need for commandshortcut to be a member
10472
10473 2002-07-15  André Pönitz <poenitz@gmx.net>
10474
10475         * converter.C: add support for $$s (scripts from lib/scripts dir)
10476         * lyx_main.C: white space
10477
10478 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * bufferlist.C:
10481         * lyxrc.h:
10482         * lyxrc.C: remove second exit confirmation
10483
10484 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * BufferView.h:
10487         * BufferView.C:
10488         * BufferView2.C:
10489         * BufferView_pimpl.h:
10490         * BufferView_pimpl.C:
10491         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10492
10493 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * MenuBackend.C (expand): add numeric shortcuts to document menu
10496
10497         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10498
10499 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10500
10501         * lyxfont.C (setLyXFamily):
10502         (setLyXSeries):
10503         (setLyXShape):
10504         (setLyXSize):
10505         (setLyXMisc):
10506         (lyxRead):
10507         * debug.C (value):
10508         * buffer.C (asciiParagraph): use ascii_lowercase
10509
10510 2002-07-15  Mike Fabian  <mfabian@suse.de>
10511
10512         * lyxlex_pimpl.C (search_kw):
10513         * lyxlex.C (getLongString):
10514         * converter.h (operator<):
10515         * converter.C (operator<):
10516         * buffer.C (parseSingleLyXformat2Token):
10517         (asciiParagraph):
10518         * ToolbarDefaults.C (read):
10519         * MenuBackend.C (checkShortcuts):
10520         (read):
10521         * LColor.C (getFromGUIName):
10522         (getFromLyXName): use the compare_ascii_no_case instead of
10523         compare_no_case, because in turkish, 'i' is not the lowercase
10524         version of 'I', and thus turkish locale breaks parsing of tags.
10525
10526 2002-07-16  Angus Leeming  <leeming@lyx.org>
10527
10528         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10529         now takes a Buffer const & argument.
10530
10531 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * BufferView.C (resize): check there's a buffer to resize
10534
10535 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * lyxfunc.C: remove dead code
10538
10539         * lyxserver.h:
10540         * lyxserver.C: use lyx_guii::set_read_callback
10541
10542 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10545         an inset in a RTL paragraph.
10546
10547 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * lyxfunc.C: repaint after a font size update
10550
10551 2002-07-15  André Pönitz <poenitz@gmx.net>
10552
10553         * lyxlength.C: inBP should be able to return negative values
10554
10555 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * lyxfunc.C: use lyx_gui::update_fonts()
10558
10559 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * lyxfunc.C: use lyx_gui::update_color()
10562
10563 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * bufferlist.C:
10566         * lyxfunc.h:
10567         * lyxfunc.C:
10568         * lyxrc.h:
10569         * lyxrc.C: remove file->new asks for name option, and let
10570           buffer-new take an argument
10571
10572 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * BufferView_pimpl.C: remove unneeded extra repaint()
10575
10576 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * LyXAction.C: allow command-sequence with NoBuffer
10579
10580         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10581
10582 2002-07-10  Angus Leeming  <leeming@lyx.org>
10583
10584         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10585
10586 2002-07-09  Angus Leeming  <leeming@lyx.org>
10587
10588         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10589
10590 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * lengthcommon.h: whitespace
10593
10594         * lyxfunc.C: update scrollbar after goto paragraph
10595
10596         * lyxtext.h: factor out page break drawing, and fix it so
10597           page break/added space paints as selected nicely
10598
10599 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * BufferView_pimpl.C: add FIXMEs, clean up a little
10602
10603 2002-07-09  André Pönitz <poenitz@gmx.net>
10604
10605         * lyxfont.[Ch]: support for wasy symbols
10606
10607 2002-07-08  André Pönitz <poenitz@gmx.net>
10608
10609         * BufferView_pimpl.C: apply John's patch for #93.
10610
10611 2002-07-05  Angus Leeming  <leeming@lyx.org>
10612
10613         * BufferView_pimpl.C (buffer): generate previews if desired.
10614
10615         * LColor.h: add "preview" to the color enum.
10616
10617         * LColor.C (LColor): add a corresponding entry to the items array.
10618
10619         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10620         with this buffer.
10621
10622 2002-07-05  Angus Leeming  <leeming@lyx.org>
10623
10624         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10625         The body of the code is now in the method that is passed an ostream &
10626         rather than a file name.
10627         Pass an additional only_preamble parameter, useful for the forthcoming
10628         preview stuff.
10629
10630 2002-07-03  André Pönitz <poenitz@gmx.net>
10631
10632         * lyxfunc.C: simplify getStatus() a bit for math stuff
10633
10634 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10635
10636         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10637
10638 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10639
10640         * text.C (changeRegionCase): do not change case of all the
10641         document when region ends at paragraph end (bug #461)
10642
10643 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * paragraph.C (startTeXParParams):
10646         (endTeXParParams): add \protect when necessary
10647
10648 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * BufferView_pimpl.C (workAreaExpose): remove warning
10651
10652 2002-06-27  Angus Leeming  <leeming@lyx.org>
10653
10654         * Makefile.am: add lyxlayout_ptr_fwd.h.
10655
10656 2002-06-26  André Pönitz <poenitz@gmx.net>
10657
10658         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10659
10660 2002-06-25  Angus Leeming  <leeming@lyx.org>
10661
10662         * lyxfunc.C (dispatch): Comment out the call to
10663         grfx::GCache::changeDisplay. The method no longer exists now that the
10664         pixmap generation part of the graphics loader has been moved into
10665         InsetGraphics.
10666
10667 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * text2.C: layout as layout
10670
10671         * text.C: layout as layout
10672
10673         * tabular.C (OldFormatRead): layout as layout
10674
10675         * paragraph_pimpl.C (TeXDeeper): layout as layout
10676         (realizeFont): layout as layout
10677
10678         * paragraph.C (writeFile): layout as layout
10679         (validate): layout as layout
10680         (getFont): layout as layout
10681         (getLabelFont): layout as layout
10682         (getLayoutFont): layout as layout
10683         (breakParagraph): layout as layout
10684         (stripLeadingSpaces): layout as layout
10685         (getEndLabel): layout as layout
10686         (getMaxDepthAfter): layout as layout
10687         (applyLayout): layout as layout
10688         (TeXOnePar): layout as layout
10689         (simpleTeXOnePar): layout as layout
10690         (TeXEnvironment): layout as layout
10691         (layout): layout as layout
10692         (layout): layout as layout
10693
10694         * lyxtextclass.C (compare_name): new functor to work with
10695         shared_ptr, layout as layout
10696         (Read): layout as layout
10697         (hasLayout): layout as layout
10698         (operator): layout as layout
10699         (delete_layout): layout as layout
10700         (defaultLayout): layout as layout
10701
10702         * lyxlayout_ptr_fwd.h: new file
10703
10704         * lyxlayout.C (Read): layout as layout
10705
10706         * lyx_cb.C (MenuInsertLabel): layout as layout
10707
10708         * bufferlist.C (newFile): layout as layout
10709
10710         * buffer.C (readLyXformat2): layout as layout
10711         (parseSingleLyXformat2Token): layout as layout
10712         (insertStringAsLines): layout as layout
10713         (asciiParagraph): layout as layout
10714         (latexParagraphs): layout as layout
10715         (makeLinuxDocFile): layout as layout
10716         (simpleLinuxDocOnePar): layout as layout
10717         (makeDocBookFile): layout as layout
10718         (simpleDocBookOnePar): layout as layout
10719         (getLists): layout as layout
10720
10721         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10722
10723         * CutAndPaste.C (cutSelection): layout as layout
10724         (pasteSelection): layout as layout
10725         (SwitchLayoutsBetweenClasses): layout as layout
10726
10727         * BufferView_pimpl.C (Dispatch): layout as layout
10728         (smartQuote): layout as layout
10729
10730         * BufferView2.C (unlockInset): layout as layout
10731
10732 2002-06-24  André Pönitz <poenitz@gmx.net>
10733
10734         * lyxfunc.C: fix #487
10735
10736 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * lyxrc.h:
10739         * lyxrc.C:
10740         * lyxfunc.C: remove display_shortcuts, show_banner
10741
10742 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * Buffer_pimpl.C: oops, update on resize
10745
10746 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10747
10748         * buffer.C:
10749         * converter.C:
10750         * exporter.C:
10751         * lyxfunc.C:
10752         * BufferView.h:
10753         * BufferView.C: use repaint()
10754
10755         * BufferView_pimpl.h:
10756         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10757           as it's a clearer description. Remove superfluous
10758           redraws.
10759
10760 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * text.C: fix bug 488. Not ideal, but getting
10763           getWord() to work properly for the insets that
10764           matter is more difficult ...
10765
10766 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * BufferView_pimpl.C:
10769         * LyXAction.C:
10770         * commandtags.h:
10771         * lyxfunc.C: remove the six million index lyxfuncs to just
10772           one, and DTRT (bug 458)
10773
10774 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * BufferView.h:
10777         * BufferView.C:
10778         * BufferView_pimpl.h:
10779         * BufferView_pimpl.C: clean up resize() stuff,
10780           and unnecessary updateScreen()s
10781
10782 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * BufferView.h:
10785         * BufferView.C:
10786         * BufferView_pimpl.h:
10787         * BufferView_pimpl.C:
10788         * lyxfind.h:
10789         * lyxfind.C:
10790         * minibuffer.C: remove focus management of workarea,
10791           not needed. Use screen's greyOut()
10792
10793 2002-06-17  Herbert Voss  <voss@lyx.org>
10794
10795         * converter.C: (convert) do not post a message, when converting
10796         fails, let the calling function decide what to do in this case
10797
10798 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * lyxfunc.C: tidy up a little
10801
10802 2002-06-16    <alstrup@diku.dk>
10803
10804         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10805         Got rid of FORMS_H_LOCATION include. Now we are
10806         GUII.
10807
10808 2002-06-15  LyX Development team  <lyx@rilke>
10809
10810         * buffer.[Ch] (sgmlOpenTag):
10811         (sgmlCloseTag): Added support for avoiding pernicious mixed
10812         content. Return number of lines written.
10813
10814         (makeLinuxDocFile):
10815         (makeDocBookFile): Fixed calls to sgml*Tag.
10816         Simple white space clean.
10817
10818         (simpleDocBookOnePar): Simple white space clean.
10819
10820         * tabular.[Ch] (docBook): Renamed to docbook and got another
10821         argument to related with the pernicious mixed content.
10822
10823         (docbookRow): Fixed calls for docbook inset method.
10824
10825 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10826
10827         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10828         so it's X11 independent.
10829
10830         * kb*.[Ch]: ditto.
10831
10832         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10833
10834 2002-06-15  Lyx Development team  <lyx@electronia>
10835
10836         * intl.h: Renamed getTrans to getTransManager.
10837
10838 2002-06-14  Angus Leeming  <leeming@lyx.org>
10839
10840         * Makefile.am: nuke forgotten stl_string_fwd.h.
10841
10842 2002-06-12  Angus Leeming  <leeming@lyx.org>
10843
10844         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10845
10846 2002-06-13  Angus Leeming  <leeming@lyx.org>
10847
10848         * LaTeX.C:
10849         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10850
10851 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10852
10853         * kbmap.C (getiso): add support for cyrillic and greek
10854
10855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * BufferView.h:
10858         * BufferView.C:
10859         * BufferView_pimpl.h:
10860         * BufferView_pimpl.C: move bogus scrolling logic
10861           to xforms
10862
10863 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * lyxfunc.C:
10866         * BufferView_pimpl.C: view->resize() change
10867
10868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * BufferView_pimpl.C: topCursorVisible
10871           prototype change
10872
10873 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * Makefile.am:
10876         * lyx_gui.h:
10877         * lyx_gui.C: move to frontends/
10878
10879         * main.C:
10880         * lyx_main.h:
10881         * lyx_main.C: changes from above
10882
10883 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * intl.C:
10886         * intl.h:
10887         * kbmap.C:
10888         * kbsequence.C:
10889         * lyx_cb.C:
10890         * lyx_main.C: minor tidy
10891
10892 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * BufferView_pimpl.h:
10895         * BufferView_pimpl.C:
10896         * BufferView.h:
10897         * BufferView.C: make painter() const,
10898           remove dead code
10899
10900         * BufferView2.C: use screen() accessor
10901
10902         * lyx_main.h:
10903         * lyx_main.C: some minor cleanup
10904
10905 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * BufferView_pimpl.h:
10908         * BufferView_pimpl.C: remove enter/leaveView,
10909           use workHeight()
10910
10911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView.h:
10914         * BufferView.C:
10915         * BufferView2.C:
10916         * BufferView_pimpl.h:
10917         * BufferView_pimpl.C: only construct screen once,
10918           rename
10919
10920         * lyxrc.C: remove pointless comment
10921
10922 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * BufferView.h:
10925         * BufferView.C: remove active() and belowMouse()
10926
10927         * BufferView_pimpl.h:
10928         * BufferView_pimpl.C: use workarea() not workarea_,
10929           and make it use a scoped_ptr instead
10930
10931 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * lyx_gui.C: add debug message on BadWindow
10934
10935 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10936
10937         * sp_spell.C: fdopen is not part of the C++ standard.
10938
10939         * paragraph.C (InsetIterator): use >= instead of ==
10940
10941 2002-06-07  Angus Leeming  <leeming@lyx.org>
10942
10943         Fixes needed to compile with Compaq cxx 6.5.
10944         * BufferView_pimpl.C:
10945         * DepTable.C:
10946         * buffer.C:
10947         * converter.C:
10948         * encoding.C:
10949         * lyx_gui.C:
10950         * lyx_main.C:
10951         * lyxtextclasslist.C:
10952         * minibuffer.C:
10953         * sp_spell.C:
10954         * tabular_funcs.C:
10955         * vc-backend.C:
10956         all c-library variables have been moved into namespace std. Wrap
10957         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10958
10959         * lyxlength.C:
10960         * tabular-old.C:
10961         * tabular.C:
10962         Add a using std::abs declaration.
10963
10964         * kbmap.h (modifier_pair):
10965         * paragraph.h (InsetTable, InsetList):
10966         * lyxfont.h (FontBits):
10967         type definition made public.
10968
10969         * bufferlist.C (emergencyWriteAll): the compiler complains that
10970         there is more than one possible lyx::class_fun template to choose from.
10971         I re-named the void specialisation as lyx::void_class_fun.
10972
10973         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10974
10975         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10976         the compiler is is unable to find tostr in write_attribute.
10977
10978 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10979
10980         * buffer.C (sgmlError): hide #warning
10981
10982 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * xtl/*: get rid of xtl, which is not in use anyway
10985
10986         * LyXAction.C (init):
10987         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10988         were unimplemented xtl experimentation
10989
10990 2002-06-04  André Pönitz <poenitz@gmx.net>
10991
10992         * lyxfunc.C: disable array operation on simple formulae
10993
10994 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * converter.C: constify a bit
10997
10998 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * lyx_gui.C: check xforms version correctly
11001
11002 2002-04-30  Herbert Voss  <voss@lyx.org>
11003
11004         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11005         "keep" option
11006
11007 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11010           attempt to register it with a VCS)
11011
11012 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * lyx_main.C (init): honor variables LYX_DIR_13x and
11015         LYX_USERDIR_13x
11016
11017 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * buffer.h:
11020         * buffer.C:
11021         * lyx_main.C: fix a crash on bad command line,
11022           and give a useful exit status on error
11023
11024         * lyxfunc.C (doImport): allow -i lyx to work
11025
11026 2002-03-30  André Pönitz <poenitz@gmx.net>
11027
11028         * lyxfunc.C: mathed font changes
11029
11030 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * LaTeX.C:
11033         * importer.h:
11034         * importer.C:
11035         * lyx_sty.h:
11036         * lyx_sty.C:
11037         * lyxlex.C:
11038         * lyxrow.h:
11039         * lyxtext.h:
11040         * paragraph.h:
11041         * paragraph.C:
11042         * texrow.h:
11043         * texrow.C:
11044         * text.C:
11045         * trans_mgr.h: srcdocs, and some minor cleanups
11046
11047 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11048
11049         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11050         call getFont all the time)
11051
11052 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11053
11054         * switch from SigC signals to boost::signals
11055
11056 2002-05-29  André Pönitz <poenitz@gmx.net>
11057
11058         * paragraph_pimpl.C (getChar): don't call size() too often...
11059
11060 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11061
11062         * paragraph_pimpl.C (insertChar): do not try to update tables when
11063         appending (pos == size())
11064
11065         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11066         in order to reduce drastically the number of comparisons needed to
11067         parse a large document
11068
11069 2002-05-29  André Pönitz <poenitz@gmx.net>
11070
11071         * text.C:
11072         * text2.C:
11073         * lyxtextclass.C:
11074         * sp_pspell.h:
11075         * textclasslist.[Ch]:
11076         * sp_ispell.h: whitespace change
11077
11078 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11081         lyxaction directly now.
11082
11083 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * trans.C:
11086         * lyxfont.C:
11087         * lyxvc.C: remove unused headers
11088
11089 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * Makefile.am:
11092         * buffer.h:
11093         * undostack.h:
11094         * undostack.C:
11095         * undo_funcs.h:
11096         * undo_funcs.C: some cleanups. Use shared_ptr
11097           and a template for the undo stacks.
11098
11099 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * BufferView_pimpl.h:
11102         * BufferView_pimpl.C:
11103         * kbmap.h:
11104         * kbmap.C:
11105         * kbsequence.h:
11106         * kbsequence.C:
11107         * lyxfunc.h:
11108         * lyxfunc.C:
11109         * text2.C: use key_state/mouse_state
11110
11111 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11114         and LSubstring
11115
11116         * chset.C: change include order
11117         (loadFile): use boost regex and get rid of LRegex and LSubstring
11118
11119         * Makefile.am (BOOST_LIBS): new variable
11120         (lyx_LDADD): use it
11121
11122         * LaTeX.C: change include order.
11123         (scanAuxFile): use boost regex and get rid of LRegex and
11124         LSubstring
11125         (deplog): ditto
11126
11127 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * ColorHandler.h:
11130         * ColorHandler.C:
11131         * FontInfo.h:
11132         * FontInfo.C: moved to frontends/xforms/
11133
11134         * FontLoader.h:
11135         * FontLoader.C: moved into frontends for GUIIzation
11136
11137         * Makefile.am:
11138         * lyx_gui.C:
11139         * lyxfont.C:
11140         * lyxfunc.C: changes from above
11141
11142 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * LColor.C: remove spurious X include
11145
11146         * BufferView_pimpl.C:
11147         * Makefile.am:
11148         * font.h:
11149         * font.C:
11150         * text.C:
11151         * text2.C: move font metrics to frontends/
11152
11153 2002-05-24  Juergen Vigna  <jug@sad.it>
11154
11155         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11156         setting the undo_cursor.
11157
11158         * ParagraphParameters.h: include local includes first.
11159
11160 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * BufferView_pimpl.C:
11163         * BufferView_pimpl.h:
11164         * Makefile.am:
11165         * WorkArea.h:
11166         * WorkArea.C:
11167         * screen.C: move WorkArea into frontends/
11168
11169         * lyxscreen.h:
11170         * screen.C:
11171         * text.C:
11172         * BufferView.C:
11173         * BufferView2.C: move LyXScreen into frontends/
11174
11175         * lyxlookup.h:
11176         * lyxlookup.C:
11177         * lyx_gui.C: move lyxlookup into frontends/xforms/
11178
11179 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * BufferView2.C:
11182         * BufferView_pimpl.C:
11183         * FontLoader.C:
11184         * LyXView.h:
11185         * LyXView.C:
11186         * Makefile.am:
11187         * WorkArea.C:
11188         * XFormsView.h:
11189         * XFormsView.C:
11190         * buffer.C:
11191         * bufferlist.C:
11192         * bufferview_funcs.C:
11193         * converter.C:
11194         * importer.C:
11195         * lyx_cb.C:
11196         * lyx_gui.C:
11197         * lyx_main.C:
11198         * lyx_find.C:
11199         * lyxfunc.C:
11200         * lyxvc.C:
11201         * minibuffer.C:
11202         * text.C:
11203         * text2.C:
11204         * trans.C:
11205         * vc-backend.C: move LyX/XFormsView into frontends/
11206
11207 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * Makefile.am:
11210         * PainterBase.C:
11211         * PainterBase.h:
11212         * Painter.C:
11213         * Painter.h:
11214         * WorkArea.C:
11215         * WorkArea.h:
11216         * screen.C:
11217         * tabular.C:
11218         * text.C:
11219         * text2.C: move Painter to frontends/
11220
11221 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * buffer.C: comment out some some code that depend upon lyx_format
11224         < 220
11225
11226         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11227         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11228
11229         * buffer.h (NO_COMPABILITY): turn off compability
11230
11231         * ColorHandler.C: include scoped_array.hpp
11232
11233         * font.C: Use more specific smart_ptr header.
11234         * Painter.C: ditto
11235         * gettext.C: ditto
11236         * ShareContainer.h: ditto
11237         * lyx_main.h: ditto
11238         * kbmap.h: ditto
11239         * FontInfo.h: ditto
11240         * BufferView_pimpl.h: ditto
11241         * ColorHandler.h: ditto
11242
11243         * kbmap.C (defkey): change call to shared_ptr::reset
11244
11245 2002-05-21  Juergen Vigna  <jug@sad.it>
11246
11247         * buffer.C (insertErtContents): fix to insert ert asis if it is
11248         non empty. Skip it completely if it contains only whitespaces.
11249
11250 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * BufferView_pimpl.C:
11253         * BufferView2.C: clear selection on paste (bug 393)
11254
11255 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * DepTable.C: include ctime
11258
11259 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11262
11263 2002-05-14  Juergen Vigna  <jug@sad.it>
11264
11265         * text.C (breakParagraph): fixed function to honor the keepempty
11266         layout in the right maner and also to permit the right breaking
11267         algorithm on empty or non empyt keepempty paragraphs.
11268
11269         * paragraph.C (breakParagraph): we have to check also if the par
11270         is really empty (!size()) for isempty otherwise we do the wrong
11271         paragraph break.
11272
11273 2002-05-10  Juergen Vigna  <jug@sad.it>
11274
11275         * buffer.[Ch] : The following are only changes to the ert
11276         compatibility read reading old LaTeX layout and font stuff and
11277         convert it to ERTInsets.
11278
11279         * buffer.h: added isErtInset().
11280
11281         * buffer.C (struct ErtComp): add a fromlayout bool to check
11282         if we're inside a LaTeX layout.
11283         (isErtInset): new helper function.
11284         (insertErtContents): look for other ert insets before this one
11285         and insert the contents there, so that we don't have subsequent
11286         ERT insets with nothing between them. This way we create only one
11287         inset with multiple paragraphs. Also check if we don't insert only
11288         spaces ' ' as they are ignored anyway afterwards in the .tex file
11289         so if we have only spaces we will ignore this latex part in the
11290         new file.
11291         (parseSingleLyXformat2Token \\layout): better compatibility when
11292         reading layout-latex stuff.
11293         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11294         language tag.
11295         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11296         stuff after reading the inset only get the information back from
11297         the stack.
11298
11299 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11300
11301         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11302
11303         * LaTeXFeatures.C (getBabelOptions): New method.
11304
11305 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * BufferView_pimpl.C (Dispatch): work around missing argument for
11308         'layout'
11309
11310 2002-05-08  Juergen Vigna  <jug@sad.it>
11311
11312         * text.C (leftMargin): handle paragraph leftindent.
11313
11314         * paragraph.C (writeFile): write the new \\leftindent tag.
11315         (validate): handle leftindent code.
11316         (TeXEnvironment): handle paragraphleftindent code again.
11317
11318         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11319
11320         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11321         for paragrap_extra indent code and new token \\leftindent.
11322         (latexParagraphs): handle the leftindent as environment.
11323
11324         * ParameterStruct.h: added leftindent support.
11325
11326         * ParagraphParameters.C (leftIndent): added support functions for
11327         the paragraph left indent.
11328
11329         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11330         more appropriate.
11331
11332 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11333
11334         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11335         inside insetERT.
11336
11337         * text.C (computeBidiTables): No bidi in insetERT.
11338
11339         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11340         in RTL documents.
11341
11342 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * version.C.in: pre 5
11345
11346 2002-05-02  José Matos  <jamatos@fep.up.pt>
11347         * buffer.C (makeDocBookFile): white space changes, add newline to
11348         command styles.
11349         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11350
11351         * tabular.C (docBook): fix typo.
11352
11353 2002-05-03  Juergen Vigna  <jug@sad.it>
11354
11355         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11356         change in LyXText as we can not be sure it was not freed.
11357         (drawOneRow): remove unused code.
11358
11359         * text.C (drawInset): redo the calculation of the need_break_row as
11360         it could have a row which was already freed.
11361         (draw): look at the return value of drawInset and return false if
11362         it also returned false.
11363         (paintRowText): look at the return value of draw and return false if
11364         it also returned false.
11365
11366         * lyxtext.h: added bool return type to drawInset() and draw() so that
11367         if we have a change in the row so that the rowbreak has to be redone
11368         we abort drawing as it will be called again.
11369
11370 2002-05-02  Juergen Vigna  <jug@sad.it>
11371
11372         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11373         a change in the maintext also if we're inside an inset.
11374         (Dispatch): set the cursor again after a break line and after the
11375         screen has been updated as it could be we're in a different row.
11376
11377         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11378         to set the cursor behind the pargraph with > size().
11379         (setCursor): check also for the same paragraph when checking where
11380         to put the cursor if we have a NFR inset.
11381
11382         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11383         parts of layout read further up as it still was in the wrong
11384         position.
11385
11386 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * screen.C (drawFromTo): change sine fullRebreak always return
11389         true.
11390
11391         * buffer.C (parseSingleLyXformat2Token): reindent some
11392
11393         * BufferView_pimpl.C (update): change since fullRebreak always
11394         return true.
11395         (Dispatch): git rid of the last hardcoded "Standard"s.
11396
11397 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11398
11399         * text2.[Ch] (fullRebreak): make it return void now that we always
11400         returned true.
11401
11402 2002-04-30  Juergen Vigna  <jug@sad.it>
11403
11404         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11405         ert compatibility check for "latex" layout.
11406
11407 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11408
11409         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11410         minipages: use col% instead of p%, and also use the current font.
11411         (makeLaTeXFile): Fix use babel condition.
11412         (parseSingleLyXformat2Token): Correct font when reading old floats.
11413
11414 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11415
11416         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11417         inserting list of floats.
11418
11419 2002-04-25  Herbert Voss  <voss@lyx.org>
11420
11421         * MenuBackend.C (expand): don't add the graphics extensions to the
11422         export menu
11423
11424 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11427         non-existing layout, do not complain if it was the default layout
11428         of the original class (bug #342)
11429
11430 2002-04-24  Juergen Vigna  <jug@sad.it>
11431
11432         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11433         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11434
11435 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11436
11437         * buffer.C (getBibkeyList): If using \bibliography, return the
11438         option field with the reference itself. Enables us to provide natbib
11439         support when using \bibliography.
11440
11441 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11442
11443         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11444
11445         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11446         natbib is provided by the LaTeX class.
11447
11448 2002-04-23  Juergen Vigna  <jug@sad.it>
11449
11450         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11451         Wakeup functions.
11452
11453         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11454
11455 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11456
11457         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11458
11459         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11460         ensuremath around textordmasculine, textordfeminine and
11461         textdegree.
11462
11463 2002-04-19  Juergen Vigna  <jug@sad.it>
11464
11465         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11466         reinitializing the buffer otherwise row-dimensions may be wrong.
11467         (update): reset also the selection cursors if they do exits otherwise
11468         their x/y positions may be wrong.
11469
11470         * text2.C (cursorDown): don't enter the inset if we came from a row
11471         above and are one row over the inset.
11472
11473         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11474         really leaving an inset.
11475
11476 2002-04-18  Juergen Vigna  <jug@sad.it>
11477
11478         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11479         of the selected paragraph does not have the selected layout also if
11480         the last one had!
11481
11482         * text2.C (setLayout): fixed bug which did not change last selected
11483         paragraph.
11484
11485         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11486         changed the read and substituted \\end_float with \\end_inset!
11487
11488         * BufferView_pimpl.C (cursorPrevious):
11489         (cursorNext): fixed to make it work with rows heigher than the work
11490         area without moving the cursor only the draw of the row.
11491         (workAreaMotionNotify): fix jumping over high rows.
11492
11493 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11496         Ressler.
11497
11498 2002-04-16  Juergen Vigna  <jug@sad.it>
11499
11500         * text2.C (setCursor): set also the irow().
11501         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11502         (cursorUp):
11503         (cursorDown): support for locking an inset if the x_fix value goes
11504         inside it. That way I can transverse insets too with cursor up/down.
11505
11506         * lyxrow.h: added irow helper function same as other (i) functions.
11507
11508         * BufferView_pimpl.C (cursorPrevious):
11509         (cursorNext): fixed for insets!
11510
11511 2002-04-15  Juergen Vigna  <jug@sad.it>
11512
11513         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11514         position otherwise it is wrong in some cases.
11515
11516         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11517         inside the inset before the call.
11518
11519 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11520
11521         * buffer.[Ch] (getBibkeyList): make it const.
11522
11523 2002-04-12  Juergen Vigna  <jug@sad.it>
11524
11525         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11526
11527         * text2.C (getCursorX): new helper function
11528         (setCursor): compute also ix_
11529         (setCursorFromCoordinates): set also ix.
11530
11531         * lyxcursor.h: added ix_ and helper functions.
11532
11533         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11534
11535         * buffer.C (insertStringAsLines): dont break paragraph if the this
11536         paragraph is inside an inset which does not permit it!
11537
11538         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11539         also with no chars on this paragraph.
11540         (paintRowText): only paint stuff if it's inside the workarea!
11541
11542         * paragraph.C (breakParagraph): honor keepempty flag and break the
11543         paragraph always below not above.
11544
11545         * BufferView2.C (unlockInset): update the paragraph layout on inset
11546         unlock as we changed paragraph in such a case.
11547
11548         * lyxfind.C (LyXFind): clear the former selection if not found!
11549
11550         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11551         again called in insertChar().
11552
11553         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11554         an inset which uses the whole row!
11555         (rightMargin): ditto.
11556         (insertChar): force a rebreak if we inserted an inset!
11557
11558 2002-03-28  Herbert Voss  <voss@lyx.org>
11559
11560         * lyxlength.[Ch]: add inBP() to get the right PS-point
11561         units (BigPoint). With inPixels we have rounding errors
11562
11563 2002-04-11  Juergen Vigna  <jug@sad.it>
11564
11565         * text2.C (setCursorFromCoordinates): set iy to the right value.
11566         (setCursor): add check if row->previous exists!
11567
11568         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11569         an old float_type as this was the case in the old code!
11570
11571         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11572
11573         * BufferView2.C (showLockedInsetCursor): use iy
11574         (fitLockedInsetCursor): ditto
11575
11576         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11577         locked insets as there we have the right value now.
11578
11579         * lyxcursor.C: added iy_ variable and iy functions to set to the
11580         baseline of cursor-y of the locked inset.
11581
11582         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11583         (setCursor): fixed for insets which need a full row.
11584
11585         * text.C (rowLastPrintable): don't ignore the last space when before
11586         an inset which needs a full row.
11587         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11588         as last character of a row when before a inset which needs a full row.
11589
11590 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * version.C.in: update date
11593
11594         * text2.C (fullRebreak): try to always return true and see what
11595         happens...
11596
11597 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * MenuBackend.C (expand): use Floating::listName
11600
11601         * FloatList.C (FloatList): add listName argument to the built-in
11602         floats
11603
11604         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11605         text associated with the float.
11606
11607 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11610
11611 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * ShareContainer.h: add a couple of missing typenames.
11614
11615 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11616
11617         * lyxrc.C (getDescription): use _() correctly rather than N_().
11618
11619 2002-03-28  Herbert Voss  <voss@lyx.org>
11620
11621         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11622         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11623
11624 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11625
11626         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11627         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11628
11629 2002-03-29  Juergen Vigna  <jug@sad.it>
11630
11631         * lyxfunc.C (dispatch): add a missing fitCursor call.
11632
11633         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11634         it was scrolled by a cursor move, so return the bool status.
11635
11636         * BufferView.C (fitCursor): return the bool flag also to the outside
11637         world as this is needed.
11638
11639         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11640
11641         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11642         call the edit() as it is not needed (and wrong) IMO.
11643         (workAreaButtonPress): set the screen_first variable before evt.
11644         unlock the inset as this may change screen_first and then we have
11645         a wrong y position for the click!
11646
11647 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * MenuBackend.C (expand): another translation that I missed
11650
11651 2002-03-28  Juergen Vigna  <jug@sad.it>
11652
11653         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11654
11655         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11656
11657 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11660
11661         * MenuBackend.C (expand): fix export/view/update when there is no
11662         document open.
11663
11664 2002-03-27  Herbert Voss  <voss@lyx.org>
11665
11666         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11667         and text%
11668
11669 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * bufferview_funcs.C (currentState): only show paragraph number
11672         for is DEVEL_VERSION is set.
11673
11674         * lyxfunc.C (dispatch): put warning in INFO channel
11675
11676         * MenuBackend.C (expand): translate the name of floats
11677
11678         * FloatList.C (FloatList): mark the float names for translation
11679
11680         * converter.C (convert): use LibScriptSearch
11681
11682 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * MenuBackend.C (defaults): fix default menu (we might as well get
11685         rid of it...)
11686
11687 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11690         directory.
11691
11692 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * lyxvc.C: reorder includes.
11695
11696 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11699           properly
11700
11701 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * CutAndPaste.C: change layouts earlier on paste
11704           to avoid crashing when calling getFont()
11705
11706 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11707
11708         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11709         irritating #error.
11710
11711 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * WorkArea.C: remove 'Pending' debug message.
11714
11715         * most files: ws cleanup
11716
11717         * buffer.[Ch]: ws changes
11718
11719         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11720
11721 2002-03-21  Juergen Vigna  <jug@sad.it>
11722
11723         * tabular.C (SetMultiColumn): collapse also the contents of the
11724         cells and set the last border right. Added a Buffer const * param.
11725
11726 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11729         linking or not.
11730
11731 2002-03-19  Juergen Vigna  <jug@sad.it>
11732
11733         * text2.C (clearSelection): reset also xsel_cache.
11734
11735         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11736         where it needs to be called (John tells us to do so too :)
11737         (selectionLost): reset sel_cache.
11738
11739         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11740
11741 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * text2.C (setCursorIntern): put debuging code in INSETS channel
11744
11745 2002-03-19  André Pönitz <poenitz@gmx.net>
11746
11747         * lyxfunc.C: tiny whitespace change
11748
11749 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11750
11751         * ToolbarDefaults.C (init):
11752         * LyXAction.C (init):
11753         * commandtags.h:
11754         * BufferView_pimpl.C (Dispatch):
11755         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11756
11757 2002-03-19  Allan Rae  <rae@lyx.org>
11758
11759         * exporter.C (Export): removeAutoInsets before doing anything else.
11760         While I've just introduced a dependency on BufferView this really is
11761         the best place to clean the buffer otherwise you need to cleanup in
11762         a dozen places before calling export or cleanup in a dozen functions
11763         that export calls.
11764
11765         * converter.C (runLaTeX):
11766         (scanLog): Better handling of removeAutoInsets and screen updates.
11767
11768         * lyxfunc.C (dispatch): small whitespace changes
11769
11770 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * WorkArea.C (C_WorkAreaEvent): return a value.
11773         (event_cb): return 1 if we handled the event, 0 otherwise.
11774
11775         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11776
11777 2002-03-18  Juergen Vigna  <jug@sad.it>
11778
11779         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11780         (GetAdditionalWidth): ditto.
11781         (RightLine): ditto.
11782         (LeftLine): ditto.
11783
11784         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11785         inset if we're there actually (probably not used right now but this
11786         is the direction to go for unifying code).
11787         (paste): disable code to clear the selection.
11788
11789         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11790         inside an InsetText and move the check further up as it is in the
11791         wrong place.
11792
11793         * text2.C (pasteSelection): set a selection over the pasted text.
11794
11795 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11796
11797         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11798         and libgraphics to build on Cygwin.
11799
11800 2002-03-15  Juergen Vigna  <jug@sad.it>
11801
11802         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11803         inserting an Inset into the paragraph. I know this is not the best
11804         fix but we already use current_view in CutAndPaste so we will remove
11805         all of it's using at the same time.
11806
11807         * buffer.C (sgmlError): deactivated function till it is rewritten in
11808         the right mode, now it can create problems.
11809
11810         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11811         before accessing it.
11812
11813 2002-03-14  Juergen Vigna  <jug@sad.it>
11814
11815         * undo_funcs.C (textHandleUndo): do the right thing when updating
11816         the inset after the undo/redo.
11817
11818         * text2.C (setCursor): just some testcode for #44 not ready yet.
11819
11820         * undo_funcs.C (textHandleUndo): set the next() and previous()
11821         pointers of the paragraph to 0 before deleting otherwise we have
11822         problems with the Paragraph::[destructor].
11823
11824         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11825         on a paragraph insertion.
11826
11827 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * buffer.C (asciiParagraph): use += operator for char append to
11830         string.
11831
11832         * paragraph.C (getFontSettings): compare >= not just >
11833         (highestFontInRange): ditto
11834         (setFont): ditto
11835
11836 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * paragraph.C: change several algorithm to be more appripriate for
11839         the problem domain. This is lookip in FontList and in the InsetList.
11840
11841 2002-03-13  André Pönitz <poenitz@gmx.net>
11842
11843         * commandtags.h:
11844         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11845
11846 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * commandtags.h:
11849         * LyXAction.C:
11850         * lyxfunc.C:
11851         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11852
11853 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * Painter.C (display): anon helper function, adjust code for this
11856         change.
11857         (pixmap): remove function.
11858
11859         * Painter.h: remove private display variable.
11860
11861         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11862
11863 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11864
11865         * WorkArea.[Ch]: remove figinset_canvas cruft.
11866
11867 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * lyxtextclass.C (operator): add one item cache optimization.
11870
11871         * bufferlist.h: doxy changes
11872
11873         * bufferlist.C: ws changes
11874
11875         * DepTable.[Ch] (ext_exist): place const in the right spot.
11876
11877         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11878         call resizeInsets.
11879         (workAreaExpose): call resizeInsets when the with BufferView changes.
11880         (Dispatch): adjust for protectedBlank removal
11881         (specialChar): call updateInset if the insert went ok.
11882
11883         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11884         specialChar instead.
11885
11886         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11887
11888         * BufferView.h: doxy change
11889
11890         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11891
11892         * lyxtextclass.C (operator[]): remove non-const version
11893         (defaultLayout): remove non-const version
11894
11895 2002-03-12  Juergen Vigna  <jug@sad.it>
11896
11897         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11898         did resize the LyXText too.
11899
11900         * buffer.C (readLyXformat2): set layout information on newly allocated
11901         paragraphs.
11902
11903         * tabular.C (OldFormatRead): set layout information on the paragraph.
11904
11905 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11906
11907         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11908
11909 2002-03-11  Juergen Vigna  <jug@sad.it>
11910
11911         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11912         plainly wrong.
11913         (resizeCurrentBuffer): force also the insets to resize themselfes.
11914         (moveCursorUpdate): fixed up for InsetText.
11915
11916 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11917
11918         * commandtags.h:
11919         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11920         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11921         value of Dialogs::tooltipsEnabled().
11922         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11923
11924 2002-03-08  Juergen Vigna  <jug@sad.it>
11925
11926         * BufferView_pimpl.C (updateInset): update inset inside inset also
11927         if it isn't inside theLockingInset().
11928
11929 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * buffer.C (asciiParagraph): redo some of the word and line length
11932         handling.
11933         (getLists): look for Caption instead of caption.
11934
11935 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11936
11937         * buffer.C (Buffer): initialize niceFile to true
11938         (makeLaTeXFile):
11939         (makeLinuxDocFile):
11940         (makeDocBookFile): make sure niceFile is true on exit
11941
11942 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11945
11946 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11947
11948         * LyXSendto.C: remove.
11949         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11950         * lyx_gui.C: remove now-redundant comment.
11951         * ColorHandler.h: remove forward declaration of class WorkArea.
11952         * lyxfunc.C: remove #include "WorkArea.h".
11953
11954 2002-03-07  Juergen Vigna  <jug@sad.it>
11955
11956         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11957         got moved away with the DEPM and also set the inset_owner always
11958         right which before could have been omitted.
11959
11960 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11961
11962         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11963         wanted layout is not found.
11964
11965 2002-03-07  Juergen Vigna  <jug@sad.it>
11966
11967         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11968
11969 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * paragraph.C (breakParagraph): use default layout not layout of
11972         prev paragraph.
11973         (Paragraph): clear ParagraphParameters.
11974
11975 2002-03-06  Juergen Vigna  <jug@sad.it>
11976
11977         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11978         otherwise it would not be a valid lenght. Fixed a special case in
11979         the minipage compatibility read where we end the document with a
11980         minipage.
11981
11982         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11983         was set as it could be 0 for InsetTexts first entry.
11984
11985 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * paragraph.C (writeFile): if layout is empty write out
11988         defaultLayoutName().
11989
11990         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11991         file without named layout we set layout to defaultLayoutName().
11992
11993 2002-03-06  Juergen Vigna  <jug@sad.it>
11994
11995         * CutAndPaste.C (copySelection): set layout for new paragraph.
11996
11997         * text.C (prepareToPrint): leave ERT inset left aligned
11998         (leftMargin): don't indent paragraphs inside ERT insets
11999
12000 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12001
12002         * paragraph.C (breakParagraph): dont call clear do the work manually
12003
12004         * paragraph.[Ch] (clear): remove function
12005
12006 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * paragraph.C (Paragraph): dont call clear, the work has already
12009         been done.
12010
12011         * lyxtextclass.C (operator): assert if n is empty
12012
12013         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12014         work manually instead.
12015
12016 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * BufferView_pimpl.C: protect selectionLost against text == 0
12019
12020 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * text.C (breakParagraph): fix a setting layout to '0' problem.
12023
12024 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12025
12026         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12027         final location of file, for the included files, and graphics.
12028
12029 2002-03-05  Juergen Vigna  <jug@sad.it>
12030
12031         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12032
12033 2002-03-04  Juergen Vigna  <jug@sad.it>
12034
12035         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12036
12037         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12038         last column of multicolumn cells.
12039         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12040
12041 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12042
12043         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12044         file if it doesn't go to a temporary file.
12045
12046         * buffer.C (sgmlOpenTag):
12047         (sgmlCloseTag):  remove extra newline insertion.
12048
12049 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * text.C (getRowNearY): comment out debug msg
12052
12053 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12054
12055         * text2.C: first -> first_y
12056
12057         * text.C (getRowNearY): add some attemts at a possible
12058         optimization, not working.
12059
12060         * tabular.[Ch]: add BufferParams to several function so that newly
12061         created paragraph can be initialized to he default layotu for the
12062         buffers textclass.
12063
12064         * tabular-old.C (ReadOld): add buf->params to call of Init
12065
12066         * screen.C: rename text->first to text->first_y
12067
12068         * paragraph.C (breakParagraph): always set layout in the broken
12069         paragraph
12070
12071         * lyxtextclass.C (Read): remove lowercase
12072         (hasLayout): ditto
12073         (operator): ditto
12074         (delete_layout): ditto
12075
12076         * lyxtext.h: rename first -> first_y
12077
12078         * lyxlayout.C (Read): remove lowercase
12079         (name): ditto
12080         (setName): ditto
12081         (obsoleted_by): ditto
12082
12083         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12084
12085         * buffer.C (insertErtContents): add params are to InsetERT
12086         (parseSingleLyXformat2Token): add code to check if a paragraphs
12087         layout really exist.
12088         (parseSingleLyXformat2Token): add params to several inset
12089         constructors
12090         (asciiParagraph): remove lowercase, do the layout comparisons with
12091         no_case
12092
12093         * BufferView_pimpl.C (cursorNext): first -> first_y
12094         (resizeCurrentBuffer): first -> first_y
12095         (updateScrollbar): first -> first_y
12096         (scrollCB): first -> first_y
12097         (workAreaMotionNotify): first -> first_y
12098         (workAreaButtonPress): first -> first_y
12099         (checkInsetHit): first -> first_y
12100         (cursorPrevious): first -> first_y
12101         (cursorNext): first -> first_y
12102         (Dispatch): add buffer_->params to severl inset contructors
12103
12104 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * lyxlayout.C (Read): remove some debug info that I forgot.
12107
12108         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12109         clean up the code slightly.
12110         (makeLinuxDocFile): ditto
12111         (makeDocBookFile): ditto
12112
12113         * text2.C: layout as string
12114
12115         * text.C: layout as string
12116
12117         * paragraph_pimpl.C: layout as string
12118
12119         * paragraph.[Ch]: layout as string
12120
12121         * lyxtextclasslist.[Ch]: layout as string
12122
12123         * lyxtextclass.[Ch]: layout as string
12124
12125         * lyxtext.h: layout as string
12126
12127         * lyxlayout.[Ch]: layout as string
12128
12129         * lyx_cb.C: layout as string
12130
12131         * bufferview_funcs.C: layout as string
12132
12133         * bufferparams.C: layout as string
12134
12135         * buffer.C: layout as string
12136
12137         * LyXView.[Ch]: layout as string
12138
12139         * LaTeXFeatures.[Ch]: layout as string
12140
12141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12142
12143         * BufferView_pimpl.C: change current_layout to string, remove
12144         lyx::layout_type.
12145         (Dispatch):
12146         (smartQuote):
12147         (insertInset):
12148         (workAreaButtonRelease): layout as string
12149
12150         * BufferView2.C (unlockInset): adjust
12151
12152         * vspace.C (asLatexCommand): use an explict temp variable.
12153
12154 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * Makefile.am: use FRONTEND_*
12157
12158 2002-03-01  Juergen Vigna  <jug@sad.it>
12159
12160         * tabular.C (SetWidthOfMulticolCell): changed to something better
12161         I hope but still work in progress.
12162         (recalculateMulticolumnsOfColumn): renamed function from
12163         recalculateMulticolCells as it is more appropriate now.
12164         (SetWidthOfCell): calculate multicols better.
12165
12166 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12167
12168         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12169
12170         * lyxfunc.C (processKeySym): print sequence also if it is
12171         `deleted' (complete)
12172
12173         * kbsequence.C (print): print sequence even if it is deleted
12174         (complete would be a better word, actually).
12175
12176         * lyxfunc.C (dispatch): print complete options after a prefix key
12177
12178         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12179
12180 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12181
12182         * text2.C (setCharFont): eliminate setCharFont code duplication.
12183
12184 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12187         LFUN_TABULAR_FEATURE (bug #177)
12188
12189 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12190
12191         * Makefile.am: remove figure.h
12192
12193 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * Bufferview_pimpl.C:
12196         * CutAndPasteC:
12197         * LaTeX.C:
12198         * LyXSendto.C:
12199         * buffer.C:
12200         * bufferlist.C:
12201         * converter.C:
12202         * language.C:
12203         * lyxfunc.C:
12204         * lyxvc.C:
12205         * paragraph.C:
12206         * text.C:
12207         * text2.C: remove #include "lyx_gui_misc.h".
12208
12209         * LaTeX.C: added #include <cstdio>
12210
12211 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12214         that the paragraph following this one can have.
12215
12216         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12217
12218         * vspace.C (asLatexCommand): fix bogus gcc warning
12219
12220         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12221
12222 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12223
12224         * text2.C (setLayout): get rid of redundant code
12225
12226 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12227
12228         * text2.C (incDepth): make sure depth cannot be increased beyond
12229         reasonable values.
12230
12231 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12232
12233         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12234         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12235
12236         * PainterBase.h (image):
12237         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12238         a LyXImage const *.
12239
12240 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * BufferView.C:
12243         * BufferView.h:
12244         * BufferView_pimpl.C:
12245         * BufferView_pimpl.h:
12246         * LaTeXFeatures.C:
12247         * LyXAction.C:
12248         * LyXView.C:
12249         * Makefile.am:
12250         * UpdateList.h:
12251         * UpdateList.C:
12252         * buffer.C:
12253         * figure.h:
12254         * figureForm.C:
12255         * figureForm.h:
12256         * figure_form.C:
12257         * figure_form.h:
12258         * lyx_cb.C:
12259         * lyx_gui.C:
12260         * lyx_gui_misc.C:
12261         * lyxfunc.C:
12262         * sp_base.h:
12263         * sp_ispell.h:
12264         * sp_pspell.h:
12265         * sp_spell.C: remove fig inset, and the crap house of
12266           cards that follows it
12267
12268 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * Makefile.am:
12271         * lyxserver.C:
12272         * os2_defines.h:
12273         * os2_errortable.h:
12274         * nt_defines.h: move .h into support/
12275
12276         * vms_defines.h: remove
12277
12278         * WorkArea.C: add space in debug output
12279
12280         * text2.C:
12281         * paragraph.C:
12282         * buffer.C: add WITH_WARNINGS
12283
12284         * vc-backend.h:
12285         * vc-backend.C:
12286         * bufferlist.C: s/retrive/retrieve/, add docs
12287
12288         * vspace.h:
12289         * vspace.C:
12290         * kbmap.h:
12291         * lyxlength.h:
12292         * lyxgluelength.h:
12293         * length_common.h:
12294         * chset.h:
12295         * chset.C: add docs
12296
12297         * lyxgui.C: add ID to X error handler
12298
12299         * lyxtestclass.c: fix typo
12300
12301 2002-02-26  Juergen Vigna  <jug@sad.it>
12302
12303         * tabular_funcs.C (write_attribute): changed so that some default
12304         attributes are not written at all.
12305         (getTokenValue): set default values before trying to read the
12306         value so we have the return value always set as default if we don't
12307         find the token we search for.
12308
12309         * tabular.C (Write): write bools as bools not as strings!
12310
12311 2002-02-22  Juergen Vigna  <jug@sad.it>
12312
12313         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12314         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12315
12316         * text.C (leftMargin): don't add an indent for paragraphs inside
12317         tabular cells (fix #208).
12318
12319 2002-02-21  José Matos  <jamatos@fep.up.pt>
12320
12321         * tabular.C (docBook): fixed support for long tables.
12322
12323 2002-02-20  Juergen Vigna  <jug@sad.it>
12324
12325         * text2.C (getFont): get the drawing font of the Inset if this
12326         paragraph is inside an inset (only important for InsetERT for now).
12327
12328         * buffer.C (insertErtContents): use new lanugage params in ERT
12329         constructor.
12330
12331         * CutAndPaste.C: commenting out seemingly uneeded code.
12332
12333 2002-02-19  Allan Rae  <rae@lyx.org>
12334
12335         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12336         Iterators might be simple to use but they also get invalidated.
12337         (removeAutoInsets): renamed saved cursor tracking variables and added
12338         some comments to clarify what everything does.
12339
12340 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * Chktex.C:
12343         * LaTeX.C:
12344         * LyXSendto.C:
12345         * converter.C:
12346         * lyx_cb.C:
12347         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12348         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12349
12350         * lyxfunc.C:
12351         * vc-backend.h: remove #include "support/syscall.h"
12352
12353         * LaTeX.C:
12354         * LyXSendto.C:
12355         * converter.C: rearrange #includes in Lars' approved fashion.
12356
12357         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12358         forward declare class Timeout in the header file.
12359
12360         * XFormsView.C: changes due to the above.
12361
12362         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12363         similar to LyXView.
12364
12365         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12366         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12367
12368 2002-02-18  José Matos  <jamatos@fep.up.pt>
12369
12370         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12371         insets contents.
12372
12373 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12374
12375         * a lot of small ws changes
12376         * add a lot of using std::XXX
12377         * use std construcs some places where approp.
12378         * use some exisint stuff from lyxfunctional where approp.
12379         * Make file changes to use partial linking (lets test this now...)
12380
12381 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12382
12383         * Chktex.C:
12384         * buffer.C:
12385         remove #include "support/syscontr.h" as it's redundant. Always has been.
12386
12387         * Chktex.C:
12388         * LaTeX.C:
12389         * LyXSendto.C:
12390         * converter.C:
12391         * lyx_cb.C:
12392         * vc-backend.C:
12393         change Systemcalls::System to Systemcalls::Wait and
12394         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12395         No change of functionality, just reflects the stripped down Systemcalls
12396         class.
12397
12398 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12399
12400         * debug.[Ch]: add a GRAPHICS type to the enum.
12401
12402 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12403
12404         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12405
12406         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12407         there is an inset.
12408
12409 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12412         match the changes below.
12413
12414         * text2.C (toggleInset): if there is not editable inset at cursor
12415         position, try to see if cursor is _inside_ a collapsable inset
12416         and close it.
12417
12418 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12421         document menu has a nice checkbox
12422
12423 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * lyxlength.C (asLatexString): change PW to output as percent of
12426         \textwidth.
12427
12428         * lengthcommon.C: change '%' to 't%'
12429
12430         * lyxfunc.C (dispatch): a few comments from Martin
12431
12432 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * WorkArea.h:
12435         * WorkArea.C:
12436         * BufferView_pimpl.h:
12437         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12438           the X selection.
12439
12440 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * vspace.C (inPixels): fix compiler warning
12443
12444 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * lyxfunc.C (getStatus): fix status message for disabled commands.
12447
12448 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * BufferView_pimpl.C: fix crash on close buffer
12451         during selection (#227)
12452
12453 2002-01-27  Herbert Voss  <voss@lyx.org>
12454
12455         * buffer.C: link old Figure to new graphic inset
12456
12457 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12458
12459         * FontLoader.C (getFontinfo): Change the latex font names in order
12460         to match the names of type1inst.
12461
12462 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12465
12466         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12467         (extchanged): ditto
12468         (ext_exist): ditto
12469         (remove_files_with_extension): ditto
12470         (remove_file): ditto
12471         (write): ditto
12472
12473         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12474         document is smaller than the work area height. Do not initialize
12475         static variables to 0.
12476
12477 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12478
12479         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12480
12481         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12482         LFUN_LAYOUT_PARAGRAPHS.
12483
12484         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12485         tabular. It is possible to provide a possible cell, which will
12486         typically be the actcell from the corresponding insettabular
12487
12488         * lyxfunc.C (getStatus): small cleanup; disable
12489         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12490         true
12491
12492 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12495
12496         * paragraph.C (startTeXParParams):
12497         (endTeXParParams): new methods. The LaTeX code to
12498         start/end paragraph formatting
12499         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12500         empty (fixes bug #200)
12501
12502         * vspace.C (inPixels): adapt to the change below
12503         (inPixels): [later] more cleanups (remove unused variables)
12504
12505         * lyxlength.C (inPixels): change to use a width and a height as
12506         parameter.
12507
12508 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12511         Replaced with \paperwidth
12512
12513         * DepTable.C (insert): add std:: qualifier
12514
12515 2002-01-18  Allan Rae  <rae@lyx.org>
12516
12517         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12518         updated also?
12519
12520         * text.C (drawInset): Turned out I didn't know enough about how
12521         rebreaking worked.  This fixes most of the redraw problems.  I see
12522         an occasional cursor trail when a line is broken now and the cursor
12523         placement can seem out by a few pixels also after a rebreak.
12524
12525 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * buffer.C (parseSingleLyXformat2Token): update because minipage
12528         width is now a LyXLength
12529
12530         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12531
12532         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12533         math insets
12534
12535 2002-01-17  Juergen Vigna  <jug@sad.it>
12536
12537         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12538
12539         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12540         is set correctly and the inset is updated correctly.
12541
12542 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12543
12544         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12545         the beginning of the loop.
12546
12547 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * lyxrc.C: improve help for use_scalable_fonts
12550
12551 2002-01-17  Allan Rae  <rae@lyx.org>
12552
12553         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12554
12555 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12556
12557         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12558         make sure to set their inset_owner to the right value (bug #171)
12559
12560 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12561
12562         * DepTable.h
12563         * DepTable.C: Implement mtime checking to reduce time spent doing
12564         CRCs.
12565
12566 2002-01-16  Juergen Vigna  <jug@sad.it>
12567
12568         * tabular.C (GetAdditionalHeight): one of error fixed.
12569
12570         * lyxrc.C (output): small fix in writing use_pspell.
12571
12572 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12573
12574         * sp_base.h: #include LString.h
12575
12576 2002-01-16  Allan Rae  <rae@lyx.org>
12577
12578         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12579         Can someone check this please?
12580
12581         * text.C (drawInset): It was possible that p.row would be removed by
12582         breakAgainOneRow upsetting a few other settings.  There may be another
12583         small tweak possible by setting need_break_row = 0 when p.row has been
12584         removed but I don't know enough about the logic here.
12585
12586 2002-01-15  Allan Rae  <rae@lyx.org>
12587
12588         * text.C (insertChar): removed conditional truism.
12589
12590         * BufferView2.C (removeAutoInsets): More tweaks.
12591         cur_par_prev could be a stray pointer.  Check for trailing empty line
12592         in case last line was cur_par and only had an error inset on it.
12593
12594 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12597         absolute
12598
12599         * vc-backend.C (most methods):
12600         * exporter.C (Export):
12601         * converter.C (convert):
12602         (runLaTeX):
12603         * LyXSendto.C (SendtoApplyCB):
12604         * lyxfunc.C (dispatch):
12605         (menuNew):
12606         (open):
12607         (doImport):
12608         * lyx_cb.C (AutoSave):
12609         (InsertAsciiFile):
12610         * BufferView_pimpl.C (MenuInsertLyXFile):
12611         * buffer.C (runChktex): use Buffer::filePath().
12612
12613         * buffer.h: rename filename to filename_; rename filepath to
12614         filepath_ and make it private
12615         (filePath): new method
12616
12617         * buffer.C (writeFile): use fileName()
12618         (getLatexName):
12619
12620         * lyx_main.C (init): fix starting  of LyX when the binary is a
12621         link from so,ewhere else.
12622
12623         * minibuffer.C: include <cctype> for isprint
12624
12625 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12626
12627         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12628         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12629         name clash with InsetCollapsable's width function.
12630
12631 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12632
12633         * lastfiles.C: include <iterator>
12634
12635 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12638         std::count.
12639
12640         * buffer.C (makeLaTeXFile): ditto.
12641         Also make loop operation more transparent.
12642
12643 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * ToolbarDefaults.C: remove trailing comma closing namespace.
12646
12647         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12648
12649         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12650         as in WorkArea.
12651
12652         * trans.C (Load): comment out unused variable, allowed.
12653
12654 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12655
12656         * minibuffer.[Ch] (append_char): new method to recieve input from the
12657         drop-down completion browser. If a key was pressed, then recieve this
12658         char and append it to the existing string.
12659         (peek_event): modify the positioning data passed to the completion
12660         browser so that it can be placed above the minibuffer rather than below.
12661 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * LyXAction.C (init): alloe error-next for readonly documents.
12664
12665         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12666         count.
12667
12668 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * bufferlist.C (readFile): create the buffer _after_ checking that
12671         the file exists.
12672
12673         * lyxfunc.C (verboseDispatch): fix handling of arguments
12674
12675         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12676
12677         * lyxrc.C: use string::erase() instead of initializing to "".
12678
12679
12680 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * BufferView_pimpl.h:
12683         * BufferView_pimpl.C:
12684         * WorkArea.h:
12685         * WorkArea.C:
12686         * text2.C: tell X when we have made a selection for copying
12687
12688 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * BufferView_pimpl.C (MenuInsertLyXFile):
12691         * lyxfunc.C (menuNew):
12692         (open):
12693         (doImport): add shortcuts to directory buttons
12694
12695         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12696         open a float)
12697
12698         * lyxfunc.C (setStatusMessage):
12699         (getStatusMessage): new methods
12700         (getStatus):use setStatusMessage instead of setErrorMessage
12701         (dispatch): when function is disabled, set error message here
12702         [instead of in getStatus previously]
12703
12704         * BufferView_pimpl.C (workAreaButtonRelease): update
12705         toolbar/menubar here too.
12706
12707 2002-01-13  Allan Rae  <rae@lyx.org>
12708
12709         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12710         Now seems indestructible.  Remaining task is to audit all other
12711         code affected by deleteEmptyParagraphMechanism.  One small quirk
12712         left is that an empty document with an error in the preamble can
12713         be made to report an error but no error box appears.  I don't know
12714         where it goes.
12715         (removeAutoInsets): Improved comments.
12716
12717 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * Thesaurus.h:
12720         * Thesaurus.C: update for Aiksaurus 0.14
12721
12722 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * text2.C (firstParagraph): removed member function, all uses
12725         replaces with ownerParagraph
12726         (redoParagraphs): here
12727         (updateInset): here
12728         (toggleAppendix): here
12729         * BufferView2.C (insertErrors): here
12730         (setCursorFromRow): here
12731
12732 2002-01-13  Allan Rae  <rae@lyx.org>
12733
12734         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12735         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12736         There is still a way to segfault this although you may have to do this
12737         multiple times: Have an InsetERT with an unknown command in it.
12738         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12739         <down-arrow>, <Enter> again, View->DVI, BANG!
12740
12741         * text2.C (setCursor):
12742         (deleteEmptyParagraphMechanism):
12743         * lyxtext.h (setCursor):
12744         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12745         Making use of the return value may help fix other bugs.
12746
12747 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12748
12749         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12750
12751         * LyXView.C (updateMenubar): call MenuBar::update here
12752         (updateToolbar): but not here
12753         (showState): do not update toolbar/menubar
12754
12755         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12756         should need to care about that.
12757
12758         * lyxfunc.C (verboseDispatch): simplify a bit
12759         (getStatus): have a version which takes a pseudoaction, and
12760         another which requires a (kb_action,string).
12761
12762         * LyXAction.C (retrieveActionArg): make it work also when action
12763         is not a pseudo-action.
12764         (getActionName): simplify a bit
12765         (helpText):
12766
12767 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12768
12769         * lyxfunc.C (verboseDispatch): new families of methods with
12770         several ways to specify a command and a bool to indicate whether
12771         the command name and shortcut should be displayed in minibuffer
12772         (eventually, we could extend that to a finer bitmask like
12773         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12774         (dispatch): the pristine dispatch command which just, well,
12775         dispatchs! Note it still sets its result to minibuffer; I'm not
12776         sure we want that.
12777
12778         * lyxfunc.h: remove setHintMessage
12779
12780         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12781
12782 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * BufferView_pimpl.C (specialChar): delete new inset if we have
12785         not been able to insert it.
12786
12787         * kbmap.C: revert to using int instead of kb_action, since all we
12788         are dealing with is pseudo-actions.
12789
12790         * LyXAction.C (searchActionArg): change to return int instead of
12791         kb_action, since the result is a pseudoaction.
12792
12793 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * buffer.C (insertErtContents): Fix (partially) the font bug.
12796
12797 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12798
12799         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12800         as the other one is broken on my machine!
12801
12802 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12803
12804         * commandtags.h:
12805         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12806
12807 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12810         reflect their actual use. Provide compatibility code for older lyxrc
12811         files.
12812
12813         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12814         FL_NORMAL_STYLE.
12815         change names of popup font variables in line with the changes to lyxrc.C
12816
12817 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * buffer.C (asciiParagraph): avoid outputing a word twice after
12820         an inset.
12821
12822         * lyxrc.C (getDescription): document that document_path and
12823         template_path can be empty.
12824
12825 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * LaTeXFeatures.C (getMacros):
12828         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12829
12830         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12831
12832         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12833         getPackages.
12834         (getPackages): rename feature "floats" to "float". Use an array to
12835         iterate over 'simple' features (i.e. just a \usepackage). Add
12836         handling of "amsmath" (renamed from "amsstyle").
12837
12838 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12839
12840         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12841         features list.
12842
12843 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12846         FuncStaus::FuncStatus & FuncStaus::some_method().
12847
12848 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12849
12850         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12851         of the func_satus stuff. Edited and massaged in various ways by
12852         JMarc.
12853
12854         * lyxfunc.C (getStatus): use FuncStatus
12855
12856 2002-01-08  Juergen Vigna  <jug@sad.it>
12857
12858         * text.C (nextBreakPoint): use function Inset::isChar().
12859
12860         * paragraph.C (TeXOnePar): use function
12861         Inset::forceDefaultParagraphs.
12862
12863         * buffer.C (latexParagraphs): use function
12864         Inset::forceDefaultParagraphs.
12865
12866 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12867
12868         * lyx_gui.C (init): set the style of the menu popups to
12869         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12870
12871 2002-01-07  Juergen Vigna  <jug@sad.it>
12872
12873         * text.C (setHeightOfRow): small fix
12874         (prepareToPrint): don't look at alignment if we don't have the place
12875         for doing it.
12876
12877 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * box.C: New file. Move the Box methods and functions out of box.h,
12880         following Lars' suggestion.
12881
12882 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12883
12884         * box.h: #include "support/LOstream.h", needed for inlined function.
12885
12886         * lyxtextclass.C:
12887         * lyxtextclasslist.C: added some using std declarations.
12888
12889 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * box.h: make signed dimensions to allow insets wider than
12892           the screen (bug #162)
12893
12894         * BufferView_pimpl.C: add some insetHit debug
12895
12896 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * vc-backend.C: add FIXME
12899
12900 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * lyxfunc.C (getStatus): enable code for showing math font status
12903         in toolbar/menu.
12904
12905 2002-01-07  Juergen Vigna  <jug@sad.it>
12906
12907         * text.C (nextBreakPoint): removed debug output not needed anymore.
12908
12909 2002-01-06  Juergen Vigna  <jug@sad.it>
12910
12911         * text.C (nextBreakPoint): fixed up this function we had this bug
12912         since ever but now hopefully we break row better.
12913         (insertChar): we have to check if an inset is the next char as it
12914         could now happen that a large inset is causing a break.
12915
12916 2002-01-05  Juergen Vigna  <jug@sad.it>
12917
12918         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12919         if it doesn't like to be drawed.
12920
12921 2002-01-04  Juergen Vigna  <jug@sad.it>
12922
12923         * BufferView2.C (lockInset): forgot to set a cursor.
12924
12925         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12926
12927 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12928
12929         * FormMathsPanel.C:
12930         * FormMathsPanel.h
12931         * MathsSymbols.C:
12932         * form_maths_panel.C:
12933         * form_maths_panel.h:
12934         * form_maths_panel.fd: implemented sub- and super- buttons in math
12935         panel.
12936
12937         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12938         (or ^ space) to be used as in TeX (req'd by André).
12939
12940         * lyxfunc.C: Allow ^ and _ again to be used both as
12941         super/subscript (mathed) and as themselves (in text).
12942
12943 2002-01-03  Allan Rae  <rae@lyx.org>
12944
12945         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12946         "LyX" or the filename of the current buffer if it has one.  This is a
12947         modified form of John Levon's patch.
12948
12949         * XFormsView.C (setWindowTitle): also set icon title.
12950
12951         * LyXView.h (setWindowTitle): signature changed.
12952         * XFormsView.h (setWindowTitle): ditto.
12953
12954 2002-01-02  Juergen Vigna  <jug@sad.it>
12955
12956         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12957
12958 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * screen.C (topCursorVisible): introduce a temp var for
12961         text->cursor.row(), handle the case where this row is null. (kindo
12962         hachish)
12963
12964         * text2.C (setCursor): add a couple of asserts.
12965
12966         * paragraph.h (inset_iterator): add -> operator
12967
12968         * paragraph.[Ch] (autoDeleteInsets): remove member function
12969
12970         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12971         cursor pos correctly and handle inset deletion by itself.
12972         (insertErrors): move iterator declaration out of for expression
12973
12974         * lyxtextclass.C: add <algorithm>
12975
12976         * Makefile.am: added the new files to sources, removed layout.C
12977
12978         * layout.C: removed file
12979
12980         * layout.h: remove LYX_DUMMY_LAYOUT
12981
12982         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12983         layout.
12984
12985         * lyxlayout.[Ch]:
12986         * lyxtextclass.[Ch]:
12987         * lyxtextclasslist.[Ch]: new files
12988
12989         * include order changes to a lot of files, also changes because of
12990         the six new files.
12991
12992 2001-12-27  Juergen Vigna  <jug@sad.it>
12993
12994         * buffer.C (asciiParagraph): more fixes.
12995
12996         * tabular.C (ascii): make ascii export support export of only the
12997         data separated by a column-delimiter.
12998         (ascii): better support for ascii export.
12999
13000         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13001
13002 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * tabular_funcs.C: use a "using std::getline" instead of the
13005         previous fix from Angus (necessary for cxx + lyxstring)
13006
13007 2001-12-24  Juergen Vigna  <jug@sad.it>
13008
13009         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13010
13011         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13012         problems. First check a minipage also if we have some ert-contents
13013         (not only on par->size(), second set the right depth of the paragraph
13014         on the relink to the root-paragraph-list!
13015
13016         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13017         which then did not anymore update the main paragraphs on undo/redo!
13018
13019 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13020
13021         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13022         code. Support all font-changing funcs (even those which are not in
13023         menu currently). Support for reporting font settings in
13024         mathed (disabled until Andre provides a function on mathed's side).
13025
13026         * func_status.h (toggle): small helper function to set toggle
13027         state on a flag.
13028
13029 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * tabular_funcs.C: getline -> std::getline
13032
13033 2001-12-21  Juergen Vigna  <jug@sad.it>
13034
13035         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13036         accessed and could be 0 (I couldn't generate this but it seems
13037         Michael could!).
13038
13039 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13042         * tabular_funcs.h: here and include iosfwd
13043
13044 2001-12-20  Juergen Vigna  <jug@sad.it>
13045
13046         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13047         inside inset but undo_par was.
13048
13049 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13050
13051         * Thesaurus.C: always include <config.h> in sources.
13052
13053         * Painter.h:
13054         * lyxlookup.h:
13055         * box.h: do not include <config.h> in header files
13056
13057         * text.C (paintLastRow): remove unused variable
13058
13059         * text.C (transformChar):
13060         (insertChar):
13061         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13062
13063         * Painter.C (text):
13064         * font.C (width): rewrite to use uppercase() instead of
13065         islower/toupper.
13066
13067         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13068
13069 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13070
13071         * lyxfind.C: clean up of find failure position change
13072
13073 2001-12-20  Juergen Vigna  <jug@sad.it>
13074
13075         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13076
13077         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13078         (TeXRow): added to LaTeX a single tabular row.
13079         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13080         (Latex): simplified and finally good LT-h/f support.
13081         (various_functions): just small adaptions for LT-h/f support.
13082
13083         * tabular_funcs.[hC]: added and moved here all not classfunctions
13084         of LyXTabular.
13085
13086 2001-12-19  Juergen Vigna  <jug@sad.it>
13087
13088         * tabular.[Ch]: better support for longtabular options (not finished
13089         yet!)
13090
13091 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * text.C (paintLastRow): use the label font instead of the font of
13094         the last character to compute the size of *_BOX. This makes more
13095         sense and avoids a crash with empty paragraphs.
13096         Use Painter::rectangle to draw EMPTY_BOX.
13097
13098 2001-12-19  Juergen Vigna  <jug@sad.it>
13099
13100         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13101         the paragraphs if the replaced paragraph is not the first one!
13102         Tried to delete not used paragraphs but does not work yet so for
13103         now it's inside #ifdef's and by default off!
13104
13105 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13106
13107         * MenuBackend.C: include "lyx_main.h" instead of declaring
13108         lastfiles (actually was declared as LastFiles* instead of a
13109         scoped_ptr).
13110
13111 2001-12-17  Juergen Vigna  <jug@sad.it>
13112
13113         * tabular.C (AppendColumn): applied John's fix
13114
13115 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13116
13117         * BufferView.h:
13118         * BufferView.C:
13119         * BufferView_pimpl.h:
13120         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13121
13122         * Makefile.am:
13123         * box.h: new start of class for above
13124
13125         * lyxfunc.C: ignore space-only minibuffer dispatches.
13126           Show the command name when it doesn't exist
13127
13128         * minibuffer.C: don't add empty lines to the history
13129
13130         * minibuffer.C: add a space on dropdown completion
13131
13132 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13133
13134         * text.C: fix line above/below drawing in insets
13135
13136 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * lyxlength.C (LyXLength): Initialize private variables.
13139
13140 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13141
13142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13143         when inserting error insets.
13144
13145 2001-12-13  Juergen Vigna  <jug@sad.it>
13146
13147         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13148         actually sometimes the before-paragraph.
13149         (setUndo): don't clear the redostack if we're not actually undoing!
13150
13151 2001-12-06  Juergen Vigna  <jug@sad.it>
13152
13153         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13154         and fixed redoing of main paragraph, so we can use it now ;)
13155
13156         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13157
13158 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13159
13160         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13161         Juergen's request
13162
13163 2001-12-13  André Pönitz <poenitz@gmx.net>
13164
13165         * undostack.[Ch]:
13166         * undo_func.C: minor cleanup
13167
13168 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13169
13170         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13171         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13172         font in urw-fonts package which is marked as -urw-fontspecific and
13173         does not work (incidentally, changing the encoding in the
13174         fonts.dir of this package to -adobe-fontspecific fixes the
13175         problem).
13176
13177         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13178         is a crash when undoing first paragraph (Juergen, please take a
13179         look). THis does not mean the undo fix is wrong, just that it
13180         uncovers problems.
13181
13182         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13183         the (Paragraph*) version when needed instead of duplicating the
13184         code.
13185
13186         * text.C (workWidth): use Inset::parOwner to find out where the
13187         inset has been inserted. This is a huge performance gain for large
13188         documents with lots of insets. If Inset::parOwner is not set, fall
13189         back on the brute force method
13190
13191         * paragraph_pimpl.C (insertInset):
13192         * paragraph.C (Paragraph):
13193         (cutIntoMinibuffer): set parOwner of insets when
13194         inserting/removing them
13195
13196         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13197
13198 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13199
13200         * commandtags.h:
13201         * LyXAction.C:
13202         * lyx_main.C:
13203         * lyxfunc.C:
13204         * mathed/formulabase.C:
13205         * mathed/math_cursor.[Ch]:
13206         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13207
13208
13209 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * lyxlength.[Ch] (operator!=): new function
13212
13213 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13214
13215         * text.C (workWidth): use Inset::parOwner to find out where the
13216         inset has been inserted. This is a huge performance gain for large
13217         documents with lots of insets. If Inset::parOwner is not set, fall
13218         back on the brute force method
13219
13220         * paragraph_pimpl.C (insertInset):
13221         * paragraph.C (Paragraph):
13222         (cutIntoMinibuffer): set parOwner of insets when
13223         inserting/removing them
13224
13225         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13226
13227 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13228
13229         * tabular-old.C (getTokenValue):
13230         * tabular.C (getTokenValue):
13231         (write_attribute): new versions for LyXLength
13232         (everywhere): adjust the use of widths
13233
13234         * tabular.h: change the type of widths from string to LyXLength
13235
13236 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13237
13238         * paragraph.C: fixed missing line number count when exporting
13239         Environments to LaTeX file
13240
13241         * buffer.C: added informational message for checking line numbers.
13242
13243 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13244
13245         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13246         paragraph, do the 'double space' part, but not the 'empty
13247         paragraph' one.
13248
13249         * text.C (workWidth): small optimization
13250         (getLengthMarkerHeight): use minimal size for negative lengths.
13251
13252 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13253
13254         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13255
13256         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13257
13258 2001-12-11  André Pönitz <poenitz@gmx.net>
13259
13260         * FontLoader.C:
13261         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13262
13263 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * text2.C: keep selection on a setFont()
13266
13267 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * lyx_cb.C: another bv->text misuse, from insert label
13270
13271 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * kbsequence.h:
13274         * kbsequence.C: re-instate nmodifier mask
13275
13276 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13277
13278         * lyx_main.h: make lyxGUI private.
13279
13280 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * lyxfind.C: place the cursor correctly on failed search
13283
13284 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * text.C (getLengthMarkerHeight): for small heights, the arrows
13287         are not always on top/bottom of the text
13288         (drawLengthMarker): smaller arrows; take the left margin in
13289         account; draw also vfills.
13290         (paintFirstRow):
13291         (paintLastRow): remove special code for vfill and standard spaces,
13292         since everything is handled in drawLengthMarker now.
13293
13294 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13295
13296         * buffer.C (insertErtContents): try to handle font and language
13297         interaction a bit better.g
13298
13299         * ColorHandler.C (updateColor): change the hash to cover the whole
13300         LColor enum, ws cleanup
13301         (getGCLinepars): ditto
13302         (getGCLinepars): only lookup in the linecache once.
13303
13304 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * iterators.C (operator++): Make the iterator more robust
13307
13308         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13309         (John's patch)
13310         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13311
13312 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * lyxtext.h:
13315         * text.C: better added space drawing
13316
13317 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13318
13319         * LyXView.C:
13320         * BufferView2.C: fix layout combo update on inset unlock
13321
13322 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * Makefile.am: don't compile unused files
13325
13326 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13327
13328         * lyxfunc.C:
13329         * commandtags.h:
13330         * LyXAction.C: remove old LFUN_LAYOUTNO
13331
13332 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * paragraph_pimpl.h:
13335         * paragraph_pimpl.C: isTextAt() doesn't need font param
13336
13337 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * lyxlex.h:
13340         * lyxlex.C: little cleanup
13341
13342 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * BufferView_pimpl.C: fix insertAscii for insets
13345
13346 2001-12-05  Juergen Vigna  <jug@sad.it>
13347
13348         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13349         set the right font on the "multi" paragraph paste!
13350
13351 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * trans_decl.h:
13354         * trans_mgr.[Ch]:
13355         * trans.[Ch]:
13356         * lyxgluelength.C:
13357         * lyxlength.C: remove out-commented code.
13358
13359         * BufferView_pimpl:
13360         * CutAndPaste.C:
13361         * DepTable.C:
13362         * buffer.C:
13363         * chset.C:
13364         * lastfiles.C:
13365         * lyxlex.C:
13366         * lyxlex_pimpl.C:
13367         * lyxserver.C:
13368         * screen.C:
13369         * tabular-old.C:
13370         * tabular.C:
13371         * text.C:
13372         * trans_mgr.C:
13373         * vc-backend.C: change "while(" to "while ("
13374
13375         * lyxlength.[Ch]: add zero function to check if length is zero or
13376         not
13377         * lyxgluelength.C: use it
13378
13379 2001-12-05  Allan Rae  <rae@lyx.org>
13380
13381         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13382         Works for 2.95.3, from what I understand of Garst's reports this should
13383         work for other g++ versions.  We're screwed if the abs(int) definition
13384         changed between bugfix releases of gcc.
13385
13386 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13387
13388         * text.C: fix chapter label offset !
13389
13390 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * lyxtext.h:
13393         * text.C: fix hfill at end of line, clean up
13394
13395 2001-12-04  Juergen Vigna  <jug@sad.it>
13396
13397         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13398         that we force an update of the inset and it's owners if neccessary.
13399
13400 2001-12-03  Juergen Vigna  <jug@sad.it>
13401
13402         * text.C (rowLast): simplified code
13403
13404 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * lyxfunc.C: fix show options on timeout
13407
13408 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13409
13410         * screen.C (topCursorVisible): scroll half a page when the cursor
13411         reached top of bottom of screen
13412
13413 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13414
13415         * minibuffer.C: deactivate on loss of focus
13416
13417 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13418
13419         * vspace.[Ch] (operator!=): add operator.
13420
13421 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13422
13423         * BufferView_pimpl.C: refuse to open an inset when
13424         there's a selection.
13425
13426 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13427
13428         * BufferView_pimpl.C: allow to click on RHS of full row insets
13429
13430 2001-11-30  Juergen Vigna  <jug@sad.it>
13431
13432         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13433         insets for undo reasons.
13434
13435 2001-11-28  André Pönitz <poenitz@gmx.net>
13436
13437         * vspace.[Ch]: cosmetical changes
13438
13439 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * LyXAction.h:
13442         * LyXAction.C:
13443         * lyxfunc.h:
13444         * lyxfunc.C:
13445         * kbmap.h:
13446         * kbmap.C:
13447         * lyxrc.C:
13448         * kbsequence.h:
13449         * kbsequence.C: part re-write of old kb code
13450
13451         * Painter.C:
13452         * WorkArea.C: remove Lgb_bug_find_hack
13453
13454 2001-11-30  José Matos <jamatos@fep.up.pt>
13455
13456         * buffer.C (makeDocBookFile): add a comment to point a hack.
13457         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13458         Fixed a double write of labels.
13459
13460 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13461
13462         * LaTeX.C:
13463         * LaTeX.h Fixed bug in LaTeX class where it would not
13464         re-run latex if no depfiles were changed, but the .dvi was removed.
13465
13466 2001-11-28  André Pönitz <poenitz@gmx.net>
13467
13468         * all the files from the change on 2001/11/26:
13469         use lyx::layout_type instead of LyXTextClass::size_type
13470         use lyx::textclass_type instead of LyXTextClassList::size_type
13471
13472 2001-11-29  Juergen Vigna  <jug@sad.it>
13473
13474         * text.C: added support for paragraph::isFreeSpacing()
13475
13476         * buffer.C: same as above
13477
13478         * paragraph.h: inserted isFreeSpacing() function to enable
13479         FreeSpacing inside InsetERT.
13480
13481         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13482         of the paragraph's in the cut/copy buffer to 0!
13483
13484         * text2.C (removeRow): remove the assert as it can!
13485
13486         * lyxtext.h: added helper function firstRow returning firstrow and
13487         made firstrow private again.
13488
13489         * BufferView2.C (lockInset): don't relock if we're already locked!
13490
13491         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13492         the only paragraph.
13493         (removeRow): added Assert::(firstrow)
13494
13495         * debug.C: forgot to add INSETTEXT here.
13496
13497 2001-11-28  Juergen Vigna  <jug@sad.it>
13498
13499         * sp_spell.C (initialize): changed error text to more general
13500         spellchecker command use (not only ispell!)
13501
13502         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13503
13504         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13505
13506 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * vspace.C: initialise lyxgluelength on failure
13509
13510 2001-11-28  Allan Rae  <rae@lyx.org>
13511
13512         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13513         declaration & definition that looks like a function declaration.
13514
13515 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * BufferView2.C (copy):
13518         (copyEnvironment): do not clear the selection when doing a copy.
13519
13520         * text.C (paintFirstRow): compilation fix
13521
13522 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13523
13524         * tabular.C (Latex): correct line count when writing latex.
13525
13526 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * paragraph_pimpl.h:
13529         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13530           bug a bit
13531
13532 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * text.C:
13535         * LColor.h:
13536         * LColor.C: change vfillline->added_space
13537
13538         * text.C: add markers and text for added space
13539
13540         * vspace.C: fix comment
13541
13542 2001-11-28  André Pönitz <poenitz@gmx.net>
13543
13544         * paragraph.C: whitespace changes
13545         * all the other files from the change on 2001/11/26:
13546         change *::pos_type into lyx::pos_type
13547
13548 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13549
13550         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13551         language of the document when inserting error insets.
13552
13553 2001-11-26  André Pönitz <poenitz@gmx.net>
13554
13555         * BufferView_pimpl.[Ch]:
13556         *       CutAndPaste.C:
13557         * buffer.[Ch]:
13558         * lyxcursor.[Ch]:
13559         * lyxfind.C:
13560         * lyxfunc.C:
13561         * lyxrow.[Ch]:
13562         * paragraph.[Ch]:
13563         * paragraph_pimpl.[Ch]:
13564         * sp_spell.C:
13565         * text.C:
13566         * text2.C: reduce header dependencies, introduce type for positions
13567
13568 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * <various>: change to use Alert.h
13571
13572 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13573
13574         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13575         when encountering an unknown token.
13576         (readLyXformat2): Show an error message if there were unknown tokens.
13577
13578 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13579
13580         * BufferView2.C:
13581         * BufferView_pimpl.C:
13582         * buffer.C:
13583         * paragraph.h:
13584         * text.C:
13585         * text2.C: use par->isInset()
13586
13587 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13588
13589         * paragraph_pimpl.h:
13590         * paragraph_pimpl.C: cleanup
13591
13592 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * text2.C (removeRow):
13595         * text.C (setHeightOfRow): remove useless (and costly) call to
13596         getRow.
13597
13598 2001-11-20  Allan Rae  <rae@lyx.org>
13599
13600         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13601         Now need Inset*::checkInsertChar() to return true for appropriate
13602         cases so that the characters in the minibuffer will actually be
13603         inserted.
13604
13605 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * text.C: change the order of the includes.
13608         (workWidth): initialize it at once.
13609         (workWidth): make maxw unsigned
13610         (setHeightOfRow): remove unused variable (inset)
13611         (selectSelectedWord): remove unused variable (inset)
13612         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13613
13614 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13617         server is not running.
13618         (openConnection):
13619         (closeConnection): add debug info when server is disabled.
13620
13621         * ColorHandler.C (getGCForeground): send debug message to GUI
13622         channel.
13623
13624         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13625
13626         * kbmap.C (bind): modify because return conventions of
13627         kb_sequence::parse have changed.
13628
13629         * kbsequence.C (parse): only ignore spaces and not any stupid
13630         control character. This avoids tests like s[i] <= ' ', which are
13631         guaranteed to fail with 8bit characters and signed chars.
13632         Change return code to string::npos when there have been no error
13633         (0 was a bad idea when error is at first character)
13634
13635 2001-11-14  José Matos  <jamatos@fep.up.pt>
13636
13637         * buffer.h:
13638         * buffer.C (simpleDocBookOnePar): removed unused argument.
13639
13640 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13643         insets which are part of a word. Paragraph::isLetter takes care of
13644         that now. Use Paragraph::isInset to identify insets.
13645         (selectSelectedWord): do not test for hyphenation break.
13646
13647         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13648         that protected spaces are considered as spaces.
13649
13650         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13651         Inset::isLetter.
13652
13653 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * lyxserver.h:
13656         * lyxserver.C: fix it. and small cleanup.
13657
13658 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * BufferView_pimpl.C: use inline helpers
13661
13662         * LaTeXFeatures.h:
13663         * LaTeXFeatures.C: fix typos
13664
13665         * Spacing.h:
13666         * Spacing.C: move spacing_string into class
13667
13668         * ToolbarDefaults.C: move stuff into namespace anon
13669
13670         * layout.h: update enum
13671
13672         * lyxfunc.C: use better debug
13673
13674         * minibuffer.h: fix typo
13675
13676         * debug.h:
13677         * debug.C:
13678         * WorkArea.C: add and use Debug::WORKAREA
13679
13680         * lyxtext.h:
13681         * text.C:
13682         * text2.C: code re-organisation, inline helpers
13683
13684 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13685
13686         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13687         std::vector.empty().
13688
13689 2001-11-09  Allan Rae  <rae@lyx.org>
13690
13691         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13692         '\n's after tables.  Tabular and ERT inset work now makes this no
13693         longer necessary.
13694
13695 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * minibuffer.h:
13698         * minibuffer.C: fix crash, improve drop-down completion
13699
13700 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * lyxserver.h:
13703         * lyxserver.C: invalidate fd's when doing endPipe()
13704
13705 2001-11-08  José Matos  <jamatos@fep.up.pt>
13706
13707         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13708         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13709
13710         * paragraph.h:
13711         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13712
13713 2001-11-07  José Matos  <jamatos@fep.up.pt>
13714
13715         * buffer.h:
13716         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13717         const qualifier.
13718
13719         * buffer.C (sgmlOpenTag):
13720         * buffer.C (sgmlCloseTag): removed debug info.
13721
13722         * buffer.h (sgmlOpenTag):
13723         * buffer.h (sgmlCloseTag): made public.
13724
13725 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * buffer.C (saveParamsAsDefaults):
13728         * lyx_cb.C (MenuLayoutSave): remove
13729
13730         * LyXAction.C (init):
13731         * commandtags.h:
13732         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13733
13734 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * buffer.C (setPaperStuff): removed from here...
13737
13738         * bufferparams.C (setPaperStuff): ... and moved there.
13739
13740 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * minibuffer.h:
13743         * minibuffer.C:
13744         * XFormsView.C: add support for drop-down completion
13745
13746 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13749         commands.
13750
13751 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13754         disabled.
13755
13756 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * lyx_main.C: change ref to known bugs
13759
13760 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13761
13762         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13763         to work around older babel problems.
13764
13765 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13766
13767         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13768
13769 2001-10-24  Juergen Vigna  <jug@sad.it>
13770
13771         * tabular-old.C (ReadOld): below variable changes reflected.
13772
13773         * tabular.[Ch]: added ltType struct for longtable header/footer
13774         defines and changed all instances where they are used. Added
13775         future support for double top/bottom rows.
13776
13777 2001-10-24  José Matos  <jamatos@fep.up.pt>
13778
13779         * buffer.h (docbookHandleCaption):
13780         * buffer.C (docbookHandleCaption): removed unused function.
13781         (makeDocBookFile): moved docbook supported version to v4.1.
13782
13783 2001-10-24  José Matos  <jamatos@fep.up.pt>
13784
13785         * tabular.h:
13786         * tabular.C (docbookRow): new function to export docbook code of a row.
13787         (DocBook): now honors the longtable flags.
13788
13789 2001-10-23  José Matos  <jamatos@fep.up.pt>
13790
13791         * LaTeXFeatures.h:
13792         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13793         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13794
13795         * buffer.C (makeLinuxDocFile):
13796         (makeDocBookFile): reworked the preamble, more clean, and with
13797         support for lyx defined entities. Changed the document declaration
13798         to be more XML friendly.
13799
13800         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13801         if we need to output XML that should be done with a filter.
13802
13803 2001-10-22  Juergen Vigna  <jug@sad.it>
13804
13805         * sp_pspell.h (class PSpell): add alive function needed in the
13806         controller to see if the spellchecker could be started.
13807
13808 2001-10-22  Juergen Vigna  <jug@sad.it>
13809
13810         * buffer.C (insertStringAsLines): modify the font for inserting
13811         chars in certain conditions by calling checkInsertChar(font).
13812
13813 2001-10-19  Juergen Vigna  <jug@sad.it>
13814
13815         * text.C (workWidth): use getRow instead of wrong algorithm.
13816         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13817
13818 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * lyxserver.h:
13821         * lyxserver.C:
13822         * lyx_main.h:
13823         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13824
13825 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * text.C (workWidth): do not search for the exact row when
13828         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13829         optimization for big documents.
13830
13831 2001-10-18  Juergen Vigna  <jug@sad.it>
13832
13833         * text.C (workWidth): new function with added Inset * parameter.
13834
13835 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13838
13839         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13840         change return type of getColumnNearX.
13841
13842
13843         * text.C (changeRegionCase): use uppercase/lowercase instead of
13844         toupper/tolower.
13845         (leftMargin):
13846         (rightMargin): simplify code by factoring out the uses of
13847         textclasslist.
13848         (labelFill):
13849         (numberOfHfills):
13850         (setHeightOfRow):
13851         (appendParagraph): use Paragraph::size_type
13852
13853 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * vspace.C (asLatexString): add a missing break
13856
13857 2001-10-15  Herbert Voss  <voss@perce.de>
13858
13859         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13860
13861 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13864         is not available.
13865
13866 2001-10-10  André Pönitz <poenitz@gmx.net>
13867
13868         * lyxfunc.C: removed greek_kb_flag.
13869
13870 2001-10-10  Herbert Voss  <voss@perce.de>
13871
13872         * lyx_main.C: delete global string help_lyxdir.
13873
13874 2001-10-09  Herbert Voss  <voss@perce.de>
13875
13876         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13877
13878         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13879
13880         * lyx_main.C: added global string help_lyxdir.
13881
13882         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13883
13884 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13885
13886         * lyxrc.C (set_font_norm_type): support iso8859-4
13887
13888 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13889
13890         * LaTeX.C (deplog): add another regex for MikTeX
13891
13892 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13893
13894         * lyxrc.C (set_font_norm_type): support iso8859-3
13895
13896 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13899
13900         * LaTeXFeatures.C: remove special case of french and index
13901
13902         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13903         before \begin{document}). This solves several incompatibilities.
13904
13905 2001-10-03  Garst Reese  <reese@isn.net>
13906
13907         * lyx_cb.C: change CheckTex error msg.
13908
13909 2001-10-03  José Matos  <jamatos@fep.up.pt>
13910
13911         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13912
13913 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * .cvsignore: update
13916
13917         * lyx_main.C (commandLineVersionInfo): use new style version info.
13918
13919         * buffer.C (writeFile):
13920         (makeLaTeXFile):
13921         (makeLinuxDocFile):
13922         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13923
13924         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13925
13926         * version.h: update to use stuff in version.C
13927
13928         * version.C.in: new file. Contains version information determined
13929         at compile time. This is a merging of version.h and
13930         version_info.h.in.
13931
13932 2001-10-03  Juergen Vigna  <jug@sad.it>
13933
13934         * BufferView_pimpl.C (update): don't change "dirty" status in
13935         updateInset call.
13936
13937 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * WorkArea.C (c-tor): re-position version string slightly.
13940
13941 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13944         revert to previous code.
13945
13946         WorkArea.[Ch]: (show, destroySplash): methods removed.
13947
13948         WorkArea.C: rework code so that it's an amalgam of the codes before and
13949         after the splash screen was moved to WorkArea.
13950
13951 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * lyxrc.C (read):
13954         * vspace.C (inPixels):
13955         (lyx_advance):
13956         * kbmap.C (bind):
13957         * buffer.C (insertStringAsLines):
13958         (asciiParagraph): fix types to be large enough
13959
13960         * lyxlex_pimpl.h: change member status from short to int
13961
13962         * layout.h: fix type of endlabeltype
13963
13964         * kbmap.C (bind):
13965         * kbsequence.C (parse): change return type to string::size_type
13966
13967         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13968         variable
13969
13970         * Bullet.C (bulletSize):
13971         (bulletEntry): do not use short ints as parameters
13972
13973         * BufferView2.C (insertLyXFile): change a char to an int.
13974
13975         * WorkArea.C (WorkArea): remove unneeded floats in computation
13976
13977 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13978
13979         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13980
13981         * paragraph.C (asString): Do not ignore newline/hfill chars when
13982         copying to the clipboard.
13983
13984 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13987         after a multi-line inset.
13988
13989 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13990
13991         * paragraph.C (validate): Set NeedLyXFootnoteCode
13992
13993 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13994
13995         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13996         and decrease-error to decrease.
13997
13998 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13999
14000         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14001         it more readable (should be equivalent)
14002
14003 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14004
14005         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14006
14007 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14008
14009         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14010         of a cursor (row, etc.) after a character has been deleted
14011         (deleteEmptyParagraphMechanism): call the method above on _all_
14012         cursors held by the LyXText when a double space has been
14013         detected/deleted.
14014
14015 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14016
14017         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14018         pixmap.
14019         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14020
14021         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14022         background. Use greyOut() and the new show() methods to toggle between
14023         the foreground and background. Add code to remove the splash after
14024         its initial showing.
14025
14026         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14027         (create_forms): no longer call Dialogs::showSplash.
14028
14029 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14030
14031         * .cvsignore: add version_info.h
14032
14033 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14034
14035         * version_info.h.in: new file
14036
14037         * Makefile.am: add version_info.h.in
14038
14039         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14040         version_info.h instead of VERSION_INFO
14041
14042 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14045         The ERT inset now returns string().
14046
14047 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * lyxtext.h, text.C (selectNextWord): renamed as
14050         selectNextWordToSpellcheck.
14051
14052         * text.C (selectNextWordToSpellcheck): Modified to not select
14053         words inside an ERT inset.
14054
14055 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * lyx_cb.C (MenuLayoutSave): change a bit the question
14058
14059         * sp_base.h: include <sys/types.h>
14060
14061 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14062
14063         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14064
14065 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14066
14067         * several files: fix typos in user-visible strings
14068
14069 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * text2.C (pasteSelection): do not set the selection, since it
14072         will be cleared later. Actually, the intent was to fix the way the
14073         selection was set, but I figured rmoving the code was just as good.
14074
14075 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * FontLoader.C (available): Check if font is available without
14078         loading the font.
14079
14080 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14081
14082         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14083
14084 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * lyxrc.[Ch]: added display_graphics variable and associated code.
14087
14088 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * bufferparams.C (hasClassDefaults): new method. Returns true if
14091         the buffer parameters correspond to known class defaults
14092
14093 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14094
14095         * XFormsView.C (show): set minimum size to the main window.
14096
14097 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14098
14099         * text2.C (copySelection):
14100         (cutSelection):
14101         * lyxfind.C (LyXReplace):
14102         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14103         LyXText::selectionAsString.
14104
14105         * paragraph.C (asString): add "label" argument to the second form
14106
14107         * text2.C (selectionAsString): add "label" argument and pass it to
14108         Paragraph::asString.
14109
14110 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14111
14112         * lyx_main.C (commandLineHelp): remove version information
14113
14114 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14115
14116         * lyx_main.C: add -version commandline option
14117
14118 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * paragraph.h: make the optional constructor arg required instead.
14121         some modifications to other files because of this.
14122
14123         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14124
14125         * lyxserver.C (C_LyXComm_callback): make it static
14126
14127         * lyx_main.C (error_handler): make it static
14128
14129         * lyx_gui.C (LyX_XErrHandler): make it static
14130
14131         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14132
14133         * WorkArea.C: make the extern "C" methods static.
14134
14135         * Makefile.am (lyx_LDADD): simplify
14136
14137 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14138
14139         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14140         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14141
14142         * LyXAction.C (init):
14143         * lyxfunc.C (dispatch): associated code removal.
14144
14145 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * lyxfont.h (isSymbolFont): shut off warning
14148
14149         * text.C (setHeightOfRow):
14150         (getVisibleRow): fix crash with empty paragraphs which have a
14151         bottom line
14152
14153 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14154
14155         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14156         code.
14157
14158 2001-09-04  José Matos  <jamatos@fep.up.pt>
14159         * buffer.C
14160         * buffer.h
14161         * tabular.C (docbook): rename docBook method to docbook.
14162
14163 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * Makefile.am: add dependencies to main.o.
14166
14167 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * FontLoader.C (available): Return false if !lyxrc.use_gui
14170
14171 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14172
14173         * FontInfo.C (query):
14174         * converter.C (view):
14175         * importer.C (Import):
14176         * exporter.C (Export): Can not -> cannot.
14177
14178 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * BufferView_pimpl.C: allow to create index inset even if
14181           string is empty
14182
14183 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14184
14185         * buffer.C (getLists): replace boost::tie code with an explicit pair
14186         as boost::tie can break some compilers.
14187
14188         * iterators.h: Added a std:: declaration to the return type of
14189         ParIterator::size.
14190
14191 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14192
14193         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14194           case.
14195
14196 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14197
14198         * iterators.[Ch]: New files. Provide paragraph iterators.
14199
14200         * buffer.C (changeLanguage): Use paragraph iterators.
14201         (isMultiLingual): ditto
14202
14203         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14204
14205 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * FontLoader.C: Support for cmr font.
14208
14209 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14212         (available): New method.
14213
14214         * FontInfo.C (getFontname): Use scalable fonts even when
14215         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14216         found.
14217
14218 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         * converter.C (Formats::view): reverted! Incorrect fix.
14221
14222 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14223
14224         * converter.C (Formats::view): only output the -paper option
14225         if the dvi viewer is xdvi, thereby fixing bug #233429.
14226
14227 2001-08-23  Herbert Voss  <voss@perce>
14228
14229         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14230
14231 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * Spacing.h (Spacing): Set space to Default on in the default
14234         constructor.
14235
14236 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14237
14238         * vc-backend.h (RCS::versionString): add RCS to version
14239         (CVS::versionString): add CVS to version
14240
14241         * vc-backend.C (scanMaster): do not add CVS to version.
14242         (scanMaster): do not add RCS to version
14243
14244         * lyxvc.C (versionString): new method
14245
14246         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14247
14248 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * Spacing.C (set): initialize fval
14251
14252 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14253
14254         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14255         " or \.
14256
14257 2001-08-16  Juergen Vigna  <jug@sad.it>
14258
14259         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14260
14261 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * BufferView_pimpl.C:
14264         * figureForm.C:
14265         * lyxtext.h:
14266         * text2.C: setParagraph takes linespacing now
14267
14268 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * LyxAction.C: add internal LFUN_CITATION_INSERT
14271
14272         * LyXView.C: actually apply fix
14273
14274         * bufferlist.C: fix open non-existent file
14275
14276         * lyxfind.C: fix indentation
14277
14278         * lyxfunc.C: remove unneeded assert, fix typo
14279
14280 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * MenuBackend.C: use "Floatname List"
14283
14284 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14285
14286         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14287         when converting LaTeX layout to insetERT.
14288         Generate a non-collapsed float when reading old float
14289
14290 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14291
14292         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14293         ERT insets.
14294
14295 2001-08-13  Juergen Vigna  <jug@sad.it>
14296
14297         * text.C (fill): return 0 instead of 20 as this seems to be the more
14298         correct value.
14299
14300 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14303         lyxrc.font_norm.
14304
14305 2001-08-13  Juergen Vigna  <jug@sad.it>
14306
14307         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14308         casesensitive off.
14309         (SearchBackward): comment out the unlocking of the inset_owner this
14310         should not be needed!
14311
14312 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14313
14314         * Many files: Remove inherit_language, and add latex_language
14315
14316         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14317         collapsible insets.
14318
14319 2001-08-10  Juergen Vigna  <jug@sad.it>
14320
14321         * text.C (prepareToPrint): fixed hfill-width in draw!
14322
14323         * BufferView2.C (selectLastWord): save the selection cursor as this
14324         now is cleared in the function LyXText::clearSelection!
14325
14326 2001-08-08  Juergen Vigna  <jug@sad.it>
14327
14328         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14329         BACKSPACE type functions.
14330
14331         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14332         is only cutted from the document but not put in the cut-buffer, where
14333         still the old stuff should be.
14334
14335         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14336
14337         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14338
14339         * tabular.C (SetWidthOfCell): fixed special case where the width
14340         was not updated!
14341         (LeftLine): handle '|' in align_special.
14342         (RightLine): ditto
14343         (LeftAlreadyDrawed): ditto
14344         (SetWidthOfCell): ditto
14345
14346 2001-08-07  Juergen Vigna  <jug@sad.it>
14347
14348         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14349
14350 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14353         * lyxlex.[hC]: ditto
14354
14355 2001-08-06  Juergen Vigna  <jug@sad.it>
14356
14357         * text.C (getVisibleRow): fix up row clearing a bit.
14358
14359 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * minibuffer.C: make sure the X server sees the changes in the input.
14362
14363 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * paragraph.C (getFont): split into...
14366         (getLabelFont): this
14367         (getLayoutFont): and this
14368         * paragraph_pimpl.C (realizeFont): calling this
14369
14370         * text2.C (getFont): split into...
14371         (getLayoutFont): this
14372         (getLabelFont): and this
14373         (realizeFont): all three calling this
14374
14375         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14376         files where used.
14377
14378 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14381
14382 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14383
14384         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14385         layouts from the Quote inset insertion.
14386
14387 2001-08-03  Juergen Vigna  <jug@sad.it>
14388
14389         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14390
14391         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14392         only if status not is already CHANGED_IN_DRAW (second level).
14393
14394         * text.C (draw): don't set the need_break_row when inside an
14395         InsetText LyXText.
14396
14397 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14398
14399         * buffer.C (parseSingleLyXformat2Token): handle more latex
14400         conversion cases.
14401
14402         * bufferview_funcs.[hC]: change function names to
14403         begin with small char, adjust other files.
14404
14405 2001-08-02  André Pönitz <poenitz@gmx.net>
14406
14407         * lyxfunc.C:
14408         BufferView_pimpl.C: remove broken special code for math-greek
14409
14410 2001-08-02  Juergen Vigna  <jug@sad.it>
14411
14412         * BufferView_pimpl.C (update): redone this function so that we
14413         update the text again if there was a CHANGE_IN_DRAW.
14414
14415         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14416         (drawFromTo): added a new internal bool which is used by draw() and
14417         redraw() function.
14418         (general): some cursor drawing problems fixed.
14419
14420 2001-08-01  Juergen Vigna  <jug@sad.it>
14421
14422         * lyxfind.C (LyXFind): fixed
14423         (SearchForward): ditto
14424         (SearchBackward): ditto
14425
14426         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14427         spurius drawing of the cursor in the main area.
14428
14429         * text2.C (status): small fix which could lead to a segfault!
14430         (clearSelection): remove unneeded BufferView param.
14431
14432 2001-08-01  André Pönitz <poenitz@gmx.net>
14433
14434         * lyxfunc.C: small change due to changed mathed interface
14435
14436 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14439
14440 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * lyxfunc.c: fail gracefully if file doesn't exist
14443
14444         * LyXSendto.C:
14445         * buffer.C:
14446         * lyxfunc.C:
14447         * BufferView_pimpl.C: IsDirWriteable() proto changed
14448
14449         * LyXView.C: fix updateWindowTitle() to store the last title
14450
14451 2001-07-31  Juergen Vigna  <jug@sad.it>
14452
14453         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14454         the font (wrong since using of Paragraph::highestFontInRange).
14455
14456         * paragraph.C (highestFontInRange): added a default_size parameter.
14457
14458         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14459         (setHeightOfRow): reformat
14460
14461 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * converter.[hC] + affected files: move to (inital-char)lowercase
14464         function names.
14465
14466         * ParagraphParameters.C (ParagraphParameters): remove commented code
14467
14468         * PainterBase.[Ch]: remove commented code
14469
14470         * LaTeXFeatures.h: add "bool floats" for float.sty
14471
14472         * LaTeXFeatures.C (LaTeXFeatures): init floats
14473         (require): handle float
14474         (getPackages): do it with floats
14475
14476 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14477
14478         * BufferView_pimpl.C (Dispatch): improve handling of
14479         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14480
14481         * commandtags.h: #include lyxfont.h here temporarily to avoid
14482         keybinding bug.
14483
14484         * bufferlist.h: include LString.h here.
14485
14486 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14487
14488         * text2.C (getStringToIndex): new method.
14489
14490 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14491
14492         * *: Reduced header file dependencies all over.
14493
14494 2001-07-30  Baruch Even  <baruch@lyx.org>
14495
14496         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14497
14498 2001-07-29  Baruch Even  <baruch@lyx.org>
14499
14500         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14501
14502 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14503
14504         * ParameterStruct.h (endif): add a default constructor to make
14505         sure that all variables is initialized.
14506
14507         * ParagraphParameters.C (ParagraphParameters): adjust
14508
14509 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14512         index; also, check that there is something to index, and that it
14513         does not span over several paragraphs.
14514         (doubleClick): use WHOLE_WORD_STRICT for double click.
14515
14516         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14517
14518         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14519         scheme.
14520
14521 2001-07-26  Baruch Even  <baruch@lyx.org>
14522
14523         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14524         an InsetFig figure, backwards compatible reading of old figure code.
14525
14526 2001-07-27  Juergen Vigna  <jug@sad.it>
14527
14528         * text2.C: font.realize function adaption.
14529
14530         * text.C (draw): add a warnings lyxerr text if needed.
14531
14532         * layout.C: font.realize function adaption.
14533
14534         * language.C: add inherit_language and implement it's handlings
14535
14536         * bufferview_funcs.C (StyleReset): remove language parameter from
14537         font creation (should be language_inherit now).
14538
14539         * bufferparams.C (writeFile): handle ignore_language.
14540
14541         * paragraph.C (getFontSettings): the language has to be resolved
14542         otherwise we have problems in LyXFont!
14543
14544         * lyxfont.C (lyxWriteChanges): added document_language parameter
14545         (update): removed unneeded language parameter
14546
14547         * paragraph.C (validate): fixed wrong output of color-package when
14548         using interface colors for certain fonts in certain environments,
14549         which should not seen as that on the final output.
14550
14551 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14552
14553         * BufferView_pimpl.C:
14554         * Thesaurus.h:
14555         * Thesaurus.C:
14556         * Makefile.am:
14557         * commandtags.h:
14558         * LyXAction.C: add thesaurus support
14559
14560         * lyxfind.h:
14561         * lyxfind.C: add "once" parameter, for thesaurus, to not
14562           move to the next match
14563
14564 2001-07-26  Juergen Vigna  <jug@sad.it>
14565
14566         * lyxfont.C (realize): honor ignore_language too!
14567         (resolved): ditto.
14568
14569         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14570
14571         * text.C (draw): one place more for ignore_language to not draw
14572         itself!
14573
14574 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14575
14576         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14577
14578 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14581         the minipage conversion problem.
14582
14583 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14584
14585         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14586         insert an inset.
14587
14588 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * BufferView.h: don't forward declare WorkArea
14591
14592         * BufferView.C: don't include WorkArea.h
14593
14594 2001-07-25  André Pönitz <poenitz@gmx.net>
14595
14596         * commandtags.h:
14597         * LyXAction.C:
14598         * lyxfunc.C:  new LFUN 'math-space'
14599
14600         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14601
14602 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * text2.C (toggleInset): call open/close
14605
14606 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * lyxfunc.C (dispatch): add debug for the disabled case
14609
14610         * font.C (buttonText): make similar to rectText
14611
14612         * buffer.C (readInset): comment out parsing of insetlist and
14613         insttheorem
14614
14615         * PainterBase.C (rectText): small correction
14616
14617         * BufferView_pimpl.C: comment out insettheorem and insetlist
14618         * LyXAction.C: ditto
14619         * commandtags.h: ditto
14620
14621 2001-07-24  Juergen Vigna  <jug@sad.it>
14622
14623         * text.C (draw): honor the ignore_language.
14624
14625         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14626
14627 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14630         char inset.
14631
14632 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14633
14634         * lyxtext.h: remove unused (and unimplemented) methods
14635
14636 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14637
14638         * text.C (getVisibleRow): honor background color
14639
14640         * PainterBase.h:
14641         * Painter.h: remove default color argument for fillRectangle
14642
14643         * text.C (backgroundColor): new method
14644
14645 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * text.C (getVisibleRow): adjust
14648
14649         * font.[Ch] (rectText): new method, metrics
14650         (buttonText): new method, metrics
14651
14652         * PainterBase.[hC]: make rectText and buttonText always draw and take
14653         fewer paramteres.
14654
14655 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14656
14657         * ToolbarDefaults.C (read):
14658         * MenuBackend.C (read): allow escaping in all strings
14659
14660         * BufferView_pimpl.C (insertAndEditInset): new method.
14661         (Dispatch): use insertAndEditInset whenever appropriate.
14662
14663         * BufferView_pimpl.C (insertNote): removed
14664
14665         * BufferView_pimpl.C (smartQuote): new method, moved from
14666         BufferView; if an insetquote cannot be inserted, insert a '"'
14667         character instead.
14668
14669         * BufferView2.C: remove insertCorrectQuote();
14670
14671         * lyxfunc.C (getStatus): Add support for all remaingin
14672         inset-insert lfuns.
14673
14674         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14675
14676         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14677         command (necessary to pass " as parameter of self-insert.
14678
14679         * text.C (selectWordWhenUnderCursor):
14680         (selectWord): add word_location parameter
14681         (selectWordWhenUnderCursor): same + remove special code for word
14682         boundary.
14683         (selectNextWord): use kind() to guess type of insetspecialchar,
14684         not latex().
14685
14686         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14687         (insertErtContents): create ert insets as collapsed.
14688         (readInset): better compatibility code for Info inset.
14689
14690 2001-07-20  Juergen Vigna  <jug@sad.it>
14691
14692         * lyxfunc.C (dispatch): use always LyXFind now!
14693
14694         * text2.C (init): add a reinit flag so that the LyXText can be
14695         reinited instead of deleted and reallocated (used in InsetText).
14696
14697         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14698
14699         * text.C: ditto
14700
14701         * text2.C: ditto
14702
14703 2001-07-18  Juergen Vigna  <jug@sad.it>
14704
14705         * text.C (selectNextWord): handle insets inside inset by calling
14706         always the bv->text functions so that we can go up the_locking_inset!
14707
14708         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14709         in strange locations when inside an inset!
14710
14711         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14712         handling to include insets.
14713
14714         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14715
14716 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14717
14718         * LyXAction.C (init):
14719         * commandtags.h:
14720         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14721         LIGATURE_BREAK, since the name is so stupid.
14722
14723 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14724
14725         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14726         InsetInfos.
14727
14728         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14729
14730         * sp_form.[Ch]: remove.
14731
14732         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14733
14734         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14735         InsetInfo.
14736
14737         * src/buffer.C (readInset): ditto.
14738
14739 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14740
14741         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14742         menuSeparator(), endOfSentenceDot(), ldots() and
14743         hyphenationPoint(), which are therefore removed.
14744         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14745
14746         * LyXAction.C (init):
14747         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14748
14749         * paragraph.C (getWord): removed.
14750
14751         * BufferView_pimpl.C (Dispatch): use last word or selection for
14752         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14753
14754         * lyx_main.C (queryUserLyXDir): do not ask before creating
14755         user_dir, except if it has been named explicitely.
14756
14757 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14758
14759         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14760         a document of zero size.
14761
14762 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14763
14764         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14765         approriately in the c-tor and in require().
14766         (getPackages): output the appropriate LaTeX for natbib support.
14767
14768         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14769         variables "use_natbib" and "use_numerical_citations" when reading the
14770         LyX file.
14771         (readInset): read the various natbib cite commands.
14772         (validate): white-space change.
14773
14774         * bufferparams.[Ch]: new variables "bool use_natbib" and
14775         "bool use_numerical_citations".
14776         (writeFile): output them in the LyX file.
14777
14778 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14779
14780         * lyxfunc.C (getStatus): add support for all the inset insertion
14781         commands.
14782
14783         * text2.C (insertInset):
14784         * paragraph.C (insetAllowed):
14785         * BufferView_pimpl.C (insertInset): update to take in account the
14786         renaming of insertInsetAllowed
14787
14788         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14789
14790         * text2.C (getInset): new method. returns inset at cursor position.
14791
14792         * BufferView_pimpl.C (Dispatch): changes because of this.
14793
14794         * LyXAction.C (init): rename open-stuff to inset-toggle.
14795
14796         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14797
14798         * text2.C (toggleInset): renamed from openStuff; use
14799         Inset::open().
14800
14801 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14802
14803         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14804
14805         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14806
14807 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14808
14809         * buffer.C (readLyXformat2): Add filename to the error dialog
14810
14811 2001-07-18  Juergen Vigna  <jug@sad.it>
14812
14813         * tabular.C (GetCellNumber): put an assert here instead of the check!
14814
14815 2001-07-17  Juergen Vigna  <jug@sad.it>
14816
14817         * BufferView_pimpl.C (toggleSelection): adapted too.
14818
14819         * text.C (selectNextWord): adapted for use with insets.
14820         (selectSelectedWord): ditto
14821
14822 2001-07-17  Juergen Vigna  <jug@sad.it>
14823
14824         * sp_spell.C (PSpell): fix initialitation order.
14825
14826 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * paragraph.C: spacing
14829
14830 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14831
14832         * sp_spell.C: repair language selection for pspell
14833
14834 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14835
14836         * lyxfunc.h: change more methods to begin with lower char.
14837
14838 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14839
14840         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14841         for unknown layouts.
14842
14843 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * buffer.C (readLyXformat2): Generate an error dialog if there are
14846         unknown layouts.
14847
14848 2001-07-16  Juergen Vigna  <jug@sad.it>
14849
14850         * sp_spell.C: always compile ISpell part.
14851
14852         * lyxrc.C: added use_pspell entry and it's handling.
14853
14854 2001-07-13  Juergen Vigna  <jug@sad.it>
14855
14856         * sp_spell.C: removed double includes.
14857
14858 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14859
14860         Consistent use of Lsstream.h:
14861         * Lsstream.h: added using std::stringstream for consistencies sake.
14862
14863         * buffer.C: removed using std::stringstream
14864
14865         * lyxfont.C (stateText):
14866         * paragraph.C (asString):
14867         * text.C (selectNextWord, selectSelectedWord):
14868         * text2.C (setCounter):
14869         * vspace.C (asString, asLatexString):
14870         std::ostringstream -> ostringstream.
14871
14872 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14873
14874         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14875         * commandtags.h: add LFUN_HELP_ABOUTLYX
14876         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14877
14878 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14879
14880         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14881         cursorToggle()
14882         * lyx_gui_misc.C: remove spellchecker
14883         * lyxfunc.C: showSpellchecker
14884         * sp_base.h: added
14885         * sp_ispell.h: added
14886         * sp_pspell.h: added
14887         * sp_spell.C: added
14888         * sp_form.[Ch]: removed
14889         * spellchecker.[Ch]: removed
14890
14891 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14892
14893         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14894         is set.
14895         (simpleTeXSpecialChars): Simply print the input character without
14896         any special translation if pass_thru is set.
14897
14898         * layout.h: Added bool pass_thru to layout class for being able to
14899         implement pass through of a paragraph for Literate Programming.
14900
14901         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14902         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14903         * layout.C (Read): add "passthru" to list of layout tags and add
14904         code to set the pass_thru boolean when it is read.
14905
14906 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14907
14908         * trans_decl.h: remove allowed from KmodInfo
14909
14910         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14911         remove allowed code
14912         (Load): adjust
14913
14914         * paragraph_pimpl.C (erase): use boost::prior
14915
14916         * Painter.C (text): use data() instead of c_str() when length is
14917         also provided.
14918         * WorkArea.C (putClipboard): ditto
14919         * font.h (width): ditto
14920
14921         * BufferView2.C: use it-> instead of (*it). for iterators
14922         * texrow.C: ditto
14923         * paragraph_pimpl.C: ditto
14924         * paragraph.C: ditto
14925         * minibuffer.C: ditto
14926         * language.C: ditto
14927         * kbmap.C: ditto
14928         * encoding.C: ditto
14929         * counters.C: ditto
14930         * converter.C: ditto
14931         * chset.C: ditto
14932         * Variables.C: ditto
14933         * TextCache.C: ditto
14934         * MenuBackend.C: ditto
14935         * LyXAction.C: ditto
14936         * LColor.C: ditto
14937         * FloatList.C: ditto
14938         * DepTable.C: ditto
14939         * ColorHandler.C (LyXColorHandler): ditto
14940
14941 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14944
14945         * text2.C (openStuff): reintroduce this method (which had been
14946         nuked in NEW_INSETS frenzy).
14947
14948         * lyxfunc.C (Dispatch): when an action has not been handled, use
14949         its name in the error message, not its number.
14950
14951         * paragraph.C (inInset): change method name to begin with lowercase.
14952
14953         * undo_funcs.C:
14954         * text2.C: updates because of this.
14955
14956 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * ToolbarDefaults.C (add): add spaces in error message
14959
14960 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14963         (readLyXformat2): rename return_par to first_par, use lyxlex's
14964         pushToken and remove the manual push handling.
14965         (parseSingleLyXformat2Token): add another ert comp. variable:
14966         in_tabular, rename return_par to first_par. handle newlines better
14967
14968 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14971
14972 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14973
14974         * text2.C (getParFromID): removed
14975
14976         * buffer.C (getParFromID): new method moved form lyxtext.
14977         * BufferView2.C (insertErrors): adjust
14978         (setCursorFromRow): adjust
14979         * BufferView_pimpl.C (restorePosition): adjust
14980         * lyxfunc.C (Dispatch): adjust
14981         * undo_funcs.C (textUndo): adjust
14982         (textRedo): adjust
14983         (textHandleUndo): adjust
14984         (textHandleUndo): adjust
14985
14986 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * buffer.C: up' the LYX_FORMAT
14989
14990         * lyxfont.h: turn NO_LATEX on as default
14991
14992         * buffer.C (insertErtContents): new methods of tex style compability.
14993         (parseSingleLyXformat2Token): use it several places.
14994         * tabular.C (OldFormatRead): and here
14995
14996 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * text2.C: remove some commented code.
14999         reindent file.
15000
15001         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15002         * trans.C: changes because of the above.
15003
15004 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15005
15006         * text2.C (setCounter): Fix counters bug with bibliography layout.
15007
15008 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15009
15010         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15011         own member functions
15012         (simpleTeXSpecialChars): ditto
15013
15014 2001-07-06  Juergen Vigna  <jug@sad.it>
15015
15016         * a lot of files: changed the access to LyXText::status and the
15017         call of undo-functions.
15018
15019         * undo.[Ch]: added a inset_id to the undo informations.
15020
15021         * undo_funcs.[Ch]: added and moved here all undo functions.
15022
15023         * lyxtext.h: give the status enum a weight, made status_ a private
15024         variable and made accessor functions for it, removed the whole bunch
15025         of undo-functions as they are now in their own file, make some
15026         functions publically available. Added function ownerParagraph with
15027         int parameter.
15028
15029         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15030         made InInset() a const function, added getParFromID() function.
15031
15032         * buffer.[Ch]: added const version for inset_iterator functions,
15033         added getInsetFromID() function.
15034
15035         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15036         changed undo functions for new version.
15037
15038 2001-07-05  Juergen Vigna  <jug@sad.it>
15039
15040         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15041         unknow mechanism does not call the proper constructor but only this
15042         one also if I request the other!?
15043
15044 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15047
15048         * text2.C (LyXText): use initialization lists.
15049
15050         * lyxtext.h (Selection): initialize set_ and mark_
15051         (init): remove method
15052
15053 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15054
15055         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15056
15057 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * screen.[Ch]: change method names to begin with lowercase
15060
15061         * BufferView_pimpl.C (updateScrollbar): simplify further and
15062         hopefully make it a bit faster.
15063
15064 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15067         calling directly xforms functions.
15068
15069         * Painter.C (Painter):
15070         * lyx_cb.C (MenuWrite):
15071         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15072         fl_display.
15073
15074         * lyx_gui.C: remove bogus guiruntime extern declaration.
15075
15076 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15077
15078         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15079         in NEW_INSETS
15080         (redoDrawingOfParagraph): ditto
15081         (redoParagraphs): ditto
15082         (cutSelection): don't create a object for CutAndPaste use the
15083         static method directly
15084         (pasteSelection): ditto
15085
15086         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15087         LyXview (+ rename)
15088
15089 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * modifications to some other files because of this.
15092
15093         * Makefile.am (lyx_SOURCES): add XFormsView
15094
15095         * XFormsView.[Ch]: new files
15096
15097         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15098         the main window. Move the gui dependent stuff to XFormsView
15099
15100 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15101
15102         * tabular.C (GetCellInset): update cur_cell also in the row/col
15103         version of this function.
15104
15105         * lyxfunc.C: no need to include figure_form.h here.
15106
15107         * FontLoader.h:
15108         * lyxfunc.h:
15109         * lyxscreen.h:
15110         * text2.C:
15111         * lyxvc.C: no need to include forms.h here.
15112
15113 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15116
15117         * lyxfunc.C (Dispatch):
15118         * Spacing.C (set):
15119         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15120         constructor argument.
15121
15122 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * paragraph.C (Paragraph): dont't clear, and just set layout.
15125         (makeSameLayout): use params's copy contructor.
15126
15127         * ParagraphParameters.[Ch] (makeSame): delete method
15128
15129 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * Variables.[Ch]: fix indentation, rename set to isSet
15132
15133 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * lyxfunc.C (Dispatch): fix typo
15136
15137 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15138
15139         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15140         upper_bound.
15141
15142         * bufferlist.C: include assert.h for emergencyWrite().
15143
15144 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15147           give up at last (bug #425202) !
15148
15149 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * lyx_gui_misc.C:
15152         * sp_form.h:
15153         * sp_form.C:
15154         * spellchecker.h:
15155         * spellchecker.C: strip spellchecker options and bring up
15156           preferences tab instead
15157
15158 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15161         the istringstream constructor
15162
15163 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * paragraph.C (getLayout): fix return value
15166
15167         * paragraph.h: do not declare getLayout as inline.
15168
15169         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15170
15171 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * lyxcursor.h (operator<): new func
15174         (operator>): new func
15175         (operator>=): new func
15176         (operator<=): new func
15177
15178         * text.C (changeCase): use selection.start and selection.end
15179         (changeRegionCase): require from to be <= to. Require par to be a
15180         valid paragraph.
15181
15182         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15183
15184 2001-06-27  Juergen Vigna  <jug@sad.it>
15185
15186         * text.C (cursorLeftOneWord): changed to return the cursor and added
15187         overlay with BufferView * parameter which calls this one.
15188         (getWord): added
15189         (selectWord): use new getWord function.
15190         (changeCase): renamed from changeWordCase as and extended to work
15191         also on selections.
15192
15193         * lyxtext.h: added enum word_location
15194
15195         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15196         changeCase as this operates now also on selections.
15197
15198 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15199
15200         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15201
15202         * many files: send debug output to Debug::INFO instead of
15203         Debug::ANY.
15204
15205         * converter.C (View):
15206         (Convert):
15207         (Move): send debug output to Debug::FILES instead of console.
15208
15209 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15210
15211         * lyxfunc.C (getStatus): use func_status
15212
15213         * func_status.h: new header, describing the results of
15214         LyXFunc::getStatus;
15215
15216         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15217         LFUN_MATH_HALIGN.
15218
15219 2001-06-25  The LyX Project  <jug@sad.it>
15220
15221         * buffer.C (sgmlOpenTag):
15222         (sgmlCloseTag):
15223         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15224
15225 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * text2.C: remove some dead code
15228
15229         * tabular.C (GetCellInset): store the last cell checked (gotten)
15230
15231         * tabular.h: add the helper for the speedup
15232
15233         * lyxtext.h: remove some dead code
15234
15235 2001-06-26  The LyX Project  <Asger>
15236
15237         * paragraph.C: Change export to LaTeX of alignment to
15238         \begin{center} and family for better roundtrip work with reLyX.
15239
15240         * Tune the math drawing a bit.
15241
15242 2001-06-25  The LyX Project  <Asger>
15243
15244         * LColor.C (LColor): New color for math background. New color
15245         for buttons.
15246
15247 2001-06-25  The LyX Project  <jug@sad.it>
15248
15249         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15250
15251         * lyxfunc.C (Open):
15252         * bufferlist.C (newFile): do not restrict to files ending with
15253         .lyx
15254
15255         * BufferView_pimpl.C (MenuInsertLyXFile):
15256
15257 2001-06-24  The LyX Project  <jug@sad.it>
15258
15259         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15260         of compare_no_case
15261
15262 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * lyxtext.h: rename most methods to begin with a small char.
15265         Lots of changes because of this.
15266
15267         * paragraph.C (Paragraph): do not call fitToSize
15268         (erase): call Pimpl::erase
15269         (insertChar): call Pimpl::insertChar
15270         (insertInset): call Pipl::insertInset
15271         (breakParagraph): do not call fitToSize
15272         (breakParagraphConservative): do not call fitToSize
15273         (fitToSize): remove method
15274
15275         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15276
15277 2001-06-24  The LyX Project  <Asger>
15278
15279         * Fix Qt compilation^2
15280
15281 2001-06-24  The LyX Project  <jug@sad.it>
15282
15283         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15284         depthHook(getDepth()-1).
15285
15286         * paragraph.h:
15287         * ParagraphParameters.h:
15288         * ParameterStruct.h: change type of depth to unsigned int ==
15289         depth_type. Many adaptations to other files before of that.
15290
15291 2001-06-24  The LyX Project  <Asger>
15292
15293         * Fix Qt compilation.
15294
15295 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15296
15297         * paragraph.h: renamed several methods to begin with small letter.
15298         several changes to many parts of the code because of this.
15299
15300 2001-06-23  The LyX Project  <jug@sad.it>
15301
15302         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15303         rewritten to discard all double spaces when KeepEmpty is off
15304         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15305         to only handle newlines but not fiddle with spaces and friends.
15306
15307         * lyxfunc.C (MenuNew): when doing 'new from template', use
15308         template_path as default directory
15309
15310 2001-06-23  The LyX Project  <Asger>
15311
15312         * Clean-up of header file includes all over
15313         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15314
15315 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15316
15317         * paragraph.h: renamed from lyxparagraph.h
15318
15319 2001-06-23  Asger  <lyx@violet.home.sad.it>
15320
15321         * Buffer.h: Removed Buffer::resize
15322         * BufferList.h: Removed BufferList::resize
15323         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15324         the document lazily when we change the width, or the font settings.
15325
15326 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15327
15328         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15329
15330 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15331
15332         * buffer.h: remove out of date comment
15333
15334 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15335
15336         * lyxscreen.h:
15337         * screen.C: fix "theoretical" GC leak
15338
15339 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15340
15341         * LaTeX.C (scanAuxFile):
15342         (deplog): remove trailing \r when reading stream (useful under
15343         win32)
15344
15345 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15346
15347         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15348         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15349         and BufferView::theLockingInset(Inset*), so should use them and not
15350         access bv_->text->the_locking_inset directly.
15351
15352         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15353
15354 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * Makefile.am:
15357         * tex-defs.h: remove old unused file
15358
15359 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * BufferView_pimpl.C: fix typo, remove minibuffer message
15362           when buffer has loaded
15363
15364 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15365
15366         * lyxfunc.C (Dispatch): use stringstream
15367         (MenuNew): use stringstream
15368         (Open): use stringstream
15369
15370         * importer.C (Import): use stringstream
15371
15372         * bufferview_funcs.C (CurrentState): use stringstream
15373
15374         * LaTeX.C (run): use stringstream
15375
15376         * BufferView_pimpl.C (savePosition): use stringstream
15377         (restorePosition): use stringstream
15378         (MenuInsertLyXFile): use stringstream
15379
15380 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15381
15382         * BufferView.C:
15383         * Bullet.C:
15384         * ColorHandler.C:
15385         * FontInfo.C:
15386         * FontLoader.C:
15387         * LColor.C:
15388         * LaTeXFeatures.C:
15389         * Painter.C:
15390         * gettext.C:
15391         * lyx_gui_misc.C:
15392         * lyxserver.C:
15393         * vspace.C: removed // -*- C++ -*- as first line.
15394
15395         * lyxfind.h:
15396         * version.h: added // -*- C++ -*- as first line.
15397
15398 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15401
15402         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15403         of string
15404
15405 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15406
15407         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15408         of floats.
15409
15410 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * gettext.C: include LString.h even when --disable-nls is on.
15413
15414 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15415
15416         * converter.h (Get): changed argument type from int to
15417         FormatList::size_type to avoid unnecessary conversion.
15418
15419         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15420         before using it.
15421
15422 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * gettext.h: include LString.h even when --disable-nls is on.
15425
15426 2001-06-07  Juergen Vigna  <jug@sad.it>
15427
15428         * text.C (BreakAgain): subst spaces with tabs.
15429
15430         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15431         (resizeInsetsLyXText): set force on resizeLyXText.
15432
15433 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15434
15435         * gettext.h (gettext_init):
15436         (locale_init): use a real definition instead of a macro
15437
15438 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15439
15440         * Bufferview_pimpl.C:
15441         * LColor.h:
15442         * LColor.C: further lcolor tidies
15443
15444 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15445
15446         * BufferView_pimpl.C (updateScrollbar): simplify.
15447
15448         * BufferView2.C: don't include insets/insetinfo.h, change
15449         prototype for insertInset and call the Pimpl version. let
15450         updateInset call Pimpl version.
15451
15452         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15453         gotoInset to BufferView::Pimpl
15454
15455 2001-06-01  Juergen Vigna  <jug@sad.it>
15456
15457         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15458         inside a LockingInset (is the update needed at all?).
15459
15460 2001-05-31  Juergen Vigna  <jug@sad.it>
15461
15462         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15463         here not the old one otherwise how should we compare it afterwards
15464         if it's the same!
15465
15466 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * lyxfont.C:
15469         * tabular.C:
15470         * tabular-old.C:
15471         * FontInfo.C: bring C functions into global namespace when
15472         necessary
15473
15474 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * LString.h: make sure config.h has been loaded before LString.h.
15477
15478         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15479         (one for each char read by EatLine!).
15480
15481         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15482         variables.
15483
15484 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15487         to the same as the par we break from
15488
15489 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15490
15491         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15492
15493         * MenuBackend.C (expand): also create menu entries for wide
15494         versions of the floats.
15495
15496         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15497
15498         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15499
15500         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15501         frontends/Makefile.am
15502
15503         * text2.C: adjust
15504         * text.C: adjust
15505
15506
15507         * tabular.C (getTokenValue): add std::
15508
15509         * tabular-old.C (getTokenValue): add std::
15510         (getTokenValue): ditto
15511         (getTokenValue): ditto
15512
15513         * screen.C (ToggleSelection): adjust
15514
15515         * lyxtext.h: put selection cursors inside a Selection struct.
15516
15517         * lyxfunc.C (moveCursorUpdate): adjust
15518
15519         * lyxfont.C (latexWriteStartChanges): add std::
15520
15521         * lyxfind.C: adjust
15522
15523         * font.h: delete with(char const *, LyXFont const &)
15524
15525         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15526
15527         * FontInfo.C (getFontname): add std::
15528
15529         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15530         (workAreaButtonPress): adjust
15531         (tripleClick): adjust
15532         (update): adjust
15533         (moveCursorUpdate): adjust
15534         (Dispatch): adjust
15535
15536         * BufferView2.C (gotoInset): adjust
15537
15538 2001-05-30  Juergen Vigna  <jug@sad.it>
15539
15540         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15541         to check pspell I add this as default as I now have new pspell
15542         libraries and they seem to use this.
15543
15544 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * text2.C (CutSelection): make the cursor valid before the call to
15547         ClearSelection.
15548
15549 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15552         relied on 0 terminated strings and other horrors. Bug found due to
15553         the new assert in lyxstring!
15554
15555         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15556         KP_ keys.
15557
15558 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15559
15560         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15561         to latinkeys.bind.
15562
15563         * lyxfunc.C (processKeySym): change method of getting to the
15564         self-insert char.
15565
15566         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15567         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15568         * BufferView_pimpl.[Ch]: here as private methods.
15569
15570 2001-05-28  Juergen Vigna  <jug@sad.it>
15571
15572         * text.C (SetHeightOfRow): added the update() call again as it is
15573         needed to initialize inset dimensions!
15574
15575 2001-05-16  Juergen Vigna  <jug@sad.it>
15576
15577         * text2.C (SetCharFont): Add new function with BufferView * and
15578         bool toggleall parameters for setting insets internal fonts.
15579         (SetFont): Freeze the undo as we may change fonts in Insets and
15580         all this change should be inside only one Undo!
15581
15582         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15583         setting font's in insets as for them we have the SetFont function!
15584
15585 2001-05-15  Juergen Vigna  <jug@sad.it>
15586
15587         * text2.C (ClearSelection): to be sure we REALLY don't have any
15588         selection anymore!
15589
15590         * tabular.C (TeXCellPreamble): fixed the left border problem for
15591         multicolumn cells.
15592
15593 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15594
15595         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15596         dependancy file
15597
15598 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15601         LFUN_BREAKPARAGRAPH.
15602
15603         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15604         help test to "internal only", similar for LFUN_INSERT_URL
15605
15606         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15607         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15608         auto_region_delete and deadkeys.
15609
15610 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15611
15612         * LColor.h:
15613         * LColor.C: remove some dead entries, tidy a little
15614
15615 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15618         commented code.
15619         (Dispatch): implement LFUN_ESCAPE
15620
15621         * commandtags.h: add LFUN_ESCAPE
15622
15623         * LyXAction.C (init): add entry for LFUN_ESCAPE
15624
15625         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15626         Remove commented code.
15627         (insertNote): moved here
15628         (open_new_inset): moved here
15629
15630         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15631         BufferView_pimpl
15632
15633 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * kbmap.C (findbinding): clean it up and make it work correctly.
15636
15637         * lyx_main.C (init): do not pass argc and argv as parameters
15638
15639 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15640
15641         * buffer.C: fix path for OS/2 & Win32
15642
15643         * lyx_gui.C:
15644         * lyx_main:
15645         * lyx_main.C: Added os:: class.
15646
15647         * os2_defines.h: update
15648
15649 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15652         better by trying again with reduced state.
15653
15654 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * lyxrc.C (read): print error about invalid key sequence only when
15657         debugging (because not all latinX keysyms are known to some X
15658         servers)
15659
15660         * kbsequence.C (getiso): add a few std:: qualifiers
15661         (getiso): comment out extra return statement.
15662
15663 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15666         handling.
15667         (Dispatch): enhance the accent inset a bit. (not perfect)
15668
15669 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15670
15671         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15672
15673 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15674
15675         * bufferlist.C (emergencyWrite): fix assert() call
15676
15677 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15678
15679         * text.C (InsertChar): Added trivial patch to only send the "you
15680         can not do multiple spaces this way" message once during a
15681         session.
15682
15683 2001-05-08  Baruch Even  <baruch@lyx.org>
15684
15685         * Makefile.am: Changed order of libraries to get LyX to link properly
15686         with the gnome frontend.
15687
15688 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15689
15690         * LaTeXFeatures.h: add a std:: qualifier
15691
15692 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * paragraph.C (String): use stringstream
15695
15696 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * paragraph.C (writeFile): remove footflag arg
15699
15700         * buffer.C (makeLaTeXFile): use stringstream
15701         (latexParagraphs): remove footnot gurba
15702
15703         * LaTeXFeatures.C (getPackages): use stringstream
15704         (getMacros): likewise
15705         (getTClassPreamble): likewise
15706         (getFloatDefinitions): new method
15707
15708         * paragraph.C (writeFile): reindent
15709         (Erase): reindent
15710
15711         * WorkArea.h: revert the xpos + etc changes.
15712
15713         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15714
15715         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15716
15717         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15718         (pasteSelection): likewise
15719         * text2.C (CreateUndo): likewise
15720
15721 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * minibuffer.C (peek_event): temporarily reduce the functionality
15724         of the minibuffer (to allow args on lfuns)
15725
15726         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15727         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15728
15729         * buffer.C (readInset): add compability reading of old float
15730         lists, add reading of new style float list.
15731         (readInset): avoid reevaluation of inscmd.getCmdName()
15732         (getLists): reindent
15733
15734         * MenuBackend.C (MenuItem): implement parsing of
15735         md_floatlistinsert and md_floatinsert.
15736         (expand::LastFiles): move initalizaton of iterators out of loop,
15737         avoid reevaluation.
15738         (expand::Documents): introduce typdedef vector<string> Strings,
15739         and use it.
15740         (expand::ExportFormats): introduce typedef vector<Format const *>
15741         Formats, and use it.
15742         (expand): implement FloatListInsert and FloatInsert.
15743
15744         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15745         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15746         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15747
15748         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15749         handling.
15750         (Dispatch::LFUN_FLOAT_LIST): implement
15751
15752 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15753
15754         * LaTeX.C (run): Fix problem with --export code.
15755
15756 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15757
15758         * BufferView.[Ch] (workarea): removed.
15759         (getClipboard) new method; wrapper for workarea()->getClipboard()
15760
15761         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15762         bug.
15763
15764         * WorkArea.h (width, height, xpos, ypos): These methods all
15765         returned the dimensions of the work_area sub-area of WorkArea,
15766         resulting in a position error if the WorkArea were resized. Now
15767         return the dimensions of the entire WorkArea.
15768
15769         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15770
15771 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15772
15773         * LaTeX.C (deplog): correct the syntax of regex reg1
15774
15775 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15776
15777         * undo.C: remove !NEW_INSETS cruft
15778
15779 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * text2.C: remove !NEW_INSETS cruft
15782
15783         * text.C: remove !NEW_INSETS cruft
15784
15785         * tabular.C: remove !NEW_INSETS cruft
15786
15787         * spellchecker.C: remove !NEW_INSETS cruft
15788
15789         * lyxtext.h: remove !NEW_INSETS cruft
15790
15791         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15792
15793         * lyxfunc.C: remove !NEW_INSETS cruft
15794
15795         * lyxfind.C: remove !NEW_INSETS cruft
15796
15797         * lyx_cb.C: remove !NEW_INSETS cruft
15798
15799         * figureForm.C: remove  !NEW_INSETS cruft
15800
15801         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15802
15803         * buffer.[Ch]: remove !NEW_INSETS cruft
15804
15805         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15806
15807         * CutAndPaste.C: remove !NEW_INSETS cruft
15808
15809         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15810
15811         * BufferView2.C: remove !NEW_INSETS cruft
15812
15813         * BufferView.h: remove !NEW_INSETS cruft
15814
15815 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15816
15817         * Lsstream.h: include LString.h before the sstream headers to
15818         fix problem with gcc 2.95.3 and lyxstring
15819
15820 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15821
15822         * lyx_main.C: add using directives when needed for C functions
15823         declared in std:: namespace.
15824
15825 2001-04-27  Juergen Vigna  <jug@sad.it>
15826
15827         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15828         (SetHeightOfRow): comment out the update call should not be needed!
15829
15830 2001-04-13  Juergen Vigna  <jug@sad.it>
15831
15832         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15833         (LyXTabular): tried to minimize operator= operations (and realized
15834         hopfully Lars wish).
15835
15836 2001-04-27  Juergen Vigna  <jug@sad.it>
15837
15838         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15839
15840 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15843
15844         * buffer.C (readInset): hack to make listof algorithm work
15845
15846         * BufferView_pimpl.C: hack to make listof algorithm work
15847
15848 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15849
15850         * LyXAction.C: removed all !NEW_INSETS cruft
15851         (init): moved lfun_item in method
15852
15853         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15854
15855 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15856
15857         * BufferView2.C (theLockingInset): white space.
15858
15859 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15860
15861         * minibuffer.C: include <iostream>
15862
15863         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15864
15865         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15866
15867         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15868
15869         * text.[Ch] (TransposeChars): new method
15870
15871 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * call message directly through LyXView instead of through LyXFunc
15874         * BufferView2.C: adjust
15875         * BufferView_pimpl.C: adjust
15876         * FontLoader.C: adjust
15877         * buffer.C: adjust
15878         * bufferview_funcs.C: adjust
15879         * converter.C: adjust
15880         * figureForm.C: adjust
15881         * importer.C: adjust
15882         * lyx_cb.C: adjust
15883         * lyx_gui_misc.C: adjust
15884         * lyxfunc.C: adjust
15885         * lyxvc.C: adjust
15886         * text2.C: adjust
15887         + more files in subdirs
15888
15889         * lyxparagraph.h (size): move up int file
15890         (GetLayout): ditto
15891
15892         * adjust all uses of Assert to lyx::Assert.
15893
15894         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15895         lyxfunctional in namespace lyx
15896         * layout.C (hasLayout): ditto
15897         (GetLayout): ditto
15898         (GetLayout): ditto
15899         (delete_layout): ditto
15900         (NumberOfClass): ditto
15901         * converter.C (GetFormat): ditto
15902         (GetNumber): ditto
15903         (Add): ditto
15904         (Delete): ditto
15905         (SetViewer): ditto
15906         * bufferlist.C (getFileNames): ditto
15907         (emergencyWriteAll): ditto
15908         (exists): ditto
15909         (getBuffer): ditto
15910         * MenuBackend.C (hasSubmenu): ditto
15911         (hasMenu): ditto
15912         (getMenu): ditto
15913         * BufferView_pimpl.C (getInsetByCode): ditto
15914
15915 2001-04-18  Juergen Vigna  <jug@sad.it>
15916
15917         * vspace.C (asLatexString): fixed the 100% problem.
15918
15919 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * lyxfunc.C (Dispatch):
15922         * minibuffer.C:
15923         * minibuffer.h: add a few std:: qualifiers
15924
15925 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15926
15927         * minibuffer.[Ch]: reimplement so that commands is initiated and
15928         run from lyxfunc, simplified som handling, and made the completion
15929         and history code for complete. wip.
15930
15931         * lyxfunc.C (processKeySym): call message
15932         (miniDispatch): new temporary method
15933         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15934         (LFUN_MESSAGE): implement
15935         (LFUN_MESSAGE_PUSH): implement
15936         (LFUN_MESSAGE_POP): implement
15937         (initMiniBuffer): the initial/defualt minibuffer message.
15938
15939         * lyxfont.[Ch]: inline some more getters
15940
15941         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15942
15943         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15944
15945         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15946         (AutoSave): use LFUN_MESSAGE
15947         (Reconfigure): ditto
15948
15949         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15950
15951         * figureForm.C: use LFUN_MESSAGE
15952
15953         * converter.C (runLaTeX): use LFUN_MESSAGE
15954
15955         * bufferview_funcs.C: use LFUN_MESSAGE
15956         (Melt): ditto
15957         (changeDepth): ditto
15958
15959         * bufferparams.h: use boost::
15960
15961         * bufferlist.h: inherit privately from noncopyable
15962
15963         * bufferlist.C (loadLyXFile): remove some commented code.
15964
15965         * buffer.C (runChktex): use LFUN_MESSAGE
15966
15967         * ShareContainer.h: inherit privately from noncopyable
15968
15969         * ParagraphParameters.[hC] (depth): inline it.
15970
15971         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15972         methods.
15973         (message): new method
15974         (messagePush): ditto
15975         (messagePop): ditto
15976         (show): init minibuffer
15977         (showState): direct call
15978
15979         * LaTeX.[Ch]: inherit privately from noncopyable
15980         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15981         instead of WriteStatus.
15982
15983         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15984
15985         * BufferView_pimpl.C (buffer): don't init minibuffer
15986         (workAreaButtonPress): use LFUN_MESSAGE
15987         (workAreaButtonRelease): ditto
15988         (savePosition): ditto
15989         (restorePosition): ditto
15990         (MenuInsertLyXFile): ditto
15991         (workAreaExpose): don't init minibuffer
15992         (update): remove commented code, simplify
15993
15994         * BufferView2.C (openStuff): use LFUN_MESSAGE
15995         (toggleFloat): ditto
15996         (menuUndo): ditto
15997         (menuRedo): ditto
15998         (copyEnvironment): ditto
15999         (pasteEnvironment): ditto
16000         (copy): ditto
16001         (cut): ditto
16002         (paste): ditto
16003         (gotoInset): ditto
16004         (updateInset): remove some commented code
16005
16006         * lastfiles.h: inherit privately from noncopyable
16007         * layout.h: ditto
16008         * lyx_gui.h: ditto
16009         * lyx_main.h: ditto
16010         * lyxlex.h: ditto
16011         * lyxlex_pimpl.h: ditto
16012
16013         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16014         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16015         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16016
16017         * LyXAction.h: inherit privately from noncopyable, add methods
16018         func_begin, func_end, returning iterators to the func map.
16019
16020         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16021         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16022         (func_begin): new method
16023         (func_end): new method
16024
16025         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16026         and not)
16027         (copySelection): ditto
16028         (pasteSelection): ditto
16029
16030         * BufferView.C: whitespace change
16031         * BufferView.h: inherit privately from noncopyable
16032
16033 2001-04-16  Allan Rae  <rae@lyx.org>
16034
16035         * tabular-old.C (l_getline):
16036         * spellchecker.C (sc_check_word):
16037         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16038         an unrecognised preprocessor directive.  So ensure they're wrapped.
16039
16040 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * src/exporter.C (Export): Give an error message when path to file
16043         contains spaces.
16044
16045 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16046
16047         * LaTeX.C (deplog): Always check that foundfile exists.
16048
16049 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * lyx_main.h:
16052         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16053
16054 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * tabular.[Ch] (getLabelList): implement new method
16057
16058         * minibuffer.h: comment ouf setTiimer
16059
16060         * minibuffer.C (ExecutingCB): constify res
16061         (peek_event): constify s
16062         (Set): constify ntext
16063         (Init): constify nicename
16064
16065         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16066
16067         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16068         (savePosition): use two params to Minibuffer::Set
16069         (restorePosition): ditto
16070
16071 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * lyx_main.C: include language.h
16074
16075         * Makefile.am (lyx_main.o): add language.h
16076
16077 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16078
16079         * exporter.C:
16080         * paragraph.C:
16081         * screen.C:
16082         * tabular.C:
16083         * CutAndPaste.C: include gettext.h
16084
16085         * lyxfont.h: remove old hack with ON and OFF.
16086
16087         * lyxparagraph.h:
16088         * lyxfont.h: do not include language.h...
16089
16090         * BufferView2.C:
16091         * LaTeXFeatures.C:
16092         * Painter.C:
16093         * bufferview_funcs.C:
16094         * font.C:
16095         * lyxfont.C:
16096         * text.C:
16097         * text2.C:
16098         * trans_mgr.C:
16099         * paragraph.C: ... but do it here instead
16100
16101 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16104
16105         * tabular.C: small reformat
16106
16107         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16108         NEW_INSETS version
16109         (GetChar): ditto
16110         (BreakParagraph): ditto
16111         (SetOnlyLayout): ditto
16112         (SetLayout): ditto
16113
16114         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16115         with one arg less.
16116
16117         * lastfiles.C: removed most using decl, add std:: where needed
16118
16119         * buffer.C: ws changes
16120
16121         * MenuBackend.C (class compare_format): put into anon namespace
16122         (expand): constify label, names, action, action2
16123         (expand):
16124
16125         * text.C (SingleWidth): constify font
16126         (IsBoundary): constify rtl2
16127         (GetVisibleRow): constify ww
16128
16129         * LaTeX.C (deplog): constify logfile
16130
16131         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16132         start_x, end_x
16133         (workAreaExpose): constify widthChange, heightChange
16134
16135         * lyxrow.C (par): moved
16136         (height): moved
16137         (next): moved
16138         * lyxrow.h: as inlines here
16139
16140         * lyxfont.h (shape): moved from lyxfont.C
16141         (emph): moved from lyxfont.C
16142
16143         * lyxfont.C (LyXFont): use initialization list for all
16144         constructors
16145         (shape): move to lyxfont.h as inline
16146         (emph): move to lyxfont.h as inline
16147
16148
16149 2001-04-04  Juergen Vigna  <jug@sad.it>
16150
16151         * vspace.C: had to include stdio.h for use of sscanf
16152
16153 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16154
16155         * BufferView.h:
16156         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16157         independent of xforms.
16158
16159 2001-04-02  Juergen Vigna  <jug@sad.it>
16160
16161         * spellchecker.C: fixed namespace placing!
16162
16163 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16164
16165         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16166         the LyXParagraph * is 0.
16167
16168 2001-03-29  Juergen Vigna  <jug@sad.it>
16169
16170         * vspace.C: added support for %, c%, p%, l%.
16171         (stringFromUnit): added helper function.
16172         (asLatexString): changed to give right results for the %-values.
16173
16174         * buffer.C: convert the widthp in a width%.
16175
16176 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16177
16178         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16179         figureForm.[Ch].
16180
16181         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16182         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16183
16184         * lyx_cb.[Ch]: see above.
16185
16186         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16187         form1.[Ch].
16188
16189         * form1.[Ch]:
16190         * lyx.[Ch]: replaced by figure_form.[Ch].
16191
16192         * lyx_gui.C:
16193         * lyx_gui_misc.C:
16194         * lyxfunc.C: changed headers associated with above changes.
16195
16196 2001-03-27  Juergen Vigna  <jug@sad.it>
16197
16198         * BufferView_pimpl.C: set the temporary cursor right!
16199
16200 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16201
16202         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16203
16204 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16205
16206         * LString.h: removed "using std::getline"!
16207
16208         * BufferView_pimpl.C (Dispatch): changes due to changes in
16209         InsetInclude::Params.
16210
16211         * buffer.C (tag_name): removed redundant break statements as they were
16212         producing lots of warnings with my compiler.
16213
16214 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * LString.h: add "using std::getline" when using the real <string>.
16217
16218 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16219
16220         * buffer.C: removed bitset usage.
16221         PAR_TAG moved to an anonymous name space.
16222         (tag_name): new funtion, also in the anonymous namespace.
16223         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16224         (makeDocBookFile): clean code. Completed transition from string arrays
16225         to string vectors.
16226         (SimpleDocBookOnePar): code clean.
16227
16228 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16229
16230         * tabular.C: add some comments.
16231
16232 2001-03-22  Juergen Vigna  <jug@sad.it>
16233
16234         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16235         compatibility read a bit and fixed bug with minipage in different
16236         depth.
16237
16238 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16239
16240         * buffer.C (pop_tag): removed.
16241         (push_tag): removed.
16242         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16243         array replaced with vector. Added support for CDATA sections.
16244         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16245         at any nest level.
16246         (makeDocBookFile): XML conformant declaration of CDATA section,
16247         fixed bug related to <emphasis> in the first paragraph char.
16248         (sgmlOpenTag): exclude empty tags.
16249         (sgmlCloseTag): ditto.
16250
16251         * buffer.h (pop_tag): removed.
16252         (push_tag): removed.
16253
16254 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16255
16256         * language.h (Languages): added size_type and size().
16257
16258 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16259
16260         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16261         response on compability reading of minipages. One probliem is that
16262         the old usage of minipages was «flertydig»
16263
16264         * several files here and in subdirs: don't use static at file
16265         scope use anon namespaces instead.
16266
16267 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16268
16269         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16270         LaTeX output. This is necessary for Literate document
16271         processing.
16272
16273 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16274
16275         * buffer.C: insert hfill when needed.
16276
16277         * tabular.C (l_getline): use string::erase, small whitespace change.
16278
16279         * BufferView_pimpl.C: try the anon namespace.
16280         * WorkArea.C: ditto
16281
16282 2001-03-16  Juergen Vigna  <jug@sad.it>
16283
16284         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16285         otherwise it won't open options-dialogs.
16286
16287         * buffer.C: honor pextraWidth(p) on converting minipages.
16288
16289         * tabular.C (l_getline): changed the functions to strip trailing \r.
16290
16291 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16292
16293         * BufferView_pimpl.C:
16294         * minibuffer..C: added "using SigC::slot" declaration.
16295
16296 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16297
16298         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16299
16300         * text2.C: ditto
16301
16302         * text.C: ditto
16303
16304         * paragraph.C: ditto
16305
16306         * lyxtext.h: NO_PEXTRA
16307
16308         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16309
16310         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16311         * ParameterStruct.h: ditto
16312         * ParagraphParameters.h: ditto
16313         * lyxparagraph.h: ditto
16314
16315 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16316
16317         * buffer.C: add compability for minipage alignment.
16318         (latexParagraphs): remove unwanted pextra check.
16319
16320         * several files: remove CXX_WORKING_NAMESPACES
16321
16322         * buffer.C (pop_tag): tie is in namespace boost
16323
16324         * BufferView.h: noncopyable is in namespace boost
16325         * lyxlex.h: ditto
16326         * lyx_main.h: ditto
16327         * lyx_gui.h: ditto
16328         * layout.h: ditto
16329         * lastfiles.h: ditto
16330         * bufferlist.h: ditto
16331         * ShareContainer.h: ditto
16332         * LyXView.h: ditto
16333         * LyXAction.h: ditto
16334         * LaTeX.h: ditto
16335
16336 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16337
16338         * Merging changes from BRANCH_MVC back into HEAD.
16339
16340         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16341
16342 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16343
16344         * BufferView_pimpl.C: change from intl.C
16345
16346         * combox.h:
16347         * combox.C:
16348         * Makefile.am: move combox.*
16349
16350         * form1.h:
16351         * form1.C:
16352         * lyx_gui.C:
16353         * intl.h:
16354         * intl.C: remove dialog (covered by prefs)
16355
16356 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16357
16358         * lyxfunc.C (Dispatch): removed redundant break statement.
16359
16360 2001-03-14  Juergen Vigna  <jug@sad.it>
16361
16362         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16363
16364 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16365
16366         * buffer.C: add hack to fix compability reading of minipages.
16367
16368 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16369
16370         * buffer.C (getLists): Cleanup.
16371
16372 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16373
16374         * lyxfont.C (update): don't honor toggleall on font size.
16375
16376 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16377
16378         * bmtable.c:
16379         * bmtable.h:
16380         * Makefile.am: moved to frontends/xforms/
16381
16382         * lyx_gui_misc.C:
16383         * lyxfunc.C:
16384         * BufferView_pimpl.C: changes for moved mathpanel
16385
16386 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * gettext.h: fix gettext_init() in --disable-nls
16389
16390 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16393
16394 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16395
16396         * lyx.C:
16397         * lyx.h: strip external form
16398
16399 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16400
16401         * BufferView_pimpl.C: add comment, destroySplash()
16402
16403 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16404
16405         * BufferView_pimpl.C:
16406         * LyXAction.C:
16407         * buffer.C:
16408         * commandtags.h:
16409         * lyxfunc.C: use re-worked insetinclude
16410
16411 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16412
16413         * buffer.C: add using std::stringstream.
16414
16415         * lyx_cb.C: readd using std::ios.
16416
16417         * buffer.C: add using std::map.
16418
16419         * BufferView_pimpl.C: add using std::vector.
16420
16421         * ShareContainer.h: add std:: to swap.
16422
16423         * buffer.h: add some typedefs
16424         * buffer.C (getLists): use them
16425         (getLists): renamed from getTocList.
16426         add a counter for the different float types and use it in the
16427         generated string.
16428         (getLists): use the same counter for the NEW_INSETS and the "non"
16429         NEW_INSETS
16430
16431         * lyx_cb.h: remove unused items, includes, using etc.
16432
16433         * ShareContainer.h: remove some commented code, add more comments
16434         and "documentation".
16435
16436 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16437
16438         * buffer.C (getTocList): make the list also when NEW_INSETS is
16439         defined.
16440
16441         * buffer.h: remove TocType
16442
16443         * buffer.C (getTocList): change to return a map<string,
16444         vector<TocItem> >, implement for dynamic number of list.
16445
16446         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16447         * text2.C (PasteSelection): adjust
16448         * CutAndPaste.C (pasteSelection): adjust
16449
16450         * FloatList.C (FloatList): update from the new_insets branch.
16451         * Floating.[Ch]: ditto
16452         * LaTeXFeatures.C: ditto
16453         * buffer.C: ditto
16454         * lyxlex_pimpl.C: ditto
16455
16456         * paragraph.C (Last): remove when NEW_INSETS is defined.
16457
16458         * other file: changes because of the above.
16459
16460 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16461
16462         * lyxparagraph.h: rename next to next_, previous to previous_,
16463         make them private for NEW_INSETS. Rename Next() to next(),
16464         Previous() to previous().
16465
16466         * other files: changes because of the above.
16467
16468 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16469
16470         * BufferView.h:
16471         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16472         problem.
16473
16474 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * main.C (main): pass lyx_localedir to gettext_init().
16477
16478         * gettext.h: remove locale_init and gettext_init macros
16479
16480         * gettext.C (locale_init): new function
16481         (gettext_init): new function
16482
16483         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16484         setlocale().
16485
16486 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16487
16488         * Moved credits to frontends:
16489         * credits.[Ch]: removed
16490         * credits_form.[Ch]: removed
16491         * lyx_gui_misc.C: remove credits stuff
16492         * Makefile.am:
16493
16494 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16495
16496         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16497
16498         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16499         unneeded destructor.
16500
16501         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16502         a standalone pointer again.
16503
16504         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16505
16506 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16507
16508         * Makefile.am:
16509         * filedlg.h:
16510         * filedlg.C:
16511         * LyXAction.C:
16512         * ToolbarDefaults.C:
16513         * bufferlist.C:
16514         * commandtags.h:
16515         * form1.C:
16516         * form1.h:
16517         * lyx_cb.C:
16518         * lyx_cb.h:
16519         * lyxfunc.h:
16520         * lyxfunc.C:
16521         * BufferView_pimpl.C: use new file dialog in GUII
16522
16523         * lyx_cb.h:
16524         * lyx_cb.C: remove LayoutsCB to Toolbar
16525
16526 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16527
16528         * ShareContainer.h (get): add std:: qualifier
16529
16530 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16531
16532         * ShareContainer.h: define a proper ShareContainer::value_type
16533         type (and use typename to please compaq cxx)
16534
16535 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16536
16537         * lyxparagraph.h: move serveral local vars to
16538         ParameterStruct/ParagraphParameters., use ShareContainer in
16539         FontTable., make vars in FontTable private and add getter and
16540         setter.
16541
16542         * paragraph.C: changes because of the above.
16543
16544         * lyxfont.h: remove copy constructor and copy assignment. (the
16545         default ones is ok), move number inside FontBits. move inlines to
16546         lyxfont.C
16547
16548         * lyxfont.C: add number to initializaton of statics, move several
16549         inlines here. constify several local vars. some whitespace
16550         cleanup. Dont hide outerscope variables.
16551
16552         * Spacing.h: add two new constructors to match the set methods.
16553
16554         * ShareContainer.h: new file, will perhaps be moved to support
16555
16556         * ParameterStruct.h: new file
16557
16558         * ParagraphParameters.h: new file
16559
16560         * ParagraphParameters.C: new file
16561
16562         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16563         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16564
16565         * BufferView_pimpl.C: ParagraphParameter changes.
16566         * buffer.C: Likewise.
16567         * bufferview_funcs.C: Likewise.
16568         * text.C: Likewise.
16569         * text2.C: Likewise.
16570
16571 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16572
16573         * lyxfind.C (LyXReplace): do not redefine default argument in
16574         implementation.
16575         (IsStringInText): ditto
16576         (SearchForward): ditto
16577         (SearchBackward): ditto
16578
16579 2001-03-06  Juergen Vigna  <jug@sad.it>
16580
16581         * lyxfind.C (IsStringInText): put parentes around expressions.
16582
16583 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16584
16585         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16586
16587 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16588
16589         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16590
16591         * stl_string_fwd.h: add comment
16592
16593         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16594
16595         * tabular.h:
16596         * tabular.C: remove unused DocBook methods
16597
16598         * intl.C:
16599         * language.C:
16600         * paragraph.C:
16601         * buffer.C:
16602         killed DO_USE_DEFAULT_LANGUAGE
16603
16604 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16605
16606         * lyx_gui.C: do not include language.h.
16607
16608         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16609         arguments in function implementation.
16610
16611 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16612
16613         * BufferView_pimpl.C: add <ctime>
16614
16615 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16616
16617         * BufferView_pimpl.C: add using std::find_if
16618
16619 2001-02-27  José Matos  <jamatos@fep.up.pt>
16620
16621         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16622         by OnlyPath.
16623
16624 2001-02-11  José Matos  <jamatos@fep.up.pt>
16625
16626         * buffer.C (makeDocBookFile): command styles now have a parameter as
16627         "title" by default.
16628
16629 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16630
16631         * layout_forms.[Ch]: removed
16632         * lyx_cb.[Ch]: out character
16633         * lyx_gui.C: out character
16634         * lyx_gui_misc.C: out character
16635         * bufferview_funcs.C: : out character,
16636         added toggleall as parameter in ToggleAndShow
16637
16638 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16639
16640         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16641
16642         * text2.C (SetCurrentFont): Disable number property at boundary.
16643
16644 2001-02-26  Juergen Vigna  <jug@sad.it>
16645
16646         * lyxfunc.C (getStatus): added a string argument override function so
16647         that this is correctly called from LyXFunc::Dispatch if it contains a
16648         do_not_use_argument which is used!
16649         (Dispatch): added check for "custom" export and call appropriate func.
16650
16651 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * lyxrc.C: Add language_command_local, language_use_babel and
16654         language_global_options.
16655
16656         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16657
16658         * buffer.C (makeLaTeXFile): Use language_use_babel and
16659         language_global_options.
16660
16661 2001-02-23  Juergen Vigna  <jug@sad.it>
16662
16663         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16664         which works with LyXText and putted it inside BufferView. Here now we
16665         only call for that part the BufferView::Dispatch() function.
16666
16667         * BufferView.C (Dispatch): added.
16668
16669         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16670         functions which needs to use a LyXText over from LyXFunc.
16671         (MenuInsertLyXFile): added
16672         (getInsetByCode): added
16673         (moveCursorUpdate): added
16674         (static TEXT): added
16675
16676 2001-02-22  Juergen Vigna  <jug@sad.it>
16677
16678         * BufferView_pimpl.C (update): call a status update to see if LyXText
16679         needs it.
16680
16681 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16682
16683         * vc-backend.C (revert): implement for CVS
16684         (getLog): implement for CVS
16685
16686 2001-02-20  Juergen Vigna  <jug@sad.it>
16687
16688         * text2.C (ClearSelection): added BufferView param for inset_owner call
16689
16690         * lyxfunc.C (TEXT): added this function and use it instead of
16691         directly owner->view()-text of getLyXText().
16692
16693 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16694
16695         * src/layout_forms.C: out preamble
16696         * src/layout_forms.h: out preamble
16697         * src/lyx_cb.C: out preamble
16698         * src/lyx_cb.h: out preamble
16699         * src/lyx_gui.C: out preamble
16700         * src/lyx_gui_misc.C: out preamble
16701         * src/lyxfunc.C: connect with guii preamble
16702
16703 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16704
16705         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16706
16707 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16710         whether to run bibtex.
16711
16712 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16713
16714         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16715
16716 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16717
16718         * Makefile.am (lyx_SOURCES): removed bibforms.h
16719
16720         * vspace.h: doxygen
16721
16722         * text.C (GetVisibleRow): make several local vars const
16723
16724         * tabular.C: small cleanup.
16725
16726         * lyxserver.C (callback): use compare instead of strncmp
16727
16728         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16729         inlines to after class or to paragraph.C
16730
16731         * lyxfont.h: remove friend operator!=
16732
16733         * converter.h: move friend bool operator< to non friend and after
16734         class def.
16735
16736         * combox.h: small cleanup
16737
16738         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16739         to inlines after class def.
16740
16741         * buffer.C (pop_tag): use string operations instead of strcmp
16742
16743         * bmtable.c: doxygen, small cleanup
16744
16745         * LaTeX.h: remove friend operator==
16746
16747 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16748
16749         * screen.C:
16750         * lyxrc.[Ch]:
16751         * lyxfunc.C:
16752         * lyxfont.[Ch]:
16753         * lyx_cb.C:
16754         * intl.[Ch]:
16755         * commandtags.h:
16756         * buffer.C:
16757         * WorkArea.[Ch]:
16758         * LyXAction.C:
16759         * BufferView_pimpl.C:
16760         * BufferView.[Ch]: remove cruft
16761
16762 2001-02-14  Juergen Vigna  <jug@sad.it>
16763
16764         * lyxfunc.C: removed #if 0 unused code
16765
16766         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16767
16768         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16769
16770         * text2.C (SetSelection): added a BufferView * parameter
16771
16772 2001-02-13  Juergen Vigna  <jug@sad.it>
16773
16774         * lyxfunc.C (Dispatch): fixed protected blank problem.
16775         * BufferView2.C (protectedBlank): added LyxText * parameter.
16776
16777         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16778         (AppendColumn): same as above for column_info.
16779
16780         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16781         (moveCursorUpdate): use a LyXText param for support of InsetText.
16782
16783         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16784         (tripleClick): ditto
16785
16786         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16787
16788         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16789
16790         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16791
16792         * text2.C (SetSelection): set correct update status if inset_owner
16793         (ToggleFree): ditto
16794
16795 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16796
16797         * tabular.C: remove some commented code.
16798
16799 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16800
16801         * BufferView_pimpl.C: call hideSplash()
16802
16803         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16804
16805         * include_form.h:
16806         * bibforms.h: remove
16807
16808         * lyxfunc.C:
16809         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16810           add LFUN_CHILD_CREATE
16811
16812         * counters.h: fix tiny typo
16813
16814         * lyx_cb.C:
16815         * lyx.h:
16816         * lyx_gui.C:
16817         * lyx.C: move splash to frontends/xforms/
16818
16819         * lyx_gui_misc.C: move Include and Bibform to frontends
16820
16821         * lyxvc.h: clarify comment
16822
16823         * vspace.C: tiny housekeeping
16824
16825 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16826
16827         * text.C (PrepareToPrint): RTL Fix.
16828
16829         * paragraph.C (GetUChar): New method.
16830         (String):  Use GetUChar.
16831
16832         * buffer.C (asciiParagraph): Use GetUChar.
16833
16834 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16835
16836         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16837
16838 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16839
16840         * buffer.h:
16841         * buffer.C: rename to getLogName(), handle
16842           build log / latex log nicely
16843
16844 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * MenuBackend.C:
16847         * MenuBackend.h: remove support for reference menuitem type.
16848
16849 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16850
16851         * BufferView_pimpl.C: housekeeping
16852         * BufferView_pimpl.h:
16853         * LyXView.h:
16854         * Makefile.am:
16855         * Timeout.C:
16856         * Timeout.h:
16857         * minibuffer.h: move Timeout GUI-I
16858
16859 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * lyxrc.C (read): Update converters data-structures.
16862
16863 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16864
16865         * LaTeX.h (operator!=): add operator != for Aux_Info
16866
16867 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16868
16869         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16870
16871         * LaTeXLog.C: deleted, useful code moved to Buffer
16872
16873         * buffer.h:
16874         * buffer.C: new function getLatexLogName()
16875
16876         * lyx_gui_misc.C:
16877         * lyx_gui.C:
16878         * lyxvc.C:
16879         * lyxvc.h:
16880         * lyxfunc.C: use frontends for LaTeX and VC logs
16881
16882 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16883
16884         * LaTeX.h: yet another std:: that Allan forgot.
16885
16886         * Variables.C (set): renamed from isset(), because this clashes
16887         with some HP-UX macros (grr).
16888
16889 2001-02-06  Allan Rae  <rae@lyx.org>
16890
16891         * LaTeX.h: Another bug fix.  Missing std:: this time.
16892
16893 2001-02-04  Allan Rae  <rae@lyx.org>
16894
16895         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16896         floats problem. I've left it commented out because it's not quite
16897         correct.  It should also test that the current object is a table or
16898         figure inset.  But I haven't gotten around to figuring out how to do
16899         that.  I *think* it'll be something like: "table" == inset.type()
16900
16901         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16902         bool.
16903
16904 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16905
16906         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16907         all the citation/databases/styles in the auxilary file.
16908         (run): Rerun latex if there was a babel language error.
16909
16910 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16911
16912         * text.C (Backspace): Preserve the font when changing newline char
16913         with a space.
16914         (BreakParagraph): If the cursor is before a space, delete the space.
16915
16916         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16917
16918 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16919
16920         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16921         new argument (code).
16922         (ChangeCitationsIfUnique): New method.
16923
16924         * paragraph.C (GetPositionOfInset): Handle bibkey.
16925
16926 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * BufferView_pimpl.h: change type of Position::par_pos to
16929         LyXParagraph::size_type.
16930
16931 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16932
16933         * BufferView_pimpl.C (savePosition, restorePosition): Write
16934         messages to minibuffer.
16935
16936 2001-01-28  José Matos  <jamatos@fep.up.pt>
16937
16938         * buffer.C (makeDocBookFile): adds support for document language.
16939         A silly restriction on the name of LatexCommand types where removed.
16940         Added support for CDATA sections, allows to chars unescaped, used
16941         among others in code, to avoid escape < and >.
16942
16943 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16944
16945         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16946         saved positions instrad of a stack. Furthermore, a position is
16947         stored using paragraph id/paragraph position.
16948
16949         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16950         Remove LFUN_REF_BACK.
16951
16952 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16953
16954         * converter.C (dvipdfm_options): New method.
16955
16956 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16957
16958         * vspace.C (isValidLength): Fix for empty input string.
16959
16960 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16961
16962         * LyXAction.C (init): change description of LFUN_FIGURE to
16963         "Insert Graphics"
16964
16965 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16966
16967         * LaTeX.C: add using directive
16968
16969 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16970
16971         * MenuBackend.C (expand): Fix the sorting of the formats.
16972
16973 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16974
16975         * lyx_main.C: tiny error message fix
16976
16977 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16978
16979         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16980         calling fl_initialize(). This fixes the problem with ',' as
16981         decimal separator in text files.
16982
16983 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16984
16985         * trans.C (process): Fix the keymap bug.
16986
16987 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16988
16989         * LaTeX.C (scanAuxFiles): New method. Provides support for
16990         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16991         (scanLogFile) Scan for "run BibTeX" messages.
16992
16993         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16994         OT1 font encoding. Also, load the aecompl package if the ae
16995         package is loaded.
16996
16997         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16998
16999 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17000
17001         * texrow.C (increasePos): turn two error messages into debug
17002         messages.
17003
17004 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17005
17006         * LaTeX.C (scanAux): Handle the \@input macro.
17007         (runBibTeX): Use scanAux().
17008
17009         * language.C (latex_options_): New field.
17010
17011         * LaTeXFeatures.C (getMacros): Add language macros.
17012
17013         * buffer.C (makeLaTeXFile): Small fix.
17014
17015 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17016
17017         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17018
17019         * text2.C: add a using directive.
17020
17021 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17022
17023         * BufferView2.C:
17024         * lyx_gui_misc.h:
17025         * lyxfr1.C:
17026         * lyxfunc.C: kill LyXBell.
17027
17028 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17029
17030         * text.C (IsBoundary): Remove the error message
17031
17032         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17033
17034         * lyxrc.C (setDefaults): Correct initialization value for
17035         font_norm_type.
17036
17037 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17038
17039         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17040         gotoError().
17041
17042         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17043         and GotoNextNote().
17044
17045         * src/LyXAction.C: Added reference-next.
17046
17047         * text.C (InsertChar): Use contains instead of strchr.
17048
17049         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17050
17051 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17052
17053         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17054         alignment commands (when needed).
17055
17056         * text.C (InsertChar): Add ':' to number separator chars.