]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b1115282383227b7a2ff513152140b806c62a7a3
[lyx.git] / src / ChangeLog
1 2005-02-01  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
4         calling fs::is_directory().
5
6 2005-01-31  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_main.C (priv_exec): specify explicitly the relative location
9         of the top level build directory when run in-place.
10
11 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
14         LyXText containing the cursor, not the top-level one.
15
16         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
17         true. 
18         (insertStringAsLines): rename par to pit; use temporary variable
19         par to hold a Paragraph; do not store par.layout() in a variable,
20         since the pointer may die when breaking paragraphs; pass pars to
21         breakParagraph() instead of Buffer::paragraphs().
22
23 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
24
25         * lyxlex_pimpl.h: #include <fstream>.
26
27         * BufferView.[Ch] (getLyXText): add a const version.
28
29         * BufferView_pimpl.C: add debug aids.
30
31         * RowList_fwd.h:
32         * buffer.h:
33         * lyxrow.h:
34         * paragraph_funcs.h: add commentary explaining what the class does.
35
36
37         * coordcache.[Ch]: add lots of commentary.
38         (startUpdating, doneUpdating): debug aids.
39         (arrays, insets, parPos, getParPos): accessors to private data.
40
41         * cursor_slice.[Ch] (text): add a const version.
42         * dociterator.[Ch] (text, innerText): add const versions.
43
44         * lyxtext.h (breakParagraph): change the keep_layout arg to a
45         bool.
46
47         * paragraph.C (getRow, pos2ros): add asserts.
48
49         * paragraph.h: add commentary. Lots of.
50
51         * paragraph.[Ch] (metrucs, draw): removed.
52
53         * cursor.C:
54         * rowpainter.[Ch]: const-correct changes.
55
56         * text.C: various obvious clean-ups. Removal of ancient cruft.
57         Bug fixes, even.
58         
59 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
60
61         * vc-backend.C (find_file): rewrite to use boost.filesystem
62         (scanMaster): ditto
63
64         * main.C (main): set default name check for boost.filesystem to
65         no check
66
67         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
68         (open): ditto
69         (doImport): ditto
70         (actOnUpdatedPrefs): ditto
71
72         * lyx_main.C (init): rewrite to use boost.filesystem
73         (queryUserLyXDir): ditto
74
75         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
76         (getContentsOfAsciiFile): ditto
77
78         * lastfiles.C (readFile): rewrite to use boost.filesystem
79
80         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
81
82         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
83         (loadLyXFile): ditto
84
85         * buffer.C (Buffer): adjust for destroydir
86         (getLogName): rewrite to use boost.filesystem
87         (setFileName): ditto
88         (save): use fs::copy_file (from fs_extras)
89
90         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
91
92         * LaTeX.C (run): rewrite to use boost.filesystem
93         (scanAuxFiles): ditto
94         (handleFoundFile): ditto
95
96 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
97
98         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
99
100         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
101
102 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * lyxlayout.[Ch]: change some vars from float to double
105
106         * buffer.C (readFile): make a local var const
107
108         * Several files: use convert<> instead of atoi,strToXXX and friends
109
110 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
111
112         * LaTeXFeatures.[Ch]: Add a static list packages_ that
113         holds the contents of packages.lst. New functions getAvailable
114         and isAvailable to parse and check that list, resp.
115
116         * LyXAction.C:
117         * lfuns.h:
118         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
119
120         * bufferparams.[Ch]: new param output_changes.
121
122         * Buffer.C: increase file format to 240.
123         Use output_changes and isVailable.
124
125         * changes.[Ch]:
126         * paragraph.C:
127         * paragraph_pimpl.C: Use output_changes and isVailable.
128
129 2005-01-23  Angus Leeming  <leeming@lyx.org>
130
131         * output_latex.C: #include "insetbibitem.h", rather than
132         forward declare function bibitemWidest.
133
134 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
135
136         * lyx_main.C (init): make it compile on the Mac.
137
138 2005-01-20  Angus Leeming  <leeming@lyx.org>
139
140         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
141         (setLyXMisc): (char string literal) != (char string literal) is
142         performing a comparison on the addresses. Convert one operand
143         explicitly to string to guarantee expected behaviour.
144         From MSVC warning.
145
146 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
147
148         * buffer.C:
149         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
150
151         * output_plaintext.C: remove unneeded #include gzstream.h.
152
153 2005-01-20  Angus Leeming  <leeming@lyx.org>
154
155         * SpellBase.h: rename some of the elements of the Result enum.
156
157         * aspell_local.h:
158         * ispell.h:
159         * pspell.h:
160         * aspell.C (check):
161         * ispell.C (check):
162         * pspell.C (check): ditto
163
164 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
165
166         * buffer.C: add #include <fstream>.
167
168         * lyx_main.C (init): Compile fix.
169
170         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
171
172 2005-01-20  Angus Leeming  <leeming@lyx.org>
173
174         * mover.h: change commentary to reflect the changed meaning of
175         the $$s placeholder.
176
177 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * output_linuxdoc.C (linuxdocParagraphs): silence warning
180
181         * lyxfind.C (MatchString::operator()): remove bogus semicolon
182
183 2005-01-20  Angus Leeming  <leeming@lyx.org>
184
185         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
186         printing diagnostic data by not dereferecing an iterator past the
187         end.
188
189 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
190
191         * buffer.C (readHeader): use "&&" rather than "and".
192
193         * lyxserver.h (inPipeName, outPipeName): make these const.
194
195 2005-01-19  Angus Leeming  <leeming@lyx.org>
196
197         * lyx_main.C (error_handler, init): protect SIGHUP with
198         #ifdef SIGHUP guards.
199
200 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
203
204 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * text.C (setHeightOfRow): add a margin at the top and bottom of
207         the document (bug 1761)
208
209 2005-01-17  Angus Leeming  <leeming@lyx.org>
210
211         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
212         with "python ". Workaround for a brain-dead Windows.
213
214 2005-01-16  Angus Leeming  <leeming@lyx.org>
215
216         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
217         for MacOSX and Windows to use prependEnvPath.
218         Strip out the hard-coded block to add elements to the PATH for
219         MacOSX and replace it with a call to prependEnvPath using the
220         contents of LyXRC::path_prefix.
221         (queryUserLyXDir): strip out the code to run reconfigure, instead
222         returning a boolean indicating the necessity to do so.
223         (reconfigureUserLyXDir): contains the code to reconfigure the
224         user support directory. Is now called after the various LyXRC data
225         files have been read.
226
227         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
228
229 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * converter.[Ch] (convert): take a new parameter try_default. Use
232         a default converter (imagemagick) if try_default is true.
233
234 2005-01-13  Angus Leeming  <leeming@lyx.org>
235
236         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
237         os::cygwin_path_fix.
238         (write): output LyXRC::cygwin_path_fix as necessary.
239
240 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
241
242         * lyxrc.h:
243         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
244
245 2005-01-12  Angus Leeming  <leeming@lyx.org>
246
247         * lyx_main.C (init): set the PATH variable to include the
248         directory containing the LyX binary when running on Mac or Windows.
249
250 2005-01-12  Angus Leeming  <leeming@lyx.org>
251
252         * lyx_main.C (init): remove cruft that purports to set the locale
253         dir. It doesn't and is not needed anyway.
254
255 2005-01-10  Angus Leeming  <leeming@lyx.org>
256
257         * Makefile.am: remove the lyx_main.C special casing.
258
259         * BufferView_pimpl.C:
260         * bufferlist.C:
261         * exporter.C:
262         * lyx_cb.C:
263         * lyx_main.C:
264         * lyxfunc.C:
265         * messages.C: use support/package.h to provide the paths to the
266         various directories used by LyX.
267
268 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
269
270         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
271         layout if pasting into an empty paragraph)
272
273 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * tex-accent.C: add <string>
276
277 2005-01-06  José Matos  <jamatos@lyx.org>
278
279         * ParagraphParameters.C (write): put every parameter in its own line.
280         * paragraph.C (write): reduce number of consecutive empty lines exported.
281         * buffer.C (LYX_FORMAT): increase file format to 239.
282
283 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
284
285         * everywhere: change support/tostr.h -> support/convert.h
286
287         * tabular.C: make all write_attributes templates, tostr -> convert
288
289         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
290         (emptyTag): and -> &&, and fix type for ret from getChar
291         (getFirstWord): fix type for ret from getChar
292         (onlyText): and -> &&
293         (simpleDocBookOnePar): and not -> && !, fix type for ret from
294         getChar
295
296         * toc.C (goTo, action):
297         * text3.C (dispatch):
298         * text.C (currentState):
299         * tex-accent.C (DoAccent):
300         * sgml.C:
301         * lyxrc.C:
302         * lyxfunc.C (menuNew):
303         * lyxfinc.C (replace):
304         * counters.C (laberItem):
305         * bufferview_funcs.C (font2string):
306         * bufferparams.C (writeFile):
307         * buffer.C (readFile):
308         * Spacing.C (set):
309         * MenuBackend.C: tostr -> convert
310
311         * LaTeX.C (runMessage): fix format
312         (scanAuxFiles): tostr -> convert
313
314         * BufferView_pimpl.C (savePosition): fix format
315         (restorePosition): ditto
316         (dispatch): ditto
317
318 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
319
320         * Spacing.[Ch]: New method getValueAsString().
321
322         * Spacing.[Ch]:
323         * bufferparams.C:
324         * ParagraphParameters.C:
325         * lyxlayout.C:
326         * text.C:
327         * text3.C: store/read spacing value as string.
328
329         * rowpainter.C: change float value (spacing_val) to double.
330
331         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
332         broken custom document spacing).
333
334 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
335
336         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
337         namespace, also more use of temp references and const
338
339         * cursor.[Ch] (getStatus): move to lyxfunc.C
340
341         * bufferparams.C: reformat slightly
342
343         * bufferview_funcs.C (font2string): constify arg
344
345         * changes.C:
346         * converter.C:
347         * counters.C:
348         * bufferlist.C:
349         * buffer_funcs.C: (many funcs): constify arg on function
350         definitions, also make more local vars const, also add ASSERTS on
351         pointer args.
352
353         * buffer.C (LYX_FORMAT): put const in correct place
354         (many funcs): constify arg on function definitions, also make
355         more local vars const
356
357         * aspell_local.h: remove "struct" from typdef setup
358
359         * aspell.C (check): make word_ok const
360         (nextMiss): simplify slightly
361         (error): ditto
362
363 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
364
365         * lyxrc.[Ch]: store all float values as strings.
366         use int (not float) for lyxrc.dpi.
367
368 2005-01-04  Angus Leeming  <leeming@lyx.org>
369
370         * lyx_cb.C (Reconfigure):
371         * lyx_main.C (queryUserLyXDir):
372         to run the <system_lyxdir>/configure correctly on Windows, prefix
373         the path to the script with "sh " when generating the string that
374         is passed to system().
375
376 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
377
378         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
379
380 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * lyxlength.C (asLatexString): get rid of setprecision
383
384 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * text2.C (setLayout): remove unused variable endpit.
387         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
388
389         * paragraph.C (onlyText): remove unused variable style.
390
391         * cursor.C (bruteFind): remove unused variables beg and end.
392
393         * Makefile.am (dist_noinset_DATA): not needed anymore
394
395         * cheaders/*: remove.
396
397 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
398
399         * text3.C: fix LFUN_MATH_MODE.
400
401 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * buffer_funcs.C (countWords): new function. Counts words between
404         two iterators.
405
406         * BufferView_pimpl.C (getStatus, dispatch): handle
407         LFUN_WORDS_COUNT.
408
409         * LyXAction.C (init):
410         * lfuns.h: add LFUN_WORDS_COUNT.
411
412 2004-12-19  Angus Leeming  <leeming@lyx.org>
413
414         * buffer.C (save): s/slashify_path/internal_path/.
415
416 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
417
418         * lyxfind.C (findChange): do not search for end of pars, because
419         the change tracker cannot handle this (fixes bug 1719).
420
421 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * paragraph.[Ch] (autoBreakRows): remove
424
425         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
426
427         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
428         avoid using the paragraph one
429
430         * text2.C (LyXText, insertStringAsLines): adjust
431
432 2004-12-16  Angus Leeming  <leeming@lyx.org>
433
434         * bufferlist.C:
435         * lyx_main.C:
436         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
437
438 2004-12-14  Angus Leeming  <leeming@lyx.org>
439
440         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
441
442         * bufferlist.C (emergencyWrite):
443         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
444         GetEnvPath("HOME").
445
446 2004-12-14  Angus Leeming  <leeming@lyx.org>
447
448         * main.C: (main): no longer pass pointers to os::init.
449
450 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * undo.C (textUndoOrRedo): simplify logic, fix a crash
453         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
454
455 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
456
457         * lyxfunc.C:
458         * text3.C: remove selection_possible global flag
459
460 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * text2.C (getSelectionSpan): remove
463         (changeDepth, changeDepthAllowed): adjust
464
465 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
466
467         * Makefile.am (BOOST_LIBS): use boost variables
468
469 2004-12-03  José Matos  <jamatos@lyx.org>
470
471         * buffer.C: format up to 238.
472
473 2004-12-03  José Matos  <jamatos@lyx.org>
474
475         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
476
477 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
478
479         * cursor.C (goUpDown): remove call to idxUpDown2
480
481 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
482
483         * tabular.[Ch]: use size_t-like types for cell, row and column
484         indices
485
486 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * lyxfunc.C (getStatus): do not lose previous information when
489         calling BufferView::getStatus; do not set a default "Command
490         disabled" message at the beginning, but just before returning.
491
492 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
493
494         * cursor.h (getStatus): add better comment from src/cursor.C
495
496 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * text3.C (getStatus): return false when the lfun is not handled
499
500 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * broken_headers.h: remove
503
504         * Makefile.am (lyx_SOURCES): remove broken_headers.h
505
506 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
509         offset_ref accessors
510
511         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
512         top_y_, merge fitcursor with update
513         (updateScrollbar, scrollDocView, fitCursor, center, update): new
514         coord scheme
515         (metrics): introduce
516         (workAreaDispatch): adapt to new coord scheme
517         (redoCurrentBuffer): remove
518
519         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
520
521         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
522         CurStatus enum.
523
524         * coordcache.[Ch]: add paragraph cache and helpers
525
526         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
527         adjust everywhere
528
529         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
530         (targetX, setTargetX): introduce
531
532         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
533         baseline -> ascent, as the rest of lyx
534
535         * lyxtext.h: remove redoParagraphs, updateParPositions,
536         fullRebreak, redoParagraphInternal. move dist to anon namespace in
537         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
538         have ascent/descent (ascent is ascent of first par)
539
540         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
541         step of BufferView
542
543         * paragraph.[Ch]: unify dimension handling with the rest of lyx
544
545         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
546
547         * pariterator.C: fix infinite loop introduced in par->pit renaming
548
549         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
550         in insets and LyXText, draw two off-screen paragraphs using
551         NullPainter, and adapt to new coord scheme
552
553         * text.C:
554         * text2.C:
555         * text3.C: adapt lfun handlers to the new coord scheme, which
556         means: there's only guaranteed coord information for onscreen pars
557         plus one above and one below. This implies that one can do search
558         from y coordinates in the range [-1,workHeight]
559
560 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * rename a lot of InsetOld to InsetBase
563
564 2004-11-25  Angus Leeming  <leeming@lyx.org>
565
566         * BufferView_pimpl.C:
567         * lyx_cb.C:
568         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
569
570 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
573         call BufferView::getStatus if LCursor::getStatus did nothing
574         (setStatusMessage, getStatusMessage): removed.
575
576         * FuncStatus.C (message): new methods. Used to provide an error
577         message indicating why a command is disabled.
578         (clear, |=, FuncStatus): update for message.
579
580 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
581
582         * lyxfunc.C (dispatch): always call sendDispatchMessage
583
584 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
585
586         * BufferView.C:
587         * BufferView_pimpl.C:
588         * CutAndPaste.C:
589         * FontIterator.C:
590         * buffer.C:
591         * cursor.C:
592         * cursor_slice.[Ch]:
593         * dociterator.[Ch]:
594         * lyxfind.C:
595         * paragraph_funcs.C:
596         * pariterator.C:
597         * rowpainter.C:
598         * text.C:
599         * text2.C:
600         * text3.C:
601         * undo.C: par->pit renaming
602
603 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * tabular.C (cellstruct): use initialization, store a shared_ptr
606         to insettext instead of the insettext directly, adjust to fit.
607         (operator=):  new function
608         (swap): new function
609         (rowstruct): use initialization
610         (columnstruct): use initialization
611         (ltType): use initialization
612
613
614         * lyxlength.h (swap): new function
615
616         * LColor.[Ch] (operator=): use the common semantics
617
618 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * lyxfind.C (findNextChange): update the bufferview after setting
621         the selection.
622
623 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
626         number of InsetOptArgs has already been inserted.
627
628         * output_latex.C (latexOptArgInsets): new method. This outputs all
629         the optarg insets, up to the limit defined in the layout file.
630         (optArgInset): removed
631         (TeXOnePar): call latexOptArgInsets; correctly update texrow
632
633 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * paragraph.C (isLetter): remove special spellchecker-related
636         code; return true also for digits
637         (isWord, isKomma): remove
638
639         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
640         * lyxfind.C (MatchString()): use isLetter instead of isWord
641
642 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * pariterator.h (operatir=): comment out un-implemented member
645         function.
646
647         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
648         static cast.
649
650 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
651
652         * lyxfont.h: include LColor.h to satisfy concept checks.
653
654 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * pariterator.h: add typdefs for value_type, difference_type,
657         pointer and reference to satisfy concept checks. Also add default
658         constructor for same reason.
659
660         * pariterator.C (operator++): add post-increment operator to
661         satisfy concept checks.
662
663         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
664         checks.
665
666         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
667
668         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
669         checks. Also rename base_type to BaseType to follow naming
670         standard better.
671
672         * FloatList.h: include Floating.h to satisfy concept checks.
673
674 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * lyxfunc.C (getStatus): when the origin of the request is menu or
677         toolbar, and the LyXView does not have focus, do as if there was
678         no buffer (bug 1720)
679
680         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
681         FuncRequest to individual entries of LFUN_SEQUENCE
682
683 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * output_latex.C (TeXOnePar): override runparams.moving_arg
686         according to the needprotect value of the current paragraph (bug
687         1739)
688
689         * paragraph.C (simpleTeXOnePar): no need to override
690         runparams.moving_args here
691
692 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
693
694         * vspace.C: fix off-by-one-error, related to fix #1682
695
696 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
697
698         * lengthcommon.C: a more general fix for bug 1682
699
700 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * text.C (backspace): fix crash
703
704 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * format.[Ch] (getFormatFromFile): new method
707         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
708
709 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
710
711         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
712
713 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * lyxfunc.C (dispatch): remove the verbose argument
716         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
717         instead
718
719         * kbmap.C (defkey): set the origin of func to KEYBOARD
720
721         * MenuBackend.C (MenuItem):
722         * ToolbarBackend.C (add): set the origin of func to UI
723
724         * funcrequest.[Ch]: add origin member, which indicates which part
725         of LyX requests an action
726
727 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
728
729         * converter.C (move): don't lie in the error message
730         * converter.h (isReachable, move): document
731
732 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
733
734         * buffer.C: remove unused using lyx::support::atoi
735         * paragraph_funcs.C: ditto
736
737 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * bufferlist.C (exists): use bind and equal_to instead of
740         compare_memfun
741         (getBuffer): ditto
742         * lyxtextclasslist.C (NumberOfClass): ditto
743
744         * cursor.C (insert): use for_each instead of explicit for loop
745
746         * bufferlist.C (getFileNames): use std::transform and
747         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
748
749         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
750         for loop
751
752         * buffer.C (changeLanguage): use for_each instead of explicit for
753         loop
754         (hasParWithID): implement using getParFromID
755
756         * LaTeXFeatures.C: ws change only
757
758         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
759         to cleanup a bit.
760
761         * BufferView_pimpl.C (trackChanges): use for_each instead of
762         expilicit for loop
763
764 2004-11-04  André Pönitz  <poenitz@gmx.net>
765
766         * undo.h:
767         * undo.C (textUndoOrRedo): fix crash when creating undo information.
768
769         * dociterator.C (asDocIterator): use hard assert again.
770
771 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * lyxlength.C (asLatexString): rewrite so that it does not use
774         snprintf anymore
775
776 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * text3.C (specialChar, dispatch): make sure cursor moves to the
779         right after inserting an inset
780
781 2004-11-02  José Matos  <jamatos@lyx.org>
782
783         * output_docbook.C (docbook):
784         * paragraph.C (getID):
785         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
786         garantee that the output is always legal.
787
788         * tabular.C (docbook):
789         * outputprams.[Ch]: remove mixed contents.
790
791 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
792
793         * text2.C (setCounter): prevent endless loop
794
795 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
796
797         * exporter.C (copyFile): use the mover instead of support::copy()
798         * exporter.C (Export): pass format and latex name to copyFile()
799         * exporter.h (addExternalFile): document
800         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
801
802 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
803
804         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
805
806 2004-10-30  José Matos  <jamatos@lyx.org>
807
808         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
809         text and no inset or font change. This allows to use CDATA
810         sections just for the whole paragraph.
811
812 2004-10-30  José Matos  <jamatos@lyx.org>
813
814         * paragraph.C (getFirstWord): remove unused variable.
815
816 2004-10-30  José Matos  <jamatos@lyx.org>
817
818         * paragraph.C (getFirstWord): the content should always be escaped
819         there.
820         (simpleDocBookOnePar):
821         * output_docbook.C (makeEnvironment): replace reference to CDATA
822         to style pass_thru.
823
824 2004-10-30  José Matos  <jamatos@lyx.org>
825
826         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
827
828 2004-10-30  José Matos  <jamatos@lyx.org>
829
830         * output_docbook.C (makeParagraphs):
831         * paragraph.[Ch] (emptyTag): for docbook and company, if the
832         standard paragraph has only a given type of content drop the wrapper.
833
834 2004-10-29  José Matos  <jamatos@lyx.org>
835
836         * output_docbook.C (makeEnvironment):
837         * sgml.C (openTag):
838         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
839
840 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
841
842         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
843         (cleanID): sanitize any id.
844
845 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * buffer.C, lyxlex_pimpl.C:
848         * lyxlex_pimpl.C (setFile):
849         s/getExtFromContents/getFormatFromContents/
850
851 2004-10-28  José Matos  <jamatos@lyx.org>
852
853         * output_docbook.C (makeEnvironment): move id to broadest possible
854         scope.
855
856         * sgml.C (openTag): apply substitution of <> for all attributes.
857
858 2004-10-28  José Matos  <jamatos@lyx.org>
859
860         * buffer.C (makeLinuxDocFile, makeDocBookFile):
861         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
862         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
863
864         * sgml.[Ch]: new version for open and closeTag for paragraph and
865         for strings. Now they handle the ids of paragraphs.
866
867 2004-10-26  Angus Leeming  <leeming@lyx.org>
868
869         * Makefile.am: add mover.[Ch].
870
871         * converter.C (convert, move): use the new Movers to move external
872         files to the temp directory.
873
874         * lyx_main.C (init): ensure that the global system_movers data
875         is initialised.
876
877         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
878         preferences file.
879
880         * mover.[Ch]: new files, defining a Mover as a utility to move an
881         external file between directories and, if necessary, manipulate this
882         file using a helper script.
883
884 2004-10-25  José Matos  <jamatos@lyx.org>
885
886         * output_docbook.C (makeCommand): merge two if's that tested the
887         same condition.
888
889 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * sgml.C (escapeString): fix warning in a better way
892
893 2004-10-25  José Matos  <jamatos@lyx.org>
894
895         * sgml.C (escapeString): import the require boosts header file for
896         tie, and avoid a signed unsigned comparison.
897
898 2004-10-25  José Matos  <jamatos@lyx.org>
899
900         * sgml.h: add #include <string>
901
902 2004-10-25  José Matos  <jamatos@lyx.org>
903
904         * sgml.[Ch] (escapeString): new function to escape all the string.
905
906 2004-10-24  José Matos  <jamatos@lyx.org>
907
908         * paragraph.[Ch] (getFirstWord): new function to get the first
909         word. Useful for description.
910         (simpleDocBookOnePar): remove depth argument, add another that
911         says where to start the paragraph.
912
913         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
914         use the new functions to fix cleanly the support for descriptions.
915
916 2004-10-24  José Matos  <jamatos@lyx.org>
917
918         * buffer.C (makeLinuxDocFile, makeDocBookFile):
919         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
920         * output_linuxdoc.C (linuxdocParagraphs):
921         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
922         add buffer as argument.
923
924 2004-10-24  José Matos  <jamatos@lyx.org>
925
926         * output_docbook.C (makeEnvironment, searchEnvironment): place
927         CDATA inside paragraphs and fix scope for listitems.
928
929 2004-10-24  José Matos  <jamatos@lyx.org>
930
931         * output_docbook.C: remove using statement for stack.
932
933 2004-10-23  José Matos  <jamatos@lyx.org>
934
935         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
936         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
937         docbook. The new scheme is recursive and makes use of iterators, the
938         same as latex export works.
939         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
940         directly with the paragraph contents. This code was moved up to
941         output_docbook.C (docbookParagraphs).
942         * sgml.C (openTag, closeTag): removed unneeded newlines.
943         (closeEnvTags) removed.
944
945 2004-10-23  André Pönitz  <poenitz@gmx.net>
946
947         * undo.C (textUndoOrRedo):
948         * dociterator.C (asDocIterator): work around crash
949
950         * cursor.C (getStatus): replace ASSERT by more verbose error message
951           and manual correction of the problem. Should increase stability
952           while providing more sensible information.
953
954 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
957
958         * bufferlist.C (previous, next): new methods
959
960         * lfuns.h:
961         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
962
963 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
964
965         * buffer.C (makeDocBookFile): add dsssl stylesheet control
966         entities to preamble.
967
968 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
969
970         * messages.C (Pimpl): strip off translation context information
971
972 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
973
974         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
975         the cursor is correct (bug 1694)
976
977 2004-10-13  José Matos  <jamatos@lyx.org>
978
979         * output_docbook.C (docbookParagraphs): fix closing tags in the
980         end of the document.
981
982 2004-10-09  José Matos  <jamatos@lyx.org>
983
984         * buffer.C: format up to 237.
985         * bufferparams.C (write): use tostr to convert booleans to strings.
986
987 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
988
989         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
990
991 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
992
993         * LaTeX.C: implement use of babel language in xindy.
994
995 2004-10-05  José Matos  <jamatos@lyx.org>
996
997         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
998         Add new translators to help reading and writing the lyx file.
999
1000 2004-10-05  José Matos  <jamatos@lyx.org>
1001
1002         * ParagraphParameters.C (read):
1003         * text.C (readParToken): replace nexToken by more appropriate lex
1004         methods.
1005
1006 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1007
1008         * LaTeX.C (runMakeIndex):
1009         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1010         (usually 'makeindex') configurable.
1011
1012         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1013         with a variable rather than with a number.
1014
1015 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * output_latex.C (TeXOnePar): make sure font setting is the first
1018         thing that gets output (and the last at the end). Should fix bug
1019         1404.
1020
1021 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1022
1023         * pch.h: use proper signal include
1024
1025         * LaTeX.h: Use preferred calling of Boost.Signal
1026         * buffer.h: ditto
1027
1028 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1029
1030         * pch.h: dont include <boost/function/function0.hpp>
1031
1032         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1033
1034         * paragraph_pimpl.h: remove usage of ShareContainer
1035
1036         * paragraph_pimpl.C: remove initialization of ShareContainer.
1037
1038 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         Fix bug #1666
1041
1042         * BufferView.C (putSelectionAt): change the semantics when
1043         backwards == true: now, this just swaps cursor and anchor wrt the
1044         forward case
1045
1046         * BufferView.h (putSelectionAt): add some documentation
1047
1048         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1049         make sure backwardChar is done at least once (to avoid getting
1050         stuck)
1051         (findNextChange): use putSelectionAt in the forward direction
1052         (operator()): use Paragraph::isWord
1053
1054 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1055
1056         * Spacing.C (set): c_str fix
1057
1058 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * lyx_cb.C (Reconfigure): quote the name of configure script in
1061         case it contains spaces
1062
1063 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1064
1065         * client: new dir
1066
1067         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1068         (BOOST_LIBS): use top_buildir when looking for the file
1069
1070 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * pch.h: do not use include boost/format.hpp, multiple symbols
1073                 will result (gcc bug)
1074
1075
1076 2004-08-23  José Matos  <jamatos@lyx.org>
1077
1078         * bufferparams.C (readToken): fix reading of the author field.
1079
1080 2004-08-20  José Matos  <jamatos@lyx.org>
1081
1082         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1083
1084 2004-08-20  José Matos  <jamatos@lyx.org>
1085
1086         * lyxlex.[Ch] (findToken): remove function.
1087
1088         * ParagraphParameters.C (findToken):
1089         * bufferparams.C (findToken): replace call for previous function
1090         with local copy. This local function has one more argument, the
1091         read string argument.
1092
1093 2004-08-16  José Matos  <jamatos@lyx.org>
1094
1095         * ParagraphParameters.C (write):
1096         * Spacing.C (writeFile):
1097         * bufferparams.C (writeLaTeX):
1098         * lyx_cb.C (Reconfigure):
1099         * paragraph.C (write):
1100         * tabular.C (write): remove unnecessary space at end of line.
1101
1102
1103 2004-08-16  José Matos  <jamatos@lyx.org>
1104
1105         * text.C (readParagraph): remove debug message.
1106
1107 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1110         crash
1111
1112         * output_plaintext.C (asciiParagraph): set depth correctly
1113
1114         * outputparams.h: add member depth
1115
1116         * paragraph_funcs.C (ownerPar): remove.
1117
1118         * text2.C (setCounter): remove first_pit; comment out some
1119         non-working code that uses ownerPar
1120
1121         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1122         uses ownerPar
1123
1124 2004-08-16  José Matos  <jamatos@lyx.org>
1125
1126         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1127         For the same level of importance use the same chanel to report problems.
1128         (read): add code to deal with \begin_body and \end_body.
1129
1130
1131 2004-08-15  José Matos  <jamatos@lyx.org>
1132
1133         * lyxlex.C (getString): fix comment, buffer::readBody is now
1134         buffer:readDocument.
1135
1136         * tex-strings.C (string_papersize): Default -> default,
1137         Custom -> custom, for consistency with other options.
1138
1139 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1140
1141         * pch.h: new file
1142
1143         * Makefile.am: support pch
1144
1145 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * text.C (readParToken): remove the static LyXFont variable and
1148         pass it as a parameter instead. This fixes a nasty bug where an
1149         inset will be inserted with a bad font in some situations
1150         (readParagraph): adapt
1151
1152         * text2.C (setCounter): reduce number of calls to pars_[pit]
1153
1154         * text.C (singleWidth): add an assert, fix a test
1155
1156         * rowpainter.C (paintText): reduce number of calls to singleWidth
1157
1158         * paragraph.C (isHfill):
1159         (isNewline): ws only
1160
1161 2004-08-14  André Pönitz  <poenitz@gmx.net>
1162
1163         * text.C:
1164         * text2.C:
1165         * rowpainter.C:
1166         * lyxtext.h (several functions): use a Paragraph & argument
1167         instead of par_type
1168
1169 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1170
1171         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1172
1173         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1174
1175         * text.C (singleWidth): remove useless test
1176
1177 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         * tabular.h: remove bogus comments
1180
1181         * tabular.C (getDescentOfRow):
1182         (isPartOfMultiColumn): add assertions
1183
1184         * lyxlength.C (inPixels): remove #warning
1185
1186 2004-08-14  André Pönitz  <poenitz@gmx.net>
1187
1188         * paragraph.h: inline getChar()
1189
1190         * BufferView.h: remove unused declarations
1191
1192 2004-08-14  José Matos  <jamatos@lyx.org>
1193
1194         * Buffer.[Ch] (readDocument): new name for old readBody.
1195         * Buffer.C: new file format, new keywords: \begin_document,
1196         \begin_header, \begin_body, \end_body.
1197
1198         * bufferparams.C (readToken): replace all calls to lex.nextToken
1199         by lex.next(). Do the same to eatLine except where really needed.
1200
1201         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1202         line when writing to the lyx file.
1203
1204         * output_plaintext.C (asciiParagraph): fix Bibliography style
1205         handling.
1206
1207         * text.C (read): fix end of file handling.
1208
1209 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * MenuBackend.C (Menu::operator[]): new method to access
1212         individual menu items
1213         (Menu::hasFunc): new method. search for an item that corresponds
1214         to a given func
1215         (MenuBackend::specialMenu): new method
1216         (MenuBackend::expand): if a special menu has been set, skip
1217         entries whose func() appears in this menu
1218
1219 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1220
1221         * text3.C: use Debug::DEBUG a bit more
1222
1223         * text.C (leftMargin): try to simplify a tiny bit change var x to
1224         l_margin. Dont output the wide margins always.
1225         (rightMargin): no margin in inner texts
1226
1227         * rowpainter.h (nestMargin): new func
1228         (changebarMargin): new func
1229         (rightMargin): new func
1230
1231         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1232         now functions.
1233         (paintLast): ditto
1234
1235         * factory.C (createInset): modify setDrawFrame
1236
1237         * cursor.C: use Debug::DEBUG a bit more
1238
1239 2004-08-14  André Pönitz  <poenitz@gmx.net>
1240
1241         * coordcache.[Ch]:
1242         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1243         cache for all insets in (at least partially) visible (top-level)
1244         paragraphs.
1245
1246         * BufferView_pimpl.C: reset external coord cache before every update.
1247         This means the coord cache only contains valid entries.
1248
1249 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1250
1251         bug 1096
1252         * BufferView_pimpl.C (getInsetByCode): move function out of class
1253         and change in to a template in anon namespace. Also fix to do what
1254         suits us better.
1255
1256 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1257
1258         bug 1305
1259         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1260         of char
1261         (breakParagraph): rename par to par_offset and use a local
1262         reference. Add code to keep the language over a rebreak.
1263         (breakParagraphConservative): rename par to par_offset, use a
1264         local reference
1265         (mergeParagraph): ditto
1266         (outerHook): ditto
1267         (isFirstInSequence): ditto
1268         (outerFont): rename pit to par_offset
1269
1270         * paragraph.C: ws change
1271         * paragraph.h: ditto
1272         * text3.C: ditto
1273         * text.C: ditto
1274
1275 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1276
1277         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1278         treatment for ']'
1279
1280         * paragraph.C (simpleTeXOnePar): when we have a \item with
1281         optional argument, enclose the argument with curly brackets (in
1282         case it contains a closing square bracket)
1283
1284         * text2.C (editXY):
1285         * text2.C (editXY):
1286         * text3.C (checkInsetHit): constify
1287
1288 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1291         documents (bug 1629)
1292
1293 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         Fix toggling of collapsable insets with the mouse (bug 1558)
1296
1297         * lyxfunc.C (dispatch): adapt to LCursor changes
1298
1299         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1300         make sure that dispatch is not invoked twice
1301
1302         * cursor.C (needsUpdate): new method
1303         (dispatch): return void
1304         (result): new method, to access the DispatchResult of the cursor.
1305
1306 2004-08-13  José Matos  <jamatos@lyx.org>
1307
1308         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1309
1310 2004-08-13  André Pönitz  <poenitz@gmx.net>
1311
1312         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1313
1314         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1315           multiple cells
1316
1317 2004-08-12  André Pönitz  <poenitz@gmx.net>
1318
1319         * text3.C: take out the 'cursor right' form insertInset and only
1320         do it in those places when it is really needed. Fixes crash on
1321         C-m...
1322
1323 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1324
1325         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1326
1327         * BufferView_pimpl.C (setBuffer): initialize the current font of
1328         the underlying LyXText
1329
1330 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * kbsequence.C (print): use UI native formatting for menu
1333         shortcuts
1334
1335         * text.C (insertChar): call Paragraph::insertChar with a font
1336         argument (cosmetic)
1337
1338         * paragraph.C (insertInset, insertChar): the version that takes a
1339         LyXFont argument is now a wrapper around the other one (the
1340         opposite used to be true).
1341
1342         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1343         argument. Font setting is done in Paragraph now.
1344
1345 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * outputparams.h: add new members intitle and lang.
1348
1349         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1350         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1351
1352 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1353
1354         * text3.C (dispatch): remove special handling of button 4 and 5,
1355         it is now taken care of in the frontend code.
1356
1357 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * Spacing.h: add <string> (STLPort compile fix)
1360
1361 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1362
1363         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1364
1365 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1366
1367         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1368         to bool.
1369
1370         * converter.C (showMessage): inherit from unary_function, make
1371         operator() const.
1372
1373         * buffer.C (writeFile): initialize retval
1374
1375         * InsetList.h: rename private variable list to list_
1376         * InsetList.[Ch]: adjust accordingly.
1377
1378 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1379
1380         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1381         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1382         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1383         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1384         * ParagraphParameters.C, LaTeXFeatures.C: replace
1385         "support/std_sstream.h" with <sstream>
1386
1387 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1390         * lyxsocket.C (LyXServerSocket): ditto
1391         (serverCallback): ditto
1392
1393 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1394
1395         * LaTeXFeatures.C: check release date when loading jurabib.
1396
1397 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1398
1399         * lyxserver.C (startPipe): call register_socket_callback
1400         (endPipe): call unregister_socket_callback
1401
1402 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1403
1404         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1405         (LyXServerSocket): register the callback
1406         (LyXServerSocket): unregister the callback
1407         (fd): delete function
1408         (serverCallback): improve error checking and setup the callbacks.
1409         (dataCallback): change arg to fd.
1410         (writeln): new func (copied fro the client socket) used for server
1411         write to client.
1412         (LyXDataSocket): simplify
1413         (~LyXDataSocket): close ann unregiser callback
1414         (server): delete function
1415         (fd): delete function
1416         (readln): small changes, improve some std::string usage
1417         (writeln): constify a bit
1418
1419 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1422         Qt frontend
1423
1424 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1427         after it has been populated
1428
1429 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * text2.C (insertInset): move cursor when inserting inset.
1432
1433 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * kbmap.C (findbindings): a couple of new methods. returns a
1436         container of kb_sequence objects. The real work is done by the
1437         private recursive version
1438         (printbindings): uses findbindings to print out a bracketed list
1439         of bindings (renamed from findbinding).
1440
1441         * MenuBackend.C (binding): use kb_keymap::findbindings
1442
1443         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1444
1445 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1446
1447         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1448
1449 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * paragraph.C (isWord): return true on insets that report
1452         isLetter().
1453
1454         * text.C (getWord): use Paragraph::isWord to decide what is in a
1455         word and what is not; fix bug 1609.
1456
1457 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1458
1459         * tex-strings.C: add "none" to string_paperpackages[], fixes
1460         off-by-one-error in the paperpackage selection.
1461
1462         * lyxlex.[Ch]:
1463         * tex-strings.[Ch]: char const * string[n]
1464         -> char const * const string[]
1465
1466 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1469         command, return early.
1470
1471 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1472
1473         * debug.h: add DEBUG to enum and fix size of ANY.
1474
1475         * debug.C: add support for Debug::DEBUG
1476         (showTags): cast errorTags.level to unsigned int
1477
1478         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1479         (redoCurrentBuffer): ditto
1480         (updateScrollbar): ditto
1481         * cursor.C (dispatch): ditto
1482         * text2.C (setLayout): ditto
1483         (setFont): ditto
1484         (updateCounters): ditto
1485         (editXY): ditto
1486         (deleteEmptyParagraphMechanism): ditto
1487
1488 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1491         annotations to cleanup the Makefile slightly.
1492
1493 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         * lyxrc.C: do not set user_email to a default value but use empty
1496         instead. The entry used to be translated, which does not work
1497         since at the point where lyxrc is constructed there is no
1498         translation service available
1499
1500         * messages.C (getLocaleDir): remove and use directly
1501         lyx_localedir() instead
1502
1503 2004-06-02  Angus Leeming  <leeming@lyx.org>
1504
1505         Fix crash caused by dereferencing null pointer 'exportdata' in
1506         OutputParams by creating a new ExportData variable on the heap,
1507         storing it in a boost::shared_ptr.
1508         The crash was triggered when generating an Instant Preview
1509         of an external inset.
1510
1511         * Makefile.am: add outputparams.C
1512
1513         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1514         (c-tor): allocate memory to it.
1515
1516         * exporter.C (c-tor): associated changes.
1517
1518 2004-06-01  Angus Leeming  <leeming@lyx.org>
1519
1520         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1521         contains data before calling isInset(0). (Bug 1513.)
1522
1523 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1524
1525         * exporter.C (checkOverwrite): new method
1526         * exporter.C (copyFile): new method
1527         * exporter.C (Export): copy referenced files to the document dir
1528         * exporter.[Ch]: new class ExportedFile
1529         * exporter.[Ch]: new class ExportData. Contains currently the
1530         names of referenced external files
1531         * outputparams.h: add exportdata member.
1532
1533 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1534
1535         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1536         version.C-tmp
1537
1538 2004-05-19  Angus Leeming  <leeming@lyx.org>
1539
1540         * LaTeXFeatures.C:
1541         * ToolbarBackend.C:
1542         * bufferparams.C:
1543         * lyxfunc.C: small changes due to the introduction of namespace
1544         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1545
1546 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * text3.C (dispatch): supress update when only moving the cursor
1549         * cursor.C (selHandle): remove commented code
1550
1551 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1552
1553         * paragraph.C (startTeXParParams): correct column count
1554         * CutAndPaste.C (pasteSelection): remove const_cast
1555         * output_docbook.C (docbookParagraphs): remove const_cast
1556         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1557         const_cast and return ParagraphList::const_iterator
1558         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1559         * output_plaintext.C (writeFileAscii): remove const_cast
1560         * paragraph.[Ch] (simpleTeXOnePar): make const
1561         * paragraph_funcs.C (outerPar): use const iterators
1562         * paragraph_pimpl.C (validate): use const iterators
1563         * text.C (setHeightOfRow): use const iterators
1564
1565 2004-05-17  Angus Leeming  <leeming@lyx.org>
1566
1567         * lfuns.h:
1568         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1569
1570         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1571         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1572         if the citation engine has changed.
1573
1574 2004-05-14  José Matos  <jamatos@lyx.org>
1575
1576         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1577         if the textclass does not provide it. Have it different for sgml and
1578         xml.
1579         support the language of document.
1580         * output_docbook.C (docbookParagraphs):
1581         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1582         first anchor as the id of the paragraph, remove special case code.
1583         * sgml.C (escapeChar): escape only < & >.
1584
1585 2004-05-14  Angus Leeming  <leeming@lyx.org>
1586
1587         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1588         dependencies on src/frontends/controllers/biblio.h. Define a
1589         CiteEngine_enum wrapper class to enable the enum to be forward
1590         declared.
1591
1592 2004-05-12  Angus Leeming  <leeming@lyx.org>
1593
1594         * buffer.C: up LYX_FORMAT to 234.
1595         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1596         use_numerical_citations with a single biblio::CiteEngine cite_engine
1597         variable.
1598         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1599
1600 2004-05-13  José Matos  <jamatos@lyx.org>
1601
1602         * converter.h:
1603         * converter.C (Converter, readFlags): add xml member.
1604         * outputparams.h: add XML flavor.
1605         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1606
1607 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * lyxfunc.C (dispatch):
1610         (getStatus): fix handling of LFUN_SEQUENCE
1611
1612 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * debug.C (showLevel): do not forget the end-of-line marker
1615
1616 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * kbmap.C (read): do not stop parsing a bind file when an error
1619         occurs (bug 1575)
1620
1621 2004-04-29  Angus Leeming  <leeming@lyx.org>
1622
1623         * cursor.C:
1624         * factory.C:
1625         * pariterator.C:
1626         * text2.C: wrap a bunch of #warning statements
1627         inside #ifdef WITH_WARNINGS blocks.
1628
1629 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1630
1631         * buffer.C: increment format to 233.
1632
1633 2004-04-28  Angus Leeming  <leeming@lyx.org>
1634
1635         * BufferView_pimpl.C:
1636         * lyxfunc.C:
1637         * text3.C:
1638         s/updateToolbar()/updateToolbars()/
1639         s/Toolbar.h/Toolbars.h/
1640
1641 2004-04-28  Angus Leeming  <leeming@lyx.org>
1642
1643         * BufferView.[Ch] (c-tor):
1644         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1645         No longer passes these data to the WorkArea generator.
1646
1647 2004-04-28  Angus Leeming  <leeming@lyx.org>
1648
1649         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1650
1651 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1652
1653         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1654
1655 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656
1657         * output_latex.C (TeXEnvironment): make sure that there is a line
1658         break before \end{foo} for the last paragraph of a document
1659         (TeXOnePar): if the paragraph is at the end of the document (or
1660         inset) and the language has to be reset, then make sure that the
1661         line break is _before_ the language command, not after (fixes bug
1662         1225); also make sure that the language reset command is the first
1663         thing after the paragraph (to ensure proper nesting of
1664         environments and thus fix bug 1404)
1665
1666 2004-04-21  John Levon  <levon@movementarian.org>
1667
1668         * ToolbarBackend.h:
1669         * ToolbarBackend.C: make "name" be a programmatic name
1670         and a gui_name field.
1671
1672         * lyxfunc.C: display the minibuffer on M-x
1673
1674 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1677         (bug 1526)
1678
1679 2004-04-19  Angus Leeming  <leeming@lyx.org>
1680
1681         * BufferView_pimpl.C (setBuffer): changed preview interface.
1682
1683         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1684         possible values.
1685
1686 2004-04-19  John Levon  <levon@movementarian.org>
1687
1688         * BufferView_pimpl.C:
1689         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1690
1691 2004-04-05  Angus Leeming  <leeming@lyx.org>
1692
1693         * text.C (redoParagraphs): add call to updateCounters(), thereby
1694         fixing the missing "Figure #:" label from the caption of a
1695         figure float.
1696
1697 2004-04-13  Angus Leeming  <leeming@lyx.org>
1698
1699         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1700         cursor is clicked out of an inset.
1701
1702 2004-04-13  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1705         than an InsetOld one.
1706
1707 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1708
1709         * format.[Ch]: add editor to Format
1710         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1711         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1712
1713 2004-04-08  André Pönitz  <poenitz@gmx.net>
1714
1715         * metricsinfo.h: remove PainterInfo::width member
1716
1717 2004-04-08  Angus Leeming  <leeming@lyx.org>
1718
1719         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1720         "\providecommand" rather than "\newcommand", thereby preventing
1721         clashes with packages that define "\boldsymbol" themselves.
1722         Eg, beamer.
1723
1724 2004-04-08  Angus Leeming  <leeming@lyx.org>
1725
1726         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1727         thereby squashing an unnecessary warning.
1728
1729 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1730
1731         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1732         setBuffer()
1733
1734 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1735
1736         * BufferView.C (setCursor): call redoParagraph (some insets could
1737         have been opened)
1738         (putSelectionAt): remove the 'double update' trick
1739
1740         * BufferView_pimpl.C (fitCursor): call refreshPar
1741         (workAreaDispatch): remove an uneeded update call
1742         (dispatch): remove some manual update calls
1743
1744         * cursor.[Ch]: remove cached_y_, updatePos
1745         (selHandle): set noUpdate when appropriate
1746
1747         * lyxfunc.C (dispatch): track if we need an update
1748
1749         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1750
1751         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1752         (paintSelection): cheap optimization, do not call cursorX when not
1753         needed
1754         (paintPars): change signature
1755         (refreshPar): add
1756         (paintText): adjust
1757         (paintTextInset): adjust
1758
1759         * text.C: adjust
1760
1761 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * lengthcommon.C: compilation fix: remove explicit array size from
1764         unit_name[] and friends
1765
1766 2004-04-05  Angus Leeming  <leeming@lyx.org>
1767
1768         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1769
1770         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1771         present only for the preferences dialog.
1772         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1773
1774 2004-04-05  Angus Leeming  <leeming@lyx.org>
1775
1776         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1777         to enable the frontends to export changes to lyxrc correctly.
1778
1779         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1780
1781 2004-04-07  André Pönitz  <poenitz@gmx.net>
1782
1783         * cursor.[Ch] (selClear, adjust): remove math
1784
1785         * cursor_slice.C: more agressive assert
1786
1787         * lyxfunc.C:
1788         * BufferView_pimpl.C: rework mouse event dispatch
1789
1790         * dociterator.C:
1791         * paragraph.C:
1792         * text2.C:
1793         * text3.C: adjust
1794
1795 2004-04-05  André Pönitz  <poenitz@gmx.net>
1796
1797         * cursor.[Ch] (valign, halign...): remove unneeded functions
1798
1799 2004-04-05  Angus Leeming  <leeming@lyx.org>
1800
1801         * lyxlength.[Ch] (unit_name et al.): const-correct.
1802
1803 2004-04-05  Angus Leeming  <leeming@lyx.org>
1804
1805         * BufferView_pimpl.C:
1806         * buffer.C:
1807         * counters.C:
1808         * cursor.C:
1809         * lyxfunc.C
1810         * paragraph.C:
1811         * pariterator.C:
1812         * text.C:
1813         * text2.C:
1814         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1815
1816 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1819
1820 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1823         * BufferView_pimpl.[Ch] (getStatus)
1824         * BufferView.[Ch] (getStatus): add
1825         * lyxfunc.C (getStatus): move lfuns handled in
1826         BufferView::dispatch to te function above
1827         * Cursor.C (setSelection): set selection() = true
1828
1829 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1832
1833 2004-03-31  Angus Leeming  <leeming@lyx.org>
1834
1835         * lyxfunc.C (dispatch): Fall through to the generic
1836         Dialogs::show("preamble").
1837
1838 2004-03-31  Angus Leeming  <leeming@lyx.org>
1839
1840         * lyxfunc.C (dispatch): Fall through to the generic
1841         Dialogs::show("spellchecker").
1842
1843 2004-03-31  Angus Leeming  <leeming@lyx.org>
1844
1845         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1846         preferences dialog.
1847
1848 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * BufferView.C
1851         * cursor.[Ch]
1852         * dociterator.[Ch]:
1853         * insetiterator.[Ch]:
1854         * lyxfind.C:
1855         * lyxfunc.C:
1856         * pariterator.[Ch]:
1857         * text2.C:
1858         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1859
1860 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1863         insets where we are putting the cursor.
1864
1865 2004-03-31  Angus Leeming  <leeming@lyx.org>
1866
1867         * lfuns.h:
1868         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1869
1870         * lyxrc.[Ch] (read, write): overloaded member functions taking
1871         a std::[io]stream arguments.
1872
1873         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1874
1875 2004-03-31  Angus Leeming  <leeming@lyx.org>
1876
1877         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1878         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1879
1880         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1881         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1882
1883 2004-03-31  Angus Leeming  <leeming@lyx.org>
1884
1885         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1886         the LFUN_ALL_INSETS_TOGGLE code.
1887
1888 2004-03-30  Angus Leeming  <leeming@lyx.org>
1889
1890         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1891         has died. Fall through to the generic Dialogs::show("document").
1892
1893 2004-03-30  Angus Leeming  <leeming@lyx.org>
1894
1895         * lfuns.h:
1896         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1897         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1898
1899         * lyxfunc.C (getStatus, dispatch): define the actions for these
1900         lfuns. Little more than a cut and pste job from ControlDocument.C
1901
1902         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1903
1904 2004-03-30  Angus Leeming  <leeming@lyx.org>
1905
1906         * lfuns.h:
1907         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1908         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1909
1910         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1911         open/closed state of ollapsable insets. Usage:
1912
1913         all-inset-toggle <state> <name>, where
1914         <state> == "open" || "closed" || "toggle" and
1915         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1916
1917         * lyxtext.h, text2.C (toggleInset): removed.
1918
1919         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1920         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1921         now passes LFUN_INSET_TOGGLE to the found inset.
1922
1923         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1924         is now invoked as "all-insets-toggle toggle branch".
1925
1926 2004-03-30  Angus Leeming  <leeming@lyx.org>
1927
1928         * dociterator.C:
1929         * insetiterator.C:
1930         * pariterator.[Ch]: added/corrected header blurb.
1931
1932 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * dociterator.[Ch]: add an inset_ member
1935         (backwardPos): implemented
1936         (backwardPos, forwardPos): use inset_ when the stack is empty.
1937         (doc_iterator_begin, doc_iterator_end): implemented
1938         * pariterator.[Ch]: adjust, add begin, end
1939         * insetiterator.[Ch]: adjust, add begin, end
1940         * cursor.C:
1941         * document.C:
1942         * BufferView.C:
1943         * BufferView_pimpl.C:
1944         * CutAndPaste.C: adjust
1945
1946 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1947
1948         * buffer.C: increment file format to 232.
1949         * LaTeXFeatures.C: add bibtopic package.
1950         * bufferparams.[Ch]: param \use_bibtopic.
1951
1952         * lyxrc.[Ch]: add lyxrc bibtex_command
1953         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1954
1955         * buffer.C: increment file format to 231.
1956
1957 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1958
1959         * dociterator.C: implement forwardPar
1960         * iterators.[Ch]: remove, replaced by
1961         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1962         * BufferView.C:
1963         * BufferView_pimpl.C:
1964         * CutAndPaste.C:
1965         * buffer.C:
1966         * bufferview_funcs.C:
1967         * cursor.C:
1968         * lyxfind.C
1969         * lyxfunc.C
1970         * paragraph_funcs.C
1971         * toc.C:
1972         * Makefile.am: adjust
1973
1974 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * CutAndPaste.C (pasteSelection): fix 2 crashes
1977         (eraseSelection): fix a crash
1978         * paragraph_funcs.C: remove a warning
1979
1980 2004-03-28  Angus Leeming  <leeming@lyx.org>
1981
1982         * lfuns.h:
1983         * LyXAction.C (init): new LFUN_PRINT.
1984
1985         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1986
1987 2004-03-27  Angus Leeming  <leeming@lyx.org>
1988
1989         * lfuns.h:
1990         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1991
1992         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1993
1994 2004-03-27  Angus Leeming  <leeming@lyx.org>
1995
1996         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1997         insetlist always contains non-null pointers to insets.
1998
1999 2004-03-26  Angus Leeming  <leeming@lyx.org>
2000
2001         * src/BufferView_pimpl.C:
2002         * src/CutAndPaste.C:
2003         * src/buffer.C:
2004         * src/iterators.C:
2005         * src/output_plaintext.C:
2006         * src/outputparams.h:
2007         * src/paragraph_funcs.C:
2008         * src/rowpainter.C:
2009         * src/text.C:
2010         * src/text2.C:
2011         * src/frontends/controllers/ControlErrorList.C:
2012         * src/frontends/gtk/FileDialogPrivate.C:
2013         * src/frontends/gtk/GPainter.C:
2014         * src/frontends/gtk/GToolbar.C:
2015         * src/frontends/qt2/QRef.C:
2016         * src/mathed/math_scriptinset.C: squash compiler warnings.
2017
2018 2004-03-26  Angus Leeming  <leeming@lyx.org>
2019
2020         * ispell.C (LaunchIspell::start):
2021         * lyx_cb.C (AutoSaveBuffer::start):
2022         invoke run(DontWait) rather than runNonBlocking().
2023
2024 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2025
2026         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2027
2028 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2029
2030         * kbsequence.C (print): adjust
2031
2032         * kbmap.C (printKeySym): rename and change signature
2033         (printKey): use LyXKeySym::print()
2034
2035 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2036
2037         * undo.C: add using std::advance to compile for stlport
2038
2039 2004-03-24  Angus Leeming  <leeming@lyx.org>
2040
2041         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2042         it leads to a crash when no buffer is present.
2043
2044 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045             Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * lyxfunc.C (dispatch):
2048         * bufferparams.C (readToken): use the new LColor::setColor
2049
2050         * LColor.[Ch] (setColor): new version that takes two strings as
2051         argument and creates a new color entry if necessary
2052
2053 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2054
2055         * buffer.C (makeLaTeXFile): if the main latex file that is
2056         processed is usually a subdocument of some master, then pretend
2057         for a while that it is actually the master
2058
2059 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2060
2061         * buffer.C (getLabelList):
2062         (getBibkeyList): use getMasterBuffer()
2063         (getMasterBuffer): new method. Returns the main document in the
2064         case where one is using included documents.
2065
2066 2004-03-25  André Pönitz  <poenitz@gmx.net>
2067
2068         * Makefile.am:
2069         * iterators.[Ch]:
2070         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2071
2072         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2073
2074         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2075         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2076
2077         * ParameterStruct.h: merge with ParagraphParameters
2078
2079         * lyxtext.h: remove LyXText::parOffset() and getPar()
2080
2081         * text3.C: Remove all 'manual' update calls. We do now one per user
2082         interaction which is completely sufficient.
2083
2084         * Bidi.C:
2085         * BufferView.[Ch]:
2086         * BufferView_pimpl.C:
2087         * FontIterator.[Ch]:
2088         * MenuBackend.C:
2089         * ParagraphParameters.[Ch]:
2090         * buffer.C:
2091         * buffer.h:
2092         * bufferlist.C:
2093         * cursor.[Ch]:
2094         * cursor_slice.[Ch]:
2095         * dociterator.[Ch]:
2096         * errorlist.[Ch]:
2097         * factory.C:
2098         * lfuns.h:
2099         * lyxfind.C:
2100         * lyxfunc.C:
2101         * output_docbook.[Ch]:
2102         * output_latex.[Ch]:
2103         * output_linuxdoc.[Ch]:
2104         * output_plaintext.[Ch]:
2105         * paragraph.[Ch]:
2106         * paragraph_funcs.[Ch]:
2107         * paragraph_pimpl.[Ch]:
2108         * rowpainter.C:
2109         * tabular.[Ch]:
2110         * text.C:
2111         * text2.C:
2112         * toc.C:
2113         * undo.[Ch]: adjust
2114
2115         * frontends/controllers/ControlDocument.C:
2116         * frontends/controllers/ControlErrorList.C:
2117         * frontends/controllers/ControlSpellchecker.C:
2118         * insets/inset.C:
2119         * insets/inset.h:
2120         * insets/insetbase.h:
2121         * insets/insetbibitem.C:
2122         * insets/insetbox.C:
2123         * insets/insetbranch.C:
2124         * insets/insetcaption.C:
2125         * insets/insetcharstyle.C:
2126         * insets/insetcharstyle.h:
2127         * insets/insetcollapsable.C:
2128         * insets/insetcollapsable.h:
2129         * insets/insetert.C:
2130         * insets/insetfloat.C:
2131         * insets/insetfoot.C:
2132         * insets/insetmarginal.C:
2133         * insets/insetnote.C:
2134         * insets/insetoptarg.C:
2135         * insets/insettabular.C:
2136         * insets/insettext.C:
2137         * insets/insettext.h:
2138         * insets/insetwrap.C:
2139         * mathed/math_mboxinset.C:
2140         * mathed/math_nestinset.C:
2141         * mathed/math_scriptinset.C:
2142         * mathed/math_scriptinset.h:
2143         * support/types.h:
2144
2145 2004-03-24  Angus Leeming  <leeming@lyx.org>
2146
2147         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2148         deal with any child processes that have finished but are waiting to
2149         communicate this fact to the rest of LyX.
2150
2151 2004-03-24  Angus Leeming  <leeming@lyx.org>
2152
2153         64-bit compile fixes.
2154
2155         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2156         (c-tor): pass lyx::pos_types rather than ints.
2157
2158         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2159         lyx::pos_type.
2160
2161         * text.C (Delete): compile fix.
2162         (getPar): ensure that function declaration is the same as that in
2163         the header file.
2164
2165 2004-03-23  Angus Leeming  <leeming@lyx.org>
2166
2167         * ispell.C (LaunchIspell):
2168         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2169         a boost::shred_ptr rather than a std::auto_ptr.
2170
2171 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2174         handle LFUN_FILE_INSERT_*
2175
2176         * lyxrc.C (setDefaults, getDescription, output, read):
2177         * lyxrc.h: remove ps_command
2178
2179 2004-03-22  Angus Leeming  <leeming@lyx.org>
2180
2181         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2182         Ensure that error_handler is processed once only and that all data
2183         is saved before attempting to output any warning messages.
2184
2185         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2186
2187 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2190
2191 2004-03-19  André Pönitz  <poenitz@gmx.net>
2192
2193         * cursor.[Ch] (reset): take main text inset as argument
2194
2195         * BufferView: adjust
2196         * BufferView_pimpl.C: adjust
2197
2198         * paragraph.[Ch]: fix completely broken operator=()
2199
2200 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * LColor.C (getFromLyXName): make sure that the color name is used
2203         as lowercase.
2204
2205 2004-03-17  Angus Leeming  <leeming@lyx.org>
2206
2207         * lfuns.h:
2208         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2209
2210         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2211         dialog and to kill a forked process.
2212
2213 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * text2.C (setCursorFromCoordinates): fix font problem
2216
2217 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2220         bogus "rebuild cursor" code
2221
2222 2004-03-11  André Pönitz  <poenitz@gmx.net>
2223
2224         * buffer.[Ch]: use InsetText instead of LyXText as container for
2225         the main lyx text.
2226
2227         * dociterator.[Ch]: drop the BufferView * member which is not needed
2228         anymore after the change to buffer.C
2229
2230         * paragraph_funcs.C:
2231         * text.C:
2232         * text2.C:
2233         * BufferView.[Ch]:
2234         * BufferView_pimpl.[Ch]:
2235         * cursor.[Ch]:
2236         * cursor_slice.[Ch]: adjust
2237
2238         * text3.C: fix bug in mathDispatch
2239
2240 2004-03-08  André Pönitz  <poenitz@gmx.net>
2241
2242         * undo.[Ch]: use 'StableDocumentIterator' as base for
2243         the Undo struct.
2244
2245 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2246
2247         * LaTeXFeatures.C:
2248         * bufferparams.[Ch]: add jurabib support and param.
2249
2250         * LaTeX.C: add FIXME/comment.
2251
2252 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2253
2254         * buffer.C: increment file format to 230.
2255
2256 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * cursor.C (dispatch): avoid infinite loops
2259
2260 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * rowpainter.C (paintSelection): fix x coordinates
2263
2264 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * text.C (rowBreakPoint): fix breaking before displayed insets
2267
2268 2004-03-01  André Pönitz  <poenitz@gmx.net>
2269
2270         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2271
2272         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2273
2274         * Makefile.am:
2275         * BufferView.C:
2276         * BufferView_pimpl.C:
2277         * buffer.C:
2278         * lyxfind.C:
2279         * lyxfunc.C:
2280         * text.C:
2281         * text2.C:
2282         * text3.C: adjust
2283
2284 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * lyxtext.h:
2287         * text.C:
2288         * text2.C:
2289         * rowpainter.C:
2290         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2291         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2292
2293 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * Bidi.[Ch] (computeTables): const correctness
2296         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2297         fill_hfill, fill_label_hfill and x from Row
2298         * lyxtext.h: prepareToPrint returns a RowMetrics
2299         * rowPainter.C: adjust
2300         * text.C (prepareToPrint): use width, not textWidth. adjust
2301         (redoParagraphInternal, cursorX): adjust
2302         * text2.C (getColumnNearX): adjust
2303         (init): put a default value to the top LyXText::width
2304
2305 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2308
2309 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * lyxtext.h: add FontIterator class
2312
2313         * text.C (FontIterator, operator*, operator->, operator++): add
2314         (rowBreakPoint, setRowWidth): adjust (fixing a
2315         rebreaking bug)
2316
2317 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * BufferView_pimpl.C (workAreaDispatch): allow also
2320         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2321
2322 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2323
2324         * text.C (rowBreakPoint): fix a bug showing with very large insets
2325
2326 2004-02-25  André Pönitz  <poenitz@gmx.net>
2327
2328         * text3.C:
2329         * cursor.[Ch]: move some mathed specific code to mathed
2330
2331 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2332
2333         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2334         use_tempdir in preferences
2335         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2336         tempfile creation
2337         * lyx_main.C: ensure that tempdir is valid
2338         * lyxlex.h: correct typo
2339         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2340         * paragraph.[Ch] (isMultiLingual): make const
2341         * cursor.[Ch] (openable): make const
2342
2343 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2344
2345         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2346
2347 2004-02-20  André Pönitz  <poenitz@gmx.net>
2348
2349         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2350
2351         * cursor.[Ch]: prepare for localized getStatus()
2352
2353         * lyxtext.h:
2354         * tabular.C:
2355         * text.C:
2356         * text2.C:
2357         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2358
2359 2004-02-20  André Pönitz  <poenitz@gmx.net>
2360
2361         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2362
2363 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2364
2365         * text2.C (setCursorFromCoordinates): switch to absolute coords
2366         (cursorUp): adjust
2367         (cursorDown): adjust
2368         * text3.C (dispatch): adjust
2369
2370 2004-02-16  André Pönitz  <poenitz@gmx.net>
2371
2372         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2373           insets/ChangeLog)
2374
2375         * cursor_slice.[Ch]: remove unneeded acessor function
2376
2377         * lyxtext.h: rename rtl() to isRTL()
2378
2379         * rowpainter.C:
2380         * tabular.C:
2381         * text.C:
2382         * text2.C:
2383         * text3.C: adjust
2384
2385 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * rowpainter.C (paintSelection): coord fix
2388
2389 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2390
2391         * Spacing.C: compile fix
2392
2393 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * cursor.C (dispatch): restore current_ before returning
2396
2397 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * text2.C (cursorUp, cursorDown): fix coords
2400         (moveUp): fix crash
2401
2402 2004-02-12  André Pönitz  <poenitz@gmx.net>
2403
2404         * lyxtext.h:
2405         * text.C:
2406         * text2.C:
2407         * text3.C: add LCursor & parameter to most cursor movement functions
2408           remove usage of LyXText::cursorRow() and cursorPar()
2409
2410         * cursor.[Ch]: add textRow() needed members
2411
2412         * BufferView.C:
2413         * BufferView_pimpl.C:
2414         * paragraph.[Ch]:
2415         * BufferView.C:
2416         * BufferView_pimpl.C: adjust
2417
2418 2004-02-11  André Pönitz  <poenitz@gmx.net>
2419
2420         * lyxfunc.C:
2421         * BufferView.[Ch]:
2422         * BufferView_pimpl.C: shift undo/redo handling
2423
2424         * cursor.[Ch]: fix mathed crash
2425
2426         * lyxfind.C:
2427         * lyxtext.h: move selectionAsText to LCursor
2428
2429         * output_latex.C:
2430         * paragraph.C:
2431         * text.C:
2432         * text2.C:
2433         * text3.C: adjust
2434
2435         * rowpainter.C: fix excessive drawing
2436
2437 2004-02-06  André Pönitz  <poenitz@gmx.net>
2438
2439         * BufferView.[Ch]:
2440         * BufferView_pimpl.[Ch]:
2441         * text3.C: move some text specific LFUN handling
2442
2443 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2444
2445         * text3.C (checkInsetHit): adjust coords
2446         * text2.C (getColumnNearX): adjust coords
2447         (edit): adjust coords
2448         * text.C (getRowNearY): add two asserts
2449
2450 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2451
2452         * converter.C:
2453         * format.C: add using std::distance to compile on gcc 2.95/stlport
2454
2455 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2456
2457         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2458
2459 2004-02-04  André Pönitz  <poenitz@gmx.net>
2460
2461         * BufferView.[Ch] (insertInset):
2462         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2463
2464         * text2.C:
2465         * text3.C: adjust
2466
2467 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2468
2469         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2470         on the default clause of the switch
2471         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2472         wasn't catched by LCursor::dispatch
2473
2474 2004-02-03  André Pönitz  <poenitz@gmx.net>
2475
2476         * BufferView.C:
2477         * cursor.[Ch]: some additional asserts
2478
2479         * undo.[Ch]: remove LyXText dependency in interface
2480
2481         * lyxfunc.C: adjust
2482
2483         * lyxtext.h (firstPar, lastPar): remove dead functions
2484
2485         * text.C:
2486         * text2.C:
2487         * text3.C:
2488         * paragraph.[Ch]: adjust
2489
2490 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2491
2492         * lyxfind.C (find): fix argument order in call to ::find
2493
2494 2004-02-02  André Pönitz  <poenitz@gmx.net>
2495
2496         * cursor.[Ch]: remove direct access to anchor
2497
2498         * text.C: remove findText() hack
2499
2500 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * iterators.[Ch] (lockPath): remove in favour of...
2503         * BufferView.[Ch] (setCursor): this addition
2504         * BufferView.C (putSelectionAt): adjust
2505         * undo.C (performUndoOrRedo): adjust
2506         * lyxfunc.C (dispatch): adjust
2507
2508 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2509
2510         * iterators.C (lockPath): add a missing slice
2511         * undo.C (performUndoOrRedo): remove redundant positioning code
2512
2513 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2514
2515         * vc-backend.C (scanMaster): ";" -> ';'
2516
2517 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2518
2519         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2520         std::binary_function
2521
2522         * lyxtextclass.C (compare_name): rename to...
2523         (LayoutNamesEqual): ...this
2524
2525         * lyxlex_pimpl.C (compare_tags): inherit from
2526         std::binary_function, put back into anon namespace
2527
2528         * lyxfind.C (MatchString): inherig from std::binary_function
2529         (findChange): use empty() istead of !size()
2530
2531         * format.C (FormatNamesEqual): new functor
2532         (getFormat): use it
2533         (getNumber): use it
2534         (add): use it
2535         (erase): use it
2536         (setViewer): use it
2537
2538         * converter.C (compare_Converter): rename to...
2539         (ConverterEqual): ...this, and fixup a bit.
2540         (getConverter): use it, and make function const
2541         (getNumber): use it, and make function const
2542         (add): use it
2543         (erase): use it:
2544
2545         * bufferlist.C: add using boost::bind
2546
2547         * MenuBackend.C (MenuNamesEqual): new functor
2548         (hasMenu): use it, and make function const
2549         (hasSubmenu): use nested bind to get rid of compare_memfun.
2550
2551 2004-01-30  André Pönitz  <poenitz@gmx.net>
2552
2553         * BufferView_pimpl.C:
2554         * cursor.C:
2555         * cursor.h:
2556         * cursor_slice.[Ch]:
2557         * lyxfunc.C:
2558         * lyxtext.h:
2559         * paragraph_funcs.C:
2560         * paragraph_funcs.h:
2561         * rowpainter.C:
2562         * text.C:
2563         * text2.C:
2564         * text3.C: move some of the edit(x,y) handling to the insets
2565         some coordinate changes.
2566
2567 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2568
2569         * text.C: add using statements for std::advance and std::distance
2570
2571         * paragraph.C: add using statement for std::distance
2572
2573         * lyxfind.C: add using statement for std::advance
2574
2575         * cursor.C (region): remove std:: from swap
2576         (openable): use nucleus in stead of operator->
2577
2578         * BufferView.C: add using statements for std::distance and std::swap
2579
2580 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2581
2582         * iterators.C: Remove the pimple, move the needed structures to
2583         the header file. Create accessor for the positions stack.
2584         (asPosIterator): remove function
2585
2586         * PosIterator.C (PosIterator): move constructors to top of file
2587         (PosIterator): reimplement the constructor taking a ParIterator in
2588         terms of setFrom.
2589         (setFrom): new function
2590         (operator!=): inline it
2591
2592 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2593
2594         * lyxfind.C (replaceAll): use std::advance
2595
2596         * iterators.h: inherit from std::iterator.
2597
2598         * PosIterator.C (advance, distance): remove
2599         * PosIterator.h: interit from std::iterator.
2600
2601 2004-01-26  André Pönitz  <poenitz@gmx.net>
2602
2603         * BufferView.[Ch]:
2604         * BufferView_pimpl.[Ch]:
2605         * InsetList.[Ch]:
2606         * PosIterator.[Ch]:
2607         * buffer.h:
2608         * bufferview_funcs.C:
2609         * cursor.[Ch]:
2610         * cursor_slice.h:
2611         * factory.[Ch]:
2612         * iterators.[Ch]:
2613         * lyxfind.C:
2614         * lyxfunc.C:
2615         * lyxtext.h:
2616         * output_docbook.C:
2617         * output_latex.C:
2618         * output_linuxdoc.C:
2619         * output_plaintext.C:
2620         * paragraph.[Ch]:
2621         * paragraph_funcs.[Ch]:
2622         * paragraph_pimpl.[Ch]:
2623         * rowpainter.C:
2624         * tabular.C:
2625         * tabular.h:
2626         * text.C:
2627         * text2.C:
2628         * text3.C: more IU:  dumps most of the rest of the mathcursor
2629     implementation into cursor.[Ch]; "globalize" a bit of it.
2630
2631 2004-01-25  Angus Leeming  <leeming@lyx.org>
2632
2633         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2634
2635 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2636
2637         * LaTeXFeatures.h: add nice_ and nice() const
2638         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2639
2640 2004-01-20  André Pönitz  <poenitz@gmx.net>
2641
2642         * BufferView.[Ch]:
2643         * BufferView_pimpl.C:
2644         * PosIterator.C:
2645         * bufferview_funcs.C:
2646         * cursor.[Ch]:
2647         * cursor_slice.[Ch]:
2648         * factory.C:
2649         * iterators.C:
2650         * lyx_cb.C:
2651         * lyxfind.C:
2652         * lyxfunc.C:
2653         * lyxtext.h:
2654         * rowpainter.C:
2655         * text.C:
2656         * text2.C:
2657         * text3.C:
2658         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2659           LCursor and mathcursor parts to LCursor and InsetBase.
2660
2661 2004-01-15  André Pönitz  <poenitz@gmx.net>
2662
2663         * cursor_slice.[Ch]: add a few covienience functions
2664
2665         * funcrequest.[Ch]: remove BufferView * member
2666
2667         * BufferView_pimpl.C:
2668         * cursor.C:
2669         * factory.[Ch]:
2670         * lyxfind.[Ch]:
2671         * lyxfunc.C:
2672         * lyxtext.h:
2673         * text3.C:
2674         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2675
2676 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2679         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2680
2681 2004-01-13  André Pönitz  <poenitz@gmx.net>
2682
2683         * textcursor.[Ch]:
2684         * lyxtext.h: hide cursor and selection anchor behind accessor function
2685
2686         * BufferView.C:
2687         * BufferView_pimpl.[Ch]:
2688         * PosIterator.C:
2689         * bufferview_funcs.C:
2690         * cursor.h:
2691         * lyxfind.C:
2692         * lyxfunc.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C:
2696         * undo.C: adjust
2697
2698         * cursor.h:
2699         * cursor_slice.[Ch]: some integer type changes for inset unification
2700
2701         * lyxcursor.[hC]: remove, it's CursorSlice now.
2702
2703         * Makefile.am:
2704         * BufferView_pimpl.[Ch]:
2705         * bufferview_funcs.C:
2706         * cursor_slice.C:
2707         * lyxtext.h:
2708         * text.C:
2709         * text2.C:
2710         * text3.C:
2711         * textcursor.[Ch]: adjust
2712
2713 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * text2.C (undoSpan): add and use
2716         * text.C (breakParagraph): use undoSpan (fix bug 578)
2717         * lyxtext.h: adjust
2718
2719 2004-01-08  Angus Leeming  <leeming@lyx.org>
2720
2721         * BufferView_pimpl.C (MenuInsertLyXFile):
2722         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2723         * lyxfunc.C (menuNew, open, doImport):
2724         FileFilterList change to the FileDialog open and save functions.
2725
2726 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2727
2728         * ShareContainer.h: make isEqual and isUnique adaptable
2729
2730         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2731
2732 2004-01-07  Angus Leeming  <leeming@lyx.org>
2733
2734         * LyXAction.C:
2735         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2736
2737         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2738
2739         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2740         functions replacing find, replace and replaceAll.
2741
2742         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2743         LFUN_WORDFIND(FORWARD|BACKWARD).
2744
2745 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * text.C (breakParagraph): remove an outdated #warning
2748
2749 2004-01-07  André Pönitz  <poenitz@gmx.net>
2750
2751         * lyxfind.C: somewhat clearer logic
2752
2753         * text.C: prevent crash in cursorX on unitialized row cache
2754
2755 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2756
2757         * lyxcursor.[Ch] (operator>): add
2758         * textcursor.C (selStart, selEnd): use std::min and std::max
2759
2760 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2761
2762         * Chktex.C: include boost/format.hpp
2763
2764 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2765
2766         * InsetList.C: replace functor MathcIt with adaptable functor
2767         InsetTablePosLess
2768         (insetIterator): modify accordingly
2769
2770         * BranchList.h: move the BranchNamesEqual functor here from...
2771         * BranchList.C: ... to here
2772
2773         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2774         SameName and match.
2775         (add): replace a finding loop with std::find_if.
2776
2777 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * output_docbook.C: moving LatexParam functionality into
2780         .layout files
2781
2782 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2783
2784         * buffer.C: increment format to 229.
2785
2786 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2787
2788         * LaTeXFeatures.C:
2789         * lyx_sty.[Ch]: remove minipageindent_def
2790
2791         * LyXAction.C:
2792         * factory.C:
2793         * lfuns.h:
2794         * lyxfunc.C:
2795         * text3.C: remove LFUN_INSET_MINIPAGE
2796
2797 2003-12-28  Angus Leeming  <leeming@lyx.org>
2798
2799         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2800
2801 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * text2.C (setParagraph): fix off-by-one crash
2804
2805 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2806
2807         * output_docbook.C: header stuff for AGU
2808
2809 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2810
2811         * text2.C (redoCursor): remove
2812         * text.C:
2813         * text3.C:
2814         * BufferView_pimpl.C: remove calls to redoCursor and
2815         setCursor(cursor.par(), cursor.pos()) all around
2816
2817 2003-12-15  Angus Leeming  <leeming@lyx.org>
2818
2819         * buffer.C: up the format to 228.
2820
2821 2003-12-15  André Pönitz  <poenitz@gmx.net>
2822
2823         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2824         slices
2825
2826         * Makefile.am:
2827
2828         * BufferView_pimpl.C:
2829         * cursor.[Ch]:
2830         * lyxcursor.[Ch]:
2831         * rowpainter.[Ch]:
2832         * lyxtext.h:
2833         * text.C:
2834         * text2.C:
2835         * text3.C: adjust
2836
2837 2003-12-15  Angus Leeming  <leeming@lyx.org>
2838
2839         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2840         than getFromGUIName to manipulate the color.
2841
2842 2003-12-14  Angus Leeming  <leeming@lyx.org>
2843
2844         * BranchList.[Ch]: minimize the API.
2845         (Branch::getBranch, getColor): now return a 'const &'.
2846         (Branch::setSelected) now returns a bool set to true if the
2847         selection status changes.
2848         (BranchList::clear, size, getColor, setColor, setSelected,
2849         allBranches, allSelected, separator): removed.
2850         (BranchList::find): new functions, returning the Branch with
2851         the given name.
2852         (BranchList::add, remove): return a bool indicating that
2853         the operation was successful.
2854
2855         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2856         new InsetBranch::isBranchSlected member function.
2857
2858         * LColor.[Ch]: mimimize the API.
2859         (fill): renamed as addColor and made private.
2860         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2861         versions of these functions taking a string arg have been removed.
2862
2863         * bufferparams.C (readToken):
2864         * lyxfunc.C (dispatch):
2865         * lyxrc.C (read): changes due to the altered BranchList and
2866         LColor APIs.
2867
2868         * factory.C (createInset, readInset): changes due to altered
2869         InsetBranch c-tor.
2870
2871 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2872
2873         * factory.C:
2874         * lyxfunc.C: remove insetminipage. "minipage-insert"
2875         now produces a frameless minipage box inset.
2876
2877 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2878
2879         * textcursor.[Ch] (selStart,selEnd): add new methods
2880         remove selection::start, end, use LyXCursor::operator<
2881         * lyxcursor.[Ch] (operator<): add
2882         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2883         * BufferView.[Ch] (unsetXSel): add
2884         * text2.C (clearSelection): use unsetXSel,adjust
2885         * text.C: adjust
2886         * text3.C: adjust
2887         * rowpainter.C: adjust
2888         * bufferview_funcs.C (put_selection_at): adjust
2889
2890 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2891
2892         * BufferView_pimpl.C: small coord. correction
2893
2894 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2895
2896         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2897         dragging over the splash screen.
2898
2899 2003-12-11  Angus Leeming  <leeming@lyx.org>
2900
2901         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2902         as it is now handled in LyXText::dispatch.
2903
2904         * text3.C (doInsertInset): remove a level of nesting.
2905
2906 2003-12-11  Angus Leeming  <leeming@lyx.org>
2907
2908         * factory.C (createInset): changes due to the changed interface to
2909         InsetCommandMailer::string2params.
2910
2911 2003-12-10  Angus Leeming  <leeming@lyx.org>
2912
2913         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2914         'dialog-show-new-inset <inset name>'
2915
2916 2003-12-10  Angus Leeming  <leeming@lyx.org>
2917
2918         * buffer.C: up the format to 227.
2919
2920         * factory.C: the box inset is now identified simply by 'Box'.
2921
2922 2003-12-10  Angus Leeming  <leeming@lyx.org>
2923
2924         * buffer.C: up the format to 226.
2925
2926         * factory.C: the note inset is now identified simply by 'Note'.
2927
2928 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2931         when a pit is enough. Standarize a couple of loops.
2932
2933 2003-12-05  Angus Leeming  <leeming@lyx.org>
2934
2935         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2936         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2937         data to the re-worked "log" dialog.
2938
2939 2003-12-03  André Pönitz  <poenitz@gmx.net>
2940
2941         * PosIterator.C:
2942         * iterators.C:
2943         * lyxtext.h:
2944         * output_latex.C:
2945         * paragraph_funcs.C:
2946         * text.C:
2947         * text2.C: use Inset::getText instead of Inset::getParagraph
2948
2949 2003-12-03  André Pönitz  <poenitz@gmx.net>
2950
2951         * buffer.[Ch]:
2952         * lyxtext.h:
2953         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2954         InsetText::read() as LyXText::read()
2955
2956 2003-12-02  Angus Leeming  <leeming@lyx.org>
2957
2958         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2959         type. Add a comment in the implementation that the function uses
2960         the stream's bad() function rather than fail() as the std::streams
2961         would do.
2962
2963 2003-12-02  André Pönitz  <poenitz@gmx.net>
2964
2965         * lyxlex.[Ch]: make interface more similar to std::stream
2966
2967         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2968
2969 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2970
2971         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2972
2973 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2974
2975         * vspace.[Ch]: remove VSpace::NONE
2976
2977 2003-12-01  André Pönitz  <poenitz@gmx.net>
2978
2979         * buffer.[Ch]:
2980         * lyxtext.h: move ParagraphList member to LyXText
2981         rename LyXText::ownerParagraphs to LyXText::paragraph
2982
2983         * CutAndPaste.C:
2984         * bufferview_funcs.C:
2985         * iterators.[Ch]:
2986         * lyx_cb.C:
2987         * paragraph.C:
2988         * rowpainter.C:
2989         * tabular.C:
2990         * text.C:
2991         * text2.C:
2992         * text3.C: adjust
2993
2994         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2995
2996         * undo.C: fix cursor positioning
2997
2998 2003-12-01  John Levon  <levon@movementarian.org>
2999
3000         * BufferView_pimpl.C: fix a crash on exit with
3001         a buffer open
3002
3003 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3004
3005         * BranchList.C: fix setSelected() method.
3006
3007 2003-11-28  André Pönitz  <poenitz@gmx.net>
3008
3009         * ParagraphParameters.[Ch]:
3010         * ParameterStruct.h: remove space above/below from Paragraph to
3011          InsetVSpace
3012
3013         * BufferView_pimpl.C:
3014         * factory.C:
3015         * lyxfunc.C:
3016         * lyxtext.h:
3017         * output_latex.C:
3018         * paragraph.C:
3019         * paragraph_funcs.C:
3020         * rowpainter.[Ch]:
3021         * text.C:
3022         * text2.C:
3023         * text3.C: adjust
3024
3025 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * factory.C: Syntax change for CharStyles
3028
3029 2003-11-28  André Pönitz  <poenitz@gmx.net>
3030
3031         * BufferView.[Ch]:
3032         * BufferView.[Ch]:
3033         * buffer.[Ch]:
3034         * buffer.[Ch]: move LyXText member
3035
3036 2003-11-28  André Pönitz  <poenitz@gmx.net>
3037
3038         * BufferView.[Ch]: make LyXText * text a private member
3039
3040         * BufferView_pimpl.C:
3041         * cursor.C:
3042         * iterators.C:
3043         * lyx_cb.C:
3044         * lyxfind.C:
3045         * lyxtext.h:
3046         * rowpainter.[Ch]:
3047         * text.C:
3048         * text2.C:
3049         * undo.C: adjust
3050
3051         * output_plaintext.C: cleanup
3052
3053 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * buffer.C:
3056         * lyxtextclass.[Ch]: parametrize SGML document header
3057
3058 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3059
3060         * converter.[Ch]:
3061         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3062         getFlavor().
3063
3064 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * text2.C (setFont): rework using PosIterator (no more recursive)
3067         (setCharFont): no more needed
3068         (setLayout): no more selection cursors fiddling (done by redoCursor)
3069         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3070         destroy remaining ones)
3071
3072 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3075         * lyxtext.h: ditto
3076         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3077         selection cursors
3078         * lyxfunc.C: adjust
3079         * text3.C: adjust + re-allow multi par depth changes
3080         * textcursor.C: simplify a bit
3081
3082 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3083
3084         * src/buffer.C:
3085         * src/lyxlayout.C:
3086         * src/lyxlayout.h:
3087         * src/lyxtext.h:
3088         * src/output_docbook.C:
3089         * src/output_latex.C:
3090         * src/paragraph.C:
3091         * src/paragraph.h:
3092         * src/sgml.C:
3093         * src/sgml.h:
3094         * src/text2.C: Introducing a number of tags parametrizing various
3095         XML formats that we may want to support
3096
3097 2003-11-25  André Pönitz  <poenitz@gmx.net>
3098
3099         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3100
3101         * lyxtext.h (leftMargin/rightMargin): simplify interface
3102
3103         * rowpainter.C:
3104         * text.C:
3105         * text2.C:
3106         * text3.C: adjust
3107
3108 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3109
3110         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3111         master file to any child files. Fixes bug 546.
3112
3113 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3116
3117 2003-11-24  André Pönitz  <poenitz@gmx.net>
3118
3119         * rowpainter.C: simplification
3120
3121         * text2.C (updateCounters): remove call to redoParagraph on
3122         changed labels as this is far too expensive.
3123
3124 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3125
3126         * converter.C (convert): fix a crash: this function gets
3127         called with buffer == 0 from importer code.
3128
3129 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3130
3131         * text3.C (cursorPrevious): make sure that we do not compare
3132         iterators form different containers.
3133         (cursorNext): ditto
3134
3135         * rowpainter.C (paintSelection): make sure that we do not compare
3136         iterators from different containers.
3137
3138         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3139         iterators from different ParagraphList containers.
3140         [NEXT] ditto
3141
3142         * text2.C (LyXText): change order of initialization slightly
3143         (operator=): new function. copy all variables except cache_par_
3144         (moveUp): make sure that we do not compare iterators from
3145         different ParagraphList constainers.
3146         (moveDown): ditto
3147
3148         * text.C (firstPar): new function
3149         (lastPar): new function
3150         (endPar): new function
3151
3152         * lyxtext.h: move things around and group public functions, public
3153         variables, private functions, private variables
3154
3155 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3156
3157         * factory.C: change call to InsetERT constructor to avoid
3158         additional invocation of method status
3159         * text2.C (toggleInset): remove redundant update() call
3160         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3161         instead of a Bufferview pointer
3162
3163 2003-11-21  André Pönitz  <poenitz@gmx.net>
3164
3165         * rowpainter.C: simplification
3166
3167 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * text3.C (dispatch): make possible to extend a word/row selection
3170         with the mouse
3171
3172 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * lyxtext.h: x0_,y0_ -> xo_,yo_
3175         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3176         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3177         * rowpainter.C (paintRows): paint full paragraphs
3178
3179 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3182         screen coordinates)
3183
3184 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3185
3186         * lyxtext.h: add x0_, y0_
3187         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3188         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3189
3190 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * text2.C (setCursorIntern): move the x_target update here *
3193         * text3.C: change some bv() to true/false in calls to
3194         cursorUp/Down/Right/Left
3195         * cursor.C: use helper function.
3196
3197 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3200         * paragraph_funcs.[Ch]: correct comment
3201         * rowpainter.C: do not paint selections away from bv->cursor()
3202         Fix a long standing selection painting bug.
3203         * text3.C: generalize mouse-selection code to LyXTexts other that
3204         top one
3205         * textcursor.C: do not use y coords if we can use par offsets
3206
3207 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3210         cursor position after e.g. inset insert)
3211
3212 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * lyxfind.C (replace): adjust to locking removal + some
3215         code simplification
3216
3217 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3218
3219         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3220         of the path
3221
3222 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3223
3224         * lyxlayout.[Ch]:
3225         * output_docbook.C: XML sanitation: new layout
3226         parameters InnerTag and CommandDepth
3227
3228 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3229
3230         * BufferView_pimpl.C:
3231         * factory.C:
3232         * text3.C: Fix the insertion and modification of button-style
3233         insets
3234
3235 2003-11-13  André Pönitz  <poenitz@gmx.net>
3236
3237         * InsetList.[Ch]: remove deleteLyXText
3238
3239         * paragraph.[Ch]: cache beginOfBody position
3240
3241         * Bidi.C:
3242         * text.C:
3243         * text2.C:
3244         * text3.C: remove superfluous update() calls
3245
3246         * vspace.C: cleanup
3247
3248 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3251         * BufferView.C (fitLockedInsetCursor): remove
3252         * cursor.[Ch] (getDim): add
3253         * text.C (getRowNearY): add faster version
3254         * text3.C: remove some update calls
3255
3256 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3257
3258         * LaTeXFeatures.C:
3259         * LyXAction.C:
3260         * MenuBackend.C:
3261         * MenuBackend.h:
3262         * dispatchresult.h:
3263         * factory.C:
3264         * lfuns.h:
3265         * lyxfunc.C:
3266         * lyxtextclass.C:
3267         * lyxtextclass.h:
3268         * text3.C: The Character Style /XML short element patch.
3269
3270 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3271
3272         * text3.C:
3273         * factory.C: Small step to solving 'unable to insert some insets'
3274         problem
3275
3276 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * cursor.[Ch] (updatePos): new function for updating the y
3279         position of the tip inset
3280         * bufferview_funcs.C (put_selection_at):
3281         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3282
3283 2003-11-11  André Pönitz  <poenitz@gmx.net>
3284
3285         * text.C: remove big comment on invalid Paragraph pointers as it is
3286         not valid anymore
3287
3288 2003-11-11  André Pönitz  <poenitz@gmx.net>
3289
3290         * text_funcs.[Ch]: merge with ...
3291
3292         * text.C: ... this
3293
3294         * lyxtext.h:
3295         * text2.C:
3296         * text3.C: adjust
3297
3298         * Makefile.am: remove text_funcs.[Ch]
3299
3300 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * cursor.C (getPos): return absolute cached y coord
3303
3304         * BufferView_pimpl.C (fitCursor): new simplistic code
3305         (workAreaDispatch): add a fitCursor call
3306
3307 2003-11-10  André Pönitz  <poenitz@gmx.net>
3308
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3311
3312 2003-11-10  André Pönitz  <poenitz@gmx.net>
3313
3314         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3315         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3316         indicate that the cursor needs to leave an inset
3317
3318         * lyxtext.h: remove inset locking
3319
3320         * cursor.[Ch]: re-implement functionality provided by inset locking
3321
3322         * BufferView.[Ch]:
3323         * BufferView_pimpl.[Ch]:
3324         * LyXAction.C:
3325         * bufferview_funcs.[Ch]:
3326         * factory.C:
3327         * funcrequest.[Ch]:
3328         * iterators.C:
3329         * lyx_cb.C:
3330         * lyxfind.C:
3331         * lyxfunc.C:
3332         * text.C:
3333         * text2.C:
3334         * text3.C:
3335         * undo.C: adjust
3336
3337 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * PosIterator.[Ch]: replace the stack with a vector, add inset
3340         accesor
3341         * iterators.[C]: adjust
3342
3343 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3344
3345         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3346         replaced
3347         * paragraph_funcs.C (readParToken): put the correct id in the
3348         error item, not the id of the top paragraph
3349
3350 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3353         * bufferview_funcs.C (put_selection_at): use the above
3354
3355 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3358
3359 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3360
3361         * output_linuxdoc.h:
3362         * output_plaintext.h:
3363         * output.h:
3364         * output_docbook.h: add #include statements
3365
3366 2003-11-05  José Matos  <jamatos@lyx.org>
3367
3368         * output_docbook.[Ch]:
3369         * output_latex.[Ch]:
3370         * output_linuxdoc.[Ch]:
3371         * output_plaintext.[Ch]: New files for output formats.
3372         * output.[Ch]: New file for helper functions.
3373
3374         * buffer.[Ch]:
3375         * paragraph_funcs.[Ch]: output functions moved to new files.
3376
3377         * outputparams.h: rename of latexrunparams.h
3378
3379         * LaTeX.[Ch]:
3380         * buffer.[Ch]:
3381         * bufferlist.[Ch]:
3382         * converter.[Ch]:
3383         * exporter.C:
3384         * paragraph.[Ch]:
3385         * paragraph_funcs.[Ch]:
3386         * paragraph_pimpl.[Ch]:
3387         * tabular.[Ch]: rename ascii to plaintext
3388         and LatexRunParams to OutputParams.
3389
3390 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3391
3392         * iterators.[Ch] (text): require bv argument
3393         * undo.C (recordUndo):
3394         * lyxfunc.C (dispatch):
3395         * bufferview_funcs.C (put_selection_at): adjust
3396
3397 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3398
3399         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3400
3401 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3404         nestings
3405
3406 2003-11-04  André Pönitz  <poenitz@gmx.net>
3407
3408         * cursor.[Ch]: restructure
3409
3410         * BufferView.[Ch]:
3411         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3412
3413         * iterators.[Ch] (asCursor): remove
3414
3415         * lfuns.h: remove LFUN_INSET_EDIT
3416
3417         * lyxfunc.C:
3418         * tabular.C:
3419         * text.C:
3420         * text2.C:
3421         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3422
3423 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * lyxfind.[Ch]: complete overhaul
3426         * BufferView_pimpl.C:
3427         * lyxfunc.C: adjust
3428         * paragraph.[Ch] (insert): add
3429
3430 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * BufferView.[Ch]:
3433         * lyxtext.h:
3434         * text.C: remove dead spellcheck code
3435
3436 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * dispatchresult.h: add a val setter
3439
3440         * cursor.C (dispatch): use a tempvar for data_[i]
3441
3442 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * PosIterator.[Ch]: compile fix
3445
3446 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * text.C (cursorPar): deactivate the cursor cache
3449
3450 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3453
3454 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3455
3456         * text3.C (dispatch): adjust for new DisptchResult semantics.
3457
3458         * lyxfunc.C (dispatch): handle update when return from
3459         Cursor::dispatch, adjust for new DispatchResult semantics.
3460
3461         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3462         DispatchResult(true) mean to not update. Add class functions for
3463         setting dispatched and update, as well as reading.
3464
3465         * cursor.C (dispatch): don't handle update here
3466
3467 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3470         * trans_mgr.C: adjust
3471
3472         * paragraph_funcs.C (readParToken): exception safety
3473
3474         * lyxvc.h: store the vcs pointer in a scoped_ptr
3475         * lyxvc.C: adjust
3476
3477         * lyxsocket.C (serverCallback): exception safety
3478
3479         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3480
3481         * ispell.C (clone): make it return a auto_ptr
3482
3483         * factory.C (createInset): exception safety
3484         (readInset): exception safety
3485
3486         * bufferlist.C (newBuffer): exception safety
3487
3488         * Thesaurus.C (Thesaurus): use initialization for aik_
3489
3490         * MenuBackend.C (expandToc): exception safety.
3491
3492 2003-11-03  André Pönitz  <poenitz@gmx.net>
3493
3494         * buffer.C:
3495         * buffer.h:
3496         * bufferview_funcs.C: remove getInsetFromId()
3497
3498         * lyxcursor.[Ch]:
3499         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3500
3501         * lyxfunc.C:
3502         * text2.C:
3503         * text3.C: adjust
3504
3505 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3506
3507         * PosIterator.C (distance, advance): new
3508         * bufferview_funcs.[Ch] (put_selection_at): new
3509         * iterators.[Ch] (lockPath): new
3510
3511 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * iterators.[Ch] (asPosIterator): added
3514         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3515         * PosIterator.[Ch]: added
3516
3517 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * text3.C:
3520         * lyxfunc.C:
3521         * cursor.C (dispatch):
3522         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3523
3524         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3525         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3526         contructor, add a class function dispatched. Remove operator>=
3527
3528 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * debug.C: only use the default constructor for debugstream
3531         (lyxerr) here.
3532
3533         * main.C (main): include debug.h and setup the lyxerr streambuf
3534         here.
3535
3536 2003-10-31  José Matos  <jamatos@lyx.org>
3537
3538         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3539
3540         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3541         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3542         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3543         * paragraph_pimpl.C (simpleTeXSpecialC):
3544         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3545         add LatexRunParams argument.
3546
3547         * exporter.C (Export): change call accordingly.
3548
3549         * latexrunparams.h: add new member to take care of the other backends.
3550 2003-10-30  José Matos  <jamatos@lyx.org>
3551
3552         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3553         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3554         factorise code for paragraph output.
3555         * buffer.[Ch]:
3556         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3557         move functions.
3558
3559 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * text3.C (dispatch):
3562         * lyxfunc.C (dispatch):
3563         * cursor.C (dispatch):
3564         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3565
3566         * dispatchresult.h: make the dispatch_result_t ctor explicit
3567
3568 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3569
3570         * sgml.[Ch]:
3571         * buffer.C: small refactoring of docbook stuff
3572
3573 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3574
3575         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3576         meaning.
3577
3578 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3581         operator dispatch_result_t, and operators for == != and >=
3582
3583         * cursor.C (dispatch): adjust for operator dispatch_result_t
3584         removal. comment out call to update
3585
3586         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3587
3588 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * text3.C:
3591         * text2.C:
3592         * text.C:
3593         * lyxtext.h:
3594         * lyxfunc.C:
3595         * cursor.C:
3596         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3597         (dispatch):
3598
3599         * dispatchresult.h: new file, DispatchResult broken out of
3600         insets/insetbase.h
3601
3602         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3603
3604 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * text.C (rowBreakPoint): put a hack inside #if 0
3607
3608 2003-10-28  André Pönitz  <poenitz@gmx.net>
3609
3610         * lyxtext.h:
3611         * metricsinfo.C:
3612         * paragraph_funcs.C:
3613         * rowpainter.C:
3614         * text.C:
3615         * text2.C: general cleanup (lots of small stuff)
3616
3617 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * text2.C (cursorEnd): simple fix to the "end key goes to one
3620         before the end on last row" bug
3621
3622 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3623
3624         * text.C (backspace): fix the "zombie characters"
3625
3626 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3629
3630 2003-10-27  André Pönitz  <poenitz@gmx.net>
3631
3632         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3633
3634         * factory.C: handle new InsetPagebreak, InsetLine
3635
3636         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3637         and move handling into new InsetPagebreak, InsetLine
3638
3639         * BufferView_pimpl.C:
3640         * LyXAction.C:
3641         * ParagraphParameters.C:
3642         * ParameterStruct.h:
3643         * lyxfunc.C:
3644         * lyxtext.h:
3645         * paragraph.C:
3646         * paragraph.h:
3647         * paragraph_funcs.C:
3648         * paragraph_pimpl.C:
3649         * rowpainter.C:
3650         * text.C:
3651         * text2.C:
3652         * text3.C: adjust
3653
3654 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * text.C:
3657         * lyxrow_funcs.[Ch]:
3658         * Bidi.C:
3659         * paragraph.C:
3660         * lyxtext.h:
3661         * rowpainter.C:
3662         * text2.C:
3663         * text3.C: remove lastPos uses in favour of Row::endpos
3664
3665 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * undo.C (performUndoOrRedo): fix two crashes by setting a
3668         cursor by hand and reordering some calls. Use bv->lockInset instead
3669         of inset->edit because the latter loses cursor information
3670
3671 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3672
3673         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3674         by Martin
3675         (rowBreakPoint): fix width. change point to point + 1.
3676         Add a missing check.
3677
3678 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * MenuBackend.C:
3681         * lyxfunc.C: fix (at least partly) the problems
3682         with the Nav menu and headers inside branch insets
3683         reported by Kayvan
3684
3685 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * paragraph.C (getChar): add strong asserts
3688
3689         * lyxrow_funcs.C (lastPos): remove hideous hack
3690
3691         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3692         (fill): adjust to that (avoid an infinite loop)
3693
3694 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3697
3698 2003-10-23  André Pönitz  <poenitz@gmx.net>
3699
3700         * RowList_fwd.h: change list<> to vector<> to gain speed
3701         after suggestion from Alfredo
3702
3703 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * lyxtext.h: move the bidi stuff from here...
3706         * text.C: and here
3707         * text2.C: and here
3708         * Bidi.[Ch]: ... to here
3709
3710 2003-10-23  André Pönitz  <poenitz@gmx.net>
3711
3712         * lyxtext.h:
3713         * text.C (isLastRow, isFirstRow): new functions
3714
3715         * paragraph.h: new width cache member
3716
3717         * rowpainter.C: replace RowList::iterator with Row & where possible
3718
3719         * lyxfunc.C: replace several view()->text with a single call
3720
3721         * toc.C: fix 'unused' warning
3722
3723 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3726         when woring with stream::pos_type
3727         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3728
3729 2003-10-22  André Pönitz  <poenitz@gmx.net>
3730
3731         * lyxtext.h:
3732         * text.C: use Row & instead of RowList::iterator
3733
3734         * lyxrow.h: rename end() to endpos()
3735
3736         * rowpainter.C:
3737         * text.C:
3738         * text2.C: adjust
3739
3740 2003-10-22  Angus Leeming  <leeming@lyx.org>
3741
3742         * buffer.[Ch] (fully_loaded): new member function, returning true
3743         only when the file has been loaded fully.
3744         Used to prevent the premature generation of previews and by the
3745         citation inset to prevent computation of the natbib-style label.
3746
3747         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3748         templates are all set up.
3749
3750         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3751
3752 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3753
3754         * text.C: fixed an "oops" in the "is a bit silly"
3755         bug fix
3756
3757 2003-10-21  André Pönitz  <poenitz@gmx.net>
3758
3759         * FuncStatus.[Ch]: small stuff, whitespace
3760
3761         * lyxfont.[Ch]: operator<<() for debug reasons
3762
3763         * lyxfunc.C:
3764         * lyxrow_funcs.C:
3765         * lyxtext.h: whitespace, spelling
3766
3767         * paragraph.C: naming of variables
3768
3769         * text.C:
3770         * text2.C: small stuff
3771
3772
3773 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3774
3775         * text.C: (1) finish off the inset display() work;
3776         (2) fix the "is a bit silly" bug (accessing char
3777         past end of par).
3778
3779 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3780
3781         * text.C: re-introduce display() for insets, fixing the
3782         various bugs (stretch of line above, math inset
3783         positioning, ...)
3784
3785 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3786
3787         * text.C (rightMargin): remove spurious semicolon
3788
3789         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3790         1415)
3791
3792 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3793
3794         * text3.C: fix one crash due to wrong cursor def
3795
3796 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * vc-backend.C (scanMaster): make the regex static
3799
3800         * LaTeX.C (scanAuxFile): make the regexs static
3801
3802         * text3.C (doInsertInset, dispatch, dispatch):
3803         * text2.C (cursorUp, cursorDown):
3804         * text.C (selectNextWordToSpellcheck):
3805         * BufferView_pimpl.C (dispatch):
3806         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3807
3808 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3809
3810         * lyxsocket.C: include <cerrno>
3811
3812 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * lyxfunc.C (dispatch): remove textcache stuff
3815
3816         * bufferlist.C (release): remove textcache stuff
3817         (closeAll): ditto
3818
3819         * TextCache.C: delete file
3820         * TextCache.h: delete file
3821
3822         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3823
3824         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3825         delete of the bv_->text.
3826         (resizeCurrentBuffer): remove texcache stuff
3827         (workAreaResize): ditto
3828
3829 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3832         action.
3833
3834 2003-10-16  André Pönitz  <poenitz@gmx.net>
3835
3836         * lyxrow.[Ch]:
3837         * paragraph.h:
3838         * rowpainter.C:
3839         * text.C:
3840         * text2.C:
3841         * text3.C: speed up by storing y positions per paragraph plus per-row
3842         offset instead of having a 'full' y position in the row.
3843
3844 2003-10-15  André Pönitz  <poenitz@gmx.net>
3845
3846         * iterators.[Ch]:
3847         * iterators.[Ch]:
3848         * undo.[Ch]: make undo aware of inner insets
3849
3850 2003-10-14  Angus Leeming  <leeming@lyx.org>
3851
3852         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3853         static member functions LyX::ref() and LyX::cref.
3854         (lastfiles): new accessor functions for the new lastfiles_ member var.
3855         (addLyXView, views_): add a new LyXView to the list of views_.
3856         (updateInset): loop over all LyXViews to call their own updateInset
3857         member function, returning a pointer to the Buffer owning the inset.
3858
3859         * BufferView_pimpl.C (loadLyXFile):
3860         * MenuBackend.C (expandLastfiles):
3861         * bufferlist.C (MenuWrite, QuitLyX):
3862         lastfiles is no longer a global variable.
3863         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3864
3865         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3866         static function. Access through LyX::cref().emergencyCleanup().
3867
3868 2003-10-14  André Pönitz  <poenitz@gmx.net>
3869
3870         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3871
3872         * undo.[Ch]: restoring part of 'undo in insets'
3873
3874         * Makefile.am:
3875         * undo_funcs.[Ch]: merge with undo.[Ch]
3876
3877         * tabular.C: small cleansing stuff
3878
3879 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3880
3881         * paragraph_funcs.C (readParToken): report unknown insets as error
3882         boxes. Use the outer paragraph as location (also for unknown
3883         tokens).
3884
3885         * factory.C (readInset): do not abort on reading an unknown inset.
3886         Eat it and return 0.
3887
3888 2003-10-13  Angus Leeming  <leeming@lyx.org>
3889
3890         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3891
3892         * lyxrc.C: displayTranslator is now a function,
3893         declared in GraphicsTypes.h.
3894
3895 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3896
3897         * format.C: new placeholder $$a to pass the socket address.
3898
3899         * bufferlist.[Ch]: new function getBufferFromTmp.
3900
3901         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3902           files in the temporary dir.
3903
3904 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3905
3906         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3907
3908         * Makefile.am: add lyxsocket.[Ch].
3909
3910         * lyx_main.C (error_handler): handle SIGPIPE.
3911
3912 2003-10-13  André Pönitz  <poenitz@gmx.net>
3913
3914         * BufferView_pimpl.C:
3915         * lyxtext.h:
3916         * text.C:
3917         * text2.C:
3918         * text3.C:
3919         * undo_funcs.[Ch]: use paroffset_type instead of
3920           ParagraphList::iterators to prevent multiple conversion
3921           (and get a more robust interface)
3922
3923 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3926         * lyxtext.h: ditto
3927         * text3.C (dispatch): ditto
3928
3929 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3932         move the onlyfile, use onlyfile instead of foundfile in a couple
3933         of places.
3934
3935         * DepTable.C (update): flush the error stream a bit more
3936
3937 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * lyxserver.C (callback): adjust
3940
3941         * lyxfunc.C (getStatus): add a missing brace in commented code
3942         (ensureBufferClean): reindent
3943         (dispatch): delete version taking a string
3944
3945 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * LaTeX.C (deplog): move found file handlig from here...
3948         (handleFoundFile): .. to new function here.
3949         (deplog): make sure to discover several files mentioned on the
3950         same log line.
3951
3952 2003-10-10  André Pönitz  <poenitz@gmx.net>
3953
3954         * lyxfunc.C:
3955         * lyxtext.h:
3956         * tabular.C:
3957         * text.C:
3958         * text2.C:
3959         * text3.C: fix some of the tabular crashes
3960
3961 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3962
3963         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3964
3965         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3966
3967 2003-10-09  André Pönitz  <poenitz@gmx.net>
3968
3969         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3970
3971         * BufferView.C:
3972         * BufferView_pimpl.C:
3973         * bufferview_funcs.C:
3974         * lyx_cb.C:
3975         * lyxcursor.C:
3976         * lyxfind.C:
3977         * lyxfunc.C:
3978         * lyxtext.h:
3979         * text.C:
3980         * text2.C:
3981         * text3.C:
3982         * text_funcs.[Ch]:
3983         * textcursor.[Ch]:
3984         * undo_funcs.C: adjust
3985
3986 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * text2.C (incrementItemDepth): new function, use a backtracking
3989         algorithm to discover the correct item depth.
3990         (resetEnumCounterIfNeeded): new function, use a backtracking
3991         algorithm to discover if counter reset is needed.
3992         (setCounter): use them. Simplify a bit. Add different labels for
3993         different item depths for itemize.
3994
3995         * paragraph.C (Paragraph): remove initialization of enumdepth
3996         (operator=): ditto
3997
3998         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3999         enumerate and itemize. Change the type of itemdepth to signed char.
4000
4001 2003-10-08  André Pönitz  <poenitz@gmx.net>
4002
4003         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4004           thing assignable.
4005         * text.C:
4006         * text2.C: adjust
4007
4008         * tabular.[Ch]: fix crash after 'row-insert'
4009
4010 2003-10-08  Angus Leeming  <leeming@lyx.org>
4011
4012         Fix doxygen warnings.
4013
4014         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4015         Remove CutAndPaste:: prefix from header file declaration.
4016
4017         * LColor.h (fill): remove LColor:: prefix from declaration.
4018
4019         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4020         use lyx::depth_type rather than Paragraph::depth_type so that
4021         header file and .C file match.
4022
4023         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4024
4025         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4026         * aspell.C: \file aspell_local.C -> \file aspell.C
4027         * gettext.C: \file gettext.C -> \file src/gettext.C
4028         * gettext.h: \file gettext.h -> \file src/gettext.h
4029         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4030         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4031         * text.C: \file text.C -> \file src/text.C
4032
4033         * toc.C: move comment so that doxygen is not confused.
4034
4035 2003-10-07  Angus Leeming  <leeming@lyx.org>
4036
4037         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4038
4039 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4040
4041         * aspell.C:
4042         * aspell_local.h: add forgotten std::string's.
4043
4044 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4045
4046         * LaTeXFeatures.C:
4047         * LyXAction.C:
4048         * factory.C:
4049         * lfuns.h:
4050         * lyxfunc.C:
4051         * text3.C: The Box patch. Fancybox support, minipage, parbox
4052
4053 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4054
4055         * CutAndPaste.h:
4056         * DepTable.h:
4057         * FloatList.h:
4058         * LaTeXFeatures.h:
4059         * ParagraphParameters.h:
4060         * TextCache.h:
4061         * Thesaurus.h:
4062         * bufferlist.h:
4063         * exporter.h:
4064         * importer.h:
4065         * lastfiles.h:
4066         * lyxfind.h:
4067         * lyxfont.h:
4068         * lyxlex.h:
4069         * lyxtextclasslist.h:
4070         * messages.h:
4071         * paragraph.h:
4072         * paragraph_pimpl.C:
4073         * textcursor.h: add <string> and other small fixes to make Lars'
4074         std::string patch compile with STLport.
4075
4076 2003-10-06  Angus Leeming  <leeming@lyx.org>
4077
4078         * LColor.h: Add missing #include <string>.
4079
4080 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * All most all file in all subdirs: Make <string> be the prefered
4083         way of getting to std::string, add using declarations.
4084
4085 2003-10-06  André Pönitz  <poenitz@gmx.net>
4086
4087         * metricsinfo.C: initialize LyXFont before changing attribute.
4088         (fixes the 'math in \emph is upright' bug)
4089
4090 2003-10-06  André Pönitz  <poenitz@gmx.net>
4091
4092         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4093
4094 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4095
4096         * graph.C:
4097         * paragraph_pimpl.C: Small fixes to build using STLport
4098
4099 2003-10-02  André Pönitz  <poenitz@gmx.net>
4100
4101         * lyxfunc.C:
4102         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4103
4104 2003-10-01  André Pönitz  <poenitz@gmx.net>
4105
4106         * factory.C: assert early
4107
4108 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * lyx_main.C: remove the global debug object
4111
4112         * debug.h: adjust for new debugstream
4113
4114         * debug.C: adjust for new debugstream and keep the global debug
4115         object here.
4116
4117 2003-09-22  Angus Leeming  <leeming@lyx.org>
4118
4119         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4120         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4121         an incomplete class LyXFont.
4122
4123 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4124
4125         * factory.C: bug fix in branches
4126
4127 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * lyxfunc.C (processKeySym): adjust
4130         (dispatch): adjust
4131         (dispatch): change arg name from ev to func, adjust
4132         (sendDispatchMessage): ditto
4133
4134         * lyx_main.C (defaultKeyBindings): adjust keybindings
4135         (deadKeyBindings): ditto
4136
4137         * kbsequence.C (addkey): return a FuncRequest
4138
4139         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4140
4141         * kbmap.C (bind): take a FuncRequest as arg, adjust
4142         (read): adjust
4143         (lookup): adjust
4144         (defkey): change to take a FuncRequest as arg, adjust
4145         (findbinding): take a FuncRequest as arg, adjust.
4146
4147         * funcrequest.h (operator=): added
4148
4149         * funcrequest.C (FuncRequest): default kb_action changed from
4150         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4151
4152         * buffer.C (dispatch): simplify
4153         (dispatch): adjust to take a FuncRequest as arg, adjust
4154
4155         * boost.C (assertion_failed): change assertion message slightly
4156
4157         * ToolbarBackend.C (read): simplify
4158
4159         * MenuBackend.C (binding): adjust call to findbinding, add a
4160         message if no binding is found.
4161         (read): simplify
4162         (expandToc): correct by adding a empty FuncRequest
4163
4164         * LyXAction.C: include <boost/assert.hpp>
4165         (isPseudoAction): delete function
4166         (LookupFunc): change name to...
4167         (lookupFunc): this. change return type to FuncRequest.
4168         (getActionName): take kb_action as arg, simplify
4169         (funcHasFlag): add an assert, simplify.
4170
4171 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * toc.C (action): return a FuncRequest, simplify
4174
4175         * lyxfunc.C (processKeySym): adjust
4176         (getStatus): delete version that takes an int.
4177         (getStatus): adjust
4178         (dispatch): delete version that takes action as int
4179         (dispatch): adjust
4180         (sendDispatchMessage): simplify and adjust
4181
4182         * funcrequest.C (getArg): take unsigned int as arg
4183
4184         * ToolbarBackend.C (read): adjust
4185         (add): delete version that takes func as a string.
4186         (getIton): take a FuncRequest as arg
4187
4188         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4189         action.
4190
4191         * MenuBackend.C (MenuItem): add a new construct that only takes a
4192         Kind, simplify the constructor use for submenus.
4193         (add): adjust
4194         (expandLastfiles): adjust
4195         (expandDocuments): adjust
4196         (expandFormats): adjust
4197         (expandFloatListInsert): adjust
4198         (expandFloatInsert): adjust
4199         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4200
4201         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4202         Remove class variables lyx_pseudo_map and lyx_arg_map
4203
4204         * LyXAction.C (searchActionArg): delete function
4205         (getPseudoAction): delete function
4206         (retrieveActionArg): delete function
4207         (LookupFunc): make it return kb_action, simplify.
4208         (getActionName): simplify
4209
4210         * factory.C (createInset): fix new bug
4211
4212 2003-09-19  Angus Leeming  <leeming@lyx.org>
4213
4214         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4215         masterFilename_ parameter in the include inset.
4216
4217         * factory.C (createInset): changes due to the changes to InsetInclude.
4218
4219 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4220
4221         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4222
4223 2003-09-18  Angus Leeming  <leeming@lyx.org>
4224
4225         * buffer.C:
4226         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4227         Inset::fillWithBibKeys.
4228         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4229
4230 2003-09-18  Angus Leeming  <leeming@lyx.org>
4231
4232         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4233         variables.
4234         (ctor): pass and store a 'Buffer const &'
4235         (buffer): new member function.
4236
4237         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4238         '*this' to the LaTeXFeatures ctor.
4239
4240 2003-09-18  Angus Leeming  <leeming@lyx.org>
4241
4242         * LColor.h:
4243         * lyxfont.C:
4244         * lyxfont.h:
4245         * lyxtext.h:
4246         * text.C: rename EnumLColor as LColor_color.
4247
4248 2003-09-18  Angus Leeming  <leeming@lyx.org>
4249
4250         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4251         remove #include "insets/insetbase.h" from cursor.h.
4252
4253 2003-09-18  Angus Leeming  <leeming@lyx.org>
4254
4255         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4256         InsetOld_code to remove #include "inset.h".
4257
4258         * iterators.C: add #include "insets/inset.h"
4259
4260 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4261
4262         * BufferView.C: remove more locking stuff that apparently doesn't
4263         do anything sensible.
4264
4265 2003-09-16  André Pönitz  <poenitz@gmx.net>
4266
4267         * paragraph.[Ch]:
4268         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4269           performance boost.
4270
4271 2003-09-16  Angus Leeming  <leeming@lyx.org>
4272
4273         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4274
4275         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4276         arg/return type.
4277
4278         * paragraph.h: remove #include "lyxfont.h". Forward declare
4279         LyXFont_size.
4280
4281 2003-09-16  Angus Leeming  <leeming@lyx.org>
4282
4283         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4284         of support/textutils.h.
4285         (isWord): move the contents of support/textutils.h's IsWordChar here.
4286
4287         * buffer.C:
4288         * lyxfind.C:
4289         * rowpainter.C:
4290         * text.C:
4291         * text2.C: add #include "paragraph.h".
4292
4293         * rowpainter.C:
4294         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4295
4296 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * main.C:
4299         * lyx_main.C:
4300         * lyx_cb.C:
4301         * buffer.C:
4302         * LaTeX.C: use namespace alias for lyx::support::os
4303
4304 2003-09-16  Angus Leeming  <leeming@lyx.org>
4305
4306         * bufferparams.C:
4307         * bufferview_funcs.C:
4308         * factory.C:
4309         * lyxfunc.C:
4310         * paragraph_pimpl.C:
4311         * rowpainter.C:
4312         * text.C: add #include "LColor.h".
4313
4314 2003-09-16  Angus Leeming  <leeming@lyx.org>
4315
4316         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4317         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4318         return LyXFont &.
4319         Store the FontBits::color variable as an int rather than as an
4320         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4321         file.
4322
4323         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4324         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4325         string calls together.
4326
4327         * lyxrc.C: add #include "LColor.h".
4328
4329 2003-09-15  Angus Leeming  <leeming@lyx.org>
4330
4331         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4332         a cow_ptr.
4333
4334 2003-09-15  Angus Leeming  <leeming@lyx.org>
4335
4336         * LColor.h: add an EnumLColor wrapper for LColor::color.
4337
4338         * lyxfont.[Ch] (color, setColor, realColor):
4339         * lyxtext.h, text.C (backgroundColor):
4340         pass EnumLColor args to/from the functions, rather than LColor::color
4341         ones.
4342
4343         * lyxfont.h:
4344         * lyxtext.h: forward declare EnumLColor.
4345
4346         * lyx_main.C: add #include "LColor.h".
4347
4348 2003-09-15  Angus Leeming  <leeming@lyx.org>
4349
4350         * .cvsignore: add lyx-gtk.
4351
4352 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * Chktex.C
4355         * LaTeX.C
4356         * LaTeXFeatures.C
4357         * ParagraphParameters.C
4358         * Spacing.C
4359         * buffer.C
4360         * bufferparams.C
4361         * bufferview_funcs.C
4362         * chset.C
4363         * counters.C
4364         * funcrequest.C
4365         * lyxfont.C
4366         * lyxgluelength.C
4367         * lyxlength.C
4368         * paragraph.C
4369         * paragraph_funcs.C
4370         * text3.C
4371         * vc-backend.C: remove usage of STRCONV
4372
4373 2003-09-15  Angus Leeming  <leeming@lyx.org>
4374
4375         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4376         explicitly define the color passed to the painter.
4377
4378 2003-09-15  Angus Leeming  <leeming@lyx.org>
4379
4380         * bufferparams.C (BufferParams): reorder member initializers to avoid
4381         compiler warning.
4382
4383 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4386         * text.C (updateRowPositions): remove an unusual nop
4387
4388 2003-09-12  André Pönitz  <poenitz@gmx.net>
4389
4390         * BufferView_pimpl.C:
4391         * Bullet.C:
4392         * layout.h:
4393         * lyxfunc.C:
4394         * lyxlayout.[Ch]:
4395         * lyxtextclass.C:
4396         * rowpainter.C:
4397         * text.C:
4398         * text2.C:
4399         * Counters.[Ch]: finish the 'automatic counters' job
4400
4401 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4402
4403         * aspell.C: include <boost/assert.cpp> (compile fix)
4404
4405 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4406
4407         * boost.C (assertion_failed): use lyx::support::abort instead of
4408         assert.
4409
4410 2003-09-10  Angus Leeming  <leeming@lyx.org>
4411
4412         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4413         with their _fwd progeny.
4414
4415 2003-09-09  Angus Leeming  <leeming@lyx.org>
4416
4417         134 files throughtout the source tree: replace 'using namespace abc;'
4418         directives with the appropriate 'using abc::xyz;' declarations.
4419
4420 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4421
4422         * boost.C (emergencyCleanup): moved here from LAssert.c
4423         (assertion_failed): new function, called by BOOST_ASSERT
4424
4425         * several files: change Assert to BOOST_ASSERT
4426
4427 2003-09-09  Angus Leeming  <leeming@lyx.org>
4428
4429         * buffer.[Ch]: Add an Impl class and move Buffer's member
4430         variables into it. As a result move several header files out of
4431         buffer.h.
4432
4433         Add header files to lots of .C files all over the tree as a result.
4434
4435 2003-09-09  Angus Leeming  <leeming@lyx.org>
4436
4437         * buffer.[Ch]: make Buffer's member variables private. Add
4438         accessor functions.
4439
4440         Lots of changes all over the tree as a result.
4441
4442 2003-09-08  Angus Leeming  <leeming@lyx.org>
4443
4444         * graph.C: #include <config.h>.
4445
4446 2003-09-08  Angus Leeming  <leeming@lyx.org>
4447
4448         * BranchList.C:
4449         * BufferView.C:
4450         * BufferView_pimpl.C:
4451         * CutAndPaste.C:
4452         * DepTable.C:
4453         * LaTeX.C:
4454         * LaTeXFeatures.C:
4455         * LyXAction.C:
4456         * MenuBackend.C:
4457         * TextCache.C:
4458         * aspell.C:
4459         * buffer.C:
4460         * bufferlist.C:
4461         * changes.C:
4462         * chset.C:
4463         * converter.C:
4464         * counters.C:
4465         * debug.C:
4466         * graph.C:
4467         * ispell.C:
4468         * lyx_cb.C:
4469         * lyxfind.C:
4470         * lyxfunc.C:
4471         * lyxlex_pimpl.C:
4472         * lyxrc.C:
4473         * lyxrow.C:
4474         * paragraph.C:
4475         * rowpainter.C:
4476         * texrow.C:
4477         * text.C:
4478         * text2.C:
4479         * toc.C: remove redundant using directives.
4480
4481 2003-09-07  Angus Leeming  <leeming@lyx.org>
4482
4483         * LaTeXFeatures.h: remove #include "support/types.h".
4484         * ToolbarBackend.h: remove #include <algorithm>.
4485         * changes.h: remove #include <ctime>.
4486         * debug.h: remove #include <iosfwd>.
4487         * graph.h: remove #include "support/std_string.h".
4488         * lyx_main.h: remove #include <csignal>.
4489         * lyxlex_pimpl.h: remove #include <fstream>.
4490         * sgml.h: remove #include <algorithm>, <utility>.
4491         * toc.h: remove #include "support/std_ostream.h".
4492         Add #include <iosfwd>.
4493
4494 2003-09-07  Angus Leeming  <leeming@lyx.org>
4495
4496         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4497
4498         * converter.h: forward declare LatexRunParams.
4499         * encoding.h: remove #include "lyxrc.h".
4500         * lyxtext.h: remove #include "LColor.h".
4501         * lyxtextclass.h: remove #include "support/types.h".
4502         * trans.h: remove #include "tex-accent.h".
4503         * trans_mgr.h: remove #include "tex-accent.h".
4504         * insets/inset.h: remove #include "support/types.h", <vector>.
4505         * insets/insetcollapsable.h: remove #include "LColor.h".
4506         * insets/insetinclude.h: remove #include "dimension.h".
4507         * insets/insetlatexaccent.h: remove #include "dimension.h".
4508         * insets/insetoptarg.h:: remove #include "insettext.h".
4509         * insets/insettext.h: remove #include "dimension.h",
4510         <boost/shared_ptr.hpp>
4511
4512         * insets/renderers.h: add #include "dimension.h".
4513         * insets/updatableinset.h: add #include "support/types.h".
4514
4515         * many .C files: Associated changes.
4516
4517 2003-09-06  Angus Leeming  <leeming@lyx.org>
4518
4519         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4520         one, inside testInvariant.
4521
4522         * PrinterParams.C: new file.
4523         * PrinterParams.[Ch]: move the function bodies out of line.
4524
4525 2003-09-06  Angus Leeming  <leeming@lyx.org>
4526
4527         * ParagraphParameters.h: forward declare ParameterStruct rather than
4528         including its header file.
4529         (depth): moved out-of-line.
4530
4531 2003-09-06  Angus Leeming  <leeming@lyx.org>
4532
4533         * BufferView_pimpl.h:
4534         * kbmap.h:
4535         * kbsequence.h:
4536         * lyxfunc.h: forward declare LyXKeySym rather than
4537         #include "frontends/LyXKeySym.h".
4538
4539         * BufferView_pimpl.C:
4540         * kbmap.C:
4541         * kbsequence.C:
4542         * lyxfunc.C: associated changes.
4543
4544 2003-09-06  Angus Leeming  <leeming@lyx.org>
4545
4546         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4547         As a result, can remove the #include "insets/inset.h" from BufferView.h
4548
4549 2003-09-06  Angus Leeming  <leeming@lyx.org>
4550
4551         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4552         As a result, can remove the #include "insets/inset.h" from BufferView.h
4553
4554 2003-09-06  Angus Leeming  <leeming@lyx.org>
4555
4556         * buffer_funcs.C:
4557         * buffer.h:
4558         * bufferlist.C:
4559         * BufferView.C:
4560         * bufferview_funcs.C:
4561         * BufferView_pimpl.C:
4562         * CutAndPaste.C:
4563         * lyx_cb.C:
4564         * lyxfunc.C:
4565         * paragraph.h:
4566         * ParagraphParameters.C:
4567         * tabular.C:
4568         * text3.C:
4569         * toc.C:
4570         * undo_funcs.C:
4571         * frontends/controllers/ControlDocument.C:
4572         * insets/insetcaption.C: rearrange the #includes into some sort of
4573         coherent order.
4574
4575         * buffer.h: remove #includes ErrorList.h, undo.h
4576
4577 2003-09-06  Angus Leeming  <leeming@lyx.org>
4578
4579         * support/types.h: add a 'depth_type' typedef, used to store the
4580         nesting depth of a paragraph.
4581
4582         * paragraph.h:
4583         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4584         defining explicitly.
4585
4586         * buffer.h:
4587         * paragraph_funcs.h:
4588         * ParagraphParameters.h:
4589         * sgml.h: use lyx::depth_type rather than Paragraph or
4590         ParameterStruct's depth_type.
4591
4592         * buffer.h
4593         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4594
4595         * BufferView.C:
4596         * BufferView_pimpl.C:
4597         * CutAndPaste.C:
4598         * ParagraphParameters.C:
4599         * buffer_funcs.C:
4600         * bufferlist.C:
4601         * bufferview_funcs.C:
4602         * lyx_cb.C:
4603         * lyxfunc.C:
4604         * tabular.C:
4605         * text3.C:
4606         * toc.C:
4607         * undo_funcs.C:
4608         * frontends/LyXView.C:
4609         * frontends/controllers/ControlDocument.C:
4610         * frontends/controllers/ControlErrorList.C:
4611         * insets/insetbibitem.C:
4612         * insets/insetbranch.C:
4613         * insets/insetcaption.C:
4614         * insets/insetcollapsable.C:
4615         * insets/insetenv.C:
4616         * insets/insetert.C:
4617         * insets/insetfloat.C:
4618         * insets/insetfoot.C:
4619         * insets/insetfootlike.C:
4620         * insets/insetnewline.C:
4621         * insets/insetquotes.C:
4622         * insets/insettabular.C:
4623         * insets/insettext.C:
4624         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4625
4626         * frontends/controllers/ControlChanges.C: #include "changes.h".
4627
4628 2003-09-06  Angus Leeming  <leeming@lyx.org>
4629
4630         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4631         than #including paragraph.h.
4632
4633         * ParagraphList.h:
4634         * RowList.h: deleted. Superfluous.
4635
4636         * CutAndPaste.h:
4637         * iterators.h:
4638         * lyxcursor.h:
4639         * lyxtext.h:
4640         * text_funcs.h:
4641         * undo.h:
4642         * undo_funcs.h:
4643         * insets/inset.h:
4644         * insets/insettext.h: use ParagraphList_fwd.h rather than
4645         ParagraphList.h.
4646
4647         * paragraph.h: don't forward declare ParagraphList.
4648
4649         * buffer.h:
4650         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4651         rather than ParagraphList.h. paragraph.h is still needed for the
4652         Paragraph::depth_type parameters.
4653
4654         * textcursor.h: enable it to compile stand-alone in light of the
4655         above changes.
4656
4657         * bufferview_funcs.C:
4658         * iterators.C:
4659         * lyxfunc.C:
4660         * lyxrow_funcs.C:
4661         * paragraph.C:
4662         * rowpainter.C:
4663         * text.C:
4664         * text2.C:
4665         * text3.C:
4666         * text_funcs.C:
4667         * textcursor.C:
4668         * undo.C:
4669         * frontends/controllers/ControlParagraph.C:
4670         * frontends/controllers/ControlTabular.C:
4671         * insets/insetmarginal.C:
4672         * insets/insetminipage.C:
4673         * insets/insetnote.C:
4674         * insets/insetoptarg.C: add header files needed to compile again.
4675
4676 2003-09-06  Angus Leeming  <leeming@lyx.org>
4677
4678         * RowList_fwd.h: new file, forward-declaring Row rather than
4679         #including lyxrow.h.
4680
4681         * lyxrow_funcs.h:
4682         * lyxtext.h:
4683         * paragraph.h:
4684         * insets/insettext.h: use it instead of RowList.h
4685
4686         * bufferview_funcs.C:
4687         * lyxfunc.C:
4688         * lyxrow_funcs.C:
4689         * paragraph.C:
4690         * rowpainter.C:
4691         * text.C:
4692         * text2.C:
4693         * text3.C: #include "RowList.h".
4694
4695 2003-09-05  Angus Leeming  <leeming@lyx.org>
4696
4697         * factory.C (createInset):
4698         * vspace.C (c-tor): replace sscanf call with an istringstream.
4699         * ispell.C: re-add missing HP/UX headers.
4700         * lyxserver.C: re-add missing  os2 headers.
4701
4702 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4703
4704         * BranchList.C:
4705         * graph.C:
4706         * ispell.C:
4707         * lastfiles.C:
4708         * lyx_cb.C:
4709         * lyxserver.C:
4710         * texrow.C:
4711         * text3.C: re-add missing system headers, needed for 2.95.2.
4712
4713 2003-09-05  Angus Leeming  <leeming@lyx.org>
4714
4715         Changes most place everywhere due to the removal of using directives
4716         from support/std_sstream.h.
4717
4718 2003-09-05  Angus Leeming  <leeming@lyx.org>
4719
4720         Replace LString.h with support/std_string.h,
4721         Lsstream.h with support/std_sstream.h,
4722         support/LIstream.h with support/std_istream.h,
4723         support/LOstream.h with support/std_ostream.h.
4724
4725         Changes resulting throughout the tree.
4726
4727 2003-09-05  Angus Leeming  <leeming@lyx.org>
4728
4729         * sgml.h: ensure that the header file can be compiled stand-alone.
4730         * *.C: strip out redundant #includes. (320 in total.)
4731
4732 2003-09-04  Angus Leeming  <leeming@lyx.org>
4733
4734         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4735         here (from getPackages).
4736
4737         * debug.[Ch]: add a new EXTERNAL tag.
4738
4739 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4740
4741         * text2.C (cursorEnd): simplify
4742         (setCursor): adjust
4743         (getColumnNearX): adjust
4744
4745         * text.C (computeBidiTables): adjust
4746         (fill): adjust
4747
4748         * rowpainter.C (paintChars): adjust
4749         (paintSelection): adjust
4750         (paintChangeBar): adjust
4751         (paintText): adjust
4752
4753         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4754         lastPos instead.
4755         (numberOfSeparators): adjust
4756
4757 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4758
4759         * LyXAction.C:
4760         * box.[Ch]:
4761         * lfuns.h:
4762         * lyxfunc.C:
4763         * text3.C: Restricts the mouse click functionality
4764         of insets like bibtex, include, toc and floatlist to the visible
4765         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4766         up the dialogs. Cursor has to be in front of the inset (i.e.
4767         start of row) for this to function.
4768
4769 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4770
4771         * bufferview_funcs.C (currentState): output row information
4772
4773 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4774
4775         * bufferview_funcs.C (currentState): output paragraph position
4776
4777 2003-09-04  Angus Leeming  <leeming@lyx.org>
4778
4779         * FloatList.h: move out #include "Floating.h".
4780         * LaTeX.h: move out #include "DepTable.h".
4781         * LyXAction.h: move out #include "funcrequest.h".
4782         * buffer.h: move out #include "author.h", "iterators.h".
4783         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4784         * lyx_main.h: move out #include "errorlist.h".
4785         * lyxfunc.h: move out #include "FuncStatus.h".
4786         * lyxtext: move out #include "lyxcursor.h".
4787         * paragraph_pimpl.h: move out #include "counters.h".
4788
4789 2003-09-03  Angus Leeming  <leeming@lyx.org>
4790
4791         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4792         preamble_snippets list, enabling us to add snippets to the preamble
4793         only if the snippet was not there already.
4794
4795 2003-09-04  Angus Leeming  <leeming@lyx.org>
4796
4797         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4798
4799 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4802         update
4803
4804 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4805
4806         * BranchList.C: point fix, earlier forgotten
4807
4808 2003-09-02  Angus Leeming  <leeming@lyx.org>
4809
4810         * box.C (contains): renamed from 'contained' after a fantastic
4811         amount of hot air.
4812
4813 2003-09-02  John Levon  <levon@movementarian.org>
4814
4815         * BufferView.C:
4816         * lyxcursor.h:
4817         * lyxcursor.C:
4818         * lyxfunc.C:
4819         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4820
4821 2003-09-02  John Levon  <levon@movementarian.org>
4822
4823         * text2.C: simplification of cursorEnd(), including partial
4824         fix for bug 1376
4825
4826 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * buffer.C (readFile): add a space
4829
4830 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4833
4834 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * buffer.C (readFile): new function, take a filename and a
4837         ParagraphList::iterator
4838         (readFile): adjust
4839         (readFile): adjust, make it private. don't use setStream, make
4840         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4841         always contain the filename.
4842
4843         * BufferView.C (insertLyXFile): simplify and make it work for
4844         gzipped files.
4845
4846 2003-08-30  John Levon  <levon@movementarian.org>
4847
4848         * Makefile.am: fix dist (from Kayvan)
4849
4850 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * most files: change to use const Buffer refs
4853
4854 2003-08-27  André Pönitz  <poenitz@gmx.net>
4855
4856         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4857         on top of ownerPar().
4858
4859 2003-08-27  John Levon  <levon@movementarian.org>
4860
4861         * funcrequest.C: properly initialise POD members
4862
4863 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * lyxtext.h (top_y): move top_y from here
4866         * text.C:
4867         * text2.C:
4868         * text3.C:
4869         * BufferView.[Ch]:
4870         * BufferView_pimpl.[Ch]: to here
4871         * frontends/screen.C:
4872         * insets/insettabular.C:
4873         * insets/insettext.C: adjust
4874         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4875
4876 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4877
4878         * BufferView.[Ch]:
4879         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4880
4881 2003-08-26  André Pönitz  <poenitz@gmx.net>
4882
4883         * paragraph_func.[Ch] (outerPar): new function
4884
4885         * paragraph.C:
4886         * paragraph_funcs.C:
4887         * paragraph_funcs.h:
4888         * paragraph_pimpl.C:
4889         * text2.C: remove Inset::par_owner
4890
4891 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * lyxrow_funcs.C:
4894         * lyxtext.h:
4895         * text.C:
4896         * text2.C: eliminates the needFullRow/display() stuff
4897         altogether, putting the logic in metrics/draw in the insets.
4898
4899 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * text2.C (redoParagraphInternal, redoParagraphs):
4902         * text.C (redoParagraph): add a call to updateRowPositions at the
4903         end of each 'metrics-like' call. Remove all others.
4904         (getRow): remove the 'y-computing' version.
4905         (getRowNearY): do not compute nor return the real y. Solve the
4906         'y < 0' problem and simplify.
4907
4908 2003-08-22  Angus Leeming  <leeming@lyx.org>
4909
4910         * *.[Ch]: clean-up of licence and author blurbs.
4911         Also move config.h out of a few .h files and into a few .C files.
4912
4913 2003-08-22  André Pönitz  <poenitz@gmx.net>
4914
4915         * lyxrow.[Ch]: add x_ and *fill_ members
4916
4917         * lyxtext.h:
4918         * text.C:
4919         * rowpainter.C:
4920         * text2.C: adjust/remove prepareToPrint() calls
4921
4922 2003-08-22  André Pönitz  <poenitz@gmx.net>
4923
4924         * lyxrow.[Ch]: add  end_ member
4925
4926         * lyxrow_funcs.C: use LyXRow::end_
4927
4928         * lyxtext.h (singleWidth): add LyXFont parameter
4929
4930         * rowpainter.C:
4931         * text2.C: adjust LyXText::singleWidth() calls
4932
4933         * text.C (redoParagraph): simplify row breaking logic
4934
4935
4936 2003-08-19  André Pönitz  <poenitz@gmx.net>
4937
4938         * funcrequest.C: initialize button_ member
4939
4940         * text3.C:
4941         * rowpainter.[Ch]: interface consolidation
4942
4943 2003-08-18  André Pönitz  <poenitz@gmx.net>
4944
4945         * BufferView.C:
4946         * BufferView_pimpl.C:
4947         * lyxfind.C:
4948         * paragraph_funcs.C:
4949         * rowpainter.C:
4950         * text3.C: remove LyXScreen::draw() and fitCursor calls
4951
4952         * BranchList.h: remove spurious semicolons
4953
4954         * MenuBackend.C: fix branchlist related crash
4955
4956 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4957
4958         * BranchList.[Ch]:
4959         * InsetList.[Ch]:
4960         * LColor.[Ch]:
4961         * LyXAction.C:
4962         * Makefile.am:
4963         * MenuBackend.[Ch]:
4964         * bufferparams.[Ch]:
4965         * factory.C:
4966         * lfuns.h:
4967         * lyxfunc.C:
4968         * text3.C: implements the 'branch inset'
4969         idea. This allows the output of various versions of a document
4970         from a single source version, selectively outputing or suppressing
4971         output of parts of the text.
4972         This implementation contains a 'branch list editor' in a separate
4973         tab of the document settings dialog. Branches are user definable
4974         and have a "display colour" to distinguish them on-screen.
4975
4976         ColorHandler was somewhat cleaned up.
4977         (1) make possible a dynamically growing LColor list by allowing
4978         the graphic context cache to grow along (vector);
4979         (2) eliminate an IMHO unnecessary step in colour allocation.
4980
4981 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4982
4983         * BufferView_pimpl.C: compile fix
4984
4985 2003-08-15  André Pönitz  <poenitz@gmx.net>
4986
4987         * rowpainter.C: remove extra metrics calls
4988
4989         * lyxtext.h: merge the two constructors into a single one,
4990           pass reference to owner's par list
4991
4992         * BufferView_pimpl.C:
4993         * text.C:
4994         * text2.C: adjust
4995
4996 2003-08-15  André Pönitz  <poenitz@gmx.net>
4997
4998         * lyxrow_funcs.[Ch]:
4999         * lyxtext.h:
5000         * paragraph.h:
5001         * paragraph_funcs.C:
5002         * rowpainter.C:
5003         * text.C:
5004         * text2.C:
5005         * text3.C:
5006         * text_funcs.C: split LyXText::rowlist_ into individual
5007         Paragraph::rows_ chunks
5008
5009         * BufferView.[Ch]:
5010         * BufferView_pimpl.[Ch]:
5011         * lyxfind.C:
5012         * lyxtext.h:
5013         * text3.C: remove toggleSelection()
5014
5015 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5016
5017         * bufferlist.C: beautify two alerts (shorter text of buttons)
5018         * buffer.C: Remove redundant ' ' from message
5019         * tabular.h:
5020         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5021         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5022         rename VALIGN_CENTER to VALIGN_MIDDLE
5023
5024 2003-08-11  André Pönitz  <poenitz@gmx.net>
5025
5026         * lyxtext.h (getPar):
5027         * text.C: new function
5028
5029 2003-08-11  André Pönitz  <poenitz@gmx.net>
5030
5031         * Makefile.am:
5032         * tracer.[Ch]: remove unneeded files
5033
5034         * InsetList.[Ch]: remove resizeInsetsLyXText()
5035
5036         * lyxtext.h:
5037         * text.C:
5038         * text2.C:
5039         * text3.C: merge insertParagraphs() and appendParagraph()
5040         remove breakAgain(), update()
5041
5042         * BufferView_pimpl.[Ch]:
5043         * bufferview_funcs.[Ch]:
5044         * lyxfunc.C:
5045         * paragraph.[Ch]:
5046         * rowpainter.C:
5047         * tabular.C: adjust after text & InsetList changes.
5048
5049 2003-08-08  André Pönitz  <poenitz@gmx.net>
5050
5051         * text.C (insertChar, backspace): replace rowlist fiddling
5052         with rebreak of full par
5053
5054         * lyxtext.h:
5055         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5056         checkParagraph, updateInset): removed
5057
5058 2003-08-07  André Pönitz  <poenitz@gmx.net>
5059
5060         * paragraph.C:
5061         * text3.C: merge some LFUN handlers, remove dead code
5062
5063 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5064
5065         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5066
5067 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * text2.C (DEPM): fix part of bug 1255 and 1256
5070
5071 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5072
5073         * BufferView_pimpl.C (workAreaDispatch): change to use
5074         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5075         that are no mouse related.
5076
5077 2003-08-05  André Pönitz  <poenitz@gmx.net>
5078
5079         * BufferView.[Ch]:
5080         * BufferView_pimpl.[Ch]:
5081         * bufferview_funcs.C:
5082         * text2.C:
5083         * text3.C: rip out "deep update"
5084
5085         * textcursor.[Ch] (last_sel_cursor): remove unused member
5086
5087 2003-08-04  André Pönitz  <poenitz@gmx.net>
5088
5089         * BufferView.[Ch]:
5090         * BufferView_pimpl.[Ch]:
5091         * ParagraphParameters.C:
5092         * bufferview_funcs.C:
5093         * lyx_cb.C:
5094         * lyxfind.C:
5095         * lyxfunc.C:
5096         * text.C:
5097         * text2.C:
5098         * text3.C: replace "complicated" BufferView::update(...) calls with
5099         simpler ones.
5100
5101         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5102
5103 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5104
5105         * Makefile.am (lyx_SOURCES): add paper.h
5106
5107 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5108
5109         * Makefile.am: move things around so that both lyx-qt and
5110         lyx-xforms can be built (according to --with-frontend). Then lyx
5111         is a symbolic link to lyx-[firstfrontend]
5112
5113 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5114
5115         * Always use std::endl with lyxerr
5116
5117 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5118
5119         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5120
5121 2003-08-01  André Pönitz  <poenitz@gmx.net>
5122
5123         * BufferView.[Ch]:
5124         * BufferView_pimpl.[Ch]:
5125         * lyxfunc.C:
5126         * text3.C: merge BufferView::repaint() and BufferView::update()
5127
5128 2003-08-01  José Matos  <jamatos@lyx.org>
5129
5130         * buffer.[Ch]: file_format is no longer a buffer data element.
5131
5132 2003-08-01  André Pönitz  <poenitz@gmx.net>
5133
5134         * BufferView.C:
5135         * lyxtext.h:
5136         * text.C:
5137         * text2.C: make redoParagraph more independent of current cursor
5138
5139         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5140         * text.C:
5141         * text2.C: remove unneeded members
5142
5143 2003-07-30  André Pönitz  <poenitz@gmx.net>
5144
5145         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5146
5147         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5148           create a single function...
5149
5150         * paragraph_funcs.C (moveItem): ... here.
5151
5152         * text.C:
5153           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5154
5155 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5156
5157         * LColor.[Ch]: Add comment and greyedout logical colors.
5158
5159 2003-07-30  André Pönitz  <poenitz@gmx.net>
5160
5161         * tabular.C: don't use Assert too heavily. This crashes where it
5162           shouldn't
5163
5164 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5165
5166         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5167         is disabled (bug 1232)
5168
5169 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5170
5171         * factory.C: limited 'arg' scope
5172
5173 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5174
5175         * factory.C: fixed Note submenu issues
5176
5177 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5178
5179         * factory.C: submenu for Note/Comment/Greyedout
5180
5181 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5182
5183         * lyx_main.C (LyX):
5184         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5185
5186 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5187
5188         * LaTeXFeatures.C:
5189         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5190         greyedout. Patch provided by Jürgen Spitzmüller.
5191
5192 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5193
5194         * kbmap.C (read): fix error message when reading bind files
5195
5196 2003-07-29  Angus Leeming  <leeming@lyx.org>
5197
5198         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5199         certainly does not do what it purports to do. I am doing it, and
5200         us, a favour by killing it.
5201
5202 2003-07-28  José Matos  <jamatos@lyx.org>
5203
5204         * buffer.C (readBody, do_writeFile):
5205         * paragraph.C(readParagraph): \end_document replaces \the_end.
5206
5207 2003-07-29  André Pönitz  <poenitz@gmx.net>
5208
5209         * BufferView.[Ch]:
5210         * BufferView_pimpl.[Ch]:
5211         * lyxfunc.C:
5212         * text2.C:
5213         * text3.C:
5214         * textcursor.[Ch]: remove toggleToggle & Co
5215
5216 2003-07-28  José Matos  <jamatos@fep.up.pt>
5217
5218         * buffer.C (readParagraph):
5219         * params_func (readParToken, readParagraph):
5220         * paragraph.C (write): \layout -> \begin_layout.
5221
5222 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * lyxlex_pimpl.C (setFile): clean up slightly.
5225
5226         * bufferparams.h: add compressed var
5227
5228         * buffer_funcs.C (readFile): adjust for LyXLex change
5229         (newFile): ditto + simplify
5230
5231         * buffer.C (writeFile): handle writing of compressed files
5232
5233         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5234         Check if the file is compressed and set a bufferparm if so.
5235
5236         * Makefile.am (lyx_LDADD): remove explicit -lz
5237
5238 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5239
5240         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5241         makeDocBookFile): put the real LyX version in the first line of
5242         the file
5243
5244         * version.h:
5245         * version.C.in: remove lyx_docversion
5246
5247         * tabular.C (write_attribute): add a template-based version to
5248         write enums properly
5249
5250 2003-07-28  André Pönitz  <poenitz@gmx.net>
5251
5252         * lyxtext.h:
5253         * text.C:
5254         * text2.C:
5255         * text3.C: use doubles again for x-coordinates. They are needed.
5256
5257 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * messages.C (getLocaleDir): use lyx_localedir()
5260
5261         * lyxlex_pimpl.C (setFile): compress stuff
5262
5263         * buffer.C (writeFile): add some compression stuff
5264         (do_writeFile): new func, dont call expliti close... will this
5265         breake anything?
5266
5267         * Makefile.am (lyx_LDADD): add -lz
5268
5269 2003-07-28  José Matos  <jamatos@fep.up.pt>
5270
5271         * buffer.C: increment file format.
5272         * paragraph_funcs (readParagraph, readParToken):
5273         * paragraph.C (readParagraph): add \end_layout.
5274
5275 2003-07-27  Angus Leeming  <leeming@lyx.org>
5276
5277         * Makefile.am: remove special casing for configure-time setting of
5278         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5279
5280         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5281         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5282
5283 2003-07-26  André Pönitz  <poenitz@gmx.net>
5284
5285         * paragraph_func.[Ch]:
5286         * paragraph.C (realizeFont): inline it whereever it is used
5287
5288         * rowpainter.C:
5289         * text.C:
5290         * text2.C:
5291         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5292
5293
5294 2003-07-26  André Pönitz  <poenitz@gmx.net>
5295
5296         *       lyxtext.h:
5297         * text.C:
5298         * text2.C: get rid of LyXText::need_break_row
5299
5300 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * toc.[Ch]: put namespace toc inside namespace lyx
5303
5304         * MenuBackend.C (expandToc2): adjust for lyx::toc
5305         (expandToc): ditto
5306
5307         * lyxfunc.C (dispatch): adjust for lyx::find
5308
5309         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5310         lyx::find instead. Reorganize a bit.
5311         (LyXReplace): rename to replace
5312         (LyXFind): rename to find
5313
5314         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5315         (dispatch): ditto
5316
5317 2003-07-26  André Pönitz  <poenitz@gmx.net>
5318
5319         * text.C (setHeightOfRow): restrict scope of temporary variable
5320
5321         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5322           code (never has been used?)
5323
5324 2003-07-27  Asger Alstrup  <alstrup@local>
5325
5326         * text.C (fill): Optimise algorithm to exploit that we can reuse
5327         the LyXFont for many characters.
5328         (setHeightOfRow): Same thing.
5329         (rowBreakPoint): Same thing.
5330
5331 2003-07-26  Asger Alstrup  <alstrup@local>
5332
5333         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5334
5335         * text.C (singleWidth): Spurious font copying in hot-spot
5336         singleWidth avoided. Reorder tests for arabic for efficiency.
5337
5338         * text.C (fill): handle empty paragraphs better.
5339
5340 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5341
5342         * ispell.C:
5343         * encoding.h: add includes
5344
5345         * lyxrc.C: remove reading of bind files
5346
5347         * lyx_main.C (init): setup bindings and menus only if we have a
5348         gui.
5349
5350         * kbmap.C (read): new method. Do the actual reading of bind
5351         files.
5352
5353         * converter.C (dvipdfm_options):
5354         * bufferparams.C:
5355         * lyxrc.C (read):
5356         (output): adapt PAPER_* enums.
5357
5358         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5359
5360         * bufferparams.h: remove paper-related enums from there
5361
5362         * paper.h: New file. A trivial header file to hold paper-related
5363         enums. It should later expand to contain many paper-related
5364         horrors access.
5365
5366         * lyxrc.C: declare extern displayTranslator
5367
5368 2003-07-27  José Matos  <jamatos@fep.up.pt>
5369
5370         * tabular.[Ch] (linuxdoc): add support for tables and figures
5371         (linuxdoc).
5372
5373 2003-07-27  José Matos  <jamatos@fep.up.pt>
5374
5375         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5376         consistency in both functions.
5377         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5378
5379 2003-07-26  Asger Alstrup  <alstrup@local>
5380
5381         * rowpainter.C (paintRows): Change algorithm to work directly on
5382         the insets rather than asking every character in the document
5383         whether its an inset.
5384
5385 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5386
5387         * buffer.C (openFileWrite): factorize some code
5388
5389 2003-07-26  Angus Leeming  <leeming@lyx.org>
5390
5391         * lyx_cb.C:
5392         * lyx_main.[Ch]: replace occurances of system_tempdir with
5393         os::getTmpDir().
5394
5395 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * rename Inset to InsetOld
5398
5399 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5400
5401         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5402         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5403         which I think is a bit clearer. EDIT is gone, since it was
5404         premature optimisation, and broken for mathed anyway.
5405         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5406         with cursor positioning in insets as well (math insets still do not
5407         work, but that's a different story anyway.) It mysteriously
5408         crashes sometimes with undo in the first paragraph, but I'm fairly
5409         confident that this is a compiler bug.
5410
5411 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * paragraph.C (Paragraph): adjust for new clone return type
5414         (operator==): ditto
5415         (copyIntoMinibuffer): ditto
5416
5417 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5418
5419         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5420         by not having a special case, and always doing a full rebreak of
5421         the document after undo.
5422
5423 2003-07-23  Angus Leeming  <leeming@lyx.org>
5424
5425         * factory.C (createInset): InsetExternal::setParams now takes a
5426         Buffer const * arg.
5427
5428 2003-07-23  Angus Leeming  <leeming@lyx.org>
5429
5430         * factory.C (createInset): changed interface to the external and
5431         graphics mailers' string2params functions.
5432
5433 2003-07-23  Angus Leeming  <leeming@lyx.org>
5434
5435         * factory.C (createInset): pass a
5436         Buffer const * parameter to InsetExternalMailer's string2params.
5437
5438 2003-07-22  John Levon  <levon@movementarian.org>
5439
5440         * Thesaurus.h: include the right aiksaurus header
5441
5442 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5443
5444         * MenuBackend.C (expand): check menu shortcuts unconditionally
5445
5446 2003-07-21  Angus Leeming  <leeming@lyx.org>
5447
5448         * factory.C (createInset): pass a
5449         buffer_path parameter to InsetGraphicsMailer's string2params.
5450
5451 2003-07-21  Angus Leeming  <leeming@lyx.org>
5452
5453         * BufferView_pimpl.C (buffer):
5454         * buffer.C (d-tor):
5455         * lyx_main.C (LyX):
5456         * lyxfunc.C (dispatch):
5457         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5458         rather than the grfx shortcut.
5459
5460 2003-07-21  André Pönitz  <poenitz@gmx.net>
5461
5462         * rowpainter.C: remove unused variables
5463
5464         * tabular_funcs.C:
5465         * tabular_funcs.h: move to tabular.C
5466         * Makefile.am: adjust
5467
5468         * tabular.[Ch]: basic optical cleaning
5469
5470         * author.h: pass references, not values
5471
5472 2003-07-18  André Pönitz  <poenitz@gmx.net>
5473
5474         * lyxtext.h:
5475         * metricsinfo.C:
5476         * metricsinfo.h:
5477         * rowpainter.C:
5478         * text.C:
5479         * text2.C:
5480         * text3.C: two-phase drawing for InsetText and InsetTabular
5481         some float -> int changes.
5482
5483 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * lyx_main.C: fix the fix
5486
5487 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * lyx_main.C: fix a crash in batch mode if no files specified
5490         * converter.C: ws
5491
5492 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5493
5494         * format.[Ch] (papersize): moved to BufferParams
5495         * converter.[Ch] (dvips_options): moved to BufferParams
5496         (dvipdfm_options): moved to anon namespace
5497         * bufferparams.[Ch]: added above functions.
5498
5499 2003-07-17  André Pönitz  <poenitz@gmx.net>
5500
5501         * lyxtext.h:
5502         * rowpainter.C:
5503         * text2.C: don't call inset->update() anymore
5504
5505         * metricsinfo.[Ch]: add convenience constructor
5506
5507 2003-07-16  André Pönitz  <poenitz@gmx.net>
5508
5509         * lyxcursor.[Ch]:
5510         * lyxfunc.[Ch]:
5511         * text.C:
5512         * text2.C: replace the LyXCursor::irow_ member with
5513          on-demand computation of the value
5514
5515 2003-07-16  John Levon  <levon@movementarian.org>
5516
5517         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5518
5519 2003-07-15  André Pönitz  <poenitz@gmx.net>
5520
5521         * text.C:
5522         * text2.C: remove no more needed refresh_row
5523
5524 2003-07-15  André Pönitz  <poenitz@gmx.net>
5525
5526         * lyxtext.h:
5527         * rowpainter.C:
5528         * text2.C:
5529         * text3.C: refresh_status tristate -> need_update bool
5530
5531 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5532
5533         * lyxtext.h (init): remove reinit argument (act as if always true)
5534         * text2.C: adjust to that
5535
5536 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5537
5538         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5539         * text3.C: use it to delete selections in some cases
5540         (bugs 441, 673, 702, 954).
5541
5542 2003-07-14  André Pönitz  <poenitz@gmx.net>
5543
5544         * rowpainter.[Ch]: reduce interface
5545
5546 2003-07-14  André Pönitz  <poenitz@gmx.net>
5547
5548         * BufferView_pimpl.C:
5549         * text2.C: adjust after removing unused BufferView * argument
5550
5551 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5552
5553         * text2.C (init): fix a crash fired on resize
5554
5555 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5556
5557         * buffer.[Ch]: added new closing signal
5558         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5559         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5560         BufferView::Pimpl via the closing the signal
5561
5562 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5563
5564         * buffer.[Ch]: take out all bv-related from buffer
5565         * BufferView.C:
5566         * BufferView_pimpl.[Ch]: connect to new signals
5567         * CutAndPaste.C: removed useless asserts
5568         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5569         * lyxvc.[Ch]:
5570         * vc-backend.[Ch]:
5571         * lyxfunc.C: moved view-related funciontality from vc here
5572         * paragraph.C: removed outdated comments
5573         * text.C: ws
5574
5575 2003-07-10  André Pönitz  <poenitz@gmx.net>
5576
5577         * BufferView_pimpl.C:
5578         * tabular.h:
5579         * tabular_funcs.C:
5580         * text.C:
5581         * text2.C: remove InsetText::InnerCache, clean up consequences
5582
5583 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5584
5585         * ispell.C: fix two typos in error messages
5586
5587 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5588
5589         * Extend Note inset to other forms of annotation like Comment
5590         and Greyedout. Right button click gives dialog.
5591
5592         Files modified or added (+):
5593
5594         * insetnote.[Ch]
5595         * FormNote.[Ch]      +
5596         * ControlNote.[Ch]   +
5597         * form_note.fd       +
5598         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5599         frontends/controllers
5600         * xforms/Dialogs.C
5601         * factory.C
5602
5603 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5604
5605         * aspell.C: add missing namespace lyx::support
5606
5607 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * BufferView.[Ch] (newFile): Add
5610         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5611         * LaTeX.[Ch] (message): added this signal and use it
5612         * buffer.[Ch] (busy, message): added these signals and use them
5613         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5614         * converter.C:
5615         * exporter.C:
5616         * format.C:
5617         * importer.C: use buffer signals instead of direct bv calling
5618         * lyx_cb.[Ch] (ShowMessage): removed
5619         * lyx_main.C:
5620         * lyxfunc.C:
5621         * paragraph_funcs.C:
5622         * text2.C: use buffer signals
5623
5624 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * introduce namespace lyx::graphics
5627
5628 2003-07-02  André Pönitz  <poenitz@gmx.net>
5629
5630         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5631
5632 2003-07-01  André Pönitz  <poenitz@gmx.net>
5633
5634         * text.C:
5635         * text2.C:
5636         * text3.C:
5637         * text_funcs.[Ch]:
5638         * textcursor.h:
5639         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5640           text*.C to text_func.C
5641
5642 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * introduce namespace lyx::support
5645
5646 2003-06-30  André Pönitz  <poenitz@gmx.net>
5647
5648         * Chktex.C:
5649         * funcrequest.C:
5650         * lyxtext.h:
5651         * text.C: re-enable --with-included-string
5652
5653 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * textcursor.C: add <config.h>
5656
5657         * text.C (getWord): remove const from word_location arg
5658
5659         * lyxvc.C (getLogFile): fix const type order
5660
5661         * lyxtext.h: remove const from word_location arg, add arg name
5662
5663         * lyxlayout.h: currect type on labeltype.
5664
5665         * importer.C: correct \file
5666
5667         * converter.C (intToFormat): use std:: on ret val, ws changes
5668
5669         * bufferlist.h: correct \file
5670
5671         * buffer.C (makeLinuxDocFile): fix const type order
5672         (makeDocBookFile): ditto
5673         (fillWithBibKeys): use std:: on stdlib args.
5674
5675         * CutAndPaste.C: fix authors.
5676         (availableSelections): use std:: on return vector
5677
5678 2003-06-27  André Pönitz  <poenitz@gmx.net>
5679
5680         * BufferView_pimpl.C:
5681         * bufferview_funcs.C:
5682         * lyxcursor.C:
5683         * lyxcursor.h:
5684         * lyxfunc.C:
5685         * lyxtext.h:
5686         * rowpainter.C:
5687         * text.C:
5688         * text2.C:
5689         * text3.C: remove LyXCursor::row_ member
5690
5691         * lyxtext.h:
5692         * text.C: rename fullRebreak() to partialRebreak() and implement
5693           a fullRebreak() that really bereks fully
5694
5695         * textcursor.h: new struct for cursor-related data
5696
5697 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5698
5699         * lyx_main.C (LyX): get full path of document loaded on the
5700         command line
5701
5702 2003-06-26  André Pönitz  <poenitz@gmx.net>
5703
5704         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5705           remove unused/broken operator>,<,>=.
5706
5707         *       text.C: remove only use of broken operator<= in an Assert().
5708
5709 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5710
5711         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5712         moved errorlist_.clear to showErrorList
5713
5714 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5715
5716         * converter.C (scanLog, runLaTeX):
5717         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5718         move the bv->showErrorList call to the callers
5719         * lyxfunc.C: i.e. here...
5720         * text2.C: and here
5721         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5722         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5723         namespace, the second to...
5724         * buffer_funcs (BufferFormat, parseErrors): added
5725         * errorlist.C (ErrorList(TeXErrors const &)): removed
5726
5727 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5728
5729         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5730
5731 2003-06-24  "Garst R. Reese" <reese@isn.net>
5732
5733         * debug.C: fix typo
5734
5735 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5736
5737         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5738
5739         * version.C.in: change docversion to 1.4
5740
5741 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5742
5743         * buffer.C: fix a bug just introduced
5744
5745 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5746
5747         * buffer.[Ch]: added the parseError signal and use it, removed
5748         sgmlError
5749         * BufferView.[Ch] (addError): moved to ...
5750         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5751         to the Buffer::parseError signal to catch (guess what) parse errors
5752         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5753
5754 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5755
5756         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5757         ability to create a buffer and to return an existing one from
5758         the list. Moved these functions to...
5759         * buffer_funcs.[Ch]: added
5760         * BufferView.[Ch] (loadLyXFile): added
5761         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5762         job removed from bufferlist::loadLyXFile.
5763         * buffer.C (setReadOnly): make it work without view
5764         (i.e added an if (users))
5765
5766 2003-06-19  Angus Leeming  <leeming@lyx.org>
5767
5768         * lfuns.h:
5769         * LyXAction.C (init):
5770         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5771         with LFUN_DIALOG_SHOW <name> <data>.
5772
5773 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5774
5775         * CutAndPaste.C (availableSelections): small compilation fix for
5776         ancient (gcc 2.9x) compilers
5777
5778 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * text3.C (cursorNext): add tmp var
5781
5782         * text2.C (updateCounters): for function calling out of for clause
5783         (replaceSelectionWithString): ditto
5784         (insertStringAsParagraphs): ditto
5785         (getColumnNearX): add tmp var
5786         (setCursorFromCoordinates): add tmp var
5787         (cursorDownParagraph): add tmp var
5788         (deleteEmptyParagraphMechanism): add tmp var
5789
5790         * text.C (insertChar): add tmp var
5791
5792         * rowpainter.C (paintDepthBar): add tmp var
5793
5794         * CutAndPaste.C (availableSelections): potentially check all
5795         paragraphs in a cut to fill the shown strings.
5796
5797 2003-06-18  André Pönitz  <poenitz@gmx.net>
5798
5799         * kbmap.[Ch]: use vector<> instead of list<>
5800
5801 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5802
5803         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5804         pasteSelection with index
5805
5806         * text2.C (pasteSelection): modify, call pasteSelection with index
5807
5808         * paragraph.C (asString): reimplement version with no interval to
5809         call the one with interval.
5810
5811         * lyxtext.h: add index arg to pasteSelection
5812
5813         * MenuBackend.C (MenuItem): handle PasteRecent
5814         (Menu::read::Menutags): add md_pasterecent
5815         (read): handle it
5816         (expandPasteRecent): new function
5817         (expand): use it
5818
5819         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5820
5821         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5822         the limited stack
5823         (availableSelections): new function
5824
5825 2003-06-17  Angus Leeming  <leeming@lyx.org>
5826
5827         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5828
5829 2003-06-17  Angus Leeming  <leeming@lyx.org>
5830
5831         * lfuns.h:
5832         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5833
5834         * lyxfunc.C (dispatch): invoke it.
5835
5836 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5837
5838         * iterators.C (operator++, ParPosition): reintroduce some
5839         const_cast for the benefit of older compilers.
5840
5841 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5842
5843         * text3.C (dispatch): do not modify clipboard when doing
5844         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5845         LFUN_DELETE_SKIP on a selection selection
5846
5847 2003-06-16  André Pönitz  <poenitz@gmx.net>
5848
5849         * BufferView.C:
5850         * buffer.C:
5851         * buffer.h:
5852         * paragraph.C:
5853         * tabular.[Ch]: IU of clone() and getLabelList();
5854
5855 2003-06-13  André Pönitz  <poenitz@gmx.net>
5856
5857         * tabular.h: compactification
5858
5859 2003-06-12  André Pönitz  <poenitz@gmx.net>
5860
5861         * tabular.C:
5862         * tabular.h:
5863         * tabular_funcs.h: some renaming plus whitespace
5864
5865 2003-06-12  André Pönitz  <poenitz@gmx.net>
5866
5867         * BufferView.C:
5868         * BufferView_pimpl.C:
5869         * CutAndPaste.C:
5870         * buffer.C:
5871         * iterators.[Ch]:
5872         * lyxfunc.C:
5873         * text.C:
5874         * toc.C: Return a Paragraph & for ParIterator::operator*()
5875
5876 2003-06-11  John Levon  <levon@movementarian.org>
5877
5878         * lyx_main.C:
5879         * ToolbarBackend.h:
5880         * ToolbarBackend.C: add "Toolbars" section and
5881         put the flags there
5882
5883 2003-06-10  Angus Leeming  <leeming@lyx.org>
5884
5885         * lfuns.h:
5886         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5887
5888         * lyxfunc.C (dispatch): invoke it.
5889
5890 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * main.C: protect <ios> with HAVE_IOS
5893         (main): protect sync_with_stdio with HAVE_IOS
5894
5895 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5896
5897         * text2.C (cutSelection): adjust
5898         (pasteSelection): adjust
5899
5900         * messages.C: handle get of empty string
5901
5902         * main.C (main): use sync_with_stdio(false)
5903
5904         * lyxfunc.C (dispatch): adjust
5905
5906         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5907         (WriteAs): remove unneeded BufferView arg.
5908
5909         * bufferparams.h: use correct types on papersize, papersize2 and
5910         paperpackage.
5911
5912         * bufferparams.C (readToken): adjust for type
5913         (writeLaTeX): add missing cases to switch.
5914
5915         * bufferlist.C (quitWriteBuffer): adjust
5916         (close): adjust
5917
5918         * buffer.C (asciiParagraph): remove some commented code.
5919
5920         * CutAndPaste.C: remove current_view extern variable.
5921         (cutSelection): add BufferParams arg.
5922         (eraseSelection): add BufferParams arg.
5923         (pasteSelection): add Buffer const & arg
5924
5925 2003-06-07  John Levon  <levon@movementarian.org>
5926
5927         * buffer.C:
5928         * paragraph_funcs.C:
5929         * paragraph_pimpl.C:
5930         * text.C:
5931         * text2.C:
5932         * paragraph.h:
5933         * paragraph.C: allow InsetERT to freely space lines,
5934         and some consolidation of code
5935
5936 2003-06-06  José Matos  <jamatos@fep.up.pt>
5937
5938         * buffer.C (makeDocBookFile): fix bug #821
5939
5940 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5943
5944 2003-06-04  Angus Leeming  <leeming@lyx.org>
5945
5946         * buffer.C: bump format to 224.
5947
5948 2003-06-05  André Pönitz  <poenitz@gmx.net>
5949
5950         * text2.C (redoParagraphs): remove two const_cast<>
5951
5952 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5953
5954         * ParagraphList.h: remove last remnants of NO_STD_LIST
5955
5956 2003-06-03  Angus Leeming  <leeming@lyx.org>
5957
5958         * factory.C (createInset): small change to the way InsetExternal's params
5959         are set.
5960
5961 2003-06-04  André Pönitz  <poenitz@gmx.net>
5962
5963         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5964
5965         * paragraph_pimpl.h:
5966         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5967
5968         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5969
5970         * undo_funcs.C: make some simple cases of undo work again
5971
5972 2003-06-03  John Levon  <levon@movementarian.org>
5973
5974         * ispell.C: HPUX doesn't have sys/select.h
5975         (from Albert Chin)
5976
5977 2003-06-03  John Levon  <levon@movementarian.org>
5978
5979         * CutAndPaste.C: update tabular and include inset
5980         buffer references
5981
5982         * buffer.h:
5983         * paragraph.h:
5984         * paragraph.C: remove owningBuffer(), don't pass Buffer
5985         to clone()
5986
5987         * factory.C: insetGraphicsParams changed
5988
5989 2003-06-02  John Levon  <levon@movementarian.org>
5990
5991         * LyXAction.C:
5992         * factory.C:
5993         * lfuns.h:
5994         * lyxfunc.C:
5995         * text3.C: remove insetparent
5996
5997 2003-06-02  John Levon  <levon@movementarian.org>
5998
5999         * buffer.h:
6000         * buffer.C: fix inset_iterator.end(), move out of line
6001         (bug 1149)
6002
6003 2003-06-01  John Levon  <levon@movementarian.org>
6004
6005         * text3.C: use a proper cut/paste when doing inset
6006         insert (from Jürgen Spitzmüller)
6007
6008 2003-06-01  John Levon  <levon@movementarian.org>
6009
6010         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6011
6012 2003-05-30  André Pönitz  <poenitz@gmx.net>
6013
6014         * rowpainter.C: unify second drawing phase
6015
6016 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * trans_mgr.C: remove one case of current_view
6019
6020         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6021
6022         * paragraph_funcs.h: remove paragraph.h include
6023
6024         * paragraph.h: delete NO_STD_LIST stuff
6025
6026         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6027
6028         * buffer.h: remove paragraph.h include
6029
6030         * ParagraphList.C: delete file
6031
6032         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6033
6034         * toc.C (getTocList): adjust
6035
6036         * paragraph_pimpl.C (validate): adjust
6037
6038         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6039
6040         * paragraph.C (Paragraph): adjust
6041         (getPositionOfInset): use const_iterator, adjust
6042         (bibitem): use const_iterator, adjust
6043         (setInsetOwner): adjust
6044
6045         * iterators.C (operator++): adjust
6046
6047         * InsetList.[Ch]: Replace selfmade iterator with standard
6048         vector::iterator also introduce const_iterator. Remove getPos,
6049         getInset and setInset from InsetTable. Adjust accordingly.
6050
6051         * BufferView.C (lockInset): adjust
6052         (ChangeInsets): adjust
6053
6054         * tabular.[Ch]: delete commented same_id functions
6055
6056 2003-05-28  John Levon  <levon@movementarian.org>
6057
6058         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6059
6060 2003-05-28  André Pönitz  <poenitz@gmx.net>
6061
6062         * metricsinfo.[Ch]: remove 'fullredraw' member
6063
6064 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6065
6066         * lyxtextclass.C (operator): remove caching.
6067
6068 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * text3.C: adjust
6071
6072         * text2.C (cursorBottom): adjust
6073         (setCounter): use ParagraphList::find, adjust
6074
6075         * text.C (workWidth): use ParagraphList::find, adjust
6076
6077         * lyxcursor.C (LyXCursor): adjust
6078
6079         * buffer.C (inset_iterator): adjust
6080
6081         * ParagraphList.h: make iterator(value_type) private, make
6082         ParagraphList a friend of iterator.
6083
6084         * ParagraphList.C (find): new function
6085
6086         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6087
6088 2003-05-27  André Pönitz  <poenitz@gmx.net>
6089
6090         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6091
6092 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6093
6094         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6095
6096 2003-05-26  John Levon  <levon@movementarian.org>
6097
6098         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6099
6100 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * remove same_id from function signatures, adjust.
6103
6104 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6107
6108         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6109
6110         * paragraph.C (Paragraph): get rid of same_ids parameter
6111
6112         * ParagraphList.C (insert): adjust
6113         (push_back): adjust
6114
6115 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * paragraph_funcs.C (breakParagraph): adjust
6118         (breakParagraphConservative): adjust
6119
6120         * buffer.C (readParagraph): adjust
6121
6122         * ParagraphList.C (insert): take a reference instead of a pointer
6123         (insert): adjust
6124
6125         * paragraph.[Ch] (id): new function
6126
6127         * bufferlist.C (newFile): adjust
6128
6129         * ParagraphList.C (ParagraphList): adjust
6130         (assign): adjust
6131         (push_back): take a reference instead of a pointer.
6132
6133         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6134
6135         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6136         instead.
6137
6138         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6139         set else use old code.
6140
6141         * ParagraphList.C: remove all NO_NEXT code and only compile this
6142         code of NO_STD_LIST is set.
6143
6144 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6145
6146         * BufferView_pimpl.C:
6147         * TextCache.C:
6148         * TextCache.h:
6149         * bufferlist.C:
6150         * errorlist.h:
6151         * format.C:
6152         * format.h:
6153         * graph.C:
6154         * lyxfunc.C:
6155         * lyxrc.C:
6156         * graphics/GraphicsConverter.C:
6157         * graphics/PreviewLoader.C: header adjustment
6158
6159 2003-05-23  Angus Leeming  <leeming@lyx.org>
6160
6161         * LaTeXFeatures.[Ch] (useBabel): new method.
6162         * bufferparams.C (writeLaTeX): use it.
6163
6164 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * ParagraphList.h (set): remove unused function.
6167
6168 2003-05-23  André Pönitz  <poenitz@gmx.net>
6169
6170         * BufferView.C:
6171         * BufferView_pimpl.C:
6172         * buffer.C:
6173         * buffer.h:
6174         * lyxfunc.C:
6175         * undo_funcs.C: setUndo reworked
6176
6177         * iterators.[Ch]: add access to topmost ParagraphList
6178
6179         * lyxtext.[Ch] (workWidth): add a const
6180
6181 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6182
6183         * texrow.[Ch] (increasePos): remove function
6184         * exporter.C (export): removed unused var and outdated comment
6185
6186 2003-05-23  Angus Leeming  <leeming@lyx.org>
6187
6188         * latexrunparams.h: rename fragile as moving_arg.
6189         * paragraph.C (simpleTeXOnePar): ditto.
6190         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6191
6192 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6195         (createUndo): ditto
6196         (textUndoOrRedo): comment out a currently unused var.
6197
6198         * paragraph.h (NO_NEXT): enable NO_NEXT
6199
6200         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6201
6202         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6203
6204         * exporter.C (Export): adjust for removeAutoInsets removal.
6205
6206         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6207
6208         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6209
6210         * BufferView.[Ch] (removeAutoInsets): delete function
6211
6212 2003-05-22  Angus Leeming  <leeming@lyx.org>
6213
6214         * latexrunparams.h: add a free_spacing variable.
6215
6216         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6217         to pass moving_arg, as the data is stored in runparams.fragile.
6218
6219         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6220         to Inset::latexOptional or to simpleTeXOnePar.
6221
6222         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6223         free_spacing arg to Inset::latexOptional.
6224
6225         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6226         free_spacing arg.
6227
6228 2003-05-22  Angus Leeming  <leeming@lyx.org>
6229
6230         * latexrunparams.h: add fragile and use_babel variables.
6231
6232         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6233         * buffer.C (makeLaTeXFile): store this returned value in
6234         runparams.use_babel, thus passing it to the inset::latex methods.
6235
6236         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6237         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6238
6239         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6240         longer has a fragile arg, as it is stored in runparams.fragile.
6241
6242         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6243         moving_arg parameter as the data is stored in runparams.fragile.
6244
6245         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6246         a fragile parameter as the data is stored in runparams.fragile.
6247
6248 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6251
6252 2003-05-22  Angus Leeming  <leeming@lyx.org>
6253
6254         * latexrunparams.h: add a 'bool nice' which defaults to false.
6255
6256         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6257         now encapsulated within runparams.
6258
6259         * bufferlist.C (updateIncludedTeXfiles):
6260         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6261
6262 2003-05-22  Angus Leeming  <leeming@lyx.org>
6263
6264         * latexrunparams.h: new file containing struct LatexRunParams.
6265         * Makefile.am: add new file.
6266
6267         * LaTeX.[Ch] (c-tor, run):
6268         * buffer.[Ch] (makeLaTeXFile):
6269         * bufferlist.[Ch] (updateIncludedTeXfiles):
6270         * converter.C (convert, scanLog):
6271         * converter.[Ch] (runLaTeX):
6272         * exporter.C (Export):
6273         * paragraph.[Ch] (simpleTeXOnePar):
6274         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6275         * paragraph_funcs.[Ch] (latexParagraphs):
6276         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6277         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6278         pass around a LatexRunParams parameter.
6279
6280 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * paragraph.[Ch]: remove unused constructor
6283
6284         * ParagraphList.C (erase): new function, taking two iterators
6285
6286 2003-05-22  André Pönitz  <poenitz@gmx.net>
6287
6288         * undo_funcs.C: remove duplicated code
6289
6290         * iterator.[Ch]: operator=
6291
6292 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * tabular.C (SetMultiColumn): ws changes
6295
6296         * rowpainter.C (paintFirst): get rid of a ->previous
6297
6298         * lyx_cb.C (getPossibleLabel): parlist simplification
6299
6300         * BufferView.C (ChangeInsets): simplify slightly.
6301
6302 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6303
6304         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6305         * lfuns.h: new LFUN_SPACE
6306         * lyxfunc.C: protected space has a new lfun
6307         * paragraph_funcs.C: read new space insets
6308         * text3.C:
6309         * factory.C: handle new space insets
6310
6311 2003-05-22  André Pönitz  <poenitz@gmx.net>
6312
6313         * BufferView.C:
6314         * BufferView_pimpl.C:
6315         * buffer.[Ch]:
6316         * lyxfunc.C:
6317         * undo_funcs.C: return a ParIterator from getParFromID.
6318
6319         * iterators.[Ch]: add two const's
6320
6321 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * toc.C (getTocList): adjust
6324
6325         * iterators.[Ch]: rework for parlist
6326
6327         * buffer.C (par_iterator_begin): adjust
6328         (par_iterator_end): adjust
6329
6330         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6331
6332         * BufferView.C (removeAutoInsets): adjust
6333         (ChangeInsets): adjust
6334
6335 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * text.C (top_y): fix bug 1110
6338
6339 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * errorlist.[Ch]: added
6342         * buffer.C:
6343         * BufferView.[Ch]:
6344         * BufferView_pimpl.C:
6345         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6346         instead
6347
6348 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * Makefile.am: ensure that lyx is relinked upon changes to the
6351         various "convenience" libs.
6352
6353 2003-05-20  Angus Leeming  <leeming@lyx.org>
6354
6355         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6356         files are compiled in alphabetical order again.
6357
6358         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6359
6360 2003-05-19  Angus Leeming  <leeming@lyx.org>
6361
6362         * gettext.[Ch]: remove "char const * _(char const *)".
6363
6364 2003-05-19  André Pönitz  <poenitz@gmx.net>
6365
6366         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6367
6368         * Makefile.am:
6369         * BufferView.C:
6370         * DepTable.h:
6371         * LaTeXFeatures.C:
6372         * buffer.C:
6373         * lyxfont.C:
6374         * lyxlex.h:
6375         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6376
6377 2003-05-19  André Pönitz  <poenitz@gmx.net>
6378
6379         * buffer.C:
6380         * lyxlayout.[Ch]:
6381         * lyxtextclass.[Ch]:
6382         * paragraph.C:
6383         * paragraph_funcs.[Ch]:
6384         * text2.C:
6385         * text3.C: more insetenv work
6386
6387 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * ParagraphParameters.C (params2string): small bug fixed
6390
6391 2003-05-16  André Pönitz  <poenitz@gmx.net>
6392
6393         * debug.C:
6394         * bufferview_funcs.C: patch from Kornel Benko to prevent
6395           crash when _(...) is called twice in a statement
6396
6397 2003-05-16  André Pönitz  <poenitz@gmx.net>
6398
6399         * BufferView.C:
6400         * lyxfunc.C:
6401         * text.C:
6402         * text2.C:
6403         * text3.C:
6404         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6405
6406 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * lyx_main.C (init): remove spurious static_cast
6409
6410 2003-05-14  André Pönitz  <poenitz@gmx.net>
6411
6412         * BufferView.C: fix format string
6413
6414 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * BufferView.[Ch] (insertErrors): removed
6417         * BufferView.[Ch] (showErrorList): added
6418         * buffer.C (runChkTeX):
6419         * converter.C (scanLog): call showErrorList instead of inserterrors
6420
6421 2003-05-13  André Pönitz  <poenitz@gmx.net>
6422
6423         * BufferView_pimpl.C:
6424         * buffer.C:
6425         * bufferview_func.C:
6426         * MenuBackend.C:
6427         * lyxfunc.C:
6428         * lyxrc.C:
6429         * tex-accent.C:
6430         * text3.C:
6431         * toc.C:
6432         * tabular_funcs.h: tostr() from its own header
6433
6434         * ParagraphParameters.C:
6435         * ToolbarBackend.C:
6436         * bufferparams.C:
6437         * format.C:
6438         * lyxlex_pimpl.C:
6439         * text3.C: STRCONV()
6440
6441 2003-05-12  André Pönitz  <poenitz@gmx.net>
6442
6443         * BufferView.C:
6444         * BufferView_pimpl.C:
6445         * CutAndPaste.C:
6446         * LaTeX.C:
6447         * LaTeXFeatures.C:
6448         * ParagraphParameters.C:
6449         * buffer.C:
6450         * bufferlist.C:
6451         * bufferparams.C:
6452         * bufferview_funcs.C:
6453         * converter.C:
6454         * counters.C:
6455         * debug.C:
6456         * exporter.C:
6457         * format.C:
6458         * importer.C:
6459         * lyx_cb.C:
6460         * lyx_main.C:
6461         * lyxfont.C:
6462         * lyxfunc.C:
6463         * lyxvc.C:
6464         * paragraph.C:
6465         * paragraph_funcs.C:
6466         * tabular.C:
6467         * tabular_funcs.C:
6468         * text2.C:
6469         * text3.C:  boost::format -> bformat  all over the place
6470
6471
6472 2003-05-09  André Pönitz  <poenitz@gmx.net>
6473
6474         * LColor.[Ch]: Pimpl the #include <map> away
6475
6476 2003-05-09  John Levon  <levon@movementarian.org>
6477
6478         * bufferlist.C: never remove emergency saves
6479
6480 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * Makefile.am: better lib building
6483
6484 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6487         instead.
6488         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6489         (simpleTeXSpecialChars): adjust
6490         (simpleTeXSpecialChars): adjust
6491         * paragraph.C (simpleTeXOnePar): adjust
6492         * buffer.C (makeLaTeXFile): adjust
6493
6494         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6495
6496         * text2.C (changeDepth): parlist cleanup
6497         (getColumnNearX): ditto
6498
6499         * rowpainter.C (getLabelFont): parlist cleanup
6500
6501         * bufferlist.C (newFile): parlist cleanup
6502
6503         * CutAndPaste.C (eraseSelection): parlist cleanup
6504
6505         * BufferView_pimpl.C (trackChanges): parlist cleanup
6506         (dispatch): ditto
6507
6508         * BufferView.C (lockInset): parlist cleanup.
6509         (ChangeInsets): ditto
6510
6511 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * CutAndPaste.h: Update file header.
6514
6515         * CutAndPaste.C: Update file header.
6516         Store the parts cut out of the Document in a limited_stack.
6517         (copySelection): adjust
6518         (pasteSelection): new function, takes the index in the limited stack.
6519         (nrOfParagraphs): adjust
6520         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6521         simplify error inset insertion.
6522         (checkPastePossible): adjust
6523
6524 2003-05-06  John Levon  <levon@movementarian.org>
6525
6526         * text2.C: don't cast wrap inset to float
6527
6528 2003-05-05  André Pönitz  <poenitz@gmx.net>
6529
6530         * iterator.C:
6531         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6532
6533         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6534           few naked Paragraph *.
6535
6536 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6537
6538         * bufferparams.C: Output warning if a document with missing
6539         TeX document class is loaded
6540         * exporter.C: Disable TeX exports if the document class is missing
6541         * lyxtextclass.C:
6542         * lyxtextclass.h:
6543         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6544         isTeXClassAvailable()
6545
6546 2003-05-03  John Levon  <levon@movementarian.org>
6547
6548         * BufferView.h:
6549         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6550         explicit cursor show/hide
6551
6552         * BufferView_pimpl.h:
6553         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6554         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6555
6556         * lyxfunc.C: hide cursor before dispatching.
6557
6558         * lyx_cb.C:
6559         * lyxfind.C:
6560         * text.C:
6561         * text3.C: remove explicit cursor hides
6562
6563 2003-05-02  André Pönitz  <poenitz@gmx.net>
6564
6565         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6566
6567         * undo_funcs.C:
6568         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6569           linked lists
6570
6571         * text2.C: tiny whitespace
6572
6573 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * undo_funcs.C: almost only ws changes.
6576
6577         * ParagraphList.C (splice): just return if pl is empty.
6578
6579 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * ParagraphList.C (splice): new function.
6582
6583         * CutAndPaste.C (pasteSelection): use it
6584
6585 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * CutAndPaste.C (pasteSelection): remove the last next and
6588         previous from this file.
6589
6590 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * CutAndPaste.C (pasteSelection): more clean up, user proper
6593         ParagraphList functions for pasteing.
6594
6595         * ParagraphList.C (insert): new function, three arg insert
6596
6597 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * ParagraphList.C (insert): new function, three arg insert
6600
6601         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6602         not on paragraphs.
6603
6604 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6607
6608 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6611
6612 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6615         (copySelection): clean up a bit.
6616         (pasteSelection): use make_pair
6617
6618         * ParagraphList.C (ParagraphList): implement copy constructor
6619         (operator=): implement, base on copy constructor.
6620         (assign): new func
6621
6622         * paragraph.C (erase): return a bool
6623
6624         * paragraph_pimpl.C (erasePos): remove function, move contents...
6625         (erase): ... here. Return a bool.
6626         (erase): call erase instead of erasePos.
6627
6628 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6629
6630         * ParagraphList.h: define PitPosPair
6631         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6632         ParagraphList, fix a bug on pasting multiple pars
6633         * text2.C: change interface to C&P
6634
6635 2003-04-30  André Pönitz  <poenitz@gmx.net>
6636
6637         * undo_func.C: revert part of yesterday's patch 2
6638
6639 2003-04-30  John Levon  <levon@movementarian.org>
6640
6641         * LColor.C: s/tabular/table/
6642
6643 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * text3.C (dispatch): do not convert iterator -> pointer
6646         * undo_funcs.C (setCursorParUndo): ditto
6647         * text_funcs.C (transposeChars): ditto
6648
6649         * text2.C (setLayout): ws changes only
6650
6651         * text.C (breakParagraph): do not convert iterator -> pointer
6652         (insertChar): ditto
6653         (acceptChange): ditto
6654         (rejectChange): ditto
6655         (changeCase): ditto
6656         (Delete): ditto
6657         (backspace): ditto
6658
6659         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6660         pointer
6661
6662 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6663
6664         * text3.C (gotoInset): YABG (yet another bad getChar)
6665
6666 2003-04-29  André Pönitz  <poenitz@gmx.net>
6667
6668         * paragraph.h: make operator= private unimplemented as long as
6669           it is unusable
6670
6671         * ParagraphList.C: whitespace
6672
6673         * paragraph.[Ch]:
6674         * paragraph_pimpl.[Ch]:
6675         * paragraph_funcs.C:
6676         * CutAndPaste.C:
6677         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6678
6679         * text2.C:
6680           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6681
6682 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6685         * paragraph.[Ch] (erase):
6686         * paragraph_pimpl.[Ch] (erase): change return type and value
6687         * text2.C (cutSelection): some rework
6688
6689 2003-04-28  John Levon  <levon@movementarian.org>
6690
6691         * bufferlist.C: changes for unsaved changes dialog
6692
6693 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * bufferlist.C (newFile): set language (messages_) for new
6696         documents also.
6697
6698         * buffer.C (readFile): ws changes only.
6699
6700 2003-04-28  André Pönitz  <poenitz@gmx.net>
6701
6702         * undo_funcs.C:
6703         * lyxfunc.C:
6704         * buffer.[Ch]:
6705         * BufferView_pimpl.C:
6706         * BufferView.C: getParFromID related ParagraphList::iterator changes
6707
6708 2003-04-28  André Pönitz  <poenitz@gmx.net>
6709
6710         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6711           Changes
6712
6713 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * messages.C: remove one more localedir class variable.
6716
6717 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * messages.C (getLocaleDir): singleton generation function
6720         (Pimpl): use it.
6721         (Messages): add a default constructor.
6722
6723         * main.C (main): do not setup localedir here, do not call
6724         gettext_init.
6725
6726         * gettext.C (_): use it.
6727         (gettext_init): delete funciton
6728
6729 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * gettext.C (getLyXMessages): new singleton generating function.
6732
6733         * buffer.C (updateDocLang): adjust
6734
6735         * Makefile.am (messages.o): add target
6736         (main.o): remove target
6737
6738 2003-04-27  John Levon  <levon@movementarian.org>
6739
6740         * bufferlist.C:
6741         * lyx_cb.C:
6742         * lyxfunc.C:
6743         * lyxvc.C: specify cancel button in Alert::prompt
6744
6745 2003-04-26  John Levon  <levon@movementarian.org>
6746
6747         * text3.C:
6748         * lyxfunc.C:
6749         * lfuns.h:
6750         * LyXAction.C: add LFUN_INSET_SETTINGS
6751
6752         * lyxfunc.C: don't enable tabular-feature when there's
6753         just any locking inset
6754
6755 2003-04-26  John Levon  <levon@movementarian.org>
6756
6757         * bufferlist.C: re-add Cancel to buffer close question
6758
6759         * lyxfunc.C: fix import UI a bit
6760
6761 2003-04-25  John Levon  <levon@movementarian.org>
6762
6763         * gettext.C: remove the broken asserts for now
6764
6765 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * messages.C: make case where setlocale cannot comply work better.
6768
6769         * buffer.C (updateDocLang): new function
6770         (changeLanguage): use it
6771         (readFile): use it
6772
6773         * text2.C (setCounter): use B_ a bit.
6774
6775         * lyxlayout.C (Read): be sure to trim the label strings.
6776
6777         * messages.C (Messages): fix typo in comment
6778
6779         * buffer.C (readFile): set message_ after file is loaded.
6780         (makeDocBookFile): remove double return
6781         (changeLanguage): reset message_ upon language change.
6782         (B_): new func, use this to get translated buffer strings.
6783
6784         * main.C: add myself and Jean Marc as authors.
6785
6786 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * messages.[hC]: pimplify Messages, and three different pimpls to be
6789         used in different circumstances.
6790
6791         * gettext.[Ch]: change for use with new message code.
6792
6793 2003-04-24 André Pönitz <poenitz@gmx.net>
6794
6795         * factory.C: support for eqref
6796
6797 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * messages.[Ch]: add missing char
6800
6801         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6802
6803         * messages.[Ch]: New files
6804
6805 2003-04-18  John Levon  <levon@movementarian.org>
6806
6807         * BufferView.h:
6808         * BufferView.C:
6809         * BufferView_pimpl.C:
6810         * lfuns.h:
6811         * LyXAction.C:
6812         * lyxtext.h:
6813         * text2.C: remove layout-copy/paste (bug 778)
6814
6815 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6818
6819 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6822         if they succeed. Act accordingly.
6823
6824 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * text2.C (setCharFont): adjust
6827         (setCounter): adjust
6828         (insertStringAsLines): adjust
6829
6830         * text.C (leftMargin): adjust
6831         (setHeightOfRow): adjust
6832
6833         * rowpainter.C (paintFirst): adjust
6834         (paintLast): adjust
6835
6836         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6837         (outerHook): ditto
6838         (isFirstInSequence): ditto
6839         (getEndLabel): ditto
6840         (outerFont): adjust
6841
6842         * paragraph.C (getParLanguage): comment out some hard stuff.
6843
6844         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6845         (sgmlError): ditto
6846         (simpleDocBookOnePar): ditto
6847         (makeDocBookFile): use ParagraphList::iterator
6848
6849         * CutAndPaste.C (pasteSelection): adjust
6850
6851 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * text2.C (getFont): adjust
6854         (getLayoutFont): adjust
6855         (getLabelFont): adjust
6856
6857         * paragraph_funcs.C (TeXOnePar): adjust
6858
6859         * buffer.C (simpleLinuxDocOnePar): adjust
6860         (simpleDocBookOnePar): adjust
6861
6862         * CutAndPaste.C (pasteSelection): adjust
6863
6864         * BufferView.C (getEncoding): adjust
6865
6866         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6867
6868 2003-04-16  John Levon  <levon@movementarian.org>
6869
6870         * lyxfind.C: use parlist stuff for search/changes
6871
6872 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6875
6876         * text2.C (deleteEmptyParagraphMechanism): adjust
6877
6878         * text2.[Ch] (ownerParagraph): delete func (both of them
6879
6880 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6883
6884 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * ParagraphList.C: prepare for NO_NEXT
6887
6888 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * text2.C (getFont): adjust
6891         (getLayoutFont): adjust
6892         (getLabelFont): adjust
6893
6894         * paragraph.C (getFont): adjust
6895         (getLabelFont): adjust
6896         (getLayoutFont): adjust
6897
6898         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6899
6900 2003-04-15  John Levon  <levon@movementarian.org>
6901
6902         From Angus Leeming
6903
6904         * lyx_main.C: handle Include in .ui files
6905
6906 2003-04-15  John Levon  <levon@movementarian.org>
6907
6908         * MenuBackend.C: make the doc files length shorter
6909
6910         * ToolbarBackend.h:
6911         * ToolbarBackend.C: handle toolbar placement flags,
6912         Minibuffer
6913
6914 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6917         adjust
6918
6919         * paragraph_funcs.C (TeXOnePar): adjust
6920
6921         * paragraph.C (getLabelFont): add outerfont arg, adjust
6922         (getLayoutFont): ditto
6923         (simpleTeXOnePar): adjust
6924
6925         * paragraph_pimpl.C (realizeFont): delete func
6926
6927 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6930         row argument, constify cur argument.
6931
6932 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * text2.C (getFont): adjust
6935         (getLayoutFont): adjust
6936         (getLabelFont): adjust
6937
6938         * paragraph_funcs.C (TeXOnePar): adjust
6939         (outerFont): new func...
6940         (realizeFont): ...moved out from here, changed this to facilitate
6941         transition
6942
6943         * paragraph.C (getFont): take outerfont as arg, adjust
6944         (simpleTeXOnePar): add outerfont arg, adjust
6945
6946         * buffer.C (simpleLinuxDocOnePar): adjust
6947         (simpleDocBookOnePar): adjust
6948
6949         * CutAndPaste.C (pasteSelection): adjust
6950
6951         * BufferView.C (getEncoding): adjust
6952
6953 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * text2.C (setCharFont): adjust
6956         (setCounter): adjust
6957
6958         * text.C (leftMargin): adjust
6959         (setHeightOfRow): adjust
6960
6961         * rowpainter.C (paintFirst): adjust
6962         (paintLast): adjust
6963
6964         * paragraph_pimpl.C (realizeFont): adjust
6965
6966         * paragraph.C (isFirstInSequence): move from here...
6967         * paragraph_funcs.C (isFirstInSequence): ...to here
6968
6969         * paragraph.C (outerHook): move from here...
6970         * paragraph_funcs.C (outerHook): ...to here
6971
6972         * paragraph.C (depthHook): move from here...
6973         * paragraph_funcs.C (depthHook): ...to here
6974
6975         * paragraph.C (getEndLabel): move from here...
6976         * paragraph_funcs.C (getEndLabel): ...to here
6977
6978         * text2.C (realizeFont): move from here...
6979         * paragraph_funcs.C (realizeFont): ...to here
6980
6981 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6984
6985 2003-04-14  Angus Leeming  <leeming@lyx.org>
6986
6987         * LColor.[Ch]: scrap LColor mathcursor.
6988
6989 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * lyxlex.[Ch] (text): delete function
6992         * trans.C (Load): adjust
6993         * paragraph_funcs.C (readParToken): adjust
6994
6995 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6998         vector<char> instead of a char[].
6999
7000         * lyxlex_pimpl.C (getString): adjust
7001         (next): adjust
7002         (lex): use getString
7003         (eatLine): adjust
7004         (nextToken): adjust
7005
7006         * lyxlex.C (text): use pimpl_->getString()
7007         (getBool): ditto
7008         (findToken): ditto
7009
7010 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7013         (makeFontEntriesLayoutSpecific): temp var for par.size()
7014         (setLayout): temp var for ownerParagraphs().end()
7015         (fullRebreak): temp var for rows().end()
7016         (selectionAsString): temp var for boost::next(startpit), realize
7017         that the while really is a regular for loop.
7018         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7019         setCursor in one place.
7020         (setParagraph): temp vr for ownerParagraphs().end()
7021         (updateCounters): make the while loop a for loop
7022         (cutSelection): temp var for ownerParagraphs().end()
7023         (updateInset): make the do {} while() a regular for loop
7024         (getCursorX): use temp vars
7025         (setCurrentFont): use temp vars
7026         (getColumnNearX): use temp vars
7027
7028 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * text.C (transformChar): use temp var for getChar
7031         (computeBidiTables): use temp var for row->par()
7032         (fill): move temp vars for row->par() and pit->layout() earlier in
7033         the function.
7034         (labelFill): use temp var for row->par()
7035         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7036         asc and desc, realize that pit never changes and that firstpit is
7037         just a duplicate and not needed. Exchange rit->par() with pit in a
7038         lot of places.
7039         (breakAgain): use a temp var for boost::next(rit)
7040         (breakAgainOneRow): ditto
7041         (breakParagraph): use a temp var for rows().begin()
7042         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7043         (cursorRightOneWord): use temp var for cursor.par() and
7044         cursor.pos(), remove usage of tmpcursor.
7045         (cursorLeftOneWord): use temp var for cursor.par() and
7046         cursor.pos() only set cur at end of function.
7047
7048 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * text.C, text2.C: exchange all usage of Paragraph::next with
7051         boost::next(ParagraphList::iterator)
7052
7053         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7054
7055         * text2.C (cursorTop): simplify implementation
7056         (cursorBottom): ditto
7057         (setParagraph): use ParagraphList::iterator
7058         (setCurrentFont): adjust
7059         (getColumnNearX): adjust
7060         (cursorRight): adjust
7061         (cursorLeft): remove usage of Paragraph::previous
7062         (cursorUpParagraph): ditto
7063         (deleteEmptyParagraphMechanism): slight cleanup
7064
7065         * text.C (isBoundary): take a Paragraph const & instead of a
7066         pointer as arg.
7067         (addressBreakPoint): ditto
7068         (leftMargin): remove usage of Paragraph::previous.
7069         (setHeightOfRow): ditto
7070         (cursorLeftOneWord): ditto
7071         (selectNextWordToSpellcheck): ditto
7072         (Delete): ditto
7073         (backspace): ditto
7074         (breakParagraph): remove one usage of Paragraph::next
7075         (redoParagraph): ditto
7076         (acceptChange): ditto
7077         (insertChar): adjust
7078         (rowBreakPoint): adjust
7079
7080         * bufferview_funcs.C (toggleAndShow): adjust
7081
7082 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7085         methods to access it.
7086         * lyxtext.h:
7087         * text.C: Added updateRowPositions to compute all row positions.
7088         Make top_y and getRowNearY() to use the cached y position
7089
7090 2003-04-11  John Levon  <levon@movementarian.org>
7091
7092         * text.C (rowBreakPoint): reintroduce the labelEnd
7093         checks, code copied from the row fill stuff. Deep voodoo.
7094
7095         * text.C (fill): add a comment and debugging for the
7096         next poor soul.
7097
7098 2003-04-11  John Levon  <levon@movementarian.org>
7099
7100         * text.C: make sure fullrow insets get wrapped to the next line,
7101         even when they're in a manual label
7102
7103 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * text2.C (insertParagraph): make it take ParagraphList::iterator
7106         as arg.
7107         (setLayout): make it return ParagraphList::iterator
7108         (redoParagraphs): ditto
7109         (setCounter): ditto
7110         (checkParagraph): ditto
7111
7112         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7113
7114         * text2.C: adjust several funcs.
7115         (realizeFont): take a ParagraphList::iterator as arg.
7116         (getLayoutFont): ditto
7117         (getLabelFont): ditto
7118         (setCharFont): ditto
7119
7120         * text.C: adjust several funcs.
7121
7122 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * text.C (selectNextWordToSpellcheck): don't accidentally
7125         skip insets
7126
7127 2003-04-10  John Levon  <levon@movementarian.org>
7128
7129         * ToolbarBackend.C (getIcon): special handling for
7130         LFUN_MATH_DELIM
7131
7132 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * text2.C (cursorRight): a getChar assert fixed
7135
7136 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * text2.C (getFont): change to take a ParagraphList::iterator
7139         instead of Paragraph*
7140         Adjust several functions.
7141
7142         * text.C (transformChar): change to take a ParagraphList::iterator
7143         instead of Paragraph*
7144         (singleWidth): ditto
7145         Adjust several functions.
7146
7147         * rowpainter.C: adjust several functions
7148         * rowpainter.h:store a ParagraphList::iterator and not a
7149         Paragraph&.
7150
7151
7152 2003-04-09  John Levon  <levon@movementarian.org>
7153
7154         * lyxfunc.C:
7155         * lfuns.h:
7156         * LyXAction.h:
7157         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7158         and the "help" bits as well
7159
7160 2003-04-09  John Levon  <levon@movementarian.org>
7161
7162         * ToolbarBackend.h:
7163         * ToolbarBackend.C: allow multiple toolbars
7164
7165 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * undo_funcs.C (setCursorParUndo): adjust
7168
7169         * text_funcs.C (transposeChars): adjust
7170
7171         * text3.C (gotoNextInset): adjust
7172         (dispatch): adjust
7173
7174         * text2.C (setLayout): adjust
7175         (changeDepth): adjust
7176         (setFont): adjust
7177         (redoParagraphs): adjust
7178         (selectionAsString): adjust
7179         (setParagraph): adjust
7180         (insertInset): adjust
7181         (cutSelection): adjust
7182         (copySelection): adjust
7183         (pasteSelection): adjust
7184         (insertStringAsLines): adjust
7185         (updateInset): adjust
7186         (setCursor): change to take a ParagraphList::iterator parameter
7187         (setCursorIntern): change to take a ParagraphList::iterator parameter
7188         (setCurrentFont): adjust
7189         (cursorLeft): adjust
7190         (cursorRight): adjust
7191         (deleteEmptyParagraphMechanism): adjust
7192
7193         * text.C (breakParagraph): adjust
7194         (insertChar): adjust
7195         (acceptChange): adjust
7196         (rejectChange): adjust
7197         (selectNextWordToSpellcheck): adjust
7198         (changeCase): adjust
7199         (Delete): adjust
7200         (backspace): adjust
7201
7202         * lyxfind.C (SearchForward): adjust
7203         (SearchBackward): adjust
7204         (nextChange): adjust
7205
7206         * lyxcursor.C (par): adjust
7207
7208         * lyxcursor.h: store a ParagraphList::iterator instead of a
7209         Paragraph*
7210
7211         * lyx_cb.C (getPossibleLabel): adjust
7212
7213         * bufferview_funcs.C (toggleAndShow): adjust
7214
7215         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7216         (dispatch): adjust
7217
7218         * BufferView.C (removeAutoInsets): adjust
7219         (lockedInsetStoreUndo): adjust
7220
7221 2003-04-09  John Levon  <levon@movementarian.org>
7222
7223         * ToolbarBackend.C: try icon without argument
7224         if with argument fails
7225
7226 2003-04-08  John Levon  <levon@movementarian.org>
7227
7228         * ToolbarBackend.h:
7229         * ToolbarBackend.C: add getIcon(), handle tooltip,
7230         and change from "Icon" to "Item".
7231
7232 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * BufferView.C (lockInset): another bad getchar crunched
7235
7236 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7237
7238         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7239         again)
7240
7241 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7242
7243         * lyxfind.C (searchForward, searchBackwards): bug 782
7244
7245 2003-04-07  John Levon  <levon@movementarian.org>
7246
7247         * paragraph.C: remove dead comment
7248
7249         * text.C: remove troublesome depth-fiddling code
7250         in leftMargin() and rightMargin() (bug 1017)
7251
7252         * text.C: fix breaking of rows in nested lists
7253         (bug 1004)
7254
7255         * text2.C (updateCounters): fix up depth values
7256         (bug 1013)
7257
7258 2003-04-07  John Levon  <levon@movementarian.org>
7259
7260         * BufferView_pimpl.C: clear message when doc finishes resizing,
7261         and after a mouse event
7262
7263         * lyxfunc.C: clear message after exiting inset
7264
7265 2003-04-07  John Levon  <levon@movementarian.org>
7266
7267         * bufferview_funcs.C: show math status not outside
7268         status in the statusbar
7269
7270 2003-04-07  John Levon  <levon@movementarian.org>
7271
7272         * lyxfunc.C: note status changed after a depth change
7273
7274 2003-04-04  Angus Leeming  <leeming@lyx.org>
7275
7276         * LaTeX.h: move AuxInfo operator==, != out of line.
7277         Remove LaTeX virtual destructor; nothing derives from it.
7278         Move operator()() out of public area and rename it startscript().
7279         Change protected for private.
7280
7281 2003-04-04  Angus Leeming  <leeming@lyx.org>
7282
7283         * lyxfunc.C:
7284         * text2.C: remove unneeded #includes.
7285
7286 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7287
7288         * text2.C (dEPM): fix the heigth of the next row
7289
7290 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7291
7292         * text.C: squashed an invalid getChar requester + some ws changes
7293
7294 2003-04-03  John Levon  <levon@movementarian.org>
7295
7296         * bufferview_funcs.h:
7297         * bufferview_funcs.C:
7298         * lyxfunc.C:
7299         * lyxtext.h:
7300         * text2.C: make getStatus work for the env depth lfuns
7301
7302 2003-04-03  John Levon  <levon@movementarian.org>
7303
7304         * bufferview_funcs.h:
7305         * bufferview_funcs.C:
7306         * lyxfunc.C:
7307         * lyxtext.h:
7308         * text2.C: parlistize decDepth(), by merging it with incDepth()
7309
7310 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * lyxrow.h: store a ParagraphList::iterator instead of a
7313         Paragraph* and adjust other class functions to suit.
7314
7315         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7316         above.
7317
7318 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * text2.C (setCursor): do not anchor to cursor row for the time being
7321
7322 2003-04-02  John Levon  <levon@movementarian.org>
7323
7324         * LyXAction.C:
7325         * lfuns.h:
7326         * lyx_main.C:
7327         * lyxtext.h:
7328         * text.C:
7329         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7330
7331 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * paragraph.h: make ParagraphList and ParagraphList::iterator
7334         friends of Paragraph.
7335
7336         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7337
7338         * ParagraphList.C: Use the private next_ and previous_ from
7339         Paragraph.
7340
7341 2003-04-01  John Levon  <levon@movementarian.org>
7342
7343         * ToolbarBackend.h:
7344         * ToolbarBackend.C:
7345         * Makefile.am: rename, remove defaults gunk
7346
7347         * MenuBackend.h:
7348         * MenuBackend.C: remove defaults gunk
7349
7350         * Languages.h:
7351         * Languages.C: remove defaults gunk
7352
7353         * lyx_main.h:
7354         * lyx_main.C: error out if files couldn't be found.
7355
7356 2003-04-02  John Levon  <levon@movementarian.org>
7357
7358         * text2.C: make incDepth() use parlist
7359
7360 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * undo_funcs.C (firstUndoParagraph): adjust
7363
7364         * text3.C (gotoInset): adjust
7365         (dispatch): adjust, and rewrite loop.
7366
7367         * text2.C (init): adjust, and rewrite loop.
7368         (redoParagraphs): adjust
7369         (updateInset): adjust, and rewrite loop.
7370         (deleteEmptyParagraphMechanism): adjust
7371
7372         * tabular.C (LyXTabular): adjust
7373         (SetMultiColumn): adjust
7374         (TeXRow): adjust
7375
7376         * lyxtext.[Ch] (ownerParagraph): delete function
7377         (ownerParagraphs): new function returns a ParagraphList.
7378
7379         * BufferView.C (removeAutoInsets): adjust
7380         (insertErrors): adjust
7381         (setCursorFromRow): adjust
7382
7383 2003-04-01  Angus Leeming  <leeming@lyx.org>
7384
7385         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7386         in the frontends.
7387
7388 2003-04-02  John Levon  <levon@movementarian.org>
7389
7390         * lyxtext.h:
7391         * text.C:
7392         * Makefile.am:
7393         * text_funcs.h:
7394         * text_funcs.C: make transposeChars a free function
7395
7396         * lyxrow_funcs.C: remove wrong comment
7397
7398 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * lyxtext.h: adjust
7401         * rowpainter.C: adjust
7402         * text.C: adjust
7403         * text2.C: adjust
7404         * text3.C: adjust
7405
7406         * lyxrow_funcs. [Ch]: new files
7407
7408         * lyxrow.[Ch]: remove next and previous pointers
7409         (next,previous): remove accessor functions
7410         (isParEnd): move to lyxrow_funcs
7411         (lastPos): move to lyxrow_funcs
7412         (nextRowIsAllInset): move to lyxrow_funcs
7413         (lastPrintablePos): move to lyxrow_funcs
7414         (numberOfSeparators): move to lyxrow_funcs
7415         (numberOfHfills): move to lyxrow_funcs
7416         (numberOfLabelHfills): move to lyxrow_funcs
7417         (hfillExpansion): move to lyxrow_funcs
7418
7419         * lyxfunc.C: adjust
7420
7421         * bufferview_funcs.C (toggleAndShow): adjust
7422
7423         * RowList.h: Remove class RowList from file leave just a
7424         std::list<Row>.
7425
7426         * RowList.C: delete file
7427
7428         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7429         and lyxrow_funcs.h
7430
7431 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * text3.C (cursorPrevious): adjust
7434         (cursorNext): adjust
7435         (dispatch): adjust
7436
7437         * text2.C (redoHeightOfParagraph): adjust
7438         (redoDrawingOfParagraph): adjust
7439         (setCursor): adjust
7440
7441         * text.C (breakParagraph): adjust
7442         (insertChar): adjust
7443         (backspace): adjust
7444
7445         * rowpainter.C (RowPainter): adjust
7446         (leftMargin): simplify and adjust
7447         (most rowpainter functions): adjust.
7448
7449         * rowpainter.h: store the row as RowList::iterator not as Row*
7450
7451         * lyxcursor.C (row): taka RowList::iterator as arg
7452         (irow): ditto
7453
7454         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7455         of Row*.
7456
7457 2003-04-01  Angus Leeming  <leeming@lyx.org>
7458
7459         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7460         stuff like bool Bool.
7461
7462 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7463
7464         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7465         rewrite a loop
7466
7467 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7470         RowList::iterator.
7471
7472         * lyxtext.h (rows): drop one version and leve a const variant that
7473         returns a RowList::iterator.
7474
7475 2003-03-31  Angus Leeming  <leeming@lyx.org>
7476
7477         * text.C (fill): ensure that the signature is the same as that in the
7478         header file.
7479
7480 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * text2.C (redoParagraphs): adjust
7483         (updateCounters): adjust
7484         (checkParagraph): adjust
7485         (getColumnNearX): adjust and reformat a bit.
7486
7487         * text.C (top_y): adjust
7488         (workWidth): adjust
7489         (leftMargin): adjust
7490         (prepareToPrint): adjust
7491         (getRow): adjust
7492         (getRowNearY): adjust
7493
7494         * lyxtext.h: make rowlist_ mutable.
7495
7496         * RowList.h: add const_iterator
7497         * RowList.C: adjust for RowList::const_iterator.
7498
7499         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7500         adjust.
7501
7502 2003-03-31  John Levon  <levon@movementarian.org>
7503
7504         * lyxrc.h:
7505         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7506
7507         * lyx_main.C: set default fonts from using lyx_gui funcs
7508
7509         * exporter.C: pdf_mode moved from lyxrc
7510
7511         * lyx_cb.C:
7512         * lyxfunc.C: changes from above
7513
7514 2003-03-31  John Levon  <levon@movementarian.org>
7515
7516         * lyx_main.C: fix to the last fix
7517
7518 2003-03-31  John Levon  <levon@movementarian.org>
7519
7520         * bufferlist.C: "Load original" -> "Load Original"
7521
7522         * converter.C:
7523         * exporter.C:
7524         * importer.C:
7525         * lyx_main.C:
7526         * format.C: more Alert cleanups
7527
7528 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * text2.C (removeParagraph): make it take a RowList::iterator as
7531         arg, adjust.
7532         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7533         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7534
7535         * text.C (anchor_row): make it take a RowList::iterator as arg,
7536         adjust.
7537         (computeBidiTables): make it take a const reference to Row instead
7538         of Row pointer, adjust.
7539         (leftMargin): make it take a RowList::iterator as arg, adjust.
7540         (rowBreakPoint): adjust
7541         (breakAgainOneRow): make it take a RowList::iterator as arg,
7542         adjust.
7543         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7544
7545         * bufferview_funcs.C (toggleAndShow): adjust
7546
7547 2003-03-30  John Levon  <levon@movementarian.org>
7548
7549         * Makefile.am:
7550         * BoostFormat.h:
7551         * boost-inst.C: moved to support
7552
7553         * several files: changes as a result
7554
7555 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * text2.C (LyXText): adjust.
7558         (init): adjust
7559         (removeRow): make it take a RowList::iterator as arg, adjust.
7560         (fullRebreak): adjust
7561         (deleteEmptyParagraphMechanism): adjust
7562         (clearPaint): adjust
7563         (postPaint): adjust
7564
7565         * text.C (top_y): adjust
7566         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7567         (breakAgain): make it take a RowList::iterator as arg, adjust.
7568         (breakParagraph): adjust
7569         (insertChar): adjust
7570         (backspace): adjust
7571
7572         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7573         need_break_row, and refresh_row.
7574
7575         * text3.C (dispatch): adjust
7576
7577         * text2.C (checkParagraph): adjust
7578         (setCursor): adjust
7579         (setCursorFromCoordinates): adjust
7580
7581         * text.C (top_y): adjust
7582         (workWidth): adjust
7583         (getRow): make it return a RowList::iterator, adjust
7584         (getRowNearY): make it return a RowList::iterator, adjust
7585
7586         * text2.C (init): adjust
7587         (insertRow): remove function
7588         (insertParagraph): adjust
7589         (redoParagraphs): adjust
7590         (fullRebreak): adjust
7591         (updateCounters): adjust
7592
7593         * text.C (top_y): rewrite to use RowList iterators.
7594         (top_y): adjust
7595         (setHeightOfRow): rewrite to sue RowList iterators.
7596         (appendParagraph): adjust
7597         (breakAgain): adjust
7598         (breakAgainOneRow): adjust
7599         (breakParagraph): adjust
7600         (getRow): adjust
7601         (getRowNearY): adjust, and remove commented code.
7602
7603         * lyxtext.h (firstRow): delete function
7604         (lastRow): delete function
7605         (rows): new function (const and non-const versions.)
7606         (insertRow): delete function
7607
7608         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7609
7610 2003-03-29  John Levon  <levon@movementarian.org>
7611
7612         * BufferView_pimpl.C: always update scrollbar top
7613         because pasting text when we're anchored could mean we
7614         miss an update altogether
7615
7616 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * text2.C (init): use rowlist_.end() and not 0.
7619         (insertRow): change to take a RowList::iterator as arg, adjust
7620         for this.
7621         (insertParagraph): change to take a RowList::iterator as arg,
7622         adjust for this.
7623         (redoParagraphs): remove some debug msgs.
7624
7625         * text.C (appendParagraph): change to take a RowList::iterator
7626         arg, adjust for this.
7627         (breakAgain): add an assert
7628         (breakAgainOneRow): ditto
7629
7630 2003-03-29  John Levon  <levon@movementarian.org>
7631
7632         * text2.C: do not clear selection after inc/decDepth
7633         (bug 550)
7634
7635 2003-03-29  John Levon  <levon@movementarian.org>
7636
7637         * BufferView.C:
7638         * buffer.C: fix broken strerrors according to Lars
7639
7640 2003-03-29  John Levon  <levon@movementarian.org>
7641
7642         * converters.C: more Alert cleanups
7643
7644 2003-03-29  John Levon  <levon@movementarian.org>
7645
7646         * bufferview_funcs.C: remove pointless Alert
7647
7648         * buffer.C: fix confusing error message when
7649         a template is chmoded 000
7650
7651 2003-03-29  John Levon  <levon@movementarian.org>
7652
7653         * BufferView.C:
7654         * BufferView.h:
7655         * BufferView_pimpl.C: Alert fixes
7656
7657         * Makefile.am:
7658         * tabular.C:
7659         * tabular-old.C: remove unused table compat reading
7660
7661 2003-03-29  John Levon  <levon@movementarian.org>
7662
7663         * BufferView.C:
7664         * buffer.C:
7665         * lyx_cb.h:
7666         * lyx_cb.C: more Alert cleanups
7667
7668         * lyxfunc.C: don't allow chktex if not latex document
7669
7670 2003-03-29  John Levon  <levon@movementarian.org>
7671
7672         * lyx_cb.C:
7673         * BufferView.C:
7674         * buffer.C: warnings pushed down from support/,
7675         kill err_alert
7676
7677 2003-03-29  John Levon  <levon@movementarian.org>
7678
7679         * lyxfunc.C: safety check for C-r (revert)
7680
7681 2003-03-29  John Levon  <levon@movementarian.org>
7682
7683         * bufferlist.h:
7684         * bufferlist.C: several UI fixes using Alert::prompt.
7685         Fix the pointless looping quit code. Fix stupid revert
7686         behaviour (bug 938)
7687
7688         * lyxvc.h:
7689         * lyxvc.C:
7690         * lyx_cb.C: use Alert::prompt
7691
7692         * lyx_main.C: remove a silly question
7693
7694         * lyxfunc.C: remove a couple of silly questions,
7695         use Alert::prompt
7696
7697 2003-03-28  John Levon  <levon@movementarian.org>
7698
7699         * text2.C: fix bug 974 (End on empty par)
7700
7701 2003-03-28  John Levon  <levon@movementarian.org>
7702
7703         * BufferView_pimpl.C:
7704         * LyXAction.C:
7705         * lfuns.h: remove do-nothing math greek lfuns
7706
7707 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * lyxgluelength.h (isValidGlueLength): add default arg on
7710         parameter 2. Remove default arg from friend in class.
7711
7712         * lyxlength.h (isValidLength): add default arg on parameter 2.
7713         Remove default arg from friend in class.
7714
7715         * text2.C (LyXText): adjust, initialize refresh_row.
7716         (init): adjust
7717         (removeRow): adjust
7718         (insertRow): adjust
7719         (insertParagraph): adjst
7720         (redoParagraphs): adjust
7721         (fullRebreak): adjust
7722         (updateCounters): adjust
7723         (deleteEmptyParagraphMechanism): first attempt at fixing a
7724         crashing bug.
7725
7726         * text.C (top_y): adjust
7727         (setHeightOfRow): adjust
7728         (getRow): adjust
7729         (getRowNearY): adjust
7730
7731         * lyxtext.h: include RowList.h
7732         (~LyXText): not needed anymore, deleted.
7733         (firstRow): modify for RowList
7734         (lastRow): new function
7735         Delete firstrow and lastrow class variables, add a Rowlist
7736         rowlist_ class variable.
7737
7738         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7739         paragraph is empty.
7740
7741         * RowList.C (insert): fix case where it == begin().
7742
7743 2003-03-26  Angus Leeming  <leeming@lyx.org>
7744
7745         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7746         the thesaurus dialog.
7747
7748 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7751
7752         * RowList.[Ch]: new files
7753
7754         * ParagraphList.C (erase): handle the case where it == begin
7755         correctly.
7756
7757 2003-03-25  John Levon  <levon@movementarian.org>
7758
7759         * Makefile.am:
7760         * aspell_local.h:
7761         * aspell.C: add new aspell support
7762
7763         * lyxrc.h:
7764         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7765         have it accessible.
7766
7767 2003-03-25  Angus Leeming  <leeming@lyx.org>
7768
7769         * lfuns.h:
7770         * LyXAction.C (init): new LFUN_INSET_INSERT.
7771
7772         * BufferView_pimpl.C (dispatch): split out part of the
7773         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7774
7775         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7776         LFUN_INSET_APPLY.
7777
7778 2003-03-25  Angus Leeming  <leeming@lyx.org>
7779
7780         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7781
7782 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7783
7784         * text2.C:
7785         * text3.C: remove useless row->height(0)
7786
7787 2003-03-25  John Levon  <levon@movementarian.org>
7788
7789         * lyxtext.h:
7790         * text2.C:
7791         * text3.C: rename the refreshing stuff to better names
7792
7793 2003-03-24  John Levon  <levon@movementarian.org>
7794
7795         * BufferView_pimpl.h:
7796         * BufferView_pimpl.C: update layout choice on a mouse
7797         press/release
7798
7799 2003-03-23  John Levon  <levon@movementarian.org>
7800
7801         * Makefile.am: fix commandtags.h reference
7802
7803 2003-03-22  John Levon  <levon@movementarian.org>
7804
7805         * BufferView_pimpl.C:
7806         * lyxtext.h:
7807         * rowpainter.C:
7808         * rowpainter.h:
7809         * text.C:
7810         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7811
7812 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7813
7814         * lyxtext.h:
7815         * text.C: take the rtl methods out of line
7816
7817 2003-03-21 André Pönitz <poenitz@gmx.net>
7818
7819         * metricsinfo.[Ch]: new files containing structures to be passed around
7820         during the two-phase-drawing...
7821
7822 2003-03-21 André Pönitz <poenitz@gmx.net>
7823
7824         * lyxtextclass.C: read 'environment' tag.
7825
7826 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7827
7828         * text2.C (removeRow): fix bug 964
7829
7830 2003-03-20  John Levon  <levon@movementarian.org>
7831
7832         * rowpainter.C:
7833         * text.C:
7834         * text2.C: paint cleanups. Inset::update() dropped font
7835         parameter
7836
7837 2003-03-19  John Levon  <levon@movementarian.org>
7838
7839         * lyxfunc.C: only fitcursor/markDirty if available()
7840
7841 2003-03-19  John Levon  <levon@movementarian.org>
7842
7843         * commandtags.h: rename to ...
7844
7845         * lfuns.h: ... this, and renumber / cleanup
7846
7847 2003-03-19  John Levon  <levon@movementarian.org>
7848
7849         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7850         fit the cursor after an lfun
7851
7852         * BufferView.h:
7853         * BufferView.C:
7854         * BufferView_pimpl.h:
7855         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7856
7857         * LyXAction.C: layout-character should have ReadOnly
7858
7859         * ParagraphParameters.C:
7860         * buffer.C:
7861         * bufferview_funcs.C:
7862         * lyx_cb.C:
7863         * lyxfind.C:
7864         * lyxtext.h:
7865         * text.C:
7866         * text2.C:
7867         * text3.C:
7868         * undo_funcs.C: changes from above
7869
7870 2003-03-18  John Levon  <levon@movementarian.org>
7871
7872         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7873         remove it from update()
7874
7875         * lyxfunc.C: update layout choice after an lfun
7876
7877         * text3.C: remove extra updateLayoutChoice()s
7878
7879 2003-03-18  John Levon  <levon@movementarian.org>
7880
7881         * text.C: top_y change means full repaint, fix
7882         a drawing bug with cursor movement
7883
7884 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7885
7886         * lyxtext.h:
7887         * text.C:
7888         * text2.C: anchor row on setCursor
7889
7890 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * lyxtext.h: remove almost all mutable keywords
7893         * text.C:
7894         * text2.C:
7895         * text3.C: remove const keywords accordingly
7896
7897 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7900         anon namespace
7901         (TeXEnvironment): ditto
7902         (TeXOnePar): ditto
7903
7904 2003-03-17  John Levon  <levon@movementarian.org>
7905
7906         * text.C (rowBreakPoint): remove attempt to fix displayed
7907         math insets inside a manual label
7908
7909 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * lyxtext.h: remove BufferView* as first arg from almost all class
7912         functions.
7913         * other files: adjust.
7914
7915 2003-03-17  John Levon  <levon@movementarian.org>
7916
7917         * lyxtext.h:
7918         * undo_funcs.C:
7919         * text2.C: more paint cleanups
7920
7921         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7922
7923         * rowpainter.h:
7924         * rowpainter.C: remove "smart" background painting code
7925
7926 2003-03-16  John Levon  <levon@movementarian.org>
7927
7928         * lyxtext.h:
7929         * text.C:
7930         * text2.C:
7931         * text3.C: add helper functions for setting refresh_row/y
7932
7933 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7934
7935         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7936         newline inset which *can* get inserted in the pass_thru layouts.
7937         This is primarily for literate documents.
7938
7939 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7940
7941         * buffer.C: increment LYX_FORMAT to 223
7942
7943 2003-03-14 André Pönitz <poenitz@gmx.net>
7944
7945         * textclass.h: prepare for environment handling, ws changes
7946         * lyxlayout.C: read latexheader and latexfooter tags
7947
7948 2003-03-14  John Levon  <levon@movementarian.org>
7949
7950         * text2.C: rewrite ::status() a bit
7951
7952 2003-03-13  John Levon  <levon@movementarian.org>
7953
7954         * lyxtext.h: add some docs
7955
7956 2003-03-13  John Levon  <levon@movementarian.org>
7957
7958         * lyxtext.h:
7959         * text.C:
7960         * text2.C:
7961         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7962
7963 2003-03-13  John Levon  <levon@movementarian.org>
7964
7965         * text3.C: fix appendix redrawing
7966
7967 2003-03-13  John Levon  <levon@movementarian.org>
7968
7969         * text.C (setHeightOfRow):
7970         * rowpainter.h:
7971         * rowpainter.C: make appendix mark have the text
7972           "Appendix" so the user knows what it is
7973
7974         * LColor.h:
7975         * LColor.C: s/appendixline/appendix/ from above
7976
7977 2003-03-13  John Levon  <levon@movementarian.org>
7978
7979         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7980
7981         * text.C: fix a getChar(pos) bug properly
7982
7983 2003-03-13  Angus Leeming  <leeming@lyx.org>
7984
7985         * commandtags.h:
7986         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7987         Probably only temporary. Let's see how things pan out.
7988
7989         * BufferView.C (unlockInset):
7990         * BufferView_pimpl.C (fitCursor):
7991         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7992
7993         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7994         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7995
7996         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7997         new functions that convert ParagraphParameters to and from a string.
7998
7999         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8000         BufferView::Pimpl's dispatch.
8001         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8002
8003 2003-03-13 André Pönitz <poenitz@gmx.net>
8004
8005         * lyxfunc.C:
8006         * text3.C:
8007         * factory.C: make it aware of InsetEnv
8008
8009 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * text2.C (setCursor): never ask for one past last
8012         (setCursor): add some debugging messages.
8013
8014         * text.C (singleWidth): never ask for one past last
8015         (singleWidth): ditto
8016         (leftMargin): ditto
8017         (rightMargin): ditto
8018         (rowBreakPoint): ditto
8019         (setHeightOfRow): ditto
8020         (prepareToPrint): ditto
8021
8022         * rowpainter.C (paintBackground): never ask for one past last
8023         (paintText): never ask for one past last
8024
8025         * paragraph_pimpl.C (getChar): make the assert stricter, never
8026         allow the one past last pos to be taken
8027
8028         * paragraph.C (getChar): ws changes only
8029
8030         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8031         (numberOfSeparators): ditto
8032         (numberOfHfills): ditto
8033
8034 2003-03-12  John Levon  <levon@movementarian.org>
8035
8036         * author.h:
8037         * author.C:
8038         * bufferparams.h:
8039         * bufferparams.C:
8040         * paragraph_funcs.C: fix per-buffer authorlists
8041
8042 2003-03-12  John Levon  <levon@movementarian.org>
8043
8044         * text.C: fix newline in right address
8045
8046 2003-03-12  Angus Leeming  <leeming@lyx.org>
8047
8048         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8049         duplicate those in LyXFunc::dispatch.
8050
8051         * commandtags.h:
8052         * LyXAction.C:
8053         * ToolbarDefaults.C:
8054         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8055         Add LFUN_FONTFREE_UPDATE.
8056
8057         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8058         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8059
8060         * bufferview_func.[Ch]: several new functions to facilliate
8061         transfer of data to and from the character dialog.
8062
8063 2003-03-12  John Levon  <levon@movementarian.org>
8064
8065         * buffer.C:
8066         * paragraph.h:
8067         * paragraph.C:
8068         * paragraph_funcs.C:
8069         * paragraph_pimpl.C:
8070         * sgml.C:
8071         * tabular.C:
8072         * text.C:
8073         * text3.C: remove META_NEWLINE in favour of an inset
8074
8075         * rowpainter.h:
8076         * rowpainter.C: remove paintNewline (done by inset)
8077
8078 2003-03-12  John Levon  <levon@movementarian.org>
8079
8080         * paragraph_pimpl.C: complain about bad getChar()s
8081         for a while at least
8082
8083 2003-03-12  John Levon  <levon@movementarian.org>
8084
8085         * buffer.h:
8086         * buffer.C: move paragraph read into a separate function,
8087         a little renaming to reflect that.
8088
8089         * bufferparams.h:
8090         * bufferparams.C: remove the author_ids map, not necessary now
8091
8092         * factory.h:
8093         * factory.C: moved Buffer::readInset to here
8094
8095         * paragraph_funcs.h:
8096         * paragraph_funcs.C: readParagraph free function moved from
8097         buffer.C
8098
8099         * tabular.C: name change
8100
8101 2003-03-12  John Levon  <levon@movementarian.org>
8102
8103         * buffer.C:
8104         * ParagraphParameters.C: move par params input to
8105         a read() method
8106
8107         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8108         behave like a normal read from the stream wrt reading
8109         a line vs. a \\token
8110
8111 2003-03-12  John Levon  <levon@movementarian.org>
8112
8113         * paragraph.C:
8114         * ParagraphParameters.h:
8115         * ParagraphParameters.C: move output code to a
8116         ::write() method
8117
8118 2003-03-12  John Levon  <levon@movementarian.org>
8119
8120         * BufferView.C (insertLyXFile):
8121         * buffer.h:
8122         * buffer.C:
8123         * tabular.C: use a parlist iterator for creating the
8124           document.
8125
8126 2003-03-12  John Levon  <levon@movementarian.org>
8127
8128         * buffer.C: make current_change static local not
8129           static file-scope
8130
8131 2003-03-12  John Levon  <levon@movementarian.org>
8132
8133         * buffer.C: fix insertStringAsLines for change tracking
8134
8135 2003-03-12  John Levon  <levon@movementarian.org>
8136
8137         * BufferView.C:
8138         * tabular.C:
8139         * buffer.h:
8140         * buffer.C:
8141         * bufferparams.h:
8142         * bufferparams.C: move author list into params. Rename some
8143           functions. Move the header reading into a separate token
8144           loop. Move the header token reading into BufferParams.
8145
8146 2003-03-12  John Levon  <levon@movementarian.org>
8147
8148         * changes.C: put debug inside lyxerr.debugging() checks
8149
8150 2003-03-11 André Pönitz <poenitz@gmx.net>
8151
8152         * factory.C: make it aware of InsetHFill
8153
8154 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8155
8156         * buffer.C (latexParagraphs): move function from here...
8157         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8158         args.
8159
8160 2003-03-10  Angus Leeming  <leeming@lyx.org>
8161
8162         * LyXAction.C (init): fix bug in poplating array with multiple entries
8163         with the same LFUN (spotted by JMarc).
8164
8165 2003-03-10  John Levon  <levon@movementarian.org>
8166
8167         * text.C:
8168         * text2.C: move getColumnNearX() near its
8169         only call site
8170
8171 2003-03-10  John Levon  <levon@movementarian.org>
8172
8173         * text.C: fix break before a minipage
8174
8175 2003-03-10  John Levon  <levon@movementarian.org>
8176
8177         * text.C: fix the last commit
8178
8179 2003-03-09  John Levon  <levon@movementarian.org>
8180
8181         * lyxtext.h:
8182         * text.C:
8183         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8184         bug 365 (don't break before insets unless needed). Don't
8185         return a value > last under any circumstances.
8186
8187 2003-03-09  Angus Leeming  <leeming@lyx.org>
8188
8189         * BufferView_pimpl.C (trackChanges, dispatch): call
8190         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8191
8192 2003-03-09  Angus Leeming  <leeming@lyx.org>
8193
8194         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8195         than Dialogs::showAboutlyx().
8196
8197 2003-03-09  Angus Leeming  <leeming@lyx.org>
8198
8199         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8200         than Dialogs::showTabularCreate().
8201
8202 2003-03-09  John Levon  <levon@movementarian.org>
8203
8204         * lyxtext.h:
8205         * text.C:
8206         * text2.C: 3rd arg to nextBreakPoint was always the same.
8207           Use references.
8208
8209 2003-03-08  John Levon  <levon@movementarian.org>
8210
8211         * lyxrow.C:
8212         * paragraph.C:
8213         * paragraph.h:
8214         * rowpainter.C:
8215         * text.C:
8216         * text2.C: Remove the "main" bit from the "main body"
8217           notion.
8218
8219 2003-03-08  John Levon  <levon@movementarian.org>
8220
8221         * text.C (leftMargin): The left margin of an empty
8222         manual label paragraph should not include the label width
8223         string length.
8224
8225         * text.C (prepareToPrint): don't attempt to measure hfills
8226         for empty manual label paragraphs - the answer should be 0
8227
8228 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * CutAndPaste.C: remove commented code and reindent.
8231
8232 2003-03-08  John Levon  <levon@movementarian.org>
8233
8234         * lyxfunc.h:
8235         * lyxfunc.C: move reloadBuffer()
8236
8237         * BufferView.h:
8238         * BufferView.C: to here
8239
8240         * lyxvc.C: add comment
8241
8242         * vc-backend.h:
8243         * vc-backend.C: call bv->reload() to avoid
8244           getStatus() check on MENURELOAD
8245
8246 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8247
8248         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8249         to an old format .dep file.
8250
8251 2003-03-07  Angus Leeming  <leeming@lyx.org>
8252
8253         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8254         when the LFUN_MOUSE_RELEASE should have been handled by
8255         inset->localDispatch.
8256
8257 2003-03-07  Angus Leeming  <leeming@lyx.org>
8258
8259         * BufferView_pimpl.C (dispatch):
8260         * LyXAction.C (init):
8261         * ToolbarDefaults.C (init):
8262         * commandtags.h:
8263         * lyxfunc.C (getStatus):
8264         remove LFUN_INSET_GRAPHICS.
8265
8266         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8267
8268 2003-03-07  Angus Leeming  <leeming@lyx.org>
8269
8270         * commandtags.h:
8271         * LyXAction.C (init):
8272         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8273
8274         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8275
8276         * commandtags.h:
8277         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8278
8279         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8280         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8281
8282 2003-03-07  Angus Leeming  <leeming@lyx.org>
8283
8284         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8285         remove "ert".
8286
8287 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * ParagraphList.C (front): new function
8290         (back): implement
8291
8292 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8293
8294         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8295         and top_row_offset_. removed var first_y.
8296         * text.C (top_y):
8297         * text2.C (LyXText, removeRow):
8298         * text3.C:
8299         * BufferView_pimpl.C:
8300         use these methods instead of using first_y
8301
8302 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * text2.C (pasteSelection): adjust for checkPastePossible
8305
8306         * CutAndPaste.C: remove Paragraph * buf and replace with
8307         ParagraphList paragraphs.
8308         (DeleteBuffer): delete
8309         (cutSelection): change the tc type to textclass_type
8310         (copySelection): change the tc type to textclass_type
8311         (copySelection): adjust for ParagraphList
8312         (pasteSelection): change the tc type to textclass_type
8313         (pasteSelection): adjust for Paragraphlist
8314         (nrOfParagraphs): simplify for ParagraphList
8315         (checkPastePossible): simplify for ParagraphList
8316         (checkPastePossible): remove unused arg
8317
8318         * ParagraphList.C (insert): handle the case where there are no
8319         paragraphs yet.
8320
8321         * CutAndPaste.h: make CutAndPaste a namespace.
8322
8323         * text3.C (dispatch): adjust
8324
8325         * text.C (breakParagraph): add a ParagraphList as arg
8326
8327         * paragraph_funcs.C (breakParagraph): change to take a
8328         BufferParams and a ParagraphList as args.
8329         (breakParagraphConservative): ditto
8330         (mergeParagraph): ditto
8331         (TeXDeeper): add a ParagraphList arg
8332         (TeXEnvironment): ditto
8333         (TeXOnePar): ditto
8334
8335         * buffer.C (readLyXformat2): adjust
8336         (insertStringAsLines): adjust
8337         (latexParagraphs): adjust
8338
8339         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8340         (cutSelection): adjust
8341         (pasteSelection): adjust
8342
8343         * BufferView_pimpl.C (insertInset): adjust
8344
8345 2003-03-05  Angus Leeming  <leeming@lyx.org>
8346
8347         * commandtags.h:
8348         * LyXAction.C (init):
8349         * BufferView_pimpl.C (dispatch):
8350         * lyxfunc.C (getStatus):
8351         remove LFUN_CHILD_INSERT.
8352
8353         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8354
8355 2003-03-05  Angus Leeming  <leeming@lyx.org>
8356
8357         * commandtags.h:
8358         * LyXAction.C (init):
8359         * src/factory.C (createInset):
8360         * lyxfunc.C (getStatus):
8361         * text3.C (dispatch):
8362         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8363
8364         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8365
8366 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * ParagraphList.C (insert): handle insert right before end()
8369         (erase): fix cases where it can be first or last paragraph.
8370
8371 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8374         Paragraph::next and Paragraph::previous
8375         (TeXOnePar): ditto
8376
8377         * text.C (breakParagraph): adjust
8378
8379         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8380         BufferParams& as arg.
8381         (breakParagraph): use ParagraphList::insert
8382         (breakParagraphConservative): take a Buffer* instead of a
8383         BufferParams& as arg.
8384         (breakParagraphConservative): use ParagraphList::insert.
8385
8386         * buffer.C (insertStringAsLines): un-const it
8387         (insertStringAsLines): adjust
8388
8389         * ParagraphList.C (insert): new function
8390
8391         * CutAndPaste.C (pasteSelection): adjust
8392
8393         * text.C (backspace): adjust
8394
8395         * tabular.C (SetMultiColumn): adjust
8396
8397         * CutAndPaste.C (cutSelection): adjust
8398         (pasteSelection): adjust
8399
8400         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8401         Buffer const * as arg
8402
8403         * ParagraphList.C (erase): new function
8404         * paragraph_funcs.C (mergeParagraph): use it
8405         (mergeParagraph): make it take a Buffer* instead of a
8406         BufferParams* as arg
8407
8408         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8409         as arg
8410         (breakParagraphConservative): ditto
8411
8412         * paragraph.h: remove the breakParagraph friend
8413
8414         * paragraph.C (eraseIntern): new function
8415         (setChange): new function
8416
8417         * paragraph_funcs.C (mergeParagraph): make it take a
8418         ParagraphList::iterator instead of a Paragraph *, adjust
8419         accordingly.
8420
8421         * paragraph.h: move an #endif so that the change tracking stuff
8422         also works in the NO_NEXT case.
8423
8424 2003-03-04  Angus Leeming  <leeming@lyx.org>
8425
8426         * commandtags.h:
8427         * LyXAction.C: new LFUN_INSET_MODIFY.
8428
8429         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8430         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8431
8432 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * several files: ws changes only
8435
8436         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8437         (TeXEnvironment): ditto
8438         (TeXDeeper): ditto
8439
8440         * buffer.C (makeLaTeXFile): adjust
8441         (latexParagraphs): make it take ParagraphList::iterator as args
8442
8443 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * buffer.C (latexParagraphs): adjust
8446
8447         * paragraph.C (TeXOnePar): move function...
8448         (optArgInset): move function...
8449         (TeXEnvironment): move function...
8450         * paragraph_pimpl.C (TeXDeeper): move function...
8451         * paragraph_funcs.C: ...here
8452
8453         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8454
8455 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * buffer.C (readInset): remove compability code for old Figure and
8458         InsetInfo insets
8459
8460 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * buffer.C: ws changes
8463         (readInset):
8464
8465         * BufferView_pimpl.C: ditto
8466         * author.C: ditto
8467         * buffer.h: ditto
8468         * bufferlist.h: ditto
8469         * changes.h: ditto
8470         * lyxfunc.C: ditto
8471
8472 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8473
8474         * converter.[Ch]: split into itself +
8475         * graph.[Ch]
8476         * format.[Ch]
8477         * Makefile.am: += graph.[Ch] + format.[Ch]
8478         * MenuBackend.C
8479         * buffer.C
8480         * exporter.C
8481         * importer.C
8482         * lyx_main.C
8483         * lyxfunc.C
8484         * lyxrc.C: added #include "format.h"
8485
8486 2003-02-27  Angus Leeming  <leeming@lyx.org>
8487
8488         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8489           a label.
8490
8491         * factory.C (createInset): add "label" to the factory.
8492
8493         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8494           string and do no more.
8495
8496 2003-02-27  Angus Leeming  <leeming@lyx.org>
8497
8498         * commandtags.h:
8499         * LyXAction.C (init):
8500         * factory.C (createInset):
8501         * BufferView_pimpl.C (dispatch):
8502           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8503
8504         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8505
8506         * lyxfunc.C (dispatch):
8507         * text3.C (dispatch): pass name to params2string.
8508
8509 2003-02-26  Angus Leeming  <leeming@lyx.org>
8510
8511         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8512           blocks together.
8513           Rearrange the ~includes. Strip out the unnecessary ones.
8514
8515         * factory.C (createInset): reformat.
8516           create new insets for the various LFUN_XYZ_APPLY lfuns.
8517
8518 2003-02-26  John Levon  <levon@movementarian.org>
8519
8520         * lyxrow.h:
8521         * lyxrow.C: add isParStart,isParEnd helpers
8522
8523         * paragraph.h: make isInserted/DeletedText take refs
8524
8525         * paragraph_funcs.h:
8526         * paragraph_funcs.C: remove #if 0'd code
8527
8528         * lyxtext.h:
8529         * text3.C:
8530         * text2.C:
8531         * text.C: use lyxrow helpers above.
8532           Move draw and paint routines to RowPainter.
8533           Make several methods use refs not pointers.
8534           Make backgroundColor() const.
8535           Add markChangeInDraw(), isInInset().
8536           Merge changeRegionCase into changeCase.
8537           Make workWidth() shouldn't-happen code into an Assert.
8538
8539         * rowpainter.h:
8540         * rowpainter.C: new class for painting a row.
8541
8542         * vspace.h:
8543         * vspace.C: make inPixels take a ref
8544
8545 2003-02-26  Angus Leeming  <leeming@lyx.org>
8546
8547         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8548         LFUN_REF_APPLY.
8549
8550 2003-02-25  John Levon  <levon@movementarian.org>
8551
8552         * ispell.C: give the forked command a more accurate name
8553
8554 2003-02-22  John Levon  <levon@movementarian.org>
8555
8556         * toc.h:
8557         * toc.C: make TocItem store an id not a Paragraph *
8558           (bug #913)
8559
8560 2003-02-21  Angus Leeming  <leeming@lyx.org>
8561
8562         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8563           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8564           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8565           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8566           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8567           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8568
8569         * BufferView_pimpl.C (dispatch):
8570         * LyXAction.C (init):
8571         * factory.C (createInset):
8572         * lyxfunc.C (getStatus, dispatch):
8573         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8574
8575 2003-02-21  Angus Leeming  <leeming@lyx.org>
8576
8577         * BufferView_pimpl.C (MenuInsertLyXFile):
8578         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8579         * lyxfunc.C (menuNew, open, doImport):
8580           no longer pass a LyXView & to fileDlg.
8581
8582 2003-02-21  Angus Leeming  <leeming@lyx.org>
8583
8584         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8585         * LyXAction.C: change, BIBKEY to BIBITEM.
8586         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8587         Change InsetBibKey to InsetBibitem.
8588         Change BIBKEY_CODE to BIBITEM_CODE.
8589         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8590         * factory.C: replace insetbib.h with insetbibitem.h.
8591         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8592         * paragraph.C: replace insetbib.h with insetbibitem.h.
8593         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8594         Change bibkey() to bibitem().
8595         * text.C: remove insetbib.h.
8596         * text2.C: replace insetbib.h with insetbibitem.h.
8597         change bibkey() to bibitem().
8598         * text3.C: remove insetbib.h.
8599         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8600
8601 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * lyxrc.C (output): enclose user email in quotes (in case there are
8604         several words)
8605
8606 2003-02-18  John Levon  <levon@movementarian.org>
8607
8608         * buffer.h: add std::
8609
8610 2003-02-17  John Levon  <levon@movementarian.org>
8611
8612         * SpellBase.h:
8613         * ispell.h:
8614         * ispell.C:
8615         * pspell.h:
8616         * pspell.C: reworking. Especially in ispell, a large
8617           number of clean ups and bug fixes.
8618
8619         * lyxfunc.C: fix revert to behave sensibly
8620
8621 2003-02-17 André Pönitz <poenitz@gmx.net>
8622
8623         * LyXAction.C:
8624         * commandtags.h: new LFUN_INSERT_BIBKEY
8625
8626         * layout.h:
8627         * lyxlayout.C:
8628         * buffer.C:
8629         * factory.C:
8630         * text.C:
8631         * text2.C:
8632         * text3.C:
8633         * paragraph.[Ch]:
8634         * paragraph_func.C: remove special bibkey handling
8635
8636 2003-02-17  John Levon  <levon@movementarian.org>
8637
8638         * text.C (Delete): fix case where delete at the end of
8639           the very first paragraph would not merge the pars
8640
8641 2003-02-17  John Levon  <levon@movementarian.org>
8642
8643         * lyxrow.C: fix lastPrintablePos()
8644
8645 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8646
8647         * bufferparams.C (writeLaTeX): add a std:here
8648
8649         * buffer.C: and remove a using directive there
8650
8651 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8652
8653         * buffer.C (makeLaTeXFile): move the code that generates the
8654           preamble...
8655
8656         * bufferparams.C (writeLaTeX): ... in this new method
8657
8658         * LaTeXFeatures.C (getEncodingSet): make const
8659           (getLanguages): make const
8660
8661         * MenuBackend.C (binding): returns the binding associated to this
8662           action
8663           (add): sets the status of each item by calling getStatus. Adds
8664           some intelligence.
8665           (read): add support for OptSubMenu
8666           (expand): remove extra separator at the end of expanded menu
8667
8668 2003-02-15  John Levon  <levon@movementarian.org>
8669
8670         * BufferView.C:
8671         * BufferView_pimpl.C:
8672         * bufferlist.h:
8673         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8674           inset code that had no actual effect. Remove unneeded status
8675           code.
8676
8677 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8680           in preamble
8681
8682 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8683
8684         * text.C (drawLengthMarker): also draw an arrow marker for
8685           symbolic lengths (medskip...)
8686
8687 2003-02-14  John Levon  <levon@movementarian.org>
8688
8689         * tabular.h:
8690         * tabular.C: better method names
8691
8692 2003-02-14  John Levon  <levon@movementarian.org>
8693
8694         * BufferView_pimpl.C:
8695         * bufferlist.C:
8696         * buffer.C:
8697         * converter.C:
8698         * lyx_cb.C:
8699         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8700           it's a more accurate name. Remove some pointless uses.
8701
8702 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8703
8704         * text2.C (LyXText): change order of initilizers to shut off
8705           warnings
8706
8707 2003-02-14  John Levon  <levon@movementarian.org>
8708
8709         * buffer.C: use ParIterator for getParFromID()
8710
8711         * paragraph.h:
8712         * paragraph.C:
8713         * paragraph_pimpl.h:
8714         * paragraph_pimpl.C: remove unused getParFromID()
8715
8716 2003-02-14  John Levon  <levon@movementarian.org>
8717
8718         * buffer.C: remove some very old #if 0'd parse code
8719
8720 2003-02-13  John Levon  <levon@movementarian.org>
8721
8722         * text.h:
8723         * text.C:
8724         * text2.C: move hfillExpansion(), numberOfSeparators(),
8725           rowLast(), rowLastPrintable(), numberofHfills(),
8726           numberOfLabelHfills() ...
8727
8728         * lyxrow.h:
8729         * lyxrow.C: ... to member functions here.
8730
8731         * paragraph.h:
8732         * paragraph.C:
8733         * lyxtext.h:
8734         * text.C: remove LyXText::beginningOfMainBody(), and call
8735           p->beginningOfMainBody() directly. Move the check for
8736           LABEL_MANUAL into the latter.
8737
8738         * text.h:
8739         * text.C:
8740         * text2.C:
8741         * vspace.C:
8742         * BufferView.h:
8743         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8744
8745         * text.h:
8746         * text.C:
8747         * text2.C:
8748         * text3.C:
8749         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8750           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8751
8752 2003-02-13  John Levon  <levon@movementarian.org>
8753
8754         * CutAndPaste.C: remove debug
8755
8756 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * paragraph.C (asString): remove two unused variables
8759
8760         * lyxtextclass.C (readTitleType):
8761           (Read):
8762           (LyXTextClass): handle new members titletype_ and titlename_
8763
8764         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8765
8766 2003-02-09  John Levon  <levon@movementarian.org>
8767
8768         * buffer.h:
8769         * buffer.C: replace hand-coded list with a map for the dep clean
8770
8771 2003-02-08  John Levon  <levon@movementarian.org>
8772
8773         * LaTeX.C: consolidate code into showRunMessage() helper
8774
8775 2003-02-08  John Levon  <levon@movementarian.org>
8776
8777         * lyxfind.C:
8778         * lyxtext.h:
8779         * text2.C:
8780         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8781           and pass the size in explicitly
8782
8783         * BufferView_pimpl.h:
8784         * BufferView_pimpl.C:
8785         * BufferView.h:
8786         * BufferView.C: add getCurrentChange()
8787
8788         * BufferView_pimpl.h:
8789         * BufferView_pimpl.C: handle change lfuns
8790
8791         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8792           for changes. Mark pasted paragraphs as new.
8793
8794         * support/lyxtime.h:
8795         * support/lyxtime.C:
8796         * DepTable.C: abstract time_t as lyx::time_type
8797
8798         * LColor.h:
8799         * LColor.C: add colours for new text, deleted text, changebars
8800
8801         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8802           package use "usenames" option.
8803
8804         * commandtags.h:
8805         * lyxfunc.C:
8806         * LyXAction.C: add change lfuns
8807
8808         * Makefile.am:
8809         * author.h:
8810         * author.C: author handling
8811
8812         * buffer.h:
8813         * buffer.C: add a per-buffer author list, with first entry as
8814           current author. Handle new .lyx tokens for change tracking. Output
8815           author list to .lyx file. Output dvipost stuff to .tex preamble.
8816           Bump lyx format to 222.
8817
8818         * bufferlist.h:
8819         * bufferlist.C: add setCurrentAuthor() to reset current author details
8820           in all buffers.
8821
8822         * bufferparams.h:
8823         * bufferparams.C: add param for tracking
8824
8825         * bufferview_funcs.C: output change info in minibuffer
8826
8827         * Makefile.am:
8828         * changes.h:
8829         * changes.C: add change-tracking structure
8830
8831         * debug.h:
8832         * debug.C: add CHANGES debug flag
8833
8834         * lyxfind.h:
8835         * lyxfind.C: add code for finding the next change piece
8836
8837         * lyxrc.h:
8838         * lyxrc.C: add user_name and user_email
8839
8840         * lyxrow.h:
8841         * lyxrow.C: add a metric for the top of the text line
8842
8843         * lyxtext.h:
8844         * text.C: implement accept/rejectChange()
8845
8846         * lyxtext.h:
8847         * text.C: paint changebars. Paint new/deleted text in the chosen
8848         colours. Strike through deleted text.
8849
8850         * paragraph.h:
8851         * paragraph.C:
8852         * paragraph_pimpl.h:
8853         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8854           in the current change to the insert functions. Rework erase to
8855           mark text as deleted, adding an eraseIntern() and a range-based
8856           erase(). Implement per-paragraph change lookup and
8857           accept/reject.
8858
8859         * paragraph_funcs.C: Fixup paste for change tracking.
8860
8861         * tabular.C: mark added row/columns as new.
8862
8863         * text.C: fix rowLast() to never return -1. Don't allow
8864           spellchecking of deleted text. Track transpose changes. Don't
8865           allow paragraph break or merge where appropriate.
8866
8867         * text2.C: leave cursor at end of selection after a cut.
8868
8869 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * text.C (getLengthMarkerHeight):
8872         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8873         visible on screen too.
8874
8875 2003-02-07  John Levon  <levon@movementarian.org>
8876
8877         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8878
8879 2003-02-05  Angus Leeming  <leeming@lyx.org>
8880
8881         * lyxserver.C (read_ready): revert my patch of 11 September last year
8882         as it sends PC cpu through the roof. Presumably this means that
8883         the lyxserver will no longer run on an Alpha...
8884
8885 2003-01-30  Angus Leeming  <leeming@lyx.org>
8886
8887         * factory.C (createInset): create an InsetCommandParam of type "index"
8888         and use it to 'do the right thing'.
8889
8890         * text2.C (getStringToIndex): ensure that cursor position is always
8891         reset to the reset_cursor position.
8892
8893 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8894
8895         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8896         disabled.
8897
8898 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8899
8900         * bufferview.C:
8901         * lyxcb.C:
8902         * lyxfunc.C: Output messages with identical spelling, punctuation,
8903         and spaces
8904
8905 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8906
8907         * MenuBackend.C (expandFormats): List only viewable export formats
8908         in "View" menu
8909
8910         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8911         message
8912
8913         * lyxfunc.C (getStatus): Make sure that formats other than
8914         "fax" can also be disabled
8915
8916 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8917
8918         * text3.C (dispatch): put the lfuns that insert insets in 3
8919         groups, and call doInsertInset with appropriate arguments.
8920         (doInsertInset): new function, that creates an inset and inserts
8921         it according to some boolean parameters.
8922
8923 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * buffer.C (readFile): remember to pass on 'par' when calling
8926         readFile recursively.
8927
8928 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8929
8930         * MenuBackend.C (expandFormats): add "..." to import formats.
8931
8932 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8933
8934         * paragraph.C (asString): Remove XForms RTL hacks.
8935
8936 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8937         * buffer.C: fix typo
8938
8939 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * Makefile.am (LIBS): delete var
8942         (lyx_LDADD): add @LIBS@ here instead.
8943
8944 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8945
8946         * Clarify the meaning of "wheel mouse jump"
8947
8948 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8949
8950         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8951         tabular in a float
8952
8953 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8954
8955         * importer.C (Loaders): do not preallocate 3 elements in the
8956         vector, since one ends up with 6 elements otherwise
8957
8958 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8959
8960         * DepTable.C (write): write the file name as last element of the
8961         .dep file (because it may contain spaces)
8962         (read): read info in the right order
8963
8964 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8965
8966         * paragraph_pimpl.C (simpleTeXBlanks):
8967         (simpleTeXSpecialChars):
8968         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8969
8970         * tabular.C (latex): add some missing case statements. Reindent.
8971
8972         * MenuBackend.C (expandToc): remove unused variable.
8973
8974 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8975
8976         * LColor.C:
8977         * LaTeX.C:
8978         * LyXAction.C:
8979         * MenuBackend.C:
8980         * buffer.C:
8981         * exporter.C:
8982         * lyxfunc.C:
8983         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8984         and the like.
8985
8986 2003-01-05  John Levon  <levon@movementarian.org>
8987
8988         * BufferView.h:
8989         * BufferView.C: add getEncoding()
8990
8991         * kbsequence.h:
8992         * kbsequence.C: do not store last keypress
8993
8994         * lyxfunc.h:
8995         * lyxfunc.C: store last keypress here instead. Pass encoding
8996           to getISOEncoded()
8997
8998 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8999
9000         * lyx_main.C (init): remove annoying error message when following
9001         symbolic links (bug #780)
9002
9003 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9004
9005         * text.C (insertChar):
9006         * lyxrc.C (getDescription): remove extra spaces
9007
9008 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9009
9010         * lyxrc.C (getDescription): remove extra spaces
9011
9012 2002-12-20  John Levon  <levon@movementarian.org>
9013
9014         * text3.C: hack fix for page up/down across tall rows
9015
9016 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9017
9018         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9019         not been invoked
9020
9021 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9022
9023         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9024         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9025         thesaurus is not compiled in
9026
9027 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9028
9029         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9030
9031 2002-12-16  Angus Leeming  <leeming@lyx.org>
9032
9033         * lyxrc.[Ch]:
9034         * lyx_main.C (init): remove override_x_deadkeys stuff.
9035
9036 2002-12-12  John Levon  <levon@movementarian.org>
9037
9038         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9039           insert. Only remove shift modifier under strict
9040           circumstances.
9041
9042 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * MenuBackend.C (expandToc): fix crash.
9045
9046 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9047
9048         * MenuBackend.C (expandToc): gettext on float names.
9049
9050 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9051
9052         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9053         implement bool empty() [bug 490]
9054
9055 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9056
9057         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9058
9059 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9060
9061         * several files: ws changes
9062
9063 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9064
9065         * text2.C (setCounter): clean up a bit, use boost.format.
9066         (updateCounters): initialize par upon declaration.
9067
9068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9069         if the layout exists. We do not just store the layout any more.
9070         (SwitchLayoutsBetweenClasses): use boost.format
9071
9072 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9073
9074         * converter.C (convert): if from and to files are the same, use a
9075         temporary files as intermediary
9076
9077 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9078
9079         * commandtags.h:
9080         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9081
9082 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9083
9084         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9085
9086 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * tabular.C (asciiPrintCell): use string(size, char) instead of
9089         explicit loop.
9090
9091         * sgml.C (openTag): fix order of arguments to string constructor
9092         (closeTag): ditto
9093
9094         * lyxfunc.C (dispatch): use boost.format
9095
9096         * lots of files: change "c" -> 'c'
9097
9098 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9099
9100         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9101
9102 2002-11-25  Angus Leeming  <leeming@lyx.org>
9103
9104         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9105
9106         * lyx_main.C (init): compile fix.
9107
9108 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9109
9110         * lyx_cb.C (start): boost.formatify
9111         do not include <iostream>
9112
9113         * lengthcommon.C: ws only
9114
9115         * boost-inst.C,BoostFormat.h: add more explict instantations
9116
9117 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * lots of files: handle USE_BOOST_FORMAT
9120
9121 2002-11-21  John Levon  <levon@movementarian.org>
9122
9123         * pspell.C: fix compile
9124
9125 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9126
9127         * lyxfunc.C (dispatch): use boost::format
9128         (open): ditto
9129         (doImport): ditto
9130
9131         * lyxfont.C (stateText): use boost::format
9132
9133         * lyx_main.C (LyX): use boost::format
9134         (init): ditto
9135         (queryUserLyXDir): ditto
9136         (readRcFile): ditto
9137         (parse_dbg): ditto
9138         (typedef boost::function): use the recommened syntax.
9139
9140         * importer.C (Import): use boost::format
9141
9142         * debug.C (showLevel): use boost::format
9143
9144         * converter.C (view): use boost::format
9145         (convert): ditto
9146         (move): ditto
9147         (scanLog): ditto
9148
9149         * bufferview_funcs.C (currentState): use boost::format
9150
9151         * bufferlist.C (emergencyWrite): use boost::format
9152
9153         * buffer.C (readLyXformat2): use boost::format
9154         (parseSingleLyXformat2Token): ditto
9155
9156         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9157
9158         * LaTeX.C (run): use boost::format
9159
9160         * Chktex.C (scanLogFile): use boost::format
9161
9162         * BufferView_pimpl.C (savePosition): use boost::format
9163         (restorePosition): ditto
9164         (MenuInsertLyXFile): ditto
9165
9166         * BoostFormat.h: help file for explicit instation.
9167
9168 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9169
9170         * tabular.C (latex): Support for block alignment in fixed width
9171         columns.
9172
9173 2002-11-17  John Levon  <levon@movementarian.org>
9174
9175         * BufferView_pimpl.C:
9176         * lyx_cb.C:
9177         * lyxfunc.C: split filedialog into open/save
9178
9179 2002-11-08  Juergen Vigna  <jug@sad.it>
9180
9181         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9182         by my last patch (hopefully).
9183
9184 2002-11-08  John Levon  <levon@movementarian.org>
9185
9186         * iterators.h:
9187         * iterators.C:
9188         * buffer.h:
9189         * buffer.C:
9190         * paragraph.h:
9191         * paragraph.C:
9192         * toc.h:
9193         * toc.C: ParConstIterator, and use it (from Lars)
9194
9195 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9196
9197         * lyxtextclass.[Ch]: revise and add doxygen comments
9198
9199 2002-11-07  John Levon  <levon@movementarian.org>
9200
9201         * text.C: fix progress value for spellchecker
9202
9203         * toc.C: fix navigate menu for insetwrap inside minipage
9204
9205         * paragraph_funcs.C: added FIXME for suspect code
9206
9207 2002-11-07  John Levon  <levon@movementarian.org>
9208
9209         * BufferView_pimpl.C: fix redrawing of insets
9210           on buffer switch
9211
9212 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9213
9214         * text2.C (updateCounters): fix bug 668
9215
9216 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9217
9218         * text3.C (dispatch): Do not make the buffer dirty when moving the
9219         cursor.
9220
9221 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9222
9223         * vc-backend.C: STRCONV
9224         (scanMaster): ditto
9225
9226         * text2.C (setCounter): STRCONV
9227
9228         * paragraph.C (asString): STRCONV
9229
9230         * lyxlength.C (asString): STRCONV
9231         (asLatexString): ditto
9232
9233         * lyxgluelength.C (asString): STRCONV
9234         (asLatexString): ditto
9235
9236         * lyxfunc.C (dispatch): STRCONV
9237         (open): ditto
9238
9239         * lyxfont.C (stateText): STRCONV
9240
9241         * importer.C (Import): STRCONV
9242
9243         * counters.C (labelItem): STRCONV
9244         (numberLabel): ditto
9245         (numberLabel): remove unused ostringstream o
9246
9247         * chset.C: STRCONV
9248         (loadFile): ditto
9249
9250         * bufferview_funcs.C (currentState): STRCONV
9251
9252         * buffer.C (readFile): STRCONV
9253         (asciiParagraph): ditto
9254         (makeLaTeXFile): ditto
9255
9256         * Spacing.C (writeEnvirBegin): STRCONV
9257
9258         * LaTeXFeatures.C (getLanguages): STRCONV
9259         (getPackages): ditto
9260         (getMacros): ditto
9261         (getBabelOptions): ditto
9262         (getTClassPreamble): ditto
9263         (getLyXSGMLEntities): ditto
9264         (getIncludedFiles): ditto
9265
9266         * LaTeX.C: STRCONV
9267         (run): ditto
9268         (scanAuxFile): ditto
9269         (deplog): ditto
9270
9271         * LString.h: add the STRCONV macros
9272
9273         * BufferView_pimpl.C (savePosition): STRCONV
9274         (restorePosition): ditto
9275         (MenuInsertLyXFile): ditto
9276
9277         * vc-backend.C (scanMaster): change from submatch[...] to
9278         submatch.str(...)
9279
9280         * funcrequest.C: include config.h
9281
9282         * factory.C: include config.h
9283
9284         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9285
9286         * box.C: include config.h
9287
9288         * LaTeX.C (scanAuxFile): change from submatch[...] to
9289         submatch.str(...)
9290         (deplog): ditto
9291
9292 2002-10-25  Angus Leeming  <leeming@lyx.org>
9293
9294         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9295
9296         * ispell.[Ch] (setError): new method.
9297         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9298         Use setError() insetead of goto END.
9299
9300         * lyx_cb.C (AutoSave): move out child process into new class
9301         AutoSaveBuffer.
9302
9303 2002-10-30  John Levon  <levon@movementarian.org>
9304
9305         * text3.C: make start appendix undoable
9306
9307 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9308
9309         * lyxlength.C (inPixels): Fix returned value.
9310
9311         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9312         environment.
9313
9314 2002-10-24  Angus Leeming  <leeming@lyx.org>
9315
9316         * lyxgluelength.h: no need to forward declare BufferParams
9317         or BufferView, so don't.
9318
9319 2002-10-21  John Levon  <levon@movementarian.org>
9320
9321         * BufferView.C: menuUndo ->undo, redo
9322
9323         * BufferView.h: document, remove dead, make some methods private
9324
9325         * paragraph_funcs.h:
9326         * paragraph_funcs.C:
9327         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9328
9329         * buffer.h:
9330         * buffer.C:
9331         * sgml.h:
9332         * sgml.C: move sgml open/close tag into sgml.C
9333
9334         * bufferview_funcs.h: unused prototype
9335
9336         * lyxfunc.h:
9337         * lyxfunc.C: remove unused
9338
9339         * lyxtext.h:
9340         * text.C: remove unused
9341
9342 2002-10-21  John Levon  <levon@movementarian.org>
9343
9344         * BufferView.h:
9345         * BufferView.C:
9346         * BufferView_pimpl.h:
9347         * BufferView_pimpl.C: fix mouse wheel handling based on
9348           patch from Darren Freeman
9349
9350 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9351
9352         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9353
9354 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9355
9356         * lyxlength.C (inPixels): Fix hanfling of negative length.
9357         Fix LyXLength::MU case.
9358
9359 2002-10-16  John Levon  <levon@movementarian.org>
9360
9361         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9362
9363 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9364
9365         * converter.C (view): add support for $$i (file name) and $$p
9366         (file path) for the viewer command. If $$i is not specified, then
9367         it is appended to the command (for compatibility with old syntax)
9368
9369 2002-10-14  Juergen Vigna  <jug@sad.it>
9370
9371         * undo_funcs.C (textHandleUndo): alter the order in which the
9372         new undopar is added to the LyXText, as we have to set first
9373         the right prev/next and then add it as otherwise the rebuild of
9374         LyXText is not correct. Also reset the cursor to the right paragraph,
9375         with this IMO we could remove the hack in "redoParagraphs()".
9376
9377 2002-10-09  Angus Leeming  <leeming@lyx.org>
9378
9379         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9380         to turn off an optimisation if a new inset is to be inserted.
9381
9382 2002-10-11 André Pönitz <poenitz@gmx.net>
9383
9384         * lyxtext.h: make some functions public to allow access
9385         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9386
9387 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9388
9389         * text3.C (dispatch): when changing layout, avoid an infinite loop
9390         [bug #652]
9391
9392 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9393
9394         * lyxrc.C (read): treat a viewer or converter command of "none" as
9395         if it were empty.
9396
9397         * MenuBackend.C (expandFormats): for an update, also allow the
9398         formats that are not viewable
9399
9400         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9401         script if it is newer than the lyxrc.defaults in user directory
9402
9403 2002-10-07 André Pönitz <poenitz@gmx.net>
9404
9405         * text.C: Vitaly Lipatov's small i18n fix
9406
9407 2002-09-25  Angus Leeming  <leeming@lyx.org>
9408
9409         * ispell.h: doxygen fix.
9410
9411 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9412
9413         * buffer.h (readFile): Add a new argument to the method, to allow
9414         reading of old-format templates.
9415
9416 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9417
9418         * toc.C (getTocList): Get TOC from InsetWrap.
9419
9420 2002-09-16  John Levon  <levon@movementarian.org>
9421
9422         * lyxfunc.C: check tabular for cut/copy too
9423
9424 2002-09-12  John Levon  <levon@movementarian.org>
9425
9426         * LyXAction.C: tidy
9427
9428         * factory.h:
9429         * factory.C: add header
9430
9431         * paragraph_funcs.h:
9432         * paragraph_funcs.C: cleanup
9433
9434 2002-09-11  John Levon  <levon@movementarian.org>
9435
9436         * PrinterParams.h: odd/even default to true
9437
9438 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9439
9440         * PrinterParams.h: update printer parameters for new xforms dialog
9441
9442 2002-09-11  Angus Leeming  <leeming@lyx.org>
9443
9444         * lyxserver.C (read_ready): re-write to make it more transparent
9445         and to make it work in coherent fashion under Tru64 Unix.
9446
9447 2002-09-11  André Pönitz <poenitz@gmx.net>
9448
9449         * commandtags.h:
9450         * LyXAction.C:
9451         * text3.C: implement LFUN_WORDSEL
9452
9453 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9454
9455         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9456         make floatlist_ a boost::shared_ptr<FloatList>
9457
9458         * lyxtextclass.C: include FloatList.h
9459         (LyXTextClass): initialize floatlist_
9460         (TextClassTags): add TC_NOFLOAT
9461         (Read): match "nofloat" to TC_NOFLOAT and use it.
9462         (readFloat): modify call to floatlist_
9463         (floats): ditto
9464         (floats): ditto
9465
9466         * FloatList.[Ch] (FloatList): remove commented out float
9467         initialization.
9468         (erase): new function
9469
9470 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9471
9472         * MenuBackend.C (expandToc): fix crash when there is no document
9473         open
9474
9475 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9476
9477         * many files: Add insetwrap.
9478
9479 2002-09-09  John Levon  <levon@movementarian.org>
9480
9481         * text2.C: remove confusing and awkward depth wraparound
9482
9483 2002-09-09  John Levon  <levon@movementarian.org>
9484
9485         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9486
9487         * buffer.h:
9488         * buffer.C: remove getIncludeonlyList()
9489
9490         * paragraph.C:
9491         * lyxfunc.C: remove headers
9492
9493 2002-09-09  Juergen Vigna  <jug@sad.it>
9494
9495         * text.C (getColumnNearX): fix form Michael this is most
9496         probably a cut&paste bug.
9497
9498 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9501
9502         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9503         references, ws changes.
9504
9505         * text2.C (init): update counters after init
9506         (insertParagraph): no need to set counter on idividual paragraphs.
9507         (setCounter): access the counters object in the textclass object
9508         on in the buffer object.
9509         (updateCounters): ditto
9510
9511         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9512         shared_ptr<Counters> to avoid loading counters.h in all
9513         compilation units.
9514         (LyXTextClass): initialize ctrs_
9515         (TextClassTags): add TC_COUNTER, and ...
9516         (Read): use it here.
9517         (CounterTags): new tags
9518         (readCounter): new function
9519         (counters): new funtion
9520         (defaultLayoutName): return a const reference
9521
9522         * counters.C (Counters): remove contructor
9523         (newCounter): remove a couple of unneeded statements.
9524         (newCounter): simplify a bit.
9525         (numberLabel): some small formatting changes.
9526
9527         * buffer.[Ch]: remove all traces of counters, move the Counters
9528         object to the LyXTextClass.
9529
9530 2002-09-06  Alain Castera  <castera@in2p3.fr>
9531
9532         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9533         package to set the horizontal alignment on fixed width columns.
9534
9535         * lyx_sty.C:
9536         * lyx_sty.h: added tabularnewline macro def.
9537
9538         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9539
9540 2002-09-06  John Levon  <levon@movementarian.org>
9541
9542         * LyXAction.C: tooltips for sub/superscript
9543
9544         * MenuBackend.C: a bit more verbose
9545
9546         * lyxfunc.C: tiny clean
9547
9548         * undo_funcs.C: document undo_frozen
9549
9550 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9551
9552         * counters.C (Counters): add missing algorithm counter.
9553
9554         * text2.C (setCounter): lookup the counter with layouts latexname
9555         instead of by section number.
9556         (setCounter): use a hackish way to lookup the correct enum
9557         counter.
9558         a float name->type change
9559         reset enum couners with counter name directly instead of depth value.
9560
9561         * counters.C (Counters): remove the push_backs, change to use the
9562         float type not the float name.
9563         (labelItem): remove unused string, float name->type change
9564
9565         * counters.h: don't include vector, loose the enums and sects vectors
9566
9567 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9568
9569         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9570         (Read): add float->TC_FLOAT to textclassTags
9571         (Read): and handle it in the switch
9572         (readFloat): new function
9573
9574         * FloatList.C (FloatList): comment out the hardcoded float
9575         definitions.
9576
9577         * lyxlayout.h: ws change.
9578
9579 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9580
9581         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9582
9583 2002-09-03  Angus Leeming  <leeming@lyx.org>
9584
9585         * BufferView_pimpl.h: qualified name is not allowed in member
9586         declaration: WorkArea & Pimpl::workarea() const;
9587
9588         * factory.C: added using std::endl directive.
9589
9590         * text3.C: added using std::find and std::vector directives.
9591
9592 2002-08-29  André Pönitz <poenitz@gmx.net>
9593
9594         * lyxtext.h:
9595         * text2.C: remove unused member number_of_rows
9596
9597         * Makefile.am:
9598         * BufferView2.C: remove file, move contents to...
9599         * BufferView.C: ... here
9600
9601         * BufferView_pimpl.C:
9602         * factory.C: move more inset creation to factory
9603
9604         * vspace.C: avoid direct usage of LyXText, ws changes
9605
9606         * BufferView.[Ch]:
9607                 don't provide direct access to WorkArea, use two simple
9608                 acessors haveSelction() and workHeight() instead
9609
9610
9611 2002-08-29  John Levon  <levon@movementarian.org>
9612
9613         * BufferView_pimpl.C (dispatch): do not continue when
9614           no buffer
9615
9616 2002-08-28  André Pönitz <poenitz@gmx.net>
9617
9618         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9619
9620         * BufferView.h:
9621         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9622
9623 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9624
9625         * buffer.C: increment LYX_FORMAT to 221
9626
9627         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9628         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9629
9630         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9631
9632         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9633
9634 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * factory.C (createInset): use LyXTextClass::floats
9637
9638         * MenuBackend.C (expandFloatListInsert):
9639         (expandFloatInsert):
9640         (expandToc):
9641
9642         * text2.C (setCounter):
9643
9644         * LaTeXFeatures.C (useFloat):
9645         (getFloatDefinitions):
9646
9647         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9648
9649         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9650         floatlist_, with accessor floats().
9651
9652         * FloatList.h: remove global FloatList
9653
9654 2002-08-26  André Pönitz <poenitz@gmx.net>
9655
9656         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9657
9658         * BufferView.h:
9659         * BufferView2.C:
9660         * BufferView_pimpl.C:
9661         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9662
9663 2002-08-25  John Levon  <levon@movementarian.org>
9664
9665         * LyXAction.C: fix margin note description
9666
9667 2002-08-24  John Levon  <levon@movementarian.org>
9668
9669         * buffer.C:
9670         * bufferlist.C:
9671         * bufferview_funcs.C:
9672         * lyxfont.C:
9673         * undo_funcs.C: cleanups
9674
9675         * lyxfunc.C: disable CUT/COPY when no selection
9676
9677 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9678
9679         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9680         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9681
9682         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9683         Add backward compatibility to "mono", "gray" and "no".
9684
9685 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9688         (and file_format >= 200).
9689
9690 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9693
9694 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9697
9698 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9699
9700         * BufferView_pimpl.C:
9701         * LyXAction.C:
9702         * buffer.C:
9703         * commandtags.h:
9704         * lyxfunc.C:
9705         * paragraph.[Ch]:
9706         * text2.C:
9707         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9708         inset and code to make it  work with the paragraph code. The inset
9709         can be anywhere in the paragraph, but will only do the expected
9710         thing in LaTeX if the layout file contains the parameter line
9711                         OptionalArgs    1
9712         (or more generally, a nonzero value) for that layout.
9713
9714 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9715
9716         * paragraph.h: remove the declaration of undefined counters class
9717         function.
9718
9719 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9720
9721         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9722         Dr. Richard Hawkins.
9723
9724 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * paragraph_funcs.h: remove some unneeded includes
9727
9728         * text.C (backspace): pasteParagraph now in global scipe
9729
9730         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9731         (pasteSelection): ditto
9732
9733         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9734         * paragraph_funcs.C (pasteParagraph): ... here
9735
9736 2002-08-20  André Pönitz <poenitz@gmx.net>
9737
9738         * commandtags.h: new LFUNs for swapping/copying table row/colums
9739
9740         * LyXAction.C:
9741         * lyxfunc.C: support for new lfuns
9742
9743 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9744
9745         * tabular.C:
9746         * buffer.[Ch]: remove NO_COMPABILITY stuff
9747
9748 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9749
9750         * boost.C (throw_exception): new file, with helper function for
9751         boost compiled without exceptions.
9752
9753         * paragraph.h:
9754         * lyxlength.C:
9755         * buffer.C:
9756         * ParameterStruct.h:
9757         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9758
9759         * bufferlist.C (emergencyWriteAll): use boost bind
9760
9761         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9762
9763         * text.C: include paragraph_funcs.h
9764         (breakParagraph): breakParagraph is now in global scope
9765
9766         * paragraph_funcs.[Ch]: new files
9767
9768         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9769         global scope
9770
9771         * buffer.C: include paragraph_funcs.h
9772         (insertStringAsLines): breakParagraph is now in global scope
9773
9774         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9775         paragraph_funcs.C
9776
9777         * CutAndPaste.C: include paragraph_funcs.h
9778         (cutSelection): breakParagraphConservative is now in global scope
9779         (pasteSelection): ditto
9780
9781         * buffer.h: declare oprator== and operator!= for
9782         Buffer::inset_iterator
9783
9784         * bufferlist.C (emergencyWrite): don't use fmt(...)
9785
9786         * text3.C: add using std::endl
9787
9788         * BufferView.C (moveCursorUpdate): remove default arg
9789
9790 2002-08-20  André Pönitz <poenitz@gmx.net>
9791
9792         * buffer.[Ch]: move inline functions to .C
9793
9794         * BufferView2.C:
9795         * BufferView_pimpl.C:
9796         * text.C:
9797         * buffer.[Ch]: use improved inset_iterator
9798
9799         * buffer.C:
9800         * paragraph.[Ch]: write one paragraph at a time
9801
9802 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9803
9804         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9805         style if style is not specified.
9806
9807 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * text2.C (setCounter): when searching for right label for a
9810         caption, make sure to recurse to parent insets (so that a caption
9811         in a minipage in a figure float works) (bug #568)
9812
9813 2002-08-20  André Pönitz <poenitz@gmx.net>
9814
9815         * text3.C: new file for LyXText::dispatch() and helpers
9816
9817         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9818
9819         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9820
9821 2002-08-19  André Pönitz <poenitz@gmx.net>
9822
9823         * lyxtext.h:
9824         * text.C: new LyXText::dispatch()
9825
9826         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9827
9828 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9829
9830         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9831
9832         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9833         Hebrew text.
9834
9835 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * Makefile.am: use $(variables) instead of @substitutions@
9838
9839 2002-08-15  André Pönitz <poenitz@gmx.net>
9840
9841         * lyxfunc.C:
9842         * BufferView_pimpl.C: streamlining mathed <-> outer world
9843         interaction
9844
9845         * commandtags.h:
9846         * LyXAction.C: remove unused LFUN_MATH
9847
9848 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9849
9850         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9851
9852 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9853
9854         * paragraph.C (Paragraph): reformat a bit
9855         (cutIntoMinibuffer): use builtin InsetList function instad of
9856         doing it manually.
9857         (getInset): ditto
9858
9859         * buffer.C: include boost/bind.hpp, add using std::for_each
9860         (writeFileAscii): use ParagraphList iterators
9861         (validate): use for_each for validate traversal of paragraphs
9862         (getBibkeyList): use ParagraphList iterators
9863         (resizeInsets): use for_each to resizeInsetsLyXText for all
9864         paragraphs.
9865         (getParFromID): use ParagraphList iterators
9866
9867         * BufferView2.C (lockInset): use paragraph list and iterators
9868
9869 2002-08-14  John Levon  <levon@movementarian.org>
9870
9871         * lyxserver.C: remove spurious xforms include
9872
9873 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9876
9877 2002-08-13  André Pönitz <poenitz@gmx.net>
9878
9879         * LyXAction.[Ch]:
9880         * lyxfunc.C: further cleaning
9881
9882 2002-08-13  André Pönitz <poenitz@gmx.net>
9883
9884         * funcrequest.h: new constructor
9885
9886         * funcrequest.C: move stuff here from .h
9887
9888         * Makefile.am:
9889         * BufferView_pimpl.C:
9890         * LyXAction.C:
9891         * toc.C:
9892         * lyxfunc.C: subsequent changes
9893
9894         * lyxfunc.h: new view() member function
9895
9896         * lyxfunc.C: subsequent changes
9897
9898 2002-08-13  Angus Leeming  <leeming@lyx.org>
9899
9900         * BufferView2.C:
9901         * BufferView_pimpl.C:
9902         * buffer.C:
9903         * converter.C:
9904         * importer.C:
9905         * lyxfunc.C:
9906         * lyxvc.C:
9907         * toc.C:
9908         * vc-backend.C:
9909         changes due to the changed LyXView interface that now returns references
9910         to member variables not pointers.
9911
9912 2002-08-13  Angus Leeming  <leeming@lyx.org>
9913
9914         * WordLangTuple (word, lang_code): return references to strings,
9915         not strings.
9916
9917         * BufferView.h:
9918         * SpellBase.h:
9919         * lyxtext.h: forward-declare WordLangTuple.
9920
9921         * BufferView2.C:
9922         * ispell.C:
9923         * pspell.C:
9924         * text.C: #include "WordLangTuple.h".
9925
9926         * lyxtext.h:
9927         * text.C: (selectNextWordToSpellcheck): constify return type.
9928
9929 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9930
9931         * buffer.C:
9932         * buffer.h:
9933         * lyxtext.h:
9934         * paragraph.C:
9935         * paragraph_pimpl.h:
9936         * text.C:
9937         * text2.C:
9938         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9939         suggested by Angus.
9940         Made updateCounter always count from start of buffer, and removed
9941         second argument (par).
9942         Reverted floats number display to '#'. Perhaps I'll try again when the
9943         code base is sanitized a bit.
9944
9945 2002-08-12  Angus Leeming  <leeming@lyx.org>
9946
9947         * buffer.[Ch] (getLabelList): constify.
9948
9949 2002-08-07  André Pönitz <poenitz@gmx.net>
9950
9951         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9952
9953         * funcrequest.h: extension to keep mouse (x,y) position
9954
9955 2002-08-12  Juergen Vigna  <jug@sad.it>
9956
9957         * BufferView2.C (insertErrors): forbid undo when inserting error
9958         insets.
9959
9960         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9961
9962 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9963
9964         * ParagraphList.[Ch]: new files
9965
9966         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9967
9968         * BufferView2.C (lockInset): ParagraphList changes
9969         * toc.C: ditto
9970         * text2.C: ditto
9971         * bufferlist.C: ditto
9972         * buffer.h: ditto
9973         * buffer.C: ditto
9974
9975 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9976
9977         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9978         unused class variable counter_,
9979
9980         * paragraph.[Ch] (getFirstCounter): delete unused function
9981
9982         * counters.C: include LAssert.h
9983         (reset): add a new function with no arg, change other version to
9984         not have def. arg and to not allow empty arg.
9985
9986         * text2.C (setCounter): remove empty arg from call to Counters::reset
9987
9988 2002-08-11  John Levon  <levon@movementarian.org>
9989
9990         * Makefile.am: add WordLangTuple.h
9991
9992 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9993
9994         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9995         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9996
9997         * insets/insettext.C: InsetList changes
9998
9999         * graphics/GraphicsSupport.C (operator()): InsetList changes
10000
10001         * toc.C (getTocList): InsetList changes
10002
10003         * paragraph_pimpl.[Ch]: InsetList changes
10004
10005         * paragraph.[Ch]: InsetList changes
10006
10007         * buffer.C (inset_iterator): InsetList changes
10008         (setParagraph): ditto
10009         * buffer.h (inset_iterator): ditto
10010         * iterators.C (operator++): ditto
10011         * iterators.h: ditto
10012
10013         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10014
10015         * InsetList.[Ch]: new files, most InsetList handling moved out of
10016         paragraph.C.
10017
10018         * BufferView2.C (removeAutoInsets): InsetList changes
10019         (lockInset): ditto
10020         (ChangeInsets): ditto
10021
10022 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * paragraph_pimpl.h (empty): new function
10025
10026         * paragraph.[Ch] (empty): new function
10027
10028         * other files: use the new Paragraph::empty function
10029
10030 2002-08-09  John Levon  <levon@movementarian.org>
10031
10032         * lyxtext.h: remove unused refresh_height
10033
10034 2002-08-09  John Levon  <levon@movementarian.org>
10035
10036         * Makefile.am:
10037         * sgml.h:
10038         * sgml.C:
10039         * buffer.C:
10040         * paragraph.h:
10041         * paragraph.C: move sgml char escaping out of paragraph
10042
10043         * paragraph.h:
10044         * paragraph.C: remove id setter
10045
10046         * buffer.C:
10047         * paragraph.C:
10048         * paragraph_pimpl.C: remove dead tex_code_break_column
10049
10050         * bufferview_funcs.C: small cleanup
10051
10052         * lyxfunc.C: remove dead proto
10053
10054         * lyxtext.h: make some stuff private. Remove some dead stuff.
10055
10056         * lyxgluelength.C: make as[LyX]String() readable
10057
10058 2002-08-08  John Levon  <levon@movementarian.org>
10059
10060         * LyXAction.h:
10061         * LyXAction.C:
10062         * MenuBackend.C:
10063         * ToolbarDefaults.C:
10064         * lyxfunc.C:
10065         * lyxrc.C:
10066         * toc.C: lyxaction cleanup
10067
10068 2002-08-08  John Levon  <levon@movementarian.org>
10069
10070         * BufferView2.C: small cleanup
10071
10072         * lyxfind.h:
10073         * lyxfind.C: move unnecessary header into the .C
10074
10075 2002-08-08  John Levon  <levon@movementarian.org>
10076
10077         * funcrequest.h: just tedious nonsense
10078
10079         * lyx_main.h:
10080         * lyx_main.C: cleanups
10081
10082         * buffer.C:
10083         * vspace.C: remove dead header lyx_main.h
10084
10085 2002-08-07  Angus Leeming  <leeming@lyx.org>
10086
10087         * Paragraph.[Ch]:
10088         * paragraph_pimpl.h:
10089         Forward declare class Counters in paragraph.h by moving the ctrs member
10090         variable into Paragraph::Pimpl.
10091         (counters): new method, returning a reference to pimpl_->ctrs.
10092
10093         * text2.C: ensuing changes.
10094
10095 2002-08-07  John Levon  <levon@movementarian.org>
10096
10097         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10098
10099         * BufferView_pimpl.C: announce X selection on double/triple
10100           click
10101
10102         * lyx_main.C: use correct bool in batch dispatch
10103
10104         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10105
10106 2002-08-07  André Pönitz <poenitz@gmx.net>
10107
10108         * funcrequest.h: new class to wrap a kb_action and its argument
10109
10110         * BufferView.[Ch]:
10111         * BufferView_pimpl[Ch]:
10112         * LaTeX.C:
10113         * LyXAction.[Ch]:
10114         * lyxfunc.[Ch]:
10115         * lyxrc.C: subsequent changes
10116
10117
10118 2002-08-07  John Levon  <levon@movementarian.org>
10119
10120         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10121           document options change.
10122
10123 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10124
10125         * counters.[Ch]
10126         * text2.C
10127         * paragraph.[Ch]
10128         * makefile.am: move counters functionality over from
10129         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10130
10131 2002-08-06  John Levon  <levon@movementarian.org>
10132
10133         * WordLangTuple.h: new file for word + language code tuple
10134
10135         * SpellBase.h:
10136         * pspell.h:
10137         * pspell.C:
10138         * ispell.h:
10139         * ispell.C:
10140         * lyxtext.h:
10141         * text.C:
10142         * text2.C:
10143         * BufferView.h:
10144         * BufferView2.C: use WordLangTuple
10145
10146         * layout.h:
10147         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10148
10149 2002-08-06  John Levon  <levon@movementarian.org>
10150
10151         * lyx_main.C: fix cmdline batch handling
10152
10153 2002-08-06  André Pönitz <poenitz@gmx.net>
10154
10155         * lyxrc.C: set default for show_banner to true
10156
10157 2002-08-06  John Levon  <levon@movementarian.org>
10158
10159         * pspell.C: fix a crash, and allow new aspell to work
10160
10161 2002-08-06  John Levon  <levon@movementarian.org>
10162
10163         * lyxfunc.C:
10164         * kbmap.C: small cleanup
10165
10166         * vspace.h:
10167         * vspace.C: add const
10168
10169 2002-08-05  John Levon  <levon@movementarian.org>
10170
10171         * LyXAction.C: back to tabular-insert
10172
10173 2002-08-04  John Levon  <levon@movementarian.org>
10174
10175         * BufferView.h:
10176         * BufferView.C: cosmetic change
10177
10178         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10179
10180         * bufferlist.C:
10181         * buffer.h:
10182         * buffer.C:
10183         * lyxcb.h:
10184         * lyxcb.C:
10185         * lyxserver.C:
10186         * lyxvc.C:
10187         * vc-backend.C:
10188         * BufferView2.C: purge all "Lyx" not "LyX" strings
10189
10190         * lyxcursor.h:
10191         * lyxcursor.C: attempt to add some documentation
10192
10193         * lyxfunc.C:
10194         * commandtags.h:
10195         * LyXAction.C:
10196         * ToolbarDefaults.C:
10197         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10198           merge with LFUN_TABULAR_INSERT
10199
10200         * Makefile.am:
10201         * SpellBase.h:
10202         * ispell.h:
10203         * ispell.C:
10204         * pspell.h:
10205         * pspell.C: split up i/pspell implementations into separate
10206           files, many cleanups
10207
10208         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10209
10210         * text2.C: some cleanup
10211
10212         * lyxfunc.C: don't check for isp_command == "none" any more, it
10213           didn't make any sense
10214
10215 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10216
10217         * counters.[Ch]
10218         * text2.C
10219         * paragraph.[Ch]
10220         * makefile.am: move counters functionality over
10221         from text2.C/paragraph.[Ch] to counters.[Ch], and
10222         make proper C++.
10223 2002-08-02  John Levon  <levon@movementarian.org>
10224
10225         * buffer.C: s/lyxconvert/lyx2lyx/
10226
10227 2002-08-02  Angus Leeming  <leeming@lyx.org>
10228
10229         * lyxlex.C: revert John's change as it breaks reading of the user
10230         preamble.
10231
10232 2002-08-02  Angus Leeming  <leeming@lyx.org>
10233
10234         * importer.C (Import):
10235         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10236         changes due to LyXView::view() now returning a boost::shared_ptr.
10237
10238 2002-08-02  John Levon  <levon@movementarian.org>
10239
10240         * lyxlex.C: small cleanup
10241
10242 2002-08-02  John Levon  <levon@movementarian.org>
10243
10244         * text2.C (status): small cleanup, no logic change
10245
10246 2002-08-01  John Levon  <levon@movementarian.org>
10247
10248         * buffer.h:
10249         * buffer.C (writeFile): don't output alerts, caller
10250           handles this
10251
10252         * bufferlist.C:
10253         * lyx_cb.C: from above
10254
10255         * lyxfunc.C: allow to open non-existent files
10256
10257 2002-07-31  John Levon  <levon@movementarian.org>
10258
10259         * lyxserver.C: don't let incidental errors get
10260           in the way (errno)
10261
10262 2002-07-30  John Levon  <levon@movementarian.org>
10263
10264         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10265
10266 2002-07-30  John Levon  <levon@movementarian.org>
10267
10268         * lyxserver.h:
10269         * lyxserver.C: remove I/O callback too
10270
10271 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10274         log.
10275
10276 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10277
10278         * many files: strip,frontStrip -> trim,ltrim,rtrim
10279
10280 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10281
10282         * PrinterParams.h: remove extern containsOnly, and include
10283         support/lstrings.h instead.
10284
10285         * LaTeX.C (scanAuxFile): modify because of strip changes
10286         (deplog): ditto
10287         * buffer.C (makeLaTeXFile): ditto
10288         * bufferparams.C (writeFile): ditt
10289         * lyxfont.C (stateText): ditto
10290         * lyxserver.C (read_ready): ditto
10291         * vc-backend.C (scanMaster): ditto
10292
10293         * BufferView_pimpl.h: ws changes
10294
10295         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10296
10297 2002-07-26  André Pönitz <poenitz@gmx.net>
10298
10299         * kb_sequence.C: remove unnedred usings
10300
10301 2002-07-26  Juergen Vigna  <jug@sad.it>
10302
10303         * lyxfind.C (LyXReplace): we have to check better if the returned
10304         text is not of theLockingInset()->getLockingInset().
10305
10306 2002-07-25  Juergen Vigna  <jug@sad.it>
10307
10308         * lyxfind.C (LyXReplace): don't replace if we don't get the
10309         right LyXText.
10310
10311         * undo_funcs.C (createUndo): remove debugging code.
10312
10313 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * buffer.C (parseSingleLyXformat2Token): Use default placement
10316         when reading old floats.
10317
10318         * FloatList.C (FloatList): Change the default placement of figure
10319         and tables to "tbp".
10320
10321 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * MenuBackend.C: using std::max
10324
10325 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10326
10327         * MenuBackend.C (expandToc):
10328         (expandToc2): code moved from xforms menu frontend. It is now
10329         generic and TOCs are transparent to menu frontends.
10330
10331 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * toc.C (getTocList): protect against buf=0
10334
10335         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10336         Menu as first parameter. Now, this calls itself recursively to
10337         expand a whole tree (this will be useful for TOC handling)
10338         (expandFloatInsert): remove 'wide' version of floats
10339
10340         * MenuBackend.h (submenuname): returns the name of the submenu.
10341         (submenu): returns the submenu itself, provided it has been
10342         created by MenuBackend::expand
10343
10344 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10347         insets which have noFontChange == true. (bug #172)
10348
10349 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * BufferView_pimpl.C: add connection objects and use them...
10352         (Pimpl): here.
10353
10354 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * MenuBackend.C (expandLastfiles):
10357         (expandDocuments):
10358         (expandFormats):
10359         (expandFloatListInsert):
10360         (expandFloatInsert):
10361         (expand): split expand in parts
10362
10363 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * lyx_gui.C: use lyx_gui::exit()
10366
10367 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * LyXAction.C: show the failing pseudo action
10370
10371 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10372
10373         * buffer.C (readFile): Run the lyxconvert script in order to read
10374         old files.
10375
10376 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * LyXAction.C:
10379         * commandtags.h:
10380         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10381
10382 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * LyXAction.C:
10385         * commandtags.h:
10386         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10387
10388 2002-07-22  Herbert Voss  <voss@lyx.org>
10389
10390         * lengthcommon.C:
10391         * lyxlength.[Ch]: add support for the vertical lengths
10392
10393 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * toc.[Ch]: std:: fixes
10396
10397 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * lyxrc.C: do not include lyx_main.h
10400
10401         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10402         for layouts
10403
10404         * lyxrc.C:
10405         * encoding.C:
10406         * bufferlist.C:
10407         * BufferView2.C: include "lyxlex.h"
10408
10409         * tabular.h:
10410         * bufferparams.h: do not #include "lyxlex.h"
10411
10412         * lyxtextclasslist.C (Add): remove method
10413         (classlist): renamed to classlist_
10414
10415         * paragraph_pimpl.C:
10416         * paragraph.C:
10417         * text2.C:
10418         * CutAndPaste.C:
10419         * bufferview_funcs.C:
10420         * bufferlist.C:
10421         * text.C:
10422         * LaTeXFeatures.C:
10423         * buffer.C:
10424         * toc.C (getTocList): use BufferParams::getLyXTextClass
10425
10426         * toc.C (getTocList): use InsetFloat::addToToc
10427
10428         * toc.[Ch]: new files, containing helper functions to handle table
10429         of contents
10430
10431         * lyxfunc.C (dispatch): no need to remove spaces around command
10432         given as a string
10433         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10434         first command of the sequence; it is not very clever, but I do not
10435         have a better idea, actually
10436
10437         * LyXAction.C (LookupFunc): make sure to remove space at the
10438         beginning and end of the command
10439
10440 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * MenuBackend.C (getMenubar): new method: return the menubar of
10443         this menu set
10444         (read): treat differently reading of menu and menubar (in
10445         particular, the menubar has no name now)
10446         (Menu::menubar): remove
10447
10448         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10449         saving is finished
10450
10451 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10452
10453         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10454         a bibitem inset in a RTL paragraph.
10455
10456 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * paragraph_pimpl.C: constify
10459
10460         * BufferView_pimpl.C:
10461         * LaTeX.C:
10462         * lyxfunc.C: fix dispatch in a nicer way
10463
10464 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * lyxfunc.C (dispatch):
10467         * BufferView_pimpl.C:
10468         * BufferView_pimpl.h:
10469         * BufferView.C:
10470         * BufferView.h: rename Dispatch() to dispatch()
10471
10472         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10473
10474         * lyxlayout.C (Read): honor DependsOn tag
10475
10476         * lyxlayout.[Ch] (depends_on): new method
10477
10478         * version.C.in: update lyx_docversion
10479
10480         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10481
10482         * paragraph.C (validate): remove from here...
10483         * paragraph_pimpl.C (validate): ... and move here
10484         (isTextAt): make it const
10485
10486         * buffer.C (getLists): ws cleanup
10487
10488 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10489
10490         * language.C (read): Use iso8859-1 encoding in latex_lang
10491         (this prevents LyX from crashing when using iso10646-1 encoding).
10492
10493 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * text2.C (toggleInset): if cursor is inside an inset, close the
10496         inset and leave cursor _after_ it
10497
10498 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * lyxfunc.C: move minibuffer completion handling out of here
10501
10502 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView_pimpl.C:
10505         * LaTeX.C: fix dispatch calls
10506
10507 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10508
10509         * text.C (drawChars): Fix Arabic text rendering.
10510
10511 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * LyXAction.C:
10514         * commandtags.h:
10515         * lyxfunc.C: remove message-push/pop
10516
10517         * lyxserver.C:
10518         * lyxfunc.h:
10519         * lyxfunc.C: rationalise some code by removing verboseDispatch
10520           in favour of a bool argument to dispatch()
10521
10522 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * lyx_main.C (init): make sure to read symlinks as absolute paths
10525
10526 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * lyxfunc.h:
10529         * lyxfunc.C: no need for commandshortcut to be a member
10530
10531 2002-07-15  André Pönitz <poenitz@gmx.net>
10532
10533         * converter.C: add support for $$s (scripts from lib/scripts dir)
10534         * lyx_main.C: white space
10535
10536 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * bufferlist.C:
10539         * lyxrc.h:
10540         * lyxrc.C: remove second exit confirmation
10541
10542 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * BufferView.h:
10545         * BufferView.C:
10546         * BufferView2.C:
10547         * BufferView_pimpl.h:
10548         * BufferView_pimpl.C:
10549         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10550
10551 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * MenuBackend.C (expand): add numeric shortcuts to document menu
10554
10555         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10556
10557 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * lyxfont.C (setLyXFamily):
10560         (setLyXSeries):
10561         (setLyXShape):
10562         (setLyXSize):
10563         (setLyXMisc):
10564         (lyxRead):
10565         * debug.C (value):
10566         * buffer.C (asciiParagraph): use ascii_lowercase
10567
10568 2002-07-15  Mike Fabian  <mfabian@suse.de>
10569
10570         * lyxlex_pimpl.C (search_kw):
10571         * lyxlex.C (getLongString):
10572         * converter.h (operator<):
10573         * converter.C (operator<):
10574         * buffer.C (parseSingleLyXformat2Token):
10575         (asciiParagraph):
10576         * ToolbarDefaults.C (read):
10577         * MenuBackend.C (checkShortcuts):
10578         (read):
10579         * LColor.C (getFromGUIName):
10580         (getFromLyXName): use the compare_ascii_no_case instead of
10581         compare_no_case, because in turkish, 'i' is not the lowercase
10582         version of 'I', and thus turkish locale breaks parsing of tags.
10583
10584 2002-07-16  Angus Leeming  <leeming@lyx.org>
10585
10586         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10587         now takes a Buffer const & argument.
10588
10589 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * BufferView.C (resize): check there's a buffer to resize
10592
10593 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * lyxfunc.C: remove dead code
10596
10597         * lyxserver.h:
10598         * lyxserver.C: use lyx_guii::set_read_callback
10599
10600 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10603         an inset in a RTL paragraph.
10604
10605 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * lyxfunc.C: repaint after a font size update
10608
10609 2002-07-15  André Pönitz <poenitz@gmx.net>
10610
10611         * lyxlength.C: inBP should be able to return negative values
10612
10613 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * lyxfunc.C: use lyx_gui::update_fonts()
10616
10617 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxfunc.C: use lyx_gui::update_color()
10620
10621 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * bufferlist.C:
10624         * lyxfunc.h:
10625         * lyxfunc.C:
10626         * lyxrc.h:
10627         * lyxrc.C: remove file->new asks for name option, and let
10628           buffer-new take an argument
10629
10630 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.C: remove unneeded extra repaint()
10633
10634 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * LyXAction.C: allow command-sequence with NoBuffer
10637
10638         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10639
10640 2002-07-10  Angus Leeming  <leeming@lyx.org>
10641
10642         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10643
10644 2002-07-09  Angus Leeming  <leeming@lyx.org>
10645
10646         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10647
10648 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * lengthcommon.h: whitespace
10651
10652         * lyxfunc.C: update scrollbar after goto paragraph
10653
10654         * lyxtext.h: factor out page break drawing, and fix it so
10655           page break/added space paints as selected nicely
10656
10657 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * BufferView_pimpl.C: add FIXMEs, clean up a little
10660
10661 2002-07-09  André Pönitz <poenitz@gmx.net>
10662
10663         * lyxfont.[Ch]: support for wasy symbols
10664
10665 2002-07-08  André Pönitz <poenitz@gmx.net>
10666
10667         * BufferView_pimpl.C: apply John's patch for #93.
10668
10669 2002-07-05  Angus Leeming  <leeming@lyx.org>
10670
10671         * BufferView_pimpl.C (buffer): generate previews if desired.
10672
10673         * LColor.h: add "preview" to the color enum.
10674
10675         * LColor.C (LColor): add a corresponding entry to the items array.
10676
10677         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10678         with this buffer.
10679
10680 2002-07-05  Angus Leeming  <leeming@lyx.org>
10681
10682         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10683         The body of the code is now in the method that is passed an ostream &
10684         rather than a file name.
10685         Pass an additional only_preamble parameter, useful for the forthcoming
10686         preview stuff.
10687
10688 2002-07-03  André Pönitz <poenitz@gmx.net>
10689
10690         * lyxfunc.C: simplify getStatus() a bit for math stuff
10691
10692 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10695
10696 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * text.C (changeRegionCase): do not change case of all the
10699         document when region ends at paragraph end (bug #461)
10700
10701 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10702
10703         * paragraph.C (startTeXParParams):
10704         (endTeXParParams): add \protect when necessary
10705
10706 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10707
10708         * BufferView_pimpl.C (workAreaExpose): remove warning
10709
10710 2002-06-27  Angus Leeming  <leeming@lyx.org>
10711
10712         * Makefile.am: add lyxlayout_ptr_fwd.h.
10713
10714 2002-06-26  André Pönitz <poenitz@gmx.net>
10715
10716         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10717
10718 2002-06-25  Angus Leeming  <leeming@lyx.org>
10719
10720         * lyxfunc.C (dispatch): Comment out the call to
10721         grfx::GCache::changeDisplay. The method no longer exists now that the
10722         pixmap generation part of the graphics loader has been moved into
10723         InsetGraphics.
10724
10725 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * text2.C: layout as layout
10728
10729         * text.C: layout as layout
10730
10731         * tabular.C (OldFormatRead): layout as layout
10732
10733         * paragraph_pimpl.C (TeXDeeper): layout as layout
10734         (realizeFont): layout as layout
10735
10736         * paragraph.C (writeFile): layout as layout
10737         (validate): layout as layout
10738         (getFont): layout as layout
10739         (getLabelFont): layout as layout
10740         (getLayoutFont): layout as layout
10741         (breakParagraph): layout as layout
10742         (stripLeadingSpaces): layout as layout
10743         (getEndLabel): layout as layout
10744         (getMaxDepthAfter): layout as layout
10745         (applyLayout): layout as layout
10746         (TeXOnePar): layout as layout
10747         (simpleTeXOnePar): layout as layout
10748         (TeXEnvironment): layout as layout
10749         (layout): layout as layout
10750         (layout): layout as layout
10751
10752         * lyxtextclass.C (compare_name): new functor to work with
10753         shared_ptr, layout as layout
10754         (Read): layout as layout
10755         (hasLayout): layout as layout
10756         (operator): layout as layout
10757         (delete_layout): layout as layout
10758         (defaultLayout): layout as layout
10759
10760         * lyxlayout_ptr_fwd.h: new file
10761
10762         * lyxlayout.C (Read): layout as layout
10763
10764         * lyx_cb.C (MenuInsertLabel): layout as layout
10765
10766         * bufferlist.C (newFile): layout as layout
10767
10768         * buffer.C (readLyXformat2): layout as layout
10769         (parseSingleLyXformat2Token): layout as layout
10770         (insertStringAsLines): layout as layout
10771         (asciiParagraph): layout as layout
10772         (latexParagraphs): layout as layout
10773         (makeLinuxDocFile): layout as layout
10774         (simpleLinuxDocOnePar): layout as layout
10775         (makeDocBookFile): layout as layout
10776         (simpleDocBookOnePar): layout as layout
10777         (getLists): layout as layout
10778
10779         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10780
10781         * CutAndPaste.C (cutSelection): layout as layout
10782         (pasteSelection): layout as layout
10783         (SwitchLayoutsBetweenClasses): layout as layout
10784
10785         * BufferView_pimpl.C (Dispatch): layout as layout
10786         (smartQuote): layout as layout
10787
10788         * BufferView2.C (unlockInset): layout as layout
10789
10790 2002-06-24  André Pönitz <poenitz@gmx.net>
10791
10792         * lyxfunc.C: fix #487
10793
10794 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * lyxrc.h:
10797         * lyxrc.C:
10798         * lyxfunc.C: remove display_shortcuts, show_banner
10799
10800 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * Buffer_pimpl.C: oops, update on resize
10803
10804 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * buffer.C:
10807         * converter.C:
10808         * exporter.C:
10809         * lyxfunc.C:
10810         * BufferView.h:
10811         * BufferView.C: use repaint()
10812
10813         * BufferView_pimpl.h:
10814         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10815           as it's a clearer description. Remove superfluous
10816           redraws.
10817
10818 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * text.C: fix bug 488. Not ideal, but getting
10821           getWord() to work properly for the insets that
10822           matter is more difficult ...
10823
10824 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * BufferView_pimpl.C:
10827         * LyXAction.C:
10828         * commandtags.h:
10829         * lyxfunc.C: remove the six million index lyxfuncs to just
10830           one, and DTRT (bug 458)
10831
10832 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * BufferView.h:
10835         * BufferView.C:
10836         * BufferView_pimpl.h:
10837         * BufferView_pimpl.C: clean up resize() stuff,
10838           and unnecessary updateScreen()s
10839
10840 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView.h:
10843         * BufferView.C:
10844         * BufferView_pimpl.h:
10845         * BufferView_pimpl.C:
10846         * lyxfind.h:
10847         * lyxfind.C:
10848         * minibuffer.C: remove focus management of workarea,
10849           not needed. Use screen's greyOut()
10850
10851 2002-06-17  Herbert Voss  <voss@lyx.org>
10852
10853         * converter.C: (convert) do not post a message, when converting
10854         fails, let the calling function decide what to do in this case
10855
10856 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * lyxfunc.C: tidy up a little
10859
10860 2002-06-16    <alstrup@diku.dk>
10861
10862         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10863         Got rid of FORMS_H_LOCATION include. Now we are
10864         GUII.
10865
10866 2002-06-15  LyX Development team  <lyx@rilke>
10867
10868         * buffer.[Ch] (sgmlOpenTag):
10869         (sgmlCloseTag): Added support for avoiding pernicious mixed
10870         content. Return number of lines written.
10871
10872         (makeLinuxDocFile):
10873         (makeDocBookFile): Fixed calls to sgml*Tag.
10874         Simple white space clean.
10875
10876         (simpleDocBookOnePar): Simple white space clean.
10877
10878         * tabular.[Ch] (docBook): Renamed to docbook and got another
10879         argument to related with the pernicious mixed content.
10880
10881         (docbookRow): Fixed calls for docbook inset method.
10882
10883 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10884
10885         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10886         so it's X11 independent.
10887
10888         * kb*.[Ch]: ditto.
10889
10890         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10891
10892 2002-06-15  Lyx Development team  <lyx@electronia>
10893
10894         * intl.h: Renamed getTrans to getTransManager.
10895
10896 2002-06-14  Angus Leeming  <leeming@lyx.org>
10897
10898         * Makefile.am: nuke forgotten stl_string_fwd.h.
10899
10900 2002-06-12  Angus Leeming  <leeming@lyx.org>
10901
10902         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10903
10904 2002-06-13  Angus Leeming  <leeming@lyx.org>
10905
10906         * LaTeX.C:
10907         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10908
10909 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10910
10911         * kbmap.C (getiso): add support for cyrillic and greek
10912
10913 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * BufferView.h:
10916         * BufferView.C:
10917         * BufferView_pimpl.h:
10918         * BufferView_pimpl.C: move bogus scrolling logic
10919           to xforms
10920
10921 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * lyxfunc.C:
10924         * BufferView_pimpl.C: view->resize() change
10925
10926 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * BufferView_pimpl.C: topCursorVisible
10929           prototype change
10930
10931 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * Makefile.am:
10934         * lyx_gui.h:
10935         * lyx_gui.C: move to frontends/
10936
10937         * main.C:
10938         * lyx_main.h:
10939         * lyx_main.C: changes from above
10940
10941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * intl.C:
10944         * intl.h:
10945         * kbmap.C:
10946         * kbsequence.C:
10947         * lyx_cb.C:
10948         * lyx_main.C: minor tidy
10949
10950 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * BufferView_pimpl.h:
10953         * BufferView_pimpl.C:
10954         * BufferView.h:
10955         * BufferView.C: make painter() const,
10956           remove dead code
10957
10958         * BufferView2.C: use screen() accessor
10959
10960         * lyx_main.h:
10961         * lyx_main.C: some minor cleanup
10962
10963 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10964
10965         * BufferView_pimpl.h:
10966         * BufferView_pimpl.C: remove enter/leaveView,
10967           use workHeight()
10968
10969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView.h:
10972         * BufferView.C:
10973         * BufferView2.C:
10974         * BufferView_pimpl.h:
10975         * BufferView_pimpl.C: only construct screen once,
10976           rename
10977
10978         * lyxrc.C: remove pointless comment
10979
10980 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10981
10982         * BufferView.h:
10983         * BufferView.C: remove active() and belowMouse()
10984
10985         * BufferView_pimpl.h:
10986         * BufferView_pimpl.C: use workarea() not workarea_,
10987           and make it use a scoped_ptr instead
10988
10989 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * lyx_gui.C: add debug message on BadWindow
10992
10993 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * sp_spell.C: fdopen is not part of the C++ standard.
10996
10997         * paragraph.C (InsetIterator): use >= instead of ==
10998
10999 2002-06-07  Angus Leeming  <leeming@lyx.org>
11000
11001         Fixes needed to compile with Compaq cxx 6.5.
11002         * BufferView_pimpl.C:
11003         * DepTable.C:
11004         * buffer.C:
11005         * converter.C:
11006         * encoding.C:
11007         * lyx_gui.C:
11008         * lyx_main.C:
11009         * lyxtextclasslist.C:
11010         * minibuffer.C:
11011         * sp_spell.C:
11012         * tabular_funcs.C:
11013         * vc-backend.C:
11014         all c-library variables have been moved into namespace std. Wrap
11015         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11016
11017         * lyxlength.C:
11018         * tabular-old.C:
11019         * tabular.C:
11020         Add a using std::abs declaration.
11021
11022         * kbmap.h (modifier_pair):
11023         * paragraph.h (InsetTable, InsetList):
11024         * lyxfont.h (FontBits):
11025         type definition made public.
11026
11027         * bufferlist.C (emergencyWriteAll): the compiler complains that
11028         there is more than one possible lyx::class_fun template to choose from.
11029         I re-named the void specialisation as lyx::void_class_fun.
11030
11031         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11032
11033         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11034         the compiler is is unable to find tostr in write_attribute.
11035
11036 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11037
11038         * buffer.C (sgmlError): hide #warning
11039
11040 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11041
11042         * xtl/*: get rid of xtl, which is not in use anyway
11043
11044         * LyXAction.C (init):
11045         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11046         were unimplemented xtl experimentation
11047
11048 2002-06-04  André Pönitz <poenitz@gmx.net>
11049
11050         * lyxfunc.C: disable array operation on simple formulae
11051
11052 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * converter.C: constify a bit
11055
11056 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * lyx_gui.C: check xforms version correctly
11059
11060 2002-04-30  Herbert Voss  <voss@lyx.org>
11061
11062         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11063         "keep" option
11064
11065 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11068           attempt to register it with a VCS)
11069
11070 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * lyx_main.C (init): honor variables LYX_DIR_13x and
11073         LYX_USERDIR_13x
11074
11075 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * buffer.h:
11078         * buffer.C:
11079         * lyx_main.C: fix a crash on bad command line,
11080           and give a useful exit status on error
11081
11082         * lyxfunc.C (doImport): allow -i lyx to work
11083
11084 2002-03-30  André Pönitz <poenitz@gmx.net>
11085
11086         * lyxfunc.C: mathed font changes
11087
11088 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * LaTeX.C:
11091         * importer.h:
11092         * importer.C:
11093         * lyx_sty.h:
11094         * lyx_sty.C:
11095         * lyxlex.C:
11096         * lyxrow.h:
11097         * lyxtext.h:
11098         * paragraph.h:
11099         * paragraph.C:
11100         * texrow.h:
11101         * texrow.C:
11102         * text.C:
11103         * trans_mgr.h: srcdocs, and some minor cleanups
11104
11105 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11108         call getFont all the time)
11109
11110 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * switch from SigC signals to boost::signals
11113
11114 2002-05-29  André Pönitz <poenitz@gmx.net>
11115
11116         * paragraph_pimpl.C (getChar): don't call size() too often...
11117
11118 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * paragraph_pimpl.C (insertChar): do not try to update tables when
11121         appending (pos == size())
11122
11123         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11124         in order to reduce drastically the number of comparisons needed to
11125         parse a large document
11126
11127 2002-05-29  André Pönitz <poenitz@gmx.net>
11128
11129         * text.C:
11130         * text2.C:
11131         * lyxtextclass.C:
11132         * sp_pspell.h:
11133         * textclasslist.[Ch]:
11134         * sp_ispell.h: whitespace change
11135
11136 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11137
11138         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11139         lyxaction directly now.
11140
11141 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * trans.C:
11144         * lyxfont.C:
11145         * lyxvc.C: remove unused headers
11146
11147 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * Makefile.am:
11150         * buffer.h:
11151         * undostack.h:
11152         * undostack.C:
11153         * undo_funcs.h:
11154         * undo_funcs.C: some cleanups. Use shared_ptr
11155           and a template for the undo stacks.
11156
11157 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * BufferView_pimpl.h:
11160         * BufferView_pimpl.C:
11161         * kbmap.h:
11162         * kbmap.C:
11163         * kbsequence.h:
11164         * kbsequence.C:
11165         * lyxfunc.h:
11166         * lyxfunc.C:
11167         * text2.C: use key_state/mouse_state
11168
11169 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11172         and LSubstring
11173
11174         * chset.C: change include order
11175         (loadFile): use boost regex and get rid of LRegex and LSubstring
11176
11177         * Makefile.am (BOOST_LIBS): new variable
11178         (lyx_LDADD): use it
11179
11180         * LaTeX.C: change include order.
11181         (scanAuxFile): use boost regex and get rid of LRegex and
11182         LSubstring
11183         (deplog): ditto
11184
11185 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * ColorHandler.h:
11188         * ColorHandler.C:
11189         * FontInfo.h:
11190         * FontInfo.C: moved to frontends/xforms/
11191
11192         * FontLoader.h:
11193         * FontLoader.C: moved into frontends for GUIIzation
11194
11195         * Makefile.am:
11196         * lyx_gui.C:
11197         * lyxfont.C:
11198         * lyxfunc.C: changes from above
11199
11200 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * LColor.C: remove spurious X include
11203
11204         * BufferView_pimpl.C:
11205         * Makefile.am:
11206         * font.h:
11207         * font.C:
11208         * text.C:
11209         * text2.C: move font metrics to frontends/
11210
11211 2002-05-24  Juergen Vigna  <jug@sad.it>
11212
11213         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11214         setting the undo_cursor.
11215
11216         * ParagraphParameters.h: include local includes first.
11217
11218 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11219
11220         * BufferView_pimpl.C:
11221         * BufferView_pimpl.h:
11222         * Makefile.am:
11223         * WorkArea.h:
11224         * WorkArea.C:
11225         * screen.C: move WorkArea into frontends/
11226
11227         * lyxscreen.h:
11228         * screen.C:
11229         * text.C:
11230         * BufferView.C:
11231         * BufferView2.C: move LyXScreen into frontends/
11232
11233         * lyxlookup.h:
11234         * lyxlookup.C:
11235         * lyx_gui.C: move lyxlookup into frontends/xforms/
11236
11237 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11238
11239         * BufferView2.C:
11240         * BufferView_pimpl.C:
11241         * FontLoader.C:
11242         * LyXView.h:
11243         * LyXView.C:
11244         * Makefile.am:
11245         * WorkArea.C:
11246         * XFormsView.h:
11247         * XFormsView.C:
11248         * buffer.C:
11249         * bufferlist.C:
11250         * bufferview_funcs.C:
11251         * converter.C:
11252         * importer.C:
11253         * lyx_cb.C:
11254         * lyx_gui.C:
11255         * lyx_main.C:
11256         * lyx_find.C:
11257         * lyxfunc.C:
11258         * lyxvc.C:
11259         * minibuffer.C:
11260         * text.C:
11261         * text2.C:
11262         * trans.C:
11263         * vc-backend.C: move LyX/XFormsView into frontends/
11264
11265 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * Makefile.am:
11268         * PainterBase.C:
11269         * PainterBase.h:
11270         * Painter.C:
11271         * Painter.h:
11272         * WorkArea.C:
11273         * WorkArea.h:
11274         * screen.C:
11275         * tabular.C:
11276         * text.C:
11277         * text2.C: move Painter to frontends/
11278
11279 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * buffer.C: comment out some some code that depend upon lyx_format
11282         < 220
11283
11284         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11285         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11286
11287         * buffer.h (NO_COMPABILITY): turn off compability
11288
11289         * ColorHandler.C: include scoped_array.hpp
11290
11291         * font.C: Use more specific smart_ptr header.
11292         * Painter.C: ditto
11293         * gettext.C: ditto
11294         * ShareContainer.h: ditto
11295         * lyx_main.h: ditto
11296         * kbmap.h: ditto
11297         * FontInfo.h: ditto
11298         * BufferView_pimpl.h: ditto
11299         * ColorHandler.h: ditto
11300
11301         * kbmap.C (defkey): change call to shared_ptr::reset
11302
11303 2002-05-21  Juergen Vigna  <jug@sad.it>
11304
11305         * buffer.C (insertErtContents): fix to insert ert asis if it is
11306         non empty. Skip it completely if it contains only whitespaces.
11307
11308 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * BufferView_pimpl.C:
11311         * BufferView2.C: clear selection on paste (bug 393)
11312
11313 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * DepTable.C: include ctime
11316
11317 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11320
11321 2002-05-14  Juergen Vigna  <jug@sad.it>
11322
11323         * text.C (breakParagraph): fixed function to honor the keepempty
11324         layout in the right maner and also to permit the right breaking
11325         algorithm on empty or non empyt keepempty paragraphs.
11326
11327         * paragraph.C (breakParagraph): we have to check also if the par
11328         is really empty (!size()) for isempty otherwise we do the wrong
11329         paragraph break.
11330
11331 2002-05-10  Juergen Vigna  <jug@sad.it>
11332
11333         * buffer.[Ch] : The following are only changes to the ert
11334         compatibility read reading old LaTeX layout and font stuff and
11335         convert it to ERTInsets.
11336
11337         * buffer.h: added isErtInset().
11338
11339         * buffer.C (struct ErtComp): add a fromlayout bool to check
11340         if we're inside a LaTeX layout.
11341         (isErtInset): new helper function.
11342         (insertErtContents): look for other ert insets before this one
11343         and insert the contents there, so that we don't have subsequent
11344         ERT insets with nothing between them. This way we create only one
11345         inset with multiple paragraphs. Also check if we don't insert only
11346         spaces ' ' as they are ignored anyway afterwards in the .tex file
11347         so if we have only spaces we will ignore this latex part in the
11348         new file.
11349         (parseSingleLyXformat2Token \\layout): better compatibility when
11350         reading layout-latex stuff.
11351         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11352         language tag.
11353         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11354         stuff after reading the inset only get the information back from
11355         the stack.
11356
11357 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11358
11359         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11360
11361         * LaTeXFeatures.C (getBabelOptions): New method.
11362
11363 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * BufferView_pimpl.C (Dispatch): work around missing argument for
11366         'layout'
11367
11368 2002-05-08  Juergen Vigna  <jug@sad.it>
11369
11370         * text.C (leftMargin): handle paragraph leftindent.
11371
11372         * paragraph.C (writeFile): write the new \\leftindent tag.
11373         (validate): handle leftindent code.
11374         (TeXEnvironment): handle paragraphleftindent code again.
11375
11376         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11377
11378         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11379         for paragrap_extra indent code and new token \\leftindent.
11380         (latexParagraphs): handle the leftindent as environment.
11381
11382         * ParameterStruct.h: added leftindent support.
11383
11384         * ParagraphParameters.C (leftIndent): added support functions for
11385         the paragraph left indent.
11386
11387         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11388         more appropriate.
11389
11390 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11391
11392         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11393         inside insetERT.
11394
11395         * text.C (computeBidiTables): No bidi in insetERT.
11396
11397         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11398         in RTL documents.
11399
11400 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * version.C.in: pre 5
11403
11404 2002-05-02  José Matos  <jamatos@fep.up.pt>
11405         * buffer.C (makeDocBookFile): white space changes, add newline to
11406         command styles.
11407         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11408
11409         * tabular.C (docBook): fix typo.
11410
11411 2002-05-03  Juergen Vigna  <jug@sad.it>
11412
11413         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11414         change in LyXText as we can not be sure it was not freed.
11415         (drawOneRow): remove unused code.
11416
11417         * text.C (drawInset): redo the calculation of the need_break_row as
11418         it could have a row which was already freed.
11419         (draw): look at the return value of drawInset and return false if
11420         it also returned false.
11421         (paintRowText): look at the return value of draw and return false if
11422         it also returned false.
11423
11424         * lyxtext.h: added bool return type to drawInset() and draw() so that
11425         if we have a change in the row so that the rowbreak has to be redone
11426         we abort drawing as it will be called again.
11427
11428 2002-05-02  Juergen Vigna  <jug@sad.it>
11429
11430         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11431         a change in the maintext also if we're inside an inset.
11432         (Dispatch): set the cursor again after a break line and after the
11433         screen has been updated as it could be we're in a different row.
11434
11435         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11436         to set the cursor behind the pargraph with > size().
11437         (setCursor): check also for the same paragraph when checking where
11438         to put the cursor if we have a NFR inset.
11439
11440         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11441         parts of layout read further up as it still was in the wrong
11442         position.
11443
11444 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11445
11446         * screen.C (drawFromTo): change sine fullRebreak always return
11447         true.
11448
11449         * buffer.C (parseSingleLyXformat2Token): reindent some
11450
11451         * BufferView_pimpl.C (update): change since fullRebreak always
11452         return true.
11453         (Dispatch): git rid of the last hardcoded "Standard"s.
11454
11455 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11456
11457         * text2.[Ch] (fullRebreak): make it return void now that we always
11458         returned true.
11459
11460 2002-04-30  Juergen Vigna  <jug@sad.it>
11461
11462         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11463         ert compatibility check for "latex" layout.
11464
11465 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11466
11467         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11468         minipages: use col% instead of p%, and also use the current font.
11469         (makeLaTeXFile): Fix use babel condition.
11470         (parseSingleLyXformat2Token): Correct font when reading old floats.
11471
11472 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11475         inserting list of floats.
11476
11477 2002-04-25  Herbert Voss  <voss@lyx.org>
11478
11479         * MenuBackend.C (expand): don't add the graphics extensions to the
11480         export menu
11481
11482 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11483
11484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11485         non-existing layout, do not complain if it was the default layout
11486         of the original class (bug #342)
11487
11488 2002-04-24  Juergen Vigna  <jug@sad.it>
11489
11490         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11491         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11492
11493 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11494
11495         * buffer.C (getBibkeyList): If using \bibliography, return the
11496         option field with the reference itself. Enables us to provide natbib
11497         support when using \bibliography.
11498
11499 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11500
11501         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11502
11503         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11504         natbib is provided by the LaTeX class.
11505
11506 2002-04-23  Juergen Vigna  <jug@sad.it>
11507
11508         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11509         Wakeup functions.
11510
11511         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11512
11513 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11516
11517         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11518         ensuremath around textordmasculine, textordfeminine and
11519         textdegree.
11520
11521 2002-04-19  Juergen Vigna  <jug@sad.it>
11522
11523         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11524         reinitializing the buffer otherwise row-dimensions may be wrong.
11525         (update): reset also the selection cursors if they do exits otherwise
11526         their x/y positions may be wrong.
11527
11528         * text2.C (cursorDown): don't enter the inset if we came from a row
11529         above and are one row over the inset.
11530
11531         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11532         really leaving an inset.
11533
11534 2002-04-18  Juergen Vigna  <jug@sad.it>
11535
11536         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11537         of the selected paragraph does not have the selected layout also if
11538         the last one had!
11539
11540         * text2.C (setLayout): fixed bug which did not change last selected
11541         paragraph.
11542
11543         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11544         changed the read and substituted \\end_float with \\end_inset!
11545
11546         * BufferView_pimpl.C (cursorPrevious):
11547         (cursorNext): fixed to make it work with rows heigher than the work
11548         area without moving the cursor only the draw of the row.
11549         (workAreaMotionNotify): fix jumping over high rows.
11550
11551 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11554         Ressler.
11555
11556 2002-04-16  Juergen Vigna  <jug@sad.it>
11557
11558         * text2.C (setCursor): set also the irow().
11559         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11560         (cursorUp):
11561         (cursorDown): support for locking an inset if the x_fix value goes
11562         inside it. That way I can transverse insets too with cursor up/down.
11563
11564         * lyxrow.h: added irow helper function same as other (i) functions.
11565
11566         * BufferView_pimpl.C (cursorPrevious):
11567         (cursorNext): fixed for insets!
11568
11569 2002-04-15  Juergen Vigna  <jug@sad.it>
11570
11571         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11572         position otherwise it is wrong in some cases.
11573
11574         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11575         inside the inset before the call.
11576
11577 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11578
11579         * buffer.[Ch] (getBibkeyList): make it const.
11580
11581 2002-04-12  Juergen Vigna  <jug@sad.it>
11582
11583         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11584
11585         * text2.C (getCursorX): new helper function
11586         (setCursor): compute also ix_
11587         (setCursorFromCoordinates): set also ix.
11588
11589         * lyxcursor.h: added ix_ and helper functions.
11590
11591         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11592
11593         * buffer.C (insertStringAsLines): dont break paragraph if the this
11594         paragraph is inside an inset which does not permit it!
11595
11596         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11597         also with no chars on this paragraph.
11598         (paintRowText): only paint stuff if it's inside the workarea!
11599
11600         * paragraph.C (breakParagraph): honor keepempty flag and break the
11601         paragraph always below not above.
11602
11603         * BufferView2.C (unlockInset): update the paragraph layout on inset
11604         unlock as we changed paragraph in such a case.
11605
11606         * lyxfind.C (LyXFind): clear the former selection if not found!
11607
11608         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11609         again called in insertChar().
11610
11611         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11612         an inset which uses the whole row!
11613         (rightMargin): ditto.
11614         (insertChar): force a rebreak if we inserted an inset!
11615
11616 2002-03-28  Herbert Voss  <voss@lyx.org>
11617
11618         * lyxlength.[Ch]: add inBP() to get the right PS-point
11619         units (BigPoint). With inPixels we have rounding errors
11620
11621 2002-04-11  Juergen Vigna  <jug@sad.it>
11622
11623         * text2.C (setCursorFromCoordinates): set iy to the right value.
11624         (setCursor): add check if row->previous exists!
11625
11626         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11627         an old float_type as this was the case in the old code!
11628
11629         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11630
11631         * BufferView2.C (showLockedInsetCursor): use iy
11632         (fitLockedInsetCursor): ditto
11633
11634         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11635         locked insets as there we have the right value now.
11636
11637         * lyxcursor.C: added iy_ variable and iy functions to set to the
11638         baseline of cursor-y of the locked inset.
11639
11640         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11641         (setCursor): fixed for insets which need a full row.
11642
11643         * text.C (rowLastPrintable): don't ignore the last space when before
11644         an inset which needs a full row.
11645         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11646         as last character of a row when before a inset which needs a full row.
11647
11648 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * version.C.in: update date
11651
11652         * text2.C (fullRebreak): try to always return true and see what
11653         happens...
11654
11655 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * MenuBackend.C (expand): use Floating::listName
11658
11659         * FloatList.C (FloatList): add listName argument to the built-in
11660         floats
11661
11662         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11663         text associated with the float.
11664
11665 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11668
11669 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * ShareContainer.h: add a couple of missing typenames.
11672
11673 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11674
11675         * lyxrc.C (getDescription): use _() correctly rather than N_().
11676
11677 2002-03-28  Herbert Voss  <voss@lyx.org>
11678
11679         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11680         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11681
11682 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11685         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11686
11687 2002-03-29  Juergen Vigna  <jug@sad.it>
11688
11689         * lyxfunc.C (dispatch): add a missing fitCursor call.
11690
11691         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11692         it was scrolled by a cursor move, so return the bool status.
11693
11694         * BufferView.C (fitCursor): return the bool flag also to the outside
11695         world as this is needed.
11696
11697         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11698
11699         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11700         call the edit() as it is not needed (and wrong) IMO.
11701         (workAreaButtonPress): set the screen_first variable before evt.
11702         unlock the inset as this may change screen_first and then we have
11703         a wrong y position for the click!
11704
11705 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11706
11707         * MenuBackend.C (expand): another translation that I missed
11708
11709 2002-03-28  Juergen Vigna  <jug@sad.it>
11710
11711         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11712
11713         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11714
11715 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11716
11717         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11718
11719         * MenuBackend.C (expand): fix export/view/update when there is no
11720         document open.
11721
11722 2002-03-27  Herbert Voss  <voss@lyx.org>
11723
11724         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11725         and text%
11726
11727 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * bufferview_funcs.C (currentState): only show paragraph number
11730         for is DEVEL_VERSION is set.
11731
11732         * lyxfunc.C (dispatch): put warning in INFO channel
11733
11734         * MenuBackend.C (expand): translate the name of floats
11735
11736         * FloatList.C (FloatList): mark the float names for translation
11737
11738         * converter.C (convert): use LibScriptSearch
11739
11740 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * MenuBackend.C (defaults): fix default menu (we might as well get
11743         rid of it...)
11744
11745 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11748         directory.
11749
11750 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * lyxvc.C: reorder includes.
11753
11754 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11757           properly
11758
11759 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * CutAndPaste.C: change layouts earlier on paste
11762           to avoid crashing when calling getFont()
11763
11764 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11767         irritating #error.
11768
11769 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * WorkArea.C: remove 'Pending' debug message.
11772
11773         * most files: ws cleanup
11774
11775         * buffer.[Ch]: ws changes
11776
11777         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11778
11779 2002-03-21  Juergen Vigna  <jug@sad.it>
11780
11781         * tabular.C (SetMultiColumn): collapse also the contents of the
11782         cells and set the last border right. Added a Buffer const * param.
11783
11784 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11787         linking or not.
11788
11789 2002-03-19  Juergen Vigna  <jug@sad.it>
11790
11791         * text2.C (clearSelection): reset also xsel_cache.
11792
11793         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11794         where it needs to be called (John tells us to do so too :)
11795         (selectionLost): reset sel_cache.
11796
11797         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11798
11799 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * text2.C (setCursorIntern): put debuging code in INSETS channel
11802
11803 2002-03-19  André Pönitz <poenitz@gmx.net>
11804
11805         * lyxfunc.C: tiny whitespace change
11806
11807 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * ToolbarDefaults.C (init):
11810         * LyXAction.C (init):
11811         * commandtags.h:
11812         * BufferView_pimpl.C (Dispatch):
11813         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11814
11815 2002-03-19  Allan Rae  <rae@lyx.org>
11816
11817         * exporter.C (Export): removeAutoInsets before doing anything else.
11818         While I've just introduced a dependency on BufferView this really is
11819         the best place to clean the buffer otherwise you need to cleanup in
11820         a dozen places before calling export or cleanup in a dozen functions
11821         that export calls.
11822
11823         * converter.C (runLaTeX):
11824         (scanLog): Better handling of removeAutoInsets and screen updates.
11825
11826         * lyxfunc.C (dispatch): small whitespace changes
11827
11828 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * WorkArea.C (C_WorkAreaEvent): return a value.
11831         (event_cb): return 1 if we handled the event, 0 otherwise.
11832
11833         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11834
11835 2002-03-18  Juergen Vigna  <jug@sad.it>
11836
11837         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11838         (GetAdditionalWidth): ditto.
11839         (RightLine): ditto.
11840         (LeftLine): ditto.
11841
11842         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11843         inset if we're there actually (probably not used right now but this
11844         is the direction to go for unifying code).
11845         (paste): disable code to clear the selection.
11846
11847         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11848         inside an InsetText and move the check further up as it is in the
11849         wrong place.
11850
11851         * text2.C (pasteSelection): set a selection over the pasted text.
11852
11853 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11854
11855         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11856         and libgraphics to build on Cygwin.
11857
11858 2002-03-15  Juergen Vigna  <jug@sad.it>
11859
11860         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11861         inserting an Inset into the paragraph. I know this is not the best
11862         fix but we already use current_view in CutAndPaste so we will remove
11863         all of it's using at the same time.
11864
11865         * buffer.C (sgmlError): deactivated function till it is rewritten in
11866         the right mode, now it can create problems.
11867
11868         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11869         before accessing it.
11870
11871 2002-03-14  Juergen Vigna  <jug@sad.it>
11872
11873         * undo_funcs.C (textHandleUndo): do the right thing when updating
11874         the inset after the undo/redo.
11875
11876         * text2.C (setCursor): just some testcode for #44 not ready yet.
11877
11878         * undo_funcs.C (textHandleUndo): set the next() and previous()
11879         pointers of the paragraph to 0 before deleting otherwise we have
11880         problems with the Paragraph::[destructor].
11881
11882         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11883         on a paragraph insertion.
11884
11885 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * buffer.C (asciiParagraph): use += operator for char append to
11888         string.
11889
11890         * paragraph.C (getFontSettings): compare >= not just >
11891         (highestFontInRange): ditto
11892         (setFont): ditto
11893
11894 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * paragraph.C: change several algorithm to be more appripriate for
11897         the problem domain. This is lookip in FontList and in the InsetList.
11898
11899 2002-03-13  André Pönitz <poenitz@gmx.net>
11900
11901         * commandtags.h:
11902         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11903
11904 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * commandtags.h:
11907         * LyXAction.C:
11908         * lyxfunc.C:
11909         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11910
11911 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * Painter.C (display): anon helper function, adjust code for this
11914         change.
11915         (pixmap): remove function.
11916
11917         * Painter.h: remove private display variable.
11918
11919         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11920
11921 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11922
11923         * WorkArea.[Ch]: remove figinset_canvas cruft.
11924
11925 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * lyxtextclass.C (operator): add one item cache optimization.
11928
11929         * bufferlist.h: doxy changes
11930
11931         * bufferlist.C: ws changes
11932
11933         * DepTable.[Ch] (ext_exist): place const in the right spot.
11934
11935         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11936         call resizeInsets.
11937         (workAreaExpose): call resizeInsets when the with BufferView changes.
11938         (Dispatch): adjust for protectedBlank removal
11939         (specialChar): call updateInset if the insert went ok.
11940
11941         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11942         specialChar instead.
11943
11944         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11945
11946         * BufferView.h: doxy change
11947
11948         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11949
11950         * lyxtextclass.C (operator[]): remove non-const version
11951         (defaultLayout): remove non-const version
11952
11953 2002-03-12  Juergen Vigna  <jug@sad.it>
11954
11955         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11956         did resize the LyXText too.
11957
11958         * buffer.C (readLyXformat2): set layout information on newly allocated
11959         paragraphs.
11960
11961         * tabular.C (OldFormatRead): set layout information on the paragraph.
11962
11963 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11964
11965         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11966
11967 2002-03-11  Juergen Vigna  <jug@sad.it>
11968
11969         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11970         plainly wrong.
11971         (resizeCurrentBuffer): force also the insets to resize themselfes.
11972         (moveCursorUpdate): fixed up for InsetText.
11973
11974 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11975
11976         * commandtags.h:
11977         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11978         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11979         value of Dialogs::tooltipsEnabled().
11980         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11981
11982 2002-03-08  Juergen Vigna  <jug@sad.it>
11983
11984         * BufferView_pimpl.C (updateInset): update inset inside inset also
11985         if it isn't inside theLockingInset().
11986
11987 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * buffer.C (asciiParagraph): redo some of the word and line length
11990         handling.
11991         (getLists): look for Caption instead of caption.
11992
11993 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11994
11995         * buffer.C (Buffer): initialize niceFile to true
11996         (makeLaTeXFile):
11997         (makeLinuxDocFile):
11998         (makeDocBookFile): make sure niceFile is true on exit
11999
12000 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12003
12004 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12005
12006         * LyXSendto.C: remove.
12007         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12008         * lyx_gui.C: remove now-redundant comment.
12009         * ColorHandler.h: remove forward declaration of class WorkArea.
12010         * lyxfunc.C: remove #include "WorkArea.h".
12011
12012 2002-03-07  Juergen Vigna  <jug@sad.it>
12013
12014         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12015         got moved away with the DEPM and also set the inset_owner always
12016         right which before could have been omitted.
12017
12018 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12019
12020         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12021         wanted layout is not found.
12022
12023 2002-03-07  Juergen Vigna  <jug@sad.it>
12024
12025         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12026
12027 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * paragraph.C (breakParagraph): use default layout not layout of
12030         prev paragraph.
12031         (Paragraph): clear ParagraphParameters.
12032
12033 2002-03-06  Juergen Vigna  <jug@sad.it>
12034
12035         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12036         otherwise it would not be a valid lenght. Fixed a special case in
12037         the minipage compatibility read where we end the document with a
12038         minipage.
12039
12040         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12041         was set as it could be 0 for InsetTexts first entry.
12042
12043 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * paragraph.C (writeFile): if layout is empty write out
12046         defaultLayoutName().
12047
12048         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12049         file without named layout we set layout to defaultLayoutName().
12050
12051 2002-03-06  Juergen Vigna  <jug@sad.it>
12052
12053         * CutAndPaste.C (copySelection): set layout for new paragraph.
12054
12055         * text.C (prepareToPrint): leave ERT inset left aligned
12056         (leftMargin): don't indent paragraphs inside ERT insets
12057
12058 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * paragraph.C (breakParagraph): dont call clear do the work manually
12061
12062         * paragraph.[Ch] (clear): remove function
12063
12064 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * paragraph.C (Paragraph): dont call clear, the work has already
12067         been done.
12068
12069         * lyxtextclass.C (operator): assert if n is empty
12070
12071         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12072         work manually instead.
12073
12074 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * BufferView_pimpl.C: protect selectionLost against text == 0
12077
12078 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * text.C (breakParagraph): fix a setting layout to '0' problem.
12081
12082 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12083
12084         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12085         final location of file, for the included files, and graphics.
12086
12087 2002-03-05  Juergen Vigna  <jug@sad.it>
12088
12089         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12090
12091 2002-03-04  Juergen Vigna  <jug@sad.it>
12092
12093         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12094
12095         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12096         last column of multicolumn cells.
12097         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12098
12099 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12100
12101         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12102         file if it doesn't go to a temporary file.
12103
12104         * buffer.C (sgmlOpenTag):
12105         (sgmlCloseTag):  remove extra newline insertion.
12106
12107 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * text.C (getRowNearY): comment out debug msg
12110
12111 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * text2.C: first -> first_y
12114
12115         * text.C (getRowNearY): add some attemts at a possible
12116         optimization, not working.
12117
12118         * tabular.[Ch]: add BufferParams to several function so that newly
12119         created paragraph can be initialized to he default layotu for the
12120         buffers textclass.
12121
12122         * tabular-old.C (ReadOld): add buf->params to call of Init
12123
12124         * screen.C: rename text->first to text->first_y
12125
12126         * paragraph.C (breakParagraph): always set layout in the broken
12127         paragraph
12128
12129         * lyxtextclass.C (Read): remove lowercase
12130         (hasLayout): ditto
12131         (operator): ditto
12132         (delete_layout): ditto
12133
12134         * lyxtext.h: rename first -> first_y
12135
12136         * lyxlayout.C (Read): remove lowercase
12137         (name): ditto
12138         (setName): ditto
12139         (obsoleted_by): ditto
12140
12141         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12142
12143         * buffer.C (insertErtContents): add params are to InsetERT
12144         (parseSingleLyXformat2Token): add code to check if a paragraphs
12145         layout really exist.
12146         (parseSingleLyXformat2Token): add params to several inset
12147         constructors
12148         (asciiParagraph): remove lowercase, do the layout comparisons with
12149         no_case
12150
12151         * BufferView_pimpl.C (cursorNext): first -> first_y
12152         (resizeCurrentBuffer): first -> first_y
12153         (updateScrollbar): first -> first_y
12154         (scrollCB): first -> first_y
12155         (workAreaMotionNotify): first -> first_y
12156         (workAreaButtonPress): first -> first_y
12157         (checkInsetHit): first -> first_y
12158         (cursorPrevious): first -> first_y
12159         (cursorNext): first -> first_y
12160         (Dispatch): add buffer_->params to severl inset contructors
12161
12162 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * lyxlayout.C (Read): remove some debug info that I forgot.
12165
12166         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12167         clean up the code slightly.
12168         (makeLinuxDocFile): ditto
12169         (makeDocBookFile): ditto
12170
12171         * text2.C: layout as string
12172
12173         * text.C: layout as string
12174
12175         * paragraph_pimpl.C: layout as string
12176
12177         * paragraph.[Ch]: layout as string
12178
12179         * lyxtextclasslist.[Ch]: layout as string
12180
12181         * lyxtextclass.[Ch]: layout as string
12182
12183         * lyxtext.h: layout as string
12184
12185         * lyxlayout.[Ch]: layout as string
12186
12187         * lyx_cb.C: layout as string
12188
12189         * bufferview_funcs.C: layout as string
12190
12191         * bufferparams.C: layout as string
12192
12193         * buffer.C: layout as string
12194
12195         * LyXView.[Ch]: layout as string
12196
12197         * LaTeXFeatures.[Ch]: layout as string
12198
12199         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12200
12201         * BufferView_pimpl.C: change current_layout to string, remove
12202         lyx::layout_type.
12203         (Dispatch):
12204         (smartQuote):
12205         (insertInset):
12206         (workAreaButtonRelease): layout as string
12207
12208         * BufferView2.C (unlockInset): adjust
12209
12210         * vspace.C (asLatexCommand): use an explict temp variable.
12211
12212 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * Makefile.am: use FRONTEND_*
12215
12216 2002-03-01  Juergen Vigna  <jug@sad.it>
12217
12218         * tabular.C (SetWidthOfMulticolCell): changed to something better
12219         I hope but still work in progress.
12220         (recalculateMulticolumnsOfColumn): renamed function from
12221         recalculateMulticolCells as it is more appropriate now.
12222         (SetWidthOfCell): calculate multicols better.
12223
12224 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12225
12226         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12227
12228         * lyxfunc.C (processKeySym): print sequence also if it is
12229         `deleted' (complete)
12230
12231         * kbsequence.C (print): print sequence even if it is deleted
12232         (complete would be a better word, actually).
12233
12234         * lyxfunc.C (dispatch): print complete options after a prefix key
12235
12236         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12237
12238 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12239
12240         * text2.C (setCharFont): eliminate setCharFont code duplication.
12241
12242 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12243
12244         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12245         LFUN_TABULAR_FEATURE (bug #177)
12246
12247 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12248
12249         * Makefile.am: remove figure.h
12250
12251 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * Bufferview_pimpl.C:
12254         * CutAndPasteC:
12255         * LaTeX.C:
12256         * LyXSendto.C:
12257         * buffer.C:
12258         * bufferlist.C:
12259         * converter.C:
12260         * language.C:
12261         * lyxfunc.C:
12262         * lyxvc.C:
12263         * paragraph.C:
12264         * text.C:
12265         * text2.C: remove #include "lyx_gui_misc.h".
12266
12267         * LaTeX.C: added #include <cstdio>
12268
12269 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12272         that the paragraph following this one can have.
12273
12274         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12275
12276         * vspace.C (asLatexCommand): fix bogus gcc warning
12277
12278         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12279
12280 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12281
12282         * text2.C (setLayout): get rid of redundant code
12283
12284 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12285
12286         * text2.C (incDepth): make sure depth cannot be increased beyond
12287         reasonable values.
12288
12289 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12290
12291         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12292         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12293
12294         * PainterBase.h (image):
12295         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12296         a LyXImage const *.
12297
12298 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * BufferView.C:
12301         * BufferView.h:
12302         * BufferView_pimpl.C:
12303         * BufferView_pimpl.h:
12304         * LaTeXFeatures.C:
12305         * LyXAction.C:
12306         * LyXView.C:
12307         * Makefile.am:
12308         * UpdateList.h:
12309         * UpdateList.C:
12310         * buffer.C:
12311         * figure.h:
12312         * figureForm.C:
12313         * figureForm.h:
12314         * figure_form.C:
12315         * figure_form.h:
12316         * lyx_cb.C:
12317         * lyx_gui.C:
12318         * lyx_gui_misc.C:
12319         * lyxfunc.C:
12320         * sp_base.h:
12321         * sp_ispell.h:
12322         * sp_pspell.h:
12323         * sp_spell.C: remove fig inset, and the crap house of
12324           cards that follows it
12325
12326 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * Makefile.am:
12329         * lyxserver.C:
12330         * os2_defines.h:
12331         * os2_errortable.h:
12332         * nt_defines.h: move .h into support/
12333
12334         * vms_defines.h: remove
12335
12336         * WorkArea.C: add space in debug output
12337
12338         * text2.C:
12339         * paragraph.C:
12340         * buffer.C: add WITH_WARNINGS
12341
12342         * vc-backend.h:
12343         * vc-backend.C:
12344         * bufferlist.C: s/retrive/retrieve/, add docs
12345
12346         * vspace.h:
12347         * vspace.C:
12348         * kbmap.h:
12349         * lyxlength.h:
12350         * lyxgluelength.h:
12351         * length_common.h:
12352         * chset.h:
12353         * chset.C: add docs
12354
12355         * lyxgui.C: add ID to X error handler
12356
12357         * lyxtestclass.c: fix typo
12358
12359 2002-02-26  Juergen Vigna  <jug@sad.it>
12360
12361         * tabular_funcs.C (write_attribute): changed so that some default
12362         attributes are not written at all.
12363         (getTokenValue): set default values before trying to read the
12364         value so we have the return value always set as default if we don't
12365         find the token we search for.
12366
12367         * tabular.C (Write): write bools as bools not as strings!
12368
12369 2002-02-22  Juergen Vigna  <jug@sad.it>
12370
12371         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12372         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12373
12374         * text.C (leftMargin): don't add an indent for paragraphs inside
12375         tabular cells (fix #208).
12376
12377 2002-02-21  José Matos  <jamatos@fep.up.pt>
12378
12379         * tabular.C (docBook): fixed support for long tables.
12380
12381 2002-02-20  Juergen Vigna  <jug@sad.it>
12382
12383         * text2.C (getFont): get the drawing font of the Inset if this
12384         paragraph is inside an inset (only important for InsetERT for now).
12385
12386         * buffer.C (insertErtContents): use new lanugage params in ERT
12387         constructor.
12388
12389         * CutAndPaste.C: commenting out seemingly uneeded code.
12390
12391 2002-02-19  Allan Rae  <rae@lyx.org>
12392
12393         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12394         Iterators might be simple to use but they also get invalidated.
12395         (removeAutoInsets): renamed saved cursor tracking variables and added
12396         some comments to clarify what everything does.
12397
12398 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12399
12400         * Chktex.C:
12401         * LaTeX.C:
12402         * LyXSendto.C:
12403         * converter.C:
12404         * lyx_cb.C:
12405         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12406         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12407
12408         * lyxfunc.C:
12409         * vc-backend.h: remove #include "support/syscall.h"
12410
12411         * LaTeX.C:
12412         * LyXSendto.C:
12413         * converter.C: rearrange #includes in Lars' approved fashion.
12414
12415         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12416         forward declare class Timeout in the header file.
12417
12418         * XFormsView.C: changes due to the above.
12419
12420         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12421         similar to LyXView.
12422
12423         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12424         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12425
12426 2002-02-18  José Matos  <jamatos@fep.up.pt>
12427
12428         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12429         insets contents.
12430
12431 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12432
12433         * a lot of small ws changes
12434         * add a lot of using std::XXX
12435         * use std construcs some places where approp.
12436         * use some exisint stuff from lyxfunctional where approp.
12437         * Make file changes to use partial linking (lets test this now...)
12438
12439 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * Chktex.C:
12442         * buffer.C:
12443         remove #include "support/syscontr.h" as it's redundant. Always has been.
12444
12445         * Chktex.C:
12446         * LaTeX.C:
12447         * LyXSendto.C:
12448         * converter.C:
12449         * lyx_cb.C:
12450         * vc-backend.C:
12451         change Systemcalls::System to Systemcalls::Wait and
12452         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12453         No change of functionality, just reflects the stripped down Systemcalls
12454         class.
12455
12456 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * debug.[Ch]: add a GRAPHICS type to the enum.
12459
12460 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12463
12464         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12465         there is an inset.
12466
12467 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12468
12469         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12470         match the changes below.
12471
12472         * text2.C (toggleInset): if there is not editable inset at cursor
12473         position, try to see if cursor is _inside_ a collapsable inset
12474         and close it.
12475
12476 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12479         document menu has a nice checkbox
12480
12481 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * lyxlength.C (asLatexString): change PW to output as percent of
12484         \textwidth.
12485
12486         * lengthcommon.C: change '%' to 't%'
12487
12488         * lyxfunc.C (dispatch): a few comments from Martin
12489
12490 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * WorkArea.h:
12493         * WorkArea.C:
12494         * BufferView_pimpl.h:
12495         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12496           the X selection.
12497
12498 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12499
12500         * vspace.C (inPixels): fix compiler warning
12501
12502 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * lyxfunc.C (getStatus): fix status message for disabled commands.
12505
12506 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * BufferView_pimpl.C: fix crash on close buffer
12509         during selection (#227)
12510
12511 2002-01-27  Herbert Voss  <voss@lyx.org>
12512
12513         * buffer.C: link old Figure to new graphic inset
12514
12515 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12516
12517         * FontLoader.C (getFontinfo): Change the latex font names in order
12518         to match the names of type1inst.
12519
12520 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12521
12522         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12523
12524         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12525         (extchanged): ditto
12526         (ext_exist): ditto
12527         (remove_files_with_extension): ditto
12528         (remove_file): ditto
12529         (write): ditto
12530
12531         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12532         document is smaller than the work area height. Do not initialize
12533         static variables to 0.
12534
12535 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12538
12539         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12540         LFUN_LAYOUT_PARAGRAPHS.
12541
12542         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12543         tabular. It is possible to provide a possible cell, which will
12544         typically be the actcell from the corresponding insettabular
12545
12546         * lyxfunc.C (getStatus): small cleanup; disable
12547         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12548         true
12549
12550 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12553
12554         * paragraph.C (startTeXParParams):
12555         (endTeXParParams): new methods. The LaTeX code to
12556         start/end paragraph formatting
12557         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12558         empty (fixes bug #200)
12559
12560         * vspace.C (inPixels): adapt to the change below
12561         (inPixels): [later] more cleanups (remove unused variables)
12562
12563         * lyxlength.C (inPixels): change to use a width and a height as
12564         parameter.
12565
12566 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12567
12568         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12569         Replaced with \paperwidth
12570
12571         * DepTable.C (insert): add std:: qualifier
12572
12573 2002-01-18  Allan Rae  <rae@lyx.org>
12574
12575         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12576         updated also?
12577
12578         * text.C (drawInset): Turned out I didn't know enough about how
12579         rebreaking worked.  This fixes most of the redraw problems.  I see
12580         an occasional cursor trail when a line is broken now and the cursor
12581         placement can seem out by a few pixels also after a rebreak.
12582
12583 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * buffer.C (parseSingleLyXformat2Token): update because minipage
12586         width is now a LyXLength
12587
12588         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12589
12590         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12591         math insets
12592
12593 2002-01-17  Juergen Vigna  <jug@sad.it>
12594
12595         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12596
12597         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12598         is set correctly and the inset is updated correctly.
12599
12600 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12601
12602         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12603         the beginning of the loop.
12604
12605 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * lyxrc.C: improve help for use_scalable_fonts
12608
12609 2002-01-17  Allan Rae  <rae@lyx.org>
12610
12611         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12612
12613 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12616         make sure to set their inset_owner to the right value (bug #171)
12617
12618 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12619
12620         * DepTable.h
12621         * DepTable.C: Implement mtime checking to reduce time spent doing
12622         CRCs.
12623
12624 2002-01-16  Juergen Vigna  <jug@sad.it>
12625
12626         * tabular.C (GetAdditionalHeight): one of error fixed.
12627
12628         * lyxrc.C (output): small fix in writing use_pspell.
12629
12630 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12631
12632         * sp_base.h: #include LString.h
12633
12634 2002-01-16  Allan Rae  <rae@lyx.org>
12635
12636         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12637         Can someone check this please?
12638
12639         * text.C (drawInset): It was possible that p.row would be removed by
12640         breakAgainOneRow upsetting a few other settings.  There may be another
12641         small tweak possible by setting need_break_row = 0 when p.row has been
12642         removed but I don't know enough about the logic here.
12643
12644 2002-01-15  Allan Rae  <rae@lyx.org>
12645
12646         * text.C (insertChar): removed conditional truism.
12647
12648         * BufferView2.C (removeAutoInsets): More tweaks.
12649         cur_par_prev could be a stray pointer.  Check for trailing empty line
12650         in case last line was cur_par and only had an error inset on it.
12651
12652 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12655         absolute
12656
12657         * vc-backend.C (most methods):
12658         * exporter.C (Export):
12659         * converter.C (convert):
12660         (runLaTeX):
12661         * LyXSendto.C (SendtoApplyCB):
12662         * lyxfunc.C (dispatch):
12663         (menuNew):
12664         (open):
12665         (doImport):
12666         * lyx_cb.C (AutoSave):
12667         (InsertAsciiFile):
12668         * BufferView_pimpl.C (MenuInsertLyXFile):
12669         * buffer.C (runChktex): use Buffer::filePath().
12670
12671         * buffer.h: rename filename to filename_; rename filepath to
12672         filepath_ and make it private
12673         (filePath): new method
12674
12675         * buffer.C (writeFile): use fileName()
12676         (getLatexName):
12677
12678         * lyx_main.C (init): fix starting  of LyX when the binary is a
12679         link from so,ewhere else.
12680
12681         * minibuffer.C: include <cctype> for isprint
12682
12683 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12686         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12687         name clash with InsetCollapsable's width function.
12688
12689 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * lastfiles.C: include <iterator>
12692
12693 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12696         std::count.
12697
12698         * buffer.C (makeLaTeXFile): ditto.
12699         Also make loop operation more transparent.
12700
12701 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12702
12703         * ToolbarDefaults.C: remove trailing comma closing namespace.
12704
12705         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12706
12707         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12708         as in WorkArea.
12709
12710         * trans.C (Load): comment out unused variable, allowed.
12711
12712 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * minibuffer.[Ch] (append_char): new method to recieve input from the
12715         drop-down completion browser. If a key was pressed, then recieve this
12716         char and append it to the existing string.
12717         (peek_event): modify the positioning data passed to the completion
12718         browser so that it can be placed above the minibuffer rather than below.
12719 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * LyXAction.C (init): alloe error-next for readonly documents.
12722
12723         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12724         count.
12725
12726 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * bufferlist.C (readFile): create the buffer _after_ checking that
12729         the file exists.
12730
12731         * lyxfunc.C (verboseDispatch): fix handling of arguments
12732
12733         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12734
12735         * lyxrc.C: use string::erase() instead of initializing to "".
12736
12737
12738 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12739
12740         * BufferView_pimpl.h:
12741         * BufferView_pimpl.C:
12742         * WorkArea.h:
12743         * WorkArea.C:
12744         * text2.C: tell X when we have made a selection for copying
12745
12746 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * BufferView_pimpl.C (MenuInsertLyXFile):
12749         * lyxfunc.C (menuNew):
12750         (open):
12751         (doImport): add shortcuts to directory buttons
12752
12753         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12754         open a float)
12755
12756         * lyxfunc.C (setStatusMessage):
12757         (getStatusMessage): new methods
12758         (getStatus):use setStatusMessage instead of setErrorMessage
12759         (dispatch): when function is disabled, set error message here
12760         [instead of in getStatus previously]
12761
12762         * BufferView_pimpl.C (workAreaButtonRelease): update
12763         toolbar/menubar here too.
12764
12765 2002-01-13  Allan Rae  <rae@lyx.org>
12766
12767         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12768         Now seems indestructible.  Remaining task is to audit all other
12769         code affected by deleteEmptyParagraphMechanism.  One small quirk
12770         left is that an empty document with an error in the preamble can
12771         be made to report an error but no error box appears.  I don't know
12772         where it goes.
12773         (removeAutoInsets): Improved comments.
12774
12775 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * Thesaurus.h:
12778         * Thesaurus.C: update for Aiksaurus 0.14
12779
12780 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * text2.C (firstParagraph): removed member function, all uses
12783         replaces with ownerParagraph
12784         (redoParagraphs): here
12785         (updateInset): here
12786         (toggleAppendix): here
12787         * BufferView2.C (insertErrors): here
12788         (setCursorFromRow): here
12789
12790 2002-01-13  Allan Rae  <rae@lyx.org>
12791
12792         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12793         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12794         There is still a way to segfault this although you may have to do this
12795         multiple times: Have an InsetERT with an unknown command in it.
12796         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12797         <down-arrow>, <Enter> again, View->DVI, BANG!
12798
12799         * text2.C (setCursor):
12800         (deleteEmptyParagraphMechanism):
12801         * lyxtext.h (setCursor):
12802         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12803         Making use of the return value may help fix other bugs.
12804
12805 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12806
12807         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12808
12809         * LyXView.C (updateMenubar): call MenuBar::update here
12810         (updateToolbar): but not here
12811         (showState): do not update toolbar/menubar
12812
12813         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12814         should need to care about that.
12815
12816         * lyxfunc.C (verboseDispatch): simplify a bit
12817         (getStatus): have a version which takes a pseudoaction, and
12818         another which requires a (kb_action,string).
12819
12820         * LyXAction.C (retrieveActionArg): make it work also when action
12821         is not a pseudo-action.
12822         (getActionName): simplify a bit
12823         (helpText):
12824
12825 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * lyxfunc.C (verboseDispatch): new families of methods with
12828         several ways to specify a command and a bool to indicate whether
12829         the command name and shortcut should be displayed in minibuffer
12830         (eventually, we could extend that to a finer bitmask like
12831         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12832         (dispatch): the pristine dispatch command which just, well,
12833         dispatchs! Note it still sets its result to minibuffer; I'm not
12834         sure we want that.
12835
12836         * lyxfunc.h: remove setHintMessage
12837
12838         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12839
12840 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12841
12842         * BufferView_pimpl.C (specialChar): delete new inset if we have
12843         not been able to insert it.
12844
12845         * kbmap.C: revert to using int instead of kb_action, since all we
12846         are dealing with is pseudo-actions.
12847
12848         * LyXAction.C (searchActionArg): change to return int instead of
12849         kb_action, since the result is a pseudoaction.
12850
12851 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12852
12853         * buffer.C (insertErtContents): Fix (partially) the font bug.
12854
12855 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12858         as the other one is broken on my machine!
12859
12860 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12861
12862         * commandtags.h:
12863         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12864
12865 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12866
12867         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12868         reflect their actual use. Provide compatibility code for older lyxrc
12869         files.
12870
12871         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12872         FL_NORMAL_STYLE.
12873         change names of popup font variables in line with the changes to lyxrc.C
12874
12875 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12876
12877         * buffer.C (asciiParagraph): avoid outputing a word twice after
12878         an inset.
12879
12880         * lyxrc.C (getDescription): document that document_path and
12881         template_path can be empty.
12882
12883 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * LaTeXFeatures.C (getMacros):
12886         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12887
12888         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12889
12890         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12891         getPackages.
12892         (getPackages): rename feature "floats" to "float". Use an array to
12893         iterate over 'simple' features (i.e. just a \usepackage). Add
12894         handling of "amsmath" (renamed from "amsstyle").
12895
12896 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12897
12898         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12899         features list.
12900
12901 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12902
12903         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12904         FuncStaus::FuncStatus & FuncStaus::some_method().
12905
12906 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12907
12908         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12909         of the func_satus stuff. Edited and massaged in various ways by
12910         JMarc.
12911
12912         * lyxfunc.C (getStatus): use FuncStatus
12913
12914 2002-01-08  Juergen Vigna  <jug@sad.it>
12915
12916         * text.C (nextBreakPoint): use function Inset::isChar().
12917
12918         * paragraph.C (TeXOnePar): use function
12919         Inset::forceDefaultParagraphs.
12920
12921         * buffer.C (latexParagraphs): use function
12922         Inset::forceDefaultParagraphs.
12923
12924 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * lyx_gui.C (init): set the style of the menu popups to
12927         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12928
12929 2002-01-07  Juergen Vigna  <jug@sad.it>
12930
12931         * text.C (setHeightOfRow): small fix
12932         (prepareToPrint): don't look at alignment if we don't have the place
12933         for doing it.
12934
12935 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * box.C: New file. Move the Box methods and functions out of box.h,
12938         following Lars' suggestion.
12939
12940 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12941
12942         * box.h: #include "support/LOstream.h", needed for inlined function.
12943
12944         * lyxtextclass.C:
12945         * lyxtextclasslist.C: added some using std declarations.
12946
12947 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * box.h: make signed dimensions to allow insets wider than
12950           the screen (bug #162)
12951
12952         * BufferView_pimpl.C: add some insetHit debug
12953
12954 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * vc-backend.C: add FIXME
12957
12958 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12959
12960         * lyxfunc.C (getStatus): enable code for showing math font status
12961         in toolbar/menu.
12962
12963 2002-01-07  Juergen Vigna  <jug@sad.it>
12964
12965         * text.C (nextBreakPoint): removed debug output not needed anymore.
12966
12967 2002-01-06  Juergen Vigna  <jug@sad.it>
12968
12969         * text.C (nextBreakPoint): fixed up this function we had this bug
12970         since ever but now hopefully we break row better.
12971         (insertChar): we have to check if an inset is the next char as it
12972         could now happen that a large inset is causing a break.
12973
12974 2002-01-05  Juergen Vigna  <jug@sad.it>
12975
12976         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12977         if it doesn't like to be drawed.
12978
12979 2002-01-04  Juergen Vigna  <jug@sad.it>
12980
12981         * BufferView2.C (lockInset): forgot to set a cursor.
12982
12983         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12984
12985 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12986
12987         * FormMathsPanel.C:
12988         * FormMathsPanel.h
12989         * MathsSymbols.C:
12990         * form_maths_panel.C:
12991         * form_maths_panel.h:
12992         * form_maths_panel.fd: implemented sub- and super- buttons in math
12993         panel.
12994
12995         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12996         (or ^ space) to be used as in TeX (req'd by André).
12997
12998         * lyxfunc.C: Allow ^ and _ again to be used both as
12999         super/subscript (mathed) and as themselves (in text).
13000
13001 2002-01-03  Allan Rae  <rae@lyx.org>
13002
13003         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13004         "LyX" or the filename of the current buffer if it has one.  This is a
13005         modified form of John Levon's patch.
13006
13007         * XFormsView.C (setWindowTitle): also set icon title.
13008
13009         * LyXView.h (setWindowTitle): signature changed.
13010         * XFormsView.h (setWindowTitle): ditto.
13011
13012 2002-01-02  Juergen Vigna  <jug@sad.it>
13013
13014         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13015
13016 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * screen.C (topCursorVisible): introduce a temp var for
13019         text->cursor.row(), handle the case where this row is null. (kindo
13020         hachish)
13021
13022         * text2.C (setCursor): add a couple of asserts.
13023
13024         * paragraph.h (inset_iterator): add -> operator
13025
13026         * paragraph.[Ch] (autoDeleteInsets): remove member function
13027
13028         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13029         cursor pos correctly and handle inset deletion by itself.
13030         (insertErrors): move iterator declaration out of for expression
13031
13032         * lyxtextclass.C: add <algorithm>
13033
13034         * Makefile.am: added the new files to sources, removed layout.C
13035
13036         * layout.C: removed file
13037
13038         * layout.h: remove LYX_DUMMY_LAYOUT
13039
13040         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13041         layout.
13042
13043         * lyxlayout.[Ch]:
13044         * lyxtextclass.[Ch]:
13045         * lyxtextclasslist.[Ch]: new files
13046
13047         * include order changes to a lot of files, also changes because of
13048         the six new files.
13049
13050 2001-12-27  Juergen Vigna  <jug@sad.it>
13051
13052         * buffer.C (asciiParagraph): more fixes.
13053
13054         * tabular.C (ascii): make ascii export support export of only the
13055         data separated by a column-delimiter.
13056         (ascii): better support for ascii export.
13057
13058         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13059
13060 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13061
13062         * tabular_funcs.C: use a "using std::getline" instead of the
13063         previous fix from Angus (necessary for cxx + lyxstring)
13064
13065 2001-12-24  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13068
13069         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13070         problems. First check a minipage also if we have some ert-contents
13071         (not only on par->size(), second set the right depth of the paragraph
13072         on the relink to the root-paragraph-list!
13073
13074         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13075         which then did not anymore update the main paragraphs on undo/redo!
13076
13077 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13080         code. Support all font-changing funcs (even those which are not in
13081         menu currently). Support for reporting font settings in
13082         mathed (disabled until Andre provides a function on mathed's side).
13083
13084         * func_status.h (toggle): small helper function to set toggle
13085         state on a flag.
13086
13087 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * tabular_funcs.C: getline -> std::getline
13090
13091 2001-12-21  Juergen Vigna  <jug@sad.it>
13092
13093         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13094         accessed and could be 0 (I couldn't generate this but it seems
13095         Michael could!).
13096
13097 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13100         * tabular_funcs.h: here and include iosfwd
13101
13102 2001-12-20  Juergen Vigna  <jug@sad.it>
13103
13104         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13105         inside inset but undo_par was.
13106
13107 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * Thesaurus.C: always include <config.h> in sources.
13110
13111         * Painter.h:
13112         * lyxlookup.h:
13113         * box.h: do not include <config.h> in header files
13114
13115         * text.C (paintLastRow): remove unused variable
13116
13117         * text.C (transformChar):
13118         (insertChar):
13119         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13120
13121         * Painter.C (text):
13122         * font.C (width): rewrite to use uppercase() instead of
13123         islower/toupper.
13124
13125         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13126
13127 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13128
13129         * lyxfind.C: clean up of find failure position change
13130
13131 2001-12-20  Juergen Vigna  <jug@sad.it>
13132
13133         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13134
13135         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13136         (TeXRow): added to LaTeX a single tabular row.
13137         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13138         (Latex): simplified and finally good LT-h/f support.
13139         (various_functions): just small adaptions for LT-h/f support.
13140
13141         * tabular_funcs.[hC]: added and moved here all not classfunctions
13142         of LyXTabular.
13143
13144 2001-12-19  Juergen Vigna  <jug@sad.it>
13145
13146         * tabular.[Ch]: better support for longtabular options (not finished
13147         yet!)
13148
13149 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13150
13151         * text.C (paintLastRow): use the label font instead of the font of
13152         the last character to compute the size of *_BOX. This makes more
13153         sense and avoids a crash with empty paragraphs.
13154         Use Painter::rectangle to draw EMPTY_BOX.
13155
13156 2001-12-19  Juergen Vigna  <jug@sad.it>
13157
13158         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13159         the paragraphs if the replaced paragraph is not the first one!
13160         Tried to delete not used paragraphs but does not work yet so for
13161         now it's inside #ifdef's and by default off!
13162
13163 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13164
13165         * MenuBackend.C: include "lyx_main.h" instead of declaring
13166         lastfiles (actually was declared as LastFiles* instead of a
13167         scoped_ptr).
13168
13169 2001-12-17  Juergen Vigna  <jug@sad.it>
13170
13171         * tabular.C (AppendColumn): applied John's fix
13172
13173 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * BufferView.h:
13176         * BufferView.C:
13177         * BufferView_pimpl.h:
13178         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13179
13180         * Makefile.am:
13181         * box.h: new start of class for above
13182
13183         * lyxfunc.C: ignore space-only minibuffer dispatches.
13184           Show the command name when it doesn't exist
13185
13186         * minibuffer.C: don't add empty lines to the history
13187
13188         * minibuffer.C: add a space on dropdown completion
13189
13190 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * text.C: fix line above/below drawing in insets
13193
13194 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13195
13196         * lyxlength.C (LyXLength): Initialize private variables.
13197
13198 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13199
13200         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13201         when inserting error insets.
13202
13203 2001-12-13  Juergen Vigna  <jug@sad.it>
13204
13205         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13206         actually sometimes the before-paragraph.
13207         (setUndo): don't clear the redostack if we're not actually undoing!
13208
13209 2001-12-06  Juergen Vigna  <jug@sad.it>
13210
13211         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13212         and fixed redoing of main paragraph, so we can use it now ;)
13213
13214         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13215
13216 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13219         Juergen's request
13220
13221 2001-12-13  André Pönitz <poenitz@gmx.net>
13222
13223         * undostack.[Ch]:
13224         * undo_func.C: minor cleanup
13225
13226 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13227
13228         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13229         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13230         font in urw-fonts package which is marked as -urw-fontspecific and
13231         does not work (incidentally, changing the encoding in the
13232         fonts.dir of this package to -adobe-fontspecific fixes the
13233         problem).
13234
13235         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13236         is a crash when undoing first paragraph (Juergen, please take a
13237         look). THis does not mean the undo fix is wrong, just that it
13238         uncovers problems.
13239
13240         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13241         the (Paragraph*) version when needed instead of duplicating the
13242         code.
13243
13244         * text.C (workWidth): use Inset::parOwner to find out where the
13245         inset has been inserted. This is a huge performance gain for large
13246         documents with lots of insets. If Inset::parOwner is not set, fall
13247         back on the brute force method
13248
13249         * paragraph_pimpl.C (insertInset):
13250         * paragraph.C (Paragraph):
13251         (cutIntoMinibuffer): set parOwner of insets when
13252         inserting/removing them
13253
13254         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13255
13256 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13257
13258         * commandtags.h:
13259         * LyXAction.C:
13260         * lyx_main.C:
13261         * lyxfunc.C:
13262         * mathed/formulabase.C:
13263         * mathed/math_cursor.[Ch]:
13264         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13265
13266
13267 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * lyxlength.[Ch] (operator!=): new function
13270
13271 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * text.C (workWidth): use Inset::parOwner to find out where the
13274         inset has been inserted. This is a huge performance gain for large
13275         documents with lots of insets. If Inset::parOwner is not set, fall
13276         back on the brute force method
13277
13278         * paragraph_pimpl.C (insertInset):
13279         * paragraph.C (Paragraph):
13280         (cutIntoMinibuffer): set parOwner of insets when
13281         inserting/removing them
13282
13283         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13284
13285 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * tabular-old.C (getTokenValue):
13288         * tabular.C (getTokenValue):
13289         (write_attribute): new versions for LyXLength
13290         (everywhere): adjust the use of widths
13291
13292         * tabular.h: change the type of widths from string to LyXLength
13293
13294 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13295
13296         * paragraph.C: fixed missing line number count when exporting
13297         Environments to LaTeX file
13298
13299         * buffer.C: added informational message for checking line numbers.
13300
13301 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13304         paragraph, do the 'double space' part, but not the 'empty
13305         paragraph' one.
13306
13307         * text.C (workWidth): small optimization
13308         (getLengthMarkerHeight): use minimal size for negative lengths.
13309
13310 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13311
13312         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13313
13314         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13315
13316 2001-12-11  André Pönitz <poenitz@gmx.net>
13317
13318         * FontLoader.C:
13319         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13320
13321 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * text2.C: keep selection on a setFont()
13324
13325 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * lyx_cb.C: another bv->text misuse, from insert label
13328
13329 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * kbsequence.h:
13332         * kbsequence.C: re-instate nmodifier mask
13333
13334 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * lyx_main.h: make lyxGUI private.
13337
13338 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * lyxfind.C: place the cursor correctly on failed search
13341
13342 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * text.C (getLengthMarkerHeight): for small heights, the arrows
13345         are not always on top/bottom of the text
13346         (drawLengthMarker): smaller arrows; take the left margin in
13347         account; draw also vfills.
13348         (paintFirstRow):
13349         (paintLastRow): remove special code for vfill and standard spaces,
13350         since everything is handled in drawLengthMarker now.
13351
13352 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * buffer.C (insertErtContents): try to handle font and language
13355         interaction a bit better.g
13356
13357         * ColorHandler.C (updateColor): change the hash to cover the whole
13358         LColor enum, ws cleanup
13359         (getGCLinepars): ditto
13360         (getGCLinepars): only lookup in the linecache once.
13361
13362 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * iterators.C (operator++): Make the iterator more robust
13365
13366         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13367         (John's patch)
13368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13369
13370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * lyxtext.h:
13373         * text.C: better added space drawing
13374
13375 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * LyXView.C:
13378         * BufferView2.C: fix layout combo update on inset unlock
13379
13380 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * Makefile.am: don't compile unused files
13383
13384 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * lyxfunc.C:
13387         * commandtags.h:
13388         * LyXAction.C: remove old LFUN_LAYOUTNO
13389
13390 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * paragraph_pimpl.h:
13393         * paragraph_pimpl.C: isTextAt() doesn't need font param
13394
13395 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * lyxlex.h:
13398         * lyxlex.C: little cleanup
13399
13400 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * BufferView_pimpl.C: fix insertAscii for insets
13403
13404 2001-12-05  Juergen Vigna  <jug@sad.it>
13405
13406         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13407         set the right font on the "multi" paragraph paste!
13408
13409 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * trans_decl.h:
13412         * trans_mgr.[Ch]:
13413         * trans.[Ch]:
13414         * lyxgluelength.C:
13415         * lyxlength.C: remove out-commented code.
13416
13417         * BufferView_pimpl:
13418         * CutAndPaste.C:
13419         * DepTable.C:
13420         * buffer.C:
13421         * chset.C:
13422         * lastfiles.C:
13423         * lyxlex.C:
13424         * lyxlex_pimpl.C:
13425         * lyxserver.C:
13426         * screen.C:
13427         * tabular-old.C:
13428         * tabular.C:
13429         * text.C:
13430         * trans_mgr.C:
13431         * vc-backend.C: change "while(" to "while ("
13432
13433         * lyxlength.[Ch]: add zero function to check if length is zero or
13434         not
13435         * lyxgluelength.C: use it
13436
13437 2001-12-05  Allan Rae  <rae@lyx.org>
13438
13439         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13440         Works for 2.95.3, from what I understand of Garst's reports this should
13441         work for other g++ versions.  We're screwed if the abs(int) definition
13442         changed between bugfix releases of gcc.
13443
13444 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * text.C: fix chapter label offset !
13447
13448 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13449
13450         * lyxtext.h:
13451         * text.C: fix hfill at end of line, clean up
13452
13453 2001-12-04  Juergen Vigna  <jug@sad.it>
13454
13455         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13456         that we force an update of the inset and it's owners if neccessary.
13457
13458 2001-12-03  Juergen Vigna  <jug@sad.it>
13459
13460         * text.C (rowLast): simplified code
13461
13462 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * lyxfunc.C: fix show options on timeout
13465
13466 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * screen.C (topCursorVisible): scroll half a page when the cursor
13469         reached top of bottom of screen
13470
13471 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * minibuffer.C: deactivate on loss of focus
13474
13475 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * vspace.[Ch] (operator!=): add operator.
13478
13479 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * BufferView_pimpl.C: refuse to open an inset when
13482         there's a selection.
13483
13484 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * BufferView_pimpl.C: allow to click on RHS of full row insets
13487
13488 2001-11-30  Juergen Vigna  <jug@sad.it>
13489
13490         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13491         insets for undo reasons.
13492
13493 2001-11-28  André Pönitz <poenitz@gmx.net>
13494
13495         * vspace.[Ch]: cosmetical changes
13496
13497 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * LyXAction.h:
13500         * LyXAction.C:
13501         * lyxfunc.h:
13502         * lyxfunc.C:
13503         * kbmap.h:
13504         * kbmap.C:
13505         * lyxrc.C:
13506         * kbsequence.h:
13507         * kbsequence.C: part re-write of old kb code
13508
13509         * Painter.C:
13510         * WorkArea.C: remove Lgb_bug_find_hack
13511
13512 2001-11-30  José Matos <jamatos@fep.up.pt>
13513
13514         * buffer.C (makeDocBookFile): add a comment to point a hack.
13515         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13516         Fixed a double write of labels.
13517
13518 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13519
13520         * LaTeX.C:
13521         * LaTeX.h Fixed bug in LaTeX class where it would not
13522         re-run latex if no depfiles were changed, but the .dvi was removed.
13523
13524 2001-11-28  André Pönitz <poenitz@gmx.net>
13525
13526         * all the files from the change on 2001/11/26:
13527         use lyx::layout_type instead of LyXTextClass::size_type
13528         use lyx::textclass_type instead of LyXTextClassList::size_type
13529
13530 2001-11-29  Juergen Vigna  <jug@sad.it>
13531
13532         * text.C: added support for paragraph::isFreeSpacing()
13533
13534         * buffer.C: same as above
13535
13536         * paragraph.h: inserted isFreeSpacing() function to enable
13537         FreeSpacing inside InsetERT.
13538
13539         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13540         of the paragraph's in the cut/copy buffer to 0!
13541
13542         * text2.C (removeRow): remove the assert as it can!
13543
13544         * lyxtext.h: added helper function firstRow returning firstrow and
13545         made firstrow private again.
13546
13547         * BufferView2.C (lockInset): don't relock if we're already locked!
13548
13549         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13550         the only paragraph.
13551         (removeRow): added Assert::(firstrow)
13552
13553         * debug.C: forgot to add INSETTEXT here.
13554
13555 2001-11-28  Juergen Vigna  <jug@sad.it>
13556
13557         * sp_spell.C (initialize): changed error text to more general
13558         spellchecker command use (not only ispell!)
13559
13560         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13561
13562         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13563
13564 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * vspace.C: initialise lyxgluelength on failure
13567
13568 2001-11-28  Allan Rae  <rae@lyx.org>
13569
13570         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13571         declaration & definition that looks like a function declaration.
13572
13573 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * BufferView2.C (copy):
13576         (copyEnvironment): do not clear the selection when doing a copy.
13577
13578         * text.C (paintFirstRow): compilation fix
13579
13580 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13581
13582         * tabular.C (Latex): correct line count when writing latex.
13583
13584 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * paragraph_pimpl.h:
13587         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13588           bug a bit
13589
13590 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * text.C:
13593         * LColor.h:
13594         * LColor.C: change vfillline->added_space
13595
13596         * text.C: add markers and text for added space
13597
13598         * vspace.C: fix comment
13599
13600 2001-11-28  André Pönitz <poenitz@gmx.net>
13601
13602         * paragraph.C: whitespace changes
13603         * all the other files from the change on 2001/11/26:
13604         change *::pos_type into lyx::pos_type
13605
13606 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13609         language of the document when inserting error insets.
13610
13611 2001-11-26  André Pönitz <poenitz@gmx.net>
13612
13613         * BufferView_pimpl.[Ch]:
13614         *       CutAndPaste.C:
13615         * buffer.[Ch]:
13616         * lyxcursor.[Ch]:
13617         * lyxfind.C:
13618         * lyxfunc.C:
13619         * lyxrow.[Ch]:
13620         * paragraph.[Ch]:
13621         * paragraph_pimpl.[Ch]:
13622         * sp_spell.C:
13623         * text.C:
13624         * text2.C: reduce header dependencies, introduce type for positions
13625
13626 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * <various>: change to use Alert.h
13629
13630 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13631
13632         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13633         when encountering an unknown token.
13634         (readLyXformat2): Show an error message if there were unknown tokens.
13635
13636 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * BufferView2.C:
13639         * BufferView_pimpl.C:
13640         * buffer.C:
13641         * paragraph.h:
13642         * text.C:
13643         * text2.C: use par->isInset()
13644
13645 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13646
13647         * paragraph_pimpl.h:
13648         * paragraph_pimpl.C: cleanup
13649
13650 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * text2.C (removeRow):
13653         * text.C (setHeightOfRow): remove useless (and costly) call to
13654         getRow.
13655
13656 2001-11-20  Allan Rae  <rae@lyx.org>
13657
13658         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13659         Now need Inset*::checkInsertChar() to return true for appropriate
13660         cases so that the characters in the minibuffer will actually be
13661         inserted.
13662
13663 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * text.C: change the order of the includes.
13666         (workWidth): initialize it at once.
13667         (workWidth): make maxw unsigned
13668         (setHeightOfRow): remove unused variable (inset)
13669         (selectSelectedWord): remove unused variable (inset)
13670         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13671
13672 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13675         server is not running.
13676         (openConnection):
13677         (closeConnection): add debug info when server is disabled.
13678
13679         * ColorHandler.C (getGCForeground): send debug message to GUI
13680         channel.
13681
13682         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13683
13684         * kbmap.C (bind): modify because return conventions of
13685         kb_sequence::parse have changed.
13686
13687         * kbsequence.C (parse): only ignore spaces and not any stupid
13688         control character. This avoids tests like s[i] <= ' ', which are
13689         guaranteed to fail with 8bit characters and signed chars.
13690         Change return code to string::npos when there have been no error
13691         (0 was a bad idea when error is at first character)
13692
13693 2001-11-14  José Matos  <jamatos@fep.up.pt>
13694
13695         * buffer.h:
13696         * buffer.C (simpleDocBookOnePar): removed unused argument.
13697
13698 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13701         insets which are part of a word. Paragraph::isLetter takes care of
13702         that now. Use Paragraph::isInset to identify insets.
13703         (selectSelectedWord): do not test for hyphenation break.
13704
13705         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13706         that protected spaces are considered as spaces.
13707
13708         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13709         Inset::isLetter.
13710
13711 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * lyxserver.h:
13714         * lyxserver.C: fix it. and small cleanup.
13715
13716 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * BufferView_pimpl.C: use inline helpers
13719
13720         * LaTeXFeatures.h:
13721         * LaTeXFeatures.C: fix typos
13722
13723         * Spacing.h:
13724         * Spacing.C: move spacing_string into class
13725
13726         * ToolbarDefaults.C: move stuff into namespace anon
13727
13728         * layout.h: update enum
13729
13730         * lyxfunc.C: use better debug
13731
13732         * minibuffer.h: fix typo
13733
13734         * debug.h:
13735         * debug.C:
13736         * WorkArea.C: add and use Debug::WORKAREA
13737
13738         * lyxtext.h:
13739         * text.C:
13740         * text2.C: code re-organisation, inline helpers
13741
13742 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13743
13744         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13745         std::vector.empty().
13746
13747 2001-11-09  Allan Rae  <rae@lyx.org>
13748
13749         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13750         '\n's after tables.  Tabular and ERT inset work now makes this no
13751         longer necessary.
13752
13753 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13754
13755         * minibuffer.h:
13756         * minibuffer.C: fix crash, improve drop-down completion
13757
13758 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * lyxserver.h:
13761         * lyxserver.C: invalidate fd's when doing endPipe()
13762
13763 2001-11-08  José Matos  <jamatos@fep.up.pt>
13764
13765         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13766         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13767
13768         * paragraph.h:
13769         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13770
13771 2001-11-07  José Matos  <jamatos@fep.up.pt>
13772
13773         * buffer.h:
13774         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13775         const qualifier.
13776
13777         * buffer.C (sgmlOpenTag):
13778         * buffer.C (sgmlCloseTag): removed debug info.
13779
13780         * buffer.h (sgmlOpenTag):
13781         * buffer.h (sgmlCloseTag): made public.
13782
13783 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * buffer.C (saveParamsAsDefaults):
13786         * lyx_cb.C (MenuLayoutSave): remove
13787
13788         * LyXAction.C (init):
13789         * commandtags.h:
13790         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13791
13792 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * buffer.C (setPaperStuff): removed from here...
13795
13796         * bufferparams.C (setPaperStuff): ... and moved there.
13797
13798 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * minibuffer.h:
13801         * minibuffer.C:
13802         * XFormsView.C: add support for drop-down completion
13803
13804 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13807         commands.
13808
13809 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13812         disabled.
13813
13814 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * lyx_main.C: change ref to known bugs
13817
13818 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13819
13820         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13821         to work around older babel problems.
13822
13823 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13824
13825         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13826
13827 2001-10-24  Juergen Vigna  <jug@sad.it>
13828
13829         * tabular-old.C (ReadOld): below variable changes reflected.
13830
13831         * tabular.[Ch]: added ltType struct for longtable header/footer
13832         defines and changed all instances where they are used. Added
13833         future support for double top/bottom rows.
13834
13835 2001-10-24  José Matos  <jamatos@fep.up.pt>
13836
13837         * buffer.h (docbookHandleCaption):
13838         * buffer.C (docbookHandleCaption): removed unused function.
13839         (makeDocBookFile): moved docbook supported version to v4.1.
13840
13841 2001-10-24  José Matos  <jamatos@fep.up.pt>
13842
13843         * tabular.h:
13844         * tabular.C (docbookRow): new function to export docbook code of a row.
13845         (DocBook): now honors the longtable flags.
13846
13847 2001-10-23  José Matos  <jamatos@fep.up.pt>
13848
13849         * LaTeXFeatures.h:
13850         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13851         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13852
13853         * buffer.C (makeLinuxDocFile):
13854         (makeDocBookFile): reworked the preamble, more clean, and with
13855         support for lyx defined entities. Changed the document declaration
13856         to be more XML friendly.
13857
13858         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13859         if we need to output XML that should be done with a filter.
13860
13861 2001-10-22  Juergen Vigna  <jug@sad.it>
13862
13863         * sp_pspell.h (class PSpell): add alive function needed in the
13864         controller to see if the spellchecker could be started.
13865
13866 2001-10-22  Juergen Vigna  <jug@sad.it>
13867
13868         * buffer.C (insertStringAsLines): modify the font for inserting
13869         chars in certain conditions by calling checkInsertChar(font).
13870
13871 2001-10-19  Juergen Vigna  <jug@sad.it>
13872
13873         * text.C (workWidth): use getRow instead of wrong algorithm.
13874         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13875
13876 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13877
13878         * lyxserver.h:
13879         * lyxserver.C:
13880         * lyx_main.h:
13881         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13882
13883 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * text.C (workWidth): do not search for the exact row when
13886         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13887         optimization for big documents.
13888
13889 2001-10-18  Juergen Vigna  <jug@sad.it>
13890
13891         * text.C (workWidth): new function with added Inset * parameter.
13892
13893 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13896
13897         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13898         change return type of getColumnNearX.
13899
13900
13901         * text.C (changeRegionCase): use uppercase/lowercase instead of
13902         toupper/tolower.
13903         (leftMargin):
13904         (rightMargin): simplify code by factoring out the uses of
13905         textclasslist.
13906         (labelFill):
13907         (numberOfHfills):
13908         (setHeightOfRow):
13909         (appendParagraph): use Paragraph::size_type
13910
13911 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * vspace.C (asLatexString): add a missing break
13914
13915 2001-10-15  Herbert Voss  <voss@perce.de>
13916
13917         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13918
13919 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13922         is not available.
13923
13924 2001-10-10  André Pönitz <poenitz@gmx.net>
13925
13926         * lyxfunc.C: removed greek_kb_flag.
13927
13928 2001-10-10  Herbert Voss  <voss@perce.de>
13929
13930         * lyx_main.C: delete global string help_lyxdir.
13931
13932 2001-10-09  Herbert Voss  <voss@perce.de>
13933
13934         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13935
13936         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13937
13938         * lyx_main.C: added global string help_lyxdir.
13939
13940         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13941
13942 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13943
13944         * lyxrc.C (set_font_norm_type): support iso8859-4
13945
13946 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13947
13948         * LaTeX.C (deplog): add another regex for MikTeX
13949
13950 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13951
13952         * lyxrc.C (set_font_norm_type): support iso8859-3
13953
13954 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13957
13958         * LaTeXFeatures.C: remove special case of french and index
13959
13960         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13961         before \begin{document}). This solves several incompatibilities.
13962
13963 2001-10-03  Garst Reese  <reese@isn.net>
13964
13965         * lyx_cb.C: change CheckTex error msg.
13966
13967 2001-10-03  José Matos  <jamatos@fep.up.pt>
13968
13969         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13970
13971 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13972
13973         * .cvsignore: update
13974
13975         * lyx_main.C (commandLineVersionInfo): use new style version info.
13976
13977         * buffer.C (writeFile):
13978         (makeLaTeXFile):
13979         (makeLinuxDocFile):
13980         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13981
13982         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13983
13984         * version.h: update to use stuff in version.C
13985
13986         * version.C.in: new file. Contains version information determined
13987         at compile time. This is a merging of version.h and
13988         version_info.h.in.
13989
13990 2001-10-03  Juergen Vigna  <jug@sad.it>
13991
13992         * BufferView_pimpl.C (update): don't change "dirty" status in
13993         updateInset call.
13994
13995 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13996
13997         * WorkArea.C (c-tor): re-position version string slightly.
13998
13999 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14002         revert to previous code.
14003
14004         WorkArea.[Ch]: (show, destroySplash): methods removed.
14005
14006         WorkArea.C: rework code so that it's an amalgam of the codes before and
14007         after the splash screen was moved to WorkArea.
14008
14009 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * lyxrc.C (read):
14012         * vspace.C (inPixels):
14013         (lyx_advance):
14014         * kbmap.C (bind):
14015         * buffer.C (insertStringAsLines):
14016         (asciiParagraph): fix types to be large enough
14017
14018         * lyxlex_pimpl.h: change member status from short to int
14019
14020         * layout.h: fix type of endlabeltype
14021
14022         * kbmap.C (bind):
14023         * kbsequence.C (parse): change return type to string::size_type
14024
14025         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14026         variable
14027
14028         * Bullet.C (bulletSize):
14029         (bulletEntry): do not use short ints as parameters
14030
14031         * BufferView2.C (insertLyXFile): change a char to an int.
14032
14033         * WorkArea.C (WorkArea): remove unneeded floats in computation
14034
14035 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14038
14039         * paragraph.C (asString): Do not ignore newline/hfill chars when
14040         copying to the clipboard.
14041
14042 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14043
14044         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14045         after a multi-line inset.
14046
14047 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * paragraph.C (validate): Set NeedLyXFootnoteCode
14050
14051 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14052
14053         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14054         and decrease-error to decrease.
14055
14056 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14059         it more readable (should be equivalent)
14060
14061 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14062
14063         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14064
14065 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14066
14067         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14068         of a cursor (row, etc.) after a character has been deleted
14069         (deleteEmptyParagraphMechanism): call the method above on _all_
14070         cursors held by the LyXText when a double space has been
14071         detected/deleted.
14072
14073 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14076         pixmap.
14077         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14078
14079         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14080         background. Use greyOut() and the new show() methods to toggle between
14081         the foreground and background. Add code to remove the splash after
14082         its initial showing.
14083
14084         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14085         (create_forms): no longer call Dialogs::showSplash.
14086
14087 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14088
14089         * .cvsignore: add version_info.h
14090
14091 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * version_info.h.in: new file
14094
14095         * Makefile.am: add version_info.h.in
14096
14097         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14098         version_info.h instead of VERSION_INFO
14099
14100 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14101
14102         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14103         The ERT inset now returns string().
14104
14105 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * lyxtext.h, text.C (selectNextWord): renamed as
14108         selectNextWordToSpellcheck.
14109
14110         * text.C (selectNextWordToSpellcheck): Modified to not select
14111         words inside an ERT inset.
14112
14113 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * lyx_cb.C (MenuLayoutSave): change a bit the question
14116
14117         * sp_base.h: include <sys/types.h>
14118
14119 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14120
14121         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14122
14123 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14124
14125         * several files: fix typos in user-visible strings
14126
14127 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * text2.C (pasteSelection): do not set the selection, since it
14130         will be cleared later. Actually, the intent was to fix the way the
14131         selection was set, but I figured rmoving the code was just as good.
14132
14133 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14134
14135         * FontLoader.C (available): Check if font is available without
14136         loading the font.
14137
14138 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14139
14140         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14141
14142 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * lyxrc.[Ch]: added display_graphics variable and associated code.
14145
14146 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * bufferparams.C (hasClassDefaults): new method. Returns true if
14149         the buffer parameters correspond to known class defaults
14150
14151 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14152
14153         * XFormsView.C (show): set minimum size to the main window.
14154
14155 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * text2.C (copySelection):
14158         (cutSelection):
14159         * lyxfind.C (LyXReplace):
14160         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14161         LyXText::selectionAsString.
14162
14163         * paragraph.C (asString): add "label" argument to the second form
14164
14165         * text2.C (selectionAsString): add "label" argument and pass it to
14166         Paragraph::asString.
14167
14168 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * lyx_main.C (commandLineHelp): remove version information
14171
14172 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14173
14174         * lyx_main.C: add -version commandline option
14175
14176 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * paragraph.h: make the optional constructor arg required instead.
14179         some modifications to other files because of this.
14180
14181         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14182
14183         * lyxserver.C (C_LyXComm_callback): make it static
14184
14185         * lyx_main.C (error_handler): make it static
14186
14187         * lyx_gui.C (LyX_XErrHandler): make it static
14188
14189         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14190
14191         * WorkArea.C: make the extern "C" methods static.
14192
14193         * Makefile.am (lyx_LDADD): simplify
14194
14195 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14198         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14199
14200         * LyXAction.C (init):
14201         * lyxfunc.C (dispatch): associated code removal.
14202
14203 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * lyxfont.h (isSymbolFont): shut off warning
14206
14207         * text.C (setHeightOfRow):
14208         (getVisibleRow): fix crash with empty paragraphs which have a
14209         bottom line
14210
14211 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14212
14213         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14214         code.
14215
14216 2001-09-04  José Matos  <jamatos@fep.up.pt>
14217         * buffer.C
14218         * buffer.h
14219         * tabular.C (docbook): rename docBook method to docbook.
14220
14221 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * Makefile.am: add dependencies to main.o.
14224
14225 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * FontLoader.C (available): Return false if !lyxrc.use_gui
14228
14229 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14230
14231         * FontInfo.C (query):
14232         * converter.C (view):
14233         * importer.C (Import):
14234         * exporter.C (Export): Can not -> cannot.
14235
14236 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * BufferView_pimpl.C: allow to create index inset even if
14239           string is empty
14240
14241 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14242
14243         * buffer.C (getLists): replace boost::tie code with an explicit pair
14244         as boost::tie can break some compilers.
14245
14246         * iterators.h: Added a std:: declaration to the return type of
14247         ParIterator::size.
14248
14249 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14250
14251         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14252           case.
14253
14254 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * iterators.[Ch]: New files. Provide paragraph iterators.
14257
14258         * buffer.C (changeLanguage): Use paragraph iterators.
14259         (isMultiLingual): ditto
14260
14261         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14262
14263 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * FontLoader.C: Support for cmr font.
14266
14267 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14270         (available): New method.
14271
14272         * FontInfo.C (getFontname): Use scalable fonts even when
14273         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14274         found.
14275
14276 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14277
14278         * converter.C (Formats::view): reverted! Incorrect fix.
14279
14280 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14281
14282         * converter.C (Formats::view): only output the -paper option
14283         if the dvi viewer is xdvi, thereby fixing bug #233429.
14284
14285 2001-08-23  Herbert Voss  <voss@perce>
14286
14287         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14288
14289 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * Spacing.h (Spacing): Set space to Default on in the default
14292         constructor.
14293
14294 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14295
14296         * vc-backend.h (RCS::versionString): add RCS to version
14297         (CVS::versionString): add CVS to version
14298
14299         * vc-backend.C (scanMaster): do not add CVS to version.
14300         (scanMaster): do not add RCS to version
14301
14302         * lyxvc.C (versionString): new method
14303
14304         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14305
14306 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * Spacing.C (set): initialize fval
14309
14310 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14313         " or \.
14314
14315 2001-08-16  Juergen Vigna  <jug@sad.it>
14316
14317         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14318
14319 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14320
14321         * BufferView_pimpl.C:
14322         * figureForm.C:
14323         * lyxtext.h:
14324         * text2.C: setParagraph takes linespacing now
14325
14326 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14327
14328         * LyxAction.C: add internal LFUN_CITATION_INSERT
14329
14330         * LyXView.C: actually apply fix
14331
14332         * bufferlist.C: fix open non-existent file
14333
14334         * lyxfind.C: fix indentation
14335
14336         * lyxfunc.C: remove unneeded assert, fix typo
14337
14338 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * MenuBackend.C: use "Floatname List"
14341
14342 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14345         when converting LaTeX layout to insetERT.
14346         Generate a non-collapsed float when reading old float
14347
14348 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14349
14350         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14351         ERT insets.
14352
14353 2001-08-13  Juergen Vigna  <jug@sad.it>
14354
14355         * text.C (fill): return 0 instead of 20 as this seems to be the more
14356         correct value.
14357
14358 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14359
14360         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14361         lyxrc.font_norm.
14362
14363 2001-08-13  Juergen Vigna  <jug@sad.it>
14364
14365         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14366         casesensitive off.
14367         (SearchBackward): comment out the unlocking of the inset_owner this
14368         should not be needed!
14369
14370 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * Many files: Remove inherit_language, and add latex_language
14373
14374         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14375         collapsible insets.
14376
14377 2001-08-10  Juergen Vigna  <jug@sad.it>
14378
14379         * text.C (prepareToPrint): fixed hfill-width in draw!
14380
14381         * BufferView2.C (selectLastWord): save the selection cursor as this
14382         now is cleared in the function LyXText::clearSelection!
14383
14384 2001-08-08  Juergen Vigna  <jug@sad.it>
14385
14386         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14387         BACKSPACE type functions.
14388
14389         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14390         is only cutted from the document but not put in the cut-buffer, where
14391         still the old stuff should be.
14392
14393         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14394
14395         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14396
14397         * tabular.C (SetWidthOfCell): fixed special case where the width
14398         was not updated!
14399         (LeftLine): handle '|' in align_special.
14400         (RightLine): ditto
14401         (LeftAlreadyDrawed): ditto
14402         (SetWidthOfCell): ditto
14403
14404 2001-08-07  Juergen Vigna  <jug@sad.it>
14405
14406         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14407
14408 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14411         * lyxlex.[hC]: ditto
14412
14413 2001-08-06  Juergen Vigna  <jug@sad.it>
14414
14415         * text.C (getVisibleRow): fix up row clearing a bit.
14416
14417 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14418
14419         * minibuffer.C: make sure the X server sees the changes in the input.
14420
14421 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * paragraph.C (getFont): split into...
14424         (getLabelFont): this
14425         (getLayoutFont): and this
14426         * paragraph_pimpl.C (realizeFont): calling this
14427
14428         * text2.C (getFont): split into...
14429         (getLayoutFont): this
14430         (getLabelFont): and this
14431         (realizeFont): all three calling this
14432
14433         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14434         files where used.
14435
14436 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14439
14440 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14441
14442         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14443         layouts from the Quote inset insertion.
14444
14445 2001-08-03  Juergen Vigna  <jug@sad.it>
14446
14447         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14448
14449         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14450         only if status not is already CHANGED_IN_DRAW (second level).
14451
14452         * text.C (draw): don't set the need_break_row when inside an
14453         InsetText LyXText.
14454
14455 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14456
14457         * buffer.C (parseSingleLyXformat2Token): handle more latex
14458         conversion cases.
14459
14460         * bufferview_funcs.[hC]: change function names to
14461         begin with small char, adjust other files.
14462
14463 2001-08-02  André Pönitz <poenitz@gmx.net>
14464
14465         * lyxfunc.C:
14466         BufferView_pimpl.C: remove broken special code for math-greek
14467
14468 2001-08-02  Juergen Vigna  <jug@sad.it>
14469
14470         * BufferView_pimpl.C (update): redone this function so that we
14471         update the text again if there was a CHANGE_IN_DRAW.
14472
14473         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14474         (drawFromTo): added a new internal bool which is used by draw() and
14475         redraw() function.
14476         (general): some cursor drawing problems fixed.
14477
14478 2001-08-01  Juergen Vigna  <jug@sad.it>
14479
14480         * lyxfind.C (LyXFind): fixed
14481         (SearchForward): ditto
14482         (SearchBackward): ditto
14483
14484         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14485         spurius drawing of the cursor in the main area.
14486
14487         * text2.C (status): small fix which could lead to a segfault!
14488         (clearSelection): remove unneeded BufferView param.
14489
14490 2001-08-01  André Pönitz <poenitz@gmx.net>
14491
14492         * lyxfunc.C: small change due to changed mathed interface
14493
14494 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14495
14496         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14497
14498 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * lyxfunc.c: fail gracefully if file doesn't exist
14501
14502         * LyXSendto.C:
14503         * buffer.C:
14504         * lyxfunc.C:
14505         * BufferView_pimpl.C: IsDirWriteable() proto changed
14506
14507         * LyXView.C: fix updateWindowTitle() to store the last title
14508
14509 2001-07-31  Juergen Vigna  <jug@sad.it>
14510
14511         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14512         the font (wrong since using of Paragraph::highestFontInRange).
14513
14514         * paragraph.C (highestFontInRange): added a default_size parameter.
14515
14516         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14517         (setHeightOfRow): reformat
14518
14519 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * converter.[hC] + affected files: move to (inital-char)lowercase
14522         function names.
14523
14524         * ParagraphParameters.C (ParagraphParameters): remove commented code
14525
14526         * PainterBase.[Ch]: remove commented code
14527
14528         * LaTeXFeatures.h: add "bool floats" for float.sty
14529
14530         * LaTeXFeatures.C (LaTeXFeatures): init floats
14531         (require): handle float
14532         (getPackages): do it with floats
14533
14534 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * BufferView_pimpl.C (Dispatch): improve handling of
14537         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14538
14539         * commandtags.h: #include lyxfont.h here temporarily to avoid
14540         keybinding bug.
14541
14542         * bufferlist.h: include LString.h here.
14543
14544 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14545
14546         * text2.C (getStringToIndex): new method.
14547
14548 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14549
14550         * *: Reduced header file dependencies all over.
14551
14552 2001-07-30  Baruch Even  <baruch@lyx.org>
14553
14554         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14555
14556 2001-07-29  Baruch Even  <baruch@lyx.org>
14557
14558         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14559
14560 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * ParameterStruct.h (endif): add a default constructor to make
14563         sure that all variables is initialized.
14564
14565         * ParagraphParameters.C (ParagraphParameters): adjust
14566
14567 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14570         index; also, check that there is something to index, and that it
14571         does not span over several paragraphs.
14572         (doubleClick): use WHOLE_WORD_STRICT for double click.
14573
14574         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14575
14576         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14577         scheme.
14578
14579 2001-07-26  Baruch Even  <baruch@lyx.org>
14580
14581         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14582         an InsetFig figure, backwards compatible reading of old figure code.
14583
14584 2001-07-27  Juergen Vigna  <jug@sad.it>
14585
14586         * text2.C: font.realize function adaption.
14587
14588         * text.C (draw): add a warnings lyxerr text if needed.
14589
14590         * layout.C: font.realize function adaption.
14591
14592         * language.C: add inherit_language and implement it's handlings
14593
14594         * bufferview_funcs.C (StyleReset): remove language parameter from
14595         font creation (should be language_inherit now).
14596
14597         * bufferparams.C (writeFile): handle ignore_language.
14598
14599         * paragraph.C (getFontSettings): the language has to be resolved
14600         otherwise we have problems in LyXFont!
14601
14602         * lyxfont.C (lyxWriteChanges): added document_language parameter
14603         (update): removed unneeded language parameter
14604
14605         * paragraph.C (validate): fixed wrong output of color-package when
14606         using interface colors for certain fonts in certain environments,
14607         which should not seen as that on the final output.
14608
14609 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * BufferView_pimpl.C:
14612         * Thesaurus.h:
14613         * Thesaurus.C:
14614         * Makefile.am:
14615         * commandtags.h:
14616         * LyXAction.C: add thesaurus support
14617
14618         * lyxfind.h:
14619         * lyxfind.C: add "once" parameter, for thesaurus, to not
14620           move to the next match
14621
14622 2001-07-26  Juergen Vigna  <jug@sad.it>
14623
14624         * lyxfont.C (realize): honor ignore_language too!
14625         (resolved): ditto.
14626
14627         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14628
14629         * text.C (draw): one place more for ignore_language to not draw
14630         itself!
14631
14632 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14635
14636 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14637
14638         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14639         the minipage conversion problem.
14640
14641 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14642
14643         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14644         insert an inset.
14645
14646 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * BufferView.h: don't forward declare WorkArea
14649
14650         * BufferView.C: don't include WorkArea.h
14651
14652 2001-07-25  André Pönitz <poenitz@gmx.net>
14653
14654         * commandtags.h:
14655         * LyXAction.C:
14656         * lyxfunc.C:  new LFUN 'math-space'
14657
14658         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14659
14660 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14661
14662         * text2.C (toggleInset): call open/close
14663
14664 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14665
14666         * lyxfunc.C (dispatch): add debug for the disabled case
14667
14668         * font.C (buttonText): make similar to rectText
14669
14670         * buffer.C (readInset): comment out parsing of insetlist and
14671         insttheorem
14672
14673         * PainterBase.C (rectText): small correction
14674
14675         * BufferView_pimpl.C: comment out insettheorem and insetlist
14676         * LyXAction.C: ditto
14677         * commandtags.h: ditto
14678
14679 2001-07-24  Juergen Vigna  <jug@sad.it>
14680
14681         * text.C (draw): honor the ignore_language.
14682
14683         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14684
14685 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14688         char inset.
14689
14690 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14691
14692         * lyxtext.h: remove unused (and unimplemented) methods
14693
14694 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14695
14696         * text.C (getVisibleRow): honor background color
14697
14698         * PainterBase.h:
14699         * Painter.h: remove default color argument for fillRectangle
14700
14701         * text.C (backgroundColor): new method
14702
14703 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * text.C (getVisibleRow): adjust
14706
14707         * font.[Ch] (rectText): new method, metrics
14708         (buttonText): new method, metrics
14709
14710         * PainterBase.[hC]: make rectText and buttonText always draw and take
14711         fewer paramteres.
14712
14713 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14714
14715         * ToolbarDefaults.C (read):
14716         * MenuBackend.C (read): allow escaping in all strings
14717
14718         * BufferView_pimpl.C (insertAndEditInset): new method.
14719         (Dispatch): use insertAndEditInset whenever appropriate.
14720
14721         * BufferView_pimpl.C (insertNote): removed
14722
14723         * BufferView_pimpl.C (smartQuote): new method, moved from
14724         BufferView; if an insetquote cannot be inserted, insert a '"'
14725         character instead.
14726
14727         * BufferView2.C: remove insertCorrectQuote();
14728
14729         * lyxfunc.C (getStatus): Add support for all remaingin
14730         inset-insert lfuns.
14731
14732         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14733
14734         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14735         command (necessary to pass " as parameter of self-insert.
14736
14737         * text.C (selectWordWhenUnderCursor):
14738         (selectWord): add word_location parameter
14739         (selectWordWhenUnderCursor): same + remove special code for word
14740         boundary.
14741         (selectNextWord): use kind() to guess type of insetspecialchar,
14742         not latex().
14743
14744         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14745         (insertErtContents): create ert insets as collapsed.
14746         (readInset): better compatibility code for Info inset.
14747
14748 2001-07-20  Juergen Vigna  <jug@sad.it>
14749
14750         * lyxfunc.C (dispatch): use always LyXFind now!
14751
14752         * text2.C (init): add a reinit flag so that the LyXText can be
14753         reinited instead of deleted and reallocated (used in InsetText).
14754
14755         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14756
14757         * text.C: ditto
14758
14759         * text2.C: ditto
14760
14761 2001-07-18  Juergen Vigna  <jug@sad.it>
14762
14763         * text.C (selectNextWord): handle insets inside inset by calling
14764         always the bv->text functions so that we can go up the_locking_inset!
14765
14766         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14767         in strange locations when inside an inset!
14768
14769         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14770         handling to include insets.
14771
14772         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14773
14774 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14775
14776         * LyXAction.C (init):
14777         * commandtags.h:
14778         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14779         LIGATURE_BREAK, since the name is so stupid.
14780
14781 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14782
14783         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14784         InsetInfos.
14785
14786         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14787
14788         * sp_form.[Ch]: remove.
14789
14790         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14791
14792         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14793         InsetInfo.
14794
14795         * src/buffer.C (readInset): ditto.
14796
14797 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14798
14799         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14800         menuSeparator(), endOfSentenceDot(), ldots() and
14801         hyphenationPoint(), which are therefore removed.
14802         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14803
14804         * LyXAction.C (init):
14805         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14806
14807         * paragraph.C (getWord): removed.
14808
14809         * BufferView_pimpl.C (Dispatch): use last word or selection for
14810         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14811
14812         * lyx_main.C (queryUserLyXDir): do not ask before creating
14813         user_dir, except if it has been named explicitely.
14814
14815 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14816
14817         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14818         a document of zero size.
14819
14820 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14821
14822         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14823         approriately in the c-tor and in require().
14824         (getPackages): output the appropriate LaTeX for natbib support.
14825
14826         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14827         variables "use_natbib" and "use_numerical_citations" when reading the
14828         LyX file.
14829         (readInset): read the various natbib cite commands.
14830         (validate): white-space change.
14831
14832         * bufferparams.[Ch]: new variables "bool use_natbib" and
14833         "bool use_numerical_citations".
14834         (writeFile): output them in the LyX file.
14835
14836 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14837
14838         * lyxfunc.C (getStatus): add support for all the inset insertion
14839         commands.
14840
14841         * text2.C (insertInset):
14842         * paragraph.C (insetAllowed):
14843         * BufferView_pimpl.C (insertInset): update to take in account the
14844         renaming of insertInsetAllowed
14845
14846         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14847
14848         * text2.C (getInset): new method. returns inset at cursor position.
14849
14850         * BufferView_pimpl.C (Dispatch): changes because of this.
14851
14852         * LyXAction.C (init): rename open-stuff to inset-toggle.
14853
14854         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14855
14856         * text2.C (toggleInset): renamed from openStuff; use
14857         Inset::open().
14858
14859 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14860
14861         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14862
14863         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14864
14865 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14866
14867         * buffer.C (readLyXformat2): Add filename to the error dialog
14868
14869 2001-07-18  Juergen Vigna  <jug@sad.it>
14870
14871         * tabular.C (GetCellNumber): put an assert here instead of the check!
14872
14873 2001-07-17  Juergen Vigna  <jug@sad.it>
14874
14875         * BufferView_pimpl.C (toggleSelection): adapted too.
14876
14877         * text.C (selectNextWord): adapted for use with insets.
14878         (selectSelectedWord): ditto
14879
14880 2001-07-17  Juergen Vigna  <jug@sad.it>
14881
14882         * sp_spell.C (PSpell): fix initialitation order.
14883
14884 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * paragraph.C: spacing
14887
14888 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14889
14890         * sp_spell.C: repair language selection for pspell
14891
14892 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * lyxfunc.h: change more methods to begin with lower char.
14895
14896 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14899         for unknown layouts.
14900
14901 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14902
14903         * buffer.C (readLyXformat2): Generate an error dialog if there are
14904         unknown layouts.
14905
14906 2001-07-16  Juergen Vigna  <jug@sad.it>
14907
14908         * sp_spell.C: always compile ISpell part.
14909
14910         * lyxrc.C: added use_pspell entry and it's handling.
14911
14912 2001-07-13  Juergen Vigna  <jug@sad.it>
14913
14914         * sp_spell.C: removed double includes.
14915
14916 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14917
14918         Consistent use of Lsstream.h:
14919         * Lsstream.h: added using std::stringstream for consistencies sake.
14920
14921         * buffer.C: removed using std::stringstream
14922
14923         * lyxfont.C (stateText):
14924         * paragraph.C (asString):
14925         * text.C (selectNextWord, selectSelectedWord):
14926         * text2.C (setCounter):
14927         * vspace.C (asString, asLatexString):
14928         std::ostringstream -> ostringstream.
14929
14930 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14931
14932         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14933         * commandtags.h: add LFUN_HELP_ABOUTLYX
14934         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14935
14936 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14937
14938         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14939         cursorToggle()
14940         * lyx_gui_misc.C: remove spellchecker
14941         * lyxfunc.C: showSpellchecker
14942         * sp_base.h: added
14943         * sp_ispell.h: added
14944         * sp_pspell.h: added
14945         * sp_spell.C: added
14946         * sp_form.[Ch]: removed
14947         * spellchecker.[Ch]: removed
14948
14949 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14950
14951         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14952         is set.
14953         (simpleTeXSpecialChars): Simply print the input character without
14954         any special translation if pass_thru is set.
14955
14956         * layout.h: Added bool pass_thru to layout class for being able to
14957         implement pass through of a paragraph for Literate Programming.
14958
14959         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14960         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14961         * layout.C (Read): add "passthru" to list of layout tags and add
14962         code to set the pass_thru boolean when it is read.
14963
14964 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * trans_decl.h: remove allowed from KmodInfo
14967
14968         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14969         remove allowed code
14970         (Load): adjust
14971
14972         * paragraph_pimpl.C (erase): use boost::prior
14973
14974         * Painter.C (text): use data() instead of c_str() when length is
14975         also provided.
14976         * WorkArea.C (putClipboard): ditto
14977         * font.h (width): ditto
14978
14979         * BufferView2.C: use it-> instead of (*it). for iterators
14980         * texrow.C: ditto
14981         * paragraph_pimpl.C: ditto
14982         * paragraph.C: ditto
14983         * minibuffer.C: ditto
14984         * language.C: ditto
14985         * kbmap.C: ditto
14986         * encoding.C: ditto
14987         * counters.C: ditto
14988         * converter.C: ditto
14989         * chset.C: ditto
14990         * Variables.C: ditto
14991         * TextCache.C: ditto
14992         * MenuBackend.C: ditto
14993         * LyXAction.C: ditto
14994         * LColor.C: ditto
14995         * FloatList.C: ditto
14996         * DepTable.C: ditto
14997         * ColorHandler.C (LyXColorHandler): ditto
14998
14999 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15000
15001         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15002
15003         * text2.C (openStuff): reintroduce this method (which had been
15004         nuked in NEW_INSETS frenzy).
15005
15006         * lyxfunc.C (Dispatch): when an action has not been handled, use
15007         its name in the error message, not its number.
15008
15009         * paragraph.C (inInset): change method name to begin with lowercase.
15010
15011         * undo_funcs.C:
15012         * text2.C: updates because of this.
15013
15014 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * ToolbarDefaults.C (add): add spaces in error message
15017
15018 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15021         (readLyXformat2): rename return_par to first_par, use lyxlex's
15022         pushToken and remove the manual push handling.
15023         (parseSingleLyXformat2Token): add another ert comp. variable:
15024         in_tabular, rename return_par to first_par. handle newlines better
15025
15026 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15029
15030 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * text2.C (getParFromID): removed
15033
15034         * buffer.C (getParFromID): new method moved form lyxtext.
15035         * BufferView2.C (insertErrors): adjust
15036         (setCursorFromRow): adjust
15037         * BufferView_pimpl.C (restorePosition): adjust
15038         * lyxfunc.C (Dispatch): adjust
15039         * undo_funcs.C (textUndo): adjust
15040         (textRedo): adjust
15041         (textHandleUndo): adjust
15042         (textHandleUndo): adjust
15043
15044 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * buffer.C: up' the LYX_FORMAT
15047
15048         * lyxfont.h: turn NO_LATEX on as default
15049
15050         * buffer.C (insertErtContents): new methods of tex style compability.
15051         (parseSingleLyXformat2Token): use it several places.
15052         * tabular.C (OldFormatRead): and here
15053
15054 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * text2.C: remove some commented code.
15057         reindent file.
15058
15059         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15060         * trans.C: changes because of the above.
15061
15062 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * text2.C (setCounter): Fix counters bug with bibliography layout.
15065
15066 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15069         own member functions
15070         (simpleTeXSpecialChars): ditto
15071
15072 2001-07-06  Juergen Vigna  <jug@sad.it>
15073
15074         * a lot of files: changed the access to LyXText::status and the
15075         call of undo-functions.
15076
15077         * undo.[Ch]: added a inset_id to the undo informations.
15078
15079         * undo_funcs.[Ch]: added and moved here all undo functions.
15080
15081         * lyxtext.h: give the status enum a weight, made status_ a private
15082         variable and made accessor functions for it, removed the whole bunch
15083         of undo-functions as they are now in their own file, make some
15084         functions publically available. Added function ownerParagraph with
15085         int parameter.
15086
15087         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15088         made InInset() a const function, added getParFromID() function.
15089
15090         * buffer.[Ch]: added const version for inset_iterator functions,
15091         added getInsetFromID() function.
15092
15093         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15094         changed undo functions for new version.
15095
15096 2001-07-05  Juergen Vigna  <jug@sad.it>
15097
15098         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15099         unknow mechanism does not call the proper constructor but only this
15100         one also if I request the other!?
15101
15102 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15105
15106         * text2.C (LyXText): use initialization lists.
15107
15108         * lyxtext.h (Selection): initialize set_ and mark_
15109         (init): remove method
15110
15111 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15112
15113         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15114
15115 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15116
15117         * screen.[Ch]: change method names to begin with lowercase
15118
15119         * BufferView_pimpl.C (updateScrollbar): simplify further and
15120         hopefully make it a bit faster.
15121
15122 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15123
15124         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15125         calling directly xforms functions.
15126
15127         * Painter.C (Painter):
15128         * lyx_cb.C (MenuWrite):
15129         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15130         fl_display.
15131
15132         * lyx_gui.C: remove bogus guiruntime extern declaration.
15133
15134 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15135
15136         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15137         in NEW_INSETS
15138         (redoDrawingOfParagraph): ditto
15139         (redoParagraphs): ditto
15140         (cutSelection): don't create a object for CutAndPaste use the
15141         static method directly
15142         (pasteSelection): ditto
15143
15144         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15145         LyXview (+ rename)
15146
15147 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * modifications to some other files because of this.
15150
15151         * Makefile.am (lyx_SOURCES): add XFormsView
15152
15153         * XFormsView.[Ch]: new files
15154
15155         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15156         the main window. Move the gui dependent stuff to XFormsView
15157
15158 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * tabular.C (GetCellInset): update cur_cell also in the row/col
15161         version of this function.
15162
15163         * lyxfunc.C: no need to include figure_form.h here.
15164
15165         * FontLoader.h:
15166         * lyxfunc.h:
15167         * lyxscreen.h:
15168         * text2.C:
15169         * lyxvc.C: no need to include forms.h here.
15170
15171 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15172
15173         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15174
15175         * lyxfunc.C (Dispatch):
15176         * Spacing.C (set):
15177         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15178         constructor argument.
15179
15180 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * paragraph.C (Paragraph): dont't clear, and just set layout.
15183         (makeSameLayout): use params's copy contructor.
15184
15185         * ParagraphParameters.[Ch] (makeSame): delete method
15186
15187 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * Variables.[Ch]: fix indentation, rename set to isSet
15190
15191 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * lyxfunc.C (Dispatch): fix typo
15194
15195 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15196
15197         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15198         upper_bound.
15199
15200         * bufferlist.C: include assert.h for emergencyWrite().
15201
15202 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15203
15204         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15205           give up at last (bug #425202) !
15206
15207 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15208
15209         * lyx_gui_misc.C:
15210         * sp_form.h:
15211         * sp_form.C:
15212         * spellchecker.h:
15213         * spellchecker.C: strip spellchecker options and bring up
15214           preferences tab instead
15215
15216 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15217
15218         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15219         the istringstream constructor
15220
15221 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * paragraph.C (getLayout): fix return value
15224
15225         * paragraph.h: do not declare getLayout as inline.
15226
15227         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15228
15229 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15230
15231         * lyxcursor.h (operator<): new func
15232         (operator>): new func
15233         (operator>=): new func
15234         (operator<=): new func
15235
15236         * text.C (changeCase): use selection.start and selection.end
15237         (changeRegionCase): require from to be <= to. Require par to be a
15238         valid paragraph.
15239
15240         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15241
15242 2001-06-27  Juergen Vigna  <jug@sad.it>
15243
15244         * text.C (cursorLeftOneWord): changed to return the cursor and added
15245         overlay with BufferView * parameter which calls this one.
15246         (getWord): added
15247         (selectWord): use new getWord function.
15248         (changeCase): renamed from changeWordCase as and extended to work
15249         also on selections.
15250
15251         * lyxtext.h: added enum word_location
15252
15253         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15254         changeCase as this operates now also on selections.
15255
15256 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15257
15258         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15259
15260         * many files: send debug output to Debug::INFO instead of
15261         Debug::ANY.
15262
15263         * converter.C (View):
15264         (Convert):
15265         (Move): send debug output to Debug::FILES instead of console.
15266
15267 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15268
15269         * lyxfunc.C (getStatus): use func_status
15270
15271         * func_status.h: new header, describing the results of
15272         LyXFunc::getStatus;
15273
15274         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15275         LFUN_MATH_HALIGN.
15276
15277 2001-06-25  The LyX Project  <jug@sad.it>
15278
15279         * buffer.C (sgmlOpenTag):
15280         (sgmlCloseTag):
15281         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15282
15283 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * text2.C: remove some dead code
15286
15287         * tabular.C (GetCellInset): store the last cell checked (gotten)
15288
15289         * tabular.h: add the helper for the speedup
15290
15291         * lyxtext.h: remove some dead code
15292
15293 2001-06-26  The LyX Project  <Asger>
15294
15295         * paragraph.C: Change export to LaTeX of alignment to
15296         \begin{center} and family for better roundtrip work with reLyX.
15297
15298         * Tune the math drawing a bit.
15299
15300 2001-06-25  The LyX Project  <Asger>
15301
15302         * LColor.C (LColor): New color for math background. New color
15303         for buttons.
15304
15305 2001-06-25  The LyX Project  <jug@sad.it>
15306
15307         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15308
15309         * lyxfunc.C (Open):
15310         * bufferlist.C (newFile): do not restrict to files ending with
15311         .lyx
15312
15313         * BufferView_pimpl.C (MenuInsertLyXFile):
15314
15315 2001-06-24  The LyX Project  <jug@sad.it>
15316
15317         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15318         of compare_no_case
15319
15320 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * lyxtext.h: rename most methods to begin with a small char.
15323         Lots of changes because of this.
15324
15325         * paragraph.C (Paragraph): do not call fitToSize
15326         (erase): call Pimpl::erase
15327         (insertChar): call Pimpl::insertChar
15328         (insertInset): call Pipl::insertInset
15329         (breakParagraph): do not call fitToSize
15330         (breakParagraphConservative): do not call fitToSize
15331         (fitToSize): remove method
15332
15333         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15334
15335 2001-06-24  The LyX Project  <Asger>
15336
15337         * Fix Qt compilation^2
15338
15339 2001-06-24  The LyX Project  <jug@sad.it>
15340
15341         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15342         depthHook(getDepth()-1).
15343
15344         * paragraph.h:
15345         * ParagraphParameters.h:
15346         * ParameterStruct.h: change type of depth to unsigned int ==
15347         depth_type. Many adaptations to other files before of that.
15348
15349 2001-06-24  The LyX Project  <Asger>
15350
15351         * Fix Qt compilation.
15352
15353 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15354
15355         * paragraph.h: renamed several methods to begin with small letter.
15356         several changes to many parts of the code because of this.
15357
15358 2001-06-23  The LyX Project  <jug@sad.it>
15359
15360         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15361         rewritten to discard all double spaces when KeepEmpty is off
15362         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15363         to only handle newlines but not fiddle with spaces and friends.
15364
15365         * lyxfunc.C (MenuNew): when doing 'new from template', use
15366         template_path as default directory
15367
15368 2001-06-23  The LyX Project  <Asger>
15369
15370         * Clean-up of header file includes all over
15371         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15372
15373 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15374
15375         * paragraph.h: renamed from lyxparagraph.h
15376
15377 2001-06-23  Asger  <lyx@violet.home.sad.it>
15378
15379         * Buffer.h: Removed Buffer::resize
15380         * BufferList.h: Removed BufferList::resize
15381         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15382         the document lazily when we change the width, or the font settings.
15383
15384 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15387
15388 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * buffer.h: remove out of date comment
15391
15392 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * lyxscreen.h:
15395         * screen.C: fix "theoretical" GC leak
15396
15397 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15398
15399         * LaTeX.C (scanAuxFile):
15400         (deplog): remove trailing \r when reading stream (useful under
15401         win32)
15402
15403 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15406         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15407         and BufferView::theLockingInset(Inset*), so should use them and not
15408         access bv_->text->the_locking_inset directly.
15409
15410         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15411
15412 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15413
15414         * Makefile.am:
15415         * tex-defs.h: remove old unused file
15416
15417 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15418
15419         * BufferView_pimpl.C: fix typo, remove minibuffer message
15420           when buffer has loaded
15421
15422 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * lyxfunc.C (Dispatch): use stringstream
15425         (MenuNew): use stringstream
15426         (Open): use stringstream
15427
15428         * importer.C (Import): use stringstream
15429
15430         * bufferview_funcs.C (CurrentState): use stringstream
15431
15432         * LaTeX.C (run): use stringstream
15433
15434         * BufferView_pimpl.C (savePosition): use stringstream
15435         (restorePosition): use stringstream
15436         (MenuInsertLyXFile): use stringstream
15437
15438 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15439
15440         * BufferView.C:
15441         * Bullet.C:
15442         * ColorHandler.C:
15443         * FontInfo.C:
15444         * FontLoader.C:
15445         * LColor.C:
15446         * LaTeXFeatures.C:
15447         * Painter.C:
15448         * gettext.C:
15449         * lyx_gui_misc.C:
15450         * lyxserver.C:
15451         * vspace.C: removed // -*- C++ -*- as first line.
15452
15453         * lyxfind.h:
15454         * version.h: added // -*- C++ -*- as first line.
15455
15456 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15457
15458         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15459
15460         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15461         of string
15462
15463 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15464
15465         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15466         of floats.
15467
15468 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * gettext.C: include LString.h even when --disable-nls is on.
15471
15472 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15473
15474         * converter.h (Get): changed argument type from int to
15475         FormatList::size_type to avoid unnecessary conversion.
15476
15477         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15478         before using it.
15479
15480 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * gettext.h: include LString.h even when --disable-nls is on.
15483
15484 2001-06-07  Juergen Vigna  <jug@sad.it>
15485
15486         * text.C (BreakAgain): subst spaces with tabs.
15487
15488         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15489         (resizeInsetsLyXText): set force on resizeLyXText.
15490
15491 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * gettext.h (gettext_init):
15494         (locale_init): use a real definition instead of a macro
15495
15496 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15497
15498         * Bufferview_pimpl.C:
15499         * LColor.h:
15500         * LColor.C: further lcolor tidies
15501
15502 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15503
15504         * BufferView_pimpl.C (updateScrollbar): simplify.
15505
15506         * BufferView2.C: don't include insets/insetinfo.h, change
15507         prototype for insertInset and call the Pimpl version. let
15508         updateInset call Pimpl version.
15509
15510         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15511         gotoInset to BufferView::Pimpl
15512
15513 2001-06-01  Juergen Vigna  <jug@sad.it>
15514
15515         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15516         inside a LockingInset (is the update needed at all?).
15517
15518 2001-05-31  Juergen Vigna  <jug@sad.it>
15519
15520         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15521         here not the old one otherwise how should we compare it afterwards
15522         if it's the same!
15523
15524 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * lyxfont.C:
15527         * tabular.C:
15528         * tabular-old.C:
15529         * FontInfo.C: bring C functions into global namespace when
15530         necessary
15531
15532 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * LString.h: make sure config.h has been loaded before LString.h.
15535
15536         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15537         (one for each char read by EatLine!).
15538
15539         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15540         variables.
15541
15542 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15545         to the same as the par we break from
15546
15547 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15550
15551         * MenuBackend.C (expand): also create menu entries for wide
15552         versions of the floats.
15553
15554         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15555
15556         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15557
15558         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15559         frontends/Makefile.am
15560
15561         * text2.C: adjust
15562         * text.C: adjust
15563
15564
15565         * tabular.C (getTokenValue): add std::
15566
15567         * tabular-old.C (getTokenValue): add std::
15568         (getTokenValue): ditto
15569         (getTokenValue): ditto
15570
15571         * screen.C (ToggleSelection): adjust
15572
15573         * lyxtext.h: put selection cursors inside a Selection struct.
15574
15575         * lyxfunc.C (moveCursorUpdate): adjust
15576
15577         * lyxfont.C (latexWriteStartChanges): add std::
15578
15579         * lyxfind.C: adjust
15580
15581         * font.h: delete with(char const *, LyXFont const &)
15582
15583         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15584
15585         * FontInfo.C (getFontname): add std::
15586
15587         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15588         (workAreaButtonPress): adjust
15589         (tripleClick): adjust
15590         (update): adjust
15591         (moveCursorUpdate): adjust
15592         (Dispatch): adjust
15593
15594         * BufferView2.C (gotoInset): adjust
15595
15596 2001-05-30  Juergen Vigna  <jug@sad.it>
15597
15598         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15599         to check pspell I add this as default as I now have new pspell
15600         libraries and they seem to use this.
15601
15602 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * text2.C (CutSelection): make the cursor valid before the call to
15605         ClearSelection.
15606
15607 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15610         relied on 0 terminated strings and other horrors. Bug found due to
15611         the new assert in lyxstring!
15612
15613         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15614         KP_ keys.
15615
15616 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15619         to latinkeys.bind.
15620
15621         * lyxfunc.C (processKeySym): change method of getting to the
15622         self-insert char.
15623
15624         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15625         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15626         * BufferView_pimpl.[Ch]: here as private methods.
15627
15628 2001-05-28  Juergen Vigna  <jug@sad.it>
15629
15630         * text.C (SetHeightOfRow): added the update() call again as it is
15631         needed to initialize inset dimensions!
15632
15633 2001-05-16  Juergen Vigna  <jug@sad.it>
15634
15635         * text2.C (SetCharFont): Add new function with BufferView * and
15636         bool toggleall parameters for setting insets internal fonts.
15637         (SetFont): Freeze the undo as we may change fonts in Insets and
15638         all this change should be inside only one Undo!
15639
15640         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15641         setting font's in insets as for them we have the SetFont function!
15642
15643 2001-05-15  Juergen Vigna  <jug@sad.it>
15644
15645         * text2.C (ClearSelection): to be sure we REALLY don't have any
15646         selection anymore!
15647
15648         * tabular.C (TeXCellPreamble): fixed the left border problem for
15649         multicolumn cells.
15650
15651 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15652
15653         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15654         dependancy file
15655
15656 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15657
15658         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15659         LFUN_BREAKPARAGRAPH.
15660
15661         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15662         help test to "internal only", similar for LFUN_INSERT_URL
15663
15664         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15665         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15666         auto_region_delete and deadkeys.
15667
15668 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15669
15670         * LColor.h:
15671         * LColor.C: remove some dead entries, tidy a little
15672
15673 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15676         commented code.
15677         (Dispatch): implement LFUN_ESCAPE
15678
15679         * commandtags.h: add LFUN_ESCAPE
15680
15681         * LyXAction.C (init): add entry for LFUN_ESCAPE
15682
15683         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15684         Remove commented code.
15685         (insertNote): moved here
15686         (open_new_inset): moved here
15687
15688         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15689         BufferView_pimpl
15690
15691 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * kbmap.C (findbinding): clean it up and make it work correctly.
15694
15695         * lyx_main.C (init): do not pass argc and argv as parameters
15696
15697 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15698
15699         * buffer.C: fix path for OS/2 & Win32
15700
15701         * lyx_gui.C:
15702         * lyx_main:
15703         * lyx_main.C: Added os:: class.
15704
15705         * os2_defines.h: update
15706
15707 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15708
15709         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15710         better by trying again with reduced state.
15711
15712 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15713
15714         * lyxrc.C (read): print error about invalid key sequence only when
15715         debugging (because not all latinX keysyms are known to some X
15716         servers)
15717
15718         * kbsequence.C (getiso): add a few std:: qualifiers
15719         (getiso): comment out extra return statement.
15720
15721 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15724         handling.
15725         (Dispatch): enhance the accent inset a bit. (not perfect)
15726
15727 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15728
15729         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15730
15731 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15732
15733         * bufferlist.C (emergencyWrite): fix assert() call
15734
15735 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15736
15737         * text.C (InsertChar): Added trivial patch to only send the "you
15738         can not do multiple spaces this way" message once during a
15739         session.
15740
15741 2001-05-08  Baruch Even  <baruch@lyx.org>
15742
15743         * Makefile.am: Changed order of libraries to get LyX to link properly
15744         with the gnome frontend.
15745
15746 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15747
15748         * LaTeXFeatures.h: add a std:: qualifier
15749
15750 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * paragraph.C (String): use stringstream
15753
15754 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * paragraph.C (writeFile): remove footflag arg
15757
15758         * buffer.C (makeLaTeXFile): use stringstream
15759         (latexParagraphs): remove footnot gurba
15760
15761         * LaTeXFeatures.C (getPackages): use stringstream
15762         (getMacros): likewise
15763         (getTClassPreamble): likewise
15764         (getFloatDefinitions): new method
15765
15766         * paragraph.C (writeFile): reindent
15767         (Erase): reindent
15768
15769         * WorkArea.h: revert the xpos + etc changes.
15770
15771         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15772
15773         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15774
15775         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15776         (pasteSelection): likewise
15777         * text2.C (CreateUndo): likewise
15778
15779 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * minibuffer.C (peek_event): temporarily reduce the functionality
15782         of the minibuffer (to allow args on lfuns)
15783
15784         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15785         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15786
15787         * buffer.C (readInset): add compability reading of old float
15788         lists, add reading of new style float list.
15789         (readInset): avoid reevaluation of inscmd.getCmdName()
15790         (getLists): reindent
15791
15792         * MenuBackend.C (MenuItem): implement parsing of
15793         md_floatlistinsert and md_floatinsert.
15794         (expand::LastFiles): move initalizaton of iterators out of loop,
15795         avoid reevaluation.
15796         (expand::Documents): introduce typdedef vector<string> Strings,
15797         and use it.
15798         (expand::ExportFormats): introduce typedef vector<Format const *>
15799         Formats, and use it.
15800         (expand): implement FloatListInsert and FloatInsert.
15801
15802         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15803         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15804         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15805
15806         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15807         handling.
15808         (Dispatch::LFUN_FLOAT_LIST): implement
15809
15810 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15811
15812         * LaTeX.C (run): Fix problem with --export code.
15813
15814 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15815
15816         * BufferView.[Ch] (workarea): removed.
15817         (getClipboard) new method; wrapper for workarea()->getClipboard()
15818
15819         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15820         bug.
15821
15822         * WorkArea.h (width, height, xpos, ypos): These methods all
15823         returned the dimensions of the work_area sub-area of WorkArea,
15824         resulting in a position error if the WorkArea were resized. Now
15825         return the dimensions of the entire WorkArea.
15826
15827         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15828
15829 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * LaTeX.C (deplog): correct the syntax of regex reg1
15832
15833 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * undo.C: remove !NEW_INSETS cruft
15836
15837 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15838
15839         * text2.C: remove !NEW_INSETS cruft
15840
15841         * text.C: remove !NEW_INSETS cruft
15842
15843         * tabular.C: remove !NEW_INSETS cruft
15844
15845         * spellchecker.C: remove !NEW_INSETS cruft
15846
15847         * lyxtext.h: remove !NEW_INSETS cruft
15848
15849         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15850
15851         * lyxfunc.C: remove !NEW_INSETS cruft
15852
15853         * lyxfind.C: remove !NEW_INSETS cruft
15854
15855         * lyx_cb.C: remove !NEW_INSETS cruft
15856
15857         * figureForm.C: remove  !NEW_INSETS cruft
15858
15859         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15860
15861         * buffer.[Ch]: remove !NEW_INSETS cruft
15862
15863         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15864
15865         * CutAndPaste.C: remove !NEW_INSETS cruft
15866
15867         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15868
15869         * BufferView2.C: remove !NEW_INSETS cruft
15870
15871         * BufferView.h: remove !NEW_INSETS cruft
15872
15873 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * Lsstream.h: include LString.h before the sstream headers to
15876         fix problem with gcc 2.95.3 and lyxstring
15877
15878 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * lyx_main.C: add using directives when needed for C functions
15881         declared in std:: namespace.
15882
15883 2001-04-27  Juergen Vigna  <jug@sad.it>
15884
15885         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15886         (SetHeightOfRow): comment out the update call should not be needed!
15887
15888 2001-04-13  Juergen Vigna  <jug@sad.it>
15889
15890         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15891         (LyXTabular): tried to minimize operator= operations (and realized
15892         hopfully Lars wish).
15893
15894 2001-04-27  Juergen Vigna  <jug@sad.it>
15895
15896         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15897
15898 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15901
15902         * buffer.C (readInset): hack to make listof algorithm work
15903
15904         * BufferView_pimpl.C: hack to make listof algorithm work
15905
15906 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * LyXAction.C: removed all !NEW_INSETS cruft
15909         (init): moved lfun_item in method
15910
15911         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15912
15913 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15914
15915         * BufferView2.C (theLockingInset): white space.
15916
15917 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15918
15919         * minibuffer.C: include <iostream>
15920
15921         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15922
15923         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15924
15925         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15926
15927         * text.[Ch] (TransposeChars): new method
15928
15929 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * call message directly through LyXView instead of through LyXFunc
15932         * BufferView2.C: adjust
15933         * BufferView_pimpl.C: adjust
15934         * FontLoader.C: adjust
15935         * buffer.C: adjust
15936         * bufferview_funcs.C: adjust
15937         * converter.C: adjust
15938         * figureForm.C: adjust
15939         * importer.C: adjust
15940         * lyx_cb.C: adjust
15941         * lyx_gui_misc.C: adjust
15942         * lyxfunc.C: adjust
15943         * lyxvc.C: adjust
15944         * text2.C: adjust
15945         + more files in subdirs
15946
15947         * lyxparagraph.h (size): move up int file
15948         (GetLayout): ditto
15949
15950         * adjust all uses of Assert to lyx::Assert.
15951
15952         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15953         lyxfunctional in namespace lyx
15954         * layout.C (hasLayout): ditto
15955         (GetLayout): ditto
15956         (GetLayout): ditto
15957         (delete_layout): ditto
15958         (NumberOfClass): ditto
15959         * converter.C (GetFormat): ditto
15960         (GetNumber): ditto
15961         (Add): ditto
15962         (Delete): ditto
15963         (SetViewer): ditto
15964         * bufferlist.C (getFileNames): ditto
15965         (emergencyWriteAll): ditto
15966         (exists): ditto
15967         (getBuffer): ditto
15968         * MenuBackend.C (hasSubmenu): ditto
15969         (hasMenu): ditto
15970         (getMenu): ditto
15971         * BufferView_pimpl.C (getInsetByCode): ditto
15972
15973 2001-04-18  Juergen Vigna  <jug@sad.it>
15974
15975         * vspace.C (asLatexString): fixed the 100% problem.
15976
15977 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15978
15979         * lyxfunc.C (Dispatch):
15980         * minibuffer.C:
15981         * minibuffer.h: add a few std:: qualifiers
15982
15983 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15984
15985         * minibuffer.[Ch]: reimplement so that commands is initiated and
15986         run from lyxfunc, simplified som handling, and made the completion
15987         and history code for complete. wip.
15988
15989         * lyxfunc.C (processKeySym): call message
15990         (miniDispatch): new temporary method
15991         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15992         (LFUN_MESSAGE): implement
15993         (LFUN_MESSAGE_PUSH): implement
15994         (LFUN_MESSAGE_POP): implement
15995         (initMiniBuffer): the initial/defualt minibuffer message.
15996
15997         * lyxfont.[Ch]: inline some more getters
15998
15999         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16000
16001         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16002
16003         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16004         (AutoSave): use LFUN_MESSAGE
16005         (Reconfigure): ditto
16006
16007         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16008
16009         * figureForm.C: use LFUN_MESSAGE
16010
16011         * converter.C (runLaTeX): use LFUN_MESSAGE
16012
16013         * bufferview_funcs.C: use LFUN_MESSAGE
16014         (Melt): ditto
16015         (changeDepth): ditto
16016
16017         * bufferparams.h: use boost::
16018
16019         * bufferlist.h: inherit privately from noncopyable
16020
16021         * bufferlist.C (loadLyXFile): remove some commented code.
16022
16023         * buffer.C (runChktex): use LFUN_MESSAGE
16024
16025         * ShareContainer.h: inherit privately from noncopyable
16026
16027         * ParagraphParameters.[hC] (depth): inline it.
16028
16029         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16030         methods.
16031         (message): new method
16032         (messagePush): ditto
16033         (messagePop): ditto
16034         (show): init minibuffer
16035         (showState): direct call
16036
16037         * LaTeX.[Ch]: inherit privately from noncopyable
16038         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16039         instead of WriteStatus.
16040
16041         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16042
16043         * BufferView_pimpl.C (buffer): don't init minibuffer
16044         (workAreaButtonPress): use LFUN_MESSAGE
16045         (workAreaButtonRelease): ditto
16046         (savePosition): ditto
16047         (restorePosition): ditto
16048         (MenuInsertLyXFile): ditto
16049         (workAreaExpose): don't init minibuffer
16050         (update): remove commented code, simplify
16051
16052         * BufferView2.C (openStuff): use LFUN_MESSAGE
16053         (toggleFloat): ditto
16054         (menuUndo): ditto
16055         (menuRedo): ditto
16056         (copyEnvironment): ditto
16057         (pasteEnvironment): ditto
16058         (copy): ditto
16059         (cut): ditto
16060         (paste): ditto
16061         (gotoInset): ditto
16062         (updateInset): remove some commented code
16063
16064         * lastfiles.h: inherit privately from noncopyable
16065         * layout.h: ditto
16066         * lyx_gui.h: ditto
16067         * lyx_main.h: ditto
16068         * lyxlex.h: ditto
16069         * lyxlex_pimpl.h: ditto
16070
16071         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16072         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16073         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16074
16075         * LyXAction.h: inherit privately from noncopyable, add methods
16076         func_begin, func_end, returning iterators to the func map.
16077
16078         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16079         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16080         (func_begin): new method
16081         (func_end): new method
16082
16083         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16084         and not)
16085         (copySelection): ditto
16086         (pasteSelection): ditto
16087
16088         * BufferView.C: whitespace change
16089         * BufferView.h: inherit privately from noncopyable
16090
16091 2001-04-16  Allan Rae  <rae@lyx.org>
16092
16093         * tabular-old.C (l_getline):
16094         * spellchecker.C (sc_check_word):
16095         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16096         an unrecognised preprocessor directive.  So ensure they're wrapped.
16097
16098 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16099
16100         * src/exporter.C (Export): Give an error message when path to file
16101         contains spaces.
16102
16103 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16104
16105         * LaTeX.C (deplog): Always check that foundfile exists.
16106
16107 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * lyx_main.h:
16110         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16111
16112 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * tabular.[Ch] (getLabelList): implement new method
16115
16116         * minibuffer.h: comment ouf setTiimer
16117
16118         * minibuffer.C (ExecutingCB): constify res
16119         (peek_event): constify s
16120         (Set): constify ntext
16121         (Init): constify nicename
16122
16123         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16124
16125         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16126         (savePosition): use two params to Minibuffer::Set
16127         (restorePosition): ditto
16128
16129 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * lyx_main.C: include language.h
16132
16133         * Makefile.am (lyx_main.o): add language.h
16134
16135 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * exporter.C:
16138         * paragraph.C:
16139         * screen.C:
16140         * tabular.C:
16141         * CutAndPaste.C: include gettext.h
16142
16143         * lyxfont.h: remove old hack with ON and OFF.
16144
16145         * lyxparagraph.h:
16146         * lyxfont.h: do not include language.h...
16147
16148         * BufferView2.C:
16149         * LaTeXFeatures.C:
16150         * Painter.C:
16151         * bufferview_funcs.C:
16152         * font.C:
16153         * lyxfont.C:
16154         * text.C:
16155         * text2.C:
16156         * trans_mgr.C:
16157         * paragraph.C: ... but do it here instead
16158
16159 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16162
16163         * tabular.C: small reformat
16164
16165         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16166         NEW_INSETS version
16167         (GetChar): ditto
16168         (BreakParagraph): ditto
16169         (SetOnlyLayout): ditto
16170         (SetLayout): ditto
16171
16172         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16173         with one arg less.
16174
16175         * lastfiles.C: removed most using decl, add std:: where needed
16176
16177         * buffer.C: ws changes
16178
16179         * MenuBackend.C (class compare_format): put into anon namespace
16180         (expand): constify label, names, action, action2
16181         (expand):
16182
16183         * text.C (SingleWidth): constify font
16184         (IsBoundary): constify rtl2
16185         (GetVisibleRow): constify ww
16186
16187         * LaTeX.C (deplog): constify logfile
16188
16189         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16190         start_x, end_x
16191         (workAreaExpose): constify widthChange, heightChange
16192
16193         * lyxrow.C (par): moved
16194         (height): moved
16195         (next): moved
16196         * lyxrow.h: as inlines here
16197
16198         * lyxfont.h (shape): moved from lyxfont.C
16199         (emph): moved from lyxfont.C
16200
16201         * lyxfont.C (LyXFont): use initialization list for all
16202         constructors
16203         (shape): move to lyxfont.h as inline
16204         (emph): move to lyxfont.h as inline
16205
16206
16207 2001-04-04  Juergen Vigna  <jug@sad.it>
16208
16209         * vspace.C: had to include stdio.h for use of sscanf
16210
16211 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * BufferView.h:
16214         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16215         independent of xforms.
16216
16217 2001-04-02  Juergen Vigna  <jug@sad.it>
16218
16219         * spellchecker.C: fixed namespace placing!
16220
16221 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16222
16223         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16224         the LyXParagraph * is 0.
16225
16226 2001-03-29  Juergen Vigna  <jug@sad.it>
16227
16228         * vspace.C: added support for %, c%, p%, l%.
16229         (stringFromUnit): added helper function.
16230         (asLatexString): changed to give right results for the %-values.
16231
16232         * buffer.C: convert the widthp in a width%.
16233
16234 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16235
16236         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16237         figureForm.[Ch].
16238
16239         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16240         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16241
16242         * lyx_cb.[Ch]: see above.
16243
16244         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16245         form1.[Ch].
16246
16247         * form1.[Ch]:
16248         * lyx.[Ch]: replaced by figure_form.[Ch].
16249
16250         * lyx_gui.C:
16251         * lyx_gui_misc.C:
16252         * lyxfunc.C: changed headers associated with above changes.
16253
16254 2001-03-27  Juergen Vigna  <jug@sad.it>
16255
16256         * BufferView_pimpl.C: set the temporary cursor right!
16257
16258 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16259
16260         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16261
16262 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * LString.h: removed "using std::getline"!
16265
16266         * BufferView_pimpl.C (Dispatch): changes due to changes in
16267         InsetInclude::Params.
16268
16269         * buffer.C (tag_name): removed redundant break statements as they were
16270         producing lots of warnings with my compiler.
16271
16272 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * LString.h: add "using std::getline" when using the real <string>.
16275
16276 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16277
16278         * buffer.C: removed bitset usage.
16279         PAR_TAG moved to an anonymous name space.
16280         (tag_name): new funtion, also in the anonymous namespace.
16281         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16282         (makeDocBookFile): clean code. Completed transition from string arrays
16283         to string vectors.
16284         (SimpleDocBookOnePar): code clean.
16285
16286 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16287
16288         * tabular.C: add some comments.
16289
16290 2001-03-22  Juergen Vigna  <jug@sad.it>
16291
16292         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16293         compatibility read a bit and fixed bug with minipage in different
16294         depth.
16295
16296 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16297
16298         * buffer.C (pop_tag): removed.
16299         (push_tag): removed.
16300         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16301         array replaced with vector. Added support for CDATA sections.
16302         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16303         at any nest level.
16304         (makeDocBookFile): XML conformant declaration of CDATA section,
16305         fixed bug related to <emphasis> in the first paragraph char.
16306         (sgmlOpenTag): exclude empty tags.
16307         (sgmlCloseTag): ditto.
16308
16309         * buffer.h (pop_tag): removed.
16310         (push_tag): removed.
16311
16312 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16313
16314         * language.h (Languages): added size_type and size().
16315
16316 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16317
16318         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16319         response on compability reading of minipages. One probliem is that
16320         the old usage of minipages was «flertydig»
16321
16322         * several files here and in subdirs: don't use static at file
16323         scope use anon namespaces instead.
16324
16325 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16326
16327         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16328         LaTeX output. This is necessary for Literate document
16329         processing.
16330
16331 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16332
16333         * buffer.C: insert hfill when needed.
16334
16335         * tabular.C (l_getline): use string::erase, small whitespace change.
16336
16337         * BufferView_pimpl.C: try the anon namespace.
16338         * WorkArea.C: ditto
16339
16340 2001-03-16  Juergen Vigna  <jug@sad.it>
16341
16342         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16343         otherwise it won't open options-dialogs.
16344
16345         * buffer.C: honor pextraWidth(p) on converting minipages.
16346
16347         * tabular.C (l_getline): changed the functions to strip trailing \r.
16348
16349 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16350
16351         * BufferView_pimpl.C:
16352         * minibuffer..C: added "using SigC::slot" declaration.
16353
16354 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16355
16356         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16357
16358         * text2.C: ditto
16359
16360         * text.C: ditto
16361
16362         * paragraph.C: ditto
16363
16364         * lyxtext.h: NO_PEXTRA
16365
16366         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16367
16368         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16369         * ParameterStruct.h: ditto
16370         * ParagraphParameters.h: ditto
16371         * lyxparagraph.h: ditto
16372
16373 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16374
16375         * buffer.C: add compability for minipage alignment.
16376         (latexParagraphs): remove unwanted pextra check.
16377
16378         * several files: remove CXX_WORKING_NAMESPACES
16379
16380         * buffer.C (pop_tag): tie is in namespace boost
16381
16382         * BufferView.h: noncopyable is in namespace boost
16383         * lyxlex.h: ditto
16384         * lyx_main.h: ditto
16385         * lyx_gui.h: ditto
16386         * layout.h: ditto
16387         * lastfiles.h: ditto
16388         * bufferlist.h: ditto
16389         * ShareContainer.h: ditto
16390         * LyXView.h: ditto
16391         * LyXAction.h: ditto
16392         * LaTeX.h: ditto
16393
16394 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16395
16396         * Merging changes from BRANCH_MVC back into HEAD.
16397
16398         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16399
16400 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16401
16402         * BufferView_pimpl.C: change from intl.C
16403
16404         * combox.h:
16405         * combox.C:
16406         * Makefile.am: move combox.*
16407
16408         * form1.h:
16409         * form1.C:
16410         * lyx_gui.C:
16411         * intl.h:
16412         * intl.C: remove dialog (covered by prefs)
16413
16414 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16415
16416         * lyxfunc.C (Dispatch): removed redundant break statement.
16417
16418 2001-03-14  Juergen Vigna  <jug@sad.it>
16419
16420         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16421
16422 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16423
16424         * buffer.C: add hack to fix compability reading of minipages.
16425
16426 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16427
16428         * buffer.C (getLists): Cleanup.
16429
16430 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16431
16432         * lyxfont.C (update): don't honor toggleall on font size.
16433
16434 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16435
16436         * bmtable.c:
16437         * bmtable.h:
16438         * Makefile.am: moved to frontends/xforms/
16439
16440         * lyx_gui_misc.C:
16441         * lyxfunc.C:
16442         * BufferView_pimpl.C: changes for moved mathpanel
16443
16444 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16445
16446         * gettext.h: fix gettext_init() in --disable-nls
16447
16448 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16449
16450         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16451
16452 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16453
16454         * lyx.C:
16455         * lyx.h: strip external form
16456
16457 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * BufferView_pimpl.C: add comment, destroySplash()
16460
16461 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16462
16463         * BufferView_pimpl.C:
16464         * LyXAction.C:
16465         * buffer.C:
16466         * commandtags.h:
16467         * lyxfunc.C: use re-worked insetinclude
16468
16469 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16470
16471         * buffer.C: add using std::stringstream.
16472
16473         * lyx_cb.C: readd using std::ios.
16474
16475         * buffer.C: add using std::map.
16476
16477         * BufferView_pimpl.C: add using std::vector.
16478
16479         * ShareContainer.h: add std:: to swap.
16480
16481         * buffer.h: add some typedefs
16482         * buffer.C (getLists): use them
16483         (getLists): renamed from getTocList.
16484         add a counter for the different float types and use it in the
16485         generated string.
16486         (getLists): use the same counter for the NEW_INSETS and the "non"
16487         NEW_INSETS
16488
16489         * lyx_cb.h: remove unused items, includes, using etc.
16490
16491         * ShareContainer.h: remove some commented code, add more comments
16492         and "documentation".
16493
16494 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16495
16496         * buffer.C (getTocList): make the list also when NEW_INSETS is
16497         defined.
16498
16499         * buffer.h: remove TocType
16500
16501         * buffer.C (getTocList): change to return a map<string,
16502         vector<TocItem> >, implement for dynamic number of list.
16503
16504         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16505         * text2.C (PasteSelection): adjust
16506         * CutAndPaste.C (pasteSelection): adjust
16507
16508         * FloatList.C (FloatList): update from the new_insets branch.
16509         * Floating.[Ch]: ditto
16510         * LaTeXFeatures.C: ditto
16511         * buffer.C: ditto
16512         * lyxlex_pimpl.C: ditto
16513
16514         * paragraph.C (Last): remove when NEW_INSETS is defined.
16515
16516         * other file: changes because of the above.
16517
16518 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16519
16520         * lyxparagraph.h: rename next to next_, previous to previous_,
16521         make them private for NEW_INSETS. Rename Next() to next(),
16522         Previous() to previous().
16523
16524         * other files: changes because of the above.
16525
16526 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16527
16528         * BufferView.h:
16529         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16530         problem.
16531
16532 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16533
16534         * main.C (main): pass lyx_localedir to gettext_init().
16535
16536         * gettext.h: remove locale_init and gettext_init macros
16537
16538         * gettext.C (locale_init): new function
16539         (gettext_init): new function
16540
16541         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16542         setlocale().
16543
16544 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16545
16546         * Moved credits to frontends:
16547         * credits.[Ch]: removed
16548         * credits_form.[Ch]: removed
16549         * lyx_gui_misc.C: remove credits stuff
16550         * Makefile.am:
16551
16552 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16553
16554         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16555
16556         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16557         unneeded destructor.
16558
16559         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16560         a standalone pointer again.
16561
16562         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16563
16564 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16565
16566         * Makefile.am:
16567         * filedlg.h:
16568         * filedlg.C:
16569         * LyXAction.C:
16570         * ToolbarDefaults.C:
16571         * bufferlist.C:
16572         * commandtags.h:
16573         * form1.C:
16574         * form1.h:
16575         * lyx_cb.C:
16576         * lyx_cb.h:
16577         * lyxfunc.h:
16578         * lyxfunc.C:
16579         * BufferView_pimpl.C: use new file dialog in GUII
16580
16581         * lyx_cb.h:
16582         * lyx_cb.C: remove LayoutsCB to Toolbar
16583
16584 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16585
16586         * ShareContainer.h (get): add std:: qualifier
16587
16588 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * ShareContainer.h: define a proper ShareContainer::value_type
16591         type (and use typename to please compaq cxx)
16592
16593 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16594
16595         * lyxparagraph.h: move serveral local vars to
16596         ParameterStruct/ParagraphParameters., use ShareContainer in
16597         FontTable., make vars in FontTable private and add getter and
16598         setter.
16599
16600         * paragraph.C: changes because of the above.
16601
16602         * lyxfont.h: remove copy constructor and copy assignment. (the
16603         default ones is ok), move number inside FontBits. move inlines to
16604         lyxfont.C
16605
16606         * lyxfont.C: add number to initializaton of statics, move several
16607         inlines here. constify several local vars. some whitespace
16608         cleanup. Dont hide outerscope variables.
16609
16610         * Spacing.h: add two new constructors to match the set methods.
16611
16612         * ShareContainer.h: new file, will perhaps be moved to support
16613
16614         * ParameterStruct.h: new file
16615
16616         * ParagraphParameters.h: new file
16617
16618         * ParagraphParameters.C: new file
16619
16620         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16621         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16622
16623         * BufferView_pimpl.C: ParagraphParameter changes.
16624         * buffer.C: Likewise.
16625         * bufferview_funcs.C: Likewise.
16626         * text.C: Likewise.
16627         * text2.C: Likewise.
16628
16629 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * lyxfind.C (LyXReplace): do not redefine default argument in
16632         implementation.
16633         (IsStringInText): ditto
16634         (SearchForward): ditto
16635         (SearchBackward): ditto
16636
16637 2001-03-06  Juergen Vigna  <jug@sad.it>
16638
16639         * lyxfind.C (IsStringInText): put parentes around expressions.
16640
16641 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16642
16643         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16644
16645 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16646
16647         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16648
16649         * stl_string_fwd.h: add comment
16650
16651         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16652
16653         * tabular.h:
16654         * tabular.C: remove unused DocBook methods
16655
16656         * intl.C:
16657         * language.C:
16658         * paragraph.C:
16659         * buffer.C:
16660         killed DO_USE_DEFAULT_LANGUAGE
16661
16662 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16663
16664         * lyx_gui.C: do not include language.h.
16665
16666         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16667         arguments in function implementation.
16668
16669 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16670
16671         * BufferView_pimpl.C: add <ctime>
16672
16673 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16674
16675         * BufferView_pimpl.C: add using std::find_if
16676
16677 2001-02-27  José Matos  <jamatos@fep.up.pt>
16678
16679         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16680         by OnlyPath.
16681
16682 2001-02-11  José Matos  <jamatos@fep.up.pt>
16683
16684         * buffer.C (makeDocBookFile): command styles now have a parameter as
16685         "title" by default.
16686
16687 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16688
16689         * layout_forms.[Ch]: removed
16690         * lyx_cb.[Ch]: out character
16691         * lyx_gui.C: out character
16692         * lyx_gui_misc.C: out character
16693         * bufferview_funcs.C: : out character,
16694         added toggleall as parameter in ToggleAndShow
16695
16696 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16697
16698         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16699
16700         * text2.C (SetCurrentFont): Disable number property at boundary.
16701
16702 2001-02-26  Juergen Vigna  <jug@sad.it>
16703
16704         * lyxfunc.C (getStatus): added a string argument override function so
16705         that this is correctly called from LyXFunc::Dispatch if it contains a
16706         do_not_use_argument which is used!
16707         (Dispatch): added check for "custom" export and call appropriate func.
16708
16709 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16710
16711         * lyxrc.C: Add language_command_local, language_use_babel and
16712         language_global_options.
16713
16714         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16715
16716         * buffer.C (makeLaTeXFile): Use language_use_babel and
16717         language_global_options.
16718
16719 2001-02-23  Juergen Vigna  <jug@sad.it>
16720
16721         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16722         which works with LyXText and putted it inside BufferView. Here now we
16723         only call for that part the BufferView::Dispatch() function.
16724
16725         * BufferView.C (Dispatch): added.
16726
16727         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16728         functions which needs to use a LyXText over from LyXFunc.
16729         (MenuInsertLyXFile): added
16730         (getInsetByCode): added
16731         (moveCursorUpdate): added
16732         (static TEXT): added
16733
16734 2001-02-22  Juergen Vigna  <jug@sad.it>
16735
16736         * BufferView_pimpl.C (update): call a status update to see if LyXText
16737         needs it.
16738
16739 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16740
16741         * vc-backend.C (revert): implement for CVS
16742         (getLog): implement for CVS
16743
16744 2001-02-20  Juergen Vigna  <jug@sad.it>
16745
16746         * text2.C (ClearSelection): added BufferView param for inset_owner call
16747
16748         * lyxfunc.C (TEXT): added this function and use it instead of
16749         directly owner->view()-text of getLyXText().
16750
16751 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16752
16753         * src/layout_forms.C: out preamble
16754         * src/layout_forms.h: out preamble
16755         * src/lyx_cb.C: out preamble
16756         * src/lyx_cb.h: out preamble
16757         * src/lyx_gui.C: out preamble
16758         * src/lyx_gui_misc.C: out preamble
16759         * src/lyxfunc.C: connect with guii preamble
16760
16761 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16762
16763         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16764
16765 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16768         whether to run bibtex.
16769
16770 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16771
16772         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16773
16774 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16775
16776         * Makefile.am (lyx_SOURCES): removed bibforms.h
16777
16778         * vspace.h: doxygen
16779
16780         * text.C (GetVisibleRow): make several local vars const
16781
16782         * tabular.C: small cleanup.
16783
16784         * lyxserver.C (callback): use compare instead of strncmp
16785
16786         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16787         inlines to after class or to paragraph.C
16788
16789         * lyxfont.h: remove friend operator!=
16790
16791         * converter.h: move friend bool operator< to non friend and after
16792         class def.
16793
16794         * combox.h: small cleanup
16795
16796         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16797         to inlines after class def.
16798
16799         * buffer.C (pop_tag): use string operations instead of strcmp
16800
16801         * bmtable.c: doxygen, small cleanup
16802
16803         * LaTeX.h: remove friend operator==
16804
16805 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16806
16807         * screen.C:
16808         * lyxrc.[Ch]:
16809         * lyxfunc.C:
16810         * lyxfont.[Ch]:
16811         * lyx_cb.C:
16812         * intl.[Ch]:
16813         * commandtags.h:
16814         * buffer.C:
16815         * WorkArea.[Ch]:
16816         * LyXAction.C:
16817         * BufferView_pimpl.C:
16818         * BufferView.[Ch]: remove cruft
16819
16820 2001-02-14  Juergen Vigna  <jug@sad.it>
16821
16822         * lyxfunc.C: removed #if 0 unused code
16823
16824         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16825
16826         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16827
16828         * text2.C (SetSelection): added a BufferView * parameter
16829
16830 2001-02-13  Juergen Vigna  <jug@sad.it>
16831
16832         * lyxfunc.C (Dispatch): fixed protected blank problem.
16833         * BufferView2.C (protectedBlank): added LyxText * parameter.
16834
16835         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16836         (AppendColumn): same as above for column_info.
16837
16838         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16839         (moveCursorUpdate): use a LyXText param for support of InsetText.
16840
16841         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16842         (tripleClick): ditto
16843
16844         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16845
16846         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16847
16848         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16849
16850         * text2.C (SetSelection): set correct update status if inset_owner
16851         (ToggleFree): ditto
16852
16853 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16854
16855         * tabular.C: remove some commented code.
16856
16857 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16858
16859         * BufferView_pimpl.C: call hideSplash()
16860
16861         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16862
16863         * include_form.h:
16864         * bibforms.h: remove
16865
16866         * lyxfunc.C:
16867         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16868           add LFUN_CHILD_CREATE
16869
16870         * counters.h: fix tiny typo
16871
16872         * lyx_cb.C:
16873         * lyx.h:
16874         * lyx_gui.C:
16875         * lyx.C: move splash to frontends/xforms/
16876
16877         * lyx_gui_misc.C: move Include and Bibform to frontends
16878
16879         * lyxvc.h: clarify comment
16880
16881         * vspace.C: tiny housekeeping
16882
16883 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16884
16885         * text.C (PrepareToPrint): RTL Fix.
16886
16887         * paragraph.C (GetUChar): New method.
16888         (String):  Use GetUChar.
16889
16890         * buffer.C (asciiParagraph): Use GetUChar.
16891
16892 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16893
16894         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16895
16896 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16897
16898         * buffer.h:
16899         * buffer.C: rename to getLogName(), handle
16900           build log / latex log nicely
16901
16902 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16903
16904         * MenuBackend.C:
16905         * MenuBackend.h: remove support for reference menuitem type.
16906
16907 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16908
16909         * BufferView_pimpl.C: housekeeping
16910         * BufferView_pimpl.h:
16911         * LyXView.h:
16912         * Makefile.am:
16913         * Timeout.C:
16914         * Timeout.h:
16915         * minibuffer.h: move Timeout GUI-I
16916
16917 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16918
16919         * lyxrc.C (read): Update converters data-structures.
16920
16921 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16922
16923         * LaTeX.h (operator!=): add operator != for Aux_Info
16924
16925 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16926
16927         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16928
16929         * LaTeXLog.C: deleted, useful code moved to Buffer
16930
16931         * buffer.h:
16932         * buffer.C: new function getLatexLogName()
16933
16934         * lyx_gui_misc.C:
16935         * lyx_gui.C:
16936         * lyxvc.C:
16937         * lyxvc.h:
16938         * lyxfunc.C: use frontends for LaTeX and VC logs
16939
16940 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * LaTeX.h: yet another std:: that Allan forgot.
16943
16944         * Variables.C (set): renamed from isset(), because this clashes
16945         with some HP-UX macros (grr).
16946
16947 2001-02-06  Allan Rae  <rae@lyx.org>
16948
16949         * LaTeX.h: Another bug fix.  Missing std:: this time.
16950
16951 2001-02-04  Allan Rae  <rae@lyx.org>
16952
16953         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16954         floats problem. I've left it commented out because it's not quite
16955         correct.  It should also test that the current object is a table or
16956         figure inset.  But I haven't gotten around to figuring out how to do
16957         that.  I *think* it'll be something like: "table" == inset.type()
16958
16959         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16960         bool.
16961
16962 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16963
16964         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16965         all the citation/databases/styles in the auxilary file.
16966         (run): Rerun latex if there was a babel language error.
16967
16968 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16969
16970         * text.C (Backspace): Preserve the font when changing newline char
16971         with a space.
16972         (BreakParagraph): If the cursor is before a space, delete the space.
16973
16974         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16975
16976 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16977
16978         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16979         new argument (code).
16980         (ChangeCitationsIfUnique): New method.
16981
16982         * paragraph.C (GetPositionOfInset): Handle bibkey.
16983
16984 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16985
16986         * BufferView_pimpl.h: change type of Position::par_pos to
16987         LyXParagraph::size_type.
16988
16989 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16990
16991         * BufferView_pimpl.C (savePosition, restorePosition): Write
16992         messages to minibuffer.
16993
16994 2001-01-28  José Matos  <jamatos@fep.up.pt>
16995
16996         * buffer.C (makeDocBookFile): adds support for document language.
16997         A silly restriction on the name of LatexCommand types where removed.
16998         Added support for CDATA sections, allows to chars unescaped, used
16999         among others in code, to avoid escape < and >.
17000
17001 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17002
17003         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17004         saved positions instrad of a stack. Furthermore, a position is
17005         stored using paragraph id/paragraph position.
17006
17007         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17008         Remove LFUN_REF_BACK.
17009
17010 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17011
17012         * converter.C (dvipdfm_options): New method.
17013
17014 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17015
17016         * vspace.C (isValidLength): Fix for empty input string.
17017
17018 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * LyXAction.C (init): change description of LFUN_FIGURE to
17021         "Insert Graphics"
17022
17023 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17024
17025         * LaTeX.C: add using directive
17026
17027 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17028
17029         * MenuBackend.C (expand): Fix the sorting of the formats.
17030
17031 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17032
17033         * lyx_main.C: tiny error message fix
17034
17035 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17036
17037         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17038         calling fl_initialize(). This fixes the problem with ',' as
17039         decimal separator in text files.
17040
17041 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17042
17043         * trans.C (process): Fix the keymap bug.
17044
17045 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17046
17047         * LaTeX.C (scanAuxFiles): New method. Provides support for
17048         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17049         (scanLogFile) Scan for "run BibTeX" messages.
17050
17051         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17052         OT1 font encoding. Also, load the aecompl package if the ae
17053         package is loaded.
17054
17055         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17056
17057 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17058
17059         * texrow.C (increasePos): turn two error messages into debug
17060         messages.
17061
17062 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17063
17064         * LaTeX.C (scanAux): Handle the \@input macro.
17065         (runBibTeX): Use scanAux().
17066
17067         * language.C (latex_options_): New field.
17068
17069         * LaTeXFeatures.C (getMacros): Add language macros.
17070
17071         * buffer.C (makeLaTeXFile): Small fix.
17072
17073 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17074
17075         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17076
17077         * text2.C: add a using directive.
17078
17079 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17080
17081         * BufferView2.C:
17082         * lyx_gui_misc.h:
17083         * lyxfr1.C:
17084         * lyxfunc.C: kill LyXBell.
17085
17086 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17087
17088         * text.C (IsBoundary): Remove the error message
17089
17090         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17091
17092         * lyxrc.C (setDefaults): Correct initialization value for
17093         font_norm_type.
17094
17095 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17096
17097         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17098         gotoError().
17099
17100         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17101         and GotoNextNote().
17102
17103         * src/LyXAction.C: Added reference-next.
17104
17105         * text.C (InsertChar): Use contains instead of strchr.
17106
17107         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17108
17109 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17110
17111         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17112         alignment commands (when needed).
17113
17114         * text.C (InsertChar): Add ':' to number separator chars.