]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0dc5809cebff9e509ac6b6a8326604d12bf89aa5
[lyx.git] / src / ChangeLog
1 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
2
3         * buffer.C (readHeader): use "&&" rather than "and".
4
5         * lyxserver.h (inPipeName, outPipeName): make these const.
6
7 2005-01-19  Angus Leeming  <leeming@lyx.org>
8
9         * lyx_main.C (error_handler, init): protect SIGHUP with
10         #ifndef _WIN32 guards.
11
12 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
15
16 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * text.C (setHeightOfRow): add a margin at the top and bottom of
19         the document (bug 1761)
20
21 2005-01-17  Angus Leeming  <leeming@lyx.org>
22
23         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
24         with "python ". Workaround for a brain-dead Windows.
25
26 2005-01-16  Angus Leeming  <leeming@lyx.org>
27
28         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
29         for MacOSX and Windows to use prependEnvPath.
30         Strip out the hard-coded block to add elements to the PATH for
31         MacOSX and replace it with a call to prependEnvPath using the
32         contents of LyXRC::path_prefix.
33         (queryUserLyXDir): strip out the code to run reconfigure, instead
34         returning a boolean indicating the necessity to do so.
35         (reconfigureUserLyXDir): contains the code to reconfigure the
36         user support directory. Is now called after the various LyXRC data
37         files have been read.
38
39         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
40
41 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * converter.[Ch] (convert): take a new parameter try_default. Use
44         a default converter (imagemagick) if try_default is true.
45
46 2005-01-13  Angus Leeming  <leeming@lyx.org>
47
48         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
49         os::cygwin_path_fix.
50         (write): output LyXRC::cygwin_path_fix as necessary.
51
52 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
53
54         * lyxrc.h:
55         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
56
57 2005-01-12  Angus Leeming  <leeming@lyx.org>
58
59         * lyx_main.C (init): set the PATH variable to include the
60         directory containing the LyX binary when running on Mac or Windows.
61
62 2005-01-12  Angus Leeming  <leeming@lyx.org>
63
64         * lyx_main.C (init): remove cruft that purports to set the locale
65         dir. It doesn't and is not needed anyway.
66
67 2005-01-10  Angus Leeming  <leeming@lyx.org>
68
69         * Makefile.am: remove the lyx_main.C special casing.
70
71         * BufferView_pimpl.C:
72         * bufferlist.C:
73         * exporter.C:
74         * lyx_cb.C:
75         * lyx_main.C:
76         * lyxfunc.C:
77         * messages.C: use support/package.h to provide the paths to the
78         various directories used by LyX.
79
80 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
83         layout if pasting into an empty paragraph)
84
85 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * tex-accent.C: add <string>
88
89 2005-01-06  José Matos  <jamatos@lyx.org>
90
91         * ParagraphParameters.C (write): put every parameter in its own line.
92         * paragraph.C (write): reduce number of consecutive empty lines exported.
93         * buffer.C (LYX_FORMAT): increase file format to 239.
94
95 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
96
97         * everywhere: change support/tostr.h -> support/convert.h
98
99         * tabular.C: make all write_attributes templates, tostr -> convert
100
101         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
102         (emptyTag): and -> &&, and fix type for ret from getChar
103         (getFirstWord): fix type for ret from getChar
104         (onlyText): and -> &&
105         (simpleDocBookOnePar): and not -> && !, fix type for ret from
106         getChar
107
108         * toc.C (goTo, action):
109         * text3.C (dispatch):
110         * text.C (currentState):
111         * tex-accent.C (DoAccent):
112         * sgml.C:
113         * lyxrc.C:
114         * lyxfunc.C (menuNew):
115         * lyxfinc.C (replace):
116         * counters.C (laberItem):
117         * bufferview_funcs.C (font2string):
118         * bufferparams.C (writeFile):
119         * buffer.C (readFile):
120         * Spacing.C (set):
121         * MenuBackend.C: tostr -> convert
122
123         * LaTeX.C (runMessage): fix format
124         (scanAuxFiles): tostr -> convert
125
126         * BufferView_pimpl.C (savePosition): fix format
127         (restorePosition): ditto
128         (dispatch): ditto
129
130 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
131
132         * Spacing.[Ch]: New method getValueAsString().
133
134         * Spacing.[Ch]:
135         * bufferparams.C:
136         * ParagraphParameters.C:
137         * lyxlayout.C:
138         * text.C:
139         * text3.C: store/read spacing value as string.
140
141         * rowpainter.C: change float value (spacing_val) to double.
142
143         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
144         broken custom document spacing).
145
146 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
147
148         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
149         namespace, also more use of temp references and const
150
151         * cursor.[Ch] (getStatus): move to lyxfunc.C
152
153         * bufferparams.C: reformat slightly
154
155         * bufferview_funcs.C (font2string): constify arg
156
157         * changes.C:
158         * converter.C:
159         * counters.C:
160         * bufferlist.C:
161         * buffer_funcs.C: (many funcs): constify arg on function
162         definitions, also make more local vars const, also add ASSERTS on
163         pointer args.
164
165         * buffer.C (LYX_FORMAT): put const in correct place
166         (many funcs): constify arg on function definitions, also make
167         more local vars const
168
169         * aspell_local.h: remove "struct" from typdef setup
170
171         * aspell.C (check): make word_ok const
172         (nextMiss): simplify slightly
173         (error): ditto
174
175 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * lyxrc.[Ch]: store all float values as strings.
178         use int (not float) for lyxrc.dpi.
179
180 2005-01-04  Angus Leeming  <leeming@lyx.org>
181
182         * lyx_cb.C (Reconfigure):
183         * lyx_main.C (queryUserLyXDir):
184         to run the <system_lyxdir>/configure correctly on Windows, prefix
185         the path to the script with "sh " when generating the string that
186         is passed to system().
187
188 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
191
192 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * lyxlength.C (asLatexString): get rid of setprecision
195
196 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * text2.C (setLayout): remove unused variable endpit.
199         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
200
201         * paragraph.C (onlyText): remove unused variable style.
202
203         * cursor.C (bruteFind): remove unused variables beg and end.
204
205         * Makefile.am (dist_noinset_DATA): not needed anymore
206
207         * cheaders/*: remove.
208
209 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * text3.C: fix LFUN_MATH_MODE.
212
213 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * buffer_funcs.C (countWords): new function. Counts words between
216         two iterators.
217
218         * BufferView_pimpl.C (getStatus, dispatch): handle
219         LFUN_WORDS_COUNT.
220
221         * LyXAction.C (init):
222         * lfuns.h: add LFUN_WORDS_COUNT.
223
224 2004-12-19  Angus Leeming  <leeming@lyx.org>
225
226         * buffer.C (save): s/slashify_path/internal_path/.
227
228 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
229
230         * lyxfind.C (findChange): do not search for end of pars, because
231         the change tracker cannot handle this (fixes bug 1719).
232
233 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
234
235         * paragraph.[Ch] (autoBreakRows): remove
236
237         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
238
239         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
240         avoid using the paragraph one
241
242         * text2.C (LyXText, insertStringAsLines): adjust
243
244 2004-12-16  Angus Leeming  <leeming@lyx.org>
245
246         * bufferlist.C:
247         * lyx_main.C:
248         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
249
250 2004-12-14  Angus Leeming  <leeming@lyx.org>
251
252         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
253
254         * bufferlist.C (emergencyWrite):
255         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
256         GetEnvPath("HOME").
257
258 2004-12-14  Angus Leeming  <leeming@lyx.org>
259
260         * main.C: (main): no longer pass pointers to os::init.
261
262 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * undo.C (textUndoOrRedo): simplify logic, fix a crash
265         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
266
267 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
268
269         * lyxfunc.C:
270         * text3.C: remove selection_possible global flag
271
272 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
273
274         * text2.C (getSelectionSpan): remove
275         (changeDepth, changeDepthAllowed): adjust
276
277 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
278
279         * Makefile.am (BOOST_LIBS): use boost variables
280
281 2004-12-03  José Matos  <jamatos@lyx.org>
282
283         * buffer.C: format up to 238.
284
285 2004-12-03  José Matos  <jamatos@lyx.org>
286
287         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
288
289 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
290
291         * cursor.C (goUpDown): remove call to idxUpDown2
292
293 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
294
295         * tabular.[Ch]: use size_t-like types for cell, row and column
296         indices
297
298 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * lyxfunc.C (getStatus): do not lose previous information when
301         calling BufferView::getStatus; do not set a default "Command
302         disabled" message at the beginning, but just before returning.
303
304 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * cursor.h (getStatus): add better comment from src/cursor.C
307
308 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * text3.C (getStatus): return false when the lfun is not handled
311
312 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * broken_headers.h: remove
315
316         * Makefile.am (lyx_SOURCES): remove broken_headers.h
317
318 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
319
320         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
321         offset_ref accessors
322
323         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
324         top_y_, merge fitcursor with update
325         (updateScrollbar, scrollDocView, fitCursor, center, update): new
326         coord scheme
327         (metrics): introduce
328         (workAreaDispatch): adapt to new coord scheme
329         (redoCurrentBuffer): remove
330
331         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
332
333         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
334         CurStatus enum.
335
336         * coordcache.[Ch]: add paragraph cache and helpers
337
338         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
339         adjust everywhere
340
341         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
342         (targetX, setTargetX): introduce
343
344         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
345         baseline -> ascent, as the rest of lyx
346
347         * lyxtext.h: remove redoParagraphs, updateParPositions,
348         fullRebreak, redoParagraphInternal. move dist to anon namespace in
349         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
350         have ascent/descent (ascent is ascent of first par)
351
352         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
353         step of BufferView
354
355         * paragraph.[Ch]: unify dimension handling with the rest of lyx
356
357         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
358
359         * pariterator.C: fix infinite loop introduced in par->pit renaming
360
361         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
362         in insets and LyXText, draw two off-screen paragraphs using
363         NullPainter, and adapt to new coord scheme
364
365         * text.C:
366         * text2.C:
367         * text3.C: adapt lfun handlers to the new coord scheme, which
368         means: there's only guaranteed coord information for onscreen pars
369         plus one above and one below. This implies that one can do search
370         from y coordinates in the range [-1,workHeight]
371
372 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * rename a lot of InsetOld to InsetBase
375
376 2004-11-25  Angus Leeming  <leeming@lyx.org>
377
378         * BufferView_pimpl.C:
379         * lyx_cb.C:
380         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
381
382 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
385         call BufferView::getStatus if LCursor::getStatus did nothing
386         (setStatusMessage, getStatusMessage): removed.
387
388         * FuncStatus.C (message): new methods. Used to provide an error
389         message indicating why a command is disabled.
390         (clear, |=, FuncStatus): update for message.
391
392 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
393
394         * lyxfunc.C (dispatch): always call sendDispatchMessage
395
396 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * BufferView.C:
399         * BufferView_pimpl.C:
400         * CutAndPaste.C:
401         * FontIterator.C:
402         * buffer.C:
403         * cursor.C:
404         * cursor_slice.[Ch]:
405         * dociterator.[Ch]:
406         * lyxfind.C:
407         * paragraph_funcs.C:
408         * pariterator.C:
409         * rowpainter.C:
410         * text.C:
411         * text2.C:
412         * text3.C:
413         * undo.C: par->pit renaming
414
415 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
416
417         * tabular.C (cellstruct): use initialization, store a shared_ptr
418         to insettext instead of the insettext directly, adjust to fit.
419         (operator=):  new function
420         (swap): new function
421         (rowstruct): use initialization
422         (columnstruct): use initialization
423         (ltType): use initialization
424
425
426         * lyxlength.h (swap): new function
427
428         * LColor.[Ch] (operator=): use the common semantics
429
430 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * lyxfind.C (findNextChange): update the bufferview after setting
433         the selection.
434
435 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
438         number of InsetOptArgs has already been inserted.
439
440         * output_latex.C (latexOptArgInsets): new method. This outputs all
441         the optarg insets, up to the limit defined in the layout file.
442         (optArgInset): removed
443         (TeXOnePar): call latexOptArgInsets; correctly update texrow
444
445 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * paragraph.C (isLetter): remove special spellchecker-related
448         code; return true also for digits
449         (isWord, isKomma): remove
450
451         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
452         * lyxfind.C (MatchString()): use isLetter instead of isWord
453
454 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
455
456         * pariterator.h (operatir=): comment out un-implemented member
457         function.
458
459         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
460         static cast.
461
462 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
463
464         * lyxfont.h: include LColor.h to satisfy concept checks.
465
466 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
467
468         * pariterator.h: add typdefs for value_type, difference_type,
469         pointer and reference to satisfy concept checks. Also add default
470         constructor for same reason.
471
472         * pariterator.C (operator++): add post-increment operator to
473         satisfy concept checks.
474
475         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
476         checks.
477
478         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
479
480         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
481         checks. Also rename base_type to BaseType to follow naming
482         standard better.
483
484         * FloatList.h: include Floating.h to satisfy concept checks.
485
486 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * lyxfunc.C (getStatus): when the origin of the request is menu or
489         toolbar, and the LyXView does not have focus, do as if there was
490         no buffer (bug 1720)
491
492         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
493         FuncRequest to individual entries of LFUN_SEQUENCE
494
495 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * output_latex.C (TeXOnePar): override runparams.moving_arg
498         according to the needprotect value of the current paragraph (bug
499         1739)
500
501         * paragraph.C (simpleTeXOnePar): no need to override
502         runparams.moving_args here
503
504 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
505
506         * vspace.C: fix off-by-one-error, related to fix #1682
507
508 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * lengthcommon.C: a more general fix for bug 1682
511
512 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
513
514         * text.C (backspace): fix crash
515
516 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
517
518         * format.[Ch] (getFormatFromFile): new method
519         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
520
521 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
524
525 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * lyxfunc.C (dispatch): remove the verbose argument
528         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
529         instead
530
531         * kbmap.C (defkey): set the origin of func to KEYBOARD
532
533         * MenuBackend.C (MenuItem):
534         * ToolbarBackend.C (add): set the origin of func to UI
535
536         * funcrequest.[Ch]: add origin member, which indicates which part
537         of LyX requests an action
538
539 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
540
541         * converter.C (move): don't lie in the error message
542         * converter.h (isReachable, move): document
543
544 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
545
546         * buffer.C: remove unused using lyx::support::atoi
547         * paragraph_funcs.C: ditto
548
549 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * bufferlist.C (exists): use bind and equal_to instead of
552         compare_memfun
553         (getBuffer): ditto
554         * lyxtextclasslist.C (NumberOfClass): ditto
555
556         * cursor.C (insert): use for_each instead of explicit for loop
557
558         * bufferlist.C (getFileNames): use std::transform and
559         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
560
561         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
562         for loop
563
564         * buffer.C (changeLanguage): use for_each instead of explicit for
565         loop
566         (hasParWithID): implement using getParFromID
567
568         * LaTeXFeatures.C: ws change only
569
570         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
571         to cleanup a bit.
572
573         * BufferView_pimpl.C (trackChanges): use for_each instead of
574         expilicit for loop
575
576 2004-11-04  André Pönitz  <poenitz@gmx.net>
577
578         * undo.h:
579         * undo.C (textUndoOrRedo): fix crash when creating undo information.
580
581         * dociterator.C (asDocIterator): use hard assert again.
582
583 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * lyxlength.C (asLatexString): rewrite so that it does not use
586         snprintf anymore
587
588 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * text3.C (specialChar, dispatch): make sure cursor moves to the
591         right after inserting an inset
592
593 2004-11-02  José Matos  <jamatos@lyx.org>
594
595         * output_docbook.C (docbook):
596         * paragraph.C (getID):
597         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
598         garantee that the output is always legal.
599
600         * tabular.C (docbook):
601         * outputprams.[Ch]: remove mixed contents.
602
603 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
604
605         * text2.C (setCounter): prevent endless loop
606
607 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
608
609         * exporter.C (copyFile): use the mover instead of support::copy()
610         * exporter.C (Export): pass format and latex name to copyFile()
611         * exporter.h (addExternalFile): document
612         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
613
614 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
615
616         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
617
618 2004-10-30  José Matos  <jamatos@lyx.org>
619
620         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
621         text and no inset or font change. This allows to use CDATA
622         sections just for the whole paragraph.
623
624 2004-10-30  José Matos  <jamatos@lyx.org>
625
626         * paragraph.C (getFirstWord): remove unused variable.
627
628 2004-10-30  José Matos  <jamatos@lyx.org>
629
630         * paragraph.C (getFirstWord): the content should always be escaped
631         there.
632         (simpleDocBookOnePar):
633         * output_docbook.C (makeEnvironment): replace reference to CDATA
634         to style pass_thru.
635
636 2004-10-30  José Matos  <jamatos@lyx.org>
637
638         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
639
640 2004-10-30  José Matos  <jamatos@lyx.org>
641
642         * output_docbook.C (makeParagraphs):
643         * paragraph.[Ch] (emptyTag): for docbook and company, if the
644         standard paragraph has only a given type of content drop the wrapper.
645
646 2004-10-29  José Matos  <jamatos@lyx.org>
647
648         * output_docbook.C (makeEnvironment):
649         * sgml.C (openTag):
650         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
651
652 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
653
654         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
655         (cleanID): sanitize any id.
656
657 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
658
659         * buffer.C, lyxlex_pimpl.C:
660         * lyxlex_pimpl.C (setFile):
661         s/getExtFromContents/getFormatFromContents/
662
663 2004-10-28  José Matos  <jamatos@lyx.org>
664
665         * output_docbook.C (makeEnvironment): move id to broadest possible
666         scope.
667
668         * sgml.C (openTag): apply substitution of <> for all attributes.
669
670 2004-10-28  José Matos  <jamatos@lyx.org>
671
672         * buffer.C (makeLinuxDocFile, makeDocBookFile):
673         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
674         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
675
676         * sgml.[Ch]: new version for open and closeTag for paragraph and
677         for strings. Now they handle the ids of paragraphs.
678
679 2004-10-26  Angus Leeming  <leeming@lyx.org>
680
681         * Makefile.am: add mover.[Ch].
682
683         * converter.C (convert, move): use the new Movers to move external
684         files to the temp directory.
685
686         * lyx_main.C (init): ensure that the global system_movers data
687         is initialised.
688
689         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
690         preferences file.
691
692         * mover.[Ch]: new files, defining a Mover as a utility to move an
693         external file between directories and, if necessary, manipulate this
694         file using a helper script.
695
696 2004-10-25  José Matos  <jamatos@lyx.org>
697
698         * output_docbook.C (makeCommand): merge two if's that tested the
699         same condition.
700
701 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * sgml.C (escapeString): fix warning in a better way
704
705 2004-10-25  José Matos  <jamatos@lyx.org>
706
707         * sgml.C (escapeString): import the require boosts header file for
708         tie, and avoid a signed unsigned comparison.
709
710 2004-10-25  José Matos  <jamatos@lyx.org>
711
712         * sgml.h: add #include <string>
713
714 2004-10-25  José Matos  <jamatos@lyx.org>
715
716         * sgml.[Ch] (escapeString): new function to escape all the string.
717
718 2004-10-24  José Matos  <jamatos@lyx.org>
719
720         * paragraph.[Ch] (getFirstWord): new function to get the first
721         word. Useful for description.
722         (simpleDocBookOnePar): remove depth argument, add another that
723         says where to start the paragraph.
724
725         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
726         use the new functions to fix cleanly the support for descriptions.
727
728 2004-10-24  José Matos  <jamatos@lyx.org>
729
730         * buffer.C (makeLinuxDocFile, makeDocBookFile):
731         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
732         * output_linuxdoc.C (linuxdocParagraphs):
733         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
734         add buffer as argument.
735
736 2004-10-24  José Matos  <jamatos@lyx.org>
737
738         * output_docbook.C (makeEnvironment, searchEnvironment): place
739         CDATA inside paragraphs and fix scope for listitems.
740
741 2004-10-24  José Matos  <jamatos@lyx.org>
742
743         * output_docbook.C: remove using statement for stack.
744
745 2004-10-23  José Matos  <jamatos@lyx.org>
746
747         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
748         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
749         docbook. The new scheme is recursive and makes use of iterators, the
750         same as latex export works.
751         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
752         directly with the paragraph contents. This code was moved up to
753         output_docbook.C (docbookParagraphs).
754         * sgml.C (openTag, closeTag): removed unneeded newlines.
755         (closeEnvTags) removed.
756
757 2004-10-23  André Pönitz  <poenitz@gmx.net>
758
759         * undo.C (textUndoOrRedo):
760         * dociterator.C (asDocIterator): work around crash
761
762         * cursor.C (getStatus): replace ASSERT by more verbose error message
763           and manual correction of the problem. Should increase stability
764           while providing more sensible information.
765
766 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
769
770         * bufferlist.C (previous, next): new methods
771
772         * lfuns.h:
773         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
774
775 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
776
777         * buffer.C (makeDocBookFile): add dsssl stylesheet control
778         entities to preamble.
779
780 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
781
782         * messages.C (Pimpl): strip off translation context information
783
784 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
787         the cursor is correct (bug 1694)
788
789 2004-10-13  José Matos  <jamatos@lyx.org>
790
791         * output_docbook.C (docbookParagraphs): fix closing tags in the
792         end of the document.
793
794 2004-10-09  José Matos  <jamatos@lyx.org>
795
796         * buffer.C: format up to 237.
797         * bufferparams.C (write): use tostr to convert booleans to strings.
798
799 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
802
803 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * LaTeX.C: implement use of babel language in xindy.
806
807 2004-10-05  José Matos  <jamatos@lyx.org>
808
809         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
810         Add new translators to help reading and writing the lyx file.
811
812 2004-10-05  José Matos  <jamatos@lyx.org>
813
814         * ParagraphParameters.C (read):
815         * text.C (readParToken): replace nexToken by more appropriate lex
816         methods.
817
818 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
819
820         * LaTeX.C (runMakeIndex):
821         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
822         (usually 'makeindex') configurable.
823
824         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
825         with a variable rather than with a number.
826
827 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * output_latex.C (TeXOnePar): make sure font setting is the first
830         thing that gets output (and the last at the end). Should fix bug
831         1404.
832
833 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
834
835         * pch.h: use proper signal include
836
837         * LaTeX.h: Use preferred calling of Boost.Signal
838         * buffer.h: ditto
839
840 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
841
842         * pch.h: dont include <boost/function/function0.hpp>
843
844         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
845
846         * paragraph_pimpl.h: remove usage of ShareContainer
847
848         * paragraph_pimpl.C: remove initialization of ShareContainer.
849
850 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         Fix bug #1666
853
854         * BufferView.C (putSelectionAt): change the semantics when
855         backwards == true: now, this just swaps cursor and anchor wrt the
856         forward case
857
858         * BufferView.h (putSelectionAt): add some documentation
859
860         * lyxfind.C (findBackwards): rewrite using while(). In particular,
861         make sure backwardChar is done at least once (to avoid getting
862         stuck)
863         (findNextChange): use putSelectionAt in the forward direction
864         (operator()): use Paragraph::isWord
865
866 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * Spacing.C (set): c_str fix
869
870 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
871
872         * lyx_cb.C (Reconfigure): quote the name of configure script in
873         case it contains spaces
874
875 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
876
877         * client: new dir
878
879         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
880         (BOOST_LIBS): use top_buildir when looking for the file
881
882 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
883
884         * pch.h: do not use include boost/format.hpp, multiple symbols
885                 will result (gcc bug)
886
887
888 2004-08-23  José Matos  <jamatos@lyx.org>
889
890         * bufferparams.C (readToken): fix reading of the author field.
891
892 2004-08-20  José Matos  <jamatos@lyx.org>
893
894         * lyxrc.C: remove support/translator.h inclusion since it is not used.
895
896 2004-08-20  José Matos  <jamatos@lyx.org>
897
898         * lyxlex.[Ch] (findToken): remove function.
899
900         * ParagraphParameters.C (findToken):
901         * bufferparams.C (findToken): replace call for previous function
902         with local copy. This local function has one more argument, the
903         read string argument.
904
905 2004-08-16  José Matos  <jamatos@lyx.org>
906
907         * ParagraphParameters.C (write):
908         * Spacing.C (writeFile):
909         * bufferparams.C (writeLaTeX):
910         * lyx_cb.C (Reconfigure):
911         * paragraph.C (write):
912         * tabular.C (write): remove unnecessary space at end of line.
913
914
915 2004-08-16  José Matos  <jamatos@lyx.org>
916
917         * text.C (readParagraph): remove debug message.
918
919 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
922         crash
923
924         * output_plaintext.C (asciiParagraph): set depth correctly
925
926         * outputparams.h: add member depth
927
928         * paragraph_funcs.C (ownerPar): remove.
929
930         * text2.C (setCounter): remove first_pit; comment out some
931         non-working code that uses ownerPar
932
933         * BufferView.C (getParentLanguage): remove. Not used anymore, and
934         uses ownerPar
935
936 2004-08-16  José Matos  <jamatos@lyx.org>
937
938         * text.C (readParToken, readParagraph, read): report all unknown tokens.
939         For the same level of importance use the same chanel to report problems.
940         (read): add code to deal with \begin_body and \end_body.
941
942
943 2004-08-15  José Matos  <jamatos@lyx.org>
944
945         * lyxlex.C (getString): fix comment, buffer::readBody is now
946         buffer:readDocument.
947
948         * tex-strings.C (string_papersize): Default -> default,
949         Custom -> custom, for consistency with other options.
950
951 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
952
953         * pch.h: new file
954
955         * Makefile.am: support pch
956
957 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * text.C (readParToken): remove the static LyXFont variable and
960         pass it as a parameter instead. This fixes a nasty bug where an
961         inset will be inserted with a bad font in some situations
962         (readParagraph): adapt
963
964         * text2.C (setCounter): reduce number of calls to pars_[pit]
965
966         * text.C (singleWidth): add an assert, fix a test
967
968         * rowpainter.C (paintText): reduce number of calls to singleWidth
969
970         * paragraph.C (isHfill):
971         (isNewline): ws only
972
973 2004-08-14  André Pönitz  <poenitz@gmx.net>
974
975         * text.C:
976         * text2.C:
977         * rowpainter.C:
978         * lyxtext.h (several functions): use a Paragraph & argument
979         instead of par_type
980
981 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * metricsinfo.h: add a new field ltr_pos to PainterInfo
984
985         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
986
987         * text.C (singleWidth): remove useless test
988
989 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * tabular.h: remove bogus comments
992
993         * tabular.C (getDescentOfRow):
994         (isPartOfMultiColumn): add assertions
995
996         * lyxlength.C (inPixels): remove #warning
997
998 2004-08-14  André Pönitz  <poenitz@gmx.net>
999
1000         * paragraph.h: inline getChar()
1001
1002         * BufferView.h: remove unused declarations
1003
1004 2004-08-14  José Matos  <jamatos@lyx.org>
1005
1006         * Buffer.[Ch] (readDocument): new name for old readBody.
1007         * Buffer.C: new file format, new keywords: \begin_document,
1008         \begin_header, \begin_body, \end_body.
1009
1010         * bufferparams.C (readToken): replace all calls to lex.nextToken
1011         by lex.next(). Do the same to eatLine except where really needed.
1012
1013         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1014         line when writing to the lyx file.
1015
1016         * output_plaintext.C (asciiParagraph): fix Bibliography style
1017         handling.
1018
1019         * text.C (read): fix end of file handling.
1020
1021 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * MenuBackend.C (Menu::operator[]): new method to access
1024         individual menu items
1025         (Menu::hasFunc): new method. search for an item that corresponds
1026         to a given func
1027         (MenuBackend::specialMenu): new method
1028         (MenuBackend::expand): if a special menu has been set, skip
1029         entries whose func() appears in this menu
1030
1031 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1032
1033         * text3.C: use Debug::DEBUG a bit more
1034
1035         * text.C (leftMargin): try to simplify a tiny bit change var x to
1036         l_margin. Dont output the wide margins always.
1037         (rightMargin): no margin in inner texts
1038
1039         * rowpainter.h (nestMargin): new func
1040         (changebarMargin): new func
1041         (rightMargin): new func
1042
1043         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1044         now functions.
1045         (paintLast): ditto
1046
1047         * factory.C (createInset): modify setDrawFrame
1048
1049         * cursor.C: use Debug::DEBUG a bit more
1050
1051 2004-08-14  André Pönitz  <poenitz@gmx.net>
1052
1053         * coordcache.[Ch]:
1054         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1055         cache for all insets in (at least partially) visible (top-level)
1056         paragraphs.
1057
1058         * BufferView_pimpl.C: reset external coord cache before every update.
1059         This means the coord cache only contains valid entries.
1060
1061 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1062
1063         bug 1096
1064         * BufferView_pimpl.C (getInsetByCode): move function out of class
1065         and change in to a template in anon namespace. Also fix to do what
1066         suits us better.
1067
1068 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1069
1070         bug 1305
1071         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1072         of char
1073         (breakParagraph): rename par to par_offset and use a local
1074         reference. Add code to keep the language over a rebreak.
1075         (breakParagraphConservative): rename par to par_offset, use a
1076         local reference
1077         (mergeParagraph): ditto
1078         (outerHook): ditto
1079         (isFirstInSequence): ditto
1080         (outerFont): rename pit to par_offset
1081
1082         * paragraph.C: ws change
1083         * paragraph.h: ditto
1084         * text3.C: ditto
1085         * text.C: ditto
1086
1087 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1090         treatment for ']'
1091
1092         * paragraph.C (simpleTeXOnePar): when we have a \item with
1093         optional argument, enclose the argument with curly brackets (in
1094         case it contains a closing square bracket)
1095
1096         * text2.C (editXY):
1097         * text2.C (editXY):
1098         * text3.C (checkInsetHit): constify
1099
1100 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1103         documents (bug 1629)
1104
1105 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         Fix toggling of collapsable insets with the mouse (bug 1558)
1108
1109         * lyxfunc.C (dispatch): adapt to LCursor changes
1110
1111         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1112         make sure that dispatch is not invoked twice
1113
1114         * cursor.C (needsUpdate): new method
1115         (dispatch): return void
1116         (result): new method, to access the DispatchResult of the cursor.
1117
1118 2004-08-13  José Matos  <jamatos@lyx.org>
1119
1120         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1121
1122 2004-08-13  André Pönitz  <poenitz@gmx.net>
1123
1124         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1125
1126         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1127           multiple cells
1128
1129 2004-08-12  André Pönitz  <poenitz@gmx.net>
1130
1131         * text3.C: take out the 'cursor right' form insertInset and only
1132         do it in those places when it is really needed. Fixes crash on
1133         C-m...
1134
1135 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1138
1139         * BufferView_pimpl.C (setBuffer): initialize the current font of
1140         the underlying LyXText
1141
1142 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * kbsequence.C (print): use UI native formatting for menu
1145         shortcuts
1146
1147         * text.C (insertChar): call Paragraph::insertChar with a font
1148         argument (cosmetic)
1149
1150         * paragraph.C (insertInset, insertChar): the version that takes a
1151         LyXFont argument is now a wrapper around the other one (the
1152         opposite used to be true).
1153
1154         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1155         argument. Font setting is done in Paragraph now.
1156
1157 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * outputparams.h: add new members intitle and lang.
1160
1161         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1162         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1163
1164 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1165
1166         * text3.C (dispatch): remove special handling of button 4 and 5,
1167         it is now taken care of in the frontend code.
1168
1169 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1170
1171         * Spacing.h: add <string> (STLPort compile fix)
1172
1173 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1174
1175         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1176
1177 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1178
1179         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1180         to bool.
1181
1182         * converter.C (showMessage): inherit from unary_function, make
1183         operator() const.
1184
1185         * buffer.C (writeFile): initialize retval
1186
1187         * InsetList.h: rename private variable list to list_
1188         * InsetList.[Ch]: adjust accordingly.
1189
1190 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1191
1192         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1193         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1194         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1195         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1196         * ParagraphParameters.C, LaTeXFeatures.C: replace
1197         "support/std_sstream.h" with <sstream>
1198
1199 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1200
1201         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1202         * lyxsocket.C (LyXServerSocket): ditto
1203         (serverCallback): ditto
1204
1205 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1206
1207         * LaTeXFeatures.C: check release date when loading jurabib.
1208
1209 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1210
1211         * lyxserver.C (startPipe): call register_socket_callback
1212         (endPipe): call unregister_socket_callback
1213
1214 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1215
1216         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1217         (LyXServerSocket): register the callback
1218         (LyXServerSocket): unregister the callback
1219         (fd): delete function
1220         (serverCallback): improve error checking and setup the callbacks.
1221         (dataCallback): change arg to fd.
1222         (writeln): new func (copied fro the client socket) used for server
1223         write to client.
1224         (LyXDataSocket): simplify
1225         (~LyXDataSocket): close ann unregiser callback
1226         (server): delete function
1227         (fd): delete function
1228         (readln): small changes, improve some std::string usage
1229         (writeln): constify a bit
1230
1231 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1232
1233         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1234         Qt frontend
1235
1236 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1239         after it has been populated
1240
1241 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1242
1243         * text2.C (insertInset): move cursor when inserting inset.
1244
1245 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * kbmap.C (findbindings): a couple of new methods. returns a
1248         container of kb_sequence objects. The real work is done by the
1249         private recursive version
1250         (printbindings): uses findbindings to print out a bracketed list
1251         of bindings (renamed from findbinding).
1252
1253         * MenuBackend.C (binding): use kb_keymap::findbindings
1254
1255         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1256
1257 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1258
1259         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1260
1261 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1262
1263         * paragraph.C (isWord): return true on insets that report
1264         isLetter().
1265
1266         * text.C (getWord): use Paragraph::isWord to decide what is in a
1267         word and what is not; fix bug 1609.
1268
1269 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1270
1271         * tex-strings.C: add "none" to string_paperpackages[], fixes
1272         off-by-one-error in the paperpackage selection.
1273
1274         * lyxlex.[Ch]:
1275         * tex-strings.[Ch]: char const * string[n]
1276         -> char const * const string[]
1277
1278 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1281         command, return early.
1282
1283 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1284
1285         * debug.h: add DEBUG to enum and fix size of ANY.
1286
1287         * debug.C: add support for Debug::DEBUG
1288         (showTags): cast errorTags.level to unsigned int
1289
1290         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1291         (redoCurrentBuffer): ditto
1292         (updateScrollbar): ditto
1293         * cursor.C (dispatch): ditto
1294         * text2.C (setLayout): ditto
1295         (setFont): ditto
1296         (updateCounters): ditto
1297         (editXY): ditto
1298         (deleteEmptyParagraphMechanism): ditto
1299
1300 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1301
1302         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1303         annotations to cleanup the Makefile slightly.
1304
1305 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1306
1307         * lyxrc.C: do not set user_email to a default value but use empty
1308         instead. The entry used to be translated, which does not work
1309         since at the point where lyxrc is constructed there is no
1310         translation service available
1311
1312         * messages.C (getLocaleDir): remove and use directly
1313         lyx_localedir() instead
1314
1315 2004-06-02  Angus Leeming  <leeming@lyx.org>
1316
1317         Fix crash caused by dereferencing null pointer 'exportdata' in
1318         OutputParams by creating a new ExportData variable on the heap,
1319         storing it in a boost::shared_ptr.
1320         The crash was triggered when generating an Instant Preview
1321         of an external inset.
1322
1323         * Makefile.am: add outputparams.C
1324
1325         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1326         (c-tor): allocate memory to it.
1327
1328         * exporter.C (c-tor): associated changes.
1329
1330 2004-06-01  Angus Leeming  <leeming@lyx.org>
1331
1332         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1333         contains data before calling isInset(0). (Bug 1513.)
1334
1335 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1336
1337         * exporter.C (checkOverwrite): new method
1338         * exporter.C (copyFile): new method
1339         * exporter.C (Export): copy referenced files to the document dir
1340         * exporter.[Ch]: new class ExportedFile
1341         * exporter.[Ch]: new class ExportData. Contains currently the
1342         names of referenced external files
1343         * outputparams.h: add exportdata member.
1344
1345 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1346
1347         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1348         version.C-tmp
1349
1350 2004-05-19  Angus Leeming  <leeming@lyx.org>
1351
1352         * LaTeXFeatures.C:
1353         * ToolbarBackend.C:
1354         * bufferparams.C:
1355         * lyxfunc.C: small changes due to the introduction of namespace
1356         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1357
1358 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1359
1360         * text3.C (dispatch): supress update when only moving the cursor
1361         * cursor.C (selHandle): remove commented code
1362
1363 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1364
1365         * paragraph.C (startTeXParParams): correct column count
1366         * CutAndPaste.C (pasteSelection): remove const_cast
1367         * output_docbook.C (docbookParagraphs): remove const_cast
1368         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1369         const_cast and return ParagraphList::const_iterator
1370         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1371         * output_plaintext.C (writeFileAscii): remove const_cast
1372         * paragraph.[Ch] (simpleTeXOnePar): make const
1373         * paragraph_funcs.C (outerPar): use const iterators
1374         * paragraph_pimpl.C (validate): use const iterators
1375         * text.C (setHeightOfRow): use const iterators
1376
1377 2004-05-17  Angus Leeming  <leeming@lyx.org>
1378
1379         * lfuns.h:
1380         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1381
1382         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1383         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1384         if the citation engine has changed.
1385
1386 2004-05-14  José Matos  <jamatos@lyx.org>
1387
1388         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1389         if the textclass does not provide it. Have it different for sgml and
1390         xml.
1391         support the language of document.
1392         * output_docbook.C (docbookParagraphs):
1393         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1394         first anchor as the id of the paragraph, remove special case code.
1395         * sgml.C (escapeChar): escape only < & >.
1396
1397 2004-05-14  Angus Leeming  <leeming@lyx.org>
1398
1399         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1400         dependencies on src/frontends/controllers/biblio.h. Define a
1401         CiteEngine_enum wrapper class to enable the enum to be forward
1402         declared.
1403
1404 2004-05-12  Angus Leeming  <leeming@lyx.org>
1405
1406         * buffer.C: up LYX_FORMAT to 234.
1407         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1408         use_numerical_citations with a single biblio::CiteEngine cite_engine
1409         variable.
1410         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1411
1412 2004-05-13  José Matos  <jamatos@lyx.org>
1413
1414         * converter.h:
1415         * converter.C (Converter, readFlags): add xml member.
1416         * outputparams.h: add XML flavor.
1417         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1418
1419 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * lyxfunc.C (dispatch):
1422         (getStatus): fix handling of LFUN_SEQUENCE
1423
1424 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * debug.C (showLevel): do not forget the end-of-line marker
1427
1428 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * kbmap.C (read): do not stop parsing a bind file when an error
1431         occurs (bug 1575)
1432
1433 2004-04-29  Angus Leeming  <leeming@lyx.org>
1434
1435         * cursor.C:
1436         * factory.C:
1437         * pariterator.C:
1438         * text2.C: wrap a bunch of #warning statements
1439         inside #ifdef WITH_WARNINGS blocks.
1440
1441 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1442
1443         * buffer.C: increment format to 233.
1444
1445 2004-04-28  Angus Leeming  <leeming@lyx.org>
1446
1447         * BufferView_pimpl.C:
1448         * lyxfunc.C:
1449         * text3.C:
1450         s/updateToolbar()/updateToolbars()/
1451         s/Toolbar.h/Toolbars.h/
1452
1453 2004-04-28  Angus Leeming  <leeming@lyx.org>
1454
1455         * BufferView.[Ch] (c-tor):
1456         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1457         No longer passes these data to the WorkArea generator.
1458
1459 2004-04-28  Angus Leeming  <leeming@lyx.org>
1460
1461         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1462
1463 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1464
1465         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1466
1467 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * output_latex.C (TeXEnvironment): make sure that there is a line
1470         break before \end{foo} for the last paragraph of a document
1471         (TeXOnePar): if the paragraph is at the end of the document (or
1472         inset) and the language has to be reset, then make sure that the
1473         line break is _before_ the language command, not after (fixes bug
1474         1225); also make sure that the language reset command is the first
1475         thing after the paragraph (to ensure proper nesting of
1476         environments and thus fix bug 1404)
1477
1478 2004-04-21  John Levon  <levon@movementarian.org>
1479
1480         * ToolbarBackend.h:
1481         * ToolbarBackend.C: make "name" be a programmatic name
1482         and a gui_name field.
1483
1484         * lyxfunc.C: display the minibuffer on M-x
1485
1486 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1489         (bug 1526)
1490
1491 2004-04-19  Angus Leeming  <leeming@lyx.org>
1492
1493         * BufferView_pimpl.C (setBuffer): changed preview interface.
1494
1495         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1496         possible values.
1497
1498 2004-04-19  John Levon  <levon@movementarian.org>
1499
1500         * BufferView_pimpl.C:
1501         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1502
1503 2004-04-05  Angus Leeming  <leeming@lyx.org>
1504
1505         * text.C (redoParagraphs): add call to updateCounters(), thereby
1506         fixing the missing "Figure #:" label from the caption of a
1507         figure float.
1508
1509 2004-04-13  Angus Leeming  <leeming@lyx.org>
1510
1511         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1512         cursor is clicked out of an inset.
1513
1514 2004-04-13  Angus Leeming  <leeming@lyx.org>
1515
1516         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1517         than an InsetOld one.
1518
1519 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1520
1521         * format.[Ch]: add editor to Format
1522         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1523         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1524
1525 2004-04-08  André Pönitz  <poenitz@gmx.net>
1526
1527         * metricsinfo.h: remove PainterInfo::width member
1528
1529 2004-04-08  Angus Leeming  <leeming@lyx.org>
1530
1531         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1532         "\providecommand" rather than "\newcommand", thereby preventing
1533         clashes with packages that define "\boldsymbol" themselves.
1534         Eg, beamer.
1535
1536 2004-04-08  Angus Leeming  <leeming@lyx.org>
1537
1538         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1539         thereby squashing an unnecessary warning.
1540
1541 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1542
1543         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1544         setBuffer()
1545
1546 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * BufferView.C (setCursor): call redoParagraph (some insets could
1549         have been opened)
1550         (putSelectionAt): remove the 'double update' trick
1551
1552         * BufferView_pimpl.C (fitCursor): call refreshPar
1553         (workAreaDispatch): remove an uneeded update call
1554         (dispatch): remove some manual update calls
1555
1556         * cursor.[Ch]: remove cached_y_, updatePos
1557         (selHandle): set noUpdate when appropriate
1558
1559         * lyxfunc.C (dispatch): track if we need an update
1560
1561         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1562
1563         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1564         (paintSelection): cheap optimization, do not call cursorX when not
1565         needed
1566         (paintPars): change signature
1567         (refreshPar): add
1568         (paintText): adjust
1569         (paintTextInset): adjust
1570
1571         * text.C: adjust
1572
1573 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * lengthcommon.C: compilation fix: remove explicit array size from
1576         unit_name[] and friends
1577
1578 2004-04-05  Angus Leeming  <leeming@lyx.org>
1579
1580         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1581
1582         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1583         present only for the preferences dialog.
1584         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1585
1586 2004-04-05  Angus Leeming  <leeming@lyx.org>
1587
1588         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1589         to enable the frontends to export changes to lyxrc correctly.
1590
1591         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1592
1593 2004-04-07  André Pönitz  <poenitz@gmx.net>
1594
1595         * cursor.[Ch] (selClear, adjust): remove math
1596
1597         * cursor_slice.C: more agressive assert
1598
1599         * lyxfunc.C:
1600         * BufferView_pimpl.C: rework mouse event dispatch
1601
1602         * dociterator.C:
1603         * paragraph.C:
1604         * text2.C:
1605         * text3.C: adjust
1606
1607 2004-04-05  André Pönitz  <poenitz@gmx.net>
1608
1609         * cursor.[Ch] (valign, halign...): remove unneeded functions
1610
1611 2004-04-05  Angus Leeming  <leeming@lyx.org>
1612
1613         * lyxlength.[Ch] (unit_name et al.): const-correct.
1614
1615 2004-04-05  Angus Leeming  <leeming@lyx.org>
1616
1617         * BufferView_pimpl.C:
1618         * buffer.C:
1619         * counters.C:
1620         * cursor.C:
1621         * lyxfunc.C
1622         * paragraph.C:
1623         * pariterator.C:
1624         * text.C:
1625         * text2.C:
1626         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1627
1628 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1631
1632 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1635         * BufferView_pimpl.[Ch] (getStatus)
1636         * BufferView.[Ch] (getStatus): add
1637         * lyxfunc.C (getStatus): move lfuns handled in
1638         BufferView::dispatch to te function above
1639         * Cursor.C (setSelection): set selection() = true
1640
1641 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1642
1643         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1644
1645 2004-03-31  Angus Leeming  <leeming@lyx.org>
1646
1647         * lyxfunc.C (dispatch): Fall through to the generic
1648         Dialogs::show("preamble").
1649
1650 2004-03-31  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyxfunc.C (dispatch): Fall through to the generic
1653         Dialogs::show("spellchecker").
1654
1655 2004-03-31  Angus Leeming  <leeming@lyx.org>
1656
1657         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1658         preferences dialog.
1659
1660 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1661
1662         * BufferView.C
1663         * cursor.[Ch]
1664         * dociterator.[Ch]:
1665         * insetiterator.[Ch]:
1666         * lyxfind.C:
1667         * lyxfunc.C:
1668         * pariterator.[Ch]:
1669         * text2.C:
1670         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1671
1672 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1675         insets where we are putting the cursor.
1676
1677 2004-03-31  Angus Leeming  <leeming@lyx.org>
1678
1679         * lfuns.h:
1680         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1681
1682         * lyxrc.[Ch] (read, write): overloaded member functions taking
1683         a std::[io]stream arguments.
1684
1685         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1686
1687 2004-03-31  Angus Leeming  <leeming@lyx.org>
1688
1689         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1690         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1691
1692         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1693         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1694
1695 2004-03-31  Angus Leeming  <leeming@lyx.org>
1696
1697         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1698         the LFUN_ALL_INSETS_TOGGLE code.
1699
1700 2004-03-30  Angus Leeming  <leeming@lyx.org>
1701
1702         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1703         has died. Fall through to the generic Dialogs::show("document").
1704
1705 2004-03-30  Angus Leeming  <leeming@lyx.org>
1706
1707         * lfuns.h:
1708         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1709         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1710
1711         * lyxfunc.C (getStatus, dispatch): define the actions for these
1712         lfuns. Little more than a cut and pste job from ControlDocument.C
1713
1714         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1715
1716 2004-03-30  Angus Leeming  <leeming@lyx.org>
1717
1718         * lfuns.h:
1719         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1720         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1721
1722         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1723         open/closed state of ollapsable insets. Usage:
1724
1725         all-inset-toggle <state> <name>, where
1726         <state> == "open" || "closed" || "toggle" and
1727         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1728
1729         * lyxtext.h, text2.C (toggleInset): removed.
1730
1731         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1732         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1733         now passes LFUN_INSET_TOGGLE to the found inset.
1734
1735         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1736         is now invoked as "all-insets-toggle toggle branch".
1737
1738 2004-03-30  Angus Leeming  <leeming@lyx.org>
1739
1740         * dociterator.C:
1741         * insetiterator.C:
1742         * pariterator.[Ch]: added/corrected header blurb.
1743
1744 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * dociterator.[Ch]: add an inset_ member
1747         (backwardPos): implemented
1748         (backwardPos, forwardPos): use inset_ when the stack is empty.
1749         (doc_iterator_begin, doc_iterator_end): implemented
1750         * pariterator.[Ch]: adjust, add begin, end
1751         * insetiterator.[Ch]: adjust, add begin, end
1752         * cursor.C:
1753         * document.C:
1754         * BufferView.C:
1755         * BufferView_pimpl.C:
1756         * CutAndPaste.C: adjust
1757
1758 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1759
1760         * buffer.C: increment file format to 232.
1761         * LaTeXFeatures.C: add bibtopic package.
1762         * bufferparams.[Ch]: param \use_bibtopic.
1763
1764         * lyxrc.[Ch]: add lyxrc bibtex_command
1765         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1766
1767         * buffer.C: increment file format to 231.
1768
1769 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * dociterator.C: implement forwardPar
1772         * iterators.[Ch]: remove, replaced by
1773         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1774         * BufferView.C:
1775         * BufferView_pimpl.C:
1776         * CutAndPaste.C:
1777         * buffer.C:
1778         * bufferview_funcs.C:
1779         * cursor.C:
1780         * lyxfind.C
1781         * lyxfunc.C
1782         * paragraph_funcs.C
1783         * toc.C:
1784         * Makefile.am: adjust
1785
1786 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1787
1788         * CutAndPaste.C (pasteSelection): fix 2 crashes
1789         (eraseSelection): fix a crash
1790         * paragraph_funcs.C: remove a warning
1791
1792 2004-03-28  Angus Leeming  <leeming@lyx.org>
1793
1794         * lfuns.h:
1795         * LyXAction.C (init): new LFUN_PRINT.
1796
1797         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1798
1799 2004-03-27  Angus Leeming  <leeming@lyx.org>
1800
1801         * lfuns.h:
1802         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1803
1804         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1805
1806 2004-03-27  Angus Leeming  <leeming@lyx.org>
1807
1808         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1809         insetlist always contains non-null pointers to insets.
1810
1811 2004-03-26  Angus Leeming  <leeming@lyx.org>
1812
1813         * src/BufferView_pimpl.C:
1814         * src/CutAndPaste.C:
1815         * src/buffer.C:
1816         * src/iterators.C:
1817         * src/output_plaintext.C:
1818         * src/outputparams.h:
1819         * src/paragraph_funcs.C:
1820         * src/rowpainter.C:
1821         * src/text.C:
1822         * src/text2.C:
1823         * src/frontends/controllers/ControlErrorList.C:
1824         * src/frontends/gtk/FileDialogPrivate.C:
1825         * src/frontends/gtk/GPainter.C:
1826         * src/frontends/gtk/GToolbar.C:
1827         * src/frontends/qt2/QRef.C:
1828         * src/mathed/math_scriptinset.C: squash compiler warnings.
1829
1830 2004-03-26  Angus Leeming  <leeming@lyx.org>
1831
1832         * ispell.C (LaunchIspell::start):
1833         * lyx_cb.C (AutoSaveBuffer::start):
1834         invoke run(DontWait) rather than runNonBlocking().
1835
1836 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1839
1840 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * kbsequence.C (print): adjust
1843
1844         * kbmap.C (printKeySym): rename and change signature
1845         (printKey): use LyXKeySym::print()
1846
1847 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1848
1849         * undo.C: add using std::advance to compile for stlport
1850
1851 2004-03-24  Angus Leeming  <leeming@lyx.org>
1852
1853         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1854         it leads to a crash when no buffer is present.
1855
1856 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1857             Martin Vermeer  <martin.vermeer@hut.fi>
1858
1859         * lyxfunc.C (dispatch):
1860         * bufferparams.C (readToken): use the new LColor::setColor
1861
1862         * LColor.[Ch] (setColor): new version that takes two strings as
1863         argument and creates a new color entry if necessary
1864
1865 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1866
1867         * buffer.C (makeLaTeXFile): if the main latex file that is
1868         processed is usually a subdocument of some master, then pretend
1869         for a while that it is actually the master
1870
1871 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1872
1873         * buffer.C (getLabelList):
1874         (getBibkeyList): use getMasterBuffer()
1875         (getMasterBuffer): new method. Returns the main document in the
1876         case where one is using included documents.
1877
1878 2004-03-25  André Pönitz  <poenitz@gmx.net>
1879
1880         * Makefile.am:
1881         * iterators.[Ch]:
1882         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1883
1884         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1885
1886         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1887         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1888
1889         * ParameterStruct.h: merge with ParagraphParameters
1890
1891         * lyxtext.h: remove LyXText::parOffset() and getPar()
1892
1893         * text3.C: Remove all 'manual' update calls. We do now one per user
1894         interaction which is completely sufficient.
1895
1896         * Bidi.C:
1897         * BufferView.[Ch]:
1898         * BufferView_pimpl.C:
1899         * FontIterator.[Ch]:
1900         * MenuBackend.C:
1901         * ParagraphParameters.[Ch]:
1902         * buffer.C:
1903         * buffer.h:
1904         * bufferlist.C:
1905         * cursor.[Ch]:
1906         * cursor_slice.[Ch]:
1907         * dociterator.[Ch]:
1908         * errorlist.[Ch]:
1909         * factory.C:
1910         * lfuns.h:
1911         * lyxfind.C:
1912         * lyxfunc.C:
1913         * output_docbook.[Ch]:
1914         * output_latex.[Ch]:
1915         * output_linuxdoc.[Ch]:
1916         * output_plaintext.[Ch]:
1917         * paragraph.[Ch]:
1918         * paragraph_funcs.[Ch]:
1919         * paragraph_pimpl.[Ch]:
1920         * rowpainter.C:
1921         * tabular.[Ch]:
1922         * text.C:
1923         * text2.C:
1924         * toc.C:
1925         * undo.[Ch]: adjust
1926
1927         * frontends/controllers/ControlDocument.C:
1928         * frontends/controllers/ControlErrorList.C:
1929         * frontends/controllers/ControlSpellchecker.C:
1930         * insets/inset.C:
1931         * insets/inset.h:
1932         * insets/insetbase.h:
1933         * insets/insetbibitem.C:
1934         * insets/insetbox.C:
1935         * insets/insetbranch.C:
1936         * insets/insetcaption.C:
1937         * insets/insetcharstyle.C:
1938         * insets/insetcharstyle.h:
1939         * insets/insetcollapsable.C:
1940         * insets/insetcollapsable.h:
1941         * insets/insetert.C:
1942         * insets/insetfloat.C:
1943         * insets/insetfoot.C:
1944         * insets/insetmarginal.C:
1945         * insets/insetnote.C:
1946         * insets/insetoptarg.C:
1947         * insets/insettabular.C:
1948         * insets/insettext.C:
1949         * insets/insettext.h:
1950         * insets/insetwrap.C:
1951         * mathed/math_mboxinset.C:
1952         * mathed/math_nestinset.C:
1953         * mathed/math_scriptinset.C:
1954         * mathed/math_scriptinset.h:
1955         * support/types.h:
1956
1957 2004-03-24  Angus Leeming  <leeming@lyx.org>
1958
1959         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1960         deal with any child processes that have finished but are waiting to
1961         communicate this fact to the rest of LyX.
1962
1963 2004-03-24  Angus Leeming  <leeming@lyx.org>
1964
1965         64-bit compile fixes.
1966
1967         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1968         (c-tor): pass lyx::pos_types rather than ints.
1969
1970         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1971         lyx::pos_type.
1972
1973         * text.C (Delete): compile fix.
1974         (getPar): ensure that function declaration is the same as that in
1975         the header file.
1976
1977 2004-03-23  Angus Leeming  <leeming@lyx.org>
1978
1979         * ispell.C (LaunchIspell):
1980         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1981         a boost::shred_ptr rather than a std::auto_ptr.
1982
1983 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1984
1985         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1986         handle LFUN_FILE_INSERT_*
1987
1988         * lyxrc.C (setDefaults, getDescription, output, read):
1989         * lyxrc.h: remove ps_command
1990
1991 2004-03-22  Angus Leeming  <leeming@lyx.org>
1992
1993         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1994         Ensure that error_handler is processed once only and that all data
1995         is saved before attempting to output any warning messages.
1996
1997         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1998
1999 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2000
2001         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2002
2003 2004-03-19  André Pönitz  <poenitz@gmx.net>
2004
2005         * cursor.[Ch] (reset): take main text inset as argument
2006
2007         * BufferView: adjust
2008         * BufferView_pimpl.C: adjust
2009
2010         * paragraph.[Ch]: fix completely broken operator=()
2011
2012 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * LColor.C (getFromLyXName): make sure that the color name is used
2015         as lowercase.
2016
2017 2004-03-17  Angus Leeming  <leeming@lyx.org>
2018
2019         * lfuns.h:
2020         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2021
2022         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2023         dialog and to kill a forked process.
2024
2025 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * text2.C (setCursorFromCoordinates): fix font problem
2028
2029 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2032         bogus "rebuild cursor" code
2033
2034 2004-03-11  André Pönitz  <poenitz@gmx.net>
2035
2036         * buffer.[Ch]: use InsetText instead of LyXText as container for
2037         the main lyx text.
2038
2039         * dociterator.[Ch]: drop the BufferView * member which is not needed
2040         anymore after the change to buffer.C
2041
2042         * paragraph_funcs.C:
2043         * text.C:
2044         * text2.C:
2045         * BufferView.[Ch]:
2046         * BufferView_pimpl.[Ch]:
2047         * cursor.[Ch]:
2048         * cursor_slice.[Ch]: adjust
2049
2050         * text3.C: fix bug in mathDispatch
2051
2052 2004-03-08  André Pönitz  <poenitz@gmx.net>
2053
2054         * undo.[Ch]: use 'StableDocumentIterator' as base for
2055         the Undo struct.
2056
2057 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2058
2059         * LaTeXFeatures.C:
2060         * bufferparams.[Ch]: add jurabib support and param.
2061
2062         * LaTeX.C: add FIXME/comment.
2063
2064 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2065
2066         * buffer.C: increment file format to 230.
2067
2068 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * cursor.C (dispatch): avoid infinite loops
2071
2072 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * rowpainter.C (paintSelection): fix x coordinates
2075
2076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * text.C (rowBreakPoint): fix breaking before displayed insets
2079
2080 2004-03-01  André Pönitz  <poenitz@gmx.net>
2081
2082         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2083
2084         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2085
2086         * Makefile.am:
2087         * BufferView.C:
2088         * BufferView_pimpl.C:
2089         * buffer.C:
2090         * lyxfind.C:
2091         * lyxfunc.C:
2092         * text.C:
2093         * text2.C:
2094         * text3.C: adjust
2095
2096 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * lyxtext.h:
2099         * text.C:
2100         * text2.C:
2101         * rowpainter.C:
2102         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2103         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2104
2105 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * Bidi.[Ch] (computeTables): const correctness
2108         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2109         fill_hfill, fill_label_hfill and x from Row
2110         * lyxtext.h: prepareToPrint returns a RowMetrics
2111         * rowPainter.C: adjust
2112         * text.C (prepareToPrint): use width, not textWidth. adjust
2113         (redoParagraphInternal, cursorX): adjust
2114         * text2.C (getColumnNearX): adjust
2115         (init): put a default value to the top LyXText::width
2116
2117 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2120
2121 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * lyxtext.h: add FontIterator class
2124
2125         * text.C (FontIterator, operator*, operator->, operator++): add
2126         (rowBreakPoint, setRowWidth): adjust (fixing a
2127         rebreaking bug)
2128
2129 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * BufferView_pimpl.C (workAreaDispatch): allow also
2132         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2133
2134 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2135
2136         * text.C (rowBreakPoint): fix a bug showing with very large insets
2137
2138 2004-02-25  André Pönitz  <poenitz@gmx.net>
2139
2140         * text3.C:
2141         * cursor.[Ch]: move some mathed specific code to mathed
2142
2143 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2144
2145         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2146         use_tempdir in preferences
2147         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2148         tempfile creation
2149         * lyx_main.C: ensure that tempdir is valid
2150         * lyxlex.h: correct typo
2151         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2152         * paragraph.[Ch] (isMultiLingual): make const
2153         * cursor.[Ch] (openable): make const
2154
2155 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2156
2157         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2158
2159 2004-02-20  André Pönitz  <poenitz@gmx.net>
2160
2161         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2162
2163         * cursor.[Ch]: prepare for localized getStatus()
2164
2165         * lyxtext.h:
2166         * tabular.C:
2167         * text.C:
2168         * text2.C:
2169         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2170
2171 2004-02-20  André Pönitz  <poenitz@gmx.net>
2172
2173         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2174
2175 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2176
2177         * text2.C (setCursorFromCoordinates): switch to absolute coords
2178         (cursorUp): adjust
2179         (cursorDown): adjust
2180         * text3.C (dispatch): adjust
2181
2182 2004-02-16  André Pönitz  <poenitz@gmx.net>
2183
2184         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2185           insets/ChangeLog)
2186
2187         * cursor_slice.[Ch]: remove unneeded acessor function
2188
2189         * lyxtext.h: rename rtl() to isRTL()
2190
2191         * rowpainter.C:
2192         * tabular.C:
2193         * text.C:
2194         * text2.C:
2195         * text3.C: adjust
2196
2197 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2198
2199         * rowpainter.C (paintSelection): coord fix
2200
2201 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2202
2203         * Spacing.C: compile fix
2204
2205 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * cursor.C (dispatch): restore current_ before returning
2208
2209 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2210
2211         * text2.C (cursorUp, cursorDown): fix coords
2212         (moveUp): fix crash
2213
2214 2004-02-12  André Pönitz  <poenitz@gmx.net>
2215
2216         * lyxtext.h:
2217         * text.C:
2218         * text2.C:
2219         * text3.C: add LCursor & parameter to most cursor movement functions
2220           remove usage of LyXText::cursorRow() and cursorPar()
2221
2222         * cursor.[Ch]: add textRow() needed members
2223
2224         * BufferView.C:
2225         * BufferView_pimpl.C:
2226         * paragraph.[Ch]:
2227         * BufferView.C:
2228         * BufferView_pimpl.C: adjust
2229
2230 2004-02-11  André Pönitz  <poenitz@gmx.net>
2231
2232         * lyxfunc.C:
2233         * BufferView.[Ch]:
2234         * BufferView_pimpl.C: shift undo/redo handling
2235
2236         * cursor.[Ch]: fix mathed crash
2237
2238         * lyxfind.C:
2239         * lyxtext.h: move selectionAsText to LCursor
2240
2241         * output_latex.C:
2242         * paragraph.C:
2243         * text.C:
2244         * text2.C:
2245         * text3.C: adjust
2246
2247         * rowpainter.C: fix excessive drawing
2248
2249 2004-02-06  André Pönitz  <poenitz@gmx.net>
2250
2251         * BufferView.[Ch]:
2252         * BufferView_pimpl.[Ch]:
2253         * text3.C: move some text specific LFUN handling
2254
2255 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2256
2257         * text3.C (checkInsetHit): adjust coords
2258         * text2.C (getColumnNearX): adjust coords
2259         (edit): adjust coords
2260         * text.C (getRowNearY): add two asserts
2261
2262 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * converter.C:
2265         * format.C: add using std::distance to compile on gcc 2.95/stlport
2266
2267 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2270
2271 2004-02-04  André Pönitz  <poenitz@gmx.net>
2272
2273         * BufferView.[Ch] (insertInset):
2274         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2275
2276         * text2.C:
2277         * text3.C: adjust
2278
2279 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2280
2281         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2282         on the default clause of the switch
2283         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2284         wasn't catched by LCursor::dispatch
2285
2286 2004-02-03  André Pönitz  <poenitz@gmx.net>
2287
2288         * BufferView.C:
2289         * cursor.[Ch]: some additional asserts
2290
2291         * undo.[Ch]: remove LyXText dependency in interface
2292
2293         * lyxfunc.C: adjust
2294
2295         * lyxtext.h (firstPar, lastPar): remove dead functions
2296
2297         * text.C:
2298         * text2.C:
2299         * text3.C:
2300         * paragraph.[Ch]: adjust
2301
2302 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * lyxfind.C (find): fix argument order in call to ::find
2305
2306 2004-02-02  André Pönitz  <poenitz@gmx.net>
2307
2308         * cursor.[Ch]: remove direct access to anchor
2309
2310         * text.C: remove findText() hack
2311
2312 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * iterators.[Ch] (lockPath): remove in favour of...
2315         * BufferView.[Ch] (setCursor): this addition
2316         * BufferView.C (putSelectionAt): adjust
2317         * undo.C (performUndoOrRedo): adjust
2318         * lyxfunc.C (dispatch): adjust
2319
2320 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * iterators.C (lockPath): add a missing slice
2323         * undo.C (performUndoOrRedo): remove redundant positioning code
2324
2325 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2326
2327         * vc-backend.C (scanMaster): ";" -> ';'
2328
2329 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2330
2331         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2332         std::binary_function
2333
2334         * lyxtextclass.C (compare_name): rename to...
2335         (LayoutNamesEqual): ...this
2336
2337         * lyxlex_pimpl.C (compare_tags): inherit from
2338         std::binary_function, put back into anon namespace
2339
2340         * lyxfind.C (MatchString): inherig from std::binary_function
2341         (findChange): use empty() istead of !size()
2342
2343         * format.C (FormatNamesEqual): new functor
2344         (getFormat): use it
2345         (getNumber): use it
2346         (add): use it
2347         (erase): use it
2348         (setViewer): use it
2349
2350         * converter.C (compare_Converter): rename to...
2351         (ConverterEqual): ...this, and fixup a bit.
2352         (getConverter): use it, and make function const
2353         (getNumber): use it, and make function const
2354         (add): use it
2355         (erase): use it:
2356
2357         * bufferlist.C: add using boost::bind
2358
2359         * MenuBackend.C (MenuNamesEqual): new functor
2360         (hasMenu): use it, and make function const
2361         (hasSubmenu): use nested bind to get rid of compare_memfun.
2362
2363 2004-01-30  André Pönitz  <poenitz@gmx.net>
2364
2365         * BufferView_pimpl.C:
2366         * cursor.C:
2367         * cursor.h:
2368         * cursor_slice.[Ch]:
2369         * lyxfunc.C:
2370         * lyxtext.h:
2371         * paragraph_funcs.C:
2372         * paragraph_funcs.h:
2373         * rowpainter.C:
2374         * text.C:
2375         * text2.C:
2376         * text3.C: move some of the edit(x,y) handling to the insets
2377         some coordinate changes.
2378
2379 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2380
2381         * text.C: add using statements for std::advance and std::distance
2382
2383         * paragraph.C: add using statement for std::distance
2384
2385         * lyxfind.C: add using statement for std::advance
2386
2387         * cursor.C (region): remove std:: from swap
2388         (openable): use nucleus in stead of operator->
2389
2390         * BufferView.C: add using statements for std::distance and std::swap
2391
2392 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2393
2394         * iterators.C: Remove the pimple, move the needed structures to
2395         the header file. Create accessor for the positions stack.
2396         (asPosIterator): remove function
2397
2398         * PosIterator.C (PosIterator): move constructors to top of file
2399         (PosIterator): reimplement the constructor taking a ParIterator in
2400         terms of setFrom.
2401         (setFrom): new function
2402         (operator!=): inline it
2403
2404 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2405
2406         * lyxfind.C (replaceAll): use std::advance
2407
2408         * iterators.h: inherit from std::iterator.
2409
2410         * PosIterator.C (advance, distance): remove
2411         * PosIterator.h: interit from std::iterator.
2412
2413 2004-01-26  André Pönitz  <poenitz@gmx.net>
2414
2415         * BufferView.[Ch]:
2416         * BufferView_pimpl.[Ch]:
2417         * InsetList.[Ch]:
2418         * PosIterator.[Ch]:
2419         * buffer.h:
2420         * bufferview_funcs.C:
2421         * cursor.[Ch]:
2422         * cursor_slice.h:
2423         * factory.[Ch]:
2424         * iterators.[Ch]:
2425         * lyxfind.C:
2426         * lyxfunc.C:
2427         * lyxtext.h:
2428         * output_docbook.C:
2429         * output_latex.C:
2430         * output_linuxdoc.C:
2431         * output_plaintext.C:
2432         * paragraph.[Ch]:
2433         * paragraph_funcs.[Ch]:
2434         * paragraph_pimpl.[Ch]:
2435         * rowpainter.C:
2436         * tabular.C:
2437         * tabular.h:
2438         * text.C:
2439         * text2.C:
2440         * text3.C: more IU:  dumps most of the rest of the mathcursor
2441     implementation into cursor.[Ch]; "globalize" a bit of it.
2442
2443 2004-01-25  Angus Leeming  <leeming@lyx.org>
2444
2445         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2446
2447 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2448
2449         * LaTeXFeatures.h: add nice_ and nice() const
2450         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2451
2452 2004-01-20  André Pönitz  <poenitz@gmx.net>
2453
2454         * BufferView.[Ch]:
2455         * BufferView_pimpl.C:
2456         * PosIterator.C:
2457         * bufferview_funcs.C:
2458         * cursor.[Ch]:
2459         * cursor_slice.[Ch]:
2460         * factory.C:
2461         * iterators.C:
2462         * lyx_cb.C:
2463         * lyxfind.C:
2464         * lyxfunc.C:
2465         * lyxtext.h:
2466         * rowpainter.C:
2467         * text.C:
2468         * text2.C:
2469         * text3.C:
2470         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2471           LCursor and mathcursor parts to LCursor and InsetBase.
2472
2473 2004-01-15  André Pönitz  <poenitz@gmx.net>
2474
2475         * cursor_slice.[Ch]: add a few covienience functions
2476
2477         * funcrequest.[Ch]: remove BufferView * member
2478
2479         * BufferView_pimpl.C:
2480         * cursor.C:
2481         * factory.[Ch]:
2482         * lyxfind.[Ch]:
2483         * lyxfunc.C:
2484         * lyxtext.h:
2485         * text3.C:
2486         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2487
2488 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2491         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2492
2493 2004-01-13  André Pönitz  <poenitz@gmx.net>
2494
2495         * textcursor.[Ch]:
2496         * lyxtext.h: hide cursor and selection anchor behind accessor function
2497
2498         * BufferView.C:
2499         * BufferView_pimpl.[Ch]:
2500         * PosIterator.C:
2501         * bufferview_funcs.C:
2502         * cursor.h:
2503         * lyxfind.C:
2504         * lyxfunc.C:
2505         * text.C:
2506         * text2.C:
2507         * text3.C:
2508         * undo.C: adjust
2509
2510         * cursor.h:
2511         * cursor_slice.[Ch]: some integer type changes for inset unification
2512
2513         * lyxcursor.[hC]: remove, it's CursorSlice now.
2514
2515         * Makefile.am:
2516         * BufferView_pimpl.[Ch]:
2517         * bufferview_funcs.C:
2518         * cursor_slice.C:
2519         * lyxtext.h:
2520         * text.C:
2521         * text2.C:
2522         * text3.C:
2523         * textcursor.[Ch]: adjust
2524
2525 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2526
2527         * text2.C (undoSpan): add and use
2528         * text.C (breakParagraph): use undoSpan (fix bug 578)
2529         * lyxtext.h: adjust
2530
2531 2004-01-08  Angus Leeming  <leeming@lyx.org>
2532
2533         * BufferView_pimpl.C (MenuInsertLyXFile):
2534         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2535         * lyxfunc.C (menuNew, open, doImport):
2536         FileFilterList change to the FileDialog open and save functions.
2537
2538 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2539
2540         * ShareContainer.h: make isEqual and isUnique adaptable
2541
2542         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2543
2544 2004-01-07  Angus Leeming  <leeming@lyx.org>
2545
2546         * LyXAction.C:
2547         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2548
2549         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2550
2551         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2552         functions replacing find, replace and replaceAll.
2553
2554         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2555         LFUN_WORDFIND(FORWARD|BACKWARD).
2556
2557 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * text.C (breakParagraph): remove an outdated #warning
2560
2561 2004-01-07  André Pönitz  <poenitz@gmx.net>
2562
2563         * lyxfind.C: somewhat clearer logic
2564
2565         * text.C: prevent crash in cursorX on unitialized row cache
2566
2567 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2568
2569         * lyxcursor.[Ch] (operator>): add
2570         * textcursor.C (selStart, selEnd): use std::min and std::max
2571
2572 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2573
2574         * Chktex.C: include boost/format.hpp
2575
2576 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2577
2578         * InsetList.C: replace functor MathcIt with adaptable functor
2579         InsetTablePosLess
2580         (insetIterator): modify accordingly
2581
2582         * BranchList.h: move the BranchNamesEqual functor here from...
2583         * BranchList.C: ... to here
2584
2585         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2586         SameName and match.
2587         (add): replace a finding loop with std::find_if.
2588
2589 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2590
2591         * output_docbook.C: moving LatexParam functionality into
2592         .layout files
2593
2594 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2595
2596         * buffer.C: increment format to 229.
2597
2598 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2599
2600         * LaTeXFeatures.C:
2601         * lyx_sty.[Ch]: remove minipageindent_def
2602
2603         * LyXAction.C:
2604         * factory.C:
2605         * lfuns.h:
2606         * lyxfunc.C:
2607         * text3.C: remove LFUN_INSET_MINIPAGE
2608
2609 2003-12-28  Angus Leeming  <leeming@lyx.org>
2610
2611         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2612
2613 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2614
2615         * text2.C (setParagraph): fix off-by-one crash
2616
2617 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2618
2619         * output_docbook.C: header stuff for AGU
2620
2621 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2622
2623         * text2.C (redoCursor): remove
2624         * text.C:
2625         * text3.C:
2626         * BufferView_pimpl.C: remove calls to redoCursor and
2627         setCursor(cursor.par(), cursor.pos()) all around
2628
2629 2003-12-15  Angus Leeming  <leeming@lyx.org>
2630
2631         * buffer.C: up the format to 228.
2632
2633 2003-12-15  André Pönitz  <poenitz@gmx.net>
2634
2635         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2636         slices
2637
2638         * Makefile.am:
2639
2640         * BufferView_pimpl.C:
2641         * cursor.[Ch]:
2642         * lyxcursor.[Ch]:
2643         * rowpainter.[Ch]:
2644         * lyxtext.h:
2645         * text.C:
2646         * text2.C:
2647         * text3.C: adjust
2648
2649 2003-12-15  Angus Leeming  <leeming@lyx.org>
2650
2651         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2652         than getFromGUIName to manipulate the color.
2653
2654 2003-12-14  Angus Leeming  <leeming@lyx.org>
2655
2656         * BranchList.[Ch]: minimize the API.
2657         (Branch::getBranch, getColor): now return a 'const &'.
2658         (Branch::setSelected) now returns a bool set to true if the
2659         selection status changes.
2660         (BranchList::clear, size, getColor, setColor, setSelected,
2661         allBranches, allSelected, separator): removed.
2662         (BranchList::find): new functions, returning the Branch with
2663         the given name.
2664         (BranchList::add, remove): return a bool indicating that
2665         the operation was successful.
2666
2667         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2668         new InsetBranch::isBranchSlected member function.
2669
2670         * LColor.[Ch]: mimimize the API.
2671         (fill): renamed as addColor and made private.
2672         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2673         versions of these functions taking a string arg have been removed.
2674
2675         * bufferparams.C (readToken):
2676         * lyxfunc.C (dispatch):
2677         * lyxrc.C (read): changes due to the altered BranchList and
2678         LColor APIs.
2679
2680         * factory.C (createInset, readInset): changes due to altered
2681         InsetBranch c-tor.
2682
2683 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2684
2685         * factory.C:
2686         * lyxfunc.C: remove insetminipage. "minipage-insert"
2687         now produces a frameless minipage box inset.
2688
2689 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * textcursor.[Ch] (selStart,selEnd): add new methods
2692         remove selection::start, end, use LyXCursor::operator<
2693         * lyxcursor.[Ch] (operator<): add
2694         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2695         * BufferView.[Ch] (unsetXSel): add
2696         * text2.C (clearSelection): use unsetXSel,adjust
2697         * text.C: adjust
2698         * text3.C: adjust
2699         * rowpainter.C: adjust
2700         * bufferview_funcs.C (put_selection_at): adjust
2701
2702 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * BufferView_pimpl.C: small coord. correction
2705
2706 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2709         dragging over the splash screen.
2710
2711 2003-12-11  Angus Leeming  <leeming@lyx.org>
2712
2713         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2714         as it is now handled in LyXText::dispatch.
2715
2716         * text3.C (doInsertInset): remove a level of nesting.
2717
2718 2003-12-11  Angus Leeming  <leeming@lyx.org>
2719
2720         * factory.C (createInset): changes due to the changed interface to
2721         InsetCommandMailer::string2params.
2722
2723 2003-12-10  Angus Leeming  <leeming@lyx.org>
2724
2725         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2726         'dialog-show-new-inset <inset name>'
2727
2728 2003-12-10  Angus Leeming  <leeming@lyx.org>
2729
2730         * buffer.C: up the format to 227.
2731
2732         * factory.C: the box inset is now identified simply by 'Box'.
2733
2734 2003-12-10  Angus Leeming  <leeming@lyx.org>
2735
2736         * buffer.C: up the format to 226.
2737
2738         * factory.C: the note inset is now identified simply by 'Note'.
2739
2740 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2743         when a pit is enough. Standarize a couple of loops.
2744
2745 2003-12-05  Angus Leeming  <leeming@lyx.org>
2746
2747         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2748         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2749         data to the re-worked "log" dialog.
2750
2751 2003-12-03  André Pönitz  <poenitz@gmx.net>
2752
2753         * PosIterator.C:
2754         * iterators.C:
2755         * lyxtext.h:
2756         * output_latex.C:
2757         * paragraph_funcs.C:
2758         * text.C:
2759         * text2.C: use Inset::getText instead of Inset::getParagraph
2760
2761 2003-12-03  André Pönitz  <poenitz@gmx.net>
2762
2763         * buffer.[Ch]:
2764         * lyxtext.h:
2765         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2766         InsetText::read() as LyXText::read()
2767
2768 2003-12-02  Angus Leeming  <leeming@lyx.org>
2769
2770         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2771         type. Add a comment in the implementation that the function uses
2772         the stream's bad() function rather than fail() as the std::streams
2773         would do.
2774
2775 2003-12-02  André Pönitz  <poenitz@gmx.net>
2776
2777         * lyxlex.[Ch]: make interface more similar to std::stream
2778
2779         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2780
2781 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2784
2785 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2786
2787         * vspace.[Ch]: remove VSpace::NONE
2788
2789 2003-12-01  André Pönitz  <poenitz@gmx.net>
2790
2791         * buffer.[Ch]:
2792         * lyxtext.h: move ParagraphList member to LyXText
2793         rename LyXText::ownerParagraphs to LyXText::paragraph
2794
2795         * CutAndPaste.C:
2796         * bufferview_funcs.C:
2797         * iterators.[Ch]:
2798         * lyx_cb.C:
2799         * paragraph.C:
2800         * rowpainter.C:
2801         * tabular.C:
2802         * text.C:
2803         * text2.C:
2804         * text3.C: adjust
2805
2806         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2807
2808         * undo.C: fix cursor positioning
2809
2810 2003-12-01  John Levon  <levon@movementarian.org>
2811
2812         * BufferView_pimpl.C: fix a crash on exit with
2813         a buffer open
2814
2815 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2816
2817         * BranchList.C: fix setSelected() method.
2818
2819 2003-11-28  André Pönitz  <poenitz@gmx.net>
2820
2821         * ParagraphParameters.[Ch]:
2822         * ParameterStruct.h: remove space above/below from Paragraph to
2823          InsetVSpace
2824
2825         * BufferView_pimpl.C:
2826         * factory.C:
2827         * lyxfunc.C:
2828         * lyxtext.h:
2829         * output_latex.C:
2830         * paragraph.C:
2831         * paragraph_funcs.C:
2832         * rowpainter.[Ch]:
2833         * text.C:
2834         * text2.C:
2835         * text3.C: adjust
2836
2837 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2838
2839         * factory.C: Syntax change for CharStyles
2840
2841 2003-11-28  André Pönitz  <poenitz@gmx.net>
2842
2843         * BufferView.[Ch]:
2844         * BufferView.[Ch]:
2845         * buffer.[Ch]:
2846         * buffer.[Ch]: move LyXText member
2847
2848 2003-11-28  André Pönitz  <poenitz@gmx.net>
2849
2850         * BufferView.[Ch]: make LyXText * text a private member
2851
2852         * BufferView_pimpl.C:
2853         * cursor.C:
2854         * iterators.C:
2855         * lyx_cb.C:
2856         * lyxfind.C:
2857         * lyxtext.h:
2858         * rowpainter.[Ch]:
2859         * text.C:
2860         * text2.C:
2861         * undo.C: adjust
2862
2863         * output_plaintext.C: cleanup
2864
2865 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2866
2867         * buffer.C:
2868         * lyxtextclass.[Ch]: parametrize SGML document header
2869
2870 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * converter.[Ch]:
2873         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2874         getFlavor().
2875
2876 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * text2.C (setFont): rework using PosIterator (no more recursive)
2879         (setCharFont): no more needed
2880         (setLayout): no more selection cursors fiddling (done by redoCursor)
2881         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2882         destroy remaining ones)
2883
2884 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2887         * lyxtext.h: ditto
2888         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2889         selection cursors
2890         * lyxfunc.C: adjust
2891         * text3.C: adjust + re-allow multi par depth changes
2892         * textcursor.C: simplify a bit
2893
2894 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * src/buffer.C:
2897         * src/lyxlayout.C:
2898         * src/lyxlayout.h:
2899         * src/lyxtext.h:
2900         * src/output_docbook.C:
2901         * src/output_latex.C:
2902         * src/paragraph.C:
2903         * src/paragraph.h:
2904         * src/sgml.C:
2905         * src/sgml.h:
2906         * src/text2.C: Introducing a number of tags parametrizing various
2907         XML formats that we may want to support
2908
2909 2003-11-25  André Pönitz  <poenitz@gmx.net>
2910
2911         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2912
2913         * lyxtext.h (leftMargin/rightMargin): simplify interface
2914
2915         * rowpainter.C:
2916         * text.C:
2917         * text2.C:
2918         * text3.C: adjust
2919
2920 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2921
2922         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2923         master file to any child files. Fixes bug 546.
2924
2925 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2926
2927         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2928
2929 2003-11-24  André Pönitz  <poenitz@gmx.net>
2930
2931         * rowpainter.C: simplification
2932
2933         * text2.C (updateCounters): remove call to redoParagraph on
2934         changed labels as this is far too expensive.
2935
2936 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * converter.C (convert): fix a crash: this function gets
2939         called with buffer == 0 from importer code.
2940
2941 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2942
2943         * text3.C (cursorPrevious): make sure that we do not compare
2944         iterators form different containers.
2945         (cursorNext): ditto
2946
2947         * rowpainter.C (paintSelection): make sure that we do not compare
2948         iterators from different containers.
2949
2950         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2951         iterators from different ParagraphList containers.
2952         [NEXT] ditto
2953
2954         * text2.C (LyXText): change order of initialization slightly
2955         (operator=): new function. copy all variables except cache_par_
2956         (moveUp): make sure that we do not compare iterators from
2957         different ParagraphList constainers.
2958         (moveDown): ditto
2959
2960         * text.C (firstPar): new function
2961         (lastPar): new function
2962         (endPar): new function
2963
2964         * lyxtext.h: move things around and group public functions, public
2965         variables, private functions, private variables
2966
2967 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2968
2969         * factory.C: change call to InsetERT constructor to avoid
2970         additional invocation of method status
2971         * text2.C (toggleInset): remove redundant update() call
2972         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2973         instead of a Bufferview pointer
2974
2975 2003-11-21  André Pönitz  <poenitz@gmx.net>
2976
2977         * rowpainter.C: simplification
2978
2979 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * text3.C (dispatch): make possible to extend a word/row selection
2982         with the mouse
2983
2984 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * lyxtext.h: x0_,y0_ -> xo_,yo_
2987         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2988         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2989         * rowpainter.C (paintRows): paint full paragraphs
2990
2991 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2992
2993         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2994         screen coordinates)
2995
2996 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * lyxtext.h: add x0_, y0_
2999         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3000         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3001
3002 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * text2.C (setCursorIntern): move the x_target update here *
3005         * text3.C: change some bv() to true/false in calls to
3006         cursorUp/Down/Right/Left
3007         * cursor.C: use helper function.
3008
3009 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3012         * paragraph_funcs.[Ch]: correct comment
3013         * rowpainter.C: do not paint selections away from bv->cursor()
3014         Fix a long standing selection painting bug.
3015         * text3.C: generalize mouse-selection code to LyXTexts other that
3016         top one
3017         * textcursor.C: do not use y coords if we can use par offsets
3018
3019 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3020
3021         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3022         cursor position after e.g. inset insert)
3023
3024 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * lyxfind.C (replace): adjust to locking removal + some
3027         code simplification
3028
3029 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3032         of the path
3033
3034 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3035
3036         * lyxlayout.[Ch]:
3037         * output_docbook.C: XML sanitation: new layout
3038         parameters InnerTag and CommandDepth
3039
3040 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * BufferView_pimpl.C:
3043         * factory.C:
3044         * text3.C: Fix the insertion and modification of button-style
3045         insets
3046
3047 2003-11-13  André Pönitz  <poenitz@gmx.net>
3048
3049         * InsetList.[Ch]: remove deleteLyXText
3050
3051         * paragraph.[Ch]: cache beginOfBody position
3052
3053         * Bidi.C:
3054         * text.C:
3055         * text2.C:
3056         * text3.C: remove superfluous update() calls
3057
3058         * vspace.C: cleanup
3059
3060 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3063         * BufferView.C (fitLockedInsetCursor): remove
3064         * cursor.[Ch] (getDim): add
3065         * text.C (getRowNearY): add faster version
3066         * text3.C: remove some update calls
3067
3068 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3069
3070         * LaTeXFeatures.C:
3071         * LyXAction.C:
3072         * MenuBackend.C:
3073         * MenuBackend.h:
3074         * dispatchresult.h:
3075         * factory.C:
3076         * lfuns.h:
3077         * lyxfunc.C:
3078         * lyxtextclass.C:
3079         * lyxtextclass.h:
3080         * text3.C: The Character Style /XML short element patch.
3081
3082 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3083
3084         * text3.C:
3085         * factory.C: Small step to solving 'unable to insert some insets'
3086         problem
3087
3088 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * cursor.[Ch] (updatePos): new function for updating the y
3091         position of the tip inset
3092         * bufferview_funcs.C (put_selection_at):
3093         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3094
3095 2003-11-11  André Pönitz  <poenitz@gmx.net>
3096
3097         * text.C: remove big comment on invalid Paragraph pointers as it is
3098         not valid anymore
3099
3100 2003-11-11  André Pönitz  <poenitz@gmx.net>
3101
3102         * text_funcs.[Ch]: merge with ...
3103
3104         * text.C: ... this
3105
3106         * lyxtext.h:
3107         * text2.C:
3108         * text3.C: adjust
3109
3110         * Makefile.am: remove text_funcs.[Ch]
3111
3112 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * cursor.C (getPos): return absolute cached y coord
3115
3116         * BufferView_pimpl.C (fitCursor): new simplistic code
3117         (workAreaDispatch): add a fitCursor call
3118
3119 2003-11-10  André Pönitz  <poenitz@gmx.net>
3120
3121         * BufferView.[Ch]:
3122         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3123
3124 2003-11-10  André Pönitz  <poenitz@gmx.net>
3125
3126         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3127         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3128         indicate that the cursor needs to leave an inset
3129
3130         * lyxtext.h: remove inset locking
3131
3132         * cursor.[Ch]: re-implement functionality provided by inset locking
3133
3134         * BufferView.[Ch]:
3135         * BufferView_pimpl.[Ch]:
3136         * LyXAction.C:
3137         * bufferview_funcs.[Ch]:
3138         * factory.C:
3139         * funcrequest.[Ch]:
3140         * iterators.C:
3141         * lyx_cb.C:
3142         * lyxfind.C:
3143         * lyxfunc.C:
3144         * text.C:
3145         * text2.C:
3146         * text3.C:
3147         * undo.C: adjust
3148
3149 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3150
3151         * PosIterator.[Ch]: replace the stack with a vector, add inset
3152         accesor
3153         * iterators.[C]: adjust
3154
3155 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3158         replaced
3159         * paragraph_funcs.C (readParToken): put the correct id in the
3160         error item, not the id of the top paragraph
3161
3162 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3165         * bufferview_funcs.C (put_selection_at): use the above
3166
3167 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3170
3171 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3172
3173         * output_linuxdoc.h:
3174         * output_plaintext.h:
3175         * output.h:
3176         * output_docbook.h: add #include statements
3177
3178 2003-11-05  José Matos  <jamatos@lyx.org>
3179
3180         * output_docbook.[Ch]:
3181         * output_latex.[Ch]:
3182         * output_linuxdoc.[Ch]:
3183         * output_plaintext.[Ch]: New files for output formats.
3184         * output.[Ch]: New file for helper functions.
3185
3186         * buffer.[Ch]:
3187         * paragraph_funcs.[Ch]: output functions moved to new files.
3188
3189         * outputparams.h: rename of latexrunparams.h
3190
3191         * LaTeX.[Ch]:
3192         * buffer.[Ch]:
3193         * bufferlist.[Ch]:
3194         * converter.[Ch]:
3195         * exporter.C:
3196         * paragraph.[Ch]:
3197         * paragraph_funcs.[Ch]:
3198         * paragraph_pimpl.[Ch]:
3199         * tabular.[Ch]: rename ascii to plaintext
3200         and LatexRunParams to OutputParams.
3201
3202 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * iterators.[Ch] (text): require bv argument
3205         * undo.C (recordUndo):
3206         * lyxfunc.C (dispatch):
3207         * bufferview_funcs.C (put_selection_at): adjust
3208
3209 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3210
3211         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3212
3213 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3216         nestings
3217
3218 2003-11-04  André Pönitz  <poenitz@gmx.net>
3219
3220         * cursor.[Ch]: restructure
3221
3222         * BufferView.[Ch]:
3223         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3224
3225         * iterators.[Ch] (asCursor): remove
3226
3227         * lfuns.h: remove LFUN_INSET_EDIT
3228
3229         * lyxfunc.C:
3230         * tabular.C:
3231         * text.C:
3232         * text2.C:
3233         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3234
3235 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * lyxfind.[Ch]: complete overhaul
3238         * BufferView_pimpl.C:
3239         * lyxfunc.C: adjust
3240         * paragraph.[Ch] (insert): add
3241
3242 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * BufferView.[Ch]:
3245         * lyxtext.h:
3246         * text.C: remove dead spellcheck code
3247
3248 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3249
3250         * dispatchresult.h: add a val setter
3251
3252         * cursor.C (dispatch): use a tempvar for data_[i]
3253
3254 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * PosIterator.[Ch]: compile fix
3257
3258 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3259
3260         * text.C (cursorPar): deactivate the cursor cache
3261
3262 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3263
3264         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3265
3266 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * text3.C (dispatch): adjust for new DisptchResult semantics.
3269
3270         * lyxfunc.C (dispatch): handle update when return from
3271         Cursor::dispatch, adjust for new DispatchResult semantics.
3272
3273         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3274         DispatchResult(true) mean to not update. Add class functions for
3275         setting dispatched and update, as well as reading.
3276
3277         * cursor.C (dispatch): don't handle update here
3278
3279 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3282         * trans_mgr.C: adjust
3283
3284         * paragraph_funcs.C (readParToken): exception safety
3285
3286         * lyxvc.h: store the vcs pointer in a scoped_ptr
3287         * lyxvc.C: adjust
3288
3289         * lyxsocket.C (serverCallback): exception safety
3290
3291         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3292
3293         * ispell.C (clone): make it return a auto_ptr
3294
3295         * factory.C (createInset): exception safety
3296         (readInset): exception safety
3297
3298         * bufferlist.C (newBuffer): exception safety
3299
3300         * Thesaurus.C (Thesaurus): use initialization for aik_
3301
3302         * MenuBackend.C (expandToc): exception safety.
3303
3304 2003-11-03  André Pönitz  <poenitz@gmx.net>
3305
3306         * buffer.C:
3307         * buffer.h:
3308         * bufferview_funcs.C: remove getInsetFromId()
3309
3310         * lyxcursor.[Ch]:
3311         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3312
3313         * lyxfunc.C:
3314         * text2.C:
3315         * text3.C: adjust
3316
3317 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3318
3319         * PosIterator.C (distance, advance): new
3320         * bufferview_funcs.[Ch] (put_selection_at): new
3321         * iterators.[Ch] (lockPath): new
3322
3323 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3324
3325         * iterators.[Ch] (asPosIterator): added
3326         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3327         * PosIterator.[Ch]: added
3328
3329 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * text3.C:
3332         * lyxfunc.C:
3333         * cursor.C (dispatch):
3334         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3335
3336         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3337         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3338         contructor, add a class function dispatched. Remove operator>=
3339
3340 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * debug.C: only use the default constructor for debugstream
3343         (lyxerr) here.
3344
3345         * main.C (main): include debug.h and setup the lyxerr streambuf
3346         here.
3347
3348 2003-10-31  José Matos  <jamatos@lyx.org>
3349
3350         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3351
3352         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3353         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3354         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3355         * paragraph_pimpl.C (simpleTeXSpecialC):
3356         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3357         add LatexRunParams argument.
3358
3359         * exporter.C (Export): change call accordingly.
3360
3361         * latexrunparams.h: add new member to take care of the other backends.
3362 2003-10-30  José Matos  <jamatos@lyx.org>
3363
3364         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3365         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3366         factorise code for paragraph output.
3367         * buffer.[Ch]:
3368         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3369         move functions.
3370
3371 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * text3.C (dispatch):
3374         * lyxfunc.C (dispatch):
3375         * cursor.C (dispatch):
3376         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3377
3378         * dispatchresult.h: make the dispatch_result_t ctor explicit
3379
3380 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3381
3382         * sgml.[Ch]:
3383         * buffer.C: small refactoring of docbook stuff
3384
3385 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3388         meaning.
3389
3390 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3393         operator dispatch_result_t, and operators for == != and >=
3394
3395         * cursor.C (dispatch): adjust for operator dispatch_result_t
3396         removal. comment out call to update
3397
3398         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3399
3400 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * text3.C:
3403         * text2.C:
3404         * text.C:
3405         * lyxtext.h:
3406         * lyxfunc.C:
3407         * cursor.C:
3408         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3409         (dispatch):
3410
3411         * dispatchresult.h: new file, DispatchResult broken out of
3412         insets/insetbase.h
3413
3414         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3415
3416 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3417
3418         * text.C (rowBreakPoint): put a hack inside #if 0
3419
3420 2003-10-28  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxtext.h:
3423         * metricsinfo.C:
3424         * paragraph_funcs.C:
3425         * rowpainter.C:
3426         * text.C:
3427         * text2.C: general cleanup (lots of small stuff)
3428
3429 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * text2.C (cursorEnd): simple fix to the "end key goes to one
3432         before the end on last row" bug
3433
3434 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * text.C (backspace): fix the "zombie characters"
3437
3438 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3439
3440         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3441
3442 2003-10-27  André Pönitz  <poenitz@gmx.net>
3443
3444         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3445
3446         * factory.C: handle new InsetPagebreak, InsetLine
3447
3448         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3449         and move handling into new InsetPagebreak, InsetLine
3450
3451         * BufferView_pimpl.C:
3452         * LyXAction.C:
3453         * ParagraphParameters.C:
3454         * ParameterStruct.h:
3455         * lyxfunc.C:
3456         * lyxtext.h:
3457         * paragraph.C:
3458         * paragraph.h:
3459         * paragraph_funcs.C:
3460         * paragraph_pimpl.C:
3461         * rowpainter.C:
3462         * text.C:
3463         * text2.C:
3464         * text3.C: adjust
3465
3466 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * text.C:
3469         * lyxrow_funcs.[Ch]:
3470         * Bidi.C:
3471         * paragraph.C:
3472         * lyxtext.h:
3473         * rowpainter.C:
3474         * text2.C:
3475         * text3.C: remove lastPos uses in favour of Row::endpos
3476
3477 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * undo.C (performUndoOrRedo): fix two crashes by setting a
3480         cursor by hand and reordering some calls. Use bv->lockInset instead
3481         of inset->edit because the latter loses cursor information
3482
3483 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3486         by Martin
3487         (rowBreakPoint): fix width. change point to point + 1.
3488         Add a missing check.
3489
3490 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3491
3492         * MenuBackend.C:
3493         * lyxfunc.C: fix (at least partly) the problems
3494         with the Nav menu and headers inside branch insets
3495         reported by Kayvan
3496
3497 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3498
3499         * paragraph.C (getChar): add strong asserts
3500
3501         * lyxrow_funcs.C (lastPos): remove hideous hack
3502
3503         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3504         (fill): adjust to that (avoid an infinite loop)
3505
3506 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3507
3508         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3509
3510 2003-10-23  André Pönitz  <poenitz@gmx.net>
3511
3512         * RowList_fwd.h: change list<> to vector<> to gain speed
3513         after suggestion from Alfredo
3514
3515 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * lyxtext.h: move the bidi stuff from here...
3518         * text.C: and here
3519         * text2.C: and here
3520         * Bidi.[Ch]: ... to here
3521
3522 2003-10-23  André Pönitz  <poenitz@gmx.net>
3523
3524         * lyxtext.h:
3525         * text.C (isLastRow, isFirstRow): new functions
3526
3527         * paragraph.h: new width cache member
3528
3529         * rowpainter.C: replace RowList::iterator with Row & where possible
3530
3531         * lyxfunc.C: replace several view()->text with a single call
3532
3533         * toc.C: fix 'unused' warning
3534
3535 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3536
3537         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3538         when woring with stream::pos_type
3539         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3540
3541 2003-10-22  André Pönitz  <poenitz@gmx.net>
3542
3543         * lyxtext.h:
3544         * text.C: use Row & instead of RowList::iterator
3545
3546         * lyxrow.h: rename end() to endpos()
3547
3548         * rowpainter.C:
3549         * text.C:
3550         * text2.C: adjust
3551
3552 2003-10-22  Angus Leeming  <leeming@lyx.org>
3553
3554         * buffer.[Ch] (fully_loaded): new member function, returning true
3555         only when the file has been loaded fully.
3556         Used to prevent the premature generation of previews and by the
3557         citation inset to prevent computation of the natbib-style label.
3558
3559         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3560         templates are all set up.
3561
3562         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3563
3564 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3565
3566         * text.C: fixed an "oops" in the "is a bit silly"
3567         bug fix
3568
3569 2003-10-21  André Pönitz  <poenitz@gmx.net>
3570
3571         * FuncStatus.[Ch]: small stuff, whitespace
3572
3573         * lyxfont.[Ch]: operator<<() for debug reasons
3574
3575         * lyxfunc.C:
3576         * lyxrow_funcs.C:
3577         * lyxtext.h: whitespace, spelling
3578
3579         * paragraph.C: naming of variables
3580
3581         * text.C:
3582         * text2.C: small stuff
3583
3584
3585 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * text.C: (1) finish off the inset display() work;
3588         (2) fix the "is a bit silly" bug (accessing char
3589         past end of par).
3590
3591 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3592
3593         * text.C: re-introduce display() for insets, fixing the
3594         various bugs (stretch of line above, math inset
3595         positioning, ...)
3596
3597 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3598
3599         * text.C (rightMargin): remove spurious semicolon
3600
3601         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3602         1415)
3603
3604 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3605
3606         * text3.C: fix one crash due to wrong cursor def
3607
3608 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * vc-backend.C (scanMaster): make the regex static
3611
3612         * LaTeX.C (scanAuxFile): make the regexs static
3613
3614         * text3.C (doInsertInset, dispatch, dispatch):
3615         * text2.C (cursorUp, cursorDown):
3616         * text.C (selectNextWordToSpellcheck):
3617         * BufferView_pimpl.C (dispatch):
3618         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3619
3620 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3621
3622         * lyxsocket.C: include <cerrno>
3623
3624 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * lyxfunc.C (dispatch): remove textcache stuff
3627
3628         * bufferlist.C (release): remove textcache stuff
3629         (closeAll): ditto
3630
3631         * TextCache.C: delete file
3632         * TextCache.h: delete file
3633
3634         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3635
3636         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3637         delete of the bv_->text.
3638         (resizeCurrentBuffer): remove texcache stuff
3639         (workAreaResize): ditto
3640
3641 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3644         action.
3645
3646 2003-10-16  André Pönitz  <poenitz@gmx.net>
3647
3648         * lyxrow.[Ch]:
3649         * paragraph.h:
3650         * rowpainter.C:
3651         * text.C:
3652         * text2.C:
3653         * text3.C: speed up by storing y positions per paragraph plus per-row
3654         offset instead of having a 'full' y position in the row.
3655
3656 2003-10-15  André Pönitz  <poenitz@gmx.net>
3657
3658         * iterators.[Ch]:
3659         * iterators.[Ch]:
3660         * undo.[Ch]: make undo aware of inner insets
3661
3662 2003-10-14  Angus Leeming  <leeming@lyx.org>
3663
3664         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3665         static member functions LyX::ref() and LyX::cref.
3666         (lastfiles): new accessor functions for the new lastfiles_ member var.
3667         (addLyXView, views_): add a new LyXView to the list of views_.
3668         (updateInset): loop over all LyXViews to call their own updateInset
3669         member function, returning a pointer to the Buffer owning the inset.
3670
3671         * BufferView_pimpl.C (loadLyXFile):
3672         * MenuBackend.C (expandLastfiles):
3673         * bufferlist.C (MenuWrite, QuitLyX):
3674         lastfiles is no longer a global variable.
3675         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3676
3677         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3678         static function. Access through LyX::cref().emergencyCleanup().
3679
3680 2003-10-14  André Pönitz  <poenitz@gmx.net>
3681
3682         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3683
3684         * undo.[Ch]: restoring part of 'undo in insets'
3685
3686         * Makefile.am:
3687         * undo_funcs.[Ch]: merge with undo.[Ch]
3688
3689         * tabular.C: small cleansing stuff
3690
3691 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * paragraph_funcs.C (readParToken): report unknown insets as error
3694         boxes. Use the outer paragraph as location (also for unknown
3695         tokens).
3696
3697         * factory.C (readInset): do not abort on reading an unknown inset.
3698         Eat it and return 0.
3699
3700 2003-10-13  Angus Leeming  <leeming@lyx.org>
3701
3702         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3703
3704         * lyxrc.C: displayTranslator is now a function,
3705         declared in GraphicsTypes.h.
3706
3707 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3708
3709         * format.C: new placeholder $$a to pass the socket address.
3710
3711         * bufferlist.[Ch]: new function getBufferFromTmp.
3712
3713         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3714           files in the temporary dir.
3715
3716 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3717
3718         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3719
3720         * Makefile.am: add lyxsocket.[Ch].
3721
3722         * lyx_main.C (error_handler): handle SIGPIPE.
3723
3724 2003-10-13  André Pönitz  <poenitz@gmx.net>
3725
3726         * BufferView_pimpl.C:
3727         * lyxtext.h:
3728         * text.C:
3729         * text2.C:
3730         * text3.C:
3731         * undo_funcs.[Ch]: use paroffset_type instead of
3732           ParagraphList::iterators to prevent multiple conversion
3733           (and get a more robust interface)
3734
3735 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3738         * lyxtext.h: ditto
3739         * text3.C (dispatch): ditto
3740
3741 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3744         move the onlyfile, use onlyfile instead of foundfile in a couple
3745         of places.
3746
3747         * DepTable.C (update): flush the error stream a bit more
3748
3749 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * lyxserver.C (callback): adjust
3752
3753         * lyxfunc.C (getStatus): add a missing brace in commented code
3754         (ensureBufferClean): reindent
3755         (dispatch): delete version taking a string
3756
3757 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * LaTeX.C (deplog): move found file handlig from here...
3760         (handleFoundFile): .. to new function here.
3761         (deplog): make sure to discover several files mentioned on the
3762         same log line.
3763
3764 2003-10-10  André Pönitz  <poenitz@gmx.net>
3765
3766         * lyxfunc.C:
3767         * lyxtext.h:
3768         * tabular.C:
3769         * text.C:
3770         * text2.C:
3771         * text3.C: fix some of the tabular crashes
3772
3773 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3774
3775         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3776
3777         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3778
3779 2003-10-09  André Pönitz  <poenitz@gmx.net>
3780
3781         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3782
3783         * BufferView.C:
3784         * BufferView_pimpl.C:
3785         * bufferview_funcs.C:
3786         * lyx_cb.C:
3787         * lyxcursor.C:
3788         * lyxfind.C:
3789         * lyxfunc.C:
3790         * lyxtext.h:
3791         * text.C:
3792         * text2.C:
3793         * text3.C:
3794         * text_funcs.[Ch]:
3795         * textcursor.[Ch]:
3796         * undo_funcs.C: adjust
3797
3798 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * text2.C (incrementItemDepth): new function, use a backtracking
3801         algorithm to discover the correct item depth.
3802         (resetEnumCounterIfNeeded): new function, use a backtracking
3803         algorithm to discover if counter reset is needed.
3804         (setCounter): use them. Simplify a bit. Add different labels for
3805         different item depths for itemize.
3806
3807         * paragraph.C (Paragraph): remove initialization of enumdepth
3808         (operator=): ditto
3809
3810         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3811         enumerate and itemize. Change the type of itemdepth to signed char.
3812
3813 2003-10-08  André Pönitz  <poenitz@gmx.net>
3814
3815         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3816           thing assignable.
3817         * text.C:
3818         * text2.C: adjust
3819
3820         * tabular.[Ch]: fix crash after 'row-insert'
3821
3822 2003-10-08  Angus Leeming  <leeming@lyx.org>
3823
3824         Fix doxygen warnings.
3825
3826         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3827         Remove CutAndPaste:: prefix from header file declaration.
3828
3829         * LColor.h (fill): remove LColor:: prefix from declaration.
3830
3831         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3832         use lyx::depth_type rather than Paragraph::depth_type so that
3833         header file and .C file match.
3834
3835         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3836
3837         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3838         * aspell.C: \file aspell_local.C -> \file aspell.C
3839         * gettext.C: \file gettext.C -> \file src/gettext.C
3840         * gettext.h: \file gettext.h -> \file src/gettext.h
3841         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3842         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3843         * text.C: \file text.C -> \file src/text.C
3844
3845         * toc.C: move comment so that doxygen is not confused.
3846
3847 2003-10-07  Angus Leeming  <leeming@lyx.org>
3848
3849         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3850
3851 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3852
3853         * aspell.C:
3854         * aspell_local.h: add forgotten std::string's.
3855
3856 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3857
3858         * LaTeXFeatures.C:
3859         * LyXAction.C:
3860         * factory.C:
3861         * lfuns.h:
3862         * lyxfunc.C:
3863         * text3.C: The Box patch. Fancybox support, minipage, parbox
3864
3865 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3866
3867         * CutAndPaste.h:
3868         * DepTable.h:
3869         * FloatList.h:
3870         * LaTeXFeatures.h:
3871         * ParagraphParameters.h:
3872         * TextCache.h:
3873         * Thesaurus.h:
3874         * bufferlist.h:
3875         * exporter.h:
3876         * importer.h:
3877         * lastfiles.h:
3878         * lyxfind.h:
3879         * lyxfont.h:
3880         * lyxlex.h:
3881         * lyxtextclasslist.h:
3882         * messages.h:
3883         * paragraph.h:
3884         * paragraph_pimpl.C:
3885         * textcursor.h: add <string> and other small fixes to make Lars'
3886         std::string patch compile with STLport.
3887
3888 2003-10-06  Angus Leeming  <leeming@lyx.org>
3889
3890         * LColor.h: Add missing #include <string>.
3891
3892 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * All most all file in all subdirs: Make <string> be the prefered
3895         way of getting to std::string, add using declarations.
3896
3897 2003-10-06  André Pönitz  <poenitz@gmx.net>
3898
3899         * metricsinfo.C: initialize LyXFont before changing attribute.
3900         (fixes the 'math in \emph is upright' bug)
3901
3902 2003-10-06  André Pönitz  <poenitz@gmx.net>
3903
3904         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3905
3906 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * graph.C:
3909         * paragraph_pimpl.C: Small fixes to build using STLport
3910
3911 2003-10-02  André Pönitz  <poenitz@gmx.net>
3912
3913         * lyxfunc.C:
3914         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3915
3916 2003-10-01  André Pönitz  <poenitz@gmx.net>
3917
3918         * factory.C: assert early
3919
3920 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * lyx_main.C: remove the global debug object
3923
3924         * debug.h: adjust for new debugstream
3925
3926         * debug.C: adjust for new debugstream and keep the global debug
3927         object here.
3928
3929 2003-09-22  Angus Leeming  <leeming@lyx.org>
3930
3931         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3932         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3933         an incomplete class LyXFont.
3934
3935 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3936
3937         * factory.C: bug fix in branches
3938
3939 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * lyxfunc.C (processKeySym): adjust
3942         (dispatch): adjust
3943         (dispatch): change arg name from ev to func, adjust
3944         (sendDispatchMessage): ditto
3945
3946         * lyx_main.C (defaultKeyBindings): adjust keybindings
3947         (deadKeyBindings): ditto
3948
3949         * kbsequence.C (addkey): return a FuncRequest
3950
3951         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3952
3953         * kbmap.C (bind): take a FuncRequest as arg, adjust
3954         (read): adjust
3955         (lookup): adjust
3956         (defkey): change to take a FuncRequest as arg, adjust
3957         (findbinding): take a FuncRequest as arg, adjust.
3958
3959         * funcrequest.h (operator=): added
3960
3961         * funcrequest.C (FuncRequest): default kb_action changed from
3962         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3963
3964         * buffer.C (dispatch): simplify
3965         (dispatch): adjust to take a FuncRequest as arg, adjust
3966
3967         * boost.C (assertion_failed): change assertion message slightly
3968
3969         * ToolbarBackend.C (read): simplify
3970
3971         * MenuBackend.C (binding): adjust call to findbinding, add a
3972         message if no binding is found.
3973         (read): simplify
3974         (expandToc): correct by adding a empty FuncRequest
3975
3976         * LyXAction.C: include <boost/assert.hpp>
3977         (isPseudoAction): delete function
3978         (LookupFunc): change name to...
3979         (lookupFunc): this. change return type to FuncRequest.
3980         (getActionName): take kb_action as arg, simplify
3981         (funcHasFlag): add an assert, simplify.
3982
3983 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * toc.C (action): return a FuncRequest, simplify
3986
3987         * lyxfunc.C (processKeySym): adjust
3988         (getStatus): delete version that takes an int.
3989         (getStatus): adjust
3990         (dispatch): delete version that takes action as int
3991         (dispatch): adjust
3992         (sendDispatchMessage): simplify and adjust
3993
3994         * funcrequest.C (getArg): take unsigned int as arg
3995
3996         * ToolbarBackend.C (read): adjust
3997         (add): delete version that takes func as a string.
3998         (getIton): take a FuncRequest as arg
3999
4000         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4001         action.
4002
4003         * MenuBackend.C (MenuItem): add a new construct that only takes a
4004         Kind, simplify the constructor use for submenus.
4005         (add): adjust
4006         (expandLastfiles): adjust
4007         (expandDocuments): adjust
4008         (expandFormats): adjust
4009         (expandFloatListInsert): adjust
4010         (expandFloatInsert): adjust
4011         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4012
4013         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4014         Remove class variables lyx_pseudo_map and lyx_arg_map
4015
4016         * LyXAction.C (searchActionArg): delete function
4017         (getPseudoAction): delete function
4018         (retrieveActionArg): delete function
4019         (LookupFunc): make it return kb_action, simplify.
4020         (getActionName): simplify
4021
4022         * factory.C (createInset): fix new bug
4023
4024 2003-09-19  Angus Leeming  <leeming@lyx.org>
4025
4026         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4027         masterFilename_ parameter in the include inset.
4028
4029         * factory.C (createInset): changes due to the changes to InsetInclude.
4030
4031 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4032
4033         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4034
4035 2003-09-18  Angus Leeming  <leeming@lyx.org>
4036
4037         * buffer.C:
4038         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4039         Inset::fillWithBibKeys.
4040         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4041
4042 2003-09-18  Angus Leeming  <leeming@lyx.org>
4043
4044         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4045         variables.
4046         (ctor): pass and store a 'Buffer const &'
4047         (buffer): new member function.
4048
4049         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4050         '*this' to the LaTeXFeatures ctor.
4051
4052 2003-09-18  Angus Leeming  <leeming@lyx.org>
4053
4054         * LColor.h:
4055         * lyxfont.C:
4056         * lyxfont.h:
4057         * lyxtext.h:
4058         * text.C: rename EnumLColor as LColor_color.
4059
4060 2003-09-18  Angus Leeming  <leeming@lyx.org>
4061
4062         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4063         remove #include "insets/insetbase.h" from cursor.h.
4064
4065 2003-09-18  Angus Leeming  <leeming@lyx.org>
4066
4067         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4068         InsetOld_code to remove #include "inset.h".
4069
4070         * iterators.C: add #include "insets/inset.h"
4071
4072 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4073
4074         * BufferView.C: remove more locking stuff that apparently doesn't
4075         do anything sensible.
4076
4077 2003-09-16  André Pönitz  <poenitz@gmx.net>
4078
4079         * paragraph.[Ch]:
4080         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4081           performance boost.
4082
4083 2003-09-16  Angus Leeming  <leeming@lyx.org>
4084
4085         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4086
4087         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4088         arg/return type.
4089
4090         * paragraph.h: remove #include "lyxfont.h". Forward declare
4091         LyXFont_size.
4092
4093 2003-09-16  Angus Leeming  <leeming@lyx.org>
4094
4095         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4096         of support/textutils.h.
4097         (isWord): move the contents of support/textutils.h's IsWordChar here.
4098
4099         * buffer.C:
4100         * lyxfind.C:
4101         * rowpainter.C:
4102         * text.C:
4103         * text2.C: add #include "paragraph.h".
4104
4105         * rowpainter.C:
4106         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4107
4108 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * main.C:
4111         * lyx_main.C:
4112         * lyx_cb.C:
4113         * buffer.C:
4114         * LaTeX.C: use namespace alias for lyx::support::os
4115
4116 2003-09-16  Angus Leeming  <leeming@lyx.org>
4117
4118         * bufferparams.C:
4119         * bufferview_funcs.C:
4120         * factory.C:
4121         * lyxfunc.C:
4122         * paragraph_pimpl.C:
4123         * rowpainter.C:
4124         * text.C: add #include "LColor.h".
4125
4126 2003-09-16  Angus Leeming  <leeming@lyx.org>
4127
4128         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4129         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4130         return LyXFont &.
4131         Store the FontBits::color variable as an int rather than as an
4132         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4133         file.
4134
4135         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4136         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4137         string calls together.
4138
4139         * lyxrc.C: add #include "LColor.h".
4140
4141 2003-09-15  Angus Leeming  <leeming@lyx.org>
4142
4143         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4144         a cow_ptr.
4145
4146 2003-09-15  Angus Leeming  <leeming@lyx.org>
4147
4148         * LColor.h: add an EnumLColor wrapper for LColor::color.
4149
4150         * lyxfont.[Ch] (color, setColor, realColor):
4151         * lyxtext.h, text.C (backgroundColor):
4152         pass EnumLColor args to/from the functions, rather than LColor::color
4153         ones.
4154
4155         * lyxfont.h:
4156         * lyxtext.h: forward declare EnumLColor.
4157
4158         * lyx_main.C: add #include "LColor.h".
4159
4160 2003-09-15  Angus Leeming  <leeming@lyx.org>
4161
4162         * .cvsignore: add lyx-gtk.
4163
4164 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * Chktex.C
4167         * LaTeX.C
4168         * LaTeXFeatures.C
4169         * ParagraphParameters.C
4170         * Spacing.C
4171         * buffer.C
4172         * bufferparams.C
4173         * bufferview_funcs.C
4174         * chset.C
4175         * counters.C
4176         * funcrequest.C
4177         * lyxfont.C
4178         * lyxgluelength.C
4179         * lyxlength.C
4180         * paragraph.C
4181         * paragraph_funcs.C
4182         * text3.C
4183         * vc-backend.C: remove usage of STRCONV
4184
4185 2003-09-15  Angus Leeming  <leeming@lyx.org>
4186
4187         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4188         explicitly define the color passed to the painter.
4189
4190 2003-09-15  Angus Leeming  <leeming@lyx.org>
4191
4192         * bufferparams.C (BufferParams): reorder member initializers to avoid
4193         compiler warning.
4194
4195 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4198         * text.C (updateRowPositions): remove an unusual nop
4199
4200 2003-09-12  André Pönitz  <poenitz@gmx.net>
4201
4202         * BufferView_pimpl.C:
4203         * Bullet.C:
4204         * layout.h:
4205         * lyxfunc.C:
4206         * lyxlayout.[Ch]:
4207         * lyxtextclass.C:
4208         * rowpainter.C:
4209         * text.C:
4210         * text2.C:
4211         * Counters.[Ch]: finish the 'automatic counters' job
4212
4213 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4214
4215         * aspell.C: include <boost/assert.cpp> (compile fix)
4216
4217 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4218
4219         * boost.C (assertion_failed): use lyx::support::abort instead of
4220         assert.
4221
4222 2003-09-10  Angus Leeming  <leeming@lyx.org>
4223
4224         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4225         with their _fwd progeny.
4226
4227 2003-09-09  Angus Leeming  <leeming@lyx.org>
4228
4229         134 files throughtout the source tree: replace 'using namespace abc;'
4230         directives with the appropriate 'using abc::xyz;' declarations.
4231
4232 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4233
4234         * boost.C (emergencyCleanup): moved here from LAssert.c
4235         (assertion_failed): new function, called by BOOST_ASSERT
4236
4237         * several files: change Assert to BOOST_ASSERT
4238
4239 2003-09-09  Angus Leeming  <leeming@lyx.org>
4240
4241         * buffer.[Ch]: Add an Impl class and move Buffer's member
4242         variables into it. As a result move several header files out of
4243         buffer.h.
4244
4245         Add header files to lots of .C files all over the tree as a result.
4246
4247 2003-09-09  Angus Leeming  <leeming@lyx.org>
4248
4249         * buffer.[Ch]: make Buffer's member variables private. Add
4250         accessor functions.
4251
4252         Lots of changes all over the tree as a result.
4253
4254 2003-09-08  Angus Leeming  <leeming@lyx.org>
4255
4256         * graph.C: #include <config.h>.
4257
4258 2003-09-08  Angus Leeming  <leeming@lyx.org>
4259
4260         * BranchList.C:
4261         * BufferView.C:
4262         * BufferView_pimpl.C:
4263         * CutAndPaste.C:
4264         * DepTable.C:
4265         * LaTeX.C:
4266         * LaTeXFeatures.C:
4267         * LyXAction.C:
4268         * MenuBackend.C:
4269         * TextCache.C:
4270         * aspell.C:
4271         * buffer.C:
4272         * bufferlist.C:
4273         * changes.C:
4274         * chset.C:
4275         * converter.C:
4276         * counters.C:
4277         * debug.C:
4278         * graph.C:
4279         * ispell.C:
4280         * lyx_cb.C:
4281         * lyxfind.C:
4282         * lyxfunc.C:
4283         * lyxlex_pimpl.C:
4284         * lyxrc.C:
4285         * lyxrow.C:
4286         * paragraph.C:
4287         * rowpainter.C:
4288         * texrow.C:
4289         * text.C:
4290         * text2.C:
4291         * toc.C: remove redundant using directives.
4292
4293 2003-09-07  Angus Leeming  <leeming@lyx.org>
4294
4295         * LaTeXFeatures.h: remove #include "support/types.h".
4296         * ToolbarBackend.h: remove #include <algorithm>.
4297         * changes.h: remove #include <ctime>.
4298         * debug.h: remove #include <iosfwd>.
4299         * graph.h: remove #include "support/std_string.h".
4300         * lyx_main.h: remove #include <csignal>.
4301         * lyxlex_pimpl.h: remove #include <fstream>.
4302         * sgml.h: remove #include <algorithm>, <utility>.
4303         * toc.h: remove #include "support/std_ostream.h".
4304         Add #include <iosfwd>.
4305
4306 2003-09-07  Angus Leeming  <leeming@lyx.org>
4307
4308         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4309
4310         * converter.h: forward declare LatexRunParams.
4311         * encoding.h: remove #include "lyxrc.h".
4312         * lyxtext.h: remove #include "LColor.h".
4313         * lyxtextclass.h: remove #include "support/types.h".
4314         * trans.h: remove #include "tex-accent.h".
4315         * trans_mgr.h: remove #include "tex-accent.h".
4316         * insets/inset.h: remove #include "support/types.h", <vector>.
4317         * insets/insetcollapsable.h: remove #include "LColor.h".
4318         * insets/insetinclude.h: remove #include "dimension.h".
4319         * insets/insetlatexaccent.h: remove #include "dimension.h".
4320         * insets/insetoptarg.h:: remove #include "insettext.h".
4321         * insets/insettext.h: remove #include "dimension.h",
4322         <boost/shared_ptr.hpp>
4323
4324         * insets/renderers.h: add #include "dimension.h".
4325         * insets/updatableinset.h: add #include "support/types.h".
4326
4327         * many .C files: Associated changes.
4328
4329 2003-09-06  Angus Leeming  <leeming@lyx.org>
4330
4331         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4332         one, inside testInvariant.
4333
4334         * PrinterParams.C: new file.
4335         * PrinterParams.[Ch]: move the function bodies out of line.
4336
4337 2003-09-06  Angus Leeming  <leeming@lyx.org>
4338
4339         * ParagraphParameters.h: forward declare ParameterStruct rather than
4340         including its header file.
4341         (depth): moved out-of-line.
4342
4343 2003-09-06  Angus Leeming  <leeming@lyx.org>
4344
4345         * BufferView_pimpl.h:
4346         * kbmap.h:
4347         * kbsequence.h:
4348         * lyxfunc.h: forward declare LyXKeySym rather than
4349         #include "frontends/LyXKeySym.h".
4350
4351         * BufferView_pimpl.C:
4352         * kbmap.C:
4353         * kbsequence.C:
4354         * lyxfunc.C: associated changes.
4355
4356 2003-09-06  Angus Leeming  <leeming@lyx.org>
4357
4358         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4359         As a result, can remove the #include "insets/inset.h" from BufferView.h
4360
4361 2003-09-06  Angus Leeming  <leeming@lyx.org>
4362
4363         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4364         As a result, can remove the #include "insets/inset.h" from BufferView.h
4365
4366 2003-09-06  Angus Leeming  <leeming@lyx.org>
4367
4368         * buffer_funcs.C:
4369         * buffer.h:
4370         * bufferlist.C:
4371         * BufferView.C:
4372         * bufferview_funcs.C:
4373         * BufferView_pimpl.C:
4374         * CutAndPaste.C:
4375         * lyx_cb.C:
4376         * lyxfunc.C:
4377         * paragraph.h:
4378         * ParagraphParameters.C:
4379         * tabular.C:
4380         * text3.C:
4381         * toc.C:
4382         * undo_funcs.C:
4383         * frontends/controllers/ControlDocument.C:
4384         * insets/insetcaption.C: rearrange the #includes into some sort of
4385         coherent order.
4386
4387         * buffer.h: remove #includes ErrorList.h, undo.h
4388
4389 2003-09-06  Angus Leeming  <leeming@lyx.org>
4390
4391         * support/types.h: add a 'depth_type' typedef, used to store the
4392         nesting depth of a paragraph.
4393
4394         * paragraph.h:
4395         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4396         defining explicitly.
4397
4398         * buffer.h:
4399         * paragraph_funcs.h:
4400         * ParagraphParameters.h:
4401         * sgml.h: use lyx::depth_type rather than Paragraph or
4402         ParameterStruct's depth_type.
4403
4404         * buffer.h
4405         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4406
4407         * BufferView.C:
4408         * BufferView_pimpl.C:
4409         * CutAndPaste.C:
4410         * ParagraphParameters.C:
4411         * buffer_funcs.C:
4412         * bufferlist.C:
4413         * bufferview_funcs.C:
4414         * lyx_cb.C:
4415         * lyxfunc.C:
4416         * tabular.C:
4417         * text3.C:
4418         * toc.C:
4419         * undo_funcs.C:
4420         * frontends/LyXView.C:
4421         * frontends/controllers/ControlDocument.C:
4422         * frontends/controllers/ControlErrorList.C:
4423         * insets/insetbibitem.C:
4424         * insets/insetbranch.C:
4425         * insets/insetcaption.C:
4426         * insets/insetcollapsable.C:
4427         * insets/insetenv.C:
4428         * insets/insetert.C:
4429         * insets/insetfloat.C:
4430         * insets/insetfoot.C:
4431         * insets/insetfootlike.C:
4432         * insets/insetnewline.C:
4433         * insets/insetquotes.C:
4434         * insets/insettabular.C:
4435         * insets/insettext.C:
4436         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4437
4438         * frontends/controllers/ControlChanges.C: #include "changes.h".
4439
4440 2003-09-06  Angus Leeming  <leeming@lyx.org>
4441
4442         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4443         than #including paragraph.h.
4444
4445         * ParagraphList.h:
4446         * RowList.h: deleted. Superfluous.
4447
4448         * CutAndPaste.h:
4449         * iterators.h:
4450         * lyxcursor.h:
4451         * lyxtext.h:
4452         * text_funcs.h:
4453         * undo.h:
4454         * undo_funcs.h:
4455         * insets/inset.h:
4456         * insets/insettext.h: use ParagraphList_fwd.h rather than
4457         ParagraphList.h.
4458
4459         * paragraph.h: don't forward declare ParagraphList.
4460
4461         * buffer.h:
4462         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4463         rather than ParagraphList.h. paragraph.h is still needed for the
4464         Paragraph::depth_type parameters.
4465
4466         * textcursor.h: enable it to compile stand-alone in light of the
4467         above changes.
4468
4469         * bufferview_funcs.C:
4470         * iterators.C:
4471         * lyxfunc.C:
4472         * lyxrow_funcs.C:
4473         * paragraph.C:
4474         * rowpainter.C:
4475         * text.C:
4476         * text2.C:
4477         * text3.C:
4478         * text_funcs.C:
4479         * textcursor.C:
4480         * undo.C:
4481         * frontends/controllers/ControlParagraph.C:
4482         * frontends/controllers/ControlTabular.C:
4483         * insets/insetmarginal.C:
4484         * insets/insetminipage.C:
4485         * insets/insetnote.C:
4486         * insets/insetoptarg.C: add header files needed to compile again.
4487
4488 2003-09-06  Angus Leeming  <leeming@lyx.org>
4489
4490         * RowList_fwd.h: new file, forward-declaring Row rather than
4491         #including lyxrow.h.
4492
4493         * lyxrow_funcs.h:
4494         * lyxtext.h:
4495         * paragraph.h:
4496         * insets/insettext.h: use it instead of RowList.h
4497
4498         * bufferview_funcs.C:
4499         * lyxfunc.C:
4500         * lyxrow_funcs.C:
4501         * paragraph.C:
4502         * rowpainter.C:
4503         * text.C:
4504         * text2.C:
4505         * text3.C: #include "RowList.h".
4506
4507 2003-09-05  Angus Leeming  <leeming@lyx.org>
4508
4509         * factory.C (createInset):
4510         * vspace.C (c-tor): replace sscanf call with an istringstream.
4511         * ispell.C: re-add missing HP/UX headers.
4512         * lyxserver.C: re-add missing  os2 headers.
4513
4514 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4515
4516         * BranchList.C:
4517         * graph.C:
4518         * ispell.C:
4519         * lastfiles.C:
4520         * lyx_cb.C:
4521         * lyxserver.C:
4522         * texrow.C:
4523         * text3.C: re-add missing system headers, needed for 2.95.2.
4524
4525 2003-09-05  Angus Leeming  <leeming@lyx.org>
4526
4527         Changes most place everywhere due to the removal of using directives
4528         from support/std_sstream.h.
4529
4530 2003-09-05  Angus Leeming  <leeming@lyx.org>
4531
4532         Replace LString.h with support/std_string.h,
4533         Lsstream.h with support/std_sstream.h,
4534         support/LIstream.h with support/std_istream.h,
4535         support/LOstream.h with support/std_ostream.h.
4536
4537         Changes resulting throughout the tree.
4538
4539 2003-09-05  Angus Leeming  <leeming@lyx.org>
4540
4541         * sgml.h: ensure that the header file can be compiled stand-alone.
4542         * *.C: strip out redundant #includes. (320 in total.)
4543
4544 2003-09-04  Angus Leeming  <leeming@lyx.org>
4545
4546         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4547         here (from getPackages).
4548
4549         * debug.[Ch]: add a new EXTERNAL tag.
4550
4551 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4552
4553         * text2.C (cursorEnd): simplify
4554         (setCursor): adjust
4555         (getColumnNearX): adjust
4556
4557         * text.C (computeBidiTables): adjust
4558         (fill): adjust
4559
4560         * rowpainter.C (paintChars): adjust
4561         (paintSelection): adjust
4562         (paintChangeBar): adjust
4563         (paintText): adjust
4564
4565         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4566         lastPos instead.
4567         (numberOfSeparators): adjust
4568
4569 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4570
4571         * LyXAction.C:
4572         * box.[Ch]:
4573         * lfuns.h:
4574         * lyxfunc.C:
4575         * text3.C: Restricts the mouse click functionality
4576         of insets like bibtex, include, toc and floatlist to the visible
4577         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4578         up the dialogs. Cursor has to be in front of the inset (i.e.
4579         start of row) for this to function.
4580
4581 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4582
4583         * bufferview_funcs.C (currentState): output row information
4584
4585 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4586
4587         * bufferview_funcs.C (currentState): output paragraph position
4588
4589 2003-09-04  Angus Leeming  <leeming@lyx.org>
4590
4591         * FloatList.h: move out #include "Floating.h".
4592         * LaTeX.h: move out #include "DepTable.h".
4593         * LyXAction.h: move out #include "funcrequest.h".
4594         * buffer.h: move out #include "author.h", "iterators.h".
4595         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4596         * lyx_main.h: move out #include "errorlist.h".
4597         * lyxfunc.h: move out #include "FuncStatus.h".
4598         * lyxtext: move out #include "lyxcursor.h".
4599         * paragraph_pimpl.h: move out #include "counters.h".
4600
4601 2003-09-03  Angus Leeming  <leeming@lyx.org>
4602
4603         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4604         preamble_snippets list, enabling us to add snippets to the preamble
4605         only if the snippet was not there already.
4606
4607 2003-09-04  Angus Leeming  <leeming@lyx.org>
4608
4609         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4610
4611 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4614         update
4615
4616 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4617
4618         * BranchList.C: point fix, earlier forgotten
4619
4620 2003-09-02  Angus Leeming  <leeming@lyx.org>
4621
4622         * box.C (contains): renamed from 'contained' after a fantastic
4623         amount of hot air.
4624
4625 2003-09-02  John Levon  <levon@movementarian.org>
4626
4627         * BufferView.C:
4628         * lyxcursor.h:
4629         * lyxcursor.C:
4630         * lyxfunc.C:
4631         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4632
4633 2003-09-02  John Levon  <levon@movementarian.org>
4634
4635         * text2.C: simplification of cursorEnd(), including partial
4636         fix for bug 1376
4637
4638 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * buffer.C (readFile): add a space
4641
4642 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4645
4646 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * buffer.C (readFile): new function, take a filename and a
4649         ParagraphList::iterator
4650         (readFile): adjust
4651         (readFile): adjust, make it private. don't use setStream, make
4652         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4653         always contain the filename.
4654
4655         * BufferView.C (insertLyXFile): simplify and make it work for
4656         gzipped files.
4657
4658 2003-08-30  John Levon  <levon@movementarian.org>
4659
4660         * Makefile.am: fix dist (from Kayvan)
4661
4662 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * most files: change to use const Buffer refs
4665
4666 2003-08-27  André Pönitz  <poenitz@gmx.net>
4667
4668         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4669         on top of ownerPar().
4670
4671 2003-08-27  John Levon  <levon@movementarian.org>
4672
4673         * funcrequest.C: properly initialise POD members
4674
4675 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * lyxtext.h (top_y): move top_y from here
4678         * text.C:
4679         * text2.C:
4680         * text3.C:
4681         * BufferView.[Ch]:
4682         * BufferView_pimpl.[Ch]: to here
4683         * frontends/screen.C:
4684         * insets/insettabular.C:
4685         * insets/insettext.C: adjust
4686         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4687
4688 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * BufferView.[Ch]:
4691         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4692
4693 2003-08-26  André Pönitz  <poenitz@gmx.net>
4694
4695         * paragraph_func.[Ch] (outerPar): new function
4696
4697         * paragraph.C:
4698         * paragraph_funcs.C:
4699         * paragraph_funcs.h:
4700         * paragraph_pimpl.C:
4701         * text2.C: remove Inset::par_owner
4702
4703 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * lyxrow_funcs.C:
4706         * lyxtext.h:
4707         * text.C:
4708         * text2.C: eliminates the needFullRow/display() stuff
4709         altogether, putting the logic in metrics/draw in the insets.
4710
4711 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * text2.C (redoParagraphInternal, redoParagraphs):
4714         * text.C (redoParagraph): add a call to updateRowPositions at the
4715         end of each 'metrics-like' call. Remove all others.
4716         (getRow): remove the 'y-computing' version.
4717         (getRowNearY): do not compute nor return the real y. Solve the
4718         'y < 0' problem and simplify.
4719
4720 2003-08-22  Angus Leeming  <leeming@lyx.org>
4721
4722         * *.[Ch]: clean-up of licence and author blurbs.
4723         Also move config.h out of a few .h files and into a few .C files.
4724
4725 2003-08-22  André Pönitz  <poenitz@gmx.net>
4726
4727         * lyxrow.[Ch]: add x_ and *fill_ members
4728
4729         * lyxtext.h:
4730         * text.C:
4731         * rowpainter.C:
4732         * text2.C: adjust/remove prepareToPrint() calls
4733
4734 2003-08-22  André Pönitz  <poenitz@gmx.net>
4735
4736         * lyxrow.[Ch]: add  end_ member
4737
4738         * lyxrow_funcs.C: use LyXRow::end_
4739
4740         * lyxtext.h (singleWidth): add LyXFont parameter
4741
4742         * rowpainter.C:
4743         * text2.C: adjust LyXText::singleWidth() calls
4744
4745         * text.C (redoParagraph): simplify row breaking logic
4746
4747
4748 2003-08-19  André Pönitz  <poenitz@gmx.net>
4749
4750         * funcrequest.C: initialize button_ member
4751
4752         * text3.C:
4753         * rowpainter.[Ch]: interface consolidation
4754
4755 2003-08-18  André Pönitz  <poenitz@gmx.net>
4756
4757         * BufferView.C:
4758         * BufferView_pimpl.C:
4759         * lyxfind.C:
4760         * paragraph_funcs.C:
4761         * rowpainter.C:
4762         * text3.C: remove LyXScreen::draw() and fitCursor calls
4763
4764         * BranchList.h: remove spurious semicolons
4765
4766         * MenuBackend.C: fix branchlist related crash
4767
4768 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4769
4770         * BranchList.[Ch]:
4771         * InsetList.[Ch]:
4772         * LColor.[Ch]:
4773         * LyXAction.C:
4774         * Makefile.am:
4775         * MenuBackend.[Ch]:
4776         * bufferparams.[Ch]:
4777         * factory.C:
4778         * lfuns.h:
4779         * lyxfunc.C:
4780         * text3.C: implements the 'branch inset'
4781         idea. This allows the output of various versions of a document
4782         from a single source version, selectively outputing or suppressing
4783         output of parts of the text.
4784         This implementation contains a 'branch list editor' in a separate
4785         tab of the document settings dialog. Branches are user definable
4786         and have a "display colour" to distinguish them on-screen.
4787
4788         ColorHandler was somewhat cleaned up.
4789         (1) make possible a dynamically growing LColor list by allowing
4790         the graphic context cache to grow along (vector);
4791         (2) eliminate an IMHO unnecessary step in colour allocation.
4792
4793 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4794
4795         * BufferView_pimpl.C: compile fix
4796
4797 2003-08-15  André Pönitz  <poenitz@gmx.net>
4798
4799         * rowpainter.C: remove extra metrics calls
4800
4801         * lyxtext.h: merge the two constructors into a single one,
4802           pass reference to owner's par list
4803
4804         * BufferView_pimpl.C:
4805         * text.C:
4806         * text2.C: adjust
4807
4808 2003-08-15  André Pönitz  <poenitz@gmx.net>
4809
4810         * lyxrow_funcs.[Ch]:
4811         * lyxtext.h:
4812         * paragraph.h:
4813         * paragraph_funcs.C:
4814         * rowpainter.C:
4815         * text.C:
4816         * text2.C:
4817         * text3.C:
4818         * text_funcs.C: split LyXText::rowlist_ into individual
4819         Paragraph::rows_ chunks
4820
4821         * BufferView.[Ch]:
4822         * BufferView_pimpl.[Ch]:
4823         * lyxfind.C:
4824         * lyxtext.h:
4825         * text3.C: remove toggleSelection()
4826
4827 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4828
4829         * bufferlist.C: beautify two alerts (shorter text of buttons)
4830         * buffer.C: Remove redundant ' ' from message
4831         * tabular.h:
4832         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4833         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4834         rename VALIGN_CENTER to VALIGN_MIDDLE
4835
4836 2003-08-11  André Pönitz  <poenitz@gmx.net>
4837
4838         * lyxtext.h (getPar):
4839         * text.C: new function
4840
4841 2003-08-11  André Pönitz  <poenitz@gmx.net>
4842
4843         * Makefile.am:
4844         * tracer.[Ch]: remove unneeded files
4845
4846         * InsetList.[Ch]: remove resizeInsetsLyXText()
4847
4848         * lyxtext.h:
4849         * text.C:
4850         * text2.C:
4851         * text3.C: merge insertParagraphs() and appendParagraph()
4852         remove breakAgain(), update()
4853
4854         * BufferView_pimpl.[Ch]:
4855         * bufferview_funcs.[Ch]:
4856         * lyxfunc.C:
4857         * paragraph.[Ch]:
4858         * rowpainter.C:
4859         * tabular.C: adjust after text & InsetList changes.
4860
4861 2003-08-08  André Pönitz  <poenitz@gmx.net>
4862
4863         * text.C (insertChar, backspace): replace rowlist fiddling
4864         with rebreak of full par
4865
4866         * lyxtext.h:
4867         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4868         checkParagraph, updateInset): removed
4869
4870 2003-08-07  André Pönitz  <poenitz@gmx.net>
4871
4872         * paragraph.C:
4873         * text3.C: merge some LFUN handlers, remove dead code
4874
4875 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4876
4877         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4878
4879 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text2.C (DEPM): fix part of bug 1255 and 1256
4882
4883 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4884
4885         * BufferView_pimpl.C (workAreaDispatch): change to use
4886         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4887         that are no mouse related.
4888
4889 2003-08-05  André Pönitz  <poenitz@gmx.net>
4890
4891         * BufferView.[Ch]:
4892         * BufferView_pimpl.[Ch]:
4893         * bufferview_funcs.C:
4894         * text2.C:
4895         * text3.C: rip out "deep update"
4896
4897         * textcursor.[Ch] (last_sel_cursor): remove unused member
4898
4899 2003-08-04  André Pönitz  <poenitz@gmx.net>
4900
4901         * BufferView.[Ch]:
4902         * BufferView_pimpl.[Ch]:
4903         * ParagraphParameters.C:
4904         * bufferview_funcs.C:
4905         * lyx_cb.C:
4906         * lyxfind.C:
4907         * lyxfunc.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C: replace "complicated" BufferView::update(...) calls with
4911         simpler ones.
4912
4913         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4914
4915 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4916
4917         * Makefile.am (lyx_SOURCES): add paper.h
4918
4919 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4920
4921         * Makefile.am: move things around so that both lyx-qt and
4922         lyx-xforms can be built (according to --with-frontend). Then lyx
4923         is a symbolic link to lyx-[firstfrontend]
4924
4925 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4926
4927         * Always use std::endl with lyxerr
4928
4929 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4930
4931         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4932
4933 2003-08-01  André Pönitz  <poenitz@gmx.net>
4934
4935         * BufferView.[Ch]:
4936         * BufferView_pimpl.[Ch]:
4937         * lyxfunc.C:
4938         * text3.C: merge BufferView::repaint() and BufferView::update()
4939
4940 2003-08-01  José Matos  <jamatos@lyx.org>
4941
4942         * buffer.[Ch]: file_format is no longer a buffer data element.
4943
4944 2003-08-01  André Pönitz  <poenitz@gmx.net>
4945
4946         * BufferView.C:
4947         * lyxtext.h:
4948         * text.C:
4949         * text2.C: make redoParagraph more independent of current cursor
4950
4951         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4952         * text.C:
4953         * text2.C: remove unneeded members
4954
4955 2003-07-30  André Pönitz  <poenitz@gmx.net>
4956
4957         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4958
4959         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4960           create a single function...
4961
4962         * paragraph_funcs.C (moveItem): ... here.
4963
4964         * text.C:
4965           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4966
4967 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4968
4969         * LColor.[Ch]: Add comment and greyedout logical colors.
4970
4971 2003-07-30  André Pönitz  <poenitz@gmx.net>
4972
4973         * tabular.C: don't use Assert too heavily. This crashes where it
4974           shouldn't
4975
4976 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4977
4978         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4979         is disabled (bug 1232)
4980
4981 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4982
4983         * factory.C: limited 'arg' scope
4984
4985 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4986
4987         * factory.C: fixed Note submenu issues
4988
4989 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4990
4991         * factory.C: submenu for Note/Comment/Greyedout
4992
4993 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * lyx_main.C (LyX):
4996         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4997
4998 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4999
5000         * LaTeXFeatures.C:
5001         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5002         greyedout. Patch provided by Jürgen Spitzmüller.
5003
5004 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5005
5006         * kbmap.C (read): fix error message when reading bind files
5007
5008 2003-07-29  Angus Leeming  <leeming@lyx.org>
5009
5010         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5011         certainly does not do what it purports to do. I am doing it, and
5012         us, a favour by killing it.
5013
5014 2003-07-28  José Matos  <jamatos@lyx.org>
5015
5016         * buffer.C (readBody, do_writeFile):
5017         * paragraph.C(readParagraph): \end_document replaces \the_end.
5018
5019 2003-07-29  André Pönitz  <poenitz@gmx.net>
5020
5021         * BufferView.[Ch]:
5022         * BufferView_pimpl.[Ch]:
5023         * lyxfunc.C:
5024         * text2.C:
5025         * text3.C:
5026         * textcursor.[Ch]: remove toggleToggle & Co
5027
5028 2003-07-28  José Matos  <jamatos@fep.up.pt>
5029
5030         * buffer.C (readParagraph):
5031         * params_func (readParToken, readParagraph):
5032         * paragraph.C (write): \layout -> \begin_layout.
5033
5034 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * lyxlex_pimpl.C (setFile): clean up slightly.
5037
5038         * bufferparams.h: add compressed var
5039
5040         * buffer_funcs.C (readFile): adjust for LyXLex change
5041         (newFile): ditto + simplify
5042
5043         * buffer.C (writeFile): handle writing of compressed files
5044
5045         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5046         Check if the file is compressed and set a bufferparm if so.
5047
5048         * Makefile.am (lyx_LDADD): remove explicit -lz
5049
5050 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5051
5052         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5053         makeDocBookFile): put the real LyX version in the first line of
5054         the file
5055
5056         * version.h:
5057         * version.C.in: remove lyx_docversion
5058
5059         * tabular.C (write_attribute): add a template-based version to
5060         write enums properly
5061
5062 2003-07-28  André Pönitz  <poenitz@gmx.net>
5063
5064         * lyxtext.h:
5065         * text.C:
5066         * text2.C:
5067         * text3.C: use doubles again for x-coordinates. They are needed.
5068
5069 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * messages.C (getLocaleDir): use lyx_localedir()
5072
5073         * lyxlex_pimpl.C (setFile): compress stuff
5074
5075         * buffer.C (writeFile): add some compression stuff
5076         (do_writeFile): new func, dont call expliti close... will this
5077         breake anything?
5078
5079         * Makefile.am (lyx_LDADD): add -lz
5080
5081 2003-07-28  José Matos  <jamatos@fep.up.pt>
5082
5083         * buffer.C: increment file format.
5084         * paragraph_funcs (readParagraph, readParToken):
5085         * paragraph.C (readParagraph): add \end_layout.
5086
5087 2003-07-27  Angus Leeming  <leeming@lyx.org>
5088
5089         * Makefile.am: remove special casing for configure-time setting of
5090         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5091
5092         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5093         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5094
5095 2003-07-26  André Pönitz  <poenitz@gmx.net>
5096
5097         * paragraph_func.[Ch]:
5098         * paragraph.C (realizeFont): inline it whereever it is used
5099
5100         * rowpainter.C:
5101         * text.C:
5102         * text2.C:
5103         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5104
5105
5106 2003-07-26  André Pönitz  <poenitz@gmx.net>
5107
5108         *       lyxtext.h:
5109         * text.C:
5110         * text2.C: get rid of LyXText::need_break_row
5111
5112 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * toc.[Ch]: put namespace toc inside namespace lyx
5115
5116         * MenuBackend.C (expandToc2): adjust for lyx::toc
5117         (expandToc): ditto
5118
5119         * lyxfunc.C (dispatch): adjust for lyx::find
5120
5121         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5122         lyx::find instead. Reorganize a bit.
5123         (LyXReplace): rename to replace
5124         (LyXFind): rename to find
5125
5126         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5127         (dispatch): ditto
5128
5129 2003-07-26  André Pönitz  <poenitz@gmx.net>
5130
5131         * text.C (setHeightOfRow): restrict scope of temporary variable
5132
5133         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5134           code (never has been used?)
5135
5136 2003-07-27  Asger Alstrup  <alstrup@local>
5137
5138         * text.C (fill): Optimise algorithm to exploit that we can reuse
5139         the LyXFont for many characters.
5140         (setHeightOfRow): Same thing.
5141         (rowBreakPoint): Same thing.
5142
5143 2003-07-26  Asger Alstrup  <alstrup@local>
5144
5145         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5146
5147         * text.C (singleWidth): Spurious font copying in hot-spot
5148         singleWidth avoided. Reorder tests for arabic for efficiency.
5149
5150         * text.C (fill): handle empty paragraphs better.
5151
5152 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5153
5154         * ispell.C:
5155         * encoding.h: add includes
5156
5157         * lyxrc.C: remove reading of bind files
5158
5159         * lyx_main.C (init): setup bindings and menus only if we have a
5160         gui.
5161
5162         * kbmap.C (read): new method. Do the actual reading of bind
5163         files.
5164
5165         * converter.C (dvipdfm_options):
5166         * bufferparams.C:
5167         * lyxrc.C (read):
5168         (output): adapt PAPER_* enums.
5169
5170         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5171
5172         * bufferparams.h: remove paper-related enums from there
5173
5174         * paper.h: New file. A trivial header file to hold paper-related
5175         enums. It should later expand to contain many paper-related
5176         horrors access.
5177
5178         * lyxrc.C: declare extern displayTranslator
5179
5180 2003-07-27  José Matos  <jamatos@fep.up.pt>
5181
5182         * tabular.[Ch] (linuxdoc): add support for tables and figures
5183         (linuxdoc).
5184
5185 2003-07-27  José Matos  <jamatos@fep.up.pt>
5186
5187         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5188         consistency in both functions.
5189         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5190
5191 2003-07-26  Asger Alstrup  <alstrup@local>
5192
5193         * rowpainter.C (paintRows): Change algorithm to work directly on
5194         the insets rather than asking every character in the document
5195         whether its an inset.
5196
5197 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * buffer.C (openFileWrite): factorize some code
5200
5201 2003-07-26  Angus Leeming  <leeming@lyx.org>
5202
5203         * lyx_cb.C:
5204         * lyx_main.[Ch]: replace occurances of system_tempdir with
5205         os::getTmpDir().
5206
5207 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * rename Inset to InsetOld
5210
5211 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5212
5213         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5214         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5215         which I think is a bit clearer. EDIT is gone, since it was
5216         premature optimisation, and broken for mathed anyway.
5217         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5218         with cursor positioning in insets as well (math insets still do not
5219         work, but that's a different story anyway.) It mysteriously
5220         crashes sometimes with undo in the first paragraph, but I'm fairly
5221         confident that this is a compiler bug.
5222
5223 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * paragraph.C (Paragraph): adjust for new clone return type
5226         (operator==): ditto
5227         (copyIntoMinibuffer): ditto
5228
5229 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5230
5231         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5232         by not having a special case, and always doing a full rebreak of
5233         the document after undo.
5234
5235 2003-07-23  Angus Leeming  <leeming@lyx.org>
5236
5237         * factory.C (createInset): InsetExternal::setParams now takes a
5238         Buffer const * arg.
5239
5240 2003-07-23  Angus Leeming  <leeming@lyx.org>
5241
5242         * factory.C (createInset): changed interface to the external and
5243         graphics mailers' string2params functions.
5244
5245 2003-07-23  Angus Leeming  <leeming@lyx.org>
5246
5247         * factory.C (createInset): pass a
5248         Buffer const * parameter to InsetExternalMailer's string2params.
5249
5250 2003-07-22  John Levon  <levon@movementarian.org>
5251
5252         * Thesaurus.h: include the right aiksaurus header
5253
5254 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5255
5256         * MenuBackend.C (expand): check menu shortcuts unconditionally
5257
5258 2003-07-21  Angus Leeming  <leeming@lyx.org>
5259
5260         * factory.C (createInset): pass a
5261         buffer_path parameter to InsetGraphicsMailer's string2params.
5262
5263 2003-07-21  Angus Leeming  <leeming@lyx.org>
5264
5265         * BufferView_pimpl.C (buffer):
5266         * buffer.C (d-tor):
5267         * lyx_main.C (LyX):
5268         * lyxfunc.C (dispatch):
5269         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5270         rather than the grfx shortcut.
5271
5272 2003-07-21  André Pönitz  <poenitz@gmx.net>
5273
5274         * rowpainter.C: remove unused variables
5275
5276         * tabular_funcs.C:
5277         * tabular_funcs.h: move to tabular.C
5278         * Makefile.am: adjust
5279
5280         * tabular.[Ch]: basic optical cleaning
5281
5282         * author.h: pass references, not values
5283
5284 2003-07-18  André Pönitz  <poenitz@gmx.net>
5285
5286         * lyxtext.h:
5287         * metricsinfo.C:
5288         * metricsinfo.h:
5289         * rowpainter.C:
5290         * text.C:
5291         * text2.C:
5292         * text3.C: two-phase drawing for InsetText and InsetTabular
5293         some float -> int changes.
5294
5295 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * lyx_main.C: fix the fix
5298
5299 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5300
5301         * lyx_main.C: fix a crash in batch mode if no files specified
5302         * converter.C: ws
5303
5304 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5305
5306         * format.[Ch] (papersize): moved to BufferParams
5307         * converter.[Ch] (dvips_options): moved to BufferParams
5308         (dvipdfm_options): moved to anon namespace
5309         * bufferparams.[Ch]: added above functions.
5310
5311 2003-07-17  André Pönitz  <poenitz@gmx.net>
5312
5313         * lyxtext.h:
5314         * rowpainter.C:
5315         * text2.C: don't call inset->update() anymore
5316
5317         * metricsinfo.[Ch]: add convenience constructor
5318
5319 2003-07-16  André Pönitz  <poenitz@gmx.net>
5320
5321         * lyxcursor.[Ch]:
5322         * lyxfunc.[Ch]:
5323         * text.C:
5324         * text2.C: replace the LyXCursor::irow_ member with
5325          on-demand computation of the value
5326
5327 2003-07-16  John Levon  <levon@movementarian.org>
5328
5329         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5330
5331 2003-07-15  André Pönitz  <poenitz@gmx.net>
5332
5333         * text.C:
5334         * text2.C: remove no more needed refresh_row
5335
5336 2003-07-15  André Pönitz  <poenitz@gmx.net>
5337
5338         * lyxtext.h:
5339         * rowpainter.C:
5340         * text2.C:
5341         * text3.C: refresh_status tristate -> need_update bool
5342
5343 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * lyxtext.h (init): remove reinit argument (act as if always true)
5346         * text2.C: adjust to that
5347
5348 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5349
5350         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5351         * text3.C: use it to delete selections in some cases
5352         (bugs 441, 673, 702, 954).
5353
5354 2003-07-14  André Pönitz  <poenitz@gmx.net>
5355
5356         * rowpainter.[Ch]: reduce interface
5357
5358 2003-07-14  André Pönitz  <poenitz@gmx.net>
5359
5360         * BufferView_pimpl.C:
5361         * text2.C: adjust after removing unused BufferView * argument
5362
5363 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * text2.C (init): fix a crash fired on resize
5366
5367 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5368
5369         * buffer.[Ch]: added new closing signal
5370         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5371         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5372         BufferView::Pimpl via the closing the signal
5373
5374 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5375
5376         * buffer.[Ch]: take out all bv-related from buffer
5377         * BufferView.C:
5378         * BufferView_pimpl.[Ch]: connect to new signals
5379         * CutAndPaste.C: removed useless asserts
5380         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5381         * lyxvc.[Ch]:
5382         * vc-backend.[Ch]:
5383         * lyxfunc.C: moved view-related funciontality from vc here
5384         * paragraph.C: removed outdated comments
5385         * text.C: ws
5386
5387 2003-07-10  André Pönitz  <poenitz@gmx.net>
5388
5389         * BufferView_pimpl.C:
5390         * tabular.h:
5391         * tabular_funcs.C:
5392         * text.C:
5393         * text2.C: remove InsetText::InnerCache, clean up consequences
5394
5395 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5396
5397         * ispell.C: fix two typos in error messages
5398
5399 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5400
5401         * Extend Note inset to other forms of annotation like Comment
5402         and Greyedout. Right button click gives dialog.
5403
5404         Files modified or added (+):
5405
5406         * insetnote.[Ch]
5407         * FormNote.[Ch]      +
5408         * ControlNote.[Ch]   +
5409         * form_note.fd       +
5410         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5411         frontends/controllers
5412         * xforms/Dialogs.C
5413         * factory.C
5414
5415 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5416
5417         * aspell.C: add missing namespace lyx::support
5418
5419 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5420
5421         * BufferView.[Ch] (newFile): Add
5422         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5423         * LaTeX.[Ch] (message): added this signal and use it
5424         * buffer.[Ch] (busy, message): added these signals and use them
5425         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5426         * converter.C:
5427         * exporter.C:
5428         * format.C:
5429         * importer.C: use buffer signals instead of direct bv calling
5430         * lyx_cb.[Ch] (ShowMessage): removed
5431         * lyx_main.C:
5432         * lyxfunc.C:
5433         * paragraph_funcs.C:
5434         * text2.C: use buffer signals
5435
5436 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * introduce namespace lyx::graphics
5439
5440 2003-07-02  André Pönitz  <poenitz@gmx.net>
5441
5442         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5443
5444 2003-07-01  André Pönitz  <poenitz@gmx.net>
5445
5446         * text.C:
5447         * text2.C:
5448         * text3.C:
5449         * text_funcs.[Ch]:
5450         * textcursor.h:
5451         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5452           text*.C to text_func.C
5453
5454 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * introduce namespace lyx::support
5457
5458 2003-06-30  André Pönitz  <poenitz@gmx.net>
5459
5460         * Chktex.C:
5461         * funcrequest.C:
5462         * lyxtext.h:
5463         * text.C: re-enable --with-included-string
5464
5465 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * textcursor.C: add <config.h>
5468
5469         * text.C (getWord): remove const from word_location arg
5470
5471         * lyxvc.C (getLogFile): fix const type order
5472
5473         * lyxtext.h: remove const from word_location arg, add arg name
5474
5475         * lyxlayout.h: currect type on labeltype.
5476
5477         * importer.C: correct \file
5478
5479         * converter.C (intToFormat): use std:: on ret val, ws changes
5480
5481         * bufferlist.h: correct \file
5482
5483         * buffer.C (makeLinuxDocFile): fix const type order
5484         (makeDocBookFile): ditto
5485         (fillWithBibKeys): use std:: on stdlib args.
5486
5487         * CutAndPaste.C: fix authors.
5488         (availableSelections): use std:: on return vector
5489
5490 2003-06-27  André Pönitz  <poenitz@gmx.net>
5491
5492         * BufferView_pimpl.C:
5493         * bufferview_funcs.C:
5494         * lyxcursor.C:
5495         * lyxcursor.h:
5496         * lyxfunc.C:
5497         * lyxtext.h:
5498         * rowpainter.C:
5499         * text.C:
5500         * text2.C:
5501         * text3.C: remove LyXCursor::row_ member
5502
5503         * lyxtext.h:
5504         * text.C: rename fullRebreak() to partialRebreak() and implement
5505           a fullRebreak() that really bereks fully
5506
5507         * textcursor.h: new struct for cursor-related data
5508
5509 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5510
5511         * lyx_main.C (LyX): get full path of document loaded on the
5512         command line
5513
5514 2003-06-26  André Pönitz  <poenitz@gmx.net>
5515
5516         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5517           remove unused/broken operator>,<,>=.
5518
5519         *       text.C: remove only use of broken operator<= in an Assert().
5520
5521 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5522
5523         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5524         moved errorlist_.clear to showErrorList
5525
5526 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5527
5528         * converter.C (scanLog, runLaTeX):
5529         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5530         move the bv->showErrorList call to the callers
5531         * lyxfunc.C: i.e. here...
5532         * text2.C: and here
5533         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5534         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5535         namespace, the second to...
5536         * buffer_funcs (BufferFormat, parseErrors): added
5537         * errorlist.C (ErrorList(TeXErrors const &)): removed
5538
5539 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5540
5541         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5542
5543 2003-06-24  "Garst R. Reese" <reese@isn.net>
5544
5545         * debug.C: fix typo
5546
5547 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5548
5549         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5550
5551         * version.C.in: change docversion to 1.4
5552
5553 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * buffer.C: fix a bug just introduced
5556
5557 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5558
5559         * buffer.[Ch]: added the parseError signal and use it, removed
5560         sgmlError
5561         * BufferView.[Ch] (addError): moved to ...
5562         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5563         to the Buffer::parseError signal to catch (guess what) parse errors
5564         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5565
5566 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5567
5568         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5569         ability to create a buffer and to return an existing one from
5570         the list. Moved these functions to...
5571         * buffer_funcs.[Ch]: added
5572         * BufferView.[Ch] (loadLyXFile): added
5573         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5574         job removed from bufferlist::loadLyXFile.
5575         * buffer.C (setReadOnly): make it work without view
5576         (i.e added an if (users))
5577
5578 2003-06-19  Angus Leeming  <leeming@lyx.org>
5579
5580         * lfuns.h:
5581         * LyXAction.C (init):
5582         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5583         with LFUN_DIALOG_SHOW <name> <data>.
5584
5585 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5586
5587         * CutAndPaste.C (availableSelections): small compilation fix for
5588         ancient (gcc 2.9x) compilers
5589
5590 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * text3.C (cursorNext): add tmp var
5593
5594         * text2.C (updateCounters): for function calling out of for clause
5595         (replaceSelectionWithString): ditto
5596         (insertStringAsParagraphs): ditto
5597         (getColumnNearX): add tmp var
5598         (setCursorFromCoordinates): add tmp var
5599         (cursorDownParagraph): add tmp var
5600         (deleteEmptyParagraphMechanism): add tmp var
5601
5602         * text.C (insertChar): add tmp var
5603
5604         * rowpainter.C (paintDepthBar): add tmp var
5605
5606         * CutAndPaste.C (availableSelections): potentially check all
5607         paragraphs in a cut to fill the shown strings.
5608
5609 2003-06-18  André Pönitz  <poenitz@gmx.net>
5610
5611         * kbmap.[Ch]: use vector<> instead of list<>
5612
5613 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5614
5615         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5616         pasteSelection with index
5617
5618         * text2.C (pasteSelection): modify, call pasteSelection with index
5619
5620         * paragraph.C (asString): reimplement version with no interval to
5621         call the one with interval.
5622
5623         * lyxtext.h: add index arg to pasteSelection
5624
5625         * MenuBackend.C (MenuItem): handle PasteRecent
5626         (Menu::read::Menutags): add md_pasterecent
5627         (read): handle it
5628         (expandPasteRecent): new function
5629         (expand): use it
5630
5631         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5632
5633         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5634         the limited stack
5635         (availableSelections): new function
5636
5637 2003-06-17  Angus Leeming  <leeming@lyx.org>
5638
5639         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5640
5641 2003-06-17  Angus Leeming  <leeming@lyx.org>
5642
5643         * lfuns.h:
5644         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5645
5646         * lyxfunc.C (dispatch): invoke it.
5647
5648 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5649
5650         * iterators.C (operator++, ParPosition): reintroduce some
5651         const_cast for the benefit of older compilers.
5652
5653 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5654
5655         * text3.C (dispatch): do not modify clipboard when doing
5656         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5657         LFUN_DELETE_SKIP on a selection selection
5658
5659 2003-06-16  André Pönitz  <poenitz@gmx.net>
5660
5661         * BufferView.C:
5662         * buffer.C:
5663         * buffer.h:
5664         * paragraph.C:
5665         * tabular.[Ch]: IU of clone() and getLabelList();
5666
5667 2003-06-13  André Pönitz  <poenitz@gmx.net>
5668
5669         * tabular.h: compactification
5670
5671 2003-06-12  André Pönitz  <poenitz@gmx.net>
5672
5673         * tabular.C:
5674         * tabular.h:
5675         * tabular_funcs.h: some renaming plus whitespace
5676
5677 2003-06-12  André Pönitz  <poenitz@gmx.net>
5678
5679         * BufferView.C:
5680         * BufferView_pimpl.C:
5681         * CutAndPaste.C:
5682         * buffer.C:
5683         * iterators.[Ch]:
5684         * lyxfunc.C:
5685         * text.C:
5686         * toc.C: Return a Paragraph & for ParIterator::operator*()
5687
5688 2003-06-11  John Levon  <levon@movementarian.org>
5689
5690         * lyx_main.C:
5691         * ToolbarBackend.h:
5692         * ToolbarBackend.C: add "Toolbars" section and
5693         put the flags there
5694
5695 2003-06-10  Angus Leeming  <leeming@lyx.org>
5696
5697         * lfuns.h:
5698         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5699
5700         * lyxfunc.C (dispatch): invoke it.
5701
5702 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * main.C: protect <ios> with HAVE_IOS
5705         (main): protect sync_with_stdio with HAVE_IOS
5706
5707 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5708
5709         * text2.C (cutSelection): adjust
5710         (pasteSelection): adjust
5711
5712         * messages.C: handle get of empty string
5713
5714         * main.C (main): use sync_with_stdio(false)
5715
5716         * lyxfunc.C (dispatch): adjust
5717
5718         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5719         (WriteAs): remove unneeded BufferView arg.
5720
5721         * bufferparams.h: use correct types on papersize, papersize2 and
5722         paperpackage.
5723
5724         * bufferparams.C (readToken): adjust for type
5725         (writeLaTeX): add missing cases to switch.
5726
5727         * bufferlist.C (quitWriteBuffer): adjust
5728         (close): adjust
5729
5730         * buffer.C (asciiParagraph): remove some commented code.
5731
5732         * CutAndPaste.C: remove current_view extern variable.
5733         (cutSelection): add BufferParams arg.
5734         (eraseSelection): add BufferParams arg.
5735         (pasteSelection): add Buffer const & arg
5736
5737 2003-06-07  John Levon  <levon@movementarian.org>
5738
5739         * buffer.C:
5740         * paragraph_funcs.C:
5741         * paragraph_pimpl.C:
5742         * text.C:
5743         * text2.C:
5744         * paragraph.h:
5745         * paragraph.C: allow InsetERT to freely space lines,
5746         and some consolidation of code
5747
5748 2003-06-06  José Matos  <jamatos@fep.up.pt>
5749
5750         * buffer.C (makeDocBookFile): fix bug #821
5751
5752 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5753
5754         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5755
5756 2003-06-04  Angus Leeming  <leeming@lyx.org>
5757
5758         * buffer.C: bump format to 224.
5759
5760 2003-06-05  André Pönitz  <poenitz@gmx.net>
5761
5762         * text2.C (redoParagraphs): remove two const_cast<>
5763
5764 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5765
5766         * ParagraphList.h: remove last remnants of NO_STD_LIST
5767
5768 2003-06-03  Angus Leeming  <leeming@lyx.org>
5769
5770         * factory.C (createInset): small change to the way InsetExternal's params
5771         are set.
5772
5773 2003-06-04  André Pönitz  <poenitz@gmx.net>
5774
5775         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5776
5777         * paragraph_pimpl.h:
5778         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5779
5780         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5781
5782         * undo_funcs.C: make some simple cases of undo work again
5783
5784 2003-06-03  John Levon  <levon@movementarian.org>
5785
5786         * ispell.C: HPUX doesn't have sys/select.h
5787         (from Albert Chin)
5788
5789 2003-06-03  John Levon  <levon@movementarian.org>
5790
5791         * CutAndPaste.C: update tabular and include inset
5792         buffer references
5793
5794         * buffer.h:
5795         * paragraph.h:
5796         * paragraph.C: remove owningBuffer(), don't pass Buffer
5797         to clone()
5798
5799         * factory.C: insetGraphicsParams changed
5800
5801 2003-06-02  John Levon  <levon@movementarian.org>
5802
5803         * LyXAction.C:
5804         * factory.C:
5805         * lfuns.h:
5806         * lyxfunc.C:
5807         * text3.C: remove insetparent
5808
5809 2003-06-02  John Levon  <levon@movementarian.org>
5810
5811         * buffer.h:
5812         * buffer.C: fix inset_iterator.end(), move out of line
5813         (bug 1149)
5814
5815 2003-06-01  John Levon  <levon@movementarian.org>
5816
5817         * text3.C: use a proper cut/paste when doing inset
5818         insert (from Jürgen Spitzmüller)
5819
5820 2003-06-01  John Levon  <levon@movementarian.org>
5821
5822         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5823
5824 2003-05-30  André Pönitz  <poenitz@gmx.net>
5825
5826         * rowpainter.C: unify second drawing phase
5827
5828 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * trans_mgr.C: remove one case of current_view
5831
5832         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5833
5834         * paragraph_funcs.h: remove paragraph.h include
5835
5836         * paragraph.h: delete NO_STD_LIST stuff
5837
5838         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5839
5840         * buffer.h: remove paragraph.h include
5841
5842         * ParagraphList.C: delete file
5843
5844         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5845
5846         * toc.C (getTocList): adjust
5847
5848         * paragraph_pimpl.C (validate): adjust
5849
5850         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5851
5852         * paragraph.C (Paragraph): adjust
5853         (getPositionOfInset): use const_iterator, adjust
5854         (bibitem): use const_iterator, adjust
5855         (setInsetOwner): adjust
5856
5857         * iterators.C (operator++): adjust
5858
5859         * InsetList.[Ch]: Replace selfmade iterator with standard
5860         vector::iterator also introduce const_iterator. Remove getPos,
5861         getInset and setInset from InsetTable. Adjust accordingly.
5862
5863         * BufferView.C (lockInset): adjust
5864         (ChangeInsets): adjust
5865
5866         * tabular.[Ch]: delete commented same_id functions
5867
5868 2003-05-28  John Levon  <levon@movementarian.org>
5869
5870         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5871
5872 2003-05-28  André Pönitz  <poenitz@gmx.net>
5873
5874         * metricsinfo.[Ch]: remove 'fullredraw' member
5875
5876 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5877
5878         * lyxtextclass.C (operator): remove caching.
5879
5880 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * text3.C: adjust
5883
5884         * text2.C (cursorBottom): adjust
5885         (setCounter): use ParagraphList::find, adjust
5886
5887         * text.C (workWidth): use ParagraphList::find, adjust
5888
5889         * lyxcursor.C (LyXCursor): adjust
5890
5891         * buffer.C (inset_iterator): adjust
5892
5893         * ParagraphList.h: make iterator(value_type) private, make
5894         ParagraphList a friend of iterator.
5895
5896         * ParagraphList.C (find): new function
5897
5898         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5899
5900 2003-05-27  André Pönitz  <poenitz@gmx.net>
5901
5902         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5903
5904 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5905
5906         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5907
5908 2003-05-26  John Levon  <levon@movementarian.org>
5909
5910         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5911
5912 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * remove same_id from function signatures, adjust.
5915
5916 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5919
5920         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5921
5922         * paragraph.C (Paragraph): get rid of same_ids parameter
5923
5924         * ParagraphList.C (insert): adjust
5925         (push_back): adjust
5926
5927 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * paragraph_funcs.C (breakParagraph): adjust
5930         (breakParagraphConservative): adjust
5931
5932         * buffer.C (readParagraph): adjust
5933
5934         * ParagraphList.C (insert): take a reference instead of a pointer
5935         (insert): adjust
5936
5937         * paragraph.[Ch] (id): new function
5938
5939         * bufferlist.C (newFile): adjust
5940
5941         * ParagraphList.C (ParagraphList): adjust
5942         (assign): adjust
5943         (push_back): take a reference instead of a pointer.
5944
5945         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5946
5947         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5948         instead.
5949
5950         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5951         set else use old code.
5952
5953         * ParagraphList.C: remove all NO_NEXT code and only compile this
5954         code of NO_STD_LIST is set.
5955
5956 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * BufferView_pimpl.C:
5959         * TextCache.C:
5960         * TextCache.h:
5961         * bufferlist.C:
5962         * errorlist.h:
5963         * format.C:
5964         * format.h:
5965         * graph.C:
5966         * lyxfunc.C:
5967         * lyxrc.C:
5968         * graphics/GraphicsConverter.C:
5969         * graphics/PreviewLoader.C: header adjustment
5970
5971 2003-05-23  Angus Leeming  <leeming@lyx.org>
5972
5973         * LaTeXFeatures.[Ch] (useBabel): new method.
5974         * bufferparams.C (writeLaTeX): use it.
5975
5976 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * ParagraphList.h (set): remove unused function.
5979
5980 2003-05-23  André Pönitz  <poenitz@gmx.net>
5981
5982         * BufferView.C:
5983         * BufferView_pimpl.C:
5984         * buffer.C:
5985         * buffer.h:
5986         * lyxfunc.C:
5987         * undo_funcs.C: setUndo reworked
5988
5989         * iterators.[Ch]: add access to topmost ParagraphList
5990
5991         * lyxtext.[Ch] (workWidth): add a const
5992
5993 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5994
5995         * texrow.[Ch] (increasePos): remove function
5996         * exporter.C (export): removed unused var and outdated comment
5997
5998 2003-05-23  Angus Leeming  <leeming@lyx.org>
5999
6000         * latexrunparams.h: rename fragile as moving_arg.
6001         * paragraph.C (simpleTeXOnePar): ditto.
6002         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6003
6004 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6007         (createUndo): ditto
6008         (textUndoOrRedo): comment out a currently unused var.
6009
6010         * paragraph.h (NO_NEXT): enable NO_NEXT
6011
6012         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6013
6014         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6015
6016         * exporter.C (Export): adjust for removeAutoInsets removal.
6017
6018         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6019
6020         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6021
6022         * BufferView.[Ch] (removeAutoInsets): delete function
6023
6024 2003-05-22  Angus Leeming  <leeming@lyx.org>
6025
6026         * latexrunparams.h: add a free_spacing variable.
6027
6028         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6029         to pass moving_arg, as the data is stored in runparams.fragile.
6030
6031         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6032         to Inset::latexOptional or to simpleTeXOnePar.
6033
6034         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6035         free_spacing arg to Inset::latexOptional.
6036
6037         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6038         free_spacing arg.
6039
6040 2003-05-22  Angus Leeming  <leeming@lyx.org>
6041
6042         * latexrunparams.h: add fragile and use_babel variables.
6043
6044         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6045         * buffer.C (makeLaTeXFile): store this returned value in
6046         runparams.use_babel, thus passing it to the inset::latex methods.
6047
6048         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6049         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6050
6051         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6052         longer has a fragile arg, as it is stored in runparams.fragile.
6053
6054         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6055         moving_arg parameter as the data is stored in runparams.fragile.
6056
6057         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6058         a fragile parameter as the data is stored in runparams.fragile.
6059
6060 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6063
6064 2003-05-22  Angus Leeming  <leeming@lyx.org>
6065
6066         * latexrunparams.h: add a 'bool nice' which defaults to false.
6067
6068         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6069         now encapsulated within runparams.
6070
6071         * bufferlist.C (updateIncludedTeXfiles):
6072         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6073
6074 2003-05-22  Angus Leeming  <leeming@lyx.org>
6075
6076         * latexrunparams.h: new file containing struct LatexRunParams.
6077         * Makefile.am: add new file.
6078
6079         * LaTeX.[Ch] (c-tor, run):
6080         * buffer.[Ch] (makeLaTeXFile):
6081         * bufferlist.[Ch] (updateIncludedTeXfiles):
6082         * converter.C (convert, scanLog):
6083         * converter.[Ch] (runLaTeX):
6084         * exporter.C (Export):
6085         * paragraph.[Ch] (simpleTeXOnePar):
6086         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6087         * paragraph_funcs.[Ch] (latexParagraphs):
6088         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6089         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6090         pass around a LatexRunParams parameter.
6091
6092 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * paragraph.[Ch]: remove unused constructor
6095
6096         * ParagraphList.C (erase): new function, taking two iterators
6097
6098 2003-05-22  André Pönitz  <poenitz@gmx.net>
6099
6100         * undo_funcs.C: remove duplicated code
6101
6102         * iterator.[Ch]: operator=
6103
6104 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * tabular.C (SetMultiColumn): ws changes
6107
6108         * rowpainter.C (paintFirst): get rid of a ->previous
6109
6110         * lyx_cb.C (getPossibleLabel): parlist simplification
6111
6112         * BufferView.C (ChangeInsets): simplify slightly.
6113
6114 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6115
6116         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6117         * lfuns.h: new LFUN_SPACE
6118         * lyxfunc.C: protected space has a new lfun
6119         * paragraph_funcs.C: read new space insets
6120         * text3.C:
6121         * factory.C: handle new space insets
6122
6123 2003-05-22  André Pönitz  <poenitz@gmx.net>
6124
6125         * BufferView.C:
6126         * BufferView_pimpl.C:
6127         * buffer.[Ch]:
6128         * lyxfunc.C:
6129         * undo_funcs.C: return a ParIterator from getParFromID.
6130
6131         * iterators.[Ch]: add two const's
6132
6133 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * toc.C (getTocList): adjust
6136
6137         * iterators.[Ch]: rework for parlist
6138
6139         * buffer.C (par_iterator_begin): adjust
6140         (par_iterator_end): adjust
6141
6142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6143
6144         * BufferView.C (removeAutoInsets): adjust
6145         (ChangeInsets): adjust
6146
6147 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6148
6149         * text.C (top_y): fix bug 1110
6150
6151 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6152
6153         * errorlist.[Ch]: added
6154         * buffer.C:
6155         * BufferView.[Ch]:
6156         * BufferView_pimpl.C:
6157         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6158         instead
6159
6160 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * Makefile.am: ensure that lyx is relinked upon changes to the
6163         various "convenience" libs.
6164
6165 2003-05-20  Angus Leeming  <leeming@lyx.org>
6166
6167         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6168         files are compiled in alphabetical order again.
6169
6170         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6171
6172 2003-05-19  Angus Leeming  <leeming@lyx.org>
6173
6174         * gettext.[Ch]: remove "char const * _(char const *)".
6175
6176 2003-05-19  André Pönitz  <poenitz@gmx.net>
6177
6178         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6179
6180         * Makefile.am:
6181         * BufferView.C:
6182         * DepTable.h:
6183         * LaTeXFeatures.C:
6184         * buffer.C:
6185         * lyxfont.C:
6186         * lyxlex.h:
6187         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6188
6189 2003-05-19  André Pönitz  <poenitz@gmx.net>
6190
6191         * buffer.C:
6192         * lyxlayout.[Ch]:
6193         * lyxtextclass.[Ch]:
6194         * paragraph.C:
6195         * paragraph_funcs.[Ch]:
6196         * text2.C:
6197         * text3.C: more insetenv work
6198
6199 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6200
6201         * ParagraphParameters.C (params2string): small bug fixed
6202
6203 2003-05-16  André Pönitz  <poenitz@gmx.net>
6204
6205         * debug.C:
6206         * bufferview_funcs.C: patch from Kornel Benko to prevent
6207           crash when _(...) is called twice in a statement
6208
6209 2003-05-16  André Pönitz  <poenitz@gmx.net>
6210
6211         * BufferView.C:
6212         * lyxfunc.C:
6213         * text.C:
6214         * text2.C:
6215         * text3.C:
6216         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6217
6218 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6219
6220         * lyx_main.C (init): remove spurious static_cast
6221
6222 2003-05-14  André Pönitz  <poenitz@gmx.net>
6223
6224         * BufferView.C: fix format string
6225
6226 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * BufferView.[Ch] (insertErrors): removed
6229         * BufferView.[Ch] (showErrorList): added
6230         * buffer.C (runChkTeX):
6231         * converter.C (scanLog): call showErrorList instead of inserterrors
6232
6233 2003-05-13  André Pönitz  <poenitz@gmx.net>
6234
6235         * BufferView_pimpl.C:
6236         * buffer.C:
6237         * bufferview_func.C:
6238         * MenuBackend.C:
6239         * lyxfunc.C:
6240         * lyxrc.C:
6241         * tex-accent.C:
6242         * text3.C:
6243         * toc.C:
6244         * tabular_funcs.h: tostr() from its own header
6245
6246         * ParagraphParameters.C:
6247         * ToolbarBackend.C:
6248         * bufferparams.C:
6249         * format.C:
6250         * lyxlex_pimpl.C:
6251         * text3.C: STRCONV()
6252
6253 2003-05-12  André Pönitz  <poenitz@gmx.net>
6254
6255         * BufferView.C:
6256         * BufferView_pimpl.C:
6257         * CutAndPaste.C:
6258         * LaTeX.C:
6259         * LaTeXFeatures.C:
6260         * ParagraphParameters.C:
6261         * buffer.C:
6262         * bufferlist.C:
6263         * bufferparams.C:
6264         * bufferview_funcs.C:
6265         * converter.C:
6266         * counters.C:
6267         * debug.C:
6268         * exporter.C:
6269         * format.C:
6270         * importer.C:
6271         * lyx_cb.C:
6272         * lyx_main.C:
6273         * lyxfont.C:
6274         * lyxfunc.C:
6275         * lyxvc.C:
6276         * paragraph.C:
6277         * paragraph_funcs.C:
6278         * tabular.C:
6279         * tabular_funcs.C:
6280         * text2.C:
6281         * text3.C:  boost::format -> bformat  all over the place
6282
6283
6284 2003-05-09  André Pönitz  <poenitz@gmx.net>
6285
6286         * LColor.[Ch]: Pimpl the #include <map> away
6287
6288 2003-05-09  John Levon  <levon@movementarian.org>
6289
6290         * bufferlist.C: never remove emergency saves
6291
6292 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * Makefile.am: better lib building
6295
6296 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6299         instead.
6300         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6301         (simpleTeXSpecialChars): adjust
6302         (simpleTeXSpecialChars): adjust
6303         * paragraph.C (simpleTeXOnePar): adjust
6304         * buffer.C (makeLaTeXFile): adjust
6305
6306         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6307
6308         * text2.C (changeDepth): parlist cleanup
6309         (getColumnNearX): ditto
6310
6311         * rowpainter.C (getLabelFont): parlist cleanup
6312
6313         * bufferlist.C (newFile): parlist cleanup
6314
6315         * CutAndPaste.C (eraseSelection): parlist cleanup
6316
6317         * BufferView_pimpl.C (trackChanges): parlist cleanup
6318         (dispatch): ditto
6319
6320         * BufferView.C (lockInset): parlist cleanup.
6321         (ChangeInsets): ditto
6322
6323 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * CutAndPaste.h: Update file header.
6326
6327         * CutAndPaste.C: Update file header.
6328         Store the parts cut out of the Document in a limited_stack.
6329         (copySelection): adjust
6330         (pasteSelection): new function, takes the index in the limited stack.
6331         (nrOfParagraphs): adjust
6332         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6333         simplify error inset insertion.
6334         (checkPastePossible): adjust
6335
6336 2003-05-06  John Levon  <levon@movementarian.org>
6337
6338         * text2.C: don't cast wrap inset to float
6339
6340 2003-05-05  André Pönitz  <poenitz@gmx.net>
6341
6342         * iterator.C:
6343         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6344
6345         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6346           few naked Paragraph *.
6347
6348 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6349
6350         * bufferparams.C: Output warning if a document with missing
6351         TeX document class is loaded
6352         * exporter.C: Disable TeX exports if the document class is missing
6353         * lyxtextclass.C:
6354         * lyxtextclass.h:
6355         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6356         isTeXClassAvailable()
6357
6358 2003-05-03  John Levon  <levon@movementarian.org>
6359
6360         * BufferView.h:
6361         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6362         explicit cursor show/hide
6363
6364         * BufferView_pimpl.h:
6365         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6366         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6367
6368         * lyxfunc.C: hide cursor before dispatching.
6369
6370         * lyx_cb.C:
6371         * lyxfind.C:
6372         * text.C:
6373         * text3.C: remove explicit cursor hides
6374
6375 2003-05-02  André Pönitz  <poenitz@gmx.net>
6376
6377         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6378
6379         * undo_funcs.C:
6380         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6381           linked lists
6382
6383         * text2.C: tiny whitespace
6384
6385 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * undo_funcs.C: almost only ws changes.
6388
6389         * ParagraphList.C (splice): just return if pl is empty.
6390
6391 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * ParagraphList.C (splice): new function.
6394
6395         * CutAndPaste.C (pasteSelection): use it
6396
6397 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * CutAndPaste.C (pasteSelection): remove the last next and
6400         previous from this file.
6401
6402 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6403
6404         * CutAndPaste.C (pasteSelection): more clean up, user proper
6405         ParagraphList functions for pasteing.
6406
6407         * ParagraphList.C (insert): new function, three arg insert
6408
6409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * ParagraphList.C (insert): new function, three arg insert
6412
6413         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6414         not on paragraphs.
6415
6416 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6419
6420 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6423
6424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6427         (copySelection): clean up a bit.
6428         (pasteSelection): use make_pair
6429
6430         * ParagraphList.C (ParagraphList): implement copy constructor
6431         (operator=): implement, base on copy constructor.
6432         (assign): new func
6433
6434         * paragraph.C (erase): return a bool
6435
6436         * paragraph_pimpl.C (erasePos): remove function, move contents...
6437         (erase): ... here. Return a bool.
6438         (erase): call erase instead of erasePos.
6439
6440 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * ParagraphList.h: define PitPosPair
6443         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6444         ParagraphList, fix a bug on pasting multiple pars
6445         * text2.C: change interface to C&P
6446
6447 2003-04-30  André Pönitz  <poenitz@gmx.net>
6448
6449         * undo_func.C: revert part of yesterday's patch 2
6450
6451 2003-04-30  John Levon  <levon@movementarian.org>
6452
6453         * LColor.C: s/tabular/table/
6454
6455 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6456
6457         * text3.C (dispatch): do not convert iterator -> pointer
6458         * undo_funcs.C (setCursorParUndo): ditto
6459         * text_funcs.C (transposeChars): ditto
6460
6461         * text2.C (setLayout): ws changes only
6462
6463         * text.C (breakParagraph): do not convert iterator -> pointer
6464         (insertChar): ditto
6465         (acceptChange): ditto
6466         (rejectChange): ditto
6467         (changeCase): ditto
6468         (Delete): ditto
6469         (backspace): ditto
6470
6471         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6472         pointer
6473
6474 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6475
6476         * text3.C (gotoInset): YABG (yet another bad getChar)
6477
6478 2003-04-29  André Pönitz  <poenitz@gmx.net>
6479
6480         * paragraph.h: make operator= private unimplemented as long as
6481           it is unusable
6482
6483         * ParagraphList.C: whitespace
6484
6485         * paragraph.[Ch]:
6486         * paragraph_pimpl.[Ch]:
6487         * paragraph_funcs.C:
6488         * CutAndPaste.C:
6489         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6490
6491         * text2.C:
6492           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6493
6494 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6495
6496         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6497         * paragraph.[Ch] (erase):
6498         * paragraph_pimpl.[Ch] (erase): change return type and value
6499         * text2.C (cutSelection): some rework
6500
6501 2003-04-28  John Levon  <levon@movementarian.org>
6502
6503         * bufferlist.C: changes for unsaved changes dialog
6504
6505 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * bufferlist.C (newFile): set language (messages_) for new
6508         documents also.
6509
6510         * buffer.C (readFile): ws changes only.
6511
6512 2003-04-28  André Pönitz  <poenitz@gmx.net>
6513
6514         * undo_funcs.C:
6515         * lyxfunc.C:
6516         * buffer.[Ch]:
6517         * BufferView_pimpl.C:
6518         * BufferView.C: getParFromID related ParagraphList::iterator changes
6519
6520 2003-04-28  André Pönitz  <poenitz@gmx.net>
6521
6522         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6523           Changes
6524
6525 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * messages.C: remove one more localedir class variable.
6528
6529 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * messages.C (getLocaleDir): singleton generation function
6532         (Pimpl): use it.
6533         (Messages): add a default constructor.
6534
6535         * main.C (main): do not setup localedir here, do not call
6536         gettext_init.
6537
6538         * gettext.C (_): use it.
6539         (gettext_init): delete funciton
6540
6541 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * gettext.C (getLyXMessages): new singleton generating function.
6544
6545         * buffer.C (updateDocLang): adjust
6546
6547         * Makefile.am (messages.o): add target
6548         (main.o): remove target
6549
6550 2003-04-27  John Levon  <levon@movementarian.org>
6551
6552         * bufferlist.C:
6553         * lyx_cb.C:
6554         * lyxfunc.C:
6555         * lyxvc.C: specify cancel button in Alert::prompt
6556
6557 2003-04-26  John Levon  <levon@movementarian.org>
6558
6559         * text3.C:
6560         * lyxfunc.C:
6561         * lfuns.h:
6562         * LyXAction.C: add LFUN_INSET_SETTINGS
6563
6564         * lyxfunc.C: don't enable tabular-feature when there's
6565         just any locking inset
6566
6567 2003-04-26  John Levon  <levon@movementarian.org>
6568
6569         * bufferlist.C: re-add Cancel to buffer close question
6570
6571         * lyxfunc.C: fix import UI a bit
6572
6573 2003-04-25  John Levon  <levon@movementarian.org>
6574
6575         * gettext.C: remove the broken asserts for now
6576
6577 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * messages.C: make case where setlocale cannot comply work better.
6580
6581         * buffer.C (updateDocLang): new function
6582         (changeLanguage): use it
6583         (readFile): use it
6584
6585         * text2.C (setCounter): use B_ a bit.
6586
6587         * lyxlayout.C (Read): be sure to trim the label strings.
6588
6589         * messages.C (Messages): fix typo in comment
6590
6591         * buffer.C (readFile): set message_ after file is loaded.
6592         (makeDocBookFile): remove double return
6593         (changeLanguage): reset message_ upon language change.
6594         (B_): new func, use this to get translated buffer strings.
6595
6596         * main.C: add myself and Jean Marc as authors.
6597
6598 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * messages.[hC]: pimplify Messages, and three different pimpls to be
6601         used in different circumstances.
6602
6603         * gettext.[Ch]: change for use with new message code.
6604
6605 2003-04-24 André Pönitz <poenitz@gmx.net>
6606
6607         * factory.C: support for eqref
6608
6609 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6610
6611         * messages.[Ch]: add missing char
6612
6613         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6614
6615         * messages.[Ch]: New files
6616
6617 2003-04-18  John Levon  <levon@movementarian.org>
6618
6619         * BufferView.h:
6620         * BufferView.C:
6621         * BufferView_pimpl.C:
6622         * lfuns.h:
6623         * LyXAction.C:
6624         * lyxtext.h:
6625         * text2.C: remove layout-copy/paste (bug 778)
6626
6627 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6628
6629         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6630
6631 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6632
6633         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6634         if they succeed. Act accordingly.
6635
6636 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * text2.C (setCharFont): adjust
6639         (setCounter): adjust
6640         (insertStringAsLines): adjust
6641
6642         * text.C (leftMargin): adjust
6643         (setHeightOfRow): adjust
6644
6645         * rowpainter.C (paintFirst): adjust
6646         (paintLast): adjust
6647
6648         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6649         (outerHook): ditto
6650         (isFirstInSequence): ditto
6651         (getEndLabel): ditto
6652         (outerFont): adjust
6653
6654         * paragraph.C (getParLanguage): comment out some hard stuff.
6655
6656         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6657         (sgmlError): ditto
6658         (simpleDocBookOnePar): ditto
6659         (makeDocBookFile): use ParagraphList::iterator
6660
6661         * CutAndPaste.C (pasteSelection): adjust
6662
6663 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * text2.C (getFont): adjust
6666         (getLayoutFont): adjust
6667         (getLabelFont): adjust
6668
6669         * paragraph_funcs.C (TeXOnePar): adjust
6670
6671         * buffer.C (simpleLinuxDocOnePar): adjust
6672         (simpleDocBookOnePar): adjust
6673
6674         * CutAndPaste.C (pasteSelection): adjust
6675
6676         * BufferView.C (getEncoding): adjust
6677
6678         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6679
6680 2003-04-16  John Levon  <levon@movementarian.org>
6681
6682         * lyxfind.C: use parlist stuff for search/changes
6683
6684 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6687
6688         * text2.C (deleteEmptyParagraphMechanism): adjust
6689
6690         * text2.[Ch] (ownerParagraph): delete func (both of them
6691
6692 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6695
6696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * ParagraphList.C: prepare for NO_NEXT
6699
6700 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * text2.C (getFont): adjust
6703         (getLayoutFont): adjust
6704         (getLabelFont): adjust
6705
6706         * paragraph.C (getFont): adjust
6707         (getLabelFont): adjust
6708         (getLayoutFont): adjust
6709
6710         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6711
6712 2003-04-15  John Levon  <levon@movementarian.org>
6713
6714         From Angus Leeming
6715
6716         * lyx_main.C: handle Include in .ui files
6717
6718 2003-04-15  John Levon  <levon@movementarian.org>
6719
6720         * MenuBackend.C: make the doc files length shorter
6721
6722         * ToolbarBackend.h:
6723         * ToolbarBackend.C: handle toolbar placement flags,
6724         Minibuffer
6725
6726 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6729         adjust
6730
6731         * paragraph_funcs.C (TeXOnePar): adjust
6732
6733         * paragraph.C (getLabelFont): add outerfont arg, adjust
6734         (getLayoutFont): ditto
6735         (simpleTeXOnePar): adjust
6736
6737         * paragraph_pimpl.C (realizeFont): delete func
6738
6739 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6740
6741         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6742         row argument, constify cur argument.
6743
6744 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * text2.C (getFont): adjust
6747         (getLayoutFont): adjust
6748         (getLabelFont): adjust
6749
6750         * paragraph_funcs.C (TeXOnePar): adjust
6751         (outerFont): new func...
6752         (realizeFont): ...moved out from here, changed this to facilitate
6753         transition
6754
6755         * paragraph.C (getFont): take outerfont as arg, adjust
6756         (simpleTeXOnePar): add outerfont arg, adjust
6757
6758         * buffer.C (simpleLinuxDocOnePar): adjust
6759         (simpleDocBookOnePar): adjust
6760
6761         * CutAndPaste.C (pasteSelection): adjust
6762
6763         * BufferView.C (getEncoding): adjust
6764
6765 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * text2.C (setCharFont): adjust
6768         (setCounter): adjust
6769
6770         * text.C (leftMargin): adjust
6771         (setHeightOfRow): adjust
6772
6773         * rowpainter.C (paintFirst): adjust
6774         (paintLast): adjust
6775
6776         * paragraph_pimpl.C (realizeFont): adjust
6777
6778         * paragraph.C (isFirstInSequence): move from here...
6779         * paragraph_funcs.C (isFirstInSequence): ...to here
6780
6781         * paragraph.C (outerHook): move from here...
6782         * paragraph_funcs.C (outerHook): ...to here
6783
6784         * paragraph.C (depthHook): move from here...
6785         * paragraph_funcs.C (depthHook): ...to here
6786
6787         * paragraph.C (getEndLabel): move from here...
6788         * paragraph_funcs.C (getEndLabel): ...to here
6789
6790         * text2.C (realizeFont): move from here...
6791         * paragraph_funcs.C (realizeFont): ...to here
6792
6793 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6796
6797 2003-04-14  Angus Leeming  <leeming@lyx.org>
6798
6799         * LColor.[Ch]: scrap LColor mathcursor.
6800
6801 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * lyxlex.[Ch] (text): delete function
6804         * trans.C (Load): adjust
6805         * paragraph_funcs.C (readParToken): adjust
6806
6807 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6810         vector<char> instead of a char[].
6811
6812         * lyxlex_pimpl.C (getString): adjust
6813         (next): adjust
6814         (lex): use getString
6815         (eatLine): adjust
6816         (nextToken): adjust
6817
6818         * lyxlex.C (text): use pimpl_->getString()
6819         (getBool): ditto
6820         (findToken): ditto
6821
6822 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6825         (makeFontEntriesLayoutSpecific): temp var for par.size()
6826         (setLayout): temp var for ownerParagraphs().end()
6827         (fullRebreak): temp var for rows().end()
6828         (selectionAsString): temp var for boost::next(startpit), realize
6829         that the while really is a regular for loop.
6830         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6831         setCursor in one place.
6832         (setParagraph): temp vr for ownerParagraphs().end()
6833         (updateCounters): make the while loop a for loop
6834         (cutSelection): temp var for ownerParagraphs().end()
6835         (updateInset): make the do {} while() a regular for loop
6836         (getCursorX): use temp vars
6837         (setCurrentFont): use temp vars
6838         (getColumnNearX): use temp vars
6839
6840 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * text.C (transformChar): use temp var for getChar
6843         (computeBidiTables): use temp var for row->par()
6844         (fill): move temp vars for row->par() and pit->layout() earlier in
6845         the function.
6846         (labelFill): use temp var for row->par()
6847         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6848         asc and desc, realize that pit never changes and that firstpit is
6849         just a duplicate and not needed. Exchange rit->par() with pit in a
6850         lot of places.
6851         (breakAgain): use a temp var for boost::next(rit)
6852         (breakAgainOneRow): ditto
6853         (breakParagraph): use a temp var for rows().begin()
6854         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6855         (cursorRightOneWord): use temp var for cursor.par() and
6856         cursor.pos(), remove usage of tmpcursor.
6857         (cursorLeftOneWord): use temp var for cursor.par() and
6858         cursor.pos() only set cur at end of function.
6859
6860 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * text.C, text2.C: exchange all usage of Paragraph::next with
6863         boost::next(ParagraphList::iterator)
6864
6865         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6866
6867         * text2.C (cursorTop): simplify implementation
6868         (cursorBottom): ditto
6869         (setParagraph): use ParagraphList::iterator
6870         (setCurrentFont): adjust
6871         (getColumnNearX): adjust
6872         (cursorRight): adjust
6873         (cursorLeft): remove usage of Paragraph::previous
6874         (cursorUpParagraph): ditto
6875         (deleteEmptyParagraphMechanism): slight cleanup
6876
6877         * text.C (isBoundary): take a Paragraph const & instead of a
6878         pointer as arg.
6879         (addressBreakPoint): ditto
6880         (leftMargin): remove usage of Paragraph::previous.
6881         (setHeightOfRow): ditto
6882         (cursorLeftOneWord): ditto
6883         (selectNextWordToSpellcheck): ditto
6884         (Delete): ditto
6885         (backspace): ditto
6886         (breakParagraph): remove one usage of Paragraph::next
6887         (redoParagraph): ditto
6888         (acceptChange): ditto
6889         (insertChar): adjust
6890         (rowBreakPoint): adjust
6891
6892         * bufferview_funcs.C (toggleAndShow): adjust
6893
6894 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6897         methods to access it.
6898         * lyxtext.h:
6899         * text.C: Added updateRowPositions to compute all row positions.
6900         Make top_y and getRowNearY() to use the cached y position
6901
6902 2003-04-11  John Levon  <levon@movementarian.org>
6903
6904         * text.C (rowBreakPoint): reintroduce the labelEnd
6905         checks, code copied from the row fill stuff. Deep voodoo.
6906
6907         * text.C (fill): add a comment and debugging for the
6908         next poor soul.
6909
6910 2003-04-11  John Levon  <levon@movementarian.org>
6911
6912         * text.C: make sure fullrow insets get wrapped to the next line,
6913         even when they're in a manual label
6914
6915 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * text2.C (insertParagraph): make it take ParagraphList::iterator
6918         as arg.
6919         (setLayout): make it return ParagraphList::iterator
6920         (redoParagraphs): ditto
6921         (setCounter): ditto
6922         (checkParagraph): ditto
6923
6924         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6925
6926         * text2.C: adjust several funcs.
6927         (realizeFont): take a ParagraphList::iterator as arg.
6928         (getLayoutFont): ditto
6929         (getLabelFont): ditto
6930         (setCharFont): ditto
6931
6932         * text.C: adjust several funcs.
6933
6934 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6935
6936         * text.C (selectNextWordToSpellcheck): don't accidentally
6937         skip insets
6938
6939 2003-04-10  John Levon  <levon@movementarian.org>
6940
6941         * ToolbarBackend.C (getIcon): special handling for
6942         LFUN_MATH_DELIM
6943
6944 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6945
6946         * text2.C (cursorRight): a getChar assert fixed
6947
6948 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * text2.C (getFont): change to take a ParagraphList::iterator
6951         instead of Paragraph*
6952         Adjust several functions.
6953
6954         * text.C (transformChar): change to take a ParagraphList::iterator
6955         instead of Paragraph*
6956         (singleWidth): ditto
6957         Adjust several functions.
6958
6959         * rowpainter.C: adjust several functions
6960         * rowpainter.h:store a ParagraphList::iterator and not a
6961         Paragraph&.
6962
6963
6964 2003-04-09  John Levon  <levon@movementarian.org>
6965
6966         * lyxfunc.C:
6967         * lfuns.h:
6968         * LyXAction.h:
6969         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6970         and the "help" bits as well
6971
6972 2003-04-09  John Levon  <levon@movementarian.org>
6973
6974         * ToolbarBackend.h:
6975         * ToolbarBackend.C: allow multiple toolbars
6976
6977 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * undo_funcs.C (setCursorParUndo): adjust
6980
6981         * text_funcs.C (transposeChars): adjust
6982
6983         * text3.C (gotoNextInset): adjust
6984         (dispatch): adjust
6985
6986         * text2.C (setLayout): adjust
6987         (changeDepth): adjust
6988         (setFont): adjust
6989         (redoParagraphs): adjust
6990         (selectionAsString): adjust
6991         (setParagraph): adjust
6992         (insertInset): adjust
6993         (cutSelection): adjust
6994         (copySelection): adjust
6995         (pasteSelection): adjust
6996         (insertStringAsLines): adjust
6997         (updateInset): adjust
6998         (setCursor): change to take a ParagraphList::iterator parameter
6999         (setCursorIntern): change to take a ParagraphList::iterator parameter
7000         (setCurrentFont): adjust
7001         (cursorLeft): adjust
7002         (cursorRight): adjust
7003         (deleteEmptyParagraphMechanism): adjust
7004
7005         * text.C (breakParagraph): adjust
7006         (insertChar): adjust
7007         (acceptChange): adjust
7008         (rejectChange): adjust
7009         (selectNextWordToSpellcheck): adjust
7010         (changeCase): adjust
7011         (Delete): adjust
7012         (backspace): adjust
7013
7014         * lyxfind.C (SearchForward): adjust
7015         (SearchBackward): adjust
7016         (nextChange): adjust
7017
7018         * lyxcursor.C (par): adjust
7019
7020         * lyxcursor.h: store a ParagraphList::iterator instead of a
7021         Paragraph*
7022
7023         * lyx_cb.C (getPossibleLabel): adjust
7024
7025         * bufferview_funcs.C (toggleAndShow): adjust
7026
7027         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7028         (dispatch): adjust
7029
7030         * BufferView.C (removeAutoInsets): adjust
7031         (lockedInsetStoreUndo): adjust
7032
7033 2003-04-09  John Levon  <levon@movementarian.org>
7034
7035         * ToolbarBackend.C: try icon without argument
7036         if with argument fails
7037
7038 2003-04-08  John Levon  <levon@movementarian.org>
7039
7040         * ToolbarBackend.h:
7041         * ToolbarBackend.C: add getIcon(), handle tooltip,
7042         and change from "Icon" to "Item".
7043
7044 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7045
7046         * BufferView.C (lockInset): another bad getchar crunched
7047
7048 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7049
7050         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7051         again)
7052
7053 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7054
7055         * lyxfind.C (searchForward, searchBackwards): bug 782
7056
7057 2003-04-07  John Levon  <levon@movementarian.org>
7058
7059         * paragraph.C: remove dead comment
7060
7061         * text.C: remove troublesome depth-fiddling code
7062         in leftMargin() and rightMargin() (bug 1017)
7063
7064         * text.C: fix breaking of rows in nested lists
7065         (bug 1004)
7066
7067         * text2.C (updateCounters): fix up depth values
7068         (bug 1013)
7069
7070 2003-04-07  John Levon  <levon@movementarian.org>
7071
7072         * BufferView_pimpl.C: clear message when doc finishes resizing,
7073         and after a mouse event
7074
7075         * lyxfunc.C: clear message after exiting inset
7076
7077 2003-04-07  John Levon  <levon@movementarian.org>
7078
7079         * bufferview_funcs.C: show math status not outside
7080         status in the statusbar
7081
7082 2003-04-07  John Levon  <levon@movementarian.org>
7083
7084         * lyxfunc.C: note status changed after a depth change
7085
7086 2003-04-04  Angus Leeming  <leeming@lyx.org>
7087
7088         * LaTeX.h: move AuxInfo operator==, != out of line.
7089         Remove LaTeX virtual destructor; nothing derives from it.
7090         Move operator()() out of public area and rename it startscript().
7091         Change protected for private.
7092
7093 2003-04-04  Angus Leeming  <leeming@lyx.org>
7094
7095         * lyxfunc.C:
7096         * text2.C: remove unneeded #includes.
7097
7098 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7099
7100         * text2.C (dEPM): fix the heigth of the next row
7101
7102 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7103
7104         * text.C: squashed an invalid getChar requester + some ws changes
7105
7106 2003-04-03  John Levon  <levon@movementarian.org>
7107
7108         * bufferview_funcs.h:
7109         * bufferview_funcs.C:
7110         * lyxfunc.C:
7111         * lyxtext.h:
7112         * text2.C: make getStatus work for the env depth lfuns
7113
7114 2003-04-03  John Levon  <levon@movementarian.org>
7115
7116         * bufferview_funcs.h:
7117         * bufferview_funcs.C:
7118         * lyxfunc.C:
7119         * lyxtext.h:
7120         * text2.C: parlistize decDepth(), by merging it with incDepth()
7121
7122 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * lyxrow.h: store a ParagraphList::iterator instead of a
7125         Paragraph* and adjust other class functions to suit.
7126
7127         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7128         above.
7129
7130 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7131
7132         * text2.C (setCursor): do not anchor to cursor row for the time being
7133
7134 2003-04-02  John Levon  <levon@movementarian.org>
7135
7136         * LyXAction.C:
7137         * lfuns.h:
7138         * lyx_main.C:
7139         * lyxtext.h:
7140         * text.C:
7141         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7142
7143 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * paragraph.h: make ParagraphList and ParagraphList::iterator
7146         friends of Paragraph.
7147
7148         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7149
7150         * ParagraphList.C: Use the private next_ and previous_ from
7151         Paragraph.
7152
7153 2003-04-01  John Levon  <levon@movementarian.org>
7154
7155         * ToolbarBackend.h:
7156         * ToolbarBackend.C:
7157         * Makefile.am: rename, remove defaults gunk
7158
7159         * MenuBackend.h:
7160         * MenuBackend.C: remove defaults gunk
7161
7162         * Languages.h:
7163         * Languages.C: remove defaults gunk
7164
7165         * lyx_main.h:
7166         * lyx_main.C: error out if files couldn't be found.
7167
7168 2003-04-02  John Levon  <levon@movementarian.org>
7169
7170         * text2.C: make incDepth() use parlist
7171
7172 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * undo_funcs.C (firstUndoParagraph): adjust
7175
7176         * text3.C (gotoInset): adjust
7177         (dispatch): adjust, and rewrite loop.
7178
7179         * text2.C (init): adjust, and rewrite loop.
7180         (redoParagraphs): adjust
7181         (updateInset): adjust, and rewrite loop.
7182         (deleteEmptyParagraphMechanism): adjust
7183
7184         * tabular.C (LyXTabular): adjust
7185         (SetMultiColumn): adjust
7186         (TeXRow): adjust
7187
7188         * lyxtext.[Ch] (ownerParagraph): delete function
7189         (ownerParagraphs): new function returns a ParagraphList.
7190
7191         * BufferView.C (removeAutoInsets): adjust
7192         (insertErrors): adjust
7193         (setCursorFromRow): adjust
7194
7195 2003-04-01  Angus Leeming  <leeming@lyx.org>
7196
7197         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7198         in the frontends.
7199
7200 2003-04-02  John Levon  <levon@movementarian.org>
7201
7202         * lyxtext.h:
7203         * text.C:
7204         * Makefile.am:
7205         * text_funcs.h:
7206         * text_funcs.C: make transposeChars a free function
7207
7208         * lyxrow_funcs.C: remove wrong comment
7209
7210 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * lyxtext.h: adjust
7213         * rowpainter.C: adjust
7214         * text.C: adjust
7215         * text2.C: adjust
7216         * text3.C: adjust
7217
7218         * lyxrow_funcs. [Ch]: new files
7219
7220         * lyxrow.[Ch]: remove next and previous pointers
7221         (next,previous): remove accessor functions
7222         (isParEnd): move to lyxrow_funcs
7223         (lastPos): move to lyxrow_funcs
7224         (nextRowIsAllInset): move to lyxrow_funcs
7225         (lastPrintablePos): move to lyxrow_funcs
7226         (numberOfSeparators): move to lyxrow_funcs
7227         (numberOfHfills): move to lyxrow_funcs
7228         (numberOfLabelHfills): move to lyxrow_funcs
7229         (hfillExpansion): move to lyxrow_funcs
7230
7231         * lyxfunc.C: adjust
7232
7233         * bufferview_funcs.C (toggleAndShow): adjust
7234
7235         * RowList.h: Remove class RowList from file leave just a
7236         std::list<Row>.
7237
7238         * RowList.C: delete file
7239
7240         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7241         and lyxrow_funcs.h
7242
7243 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * text3.C (cursorPrevious): adjust
7246         (cursorNext): adjust
7247         (dispatch): adjust
7248
7249         * text2.C (redoHeightOfParagraph): adjust
7250         (redoDrawingOfParagraph): adjust
7251         (setCursor): adjust
7252
7253         * text.C (breakParagraph): adjust
7254         (insertChar): adjust
7255         (backspace): adjust
7256
7257         * rowpainter.C (RowPainter): adjust
7258         (leftMargin): simplify and adjust
7259         (most rowpainter functions): adjust.
7260
7261         * rowpainter.h: store the row as RowList::iterator not as Row*
7262
7263         * lyxcursor.C (row): taka RowList::iterator as arg
7264         (irow): ditto
7265
7266         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7267         of Row*.
7268
7269 2003-04-01  Angus Leeming  <leeming@lyx.org>
7270
7271         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7272         stuff like bool Bool.
7273
7274 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7277         rewrite a loop
7278
7279 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7282         RowList::iterator.
7283
7284         * lyxtext.h (rows): drop one version and leve a const variant that
7285         returns a RowList::iterator.
7286
7287 2003-03-31  Angus Leeming  <leeming@lyx.org>
7288
7289         * text.C (fill): ensure that the signature is the same as that in the
7290         header file.
7291
7292 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * text2.C (redoParagraphs): adjust
7295         (updateCounters): adjust
7296         (checkParagraph): adjust
7297         (getColumnNearX): adjust and reformat a bit.
7298
7299         * text.C (top_y): adjust
7300         (workWidth): adjust
7301         (leftMargin): adjust
7302         (prepareToPrint): adjust
7303         (getRow): adjust
7304         (getRowNearY): adjust
7305
7306         * lyxtext.h: make rowlist_ mutable.
7307
7308         * RowList.h: add const_iterator
7309         * RowList.C: adjust for RowList::const_iterator.
7310
7311         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7312         adjust.
7313
7314 2003-03-31  John Levon  <levon@movementarian.org>
7315
7316         * lyxrc.h:
7317         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7318
7319         * lyx_main.C: set default fonts from using lyx_gui funcs
7320
7321         * exporter.C: pdf_mode moved from lyxrc
7322
7323         * lyx_cb.C:
7324         * lyxfunc.C: changes from above
7325
7326 2003-03-31  John Levon  <levon@movementarian.org>
7327
7328         * lyx_main.C: fix to the last fix
7329
7330 2003-03-31  John Levon  <levon@movementarian.org>
7331
7332         * bufferlist.C: "Load original" -> "Load Original"
7333
7334         * converter.C:
7335         * exporter.C:
7336         * importer.C:
7337         * lyx_main.C:
7338         * format.C: more Alert cleanups
7339
7340 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * text2.C (removeParagraph): make it take a RowList::iterator as
7343         arg, adjust.
7344         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7345         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7346
7347         * text.C (anchor_row): make it take a RowList::iterator as arg,
7348         adjust.
7349         (computeBidiTables): make it take a const reference to Row instead
7350         of Row pointer, adjust.
7351         (leftMargin): make it take a RowList::iterator as arg, adjust.
7352         (rowBreakPoint): adjust
7353         (breakAgainOneRow): make it take a RowList::iterator as arg,
7354         adjust.
7355         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7356
7357         * bufferview_funcs.C (toggleAndShow): adjust
7358
7359 2003-03-30  John Levon  <levon@movementarian.org>
7360
7361         * Makefile.am:
7362         * BoostFormat.h:
7363         * boost-inst.C: moved to support
7364
7365         * several files: changes as a result
7366
7367 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * text2.C (LyXText): adjust.
7370         (init): adjust
7371         (removeRow): make it take a RowList::iterator as arg, adjust.
7372         (fullRebreak): adjust
7373         (deleteEmptyParagraphMechanism): adjust
7374         (clearPaint): adjust
7375         (postPaint): adjust
7376
7377         * text.C (top_y): adjust
7378         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7379         (breakAgain): make it take a RowList::iterator as arg, adjust.
7380         (breakParagraph): adjust
7381         (insertChar): adjust
7382         (backspace): adjust
7383
7384         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7385         need_break_row, and refresh_row.
7386
7387         * text3.C (dispatch): adjust
7388
7389         * text2.C (checkParagraph): adjust
7390         (setCursor): adjust
7391         (setCursorFromCoordinates): adjust
7392
7393         * text.C (top_y): adjust
7394         (workWidth): adjust
7395         (getRow): make it return a RowList::iterator, adjust
7396         (getRowNearY): make it return a RowList::iterator, adjust
7397
7398         * text2.C (init): adjust
7399         (insertRow): remove function
7400         (insertParagraph): adjust
7401         (redoParagraphs): adjust
7402         (fullRebreak): adjust
7403         (updateCounters): adjust
7404
7405         * text.C (top_y): rewrite to use RowList iterators.
7406         (top_y): adjust
7407         (setHeightOfRow): rewrite to sue RowList iterators.
7408         (appendParagraph): adjust
7409         (breakAgain): adjust
7410         (breakAgainOneRow): adjust
7411         (breakParagraph): adjust
7412         (getRow): adjust
7413         (getRowNearY): adjust, and remove commented code.
7414
7415         * lyxtext.h (firstRow): delete function
7416         (lastRow): delete function
7417         (rows): new function (const and non-const versions.)
7418         (insertRow): delete function
7419
7420         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7421
7422 2003-03-29  John Levon  <levon@movementarian.org>
7423
7424         * BufferView_pimpl.C: always update scrollbar top
7425         because pasting text when we're anchored could mean we
7426         miss an update altogether
7427
7428 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * text2.C (init): use rowlist_.end() and not 0.
7431         (insertRow): change to take a RowList::iterator as arg, adjust
7432         for this.
7433         (insertParagraph): change to take a RowList::iterator as arg,
7434         adjust for this.
7435         (redoParagraphs): remove some debug msgs.
7436
7437         * text.C (appendParagraph): change to take a RowList::iterator
7438         arg, adjust for this.
7439         (breakAgain): add an assert
7440         (breakAgainOneRow): ditto
7441
7442 2003-03-29  John Levon  <levon@movementarian.org>
7443
7444         * text2.C: do not clear selection after inc/decDepth
7445         (bug 550)
7446
7447 2003-03-29  John Levon  <levon@movementarian.org>
7448
7449         * BufferView.C:
7450         * buffer.C: fix broken strerrors according to Lars
7451
7452 2003-03-29  John Levon  <levon@movementarian.org>
7453
7454         * converters.C: more Alert cleanups
7455
7456 2003-03-29  John Levon  <levon@movementarian.org>
7457
7458         * bufferview_funcs.C: remove pointless Alert
7459
7460         * buffer.C: fix confusing error message when
7461         a template is chmoded 000
7462
7463 2003-03-29  John Levon  <levon@movementarian.org>
7464
7465         * BufferView.C:
7466         * BufferView.h:
7467         * BufferView_pimpl.C: Alert fixes
7468
7469         * Makefile.am:
7470         * tabular.C:
7471         * tabular-old.C: remove unused table compat reading
7472
7473 2003-03-29  John Levon  <levon@movementarian.org>
7474
7475         * BufferView.C:
7476         * buffer.C:
7477         * lyx_cb.h:
7478         * lyx_cb.C: more Alert cleanups
7479
7480         * lyxfunc.C: don't allow chktex if not latex document
7481
7482 2003-03-29  John Levon  <levon@movementarian.org>
7483
7484         * lyx_cb.C:
7485         * BufferView.C:
7486         * buffer.C: warnings pushed down from support/,
7487         kill err_alert
7488
7489 2003-03-29  John Levon  <levon@movementarian.org>
7490
7491         * lyxfunc.C: safety check for C-r (revert)
7492
7493 2003-03-29  John Levon  <levon@movementarian.org>
7494
7495         * bufferlist.h:
7496         * bufferlist.C: several UI fixes using Alert::prompt.
7497         Fix the pointless looping quit code. Fix stupid revert
7498         behaviour (bug 938)
7499
7500         * lyxvc.h:
7501         * lyxvc.C:
7502         * lyx_cb.C: use Alert::prompt
7503
7504         * lyx_main.C: remove a silly question
7505
7506         * lyxfunc.C: remove a couple of silly questions,
7507         use Alert::prompt
7508
7509 2003-03-28  John Levon  <levon@movementarian.org>
7510
7511         * text2.C: fix bug 974 (End on empty par)
7512
7513 2003-03-28  John Levon  <levon@movementarian.org>
7514
7515         * BufferView_pimpl.C:
7516         * LyXAction.C:
7517         * lfuns.h: remove do-nothing math greek lfuns
7518
7519 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * lyxgluelength.h (isValidGlueLength): add default arg on
7522         parameter 2. Remove default arg from friend in class.
7523
7524         * lyxlength.h (isValidLength): add default arg on parameter 2.
7525         Remove default arg from friend in class.
7526
7527         * text2.C (LyXText): adjust, initialize refresh_row.
7528         (init): adjust
7529         (removeRow): adjust
7530         (insertRow): adjust
7531         (insertParagraph): adjst
7532         (redoParagraphs): adjust
7533         (fullRebreak): adjust
7534         (updateCounters): adjust
7535         (deleteEmptyParagraphMechanism): first attempt at fixing a
7536         crashing bug.
7537
7538         * text.C (top_y): adjust
7539         (setHeightOfRow): adjust
7540         (getRow): adjust
7541         (getRowNearY): adjust
7542
7543         * lyxtext.h: include RowList.h
7544         (~LyXText): not needed anymore, deleted.
7545         (firstRow): modify for RowList
7546         (lastRow): new function
7547         Delete firstrow and lastrow class variables, add a Rowlist
7548         rowlist_ class variable.
7549
7550         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7551         paragraph is empty.
7552
7553         * RowList.C (insert): fix case where it == begin().
7554
7555 2003-03-26  Angus Leeming  <leeming@lyx.org>
7556
7557         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7558         the thesaurus dialog.
7559
7560 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7563
7564         * RowList.[Ch]: new files
7565
7566         * ParagraphList.C (erase): handle the case where it == begin
7567         correctly.
7568
7569 2003-03-25  John Levon  <levon@movementarian.org>
7570
7571         * Makefile.am:
7572         * aspell_local.h:
7573         * aspell.C: add new aspell support
7574
7575         * lyxrc.h:
7576         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7577         have it accessible.
7578
7579 2003-03-25  Angus Leeming  <leeming@lyx.org>
7580
7581         * lfuns.h:
7582         * LyXAction.C (init): new LFUN_INSET_INSERT.
7583
7584         * BufferView_pimpl.C (dispatch): split out part of the
7585         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7586
7587         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7588         LFUN_INSET_APPLY.
7589
7590 2003-03-25  Angus Leeming  <leeming@lyx.org>
7591
7592         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7593
7594 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7595
7596         * text2.C:
7597         * text3.C: remove useless row->height(0)
7598
7599 2003-03-25  John Levon  <levon@movementarian.org>
7600
7601         * lyxtext.h:
7602         * text2.C:
7603         * text3.C: rename the refreshing stuff to better names
7604
7605 2003-03-24  John Levon  <levon@movementarian.org>
7606
7607         * BufferView_pimpl.h:
7608         * BufferView_pimpl.C: update layout choice on a mouse
7609         press/release
7610
7611 2003-03-23  John Levon  <levon@movementarian.org>
7612
7613         * Makefile.am: fix commandtags.h reference
7614
7615 2003-03-22  John Levon  <levon@movementarian.org>
7616
7617         * BufferView_pimpl.C:
7618         * lyxtext.h:
7619         * rowpainter.C:
7620         * rowpainter.h:
7621         * text.C:
7622         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7623
7624 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7625
7626         * lyxtext.h:
7627         * text.C: take the rtl methods out of line
7628
7629 2003-03-21 André Pönitz <poenitz@gmx.net>
7630
7631         * metricsinfo.[Ch]: new files containing structures to be passed around
7632         during the two-phase-drawing...
7633
7634 2003-03-21 André Pönitz <poenitz@gmx.net>
7635
7636         * lyxtextclass.C: read 'environment' tag.
7637
7638 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7639
7640         * text2.C (removeRow): fix bug 964
7641
7642 2003-03-20  John Levon  <levon@movementarian.org>
7643
7644         * rowpainter.C:
7645         * text.C:
7646         * text2.C: paint cleanups. Inset::update() dropped font
7647         parameter
7648
7649 2003-03-19  John Levon  <levon@movementarian.org>
7650
7651         * lyxfunc.C: only fitcursor/markDirty if available()
7652
7653 2003-03-19  John Levon  <levon@movementarian.org>
7654
7655         * commandtags.h: rename to ...
7656
7657         * lfuns.h: ... this, and renumber / cleanup
7658
7659 2003-03-19  John Levon  <levon@movementarian.org>
7660
7661         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7662         fit the cursor after an lfun
7663
7664         * BufferView.h:
7665         * BufferView.C:
7666         * BufferView_pimpl.h:
7667         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7668
7669         * LyXAction.C: layout-character should have ReadOnly
7670
7671         * ParagraphParameters.C:
7672         * buffer.C:
7673         * bufferview_funcs.C:
7674         * lyx_cb.C:
7675         * lyxfind.C:
7676         * lyxtext.h:
7677         * text.C:
7678         * text2.C:
7679         * text3.C:
7680         * undo_funcs.C: changes from above
7681
7682 2003-03-18  John Levon  <levon@movementarian.org>
7683
7684         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7685         remove it from update()
7686
7687         * lyxfunc.C: update layout choice after an lfun
7688
7689         * text3.C: remove extra updateLayoutChoice()s
7690
7691 2003-03-18  John Levon  <levon@movementarian.org>
7692
7693         * text.C: top_y change means full repaint, fix
7694         a drawing bug with cursor movement
7695
7696 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7697
7698         * lyxtext.h:
7699         * text.C:
7700         * text2.C: anchor row on setCursor
7701
7702 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7703
7704         * lyxtext.h: remove almost all mutable keywords
7705         * text.C:
7706         * text2.C:
7707         * text3.C: remove const keywords accordingly
7708
7709 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7712         anon namespace
7713         (TeXEnvironment): ditto
7714         (TeXOnePar): ditto
7715
7716 2003-03-17  John Levon  <levon@movementarian.org>
7717
7718         * text.C (rowBreakPoint): remove attempt to fix displayed
7719         math insets inside a manual label
7720
7721 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * lyxtext.h: remove BufferView* as first arg from almost all class
7724         functions.
7725         * other files: adjust.
7726
7727 2003-03-17  John Levon  <levon@movementarian.org>
7728
7729         * lyxtext.h:
7730         * undo_funcs.C:
7731         * text2.C: more paint cleanups
7732
7733         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7734
7735         * rowpainter.h:
7736         * rowpainter.C: remove "smart" background painting code
7737
7738 2003-03-16  John Levon  <levon@movementarian.org>
7739
7740         * lyxtext.h:
7741         * text.C:
7742         * text2.C:
7743         * text3.C: add helper functions for setting refresh_row/y
7744
7745 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7746
7747         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7748         newline inset which *can* get inserted in the pass_thru layouts.
7749         This is primarily for literate documents.
7750
7751 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7752
7753         * buffer.C: increment LYX_FORMAT to 223
7754
7755 2003-03-14 André Pönitz <poenitz@gmx.net>
7756
7757         * textclass.h: prepare for environment handling, ws changes
7758         * lyxlayout.C: read latexheader and latexfooter tags
7759
7760 2003-03-14  John Levon  <levon@movementarian.org>
7761
7762         * text2.C: rewrite ::status() a bit
7763
7764 2003-03-13  John Levon  <levon@movementarian.org>
7765
7766         * lyxtext.h: add some docs
7767
7768 2003-03-13  John Levon  <levon@movementarian.org>
7769
7770         * lyxtext.h:
7771         * text.C:
7772         * text2.C:
7773         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7774
7775 2003-03-13  John Levon  <levon@movementarian.org>
7776
7777         * text3.C: fix appendix redrawing
7778
7779 2003-03-13  John Levon  <levon@movementarian.org>
7780
7781         * text.C (setHeightOfRow):
7782         * rowpainter.h:
7783         * rowpainter.C: make appendix mark have the text
7784           "Appendix" so the user knows what it is
7785
7786         * LColor.h:
7787         * LColor.C: s/appendixline/appendix/ from above
7788
7789 2003-03-13  John Levon  <levon@movementarian.org>
7790
7791         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7792
7793         * text.C: fix a getChar(pos) bug properly
7794
7795 2003-03-13  Angus Leeming  <leeming@lyx.org>
7796
7797         * commandtags.h:
7798         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7799         Probably only temporary. Let's see how things pan out.
7800
7801         * BufferView.C (unlockInset):
7802         * BufferView_pimpl.C (fitCursor):
7803         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7804
7805         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7806         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7807
7808         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7809         new functions that convert ParagraphParameters to and from a string.
7810
7811         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7812         BufferView::Pimpl's dispatch.
7813         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7814
7815 2003-03-13 André Pönitz <poenitz@gmx.net>
7816
7817         * lyxfunc.C:
7818         * text3.C:
7819         * factory.C: make it aware of InsetEnv
7820
7821 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * text2.C (setCursor): never ask for one past last
7824         (setCursor): add some debugging messages.
7825
7826         * text.C (singleWidth): never ask for one past last
7827         (singleWidth): ditto
7828         (leftMargin): ditto
7829         (rightMargin): ditto
7830         (rowBreakPoint): ditto
7831         (setHeightOfRow): ditto
7832         (prepareToPrint): ditto
7833
7834         * rowpainter.C (paintBackground): never ask for one past last
7835         (paintText): never ask for one past last
7836
7837         * paragraph_pimpl.C (getChar): make the assert stricter, never
7838         allow the one past last pos to be taken
7839
7840         * paragraph.C (getChar): ws changes only
7841
7842         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7843         (numberOfSeparators): ditto
7844         (numberOfHfills): ditto
7845
7846 2003-03-12  John Levon  <levon@movementarian.org>
7847
7848         * author.h:
7849         * author.C:
7850         * bufferparams.h:
7851         * bufferparams.C:
7852         * paragraph_funcs.C: fix per-buffer authorlists
7853
7854 2003-03-12  John Levon  <levon@movementarian.org>
7855
7856         * text.C: fix newline in right address
7857
7858 2003-03-12  Angus Leeming  <leeming@lyx.org>
7859
7860         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7861         duplicate those in LyXFunc::dispatch.
7862
7863         * commandtags.h:
7864         * LyXAction.C:
7865         * ToolbarDefaults.C:
7866         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7867         Add LFUN_FONTFREE_UPDATE.
7868
7869         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7870         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7871
7872         * bufferview_func.[Ch]: several new functions to facilliate
7873         transfer of data to and from the character dialog.
7874
7875 2003-03-12  John Levon  <levon@movementarian.org>
7876
7877         * buffer.C:
7878         * paragraph.h:
7879         * paragraph.C:
7880         * paragraph_funcs.C:
7881         * paragraph_pimpl.C:
7882         * sgml.C:
7883         * tabular.C:
7884         * text.C:
7885         * text3.C: remove META_NEWLINE in favour of an inset
7886
7887         * rowpainter.h:
7888         * rowpainter.C: remove paintNewline (done by inset)
7889
7890 2003-03-12  John Levon  <levon@movementarian.org>
7891
7892         * paragraph_pimpl.C: complain about bad getChar()s
7893         for a while at least
7894
7895 2003-03-12  John Levon  <levon@movementarian.org>
7896
7897         * buffer.h:
7898         * buffer.C: move paragraph read into a separate function,
7899         a little renaming to reflect that.
7900
7901         * bufferparams.h:
7902         * bufferparams.C: remove the author_ids map, not necessary now
7903
7904         * factory.h:
7905         * factory.C: moved Buffer::readInset to here
7906
7907         * paragraph_funcs.h:
7908         * paragraph_funcs.C: readParagraph free function moved from
7909         buffer.C
7910
7911         * tabular.C: name change
7912
7913 2003-03-12  John Levon  <levon@movementarian.org>
7914
7915         * buffer.C:
7916         * ParagraphParameters.C: move par params input to
7917         a read() method
7918
7919         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7920         behave like a normal read from the stream wrt reading
7921         a line vs. a \\token
7922
7923 2003-03-12  John Levon  <levon@movementarian.org>
7924
7925         * paragraph.C:
7926         * ParagraphParameters.h:
7927         * ParagraphParameters.C: move output code to a
7928         ::write() method
7929
7930 2003-03-12  John Levon  <levon@movementarian.org>
7931
7932         * BufferView.C (insertLyXFile):
7933         * buffer.h:
7934         * buffer.C:
7935         * tabular.C: use a parlist iterator for creating the
7936           document.
7937
7938 2003-03-12  John Levon  <levon@movementarian.org>
7939
7940         * buffer.C: make current_change static local not
7941           static file-scope
7942
7943 2003-03-12  John Levon  <levon@movementarian.org>
7944
7945         * buffer.C: fix insertStringAsLines for change tracking
7946
7947 2003-03-12  John Levon  <levon@movementarian.org>
7948
7949         * BufferView.C:
7950         * tabular.C:
7951         * buffer.h:
7952         * buffer.C:
7953         * bufferparams.h:
7954         * bufferparams.C: move author list into params. Rename some
7955           functions. Move the header reading into a separate token
7956           loop. Move the header token reading into BufferParams.
7957
7958 2003-03-12  John Levon  <levon@movementarian.org>
7959
7960         * changes.C: put debug inside lyxerr.debugging() checks
7961
7962 2003-03-11 André Pönitz <poenitz@gmx.net>
7963
7964         * factory.C: make it aware of InsetHFill
7965
7966 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7967
7968         * buffer.C (latexParagraphs): move function from here...
7969         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7970         args.
7971
7972 2003-03-10  Angus Leeming  <leeming@lyx.org>
7973
7974         * LyXAction.C (init): fix bug in poplating array with multiple entries
7975         with the same LFUN (spotted by JMarc).
7976
7977 2003-03-10  John Levon  <levon@movementarian.org>
7978
7979         * text.C:
7980         * text2.C: move getColumnNearX() near its
7981         only call site
7982
7983 2003-03-10  John Levon  <levon@movementarian.org>
7984
7985         * text.C: fix break before a minipage
7986
7987 2003-03-10  John Levon  <levon@movementarian.org>
7988
7989         * text.C: fix the last commit
7990
7991 2003-03-09  John Levon  <levon@movementarian.org>
7992
7993         * lyxtext.h:
7994         * text.C:
7995         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7996         bug 365 (don't break before insets unless needed). Don't
7997         return a value > last under any circumstances.
7998
7999 2003-03-09  Angus Leeming  <leeming@lyx.org>
8000
8001         * BufferView_pimpl.C (trackChanges, dispatch): call
8002         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8003
8004 2003-03-09  Angus Leeming  <leeming@lyx.org>
8005
8006         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8007         than Dialogs::showAboutlyx().
8008
8009 2003-03-09  Angus Leeming  <leeming@lyx.org>
8010
8011         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8012         than Dialogs::showTabularCreate().
8013
8014 2003-03-09  John Levon  <levon@movementarian.org>
8015
8016         * lyxtext.h:
8017         * text.C:
8018         * text2.C: 3rd arg to nextBreakPoint was always the same.
8019           Use references.
8020
8021 2003-03-08  John Levon  <levon@movementarian.org>
8022
8023         * lyxrow.C:
8024         * paragraph.C:
8025         * paragraph.h:
8026         * rowpainter.C:
8027         * text.C:
8028         * text2.C: Remove the "main" bit from the "main body"
8029           notion.
8030
8031 2003-03-08  John Levon  <levon@movementarian.org>
8032
8033         * text.C (leftMargin): The left margin of an empty
8034         manual label paragraph should not include the label width
8035         string length.
8036
8037         * text.C (prepareToPrint): don't attempt to measure hfills
8038         for empty manual label paragraphs - the answer should be 0
8039
8040 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * CutAndPaste.C: remove commented code and reindent.
8043
8044 2003-03-08  John Levon  <levon@movementarian.org>
8045
8046         * lyxfunc.h:
8047         * lyxfunc.C: move reloadBuffer()
8048
8049         * BufferView.h:
8050         * BufferView.C: to here
8051
8052         * lyxvc.C: add comment
8053
8054         * vc-backend.h:
8055         * vc-backend.C: call bv->reload() to avoid
8056           getStatus() check on MENURELOAD
8057
8058 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8059
8060         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8061         to an old format .dep file.
8062
8063 2003-03-07  Angus Leeming  <leeming@lyx.org>
8064
8065         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8066         when the LFUN_MOUSE_RELEASE should have been handled by
8067         inset->localDispatch.
8068
8069 2003-03-07  Angus Leeming  <leeming@lyx.org>
8070
8071         * BufferView_pimpl.C (dispatch):
8072         * LyXAction.C (init):
8073         * ToolbarDefaults.C (init):
8074         * commandtags.h:
8075         * lyxfunc.C (getStatus):
8076         remove LFUN_INSET_GRAPHICS.
8077
8078         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8079
8080 2003-03-07  Angus Leeming  <leeming@lyx.org>
8081
8082         * commandtags.h:
8083         * LyXAction.C (init):
8084         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8085
8086         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8087
8088         * commandtags.h:
8089         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8090
8091         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8092         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8093
8094 2003-03-07  Angus Leeming  <leeming@lyx.org>
8095
8096         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8097         remove "ert".
8098
8099 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * ParagraphList.C (front): new function
8102         (back): implement
8103
8104 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8105
8106         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8107         and top_row_offset_. removed var first_y.
8108         * text.C (top_y):
8109         * text2.C (LyXText, removeRow):
8110         * text3.C:
8111         * BufferView_pimpl.C:
8112         use these methods instead of using first_y
8113
8114 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * text2.C (pasteSelection): adjust for checkPastePossible
8117
8118         * CutAndPaste.C: remove Paragraph * buf and replace with
8119         ParagraphList paragraphs.
8120         (DeleteBuffer): delete
8121         (cutSelection): change the tc type to textclass_type
8122         (copySelection): change the tc type to textclass_type
8123         (copySelection): adjust for ParagraphList
8124         (pasteSelection): change the tc type to textclass_type
8125         (pasteSelection): adjust for Paragraphlist
8126         (nrOfParagraphs): simplify for ParagraphList
8127         (checkPastePossible): simplify for ParagraphList
8128         (checkPastePossible): remove unused arg
8129
8130         * ParagraphList.C (insert): handle the case where there are no
8131         paragraphs yet.
8132
8133         * CutAndPaste.h: make CutAndPaste a namespace.
8134
8135         * text3.C (dispatch): adjust
8136
8137         * text.C (breakParagraph): add a ParagraphList as arg
8138
8139         * paragraph_funcs.C (breakParagraph): change to take a
8140         BufferParams and a ParagraphList as args.
8141         (breakParagraphConservative): ditto
8142         (mergeParagraph): ditto
8143         (TeXDeeper): add a ParagraphList arg
8144         (TeXEnvironment): ditto
8145         (TeXOnePar): ditto
8146
8147         * buffer.C (readLyXformat2): adjust
8148         (insertStringAsLines): adjust
8149         (latexParagraphs): adjust
8150
8151         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8152         (cutSelection): adjust
8153         (pasteSelection): adjust
8154
8155         * BufferView_pimpl.C (insertInset): adjust
8156
8157 2003-03-05  Angus Leeming  <leeming@lyx.org>
8158
8159         * commandtags.h:
8160         * LyXAction.C (init):
8161         * BufferView_pimpl.C (dispatch):
8162         * lyxfunc.C (getStatus):
8163         remove LFUN_CHILD_INSERT.
8164
8165         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8166
8167 2003-03-05  Angus Leeming  <leeming@lyx.org>
8168
8169         * commandtags.h:
8170         * LyXAction.C (init):
8171         * src/factory.C (createInset):
8172         * lyxfunc.C (getStatus):
8173         * text3.C (dispatch):
8174         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8175
8176         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8177
8178 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * ParagraphList.C (insert): handle insert right before end()
8181         (erase): fix cases where it can be first or last paragraph.
8182
8183 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8184
8185         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8186         Paragraph::next and Paragraph::previous
8187         (TeXOnePar): ditto
8188
8189         * text.C (breakParagraph): adjust
8190
8191         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8192         BufferParams& as arg.
8193         (breakParagraph): use ParagraphList::insert
8194         (breakParagraphConservative): take a Buffer* instead of a
8195         BufferParams& as arg.
8196         (breakParagraphConservative): use ParagraphList::insert.
8197
8198         * buffer.C (insertStringAsLines): un-const it
8199         (insertStringAsLines): adjust
8200
8201         * ParagraphList.C (insert): new function
8202
8203         * CutAndPaste.C (pasteSelection): adjust
8204
8205         * text.C (backspace): adjust
8206
8207         * tabular.C (SetMultiColumn): adjust
8208
8209         * CutAndPaste.C (cutSelection): adjust
8210         (pasteSelection): adjust
8211
8212         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8213         Buffer const * as arg
8214
8215         * ParagraphList.C (erase): new function
8216         * paragraph_funcs.C (mergeParagraph): use it
8217         (mergeParagraph): make it take a Buffer* instead of a
8218         BufferParams* as arg
8219
8220         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8221         as arg
8222         (breakParagraphConservative): ditto
8223
8224         * paragraph.h: remove the breakParagraph friend
8225
8226         * paragraph.C (eraseIntern): new function
8227         (setChange): new function
8228
8229         * paragraph_funcs.C (mergeParagraph): make it take a
8230         ParagraphList::iterator instead of a Paragraph *, adjust
8231         accordingly.
8232
8233         * paragraph.h: move an #endif so that the change tracking stuff
8234         also works in the NO_NEXT case.
8235
8236 2003-03-04  Angus Leeming  <leeming@lyx.org>
8237
8238         * commandtags.h:
8239         * LyXAction.C: new LFUN_INSET_MODIFY.
8240
8241         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8242         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8243
8244 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * several files: ws changes only
8247
8248         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8249         (TeXEnvironment): ditto
8250         (TeXDeeper): ditto
8251
8252         * buffer.C (makeLaTeXFile): adjust
8253         (latexParagraphs): make it take ParagraphList::iterator as args
8254
8255 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * buffer.C (latexParagraphs): adjust
8258
8259         * paragraph.C (TeXOnePar): move function...
8260         (optArgInset): move function...
8261         (TeXEnvironment): move function...
8262         * paragraph_pimpl.C (TeXDeeper): move function...
8263         * paragraph_funcs.C: ...here
8264
8265         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8266
8267 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * buffer.C (readInset): remove compability code for old Figure and
8270         InsetInfo insets
8271
8272 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8273
8274         * buffer.C: ws changes
8275         (readInset):
8276
8277         * BufferView_pimpl.C: ditto
8278         * author.C: ditto
8279         * buffer.h: ditto
8280         * bufferlist.h: ditto
8281         * changes.h: ditto
8282         * lyxfunc.C: ditto
8283
8284 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8285
8286         * converter.[Ch]: split into itself +
8287         * graph.[Ch]
8288         * format.[Ch]
8289         * Makefile.am: += graph.[Ch] + format.[Ch]
8290         * MenuBackend.C
8291         * buffer.C
8292         * exporter.C
8293         * importer.C
8294         * lyx_main.C
8295         * lyxfunc.C
8296         * lyxrc.C: added #include "format.h"
8297
8298 2003-02-27  Angus Leeming  <leeming@lyx.org>
8299
8300         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8301           a label.
8302
8303         * factory.C (createInset): add "label" to the factory.
8304
8305         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8306           string and do no more.
8307
8308 2003-02-27  Angus Leeming  <leeming@lyx.org>
8309
8310         * commandtags.h:
8311         * LyXAction.C (init):
8312         * factory.C (createInset):
8313         * BufferView_pimpl.C (dispatch):
8314           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8315
8316         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8317
8318         * lyxfunc.C (dispatch):
8319         * text3.C (dispatch): pass name to params2string.
8320
8321 2003-02-26  Angus Leeming  <leeming@lyx.org>
8322
8323         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8324           blocks together.
8325           Rearrange the ~includes. Strip out the unnecessary ones.
8326
8327         * factory.C (createInset): reformat.
8328           create new insets for the various LFUN_XYZ_APPLY lfuns.
8329
8330 2003-02-26  John Levon  <levon@movementarian.org>
8331
8332         * lyxrow.h:
8333         * lyxrow.C: add isParStart,isParEnd helpers
8334
8335         * paragraph.h: make isInserted/DeletedText take refs
8336
8337         * paragraph_funcs.h:
8338         * paragraph_funcs.C: remove #if 0'd code
8339
8340         * lyxtext.h:
8341         * text3.C:
8342         * text2.C:
8343         * text.C: use lyxrow helpers above.
8344           Move draw and paint routines to RowPainter.
8345           Make several methods use refs not pointers.
8346           Make backgroundColor() const.
8347           Add markChangeInDraw(), isInInset().
8348           Merge changeRegionCase into changeCase.
8349           Make workWidth() shouldn't-happen code into an Assert.
8350
8351         * rowpainter.h:
8352         * rowpainter.C: new class for painting a row.
8353
8354         * vspace.h:
8355         * vspace.C: make inPixels take a ref
8356
8357 2003-02-26  Angus Leeming  <leeming@lyx.org>
8358
8359         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8360         LFUN_REF_APPLY.
8361
8362 2003-02-25  John Levon  <levon@movementarian.org>
8363
8364         * ispell.C: give the forked command a more accurate name
8365
8366 2003-02-22  John Levon  <levon@movementarian.org>
8367
8368         * toc.h:
8369         * toc.C: make TocItem store an id not a Paragraph *
8370           (bug #913)
8371
8372 2003-02-21  Angus Leeming  <leeming@lyx.org>
8373
8374         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8375           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8376           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8377           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8378           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8379           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8380
8381         * BufferView_pimpl.C (dispatch):
8382         * LyXAction.C (init):
8383         * factory.C (createInset):
8384         * lyxfunc.C (getStatus, dispatch):
8385         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8386
8387 2003-02-21  Angus Leeming  <leeming@lyx.org>
8388
8389         * BufferView_pimpl.C (MenuInsertLyXFile):
8390         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8391         * lyxfunc.C (menuNew, open, doImport):
8392           no longer pass a LyXView & to fileDlg.
8393
8394 2003-02-21  Angus Leeming  <leeming@lyx.org>
8395
8396         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8397         * LyXAction.C: change, BIBKEY to BIBITEM.
8398         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8399         Change InsetBibKey to InsetBibitem.
8400         Change BIBKEY_CODE to BIBITEM_CODE.
8401         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8402         * factory.C: replace insetbib.h with insetbibitem.h.
8403         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8404         * paragraph.C: replace insetbib.h with insetbibitem.h.
8405         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8406         Change bibkey() to bibitem().
8407         * text.C: remove insetbib.h.
8408         * text2.C: replace insetbib.h with insetbibitem.h.
8409         change bibkey() to bibitem().
8410         * text3.C: remove insetbib.h.
8411         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8412
8413 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8414
8415         * lyxrc.C (output): enclose user email in quotes (in case there are
8416         several words)
8417
8418 2003-02-18  John Levon  <levon@movementarian.org>
8419
8420         * buffer.h: add std::
8421
8422 2003-02-17  John Levon  <levon@movementarian.org>
8423
8424         * SpellBase.h:
8425         * ispell.h:
8426         * ispell.C:
8427         * pspell.h:
8428         * pspell.C: reworking. Especially in ispell, a large
8429           number of clean ups and bug fixes.
8430
8431         * lyxfunc.C: fix revert to behave sensibly
8432
8433 2003-02-17 André Pönitz <poenitz@gmx.net>
8434
8435         * LyXAction.C:
8436         * commandtags.h: new LFUN_INSERT_BIBKEY
8437
8438         * layout.h:
8439         * lyxlayout.C:
8440         * buffer.C:
8441         * factory.C:
8442         * text.C:
8443         * text2.C:
8444         * text3.C:
8445         * paragraph.[Ch]:
8446         * paragraph_func.C: remove special bibkey handling
8447
8448 2003-02-17  John Levon  <levon@movementarian.org>
8449
8450         * text.C (Delete): fix case where delete at the end of
8451           the very first paragraph would not merge the pars
8452
8453 2003-02-17  John Levon  <levon@movementarian.org>
8454
8455         * lyxrow.C: fix lastPrintablePos()
8456
8457 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * bufferparams.C (writeLaTeX): add a std:here
8460
8461         * buffer.C: and remove a using directive there
8462
8463 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8464
8465         * buffer.C (makeLaTeXFile): move the code that generates the
8466           preamble...
8467
8468         * bufferparams.C (writeLaTeX): ... in this new method
8469
8470         * LaTeXFeatures.C (getEncodingSet): make const
8471           (getLanguages): make const
8472
8473         * MenuBackend.C (binding): returns the binding associated to this
8474           action
8475           (add): sets the status of each item by calling getStatus. Adds
8476           some intelligence.
8477           (read): add support for OptSubMenu
8478           (expand): remove extra separator at the end of expanded menu
8479
8480 2003-02-15  John Levon  <levon@movementarian.org>
8481
8482         * BufferView.C:
8483         * BufferView_pimpl.C:
8484         * bufferlist.h:
8485         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8486           inset code that had no actual effect. Remove unneeded status
8487           code.
8488
8489 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8490
8491         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8492           in preamble
8493
8494 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8495
8496         * text.C (drawLengthMarker): also draw an arrow marker for
8497           symbolic lengths (medskip...)
8498
8499 2003-02-14  John Levon  <levon@movementarian.org>
8500
8501         * tabular.h:
8502         * tabular.C: better method names
8503
8504 2003-02-14  John Levon  <levon@movementarian.org>
8505
8506         * BufferView_pimpl.C:
8507         * bufferlist.C:
8508         * buffer.C:
8509         * converter.C:
8510         * lyx_cb.C:
8511         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8512           it's a more accurate name. Remove some pointless uses.
8513
8514 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8515
8516         * text2.C (LyXText): change order of initilizers to shut off
8517           warnings
8518
8519 2003-02-14  John Levon  <levon@movementarian.org>
8520
8521         * buffer.C: use ParIterator for getParFromID()
8522
8523         * paragraph.h:
8524         * paragraph.C:
8525         * paragraph_pimpl.h:
8526         * paragraph_pimpl.C: remove unused getParFromID()
8527
8528 2003-02-14  John Levon  <levon@movementarian.org>
8529
8530         * buffer.C: remove some very old #if 0'd parse code
8531
8532 2003-02-13  John Levon  <levon@movementarian.org>
8533
8534         * text.h:
8535         * text.C:
8536         * text2.C: move hfillExpansion(), numberOfSeparators(),
8537           rowLast(), rowLastPrintable(), numberofHfills(),
8538           numberOfLabelHfills() ...
8539
8540         * lyxrow.h:
8541         * lyxrow.C: ... to member functions here.
8542
8543         * paragraph.h:
8544         * paragraph.C:
8545         * lyxtext.h:
8546         * text.C: remove LyXText::beginningOfMainBody(), and call
8547           p->beginningOfMainBody() directly. Move the check for
8548           LABEL_MANUAL into the latter.
8549
8550         * text.h:
8551         * text.C:
8552         * text2.C:
8553         * vspace.C:
8554         * BufferView.h:
8555         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8556
8557         * text.h:
8558         * text.C:
8559         * text2.C:
8560         * text3.C:
8561         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8562           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8563
8564 2003-02-13  John Levon  <levon@movementarian.org>
8565
8566         * CutAndPaste.C: remove debug
8567
8568 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8569
8570         * paragraph.C (asString): remove two unused variables
8571
8572         * lyxtextclass.C (readTitleType):
8573           (Read):
8574           (LyXTextClass): handle new members titletype_ and titlename_
8575
8576         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8577
8578 2003-02-09  John Levon  <levon@movementarian.org>
8579
8580         * buffer.h:
8581         * buffer.C: replace hand-coded list with a map for the dep clean
8582
8583 2003-02-08  John Levon  <levon@movementarian.org>
8584
8585         * LaTeX.C: consolidate code into showRunMessage() helper
8586
8587 2003-02-08  John Levon  <levon@movementarian.org>
8588
8589         * lyxfind.C:
8590         * lyxtext.h:
8591         * text2.C:
8592         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8593           and pass the size in explicitly
8594
8595         * BufferView_pimpl.h:
8596         * BufferView_pimpl.C:
8597         * BufferView.h:
8598         * BufferView.C: add getCurrentChange()
8599
8600         * BufferView_pimpl.h:
8601         * BufferView_pimpl.C: handle change lfuns
8602
8603         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8604           for changes. Mark pasted paragraphs as new.
8605
8606         * support/lyxtime.h:
8607         * support/lyxtime.C:
8608         * DepTable.C: abstract time_t as lyx::time_type
8609
8610         * LColor.h:
8611         * LColor.C: add colours for new text, deleted text, changebars
8612
8613         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8614           package use "usenames" option.
8615
8616         * commandtags.h:
8617         * lyxfunc.C:
8618         * LyXAction.C: add change lfuns
8619
8620         * Makefile.am:
8621         * author.h:
8622         * author.C: author handling
8623
8624         * buffer.h:
8625         * buffer.C: add a per-buffer author list, with first entry as
8626           current author. Handle new .lyx tokens for change tracking. Output
8627           author list to .lyx file. Output dvipost stuff to .tex preamble.
8628           Bump lyx format to 222.
8629
8630         * bufferlist.h:
8631         * bufferlist.C: add setCurrentAuthor() to reset current author details
8632           in all buffers.
8633
8634         * bufferparams.h:
8635         * bufferparams.C: add param for tracking
8636
8637         * bufferview_funcs.C: output change info in minibuffer
8638
8639         * Makefile.am:
8640         * changes.h:
8641         * changes.C: add change-tracking structure
8642
8643         * debug.h:
8644         * debug.C: add CHANGES debug flag
8645
8646         * lyxfind.h:
8647         * lyxfind.C: add code for finding the next change piece
8648
8649         * lyxrc.h:
8650         * lyxrc.C: add user_name and user_email
8651
8652         * lyxrow.h:
8653         * lyxrow.C: add a metric for the top of the text line
8654
8655         * lyxtext.h:
8656         * text.C: implement accept/rejectChange()
8657
8658         * lyxtext.h:
8659         * text.C: paint changebars. Paint new/deleted text in the chosen
8660         colours. Strike through deleted text.
8661
8662         * paragraph.h:
8663         * paragraph.C:
8664         * paragraph_pimpl.h:
8665         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8666           in the current change to the insert functions. Rework erase to
8667           mark text as deleted, adding an eraseIntern() and a range-based
8668           erase(). Implement per-paragraph change lookup and
8669           accept/reject.
8670
8671         * paragraph_funcs.C: Fixup paste for change tracking.
8672
8673         * tabular.C: mark added row/columns as new.
8674
8675         * text.C: fix rowLast() to never return -1. Don't allow
8676           spellchecking of deleted text. Track transpose changes. Don't
8677           allow paragraph break or merge where appropriate.
8678
8679         * text2.C: leave cursor at end of selection after a cut.
8680
8681 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8682
8683         * text.C (getLengthMarkerHeight):
8684         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8685         visible on screen too.
8686
8687 2003-02-07  John Levon  <levon@movementarian.org>
8688
8689         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8690
8691 2003-02-05  Angus Leeming  <leeming@lyx.org>
8692
8693         * lyxserver.C (read_ready): revert my patch of 11 September last year
8694         as it sends PC cpu through the roof. Presumably this means that
8695         the lyxserver will no longer run on an Alpha...
8696
8697 2003-01-30  Angus Leeming  <leeming@lyx.org>
8698
8699         * factory.C (createInset): create an InsetCommandParam of type "index"
8700         and use it to 'do the right thing'.
8701
8702         * text2.C (getStringToIndex): ensure that cursor position is always
8703         reset to the reset_cursor position.
8704
8705 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8706
8707         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8708         disabled.
8709
8710 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8711
8712         * bufferview.C:
8713         * lyxcb.C:
8714         * lyxfunc.C: Output messages with identical spelling, punctuation,
8715         and spaces
8716
8717 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8718
8719         * MenuBackend.C (expandFormats): List only viewable export formats
8720         in "View" menu
8721
8722         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8723         message
8724
8725         * lyxfunc.C (getStatus): Make sure that formats other than
8726         "fax" can also be disabled
8727
8728 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8729
8730         * text3.C (dispatch): put the lfuns that insert insets in 3
8731         groups, and call doInsertInset with appropriate arguments.
8732         (doInsertInset): new function, that creates an inset and inserts
8733         it according to some boolean parameters.
8734
8735 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8736
8737         * buffer.C (readFile): remember to pass on 'par' when calling
8738         readFile recursively.
8739
8740 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8741
8742         * MenuBackend.C (expandFormats): add "..." to import formats.
8743
8744 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8745
8746         * paragraph.C (asString): Remove XForms RTL hacks.
8747
8748 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8749         * buffer.C: fix typo
8750
8751 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8752
8753         * Makefile.am (LIBS): delete var
8754         (lyx_LDADD): add @LIBS@ here instead.
8755
8756 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8757
8758         * Clarify the meaning of "wheel mouse jump"
8759
8760 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8761
8762         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8763         tabular in a float
8764
8765 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8766
8767         * importer.C (Loaders): do not preallocate 3 elements in the
8768         vector, since one ends up with 6 elements otherwise
8769
8770 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * DepTable.C (write): write the file name as last element of the
8773         .dep file (because it may contain spaces)
8774         (read): read info in the right order
8775
8776 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8777
8778         * paragraph_pimpl.C (simpleTeXBlanks):
8779         (simpleTeXSpecialChars):
8780         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8781
8782         * tabular.C (latex): add some missing case statements. Reindent.
8783
8784         * MenuBackend.C (expandToc): remove unused variable.
8785
8786 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8787
8788         * LColor.C:
8789         * LaTeX.C:
8790         * LyXAction.C:
8791         * MenuBackend.C:
8792         * buffer.C:
8793         * exporter.C:
8794         * lyxfunc.C:
8795         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8796         and the like.
8797
8798 2003-01-05  John Levon  <levon@movementarian.org>
8799
8800         * BufferView.h:
8801         * BufferView.C: add getEncoding()
8802
8803         * kbsequence.h:
8804         * kbsequence.C: do not store last keypress
8805
8806         * lyxfunc.h:
8807         * lyxfunc.C: store last keypress here instead. Pass encoding
8808           to getISOEncoded()
8809
8810 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8811
8812         * lyx_main.C (init): remove annoying error message when following
8813         symbolic links (bug #780)
8814
8815 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8816
8817         * text.C (insertChar):
8818         * lyxrc.C (getDescription): remove extra spaces
8819
8820 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8821
8822         * lyxrc.C (getDescription): remove extra spaces
8823
8824 2002-12-20  John Levon  <levon@movementarian.org>
8825
8826         * text3.C: hack fix for page up/down across tall rows
8827
8828 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8829
8830         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8831         not been invoked
8832
8833 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8834
8835         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8836         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8837         thesaurus is not compiled in
8838
8839 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8840
8841         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8842
8843 2002-12-16  Angus Leeming  <leeming@lyx.org>
8844
8845         * lyxrc.[Ch]:
8846         * lyx_main.C (init): remove override_x_deadkeys stuff.
8847
8848 2002-12-12  John Levon  <levon@movementarian.org>
8849
8850         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8851           insert. Only remove shift modifier under strict
8852           circumstances.
8853
8854 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8855
8856         * MenuBackend.C (expandToc): fix crash.
8857
8858 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * MenuBackend.C (expandToc): gettext on float names.
8861
8862 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8863
8864         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8865         implement bool empty() [bug 490]
8866
8867 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8868
8869         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8870
8871 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8872
8873         * several files: ws changes
8874
8875 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8876
8877         * text2.C (setCounter): clean up a bit, use boost.format.
8878         (updateCounters): initialize par upon declaration.
8879
8880         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8881         if the layout exists. We do not just store the layout any more.
8882         (SwitchLayoutsBetweenClasses): use boost.format
8883
8884 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8885
8886         * converter.C (convert): if from and to files are the same, use a
8887         temporary files as intermediary
8888
8889 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8890
8891         * commandtags.h:
8892         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8893
8894 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8895
8896         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8897
8898 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8899
8900         * tabular.C (asciiPrintCell): use string(size, char) instead of
8901         explicit loop.
8902
8903         * sgml.C (openTag): fix order of arguments to string constructor
8904         (closeTag): ditto
8905
8906         * lyxfunc.C (dispatch): use boost.format
8907
8908         * lots of files: change "c" -> 'c'
8909
8910 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8911
8912         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8913
8914 2002-11-25  Angus Leeming  <leeming@lyx.org>
8915
8916         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8917
8918         * lyx_main.C (init): compile fix.
8919
8920 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * lyx_cb.C (start): boost.formatify
8923         do not include <iostream>
8924
8925         * lengthcommon.C: ws only
8926
8927         * boost-inst.C,BoostFormat.h: add more explict instantations
8928
8929 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8930
8931         * lots of files: handle USE_BOOST_FORMAT
8932
8933 2002-11-21  John Levon  <levon@movementarian.org>
8934
8935         * pspell.C: fix compile
8936
8937 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * lyxfunc.C (dispatch): use boost::format
8940         (open): ditto
8941         (doImport): ditto
8942
8943         * lyxfont.C (stateText): use boost::format
8944
8945         * lyx_main.C (LyX): use boost::format
8946         (init): ditto
8947         (queryUserLyXDir): ditto
8948         (readRcFile): ditto
8949         (parse_dbg): ditto
8950         (typedef boost::function): use the recommened syntax.
8951
8952         * importer.C (Import): use boost::format
8953
8954         * debug.C (showLevel): use boost::format
8955
8956         * converter.C (view): use boost::format
8957         (convert): ditto
8958         (move): ditto
8959         (scanLog): ditto
8960
8961         * bufferview_funcs.C (currentState): use boost::format
8962
8963         * bufferlist.C (emergencyWrite): use boost::format
8964
8965         * buffer.C (readLyXformat2): use boost::format
8966         (parseSingleLyXformat2Token): ditto
8967
8968         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8969
8970         * LaTeX.C (run): use boost::format
8971
8972         * Chktex.C (scanLogFile): use boost::format
8973
8974         * BufferView_pimpl.C (savePosition): use boost::format
8975         (restorePosition): ditto
8976         (MenuInsertLyXFile): ditto
8977
8978         * BoostFormat.h: help file for explicit instation.
8979
8980 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8981
8982         * tabular.C (latex): Support for block alignment in fixed width
8983         columns.
8984
8985 2002-11-17  John Levon  <levon@movementarian.org>
8986
8987         * BufferView_pimpl.C:
8988         * lyx_cb.C:
8989         * lyxfunc.C: split filedialog into open/save
8990
8991 2002-11-08  Juergen Vigna  <jug@sad.it>
8992
8993         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8994         by my last patch (hopefully).
8995
8996 2002-11-08  John Levon  <levon@movementarian.org>
8997
8998         * iterators.h:
8999         * iterators.C:
9000         * buffer.h:
9001         * buffer.C:
9002         * paragraph.h:
9003         * paragraph.C:
9004         * toc.h:
9005         * toc.C: ParConstIterator, and use it (from Lars)
9006
9007 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9008
9009         * lyxtextclass.[Ch]: revise and add doxygen comments
9010
9011 2002-11-07  John Levon  <levon@movementarian.org>
9012
9013         * text.C: fix progress value for spellchecker
9014
9015         * toc.C: fix navigate menu for insetwrap inside minipage
9016
9017         * paragraph_funcs.C: added FIXME for suspect code
9018
9019 2002-11-07  John Levon  <levon@movementarian.org>
9020
9021         * BufferView_pimpl.C: fix redrawing of insets
9022           on buffer switch
9023
9024 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * text2.C (updateCounters): fix bug 668
9027
9028 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9029
9030         * text3.C (dispatch): Do not make the buffer dirty when moving the
9031         cursor.
9032
9033 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * vc-backend.C: STRCONV
9036         (scanMaster): ditto
9037
9038         * text2.C (setCounter): STRCONV
9039
9040         * paragraph.C (asString): STRCONV
9041
9042         * lyxlength.C (asString): STRCONV
9043         (asLatexString): ditto
9044
9045         * lyxgluelength.C (asString): STRCONV
9046         (asLatexString): ditto
9047
9048         * lyxfunc.C (dispatch): STRCONV
9049         (open): ditto
9050
9051         * lyxfont.C (stateText): STRCONV
9052
9053         * importer.C (Import): STRCONV
9054
9055         * counters.C (labelItem): STRCONV
9056         (numberLabel): ditto
9057         (numberLabel): remove unused ostringstream o
9058
9059         * chset.C: STRCONV
9060         (loadFile): ditto
9061
9062         * bufferview_funcs.C (currentState): STRCONV
9063
9064         * buffer.C (readFile): STRCONV
9065         (asciiParagraph): ditto
9066         (makeLaTeXFile): ditto
9067
9068         * Spacing.C (writeEnvirBegin): STRCONV
9069
9070         * LaTeXFeatures.C (getLanguages): STRCONV
9071         (getPackages): ditto
9072         (getMacros): ditto
9073         (getBabelOptions): ditto
9074         (getTClassPreamble): ditto
9075         (getLyXSGMLEntities): ditto
9076         (getIncludedFiles): ditto
9077
9078         * LaTeX.C: STRCONV
9079         (run): ditto
9080         (scanAuxFile): ditto
9081         (deplog): ditto
9082
9083         * LString.h: add the STRCONV macros
9084
9085         * BufferView_pimpl.C (savePosition): STRCONV
9086         (restorePosition): ditto
9087         (MenuInsertLyXFile): ditto
9088
9089         * vc-backend.C (scanMaster): change from submatch[...] to
9090         submatch.str(...)
9091
9092         * funcrequest.C: include config.h
9093
9094         * factory.C: include config.h
9095
9096         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9097
9098         * box.C: include config.h
9099
9100         * LaTeX.C (scanAuxFile): change from submatch[...] to
9101         submatch.str(...)
9102         (deplog): ditto
9103
9104 2002-10-25  Angus Leeming  <leeming@lyx.org>
9105
9106         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9107
9108         * ispell.[Ch] (setError): new method.
9109         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9110         Use setError() insetead of goto END.
9111
9112         * lyx_cb.C (AutoSave): move out child process into new class
9113         AutoSaveBuffer.
9114
9115 2002-10-30  John Levon  <levon@movementarian.org>
9116
9117         * text3.C: make start appendix undoable
9118
9119 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9120
9121         * lyxlength.C (inPixels): Fix returned value.
9122
9123         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9124         environment.
9125
9126 2002-10-24  Angus Leeming  <leeming@lyx.org>
9127
9128         * lyxgluelength.h: no need to forward declare BufferParams
9129         or BufferView, so don't.
9130
9131 2002-10-21  John Levon  <levon@movementarian.org>
9132
9133         * BufferView.C: menuUndo ->undo, redo
9134
9135         * BufferView.h: document, remove dead, make some methods private
9136
9137         * paragraph_funcs.h:
9138         * paragraph_funcs.C:
9139         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9140
9141         * buffer.h:
9142         * buffer.C:
9143         * sgml.h:
9144         * sgml.C: move sgml open/close tag into sgml.C
9145
9146         * bufferview_funcs.h: unused prototype
9147
9148         * lyxfunc.h:
9149         * lyxfunc.C: remove unused
9150
9151         * lyxtext.h:
9152         * text.C: remove unused
9153
9154 2002-10-21  John Levon  <levon@movementarian.org>
9155
9156         * BufferView.h:
9157         * BufferView.C:
9158         * BufferView_pimpl.h:
9159         * BufferView_pimpl.C: fix mouse wheel handling based on
9160           patch from Darren Freeman
9161
9162 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9163
9164         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9165
9166 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9167
9168         * lyxlength.C (inPixels): Fix hanfling of negative length.
9169         Fix LyXLength::MU case.
9170
9171 2002-10-16  John Levon  <levon@movementarian.org>
9172
9173         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9174
9175 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9176
9177         * converter.C (view): add support for $$i (file name) and $$p
9178         (file path) for the viewer command. If $$i is not specified, then
9179         it is appended to the command (for compatibility with old syntax)
9180
9181 2002-10-14  Juergen Vigna  <jug@sad.it>
9182
9183         * undo_funcs.C (textHandleUndo): alter the order in which the
9184         new undopar is added to the LyXText, as we have to set first
9185         the right prev/next and then add it as otherwise the rebuild of
9186         LyXText is not correct. Also reset the cursor to the right paragraph,
9187         with this IMO we could remove the hack in "redoParagraphs()".
9188
9189 2002-10-09  Angus Leeming  <leeming@lyx.org>
9190
9191         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9192         to turn off an optimisation if a new inset is to be inserted.
9193
9194 2002-10-11 André Pönitz <poenitz@gmx.net>
9195
9196         * lyxtext.h: make some functions public to allow access
9197         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9198
9199 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9200
9201         * text3.C (dispatch): when changing layout, avoid an infinite loop
9202         [bug #652]
9203
9204 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9205
9206         * lyxrc.C (read): treat a viewer or converter command of "none" as
9207         if it were empty.
9208
9209         * MenuBackend.C (expandFormats): for an update, also allow the
9210         formats that are not viewable
9211
9212         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9213         script if it is newer than the lyxrc.defaults in user directory
9214
9215 2002-10-07 André Pönitz <poenitz@gmx.net>
9216
9217         * text.C: Vitaly Lipatov's small i18n fix
9218
9219 2002-09-25  Angus Leeming  <leeming@lyx.org>
9220
9221         * ispell.h: doxygen fix.
9222
9223 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9224
9225         * buffer.h (readFile): Add a new argument to the method, to allow
9226         reading of old-format templates.
9227
9228 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9229
9230         * toc.C (getTocList): Get TOC from InsetWrap.
9231
9232 2002-09-16  John Levon  <levon@movementarian.org>
9233
9234         * lyxfunc.C: check tabular for cut/copy too
9235
9236 2002-09-12  John Levon  <levon@movementarian.org>
9237
9238         * LyXAction.C: tidy
9239
9240         * factory.h:
9241         * factory.C: add header
9242
9243         * paragraph_funcs.h:
9244         * paragraph_funcs.C: cleanup
9245
9246 2002-09-11  John Levon  <levon@movementarian.org>
9247
9248         * PrinterParams.h: odd/even default to true
9249
9250 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9251
9252         * PrinterParams.h: update printer parameters for new xforms dialog
9253
9254 2002-09-11  Angus Leeming  <leeming@lyx.org>
9255
9256         * lyxserver.C (read_ready): re-write to make it more transparent
9257         and to make it work in coherent fashion under Tru64 Unix.
9258
9259 2002-09-11  André Pönitz <poenitz@gmx.net>
9260
9261         * commandtags.h:
9262         * LyXAction.C:
9263         * text3.C: implement LFUN_WORDSEL
9264
9265 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9266
9267         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9268         make floatlist_ a boost::shared_ptr<FloatList>
9269
9270         * lyxtextclass.C: include FloatList.h
9271         (LyXTextClass): initialize floatlist_
9272         (TextClassTags): add TC_NOFLOAT
9273         (Read): match "nofloat" to TC_NOFLOAT and use it.
9274         (readFloat): modify call to floatlist_
9275         (floats): ditto
9276         (floats): ditto
9277
9278         * FloatList.[Ch] (FloatList): remove commented out float
9279         initialization.
9280         (erase): new function
9281
9282 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9283
9284         * MenuBackend.C (expandToc): fix crash when there is no document
9285         open
9286
9287 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9288
9289         * many files: Add insetwrap.
9290
9291 2002-09-09  John Levon  <levon@movementarian.org>
9292
9293         * text2.C: remove confusing and awkward depth wraparound
9294
9295 2002-09-09  John Levon  <levon@movementarian.org>
9296
9297         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9298
9299         * buffer.h:
9300         * buffer.C: remove getIncludeonlyList()
9301
9302         * paragraph.C:
9303         * lyxfunc.C: remove headers
9304
9305 2002-09-09  Juergen Vigna  <jug@sad.it>
9306
9307         * text.C (getColumnNearX): fix form Michael this is most
9308         probably a cut&paste bug.
9309
9310 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9313
9314         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9315         references, ws changes.
9316
9317         * text2.C (init): update counters after init
9318         (insertParagraph): no need to set counter on idividual paragraphs.
9319         (setCounter): access the counters object in the textclass object
9320         on in the buffer object.
9321         (updateCounters): ditto
9322
9323         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9324         shared_ptr<Counters> to avoid loading counters.h in all
9325         compilation units.
9326         (LyXTextClass): initialize ctrs_
9327         (TextClassTags): add TC_COUNTER, and ...
9328         (Read): use it here.
9329         (CounterTags): new tags
9330         (readCounter): new function
9331         (counters): new funtion
9332         (defaultLayoutName): return a const reference
9333
9334         * counters.C (Counters): remove contructor
9335         (newCounter): remove a couple of unneeded statements.
9336         (newCounter): simplify a bit.
9337         (numberLabel): some small formatting changes.
9338
9339         * buffer.[Ch]: remove all traces of counters, move the Counters
9340         object to the LyXTextClass.
9341
9342 2002-09-06  Alain Castera  <castera@in2p3.fr>
9343
9344         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9345         package to set the horizontal alignment on fixed width columns.
9346
9347         * lyx_sty.C:
9348         * lyx_sty.h: added tabularnewline macro def.
9349
9350         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9351
9352 2002-09-06  John Levon  <levon@movementarian.org>
9353
9354         * LyXAction.C: tooltips for sub/superscript
9355
9356         * MenuBackend.C: a bit more verbose
9357
9358         * lyxfunc.C: tiny clean
9359
9360         * undo_funcs.C: document undo_frozen
9361
9362 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9363
9364         * counters.C (Counters): add missing algorithm counter.
9365
9366         * text2.C (setCounter): lookup the counter with layouts latexname
9367         instead of by section number.
9368         (setCounter): use a hackish way to lookup the correct enum
9369         counter.
9370         a float name->type change
9371         reset enum couners with counter name directly instead of depth value.
9372
9373         * counters.C (Counters): remove the push_backs, change to use the
9374         float type not the float name.
9375         (labelItem): remove unused string, float name->type change
9376
9377         * counters.h: don't include vector, loose the enums and sects vectors
9378
9379 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9380
9381         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9382         (Read): add float->TC_FLOAT to textclassTags
9383         (Read): and handle it in the switch
9384         (readFloat): new function
9385
9386         * FloatList.C (FloatList): comment out the hardcoded float
9387         definitions.
9388
9389         * lyxlayout.h: ws change.
9390
9391 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9392
9393         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9394
9395 2002-09-03  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.h: qualified name is not allowed in member
9398         declaration: WorkArea & Pimpl::workarea() const;
9399
9400         * factory.C: added using std::endl directive.
9401
9402         * text3.C: added using std::find and std::vector directives.
9403
9404 2002-08-29  André Pönitz <poenitz@gmx.net>
9405
9406         * lyxtext.h:
9407         * text2.C: remove unused member number_of_rows
9408
9409         * Makefile.am:
9410         * BufferView2.C: remove file, move contents to...
9411         * BufferView.C: ... here
9412
9413         * BufferView_pimpl.C:
9414         * factory.C: move more inset creation to factory
9415
9416         * vspace.C: avoid direct usage of LyXText, ws changes
9417
9418         * BufferView.[Ch]:
9419                 don't provide direct access to WorkArea, use two simple
9420                 acessors haveSelction() and workHeight() instead
9421
9422
9423 2002-08-29  John Levon  <levon@movementarian.org>
9424
9425         * BufferView_pimpl.C (dispatch): do not continue when
9426           no buffer
9427
9428 2002-08-28  André Pönitz <poenitz@gmx.net>
9429
9430         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9431
9432         * BufferView.h:
9433         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9434
9435 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9436
9437         * buffer.C: increment LYX_FORMAT to 221
9438
9439         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9440         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9441
9442         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9443
9444         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9445
9446 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * factory.C (createInset): use LyXTextClass::floats
9449
9450         * MenuBackend.C (expandFloatListInsert):
9451         (expandFloatInsert):
9452         (expandToc):
9453
9454         * text2.C (setCounter):
9455
9456         * LaTeXFeatures.C (useFloat):
9457         (getFloatDefinitions):
9458
9459         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9460
9461         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9462         floatlist_, with accessor floats().
9463
9464         * FloatList.h: remove global FloatList
9465
9466 2002-08-26  André Pönitz <poenitz@gmx.net>
9467
9468         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9469
9470         * BufferView.h:
9471         * BufferView2.C:
9472         * BufferView_pimpl.C:
9473         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9474
9475 2002-08-25  John Levon  <levon@movementarian.org>
9476
9477         * LyXAction.C: fix margin note description
9478
9479 2002-08-24  John Levon  <levon@movementarian.org>
9480
9481         * buffer.C:
9482         * bufferlist.C:
9483         * bufferview_funcs.C:
9484         * lyxfont.C:
9485         * undo_funcs.C: cleanups
9486
9487         * lyxfunc.C: disable CUT/COPY when no selection
9488
9489 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9490
9491         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9492         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9493
9494         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9495         Add backward compatibility to "mono", "gray" and "no".
9496
9497 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9498
9499         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9500         (and file_format >= 200).
9501
9502 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9505
9506 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9509
9510 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9511
9512         * BufferView_pimpl.C:
9513         * LyXAction.C:
9514         * buffer.C:
9515         * commandtags.h:
9516         * lyxfunc.C:
9517         * paragraph.[Ch]:
9518         * text2.C:
9519         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9520         inset and code to make it  work with the paragraph code. The inset
9521         can be anywhere in the paragraph, but will only do the expected
9522         thing in LaTeX if the layout file contains the parameter line
9523                         OptionalArgs    1
9524         (or more generally, a nonzero value) for that layout.
9525
9526 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * paragraph.h: remove the declaration of undefined counters class
9529         function.
9530
9531 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9532
9533         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9534         Dr. Richard Hawkins.
9535
9536 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9537
9538         * paragraph_funcs.h: remove some unneeded includes
9539
9540         * text.C (backspace): pasteParagraph now in global scipe
9541
9542         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9543         (pasteSelection): ditto
9544
9545         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9546         * paragraph_funcs.C (pasteParagraph): ... here
9547
9548 2002-08-20  André Pönitz <poenitz@gmx.net>
9549
9550         * commandtags.h: new LFUNs for swapping/copying table row/colums
9551
9552         * LyXAction.C:
9553         * lyxfunc.C: support for new lfuns
9554
9555 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * tabular.C:
9558         * buffer.[Ch]: remove NO_COMPABILITY stuff
9559
9560 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9561
9562         * boost.C (throw_exception): new file, with helper function for
9563         boost compiled without exceptions.
9564
9565         * paragraph.h:
9566         * lyxlength.C:
9567         * buffer.C:
9568         * ParameterStruct.h:
9569         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9570
9571         * bufferlist.C (emergencyWriteAll): use boost bind
9572
9573         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9574
9575         * text.C: include paragraph_funcs.h
9576         (breakParagraph): breakParagraph is now in global scope
9577
9578         * paragraph_funcs.[Ch]: new files
9579
9580         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9581         global scope
9582
9583         * buffer.C: include paragraph_funcs.h
9584         (insertStringAsLines): breakParagraph is now in global scope
9585
9586         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9587         paragraph_funcs.C
9588
9589         * CutAndPaste.C: include paragraph_funcs.h
9590         (cutSelection): breakParagraphConservative is now in global scope
9591         (pasteSelection): ditto
9592
9593         * buffer.h: declare oprator== and operator!= for
9594         Buffer::inset_iterator
9595
9596         * bufferlist.C (emergencyWrite): don't use fmt(...)
9597
9598         * text3.C: add using std::endl
9599
9600         * BufferView.C (moveCursorUpdate): remove default arg
9601
9602 2002-08-20  André Pönitz <poenitz@gmx.net>
9603
9604         * buffer.[Ch]: move inline functions to .C
9605
9606         * BufferView2.C:
9607         * BufferView_pimpl.C:
9608         * text.C:
9609         * buffer.[Ch]: use improved inset_iterator
9610
9611         * buffer.C:
9612         * paragraph.[Ch]: write one paragraph at a time
9613
9614 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9615
9616         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9617         style if style is not specified.
9618
9619 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * text2.C (setCounter): when searching for right label for a
9622         caption, make sure to recurse to parent insets (so that a caption
9623         in a minipage in a figure float works) (bug #568)
9624
9625 2002-08-20  André Pönitz <poenitz@gmx.net>
9626
9627         * text3.C: new file for LyXText::dispatch() and helpers
9628
9629         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9630
9631         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9632
9633 2002-08-19  André Pönitz <poenitz@gmx.net>
9634
9635         * lyxtext.h:
9636         * text.C: new LyXText::dispatch()
9637
9638         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9639
9640 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9643
9644         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9645         Hebrew text.
9646
9647 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * Makefile.am: use $(variables) instead of @substitutions@
9650
9651 2002-08-15  André Pönitz <poenitz@gmx.net>
9652
9653         * lyxfunc.C:
9654         * BufferView_pimpl.C: streamlining mathed <-> outer world
9655         interaction
9656
9657         * commandtags.h:
9658         * LyXAction.C: remove unused LFUN_MATH
9659
9660 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9661
9662         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9663
9664 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9665
9666         * paragraph.C (Paragraph): reformat a bit
9667         (cutIntoMinibuffer): use builtin InsetList function instad of
9668         doing it manually.
9669         (getInset): ditto
9670
9671         * buffer.C: include boost/bind.hpp, add using std::for_each
9672         (writeFileAscii): use ParagraphList iterators
9673         (validate): use for_each for validate traversal of paragraphs
9674         (getBibkeyList): use ParagraphList iterators
9675         (resizeInsets): use for_each to resizeInsetsLyXText for all
9676         paragraphs.
9677         (getParFromID): use ParagraphList iterators
9678
9679         * BufferView2.C (lockInset): use paragraph list and iterators
9680
9681 2002-08-14  John Levon  <levon@movementarian.org>
9682
9683         * lyxserver.C: remove spurious xforms include
9684
9685 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9688
9689 2002-08-13  André Pönitz <poenitz@gmx.net>
9690
9691         * LyXAction.[Ch]:
9692         * lyxfunc.C: further cleaning
9693
9694 2002-08-13  André Pönitz <poenitz@gmx.net>
9695
9696         * funcrequest.h: new constructor
9697
9698         * funcrequest.C: move stuff here from .h
9699
9700         * Makefile.am:
9701         * BufferView_pimpl.C:
9702         * LyXAction.C:
9703         * toc.C:
9704         * lyxfunc.C: subsequent changes
9705
9706         * lyxfunc.h: new view() member function
9707
9708         * lyxfunc.C: subsequent changes
9709
9710 2002-08-13  Angus Leeming  <leeming@lyx.org>
9711
9712         * BufferView2.C:
9713         * BufferView_pimpl.C:
9714         * buffer.C:
9715         * converter.C:
9716         * importer.C:
9717         * lyxfunc.C:
9718         * lyxvc.C:
9719         * toc.C:
9720         * vc-backend.C:
9721         changes due to the changed LyXView interface that now returns references
9722         to member variables not pointers.
9723
9724 2002-08-13  Angus Leeming  <leeming@lyx.org>
9725
9726         * WordLangTuple (word, lang_code): return references to strings,
9727         not strings.
9728
9729         * BufferView.h:
9730         * SpellBase.h:
9731         * lyxtext.h: forward-declare WordLangTuple.
9732
9733         * BufferView2.C:
9734         * ispell.C:
9735         * pspell.C:
9736         * text.C: #include "WordLangTuple.h".
9737
9738         * lyxtext.h:
9739         * text.C: (selectNextWordToSpellcheck): constify return type.
9740
9741 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9742
9743         * buffer.C:
9744         * buffer.h:
9745         * lyxtext.h:
9746         * paragraph.C:
9747         * paragraph_pimpl.h:
9748         * text.C:
9749         * text2.C:
9750         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9751         suggested by Angus.
9752         Made updateCounter always count from start of buffer, and removed
9753         second argument (par).
9754         Reverted floats number display to '#'. Perhaps I'll try again when the
9755         code base is sanitized a bit.
9756
9757 2002-08-12  Angus Leeming  <leeming@lyx.org>
9758
9759         * buffer.[Ch] (getLabelList): constify.
9760
9761 2002-08-07  André Pönitz <poenitz@gmx.net>
9762
9763         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9764
9765         * funcrequest.h: extension to keep mouse (x,y) position
9766
9767 2002-08-12  Juergen Vigna  <jug@sad.it>
9768
9769         * BufferView2.C (insertErrors): forbid undo when inserting error
9770         insets.
9771
9772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9773
9774 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9775
9776         * ParagraphList.[Ch]: new files
9777
9778         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9779
9780         * BufferView2.C (lockInset): ParagraphList changes
9781         * toc.C: ditto
9782         * text2.C: ditto
9783         * bufferlist.C: ditto
9784         * buffer.h: ditto
9785         * buffer.C: ditto
9786
9787 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9788
9789         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9790         unused class variable counter_,
9791
9792         * paragraph.[Ch] (getFirstCounter): delete unused function
9793
9794         * counters.C: include LAssert.h
9795         (reset): add a new function with no arg, change other version to
9796         not have def. arg and to not allow empty arg.
9797
9798         * text2.C (setCounter): remove empty arg from call to Counters::reset
9799
9800 2002-08-11  John Levon  <levon@movementarian.org>
9801
9802         * Makefile.am: add WordLangTuple.h
9803
9804 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9807         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9808
9809         * insets/insettext.C: InsetList changes
9810
9811         * graphics/GraphicsSupport.C (operator()): InsetList changes
9812
9813         * toc.C (getTocList): InsetList changes
9814
9815         * paragraph_pimpl.[Ch]: InsetList changes
9816
9817         * paragraph.[Ch]: InsetList changes
9818
9819         * buffer.C (inset_iterator): InsetList changes
9820         (setParagraph): ditto
9821         * buffer.h (inset_iterator): ditto
9822         * iterators.C (operator++): ditto
9823         * iterators.h: ditto
9824
9825         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9826
9827         * InsetList.[Ch]: new files, most InsetList handling moved out of
9828         paragraph.C.
9829
9830         * BufferView2.C (removeAutoInsets): InsetList changes
9831         (lockInset): ditto
9832         (ChangeInsets): ditto
9833
9834 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9835
9836         * paragraph_pimpl.h (empty): new function
9837
9838         * paragraph.[Ch] (empty): new function
9839
9840         * other files: use the new Paragraph::empty function
9841
9842 2002-08-09  John Levon  <levon@movementarian.org>
9843
9844         * lyxtext.h: remove unused refresh_height
9845
9846 2002-08-09  John Levon  <levon@movementarian.org>
9847
9848         * Makefile.am:
9849         * sgml.h:
9850         * sgml.C:
9851         * buffer.C:
9852         * paragraph.h:
9853         * paragraph.C: move sgml char escaping out of paragraph
9854
9855         * paragraph.h:
9856         * paragraph.C: remove id setter
9857
9858         * buffer.C:
9859         * paragraph.C:
9860         * paragraph_pimpl.C: remove dead tex_code_break_column
9861
9862         * bufferview_funcs.C: small cleanup
9863
9864         * lyxfunc.C: remove dead proto
9865
9866         * lyxtext.h: make some stuff private. Remove some dead stuff.
9867
9868         * lyxgluelength.C: make as[LyX]String() readable
9869
9870 2002-08-08  John Levon  <levon@movementarian.org>
9871
9872         * LyXAction.h:
9873         * LyXAction.C:
9874         * MenuBackend.C:
9875         * ToolbarDefaults.C:
9876         * lyxfunc.C:
9877         * lyxrc.C:
9878         * toc.C: lyxaction cleanup
9879
9880 2002-08-08  John Levon  <levon@movementarian.org>
9881
9882         * BufferView2.C: small cleanup
9883
9884         * lyxfind.h:
9885         * lyxfind.C: move unnecessary header into the .C
9886
9887 2002-08-08  John Levon  <levon@movementarian.org>
9888
9889         * funcrequest.h: just tedious nonsense
9890
9891         * lyx_main.h:
9892         * lyx_main.C: cleanups
9893
9894         * buffer.C:
9895         * vspace.C: remove dead header lyx_main.h
9896
9897 2002-08-07  Angus Leeming  <leeming@lyx.org>
9898
9899         * Paragraph.[Ch]:
9900         * paragraph_pimpl.h:
9901         Forward declare class Counters in paragraph.h by moving the ctrs member
9902         variable into Paragraph::Pimpl.
9903         (counters): new method, returning a reference to pimpl_->ctrs.
9904
9905         * text2.C: ensuing changes.
9906
9907 2002-08-07  John Levon  <levon@movementarian.org>
9908
9909         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9910
9911         * BufferView_pimpl.C: announce X selection on double/triple
9912           click
9913
9914         * lyx_main.C: use correct bool in batch dispatch
9915
9916         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9917
9918 2002-08-07  André Pönitz <poenitz@gmx.net>
9919
9920         * funcrequest.h: new class to wrap a kb_action and its argument
9921
9922         * BufferView.[Ch]:
9923         * BufferView_pimpl[Ch]:
9924         * LaTeX.C:
9925         * LyXAction.[Ch]:
9926         * lyxfunc.[Ch]:
9927         * lyxrc.C: subsequent changes
9928
9929
9930 2002-08-07  John Levon  <levon@movementarian.org>
9931
9932         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9933           document options change.
9934
9935 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9936
9937         * counters.[Ch]
9938         * text2.C
9939         * paragraph.[Ch]
9940         * makefile.am: move counters functionality over from
9941         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9942
9943 2002-08-06  John Levon  <levon@movementarian.org>
9944
9945         * WordLangTuple.h: new file for word + language code tuple
9946
9947         * SpellBase.h:
9948         * pspell.h:
9949         * pspell.C:
9950         * ispell.h:
9951         * ispell.C:
9952         * lyxtext.h:
9953         * text.C:
9954         * text2.C:
9955         * BufferView.h:
9956         * BufferView2.C: use WordLangTuple
9957
9958         * layout.h:
9959         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9960
9961 2002-08-06  John Levon  <levon@movementarian.org>
9962
9963         * lyx_main.C: fix cmdline batch handling
9964
9965 2002-08-06  André Pönitz <poenitz@gmx.net>
9966
9967         * lyxrc.C: set default for show_banner to true
9968
9969 2002-08-06  John Levon  <levon@movementarian.org>
9970
9971         * pspell.C: fix a crash, and allow new aspell to work
9972
9973 2002-08-06  John Levon  <levon@movementarian.org>
9974
9975         * lyxfunc.C:
9976         * kbmap.C: small cleanup
9977
9978         * vspace.h:
9979         * vspace.C: add const
9980
9981 2002-08-05  John Levon  <levon@movementarian.org>
9982
9983         * LyXAction.C: back to tabular-insert
9984
9985 2002-08-04  John Levon  <levon@movementarian.org>
9986
9987         * BufferView.h:
9988         * BufferView.C: cosmetic change
9989
9990         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9991
9992         * bufferlist.C:
9993         * buffer.h:
9994         * buffer.C:
9995         * lyxcb.h:
9996         * lyxcb.C:
9997         * lyxserver.C:
9998         * lyxvc.C:
9999         * vc-backend.C:
10000         * BufferView2.C: purge all "Lyx" not "LyX" strings
10001
10002         * lyxcursor.h:
10003         * lyxcursor.C: attempt to add some documentation
10004
10005         * lyxfunc.C:
10006         * commandtags.h:
10007         * LyXAction.C:
10008         * ToolbarDefaults.C:
10009         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10010           merge with LFUN_TABULAR_INSERT
10011
10012         * Makefile.am:
10013         * SpellBase.h:
10014         * ispell.h:
10015         * ispell.C:
10016         * pspell.h:
10017         * pspell.C: split up i/pspell implementations into separate
10018           files, many cleanups
10019
10020         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10021
10022         * text2.C: some cleanup
10023
10024         * lyxfunc.C: don't check for isp_command == "none" any more, it
10025           didn't make any sense
10026
10027 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10028
10029         * counters.[Ch]
10030         * text2.C
10031         * paragraph.[Ch]
10032         * makefile.am: move counters functionality over
10033         from text2.C/paragraph.[Ch] to counters.[Ch], and
10034         make proper C++.
10035 2002-08-02  John Levon  <levon@movementarian.org>
10036
10037         * buffer.C: s/lyxconvert/lyx2lyx/
10038
10039 2002-08-02  Angus Leeming  <leeming@lyx.org>
10040
10041         * lyxlex.C: revert John's change as it breaks reading of the user
10042         preamble.
10043
10044 2002-08-02  Angus Leeming  <leeming@lyx.org>
10045
10046         * importer.C (Import):
10047         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10048         changes due to LyXView::view() now returning a boost::shared_ptr.
10049
10050 2002-08-02  John Levon  <levon@movementarian.org>
10051
10052         * lyxlex.C: small cleanup
10053
10054 2002-08-02  John Levon  <levon@movementarian.org>
10055
10056         * text2.C (status): small cleanup, no logic change
10057
10058 2002-08-01  John Levon  <levon@movementarian.org>
10059
10060         * buffer.h:
10061         * buffer.C (writeFile): don't output alerts, caller
10062           handles this
10063
10064         * bufferlist.C:
10065         * lyx_cb.C: from above
10066
10067         * lyxfunc.C: allow to open non-existent files
10068
10069 2002-07-31  John Levon  <levon@movementarian.org>
10070
10071         * lyxserver.C: don't let incidental errors get
10072           in the way (errno)
10073
10074 2002-07-30  John Levon  <levon@movementarian.org>
10075
10076         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10077
10078 2002-07-30  John Levon  <levon@movementarian.org>
10079
10080         * lyxserver.h:
10081         * lyxserver.C: remove I/O callback too
10082
10083 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10086         log.
10087
10088 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10089
10090         * many files: strip,frontStrip -> trim,ltrim,rtrim
10091
10092 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10093
10094         * PrinterParams.h: remove extern containsOnly, and include
10095         support/lstrings.h instead.
10096
10097         * LaTeX.C (scanAuxFile): modify because of strip changes
10098         (deplog): ditto
10099         * buffer.C (makeLaTeXFile): ditto
10100         * bufferparams.C (writeFile): ditt
10101         * lyxfont.C (stateText): ditto
10102         * lyxserver.C (read_ready): ditto
10103         * vc-backend.C (scanMaster): ditto
10104
10105         * BufferView_pimpl.h: ws changes
10106
10107         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10108
10109 2002-07-26  André Pönitz <poenitz@gmx.net>
10110
10111         * kb_sequence.C: remove unnedred usings
10112
10113 2002-07-26  Juergen Vigna  <jug@sad.it>
10114
10115         * lyxfind.C (LyXReplace): we have to check better if the returned
10116         text is not of theLockingInset()->getLockingInset().
10117
10118 2002-07-25  Juergen Vigna  <jug@sad.it>
10119
10120         * lyxfind.C (LyXReplace): don't replace if we don't get the
10121         right LyXText.
10122
10123         * undo_funcs.C (createUndo): remove debugging code.
10124
10125 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10126
10127         * buffer.C (parseSingleLyXformat2Token): Use default placement
10128         when reading old floats.
10129
10130         * FloatList.C (FloatList): Change the default placement of figure
10131         and tables to "tbp".
10132
10133 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * MenuBackend.C: using std::max
10136
10137 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10138
10139         * MenuBackend.C (expandToc):
10140         (expandToc2): code moved from xforms menu frontend. It is now
10141         generic and TOCs are transparent to menu frontends.
10142
10143 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * toc.C (getTocList): protect against buf=0
10146
10147         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10148         Menu as first parameter. Now, this calls itself recursively to
10149         expand a whole tree (this will be useful for TOC handling)
10150         (expandFloatInsert): remove 'wide' version of floats
10151
10152         * MenuBackend.h (submenuname): returns the name of the submenu.
10153         (submenu): returns the submenu itself, provided it has been
10154         created by MenuBackend::expand
10155
10156 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10159         insets which have noFontChange == true. (bug #172)
10160
10161 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * BufferView_pimpl.C: add connection objects and use them...
10164         (Pimpl): here.
10165
10166 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * MenuBackend.C (expandLastfiles):
10169         (expandDocuments):
10170         (expandFormats):
10171         (expandFloatListInsert):
10172         (expandFloatInsert):
10173         (expand): split expand in parts
10174
10175 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * lyx_gui.C: use lyx_gui::exit()
10178
10179 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * LyXAction.C: show the failing pseudo action
10182
10183 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10184
10185         * buffer.C (readFile): Run the lyxconvert script in order to read
10186         old files.
10187
10188 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * LyXAction.C:
10191         * commandtags.h:
10192         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10193
10194 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * LyXAction.C:
10197         * commandtags.h:
10198         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10199
10200 2002-07-22  Herbert Voss  <voss@lyx.org>
10201
10202         * lengthcommon.C:
10203         * lyxlength.[Ch]: add support for the vertical lengths
10204
10205 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * toc.[Ch]: std:: fixes
10208
10209 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10210
10211         * lyxrc.C: do not include lyx_main.h
10212
10213         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10214         for layouts
10215
10216         * lyxrc.C:
10217         * encoding.C:
10218         * bufferlist.C:
10219         * BufferView2.C: include "lyxlex.h"
10220
10221         * tabular.h:
10222         * bufferparams.h: do not #include "lyxlex.h"
10223
10224         * lyxtextclasslist.C (Add): remove method
10225         (classlist): renamed to classlist_
10226
10227         * paragraph_pimpl.C:
10228         * paragraph.C:
10229         * text2.C:
10230         * CutAndPaste.C:
10231         * bufferview_funcs.C:
10232         * bufferlist.C:
10233         * text.C:
10234         * LaTeXFeatures.C:
10235         * buffer.C:
10236         * toc.C (getTocList): use BufferParams::getLyXTextClass
10237
10238         * toc.C (getTocList): use InsetFloat::addToToc
10239
10240         * toc.[Ch]: new files, containing helper functions to handle table
10241         of contents
10242
10243         * lyxfunc.C (dispatch): no need to remove spaces around command
10244         given as a string
10245         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10246         first command of the sequence; it is not very clever, but I do not
10247         have a better idea, actually
10248
10249         * LyXAction.C (LookupFunc): make sure to remove space at the
10250         beginning and end of the command
10251
10252 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * MenuBackend.C (getMenubar): new method: return the menubar of
10255         this menu set
10256         (read): treat differently reading of menu and menubar (in
10257         particular, the menubar has no name now)
10258         (Menu::menubar): remove
10259
10260         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10261         saving is finished
10262
10263 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10266         a bibitem inset in a RTL paragraph.
10267
10268 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * paragraph_pimpl.C: constify
10271
10272         * BufferView_pimpl.C:
10273         * LaTeX.C:
10274         * lyxfunc.C: fix dispatch in a nicer way
10275
10276 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * lyxfunc.C (dispatch):
10279         * BufferView_pimpl.C:
10280         * BufferView_pimpl.h:
10281         * BufferView.C:
10282         * BufferView.h: rename Dispatch() to dispatch()
10283
10284         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10285
10286         * lyxlayout.C (Read): honor DependsOn tag
10287
10288         * lyxlayout.[Ch] (depends_on): new method
10289
10290         * version.C.in: update lyx_docversion
10291
10292         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10293
10294         * paragraph.C (validate): remove from here...
10295         * paragraph_pimpl.C (validate): ... and move here
10296         (isTextAt): make it const
10297
10298         * buffer.C (getLists): ws cleanup
10299
10300 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10301
10302         * language.C (read): Use iso8859-1 encoding in latex_lang
10303         (this prevents LyX from crashing when using iso10646-1 encoding).
10304
10305 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * text2.C (toggleInset): if cursor is inside an inset, close the
10308         inset and leave cursor _after_ it
10309
10310 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10311
10312         * lyxfunc.C: move minibuffer completion handling out of here
10313
10314 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * BufferView_pimpl.C:
10317         * LaTeX.C: fix dispatch calls
10318
10319 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10320
10321         * text.C (drawChars): Fix Arabic text rendering.
10322
10323 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * LyXAction.C:
10326         * commandtags.h:
10327         * lyxfunc.C: remove message-push/pop
10328
10329         * lyxserver.C:
10330         * lyxfunc.h:
10331         * lyxfunc.C: rationalise some code by removing verboseDispatch
10332           in favour of a bool argument to dispatch()
10333
10334 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * lyx_main.C (init): make sure to read symlinks as absolute paths
10337
10338 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10339
10340         * lyxfunc.h:
10341         * lyxfunc.C: no need for commandshortcut to be a member
10342
10343 2002-07-15  André Pönitz <poenitz@gmx.net>
10344
10345         * converter.C: add support for $$s (scripts from lib/scripts dir)
10346         * lyx_main.C: white space
10347
10348 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * bufferlist.C:
10351         * lyxrc.h:
10352         * lyxrc.C: remove second exit confirmation
10353
10354 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * BufferView.h:
10357         * BufferView.C:
10358         * BufferView2.C:
10359         * BufferView_pimpl.h:
10360         * BufferView_pimpl.C:
10361         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10362
10363 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * MenuBackend.C (expand): add numeric shortcuts to document menu
10366
10367         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10368
10369 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * lyxfont.C (setLyXFamily):
10372         (setLyXSeries):
10373         (setLyXShape):
10374         (setLyXSize):
10375         (setLyXMisc):
10376         (lyxRead):
10377         * debug.C (value):
10378         * buffer.C (asciiParagraph): use ascii_lowercase
10379
10380 2002-07-15  Mike Fabian  <mfabian@suse.de>
10381
10382         * lyxlex_pimpl.C (search_kw):
10383         * lyxlex.C (getLongString):
10384         * converter.h (operator<):
10385         * converter.C (operator<):
10386         * buffer.C (parseSingleLyXformat2Token):
10387         (asciiParagraph):
10388         * ToolbarDefaults.C (read):
10389         * MenuBackend.C (checkShortcuts):
10390         (read):
10391         * LColor.C (getFromGUIName):
10392         (getFromLyXName): use the compare_ascii_no_case instead of
10393         compare_no_case, because in turkish, 'i' is not the lowercase
10394         version of 'I', and thus turkish locale breaks parsing of tags.
10395
10396 2002-07-16  Angus Leeming  <leeming@lyx.org>
10397
10398         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10399         now takes a Buffer const & argument.
10400
10401 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * BufferView.C (resize): check there's a buffer to resize
10404
10405 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * lyxfunc.C: remove dead code
10408
10409         * lyxserver.h:
10410         * lyxserver.C: use lyx_guii::set_read_callback
10411
10412 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10415         an inset in a RTL paragraph.
10416
10417 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * lyxfunc.C: repaint after a font size update
10420
10421 2002-07-15  André Pönitz <poenitz@gmx.net>
10422
10423         * lyxlength.C: inBP should be able to return negative values
10424
10425 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * lyxfunc.C: use lyx_gui::update_fonts()
10428
10429 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * lyxfunc.C: use lyx_gui::update_color()
10432
10433 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * bufferlist.C:
10436         * lyxfunc.h:
10437         * lyxfunc.C:
10438         * lyxrc.h:
10439         * lyxrc.C: remove file->new asks for name option, and let
10440           buffer-new take an argument
10441
10442 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * BufferView_pimpl.C: remove unneeded extra repaint()
10445
10446 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * LyXAction.C: allow command-sequence with NoBuffer
10449
10450         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10451
10452 2002-07-10  Angus Leeming  <leeming@lyx.org>
10453
10454         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10455
10456 2002-07-09  Angus Leeming  <leeming@lyx.org>
10457
10458         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10459
10460 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * lengthcommon.h: whitespace
10463
10464         * lyxfunc.C: update scrollbar after goto paragraph
10465
10466         * lyxtext.h: factor out page break drawing, and fix it so
10467           page break/added space paints as selected nicely
10468
10469 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * BufferView_pimpl.C: add FIXMEs, clean up a little
10472
10473 2002-07-09  André Pönitz <poenitz@gmx.net>
10474
10475         * lyxfont.[Ch]: support for wasy symbols
10476
10477 2002-07-08  André Pönitz <poenitz@gmx.net>
10478
10479         * BufferView_pimpl.C: apply John's patch for #93.
10480
10481 2002-07-05  Angus Leeming  <leeming@lyx.org>
10482
10483         * BufferView_pimpl.C (buffer): generate previews if desired.
10484
10485         * LColor.h: add "preview" to the color enum.
10486
10487         * LColor.C (LColor): add a corresponding entry to the items array.
10488
10489         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10490         with this buffer.
10491
10492 2002-07-05  Angus Leeming  <leeming@lyx.org>
10493
10494         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10495         The body of the code is now in the method that is passed an ostream &
10496         rather than a file name.
10497         Pass an additional only_preamble parameter, useful for the forthcoming
10498         preview stuff.
10499
10500 2002-07-03  André Pönitz <poenitz@gmx.net>
10501
10502         * lyxfunc.C: simplify getStatus() a bit for math stuff
10503
10504 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10507
10508 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * text.C (changeRegionCase): do not change case of all the
10511         document when region ends at paragraph end (bug #461)
10512
10513 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10514
10515         * paragraph.C (startTeXParParams):
10516         (endTeXParParams): add \protect when necessary
10517
10518 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * BufferView_pimpl.C (workAreaExpose): remove warning
10521
10522 2002-06-27  Angus Leeming  <leeming@lyx.org>
10523
10524         * Makefile.am: add lyxlayout_ptr_fwd.h.
10525
10526 2002-06-26  André Pönitz <poenitz@gmx.net>
10527
10528         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10529
10530 2002-06-25  Angus Leeming  <leeming@lyx.org>
10531
10532         * lyxfunc.C (dispatch): Comment out the call to
10533         grfx::GCache::changeDisplay. The method no longer exists now that the
10534         pixmap generation part of the graphics loader has been moved into
10535         InsetGraphics.
10536
10537 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10538
10539         * text2.C: layout as layout
10540
10541         * text.C: layout as layout
10542
10543         * tabular.C (OldFormatRead): layout as layout
10544
10545         * paragraph_pimpl.C (TeXDeeper): layout as layout
10546         (realizeFont): layout as layout
10547
10548         * paragraph.C (writeFile): layout as layout
10549         (validate): layout as layout
10550         (getFont): layout as layout
10551         (getLabelFont): layout as layout
10552         (getLayoutFont): layout as layout
10553         (breakParagraph): layout as layout
10554         (stripLeadingSpaces): layout as layout
10555         (getEndLabel): layout as layout
10556         (getMaxDepthAfter): layout as layout
10557         (applyLayout): layout as layout
10558         (TeXOnePar): layout as layout
10559         (simpleTeXOnePar): layout as layout
10560         (TeXEnvironment): layout as layout
10561         (layout): layout as layout
10562         (layout): layout as layout
10563
10564         * lyxtextclass.C (compare_name): new functor to work with
10565         shared_ptr, layout as layout
10566         (Read): layout as layout
10567         (hasLayout): layout as layout
10568         (operator): layout as layout
10569         (delete_layout): layout as layout
10570         (defaultLayout): layout as layout
10571
10572         * lyxlayout_ptr_fwd.h: new file
10573
10574         * lyxlayout.C (Read): layout as layout
10575
10576         * lyx_cb.C (MenuInsertLabel): layout as layout
10577
10578         * bufferlist.C (newFile): layout as layout
10579
10580         * buffer.C (readLyXformat2): layout as layout
10581         (parseSingleLyXformat2Token): layout as layout
10582         (insertStringAsLines): layout as layout
10583         (asciiParagraph): layout as layout
10584         (latexParagraphs): layout as layout
10585         (makeLinuxDocFile): layout as layout
10586         (simpleLinuxDocOnePar): layout as layout
10587         (makeDocBookFile): layout as layout
10588         (simpleDocBookOnePar): layout as layout
10589         (getLists): layout as layout
10590
10591         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10592
10593         * CutAndPaste.C (cutSelection): layout as layout
10594         (pasteSelection): layout as layout
10595         (SwitchLayoutsBetweenClasses): layout as layout
10596
10597         * BufferView_pimpl.C (Dispatch): layout as layout
10598         (smartQuote): layout as layout
10599
10600         * BufferView2.C (unlockInset): layout as layout
10601
10602 2002-06-24  André Pönitz <poenitz@gmx.net>
10603
10604         * lyxfunc.C: fix #487
10605
10606 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10607
10608         * lyxrc.h:
10609         * lyxrc.C:
10610         * lyxfunc.C: remove display_shortcuts, show_banner
10611
10612 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * Buffer_pimpl.C: oops, update on resize
10615
10616 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * buffer.C:
10619         * converter.C:
10620         * exporter.C:
10621         * lyxfunc.C:
10622         * BufferView.h:
10623         * BufferView.C: use repaint()
10624
10625         * BufferView_pimpl.h:
10626         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10627           as it's a clearer description. Remove superfluous
10628           redraws.
10629
10630 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * text.C: fix bug 488. Not ideal, but getting
10633           getWord() to work properly for the insets that
10634           matter is more difficult ...
10635
10636 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * BufferView_pimpl.C:
10639         * LyXAction.C:
10640         * commandtags.h:
10641         * lyxfunc.C: remove the six million index lyxfuncs to just
10642           one, and DTRT (bug 458)
10643
10644 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * BufferView.h:
10647         * BufferView.C:
10648         * BufferView_pimpl.h:
10649         * BufferView_pimpl.C: clean up resize() stuff,
10650           and unnecessary updateScreen()s
10651
10652 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * BufferView.h:
10655         * BufferView.C:
10656         * BufferView_pimpl.h:
10657         * BufferView_pimpl.C:
10658         * lyxfind.h:
10659         * lyxfind.C:
10660         * minibuffer.C: remove focus management of workarea,
10661           not needed. Use screen's greyOut()
10662
10663 2002-06-17  Herbert Voss  <voss@lyx.org>
10664
10665         * converter.C: (convert) do not post a message, when converting
10666         fails, let the calling function decide what to do in this case
10667
10668 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * lyxfunc.C: tidy up a little
10671
10672 2002-06-16    <alstrup@diku.dk>
10673
10674         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10675         Got rid of FORMS_H_LOCATION include. Now we are
10676         GUII.
10677
10678 2002-06-15  LyX Development team  <lyx@rilke>
10679
10680         * buffer.[Ch] (sgmlOpenTag):
10681         (sgmlCloseTag): Added support for avoiding pernicious mixed
10682         content. Return number of lines written.
10683
10684         (makeLinuxDocFile):
10685         (makeDocBookFile): Fixed calls to sgml*Tag.
10686         Simple white space clean.
10687
10688         (simpleDocBookOnePar): Simple white space clean.
10689
10690         * tabular.[Ch] (docBook): Renamed to docbook and got another
10691         argument to related with the pernicious mixed content.
10692
10693         (docbookRow): Fixed calls for docbook inset method.
10694
10695 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10696
10697         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10698         so it's X11 independent.
10699
10700         * kb*.[Ch]: ditto.
10701
10702         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10703
10704 2002-06-15  Lyx Development team  <lyx@electronia>
10705
10706         * intl.h: Renamed getTrans to getTransManager.
10707
10708 2002-06-14  Angus Leeming  <leeming@lyx.org>
10709
10710         * Makefile.am: nuke forgotten stl_string_fwd.h.
10711
10712 2002-06-12  Angus Leeming  <leeming@lyx.org>
10713
10714         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10715
10716 2002-06-13  Angus Leeming  <leeming@lyx.org>
10717
10718         * LaTeX.C:
10719         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10720
10721 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10722
10723         * kbmap.C (getiso): add support for cyrillic and greek
10724
10725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * BufferView.h:
10728         * BufferView.C:
10729         * BufferView_pimpl.h:
10730         * BufferView_pimpl.C: move bogus scrolling logic
10731           to xforms
10732
10733 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * lyxfunc.C:
10736         * BufferView_pimpl.C: view->resize() change
10737
10738 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * BufferView_pimpl.C: topCursorVisible
10741           prototype change
10742
10743 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * Makefile.am:
10746         * lyx_gui.h:
10747         * lyx_gui.C: move to frontends/
10748
10749         * main.C:
10750         * lyx_main.h:
10751         * lyx_main.C: changes from above
10752
10753 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * intl.C:
10756         * intl.h:
10757         * kbmap.C:
10758         * kbsequence.C:
10759         * lyx_cb.C:
10760         * lyx_main.C: minor tidy
10761
10762 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * BufferView_pimpl.h:
10765         * BufferView_pimpl.C:
10766         * BufferView.h:
10767         * BufferView.C: make painter() const,
10768           remove dead code
10769
10770         * BufferView2.C: use screen() accessor
10771
10772         * lyx_main.h:
10773         * lyx_main.C: some minor cleanup
10774
10775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * BufferView_pimpl.h:
10778         * BufferView_pimpl.C: remove enter/leaveView,
10779           use workHeight()
10780
10781 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * BufferView.h:
10784         * BufferView.C:
10785         * BufferView2.C:
10786         * BufferView_pimpl.h:
10787         * BufferView_pimpl.C: only construct screen once,
10788           rename
10789
10790         * lyxrc.C: remove pointless comment
10791
10792 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * BufferView.h:
10795         * BufferView.C: remove active() and belowMouse()
10796
10797         * BufferView_pimpl.h:
10798         * BufferView_pimpl.C: use workarea() not workarea_,
10799           and make it use a scoped_ptr instead
10800
10801 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * lyx_gui.C: add debug message on BadWindow
10804
10805 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * sp_spell.C: fdopen is not part of the C++ standard.
10808
10809         * paragraph.C (InsetIterator): use >= instead of ==
10810
10811 2002-06-07  Angus Leeming  <leeming@lyx.org>
10812
10813         Fixes needed to compile with Compaq cxx 6.5.
10814         * BufferView_pimpl.C:
10815         * DepTable.C:
10816         * buffer.C:
10817         * converter.C:
10818         * encoding.C:
10819         * lyx_gui.C:
10820         * lyx_main.C:
10821         * lyxtextclasslist.C:
10822         * minibuffer.C:
10823         * sp_spell.C:
10824         * tabular_funcs.C:
10825         * vc-backend.C:
10826         all c-library variables have been moved into namespace std. Wrap
10827         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10828
10829         * lyxlength.C:
10830         * tabular-old.C:
10831         * tabular.C:
10832         Add a using std::abs declaration.
10833
10834         * kbmap.h (modifier_pair):
10835         * paragraph.h (InsetTable, InsetList):
10836         * lyxfont.h (FontBits):
10837         type definition made public.
10838
10839         * bufferlist.C (emergencyWriteAll): the compiler complains that
10840         there is more than one possible lyx::class_fun template to choose from.
10841         I re-named the void specialisation as lyx::void_class_fun.
10842
10843         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10844
10845         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10846         the compiler is is unable to find tostr in write_attribute.
10847
10848 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * buffer.C (sgmlError): hide #warning
10851
10852 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10853
10854         * xtl/*: get rid of xtl, which is not in use anyway
10855
10856         * LyXAction.C (init):
10857         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10858         were unimplemented xtl experimentation
10859
10860 2002-06-04  André Pönitz <poenitz@gmx.net>
10861
10862         * lyxfunc.C: disable array operation on simple formulae
10863
10864 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * converter.C: constify a bit
10867
10868 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyx_gui.C: check xforms version correctly
10871
10872 2002-04-30  Herbert Voss  <voss@lyx.org>
10873
10874         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10875         "keep" option
10876
10877 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10880           attempt to register it with a VCS)
10881
10882 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * lyx_main.C (init): honor variables LYX_DIR_13x and
10885         LYX_USERDIR_13x
10886
10887 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * buffer.h:
10890         * buffer.C:
10891         * lyx_main.C: fix a crash on bad command line,
10892           and give a useful exit status on error
10893
10894         * lyxfunc.C (doImport): allow -i lyx to work
10895
10896 2002-03-30  André Pönitz <poenitz@gmx.net>
10897
10898         * lyxfunc.C: mathed font changes
10899
10900 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * LaTeX.C:
10903         * importer.h:
10904         * importer.C:
10905         * lyx_sty.h:
10906         * lyx_sty.C:
10907         * lyxlex.C:
10908         * lyxrow.h:
10909         * lyxtext.h:
10910         * paragraph.h:
10911         * paragraph.C:
10912         * texrow.h:
10913         * texrow.C:
10914         * text.C:
10915         * trans_mgr.h: srcdocs, and some minor cleanups
10916
10917 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10918
10919         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10920         call getFont all the time)
10921
10922 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10923
10924         * switch from SigC signals to boost::signals
10925
10926 2002-05-29  André Pönitz <poenitz@gmx.net>
10927
10928         * paragraph_pimpl.C (getChar): don't call size() too often...
10929
10930 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * paragraph_pimpl.C (insertChar): do not try to update tables when
10933         appending (pos == size())
10934
10935         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10936         in order to reduce drastically the number of comparisons needed to
10937         parse a large document
10938
10939 2002-05-29  André Pönitz <poenitz@gmx.net>
10940
10941         * text.C:
10942         * text2.C:
10943         * lyxtextclass.C:
10944         * sp_pspell.h:
10945         * textclasslist.[Ch]:
10946         * sp_ispell.h: whitespace change
10947
10948 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10949
10950         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10951         lyxaction directly now.
10952
10953 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * trans.C:
10956         * lyxfont.C:
10957         * lyxvc.C: remove unused headers
10958
10959 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * Makefile.am:
10962         * buffer.h:
10963         * undostack.h:
10964         * undostack.C:
10965         * undo_funcs.h:
10966         * undo_funcs.C: some cleanups. Use shared_ptr
10967           and a template for the undo stacks.
10968
10969 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView_pimpl.h:
10972         * BufferView_pimpl.C:
10973         * kbmap.h:
10974         * kbmap.C:
10975         * kbsequence.h:
10976         * kbsequence.C:
10977         * lyxfunc.h:
10978         * lyxfunc.C:
10979         * text2.C: use key_state/mouse_state
10980
10981 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10984         and LSubstring
10985
10986         * chset.C: change include order
10987         (loadFile): use boost regex and get rid of LRegex and LSubstring
10988
10989         * Makefile.am (BOOST_LIBS): new variable
10990         (lyx_LDADD): use it
10991
10992         * LaTeX.C: change include order.
10993         (scanAuxFile): use boost regex and get rid of LRegex and
10994         LSubstring
10995         (deplog): ditto
10996
10997 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10998
10999         * ColorHandler.h:
11000         * ColorHandler.C:
11001         * FontInfo.h:
11002         * FontInfo.C: moved to frontends/xforms/
11003
11004         * FontLoader.h:
11005         * FontLoader.C: moved into frontends for GUIIzation
11006
11007         * Makefile.am:
11008         * lyx_gui.C:
11009         * lyxfont.C:
11010         * lyxfunc.C: changes from above
11011
11012 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * LColor.C: remove spurious X include
11015
11016         * BufferView_pimpl.C:
11017         * Makefile.am:
11018         * font.h:
11019         * font.C:
11020         * text.C:
11021         * text2.C: move font metrics to frontends/
11022
11023 2002-05-24  Juergen Vigna  <jug@sad.it>
11024
11025         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11026         setting the undo_cursor.
11027
11028         * ParagraphParameters.h: include local includes first.
11029
11030 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * BufferView_pimpl.C:
11033         * BufferView_pimpl.h:
11034         * Makefile.am:
11035         * WorkArea.h:
11036         * WorkArea.C:
11037         * screen.C: move WorkArea into frontends/
11038
11039         * lyxscreen.h:
11040         * screen.C:
11041         * text.C:
11042         * BufferView.C:
11043         * BufferView2.C: move LyXScreen into frontends/
11044
11045         * lyxlookup.h:
11046         * lyxlookup.C:
11047         * lyx_gui.C: move lyxlookup into frontends/xforms/
11048
11049 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11050
11051         * BufferView2.C:
11052         * BufferView_pimpl.C:
11053         * FontLoader.C:
11054         * LyXView.h:
11055         * LyXView.C:
11056         * Makefile.am:
11057         * WorkArea.C:
11058         * XFormsView.h:
11059         * XFormsView.C:
11060         * buffer.C:
11061         * bufferlist.C:
11062         * bufferview_funcs.C:
11063         * converter.C:
11064         * importer.C:
11065         * lyx_cb.C:
11066         * lyx_gui.C:
11067         * lyx_main.C:
11068         * lyx_find.C:
11069         * lyxfunc.C:
11070         * lyxvc.C:
11071         * minibuffer.C:
11072         * text.C:
11073         * text2.C:
11074         * trans.C:
11075         * vc-backend.C: move LyX/XFormsView into frontends/
11076
11077 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * Makefile.am:
11080         * PainterBase.C:
11081         * PainterBase.h:
11082         * Painter.C:
11083         * Painter.h:
11084         * WorkArea.C:
11085         * WorkArea.h:
11086         * screen.C:
11087         * tabular.C:
11088         * text.C:
11089         * text2.C: move Painter to frontends/
11090
11091 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * buffer.C: comment out some some code that depend upon lyx_format
11094         < 220
11095
11096         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11097         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11098
11099         * buffer.h (NO_COMPABILITY): turn off compability
11100
11101         * ColorHandler.C: include scoped_array.hpp
11102
11103         * font.C: Use more specific smart_ptr header.
11104         * Painter.C: ditto
11105         * gettext.C: ditto
11106         * ShareContainer.h: ditto
11107         * lyx_main.h: ditto
11108         * kbmap.h: ditto
11109         * FontInfo.h: ditto
11110         * BufferView_pimpl.h: ditto
11111         * ColorHandler.h: ditto
11112
11113         * kbmap.C (defkey): change call to shared_ptr::reset
11114
11115 2002-05-21  Juergen Vigna  <jug@sad.it>
11116
11117         * buffer.C (insertErtContents): fix to insert ert asis if it is
11118         non empty. Skip it completely if it contains only whitespaces.
11119
11120 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * BufferView_pimpl.C:
11123         * BufferView2.C: clear selection on paste (bug 393)
11124
11125 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * DepTable.C: include ctime
11128
11129 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11132
11133 2002-05-14  Juergen Vigna  <jug@sad.it>
11134
11135         * text.C (breakParagraph): fixed function to honor the keepempty
11136         layout in the right maner and also to permit the right breaking
11137         algorithm on empty or non empyt keepempty paragraphs.
11138
11139         * paragraph.C (breakParagraph): we have to check also if the par
11140         is really empty (!size()) for isempty otherwise we do the wrong
11141         paragraph break.
11142
11143 2002-05-10  Juergen Vigna  <jug@sad.it>
11144
11145         * buffer.[Ch] : The following are only changes to the ert
11146         compatibility read reading old LaTeX layout and font stuff and
11147         convert it to ERTInsets.
11148
11149         * buffer.h: added isErtInset().
11150
11151         * buffer.C (struct ErtComp): add a fromlayout bool to check
11152         if we're inside a LaTeX layout.
11153         (isErtInset): new helper function.
11154         (insertErtContents): look for other ert insets before this one
11155         and insert the contents there, so that we don't have subsequent
11156         ERT insets with nothing between them. This way we create only one
11157         inset with multiple paragraphs. Also check if we don't insert only
11158         spaces ' ' as they are ignored anyway afterwards in the .tex file
11159         so if we have only spaces we will ignore this latex part in the
11160         new file.
11161         (parseSingleLyXformat2Token \\layout): better compatibility when
11162         reading layout-latex stuff.
11163         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11164         language tag.
11165         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11166         stuff after reading the inset only get the information back from
11167         the stack.
11168
11169 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11172
11173         * LaTeXFeatures.C (getBabelOptions): New method.
11174
11175 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * BufferView_pimpl.C (Dispatch): work around missing argument for
11178         'layout'
11179
11180 2002-05-08  Juergen Vigna  <jug@sad.it>
11181
11182         * text.C (leftMargin): handle paragraph leftindent.
11183
11184         * paragraph.C (writeFile): write the new \\leftindent tag.
11185         (validate): handle leftindent code.
11186         (TeXEnvironment): handle paragraphleftindent code again.
11187
11188         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11189
11190         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11191         for paragrap_extra indent code and new token \\leftindent.
11192         (latexParagraphs): handle the leftindent as environment.
11193
11194         * ParameterStruct.h: added leftindent support.
11195
11196         * ParagraphParameters.C (leftIndent): added support functions for
11197         the paragraph left indent.
11198
11199         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11200         more appropriate.
11201
11202 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11203
11204         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11205         inside insetERT.
11206
11207         * text.C (computeBidiTables): No bidi in insetERT.
11208
11209         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11210         in RTL documents.
11211
11212 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * version.C.in: pre 5
11215
11216 2002-05-02  José Matos  <jamatos@fep.up.pt>
11217         * buffer.C (makeDocBookFile): white space changes, add newline to
11218         command styles.
11219         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11220
11221         * tabular.C (docBook): fix typo.
11222
11223 2002-05-03  Juergen Vigna  <jug@sad.it>
11224
11225         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11226         change in LyXText as we can not be sure it was not freed.
11227         (drawOneRow): remove unused code.
11228
11229         * text.C (drawInset): redo the calculation of the need_break_row as
11230         it could have a row which was already freed.
11231         (draw): look at the return value of drawInset and return false if
11232         it also returned false.
11233         (paintRowText): look at the return value of draw and return false if
11234         it also returned false.
11235
11236         * lyxtext.h: added bool return type to drawInset() and draw() so that
11237         if we have a change in the row so that the rowbreak has to be redone
11238         we abort drawing as it will be called again.
11239
11240 2002-05-02  Juergen Vigna  <jug@sad.it>
11241
11242         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11243         a change in the maintext also if we're inside an inset.
11244         (Dispatch): set the cursor again after a break line and after the
11245         screen has been updated as it could be we're in a different row.
11246
11247         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11248         to set the cursor behind the pargraph with > size().
11249         (setCursor): check also for the same paragraph when checking where
11250         to put the cursor if we have a NFR inset.
11251
11252         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11253         parts of layout read further up as it still was in the wrong
11254         position.
11255
11256 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11257
11258         * screen.C (drawFromTo): change sine fullRebreak always return
11259         true.
11260
11261         * buffer.C (parseSingleLyXformat2Token): reindent some
11262
11263         * BufferView_pimpl.C (update): change since fullRebreak always
11264         return true.
11265         (Dispatch): git rid of the last hardcoded "Standard"s.
11266
11267 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * text2.[Ch] (fullRebreak): make it return void now that we always
11270         returned true.
11271
11272 2002-04-30  Juergen Vigna  <jug@sad.it>
11273
11274         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11275         ert compatibility check for "latex" layout.
11276
11277 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11278
11279         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11280         minipages: use col% instead of p%, and also use the current font.
11281         (makeLaTeXFile): Fix use babel condition.
11282         (parseSingleLyXformat2Token): Correct font when reading old floats.
11283
11284 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11285
11286         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11287         inserting list of floats.
11288
11289 2002-04-25  Herbert Voss  <voss@lyx.org>
11290
11291         * MenuBackend.C (expand): don't add the graphics extensions to the
11292         export menu
11293
11294 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11297         non-existing layout, do not complain if it was the default layout
11298         of the original class (bug #342)
11299
11300 2002-04-24  Juergen Vigna  <jug@sad.it>
11301
11302         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11303         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11304
11305 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11306
11307         * buffer.C (getBibkeyList): If using \bibliography, return the
11308         option field with the reference itself. Enables us to provide natbib
11309         support when using \bibliography.
11310
11311 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11312
11313         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11314
11315         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11316         natbib is provided by the LaTeX class.
11317
11318 2002-04-23  Juergen Vigna  <jug@sad.it>
11319
11320         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11321         Wakeup functions.
11322
11323         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11324
11325 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11328
11329         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11330         ensuremath around textordmasculine, textordfeminine and
11331         textdegree.
11332
11333 2002-04-19  Juergen Vigna  <jug@sad.it>
11334
11335         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11336         reinitializing the buffer otherwise row-dimensions may be wrong.
11337         (update): reset also the selection cursors if they do exits otherwise
11338         their x/y positions may be wrong.
11339
11340         * text2.C (cursorDown): don't enter the inset if we came from a row
11341         above and are one row over the inset.
11342
11343         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11344         really leaving an inset.
11345
11346 2002-04-18  Juergen Vigna  <jug@sad.it>
11347
11348         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11349         of the selected paragraph does not have the selected layout also if
11350         the last one had!
11351
11352         * text2.C (setLayout): fixed bug which did not change last selected
11353         paragraph.
11354
11355         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11356         changed the read and substituted \\end_float with \\end_inset!
11357
11358         * BufferView_pimpl.C (cursorPrevious):
11359         (cursorNext): fixed to make it work with rows heigher than the work
11360         area without moving the cursor only the draw of the row.
11361         (workAreaMotionNotify): fix jumping over high rows.
11362
11363 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11366         Ressler.
11367
11368 2002-04-16  Juergen Vigna  <jug@sad.it>
11369
11370         * text2.C (setCursor): set also the irow().
11371         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11372         (cursorUp):
11373         (cursorDown): support for locking an inset if the x_fix value goes
11374         inside it. That way I can transverse insets too with cursor up/down.
11375
11376         * lyxrow.h: added irow helper function same as other (i) functions.
11377
11378         * BufferView_pimpl.C (cursorPrevious):
11379         (cursorNext): fixed for insets!
11380
11381 2002-04-15  Juergen Vigna  <jug@sad.it>
11382
11383         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11384         position otherwise it is wrong in some cases.
11385
11386         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11387         inside the inset before the call.
11388
11389 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * buffer.[Ch] (getBibkeyList): make it const.
11392
11393 2002-04-12  Juergen Vigna  <jug@sad.it>
11394
11395         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11396
11397         * text2.C (getCursorX): new helper function
11398         (setCursor): compute also ix_
11399         (setCursorFromCoordinates): set also ix.
11400
11401         * lyxcursor.h: added ix_ and helper functions.
11402
11403         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11404
11405         * buffer.C (insertStringAsLines): dont break paragraph if the this
11406         paragraph is inside an inset which does not permit it!
11407
11408         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11409         also with no chars on this paragraph.
11410         (paintRowText): only paint stuff if it's inside the workarea!
11411
11412         * paragraph.C (breakParagraph): honor keepempty flag and break the
11413         paragraph always below not above.
11414
11415         * BufferView2.C (unlockInset): update the paragraph layout on inset
11416         unlock as we changed paragraph in such a case.
11417
11418         * lyxfind.C (LyXFind): clear the former selection if not found!
11419
11420         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11421         again called in insertChar().
11422
11423         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11424         an inset which uses the whole row!
11425         (rightMargin): ditto.
11426         (insertChar): force a rebreak if we inserted an inset!
11427
11428 2002-03-28  Herbert Voss  <voss@lyx.org>
11429
11430         * lyxlength.[Ch]: add inBP() to get the right PS-point
11431         units (BigPoint). With inPixels we have rounding errors
11432
11433 2002-04-11  Juergen Vigna  <jug@sad.it>
11434
11435         * text2.C (setCursorFromCoordinates): set iy to the right value.
11436         (setCursor): add check if row->previous exists!
11437
11438         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11439         an old float_type as this was the case in the old code!
11440
11441         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11442
11443         * BufferView2.C (showLockedInsetCursor): use iy
11444         (fitLockedInsetCursor): ditto
11445
11446         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11447         locked insets as there we have the right value now.
11448
11449         * lyxcursor.C: added iy_ variable and iy functions to set to the
11450         baseline of cursor-y of the locked inset.
11451
11452         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11453         (setCursor): fixed for insets which need a full row.
11454
11455         * text.C (rowLastPrintable): don't ignore the last space when before
11456         an inset which needs a full row.
11457         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11458         as last character of a row when before a inset which needs a full row.
11459
11460 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * version.C.in: update date
11463
11464         * text2.C (fullRebreak): try to always return true and see what
11465         happens...
11466
11467 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11468
11469         * MenuBackend.C (expand): use Floating::listName
11470
11471         * FloatList.C (FloatList): add listName argument to the built-in
11472         floats
11473
11474         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11475         text associated with the float.
11476
11477 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11478
11479         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11480
11481 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * ShareContainer.h: add a couple of missing typenames.
11484
11485 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11486
11487         * lyxrc.C (getDescription): use _() correctly rather than N_().
11488
11489 2002-03-28  Herbert Voss  <voss@lyx.org>
11490
11491         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11492         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11493
11494 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11497         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11498
11499 2002-03-29  Juergen Vigna  <jug@sad.it>
11500
11501         * lyxfunc.C (dispatch): add a missing fitCursor call.
11502
11503         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11504         it was scrolled by a cursor move, so return the bool status.
11505
11506         * BufferView.C (fitCursor): return the bool flag also to the outside
11507         world as this is needed.
11508
11509         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11510
11511         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11512         call the edit() as it is not needed (and wrong) IMO.
11513         (workAreaButtonPress): set the screen_first variable before evt.
11514         unlock the inset as this may change screen_first and then we have
11515         a wrong y position for the click!
11516
11517 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * MenuBackend.C (expand): another translation that I missed
11520
11521 2002-03-28  Juergen Vigna  <jug@sad.it>
11522
11523         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11524
11525         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11526
11527 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11530
11531         * MenuBackend.C (expand): fix export/view/update when there is no
11532         document open.
11533
11534 2002-03-27  Herbert Voss  <voss@lyx.org>
11535
11536         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11537         and text%
11538
11539 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * bufferview_funcs.C (currentState): only show paragraph number
11542         for is DEVEL_VERSION is set.
11543
11544         * lyxfunc.C (dispatch): put warning in INFO channel
11545
11546         * MenuBackend.C (expand): translate the name of floats
11547
11548         * FloatList.C (FloatList): mark the float names for translation
11549
11550         * converter.C (convert): use LibScriptSearch
11551
11552 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * MenuBackend.C (defaults): fix default menu (we might as well get
11555         rid of it...)
11556
11557 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11560         directory.
11561
11562 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * lyxvc.C: reorder includes.
11565
11566 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11569           properly
11570
11571 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * CutAndPaste.C: change layouts earlier on paste
11574           to avoid crashing when calling getFont()
11575
11576 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11577
11578         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11579         irritating #error.
11580
11581 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * WorkArea.C: remove 'Pending' debug message.
11584
11585         * most files: ws cleanup
11586
11587         * buffer.[Ch]: ws changes
11588
11589         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11590
11591 2002-03-21  Juergen Vigna  <jug@sad.it>
11592
11593         * tabular.C (SetMultiColumn): collapse also the contents of the
11594         cells and set the last border right. Added a Buffer const * param.
11595
11596 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11599         linking or not.
11600
11601 2002-03-19  Juergen Vigna  <jug@sad.it>
11602
11603         * text2.C (clearSelection): reset also xsel_cache.
11604
11605         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11606         where it needs to be called (John tells us to do so too :)
11607         (selectionLost): reset sel_cache.
11608
11609         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11610
11611 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11612
11613         * text2.C (setCursorIntern): put debuging code in INSETS channel
11614
11615 2002-03-19  André Pönitz <poenitz@gmx.net>
11616
11617         * lyxfunc.C: tiny whitespace change
11618
11619 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * ToolbarDefaults.C (init):
11622         * LyXAction.C (init):
11623         * commandtags.h:
11624         * BufferView_pimpl.C (Dispatch):
11625         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11626
11627 2002-03-19  Allan Rae  <rae@lyx.org>
11628
11629         * exporter.C (Export): removeAutoInsets before doing anything else.
11630         While I've just introduced a dependency on BufferView this really is
11631         the best place to clean the buffer otherwise you need to cleanup in
11632         a dozen places before calling export or cleanup in a dozen functions
11633         that export calls.
11634
11635         * converter.C (runLaTeX):
11636         (scanLog): Better handling of removeAutoInsets and screen updates.
11637
11638         * lyxfunc.C (dispatch): small whitespace changes
11639
11640 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11641
11642         * WorkArea.C (C_WorkAreaEvent): return a value.
11643         (event_cb): return 1 if we handled the event, 0 otherwise.
11644
11645         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11646
11647 2002-03-18  Juergen Vigna  <jug@sad.it>
11648
11649         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11650         (GetAdditionalWidth): ditto.
11651         (RightLine): ditto.
11652         (LeftLine): ditto.
11653
11654         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11655         inset if we're there actually (probably not used right now but this
11656         is the direction to go for unifying code).
11657         (paste): disable code to clear the selection.
11658
11659         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11660         inside an InsetText and move the check further up as it is in the
11661         wrong place.
11662
11663         * text2.C (pasteSelection): set a selection over the pasted text.
11664
11665 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11666
11667         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11668         and libgraphics to build on Cygwin.
11669
11670 2002-03-15  Juergen Vigna  <jug@sad.it>
11671
11672         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11673         inserting an Inset into the paragraph. I know this is not the best
11674         fix but we already use current_view in CutAndPaste so we will remove
11675         all of it's using at the same time.
11676
11677         * buffer.C (sgmlError): deactivated function till it is rewritten in
11678         the right mode, now it can create problems.
11679
11680         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11681         before accessing it.
11682
11683 2002-03-14  Juergen Vigna  <jug@sad.it>
11684
11685         * undo_funcs.C (textHandleUndo): do the right thing when updating
11686         the inset after the undo/redo.
11687
11688         * text2.C (setCursor): just some testcode for #44 not ready yet.
11689
11690         * undo_funcs.C (textHandleUndo): set the next() and previous()
11691         pointers of the paragraph to 0 before deleting otherwise we have
11692         problems with the Paragraph::[destructor].
11693
11694         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11695         on a paragraph insertion.
11696
11697 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11698
11699         * buffer.C (asciiParagraph): use += operator for char append to
11700         string.
11701
11702         * paragraph.C (getFontSettings): compare >= not just >
11703         (highestFontInRange): ditto
11704         (setFont): ditto
11705
11706 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11707
11708         * paragraph.C: change several algorithm to be more appripriate for
11709         the problem domain. This is lookip in FontList and in the InsetList.
11710
11711 2002-03-13  André Pönitz <poenitz@gmx.net>
11712
11713         * commandtags.h:
11714         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11715
11716 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * commandtags.h:
11719         * LyXAction.C:
11720         * lyxfunc.C:
11721         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11722
11723 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * Painter.C (display): anon helper function, adjust code for this
11726         change.
11727         (pixmap): remove function.
11728
11729         * Painter.h: remove private display variable.
11730
11731         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11732
11733 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11734
11735         * WorkArea.[Ch]: remove figinset_canvas cruft.
11736
11737 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * lyxtextclass.C (operator): add one item cache optimization.
11740
11741         * bufferlist.h: doxy changes
11742
11743         * bufferlist.C: ws changes
11744
11745         * DepTable.[Ch] (ext_exist): place const in the right spot.
11746
11747         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11748         call resizeInsets.
11749         (workAreaExpose): call resizeInsets when the with BufferView changes.
11750         (Dispatch): adjust for protectedBlank removal
11751         (specialChar): call updateInset if the insert went ok.
11752
11753         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11754         specialChar instead.
11755
11756         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11757
11758         * BufferView.h: doxy change
11759
11760         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11761
11762         * lyxtextclass.C (operator[]): remove non-const version
11763         (defaultLayout): remove non-const version
11764
11765 2002-03-12  Juergen Vigna  <jug@sad.it>
11766
11767         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11768         did resize the LyXText too.
11769
11770         * buffer.C (readLyXformat2): set layout information on newly allocated
11771         paragraphs.
11772
11773         * tabular.C (OldFormatRead): set layout information on the paragraph.
11774
11775 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11776
11777         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11778
11779 2002-03-11  Juergen Vigna  <jug@sad.it>
11780
11781         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11782         plainly wrong.
11783         (resizeCurrentBuffer): force also the insets to resize themselfes.
11784         (moveCursorUpdate): fixed up for InsetText.
11785
11786 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11787
11788         * commandtags.h:
11789         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11790         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11791         value of Dialogs::tooltipsEnabled().
11792         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11793
11794 2002-03-08  Juergen Vigna  <jug@sad.it>
11795
11796         * BufferView_pimpl.C (updateInset): update inset inside inset also
11797         if it isn't inside theLockingInset().
11798
11799 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * buffer.C (asciiParagraph): redo some of the word and line length
11802         handling.
11803         (getLists): look for Caption instead of caption.
11804
11805 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * buffer.C (Buffer): initialize niceFile to true
11808         (makeLaTeXFile):
11809         (makeLinuxDocFile):
11810         (makeDocBookFile): make sure niceFile is true on exit
11811
11812 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11813
11814         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11815
11816 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11817
11818         * LyXSendto.C: remove.
11819         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11820         * lyx_gui.C: remove now-redundant comment.
11821         * ColorHandler.h: remove forward declaration of class WorkArea.
11822         * lyxfunc.C: remove #include "WorkArea.h".
11823
11824 2002-03-07  Juergen Vigna  <jug@sad.it>
11825
11826         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11827         got moved away with the DEPM and also set the inset_owner always
11828         right which before could have been omitted.
11829
11830 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11833         wanted layout is not found.
11834
11835 2002-03-07  Juergen Vigna  <jug@sad.it>
11836
11837         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11838
11839 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11840
11841         * paragraph.C (breakParagraph): use default layout not layout of
11842         prev paragraph.
11843         (Paragraph): clear ParagraphParameters.
11844
11845 2002-03-06  Juergen Vigna  <jug@sad.it>
11846
11847         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11848         otherwise it would not be a valid lenght. Fixed a special case in
11849         the minipage compatibility read where we end the document with a
11850         minipage.
11851
11852         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11853         was set as it could be 0 for InsetTexts first entry.
11854
11855 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * paragraph.C (writeFile): if layout is empty write out
11858         defaultLayoutName().
11859
11860         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11861         file without named layout we set layout to defaultLayoutName().
11862
11863 2002-03-06  Juergen Vigna  <jug@sad.it>
11864
11865         * CutAndPaste.C (copySelection): set layout for new paragraph.
11866
11867         * text.C (prepareToPrint): leave ERT inset left aligned
11868         (leftMargin): don't indent paragraphs inside ERT insets
11869
11870 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * paragraph.C (breakParagraph): dont call clear do the work manually
11873
11874         * paragraph.[Ch] (clear): remove function
11875
11876 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * paragraph.C (Paragraph): dont call clear, the work has already
11879         been done.
11880
11881         * lyxtextclass.C (operator): assert if n is empty
11882
11883         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11884         work manually instead.
11885
11886 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11887
11888         * BufferView_pimpl.C: protect selectionLost against text == 0
11889
11890 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * text.C (breakParagraph): fix a setting layout to '0' problem.
11893
11894 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11895
11896         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11897         final location of file, for the included files, and graphics.
11898
11899 2002-03-05  Juergen Vigna  <jug@sad.it>
11900
11901         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11902
11903 2002-03-04  Juergen Vigna  <jug@sad.it>
11904
11905         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11906
11907         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11908         last column of multicolumn cells.
11909         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11910
11911 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11912
11913         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11914         file if it doesn't go to a temporary file.
11915
11916         * buffer.C (sgmlOpenTag):
11917         (sgmlCloseTag):  remove extra newline insertion.
11918
11919 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11920
11921         * text.C (getRowNearY): comment out debug msg
11922
11923 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * text2.C: first -> first_y
11926
11927         * text.C (getRowNearY): add some attemts at a possible
11928         optimization, not working.
11929
11930         * tabular.[Ch]: add BufferParams to several function so that newly
11931         created paragraph can be initialized to he default layotu for the
11932         buffers textclass.
11933
11934         * tabular-old.C (ReadOld): add buf->params to call of Init
11935
11936         * screen.C: rename text->first to text->first_y
11937
11938         * paragraph.C (breakParagraph): always set layout in the broken
11939         paragraph
11940
11941         * lyxtextclass.C (Read): remove lowercase
11942         (hasLayout): ditto
11943         (operator): ditto
11944         (delete_layout): ditto
11945
11946         * lyxtext.h: rename first -> first_y
11947
11948         * lyxlayout.C (Read): remove lowercase
11949         (name): ditto
11950         (setName): ditto
11951         (obsoleted_by): ditto
11952
11953         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11954
11955         * buffer.C (insertErtContents): add params are to InsetERT
11956         (parseSingleLyXformat2Token): add code to check if a paragraphs
11957         layout really exist.
11958         (parseSingleLyXformat2Token): add params to several inset
11959         constructors
11960         (asciiParagraph): remove lowercase, do the layout comparisons with
11961         no_case
11962
11963         * BufferView_pimpl.C (cursorNext): first -> first_y
11964         (resizeCurrentBuffer): first -> first_y
11965         (updateScrollbar): first -> first_y
11966         (scrollCB): first -> first_y
11967         (workAreaMotionNotify): first -> first_y
11968         (workAreaButtonPress): first -> first_y
11969         (checkInsetHit): first -> first_y
11970         (cursorPrevious): first -> first_y
11971         (cursorNext): first -> first_y
11972         (Dispatch): add buffer_->params to severl inset contructors
11973
11974 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * lyxlayout.C (Read): remove some debug info that I forgot.
11977
11978         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11979         clean up the code slightly.
11980         (makeLinuxDocFile): ditto
11981         (makeDocBookFile): ditto
11982
11983         * text2.C: layout as string
11984
11985         * text.C: layout as string
11986
11987         * paragraph_pimpl.C: layout as string
11988
11989         * paragraph.[Ch]: layout as string
11990
11991         * lyxtextclasslist.[Ch]: layout as string
11992
11993         * lyxtextclass.[Ch]: layout as string
11994
11995         * lyxtext.h: layout as string
11996
11997         * lyxlayout.[Ch]: layout as string
11998
11999         * lyx_cb.C: layout as string
12000
12001         * bufferview_funcs.C: layout as string
12002
12003         * bufferparams.C: layout as string
12004
12005         * buffer.C: layout as string
12006
12007         * LyXView.[Ch]: layout as string
12008
12009         * LaTeXFeatures.[Ch]: layout as string
12010
12011         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12012
12013         * BufferView_pimpl.C: change current_layout to string, remove
12014         lyx::layout_type.
12015         (Dispatch):
12016         (smartQuote):
12017         (insertInset):
12018         (workAreaButtonRelease): layout as string
12019
12020         * BufferView2.C (unlockInset): adjust
12021
12022         * vspace.C (asLatexCommand): use an explict temp variable.
12023
12024 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * Makefile.am: use FRONTEND_*
12027
12028 2002-03-01  Juergen Vigna  <jug@sad.it>
12029
12030         * tabular.C (SetWidthOfMulticolCell): changed to something better
12031         I hope but still work in progress.
12032         (recalculateMulticolumnsOfColumn): renamed function from
12033         recalculateMulticolCells as it is more appropriate now.
12034         (SetWidthOfCell): calculate multicols better.
12035
12036 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12039
12040         * lyxfunc.C (processKeySym): print sequence also if it is
12041         `deleted' (complete)
12042
12043         * kbsequence.C (print): print sequence even if it is deleted
12044         (complete would be a better word, actually).
12045
12046         * lyxfunc.C (dispatch): print complete options after a prefix key
12047
12048         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12049
12050 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12051
12052         * text2.C (setCharFont): eliminate setCharFont code duplication.
12053
12054 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12055
12056         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12057         LFUN_TABULAR_FEATURE (bug #177)
12058
12059 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12060
12061         * Makefile.am: remove figure.h
12062
12063 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12064
12065         * Bufferview_pimpl.C:
12066         * CutAndPasteC:
12067         * LaTeX.C:
12068         * LyXSendto.C:
12069         * buffer.C:
12070         * bufferlist.C:
12071         * converter.C:
12072         * language.C:
12073         * lyxfunc.C:
12074         * lyxvc.C:
12075         * paragraph.C:
12076         * text.C:
12077         * text2.C: remove #include "lyx_gui_misc.h".
12078
12079         * LaTeX.C: added #include <cstdio>
12080
12081 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12084         that the paragraph following this one can have.
12085
12086         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12087
12088         * vspace.C (asLatexCommand): fix bogus gcc warning
12089
12090         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12091
12092 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12093
12094         * text2.C (setLayout): get rid of redundant code
12095
12096 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12097
12098         * text2.C (incDepth): make sure depth cannot be increased beyond
12099         reasonable values.
12100
12101 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12102
12103         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12104         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12105
12106         * PainterBase.h (image):
12107         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12108         a LyXImage const *.
12109
12110 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * BufferView.C:
12113         * BufferView.h:
12114         * BufferView_pimpl.C:
12115         * BufferView_pimpl.h:
12116         * LaTeXFeatures.C:
12117         * LyXAction.C:
12118         * LyXView.C:
12119         * Makefile.am:
12120         * UpdateList.h:
12121         * UpdateList.C:
12122         * buffer.C:
12123         * figure.h:
12124         * figureForm.C:
12125         * figureForm.h:
12126         * figure_form.C:
12127         * figure_form.h:
12128         * lyx_cb.C:
12129         * lyx_gui.C:
12130         * lyx_gui_misc.C:
12131         * lyxfunc.C:
12132         * sp_base.h:
12133         * sp_ispell.h:
12134         * sp_pspell.h:
12135         * sp_spell.C: remove fig inset, and the crap house of
12136           cards that follows it
12137
12138 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * Makefile.am:
12141         * lyxserver.C:
12142         * os2_defines.h:
12143         * os2_errortable.h:
12144         * nt_defines.h: move .h into support/
12145
12146         * vms_defines.h: remove
12147
12148         * WorkArea.C: add space in debug output
12149
12150         * text2.C:
12151         * paragraph.C:
12152         * buffer.C: add WITH_WARNINGS
12153
12154         * vc-backend.h:
12155         * vc-backend.C:
12156         * bufferlist.C: s/retrive/retrieve/, add docs
12157
12158         * vspace.h:
12159         * vspace.C:
12160         * kbmap.h:
12161         * lyxlength.h:
12162         * lyxgluelength.h:
12163         * length_common.h:
12164         * chset.h:
12165         * chset.C: add docs
12166
12167         * lyxgui.C: add ID to X error handler
12168
12169         * lyxtestclass.c: fix typo
12170
12171 2002-02-26  Juergen Vigna  <jug@sad.it>
12172
12173         * tabular_funcs.C (write_attribute): changed so that some default
12174         attributes are not written at all.
12175         (getTokenValue): set default values before trying to read the
12176         value so we have the return value always set as default if we don't
12177         find the token we search for.
12178
12179         * tabular.C (Write): write bools as bools not as strings!
12180
12181 2002-02-22  Juergen Vigna  <jug@sad.it>
12182
12183         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12184         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12185
12186         * text.C (leftMargin): don't add an indent for paragraphs inside
12187         tabular cells (fix #208).
12188
12189 2002-02-21  José Matos  <jamatos@fep.up.pt>
12190
12191         * tabular.C (docBook): fixed support for long tables.
12192
12193 2002-02-20  Juergen Vigna  <jug@sad.it>
12194
12195         * text2.C (getFont): get the drawing font of the Inset if this
12196         paragraph is inside an inset (only important for InsetERT for now).
12197
12198         * buffer.C (insertErtContents): use new lanugage params in ERT
12199         constructor.
12200
12201         * CutAndPaste.C: commenting out seemingly uneeded code.
12202
12203 2002-02-19  Allan Rae  <rae@lyx.org>
12204
12205         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12206         Iterators might be simple to use but they also get invalidated.
12207         (removeAutoInsets): renamed saved cursor tracking variables and added
12208         some comments to clarify what everything does.
12209
12210 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12211
12212         * Chktex.C:
12213         * LaTeX.C:
12214         * LyXSendto.C:
12215         * converter.C:
12216         * lyx_cb.C:
12217         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12218         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12219
12220         * lyxfunc.C:
12221         * vc-backend.h: remove #include "support/syscall.h"
12222
12223         * LaTeX.C:
12224         * LyXSendto.C:
12225         * converter.C: rearrange #includes in Lars' approved fashion.
12226
12227         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12228         forward declare class Timeout in the header file.
12229
12230         * XFormsView.C: changes due to the above.
12231
12232         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12233         similar to LyXView.
12234
12235         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12236         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12237
12238 2002-02-18  José Matos  <jamatos@fep.up.pt>
12239
12240         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12241         insets contents.
12242
12243 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12244
12245         * a lot of small ws changes
12246         * add a lot of using std::XXX
12247         * use std construcs some places where approp.
12248         * use some exisint stuff from lyxfunctional where approp.
12249         * Make file changes to use partial linking (lets test this now...)
12250
12251 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * Chktex.C:
12254         * buffer.C:
12255         remove #include "support/syscontr.h" as it's redundant. Always has been.
12256
12257         * Chktex.C:
12258         * LaTeX.C:
12259         * LyXSendto.C:
12260         * converter.C:
12261         * lyx_cb.C:
12262         * vc-backend.C:
12263         change Systemcalls::System to Systemcalls::Wait and
12264         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12265         No change of functionality, just reflects the stripped down Systemcalls
12266         class.
12267
12268 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * debug.[Ch]: add a GRAPHICS type to the enum.
12271
12272 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12275
12276         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12277         there is an inset.
12278
12279 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12280
12281         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12282         match the changes below.
12283
12284         * text2.C (toggleInset): if there is not editable inset at cursor
12285         position, try to see if cursor is _inside_ a collapsable inset
12286         and close it.
12287
12288 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12289
12290         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12291         document menu has a nice checkbox
12292
12293 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12294
12295         * lyxlength.C (asLatexString): change PW to output as percent of
12296         \textwidth.
12297
12298         * lengthcommon.C: change '%' to 't%'
12299
12300         * lyxfunc.C (dispatch): a few comments from Martin
12301
12302 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * WorkArea.h:
12305         * WorkArea.C:
12306         * BufferView_pimpl.h:
12307         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12308           the X selection.
12309
12310 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12311
12312         * vspace.C (inPixels): fix compiler warning
12313
12314 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12315
12316         * lyxfunc.C (getStatus): fix status message for disabled commands.
12317
12318 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView_pimpl.C: fix crash on close buffer
12321         during selection (#227)
12322
12323 2002-01-27  Herbert Voss  <voss@lyx.org>
12324
12325         * buffer.C: link old Figure to new graphic inset
12326
12327 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12328
12329         * FontLoader.C (getFontinfo): Change the latex font names in order
12330         to match the names of type1inst.
12331
12332 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12335
12336         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12337         (extchanged): ditto
12338         (ext_exist): ditto
12339         (remove_files_with_extension): ditto
12340         (remove_file): ditto
12341         (write): ditto
12342
12343         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12344         document is smaller than the work area height. Do not initialize
12345         static variables to 0.
12346
12347 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12348
12349         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12350
12351         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12352         LFUN_LAYOUT_PARAGRAPHS.
12353
12354         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12355         tabular. It is possible to provide a possible cell, which will
12356         typically be the actcell from the corresponding insettabular
12357
12358         * lyxfunc.C (getStatus): small cleanup; disable
12359         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12360         true
12361
12362 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12363
12364         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12365
12366         * paragraph.C (startTeXParParams):
12367         (endTeXParParams): new methods. The LaTeX code to
12368         start/end paragraph formatting
12369         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12370         empty (fixes bug #200)
12371
12372         * vspace.C (inPixels): adapt to the change below
12373         (inPixels): [later] more cleanups (remove unused variables)
12374
12375         * lyxlength.C (inPixels): change to use a width and a height as
12376         parameter.
12377
12378 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12379
12380         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12381         Replaced with \paperwidth
12382
12383         * DepTable.C (insert): add std:: qualifier
12384
12385 2002-01-18  Allan Rae  <rae@lyx.org>
12386
12387         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12388         updated also?
12389
12390         * text.C (drawInset): Turned out I didn't know enough about how
12391         rebreaking worked.  This fixes most of the redraw problems.  I see
12392         an occasional cursor trail when a line is broken now and the cursor
12393         placement can seem out by a few pixels also after a rebreak.
12394
12395 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * buffer.C (parseSingleLyXformat2Token): update because minipage
12398         width is now a LyXLength
12399
12400         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12401
12402         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12403         math insets
12404
12405 2002-01-17  Juergen Vigna  <jug@sad.it>
12406
12407         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12408
12409         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12410         is set correctly and the inset is updated correctly.
12411
12412 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12413
12414         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12415         the beginning of the loop.
12416
12417 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyxrc.C: improve help for use_scalable_fonts
12420
12421 2002-01-17  Allan Rae  <rae@lyx.org>
12422
12423         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12424
12425 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12426
12427         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12428         make sure to set their inset_owner to the right value (bug #171)
12429
12430 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12431
12432         * DepTable.h
12433         * DepTable.C: Implement mtime checking to reduce time spent doing
12434         CRCs.
12435
12436 2002-01-16  Juergen Vigna  <jug@sad.it>
12437
12438         * tabular.C (GetAdditionalHeight): one of error fixed.
12439
12440         * lyxrc.C (output): small fix in writing use_pspell.
12441
12442 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * sp_base.h: #include LString.h
12445
12446 2002-01-16  Allan Rae  <rae@lyx.org>
12447
12448         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12449         Can someone check this please?
12450
12451         * text.C (drawInset): It was possible that p.row would be removed by
12452         breakAgainOneRow upsetting a few other settings.  There may be another
12453         small tweak possible by setting need_break_row = 0 when p.row has been
12454         removed but I don't know enough about the logic here.
12455
12456 2002-01-15  Allan Rae  <rae@lyx.org>
12457
12458         * text.C (insertChar): removed conditional truism.
12459
12460         * BufferView2.C (removeAutoInsets): More tweaks.
12461         cur_par_prev could be a stray pointer.  Check for trailing empty line
12462         in case last line was cur_par and only had an error inset on it.
12463
12464 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12465
12466         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12467         absolute
12468
12469         * vc-backend.C (most methods):
12470         * exporter.C (Export):
12471         * converter.C (convert):
12472         (runLaTeX):
12473         * LyXSendto.C (SendtoApplyCB):
12474         * lyxfunc.C (dispatch):
12475         (menuNew):
12476         (open):
12477         (doImport):
12478         * lyx_cb.C (AutoSave):
12479         (InsertAsciiFile):
12480         * BufferView_pimpl.C (MenuInsertLyXFile):
12481         * buffer.C (runChktex): use Buffer::filePath().
12482
12483         * buffer.h: rename filename to filename_; rename filepath to
12484         filepath_ and make it private
12485         (filePath): new method
12486
12487         * buffer.C (writeFile): use fileName()
12488         (getLatexName):
12489
12490         * lyx_main.C (init): fix starting  of LyX when the binary is a
12491         link from so,ewhere else.
12492
12493         * minibuffer.C: include <cctype> for isprint
12494
12495 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12498         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12499         name clash with InsetCollapsable's width function.
12500
12501 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * lastfiles.C: include <iterator>
12504
12505 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12508         std::count.
12509
12510         * buffer.C (makeLaTeXFile): ditto.
12511         Also make loop operation more transparent.
12512
12513 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12514
12515         * ToolbarDefaults.C: remove trailing comma closing namespace.
12516
12517         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12518
12519         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12520         as in WorkArea.
12521
12522         * trans.C (Load): comment out unused variable, allowed.
12523
12524 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * minibuffer.[Ch] (append_char): new method to recieve input from the
12527         drop-down completion browser. If a key was pressed, then recieve this
12528         char and append it to the existing string.
12529         (peek_event): modify the positioning data passed to the completion
12530         browser so that it can be placed above the minibuffer rather than below.
12531 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * LyXAction.C (init): alloe error-next for readonly documents.
12534
12535         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12536         count.
12537
12538 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12539
12540         * bufferlist.C (readFile): create the buffer _after_ checking that
12541         the file exists.
12542
12543         * lyxfunc.C (verboseDispatch): fix handling of arguments
12544
12545         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12546
12547         * lyxrc.C: use string::erase() instead of initializing to "".
12548
12549
12550 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * BufferView_pimpl.h:
12553         * BufferView_pimpl.C:
12554         * WorkArea.h:
12555         * WorkArea.C:
12556         * text2.C: tell X when we have made a selection for copying
12557
12558 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * BufferView_pimpl.C (MenuInsertLyXFile):
12561         * lyxfunc.C (menuNew):
12562         (open):
12563         (doImport): add shortcuts to directory buttons
12564
12565         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12566         open a float)
12567
12568         * lyxfunc.C (setStatusMessage):
12569         (getStatusMessage): new methods
12570         (getStatus):use setStatusMessage instead of setErrorMessage
12571         (dispatch): when function is disabled, set error message here
12572         [instead of in getStatus previously]
12573
12574         * BufferView_pimpl.C (workAreaButtonRelease): update
12575         toolbar/menubar here too.
12576
12577 2002-01-13  Allan Rae  <rae@lyx.org>
12578
12579         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12580         Now seems indestructible.  Remaining task is to audit all other
12581         code affected by deleteEmptyParagraphMechanism.  One small quirk
12582         left is that an empty document with an error in the preamble can
12583         be made to report an error but no error box appears.  I don't know
12584         where it goes.
12585         (removeAutoInsets): Improved comments.
12586
12587 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * Thesaurus.h:
12590         * Thesaurus.C: update for Aiksaurus 0.14
12591
12592 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * text2.C (firstParagraph): removed member function, all uses
12595         replaces with ownerParagraph
12596         (redoParagraphs): here
12597         (updateInset): here
12598         (toggleAppendix): here
12599         * BufferView2.C (insertErrors): here
12600         (setCursorFromRow): here
12601
12602 2002-01-13  Allan Rae  <rae@lyx.org>
12603
12604         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12605         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12606         There is still a way to segfault this although you may have to do this
12607         multiple times: Have an InsetERT with an unknown command in it.
12608         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12609         <down-arrow>, <Enter> again, View->DVI, BANG!
12610
12611         * text2.C (setCursor):
12612         (deleteEmptyParagraphMechanism):
12613         * lyxtext.h (setCursor):
12614         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12615         Making use of the return value may help fix other bugs.
12616
12617 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12620
12621         * LyXView.C (updateMenubar): call MenuBar::update here
12622         (updateToolbar): but not here
12623         (showState): do not update toolbar/menubar
12624
12625         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12626         should need to care about that.
12627
12628         * lyxfunc.C (verboseDispatch): simplify a bit
12629         (getStatus): have a version which takes a pseudoaction, and
12630         another which requires a (kb_action,string).
12631
12632         * LyXAction.C (retrieveActionArg): make it work also when action
12633         is not a pseudo-action.
12634         (getActionName): simplify a bit
12635         (helpText):
12636
12637 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12638
12639         * lyxfunc.C (verboseDispatch): new families of methods with
12640         several ways to specify a command and a bool to indicate whether
12641         the command name and shortcut should be displayed in minibuffer
12642         (eventually, we could extend that to a finer bitmask like
12643         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12644         (dispatch): the pristine dispatch command which just, well,
12645         dispatchs! Note it still sets its result to minibuffer; I'm not
12646         sure we want that.
12647
12648         * lyxfunc.h: remove setHintMessage
12649
12650         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12651
12652 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * BufferView_pimpl.C (specialChar): delete new inset if we have
12655         not been able to insert it.
12656
12657         * kbmap.C: revert to using int instead of kb_action, since all we
12658         are dealing with is pseudo-actions.
12659
12660         * LyXAction.C (searchActionArg): change to return int instead of
12661         kb_action, since the result is a pseudoaction.
12662
12663 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12664
12665         * buffer.C (insertErtContents): Fix (partially) the font bug.
12666
12667 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12668
12669         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12670         as the other one is broken on my machine!
12671
12672 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12673
12674         * commandtags.h:
12675         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12676
12677 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12680         reflect their actual use. Provide compatibility code for older lyxrc
12681         files.
12682
12683         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12684         FL_NORMAL_STYLE.
12685         change names of popup font variables in line with the changes to lyxrc.C
12686
12687 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * buffer.C (asciiParagraph): avoid outputing a word twice after
12690         an inset.
12691
12692         * lyxrc.C (getDescription): document that document_path and
12693         template_path can be empty.
12694
12695 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12696
12697         * LaTeXFeatures.C (getMacros):
12698         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12699
12700         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12701
12702         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12703         getPackages.
12704         (getPackages): rename feature "floats" to "float". Use an array to
12705         iterate over 'simple' features (i.e. just a \usepackage). Add
12706         handling of "amsmath" (renamed from "amsstyle").
12707
12708 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12709
12710         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12711         features list.
12712
12713 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12716         FuncStaus::FuncStatus & FuncStaus::some_method().
12717
12718 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12719
12720         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12721         of the func_satus stuff. Edited and massaged in various ways by
12722         JMarc.
12723
12724         * lyxfunc.C (getStatus): use FuncStatus
12725
12726 2002-01-08  Juergen Vigna  <jug@sad.it>
12727
12728         * text.C (nextBreakPoint): use function Inset::isChar().
12729
12730         * paragraph.C (TeXOnePar): use function
12731         Inset::forceDefaultParagraphs.
12732
12733         * buffer.C (latexParagraphs): use function
12734         Inset::forceDefaultParagraphs.
12735
12736 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         * lyx_gui.C (init): set the style of the menu popups to
12739         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12740
12741 2002-01-07  Juergen Vigna  <jug@sad.it>
12742
12743         * text.C (setHeightOfRow): small fix
12744         (prepareToPrint): don't look at alignment if we don't have the place
12745         for doing it.
12746
12747 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * box.C: New file. Move the Box methods and functions out of box.h,
12750         following Lars' suggestion.
12751
12752 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12753
12754         * box.h: #include "support/LOstream.h", needed for inlined function.
12755
12756         * lyxtextclass.C:
12757         * lyxtextclasslist.C: added some using std declarations.
12758
12759 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * box.h: make signed dimensions to allow insets wider than
12762           the screen (bug #162)
12763
12764         * BufferView_pimpl.C: add some insetHit debug
12765
12766 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * vc-backend.C: add FIXME
12769
12770 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * lyxfunc.C (getStatus): enable code for showing math font status
12773         in toolbar/menu.
12774
12775 2002-01-07  Juergen Vigna  <jug@sad.it>
12776
12777         * text.C (nextBreakPoint): removed debug output not needed anymore.
12778
12779 2002-01-06  Juergen Vigna  <jug@sad.it>
12780
12781         * text.C (nextBreakPoint): fixed up this function we had this bug
12782         since ever but now hopefully we break row better.
12783         (insertChar): we have to check if an inset is the next char as it
12784         could now happen that a large inset is causing a break.
12785
12786 2002-01-05  Juergen Vigna  <jug@sad.it>
12787
12788         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12789         if it doesn't like to be drawed.
12790
12791 2002-01-04  Juergen Vigna  <jug@sad.it>
12792
12793         * BufferView2.C (lockInset): forgot to set a cursor.
12794
12795         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12796
12797 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12798
12799         * FormMathsPanel.C:
12800         * FormMathsPanel.h
12801         * MathsSymbols.C:
12802         * form_maths_panel.C:
12803         * form_maths_panel.h:
12804         * form_maths_panel.fd: implemented sub- and super- buttons in math
12805         panel.
12806
12807         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12808         (or ^ space) to be used as in TeX (req'd by André).
12809
12810         * lyxfunc.C: Allow ^ and _ again to be used both as
12811         super/subscript (mathed) and as themselves (in text).
12812
12813 2002-01-03  Allan Rae  <rae@lyx.org>
12814
12815         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12816         "LyX" or the filename of the current buffer if it has one.  This is a
12817         modified form of John Levon's patch.
12818
12819         * XFormsView.C (setWindowTitle): also set icon title.
12820
12821         * LyXView.h (setWindowTitle): signature changed.
12822         * XFormsView.h (setWindowTitle): ditto.
12823
12824 2002-01-02  Juergen Vigna  <jug@sad.it>
12825
12826         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12827
12828 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * screen.C (topCursorVisible): introduce a temp var for
12831         text->cursor.row(), handle the case where this row is null. (kindo
12832         hachish)
12833
12834         * text2.C (setCursor): add a couple of asserts.
12835
12836         * paragraph.h (inset_iterator): add -> operator
12837
12838         * paragraph.[Ch] (autoDeleteInsets): remove member function
12839
12840         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12841         cursor pos correctly and handle inset deletion by itself.
12842         (insertErrors): move iterator declaration out of for expression
12843
12844         * lyxtextclass.C: add <algorithm>
12845
12846         * Makefile.am: added the new files to sources, removed layout.C
12847
12848         * layout.C: removed file
12849
12850         * layout.h: remove LYX_DUMMY_LAYOUT
12851
12852         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12853         layout.
12854
12855         * lyxlayout.[Ch]:
12856         * lyxtextclass.[Ch]:
12857         * lyxtextclasslist.[Ch]: new files
12858
12859         * include order changes to a lot of files, also changes because of
12860         the six new files.
12861
12862 2001-12-27  Juergen Vigna  <jug@sad.it>
12863
12864         * buffer.C (asciiParagraph): more fixes.
12865
12866         * tabular.C (ascii): make ascii export support export of only the
12867         data separated by a column-delimiter.
12868         (ascii): better support for ascii export.
12869
12870         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12871
12872 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12873
12874         * tabular_funcs.C: use a "using std::getline" instead of the
12875         previous fix from Angus (necessary for cxx + lyxstring)
12876
12877 2001-12-24  Juergen Vigna  <jug@sad.it>
12878
12879         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12880
12881         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12882         problems. First check a minipage also if we have some ert-contents
12883         (not only on par->size(), second set the right depth of the paragraph
12884         on the relink to the root-paragraph-list!
12885
12886         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12887         which then did not anymore update the main paragraphs on undo/redo!
12888
12889 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12892         code. Support all font-changing funcs (even those which are not in
12893         menu currently). Support for reporting font settings in
12894         mathed (disabled until Andre provides a function on mathed's side).
12895
12896         * func_status.h (toggle): small helper function to set toggle
12897         state on a flag.
12898
12899 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         * tabular_funcs.C: getline -> std::getline
12902
12903 2001-12-21  Juergen Vigna  <jug@sad.it>
12904
12905         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12906         accessed and could be 0 (I couldn't generate this but it seems
12907         Michael could!).
12908
12909 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12912         * tabular_funcs.h: here and include iosfwd
12913
12914 2001-12-20  Juergen Vigna  <jug@sad.it>
12915
12916         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12917         inside inset but undo_par was.
12918
12919 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12920
12921         * Thesaurus.C: always include <config.h> in sources.
12922
12923         * Painter.h:
12924         * lyxlookup.h:
12925         * box.h: do not include <config.h> in header files
12926
12927         * text.C (paintLastRow): remove unused variable
12928
12929         * text.C (transformChar):
12930         (insertChar):
12931         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12932
12933         * Painter.C (text):
12934         * font.C (width): rewrite to use uppercase() instead of
12935         islower/toupper.
12936
12937         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12938
12939 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * lyxfind.C: clean up of find failure position change
12942
12943 2001-12-20  Juergen Vigna  <jug@sad.it>
12944
12945         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12946
12947         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12948         (TeXRow): added to LaTeX a single tabular row.
12949         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12950         (Latex): simplified and finally good LT-h/f support.
12951         (various_functions): just small adaptions for LT-h/f support.
12952
12953         * tabular_funcs.[hC]: added and moved here all not classfunctions
12954         of LyXTabular.
12955
12956 2001-12-19  Juergen Vigna  <jug@sad.it>
12957
12958         * tabular.[Ch]: better support for longtabular options (not finished
12959         yet!)
12960
12961 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12962
12963         * text.C (paintLastRow): use the label font instead of the font of
12964         the last character to compute the size of *_BOX. This makes more
12965         sense and avoids a crash with empty paragraphs.
12966         Use Painter::rectangle to draw EMPTY_BOX.
12967
12968 2001-12-19  Juergen Vigna  <jug@sad.it>
12969
12970         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12971         the paragraphs if the replaced paragraph is not the first one!
12972         Tried to delete not used paragraphs but does not work yet so for
12973         now it's inside #ifdef's and by default off!
12974
12975 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12976
12977         * MenuBackend.C: include "lyx_main.h" instead of declaring
12978         lastfiles (actually was declared as LastFiles* instead of a
12979         scoped_ptr).
12980
12981 2001-12-17  Juergen Vigna  <jug@sad.it>
12982
12983         * tabular.C (AppendColumn): applied John's fix
12984
12985 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView.h:
12988         * BufferView.C:
12989         * BufferView_pimpl.h:
12990         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12991
12992         * Makefile.am:
12993         * box.h: new start of class for above
12994
12995         * lyxfunc.C: ignore space-only minibuffer dispatches.
12996           Show the command name when it doesn't exist
12997
12998         * minibuffer.C: don't add empty lines to the history
12999
13000         * minibuffer.C: add a space on dropdown completion
13001
13002 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * text.C: fix line above/below drawing in insets
13005
13006 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * lyxlength.C (LyXLength): Initialize private variables.
13009
13010 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13013         when inserting error insets.
13014
13015 2001-12-13  Juergen Vigna  <jug@sad.it>
13016
13017         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13018         actually sometimes the before-paragraph.
13019         (setUndo): don't clear the redostack if we're not actually undoing!
13020
13021 2001-12-06  Juergen Vigna  <jug@sad.it>
13022
13023         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13024         and fixed redoing of main paragraph, so we can use it now ;)
13025
13026         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13027
13028 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13029
13030         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13031         Juergen's request
13032
13033 2001-12-13  André Pönitz <poenitz@gmx.net>
13034
13035         * undostack.[Ch]:
13036         * undo_func.C: minor cleanup
13037
13038 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13039
13040         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13041         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13042         font in urw-fonts package which is marked as -urw-fontspecific and
13043         does not work (incidentally, changing the encoding in the
13044         fonts.dir of this package to -adobe-fontspecific fixes the
13045         problem).
13046
13047         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13048         is a crash when undoing first paragraph (Juergen, please take a
13049         look). THis does not mean the undo fix is wrong, just that it
13050         uncovers problems.
13051
13052         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13053         the (Paragraph*) version when needed instead of duplicating the
13054         code.
13055
13056         * text.C (workWidth): use Inset::parOwner to find out where the
13057         inset has been inserted. This is a huge performance gain for large
13058         documents with lots of insets. If Inset::parOwner is not set, fall
13059         back on the brute force method
13060
13061         * paragraph_pimpl.C (insertInset):
13062         * paragraph.C (Paragraph):
13063         (cutIntoMinibuffer): set parOwner of insets when
13064         inserting/removing them
13065
13066         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13067
13068 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13069
13070         * commandtags.h:
13071         * LyXAction.C:
13072         * lyx_main.C:
13073         * lyxfunc.C:
13074         * mathed/formulabase.C:
13075         * mathed/math_cursor.[Ch]:
13076         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13077
13078
13079 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * lyxlength.[Ch] (operator!=): new function
13082
13083 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * text.C (workWidth): use Inset::parOwner to find out where the
13086         inset has been inserted. This is a huge performance gain for large
13087         documents with lots of insets. If Inset::parOwner is not set, fall
13088         back on the brute force method
13089
13090         * paragraph_pimpl.C (insertInset):
13091         * paragraph.C (Paragraph):
13092         (cutIntoMinibuffer): set parOwner of insets when
13093         inserting/removing them
13094
13095         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13096
13097 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13098
13099         * tabular-old.C (getTokenValue):
13100         * tabular.C (getTokenValue):
13101         (write_attribute): new versions for LyXLength
13102         (everywhere): adjust the use of widths
13103
13104         * tabular.h: change the type of widths from string to LyXLength
13105
13106 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13107
13108         * paragraph.C: fixed missing line number count when exporting
13109         Environments to LaTeX file
13110
13111         * buffer.C: added informational message for checking line numbers.
13112
13113 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13114
13115         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13116         paragraph, do the 'double space' part, but not the 'empty
13117         paragraph' one.
13118
13119         * text.C (workWidth): small optimization
13120         (getLengthMarkerHeight): use minimal size for negative lengths.
13121
13122 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13123
13124         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13125
13126         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13127
13128 2001-12-11  André Pönitz <poenitz@gmx.net>
13129
13130         * FontLoader.C:
13131         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13132
13133 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13134
13135         * text2.C: keep selection on a setFont()
13136
13137 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13138
13139         * lyx_cb.C: another bv->text misuse, from insert label
13140
13141 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * kbsequence.h:
13144         * kbsequence.C: re-instate nmodifier mask
13145
13146 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13147
13148         * lyx_main.h: make lyxGUI private.
13149
13150 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * lyxfind.C: place the cursor correctly on failed search
13153
13154 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13155
13156         * text.C (getLengthMarkerHeight): for small heights, the arrows
13157         are not always on top/bottom of the text
13158         (drawLengthMarker): smaller arrows; take the left margin in
13159         account; draw also vfills.
13160         (paintFirstRow):
13161         (paintLastRow): remove special code for vfill and standard spaces,
13162         since everything is handled in drawLengthMarker now.
13163
13164 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * buffer.C (insertErtContents): try to handle font and language
13167         interaction a bit better.g
13168
13169         * ColorHandler.C (updateColor): change the hash to cover the whole
13170         LColor enum, ws cleanup
13171         (getGCLinepars): ditto
13172         (getGCLinepars): only lookup in the linecache once.
13173
13174 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13175
13176         * iterators.C (operator++): Make the iterator more robust
13177
13178         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13179         (John's patch)
13180         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13181
13182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * lyxtext.h:
13185         * text.C: better added space drawing
13186
13187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * LyXView.C:
13190         * BufferView2.C: fix layout combo update on inset unlock
13191
13192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * Makefile.am: don't compile unused files
13195
13196 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * lyxfunc.C:
13199         * commandtags.h:
13200         * LyXAction.C: remove old LFUN_LAYOUTNO
13201
13202 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * paragraph_pimpl.h:
13205         * paragraph_pimpl.C: isTextAt() doesn't need font param
13206
13207 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13208
13209         * lyxlex.h:
13210         * lyxlex.C: little cleanup
13211
13212 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * BufferView_pimpl.C: fix insertAscii for insets
13215
13216 2001-12-05  Juergen Vigna  <jug@sad.it>
13217
13218         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13219         set the right font on the "multi" paragraph paste!
13220
13221 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * trans_decl.h:
13224         * trans_mgr.[Ch]:
13225         * trans.[Ch]:
13226         * lyxgluelength.C:
13227         * lyxlength.C: remove out-commented code.
13228
13229         * BufferView_pimpl:
13230         * CutAndPaste.C:
13231         * DepTable.C:
13232         * buffer.C:
13233         * chset.C:
13234         * lastfiles.C:
13235         * lyxlex.C:
13236         * lyxlex_pimpl.C:
13237         * lyxserver.C:
13238         * screen.C:
13239         * tabular-old.C:
13240         * tabular.C:
13241         * text.C:
13242         * trans_mgr.C:
13243         * vc-backend.C: change "while(" to "while ("
13244
13245         * lyxlength.[Ch]: add zero function to check if length is zero or
13246         not
13247         * lyxgluelength.C: use it
13248
13249 2001-12-05  Allan Rae  <rae@lyx.org>
13250
13251         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13252         Works for 2.95.3, from what I understand of Garst's reports this should
13253         work for other g++ versions.  We're screwed if the abs(int) definition
13254         changed between bugfix releases of gcc.
13255
13256 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * text.C: fix chapter label offset !
13259
13260 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13261
13262         * lyxtext.h:
13263         * text.C: fix hfill at end of line, clean up
13264
13265 2001-12-04  Juergen Vigna  <jug@sad.it>
13266
13267         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13268         that we force an update of the inset and it's owners if neccessary.
13269
13270 2001-12-03  Juergen Vigna  <jug@sad.it>
13271
13272         * text.C (rowLast): simplified code
13273
13274 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * lyxfunc.C: fix show options on timeout
13277
13278 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * screen.C (topCursorVisible): scroll half a page when the cursor
13281         reached top of bottom of screen
13282
13283 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * minibuffer.C: deactivate on loss of focus
13286
13287 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * vspace.[Ch] (operator!=): add operator.
13290
13291 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * BufferView_pimpl.C: refuse to open an inset when
13294         there's a selection.
13295
13296 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * BufferView_pimpl.C: allow to click on RHS of full row insets
13299
13300 2001-11-30  Juergen Vigna  <jug@sad.it>
13301
13302         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13303         insets for undo reasons.
13304
13305 2001-11-28  André Pönitz <poenitz@gmx.net>
13306
13307         * vspace.[Ch]: cosmetical changes
13308
13309 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13310
13311         * LyXAction.h:
13312         * LyXAction.C:
13313         * lyxfunc.h:
13314         * lyxfunc.C:
13315         * kbmap.h:
13316         * kbmap.C:
13317         * lyxrc.C:
13318         * kbsequence.h:
13319         * kbsequence.C: part re-write of old kb code
13320
13321         * Painter.C:
13322         * WorkArea.C: remove Lgb_bug_find_hack
13323
13324 2001-11-30  José Matos <jamatos@fep.up.pt>
13325
13326         * buffer.C (makeDocBookFile): add a comment to point a hack.
13327         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13328         Fixed a double write of labels.
13329
13330 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13331
13332         * LaTeX.C:
13333         * LaTeX.h Fixed bug in LaTeX class where it would not
13334         re-run latex if no depfiles were changed, but the .dvi was removed.
13335
13336 2001-11-28  André Pönitz <poenitz@gmx.net>
13337
13338         * all the files from the change on 2001/11/26:
13339         use lyx::layout_type instead of LyXTextClass::size_type
13340         use lyx::textclass_type instead of LyXTextClassList::size_type
13341
13342 2001-11-29  Juergen Vigna  <jug@sad.it>
13343
13344         * text.C: added support for paragraph::isFreeSpacing()
13345
13346         * buffer.C: same as above
13347
13348         * paragraph.h: inserted isFreeSpacing() function to enable
13349         FreeSpacing inside InsetERT.
13350
13351         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13352         of the paragraph's in the cut/copy buffer to 0!
13353
13354         * text2.C (removeRow): remove the assert as it can!
13355
13356         * lyxtext.h: added helper function firstRow returning firstrow and
13357         made firstrow private again.
13358
13359         * BufferView2.C (lockInset): don't relock if we're already locked!
13360
13361         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13362         the only paragraph.
13363         (removeRow): added Assert::(firstrow)
13364
13365         * debug.C: forgot to add INSETTEXT here.
13366
13367 2001-11-28  Juergen Vigna  <jug@sad.it>
13368
13369         * sp_spell.C (initialize): changed error text to more general
13370         spellchecker command use (not only ispell!)
13371
13372         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13373
13374         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13375
13376 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * vspace.C: initialise lyxgluelength on failure
13379
13380 2001-11-28  Allan Rae  <rae@lyx.org>
13381
13382         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13383         declaration & definition that looks like a function declaration.
13384
13385 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13386
13387         * BufferView2.C (copy):
13388         (copyEnvironment): do not clear the selection when doing a copy.
13389
13390         * text.C (paintFirstRow): compilation fix
13391
13392 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13393
13394         * tabular.C (Latex): correct line count when writing latex.
13395
13396 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * paragraph_pimpl.h:
13399         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13400           bug a bit
13401
13402 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * text.C:
13405         * LColor.h:
13406         * LColor.C: change vfillline->added_space
13407
13408         * text.C: add markers and text for added space
13409
13410         * vspace.C: fix comment
13411
13412 2001-11-28  André Pönitz <poenitz@gmx.net>
13413
13414         * paragraph.C: whitespace changes
13415         * all the other files from the change on 2001/11/26:
13416         change *::pos_type into lyx::pos_type
13417
13418 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13419
13420         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13421         language of the document when inserting error insets.
13422
13423 2001-11-26  André Pönitz <poenitz@gmx.net>
13424
13425         * BufferView_pimpl.[Ch]:
13426         *       CutAndPaste.C:
13427         * buffer.[Ch]:
13428         * lyxcursor.[Ch]:
13429         * lyxfind.C:
13430         * lyxfunc.C:
13431         * lyxrow.[Ch]:
13432         * paragraph.[Ch]:
13433         * paragraph_pimpl.[Ch]:
13434         * sp_spell.C:
13435         * text.C:
13436         * text2.C: reduce header dependencies, introduce type for positions
13437
13438 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * <various>: change to use Alert.h
13441
13442 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13445         when encountering an unknown token.
13446         (readLyXformat2): Show an error message if there were unknown tokens.
13447
13448 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13449
13450         * BufferView2.C:
13451         * BufferView_pimpl.C:
13452         * buffer.C:
13453         * paragraph.h:
13454         * text.C:
13455         * text2.C: use par->isInset()
13456
13457 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * paragraph_pimpl.h:
13460         * paragraph_pimpl.C: cleanup
13461
13462 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13463
13464         * text2.C (removeRow):
13465         * text.C (setHeightOfRow): remove useless (and costly) call to
13466         getRow.
13467
13468 2001-11-20  Allan Rae  <rae@lyx.org>
13469
13470         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13471         Now need Inset*::checkInsertChar() to return true for appropriate
13472         cases so that the characters in the minibuffer will actually be
13473         inserted.
13474
13475 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * text.C: change the order of the includes.
13478         (workWidth): initialize it at once.
13479         (workWidth): make maxw unsigned
13480         (setHeightOfRow): remove unused variable (inset)
13481         (selectSelectedWord): remove unused variable (inset)
13482         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13483
13484 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13485
13486         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13487         server is not running.
13488         (openConnection):
13489         (closeConnection): add debug info when server is disabled.
13490
13491         * ColorHandler.C (getGCForeground): send debug message to GUI
13492         channel.
13493
13494         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13495
13496         * kbmap.C (bind): modify because return conventions of
13497         kb_sequence::parse have changed.
13498
13499         * kbsequence.C (parse): only ignore spaces and not any stupid
13500         control character. This avoids tests like s[i] <= ' ', which are
13501         guaranteed to fail with 8bit characters and signed chars.
13502         Change return code to string::npos when there have been no error
13503         (0 was a bad idea when error is at first character)
13504
13505 2001-11-14  José Matos  <jamatos@fep.up.pt>
13506
13507         * buffer.h:
13508         * buffer.C (simpleDocBookOnePar): removed unused argument.
13509
13510 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13513         insets which are part of a word. Paragraph::isLetter takes care of
13514         that now. Use Paragraph::isInset to identify insets.
13515         (selectSelectedWord): do not test for hyphenation break.
13516
13517         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13518         that protected spaces are considered as spaces.
13519
13520         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13521         Inset::isLetter.
13522
13523 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13524
13525         * lyxserver.h:
13526         * lyxserver.C: fix it. and small cleanup.
13527
13528 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * BufferView_pimpl.C: use inline helpers
13531
13532         * LaTeXFeatures.h:
13533         * LaTeXFeatures.C: fix typos
13534
13535         * Spacing.h:
13536         * Spacing.C: move spacing_string into class
13537
13538         * ToolbarDefaults.C: move stuff into namespace anon
13539
13540         * layout.h: update enum
13541
13542         * lyxfunc.C: use better debug
13543
13544         * minibuffer.h: fix typo
13545
13546         * debug.h:
13547         * debug.C:
13548         * WorkArea.C: add and use Debug::WORKAREA
13549
13550         * lyxtext.h:
13551         * text.C:
13552         * text2.C: code re-organisation, inline helpers
13553
13554 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13555
13556         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13557         std::vector.empty().
13558
13559 2001-11-09  Allan Rae  <rae@lyx.org>
13560
13561         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13562         '\n's after tables.  Tabular and ERT inset work now makes this no
13563         longer necessary.
13564
13565 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * minibuffer.h:
13568         * minibuffer.C: fix crash, improve drop-down completion
13569
13570 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyxserver.h:
13573         * lyxserver.C: invalidate fd's when doing endPipe()
13574
13575 2001-11-08  José Matos  <jamatos@fep.up.pt>
13576
13577         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13578         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13579
13580         * paragraph.h:
13581         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13582
13583 2001-11-07  José Matos  <jamatos@fep.up.pt>
13584
13585         * buffer.h:
13586         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13587         const qualifier.
13588
13589         * buffer.C (sgmlOpenTag):
13590         * buffer.C (sgmlCloseTag): removed debug info.
13591
13592         * buffer.h (sgmlOpenTag):
13593         * buffer.h (sgmlCloseTag): made public.
13594
13595 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * buffer.C (saveParamsAsDefaults):
13598         * lyx_cb.C (MenuLayoutSave): remove
13599
13600         * LyXAction.C (init):
13601         * commandtags.h:
13602         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13603
13604 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13605
13606         * buffer.C (setPaperStuff): removed from here...
13607
13608         * bufferparams.C (setPaperStuff): ... and moved there.
13609
13610 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * minibuffer.h:
13613         * minibuffer.C:
13614         * XFormsView.C: add support for drop-down completion
13615
13616 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13617
13618         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13619         commands.
13620
13621 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13624         disabled.
13625
13626 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * lyx_main.C: change ref to known bugs
13629
13630 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13631
13632         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13633         to work around older babel problems.
13634
13635 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13636
13637         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13638
13639 2001-10-24  Juergen Vigna  <jug@sad.it>
13640
13641         * tabular-old.C (ReadOld): below variable changes reflected.
13642
13643         * tabular.[Ch]: added ltType struct for longtable header/footer
13644         defines and changed all instances where they are used. Added
13645         future support for double top/bottom rows.
13646
13647 2001-10-24  José Matos  <jamatos@fep.up.pt>
13648
13649         * buffer.h (docbookHandleCaption):
13650         * buffer.C (docbookHandleCaption): removed unused function.
13651         (makeDocBookFile): moved docbook supported version to v4.1.
13652
13653 2001-10-24  José Matos  <jamatos@fep.up.pt>
13654
13655         * tabular.h:
13656         * tabular.C (docbookRow): new function to export docbook code of a row.
13657         (DocBook): now honors the longtable flags.
13658
13659 2001-10-23  José Matos  <jamatos@fep.up.pt>
13660
13661         * LaTeXFeatures.h:
13662         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13663         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13664
13665         * buffer.C (makeLinuxDocFile):
13666         (makeDocBookFile): reworked the preamble, more clean, and with
13667         support for lyx defined entities. Changed the document declaration
13668         to be more XML friendly.
13669
13670         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13671         if we need to output XML that should be done with a filter.
13672
13673 2001-10-22  Juergen Vigna  <jug@sad.it>
13674
13675         * sp_pspell.h (class PSpell): add alive function needed in the
13676         controller to see if the spellchecker could be started.
13677
13678 2001-10-22  Juergen Vigna  <jug@sad.it>
13679
13680         * buffer.C (insertStringAsLines): modify the font for inserting
13681         chars in certain conditions by calling checkInsertChar(font).
13682
13683 2001-10-19  Juergen Vigna  <jug@sad.it>
13684
13685         * text.C (workWidth): use getRow instead of wrong algorithm.
13686         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13687
13688 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * lyxserver.h:
13691         * lyxserver.C:
13692         * lyx_main.h:
13693         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13694
13695 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * text.C (workWidth): do not search for the exact row when
13698         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13699         optimization for big documents.
13700
13701 2001-10-18  Juergen Vigna  <jug@sad.it>
13702
13703         * text.C (workWidth): new function with added Inset * parameter.
13704
13705 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13708
13709         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13710         change return type of getColumnNearX.
13711
13712
13713         * text.C (changeRegionCase): use uppercase/lowercase instead of
13714         toupper/tolower.
13715         (leftMargin):
13716         (rightMargin): simplify code by factoring out the uses of
13717         textclasslist.
13718         (labelFill):
13719         (numberOfHfills):
13720         (setHeightOfRow):
13721         (appendParagraph): use Paragraph::size_type
13722
13723 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * vspace.C (asLatexString): add a missing break
13726
13727 2001-10-15  Herbert Voss  <voss@perce.de>
13728
13729         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13730
13731 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13734         is not available.
13735
13736 2001-10-10  André Pönitz <poenitz@gmx.net>
13737
13738         * lyxfunc.C: removed greek_kb_flag.
13739
13740 2001-10-10  Herbert Voss  <voss@perce.de>
13741
13742         * lyx_main.C: delete global string help_lyxdir.
13743
13744 2001-10-09  Herbert Voss  <voss@perce.de>
13745
13746         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13747
13748         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13749
13750         * lyx_main.C: added global string help_lyxdir.
13751
13752         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13753
13754 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13755
13756         * lyxrc.C (set_font_norm_type): support iso8859-4
13757
13758 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13759
13760         * LaTeX.C (deplog): add another regex for MikTeX
13761
13762 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13763
13764         * lyxrc.C (set_font_norm_type): support iso8859-3
13765
13766 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13767
13768         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13769
13770         * LaTeXFeatures.C: remove special case of french and index
13771
13772         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13773         before \begin{document}). This solves several incompatibilities.
13774
13775 2001-10-03  Garst Reese  <reese@isn.net>
13776
13777         * lyx_cb.C: change CheckTex error msg.
13778
13779 2001-10-03  José Matos  <jamatos@fep.up.pt>
13780
13781         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13782
13783 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * .cvsignore: update
13786
13787         * lyx_main.C (commandLineVersionInfo): use new style version info.
13788
13789         * buffer.C (writeFile):
13790         (makeLaTeXFile):
13791         (makeLinuxDocFile):
13792         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13793
13794         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13795
13796         * version.h: update to use stuff in version.C
13797
13798         * version.C.in: new file. Contains version information determined
13799         at compile time. This is a merging of version.h and
13800         version_info.h.in.
13801
13802 2001-10-03  Juergen Vigna  <jug@sad.it>
13803
13804         * BufferView_pimpl.C (update): don't change "dirty" status in
13805         updateInset call.
13806
13807 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13808
13809         * WorkArea.C (c-tor): re-position version string slightly.
13810
13811 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13812
13813         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13814         revert to previous code.
13815
13816         WorkArea.[Ch]: (show, destroySplash): methods removed.
13817
13818         WorkArea.C: rework code so that it's an amalgam of the codes before and
13819         after the splash screen was moved to WorkArea.
13820
13821 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * lyxrc.C (read):
13824         * vspace.C (inPixels):
13825         (lyx_advance):
13826         * kbmap.C (bind):
13827         * buffer.C (insertStringAsLines):
13828         (asciiParagraph): fix types to be large enough
13829
13830         * lyxlex_pimpl.h: change member status from short to int
13831
13832         * layout.h: fix type of endlabeltype
13833
13834         * kbmap.C (bind):
13835         * kbsequence.C (parse): change return type to string::size_type
13836
13837         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13838         variable
13839
13840         * Bullet.C (bulletSize):
13841         (bulletEntry): do not use short ints as parameters
13842
13843         * BufferView2.C (insertLyXFile): change a char to an int.
13844
13845         * WorkArea.C (WorkArea): remove unneeded floats in computation
13846
13847 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13848
13849         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13850
13851         * paragraph.C (asString): Do not ignore newline/hfill chars when
13852         copying to the clipboard.
13853
13854 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13855
13856         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13857         after a multi-line inset.
13858
13859 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13860
13861         * paragraph.C (validate): Set NeedLyXFootnoteCode
13862
13863 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13864
13865         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13866         and decrease-error to decrease.
13867
13868 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13869
13870         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13871         it more readable (should be equivalent)
13872
13873 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13874
13875         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13876
13877 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13880         of a cursor (row, etc.) after a character has been deleted
13881         (deleteEmptyParagraphMechanism): call the method above on _all_
13882         cursors held by the LyXText when a double space has been
13883         detected/deleted.
13884
13885 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13886
13887         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13888         pixmap.
13889         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13890
13891         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13892         background. Use greyOut() and the new show() methods to toggle between
13893         the foreground and background. Add code to remove the splash after
13894         its initial showing.
13895
13896         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13897         (create_forms): no longer call Dialogs::showSplash.
13898
13899 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * .cvsignore: add version_info.h
13902
13903 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13904
13905         * version_info.h.in: new file
13906
13907         * Makefile.am: add version_info.h.in
13908
13909         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13910         version_info.h instead of VERSION_INFO
13911
13912 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13913
13914         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13915         The ERT inset now returns string().
13916
13917 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13918
13919         * lyxtext.h, text.C (selectNextWord): renamed as
13920         selectNextWordToSpellcheck.
13921
13922         * text.C (selectNextWordToSpellcheck): Modified to not select
13923         words inside an ERT inset.
13924
13925 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * lyx_cb.C (MenuLayoutSave): change a bit the question
13928
13929         * sp_base.h: include <sys/types.h>
13930
13931 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13932
13933         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13934
13935 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13936
13937         * several files: fix typos in user-visible strings
13938
13939 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * text2.C (pasteSelection): do not set the selection, since it
13942         will be cleared later. Actually, the intent was to fix the way the
13943         selection was set, but I figured rmoving the code was just as good.
13944
13945 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13946
13947         * FontLoader.C (available): Check if font is available without
13948         loading the font.
13949
13950 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13951
13952         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13953
13954 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13955
13956         * lyxrc.[Ch]: added display_graphics variable and associated code.
13957
13958 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * bufferparams.C (hasClassDefaults): new method. Returns true if
13961         the buffer parameters correspond to known class defaults
13962
13963 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * XFormsView.C (show): set minimum size to the main window.
13966
13967 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13968
13969         * text2.C (copySelection):
13970         (cutSelection):
13971         * lyxfind.C (LyXReplace):
13972         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13973         LyXText::selectionAsString.
13974
13975         * paragraph.C (asString): add "label" argument to the second form
13976
13977         * text2.C (selectionAsString): add "label" argument and pass it to
13978         Paragraph::asString.
13979
13980 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * lyx_main.C (commandLineHelp): remove version information
13983
13984 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13985
13986         * lyx_main.C: add -version commandline option
13987
13988 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * paragraph.h: make the optional constructor arg required instead.
13991         some modifications to other files because of this.
13992
13993         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13994
13995         * lyxserver.C (C_LyXComm_callback): make it static
13996
13997         * lyx_main.C (error_handler): make it static
13998
13999         * lyx_gui.C (LyX_XErrHandler): make it static
14000
14001         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14002
14003         * WorkArea.C: make the extern "C" methods static.
14004
14005         * Makefile.am (lyx_LDADD): simplify
14006
14007 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14010         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14011
14012         * LyXAction.C (init):
14013         * lyxfunc.C (dispatch): associated code removal.
14014
14015 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14016
14017         * lyxfont.h (isSymbolFont): shut off warning
14018
14019         * text.C (setHeightOfRow):
14020         (getVisibleRow): fix crash with empty paragraphs which have a
14021         bottom line
14022
14023 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14024
14025         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14026         code.
14027
14028 2001-09-04  José Matos  <jamatos@fep.up.pt>
14029         * buffer.C
14030         * buffer.h
14031         * tabular.C (docbook): rename docBook method to docbook.
14032
14033 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * Makefile.am: add dependencies to main.o.
14036
14037 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14038
14039         * FontLoader.C (available): Return false if !lyxrc.use_gui
14040
14041 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14042
14043         * FontInfo.C (query):
14044         * converter.C (view):
14045         * importer.C (Import):
14046         * exporter.C (Export): Can not -> cannot.
14047
14048 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * BufferView_pimpl.C: allow to create index inset even if
14051           string is empty
14052
14053 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14054
14055         * buffer.C (getLists): replace boost::tie code with an explicit pair
14056         as boost::tie can break some compilers.
14057
14058         * iterators.h: Added a std:: declaration to the return type of
14059         ParIterator::size.
14060
14061 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14064           case.
14065
14066 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * iterators.[Ch]: New files. Provide paragraph iterators.
14069
14070         * buffer.C (changeLanguage): Use paragraph iterators.
14071         (isMultiLingual): ditto
14072
14073         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14074
14075 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * FontLoader.C: Support for cmr font.
14078
14079 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14082         (available): New method.
14083
14084         * FontInfo.C (getFontname): Use scalable fonts even when
14085         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14086         found.
14087
14088 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14089
14090         * converter.C (Formats::view): reverted! Incorrect fix.
14091
14092 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14093
14094         * converter.C (Formats::view): only output the -paper option
14095         if the dvi viewer is xdvi, thereby fixing bug #233429.
14096
14097 2001-08-23  Herbert Voss  <voss@perce>
14098
14099         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14100
14101 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14102
14103         * Spacing.h (Spacing): Set space to Default on in the default
14104         constructor.
14105
14106 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * vc-backend.h (RCS::versionString): add RCS to version
14109         (CVS::versionString): add CVS to version
14110
14111         * vc-backend.C (scanMaster): do not add CVS to version.
14112         (scanMaster): do not add RCS to version
14113
14114         * lyxvc.C (versionString): new method
14115
14116         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14117
14118 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * Spacing.C (set): initialize fval
14121
14122 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14123
14124         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14125         " or \.
14126
14127 2001-08-16  Juergen Vigna  <jug@sad.it>
14128
14129         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14130
14131 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * BufferView_pimpl.C:
14134         * figureForm.C:
14135         * lyxtext.h:
14136         * text2.C: setParagraph takes linespacing now
14137
14138 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * LyxAction.C: add internal LFUN_CITATION_INSERT
14141
14142         * LyXView.C: actually apply fix
14143
14144         * bufferlist.C: fix open non-existent file
14145
14146         * lyxfind.C: fix indentation
14147
14148         * lyxfunc.C: remove unneeded assert, fix typo
14149
14150 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * MenuBackend.C: use "Floatname List"
14153
14154 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14157         when converting LaTeX layout to insetERT.
14158         Generate a non-collapsed float when reading old float
14159
14160 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14163         ERT insets.
14164
14165 2001-08-13  Juergen Vigna  <jug@sad.it>
14166
14167         * text.C (fill): return 0 instead of 20 as this seems to be the more
14168         correct value.
14169
14170 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14173         lyxrc.font_norm.
14174
14175 2001-08-13  Juergen Vigna  <jug@sad.it>
14176
14177         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14178         casesensitive off.
14179         (SearchBackward): comment out the unlocking of the inset_owner this
14180         should not be needed!
14181
14182 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * Many files: Remove inherit_language, and add latex_language
14185
14186         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14187         collapsible insets.
14188
14189 2001-08-10  Juergen Vigna  <jug@sad.it>
14190
14191         * text.C (prepareToPrint): fixed hfill-width in draw!
14192
14193         * BufferView2.C (selectLastWord): save the selection cursor as this
14194         now is cleared in the function LyXText::clearSelection!
14195
14196 2001-08-08  Juergen Vigna  <jug@sad.it>
14197
14198         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14199         BACKSPACE type functions.
14200
14201         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14202         is only cutted from the document but not put in the cut-buffer, where
14203         still the old stuff should be.
14204
14205         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14206
14207         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14208
14209         * tabular.C (SetWidthOfCell): fixed special case where the width
14210         was not updated!
14211         (LeftLine): handle '|' in align_special.
14212         (RightLine): ditto
14213         (LeftAlreadyDrawed): ditto
14214         (SetWidthOfCell): ditto
14215
14216 2001-08-07  Juergen Vigna  <jug@sad.it>
14217
14218         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14219
14220 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14223         * lyxlex.[hC]: ditto
14224
14225 2001-08-06  Juergen Vigna  <jug@sad.it>
14226
14227         * text.C (getVisibleRow): fix up row clearing a bit.
14228
14229 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14230
14231         * minibuffer.C: make sure the X server sees the changes in the input.
14232
14233 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * paragraph.C (getFont): split into...
14236         (getLabelFont): this
14237         (getLayoutFont): and this
14238         * paragraph_pimpl.C (realizeFont): calling this
14239
14240         * text2.C (getFont): split into...
14241         (getLayoutFont): this
14242         (getLabelFont): and this
14243         (realizeFont): all three calling this
14244
14245         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14246         files where used.
14247
14248 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14251
14252 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14253
14254         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14255         layouts from the Quote inset insertion.
14256
14257 2001-08-03  Juergen Vigna  <jug@sad.it>
14258
14259         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14260
14261         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14262         only if status not is already CHANGED_IN_DRAW (second level).
14263
14264         * text.C (draw): don't set the need_break_row when inside an
14265         InsetText LyXText.
14266
14267 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * buffer.C (parseSingleLyXformat2Token): handle more latex
14270         conversion cases.
14271
14272         * bufferview_funcs.[hC]: change function names to
14273         begin with small char, adjust other files.
14274
14275 2001-08-02  André Pönitz <poenitz@gmx.net>
14276
14277         * lyxfunc.C:
14278         BufferView_pimpl.C: remove broken special code for math-greek
14279
14280 2001-08-02  Juergen Vigna  <jug@sad.it>
14281
14282         * BufferView_pimpl.C (update): redone this function so that we
14283         update the text again if there was a CHANGE_IN_DRAW.
14284
14285         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14286         (drawFromTo): added a new internal bool which is used by draw() and
14287         redraw() function.
14288         (general): some cursor drawing problems fixed.
14289
14290 2001-08-01  Juergen Vigna  <jug@sad.it>
14291
14292         * lyxfind.C (LyXFind): fixed
14293         (SearchForward): ditto
14294         (SearchBackward): ditto
14295
14296         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14297         spurius drawing of the cursor in the main area.
14298
14299         * text2.C (status): small fix which could lead to a segfault!
14300         (clearSelection): remove unneeded BufferView param.
14301
14302 2001-08-01  André Pönitz <poenitz@gmx.net>
14303
14304         * lyxfunc.C: small change due to changed mathed interface
14305
14306 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14309
14310 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14311
14312         * lyxfunc.c: fail gracefully if file doesn't exist
14313
14314         * LyXSendto.C:
14315         * buffer.C:
14316         * lyxfunc.C:
14317         * BufferView_pimpl.C: IsDirWriteable() proto changed
14318
14319         * LyXView.C: fix updateWindowTitle() to store the last title
14320
14321 2001-07-31  Juergen Vigna  <jug@sad.it>
14322
14323         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14324         the font (wrong since using of Paragraph::highestFontInRange).
14325
14326         * paragraph.C (highestFontInRange): added a default_size parameter.
14327
14328         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14329         (setHeightOfRow): reformat
14330
14331 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * converter.[hC] + affected files: move to (inital-char)lowercase
14334         function names.
14335
14336         * ParagraphParameters.C (ParagraphParameters): remove commented code
14337
14338         * PainterBase.[Ch]: remove commented code
14339
14340         * LaTeXFeatures.h: add "bool floats" for float.sty
14341
14342         * LaTeXFeatures.C (LaTeXFeatures): init floats
14343         (require): handle float
14344         (getPackages): do it with floats
14345
14346 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * BufferView_pimpl.C (Dispatch): improve handling of
14349         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14350
14351         * commandtags.h: #include lyxfont.h here temporarily to avoid
14352         keybinding bug.
14353
14354         * bufferlist.h: include LString.h here.
14355
14356 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * text2.C (getStringToIndex): new method.
14359
14360 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14361
14362         * *: Reduced header file dependencies all over.
14363
14364 2001-07-30  Baruch Even  <baruch@lyx.org>
14365
14366         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14367
14368 2001-07-29  Baruch Even  <baruch@lyx.org>
14369
14370         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14371
14372 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * ParameterStruct.h (endif): add a default constructor to make
14375         sure that all variables is initialized.
14376
14377         * ParagraphParameters.C (ParagraphParameters): adjust
14378
14379 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14380
14381         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14382         index; also, check that there is something to index, and that it
14383         does not span over several paragraphs.
14384         (doubleClick): use WHOLE_WORD_STRICT for double click.
14385
14386         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14387
14388         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14389         scheme.
14390
14391 2001-07-26  Baruch Even  <baruch@lyx.org>
14392
14393         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14394         an InsetFig figure, backwards compatible reading of old figure code.
14395
14396 2001-07-27  Juergen Vigna  <jug@sad.it>
14397
14398         * text2.C: font.realize function adaption.
14399
14400         * text.C (draw): add a warnings lyxerr text if needed.
14401
14402         * layout.C: font.realize function adaption.
14403
14404         * language.C: add inherit_language and implement it's handlings
14405
14406         * bufferview_funcs.C (StyleReset): remove language parameter from
14407         font creation (should be language_inherit now).
14408
14409         * bufferparams.C (writeFile): handle ignore_language.
14410
14411         * paragraph.C (getFontSettings): the language has to be resolved
14412         otherwise we have problems in LyXFont!
14413
14414         * lyxfont.C (lyxWriteChanges): added document_language parameter
14415         (update): removed unneeded language parameter
14416
14417         * paragraph.C (validate): fixed wrong output of color-package when
14418         using interface colors for certain fonts in certain environments,
14419         which should not seen as that on the final output.
14420
14421 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * BufferView_pimpl.C:
14424         * Thesaurus.h:
14425         * Thesaurus.C:
14426         * Makefile.am:
14427         * commandtags.h:
14428         * LyXAction.C: add thesaurus support
14429
14430         * lyxfind.h:
14431         * lyxfind.C: add "once" parameter, for thesaurus, to not
14432           move to the next match
14433
14434 2001-07-26  Juergen Vigna  <jug@sad.it>
14435
14436         * lyxfont.C (realize): honor ignore_language too!
14437         (resolved): ditto.
14438
14439         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14440
14441         * text.C (draw): one place more for ignore_language to not draw
14442         itself!
14443
14444 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14447
14448 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14451         the minipage conversion problem.
14452
14453 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14454
14455         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14456         insert an inset.
14457
14458 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * BufferView.h: don't forward declare WorkArea
14461
14462         * BufferView.C: don't include WorkArea.h
14463
14464 2001-07-25  André Pönitz <poenitz@gmx.net>
14465
14466         * commandtags.h:
14467         * LyXAction.C:
14468         * lyxfunc.C:  new LFUN 'math-space'
14469
14470         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14471
14472 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * text2.C (toggleInset): call open/close
14475
14476 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14477
14478         * lyxfunc.C (dispatch): add debug for the disabled case
14479
14480         * font.C (buttonText): make similar to rectText
14481
14482         * buffer.C (readInset): comment out parsing of insetlist and
14483         insttheorem
14484
14485         * PainterBase.C (rectText): small correction
14486
14487         * BufferView_pimpl.C: comment out insettheorem and insetlist
14488         * LyXAction.C: ditto
14489         * commandtags.h: ditto
14490
14491 2001-07-24  Juergen Vigna  <jug@sad.it>
14492
14493         * text.C (draw): honor the ignore_language.
14494
14495         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14496
14497 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14498
14499         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14500         char inset.
14501
14502 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14503
14504         * lyxtext.h: remove unused (and unimplemented) methods
14505
14506 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14507
14508         * text.C (getVisibleRow): honor background color
14509
14510         * PainterBase.h:
14511         * Painter.h: remove default color argument for fillRectangle
14512
14513         * text.C (backgroundColor): new method
14514
14515 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14516
14517         * text.C (getVisibleRow): adjust
14518
14519         * font.[Ch] (rectText): new method, metrics
14520         (buttonText): new method, metrics
14521
14522         * PainterBase.[hC]: make rectText and buttonText always draw and take
14523         fewer paramteres.
14524
14525 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14526
14527         * ToolbarDefaults.C (read):
14528         * MenuBackend.C (read): allow escaping in all strings
14529
14530         * BufferView_pimpl.C (insertAndEditInset): new method.
14531         (Dispatch): use insertAndEditInset whenever appropriate.
14532
14533         * BufferView_pimpl.C (insertNote): removed
14534
14535         * BufferView_pimpl.C (smartQuote): new method, moved from
14536         BufferView; if an insetquote cannot be inserted, insert a '"'
14537         character instead.
14538
14539         * BufferView2.C: remove insertCorrectQuote();
14540
14541         * lyxfunc.C (getStatus): Add support for all remaingin
14542         inset-insert lfuns.
14543
14544         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14545
14546         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14547         command (necessary to pass " as parameter of self-insert.
14548
14549         * text.C (selectWordWhenUnderCursor):
14550         (selectWord): add word_location parameter
14551         (selectWordWhenUnderCursor): same + remove special code for word
14552         boundary.
14553         (selectNextWord): use kind() to guess type of insetspecialchar,
14554         not latex().
14555
14556         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14557         (insertErtContents): create ert insets as collapsed.
14558         (readInset): better compatibility code for Info inset.
14559
14560 2001-07-20  Juergen Vigna  <jug@sad.it>
14561
14562         * lyxfunc.C (dispatch): use always LyXFind now!
14563
14564         * text2.C (init): add a reinit flag so that the LyXText can be
14565         reinited instead of deleted and reallocated (used in InsetText).
14566
14567         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14568
14569         * text.C: ditto
14570
14571         * text2.C: ditto
14572
14573 2001-07-18  Juergen Vigna  <jug@sad.it>
14574
14575         * text.C (selectNextWord): handle insets inside inset by calling
14576         always the bv->text functions so that we can go up the_locking_inset!
14577
14578         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14579         in strange locations when inside an inset!
14580
14581         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14582         handling to include insets.
14583
14584         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14585
14586 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14587
14588         * LyXAction.C (init):
14589         * commandtags.h:
14590         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14591         LIGATURE_BREAK, since the name is so stupid.
14592
14593 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14594
14595         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14596         InsetInfos.
14597
14598         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14599
14600         * sp_form.[Ch]: remove.
14601
14602         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14603
14604         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14605         InsetInfo.
14606
14607         * src/buffer.C (readInset): ditto.
14608
14609 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14610
14611         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14612         menuSeparator(), endOfSentenceDot(), ldots() and
14613         hyphenationPoint(), which are therefore removed.
14614         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14615
14616         * LyXAction.C (init):
14617         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14618
14619         * paragraph.C (getWord): removed.
14620
14621         * BufferView_pimpl.C (Dispatch): use last word or selection for
14622         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14623
14624         * lyx_main.C (queryUserLyXDir): do not ask before creating
14625         user_dir, except if it has been named explicitely.
14626
14627 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14628
14629         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14630         a document of zero size.
14631
14632 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14635         approriately in the c-tor and in require().
14636         (getPackages): output the appropriate LaTeX for natbib support.
14637
14638         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14639         variables "use_natbib" and "use_numerical_citations" when reading the
14640         LyX file.
14641         (readInset): read the various natbib cite commands.
14642         (validate): white-space change.
14643
14644         * bufferparams.[Ch]: new variables "bool use_natbib" and
14645         "bool use_numerical_citations".
14646         (writeFile): output them in the LyX file.
14647
14648 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14649
14650         * lyxfunc.C (getStatus): add support for all the inset insertion
14651         commands.
14652
14653         * text2.C (insertInset):
14654         * paragraph.C (insetAllowed):
14655         * BufferView_pimpl.C (insertInset): update to take in account the
14656         renaming of insertInsetAllowed
14657
14658         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14659
14660         * text2.C (getInset): new method. returns inset at cursor position.
14661
14662         * BufferView_pimpl.C (Dispatch): changes because of this.
14663
14664         * LyXAction.C (init): rename open-stuff to inset-toggle.
14665
14666         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14667
14668         * text2.C (toggleInset): renamed from openStuff; use
14669         Inset::open().
14670
14671 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14672
14673         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14674
14675         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14676
14677 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14678
14679         * buffer.C (readLyXformat2): Add filename to the error dialog
14680
14681 2001-07-18  Juergen Vigna  <jug@sad.it>
14682
14683         * tabular.C (GetCellNumber): put an assert here instead of the check!
14684
14685 2001-07-17  Juergen Vigna  <jug@sad.it>
14686
14687         * BufferView_pimpl.C (toggleSelection): adapted too.
14688
14689         * text.C (selectNextWord): adapted for use with insets.
14690         (selectSelectedWord): ditto
14691
14692 2001-07-17  Juergen Vigna  <jug@sad.it>
14693
14694         * sp_spell.C (PSpell): fix initialitation order.
14695
14696 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14697
14698         * paragraph.C: spacing
14699
14700 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14701
14702         * sp_spell.C: repair language selection for pspell
14703
14704 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * lyxfunc.h: change more methods to begin with lower char.
14707
14708 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14709
14710         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14711         for unknown layouts.
14712
14713 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * buffer.C (readLyXformat2): Generate an error dialog if there are
14716         unknown layouts.
14717
14718 2001-07-16  Juergen Vigna  <jug@sad.it>
14719
14720         * sp_spell.C: always compile ISpell part.
14721
14722         * lyxrc.C: added use_pspell entry and it's handling.
14723
14724 2001-07-13  Juergen Vigna  <jug@sad.it>
14725
14726         * sp_spell.C: removed double includes.
14727
14728 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14729
14730         Consistent use of Lsstream.h:
14731         * Lsstream.h: added using std::stringstream for consistencies sake.
14732
14733         * buffer.C: removed using std::stringstream
14734
14735         * lyxfont.C (stateText):
14736         * paragraph.C (asString):
14737         * text.C (selectNextWord, selectSelectedWord):
14738         * text2.C (setCounter):
14739         * vspace.C (asString, asLatexString):
14740         std::ostringstream -> ostringstream.
14741
14742 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14743
14744         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14745         * commandtags.h: add LFUN_HELP_ABOUTLYX
14746         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14747
14748 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14749
14750         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14751         cursorToggle()
14752         * lyx_gui_misc.C: remove spellchecker
14753         * lyxfunc.C: showSpellchecker
14754         * sp_base.h: added
14755         * sp_ispell.h: added
14756         * sp_pspell.h: added
14757         * sp_spell.C: added
14758         * sp_form.[Ch]: removed
14759         * spellchecker.[Ch]: removed
14760
14761 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14762
14763         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14764         is set.
14765         (simpleTeXSpecialChars): Simply print the input character without
14766         any special translation if pass_thru is set.
14767
14768         * layout.h: Added bool pass_thru to layout class for being able to
14769         implement pass through of a paragraph for Literate Programming.
14770
14771         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14772         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14773         * layout.C (Read): add "passthru" to list of layout tags and add
14774         code to set the pass_thru boolean when it is read.
14775
14776 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * trans_decl.h: remove allowed from KmodInfo
14779
14780         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14781         remove allowed code
14782         (Load): adjust
14783
14784         * paragraph_pimpl.C (erase): use boost::prior
14785
14786         * Painter.C (text): use data() instead of c_str() when length is
14787         also provided.
14788         * WorkArea.C (putClipboard): ditto
14789         * font.h (width): ditto
14790
14791         * BufferView2.C: use it-> instead of (*it). for iterators
14792         * texrow.C: ditto
14793         * paragraph_pimpl.C: ditto
14794         * paragraph.C: ditto
14795         * minibuffer.C: ditto
14796         * language.C: ditto
14797         * kbmap.C: ditto
14798         * encoding.C: ditto
14799         * counters.C: ditto
14800         * converter.C: ditto
14801         * chset.C: ditto
14802         * Variables.C: ditto
14803         * TextCache.C: ditto
14804         * MenuBackend.C: ditto
14805         * LyXAction.C: ditto
14806         * LColor.C: ditto
14807         * FloatList.C: ditto
14808         * DepTable.C: ditto
14809         * ColorHandler.C (LyXColorHandler): ditto
14810
14811 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14814
14815         * text2.C (openStuff): reintroduce this method (which had been
14816         nuked in NEW_INSETS frenzy).
14817
14818         * lyxfunc.C (Dispatch): when an action has not been handled, use
14819         its name in the error message, not its number.
14820
14821         * paragraph.C (inInset): change method name to begin with lowercase.
14822
14823         * undo_funcs.C:
14824         * text2.C: updates because of this.
14825
14826 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * ToolbarDefaults.C (add): add spaces in error message
14829
14830 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14833         (readLyXformat2): rename return_par to first_par, use lyxlex's
14834         pushToken and remove the manual push handling.
14835         (parseSingleLyXformat2Token): add another ert comp. variable:
14836         in_tabular, rename return_par to first_par. handle newlines better
14837
14838 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14841
14842 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14843
14844         * text2.C (getParFromID): removed
14845
14846         * buffer.C (getParFromID): new method moved form lyxtext.
14847         * BufferView2.C (insertErrors): adjust
14848         (setCursorFromRow): adjust
14849         * BufferView_pimpl.C (restorePosition): adjust
14850         * lyxfunc.C (Dispatch): adjust
14851         * undo_funcs.C (textUndo): adjust
14852         (textRedo): adjust
14853         (textHandleUndo): adjust
14854         (textHandleUndo): adjust
14855
14856 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14857
14858         * buffer.C: up' the LYX_FORMAT
14859
14860         * lyxfont.h: turn NO_LATEX on as default
14861
14862         * buffer.C (insertErtContents): new methods of tex style compability.
14863         (parseSingleLyXformat2Token): use it several places.
14864         * tabular.C (OldFormatRead): and here
14865
14866 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * text2.C: remove some commented code.
14869         reindent file.
14870
14871         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14872         * trans.C: changes because of the above.
14873
14874 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14875
14876         * text2.C (setCounter): Fix counters bug with bibliography layout.
14877
14878 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14881         own member functions
14882         (simpleTeXSpecialChars): ditto
14883
14884 2001-07-06  Juergen Vigna  <jug@sad.it>
14885
14886         * a lot of files: changed the access to LyXText::status and the
14887         call of undo-functions.
14888
14889         * undo.[Ch]: added a inset_id to the undo informations.
14890
14891         * undo_funcs.[Ch]: added and moved here all undo functions.
14892
14893         * lyxtext.h: give the status enum a weight, made status_ a private
14894         variable and made accessor functions for it, removed the whole bunch
14895         of undo-functions as they are now in their own file, make some
14896         functions publically available. Added function ownerParagraph with
14897         int parameter.
14898
14899         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14900         made InInset() a const function, added getParFromID() function.
14901
14902         * buffer.[Ch]: added const version for inset_iterator functions,
14903         added getInsetFromID() function.
14904
14905         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14906         changed undo functions for new version.
14907
14908 2001-07-05  Juergen Vigna  <jug@sad.it>
14909
14910         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14911         unknow mechanism does not call the proper constructor but only this
14912         one also if I request the other!?
14913
14914 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14917
14918         * text2.C (LyXText): use initialization lists.
14919
14920         * lyxtext.h (Selection): initialize set_ and mark_
14921         (init): remove method
14922
14923 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14924
14925         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14926
14927 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * screen.[Ch]: change method names to begin with lowercase
14930
14931         * BufferView_pimpl.C (updateScrollbar): simplify further and
14932         hopefully make it a bit faster.
14933
14934 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14935
14936         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14937         calling directly xforms functions.
14938
14939         * Painter.C (Painter):
14940         * lyx_cb.C (MenuWrite):
14941         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14942         fl_display.
14943
14944         * lyx_gui.C: remove bogus guiruntime extern declaration.
14945
14946 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14947
14948         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14949         in NEW_INSETS
14950         (redoDrawingOfParagraph): ditto
14951         (redoParagraphs): ditto
14952         (cutSelection): don't create a object for CutAndPaste use the
14953         static method directly
14954         (pasteSelection): ditto
14955
14956         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14957         LyXview (+ rename)
14958
14959 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * modifications to some other files because of this.
14962
14963         * Makefile.am (lyx_SOURCES): add XFormsView
14964
14965         * XFormsView.[Ch]: new files
14966
14967         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14968         the main window. Move the gui dependent stuff to XFormsView
14969
14970 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * tabular.C (GetCellInset): update cur_cell also in the row/col
14973         version of this function.
14974
14975         * lyxfunc.C: no need to include figure_form.h here.
14976
14977         * FontLoader.h:
14978         * lyxfunc.h:
14979         * lyxscreen.h:
14980         * text2.C:
14981         * lyxvc.C: no need to include forms.h here.
14982
14983 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14986
14987         * lyxfunc.C (Dispatch):
14988         * Spacing.C (set):
14989         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14990         constructor argument.
14991
14992 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * paragraph.C (Paragraph): dont't clear, and just set layout.
14995         (makeSameLayout): use params's copy contructor.
14996
14997         * ParagraphParameters.[Ch] (makeSame): delete method
14998
14999 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * Variables.[Ch]: fix indentation, rename set to isSet
15002
15003 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15004
15005         * lyxfunc.C (Dispatch): fix typo
15006
15007 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15008
15009         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15010         upper_bound.
15011
15012         * bufferlist.C: include assert.h for emergencyWrite().
15013
15014 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15017           give up at last (bug #425202) !
15018
15019 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15020
15021         * lyx_gui_misc.C:
15022         * sp_form.h:
15023         * sp_form.C:
15024         * spellchecker.h:
15025         * spellchecker.C: strip spellchecker options and bring up
15026           preferences tab instead
15027
15028 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15031         the istringstream constructor
15032
15033 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * paragraph.C (getLayout): fix return value
15036
15037         * paragraph.h: do not declare getLayout as inline.
15038
15039         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15040
15041 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15042
15043         * lyxcursor.h (operator<): new func
15044         (operator>): new func
15045         (operator>=): new func
15046         (operator<=): new func
15047
15048         * text.C (changeCase): use selection.start and selection.end
15049         (changeRegionCase): require from to be <= to. Require par to be a
15050         valid paragraph.
15051
15052         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15053
15054 2001-06-27  Juergen Vigna  <jug@sad.it>
15055
15056         * text.C (cursorLeftOneWord): changed to return the cursor and added
15057         overlay with BufferView * parameter which calls this one.
15058         (getWord): added
15059         (selectWord): use new getWord function.
15060         (changeCase): renamed from changeWordCase as and extended to work
15061         also on selections.
15062
15063         * lyxtext.h: added enum word_location
15064
15065         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15066         changeCase as this operates now also on selections.
15067
15068 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15069
15070         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15071
15072         * many files: send debug output to Debug::INFO instead of
15073         Debug::ANY.
15074
15075         * converter.C (View):
15076         (Convert):
15077         (Move): send debug output to Debug::FILES instead of console.
15078
15079 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15080
15081         * lyxfunc.C (getStatus): use func_status
15082
15083         * func_status.h: new header, describing the results of
15084         LyXFunc::getStatus;
15085
15086         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15087         LFUN_MATH_HALIGN.
15088
15089 2001-06-25  The LyX Project  <jug@sad.it>
15090
15091         * buffer.C (sgmlOpenTag):
15092         (sgmlCloseTag):
15093         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15094
15095 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15096
15097         * text2.C: remove some dead code
15098
15099         * tabular.C (GetCellInset): store the last cell checked (gotten)
15100
15101         * tabular.h: add the helper for the speedup
15102
15103         * lyxtext.h: remove some dead code
15104
15105 2001-06-26  The LyX Project  <Asger>
15106
15107         * paragraph.C: Change export to LaTeX of alignment to
15108         \begin{center} and family for better roundtrip work with reLyX.
15109
15110         * Tune the math drawing a bit.
15111
15112 2001-06-25  The LyX Project  <Asger>
15113
15114         * LColor.C (LColor): New color for math background. New color
15115         for buttons.
15116
15117 2001-06-25  The LyX Project  <jug@sad.it>
15118
15119         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15120
15121         * lyxfunc.C (Open):
15122         * bufferlist.C (newFile): do not restrict to files ending with
15123         .lyx
15124
15125         * BufferView_pimpl.C (MenuInsertLyXFile):
15126
15127 2001-06-24  The LyX Project  <jug@sad.it>
15128
15129         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15130         of compare_no_case
15131
15132 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15133
15134         * lyxtext.h: rename most methods to begin with a small char.
15135         Lots of changes because of this.
15136
15137         * paragraph.C (Paragraph): do not call fitToSize
15138         (erase): call Pimpl::erase
15139         (insertChar): call Pimpl::insertChar
15140         (insertInset): call Pipl::insertInset
15141         (breakParagraph): do not call fitToSize
15142         (breakParagraphConservative): do not call fitToSize
15143         (fitToSize): remove method
15144
15145         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15146
15147 2001-06-24  The LyX Project  <Asger>
15148
15149         * Fix Qt compilation^2
15150
15151 2001-06-24  The LyX Project  <jug@sad.it>
15152
15153         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15154         depthHook(getDepth()-1).
15155
15156         * paragraph.h:
15157         * ParagraphParameters.h:
15158         * ParameterStruct.h: change type of depth to unsigned int ==
15159         depth_type. Many adaptations to other files before of that.
15160
15161 2001-06-24  The LyX Project  <Asger>
15162
15163         * Fix Qt compilation.
15164
15165 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * paragraph.h: renamed several methods to begin with small letter.
15168         several changes to many parts of the code because of this.
15169
15170 2001-06-23  The LyX Project  <jug@sad.it>
15171
15172         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15173         rewritten to discard all double spaces when KeepEmpty is off
15174         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15175         to only handle newlines but not fiddle with spaces and friends.
15176
15177         * lyxfunc.C (MenuNew): when doing 'new from template', use
15178         template_path as default directory
15179
15180 2001-06-23  The LyX Project  <Asger>
15181
15182         * Clean-up of header file includes all over
15183         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15184
15185 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15186
15187         * paragraph.h: renamed from lyxparagraph.h
15188
15189 2001-06-23  Asger  <lyx@violet.home.sad.it>
15190
15191         * Buffer.h: Removed Buffer::resize
15192         * BufferList.h: Removed BufferList::resize
15193         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15194         the document lazily when we change the width, or the font settings.
15195
15196 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15197
15198         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15199
15200 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * buffer.h: remove out of date comment
15203
15204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * lyxscreen.h:
15207         * screen.C: fix "theoretical" GC leak
15208
15209 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * LaTeX.C (scanAuxFile):
15212         (deplog): remove trailing \r when reading stream (useful under
15213         win32)
15214
15215 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15216
15217         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15218         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15219         and BufferView::theLockingInset(Inset*), so should use them and not
15220         access bv_->text->the_locking_inset directly.
15221
15222         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15223
15224 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * Makefile.am:
15227         * tex-defs.h: remove old unused file
15228
15229 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * BufferView_pimpl.C: fix typo, remove minibuffer message
15232           when buffer has loaded
15233
15234 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15235
15236         * lyxfunc.C (Dispatch): use stringstream
15237         (MenuNew): use stringstream
15238         (Open): use stringstream
15239
15240         * importer.C (Import): use stringstream
15241
15242         * bufferview_funcs.C (CurrentState): use stringstream
15243
15244         * LaTeX.C (run): use stringstream
15245
15246         * BufferView_pimpl.C (savePosition): use stringstream
15247         (restorePosition): use stringstream
15248         (MenuInsertLyXFile): use stringstream
15249
15250 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15251
15252         * BufferView.C:
15253         * Bullet.C:
15254         * ColorHandler.C:
15255         * FontInfo.C:
15256         * FontLoader.C:
15257         * LColor.C:
15258         * LaTeXFeatures.C:
15259         * Painter.C:
15260         * gettext.C:
15261         * lyx_gui_misc.C:
15262         * lyxserver.C:
15263         * vspace.C: removed // -*- C++ -*- as first line.
15264
15265         * lyxfind.h:
15266         * version.h: added // -*- C++ -*- as first line.
15267
15268 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15271
15272         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15273         of string
15274
15275 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15278         of floats.
15279
15280 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * gettext.C: include LString.h even when --disable-nls is on.
15283
15284 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15285
15286         * converter.h (Get): changed argument type from int to
15287         FormatList::size_type to avoid unnecessary conversion.
15288
15289         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15290         before using it.
15291
15292 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * gettext.h: include LString.h even when --disable-nls is on.
15295
15296 2001-06-07  Juergen Vigna  <jug@sad.it>
15297
15298         * text.C (BreakAgain): subst spaces with tabs.
15299
15300         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15301         (resizeInsetsLyXText): set force on resizeLyXText.
15302
15303 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * gettext.h (gettext_init):
15306         (locale_init): use a real definition instead of a macro
15307
15308 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * Bufferview_pimpl.C:
15311         * LColor.h:
15312         * LColor.C: further lcolor tidies
15313
15314 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * BufferView_pimpl.C (updateScrollbar): simplify.
15317
15318         * BufferView2.C: don't include insets/insetinfo.h, change
15319         prototype for insertInset and call the Pimpl version. let
15320         updateInset call Pimpl version.
15321
15322         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15323         gotoInset to BufferView::Pimpl
15324
15325 2001-06-01  Juergen Vigna  <jug@sad.it>
15326
15327         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15328         inside a LockingInset (is the update needed at all?).
15329
15330 2001-05-31  Juergen Vigna  <jug@sad.it>
15331
15332         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15333         here not the old one otherwise how should we compare it afterwards
15334         if it's the same!
15335
15336 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15337
15338         * lyxfont.C:
15339         * tabular.C:
15340         * tabular-old.C:
15341         * FontInfo.C: bring C functions into global namespace when
15342         necessary
15343
15344 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15345
15346         * LString.h: make sure config.h has been loaded before LString.h.
15347
15348         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15349         (one for each char read by EatLine!).
15350
15351         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15352         variables.
15353
15354 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15357         to the same as the par we break from
15358
15359 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15362
15363         * MenuBackend.C (expand): also create menu entries for wide
15364         versions of the floats.
15365
15366         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15367
15368         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15369
15370         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15371         frontends/Makefile.am
15372
15373         * text2.C: adjust
15374         * text.C: adjust
15375
15376
15377         * tabular.C (getTokenValue): add std::
15378
15379         * tabular-old.C (getTokenValue): add std::
15380         (getTokenValue): ditto
15381         (getTokenValue): ditto
15382
15383         * screen.C (ToggleSelection): adjust
15384
15385         * lyxtext.h: put selection cursors inside a Selection struct.
15386
15387         * lyxfunc.C (moveCursorUpdate): adjust
15388
15389         * lyxfont.C (latexWriteStartChanges): add std::
15390
15391         * lyxfind.C: adjust
15392
15393         * font.h: delete with(char const *, LyXFont const &)
15394
15395         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15396
15397         * FontInfo.C (getFontname): add std::
15398
15399         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15400         (workAreaButtonPress): adjust
15401         (tripleClick): adjust
15402         (update): adjust
15403         (moveCursorUpdate): adjust
15404         (Dispatch): adjust
15405
15406         * BufferView2.C (gotoInset): adjust
15407
15408 2001-05-30  Juergen Vigna  <jug@sad.it>
15409
15410         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15411         to check pspell I add this as default as I now have new pspell
15412         libraries and they seem to use this.
15413
15414 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * text2.C (CutSelection): make the cursor valid before the call to
15417         ClearSelection.
15418
15419 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15420
15421         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15422         relied on 0 terminated strings and other horrors. Bug found due to
15423         the new assert in lyxstring!
15424
15425         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15426         KP_ keys.
15427
15428 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15429
15430         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15431         to latinkeys.bind.
15432
15433         * lyxfunc.C (processKeySym): change method of getting to the
15434         self-insert char.
15435
15436         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15437         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15438         * BufferView_pimpl.[Ch]: here as private methods.
15439
15440 2001-05-28  Juergen Vigna  <jug@sad.it>
15441
15442         * text.C (SetHeightOfRow): added the update() call again as it is
15443         needed to initialize inset dimensions!
15444
15445 2001-05-16  Juergen Vigna  <jug@sad.it>
15446
15447         * text2.C (SetCharFont): Add new function with BufferView * and
15448         bool toggleall parameters for setting insets internal fonts.
15449         (SetFont): Freeze the undo as we may change fonts in Insets and
15450         all this change should be inside only one Undo!
15451
15452         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15453         setting font's in insets as for them we have the SetFont function!
15454
15455 2001-05-15  Juergen Vigna  <jug@sad.it>
15456
15457         * text2.C (ClearSelection): to be sure we REALLY don't have any
15458         selection anymore!
15459
15460         * tabular.C (TeXCellPreamble): fixed the left border problem for
15461         multicolumn cells.
15462
15463 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15464
15465         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15466         dependancy file
15467
15468 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15469
15470         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15471         LFUN_BREAKPARAGRAPH.
15472
15473         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15474         help test to "internal only", similar for LFUN_INSERT_URL
15475
15476         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15477         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15478         auto_region_delete and deadkeys.
15479
15480 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15481
15482         * LColor.h:
15483         * LColor.C: remove some dead entries, tidy a little
15484
15485 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15486
15487         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15488         commented code.
15489         (Dispatch): implement LFUN_ESCAPE
15490
15491         * commandtags.h: add LFUN_ESCAPE
15492
15493         * LyXAction.C (init): add entry for LFUN_ESCAPE
15494
15495         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15496         Remove commented code.
15497         (insertNote): moved here
15498         (open_new_inset): moved here
15499
15500         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15501         BufferView_pimpl
15502
15503 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * kbmap.C (findbinding): clean it up and make it work correctly.
15506
15507         * lyx_main.C (init): do not pass argc and argv as parameters
15508
15509 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15510
15511         * buffer.C: fix path for OS/2 & Win32
15512
15513         * lyx_gui.C:
15514         * lyx_main:
15515         * lyx_main.C: Added os:: class.
15516
15517         * os2_defines.h: update
15518
15519 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15522         better by trying again with reduced state.
15523
15524 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15525
15526         * lyxrc.C (read): print error about invalid key sequence only when
15527         debugging (because not all latinX keysyms are known to some X
15528         servers)
15529
15530         * kbsequence.C (getiso): add a few std:: qualifiers
15531         (getiso): comment out extra return statement.
15532
15533 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15536         handling.
15537         (Dispatch): enhance the accent inset a bit. (not perfect)
15538
15539 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15540
15541         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15542
15543 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * bufferlist.C (emergencyWrite): fix assert() call
15546
15547 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15548
15549         * text.C (InsertChar): Added trivial patch to only send the "you
15550         can not do multiple spaces this way" message once during a
15551         session.
15552
15553 2001-05-08  Baruch Even  <baruch@lyx.org>
15554
15555         * Makefile.am: Changed order of libraries to get LyX to link properly
15556         with the gnome frontend.
15557
15558 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * LaTeXFeatures.h: add a std:: qualifier
15561
15562 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * paragraph.C (String): use stringstream
15565
15566 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15567
15568         * paragraph.C (writeFile): remove footflag arg
15569
15570         * buffer.C (makeLaTeXFile): use stringstream
15571         (latexParagraphs): remove footnot gurba
15572
15573         * LaTeXFeatures.C (getPackages): use stringstream
15574         (getMacros): likewise
15575         (getTClassPreamble): likewise
15576         (getFloatDefinitions): new method
15577
15578         * paragraph.C (writeFile): reindent
15579         (Erase): reindent
15580
15581         * WorkArea.h: revert the xpos + etc changes.
15582
15583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15584
15585         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15586
15587         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15588         (pasteSelection): likewise
15589         * text2.C (CreateUndo): likewise
15590
15591 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15592
15593         * minibuffer.C (peek_event): temporarily reduce the functionality
15594         of the minibuffer (to allow args on lfuns)
15595
15596         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15597         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15598
15599         * buffer.C (readInset): add compability reading of old float
15600         lists, add reading of new style float list.
15601         (readInset): avoid reevaluation of inscmd.getCmdName()
15602         (getLists): reindent
15603
15604         * MenuBackend.C (MenuItem): implement parsing of
15605         md_floatlistinsert and md_floatinsert.
15606         (expand::LastFiles): move initalizaton of iterators out of loop,
15607         avoid reevaluation.
15608         (expand::Documents): introduce typdedef vector<string> Strings,
15609         and use it.
15610         (expand::ExportFormats): introduce typedef vector<Format const *>
15611         Formats, and use it.
15612         (expand): implement FloatListInsert and FloatInsert.
15613
15614         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15615         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15616         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15617
15618         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15619         handling.
15620         (Dispatch::LFUN_FLOAT_LIST): implement
15621
15622 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15623
15624         * LaTeX.C (run): Fix problem with --export code.
15625
15626 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15627
15628         * BufferView.[Ch] (workarea): removed.
15629         (getClipboard) new method; wrapper for workarea()->getClipboard()
15630
15631         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15632         bug.
15633
15634         * WorkArea.h (width, height, xpos, ypos): These methods all
15635         returned the dimensions of the work_area sub-area of WorkArea,
15636         resulting in a position error if the WorkArea were resized. Now
15637         return the dimensions of the entire WorkArea.
15638
15639         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15640
15641 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * LaTeX.C (deplog): correct the syntax of regex reg1
15644
15645 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15646
15647         * undo.C: remove !NEW_INSETS cruft
15648
15649 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * text2.C: remove !NEW_INSETS cruft
15652
15653         * text.C: remove !NEW_INSETS cruft
15654
15655         * tabular.C: remove !NEW_INSETS cruft
15656
15657         * spellchecker.C: remove !NEW_INSETS cruft
15658
15659         * lyxtext.h: remove !NEW_INSETS cruft
15660
15661         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15662
15663         * lyxfunc.C: remove !NEW_INSETS cruft
15664
15665         * lyxfind.C: remove !NEW_INSETS cruft
15666
15667         * lyx_cb.C: remove !NEW_INSETS cruft
15668
15669         * figureForm.C: remove  !NEW_INSETS cruft
15670
15671         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15672
15673         * buffer.[Ch]: remove !NEW_INSETS cruft
15674
15675         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15676
15677         * CutAndPaste.C: remove !NEW_INSETS cruft
15678
15679         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15680
15681         * BufferView2.C: remove !NEW_INSETS cruft
15682
15683         * BufferView.h: remove !NEW_INSETS cruft
15684
15685 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15686
15687         * Lsstream.h: include LString.h before the sstream headers to
15688         fix problem with gcc 2.95.3 and lyxstring
15689
15690 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15691
15692         * lyx_main.C: add using directives when needed for C functions
15693         declared in std:: namespace.
15694
15695 2001-04-27  Juergen Vigna  <jug@sad.it>
15696
15697         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15698         (SetHeightOfRow): comment out the update call should not be needed!
15699
15700 2001-04-13  Juergen Vigna  <jug@sad.it>
15701
15702         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15703         (LyXTabular): tried to minimize operator= operations (and realized
15704         hopfully Lars wish).
15705
15706 2001-04-27  Juergen Vigna  <jug@sad.it>
15707
15708         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15709
15710 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15711
15712         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15713
15714         * buffer.C (readInset): hack to make listof algorithm work
15715
15716         * BufferView_pimpl.C: hack to make listof algorithm work
15717
15718 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15719
15720         * LyXAction.C: removed all !NEW_INSETS cruft
15721         (init): moved lfun_item in method
15722
15723         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15724
15725 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * BufferView2.C (theLockingInset): white space.
15728
15729 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * minibuffer.C: include <iostream>
15732
15733         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15734
15735         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15736
15737         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15738
15739         * text.[Ch] (TransposeChars): new method
15740
15741 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * call message directly through LyXView instead of through LyXFunc
15744         * BufferView2.C: adjust
15745         * BufferView_pimpl.C: adjust
15746         * FontLoader.C: adjust
15747         * buffer.C: adjust
15748         * bufferview_funcs.C: adjust
15749         * converter.C: adjust
15750         * figureForm.C: adjust
15751         * importer.C: adjust
15752         * lyx_cb.C: adjust
15753         * lyx_gui_misc.C: adjust
15754         * lyxfunc.C: adjust
15755         * lyxvc.C: adjust
15756         * text2.C: adjust
15757         + more files in subdirs
15758
15759         * lyxparagraph.h (size): move up int file
15760         (GetLayout): ditto
15761
15762         * adjust all uses of Assert to lyx::Assert.
15763
15764         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15765         lyxfunctional in namespace lyx
15766         * layout.C (hasLayout): ditto
15767         (GetLayout): ditto
15768         (GetLayout): ditto
15769         (delete_layout): ditto
15770         (NumberOfClass): ditto
15771         * converter.C (GetFormat): ditto
15772         (GetNumber): ditto
15773         (Add): ditto
15774         (Delete): ditto
15775         (SetViewer): ditto
15776         * bufferlist.C (getFileNames): ditto
15777         (emergencyWriteAll): ditto
15778         (exists): ditto
15779         (getBuffer): ditto
15780         * MenuBackend.C (hasSubmenu): ditto
15781         (hasMenu): ditto
15782         (getMenu): ditto
15783         * BufferView_pimpl.C (getInsetByCode): ditto
15784
15785 2001-04-18  Juergen Vigna  <jug@sad.it>
15786
15787         * vspace.C (asLatexString): fixed the 100% problem.
15788
15789 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15790
15791         * lyxfunc.C (Dispatch):
15792         * minibuffer.C:
15793         * minibuffer.h: add a few std:: qualifiers
15794
15795 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * minibuffer.[Ch]: reimplement so that commands is initiated and
15798         run from lyxfunc, simplified som handling, and made the completion
15799         and history code for complete. wip.
15800
15801         * lyxfunc.C (processKeySym): call message
15802         (miniDispatch): new temporary method
15803         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15804         (LFUN_MESSAGE): implement
15805         (LFUN_MESSAGE_PUSH): implement
15806         (LFUN_MESSAGE_POP): implement
15807         (initMiniBuffer): the initial/defualt minibuffer message.
15808
15809         * lyxfont.[Ch]: inline some more getters
15810
15811         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15812
15813         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15814
15815         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15816         (AutoSave): use LFUN_MESSAGE
15817         (Reconfigure): ditto
15818
15819         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15820
15821         * figureForm.C: use LFUN_MESSAGE
15822
15823         * converter.C (runLaTeX): use LFUN_MESSAGE
15824
15825         * bufferview_funcs.C: use LFUN_MESSAGE
15826         (Melt): ditto
15827         (changeDepth): ditto
15828
15829         * bufferparams.h: use boost::
15830
15831         * bufferlist.h: inherit privately from noncopyable
15832
15833         * bufferlist.C (loadLyXFile): remove some commented code.
15834
15835         * buffer.C (runChktex): use LFUN_MESSAGE
15836
15837         * ShareContainer.h: inherit privately from noncopyable
15838
15839         * ParagraphParameters.[hC] (depth): inline it.
15840
15841         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15842         methods.
15843         (message): new method
15844         (messagePush): ditto
15845         (messagePop): ditto
15846         (show): init minibuffer
15847         (showState): direct call
15848
15849         * LaTeX.[Ch]: inherit privately from noncopyable
15850         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15851         instead of WriteStatus.
15852
15853         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15854
15855         * BufferView_pimpl.C (buffer): don't init minibuffer
15856         (workAreaButtonPress): use LFUN_MESSAGE
15857         (workAreaButtonRelease): ditto
15858         (savePosition): ditto
15859         (restorePosition): ditto
15860         (MenuInsertLyXFile): ditto
15861         (workAreaExpose): don't init minibuffer
15862         (update): remove commented code, simplify
15863
15864         * BufferView2.C (openStuff): use LFUN_MESSAGE
15865         (toggleFloat): ditto
15866         (menuUndo): ditto
15867         (menuRedo): ditto
15868         (copyEnvironment): ditto
15869         (pasteEnvironment): ditto
15870         (copy): ditto
15871         (cut): ditto
15872         (paste): ditto
15873         (gotoInset): ditto
15874         (updateInset): remove some commented code
15875
15876         * lastfiles.h: inherit privately from noncopyable
15877         * layout.h: ditto
15878         * lyx_gui.h: ditto
15879         * lyx_main.h: ditto
15880         * lyxlex.h: ditto
15881         * lyxlex_pimpl.h: ditto
15882
15883         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15884         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15885         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15886
15887         * LyXAction.h: inherit privately from noncopyable, add methods
15888         func_begin, func_end, returning iterators to the func map.
15889
15890         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15891         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15892         (func_begin): new method
15893         (func_end): new method
15894
15895         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15896         and not)
15897         (copySelection): ditto
15898         (pasteSelection): ditto
15899
15900         * BufferView.C: whitespace change
15901         * BufferView.h: inherit privately from noncopyable
15902
15903 2001-04-16  Allan Rae  <rae@lyx.org>
15904
15905         * tabular-old.C (l_getline):
15906         * spellchecker.C (sc_check_word):
15907         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15908         an unrecognised preprocessor directive.  So ensure they're wrapped.
15909
15910 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * src/exporter.C (Export): Give an error message when path to file
15913         contains spaces.
15914
15915 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * LaTeX.C (deplog): Always check that foundfile exists.
15918
15919 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * lyx_main.h:
15922         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15923
15924 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15925
15926         * tabular.[Ch] (getLabelList): implement new method
15927
15928         * minibuffer.h: comment ouf setTiimer
15929
15930         * minibuffer.C (ExecutingCB): constify res
15931         (peek_event): constify s
15932         (Set): constify ntext
15933         (Init): constify nicename
15934
15935         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15936
15937         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15938         (savePosition): use two params to Minibuffer::Set
15939         (restorePosition): ditto
15940
15941 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * lyx_main.C: include language.h
15944
15945         * Makefile.am (lyx_main.o): add language.h
15946
15947 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * exporter.C:
15950         * paragraph.C:
15951         * screen.C:
15952         * tabular.C:
15953         * CutAndPaste.C: include gettext.h
15954
15955         * lyxfont.h: remove old hack with ON and OFF.
15956
15957         * lyxparagraph.h:
15958         * lyxfont.h: do not include language.h...
15959
15960         * BufferView2.C:
15961         * LaTeXFeatures.C:
15962         * Painter.C:
15963         * bufferview_funcs.C:
15964         * font.C:
15965         * lyxfont.C:
15966         * text.C:
15967         * text2.C:
15968         * trans_mgr.C:
15969         * paragraph.C: ... but do it here instead
15970
15971 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15974
15975         * tabular.C: small reformat
15976
15977         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15978         NEW_INSETS version
15979         (GetChar): ditto
15980         (BreakParagraph): ditto
15981         (SetOnlyLayout): ditto
15982         (SetLayout): ditto
15983
15984         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15985         with one arg less.
15986
15987         * lastfiles.C: removed most using decl, add std:: where needed
15988
15989         * buffer.C: ws changes
15990
15991         * MenuBackend.C (class compare_format): put into anon namespace
15992         (expand): constify label, names, action, action2
15993         (expand):
15994
15995         * text.C (SingleWidth): constify font
15996         (IsBoundary): constify rtl2
15997         (GetVisibleRow): constify ww
15998
15999         * LaTeX.C (deplog): constify logfile
16000
16001         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16002         start_x, end_x
16003         (workAreaExpose): constify widthChange, heightChange
16004
16005         * lyxrow.C (par): moved
16006         (height): moved
16007         (next): moved
16008         * lyxrow.h: as inlines here
16009
16010         * lyxfont.h (shape): moved from lyxfont.C
16011         (emph): moved from lyxfont.C
16012
16013         * lyxfont.C (LyXFont): use initialization list for all
16014         constructors
16015         (shape): move to lyxfont.h as inline
16016         (emph): move to lyxfont.h as inline
16017
16018
16019 2001-04-04  Juergen Vigna  <jug@sad.it>
16020
16021         * vspace.C: had to include stdio.h for use of sscanf
16022
16023 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16024
16025         * BufferView.h:
16026         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16027         independent of xforms.
16028
16029 2001-04-02  Juergen Vigna  <jug@sad.it>
16030
16031         * spellchecker.C: fixed namespace placing!
16032
16033 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16034
16035         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16036         the LyXParagraph * is 0.
16037
16038 2001-03-29  Juergen Vigna  <jug@sad.it>
16039
16040         * vspace.C: added support for %, c%, p%, l%.
16041         (stringFromUnit): added helper function.
16042         (asLatexString): changed to give right results for the %-values.
16043
16044         * buffer.C: convert the widthp in a width%.
16045
16046 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16047
16048         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16049         figureForm.[Ch].
16050
16051         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16052         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16053
16054         * lyx_cb.[Ch]: see above.
16055
16056         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16057         form1.[Ch].
16058
16059         * form1.[Ch]:
16060         * lyx.[Ch]: replaced by figure_form.[Ch].
16061
16062         * lyx_gui.C:
16063         * lyx_gui_misc.C:
16064         * lyxfunc.C: changed headers associated with above changes.
16065
16066 2001-03-27  Juergen Vigna  <jug@sad.it>
16067
16068         * BufferView_pimpl.C: set the temporary cursor right!
16069
16070 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16071
16072         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16073
16074 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16075
16076         * LString.h: removed "using std::getline"!
16077
16078         * BufferView_pimpl.C (Dispatch): changes due to changes in
16079         InsetInclude::Params.
16080
16081         * buffer.C (tag_name): removed redundant break statements as they were
16082         producing lots of warnings with my compiler.
16083
16084 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * LString.h: add "using std::getline" when using the real <string>.
16087
16088 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16089
16090         * buffer.C: removed bitset usage.
16091         PAR_TAG moved to an anonymous name space.
16092         (tag_name): new funtion, also in the anonymous namespace.
16093         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16094         (makeDocBookFile): clean code. Completed transition from string arrays
16095         to string vectors.
16096         (SimpleDocBookOnePar): code clean.
16097
16098 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16099
16100         * tabular.C: add some comments.
16101
16102 2001-03-22  Juergen Vigna  <jug@sad.it>
16103
16104         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16105         compatibility read a bit and fixed bug with minipage in different
16106         depth.
16107
16108 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16109
16110         * buffer.C (pop_tag): removed.
16111         (push_tag): removed.
16112         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16113         array replaced with vector. Added support for CDATA sections.
16114         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16115         at any nest level.
16116         (makeDocBookFile): XML conformant declaration of CDATA section,
16117         fixed bug related to <emphasis> in the first paragraph char.
16118         (sgmlOpenTag): exclude empty tags.
16119         (sgmlCloseTag): ditto.
16120
16121         * buffer.h (pop_tag): removed.
16122         (push_tag): removed.
16123
16124 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16125
16126         * language.h (Languages): added size_type and size().
16127
16128 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16129
16130         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16131         response on compability reading of minipages. One probliem is that
16132         the old usage of minipages was «flertydig»
16133
16134         * several files here and in subdirs: don't use static at file
16135         scope use anon namespaces instead.
16136
16137 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16138
16139         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16140         LaTeX output. This is necessary for Literate document
16141         processing.
16142
16143 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16144
16145         * buffer.C: insert hfill when needed.
16146
16147         * tabular.C (l_getline): use string::erase, small whitespace change.
16148
16149         * BufferView_pimpl.C: try the anon namespace.
16150         * WorkArea.C: ditto
16151
16152 2001-03-16  Juergen Vigna  <jug@sad.it>
16153
16154         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16155         otherwise it won't open options-dialogs.
16156
16157         * buffer.C: honor pextraWidth(p) on converting minipages.
16158
16159         * tabular.C (l_getline): changed the functions to strip trailing \r.
16160
16161 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16162
16163         * BufferView_pimpl.C:
16164         * minibuffer..C: added "using SigC::slot" declaration.
16165
16166 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16167
16168         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16169
16170         * text2.C: ditto
16171
16172         * text.C: ditto
16173
16174         * paragraph.C: ditto
16175
16176         * lyxtext.h: NO_PEXTRA
16177
16178         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16179
16180         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16181         * ParameterStruct.h: ditto
16182         * ParagraphParameters.h: ditto
16183         * lyxparagraph.h: ditto
16184
16185 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16186
16187         * buffer.C: add compability for minipage alignment.
16188         (latexParagraphs): remove unwanted pextra check.
16189
16190         * several files: remove CXX_WORKING_NAMESPACES
16191
16192         * buffer.C (pop_tag): tie is in namespace boost
16193
16194         * BufferView.h: noncopyable is in namespace boost
16195         * lyxlex.h: ditto
16196         * lyx_main.h: ditto
16197         * lyx_gui.h: ditto
16198         * layout.h: ditto
16199         * lastfiles.h: ditto
16200         * bufferlist.h: ditto
16201         * ShareContainer.h: ditto
16202         * LyXView.h: ditto
16203         * LyXAction.h: ditto
16204         * LaTeX.h: ditto
16205
16206 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16207
16208         * Merging changes from BRANCH_MVC back into HEAD.
16209
16210         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16211
16212 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * BufferView_pimpl.C: change from intl.C
16215
16216         * combox.h:
16217         * combox.C:
16218         * Makefile.am: move combox.*
16219
16220         * form1.h:
16221         * form1.C:
16222         * lyx_gui.C:
16223         * intl.h:
16224         * intl.C: remove dialog (covered by prefs)
16225
16226 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16227
16228         * lyxfunc.C (Dispatch): removed redundant break statement.
16229
16230 2001-03-14  Juergen Vigna  <jug@sad.it>
16231
16232         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16233
16234 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16235
16236         * buffer.C: add hack to fix compability reading of minipages.
16237
16238 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16239
16240         * buffer.C (getLists): Cleanup.
16241
16242 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * lyxfont.C (update): don't honor toggleall on font size.
16245
16246 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16247
16248         * bmtable.c:
16249         * bmtable.h:
16250         * Makefile.am: moved to frontends/xforms/
16251
16252         * lyx_gui_misc.C:
16253         * lyxfunc.C:
16254         * BufferView_pimpl.C: changes for moved mathpanel
16255
16256 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16257
16258         * gettext.h: fix gettext_init() in --disable-nls
16259
16260 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16261
16262         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16263
16264 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16265
16266         * lyx.C:
16267         * lyx.h: strip external form
16268
16269 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16270
16271         * BufferView_pimpl.C: add comment, destroySplash()
16272
16273 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16274
16275         * BufferView_pimpl.C:
16276         * LyXAction.C:
16277         * buffer.C:
16278         * commandtags.h:
16279         * lyxfunc.C: use re-worked insetinclude
16280
16281 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16282
16283         * buffer.C: add using std::stringstream.
16284
16285         * lyx_cb.C: readd using std::ios.
16286
16287         * buffer.C: add using std::map.
16288
16289         * BufferView_pimpl.C: add using std::vector.
16290
16291         * ShareContainer.h: add std:: to swap.
16292
16293         * buffer.h: add some typedefs
16294         * buffer.C (getLists): use them
16295         (getLists): renamed from getTocList.
16296         add a counter for the different float types and use it in the
16297         generated string.
16298         (getLists): use the same counter for the NEW_INSETS and the "non"
16299         NEW_INSETS
16300
16301         * lyx_cb.h: remove unused items, includes, using etc.
16302
16303         * ShareContainer.h: remove some commented code, add more comments
16304         and "documentation".
16305
16306 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16307
16308         * buffer.C (getTocList): make the list also when NEW_INSETS is
16309         defined.
16310
16311         * buffer.h: remove TocType
16312
16313         * buffer.C (getTocList): change to return a map<string,
16314         vector<TocItem> >, implement for dynamic number of list.
16315
16316         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16317         * text2.C (PasteSelection): adjust
16318         * CutAndPaste.C (pasteSelection): adjust
16319
16320         * FloatList.C (FloatList): update from the new_insets branch.
16321         * Floating.[Ch]: ditto
16322         * LaTeXFeatures.C: ditto
16323         * buffer.C: ditto
16324         * lyxlex_pimpl.C: ditto
16325
16326         * paragraph.C (Last): remove when NEW_INSETS is defined.
16327
16328         * other file: changes because of the above.
16329
16330 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16331
16332         * lyxparagraph.h: rename next to next_, previous to previous_,
16333         make them private for NEW_INSETS. Rename Next() to next(),
16334         Previous() to previous().
16335
16336         * other files: changes because of the above.
16337
16338 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16339
16340         * BufferView.h:
16341         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16342         problem.
16343
16344 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * main.C (main): pass lyx_localedir to gettext_init().
16347
16348         * gettext.h: remove locale_init and gettext_init macros
16349
16350         * gettext.C (locale_init): new function
16351         (gettext_init): new function
16352
16353         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16354         setlocale().
16355
16356 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16357
16358         * Moved credits to frontends:
16359         * credits.[Ch]: removed
16360         * credits_form.[Ch]: removed
16361         * lyx_gui_misc.C: remove credits stuff
16362         * Makefile.am:
16363
16364 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16365
16366         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16367
16368         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16369         unneeded destructor.
16370
16371         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16372         a standalone pointer again.
16373
16374         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16375
16376 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16377
16378         * Makefile.am:
16379         * filedlg.h:
16380         * filedlg.C:
16381         * LyXAction.C:
16382         * ToolbarDefaults.C:
16383         * bufferlist.C:
16384         * commandtags.h:
16385         * form1.C:
16386         * form1.h:
16387         * lyx_cb.C:
16388         * lyx_cb.h:
16389         * lyxfunc.h:
16390         * lyxfunc.C:
16391         * BufferView_pimpl.C: use new file dialog in GUII
16392
16393         * lyx_cb.h:
16394         * lyx_cb.C: remove LayoutsCB to Toolbar
16395
16396 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16397
16398         * ShareContainer.h (get): add std:: qualifier
16399
16400 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16401
16402         * ShareContainer.h: define a proper ShareContainer::value_type
16403         type (and use typename to please compaq cxx)
16404
16405 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16406
16407         * lyxparagraph.h: move serveral local vars to
16408         ParameterStruct/ParagraphParameters., use ShareContainer in
16409         FontTable., make vars in FontTable private and add getter and
16410         setter.
16411
16412         * paragraph.C: changes because of the above.
16413
16414         * lyxfont.h: remove copy constructor and copy assignment. (the
16415         default ones is ok), move number inside FontBits. move inlines to
16416         lyxfont.C
16417
16418         * lyxfont.C: add number to initializaton of statics, move several
16419         inlines here. constify several local vars. some whitespace
16420         cleanup. Dont hide outerscope variables.
16421
16422         * Spacing.h: add two new constructors to match the set methods.
16423
16424         * ShareContainer.h: new file, will perhaps be moved to support
16425
16426         * ParameterStruct.h: new file
16427
16428         * ParagraphParameters.h: new file
16429
16430         * ParagraphParameters.C: new file
16431
16432         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16433         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16434
16435         * BufferView_pimpl.C: ParagraphParameter changes.
16436         * buffer.C: Likewise.
16437         * bufferview_funcs.C: Likewise.
16438         * text.C: Likewise.
16439         * text2.C: Likewise.
16440
16441 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16442
16443         * lyxfind.C (LyXReplace): do not redefine default argument in
16444         implementation.
16445         (IsStringInText): ditto
16446         (SearchForward): ditto
16447         (SearchBackward): ditto
16448
16449 2001-03-06  Juergen Vigna  <jug@sad.it>
16450
16451         * lyxfind.C (IsStringInText): put parentes around expressions.
16452
16453 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16454
16455         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16456
16457 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16460
16461         * stl_string_fwd.h: add comment
16462
16463         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16464
16465         * tabular.h:
16466         * tabular.C: remove unused DocBook methods
16467
16468         * intl.C:
16469         * language.C:
16470         * paragraph.C:
16471         * buffer.C:
16472         killed DO_USE_DEFAULT_LANGUAGE
16473
16474 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * lyx_gui.C: do not include language.h.
16477
16478         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16479         arguments in function implementation.
16480
16481 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16482
16483         * BufferView_pimpl.C: add <ctime>
16484
16485 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16486
16487         * BufferView_pimpl.C: add using std::find_if
16488
16489 2001-02-27  José Matos  <jamatos@fep.up.pt>
16490
16491         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16492         by OnlyPath.
16493
16494 2001-02-11  José Matos  <jamatos@fep.up.pt>
16495
16496         * buffer.C (makeDocBookFile): command styles now have a parameter as
16497         "title" by default.
16498
16499 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16500
16501         * layout_forms.[Ch]: removed
16502         * lyx_cb.[Ch]: out character
16503         * lyx_gui.C: out character
16504         * lyx_gui_misc.C: out character
16505         * bufferview_funcs.C: : out character,
16506         added toggleall as parameter in ToggleAndShow
16507
16508 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16509
16510         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16511
16512         * text2.C (SetCurrentFont): Disable number property at boundary.
16513
16514 2001-02-26  Juergen Vigna  <jug@sad.it>
16515
16516         * lyxfunc.C (getStatus): added a string argument override function so
16517         that this is correctly called from LyXFunc::Dispatch if it contains a
16518         do_not_use_argument which is used!
16519         (Dispatch): added check for "custom" export and call appropriate func.
16520
16521 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * lyxrc.C: Add language_command_local, language_use_babel and
16524         language_global_options.
16525
16526         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16527
16528         * buffer.C (makeLaTeXFile): Use language_use_babel and
16529         language_global_options.
16530
16531 2001-02-23  Juergen Vigna  <jug@sad.it>
16532
16533         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16534         which works with LyXText and putted it inside BufferView. Here now we
16535         only call for that part the BufferView::Dispatch() function.
16536
16537         * BufferView.C (Dispatch): added.
16538
16539         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16540         functions which needs to use a LyXText over from LyXFunc.
16541         (MenuInsertLyXFile): added
16542         (getInsetByCode): added
16543         (moveCursorUpdate): added
16544         (static TEXT): added
16545
16546 2001-02-22  Juergen Vigna  <jug@sad.it>
16547
16548         * BufferView_pimpl.C (update): call a status update to see if LyXText
16549         needs it.
16550
16551 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16552
16553         * vc-backend.C (revert): implement for CVS
16554         (getLog): implement for CVS
16555
16556 2001-02-20  Juergen Vigna  <jug@sad.it>
16557
16558         * text2.C (ClearSelection): added BufferView param for inset_owner call
16559
16560         * lyxfunc.C (TEXT): added this function and use it instead of
16561         directly owner->view()-text of getLyXText().
16562
16563 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16564
16565         * src/layout_forms.C: out preamble
16566         * src/layout_forms.h: out preamble
16567         * src/lyx_cb.C: out preamble
16568         * src/lyx_cb.h: out preamble
16569         * src/lyx_gui.C: out preamble
16570         * src/lyx_gui_misc.C: out preamble
16571         * src/lyxfunc.C: connect with guii preamble
16572
16573 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16574
16575         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16576
16577 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16580         whether to run bibtex.
16581
16582 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16585
16586 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16587
16588         * Makefile.am (lyx_SOURCES): removed bibforms.h
16589
16590         * vspace.h: doxygen
16591
16592         * text.C (GetVisibleRow): make several local vars const
16593
16594         * tabular.C: small cleanup.
16595
16596         * lyxserver.C (callback): use compare instead of strncmp
16597
16598         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16599         inlines to after class or to paragraph.C
16600
16601         * lyxfont.h: remove friend operator!=
16602
16603         * converter.h: move friend bool operator< to non friend and after
16604         class def.
16605
16606         * combox.h: small cleanup
16607
16608         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16609         to inlines after class def.
16610
16611         * buffer.C (pop_tag): use string operations instead of strcmp
16612
16613         * bmtable.c: doxygen, small cleanup
16614
16615         * LaTeX.h: remove friend operator==
16616
16617 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16618
16619         * screen.C:
16620         * lyxrc.[Ch]:
16621         * lyxfunc.C:
16622         * lyxfont.[Ch]:
16623         * lyx_cb.C:
16624         * intl.[Ch]:
16625         * commandtags.h:
16626         * buffer.C:
16627         * WorkArea.[Ch]:
16628         * LyXAction.C:
16629         * BufferView_pimpl.C:
16630         * BufferView.[Ch]: remove cruft
16631
16632 2001-02-14  Juergen Vigna  <jug@sad.it>
16633
16634         * lyxfunc.C: removed #if 0 unused code
16635
16636         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16637
16638         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16639
16640         * text2.C (SetSelection): added a BufferView * parameter
16641
16642 2001-02-13  Juergen Vigna  <jug@sad.it>
16643
16644         * lyxfunc.C (Dispatch): fixed protected blank problem.
16645         * BufferView2.C (protectedBlank): added LyxText * parameter.
16646
16647         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16648         (AppendColumn): same as above for column_info.
16649
16650         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16651         (moveCursorUpdate): use a LyXText param for support of InsetText.
16652
16653         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16654         (tripleClick): ditto
16655
16656         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16657
16658         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16659
16660         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16661
16662         * text2.C (SetSelection): set correct update status if inset_owner
16663         (ToggleFree): ditto
16664
16665 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16666
16667         * tabular.C: remove some commented code.
16668
16669 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16670
16671         * BufferView_pimpl.C: call hideSplash()
16672
16673         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16674
16675         * include_form.h:
16676         * bibforms.h: remove
16677
16678         * lyxfunc.C:
16679         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16680           add LFUN_CHILD_CREATE
16681
16682         * counters.h: fix tiny typo
16683
16684         * lyx_cb.C:
16685         * lyx.h:
16686         * lyx_gui.C:
16687         * lyx.C: move splash to frontends/xforms/
16688
16689         * lyx_gui_misc.C: move Include and Bibform to frontends
16690
16691         * lyxvc.h: clarify comment
16692
16693         * vspace.C: tiny housekeeping
16694
16695 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16696
16697         * text.C (PrepareToPrint): RTL Fix.
16698
16699         * paragraph.C (GetUChar): New method.
16700         (String):  Use GetUChar.
16701
16702         * buffer.C (asciiParagraph): Use GetUChar.
16703
16704 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16705
16706         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16707
16708 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16709
16710         * buffer.h:
16711         * buffer.C: rename to getLogName(), handle
16712           build log / latex log nicely
16713
16714 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * MenuBackend.C:
16717         * MenuBackend.h: remove support for reference menuitem type.
16718
16719 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16720
16721         * BufferView_pimpl.C: housekeeping
16722         * BufferView_pimpl.h:
16723         * LyXView.h:
16724         * Makefile.am:
16725         * Timeout.C:
16726         * Timeout.h:
16727         * minibuffer.h: move Timeout GUI-I
16728
16729 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16730
16731         * lyxrc.C (read): Update converters data-structures.
16732
16733 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16734
16735         * LaTeX.h (operator!=): add operator != for Aux_Info
16736
16737 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16738
16739         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16740
16741         * LaTeXLog.C: deleted, useful code moved to Buffer
16742
16743         * buffer.h:
16744         * buffer.C: new function getLatexLogName()
16745
16746         * lyx_gui_misc.C:
16747         * lyx_gui.C:
16748         * lyxvc.C:
16749         * lyxvc.h:
16750         * lyxfunc.C: use frontends for LaTeX and VC logs
16751
16752 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16753
16754         * LaTeX.h: yet another std:: that Allan forgot.
16755
16756         * Variables.C (set): renamed from isset(), because this clashes
16757         with some HP-UX macros (grr).
16758
16759 2001-02-06  Allan Rae  <rae@lyx.org>
16760
16761         * LaTeX.h: Another bug fix.  Missing std:: this time.
16762
16763 2001-02-04  Allan Rae  <rae@lyx.org>
16764
16765         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16766         floats problem. I've left it commented out because it's not quite
16767         correct.  It should also test that the current object is a table or
16768         figure inset.  But I haven't gotten around to figuring out how to do
16769         that.  I *think* it'll be something like: "table" == inset.type()
16770
16771         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16772         bool.
16773
16774 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16775
16776         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16777         all the citation/databases/styles in the auxilary file.
16778         (run): Rerun latex if there was a babel language error.
16779
16780 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16781
16782         * text.C (Backspace): Preserve the font when changing newline char
16783         with a space.
16784         (BreakParagraph): If the cursor is before a space, delete the space.
16785
16786         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16787
16788 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16789
16790         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16791         new argument (code).
16792         (ChangeCitationsIfUnique): New method.
16793
16794         * paragraph.C (GetPositionOfInset): Handle bibkey.
16795
16796 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * BufferView_pimpl.h: change type of Position::par_pos to
16799         LyXParagraph::size_type.
16800
16801 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16802
16803         * BufferView_pimpl.C (savePosition, restorePosition): Write
16804         messages to minibuffer.
16805
16806 2001-01-28  José Matos  <jamatos@fep.up.pt>
16807
16808         * buffer.C (makeDocBookFile): adds support for document language.
16809         A silly restriction on the name of LatexCommand types where removed.
16810         Added support for CDATA sections, allows to chars unescaped, used
16811         among others in code, to avoid escape < and >.
16812
16813 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16814
16815         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16816         saved positions instrad of a stack. Furthermore, a position is
16817         stored using paragraph id/paragraph position.
16818
16819         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16820         Remove LFUN_REF_BACK.
16821
16822 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16823
16824         * converter.C (dvipdfm_options): New method.
16825
16826 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16827
16828         * vspace.C (isValidLength): Fix for empty input string.
16829
16830 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16831
16832         * LyXAction.C (init): change description of LFUN_FIGURE to
16833         "Insert Graphics"
16834
16835 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16836
16837         * LaTeX.C: add using directive
16838
16839 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16840
16841         * MenuBackend.C (expand): Fix the sorting of the formats.
16842
16843 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16844
16845         * lyx_main.C: tiny error message fix
16846
16847 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16850         calling fl_initialize(). This fixes the problem with ',' as
16851         decimal separator in text files.
16852
16853 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16854
16855         * trans.C (process): Fix the keymap bug.
16856
16857 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16858
16859         * LaTeX.C (scanAuxFiles): New method. Provides support for
16860         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16861         (scanLogFile) Scan for "run BibTeX" messages.
16862
16863         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16864         OT1 font encoding. Also, load the aecompl package if the ae
16865         package is loaded.
16866
16867         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16868
16869 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * texrow.C (increasePos): turn two error messages into debug
16872         messages.
16873
16874 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16875
16876         * LaTeX.C (scanAux): Handle the \@input macro.
16877         (runBibTeX): Use scanAux().
16878
16879         * language.C (latex_options_): New field.
16880
16881         * LaTeXFeatures.C (getMacros): Add language macros.
16882
16883         * buffer.C (makeLaTeXFile): Small fix.
16884
16885 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16886
16887         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16888
16889         * text2.C: add a using directive.
16890
16891 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16892
16893         * BufferView2.C:
16894         * lyx_gui_misc.h:
16895         * lyxfr1.C:
16896         * lyxfunc.C: kill LyXBell.
16897
16898 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16899
16900         * text.C (IsBoundary): Remove the error message
16901
16902         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16903
16904         * lyxrc.C (setDefaults): Correct initialization value for
16905         font_norm_type.
16906
16907 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16908
16909         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16910         gotoError().
16911
16912         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16913         and GotoNextNote().
16914
16915         * src/LyXAction.C: Added reference-next.
16916
16917         * text.C (InsertChar): Use contains instead of strchr.
16918
16919         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16920
16921 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16922
16923         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16924         alignment commands (when needed).
16925
16926         * text.C (InsertChar): Add ':' to number separator chars.